@gofynd/fdk-client-javascript 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -2
- package/index.d.ts +4 -4
- package/index.js +9 -10
- package/package.json +14 -14
- package/sdk/APIClient.d.ts +11 -0
- package/sdk/APIClient.js +35 -0
- package/sdk/Client.d.ts +6 -0
- package/sdk/Client.js +17 -0
- package/sdk/Config.d.ts +9 -0
- package/sdk/Config.js +17 -0
- package/sdk/application/Cart/CartApplicationClient.js +29 -28
- package/sdk/application/Cart/CartApplicationModel.js +3 -1
- package/sdk/application/Catalog/CatalogApplicationClient.js +43 -42
- package/sdk/application/Catalog/CatalogApplicationModel.js +1 -1
- package/sdk/application/Common/CommonApplicationClient.js +5 -4
- package/sdk/application/Communication/CommunicationApplicationClient.js +6 -5
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +21 -20
- package/sdk/application/Content/ContentApplicationClient.js +26 -25
- package/sdk/application/Content/ContentApplicationModel.js +1 -0
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +6 -5
- package/sdk/application/Lead/LeadApplicationClient.js +10 -9
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +1 -3
- package/sdk/application/Logistic/LogisticApplicationClient.js +11 -12
- package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -1
- package/sdk/application/Order/OrderApplicationClient.js +15 -14
- package/sdk/application/Order/OrderApplicationModel.js +9 -0
- package/sdk/application/Payment/PaymentApplicationClient.js +42 -41
- package/sdk/application/PosCart/PosCartApplicationClient.js +30 -29
- package/sdk/application/PosCart/PosCartApplicationModel.js +3 -1
- package/sdk/application/Rewards/RewardsApplicationClient.js +11 -10
- package/sdk/application/Share/ShareApplicationClient.js +10 -9
- package/sdk/application/Theme/ThemeApplicationClient.js +7 -6
- package/sdk/application/User/UserApplicationClient.js +38 -37
- package/sdk/common/AxiosHelper.js +17 -6
- package/sdk/constructUrl.d.ts +5 -0
- package/sdk/constructUrl.js +13 -0
- package/sdk/index.d.ts +3 -0
- package/sdk/index.js +5 -0
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +3 -1
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformClient.js +5 -4
- package/sdk/platform/Analytics/AnalyticsPlatformValidator.js +1 -0
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +1 -0
- package/sdk/platform/Billing/BillingPlatformClient.js +3 -2
- package/sdk/platform/Billing/BillingPlatformValidator.js +1 -0
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +27 -0
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +177 -1
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +3 -0
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +17 -1
- package/sdk/platform/Cart/CartPlatformModel.js +7 -3
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +3 -1
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +2 -2
- package/sdk/platform/Catalog/CatalogPlatformClient.js +6 -9
- package/sdk/platform/Catalog/CatalogPlatformModel.js +7 -7
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +2 -1
- package/sdk/platform/Common/CommonPlatformClient.js +7 -18
- package/sdk/platform/Common/CommonPlatformValidator.js +1 -0
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +3 -1
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +4 -3
- package/sdk/platform/Communication/CommunicationPlatformValidator.js +1 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +5 -4
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +1 -0
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +3 -1
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +9 -8
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +1 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -10
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +3 -62
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +0 -1
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +1 -7
- package/sdk/platform/Content/ContentPlatformModel.js +1 -0
- package/sdk/platform/Discount/DiscountPlatformClient.js +3 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.js +1 -0
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +27 -5
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +1 -1
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +3 -3
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +28 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +1 -0
- package/sdk/platform/Inventory/InventoryPlatformClient.js +3 -2
- package/sdk/platform/Inventory/InventoryPlatformValidator.js +1 -0
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +3 -1
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Lead/LeadPlatformClient.js +4 -3
- package/sdk/platform/Lead/LeadPlatformValidator.js +1 -0
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +3 -1
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Order/OrderPlatformClient.d.ts +1 -1
- package/sdk/platform/Order/OrderPlatformClient.js +16 -3
- package/sdk/platform/Order/OrderPlatformModel.js +1 -0
- package/sdk/platform/Order/OrderPlatformValidator.js +1 -0
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +3 -1
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +14 -14
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Payment/PaymentPlatformClient.js +3 -2
- package/sdk/platform/Payment/PaymentPlatformValidator.js +1 -0
- package/sdk/platform/PlatformClient.d.ts +13 -9
- package/sdk/platform/PlatformClient.js +13 -9
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +4 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +36 -17
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Share/SharePlatformApplicationClient.js +3 -1
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +1 -1
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +3 -1
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +1 -1
- package/sdk/platform/User/UserPlatformApplicationClient.js +3 -1
- package/sdk/platform/User/UserPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Webhook/WebhookPlatformClient.js +3 -2
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +1 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.js +2 -0
- package/sdk/public/Inventory/InventoryPublicClient.js +2 -0
- package/sdk/public/Webhook/WebhookPublicClient.js +2 -0
- package/.github/workflows/on_create_release.yml +0 -23
- package/.github/workflows/on_merge_main.yml +0 -38
- package/.github/workflows/on_pull_request.yml +0 -35
- package/.prettierrc +0 -5
- package/documentation/application/CART.md +0 -8771
- package/documentation/application/CATALOG.md +0 -8690
- package/documentation/application/COMMON.md +0 -325
- package/documentation/application/COMMUNICATION.md +0 -387
- package/documentation/application/CONFIGURATION.md +0 -2212
- package/documentation/application/CONTENT.md +0 -2629
- package/documentation/application/FILESTORAGE.md +0 -442
- package/documentation/application/LEAD.md +0 -1549
- package/documentation/application/LOGISTIC.md +0 -689
- package/documentation/application/ORDER.md +0 -2937
- package/documentation/application/PAYMENT.md +0 -4475
- package/documentation/application/POSCART.md +0 -9375
- package/documentation/application/README.md +0 -21
- package/documentation/application/REWARDS.md +0 -554
- package/documentation/application/SHARE.md +0 -635
- package/documentation/application/THEME.md +0 -5517
- package/documentation/application/USER.md +0 -3798
- package/documentation/platform/ANALYTICS.md +0 -1012
- package/documentation/platform/AUDITTRAIL.md +0 -493
- package/documentation/platform/BILLING.md +0 -1889
- package/documentation/platform/CART.md +0 -4711
- package/documentation/platform/CATALOG.md +0 -20522
- package/documentation/platform/COMMON.md +0 -325
- package/documentation/platform/COMMUNICATION.md +0 -4970
- package/documentation/platform/COMPANYPROFILE.md +0 -1646
- package/documentation/platform/CONFIGURATION.md +0 -6316
- package/documentation/platform/CONTENT.md +0 -8364
- package/documentation/platform/DISCOUNT.md +0 -767
- package/documentation/platform/FILESTORAGE.md +0 -945
- package/documentation/platform/INVENTORY.md +0 -1136
- package/documentation/platform/LEAD.md +0 -4394
- package/documentation/platform/ORDER.md +0 -6525
- package/documentation/platform/PARTNER.md +0 -193
- package/documentation/platform/PAYMENT.md +0 -3138
- package/documentation/platform/README.md +0 -27
- package/documentation/platform/REWARDS.md +0 -919
- package/documentation/platform/SHARE.md +0 -513
- package/documentation/platform/THEME.md +0 -35446
- package/documentation/platform/USER.md +0 -2174
- package/documentation/platform/WEBHOOK.md +0 -485
- package/documentation/public/CONFIGURATION.md +0 -325
- package/documentation/public/INVENTORY.md +0 -508
- package/documentation/public/WEBHOOK.md +0 -246
- package/jest.config.d.ts +0 -4
- package/jest.config.js +0 -6
- package/tests/application/catalog.spec.js +0 -54
- package/tests/common/action-url.spec.js +0 -35
- package/tests/common/schema/action-url.json +0 -178
- package/tests/common/schema/url-action.json +0 -683
- package/tests/common/url-action.spec.js +0 -48
- package/tests/helpers/cookie.helper.js +0 -31
- package/tests/helpers/oauth.helper.js +0 -43
- package/tests/platform/catalog.spec.js +0 -49
- package/tests/public/location.spec.js +0 -39
|
@@ -1,325 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
##### [Back to Public docs](./README.md)
|
|
7
|
-
|
|
8
|
-
## Configuration Methods
|
|
9
|
-
Application configuration apis
|
|
10
|
-
|
|
11
|
-
* [getLocations](#getlocations)
|
|
12
|
-
* [searchApplication](#searchapplication)
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
## Methods with example and description
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
### getLocations
|
|
22
|
-
Get countries, states, cities
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
```javascript
|
|
27
|
-
// Promise
|
|
28
|
-
const promise = configuration.getLocations({ locationType : value,
|
|
29
|
-
id : value });
|
|
30
|
-
|
|
31
|
-
// Async/Await
|
|
32
|
-
const data = await configuration.getLocations({ locationType : value,
|
|
33
|
-
id : value });
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
| Argument | Type | Required | Description |
|
|
41
|
-
| --------- | ----- | -------- | ----------- |
|
|
42
|
-
| locationType | string | no | Provide location type to query on. Possible values : country, state, city |
|
|
43
|
-
| id | string | no | Field is optional when location_type is country. If querying for state, provide id of country. If querying for city, provide id of state. |
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
*Returned Response:*
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
[Locations](#Locations)
|
|
55
|
-
|
|
56
|
-
Success
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
<details>
|
|
62
|
-
<summary><i> Example:</i></summary>
|
|
63
|
-
|
|
64
|
-
```json
|
|
65
|
-
|
|
66
|
-
```
|
|
67
|
-
</details>
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
---
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
### searchApplication
|
|
81
|
-
Search Application
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
```javascript
|
|
86
|
-
// Promise
|
|
87
|
-
const promise = configuration.searchApplication({ authorization : value,
|
|
88
|
-
query : value });
|
|
89
|
-
|
|
90
|
-
// Async/Await
|
|
91
|
-
const data = await configuration.searchApplication({ authorization : value,
|
|
92
|
-
query : value });
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
| Argument | Type | Required | Description |
|
|
100
|
-
| --------- | ----- | -------- | ----------- |
|
|
101
|
-
| authorization | string | no | |
|
|
102
|
-
| query | string | no | Provide application name |
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
Provide application name or domain url
|
|
107
|
-
|
|
108
|
-
*Returned Response:*
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
[ApplicationResponse](#ApplicationResponse)
|
|
114
|
-
|
|
115
|
-
Success
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
<details>
|
|
121
|
-
<summary><i> Example:</i></summary>
|
|
122
|
-
|
|
123
|
-
```json
|
|
124
|
-
{
|
|
125
|
-
"application": {
|
|
126
|
-
"website": {
|
|
127
|
-
"enabled": true,
|
|
128
|
-
"basepath": "/"
|
|
129
|
-
},
|
|
130
|
-
"cors": {
|
|
131
|
-
"domains": []
|
|
132
|
-
},
|
|
133
|
-
"auth": {
|
|
134
|
-
"enabled": true
|
|
135
|
-
},
|
|
136
|
-
"description": "test",
|
|
137
|
-
"channel_type": "store",
|
|
138
|
-
"cache_ttl": -1,
|
|
139
|
-
"internal": false,
|
|
140
|
-
"is_active": true,
|
|
141
|
-
"mode": "live",
|
|
142
|
-
"_id": "620b931ee7bfb11f910bf4a3",
|
|
143
|
-
"company_id": 2,
|
|
144
|
-
"name": "test",
|
|
145
|
-
"owner": "5b9b98150df588546aaea6d2",
|
|
146
|
-
"logo": {
|
|
147
|
-
"secure_url": "https://hdn-1.addsale.com/x0/company/164/applications/5efc9913f474c329718e3690/application/pictures/free-logo/original/olqHM8LNr-JioMart-Groceries.png"
|
|
148
|
-
},
|
|
149
|
-
"favicon": {
|
|
150
|
-
"secure_url": "https://hdn-1.addsale.com/x0/company/164/applications/5efc9913f474c329718e3690/application/pictures/free-logo/original/olqHM8LNr-JioMart-Groceries.png"
|
|
151
|
-
},
|
|
152
|
-
"banner": {
|
|
153
|
-
"secure_url": "https://hdn-1.addsale.com/x0/company/164/applications/5efc9913f474c329718e3690/application/pictures/landscape-banner/original/D2fr98CUH-JioMart-Groceries.png"
|
|
154
|
-
},
|
|
155
|
-
"token": "tPQv0nc23",
|
|
156
|
-
"tokens": [
|
|
157
|
-
{
|
|
158
|
-
"token": "tPQv0nc23",
|
|
159
|
-
"created_at": "2022-02-15T11:48:46.909Z"
|
|
160
|
-
}
|
|
161
|
-
],
|
|
162
|
-
"domains": [
|
|
163
|
-
{
|
|
164
|
-
"verified": true,
|
|
165
|
-
"is_primary": true,
|
|
166
|
-
"is_shortlink": true,
|
|
167
|
-
"_id": "620b931ee7bfb11f910bf4a4",
|
|
168
|
-
"name": "qckvv5lhp.hostfynd.dev"
|
|
169
|
-
}
|
|
170
|
-
],
|
|
171
|
-
"redirections": [],
|
|
172
|
-
"meta": [],
|
|
173
|
-
"created_at": "2022-02-15T11:48:46.909Z",
|
|
174
|
-
"modified_at": "2022-02-15T11:48:46.909Z",
|
|
175
|
-
"__v": 0,
|
|
176
|
-
"domain": {
|
|
177
|
-
"verified": true,
|
|
178
|
-
"is_primary": true,
|
|
179
|
-
"is_shortlink": true,
|
|
180
|
-
"_id": "620b931ee7bfb11f910bf4a4",
|
|
181
|
-
"name": "qckvv5lhp.hostfynd.dev"
|
|
182
|
-
},
|
|
183
|
-
"id": "620b931ee7bfb11f910bf4a3"
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
```
|
|
187
|
-
</details>
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
---
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
### Schemas
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
#### [Application](#Application)
|
|
205
|
-
|
|
206
|
-
| Properties | Type | Nullable | Description |
|
|
207
|
-
| ---------- | ---- | -------- | ----------- || __v | number | no | || _id | string | no | || app_type | string | no | || auth | [ApplicationAuth](#ApplicationAuth) | no | || banner | [SecureUrl](#SecureUrl) | no | || cache_ttl | number | no | || channel_type | string | no | || company_id | number | no | || cors | [ApplicationCors](#ApplicationCors) | no | || created_at | string | no | || description | string | no | || domain | [Domain](#Domain) | no | || domains | [[Domain](#Domain)] | no | || favicon | [SecureUrl](#SecureUrl) | no | || is_active | boolean | no | || is_internal | boolean | no | || logo | [SecureUrl](#SecureUrl) | no | || meta | [[ApplicationMeta](#ApplicationMeta)] | no | || mobile_logo | [SecureUrl](#SecureUrl) | no | || name | string | no | || owner | string | no | || redirections | [[ApplicationRedirections](#ApplicationRedirections)] | no | || token | string | no | || updated_at | string | no | || website | [ApplicationWebsite](#ApplicationWebsite) | no | |
|
|
208
|
-
|
|
209
|
-
---
|
|
210
|
-
|
|
211
|
-
#### [ApplicationAuth](#ApplicationAuth)
|
|
212
|
-
|
|
213
|
-
| Properties | Type | Nullable | Description |
|
|
214
|
-
| ---------- | ---- | -------- | ----------- || enabled | boolean | no | |
|
|
215
|
-
|
|
216
|
-
---
|
|
217
|
-
|
|
218
|
-
#### [ApplicationCors](#ApplicationCors)
|
|
219
|
-
|
|
220
|
-
| Properties | Type | Nullable | Description |
|
|
221
|
-
| ---------- | ---- | -------- | ----------- || domains | [string] | no | |
|
|
222
|
-
|
|
223
|
-
---
|
|
224
|
-
|
|
225
|
-
#### [ApplicationMeta](#ApplicationMeta)
|
|
226
|
-
|
|
227
|
-
| Properties | Type | Nullable | Description |
|
|
228
|
-
| ---------- | ---- | -------- | ----------- || name | string | no | || value | string | no | |
|
|
229
|
-
|
|
230
|
-
---
|
|
231
|
-
|
|
232
|
-
#### [ApplicationRedirections](#ApplicationRedirections)
|
|
233
|
-
|
|
234
|
-
| Properties | Type | Nullable | Description |
|
|
235
|
-
| ---------- | ---- | -------- | ----------- || redirect_from | string | no | || redirect_to | string | no | || type | string | no | |
|
|
236
|
-
|
|
237
|
-
---
|
|
238
|
-
|
|
239
|
-
#### [ApplicationResponse](#ApplicationResponse)
|
|
240
|
-
|
|
241
|
-
| Properties | Type | Nullable | Description |
|
|
242
|
-
| ---------- | ---- | -------- | ----------- || application | [Application](#Application) | no | |
|
|
243
|
-
|
|
244
|
-
---
|
|
245
|
-
|
|
246
|
-
#### [ApplicationWebsite](#ApplicationWebsite)
|
|
247
|
-
|
|
248
|
-
| Properties | Type | Nullable | Description |
|
|
249
|
-
| ---------- | ---- | -------- | ----------- || basepath | string | no | || enabled | boolean | no | |
|
|
250
|
-
|
|
251
|
-
---
|
|
252
|
-
|
|
253
|
-
#### [BadRequest](#BadRequest)
|
|
254
|
-
|
|
255
|
-
| Properties | Type | Nullable | Description |
|
|
256
|
-
| ---------- | ---- | -------- | ----------- || message | string | no | |
|
|
257
|
-
|
|
258
|
-
---
|
|
259
|
-
|
|
260
|
-
#### [Currency](#Currency)
|
|
261
|
-
|
|
262
|
-
| Properties | Type | Nullable | Description |
|
|
263
|
-
| ---------- | ---- | -------- | ----------- || _id | string | no | || code | string | no | || created_at | string | no | || decimal_digits | number | no | || is_active | boolean | no | || name | string | no | || symbol | string | no | || updated_at | string | no | |
|
|
264
|
-
|
|
265
|
-
---
|
|
266
|
-
|
|
267
|
-
#### [Domain](#Domain)
|
|
268
|
-
|
|
269
|
-
| Properties | Type | Nullable | Description |
|
|
270
|
-
| ---------- | ---- | -------- | ----------- || _id | string | no | || is_predefined | boolean | no | || is_primary | boolean | no | || is_shortlink | boolean | no | || name | string | no | || verified | boolean | no | |
|
|
271
|
-
|
|
272
|
-
---
|
|
273
|
-
|
|
274
|
-
#### [LocationCountry](#LocationCountry)
|
|
275
|
-
|
|
276
|
-
| Properties | Type | Nullable | Description |
|
|
277
|
-
| ---------- | ---- | -------- | ----------- || __v | number | no | || _id | string | no | || capital | string | no | || currency | string | no | || default_currency | [LocationDefaultCurrency](#LocationDefaultCurrency) | no | || default_language | [LocationDefaultLanguage](#LocationDefaultLanguage) | no | || iso2 | string | no | || iso3 | string | no | || name | string | no | || parent | string | no | || phone_code | string | no | || type | string | no | || uid | number | no | |
|
|
278
|
-
|
|
279
|
-
---
|
|
280
|
-
|
|
281
|
-
#### [LocationDefaultCurrency](#LocationDefaultCurrency)
|
|
282
|
-
|
|
283
|
-
| Properties | Type | Nullable | Description |
|
|
284
|
-
| ---------- | ---- | -------- | ----------- || code | string | no | || name | string | no | || symbol | string | no | |
|
|
285
|
-
|
|
286
|
-
---
|
|
287
|
-
|
|
288
|
-
#### [LocationDefaultLanguage](#LocationDefaultLanguage)
|
|
289
|
-
|
|
290
|
-
| Properties | Type | Nullable | Description |
|
|
291
|
-
| ---------- | ---- | -------- | ----------- || code | string | no | || name | string | no | |
|
|
292
|
-
|
|
293
|
-
---
|
|
294
|
-
|
|
295
|
-
#### [Locations](#Locations)
|
|
296
|
-
|
|
297
|
-
| Properties | Type | Nullable | Description |
|
|
298
|
-
| ---------- | ---- | -------- | ----------- || items | [string] | no | |
|
|
299
|
-
|
|
300
|
-
---
|
|
301
|
-
|
|
302
|
-
#### [NotFound](#NotFound)
|
|
303
|
-
|
|
304
|
-
| Properties | Type | Nullable | Description |
|
|
305
|
-
| ---------- | ---- | -------- | ----------- || message | string | no | |
|
|
306
|
-
|
|
307
|
-
---
|
|
308
|
-
|
|
309
|
-
#### [Page](#Page)
|
|
310
|
-
|
|
311
|
-
| Properties | Type | Nullable | Description |
|
|
312
|
-
| ---------- | ---- | -------- | ----------- || current | number | no | || has_next | boolean | no | || has_previous | boolean | no | || item_total | number | no | || next_id | string | no | || size | number | no | || type | string | yes | |
|
|
313
|
-
|
|
314
|
-
---
|
|
315
|
-
|
|
316
|
-
#### [SecureUrl](#SecureUrl)
|
|
317
|
-
|
|
318
|
-
| Properties | Type | Nullable | Description |
|
|
319
|
-
| ---------- | ---- | -------- | ----------- || secure_url | string | no | |
|
|
320
|
-
|
|
321
|
-
---
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|