@gofynd/fdk-client-javascript 0.1.35 → 0.1.37

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 (118) hide show
  1. package/README.md +1 -1
  2. package/documentation/application/CART.md +272 -249
  3. package/documentation/application/CATALOG.md +417 -413
  4. package/documentation/application/COMMON.md +4 -0
  5. package/documentation/application/COMMUNICATION.md +4 -0
  6. package/documentation/application/CONFIGURATION.md +4 -0
  7. package/documentation/application/CONTENT.md +7 -20
  8. package/documentation/application/FILESTORAGE.md +85 -0
  9. package/documentation/application/LEAD.md +6 -2
  10. package/documentation/application/LOGISTIC.md +427 -101
  11. package/documentation/application/ORDER.md +292 -288
  12. package/documentation/application/PAYMENT.md +445 -259
  13. package/documentation/application/POSCART.md +309 -286
  14. package/documentation/application/README.md +1 -1
  15. package/documentation/application/REWARDS.md +153 -160
  16. package/documentation/application/SHARE.md +4 -0
  17. package/documentation/application/THEME.md +4 -0
  18. package/documentation/application/USER.md +4 -0
  19. package/documentation/platform/ANALYTICS.md +4 -0
  20. package/documentation/platform/AUDITTRAIL.md +6 -2
  21. package/documentation/platform/BILLING.md +4 -0
  22. package/documentation/platform/CART.md +476 -459
  23. package/documentation/platform/CATALOG.md +4138 -2968
  24. package/documentation/platform/COMMON.md +4 -0
  25. package/documentation/platform/COMMUNICATION.md +4 -0
  26. package/documentation/platform/COMPANYPROFILE.md +258 -206
  27. package/documentation/platform/CONFIGURATION.md +4 -0
  28. package/documentation/platform/CONTENT.md +8 -21
  29. package/documentation/platform/DISCOUNT.md +4 -0
  30. package/documentation/platform/FILESTORAGE.md +85 -0
  31. package/documentation/platform/INVENTORY.md +4 -0
  32. package/documentation/platform/LEAD.md +6 -2
  33. package/documentation/platform/ORDER.md +6298 -1448
  34. package/documentation/platform/PARTNER.md +12 -8
  35. package/documentation/platform/PAYMENT.md +107 -103
  36. package/documentation/platform/README.md +2 -2
  37. package/documentation/platform/REWARDS.md +219 -152
  38. package/documentation/platform/SHARE.md +4 -0
  39. package/documentation/platform/THEME.md +4 -0
  40. package/documentation/platform/USER.md +4 -0
  41. package/documentation/platform/WEBHOOK.md +4 -0
  42. package/documentation/public/CONFIGURATION.md +4 -0
  43. package/documentation/public/INVENTORY.md +4 -0
  44. package/documentation/public/WEBHOOK.md +4 -0
  45. package/package.json +2 -2
  46. package/sdk/application/ApplicationAPIClient.js +3 -0
  47. package/sdk/application/ApplicationClient.d.ts +1 -0
  48. package/sdk/application/ApplicationClient.js +11 -1
  49. package/sdk/application/ApplicationConfig.d.ts +1 -0
  50. package/sdk/application/ApplicationConfig.js +1 -0
  51. package/sdk/application/ApplicationModels.d.ts +94 -85
  52. package/sdk/application/ApplicationModels.js +1909 -1792
  53. package/sdk/application/client/CartApplicationClient.d.ts +36 -36
  54. package/sdk/application/client/CatalogApplicationClient.d.ts +39 -39
  55. package/sdk/application/client/CatalogApplicationClient.js +16 -16
  56. package/sdk/application/client/CommonApplicationClient.d.ts +2 -2
  57. package/sdk/application/client/CommunicationApplicationClient.d.ts +5 -5
  58. package/sdk/application/client/ConfigurationApplicationClient.d.ts +17 -17
  59. package/sdk/application/client/ContentApplicationClient.d.ts +19 -19
  60. package/sdk/application/client/FileStorageApplicationClient.d.ts +14 -6
  61. package/sdk/application/client/FileStorageApplicationClient.js +2 -0
  62. package/sdk/application/client/LeadApplicationClient.d.ts +10 -10
  63. package/sdk/application/client/LogisticApplicationClient.d.ts +32 -21
  64. package/sdk/application/client/LogisticApplicationClient.js +62 -27
  65. package/sdk/application/client/OrderApplicationClient.d.ts +15 -15
  66. package/sdk/application/client/OrderApplicationClient.js +1 -1
  67. package/sdk/application/client/PaymentApplicationClient.d.ts +79 -57
  68. package/sdk/application/client/PaymentApplicationClient.js +66 -0
  69. package/sdk/application/client/PosCartApplicationClient.d.ts +38 -38
  70. package/sdk/application/client/RewardsApplicationClient.d.ts +34 -34
  71. package/sdk/application/client/RewardsApplicationClient.js +77 -77
  72. package/sdk/application/client/ShareApplicationClient.d.ts +8 -8
  73. package/sdk/application/client/ThemeApplicationClient.d.ts +4 -4
  74. package/sdk/application/client/UserApplicationClient.d.ts +63 -63
  75. package/sdk/application/models/CatalogValidator.d.ts +1 -1
  76. package/sdk/application/models/CatalogValidator.js +2 -2
  77. package/sdk/application/models/LogisticValidator.d.ts +2 -1
  78. package/sdk/application/models/LogisticValidator.js +11 -6
  79. package/sdk/application/models/PaymentValidator.d.ts +2 -0
  80. package/sdk/application/models/PaymentValidator.js +12 -0
  81. package/sdk/application/models/RewardsValidator.d.ts +3 -3
  82. package/sdk/application/models/RewardsValidator.js +12 -12
  83. package/sdk/common/AxiosHelper.js +1 -1
  84. package/sdk/common/Constant.d.ts +9 -0
  85. package/sdk/common/Constant.js +11 -0
  86. package/sdk/platform/PlatformApplicationClient.d.ts +7962 -6505
  87. package/sdk/platform/PlatformApplicationClient.js +4377 -3635
  88. package/sdk/platform/PlatformApplicationModels.d.ts +26 -31
  89. package/sdk/platform/PlatformApplicationModels.js +5530 -4134
  90. package/sdk/platform/PlatformClient.d.ts +3495 -2780
  91. package/sdk/platform/PlatformClient.js +3985 -3108
  92. package/sdk/platform/PlatformModels.d.ts +354 -273
  93. package/sdk/platform/PlatformModels.js +5635 -4211
  94. package/sdk/platform/client/AnalyticsPlatformClient.d.ts +5 -5
  95. package/sdk/platform/client/AuditTrailPlatformClient.d.ts +1 -1
  96. package/sdk/platform/client/BillingPlatformClient.d.ts +4 -4
  97. package/sdk/platform/client/CatalogPlatformClient.d.ts +222 -154
  98. package/sdk/platform/client/CatalogPlatformClient.js +473 -295
  99. package/sdk/platform/client/CompanyProfilePlatformClient.d.ts +8 -8
  100. package/sdk/platform/client/ConfigurationPlatformClient.d.ts +9 -9
  101. package/sdk/platform/client/DiscountPlatformClient.d.ts +4 -4
  102. package/sdk/platform/client/FileStoragePlatformClient.d.ts +20 -4
  103. package/sdk/platform/client/FileStoragePlatformClient.js +49 -0
  104. package/sdk/platform/client/InventoryPlatformClient.d.ts +3 -3
  105. package/sdk/platform/client/LeadPlatformClient.d.ts +6 -6
  106. package/sdk/platform/client/OrderPlatformClient.d.ts +557 -131
  107. package/sdk/platform/client/OrderPlatformClient.js +1551 -247
  108. package/sdk/platform/client/PaymentPlatformClient.d.ts +4 -4
  109. package/sdk/platform/client/WebhookPlatformClient.d.ts +2 -2
  110. package/sdk/platform/models/CatalogValidator.d.ts +26 -22
  111. package/sdk/platform/models/CatalogValidator.js +109 -72
  112. package/sdk/platform/models/OrderValidator.d.ts +43 -11
  113. package/sdk/platform/models/OrderValidator.js +312 -51
  114. package/sdk/public/client/ConfigurationPublicClient.d.ts +2 -2
  115. package/sdk/public/client/InventoryPublicClient.d.ts +7 -7
  116. package/sdk/public/client/WebhookPublicClient.d.ts +3 -3
  117. package/tests/common/schema/action-url.json +15 -0
  118. package/tests/common/schema/url-action.json +16 -0
@@ -2,21 +2,173 @@
2
2
 
3
3
 
4
4
 
5
+
5
6
  ##### [Back to Application docs](./README.md)
6
7
 
7
8
  ## Logistic Methods
8
- Handles Platform websites OMS
9
+ Logistics Promise Engine APIs allows you to configure zone, pincode, TAT, logistics and many more useful features.
10
+
11
+ * [getPincodeCity](#getpincodecity)
9
12
  * [getTatProduct](#gettatproduct)
13
+ * [getAllCountries](#getallcountries)
10
14
  * [getPincodeZones](#getpincodezones)
11
- * [getPincodeCity](#getpincodecity)
12
15
 
13
16
 
14
17
 
15
18
  ## Methods with example and description
16
19
 
17
20
 
21
+
22
+
23
+ ### getPincodeCity
24
+ Get Pincode API
25
+
26
+
27
+
28
+ ```javascript
29
+ // Promise
30
+ const promise = logistic.getPincodeCity({ pincode : value,
31
+ countryCode : value });
32
+
33
+ // Async/Await
34
+ const data = await logistic.getPincodeCity({ pincode : value,
35
+ countryCode : value });
36
+ ```
37
+
38
+
39
+
40
+
41
+
42
+ | Argument | Type | Required | Description |
43
+ | --------- | ----- | -------- | ----------- |
44
+ | pincode | string | yes | A `pincode` contains a specific address of a location. |
45
+ | countryCode | string | no | A 3 alphabetic country code |
46
+
47
+
48
+
49
+ Get pincode data
50
+
51
+ *Returned Response:*
52
+
53
+
54
+
55
+
56
+ [PincodeApiResponse](#PincodeApiResponse)
57
+
58
+ Get pincode data
59
+
60
+
61
+
62
+
63
+ <details>
64
+ <summary><i>&nbsp; Examples:</i></summary>
65
+
66
+
67
+ <details>
68
+ <summary><i>&nbsp; Pincode data found</i></summary>
69
+
70
+ ```json
71
+ {
72
+ "value": {
73
+ "data": [
74
+ {
75
+ "sub_type": "pincode",
76
+ "name": "421202",
77
+ "error": {
78
+ "type": null,
79
+ "value": null,
80
+ "message": null
81
+ },
82
+ "uid": "pincode:INDIA|MAHARASHTRA|MUMBAI|421202",
83
+ "display_name": "421202",
84
+ "meta": {
85
+ "zone": "West",
86
+ "internal_zone_id": 4
87
+ },
88
+ "meta_code": {
89
+ "country_code": "IND",
90
+ "isd_code": "+91"
91
+ },
92
+ "parents": [
93
+ {
94
+ "sub_type": "country",
95
+ "name": "India",
96
+ "display_name": "India",
97
+ "uid": "country:INDIA"
98
+ },
99
+ {
100
+ "sub_type": "state",
101
+ "name": "Maharashtra",
102
+ "display_name": "Maharashtra",
103
+ "uid": "state:INDIA|MAHARASHTRA"
104
+ },
105
+ {
106
+ "sub_type": "city",
107
+ "name": "Thane",
108
+ "display_name": "Thane",
109
+ "uid": "city:INDIA|MAHARASHTRA|MUMBAI"
110
+ }
111
+ ]
112
+ }
113
+ ],
114
+ "request_uuid": "fce9f431215e71c9ee0e86e792ae1dce4",
115
+ "stormbreaker_uuid": "56cca764-9fab-41f4-adb8-6e9683532aa5",
116
+ "error": {
117
+ "type": null,
118
+ "value": null,
119
+ "message": null
120
+ },
121
+ "success": true
122
+ }
123
+ }
124
+ ```
125
+ </details>
126
+
127
+ <details>
128
+ <summary><i>&nbsp; Pincode not found</i></summary>
129
+
130
+ ```json
131
+ {
132
+ "value": {
133
+ "data": [
134
+ {
135
+ "sub_type": "pincode",
136
+ "name": "999999",
137
+ "error": {
138
+ "type": "DoesNotExist",
139
+ "value": "999999",
140
+ "message": "pincode 999999 does not exist"
141
+ }
142
+ }
143
+ ],
144
+ "request_uuid": "fce9fb9215e71c9ee0e86e792ae1dce4",
145
+ "stormbreaker_uuid": "03b353ed-9dbd-4629-80b2-2be337859a20",
146
+ "error": {
147
+ "type": null,
148
+ "value": null,
149
+ "message": null
150
+ },
151
+ "success": false
152
+ }
153
+ }
154
+ ```
155
+ </details>
156
+
157
+ </details>
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+ ---
168
+
169
+
18
170
  ### getTatProduct
19
- Get TAT of a product
171
+ Get TAT API
20
172
 
21
173
 
22
174
 
@@ -34,31 +186,138 @@ const data = await logistic.getTatProduct({ body : value });
34
186
 
35
187
  | Argument | Type | Required | Description |
36
188
  | --------- | ----- | -------- | ----------- |
37
- | body | [GetTatProductReqBody](#GetTatProductReqBody) | yes | Request body |
189
+ | body | [TATViewRequest](#TATViewRequest) | yes | Request body |
38
190
 
39
191
 
40
- Use this API to know the delivery turnaround time (TAT) by entering the product details along with the PIN Code of the location.
192
+ Get TAT data
41
193
 
42
194
  *Returned Response:*
43
195
 
44
196
 
45
197
 
46
198
 
47
- [GetTatProductResponse](#GetTatProductResponse)
199
+ [TATViewResponse](#TATViewResponse)
48
200
 
49
- Success. Check the example shown below or refer `GetTatProductResponse` for more details.
201
+ Get TAT data
50
202
 
51
203
 
52
204
 
53
205
 
54
206
  <details>
55
- <summary><i>&nbsp; Example:</i></summary>
207
+ <summary><i>&nbsp; Examples:</i></summary>
208
+
209
+
210
+ <details>
211
+ <summary><i>&nbsp; Pincode data found</i></summary>
56
212
 
57
213
  ```json
214
+ {
215
+ "value": {
216
+ "source": "FYND-APP",
217
+ "identifier": "PDP",
218
+ "journey": "forward",
219
+ "action": "get_tat",
220
+ "to_pincode": "143001",
221
+ "location_details": [
222
+ {
223
+ "fulfillment_id": 8,
224
+ "from_pincode": "560023",
225
+ "articles": [
226
+ {
227
+ "category": {
228
+ "level": "l3",
229
+ "id": 155
230
+ },
231
+ "manufacturing_time": 2,
232
+ "manufacturing_time_unit": "days",
233
+ "promise": {
234
+ "timestamp": {
235
+ "min": 1663564548,
236
+ "max": 1663650948
237
+ },
238
+ "formatted": {
239
+ "min": "19 Sep, Monday",
240
+ "max": "20 Sep, Tuesday"
241
+ }
242
+ },
243
+ "error": {
244
+ "type": null,
245
+ "value": null,
246
+ "message": null
247
+ },
248
+ "is_cod_available": true,
249
+ "_manufacturing_time_seconds": 172800
250
+ }
251
+ ]
252
+ }
253
+ ],
254
+ "request_uuid": "b4adf5508e34f17971817c3581e16310",
255
+ "stormbreaker_uuid": "4b8084d4-ea74-45af-8ddc-c38e29bf0cfb",
256
+ "error": {
257
+ "type": null,
258
+ "value": null,
259
+ "message": null
260
+ },
261
+ "to_city": "Amritsar",
262
+ "payment_mode": "prepaid",
263
+ "is_cod_available": true,
264
+ "success": true
265
+ }
266
+ }
267
+ ```
268
+ </details>
269
+
270
+ <details>
271
+ <summary><i>&nbsp; Pincode not found</i></summary>
58
272
 
273
+ ```json
274
+ {
275
+ "value": {
276
+ "source": "FYND-APP",
277
+ "identifier": "PDP",
278
+ "journey": "forward",
279
+ "action": "get_tat",
280
+ "to_pincode": "99999",
281
+ "location_details": [
282
+ {
283
+ "fulfillment_id": 8,
284
+ "from_pincode": "560023",
285
+ "articles": [
286
+ {
287
+ "category": {
288
+ "level": "l3",
289
+ "id": 155
290
+ },
291
+ "manufacturing_time": 2,
292
+ "manufacturing_time_unit": "days",
293
+ "promise": null,
294
+ "error": {
295
+ "type": "ValueError",
296
+ "value": "99999",
297
+ "message": "We are not delivering to 99999"
298
+ }
299
+ }
300
+ ]
301
+ }
302
+ ],
303
+ "request_uuid": "4b99d15fddb2b9fc2d6ab99a1c933010",
304
+ "stormbreaker_uuid": "6a847909-1d59-43e7-9ae0-15f5de8fc7d7",
305
+ "error": {
306
+ "type": "ValueError",
307
+ "value": "99999",
308
+ "message": "All of the items in your cart are not deliverable to 99999"
309
+ },
310
+ "to_city": "",
311
+ "payment_mode": "prepaid",
312
+ "is_cod_available": true,
313
+ "success": false
314
+ }
315
+ }
59
316
  ```
60
317
  </details>
61
318
 
319
+ </details>
320
+
62
321
 
63
322
 
64
323
 
@@ -70,38 +329,34 @@ Success. Check the example shown below or refer `GetTatProductResponse` for more
70
329
  ---
71
330
 
72
331
 
73
- ### getPincodeZones
74
- Get Pincode Zones
332
+ ### getAllCountries
333
+ Get Country List
75
334
 
76
335
 
77
336
 
78
337
  ```javascript
79
338
  // Promise
80
- const promise = logistic.getPincodeZones({ body : value });
339
+ const promise = logistic.getAllCountries();
81
340
 
82
341
  // Async/Await
83
- const data = await logistic.getPincodeZones({ body : value });
342
+ const data = await logistic.getAllCountries();
84
343
  ```
85
344
 
86
345
 
87
346
 
88
347
 
89
348
 
90
- | Argument | Type | Required | Description |
91
- | --------- | ----- | -------- | ----------- |
92
- | body | [GetPincodeZonesReqBody](#GetPincodeZonesReqBody) | yes | Request body |
93
-
94
349
 
95
- Get to know the zones of a specefic pincode
350
+ Get all countries
96
351
 
97
352
  *Returned Response:*
98
353
 
99
354
 
100
355
 
101
356
 
102
- [GetPincodeZonesResponse](#GetPincodeZonesResponse)
357
+ [CountryListResponse](#CountryListResponse)
103
358
 
104
- Success. Check the example shown below or refer `GetTatProductResponse` for more details.
359
+ Get Country List
105
360
 
106
361
 
107
362
 
@@ -125,17 +380,17 @@ Success. Check the example shown below or refer `GetTatProductResponse` for more
125
380
  ---
126
381
 
127
382
 
128
- ### getPincodeCity
129
- Get city from PIN Code
383
+ ### getPincodeZones
384
+ GET zone from the Pincode.
130
385
 
131
386
 
132
387
 
133
388
  ```javascript
134
389
  // Promise
135
- const promise = logistic.getPincodeCity({ pincode : value });
390
+ const promise = logistic.getPincodeZones({ body : value });
136
391
 
137
392
  // Async/Await
138
- const data = await logistic.getPincodeCity({ pincode : value });
393
+ const data = await logistic.getPincodeZones({ body : value });
139
394
  ```
140
395
 
141
396
 
@@ -143,21 +398,20 @@ const data = await logistic.getPincodeCity({ pincode : value });
143
398
 
144
399
 
145
400
  | Argument | Type | Required | Description |
146
- | --------- | ----- | -------- | ----------- |
147
- | pincode | string | yes | The PIN Code of the area, e.g. 400059 |
148
-
401
+ | --------- | ----- | -------- | ----------- |
402
+ | body | [GetZoneFromPincodeViewRequest](#GetZoneFromPincodeViewRequest) | yes | Request body |
149
403
 
150
404
 
151
- Use this API to retrieve a city by its PIN Code.
405
+ This API returns zone from the Pincode View.
152
406
 
153
407
  *Returned Response:*
154
408
 
155
409
 
156
410
 
157
411
 
158
- [GetPincodeCityResponse](#GetPincodeCityResponse)
412
+ [GetZoneFromPincodeViewResponse](#GetZoneFromPincodeViewResponse)
159
413
 
160
- Success. Returns a JSON object containing the city name, state and country identified by its PIN Code. Check the example shown below or refer `GetPincodeCityResponse` for more details.
414
+ Response status_code
161
415
 
162
416
 
163
417
 
@@ -186,56 +440,68 @@ Success. Returns a JSON object containing the city name, state and country ident
186
440
 
187
441
 
188
442
 
189
- #### [GetPincodeCityResponse](#GetPincodeCityResponse)
443
+ #### [PincodeErrorSchemaResponse](#PincodeErrorSchemaResponse)
190
444
 
191
445
  | Properties | Type | Nullable | Description |
192
446
  | ---------- | ---- | -------- | ----------- |
193
- | request_uuid | string | yes | |
194
- | stormbreaker_uuid | string | yes | |
195
- | success | boolean | yes | |
196
- | data | [[LogisticPincodeData](#LogisticPincodeData)] | yes | |
447
+ | message | string | no | |
448
+ | value | string | no | |
449
+ | type | string | no | |
197
450
 
198
451
  ---
199
452
 
200
453
 
201
454
 
202
455
 
203
- #### [LogisticPincodeData](#LogisticPincodeData)
456
+ #### [PincodeParentsResponse](#PincodeParentsResponse)
204
457
 
205
458
  | Properties | Type | Nullable | Description |
206
459
  | ---------- | ---- | -------- | ----------- |
207
- | meta | [LogisticMeta](#LogisticMeta) | no | |
208
- | parents | [[LogisticParents](#LogisticParents)] | no | |
209
- | sub_type | string | no | |
210
460
  | name | string | no | |
211
- | error | [LogisticError](#LogisticError) | no | |
212
- | uid | string | no | |
461
+ | sub_type | string | no | |
213
462
  | display_name | string | no | |
463
+ | uid | string | no | |
214
464
 
215
465
  ---
216
466
 
217
467
 
218
468
 
219
469
 
220
- #### [LogisticMeta](#LogisticMeta)
470
+ #### [CountryMetaResponse](#CountryMetaResponse)
221
471
 
222
472
  | Properties | Type | Nullable | Description |
223
473
  | ---------- | ---- | -------- | ----------- |
474
+ | isd_code | string | no | |
475
+ | country_code | string | no | |
476
+
477
+ ---
478
+
479
+
480
+
481
+
482
+ #### [PincodeMetaResponse](#PincodeMetaResponse)
483
+
484
+ | Properties | Type | Nullable | Description |
485
+ | ---------- | ---- | -------- | ----------- |
486
+ | internal_zone_id | number | no | |
224
487
  | zone | string | no | |
225
- | deliverables | [any] | no | |
226
488
 
227
489
  ---
228
490
 
229
491
 
230
492
 
231
493
 
232
- #### [LogisticParents](#LogisticParents)
494
+ #### [PincodeDataResponse](#PincodeDataResponse)
233
495
 
234
496
  | Properties | Type | Nullable | Description |
235
497
  | ---------- | ---- | -------- | ----------- |
498
+ | parents | [[PincodeParentsResponse](#PincodeParentsResponse)] | no | |
236
499
  | sub_type | string | no | |
237
- | name | string | no | |
238
500
  | display_name | string | no | |
501
+ | meta_code | [CountryMetaResponse](#CountryMetaResponse) | no | |
502
+ | name | string | no | |
503
+ | error | [PincodeErrorSchemaResponse](#PincodeErrorSchemaResponse) | yes | |
504
+ | meta | [PincodeMetaResponse](#PincodeMetaResponse) | no | |
239
505
  | uid | string | no | |
240
506
 
241
507
  ---
@@ -243,194 +509,254 @@ Success. Returns a JSON object containing the city name, state and country ident
243
509
 
244
510
 
245
511
 
246
- #### [LogisticError](#LogisticError)
512
+ #### [PincodeApiResponse](#PincodeApiResponse)
247
513
 
248
514
  | Properties | Type | Nullable | Description |
249
515
  | ---------- | ---- | -------- | ----------- |
250
- | type | string | no | |
251
- | value | string | no | |
252
- | message | string | no | |
516
+ | error | [PincodeErrorSchemaResponse](#PincodeErrorSchemaResponse) | yes | |
517
+ | data | [[PincodeDataResponse](#PincodeDataResponse)] | no | |
518
+ | success | boolean | yes | |
253
519
 
254
520
  ---
255
521
 
256
522
 
257
523
 
258
524
 
259
- #### [GetPincodeZonesReqBody](#GetPincodeZonesReqBody)
525
+ #### [TATCategoryRequest](#TATCategoryRequest)
260
526
 
261
527
  | Properties | Type | Nullable | Description |
262
528
  | ---------- | ---- | -------- | ----------- |
263
- | country | string | yes | |
264
- | pincode | string | yes | |
529
+ | id | number | no | |
530
+ | level | string | no | |
265
531
 
266
532
  ---
267
533
 
268
534
 
269
535
 
270
536
 
271
- #### [GetPincodeZonesResponse](#GetPincodeZonesResponse)
537
+ #### [TATArticlesRequest](#TATArticlesRequest)
272
538
 
273
539
  | Properties | Type | Nullable | Description |
274
540
  | ---------- | ---- | -------- | ----------- |
275
- | zones | [any] | yes | |
276
- | serviceability_type | string | yes | |
541
+ | manufacturing_time | number | no | |
542
+ | manufacturing_time_unit | string | no | |
543
+ | category | [TATCategoryRequest](#TATCategoryRequest) | no | |
544
+
545
+ ---
546
+
547
+
548
+
549
+
550
+ #### [TATLocationDetailsRequest](#TATLocationDetailsRequest)
551
+
552
+ | Properties | Type | Nullable | Description |
553
+ | ---------- | ---- | -------- | ----------- |
554
+ | articles | [[TATArticlesRequest](#TATArticlesRequest)] | no | |
555
+ | fulfillment_id | number | no | |
556
+ | from_pincode | string | no | |
277
557
 
278
558
  ---
279
559
 
280
560
 
281
561
 
282
562
 
283
- #### [GetTatProductReqBody](#GetTatProductReqBody)
563
+ #### [TATViewRequest](#TATViewRequest)
284
564
 
285
565
  | Properties | Type | Nullable | Description |
286
566
  | ---------- | ---- | -------- | ----------- |
287
- | location_details | [[LocationDetailsReq](#LocationDetailsReq)] | yes | |
288
- | to_pincode | string | yes | |
567
+ | source | string | no | |
289
568
  | action | string | no | |
569
+ | journey | string | no | |
570
+ | to_pincode | string | no | |
571
+ | location_details | [[TATLocationDetailsRequest](#TATLocationDetailsRequest)] | no | |
572
+ | identifier | string | no | |
290
573
 
291
574
  ---
292
575
 
293
576
 
294
577
 
295
578
 
296
- #### [LocationDetailsReq](#LocationDetailsReq)
579
+ #### [TATErrorSchemaResponse](#TATErrorSchemaResponse)
297
580
 
298
581
  | Properties | Type | Nullable | Description |
299
582
  | ---------- | ---- | -------- | ----------- |
300
- | from_pincode | string | no | |
301
- | articles | [[TatReqProductArticles](#TatReqProductArticles)] | no | |
302
- | fulfillment_id | number | no | |
583
+ | message | string | no | |
584
+ | value | string | no | |
585
+ | type | string | no | |
303
586
 
304
587
  ---
305
588
 
306
589
 
307
590
 
308
591
 
309
- #### [TatReqProductArticles](#TatReqProductArticles)
592
+ #### [TATFormattedResponse](#TATFormattedResponse)
310
593
 
311
594
  | Properties | Type | Nullable | Description |
312
595
  | ---------- | ---- | -------- | ----------- |
313
- | manufacturing_time | number | no | |
314
- | manufacturing_time_unit | string | no | |
315
- | category | [LogisticRequestCategory](#LogisticRequestCategory) | no | |
596
+ | min | string | no | |
597
+ | max | string | no | |
316
598
 
317
599
  ---
318
600
 
319
601
 
320
602
 
321
603
 
322
- #### [LogisticRequestCategory](#LogisticRequestCategory)
604
+ #### [TATTimestampResponse](#TATTimestampResponse)
323
605
 
324
606
  | Properties | Type | Nullable | Description |
325
607
  | ---------- | ---- | -------- | ----------- |
326
- | id | number | no | |
327
- | level | string | no | |
608
+ | min | number | no | |
609
+ | max | number | no | |
328
610
 
329
611
  ---
330
612
 
331
613
 
332
614
 
333
615
 
334
- #### [GetTatProductResponse](#GetTatProductResponse)
616
+ #### [TATPromiseResponse](#TATPromiseResponse)
335
617
 
336
618
  | Properties | Type | Nullable | Description |
337
619
  | ---------- | ---- | -------- | ----------- |
338
- | location_details | [[LocationDetails](#LocationDetails)] | yes | |
339
- | request_uuid | string | yes | |
340
- | error | string | yes | |
341
- | to_city | string | yes | |
342
- | source | string | yes | |
343
- | to_pincode | string | yes | |
344
- | action | string | yes | |
345
- | stormbreaker_uuid | string | yes | |
346
- | success | boolean | yes | |
347
- | identifier | string | yes | |
348
- | journey | string | yes | |
620
+ | formatted | [TATFormattedResponse](#TATFormattedResponse) | no | |
621
+ | timestamp | [TATTimestampResponse](#TATTimestampResponse) | no | |
349
622
 
350
623
  ---
351
624
 
352
625
 
353
626
 
354
627
 
355
- #### [LocationDetails](#LocationDetails)
628
+ #### [TATArticlesResponse](#TATArticlesResponse)
356
629
 
357
630
  | Properties | Type | Nullable | Description |
358
631
  | ---------- | ---- | -------- | ----------- |
359
- | from_pincode | string | no | |
360
- | articles | [[TatProductArticles](#TatProductArticles)] | no | |
632
+ | is_cod_available | boolean | no | |
633
+ | error | [TATErrorSchemaResponse](#TATErrorSchemaResponse) | no | |
634
+ | manufacturing_time_unit | string | no | |
635
+ | _manufacturing_time_seconds | number | no | |
636
+ | promise | [TATPromiseResponse](#TATPromiseResponse) | no | |
637
+ | manufacturing_time | number | no | |
638
+ | category | [TATCategoryRequest](#TATCategoryRequest) | no | |
639
+
640
+ ---
641
+
642
+
643
+
644
+
645
+ #### [TATLocationDetailsResponse](#TATLocationDetailsResponse)
646
+
647
+ | Properties | Type | Nullable | Description |
648
+ | ---------- | ---- | -------- | ----------- |
649
+ | articles | [[TATArticlesResponse](#TATArticlesResponse)] | no | |
361
650
  | fulfillment_id | number | no | |
651
+ | from_pincode | string | no | |
362
652
 
363
653
  ---
364
654
 
365
655
 
366
656
 
367
657
 
368
- #### [TatProductArticles](#TatProductArticles)
658
+ #### [TATViewResponse](#TATViewResponse)
369
659
 
370
660
  | Properties | Type | Nullable | Description |
371
661
  | ---------- | ---- | -------- | ----------- |
372
- | error | string | no | |
373
- | category | [LogisticResponseCategory](#LogisticResponseCategory) | no | |
374
- | promise | [LogisticPromise](#LogisticPromise) | no | |
662
+ | to_city | string | no | |
663
+ | source | string | no | |
664
+ | stormbreaker_uuid | string | no | |
665
+ | action | string | no | |
666
+ | journey | string | no | |
667
+ | to_pincode | string | no | |
668
+ | error | [TATErrorSchemaResponse](#TATErrorSchemaResponse) | no | |
669
+ | location_details | [[TATLocationDetailsResponse](#TATLocationDetailsResponse)] | no | |
670
+ | is_cod_available | boolean | no | |
671
+ | identifier | string | no | |
672
+ | payment_mode | string | no | |
673
+ | success | boolean | no | |
674
+ | request_uuid | string | no | |
375
675
 
376
676
  ---
377
677
 
378
678
 
379
679
 
380
680
 
381
- #### [LogisticResponseCategory](#LogisticResponseCategory)
681
+ #### [DP](#DP)
382
682
 
383
683
  | Properties | Type | Nullable | Description |
384
684
  | ---------- | ---- | -------- | ----------- |
385
- | id | number | no | |
386
- | level | string | no | |
685
+ | fm_priority | number | yes | |
686
+ | lm_priority | number | yes | |
687
+ | rvp_priority | number | yes | |
688
+ | payment_mode | string | yes | |
689
+ | operations | [string] | yes | |
690
+ | area_code | string | no | |
691
+ | assign_dp_from_sb | boolean | no | |
692
+ | internal_account_id | string | no | |
693
+ | external_account_id | string | no | |
694
+ | transport_mode | string | no | |
387
695
 
388
696
  ---
389
697
 
390
698
 
391
699
 
392
700
 
393
- #### [LogisticPromise](#LogisticPromise)
701
+ #### [LogisticsResponse](#LogisticsResponse)
394
702
 
395
703
  | Properties | Type | Nullable | Description |
396
704
  | ---------- | ---- | -------- | ----------- |
397
- | timestamp | [LogisticTimestamp](#LogisticTimestamp) | no | |
398
- | formatted | [Formatted](#Formatted) | no | |
705
+ | dp | [String: [DP](#DP)] | no | |
399
706
 
400
707
  ---
401
708
 
402
709
 
403
710
 
404
711
 
405
- #### [LogisticTimestamp](#LogisticTimestamp)
712
+ #### [CountryEntityResponse](#CountryEntityResponse)
406
713
 
407
714
  | Properties | Type | Nullable | Description |
408
715
  | ---------- | ---- | -------- | ----------- |
409
- | min | number | no | |
410
- | max | number | no | |
716
+ | sub_type | string | no | |
717
+ | display_name | string | no | |
718
+ | logistics | [LogisticsResponse](#LogisticsResponse) | no | |
719
+ | is_active | boolean | no | |
720
+ | name | string | no | |
721
+ | parent_id | string | no | |
722
+ | type | string | no | |
723
+ | meta | [CountryMetaResponse](#CountryMetaResponse) | no | |
724
+ | uid | string | no | |
411
725
 
412
726
  ---
413
727
 
414
728
 
415
729
 
416
730
 
417
- #### [Formatted](#Formatted)
731
+ #### [CountryListResponse](#CountryListResponse)
418
732
 
419
733
  | Properties | Type | Nullable | Description |
420
734
  | ---------- | ---- | -------- | ----------- |
421
- | min | string | no | |
422
- | max | string | no | |
735
+ | results | [[CountryEntityResponse](#CountryEntityResponse)] | no | |
423
736
 
424
737
  ---
425
738
 
426
739
 
427
740
 
428
741
 
429
- #### [ApefaceApiError](#ApefaceApiError)
742
+ #### [GetZoneFromPincodeViewRequest](#GetZoneFromPincodeViewRequest)
430
743
 
431
744
  | Properties | Type | Nullable | Description |
432
745
  | ---------- | ---- | -------- | ----------- |
433
- | message | string | no | |
746
+ | country | string | yes | |
747
+ | pincode | string | yes | |
748
+
749
+ ---
750
+
751
+
752
+
753
+
754
+ #### [GetZoneFromPincodeViewResponse](#GetZoneFromPincodeViewResponse)
755
+
756
+ | Properties | Type | Nullable | Description |
757
+ | ---------- | ---- | -------- | ----------- |
758
+ | zones | [string] | yes | |
759
+ | serviceability_type | string | yes | |
434
760
 
435
761
  ---
436
762