Page Not Found
We could not find what you were looking for.
Please contact the owner of the site that linked you to the original URL and let them know their link is broken.
diff --git a/docs/document/.nojekyll b/docs/document/.nojekyll new file mode 100644 index 000000000..e69de29bb diff --git a/docs/document/404.html b/docs/document/404.html new file mode 100644 index 000000000..1bd1d24f2 --- /dev/null +++ b/docs/document/404.html @@ -0,0 +1,17 @@ + + +
+ + + +We could not find what you were looking for.
Please contact the owner of the site that linked you to the original URL and let them know their link is broken.
Your Docusaurus site did not load properly.
\nA very common reason is a wrong site baseUrl configuration.
\nCurrent configured baseUrl = '+e+" "+("/"===e?" (default value)":"")+'
\nWe suggest trying baseUrl =
\n\n'}(e)).replace(/=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},H=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},V=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===t?String(e):String(e).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},W=function(e){var t=X(e,y.TITLE),n=X(e,D);if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=X(e,B);return t||r||void 0},Z=function(e){return X(e,I)||function(){}},Y=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return q({},e,t)}),{})},K=function(e,t){return t.filter((function(e){return void 0!==e[y.BASE]})).map((function(e){return e[y.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),a=0;a.comment can become .namespace--comment) or replace them with your defined ones (like .editor__comment). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword matched in the code. For example, the keyword if will have the class keyword-if as well. You can have fine grained control over the appearance of each keyword by providing your own CSS rules.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the highlightAll and highlightAllUnder methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},3682:function(e,t,n){const r=n(1239),a=n(53),i=new Set;function o(e){void 0===e?e=Object.keys(r.languages).filter((e=>"meta"!=e)):Array.isArray(e)||(e=[e]);const t=[...i,...Object.keys(Prism.languages)];a(r,e,t).load((e=>{if(!(e in r.languages))return void(o.silent||console.warn("Language does not exist: "+e));const t="./prism-"+e;delete n.c[n(5145).resolve(t)],delete Prism.languages[e],n(5145)(t),i.add(e)}))}o.silent=!1,e.exports=o},5145:function(e,t,n){var r={"./":3682};function a(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=i,e.exports=a,a.id=5145},53:function(e){"use strict";var t=function(){var e=function(){};function t(e,t){Array.isArray(e)?e.forEach(t):null!=e&&t(e,0)}function n(e){for(var t={},n=0,r=e.length;nAll other services can be used only after user
Provider: Awda
Service url: /welab-sun/api/user/register
Dependency: NO
Request method POST
| Param | Type | Required | Description |
|---|---|---|---|
| body | Yes | ||
| -mobile | String | Yes | Customer mobile number |
| -name | String | Yes | Customer name |
| -nik | String | Yes | Customer NIK |
| String | Yes | Customer email |
Request Sample:
{ "body":{ "email": "xxx", "mobile": "xxx", "name": "xxx", "nik": "xxx" }, "timestamp":"1488363493", "signature":"B3C14758F4AF52AE8AA0D4CD1493B137", "appId":"111", "v":"1.0"}| Param | Type | Required | Description |
|---|---|---|---|
| code | Integer | Yes | Status code |
| message | String | Yes | Code message |
| result | Object | No | Return data |
Sample response for success request:
{ "code":0, "message":"Permintaan berhasil", "result":null}| Code | Description | Note |
|---|---|---|
| 10 | Belum Menikah | |
| 11 | Menikah | |
| 12 | Cerai |
| Code | Description | Note |
|---|---|---|
| 14 | Sekolah Dasar | |
| 16 | SMP | |
| 13 | SMA | |
| 15 | Diploma/Politehnik | |
| 10 | Sarjana | |
| 11 | Master | |
| 12 | Doctor | |
| 17 | Lain-Lain |
| Code | Description | Note |
|---|---|---|
| 10 | Rumah Sendiri | |
| 11 | Rumah Keluarga | |
| 12 | Rumah Dinas | |
| 13 | Sewa/Kontrak | |
| 14 | Kost | |
| 15 | Status Kredit | |
| 16 | Lain-Lain |
| Code | Description | Note |
|---|---|---|
| 10 | Islam | |
| 11 | Kristen Protestan | |
| 12 | Kristen Katolik | |
| 13 | Hindu | |
| 14 | Budha | |
| 15 | Kong Hu Cu |
| Code | Description | Note |
|---|---|---|
| 10 | Tetap | |
| 11 | Kontrak | |
| 12 | Outsourcing | |
| 13 | Pekerja Lepas | |
| 14 | Pemilik Usaha |
| Code | Description | Note |
|---|---|---|
| 10 | Direktur/General Manager | |
| 11 | Manajer | |
| 12 | Asisten Manajer | |
| 13 | Staf | |
| 14 | Pemilik |
| Code | Description | Note |
|---|---|---|
| 10 | Perdagangan Eceran / Grosir | |
| 11 | Perbankan / Keuangan / Asuransi / Investasi | |
| 12 | Manufaktur | |
| 13 | Properti / Konstruksi | |
| 14 | Pertambangan / Minyak / Gas | |
| 15 | Pendidikan | |
| 16 | Telekomunikasi | |
| 17 | Pariwisata / Hotel / Perhotelan | |
| 18 | Angkutan | |
| 19 | PNS (Pemerintah) | |
| 20 | Konsultan / Akuntansi / Jasa Profesional | |
| 21 | BUMN (Badan Usaha Milik Negara) | |
| 22 | Perkebunan / Pertanian | |
| 23 | TNI / Polisi (Militer / Polisi) | |
| 24 | Hukum | |
| 25 | Teknologi | |
| 26 | Media / Hiburan | |
| 27 | Pemasaran iklan | |
| 28 | Makanan & Minuman | |
| 29 | Layanan medis | |
| 30 | Perikanan |
| Code | Description | Note |
|---|---|---|
| 10 | Milik Sendiri | |
| 11 | Sewa |
| Code | Description | Note |
|---|---|---|
| 10 | 1-5 | |
| 11 | 5-10 | |
| 12 | 10-25 | |
| 13 | 25-50 | |
| 14 | >50 |
| Code | Description | Note |
|---|---|---|
| 11 | Pensiunan/Purnawirawan | |
| 12 | Pelayaran/Pelaut | |
| 13 | Guru/Pendidikan | |
| 14 | Jasa | |
| 15 | Dokter/Bidan/Mantri | |
| 16 | Ojek Motor | |
| 17 | Sopir | |
| 18 | Peternak | |
| 19 | Pelajar/Mahasiswa | |
| 20 | Buruh/PRT | |
| 21 | Pengrajin Tangan | |
| 23 | Pedagang | |
| 24 | Produksi | |
| 26 | Sewa/Rent | |
| 27 | Transportasi & Komunikasi | |
| 28 | Hiburan | |
| 29 | Pendidikan Non Formal | |
| 30 | Hotel | |
| 31 | Perangkat Desa | |
| 32 | TNI/Polri | |
| 33 | Atlet | |
| 34 | Pengobatan Alternatif | |
| 2 | ABRI | |
| 3 | Pengacara | |
| 35 | Jurnalis / Wartawan | |
| 37 | Profesi | |
| 36 | Wartawan | |
| 6 | Lain-Lain | |
| 38 | Pekerja Lepas |
| Code | Description | Note |
|---|---|---|
| 10 | Gaji/Upah | |
| 11 | Laba Usaha | |
| 12 | Uang Tabungan | |
| 13 | Menjual/Menggadaikan Aset | |
| 14 | Dari Keluarga/Teman/Sumber Lainnya |
| Code | Description | Note |
|---|---|---|
| 10 | Pasangan | |
| 11 | Orang Tua | |
| 12 | Saudara Kandung | |
| 13 | Anak | |
| 14 | Teman Kantor |
| Code | Description | Note |
|---|---|---|
| 10 | Pembelian Handphone / Laptop / Elektronik | |
| 11 | Tagihan Rutin | |
| 12 | Liburan / Rekreasi | |
| 13 | Pembayaran Pajak | |
| 14 | Asuransi | |
| 15 | Pengobatan Medis | |
| 16 | Pendidikan | |
| 17 | Konsumsi Rumah Tangga | |
| 18 | Modal Usaha | |
| 19 | Multiguna |
| Code | Description | Note |
|---|---|---|
| bank_statement_3_months | Bank statement for the last 3 months | |
| company_id_card | ||
| ID_PNS | ||
| receiptri | ||
| salary_certificate | ||
| salary_slip_3_months | Salary slip for the last 3 months | |
| self_SKU_SIUP_TDP | ||
| SK_PNS | ||
| driver_license | ||
| KTP |
NOTE: The following parameters is included in all services (different values). If no parameters for body then pass blank, like body:””
| Name | Description | Type | Mandatory | Notes |
|---|---|---|---|---|
| body | Business parameters | Object | N | Some APIs may require body |
| timestamp | Timestamp | Long | Y | Accurate into a second |
| appId | Apply from AWDA | String | Y | |
| v | Version code | String | N | Default 1.0 |
| signature | Signature | String | Y | All requests need signature |
example:
{ "body": "1111", "timestamp": 1488363493, "signature": "B3C14758F4AF52AE8AA0D4CD1493B137", "appId": "111", "v":"1.0"}Rules for signature:
B6F6E3F9ADF4D7558F54BC8B7D9869CCString[] keys = new String[map.size()];int i = 0;for (Map.Entry<String, Object> entry : map.entrySet()) { keys[i++] = entry.getKey();}Arrays.sort(keys);StringBuilder stringBuilder = new StringBuilder();for (String key : keys) { stringBuilder.append(key); stringBuilder.append(":"); stringBuilder.append(map.get(key));}stringBuilder.append(secret);String str=stringBuilder.toString();String encodeStr = DigestUtils.md5Hex(str).toUpperCase();return encodeStr ;| Parameters | DescriptionType | Mandatory | Notes | |
|---|---|---|---|---|
| code | Status code | Integer | Y | 0: Success Other codes all represent failure, find more details in Code List |
| message | Status description | String | Y | Code description |
| result | Return data | Object | N | When code=0, there will be business data returned inside result object |
{ "code": 0, "message": "Permintaan berhasil", "result": { "state": true }}Require confirmation from AWDA to implement to production after complete UAT for all services.
You can use API tools to test some services during your development。
You can check the response code or contact us when you have problems during the testing
All services using POST method to send request(Including Inquiry)
All requests and responses are JSON format. NOTE: Header Content-Type -> application/json UTF-8 encoding
All requests require signature
| Version | Date | Authors | Summary of changes |
|---|---|---|---|
| 1.0.0 | 2019.06.03 | ZHIBO | Thumbnails image url |
| Service name | Description |
|---|---|
| user registration | Provider : AWDA User : Third party Mandatory : YES Description : All other services can be used only after user registration success |
| Authorization list inquiry | Provider : AWDA User : Third party Mandatory : NO Description : Get the authorization list and check the authorization status |
| Get the authorization detail page | Provider : AWDA User : Third party Mandatory : NO Description : Customer complete the authorization in the pages |
| Call back for authorization status | Provider : AWDA User : Third party Mandatory : NO Description : To receive the authorization status |
| Bank card inquiry | Provider : AWDA User : Third party Mandatory : YES Description : To inquiry bank card status |
| Get bank list | Provider : AWDA User : Third party Mandatory : YES Description : Get the bank list for bank card input |
| Bank card verification | Provider : AWDA User : Third party Mandatory : YES Description : Verify and submit bank card |
| Submit loan | Provider : AWDA User : Third party Mandatory : YES Description : Submit loan info, including (personal info, work info and emergency contact) |
| Loan agreement inquiry | Provider : AWDA User : Third party Mandatory : YES Description : Get loan agreement |
| Sign agreement | Provider : AWDA User : Third party Mandatory : YES Description : Sign agreement (Confirm disbursement) |
| Get loan information | Provider : AWDA User : Third party Mandatory : YES Description : Get loan info based on loan number (include repayment schedule if disbursed) |
| Get repayment VA | Provider : AWDA User : Third party Mandatory : YES Description : Get the repayment VA |
| Push notification | Provider: Third party User : AWDA Mandatory: NO Description : Push the loan status update to Third party |
| Eligible Check | Provider : AWDA User : Third party Mandatory : YES Description : Verify Customer |
| Get the token for uploading image | Provider : AWDA User : Third party Mandatory : NO Description : To get the token which used for api Upload Image (1) |
| Upload Image (1) | Provider : AWDA User : Third party Mandatory : NO Description : By sending file stream with token |
| Upload Image (2) | Provider : AWDA User : Third party Mandatory : NO Description : By sending base64 or url format |
| Get the redirect url (For H5 pages of Digital Signature, Loan detail and Repayment detail) | Provider : AWDA User : Third party Mandatory : NO Description : Redirect to the specific H5 pages |
https://sea-staging.wolaidai.comhttps://japi.maucash.idurl + service url| Code | Description |
|---|---|
| 0 | Success |
| 1000 | System is busy |
| 1001 | Repeat request |
| 1002 | Unvalid token |
| 1003 | Timestamp error or expired (only valid within 60s) |
| 1004 | Signature error |
| 1005 | appId invalid |
| 1006 | Parameters cannot be empty |
| 1007 | Parameters error |
| 1008 | User already existed |
| 1009 | User not found |
| 1010 | Loan not found |
| 1012 | Authorization info not found |
' + displayFn(context) + '
'; + } +} + +function isValidName(str) { + // dashes, underscores, letters, and numbers + return (/^[_a-zA-Z0-9-]+$/).test(str); +} + +module.exports = Dataset; + + +/***/ }), + +/***/ 4184: +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +"use strict"; + + +var _ = __webpack_require__(8540); +var DOM = __webpack_require__(6171); +var EventEmitter = __webpack_require__(6087); +var Dataset = __webpack_require__(6460); +var css = __webpack_require__(4223); + +// constructor +// ----------- + +function Dropdown(o) { + var that = this; + var onSuggestionClick; + var onSuggestionMouseEnter; + var onSuggestionMouseLeave; + + o = o || {}; + + if (!o.menu) { + _.error('menu is required'); + } + + if (!_.isArray(o.datasets) && !_.isObject(o.datasets)) { + _.error('1 or more datasets required'); + } + if (!o.datasets) { + _.error('datasets is required'); + } + + this.isOpen = false; + this.isEmpty = true; + this.minLength = o.minLength || 0; + this.templates = {}; + this.appendTo = o.appendTo || false; + this.css = _.mixin({}, css, o.appendTo ? css.appendTo : {}); + this.cssClasses = o.cssClasses = _.mixin({}, css.defaultClasses, o.cssClasses || {}); + this.cssClasses.prefix = + o.cssClasses.formattedPrefix || _.formatPrefix(this.cssClasses.prefix, this.cssClasses.noPrefix); + + // bound functions + onSuggestionClick = _.bind(this._onSuggestionClick, this); + onSuggestionMouseEnter = _.bind(this._onSuggestionMouseEnter, this); + onSuggestionMouseLeave = _.bind(this._onSuggestionMouseLeave, this); + + var cssClass = _.className(this.cssClasses.prefix, this.cssClasses.suggestion); + this.$menu = DOM.element(o.menu) + .on('mouseenter.aa', cssClass, onSuggestionMouseEnter) + .on('mouseleave.aa', cssClass, onSuggestionMouseLeave) + .on('click.aa', cssClass, onSuggestionClick); + + this.$container = o.appendTo ? o.wrapper : this.$menu; + + if (o.templates && o.templates.header) { + this.templates.header = _.templatify(o.templates.header); + this.$menu.prepend(this.templates.header()); + } + + if (o.templates && o.templates.empty) { + this.templates.empty = _.templatify(o.templates.empty); + this.$empty = DOM.element('Your Docusaurus site did not load properly.
+A very common reason is a wrong site baseUrl configuration.
+Current configured baseUrl = ${baseUrl} ${baseUrl==='/'?' (default value)':''}
+We suggest trying baseUrl =
+