@gofynd/fdk-client-javascript 1.4.2-beta.1 → 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.
- package/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/Cart/CartApplicationModel.d.ts +1742 -1726
- package/sdk/application/Cart/CartApplicationModel.js +1497 -1481
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +1917 -1917
- package/sdk/application/Catalog/CatalogApplicationModel.js +1611 -1611
- package/sdk/application/Common/CommonApplicationModel.d.ts +235 -235
- package/sdk/application/Common/CommonApplicationModel.js +172 -172
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +72 -72
- package/sdk/application/Communication/CommunicationApplicationModel.js +64 -64
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1614 -1614
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +1151 -1151
- package/sdk/application/Content/ContentApplicationModel.d.ts +797 -797
- package/sdk/application/Content/ContentApplicationModel.js +757 -757
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +79 -79
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +84 -84
- package/sdk/application/Lead/LeadApplicationModel.d.ts +417 -417
- package/sdk/application/Lead/LeadApplicationModel.js +301 -301
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +666 -666
- package/sdk/application/Logistic/LogisticApplicationModel.js +601 -601
- package/sdk/application/Order/OrderApplicationModel.d.ts +846 -846
- package/sdk/application/Order/OrderApplicationModel.js +822 -822
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +5 -5
- package/sdk/application/Payment/PaymentApplicationClient.js +10 -10
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +2155 -2150
- package/sdk/application/Payment/PaymentApplicationModel.js +1460 -1458
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +5 -5
- package/sdk/application/Payment/PaymentApplicationValidator.js +3 -3
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1462 -1462
- package/sdk/application/PosCart/PosCartApplicationModel.js +1260 -1260
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +214 -214
- package/sdk/application/Rewards/RewardsApplicationModel.js +211 -211
- package/sdk/application/Share/ShareApplicationModel.d.ts +114 -114
- package/sdk/application/Share/ShareApplicationModel.js +121 -121
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +895 -895
- package/sdk/application/Theme/ThemeApplicationModel.js +684 -684
- package/sdk/application/User/UserApplicationModel.d.ts +762 -762
- package/sdk/application/User/UserApplicationModel.js +738 -738
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +63 -63
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +65 -65
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +661 -661
- package/sdk/partner/Lead/LeadPartnerModel.js +491 -491
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +223 -223
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +235 -235
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +1087 -1087
- package/sdk/partner/Theme/ThemePartnerModel.js +819 -819
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +386 -386
- package/sdk/partner/Webhook/WebhookPartnerModel.js +342 -342
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +123 -123
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +109 -109
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +801 -801
- package/sdk/platform/Billing/BillingPlatformModel.js +783 -783
- package/sdk/platform/Cart/CartPlatformModel.d.ts +3333 -3317
- package/sdk/platform/Cart/CartPlatformModel.js +2936 -2920
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1013 -1013
- package/sdk/platform/Catalog/CatalogPlatformModel.js +923 -923
- package/sdk/platform/Common/CommonPlatformModel.d.ts +255 -255
- package/sdk/platform/Common/CommonPlatformModel.js +187 -187
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1238 -1238
- package/sdk/platform/Communication/CommunicationPlatformModel.js +1273 -1273
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +661 -661
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +692 -692
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +3198 -3198
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2247 -2247
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1833 -1833
- package/sdk/platform/Content/ContentPlatformModel.js +1837 -1837
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +245 -245
- package/sdk/platform/Discount/DiscountPlatformModel.js +248 -248
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +865 -865
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +877 -877
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +1044 -1044
- package/sdk/platform/Finance/FinancePlatformModel.js +974 -974
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +942 -942
- package/sdk/platform/Inventory/InventoryPlatformModel.js +1003 -1003
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +608 -608
- package/sdk/platform/Lead/LeadPlatformModel.js +465 -465
- package/sdk/platform/Order/OrderPlatformModel.d.ts +5180 -5176
- package/sdk/platform/Order/OrderPlatformModel.js +4740 -4736
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +22 -22
- package/sdk/platform/Partner/PartnerPlatformModel.js +22 -22
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2670 -2660
- package/sdk/platform/Payment/PaymentPlatformModel.js +1831 -1827
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +204 -204
- package/sdk/platform/Rewards/RewardsPlatformModel.js +199 -199
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1505 -1507
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1532 -1536
- package/sdk/platform/Share/SharePlatformModel.d.ts +147 -147
- package/sdk/platform/Share/SharePlatformModel.js +139 -139
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +1046 -1046
- package/sdk/platform/Theme/ThemePlatformModel.js +789 -789
- package/sdk/platform/User/UserPlatformModel.d.ts +758 -758
- package/sdk/platform/User/UserPlatformModel.js +643 -643
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +439 -439
- package/sdk/platform/Webhook/WebhookPlatformModel.js +364 -364
- package/sdk/public/Billing/BillingPublicModel.d.ts +55 -55
- package/sdk/public/Billing/BillingPublicModel.js +51 -51
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +237 -237
- package/sdk/public/Configuration/ConfigurationPublicModel.js +174 -174
- package/sdk/public/Content/ContentPublicModel.d.ts +26 -26
- package/sdk/public/Content/ContentPublicModel.js +28 -28
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +237 -237
- package/sdk/public/Inventory/InventoryPublicModel.js +257 -257
- package/sdk/public/Partner/PartnerPublicModel.d.ts +104 -104
- package/sdk/public/Partner/PartnerPublicModel.js +113 -113
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +87 -87
- package/sdk/public/Webhook/WebhookPublicModel.js +93 -93
|
@@ -1,192 +1,161 @@
|
|
|
1
1
|
export = OrderApplicationModel;
|
|
2
2
|
/**
|
|
3
|
-
* @typedef
|
|
4
|
-
* @property {string} [
|
|
5
|
-
* @property {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
* @
|
|
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
|
|
30
|
-
* @property {string} [
|
|
31
|
-
* @property {
|
|
32
|
-
* @property {
|
|
33
|
-
* @property {string
|
|
34
|
-
* @property {
|
|
35
|
-
* @property {
|
|
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
|
|
39
|
-
* @property {
|
|
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 {
|
|
45
|
-
* @property {string} [
|
|
46
|
-
* @property {
|
|
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
|
|
68
|
-
* @property {string} [
|
|
69
|
-
* @property {string} [
|
|
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
|
|
73
|
-
* @property {string} [
|
|
74
|
-
* @property {string} [
|
|
75
|
-
* @property {string} [display]
|
|
37
|
+
* @typedef ShipmentUserInfo
|
|
38
|
+
* @property {string} [first_name]
|
|
39
|
+
* @property {string} [gender]
|
|
76
40
|
* @property {string} [name]
|
|
77
|
-
* @property {
|
|
41
|
+
* @property {string} [last_name]
|
|
42
|
+
* @property {string} [mobile]
|
|
43
|
+
* @property {string} [email]
|
|
78
44
|
*/
|
|
79
45
|
/**
|
|
80
|
-
* @typedef
|
|
81
|
-
* @property {
|
|
46
|
+
* @typedef FulfillingStore
|
|
47
|
+
* @property {number} [id]
|
|
48
|
+
* @property {string} [code]
|
|
82
49
|
* @property {string} [name]
|
|
83
|
-
* @property {string} [
|
|
84
|
-
* @property {
|
|
50
|
+
* @property {string} [company_name]
|
|
51
|
+
* @property {number} [company_id]
|
|
85
52
|
*/
|
|
86
53
|
/**
|
|
87
|
-
* @typedef
|
|
88
|
-
* @property {string} [
|
|
89
|
-
* @property {string} [
|
|
90
|
-
* @property {string} [
|
|
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
|
|
96
|
-
* @property {
|
|
97
|
-
* @property {
|
|
60
|
+
* @typedef Invoice
|
|
61
|
+
* @property {string} [invoice_url]
|
|
62
|
+
* @property {string} [updated_date]
|
|
63
|
+
* @property {string} [label_url]
|
|
98
64
|
*/
|
|
99
65
|
/**
|
|
100
|
-
* @typedef
|
|
101
|
-
* @property {
|
|
102
|
-
* @property {string} [
|
|
103
|
-
* @property {
|
|
104
|
-
* @property {string} [
|
|
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
|
|
127
|
-
* @property {
|
|
128
|
-
* @property {
|
|
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
|
|
132
|
-
* @property {
|
|
133
|
-
* @property {
|
|
83
|
+
* @typedef TimeStampData
|
|
84
|
+
* @property {string} [min]
|
|
85
|
+
* @property {string} [max]
|
|
134
86
|
*/
|
|
135
87
|
/**
|
|
136
|
-
* @typedef
|
|
137
|
-
* @property {
|
|
138
|
-
* @property {
|
|
88
|
+
* @typedef Promise
|
|
89
|
+
* @property {boolean} [show_promise]
|
|
90
|
+
* @property {TimeStampData} [timestamp]
|
|
139
91
|
*/
|
|
140
92
|
/**
|
|
141
|
-
* @typedef
|
|
142
|
-
* @property {
|
|
143
|
-
* @property {
|
|
144
|
-
* @property {
|
|
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
|
|
150
|
-
* @property {
|
|
151
|
-
* @property {number} [
|
|
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} [
|
|
155
|
-
* @property {number} [
|
|
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 {
|
|
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 {
|
|
166
|
-
* @property {
|
|
167
|
-
* @property {
|
|
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} [
|
|
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 {
|
|
173
|
-
* @property {
|
|
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
|
|
180
|
-
* @property {
|
|
124
|
+
* @typedef ItemBrand
|
|
125
|
+
* @property {string} [logo]
|
|
181
126
|
* @property {string} [name]
|
|
182
127
|
*/
|
|
183
128
|
/**
|
|
184
|
-
* @typedef
|
|
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
|
|
198
|
-
* @property {
|
|
199
|
-
* @property {
|
|
200
|
-
* @property {
|
|
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
|
|
204
|
-
* @property {
|
|
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} [
|
|
214
|
-
* @property {string} [
|
|
215
|
-
* @property {string} [slug_key]
|
|
199
|
+
* @property {string} [status]
|
|
200
|
+
* @property {string} [journey_type]
|
|
216
201
|
*/
|
|
217
202
|
/**
|
|
218
|
-
* @typedef
|
|
219
|
-
* @property {string} [
|
|
220
|
-
* @property {
|
|
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
|
|
224
|
-
* @property {
|
|
225
|
-
* @property {
|
|
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
|
|
231
|
-
* @property {
|
|
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
|
|
235
|
-
* @property {
|
|
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
|
|
239
|
-
* @property {
|
|
240
|
-
* @property {
|
|
241
|
-
* @property {OrderPage} [page]
|
|
294
|
+
* @typedef BagsForReorderArticleAssignment
|
|
295
|
+
* @property {string} [strategy]
|
|
296
|
+
* @property {string} [level]
|
|
242
297
|
*/
|
|
243
298
|
/**
|
|
244
|
-
* @typedef
|
|
245
|
-
* @property {
|
|
246
|
-
* @property {
|
|
247
|
-
* @property {number} [
|
|
248
|
-
* @property {
|
|
249
|
-
* @property {
|
|
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 {
|
|
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 {
|
|
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
|
|
270
|
-
* @property {
|
|
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
|
|
295
|
-
* @property {
|
|
296
|
-
* @property {
|
|
297
|
-
* @property {
|
|
329
|
+
* @typedef OrderList
|
|
330
|
+
* @property {OrderPage} [page]
|
|
331
|
+
* @property {OrderSchema[]} [items]
|
|
332
|
+
* @property {OrderFilters} [filters]
|
|
298
333
|
*/
|
|
299
334
|
/**
|
|
300
|
-
* @typedef
|
|
301
|
-
* @property {
|
|
302
|
-
* @property {
|
|
335
|
+
* @typedef ApefaceApiError
|
|
336
|
+
* @property {string} [message]
|
|
337
|
+
* @property {boolean} [success]
|
|
303
338
|
*/
|
|
304
339
|
/**
|
|
305
|
-
* @typedef
|
|
306
|
-
* @property {
|
|
307
|
-
* @property {number} [line_number]
|
|
340
|
+
* @typedef OrderById
|
|
341
|
+
* @property {OrderSchema} [order]
|
|
308
342
|
*/
|
|
309
343
|
/**
|
|
310
|
-
* @typedef
|
|
311
|
-
* @property {
|
|
312
|
-
* @property {ProductsReasonsFilters[]} [filters]
|
|
344
|
+
* @typedef ShipmentById
|
|
345
|
+
* @property {Shipments} [shipment]
|
|
313
346
|
*/
|
|
314
347
|
/**
|
|
315
|
-
* @typedef
|
|
316
|
-
* @property {
|
|
317
|
-
* @property {
|
|
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
|
|
321
|
-
* @property {string} [
|
|
322
|
-
* @property {
|
|
323
|
-
* @property {
|
|
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
|
|
327
|
-
* @property {
|
|
328
|
-
* @property {TimeStampData} [timestamp]
|
|
366
|
+
* @typedef ShipmentTrack
|
|
367
|
+
* @property {Track[]} [results]
|
|
329
368
|
*/
|
|
330
369
|
/**
|
|
331
|
-
* @typedef
|
|
332
|
-
* @property {string} [
|
|
333
|
-
* @property {
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
* @
|
|
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 {
|
|
380
|
+
* @property {string} [message]
|
|
352
381
|
* @property {boolean} [success]
|
|
382
|
+
* @property {number} [resend_timer]
|
|
353
383
|
*/
|
|
354
384
|
/**
|
|
355
|
-
* @typedef
|
|
356
|
-
* @property {
|
|
385
|
+
* @typedef VerifyOtp
|
|
386
|
+
* @property {string} [otp_code]
|
|
387
|
+
* @property {string} [request_id]
|
|
357
388
|
*/
|
|
358
389
|
/**
|
|
359
|
-
* @typedef
|
|
360
|
-
* @property {BagReasons[]} [reasons]
|
|
390
|
+
* @typedef VerifyOtpResponse
|
|
361
391
|
* @property {boolean} [success]
|
|
362
392
|
*/
|
|
363
393
|
/**
|
|
364
|
-
* @typedef
|
|
365
|
-
* @property {
|
|
394
|
+
* @typedef BagReasonMeta
|
|
395
|
+
* @property {boolean} [show_text_area]
|
|
366
396
|
*/
|
|
367
397
|
/**
|
|
368
|
-
* @typedef
|
|
398
|
+
* @typedef QuestionSet
|
|
399
|
+
* @property {number} [id]
|
|
369
400
|
* @property {string} [display_name]
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
* @
|
|
373
|
-
* @property {string} [
|
|
374
|
-
* @property {
|
|
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 {
|
|
423
|
+
* @property {string} [flow]
|
|
384
424
|
*/
|
|
385
425
|
/**
|
|
386
426
|
* @typedef ShipmentReasons
|
|
387
427
|
* @property {ShipmentReason[]} [reasons]
|
|
388
428
|
*/
|
|
389
429
|
/**
|
|
390
|
-
* @typedef
|
|
391
|
-
* @property {
|
|
392
|
-
* @property {
|
|
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
|
|
431
|
-
* @property {
|
|
432
|
-
* @property {
|
|
433
|
-
* @property {
|
|
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
|
|
438
|
-
* @property {
|
|
439
|
-
* @property {
|
|
440
|
-
* @property {string} [value]
|
|
441
|
+
* @typedef ProductsReasons
|
|
442
|
+
* @property {ProductsReasonsData} [data]
|
|
443
|
+
* @property {ProductsReasonsFilters[]} [filters]
|
|
441
444
|
*/
|
|
442
445
|
/**
|
|
443
|
-
* @typedef
|
|
444
|
-
* @property {number} [
|
|
445
|
-
* @property {
|
|
446
|
-
* @property {number} [total_price]
|
|
446
|
+
* @typedef EntityReasonData
|
|
447
|
+
* @property {number} [reason_id]
|
|
448
|
+
* @property {string} [reason_text]
|
|
447
449
|
*/
|
|
448
450
|
/**
|
|
449
|
-
* @typedef
|
|
450
|
-
* @property {
|
|
451
|
+
* @typedef EntitiesReasons
|
|
452
|
+
* @property {EntityReasonData} [data]
|
|
453
|
+
* @property {Object[]} [filters]
|
|
451
454
|
*/
|
|
452
455
|
/**
|
|
453
|
-
* @typedef
|
|
454
|
-
* @property {
|
|
455
|
-
* @property {
|
|
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
|
|
463
|
-
* @property {
|
|
464
|
-
* @property {
|
|
465
|
-
* @property {string} [
|
|
461
|
+
* @typedef Products
|
|
462
|
+
* @property {number} [line_number]
|
|
463
|
+
* @property {number} [quantity]
|
|
464
|
+
* @property {string} [identifier]
|
|
466
465
|
*/
|
|
467
466
|
/**
|
|
468
|
-
* @typedef
|
|
469
|
-
* @property {
|
|
467
|
+
* @typedef ProductsDataUpdatesFilters
|
|
468
|
+
* @property {number} [line_number]
|
|
469
|
+
* @property {string} [identifier]
|
|
470
470
|
*/
|
|
471
471
|
/**
|
|
472
|
-
* @typedef
|
|
473
|
-
* @property {
|
|
474
|
-
* @property {
|
|
472
|
+
* @typedef ProductsDataUpdates
|
|
473
|
+
* @property {Object} [data]
|
|
474
|
+
* @property {ProductsDataUpdatesFilters[]} [filters]
|
|
475
475
|
*/
|
|
476
476
|
/**
|
|
477
|
-
* @typedef
|
|
478
|
-
* @property {
|
|
479
|
-
* @property {
|
|
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
|
|
489
|
-
* @property {
|
|
490
|
-
* @property {
|
|
491
|
-
|
|
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
|
|
507
|
-
* @property {
|
|
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
|
|
516
|
-
* @property {
|
|
517
|
-
* @property {string} [request_id]
|
|
512
|
+
* @typedef ShipmentApplicationStatusResponse
|
|
513
|
+
* @property {StatusesBodyResponse[]} [statuses]
|
|
518
514
|
*/
|
|
519
515
|
/**
|
|
520
|
-
* @typedef
|
|
521
|
-
* @property {
|
|
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 {
|
|
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 {
|
|
529
|
-
declare function
|
|
530
|
-
type
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
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 {
|
|
543
|
-
declare function
|
|
544
|
-
type
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
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
|
-
|
|
550
|
+
value?: number;
|
|
609
551
|
currency_symbol?: string;
|
|
610
|
-
display?: string;
|
|
611
552
|
name?: string;
|
|
612
|
-
|
|
553
|
+
display?: string;
|
|
554
|
+
currency_code?: string;
|
|
613
555
|
};
|
|
614
|
-
/** @returns {
|
|
615
|
-
declare function
|
|
616
|
-
type
|
|
617
|
-
|
|
618
|
-
|
|
556
|
+
/** @returns {ShipmentPayment} */
|
|
557
|
+
declare function ShipmentPayment(): ShipmentPayment;
|
|
558
|
+
type ShipmentPayment = {
|
|
559
|
+
mop?: string;
|
|
560
|
+
payment_mode?: string;
|
|
619
561
|
status?: string;
|
|
620
|
-
|
|
562
|
+
mode?: string;
|
|
563
|
+
logo?: string;
|
|
564
|
+
display_name?: string;
|
|
621
565
|
};
|
|
622
|
-
/** @returns {
|
|
623
|
-
declare function
|
|
624
|
-
type
|
|
625
|
-
|
|
566
|
+
/** @returns {ShipmentUserInfo} */
|
|
567
|
+
declare function ShipmentUserInfo(): ShipmentUserInfo;
|
|
568
|
+
type ShipmentUserInfo = {
|
|
569
|
+
first_name?: string;
|
|
570
|
+
gender?: string;
|
|
626
571
|
name?: string;
|
|
627
|
-
|
|
628
|
-
|
|
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 {
|
|
738
|
-
declare function
|
|
739
|
-
type
|
|
740
|
-
|
|
741
|
-
|
|
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 {
|
|
781
|
-
declare function
|
|
782
|
-
type
|
|
783
|
-
|
|
618
|
+
/** @returns {TimeStampData} */
|
|
619
|
+
declare function TimeStampData(): TimeStampData;
|
|
620
|
+
type TimeStampData = {
|
|
621
|
+
min?: string;
|
|
622
|
+
max?: string;
|
|
784
623
|
};
|
|
785
|
-
/** @returns {
|
|
786
|
-
declare function
|
|
787
|
-
type
|
|
788
|
-
|
|
624
|
+
/** @returns {Promise} */
|
|
625
|
+
declare function Promise(): Promise;
|
|
626
|
+
type Promise = {
|
|
627
|
+
show_promise?: boolean;
|
|
628
|
+
timestamp?: TimeStampData;
|
|
789
629
|
};
|
|
790
|
-
/** @returns {
|
|
791
|
-
declare function
|
|
792
|
-
type
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
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 {
|
|
798
|
-
declare function
|
|
799
|
-
type
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 {
|
|
826
|
-
declare function
|
|
827
|
-
type
|
|
828
|
-
|
|
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 {
|
|
852
|
-
declare function
|
|
853
|
-
type
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
884
|
+
/** @returns {OrderList} */
|
|
885
|
+
declare function OrderList(): OrderList;
|
|
886
|
+
type OrderList = {
|
|
887
|
+
page?: OrderPage;
|
|
888
|
+
items?: OrderSchema[];
|
|
889
|
+
filters?: OrderFilters;
|
|
857
890
|
};
|
|
858
|
-
/** @returns {
|
|
859
|
-
declare function
|
|
860
|
-
type
|
|
861
|
-
|
|
862
|
-
|
|
891
|
+
/** @returns {ApefaceApiError} */
|
|
892
|
+
declare function ApefaceApiError(): ApefaceApiError;
|
|
893
|
+
type ApefaceApiError = {
|
|
894
|
+
message?: string;
|
|
895
|
+
success?: boolean;
|
|
863
896
|
};
|
|
864
|
-
/** @returns {
|
|
865
|
-
declare function
|
|
866
|
-
type
|
|
867
|
-
|
|
868
|
-
line_number?: number;
|
|
897
|
+
/** @returns {OrderById} */
|
|
898
|
+
declare function OrderById(): OrderById;
|
|
899
|
+
type OrderById = {
|
|
900
|
+
order?: OrderSchema;
|
|
869
901
|
};
|
|
870
|
-
/** @returns {
|
|
871
|
-
declare function
|
|
872
|
-
type
|
|
873
|
-
|
|
874
|
-
|
|
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 {
|
|
890
|
-
declare function
|
|
891
|
-
type
|
|
892
|
-
|
|
893
|
-
|
|
1015
|
+
/** @returns {ProductsReasons} */
|
|
1016
|
+
declare function ProductsReasons(): ProductsReasons;
|
|
1017
|
+
type ProductsReasons = {
|
|
1018
|
+
data?: ProductsReasonsData;
|
|
1019
|
+
filters?: ProductsReasonsFilters[];
|
|
894
1020
|
};
|
|
895
|
-
/** @returns {
|
|
896
|
-
declare function
|
|
897
|
-
type
|
|
898
|
-
|
|
899
|
-
|
|
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 {
|
|
908
|
-
declare function
|
|
909
|
-
type
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
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 {
|
|
940
|
-
declare function
|
|
941
|
-
type
|
|
942
|
-
|
|
943
|
-
|
|
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 {
|
|
950
|
-
declare function
|
|
951
|
-
type
|
|
952
|
-
|
|
953
|
-
|
|
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 {
|
|
960
|
-
declare function
|
|
961
|
-
type
|
|
962
|
-
|
|
1058
|
+
/** @returns {EntitiesDataUpdates} */
|
|
1059
|
+
declare function EntitiesDataUpdates(): EntitiesDataUpdates;
|
|
1060
|
+
type EntitiesDataUpdates = {
|
|
1061
|
+
data?: any;
|
|
1062
|
+
filters?: any[];
|
|
963
1063
|
};
|
|
964
|
-
/** @returns {
|
|
965
|
-
declare function
|
|
966
|
-
type
|
|
967
|
-
|
|
968
|
-
|
|
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 {
|
|
1093
|
-
declare function
|
|
1094
|
-
type
|
|
1095
|
-
|
|
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 {
|
|
1103
|
-
declare function
|
|
1104
|
-
type
|
|
1105
|
-
|
|
1106
|
-
request_id?: string;
|
|
1099
|
+
/** @returns {ShipmentApplicationStatusResponse} */
|
|
1100
|
+
declare function ShipmentApplicationStatusResponse(): ShipmentApplicationStatusResponse;
|
|
1101
|
+
type ShipmentApplicationStatusResponse = {
|
|
1102
|
+
statuses?: StatusesBodyResponse[];
|
|
1107
1103
|
};
|
|
1108
|
-
/** @returns {
|
|
1109
|
-
declare function
|
|
1110
|
-
type
|
|
1111
|
-
|
|
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
|
};
|