@gofynd/fdk-client-javascript 1.4.2-beta.2 → 1.4.2-beta.3

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 (106) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/Cart/CartApplicationModel.d.ts +1742 -1726
  4. package/sdk/application/Cart/CartApplicationModel.js +1497 -1481
  5. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +1917 -1917
  6. package/sdk/application/Catalog/CatalogApplicationModel.js +1611 -1611
  7. package/sdk/application/Common/CommonApplicationModel.d.ts +235 -235
  8. package/sdk/application/Common/CommonApplicationModel.js +172 -172
  9. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +72 -72
  10. package/sdk/application/Communication/CommunicationApplicationModel.js +64 -64
  11. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1614 -1614
  12. package/sdk/application/Configuration/ConfigurationApplicationModel.js +1151 -1151
  13. package/sdk/application/Content/ContentApplicationModel.d.ts +797 -797
  14. package/sdk/application/Content/ContentApplicationModel.js +757 -757
  15. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +79 -79
  16. package/sdk/application/FileStorage/FileStorageApplicationModel.js +84 -84
  17. package/sdk/application/Lead/LeadApplicationModel.d.ts +417 -417
  18. package/sdk/application/Lead/LeadApplicationModel.js +301 -301
  19. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +666 -666
  20. package/sdk/application/Logistic/LogisticApplicationModel.js +601 -601
  21. package/sdk/application/Order/OrderApplicationModel.d.ts +846 -846
  22. package/sdk/application/Order/OrderApplicationModel.js +822 -822
  23. package/sdk/application/Payment/PaymentApplicationClient.d.ts +5 -5
  24. package/sdk/application/Payment/PaymentApplicationClient.js +10 -10
  25. package/sdk/application/Payment/PaymentApplicationModel.d.ts +2155 -2150
  26. package/sdk/application/Payment/PaymentApplicationModel.js +1460 -1458
  27. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +5 -5
  28. package/sdk/application/Payment/PaymentApplicationValidator.js +3 -3
  29. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1462 -1462
  30. package/sdk/application/PosCart/PosCartApplicationModel.js +1260 -1260
  31. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +214 -214
  32. package/sdk/application/Rewards/RewardsApplicationModel.js +211 -211
  33. package/sdk/application/Share/ShareApplicationModel.d.ts +114 -114
  34. package/sdk/application/Share/ShareApplicationModel.js +121 -121
  35. package/sdk/application/Theme/ThemeApplicationModel.d.ts +895 -895
  36. package/sdk/application/Theme/ThemeApplicationModel.js +684 -684
  37. package/sdk/application/User/UserApplicationModel.d.ts +762 -762
  38. package/sdk/application/User/UserApplicationModel.js +738 -738
  39. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +63 -63
  40. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +65 -65
  41. package/sdk/partner/Lead/LeadPartnerModel.d.ts +661 -661
  42. package/sdk/partner/Lead/LeadPartnerModel.js +491 -491
  43. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +223 -223
  44. package/sdk/partner/Logistics/LogisticsPartnerModel.js +235 -235
  45. package/sdk/partner/Theme/ThemePartnerModel.d.ts +1087 -1087
  46. package/sdk/partner/Theme/ThemePartnerModel.js +819 -819
  47. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +386 -386
  48. package/sdk/partner/Webhook/WebhookPartnerModel.js +342 -342
  49. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +123 -123
  50. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +109 -109
  51. package/sdk/platform/Billing/BillingPlatformModel.d.ts +801 -801
  52. package/sdk/platform/Billing/BillingPlatformModel.js +783 -783
  53. package/sdk/platform/Cart/CartPlatformModel.d.ts +3333 -3317
  54. package/sdk/platform/Cart/CartPlatformModel.js +2936 -2920
  55. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1013 -1013
  56. package/sdk/platform/Catalog/CatalogPlatformModel.js +923 -923
  57. package/sdk/platform/Common/CommonPlatformModel.d.ts +255 -255
  58. package/sdk/platform/Common/CommonPlatformModel.js +187 -187
  59. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1238 -1238
  60. package/sdk/platform/Communication/CommunicationPlatformModel.js +1273 -1273
  61. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +661 -661
  62. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +692 -692
  63. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +3198 -3198
  64. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2247 -2247
  65. package/sdk/platform/Content/ContentPlatformModel.d.ts +1833 -1833
  66. package/sdk/platform/Content/ContentPlatformModel.js +1837 -1837
  67. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +245 -245
  68. package/sdk/platform/Discount/DiscountPlatformModel.js +248 -248
  69. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +865 -865
  70. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +877 -877
  71. package/sdk/platform/Finance/FinancePlatformModel.d.ts +1044 -1044
  72. package/sdk/platform/Finance/FinancePlatformModel.js +974 -974
  73. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +942 -942
  74. package/sdk/platform/Inventory/InventoryPlatformModel.js +1003 -1003
  75. package/sdk/platform/Lead/LeadPlatformModel.d.ts +608 -608
  76. package/sdk/platform/Lead/LeadPlatformModel.js +465 -465
  77. package/sdk/platform/Order/OrderPlatformModel.d.ts +5180 -5176
  78. package/sdk/platform/Order/OrderPlatformModel.js +4740 -4736
  79. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +22 -22
  80. package/sdk/platform/Partner/PartnerPlatformModel.js +22 -22
  81. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2670 -2660
  82. package/sdk/platform/Payment/PaymentPlatformModel.js +1831 -1827
  83. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +204 -204
  84. package/sdk/platform/Rewards/RewardsPlatformModel.js +199 -199
  85. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1505 -1507
  86. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1532 -1536
  87. package/sdk/platform/Share/SharePlatformModel.d.ts +147 -147
  88. package/sdk/platform/Share/SharePlatformModel.js +139 -139
  89. package/sdk/platform/Theme/ThemePlatformModel.d.ts +1046 -1046
  90. package/sdk/platform/Theme/ThemePlatformModel.js +789 -789
  91. package/sdk/platform/User/UserPlatformModel.d.ts +758 -758
  92. package/sdk/platform/User/UserPlatformModel.js +643 -643
  93. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +439 -439
  94. package/sdk/platform/Webhook/WebhookPlatformModel.js +364 -364
  95. package/sdk/public/Billing/BillingPublicModel.d.ts +55 -55
  96. package/sdk/public/Billing/BillingPublicModel.js +51 -51
  97. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +237 -237
  98. package/sdk/public/Configuration/ConfigurationPublicModel.js +174 -174
  99. package/sdk/public/Content/ContentPublicModel.d.ts +26 -26
  100. package/sdk/public/Content/ContentPublicModel.js +28 -28
  101. package/sdk/public/Inventory/InventoryPublicModel.d.ts +237 -237
  102. package/sdk/public/Inventory/InventoryPublicModel.js +257 -257
  103. package/sdk/public/Partner/PartnerPublicModel.d.ts +104 -104
  104. package/sdk/public/Partner/PartnerPublicModel.js +113 -113
  105. package/sdk/public/Webhook/WebhookPublicModel.d.ts +87 -87
  106. package/sdk/public/Webhook/WebhookPublicModel.js +93 -93
@@ -1,192 +1,161 @@
1
1
  export = OrderApplicationModel;
2
2
  /**
3
- * @typedef ApefaceApiError
4
- * @property {string} [message]
5
- * @property {boolean} [success]
6
- */
7
- /**
8
- * @typedef AppliedFreeArticles
9
- * @property {string} [article_id]
10
- * @property {Object} [free_gift_item_details]
11
- * @property {string} [parent_item_identifier]
12
- * @property {number} [quantity]
13
- */
14
- /**
15
- * @typedef AppliedPromos
16
- * @property {number} [amount]
17
- * @property {AppliedFreeArticles[]} [applied_free_articles]
18
- * @property {number} [article_quantity]
19
- * @property {boolean} [mrp_promotion]
20
- * @property {string} [promo_id]
21
- * @property {string} [promotion_name]
22
- * @property {string} [promotion_type]
23
- */
24
- /**
25
- * @typedef BagReasonMeta
26
- * @property {boolean} [show_text_area]
3
+ * @typedef OrderPage
4
+ * @property {string} [type]
5
+ * @property {number} [item_total]
6
+ * @property {number} [current]
7
+ * @property {number} [size]
8
+ * @property {boolean} [has_next]
27
9
  */
28
10
  /**
29
- * @typedef BagReasons
30
- * @property {string} [display_name]
31
- * @property {number} [id]
32
- * @property {BagReasonMeta} [meta]
33
- * @property {string[]} [qc_type]
34
- * @property {QuestionSet[]} [question_set]
35
- * @property {BagReasons[]} [reasons]
11
+ * @typedef UserInfo
12
+ * @property {string} [first_name]
13
+ * @property {string} [gender]
14
+ * @property {string} [name]
15
+ * @property {string} [last_name]
16
+ * @property {string} [mobile]
17
+ * @property {string} [email]
36
18
  */
37
19
  /**
38
- * @typedef Bags
39
- * @property {AppliedPromos[]} [applied_promos]
40
- * @property {boolean} [can_cancel]
41
- * @property {boolean} [can_return]
42
- * @property {string} [currency_code]
20
+ * @typedef BreakupValues
21
+ * @property {number} [value]
43
22
  * @property {string} [currency_symbol]
44
- * @property {CurrentStatus} [current_status]
45
- * @property {string} [delivery_date]
46
- * @property {FinancialBreakup[]} [financial_breakup]
47
- * @property {number} [id]
48
- * @property {Item} [item]
49
- * @property {number} [line_number]
50
- * @property {Object} [meta]
51
- * @property {Object} [parent_promo_bags]
52
- * @property {Prices} [prices]
53
- * @property {number} [quantity]
54
- * @property {string} [returnable_date]
55
- * @property {string} [seller_identifier]
56
- */
57
- /**
58
- * @typedef BagsForReorder
59
- * @property {BagsForReorderArticleAssignment} [article_assignment]
60
- * @property {number} [item_id]
61
- * @property {string} [item_size]
62
- * @property {number} [quantity]
63
- * @property {number} [seller_id]
64
- * @property {number} [store_id]
23
+ * @property {string} [name]
24
+ * @property {string} [display]
25
+ * @property {string} [currency_code]
65
26
  */
66
27
  /**
67
- * @typedef BagsForReorderArticleAssignment
68
- * @property {string} [level]
69
- * @property {string} [strategy]
28
+ * @typedef ShipmentPayment
29
+ * @property {string} [mop]
30
+ * @property {string} [payment_mode]
31
+ * @property {string} [status]
32
+ * @property {string} [mode]
33
+ * @property {string} [logo]
34
+ * @property {string} [display_name]
70
35
  */
71
36
  /**
72
- * @typedef BreakupValues
73
- * @property {string} [currency_code]
74
- * @property {string} [currency_symbol]
75
- * @property {string} [display]
37
+ * @typedef ShipmentUserInfo
38
+ * @property {string} [first_name]
39
+ * @property {string} [gender]
76
40
  * @property {string} [name]
77
- * @property {number} [value]
41
+ * @property {string} [last_name]
42
+ * @property {string} [mobile]
43
+ * @property {string} [email]
78
44
  */
79
45
  /**
80
- * @typedef CurrentStatus
81
- * @property {string} [journey_type]
46
+ * @typedef FulfillingStore
47
+ * @property {number} [id]
48
+ * @property {string} [code]
82
49
  * @property {string} [name]
83
- * @property {string} [status]
84
- * @property {string} [updated_at]
50
+ * @property {string} [company_name]
51
+ * @property {number} [company_id]
85
52
  */
86
53
  /**
87
- * @typedef CustomerDetailsResponse
88
- * @property {string} [country]
89
- * @property {string} [name]
90
- * @property {string} [order_id]
91
- * @property {string} [phone]
92
- * @property {string} [shipment_id]
54
+ * @typedef ShipmentStatus
55
+ * @property {string} [value]
56
+ * @property {string} [title]
57
+ * @property {string} [hex_code]
93
58
  */
94
59
  /**
95
- * @typedef DataUpdates
96
- * @property {EntitiesDataUpdates[]} [entities]
97
- * @property {ProductsDataUpdates[]} [products]
60
+ * @typedef Invoice
61
+ * @property {string} [invoice_url]
62
+ * @property {string} [updated_date]
63
+ * @property {string} [label_url]
98
64
  */
99
65
  /**
100
- * @typedef DeliveryAddress
101
- * @property {string} [address]
102
- * @property {string} [address_category]
103
- * @property {string} [address_type]
104
- * @property {string} [address1]
105
- * @property {string} [address2]
106
- * @property {string} [area]
107
- * @property {string} [city]
108
- * @property {string} [contact_person]
109
- * @property {string} [country]
110
- * @property {string} [country_iso_code]
111
- * @property {string} [country_phone_code]
112
- * @property {string} [created_at]
113
- * @property {string} [display_address]
114
- * @property {string} [email]
115
- * @property {string} [landmark]
116
- * @property {number} [latitude]
117
- * @property {number} [longitude]
118
- * @property {string} [name]
119
- * @property {string} [phone]
120
- * @property {string} [pincode]
121
- * @property {string} [state]
122
- * @property {string} [updated_at]
123
- * @property {string} [version]
66
+ * @typedef NestedTrackingDetails
67
+ * @property {boolean} [is_passed]
68
+ * @property {string} [time]
69
+ * @property {boolean} [is_current]
70
+ * @property {string} [status]
124
71
  */
125
72
  /**
126
- * @typedef EntitiesDataUpdates
127
- * @property {Object} [data]
128
- * @property {Object[]} [filters]
73
+ * @typedef TrackingDetails
74
+ * @property {string} [value]
75
+ * @property {boolean} [is_current]
76
+ * @property {boolean} [is_passed]
77
+ * @property {string} [status]
78
+ * @property {string} [time]
79
+ * @property {string} [created_ts]
80
+ * @property {NestedTrackingDetails[]} [tracking_details]
129
81
  */
130
82
  /**
131
- * @typedef EntitiesReasons
132
- * @property {EntityReasonData} [data]
133
- * @property {Object[]} [filters]
83
+ * @typedef TimeStampData
84
+ * @property {string} [min]
85
+ * @property {string} [max]
134
86
  */
135
87
  /**
136
- * @typedef EntityReasonData
137
- * @property {number} [reason_id]
138
- * @property {string} [reason_text]
88
+ * @typedef Promise
89
+ * @property {boolean} [show_promise]
90
+ * @property {TimeStampData} [timestamp]
139
91
  */
140
92
  /**
141
- * @typedef ErrorResponse
142
- * @property {string} [code]
143
- * @property {string} [exception]
144
- * @property {string} [message]
145
- * @property {string} [stack_trace]
146
- * @property {number} [status]
93
+ * @typedef ShipmentTotalDetails
94
+ * @property {number} [pieces]
95
+ * @property {number} [total_price]
96
+ * @property {number} [sizes]
147
97
  */
148
98
  /**
149
- * @typedef FinancialBreakup
150
- * @property {boolean} [added_to_fynd_cash]
151
- * @property {number} [amount_paid]
152
- * @property {number} [amount_paid_roundoff]
99
+ * @typedef Prices
100
+ * @property {number} [delivery_charge]
101
+ * @property {number} [coupon_value]
153
102
  * @property {number} [brand_calculated_amount]
154
- * @property {number} [cashback]
155
- * @property {number} [cashback_applied]
156
- * @property {number} [cod_charges]
103
+ * @property {number} [value_of_good]
104
+ * @property {number} [price_marked]
157
105
  * @property {number} [coupon_effective_discount]
158
- * @property {number} [coupon_value]
159
- * @property {number} [delivery_charge]
106
+ * @property {string} [currency_symbol]
160
107
  * @property {number} [discount]
161
- * @property {number} [fynd_credits]
162
- * @property {number} [gst_fee]
163
- * @property {string} [gst_tag]
164
108
  * @property {number} [gst_tax_percentage]
165
- * @property {string} [hsn_code]
166
- * @property {Identifiers} [identifiers]
167
- * @property {string} [item_name]
109
+ * @property {number} [cod_charges]
110
+ * @property {number} [amount_paid]
111
+ * @property {boolean} [added_to_fynd_cash]
112
+ * @property {number} [transfer_price]
113
+ * @property {number} [cashback_applied]
168
114
  * @property {number} [price_effective]
169
- * @property {number} [price_marked]
115
+ * @property {number} [cashback]
116
+ * @property {number} [refund_credit]
117
+ * @property {number} [amount_paid_roundoff]
170
118
  * @property {number} [promotion_effective_discount]
171
119
  * @property {number} [refund_amount]
172
- * @property {number} [refund_credit]
173
- * @property {string} [size]
174
- * @property {number} [total_units]
175
- * @property {number} [transfer_price]
176
- * @property {number} [value_of_good]
120
+ * @property {string} [currency_code]
121
+ * @property {number} [fynd_credits]
177
122
  */
178
123
  /**
179
- * @typedef FulfillingCompany
180
- * @property {number} [id]
124
+ * @typedef ItemBrand
125
+ * @property {string} [logo]
181
126
  * @property {string} [name]
182
127
  */
183
128
  /**
184
- * @typedef FulfillingStore
129
+ * @typedef Item
130
+ * @property {string[]} [image]
131
+ * @property {string[]} [l1_categories]
132
+ * @property {ItemBrand} [brand]
133
+ * @property {string} [seller_identifier]
185
134
  * @property {string} [code]
186
- * @property {number} [company_id]
187
- * @property {string} [company_name]
188
135
  * @property {number} [id]
189
136
  * @property {string} [name]
137
+ * @property {string} [l3_category_name]
138
+ * @property {string} [slug_key]
139
+ * @property {string[]} [l2_categories]
140
+ * @property {string} [size]
141
+ * @property {Object} [attributes]
142
+ */
143
+ /**
144
+ * @typedef AppliedFreeArticles
145
+ * @property {string} [article_id]
146
+ * @property {Object} [free_gift_item_details]
147
+ * @property {string} [parent_item_identifier]
148
+ * @property {number} [quantity]
149
+ */
150
+ /**
151
+ * @typedef AppliedPromos
152
+ * @property {boolean} [mrp_promotion]
153
+ * @property {string} [promotion_name]
154
+ * @property {number} [article_quantity]
155
+ * @property {string} [promo_id]
156
+ * @property {number} [amount]
157
+ * @property {string} [promotion_type]
158
+ * @property {AppliedFreeArticles[]} [applied_free_articles]
190
159
  */
191
160
  /**
192
161
  * @typedef Identifiers
@@ -194,684 +163,841 @@ export = OrderApplicationModel;
194
163
  * @property {string} [sku_code]
195
164
  */
196
165
  /**
197
- * @typedef Invoice
198
- * @property {string} [invoice_url]
199
- * @property {string} [label_url]
200
- * @property {string} [updated_date]
166
+ * @typedef FinancialBreakup
167
+ * @property {number} [coupon_value]
168
+ * @property {number} [delivery_charge]
169
+ * @property {number} [brand_calculated_amount]
170
+ * @property {number} [value_of_good]
171
+ * @property {number} [price_marked]
172
+ * @property {number} [coupon_effective_discount]
173
+ * @property {string} [hsn_code]
174
+ * @property {number} [discount]
175
+ * @property {number} [gst_tax_percentage]
176
+ * @property {number} [cod_charges]
177
+ * @property {number} [amount_paid]
178
+ * @property {boolean} [added_to_fynd_cash]
179
+ * @property {string} [size]
180
+ * @property {number} [transfer_price]
181
+ * @property {number} [cashback_applied]
182
+ * @property {number} [price_effective]
183
+ * @property {number} [cashback]
184
+ * @property {number} [refund_credit]
185
+ * @property {number} [amount_paid_roundoff]
186
+ * @property {number} [total_units]
187
+ * @property {Identifiers} [identifiers]
188
+ * @property {string} [gst_tag]
189
+ * @property {string} [item_name]
190
+ * @property {number} [promotion_effective_discount]
191
+ * @property {number} [gst_fee]
192
+ * @property {number} [refund_amount]
193
+ * @property {number} [fynd_credits]
201
194
  */
202
195
  /**
203
- * @typedef Item
204
- * @property {Object} [attributes]
205
- * @property {ItemBrand} [brand]
206
- * @property {string} [code]
207
- * @property {number} [id]
208
- * @property {string[]} [image]
209
- * @property {string[]} [l1_categories]
210
- * @property {string[]} [l2_categories]
211
- * @property {string} [l3_category_name]
196
+ * @typedef CurrentStatus
197
+ * @property {string} [updated_at]
212
198
  * @property {string} [name]
213
- * @property {string} [seller_identifier]
214
- * @property {string} [size]
215
- * @property {string} [slug_key]
199
+ * @property {string} [status]
200
+ * @property {string} [journey_type]
216
201
  */
217
202
  /**
218
- * @typedef ItemBrand
219
- * @property {string} [logo]
220
- * @property {string} [name]
203
+ * @typedef Bags
204
+ * @property {string} [delivery_date]
205
+ * @property {number} [line_number]
206
+ * @property {string} [currency_symbol]
207
+ * @property {Item} [item]
208
+ * @property {AppliedPromos[]} [applied_promos]
209
+ * @property {number} [quantity]
210
+ * @property {Prices} [prices]
211
+ * @property {boolean} [can_cancel]
212
+ * @property {boolean} [can_return]
213
+ * @property {number} [id]
214
+ * @property {string} [returnable_date]
215
+ * @property {FinancialBreakup[]} [financial_breakup]
216
+ * @property {Object} [parent_promo_bags]
217
+ * @property {Object} [meta]
218
+ * @property {string} [currency_code]
219
+ * @property {string} [seller_identifier]
220
+ * @property {CurrentStatus} [current_status]
221
221
  */
222
222
  /**
223
- * @typedef NestedTrackingDetails
224
- * @property {boolean} [is_current]
225
- * @property {boolean} [is_passed]
226
- * @property {string} [status]
227
- * @property {string} [time]
223
+ * @typedef FulfillingCompany
224
+ * @property {number} [id]
225
+ * @property {string} [name]
228
226
  */
229
227
  /**
230
- * @typedef OrderById
231
- * @property {OrderSchema} [order]
228
+ * @typedef DeliveryAddress
229
+ * @property {string} [pincode]
230
+ * @property {string} [phone]
231
+ * @property {number} [latitude]
232
+ * @property {string} [address2]
233
+ * @property {string} [landmark]
234
+ * @property {string} [area]
235
+ * @property {string} [city]
236
+ * @property {string} [address]
237
+ * @property {string} [address_type]
238
+ * @property {number} [longitude]
239
+ * @property {string} [country_iso_code]
240
+ * @property {string} [state]
241
+ * @property {string} [created_at]
242
+ * @property {string} [address1]
243
+ * @property {string} [display_address]
244
+ * @property {string} [name]
245
+ * @property {string} [contact_person]
246
+ * @property {string} [address_category]
247
+ * @property {string} [email]
248
+ * @property {string} [country_phone_code]
249
+ * @property {string} [version]
250
+ * @property {string} [updated_at]
251
+ * @property {string} [country]
232
252
  */
233
253
  /**
234
- * @typedef OrderFilters
235
- * @property {OrderStatuses[]} [statuses]
254
+ * @typedef Shipments
255
+ * @property {ShipmentPayment} [payment]
256
+ * @property {string} [order_type]
257
+ * @property {boolean} [show_download_invoice]
258
+ * @property {boolean} [can_cancel]
259
+ * @property {ShipmentUserInfo} [user_info]
260
+ * @property {string} [shipment_id]
261
+ * @property {FulfillingStore} [fulfilling_store]
262
+ * @property {Object[]} [custom_meta]
263
+ * @property {ShipmentStatus} [shipment_status]
264
+ * @property {string} [comment]
265
+ * @property {Invoice} [invoice]
266
+ * @property {boolean} [show_track_link]
267
+ * @property {Object} [refund_details]
268
+ * @property {BreakupValues[]} [breakup_values]
269
+ * @property {Object} [can_break]
270
+ * @property {string} [traking_no]
271
+ * @property {TrackingDetails[]} [tracking_details]
272
+ * @property {Promise} [promise]
273
+ * @property {number} [total_bags]
274
+ * @property {ShipmentTotalDetails} [total_details]
275
+ * @property {Prices} [prices]
276
+ * @property {string} [returnable_date]
277
+ * @property {string} [shipment_created_at]
278
+ * @property {string} [shipment_created_ts]
279
+ * @property {Object} [size_info]
280
+ * @property {Bags[]} [bags]
281
+ * @property {string} [dp_name]
282
+ * @property {string} [awb_no]
283
+ * @property {boolean} [beneficiary_details]
284
+ * @property {FulfillingCompany} [fulfilling_company]
285
+ * @property {boolean} [can_return]
286
+ * @property {DeliveryAddress} [delivery_address]
287
+ * @property {string} [track_url]
288
+ * @property {string} [order_id]
289
+ * @property {string} [need_help_url]
290
+ * @property {Object} [return_meta]
291
+ * @property {string} [delivery_date]
236
292
  */
237
293
  /**
238
- * @typedef OrderList
239
- * @property {OrderFilters} [filters]
240
- * @property {OrderSchema[]} [items]
241
- * @property {OrderPage} [page]
294
+ * @typedef BagsForReorderArticleAssignment
295
+ * @property {string} [strategy]
296
+ * @property {string} [level]
242
297
  */
243
298
  /**
244
- * @typedef OrderPage
245
- * @property {number} [current]
246
- * @property {boolean} [has_next]
247
- * @property {number} [item_total]
248
- * @property {number} [size]
249
- * @property {string} [type]
299
+ * @typedef BagsForReorder
300
+ * @property {string} [item_size]
301
+ * @property {number} [quantity]
302
+ * @property {number} [store_id]
303
+ * @property {BagsForReorderArticleAssignment} [article_assignment]
304
+ * @property {number} [seller_id]
305
+ * @property {number} [item_id]
250
306
  */
251
307
  /**
252
308
  * @typedef OrderSchema
253
- * @property {BagsForReorder[]} [bags_for_reorder]
309
+ * @property {number} [total_shipments_in_order]
310
+ * @property {UserInfo} [user_info]
254
311
  * @property {BreakupValues[]} [breakup_values]
255
312
  * @property {string} [order_created_time]
256
313
  * @property {string} [order_created_ts]
257
314
  * @property {string} [order_id]
258
315
  * @property {Shipments[]} [shipments]
259
- * @property {number} [total_shipments_in_order]
260
- * @property {UserInfo} [user_info]
316
+ * @property {BagsForReorder[]} [bags_for_reorder]
261
317
  */
262
318
  /**
263
319
  * @typedef OrderStatuses
264
- * @property {string} [display]
265
- * @property {boolean} [is_selected]
266
320
  * @property {number} [value]
321
+ * @property {boolean} [is_selected]
322
+ * @property {string} [display]
267
323
  */
268
324
  /**
269
- * @typedef Prices
270
- * @property {boolean} [added_to_fynd_cash]
271
- * @property {number} [amount_paid]
272
- * @property {number} [amount_paid_roundoff]
273
- * @property {number} [brand_calculated_amount]
274
- * @property {number} [cashback]
275
- * @property {number} [cashback_applied]
276
- * @property {number} [cod_charges]
277
- * @property {number} [coupon_effective_discount]
278
- * @property {number} [coupon_value]
279
- * @property {string} [currency_code]
280
- * @property {string} [currency_symbol]
281
- * @property {number} [delivery_charge]
282
- * @property {number} [discount]
283
- * @property {number} [fynd_credits]
284
- * @property {number} [gst_tax_percentage]
285
- * @property {number} [price_effective]
286
- * @property {number} [price_marked]
287
- * @property {number} [promotion_effective_discount]
288
- * @property {number} [refund_amount]
289
- * @property {number} [refund_credit]
290
- * @property {number} [transfer_price]
291
- * @property {number} [value_of_good]
325
+ * @typedef OrderFilters
326
+ * @property {OrderStatuses[]} [statuses]
292
327
  */
293
328
  /**
294
- * @typedef Products
295
- * @property {string} [identifier]
296
- * @property {number} [line_number]
297
- * @property {number} [quantity]
329
+ * @typedef OrderList
330
+ * @property {OrderPage} [page]
331
+ * @property {OrderSchema[]} [items]
332
+ * @property {OrderFilters} [filters]
298
333
  */
299
334
  /**
300
- * @typedef ProductsDataUpdates
301
- * @property {Object} [data]
302
- * @property {ProductsDataUpdatesFilters[]} [filters]
335
+ * @typedef ApefaceApiError
336
+ * @property {string} [message]
337
+ * @property {boolean} [success]
303
338
  */
304
339
  /**
305
- * @typedef ProductsDataUpdatesFilters
306
- * @property {string} [identifier]
307
- * @property {number} [line_number]
340
+ * @typedef OrderById
341
+ * @property {OrderSchema} [order]
308
342
  */
309
343
  /**
310
- * @typedef ProductsReasons
311
- * @property {ProductsReasonsData} [data]
312
- * @property {ProductsReasonsFilters[]} [filters]
344
+ * @typedef ShipmentById
345
+ * @property {Shipments} [shipment]
313
346
  */
314
347
  /**
315
- * @typedef ProductsReasonsData
316
- * @property {number} [reason_id]
317
- * @property {string} [reason_text]
348
+ * @typedef ResponseGetInvoiceShipment
349
+ * @property {string} presigned_type
350
+ * @property {boolean} success
351
+ * @property {string} shipment_id
352
+ * @property {string} presigned_url
318
353
  */
319
354
  /**
320
- * @typedef ProductsReasonsFilters
321
- * @property {string} [identifier]
322
- * @property {number} [line_number]
323
- * @property {number} [quantity]
355
+ * @typedef Track
356
+ * @property {string} [account_name]
357
+ * @property {string} [shipment_type]
358
+ * @property {string} [status]
359
+ * @property {string} [last_location_recieved_at]
360
+ * @property {string} [updated_time]
361
+ * @property {string} [updated_at]
362
+ * @property {string} [reason]
363
+ * @property {string} [awb]
324
364
  */
325
365
  /**
326
- * @typedef Promise
327
- * @property {boolean} [show_promise]
328
- * @property {TimeStampData} [timestamp]
366
+ * @typedef ShipmentTrack
367
+ * @property {Track[]} [results]
329
368
  */
330
369
  /**
331
- * @typedef QuestionSet
332
- * @property {string} [display_name]
333
- * @property {number} [id]
334
- */
335
- /**
336
- * @typedef ReasonsData
337
- * @property {EntitiesReasons[]} [entities]
338
- * @property {ProductsReasons[]} [products]
339
- */
340
- /**
341
- * @typedef ResponseGetInvoiceShipment
342
- * @property {string} presigned_type
343
- * @property {string} presigned_url
344
- * @property {string} shipment_id
345
- * @property {boolean} success
370
+ * @typedef CustomerDetailsResponse
371
+ * @property {string} [phone]
372
+ * @property {string} [shipment_id]
373
+ * @property {string} [name]
374
+ * @property {string} [order_id]
375
+ * @property {string} [country]
346
376
  */
347
377
  /**
348
378
  * @typedef SendOtpToCustomerResponse
349
- * @property {string} [message]
350
379
  * @property {string} [request_id]
351
- * @property {number} [resend_timer]
380
+ * @property {string} [message]
352
381
  * @property {boolean} [success]
382
+ * @property {number} [resend_timer]
353
383
  */
354
384
  /**
355
- * @typedef ShipmentApplicationStatusResponse
356
- * @property {StatusesBodyResponse[]} [statuses]
385
+ * @typedef VerifyOtp
386
+ * @property {string} [otp_code]
387
+ * @property {string} [request_id]
357
388
  */
358
389
  /**
359
- * @typedef ShipmentBagReasons
360
- * @property {BagReasons[]} [reasons]
390
+ * @typedef VerifyOtpResponse
361
391
  * @property {boolean} [success]
362
392
  */
363
393
  /**
364
- * @typedef ShipmentById
365
- * @property {Shipments} [shipment]
394
+ * @typedef BagReasonMeta
395
+ * @property {boolean} [show_text_area]
366
396
  */
367
397
  /**
368
- * @typedef ShipmentPayment
398
+ * @typedef QuestionSet
399
+ * @property {number} [id]
369
400
  * @property {string} [display_name]
370
- * @property {string} [logo]
371
- * @property {string} [mode]
372
- * @property {string} [mop]
373
- * @property {string} [payment_mode]
374
- * @property {string} [status]
401
+ */
402
+ /**
403
+ * @typedef BagReasons
404
+ * @property {string[]} [qc_type]
405
+ * @property {number} [id]
406
+ * @property {string} [display_name]
407
+ * @property {BagReasonMeta} [meta]
408
+ * @property {QuestionSet[]} [question_set]
409
+ * @property {BagReasons[]} [reasons]
410
+ */
411
+ /**
412
+ * @typedef ShipmentBagReasons
413
+ * @property {BagReasons[]} [reasons]
414
+ * @property {boolean} [success]
375
415
  */
376
416
  /**
377
417
  * @typedef ShipmentReason
378
- * @property {string} [feedback_type]
379
- * @property {string} [flow]
380
418
  * @property {number} [priority]
419
+ * @property {boolean} [show_text_area]
381
420
  * @property {number} [reason_id]
421
+ * @property {string} [feedback_type]
382
422
  * @property {string} [reason_text]
383
- * @property {boolean} [show_text_area]
423
+ * @property {string} [flow]
384
424
  */
385
425
  /**
386
426
  * @typedef ShipmentReasons
387
427
  * @property {ShipmentReason[]} [reasons]
388
428
  */
389
429
  /**
390
- * @typedef Shipments
391
- * @property {string} [awb_no]
392
- * @property {Bags[]} [bags]
393
- * @property {boolean} [beneficiary_details]
394
- * @property {BreakupValues[]} [breakup_values]
395
- * @property {Object} [can_break]
396
- * @property {boolean} [can_cancel]
397
- * @property {boolean} [can_return]
398
- * @property {string} [comment]
399
- * @property {Object[]} [custom_meta]
400
- * @property {DeliveryAddress} [delivery_address]
401
- * @property {string} [delivery_date]
402
- * @property {string} [dp_name]
403
- * @property {FulfillingCompany} [fulfilling_company]
404
- * @property {FulfillingStore} [fulfilling_store]
405
- * @property {Invoice} [invoice]
406
- * @property {string} [need_help_url]
407
- * @property {string} [order_id]
408
- * @property {string} [order_type]
409
- * @property {ShipmentPayment} [payment]
410
- * @property {Prices} [prices]
411
- * @property {Promise} [promise]
412
- * @property {Object} [refund_details]
413
- * @property {Object} [return_meta]
414
- * @property {string} [returnable_date]
415
- * @property {string} [shipment_created_at]
416
- * @property {string} [shipment_created_ts]
417
- * @property {string} [shipment_id]
418
- * @property {ShipmentStatus} [shipment_status]
419
- * @property {boolean} [show_download_invoice]
420
- * @property {boolean} [show_track_link]
421
- * @property {Object} [size_info]
422
- * @property {number} [total_bags]
423
- * @property {ShipmentTotalDetails} [total_details]
424
- * @property {string} [track_url]
425
- * @property {TrackingDetails[]} [tracking_details]
426
- * @property {string} [traking_no]
427
- * @property {ShipmentUserInfo} [user_info]
430
+ * @typedef ProductsReasonsData
431
+ * @property {number} [reason_id]
432
+ * @property {string} [reason_text]
428
433
  */
429
434
  /**
430
- * @typedef ShipmentsRequest
431
- * @property {DataUpdates} [data_updates]
432
- * @property {string} identifier
433
- * @property {Products[]} [products]
434
- * @property {ReasonsData} [reasons]
435
+ * @typedef ProductsReasonsFilters
436
+ * @property {number} [line_number]
437
+ * @property {number} [quantity]
438
+ * @property {string} [identifier]
435
439
  */
436
440
  /**
437
- * @typedef ShipmentStatus
438
- * @property {string} [hex_code]
439
- * @property {string} [title]
440
- * @property {string} [value]
441
+ * @typedef ProductsReasons
442
+ * @property {ProductsReasonsData} [data]
443
+ * @property {ProductsReasonsFilters[]} [filters]
441
444
  */
442
445
  /**
443
- * @typedef ShipmentTotalDetails
444
- * @property {number} [pieces]
445
- * @property {number} [sizes]
446
- * @property {number} [total_price]
446
+ * @typedef EntityReasonData
447
+ * @property {number} [reason_id]
448
+ * @property {string} [reason_text]
447
449
  */
448
450
  /**
449
- * @typedef ShipmentTrack
450
- * @property {Track[]} [results]
451
+ * @typedef EntitiesReasons
452
+ * @property {EntityReasonData} [data]
453
+ * @property {Object[]} [filters]
451
454
  */
452
455
  /**
453
- * @typedef ShipmentUserInfo
454
- * @property {string} [email]
455
- * @property {string} [first_name]
456
- * @property {string} [gender]
457
- * @property {string} [last_name]
458
- * @property {string} [mobile]
459
- * @property {string} [name]
456
+ * @typedef ReasonsData
457
+ * @property {ProductsReasons[]} [products]
458
+ * @property {EntitiesReasons[]} [entities]
460
459
  */
461
460
  /**
462
- * @typedef StatuesRequest
463
- * @property {string} [exclude_bags_next_state]
464
- * @property {ShipmentsRequest[]} [shipments]
465
- * @property {string} [status]
461
+ * @typedef Products
462
+ * @property {number} [line_number]
463
+ * @property {number} [quantity]
464
+ * @property {string} [identifier]
466
465
  */
467
466
  /**
468
- * @typedef StatusesBodyResponse
469
- * @property {Object[]} [shipments]
467
+ * @typedef ProductsDataUpdatesFilters
468
+ * @property {number} [line_number]
469
+ * @property {string} [identifier]
470
470
  */
471
471
  /**
472
- * @typedef TimeStampData
473
- * @property {string} [max]
474
- * @property {string} [min]
472
+ * @typedef ProductsDataUpdates
473
+ * @property {Object} [data]
474
+ * @property {ProductsDataUpdatesFilters[]} [filters]
475
475
  */
476
476
  /**
477
- * @typedef Track
478
- * @property {string} [account_name]
479
- * @property {string} [awb]
480
- * @property {string} [last_location_recieved_at]
481
- * @property {string} [reason]
482
- * @property {string} [shipment_type]
483
- * @property {string} [status]
484
- * @property {string} [updated_at]
485
- * @property {string} [updated_time]
477
+ * @typedef EntitiesDataUpdates
478
+ * @property {Object} [data]
479
+ * @property {Object[]} [filters]
486
480
  */
487
481
  /**
488
- * @typedef TrackingDetails
489
- * @property {string} [created_ts]
490
- * @property {boolean} [is_current]
491
- * @property {boolean} [is_passed]
482
+ * @typedef DataUpdates
483
+ * @property {ProductsDataUpdates[]} [products]
484
+ * @property {EntitiesDataUpdates[]} [entities]
485
+ */
486
+ /**
487
+ * @typedef ShipmentsRequest
488
+ * @property {ReasonsData} [reasons]
489
+ * @property {Products[]} [products]
490
+ * @property {DataUpdates} [data_updates]
491
+ * @property {string} identifier
492
+ */
493
+ /**
494
+ * @typedef StatuesRequest
495
+ * @property {ShipmentsRequest[]} [shipments]
496
+ * @property {string} [exclude_bags_next_state]
492
497
  * @property {string} [status]
493
- * @property {string} [time]
494
- * @property {NestedTrackingDetails[]} [tracking_details]
495
- * @property {string} [value]
496
498
  */
497
499
  /**
498
500
  * @typedef UpdateShipmentStatusRequest
499
- * @property {boolean} [force_transition]
500
- * @property {boolean} [lock_after_transition]
501
501
  * @property {StatuesRequest[]} [statuses]
502
502
  * @property {boolean} [task]
503
+ * @property {boolean} [lock_after_transition]
504
+ * @property {boolean} [force_transition]
503
505
  * @property {boolean} [unlock_before_transition]
504
506
  */
505
507
  /**
506
- * @typedef UserInfo
507
- * @property {string} [email]
508
- * @property {string} [first_name]
509
- * @property {string} [gender]
510
- * @property {string} [last_name]
511
- * @property {string} [mobile]
512
- * @property {string} [name]
508
+ * @typedef StatusesBodyResponse
509
+ * @property {Object[]} [shipments]
513
510
  */
514
511
  /**
515
- * @typedef VerifyOtp
516
- * @property {string} [otp_code]
517
- * @property {string} [request_id]
512
+ * @typedef ShipmentApplicationStatusResponse
513
+ * @property {StatusesBodyResponse[]} [statuses]
518
514
  */
519
515
  /**
520
- * @typedef VerifyOtpResponse
521
- * @property {boolean} [success]
516
+ * @typedef ErrorResponse
517
+ * @property {string} [code]
518
+ * @property {string} [message]
519
+ * @property {number} [status]
520
+ * @property {string} [exception]
521
+ * @property {string} [stack_trace]
522
522
  */
523
523
  declare class OrderApplicationModel {
524
524
  }
525
525
  declare namespace OrderApplicationModel {
526
- export { ApefaceApiError, AppliedFreeArticles, AppliedPromos, BagReasonMeta, BagReasons, Bags, BagsForReorder, BagsForReorderArticleAssignment, BreakupValues, CurrentStatus, CustomerDetailsResponse, DataUpdates, DeliveryAddress, EntitiesDataUpdates, EntitiesReasons, EntityReasonData, ErrorResponse, FinancialBreakup, FulfillingCompany, FulfillingStore, Identifiers, Invoice, Item, ItemBrand, NestedTrackingDetails, OrderById, OrderFilters, OrderList, OrderPage, OrderSchema, OrderStatuses, Prices, Products, ProductsDataUpdates, ProductsDataUpdatesFilters, ProductsReasons, ProductsReasonsData, ProductsReasonsFilters, Promise, QuestionSet, ReasonsData, ResponseGetInvoiceShipment, SendOtpToCustomerResponse, ShipmentApplicationStatusResponse, ShipmentBagReasons, ShipmentById, ShipmentPayment, ShipmentReason, ShipmentReasons, Shipments, ShipmentsRequest, ShipmentStatus, ShipmentTotalDetails, ShipmentTrack, ShipmentUserInfo, StatuesRequest, StatusesBodyResponse, TimeStampData, Track, TrackingDetails, UpdateShipmentStatusRequest, UserInfo, VerifyOtp, VerifyOtpResponse };
526
+ export { OrderPage, UserInfo, BreakupValues, ShipmentPayment, ShipmentUserInfo, FulfillingStore, ShipmentStatus, Invoice, NestedTrackingDetails, TrackingDetails, TimeStampData, Promise, ShipmentTotalDetails, Prices, ItemBrand, Item, AppliedFreeArticles, AppliedPromos, Identifiers, FinancialBreakup, CurrentStatus, Bags, FulfillingCompany, DeliveryAddress, Shipments, BagsForReorderArticleAssignment, BagsForReorder, OrderSchema, OrderStatuses, OrderFilters, OrderList, ApefaceApiError, OrderById, ShipmentById, ResponseGetInvoiceShipment, Track, ShipmentTrack, CustomerDetailsResponse, SendOtpToCustomerResponse, VerifyOtp, VerifyOtpResponse, BagReasonMeta, QuestionSet, BagReasons, ShipmentBagReasons, ShipmentReason, ShipmentReasons, ProductsReasonsData, ProductsReasonsFilters, ProductsReasons, EntityReasonData, EntitiesReasons, ReasonsData, Products, ProductsDataUpdatesFilters, ProductsDataUpdates, EntitiesDataUpdates, DataUpdates, ShipmentsRequest, StatuesRequest, UpdateShipmentStatusRequest, StatusesBodyResponse, ShipmentApplicationStatusResponse, ErrorResponse };
527
527
  }
528
- /** @returns {ApefaceApiError} */
529
- declare function ApefaceApiError(): ApefaceApiError;
530
- type ApefaceApiError = {
531
- message?: string;
532
- success?: boolean;
533
- };
534
- /** @returns {AppliedFreeArticles} */
535
- declare function AppliedFreeArticles(): AppliedFreeArticles;
536
- type AppliedFreeArticles = {
537
- article_id?: string;
538
- free_gift_item_details?: any;
539
- parent_item_identifier?: string;
540
- quantity?: number;
528
+ /** @returns {OrderPage} */
529
+ declare function OrderPage(): OrderPage;
530
+ type OrderPage = {
531
+ type?: string;
532
+ item_total?: number;
533
+ current?: number;
534
+ size?: number;
535
+ has_next?: boolean;
541
536
  };
542
- /** @returns {AppliedPromos} */
543
- declare function AppliedPromos(): AppliedPromos;
544
- type AppliedPromos = {
545
- amount?: number;
546
- applied_free_articles?: AppliedFreeArticles[];
547
- article_quantity?: number;
548
- mrp_promotion?: boolean;
549
- promo_id?: string;
550
- promotion_name?: string;
551
- promotion_type?: string;
552
- };
553
- /** @returns {BagReasonMeta} */
554
- declare function BagReasonMeta(): BagReasonMeta;
555
- type BagReasonMeta = {
556
- show_text_area?: boolean;
557
- };
558
- /** @returns {BagReasons} */
559
- declare function BagReasons(): BagReasons;
560
- type BagReasons = {
561
- display_name?: string;
562
- id?: number;
563
- meta?: BagReasonMeta;
564
- qc_type?: string[];
565
- question_set?: QuestionSet[];
566
- reasons?: BagReasons[];
567
- };
568
- /** @returns {Bags} */
569
- declare function Bags(): Bags;
570
- type Bags = {
571
- applied_promos?: AppliedPromos[];
572
- can_cancel?: boolean;
573
- can_return?: boolean;
574
- currency_code?: string;
575
- currency_symbol?: string;
576
- current_status?: CurrentStatus;
577
- delivery_date?: string;
578
- financial_breakup?: FinancialBreakup[];
579
- id?: number;
580
- item?: Item;
581
- line_number?: number;
582
- meta?: any;
583
- parent_promo_bags?: any;
584
- prices?: Prices;
585
- quantity?: number;
586
- returnable_date?: string;
587
- seller_identifier?: string;
588
- };
589
- /** @returns {BagsForReorder} */
590
- declare function BagsForReorder(): BagsForReorder;
591
- type BagsForReorder = {
592
- article_assignment?: BagsForReorderArticleAssignment;
593
- item_id?: number;
594
- item_size?: string;
595
- quantity?: number;
596
- seller_id?: number;
597
- store_id?: number;
598
- };
599
- /** @returns {BagsForReorderArticleAssignment} */
600
- declare function BagsForReorderArticleAssignment(): BagsForReorderArticleAssignment;
601
- type BagsForReorderArticleAssignment = {
602
- level?: string;
603
- strategy?: string;
537
+ /** @returns {UserInfo} */
538
+ declare function UserInfo(): UserInfo;
539
+ type UserInfo = {
540
+ first_name?: string;
541
+ gender?: string;
542
+ name?: string;
543
+ last_name?: string;
544
+ mobile?: string;
545
+ email?: string;
604
546
  };
605
547
  /** @returns {BreakupValues} */
606
548
  declare function BreakupValues(): BreakupValues;
607
549
  type BreakupValues = {
608
- currency_code?: string;
550
+ value?: number;
609
551
  currency_symbol?: string;
610
- display?: string;
611
552
  name?: string;
612
- value?: number;
553
+ display?: string;
554
+ currency_code?: string;
613
555
  };
614
- /** @returns {CurrentStatus} */
615
- declare function CurrentStatus(): CurrentStatus;
616
- type CurrentStatus = {
617
- journey_type?: string;
618
- name?: string;
556
+ /** @returns {ShipmentPayment} */
557
+ declare function ShipmentPayment(): ShipmentPayment;
558
+ type ShipmentPayment = {
559
+ mop?: string;
560
+ payment_mode?: string;
619
561
  status?: string;
620
- updated_at?: string;
562
+ mode?: string;
563
+ logo?: string;
564
+ display_name?: string;
621
565
  };
622
- /** @returns {CustomerDetailsResponse} */
623
- declare function CustomerDetailsResponse(): CustomerDetailsResponse;
624
- type CustomerDetailsResponse = {
625
- country?: string;
566
+ /** @returns {ShipmentUserInfo} */
567
+ declare function ShipmentUserInfo(): ShipmentUserInfo;
568
+ type ShipmentUserInfo = {
569
+ first_name?: string;
570
+ gender?: string;
626
571
  name?: string;
627
- order_id?: string;
628
- phone?: string;
629
- shipment_id?: string;
630
- };
631
- /** @returns {DataUpdates} */
632
- declare function DataUpdates(): DataUpdates;
633
- type DataUpdates = {
634
- entities?: EntitiesDataUpdates[];
635
- products?: ProductsDataUpdates[];
636
- };
637
- /** @returns {DeliveryAddress} */
638
- declare function DeliveryAddress(): DeliveryAddress;
639
- type DeliveryAddress = {
640
- address?: string;
641
- address_category?: string;
642
- address_type?: string;
643
- address1?: string;
644
- address2?: string;
645
- area?: string;
646
- city?: string;
647
- contact_person?: string;
648
- country?: string;
649
- country_iso_code?: string;
650
- country_phone_code?: string;
651
- created_at?: string;
652
- display_address?: string;
572
+ last_name?: string;
573
+ mobile?: string;
653
574
  email?: string;
654
- landmark?: string;
655
- latitude?: number;
656
- longitude?: number;
657
- name?: string;
658
- phone?: string;
659
- pincode?: string;
660
- state?: string;
661
- updated_at?: string;
662
- version?: string;
663
- };
664
- /** @returns {EntitiesDataUpdates} */
665
- declare function EntitiesDataUpdates(): EntitiesDataUpdates;
666
- type EntitiesDataUpdates = {
667
- data?: any;
668
- filters?: any[];
669
- };
670
- /** @returns {EntitiesReasons} */
671
- declare function EntitiesReasons(): EntitiesReasons;
672
- type EntitiesReasons = {
673
- data?: EntityReasonData;
674
- filters?: any[];
675
- };
676
- /** @returns {EntityReasonData} */
677
- declare function EntityReasonData(): EntityReasonData;
678
- type EntityReasonData = {
679
- reason_id?: number;
680
- reason_text?: string;
681
- };
682
- /** @returns {ErrorResponse} */
683
- declare function ErrorResponse(): ErrorResponse;
684
- type ErrorResponse = {
685
- code?: string;
686
- exception?: string;
687
- message?: string;
688
- stack_trace?: string;
689
- status?: number;
690
- };
691
- /** @returns {FinancialBreakup} */
692
- declare function FinancialBreakup(): FinancialBreakup;
693
- type FinancialBreakup = {
694
- added_to_fynd_cash?: boolean;
695
- amount_paid?: number;
696
- amount_paid_roundoff?: number;
697
- brand_calculated_amount?: number;
698
- cashback?: number;
699
- cashback_applied?: number;
700
- cod_charges?: number;
701
- coupon_effective_discount?: number;
702
- coupon_value?: number;
703
- delivery_charge?: number;
704
- discount?: number;
705
- fynd_credits?: number;
706
- gst_fee?: number;
707
- gst_tag?: string;
708
- gst_tax_percentage?: number;
709
- hsn_code?: string;
710
- identifiers?: Identifiers;
711
- item_name?: string;
712
- price_effective?: number;
713
- price_marked?: number;
714
- promotion_effective_discount?: number;
715
- refund_amount?: number;
716
- refund_credit?: number;
717
- size?: string;
718
- total_units?: number;
719
- transfer_price?: number;
720
- value_of_good?: number;
721
- };
722
- /** @returns {FulfillingCompany} */
723
- declare function FulfillingCompany(): FulfillingCompany;
724
- type FulfillingCompany = {
725
- id?: number;
726
- name?: string;
727
575
  };
728
576
  /** @returns {FulfillingStore} */
729
577
  declare function FulfillingStore(): FulfillingStore;
730
578
  type FulfillingStore = {
731
- code?: string;
732
- company_id?: number;
733
- company_name?: string;
734
579
  id?: number;
580
+ code?: string;
735
581
  name?: string;
582
+ company_name?: string;
583
+ company_id?: number;
736
584
  };
737
- /** @returns {Identifiers} */
738
- declare function Identifiers(): Identifiers;
739
- type Identifiers = {
740
- ean?: string;
741
- sku_code?: string;
585
+ /** @returns {ShipmentStatus} */
586
+ declare function ShipmentStatus(): ShipmentStatus;
587
+ type ShipmentStatus = {
588
+ value?: string;
589
+ title?: string;
590
+ hex_code?: string;
742
591
  };
743
592
  /** @returns {Invoice} */
744
593
  declare function Invoice(): Invoice;
745
594
  type Invoice = {
746
595
  invoice_url?: string;
747
- label_url?: string;
748
596
  updated_date?: string;
749
- };
750
- /** @returns {Item} */
751
- declare function Item(): Item;
752
- type Item = {
753
- attributes?: any;
754
- brand?: ItemBrand;
755
- code?: string;
756
- id?: number;
757
- image?: string[];
758
- l1_categories?: string[];
759
- l2_categories?: string[];
760
- l3_category_name?: string;
761
- name?: string;
762
- seller_identifier?: string;
763
- size?: string;
764
- slug_key?: string;
765
- };
766
- /** @returns {ItemBrand} */
767
- declare function ItemBrand(): ItemBrand;
768
- type ItemBrand = {
769
- logo?: string;
770
- name?: string;
597
+ label_url?: string;
771
598
  };
772
599
  /** @returns {NestedTrackingDetails} */
773
600
  declare function NestedTrackingDetails(): NestedTrackingDetails;
774
601
  type NestedTrackingDetails = {
602
+ is_passed?: boolean;
603
+ time?: string;
604
+ is_current?: boolean;
605
+ status?: string;
606
+ };
607
+ /** @returns {TrackingDetails} */
608
+ declare function TrackingDetails(): TrackingDetails;
609
+ type TrackingDetails = {
610
+ value?: string;
775
611
  is_current?: boolean;
776
612
  is_passed?: boolean;
777
613
  status?: string;
778
614
  time?: string;
615
+ created_ts?: string;
616
+ tracking_details?: NestedTrackingDetails[];
779
617
  };
780
- /** @returns {OrderById} */
781
- declare function OrderById(): OrderById;
782
- type OrderById = {
783
- order?: OrderSchema;
618
+ /** @returns {TimeStampData} */
619
+ declare function TimeStampData(): TimeStampData;
620
+ type TimeStampData = {
621
+ min?: string;
622
+ max?: string;
784
623
  };
785
- /** @returns {OrderFilters} */
786
- declare function OrderFilters(): OrderFilters;
787
- type OrderFilters = {
788
- statuses?: OrderStatuses[];
624
+ /** @returns {Promise} */
625
+ declare function Promise(): Promise;
626
+ type Promise = {
627
+ show_promise?: boolean;
628
+ timestamp?: TimeStampData;
789
629
  };
790
- /** @returns {OrderList} */
791
- declare function OrderList(): OrderList;
792
- type OrderList = {
793
- filters?: OrderFilters;
794
- items?: OrderSchema[];
795
- page?: OrderPage;
630
+ /** @returns {ShipmentTotalDetails} */
631
+ declare function ShipmentTotalDetails(): ShipmentTotalDetails;
632
+ type ShipmentTotalDetails = {
633
+ pieces?: number;
634
+ total_price?: number;
635
+ sizes?: number;
796
636
  };
797
- /** @returns {OrderPage} */
798
- declare function OrderPage(): OrderPage;
799
- type OrderPage = {
800
- current?: number;
801
- has_next?: boolean;
802
- item_total?: number;
803
- size?: number;
804
- type?: string;
637
+ /** @returns {Prices} */
638
+ declare function Prices(): Prices;
639
+ type Prices = {
640
+ delivery_charge?: number;
641
+ coupon_value?: number;
642
+ brand_calculated_amount?: number;
643
+ value_of_good?: number;
644
+ price_marked?: number;
645
+ coupon_effective_discount?: number;
646
+ currency_symbol?: string;
647
+ discount?: number;
648
+ gst_tax_percentage?: number;
649
+ cod_charges?: number;
650
+ amount_paid?: number;
651
+ added_to_fynd_cash?: boolean;
652
+ transfer_price?: number;
653
+ cashback_applied?: number;
654
+ price_effective?: number;
655
+ cashback?: number;
656
+ refund_credit?: number;
657
+ amount_paid_roundoff?: number;
658
+ promotion_effective_discount?: number;
659
+ refund_amount?: number;
660
+ currency_code?: string;
661
+ fynd_credits?: number;
662
+ };
663
+ /** @returns {ItemBrand} */
664
+ declare function ItemBrand(): ItemBrand;
665
+ type ItemBrand = {
666
+ logo?: string;
667
+ name?: string;
668
+ };
669
+ /** @returns {Item} */
670
+ declare function Item(): Item;
671
+ type Item = {
672
+ image?: string[];
673
+ l1_categories?: string[];
674
+ brand?: ItemBrand;
675
+ seller_identifier?: string;
676
+ code?: string;
677
+ id?: number;
678
+ name?: string;
679
+ l3_category_name?: string;
680
+ slug_key?: string;
681
+ l2_categories?: string[];
682
+ size?: string;
683
+ attributes?: any;
684
+ };
685
+ /** @returns {AppliedFreeArticles} */
686
+ declare function AppliedFreeArticles(): AppliedFreeArticles;
687
+ type AppliedFreeArticles = {
688
+ article_id?: string;
689
+ free_gift_item_details?: any;
690
+ parent_item_identifier?: string;
691
+ quantity?: number;
692
+ };
693
+ /** @returns {AppliedPromos} */
694
+ declare function AppliedPromos(): AppliedPromos;
695
+ type AppliedPromos = {
696
+ mrp_promotion?: boolean;
697
+ promotion_name?: string;
698
+ article_quantity?: number;
699
+ promo_id?: string;
700
+ amount?: number;
701
+ promotion_type?: string;
702
+ applied_free_articles?: AppliedFreeArticles[];
703
+ };
704
+ /** @returns {Identifiers} */
705
+ declare function Identifiers(): Identifiers;
706
+ type Identifiers = {
707
+ ean?: string;
708
+ sku_code?: string;
709
+ };
710
+ /** @returns {FinancialBreakup} */
711
+ declare function FinancialBreakup(): FinancialBreakup;
712
+ type FinancialBreakup = {
713
+ coupon_value?: number;
714
+ delivery_charge?: number;
715
+ brand_calculated_amount?: number;
716
+ value_of_good?: number;
717
+ price_marked?: number;
718
+ coupon_effective_discount?: number;
719
+ hsn_code?: string;
720
+ discount?: number;
721
+ gst_tax_percentage?: number;
722
+ cod_charges?: number;
723
+ amount_paid?: number;
724
+ added_to_fynd_cash?: boolean;
725
+ size?: string;
726
+ transfer_price?: number;
727
+ cashback_applied?: number;
728
+ price_effective?: number;
729
+ cashback?: number;
730
+ refund_credit?: number;
731
+ amount_paid_roundoff?: number;
732
+ total_units?: number;
733
+ identifiers?: Identifiers;
734
+ gst_tag?: string;
735
+ item_name?: string;
736
+ promotion_effective_discount?: number;
737
+ gst_fee?: number;
738
+ refund_amount?: number;
739
+ fynd_credits?: number;
740
+ };
741
+ /** @returns {CurrentStatus} */
742
+ declare function CurrentStatus(): CurrentStatus;
743
+ type CurrentStatus = {
744
+ updated_at?: string;
745
+ name?: string;
746
+ status?: string;
747
+ journey_type?: string;
748
+ };
749
+ /** @returns {Bags} */
750
+ declare function Bags(): Bags;
751
+ type Bags = {
752
+ delivery_date?: string;
753
+ line_number?: number;
754
+ currency_symbol?: string;
755
+ item?: Item;
756
+ applied_promos?: AppliedPromos[];
757
+ quantity?: number;
758
+ prices?: Prices;
759
+ can_cancel?: boolean;
760
+ can_return?: boolean;
761
+ id?: number;
762
+ returnable_date?: string;
763
+ financial_breakup?: FinancialBreakup[];
764
+ parent_promo_bags?: any;
765
+ meta?: any;
766
+ currency_code?: string;
767
+ seller_identifier?: string;
768
+ current_status?: CurrentStatus;
769
+ };
770
+ /** @returns {FulfillingCompany} */
771
+ declare function FulfillingCompany(): FulfillingCompany;
772
+ type FulfillingCompany = {
773
+ id?: number;
774
+ name?: string;
775
+ };
776
+ /** @returns {DeliveryAddress} */
777
+ declare function DeliveryAddress(): DeliveryAddress;
778
+ type DeliveryAddress = {
779
+ pincode?: string;
780
+ phone?: string;
781
+ latitude?: number;
782
+ address2?: string;
783
+ landmark?: string;
784
+ area?: string;
785
+ city?: string;
786
+ address?: string;
787
+ address_type?: string;
788
+ longitude?: number;
789
+ country_iso_code?: string;
790
+ state?: string;
791
+ created_at?: string;
792
+ address1?: string;
793
+ display_address?: string;
794
+ name?: string;
795
+ contact_person?: string;
796
+ address_category?: string;
797
+ email?: string;
798
+ country_phone_code?: string;
799
+ version?: string;
800
+ updated_at?: string;
801
+ country?: string;
802
+ };
803
+ /** @returns {Shipments} */
804
+ declare function Shipments(): Shipments;
805
+ type Shipments = {
806
+ payment?: ShipmentPayment;
807
+ order_type?: string;
808
+ show_download_invoice?: boolean;
809
+ can_cancel?: boolean;
810
+ user_info?: ShipmentUserInfo;
811
+ shipment_id?: string;
812
+ fulfilling_store?: FulfillingStore;
813
+ custom_meta?: any[];
814
+ shipment_status?: ShipmentStatus;
815
+ comment?: string;
816
+ invoice?: Invoice;
817
+ show_track_link?: boolean;
818
+ refund_details?: any;
819
+ breakup_values?: BreakupValues[];
820
+ can_break?: any;
821
+ traking_no?: string;
822
+ tracking_details?: TrackingDetails[];
823
+ promise?: Promise;
824
+ total_bags?: number;
825
+ total_details?: ShipmentTotalDetails;
826
+ prices?: Prices;
827
+ returnable_date?: string;
828
+ shipment_created_at?: string;
829
+ shipment_created_ts?: string;
830
+ size_info?: any;
831
+ bags?: Bags[];
832
+ dp_name?: string;
833
+ awb_no?: string;
834
+ beneficiary_details?: boolean;
835
+ fulfilling_company?: FulfillingCompany;
836
+ can_return?: boolean;
837
+ delivery_address?: DeliveryAddress;
838
+ track_url?: string;
839
+ order_id?: string;
840
+ need_help_url?: string;
841
+ return_meta?: any;
842
+ delivery_date?: string;
843
+ };
844
+ /** @returns {BagsForReorderArticleAssignment} */
845
+ declare function BagsForReorderArticleAssignment(): BagsForReorderArticleAssignment;
846
+ type BagsForReorderArticleAssignment = {
847
+ strategy?: string;
848
+ level?: string;
849
+ };
850
+ /** @returns {BagsForReorder} */
851
+ declare function BagsForReorder(): BagsForReorder;
852
+ type BagsForReorder = {
853
+ item_size?: string;
854
+ quantity?: number;
855
+ store_id?: number;
856
+ article_assignment?: BagsForReorderArticleAssignment;
857
+ seller_id?: number;
858
+ item_id?: number;
805
859
  };
806
860
  /** @returns {OrderSchema} */
807
861
  declare function OrderSchema(): OrderSchema;
808
862
  type OrderSchema = {
809
- bags_for_reorder?: BagsForReorder[];
863
+ total_shipments_in_order?: number;
864
+ user_info?: UserInfo;
810
865
  breakup_values?: BreakupValues[];
811
866
  order_created_time?: string;
812
867
  order_created_ts?: string;
813
868
  order_id?: string;
814
869
  shipments?: Shipments[];
815
- total_shipments_in_order?: number;
816
- user_info?: UserInfo;
870
+ bags_for_reorder?: BagsForReorder[];
817
871
  };
818
872
  /** @returns {OrderStatuses} */
819
873
  declare function OrderStatuses(): OrderStatuses;
820
874
  type OrderStatuses = {
821
- display?: string;
822
- is_selected?: boolean;
823
875
  value?: number;
876
+ is_selected?: boolean;
877
+ display?: string;
824
878
  };
825
- /** @returns {Prices} */
826
- declare function Prices(): Prices;
827
- type Prices = {
828
- added_to_fynd_cash?: boolean;
829
- amount_paid?: number;
830
- amount_paid_roundoff?: number;
831
- brand_calculated_amount?: number;
832
- cashback?: number;
833
- cashback_applied?: number;
834
- cod_charges?: number;
835
- coupon_effective_discount?: number;
836
- coupon_value?: number;
837
- currency_code?: string;
838
- currency_symbol?: string;
839
- delivery_charge?: number;
840
- discount?: number;
841
- fynd_credits?: number;
842
- gst_tax_percentage?: number;
843
- price_effective?: number;
844
- price_marked?: number;
845
- promotion_effective_discount?: number;
846
- refund_amount?: number;
847
- refund_credit?: number;
848
- transfer_price?: number;
849
- value_of_good?: number;
879
+ /** @returns {OrderFilters} */
880
+ declare function OrderFilters(): OrderFilters;
881
+ type OrderFilters = {
882
+ statuses?: OrderStatuses[];
850
883
  };
851
- /** @returns {Products} */
852
- declare function Products(): Products;
853
- type Products = {
854
- identifier?: string;
855
- line_number?: number;
856
- quantity?: number;
884
+ /** @returns {OrderList} */
885
+ declare function OrderList(): OrderList;
886
+ type OrderList = {
887
+ page?: OrderPage;
888
+ items?: OrderSchema[];
889
+ filters?: OrderFilters;
857
890
  };
858
- /** @returns {ProductsDataUpdates} */
859
- declare function ProductsDataUpdates(): ProductsDataUpdates;
860
- type ProductsDataUpdates = {
861
- data?: any;
862
- filters?: ProductsDataUpdatesFilters[];
891
+ /** @returns {ApefaceApiError} */
892
+ declare function ApefaceApiError(): ApefaceApiError;
893
+ type ApefaceApiError = {
894
+ message?: string;
895
+ success?: boolean;
863
896
  };
864
- /** @returns {ProductsDataUpdatesFilters} */
865
- declare function ProductsDataUpdatesFilters(): ProductsDataUpdatesFilters;
866
- type ProductsDataUpdatesFilters = {
867
- identifier?: string;
868
- line_number?: number;
897
+ /** @returns {OrderById} */
898
+ declare function OrderById(): OrderById;
899
+ type OrderById = {
900
+ order?: OrderSchema;
869
901
  };
870
- /** @returns {ProductsReasons} */
871
- declare function ProductsReasons(): ProductsReasons;
872
- type ProductsReasons = {
873
- data?: ProductsReasonsData;
874
- filters?: ProductsReasonsFilters[];
902
+ /** @returns {ShipmentById} */
903
+ declare function ShipmentById(): ShipmentById;
904
+ type ShipmentById = {
905
+ shipment?: Shipments;
906
+ };
907
+ /** @returns {ResponseGetInvoiceShipment} */
908
+ declare function ResponseGetInvoiceShipment(): ResponseGetInvoiceShipment;
909
+ type ResponseGetInvoiceShipment = {
910
+ presigned_type: string;
911
+ success: boolean;
912
+ shipment_id: string;
913
+ presigned_url: string;
914
+ };
915
+ /** @returns {Track} */
916
+ declare function Track(): Track;
917
+ type Track = {
918
+ account_name?: string;
919
+ shipment_type?: string;
920
+ status?: string;
921
+ last_location_recieved_at?: string;
922
+ updated_time?: string;
923
+ updated_at?: string;
924
+ reason?: string;
925
+ awb?: string;
926
+ };
927
+ /** @returns {ShipmentTrack} */
928
+ declare function ShipmentTrack(): ShipmentTrack;
929
+ type ShipmentTrack = {
930
+ results?: Track[];
931
+ };
932
+ /** @returns {CustomerDetailsResponse} */
933
+ declare function CustomerDetailsResponse(): CustomerDetailsResponse;
934
+ type CustomerDetailsResponse = {
935
+ phone?: string;
936
+ shipment_id?: string;
937
+ name?: string;
938
+ order_id?: string;
939
+ country?: string;
940
+ };
941
+ /** @returns {SendOtpToCustomerResponse} */
942
+ declare function SendOtpToCustomerResponse(): SendOtpToCustomerResponse;
943
+ type SendOtpToCustomerResponse = {
944
+ request_id?: string;
945
+ message?: string;
946
+ success?: boolean;
947
+ resend_timer?: number;
948
+ };
949
+ /** @returns {VerifyOtp} */
950
+ declare function VerifyOtp(): VerifyOtp;
951
+ type VerifyOtp = {
952
+ otp_code?: string;
953
+ request_id?: string;
954
+ };
955
+ /** @returns {VerifyOtpResponse} */
956
+ declare function VerifyOtpResponse(): VerifyOtpResponse;
957
+ type VerifyOtpResponse = {
958
+ success?: boolean;
959
+ };
960
+ /** @returns {BagReasonMeta} */
961
+ declare function BagReasonMeta(): BagReasonMeta;
962
+ type BagReasonMeta = {
963
+ show_text_area?: boolean;
964
+ };
965
+ /** @returns {QuestionSet} */
966
+ declare function QuestionSet(): QuestionSet;
967
+ type QuestionSet = {
968
+ id?: number;
969
+ display_name?: string;
970
+ };
971
+ /** @returns {BagReasons} */
972
+ declare function BagReasons(): BagReasons;
973
+ type BagReasons = {
974
+ qc_type?: string[];
975
+ id?: number;
976
+ display_name?: string;
977
+ meta?: BagReasonMeta;
978
+ question_set?: QuestionSet[];
979
+ reasons?: BagReasons[];
980
+ };
981
+ /** @returns {ShipmentBagReasons} */
982
+ declare function ShipmentBagReasons(): ShipmentBagReasons;
983
+ type ShipmentBagReasons = {
984
+ reasons?: BagReasons[];
985
+ success?: boolean;
986
+ };
987
+ /** @returns {ShipmentReason} */
988
+ declare function ShipmentReason(): ShipmentReason;
989
+ type ShipmentReason = {
990
+ priority?: number;
991
+ show_text_area?: boolean;
992
+ reason_id?: number;
993
+ feedback_type?: string;
994
+ reason_text?: string;
995
+ flow?: string;
996
+ };
997
+ /** @returns {ShipmentReasons} */
998
+ declare function ShipmentReasons(): ShipmentReasons;
999
+ type ShipmentReasons = {
1000
+ reasons?: ShipmentReason[];
875
1001
  };
876
1002
  /** @returns {ProductsReasonsData} */
877
1003
  declare function ProductsReasonsData(): ProductsReasonsData;
@@ -882,231 +1008,105 @@ type ProductsReasonsData = {
882
1008
  /** @returns {ProductsReasonsFilters} */
883
1009
  declare function ProductsReasonsFilters(): ProductsReasonsFilters;
884
1010
  type ProductsReasonsFilters = {
885
- identifier?: string;
886
1011
  line_number?: number;
887
1012
  quantity?: number;
1013
+ identifier?: string;
888
1014
  };
889
- /** @returns {Promise} */
890
- declare function Promise(): Promise;
891
- type Promise = {
892
- show_promise?: boolean;
893
- timestamp?: TimeStampData;
1015
+ /** @returns {ProductsReasons} */
1016
+ declare function ProductsReasons(): ProductsReasons;
1017
+ type ProductsReasons = {
1018
+ data?: ProductsReasonsData;
1019
+ filters?: ProductsReasonsFilters[];
894
1020
  };
895
- /** @returns {QuestionSet} */
896
- declare function QuestionSet(): QuestionSet;
897
- type QuestionSet = {
898
- display_name?: string;
899
- id?: number;
1021
+ /** @returns {EntityReasonData} */
1022
+ declare function EntityReasonData(): EntityReasonData;
1023
+ type EntityReasonData = {
1024
+ reason_id?: number;
1025
+ reason_text?: string;
1026
+ };
1027
+ /** @returns {EntitiesReasons} */
1028
+ declare function EntitiesReasons(): EntitiesReasons;
1029
+ type EntitiesReasons = {
1030
+ data?: EntityReasonData;
1031
+ filters?: any[];
900
1032
  };
901
1033
  /** @returns {ReasonsData} */
902
1034
  declare function ReasonsData(): ReasonsData;
903
1035
  type ReasonsData = {
904
- entities?: EntitiesReasons[];
905
1036
  products?: ProductsReasons[];
1037
+ entities?: EntitiesReasons[];
906
1038
  };
907
- /** @returns {ResponseGetInvoiceShipment} */
908
- declare function ResponseGetInvoiceShipment(): ResponseGetInvoiceShipment;
909
- type ResponseGetInvoiceShipment = {
910
- presigned_type: string;
911
- presigned_url: string;
912
- shipment_id: string;
913
- success: boolean;
914
- };
915
- /** @returns {SendOtpToCustomerResponse} */
916
- declare function SendOtpToCustomerResponse(): SendOtpToCustomerResponse;
917
- type SendOtpToCustomerResponse = {
918
- message?: string;
919
- request_id?: string;
920
- resend_timer?: number;
921
- success?: boolean;
922
- };
923
- /** @returns {ShipmentApplicationStatusResponse} */
924
- declare function ShipmentApplicationStatusResponse(): ShipmentApplicationStatusResponse;
925
- type ShipmentApplicationStatusResponse = {
926
- statuses?: StatusesBodyResponse[];
927
- };
928
- /** @returns {ShipmentBagReasons} */
929
- declare function ShipmentBagReasons(): ShipmentBagReasons;
930
- type ShipmentBagReasons = {
931
- reasons?: BagReasons[];
932
- success?: boolean;
933
- };
934
- /** @returns {ShipmentById} */
935
- declare function ShipmentById(): ShipmentById;
936
- type ShipmentById = {
937
- shipment?: Shipments;
1039
+ /** @returns {Products} */
1040
+ declare function Products(): Products;
1041
+ type Products = {
1042
+ line_number?: number;
1043
+ quantity?: number;
1044
+ identifier?: string;
938
1045
  };
939
- /** @returns {ShipmentPayment} */
940
- declare function ShipmentPayment(): ShipmentPayment;
941
- type ShipmentPayment = {
942
- display_name?: string;
943
- logo?: string;
944
- mode?: string;
945
- mop?: string;
946
- payment_mode?: string;
947
- status?: string;
1046
+ /** @returns {ProductsDataUpdatesFilters} */
1047
+ declare function ProductsDataUpdatesFilters(): ProductsDataUpdatesFilters;
1048
+ type ProductsDataUpdatesFilters = {
1049
+ line_number?: number;
1050
+ identifier?: string;
948
1051
  };
949
- /** @returns {ShipmentReason} */
950
- declare function ShipmentReason(): ShipmentReason;
951
- type ShipmentReason = {
952
- feedback_type?: string;
953
- flow?: string;
954
- priority?: number;
955
- reason_id?: number;
956
- reason_text?: string;
957
- show_text_area?: boolean;
1052
+ /** @returns {ProductsDataUpdates} */
1053
+ declare function ProductsDataUpdates(): ProductsDataUpdates;
1054
+ type ProductsDataUpdates = {
1055
+ data?: any;
1056
+ filters?: ProductsDataUpdatesFilters[];
958
1057
  };
959
- /** @returns {ShipmentReasons} */
960
- declare function ShipmentReasons(): ShipmentReasons;
961
- type ShipmentReasons = {
962
- reasons?: ShipmentReason[];
1058
+ /** @returns {EntitiesDataUpdates} */
1059
+ declare function EntitiesDataUpdates(): EntitiesDataUpdates;
1060
+ type EntitiesDataUpdates = {
1061
+ data?: any;
1062
+ filters?: any[];
963
1063
  };
964
- /** @returns {Shipments} */
965
- declare function Shipments(): Shipments;
966
- type Shipments = {
967
- awb_no?: string;
968
- bags?: Bags[];
969
- beneficiary_details?: boolean;
970
- breakup_values?: BreakupValues[];
971
- can_break?: any;
972
- can_cancel?: boolean;
973
- can_return?: boolean;
974
- comment?: string;
975
- custom_meta?: any[];
976
- delivery_address?: DeliveryAddress;
977
- delivery_date?: string;
978
- dp_name?: string;
979
- fulfilling_company?: FulfillingCompany;
980
- fulfilling_store?: FulfillingStore;
981
- invoice?: Invoice;
982
- need_help_url?: string;
983
- order_id?: string;
984
- order_type?: string;
985
- payment?: ShipmentPayment;
986
- prices?: Prices;
987
- promise?: Promise;
988
- refund_details?: any;
989
- return_meta?: any;
990
- returnable_date?: string;
991
- shipment_created_at?: string;
992
- shipment_created_ts?: string;
993
- shipment_id?: string;
994
- shipment_status?: ShipmentStatus;
995
- show_download_invoice?: boolean;
996
- show_track_link?: boolean;
997
- size_info?: any;
998
- total_bags?: number;
999
- total_details?: ShipmentTotalDetails;
1000
- track_url?: string;
1001
- tracking_details?: TrackingDetails[];
1002
- traking_no?: string;
1003
- user_info?: ShipmentUserInfo;
1064
+ /** @returns {DataUpdates} */
1065
+ declare function DataUpdates(): DataUpdates;
1066
+ type DataUpdates = {
1067
+ products?: ProductsDataUpdates[];
1068
+ entities?: EntitiesDataUpdates[];
1004
1069
  };
1005
1070
  /** @returns {ShipmentsRequest} */
1006
1071
  declare function ShipmentsRequest(): ShipmentsRequest;
1007
1072
  type ShipmentsRequest = {
1073
+ reasons?: ReasonsData;
1074
+ products?: Products[];
1008
1075
  data_updates?: DataUpdates;
1009
1076
  identifier: string;
1010
- products?: Products[];
1011
- reasons?: ReasonsData;
1012
- };
1013
- /** @returns {ShipmentStatus} */
1014
- declare function ShipmentStatus(): ShipmentStatus;
1015
- type ShipmentStatus = {
1016
- hex_code?: string;
1017
- title?: string;
1018
- value?: string;
1019
- };
1020
- /** @returns {ShipmentTotalDetails} */
1021
- declare function ShipmentTotalDetails(): ShipmentTotalDetails;
1022
- type ShipmentTotalDetails = {
1023
- pieces?: number;
1024
- sizes?: number;
1025
- total_price?: number;
1026
- };
1027
- /** @returns {ShipmentTrack} */
1028
- declare function ShipmentTrack(): ShipmentTrack;
1029
- type ShipmentTrack = {
1030
- results?: Track[];
1031
- };
1032
- /** @returns {ShipmentUserInfo} */
1033
- declare function ShipmentUserInfo(): ShipmentUserInfo;
1034
- type ShipmentUserInfo = {
1035
- email?: string;
1036
- first_name?: string;
1037
- gender?: string;
1038
- last_name?: string;
1039
- mobile?: string;
1040
- name?: string;
1041
1077
  };
1042
1078
  /** @returns {StatuesRequest} */
1043
1079
  declare function StatuesRequest(): StatuesRequest;
1044
1080
  type StatuesRequest = {
1045
- exclude_bags_next_state?: string;
1046
1081
  shipments?: ShipmentsRequest[];
1082
+ exclude_bags_next_state?: string;
1047
1083
  status?: string;
1048
1084
  };
1049
- /** @returns {StatusesBodyResponse} */
1050
- declare function StatusesBodyResponse(): StatusesBodyResponse;
1051
- type StatusesBodyResponse = {
1052
- shipments?: any[];
1053
- };
1054
- /** @returns {TimeStampData} */
1055
- declare function TimeStampData(): TimeStampData;
1056
- type TimeStampData = {
1057
- max?: string;
1058
- min?: string;
1059
- };
1060
- /** @returns {Track} */
1061
- declare function Track(): Track;
1062
- type Track = {
1063
- account_name?: string;
1064
- awb?: string;
1065
- last_location_recieved_at?: string;
1066
- reason?: string;
1067
- shipment_type?: string;
1068
- status?: string;
1069
- updated_at?: string;
1070
- updated_time?: string;
1071
- };
1072
- /** @returns {TrackingDetails} */
1073
- declare function TrackingDetails(): TrackingDetails;
1074
- type TrackingDetails = {
1075
- created_ts?: string;
1076
- is_current?: boolean;
1077
- is_passed?: boolean;
1078
- status?: string;
1079
- time?: string;
1080
- tracking_details?: NestedTrackingDetails[];
1081
- value?: string;
1082
- };
1083
1085
  /** @returns {UpdateShipmentStatusRequest} */
1084
1086
  declare function UpdateShipmentStatusRequest(): UpdateShipmentStatusRequest;
1085
1087
  type UpdateShipmentStatusRequest = {
1086
- force_transition?: boolean;
1087
- lock_after_transition?: boolean;
1088
1088
  statuses?: StatuesRequest[];
1089
1089
  task?: boolean;
1090
+ lock_after_transition?: boolean;
1091
+ force_transition?: boolean;
1090
1092
  unlock_before_transition?: boolean;
1091
1093
  };
1092
- /** @returns {UserInfo} */
1093
- declare function UserInfo(): UserInfo;
1094
- type UserInfo = {
1095
- email?: string;
1096
- first_name?: string;
1097
- gender?: string;
1098
- last_name?: string;
1099
- mobile?: string;
1100
- name?: string;
1094
+ /** @returns {StatusesBodyResponse} */
1095
+ declare function StatusesBodyResponse(): StatusesBodyResponse;
1096
+ type StatusesBodyResponse = {
1097
+ shipments?: any[];
1101
1098
  };
1102
- /** @returns {VerifyOtp} */
1103
- declare function VerifyOtp(): VerifyOtp;
1104
- type VerifyOtp = {
1105
- otp_code?: string;
1106
- request_id?: string;
1099
+ /** @returns {ShipmentApplicationStatusResponse} */
1100
+ declare function ShipmentApplicationStatusResponse(): ShipmentApplicationStatusResponse;
1101
+ type ShipmentApplicationStatusResponse = {
1102
+ statuses?: StatusesBodyResponse[];
1107
1103
  };
1108
- /** @returns {VerifyOtpResponse} */
1109
- declare function VerifyOtpResponse(): VerifyOtpResponse;
1110
- type VerifyOtpResponse = {
1111
- success?: boolean;
1104
+ /** @returns {ErrorResponse} */
1105
+ declare function ErrorResponse(): ErrorResponse;
1106
+ type ErrorResponse = {
1107
+ code?: string;
1108
+ message?: string;
1109
+ status?: number;
1110
+ exception?: string;
1111
+ stack_trace?: string;
1112
1112
  };