@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.
Files changed (175) hide show
  1. package/README.md +31 -2
  2. package/index.d.ts +4 -4
  3. package/index.js +9 -10
  4. package/package.json +14 -14
  5. package/sdk/APIClient.d.ts +11 -0
  6. package/sdk/APIClient.js +35 -0
  7. package/sdk/Client.d.ts +6 -0
  8. package/sdk/Client.js +17 -0
  9. package/sdk/Config.d.ts +9 -0
  10. package/sdk/Config.js +17 -0
  11. package/sdk/application/Cart/CartApplicationClient.js +29 -28
  12. package/sdk/application/Cart/CartApplicationModel.js +3 -1
  13. package/sdk/application/Catalog/CatalogApplicationClient.js +43 -42
  14. package/sdk/application/Catalog/CatalogApplicationModel.js +1 -1
  15. package/sdk/application/Common/CommonApplicationClient.js +5 -4
  16. package/sdk/application/Communication/CommunicationApplicationClient.js +6 -5
  17. package/sdk/application/Configuration/ConfigurationApplicationClient.js +21 -20
  18. package/sdk/application/Content/ContentApplicationClient.js +26 -25
  19. package/sdk/application/Content/ContentApplicationModel.js +1 -0
  20. package/sdk/application/FileStorage/FileStorageApplicationClient.js +6 -5
  21. package/sdk/application/Lead/LeadApplicationClient.js +10 -9
  22. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +1 -3
  23. package/sdk/application/Logistic/LogisticApplicationClient.js +11 -12
  24. package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -1
  25. package/sdk/application/Order/OrderApplicationClient.js +15 -14
  26. package/sdk/application/Order/OrderApplicationModel.js +9 -0
  27. package/sdk/application/Payment/PaymentApplicationClient.js +42 -41
  28. package/sdk/application/PosCart/PosCartApplicationClient.js +30 -29
  29. package/sdk/application/PosCart/PosCartApplicationModel.js +3 -1
  30. package/sdk/application/Rewards/RewardsApplicationClient.js +11 -10
  31. package/sdk/application/Share/ShareApplicationClient.js +10 -9
  32. package/sdk/application/Theme/ThemeApplicationClient.js +7 -6
  33. package/sdk/application/User/UserApplicationClient.js +38 -37
  34. package/sdk/common/AxiosHelper.js +17 -6
  35. package/sdk/constructUrl.d.ts +5 -0
  36. package/sdk/constructUrl.js +13 -0
  37. package/sdk/index.d.ts +3 -0
  38. package/sdk/index.js +5 -0
  39. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +3 -1
  40. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
  41. package/sdk/platform/Analytics/AnalyticsPlatformClient.js +5 -4
  42. package/sdk/platform/Analytics/AnalyticsPlatformValidator.js +1 -0
  43. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -2
  44. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +1 -0
  45. package/sdk/platform/Billing/BillingPlatformClient.js +3 -2
  46. package/sdk/platform/Billing/BillingPlatformValidator.js +1 -0
  47. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +27 -0
  48. package/sdk/platform/Cart/CartPlatformApplicationClient.js +177 -1
  49. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +3 -0
  50. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +17 -1
  51. package/sdk/platform/Cart/CartPlatformModel.js +7 -3
  52. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +3 -1
  53. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +1 -1
  54. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +2 -2
  55. package/sdk/platform/Catalog/CatalogPlatformClient.js +6 -9
  56. package/sdk/platform/Catalog/CatalogPlatformModel.js +7 -7
  57. package/sdk/platform/Catalog/CatalogPlatformValidator.js +2 -1
  58. package/sdk/platform/Common/CommonPlatformClient.js +7 -18
  59. package/sdk/platform/Common/CommonPlatformValidator.js +1 -0
  60. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +3 -1
  61. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +1 -1
  62. package/sdk/platform/Communication/CommunicationPlatformClient.js +4 -3
  63. package/sdk/platform/Communication/CommunicationPlatformValidator.js +1 -0
  64. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +5 -4
  65. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +1 -0
  66. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +3 -1
  67. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +1 -1
  68. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +9 -8
  69. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +1 -0
  70. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -10
  71. package/sdk/platform/Content/ContentPlatformApplicationClient.js +3 -62
  72. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +0 -1
  73. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +1 -7
  74. package/sdk/platform/Content/ContentPlatformModel.js +1 -0
  75. package/sdk/platform/Discount/DiscountPlatformClient.js +3 -2
  76. package/sdk/platform/Discount/DiscountPlatformValidator.js +1 -0
  77. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +3 -3
  78. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +27 -5
  79. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +1 -1
  80. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +3 -3
  81. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +28 -6
  82. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +1 -0
  83. package/sdk/platform/Inventory/InventoryPlatformClient.js +3 -2
  84. package/sdk/platform/Inventory/InventoryPlatformValidator.js +1 -0
  85. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +3 -1
  86. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +1 -1
  87. package/sdk/platform/Lead/LeadPlatformClient.js +4 -3
  88. package/sdk/platform/Lead/LeadPlatformValidator.js +1 -0
  89. package/sdk/platform/Order/OrderPlatformApplicationClient.js +3 -1
  90. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +1 -1
  91. package/sdk/platform/Order/OrderPlatformClient.d.ts +1 -1
  92. package/sdk/platform/Order/OrderPlatformClient.js +16 -3
  93. package/sdk/platform/Order/OrderPlatformModel.js +1 -0
  94. package/sdk/platform/Order/OrderPlatformValidator.js +1 -0
  95. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +3 -1
  96. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +1 -1
  97. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +1 -1
  98. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +14 -14
  99. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +1 -1
  100. package/sdk/platform/Payment/PaymentPlatformClient.js +3 -2
  101. package/sdk/platform/Payment/PaymentPlatformValidator.js +1 -0
  102. package/sdk/platform/PlatformClient.d.ts +13 -9
  103. package/sdk/platform/PlatformClient.js +13 -9
  104. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +4 -4
  105. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +36 -17
  106. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +1 -1
  107. package/sdk/platform/Share/SharePlatformApplicationClient.js +3 -1
  108. package/sdk/platform/Share/SharePlatformApplicationValidator.js +1 -1
  109. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +3 -1
  110. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +1 -1
  111. package/sdk/platform/User/UserPlatformApplicationClient.js +3 -1
  112. package/sdk/platform/User/UserPlatformApplicationValidator.js +1 -1
  113. package/sdk/platform/Webhook/WebhookPlatformClient.js +3 -2
  114. package/sdk/platform/Webhook/WebhookPlatformValidator.js +1 -0
  115. package/sdk/public/Configuration/ConfigurationPublicClient.js +2 -0
  116. package/sdk/public/Inventory/InventoryPublicClient.js +2 -0
  117. package/sdk/public/Webhook/WebhookPublicClient.js +2 -0
  118. package/.github/workflows/on_create_release.yml +0 -23
  119. package/.github/workflows/on_merge_main.yml +0 -38
  120. package/.github/workflows/on_pull_request.yml +0 -35
  121. package/.prettierrc +0 -5
  122. package/documentation/application/CART.md +0 -8771
  123. package/documentation/application/CATALOG.md +0 -8690
  124. package/documentation/application/COMMON.md +0 -325
  125. package/documentation/application/COMMUNICATION.md +0 -387
  126. package/documentation/application/CONFIGURATION.md +0 -2212
  127. package/documentation/application/CONTENT.md +0 -2629
  128. package/documentation/application/FILESTORAGE.md +0 -442
  129. package/documentation/application/LEAD.md +0 -1549
  130. package/documentation/application/LOGISTIC.md +0 -689
  131. package/documentation/application/ORDER.md +0 -2937
  132. package/documentation/application/PAYMENT.md +0 -4475
  133. package/documentation/application/POSCART.md +0 -9375
  134. package/documentation/application/README.md +0 -21
  135. package/documentation/application/REWARDS.md +0 -554
  136. package/documentation/application/SHARE.md +0 -635
  137. package/documentation/application/THEME.md +0 -5517
  138. package/documentation/application/USER.md +0 -3798
  139. package/documentation/platform/ANALYTICS.md +0 -1012
  140. package/documentation/platform/AUDITTRAIL.md +0 -493
  141. package/documentation/platform/BILLING.md +0 -1889
  142. package/documentation/platform/CART.md +0 -4711
  143. package/documentation/platform/CATALOG.md +0 -20522
  144. package/documentation/platform/COMMON.md +0 -325
  145. package/documentation/platform/COMMUNICATION.md +0 -4970
  146. package/documentation/platform/COMPANYPROFILE.md +0 -1646
  147. package/documentation/platform/CONFIGURATION.md +0 -6316
  148. package/documentation/platform/CONTENT.md +0 -8364
  149. package/documentation/platform/DISCOUNT.md +0 -767
  150. package/documentation/platform/FILESTORAGE.md +0 -945
  151. package/documentation/platform/INVENTORY.md +0 -1136
  152. package/documentation/platform/LEAD.md +0 -4394
  153. package/documentation/platform/ORDER.md +0 -6525
  154. package/documentation/platform/PARTNER.md +0 -193
  155. package/documentation/platform/PAYMENT.md +0 -3138
  156. package/documentation/platform/README.md +0 -27
  157. package/documentation/platform/REWARDS.md +0 -919
  158. package/documentation/platform/SHARE.md +0 -513
  159. package/documentation/platform/THEME.md +0 -35446
  160. package/documentation/platform/USER.md +0 -2174
  161. package/documentation/platform/WEBHOOK.md +0 -485
  162. package/documentation/public/CONFIGURATION.md +0 -325
  163. package/documentation/public/INVENTORY.md +0 -508
  164. package/documentation/public/WEBHOOK.md +0 -246
  165. package/jest.config.d.ts +0 -4
  166. package/jest.config.js +0 -6
  167. package/tests/application/catalog.spec.js +0 -54
  168. package/tests/common/action-url.spec.js +0 -35
  169. package/tests/common/schema/action-url.json +0 -178
  170. package/tests/common/schema/url-action.json +0 -683
  171. package/tests/common/url-action.spec.js +0 -48
  172. package/tests/helpers/cookie.helper.js +0 -31
  173. package/tests/helpers/oauth.helper.js +0 -43
  174. package/tests/platform/catalog.spec.js +0 -49
  175. package/tests/public/location.spec.js +0 -39
@@ -1,689 +0,0 @@
1
-
2
-
3
-
4
-
5
-
6
- ##### [Back to Application docs](./README.md)
7
-
8
- ## Logistic Methods
9
- Logistics Promise Engine APIs allows you to configure zone, pincode, TAT, logistics and many more useful features.
10
-
11
- * [getAllCountries](#getallcountries)
12
- * [getOptimalLocations](#getoptimallocations)
13
- * [getPincodeCity](#getpincodecity)
14
- * [getPincodeZones](#getpincodezones)
15
- * [getTatProduct](#gettatproduct)
16
-
17
-
18
-
19
- ## Methods with example and description
20
-
21
-
22
-
23
-
24
- ### getAllCountries
25
- Get Country List
26
-
27
-
28
-
29
- ```javascript
30
- // Promise
31
- const promise = logistic.getAllCountries();
32
-
33
- // Async/Await
34
- const data = await logistic.getAllCountries();
35
- ```
36
-
37
-
38
-
39
-
40
-
41
-
42
- Get all countries
43
-
44
- *Returned Response:*
45
-
46
-
47
-
48
-
49
- [CountryListResponse](#CountryListResponse)
50
-
51
- Get Country List
52
-
53
-
54
-
55
-
56
- <details>
57
- <summary><i>&nbsp; Example:</i></summary>
58
-
59
- ```json
60
-
61
- ```
62
- </details>
63
-
64
-
65
-
66
-
67
-
68
-
69
-
70
-
71
-
72
- ---
73
-
74
-
75
- ### getOptimalLocations
76
- GET zone from the Pincode.
77
-
78
-
79
-
80
- ```javascript
81
- // Promise
82
- const promise = logistic.getOptimalLocations({ body : value });
83
-
84
- // Async/Await
85
- const data = await logistic.getOptimalLocations({ body : value });
86
- ```
87
-
88
-
89
-
90
-
91
-
92
- | Argument | Type | Required | Description |
93
- | --------- | ----- | -------- | ----------- |
94
- | body | [ReAssignStoreRequest](#ReAssignStoreRequest) | yes | Request body |
95
-
96
-
97
- This API returns zone from the Pincode View.
98
-
99
- *Returned Response:*
100
-
101
-
102
-
103
-
104
- [ReAssignStoreResponse](#ReAssignStoreResponse)
105
-
106
- Response status_code
107
-
108
-
109
-
110
-
111
- <details>
112
- <summary><i>&nbsp; Example:</i></summary>
113
-
114
- ```json
115
-
116
- ```
117
- </details>
118
-
119
-
120
-
121
-
122
-
123
-
124
-
125
-
126
-
127
- ---
128
-
129
-
130
- ### getPincodeCity
131
- Get Pincode API
132
-
133
-
134
-
135
- ```javascript
136
- // Promise
137
- const promise = logistic.getPincodeCity({ pincode : value,
138
- countryCode : value });
139
-
140
- // Async/Await
141
- const data = await logistic.getPincodeCity({ pincode : value,
142
- countryCode : value });
143
- ```
144
-
145
-
146
-
147
-
148
-
149
- | Argument | Type | Required | Description |
150
- | --------- | ----- | -------- | ----------- |
151
- | pincode | string | yes | A `pincode` contains a specific address of a location. |
152
- | countryCode | string | no | A 3 alphabetic country code |
153
-
154
-
155
-
156
- Get pincode data
157
-
158
- *Returned Response:*
159
-
160
-
161
-
162
-
163
- [PincodeApiResponse](#PincodeApiResponse)
164
-
165
- Get pincode data
166
-
167
-
168
-
169
-
170
- <details>
171
- <summary><i>&nbsp; Examples:</i></summary>
172
-
173
-
174
- <details>
175
- <summary><i>&nbsp; Pincode data found</i></summary>
176
-
177
- ```json
178
- {
179
- "value": {
180
- "data": [
181
- {
182
- "sub_type": "pincode",
183
- "name": "421202",
184
- "error": {
185
- "type": null,
186
- "value": null,
187
- "message": null
188
- },
189
- "uid": "pincode:INDIA|MAHARASHTRA|MUMBAI|421202",
190
- "display_name": "421202",
191
- "meta": {
192
- "zone": "West",
193
- "internal_zone_id": 4
194
- },
195
- "meta_code": {
196
- "country_code": "IND",
197
- "isd_code": "+91"
198
- },
199
- "parents": [
200
- {
201
- "sub_type": "country",
202
- "name": "India",
203
- "display_name": "India",
204
- "uid": "country:INDIA"
205
- },
206
- {
207
- "sub_type": "state",
208
- "name": "Maharashtra",
209
- "display_name": "Maharashtra",
210
- "uid": "state:INDIA|MAHARASHTRA"
211
- },
212
- {
213
- "sub_type": "city",
214
- "name": "Thane",
215
- "display_name": "Thane",
216
- "uid": "city:INDIA|MAHARASHTRA|MUMBAI"
217
- }
218
- ],
219
- "lat_long": {
220
- "type": "Point",
221
- "coordinates": [
222
- 3.8858955,
223
- 7.2272335
224
- ]
225
- }
226
- }
227
- ],
228
- "request_uuid": "fce9f431215e71c9ee0e86e792ae1dce4",
229
- "stormbreaker_uuid": "56cca764-9fab-41f4-adb8-6e9683532aa5",
230
- "error": {
231
- "type": null,
232
- "value": null,
233
- "message": null
234
- },
235
- "success": true
236
- }
237
- }
238
- ```
239
- </details>
240
-
241
- <details>
242
- <summary><i>&nbsp; Pincode not found</i></summary>
243
-
244
- ```json
245
- {
246
- "value": {
247
- "data": [
248
- {
249
- "sub_type": "pincode",
250
- "name": "999999",
251
- "error": {
252
- "type": "DoesNotExist",
253
- "value": "999999",
254
- "message": "pincode 999999 does not exist"
255
- }
256
- }
257
- ],
258
- "request_uuid": "fce9fb9215e71c9ee0e86e792ae1dce4",
259
- "stormbreaker_uuid": "03b353ed-9dbd-4629-80b2-2be337859a20",
260
- "error": {
261
- "type": null,
262
- "value": null,
263
- "message": null
264
- },
265
- "success": false
266
- }
267
- }
268
- ```
269
- </details>
270
-
271
- </details>
272
-
273
-
274
-
275
-
276
-
277
-
278
-
279
-
280
-
281
- ---
282
-
283
-
284
- ### getPincodeZones
285
- GET zone from the Pincode.
286
-
287
-
288
-
289
- ```javascript
290
- // Promise
291
- const promise = logistic.getPincodeZones({ body : value });
292
-
293
- // Async/Await
294
- const data = await logistic.getPincodeZones({ body : value });
295
- ```
296
-
297
-
298
-
299
-
300
-
301
- | Argument | Type | Required | Description |
302
- | --------- | ----- | -------- | ----------- |
303
- | body | [GetZoneFromPincodeViewRequest](#GetZoneFromPincodeViewRequest) | yes | Request body |
304
-
305
-
306
- This API returns zone from the Pincode View.
307
-
308
- *Returned Response:*
309
-
310
-
311
-
312
-
313
- [GetZoneFromPincodeViewResponse](#GetZoneFromPincodeViewResponse)
314
-
315
- Response status_code
316
-
317
-
318
-
319
-
320
- <details>
321
- <summary><i>&nbsp; Example:</i></summary>
322
-
323
- ```json
324
-
325
- ```
326
- </details>
327
-
328
-
329
-
330
-
331
-
332
-
333
-
334
-
335
-
336
- ---
337
-
338
-
339
- ### getTatProduct
340
- Get TAT API
341
-
342
-
343
-
344
- ```javascript
345
- // Promise
346
- const promise = logistic.getTatProduct({ body : value });
347
-
348
- // Async/Await
349
- const data = await logistic.getTatProduct({ body : value });
350
- ```
351
-
352
-
353
-
354
-
355
-
356
- | Argument | Type | Required | Description |
357
- | --------- | ----- | -------- | ----------- |
358
- | body | [TATViewRequest](#TATViewRequest) | yes | Request body |
359
-
360
-
361
- Get TAT data
362
-
363
- *Returned Response:*
364
-
365
-
366
-
367
-
368
- [TATViewResponse](#TATViewResponse)
369
-
370
- Get TAT data
371
-
372
-
373
-
374
-
375
- <details>
376
- <summary><i>&nbsp; Examples:</i></summary>
377
-
378
-
379
- <details>
380
- <summary><i>&nbsp; Pincode data found</i></summary>
381
-
382
- ```json
383
- {
384
- "value": {
385
- "source": "FYND-APP",
386
- "identifier": "PDP",
387
- "journey": "forward",
388
- "action": "get_tat",
389
- "to_pincode": "143001",
390
- "location_details": [
391
- {
392
- "fulfillment_id": 8,
393
- "from_pincode": "560023",
394
- "articles": [
395
- {
396
- "category": {
397
- "level": "l3",
398
- "id": 155
399
- },
400
- "manufacturing_time": 2,
401
- "manufacturing_time_unit": "days",
402
- "promise": {
403
- "timestamp": {
404
- "min": 1663564548,
405
- "max": 1663650948
406
- },
407
- "formatted": {
408
- "min": "19 Sep, Monday",
409
- "max": "20 Sep, Tuesday"
410
- }
411
- },
412
- "error": {
413
- "type": null,
414
- "value": null,
415
- "message": null
416
- },
417
- "is_cod_available": true,
418
- "_manufacturing_time_seconds": 172800
419
- }
420
- ]
421
- }
422
- ],
423
- "request_uuid": "b4adf5508e34f17971817c3581e16310",
424
- "stormbreaker_uuid": "4b8084d4-ea74-45af-8ddc-c38e29bf0cfb",
425
- "error": {
426
- "type": null,
427
- "value": null,
428
- "message": null
429
- },
430
- "to_city": "Amritsar",
431
- "payment_mode": "prepaid",
432
- "is_cod_available": true,
433
- "success": true
434
- }
435
- }
436
- ```
437
- </details>
438
-
439
- <details>
440
- <summary><i>&nbsp; Pincode not found</i></summary>
441
-
442
- ```json
443
- {
444
- "value": {
445
- "source": "FYND-APP",
446
- "identifier": "PDP",
447
- "journey": "forward",
448
- "action": "get_tat",
449
- "to_pincode": "99999",
450
- "location_details": [
451
- {
452
- "fulfillment_id": 8,
453
- "from_pincode": "560023",
454
- "articles": [
455
- {
456
- "category": {
457
- "level": "l3",
458
- "id": 155
459
- },
460
- "manufacturing_time": 2,
461
- "manufacturing_time_unit": "days",
462
- "promise": null,
463
- "error": {
464
- "type": "ValueError",
465
- "value": "99999",
466
- "message": "We are not delivering to 99999"
467
- }
468
- }
469
- ]
470
- }
471
- ],
472
- "request_uuid": "4b99d15fddb2b9fc2d6ab99a1c933010",
473
- "stormbreaker_uuid": "6a847909-1d59-43e7-9ae0-15f5de8fc7d7",
474
- "error": {
475
- "type": "ValueError",
476
- "value": "99999",
477
- "message": "All of the items in your cart are not deliverable to 99999"
478
- },
479
- "to_city": "",
480
- "payment_mode": "prepaid",
481
- "is_cod_available": true,
482
- "success": false
483
- }
484
- }
485
- ```
486
- </details>
487
-
488
- </details>
489
-
490
-
491
-
492
-
493
-
494
-
495
-
496
-
497
-
498
- ---
499
-
500
-
501
-
502
- ### Schemas
503
-
504
-
505
- #### [CountryEntityResponse](#CountryEntityResponse)
506
-
507
- | Properties | Type | Nullable | Description |
508
- | ---------- | ---- | -------- | ----------- || display_name | string | no | || is_active | boolean | no | || logistics | [LogisticsResponse](#LogisticsResponse) | no | || meta | [CountryMetaResponse](#CountryMetaResponse) | no | || name | string | no | || parent_id | string | no | || sub_type | string | no | || type | string | no | || uid | string | no | |
509
-
510
- ---
511
-
512
- #### [CountryListResponse](#CountryListResponse)
513
-
514
- | Properties | Type | Nullable | Description |
515
- | ---------- | ---- | -------- | ----------- || results | [[CountryEntityResponse](#CountryEntityResponse)] | no | |
516
-
517
- ---
518
-
519
- #### [CountryMetaResponse](#CountryMetaResponse)
520
-
521
- | Properties | Type | Nullable | Description |
522
- | ---------- | ---- | -------- | ----------- || country_code | string | no | || isd_code | string | no | |
523
-
524
- ---
525
-
526
- #### [DP](#DP)
527
-
528
- | Properties | Type | Nullable | Description |
529
- | ---------- | ---- | -------- | ----------- || area_code | string | no | || assign_dp_from_sb | boolean | no | || external_account_id | string | no | || fm_priority | number | yes | || internal_account_id | string | no | || lm_priority | number | yes | || operations | [string] | yes | || payment_mode | string | yes | || rvp_priority | number | yes | || transport_mode | string | no | |
530
-
531
- ---
532
-
533
- #### [GetZoneFromPincodeViewRequest](#GetZoneFromPincodeViewRequest)
534
-
535
- | Properties | Type | Nullable | Description |
536
- | ---------- | ---- | -------- | ----------- || country | string | yes | || pincode | string | yes | |
537
-
538
- ---
539
-
540
- #### [GetZoneFromPincodeViewResponse](#GetZoneFromPincodeViewResponse)
541
-
542
- | Properties | Type | Nullable | Description |
543
- | ---------- | ---- | -------- | ----------- || serviceability_type | string | yes | || zones | [string] | yes | |
544
-
545
- ---
546
-
547
- #### [LogisticsResponse](#LogisticsResponse)
548
-
549
- | Properties | Type | Nullable | Description |
550
- | ---------- | ---- | -------- | ----------- || dp | [String: [DP](#DP)] | no | |
551
-
552
- ---
553
-
554
- #### [PincodeApiResponse](#PincodeApiResponse)
555
-
556
- | Properties | Type | Nullable | Description |
557
- | ---------- | ---- | -------- | ----------- || data | [[PincodeDataResponse](#PincodeDataResponse)] | no | || error | [PincodeErrorSchemaResponse](#PincodeErrorSchemaResponse) | yes | || success | boolean | yes | |
558
-
559
- ---
560
-
561
- #### [PincodeDataResponse](#PincodeDataResponse)
562
-
563
- | Properties | Type | Nullable | Description |
564
- | ---------- | ---- | -------- | ----------- || display_name | string | no | || error | [PincodeErrorSchemaResponse](#PincodeErrorSchemaResponse) | yes | || lat_long | [PincodeLatLongData](#PincodeLatLongData) | no | || meta | [PincodeMetaResponse](#PincodeMetaResponse) | no | || meta_code | [CountryMetaResponse](#CountryMetaResponse) | no | || name | string | no | || parents | [[PincodeParentsResponse](#PincodeParentsResponse)] | no | || sub_type | string | no | || uid | string | no | |
565
-
566
- ---
567
-
568
- #### [PincodeErrorSchemaResponse](#PincodeErrorSchemaResponse)
569
-
570
- | Properties | Type | Nullable | Description |
571
- | ---------- | ---- | -------- | ----------- || message | string | no | || type | string | no | || value | string | no | |
572
-
573
- ---
574
-
575
- #### [PincodeLatLongData](#PincodeLatLongData)
576
-
577
- | Properties | Type | Nullable | Description |
578
- | ---------- | ---- | -------- | ----------- || coordinates | [string] | no | || type | string | no | |
579
-
580
- ---
581
-
582
- #### [PincodeMetaResponse](#PincodeMetaResponse)
583
-
584
- | Properties | Type | Nullable | Description |
585
- | ---------- | ---- | -------- | ----------- || internal_zone_id | number | no | || zone | string | no | |
586
-
587
- ---
588
-
589
- #### [PincodeParentsResponse](#PincodeParentsResponse)
590
-
591
- | Properties | Type | Nullable | Description |
592
- | ---------- | ---- | -------- | ----------- || display_name | string | no | || name | string | no | || sub_type | string | no | || uid | string | no | |
593
-
594
- ---
595
-
596
- #### [ReAssignStoreRequest](#ReAssignStoreRequest)
597
-
598
- | Properties | Type | Nullable | Description |
599
- | ---------- | ---- | -------- | ----------- || articles | [string] | yes | || configuration | string | yes | || identifier | string | yes | || ignored_locations | [string] | yes | || to_pincode | string | yes | |
600
-
601
- ---
602
-
603
- #### [ReAssignStoreResponse](#ReAssignStoreResponse)
604
-
605
- | Properties | Type | Nullable | Description |
606
- | ---------- | ---- | -------- | ----------- || articles | [string] | no | || error | string | yes | || success | boolean | yes | || to_pincode | string | yes | |
607
-
608
- ---
609
-
610
- #### [TATArticlesRequest](#TATArticlesRequest)
611
-
612
- | Properties | Type | Nullable | Description |
613
- | ---------- | ---- | -------- | ----------- || category | [TATCategoryRequest](#TATCategoryRequest) | no | || manufacturing_time | number | no | || manufacturing_time_unit | string | no | |
614
-
615
- ---
616
-
617
- #### [TATArticlesResponse](#TATArticlesResponse)
618
-
619
- | Properties | Type | Nullable | Description |
620
- | ---------- | ---- | -------- | ----------- || _manufacturing_time_seconds | number | no | || category | [TATCategoryRequest](#TATCategoryRequest) | no | || error | [TATErrorSchemaResponse](#TATErrorSchemaResponse) | no | || is_cod_available | boolean | no | || manufacturing_time | number | no | || manufacturing_time_unit | string | no | || promise | [TATPromiseResponse](#TATPromiseResponse) | no | |
621
-
622
- ---
623
-
624
- #### [TATCategoryRequest](#TATCategoryRequest)
625
-
626
- | Properties | Type | Nullable | Description |
627
- | ---------- | ---- | -------- | ----------- || id | number | no | || level | string | no | |
628
-
629
- ---
630
-
631
- #### [TATErrorSchemaResponse](#TATErrorSchemaResponse)
632
-
633
- | Properties | Type | Nullable | Description |
634
- | ---------- | ---- | -------- | ----------- || message | string | no | || type | string | no | || value | string | no | |
635
-
636
- ---
637
-
638
- #### [TATFormattedResponse](#TATFormattedResponse)
639
-
640
- | Properties | Type | Nullable | Description |
641
- | ---------- | ---- | -------- | ----------- || max | string | no | || min | string | no | |
642
-
643
- ---
644
-
645
- #### [TATLocationDetailsRequest](#TATLocationDetailsRequest)
646
-
647
- | Properties | Type | Nullable | Description |
648
- | ---------- | ---- | -------- | ----------- || articles | [[TATArticlesRequest](#TATArticlesRequest)] | no | || from_pincode | string | no | || fulfillment_id | number | no | |
649
-
650
- ---
651
-
652
- #### [TATLocationDetailsResponse](#TATLocationDetailsResponse)
653
-
654
- | Properties | Type | Nullable | Description |
655
- | ---------- | ---- | -------- | ----------- || articles | [[TATArticlesResponse](#TATArticlesResponse)] | no | || from_pincode | string | no | || fulfillment_id | number | no | |
656
-
657
- ---
658
-
659
- #### [TATPromiseResponse](#TATPromiseResponse)
660
-
661
- | Properties | Type | Nullable | Description |
662
- | ---------- | ---- | -------- | ----------- || formatted | [TATFormattedResponse](#TATFormattedResponse) | no | || timestamp | [TATTimestampResponse](#TATTimestampResponse) | no | |
663
-
664
- ---
665
-
666
- #### [TATTimestampResponse](#TATTimestampResponse)
667
-
668
- | Properties | Type | Nullable | Description |
669
- | ---------- | ---- | -------- | ----------- || max | number | no | || min | number | no | |
670
-
671
- ---
672
-
673
- #### [TATViewRequest](#TATViewRequest)
674
-
675
- | Properties | Type | Nullable | Description |
676
- | ---------- | ---- | -------- | ----------- || action | string | no | || identifier | string | no | || journey | string | no | || location_details | [[TATLocationDetailsRequest](#TATLocationDetailsRequest)] | no | || source | string | no | || to_pincode | string | no | |
677
-
678
- ---
679
-
680
- #### [TATViewResponse](#TATViewResponse)
681
-
682
- | Properties | Type | Nullable | Description |
683
- | ---------- | ---- | -------- | ----------- || action | string | no | || error | [TATErrorSchemaResponse](#TATErrorSchemaResponse) | no | || identifier | string | no | || is_cod_available | boolean | no | || journey | string | no | || location_details | [[TATLocationDetailsResponse](#TATLocationDetailsResponse)] | no | || payment_mode | string | no | || request_uuid | string | no | || source | string | no | || stormbreaker_uuid | string | no | || success | boolean | no | || to_city | string | no | || to_pincode | string | no | |
684
-
685
- ---
686
-
687
-
688
-
689
-