@gofynd/fdk-client-javascript 1.4.8-beta.3 → 1.4.9

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 (189) hide show
  1. package/README.md +26 -1
  2. package/package.json +2 -2
  3. package/sdk/application/ApplicationClient.d.ts +8 -0
  4. package/sdk/application/ApplicationClient.js +14 -0
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +20 -20
  6. package/sdk/application/Cart/CartApplicationClient.js +20 -20
  7. package/sdk/application/Cart/CartApplicationModel.d.ts +2446 -664
  8. package/sdk/application/Cart/CartApplicationModel.js +783 -552
  9. package/sdk/application/Cart/CartApplicationValidator.d.ts +268 -194
  10. package/sdk/application/Cart/CartApplicationValidator.js +100 -114
  11. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +53 -53
  12. package/sdk/application/Catalog/CatalogApplicationClient.js +53 -53
  13. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2012 -503
  14. package/sdk/application/Catalog/CatalogApplicationModel.js +603 -453
  15. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +64 -64
  16. package/sdk/application/Catalog/CatalogApplicationValidator.js +32 -32
  17. package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
  18. package/sdk/application/Common/CommonApplicationClient.js +2 -2
  19. package/sdk/application/Common/CommonApplicationModel.d.ts +170 -90
  20. package/sdk/application/Common/CommonApplicationModel.js +59 -58
  21. package/sdk/application/Common/CommonApplicationValidator.d.ts +8 -5
  22. package/sdk/application/Common/CommonApplicationValidator.js +3 -3
  23. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +2 -2
  24. package/sdk/application/Communication/CommunicationApplicationClient.js +2 -2
  25. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +170 -35
  26. package/sdk/application/Communication/CommunicationApplicationModel.js +54 -33
  27. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +15 -15
  28. package/sdk/application/Configuration/ConfigurationApplicationClient.js +15 -15
  29. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +624 -443
  30. package/sdk/application/Configuration/ConfigurationApplicationModel.js +259 -248
  31. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +32 -24
  32. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +14 -13
  33. package/sdk/application/Content/ContentApplicationClient.d.ts +16 -16
  34. package/sdk/application/Content/ContentApplicationClient.js +16 -16
  35. package/sdk/application/Content/ContentApplicationModel.d.ts +1205 -282
  36. package/sdk/application/Content/ContentApplicationModel.js +341 -277
  37. package/sdk/application/Content/ContentApplicationValidator.d.ts +28 -17
  38. package/sdk/application/Content/ContentApplicationValidator.js +11 -10
  39. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +3 -3
  40. package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
  41. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +146 -37
  42. package/sdk/application/FileStorage/FileStorageApplicationModel.js +38 -36
  43. package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -3
  44. package/sdk/application/Lead/LeadApplicationClient.js +3 -3
  45. package/sdk/application/Lead/LeadApplicationModel.d.ts +195 -134
  46. package/sdk/application/Lead/LeadApplicationModel.js +110 -67
  47. package/sdk/application/Lead/LeadApplicationValidator.d.ts +8 -8
  48. package/sdk/application/Lead/LeadApplicationValidator.js +4 -4
  49. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +10 -10
  50. package/sdk/application/Logistic/LogisticApplicationClient.js +10 -10
  51. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +1039 -221
  52. package/sdk/application/Logistic/LogisticApplicationModel.js +342 -199
  53. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +76 -82
  54. package/sdk/application/Logistic/LogisticApplicationValidator.js +38 -41
  55. package/sdk/application/Order/OrderApplicationClient.d.ts +10 -10
  56. package/sdk/application/Order/OrderApplicationClient.js +10 -10
  57. package/sdk/application/Order/OrderApplicationModel.d.ts +1400 -325
  58. package/sdk/application/Order/OrderApplicationModel.js +391 -317
  59. package/sdk/application/Order/OrderApplicationValidator.d.ts +32 -30
  60. package/sdk/application/Order/OrderApplicationValidator.js +15 -14
  61. package/sdk/application/Payment/PaymentApplicationClient.d.ts +43 -43
  62. package/sdk/application/Payment/PaymentApplicationClient.js +43 -43
  63. package/sdk/application/Payment/PaymentApplicationModel.d.ts +1111 -1022
  64. package/sdk/application/Payment/PaymentApplicationModel.js +537 -521
  65. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +82 -49
  66. package/sdk/application/Payment/PaymentApplicationValidator.js +30 -30
  67. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +28 -7
  68. package/sdk/application/Rewards/RewardsApplicationModel.js +7 -7
  69. package/sdk/application/Share/ShareApplicationModel.d.ts +178 -38
  70. package/sdk/application/Share/ShareApplicationModel.js +53 -37
  71. package/sdk/application/Share/ShareApplicationValidator.d.ts +4 -2
  72. package/sdk/application/Share/ShareApplicationValidator.js +2 -1
  73. package/sdk/application/Theme/ThemeApplicationClient.d.ts +4 -4
  74. package/sdk/application/Theme/ThemeApplicationClient.js +14 -8
  75. package/sdk/application/Theme/ThemeApplicationModel.d.ts +528 -287
  76. package/sdk/application/Theme/ThemeApplicationModel.js +208 -172
  77. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +17 -12
  78. package/sdk/application/Theme/ThemeApplicationValidator.js +8 -6
  79. package/sdk/application/User/UserApplicationClient.d.ts +36 -36
  80. package/sdk/application/User/UserApplicationClient.js +36 -36
  81. package/sdk/application/User/UserApplicationModel.d.ts +1062 -255
  82. package/sdk/application/User/UserApplicationModel.js +298 -244
  83. package/sdk/application/User/UserApplicationValidator.d.ts +80 -80
  84. package/sdk/application/User/UserApplicationValidator.js +40 -40
  85. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +1 -1
  86. package/sdk/application/Webhook/WebhookApplicationClient.js +1 -1
  87. package/sdk/application/Webhook/WebhookApplicationModel.d.ts +20 -5
  88. package/sdk/application/Webhook/WebhookApplicationModel.js +5 -5
  89. package/sdk/common/Clickstream.js +95 -15
  90. package/sdk/common/Constant.d.ts +9 -0
  91. package/sdk/common/Constant.js +11 -0
  92. package/sdk/common/Utility.js +19 -0
  93. package/sdk/common/utils.js +8 -1
  94. package/sdk/partner/Lead/LeadPartnerModel.d.ts +28 -7
  95. package/sdk/partner/Lead/LeadPartnerModel.js +7 -7
  96. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +28 -7
  97. package/sdk/partner/Logistics/LogisticsPartnerModel.js +7 -7
  98. package/sdk/partner/PartnerClient.d.ts +8 -0
  99. package/sdk/partner/PartnerClient.js +14 -0
  100. package/sdk/partner/Theme/ThemePartnerClient.d.ts +20 -0
  101. package/sdk/partner/Theme/ThemePartnerClient.js +158 -0
  102. package/sdk/partner/Theme/ThemePartnerModel.d.ts +45 -6
  103. package/sdk/partner/Theme/ThemePartnerModel.js +33 -4
  104. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +2 -0
  105. package/sdk/partner/Theme/ThemePartnerValidator.js +14 -0
  106. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +28 -7
  107. package/sdk/partner/Webhook/WebhookPartnerModel.js +7 -7
  108. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +28 -7
  109. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +7 -7
  110. package/sdk/platform/Billing/BillingPlatformClient.d.ts +6 -397
  111. package/sdk/platform/Billing/BillingPlatformClient.js +77 -3215
  112. package/sdk/platform/Billing/BillingPlatformModel.d.ts +621 -2021
  113. package/sdk/platform/Billing/BillingPlatformModel.js +353 -2405
  114. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +12 -451
  115. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -483
  116. package/sdk/platform/Cart/CartPlatformModel.d.ts +28 -7
  117. package/sdk/platform/Cart/CartPlatformModel.js +8 -8
  118. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +12 -2
  119. package/sdk/platform/Catalog/CatalogPlatformClient.js +41 -1
  120. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +46 -12
  121. package/sdk/platform/Catalog/CatalogPlatformModel.js +14 -11
  122. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +40 -0
  123. package/sdk/platform/Catalog/CatalogPlatformValidator.js +17 -0
  124. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +28 -7
  125. package/sdk/platform/Communication/CommunicationPlatformModel.js +7 -7
  126. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +28 -7
  127. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +7 -7
  128. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +0 -97
  129. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +77 -782
  130. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +24 -701
  131. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +7 -539
  132. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +1 -183
  133. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +0 -134
  134. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -10
  135. package/sdk/platform/Content/ContentPlatformApplicationClient.js +0 -79
  136. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -15
  137. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +0 -13
  138. package/sdk/platform/Content/ContentPlatformModel.d.ts +58 -17
  139. package/sdk/platform/Content/ContentPlatformModel.js +28 -15
  140. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +28 -7
  141. package/sdk/platform/Discount/DiscountPlatformModel.js +7 -7
  142. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +127 -25
  143. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +37 -25
  144. package/sdk/platform/Finance/FinancePlatformClient.d.ts +28 -28
  145. package/sdk/platform/Finance/FinancePlatformClient.js +28 -28
  146. package/sdk/platform/Finance/FinancePlatformModel.d.ts +1583 -347
  147. package/sdk/platform/Finance/FinancePlatformModel.js +463 -351
  148. package/sdk/platform/Lead/LeadPlatformModel.d.ts +28 -7
  149. package/sdk/platform/Lead/LeadPlatformModel.js +7 -7
  150. package/sdk/platform/Order/OrderPlatformClient.d.ts +22 -0
  151. package/sdk/platform/Order/OrderPlatformClient.js +165 -0
  152. package/sdk/platform/Order/OrderPlatformModel.d.ts +613 -39
  153. package/sdk/platform/Order/OrderPlatformModel.js +359 -41
  154. package/sdk/platform/Order/OrderPlatformValidator.d.ts +32 -1
  155. package/sdk/platform/Order/OrderPlatformValidator.js +28 -0
  156. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +30 -9
  157. package/sdk/platform/Payment/PaymentPlatformModel.js +9 -9
  158. package/sdk/platform/PlatformClient.d.ts +8 -0
  159. package/sdk/platform/PlatformClient.js +14 -0
  160. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +28 -7
  161. package/sdk/platform/Rewards/RewardsPlatformModel.js +7 -7
  162. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +12 -9
  163. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +12 -9
  164. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +120 -22
  165. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +76 -21
  166. package/sdk/platform/Share/SharePlatformModel.d.ts +28 -7
  167. package/sdk/platform/Share/SharePlatformModel.js +7 -7
  168. package/sdk/platform/Theme/ThemePlatformModel.d.ts +18 -5
  169. package/sdk/platform/Theme/ThemePlatformModel.js +7 -4
  170. package/sdk/platform/User/UserPlatformModel.d.ts +18 -18
  171. package/sdk/platform/User/UserPlatformModel.js +9 -9
  172. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +28 -7
  173. package/sdk/platform/Webhook/WebhookPlatformModel.js +7 -7
  174. package/sdk/public/PublicClient.d.ts +0 -4
  175. package/sdk/public/PublicClient.js +0 -8
  176. package/sdk/public/index.d.ts +0 -2
  177. package/sdk/public/index.js +0 -4
  178. package/sdk/public/Billing/BillingPublicClient.d.ts +0 -45
  179. package/sdk/public/Billing/BillingPublicClient.js +0 -269
  180. package/sdk/public/Billing/BillingPublicModel.d.ts +0 -434
  181. package/sdk/public/Billing/BillingPublicModel.js +0 -395
  182. package/sdk/public/Billing/BillingPublicValidator.d.ts +0 -34
  183. package/sdk/public/Billing/BillingPublicValidator.js +0 -38
  184. package/sdk/public/Inventory/InventoryPublicClient.d.ts +0 -87
  185. package/sdk/public/Inventory/InventoryPublicClient.js +0 -529
  186. package/sdk/public/Inventory/InventoryPublicModel.d.ts +0 -393
  187. package/sdk/public/Inventory/InventoryPublicModel.js +0 -448
  188. package/sdk/public/Inventory/InventoryPublicValidator.d.ts +0 -91
  189. package/sdk/public/Inventory/InventoryPublicValidator.js +0 -85
@@ -1,369 +1,429 @@
1
1
  export = OrderApplicationModel;
2
2
  /**
3
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]
4
+ * @property {string} [type] - Specifies type of pagination. If it is 'cursor'
5
+ * based or 'number' based.
6
+ * @property {number} [item_total] - Total number of items available across all
7
+ * pages. It provides a count of all the items that match the query criteria,
8
+ * regardless of pagination.
9
+ * @property {number} [current] - Specifies the current page number. It helps in
10
+ * identifying the position within the paginated results.
11
+ * @property {number} [size] - Represents the number of items on the current
12
+ * page. It indicates how many items are included in each page of the
13
+ * paginated response.
14
+ * @property {boolean} [has_next] - Indicates whether there is a next page
15
+ * available. It is true if a next page exists and false if the current page
16
+ * is the last one.
9
17
  */
10
18
  /**
11
19
  * @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]
20
+ * @property {string} [first_name] - First name of the user.
21
+ * @property {string} [gender] - Gender of the user.
22
+ * @property {string} [name] - Full name of the user (including first and last names).
23
+ * @property {string} [last_name] - Last name of the user.
24
+ * @property {string} [mobile] - Mobile number of the user.
25
+ * @property {string} [email] - Email address of the user.
18
26
  */
19
27
  /**
20
28
  * @typedef BreakupValues
21
- * @property {number} [value]
22
- * @property {string} [currency_symbol]
23
- * @property {string} [name]
24
- * @property {string} [display]
25
- * @property {string} [currency_code]
29
+ * @property {number} [value] - The numerical value associated with the entity.
30
+ * @property {string} [currency_symbol] - Symbol representing the currency used
31
+ * for the value.
32
+ * @property {string} [name] - The official name of the entity.
33
+ * @property {string} [display] - The name of the entity as it should be displayed.
34
+ * @property {string} [currency_code] - The international currency code
35
+ * representing the currency used for the value.
26
36
  */
27
37
  /**
28
38
  * @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]
39
+ * @property {string} [mop] - Abbreviation or code for the payment mode.
40
+ * @property {string} [payment_mode] - The specific payment mode used.
41
+ * @property {string} [status] - The current status of the payment.
42
+ * @property {string} [mode] - The payment mode.
43
+ * @property {string} [logo] - URL of the logo representing the payment mode.
44
+ * @property {string} [display_name] - The name to be displayed for the payment mode.
35
45
  */
36
46
  /**
37
47
  * @typedef ShipmentPaymentInfo
38
48
  * @property {string} [mop] - Stands for "Mode of Payment". This is a short code
39
49
  * (like "COD" for Cash On Delivery) that represents the payment method used.
40
50
  * @property {string} [payment_mode] - Information about the payment mode,
41
- * indicates whether COD or PREPAID
51
+ * indicates whether COD or PREPAID.
42
52
  * @property {string} [status] - Indicates the current status of the payment,
43
- * Paid or Unpaid
44
- * @property {string} [mode] - Information about the payment source. For eg, NB_ICICI
45
- * @property {string} [logo] - A URL to an image representing the payment method
53
+ * Paid or Unpaid.
54
+ * @property {string} [mode] - Information about the payment source. For eg, NB_ICICI.
55
+ * @property {string} [logo] - A URL to an image representing the payment method.
46
56
  * @property {string} [display_name] - The name of the payment method as it
47
- * should be displayed to the user
48
- * @property {number} [amount] - Amount paid using this payment method
57
+ * should be displayed to the user.
58
+ * @property {number} [amount] - Amount paid using this payment method.
49
59
  */
50
60
  /**
51
61
  * @typedef ShipmentUserInfo
52
- * @property {string} [first_name]
53
- * @property {string} [gender]
54
- * @property {string} [name]
55
- * @property {string} [last_name]
56
- * @property {string} [mobile]
57
- * @property {string} [email]
62
+ * @property {string} [first_name] - The unique identifier of the store.
63
+ * @property {string} [gender] - A code associated with the store.
64
+ * @property {string} [name] - The name of the store.
65
+ * @property {string} [last_name] - The name of the company associated with the store.
66
+ * @property {string} [mobile] - The identifier of the company associated with the store.
67
+ * @property {string} [email] - Email address of the user.
58
68
  */
59
69
  /**
60
70
  * @typedef FulfillingStore
61
- * @property {number} [id]
62
- * @property {string} [code]
63
- * @property {string} [name]
64
- * @property {string} [company_name]
65
- * @property {number} [company_id]
71
+ * @property {number} [id] - The unique identifier of the store.
72
+ * @property {string} [code] - A code associated with the store.
73
+ * @property {string} [name] - The name of the store.
74
+ * @property {string} [company_name] - The name of the company associated with the store.
75
+ * @property {number} [company_id] - The identifier of the company associated
76
+ * with the store.
66
77
  */
67
78
  /**
68
79
  * @typedef ShipmentStatus
69
- * @property {string} [value]
70
- * @property {string} [title]
71
- * @property {string} [hex_code]
80
+ * @property {string} [value] - The internal or code value representing the
81
+ * shipment status.
82
+ * @property {string} [title] - The title or display name representing the
83
+ * shipment status.
84
+ * @property {string} [hex_code] - The hexadecimal color code associated with
85
+ * the shipment status.
72
86
  */
73
87
  /**
74
88
  * @typedef Invoice
75
- * @property {string} [invoice_url]
76
- * @property {string} [updated_date]
77
- * @property {string} [label_url]
89
+ * @property {string} [invoice_url] - URL providing access to the invoice.
90
+ * @property {string} [updated_date] - The date and time when the invoice was
91
+ * last updated.
92
+ * @property {string} [label_url] - URL providing access to the invoice label.
78
93
  */
79
94
  /**
80
95
  * @typedef NestedTrackingDetails
81
- * @property {boolean} [is_passed]
82
- * @property {string} [time]
83
- * @property {boolean} [is_current]
84
- * @property {string} [status]
96
+ * @property {boolean} [is_passed] - Indicates whether the tracking event has
97
+ * passed or occurred.
98
+ * @property {string} [time] - The time associated with the tracking event.
99
+ * @property {boolean} [is_current] - Indicates whether the tracking event is
100
+ * the current or active status.
101
+ * @property {string} [status] - The status of the tracking event.
85
102
  */
86
103
  /**
87
104
  * @typedef TrackingDetails
88
- * @property {string} [value]
89
- * @property {boolean} [is_current]
90
- * @property {boolean} [is_passed]
91
- * @property {string} [status]
92
- * @property {string} [time]
93
- * @property {string} [created_ts]
94
- * @property {NestedTrackingDetails[]} [tracking_details]
105
+ * @property {string} [value] - Current value or state of the process.
106
+ * @property {boolean} [is_current] - Indicates whether the tracking event is
107
+ * the current or active status.
108
+ * @property {boolean} [is_passed] - Indicates whether the tracking event has
109
+ * passed or occurred.
110
+ * @property {string} [status] - The status of the tracking event.
111
+ * @property {string} [time] - The time associated with the tracking event.
112
+ * @property {string} [created_ts] - Timestamp when this status was created.
113
+ * @property {NestedTrackingDetails[]} [tracking_details] - Nested tracking details.
95
114
  */
96
115
  /**
97
116
  * @typedef TimeStampData
98
- * @property {string} [min]
99
- * @property {string} [max]
117
+ * @property {string} [min] - The minimum timestamp value.
118
+ * @property {string} [max] - The maximum timestamp value.
100
119
  */
101
120
  /**
102
121
  * @typedef Promise
103
- * @property {boolean} [show_promise]
122
+ * @property {boolean} [show_promise] - Indicates whether the promise details
123
+ * should be shown.
104
124
  * @property {TimeStampData} [timestamp]
105
125
  */
106
126
  /**
107
127
  * @typedef ShipmentTotalDetails
108
- * @property {number} [pieces]
109
- * @property {number} [total_price]
110
- * @property {number} [sizes]
128
+ * @property {number} [pieces] - The total number of pieces included.
129
+ * @property {number} [total_price] - The total price of the order or item.
130
+ * @property {number} [sizes] - The number of different sizes included.
111
131
  */
112
132
  /**
113
133
  * @typedef Prices
114
- * @property {number} [delivery_charge]
115
- * @property {number} [coupon_value]
116
- * @property {number} [brand_calculated_amount]
117
- * @property {number} [value_of_good]
118
- * @property {number} [price_marked]
119
- * @property {number} [coupon_effective_discount]
120
- * @property {string} [currency_symbol]
121
- * @property {number} [discount]
122
- * @property {number} [gst_tax_percentage]
123
- * @property {number} [cod_charges]
124
- * @property {number} [amount_paid]
125
- * @property {boolean} [added_to_fynd_cash]
126
- * @property {number} [transfer_price]
127
- * @property {number} [cashback_applied]
128
- * @property {number} [price_effective]
129
- * @property {number} [cashback]
130
- * @property {number} [refund_credit]
131
- * @property {number} [amount_paid_roundoff]
132
- * @property {number} [promotion_effective_discount]
133
- * @property {number} [refund_amount]
134
- * @property {string} [currency_code]
135
- * @property {number} [fynd_credits]
136
- * @property {number} [amount_to_be_collected]
134
+ * @property {number} [delivery_charge] - The delivery charge for the order.
135
+ * @property {number} [coupon_value] - The value of the coupon applied.
136
+ * @property {number} [brand_calculated_amount] - The amount calculated by the brand.
137
+ * @property {number} [value_of_good] - The value of the goods before tax and
138
+ * other charges.
139
+ * @property {number} [price_marked] - The original marked price of the item.
140
+ * @property {number} [coupon_effective_discount] - The effective discount from coupons.
141
+ * @property {string} [currency_symbol] - The symbol of the currency used.
142
+ * @property {number} [discount] - The discount applied to the item.
143
+ * @property {number} [gst_tax_percentage] - The GST tax percentage applied.
144
+ * @property {number} [cod_charges] - The cash on delivery charges, if applicable.
145
+ * @property {number} [amount_paid] - The total amount paid by the customer.
146
+ * @property {boolean} [added_to_fynd_cash] - Indicates if the refund amount was
147
+ * added to Fynd Cash.
148
+ * @property {number} [transfer_price] - The transfer price of the item.
149
+ * @property {number} [cashback_applied] - The amount of cashback applied.
150
+ * @property {number} [price_effective] - The effective price after all adjustments.
151
+ * @property {number} [cashback] - The cashback amount earned.
152
+ * @property {number} [refund_credit] - The amount credited for refund .
153
+ * @property {number} [amount_paid_roundoff] - The rounded-off amount paid by
154
+ * the customer.
155
+ * @property {number} [promotion_effective_discount] - The effective discount
156
+ * from promotions.
157
+ * @property {number} [refund_amount] - The amount refunded to the customer.
158
+ * @property {string} [currency_code] - The code of the currency used.
159
+ * @property {number} [fynd_credits] - The amount of Fynd credits used.
160
+ * @property {number} [amount_to_be_collected] - The total amount that needs to
161
+ * be collected from the customer.
137
162
  */
138
163
  /**
139
164
  * @typedef ItemBrand
140
- * @property {string} [logo]
141
- * @property {string} [name]
165
+ * @property {string} [logo] - The URL of the brand's logo.
166
+ * @property {string} [name] - The name of the brand.
142
167
  */
143
168
  /**
144
169
  * @typedef Item
145
- * @property {string[]} [image]
146
- * @property {string[]} [l1_categories]
170
+ * @property {string[]} [image] - An array of URLs pointing to images of the item.
171
+ * @property {string[]} [l1_categories] - An array of level 1 categories the item belongs.
147
172
  * @property {ItemBrand} [brand]
148
- * @property {string} [seller_identifier]
149
- * @property {string} [code]
150
- * @property {number} [id]
151
- * @property {string} [name]
152
- * @property {string} [l3_category_name]
153
- * @property {string} [slug_key]
154
- * @property {string[]} [l2_categories]
155
- * @property {string} [size]
156
- * @property {Object} [attributes]
173
+ * @property {string} [seller_identifier] - The identifier for the seller .
174
+ * @property {string} [code] - The code or SKU of the item.
175
+ * @property {number} [id] - The unique identifier of the item.
176
+ * @property {string} [name] - The name of the item.
177
+ * @property {string} [l3_category_name] - The level 3 category name.
178
+ * @property {string} [slug_key] - A unique key or identifier for the item slug.
179
+ * @property {string[]} [l2_categories] - An array of level 2 categories the
180
+ * item belongs to.
181
+ * @property {string} [size] - The size of the item.
182
+ * @property {Object} [attributes] - An object containing various attributes of the item.
157
183
  */
158
184
  /**
159
185
  * @typedef AppliedFreeArticles
160
- * @property {string} [article_id]
161
- * @property {Object} [free_gift_item_details]
162
- * @property {string} [parent_item_identifier]
163
- * @property {number} [quantity]
186
+ * @property {string} [article_id] - The unique identifier for the article.
187
+ * @property {Object} [free_gift_item_details] - An object containing details
188
+ * about the free gift item.
189
+ * @property {string} [parent_item_identifier] - The identifier for the parent
190
+ * item to which this free article is related.
191
+ * @property {number} [quantity] - The quantity of the free article.
164
192
  */
165
193
  /**
166
194
  * @typedef AppliedPromos
167
- * @property {boolean} [mrp_promotion]
168
- * @property {string} [promotion_name]
169
- * @property {number} [article_quantity]
170
- * @property {string} [promo_id]
171
- * @property {number} [amount]
172
- * @property {string} [promotion_type]
173
- * @property {AppliedFreeArticles[]} [applied_free_articles]
195
+ * @property {boolean} [mrp_promotion] - Indicates if the promotion is applied to the MRP.
196
+ * @property {string} [promotion_name] - The name of the promotion .
197
+ * @property {number} [article_quantity] - The quantity of articles required to
198
+ * qualify for the promotion.
199
+ * @property {string} [promo_id] - The unique identifier for the promotion.
200
+ * @property {number} [amount] - The discount amount provided by the promotion.
201
+ * @property {string} [promotion_type] - The type of promotion.
202
+ * @property {AppliedFreeArticles[]} [applied_free_articles] - An array
203
+ * containing details of free articles applied under the promotion.
174
204
  */
175
205
  /**
176
206
  * @typedef Identifiers
177
- * @property {string} [ean]
178
- * @property {string} [sku_code]
207
+ * @property {string} [ean] - The European Article Number (EAN) of the item.
208
+ * @property {string} [sku_code] - The Stock Keeping Unit (SKU) code of the item.
179
209
  */
180
210
  /**
181
211
  * @typedef FinancialBreakup
182
- * @property {number} [coupon_value]
183
- * @property {number} [delivery_charge]
184
- * @property {number} [brand_calculated_amount]
185
- * @property {number} [value_of_good]
186
- * @property {number} [price_marked]
187
- * @property {number} [coupon_effective_discount]
188
- * @property {string} [hsn_code]
189
- * @property {number} [discount]
190
- * @property {number} [gst_tax_percentage]
191
- * @property {number} [cod_charges]
192
- * @property {number} [amount_paid]
193
- * @property {boolean} [added_to_fynd_cash]
194
- * @property {string} [size]
195
- * @property {number} [transfer_price]
196
- * @property {number} [cashback_applied]
197
- * @property {number} [price_effective]
198
- * @property {number} [cashback]
199
- * @property {number} [refund_credit]
200
- * @property {number} [amount_paid_roundoff]
201
- * @property {number} [total_units]
212
+ * @property {number} [coupon_value] - The value of the coupon applied.
213
+ * @property {number} [delivery_charge] - The delivery charge for the order.
214
+ * @property {number} [brand_calculated_amount] - The amount calculated by the brand.
215
+ * @property {number} [value_of_good] - The value of the goods before tax and
216
+ * other charges.
217
+ * @property {number} [price_marked] - The original marked price of the item.
218
+ * @property {number} [coupon_effective_discount] - The effective discount from coupons.
219
+ * @property {string} [hsn_code] - The HSN (Harmonized System of Nomenclature)
220
+ * code of the item.
221
+ * @property {number} [discount] - The discount applied to the item.
222
+ * @property {number} [gst_tax_percentage] - The GST tax percentage applied .
223
+ * @property {number} [cod_charges] - The cash on delivery charges, if applicable.
224
+ * @property {number} [amount_paid] - The total amount paid by the customer.
225
+ * @property {boolean} [added_to_fynd_cash] - Indicates if the refund amount was
226
+ * added to Fynd Cash.
227
+ * @property {string} [size] - The size of the item .
228
+ * @property {number} [transfer_price] - The transfer price of the item.
229
+ * @property {number} [cashback_applied] - The amount of cashback applied.
230
+ * @property {number} [price_effective] - The effective price after all adjustments.
231
+ * @property {number} [cashback] - The cashback amount earned.
232
+ * @property {number} [refund_credit] - The amount credited for refund .
233
+ * @property {number} [amount_paid_roundoff] - The rounded-off amount paid by
234
+ * the customer.
235
+ * @property {number} [total_units] - The total number of units purchased.
202
236
  * @property {Identifiers} [identifiers]
203
- * @property {string} [gst_tag]
204
- * @property {string} [item_name]
205
- * @property {number} [promotion_effective_discount]
206
- * @property {number} [gst_fee]
207
- * @property {number} [refund_amount]
208
- * @property {number} [fynd_credits]
209
- * @property {number} [amount_to_be_collected]
237
+ * @property {string} [gst_tag] - The GST tag indicating the type of GST applied.
238
+ * @property {string} [item_name] - The name of the item.
239
+ * @property {number} [promotion_effective_discount] - The effective discount
240
+ * from promotions.
241
+ * @property {number} [gst_fee] - The GST fee applied to the item.
242
+ * @property {number} [refund_amount] - The amount refunded to the customer.
243
+ * @property {number} [fynd_credits] - The amount of Fynd credits used.
244
+ * @property {number} [amount_to_be_collected] - The total amount that needs to
245
+ * be collected from the customer.
210
246
  */
211
247
  /**
212
248
  * @typedef CurrentStatus
213
- * @property {string} [updated_at]
214
- * @property {string} [name]
215
- * @property {string} [status]
216
- * @property {string} [journey_type]
249
+ * @property {string} [updated_at] - The date and time when the status was last updated.
250
+ * @property {string} [name] - The name or label indicating the current state or status.
251
+ * @property {string} [status] - The current status of the bag.
252
+ * @property {string} [journey_type] - The type of journey for the shipment,
253
+ * indicating the direction of the shipment.
217
254
  */
218
255
  /**
219
256
  * @typedef Bags
220
- * @property {string} [delivery_date]
221
- * @property {number} [line_number]
222
- * @property {string} [currency_symbol]
257
+ * @property {string} [delivery_date] - The date and time when the item is
258
+ * expected to be delivered .
259
+ * @property {number} [line_number] - The line number of the item in the order.
260
+ * @property {string} [currency_symbol] - The symbol of the currency used.
223
261
  * @property {Item} [item]
224
- * @property {AppliedPromos[]} [applied_promos]
225
- * @property {number} [quantity]
262
+ * @property {AppliedPromos[]} [applied_promos] - An array containing
263
+ * information about applied promotions.
264
+ * @property {number} [quantity] - The quantity of the item.
226
265
  * @property {Prices} [prices]
227
- * @property {boolean} [can_cancel]
228
- * @property {boolean} [can_return]
229
- * @property {number} [id]
230
- * @property {string} [returnable_date]
231
- * @property {FinancialBreakup[]} [financial_breakup]
232
- * @property {Object} [parent_promo_bags]
233
- * @property {Object} [meta]
234
- * @property {string} [currency_code]
235
- * @property {string} [seller_identifier]
266
+ * @property {boolean} [can_cancel] - Indicates if the item can be canceled.
267
+ * @property {boolean} [can_return] - Indicates if the item can be returned.
268
+ * @property {number} [id] - The unique identifier for the order item.
269
+ * @property {string} [returnable_date] - The last date and time by which the
270
+ * item can be returned.
271
+ * @property {FinancialBreakup[]} [financial_breakup] - An array containing
272
+ * financial details of the item.
273
+ * @property {Object} [parent_promo_bags] - An object containing details of
274
+ * parent promotional bags.
275
+ * @property {Object} [meta] - An object containing metadata for the item.
276
+ * @property {string} [currency_code] - The code of the currency used.
277
+ * @property {string} [seller_identifier] - The identifier for the seller.
236
278
  * @property {CurrentStatus} [current_status]
237
279
  * @property {Article} [article]
238
280
  */
239
281
  /**
240
282
  * @typedef FulfillingCompany
241
- * @property {number} [id]
242
- * @property {string} [name]
283
+ * @property {number} [id] - The unique identifier for the fulfilling company.
284
+ * @property {string} [name] - The name of the fulfilling company.
243
285
  */
244
286
  /**
245
287
  * @typedef Article
246
- * @property {string[]} [tags]
288
+ * @property {string[]} [tags] - An array of tags associated with the article.
247
289
  */
248
290
  /**
249
291
  * @typedef Address
250
- * @property {string} [pincode]
251
- * @property {string} [phone]
252
- * @property {number} [latitude]
253
- * @property {string} [address2]
254
- * @property {string} [landmark]
255
- * @property {string} [area]
256
- * @property {string} [city]
257
- * @property {string} [address]
258
- * @property {string} [address_type]
259
- * @property {number} [longitude]
260
- * @property {string} [country_iso_code]
261
- * @property {string} [state]
262
- * @property {string} [created_at]
263
- * @property {string} [address1]
264
- * @property {string} [display_address]
265
- * @property {string} [name]
266
- * @property {string} [contact_person]
267
- * @property {string} [address_category]
268
- * @property {string} [email]
269
- * @property {string} [country_phone_code]
270
- * @property {string} [version]
271
- * @property {string} [updated_at]
272
- * @property {string} [country]
292
+ * @property {string} [pincode] - The postal code of the address.
293
+ * @property {string} [phone] - The phone number of the person associated with
294
+ * the address.
295
+ * @property {number} [latitude] - The latitude coordinate.
296
+ * @property {string} [address2] - The secondary line of the address.
297
+ * @property {string} [landmark] - A nearby landmark.
298
+ * @property {string} [area] - The area or locality.
299
+ * @property {string} [city] - The city of the address.
300
+ * @property {string} [address] - The full address.
301
+ * @property {string} [address_type] - The type of address.
302
+ * @property {number} [longitude] - The longitude coordinate.
303
+ * @property {string} [country_iso_code] - The ISO code for the country.
304
+ * @property {string} [state] - The state of the address.
305
+ * @property {string} [created_at] - The date and time when the address was created.
306
+ * @property {string} [address1] - The primary line of the address.
307
+ * @property {string} [display_address] - The formatted display address,
308
+ * typically used for printing or displaying in user interfaces.
309
+ * @property {string} [name] - The name of the person associated with the address.
310
+ * @property {string} [contact_person] - The name of the contact person.
311
+ * @property {string} [address_category] - The category of the address.
312
+ * @property {string} [email] - The email address.
313
+ * @property {string} [country_phone_code] - The country phone code.
314
+ * @property {string} [version] - The version of the address format.
315
+ * @property {string} [updated_at] - The date and time when the address was last updated .
316
+ * @property {string} [country] - The country of the address.
273
317
  */
274
318
  /**
275
319
  * @typedef Shipments
276
320
  * @property {ShipmentPayment} [payment]
277
- * @property {ShipmentPaymentInfo[]} [payment_info] - "Array of objects
321
+ * @property {ShipmentPaymentInfo[]} [payment_info] - Array of objects
278
322
  * containing payment methods used for placing an order. Each object will
279
- * provide information about corresponding payment method with relevant details."
280
- * @property {string} [order_type]
281
- * @property {string} [gstin_code]
282
- * @property {boolean} [show_download_invoice]
283
- * @property {boolean} [can_cancel]
323
+ * provide information about corresponding payment method with relevant details.
324
+ * @property {string} [order_type] - The type of order.
325
+ * @property {string} [gstin_code] - The GSTIN code for the shipment.
326
+ * @property {boolean} [show_download_invoice] - Indicates if the download
327
+ * invoice option should be shown.
328
+ * @property {boolean} [can_cancel] - Indicates if the shipment can be canceled.
284
329
  * @property {ShipmentUserInfo} [user_info]
285
- * @property {string} [shipment_id]
330
+ * @property {string} [shipment_id] - The unique identifier for the shipment.
286
331
  * @property {FulfillingStore} [fulfilling_store]
287
- * @property {Object[]} [custom_meta]
332
+ * @property {Object[]} [custom_meta] - An object containing custom metadata for
333
+ * the shipment.
288
334
  * @property {ShipmentStatus} [shipment_status]
289
- * @property {string} [comment]
335
+ * @property {string} [comment] - Any comments related to the shipment.
290
336
  * @property {Invoice} [invoice]
291
- * @property {boolean} [show_track_link]
292
- * @property {Object} [refund_details]
293
- * @property {BreakupValues[]} [breakup_values]
294
- * @property {Object} [can_break]
295
- * @property {string} [traking_no]
296
- * @property {TrackingDetails[]} [tracking_details]
337
+ * @property {boolean} [show_track_link] - Indicates if the track link should be shown.
338
+ * @property {Object} [refund_details] - An object containing details of any refunds.
339
+ * @property {BreakupValues[]} [breakup_values] - An array containing the
340
+ * breakup of various charges and discounts.
341
+ * @property {Object} [can_break] - An object containing details about the
342
+ * breakability of the shipment.
343
+ * @property {string} [traking_no] - The tracking number for the shipment.
344
+ * @property {TrackingDetails[]} [tracking_details] - An array containing
345
+ * details of the tracking history of the shipment.
297
346
  * @property {Promise} [promise]
298
- * @property {number} [total_bags]
347
+ * @property {number} [total_bags] - The total number of bags in the shipment.
299
348
  * @property {ShipmentTotalDetails} [total_details]
300
349
  * @property {Prices} [prices]
301
- * @property {string} [returnable_date]
302
- * @property {string} [shipment_created_at]
303
- * @property {string} [shipment_created_ts]
304
- * @property {Object} [size_info]
305
- * @property {Bags[]} [bags]
306
- * @property {string} [dp_name]
307
- * @property {string} [awb_no]
308
- * @property {boolean} [beneficiary_details]
350
+ * @property {string} [returnable_date] - The last date by which the item can be returned.
351
+ * @property {string} [shipment_created_at] - The date and time when the
352
+ * shipment was created.
353
+ * @property {string} [shipment_created_ts] - The timestamp when the shipment was created.
354
+ * @property {Object} [size_info] - An object containing size information for
355
+ * the items in the shipment.
356
+ * @property {Bags[]} [bags] - An array containing details about the individual
357
+ * bags in the shipment.
358
+ * @property {string} [dp_name] - The name of the delivery partner.
359
+ * @property {string} [awb_no] - The airway bill number for the shipment.
360
+ * @property {boolean} [beneficiary_details] - Indicates if there are any
361
+ * beneficiary details.
309
362
  * @property {FulfillingCompany} [fulfilling_company]
310
- * @property {boolean} [can_return]
363
+ * @property {boolean} [can_return] - Indicates if the shipment can be returned.
311
364
  * @property {Address} [delivery_address]
312
365
  * @property {Address} [billing_address]
313
- * @property {string} [track_url]
314
- * @property {string} [order_id]
315
- * @property {string} [need_help_url]
316
- * @property {Object} [return_meta]
317
- * @property {string} [delivery_date]
366
+ * @property {string} [track_url] - The URL for tracking the shipment.
367
+ * @property {string} [order_id] - The unique identifier for the order.
368
+ * @property {string} [need_help_url] - The URL for customer support or help.
369
+ * @property {Object} [return_meta] - An object containing metadata about the
370
+ * return process.
371
+ * @property {string} [delivery_date] - The expected delivery date.
318
372
  * @property {OrderRequest} [order]
319
373
  */
320
374
  /**
321
375
  * @typedef BagsForReorderArticleAssignment
322
- * @property {string} [strategy]
323
- * @property {string} [level]
376
+ * @property {string} [strategy] - The strategy used for article assignment.
377
+ * @property {string} [level] - The level at which the article assignment is made.
324
378
  */
325
379
  /**
326
380
  * @typedef BagsForReorder
327
- * @property {string} [item_size]
328
- * @property {number} [quantity]
329
- * @property {number} [store_id]
381
+ * @property {string} [item_size] - The size of the item.
382
+ * @property {number} [quantity] - The quantity of the item.
383
+ * @property {number} [store_id] - The identifier for the store.
330
384
  * @property {BagsForReorderArticleAssignment} [article_assignment]
331
- * @property {number} [seller_id]
332
- * @property {number} [item_id]
385
+ * @property {number} [seller_id] - The identifier for the seller.
386
+ * @property {number} [item_id] - The unique identifier for the item.
333
387
  */
334
388
  /**
335
389
  * @typedef OrderSchema
336
- * @property {number} [total_shipments_in_order]
337
- * @property {string} [gstin_code]
390
+ * @property {number} [total_shipments_in_order] - The total number of shipments
391
+ * in the order.
392
+ * @property {string} [gstin_code] - The GSTIN code for the shipment.
338
393
  * @property {UserInfo} [user_info]
339
- * @property {BreakupValues[]} [breakup_values]
340
- * @property {string} [order_created_time]
341
- * @property {string} [order_created_ts]
342
- * @property {string} [order_id]
343
- * @property {Shipments[]} [shipments]
344
- * @property {BagsForReorder[]} [bags_for_reorder]
345
- * @property {Object} [meta]
394
+ * @property {BreakupValues[]} [breakup_values] - An array containing the
395
+ * breakup of various charges and discounts.
396
+ * @property {string} [order_created_time] - The date and time when the order was created.
397
+ * @property {string} [order_created_ts] - The timestamp when the order was created.
398
+ * @property {string} [order_id] - The unique identifier for the order.
399
+ * @property {Shipments[]} [shipments] - An array containing details of
400
+ * individual shipments within the order.
401
+ * @property {BagsForReorder[]} [bags_for_reorder] - An array containing details
402
+ * of bags available for reorder.
403
+ * @property {Object} [meta] - An object containing additional metadata for the order.
346
404
  */
347
405
  /**
348
406
  * @typedef OrderStatuses
349
- * @property {number} [value]
350
- * @property {boolean} [is_selected]
351
- * @property {string} [display]
407
+ * @property {number} [value] - The value representing the selection.
408
+ * @property {boolean} [is_selected] - Indicates whether this option is
409
+ * currently selected.
410
+ * @property {string} [display] - The text to display .
352
411
  */
353
412
  /**
354
413
  * @typedef OrderFilters
355
- * @property {OrderStatuses[]} [statuses]
414
+ * @property {OrderStatuses[]} [statuses] - An array containing the order statuses.
356
415
  */
357
416
  /**
358
417
  * @typedef OrderList
359
418
  * @property {OrderPage} [page]
360
- * @property {OrderSchema[]} [items]
419
+ * @property {OrderSchema[]} [items] - List of orders, each containing detailed
420
+ * information about individual orders and their respective shipments.
361
421
  * @property {OrderFilters} [filters]
362
422
  */
363
423
  /**
364
424
  * @typedef ApefaceApiError
365
- * @property {string} [message]
366
- * @property {boolean} [success]
425
+ * @property {string} [message] - Contains any message related to the operation.
426
+ * @property {boolean} [success] - Indicates if the operation was successful.
367
427
  */
368
428
  /**
369
429
  * @typedef OrderById
@@ -375,183 +435,197 @@ export = OrderApplicationModel;
375
435
  */
376
436
  /**
377
437
  * @typedef ResponseGetInvoiceShipment
378
- * @property {string} presigned_type
379
- * @property {boolean} success
380
- * @property {string} shipment_id
381
- * @property {string} presigned_url
438
+ * @property {string} presigned_type - Type of presigned URL.
439
+ * @property {boolean} success - Indicates if the operation was successful .
440
+ * @property {string} shipment_id - Identifier for the shipment.
441
+ * @property {string} presigned_url - The presigned URL for accessing the
442
+ * shipment data, obtained from the response data.
382
443
  */
383
444
  /**
384
445
  * @typedef Track
385
- * @property {string} [account_name]
386
- * @property {string} [shipment_type]
387
- * @property {string} [status]
388
- * @property {string} [last_location_recieved_at]
389
- * @property {string} [updated_time]
390
- * @property {string} [updated_at]
391
- * @property {string} [reason]
392
- * @property {string} [awb]
446
+ * @property {string} [account_name] - The name of the account handling the shipment.
447
+ * @property {string} [shipment_type] - The type of shipment.
448
+ * @property {string} [status] - The current status of the shipment.
449
+ * @property {string} [last_location_recieved_at] - The last known location of
450
+ * the shipment.
451
+ * @property {string} [updated_time] - The timestamp of the last update.
452
+ * @property {string} [updated_at] - The date and time when the shipment was last updated.
453
+ * @property {string} [reason] - The reason or additional information about the shipment.
454
+ * @property {string} [awb] - The Air Waybill (AWB) number for the shipment.
393
455
  */
394
456
  /**
395
457
  * @typedef ShipmentTrack
396
- * @property {Track[]} [results]
458
+ * @property {Track[]} [results] - A array containing tracking details.
397
459
  */
398
460
  /**
399
461
  * @typedef CustomerDetailsResponse
400
- * @property {string} [phone]
401
- * @property {string} [shipment_id]
402
- * @property {string} [name]
403
- * @property {string} [order_id]
404
- * @property {string} [country]
462
+ * @property {string} [phone] - Customer's phone number.
463
+ * @property {string} [shipment_id] - Unique identifier of the shipment.
464
+ * @property {string} [name] - Customer's name.
465
+ * @property {string} [order_id] - Unique identifier of the order.
466
+ * @property {string} [country] - Country of the customer.
405
467
  */
406
468
  /**
407
469
  * @typedef SendOtpToCustomerResponse
408
- * @property {string} [request_id]
409
- * @property {string} [message]
410
- * @property {boolean} [success]
411
- * @property {number} [resend_timer]
470
+ * @property {string} [request_id] - Unique identifier for the request.
471
+ * @property {string} [message] - Message indicating the result of the request.
472
+ * @property {boolean} [success] - Indicates whether the request was successful.
473
+ * @property {number} [resend_timer] - Time in seconds before the OTP can be resent.
412
474
  */
413
475
  /**
414
476
  * @typedef VerifyOtp
415
- * @property {string} [otp_code]
416
- * @property {string} [request_id]
477
+ * @property {string} [otp_code] - The OTP code provided by the user for verification.
478
+ * @property {string} [request_id] - Unique identifier for the request.
417
479
  */
418
480
  /**
419
481
  * @typedef VerifyOtpResponse
420
- * @property {boolean} [success]
482
+ * @property {boolean} [success] - Indicates whether the request was successful.
421
483
  */
422
484
  /**
423
485
  * @typedef BagReasonMeta
424
- * @property {boolean} [show_text_area]
486
+ * @property {boolean} [show_text_area] - Indicates whether to display a text
487
+ * box on the front end.
425
488
  */
426
489
  /**
427
490
  * @typedef QuestionSet
428
- * @property {number} [id]
429
- * @property {string} [display_name]
491
+ * @property {number} [id] - The unique identifier for the question.
492
+ * @property {string} [display_name] - The text displayed for the question.
430
493
  */
431
494
  /**
432
495
  * @typedef BagReasons
433
- * @property {string[]} [qc_type]
434
- * @property {number} [id]
435
- * @property {string} [display_name]
496
+ * @property {string[]} [qc_type] - A list of quality check types.
497
+ * @property {number} [id] - The unique identifier.
498
+ * @property {string} [display_name] - The text displayed.
436
499
  * @property {BagReasonMeta} [meta]
437
- * @property {QuestionSet[]} [question_set]
438
- * @property {BagReasons[]} [reasons]
500
+ * @property {QuestionSet[]} [question_set] - A list of questions for delivery partner.
501
+ * @property {BagReasons[]} [reasons] - A list of reasons.
439
502
  */
440
503
  /**
441
504
  * @typedef ShipmentBagReasons
442
- * @property {BagReasons[]} [reasons]
443
- * @property {boolean} [success]
505
+ * @property {BagReasons[]} [reasons] - A list of shipment's bag reasons.
506
+ * @property {boolean} [success] - Indicates if the operation was successful.
444
507
  */
445
508
  /**
446
509
  * @typedef ShipmentReason
447
- * @property {number} [priority]
448
- * @property {boolean} [show_text_area]
449
- * @property {number} [reason_id]
450
- * @property {string} [feedback_type]
451
- * @property {string} [reason_text]
452
- * @property {string} [flow]
510
+ * @property {number} [priority] - The priority level of the reason.
511
+ * @property {boolean} [show_text_area] - A flag indicating whether to show a
512
+ * textbox on the frontend.
513
+ * @property {number} [reason_id] - The unique identifier for the reason.
514
+ * @property {string} [feedback_type] - The type of feedback.
515
+ * @property {string} [reason_text] - The text describing the reason.
516
+ * @property {string} [flow] - The process flow related to the reason.
453
517
  */
454
518
  /**
455
519
  * @typedef ShipmentReasons
456
- * @property {ShipmentReason[]} [reasons]
520
+ * @property {ShipmentReason[]} [reasons] - A list of shipment reasons.
457
521
  */
458
522
  /**
459
523
  * @typedef ProductsReasonsData
460
- * @property {number} [reason_id]
461
- * @property {string} [reason_text]
524
+ * @property {number} [reason_id] - The unique identifier for the reason.
525
+ * @property {string} [reason_text] - The text describing the reason.
462
526
  */
463
527
  /**
464
528
  * @typedef ProductsReasonsFilters
465
- * @property {number} [line_number]
466
- * @property {number} [quantity]
467
- * @property {string} [identifier]
529
+ * @property {number} [line_number] - The specific line item of bag.
530
+ * @property {number} [quantity] - The quantity of the product.
531
+ * @property {string} [identifier] - The unique identifier for the product.
468
532
  */
469
533
  /**
470
534
  * @typedef ProductsReasons
471
535
  * @property {ProductsReasonsData} [data]
472
- * @property {ProductsReasonsFilters[]} [filters]
536
+ * @property {ProductsReasonsFilters[]} [filters] - Criteria applied to filter
537
+ * the products.
473
538
  */
474
539
  /**
475
540
  * @typedef EntityReasonData
476
- * @property {number} [reason_id]
477
- * @property {string} [reason_text]
541
+ * @property {number} [reason_id] - The unique identifier for the reason.
542
+ * @property {string} [reason_text] - The text describing the reason.
478
543
  */
479
544
  /**
480
545
  * @typedef EntitiesReasons
481
546
  * @property {EntityReasonData} [data]
482
- * @property {Object[]} [filters]
547
+ * @property {Object[]} [filters] - Criteria applied to filter the shipment.
483
548
  */
484
549
  /**
485
550
  * @typedef ReasonsData
486
- * @property {ProductsReasons[]} [products]
487
- * @property {EntitiesReasons[]} [entities]
551
+ * @property {ProductsReasons[]} [products] - Reasons data for bags.
552
+ * @property {EntitiesReasons[]} [entities] - Reasons data for shipments.
488
553
  */
489
554
  /**
490
555
  * @typedef Products
491
- * @property {number} [line_number]
492
- * @property {number} [quantity]
493
- * @property {string} [identifier]
556
+ * @property {number} [line_number] - The specific line item of bag.
557
+ * @property {number} [quantity] - The quantity of the product.
558
+ * @property {string} [identifier] - The unique identifier for the product.
494
559
  */
495
560
  /**
496
561
  * @typedef ProductsDataUpdatesFilters
497
- * @property {number} [line_number]
498
- * @property {string} [identifier]
562
+ * @property {number} [line_number] - The specific line item of bag.
563
+ * @property {string} [identifier] - The quantity of the product.
499
564
  */
500
565
  /**
501
566
  * @typedef ProductsDataUpdates
502
- * @property {Object} [data]
503
- * @property {ProductsDataUpdatesFilters[]} [filters]
567
+ * @property {Object} [data] - Information about the data to be updated.
568
+ * @property {ProductsDataUpdatesFilters[]} [filters] - Criteria applied to
569
+ * filter the products.
504
570
  */
505
571
  /**
506
572
  * @typedef EntitiesDataUpdates
507
- * @property {Object} [data]
508
- * @property {Object[]} [filters]
573
+ * @property {Object} [data] - Information about the data to be updated.
574
+ * @property {Object[]} [filters] - Criteria applied to filter the shipments.
509
575
  */
510
576
  /**
511
577
  * @typedef DataUpdates
512
- * @property {ProductsDataUpdates[]} [products]
513
- * @property {EntitiesDataUpdates[]} [entities]
578
+ * @property {ProductsDataUpdates[]} [products] - Data updates for bags.
579
+ * @property {EntitiesDataUpdates[]} [entities] - Data updates for shipments.
514
580
  */
515
581
  /**
516
582
  * @typedef ShipmentsRequest
517
583
  * @property {ReasonsData} [reasons]
518
- * @property {Products[]} [products]
584
+ * @property {Products[]} [products] - Specific bag to be updated.
519
585
  * @property {DataUpdates} [data_updates]
520
- * @property {string} identifier
586
+ * @property {string} identifier - The unique identifier for request which is
587
+ * the shipment_id.
521
588
  */
522
589
  /**
523
590
  * @typedef StatuesRequest
524
- * @property {ShipmentsRequest[]} [shipments]
525
- * @property {string} [exclude_bags_next_state]
526
- * @property {string} [status]
591
+ * @property {ShipmentsRequest[]} [shipments] - A list containing information
592
+ * about shipments.
593
+ * @property {string} [exclude_bags_next_state] - State to be change for
594
+ * Remaining Bag/Products.
595
+ * @property {string} [status] - The status to which the entity is to be transitioned.
527
596
  */
528
597
  /**
529
598
  * @typedef OrderRequest
530
- * @property {Object} [meta]
599
+ * @property {Object} [meta] - Metadata for the order.
531
600
  */
532
601
  /**
533
602
  * @typedef UpdateShipmentStatusRequest
534
- * @property {StatuesRequest[]} [statuses]
535
- * @property {boolean} [task]
536
- * @property {boolean} [lock_after_transition]
537
- * @property {boolean} [force_transition]
538
- * @property {boolean} [unlock_before_transition]
603
+ * @property {StatuesRequest[]} [statuses] - An array containing different status details.
604
+ * @property {boolean} [task] - Indicates whether the task is active or required.
605
+ * @property {boolean} [lock_after_transition] - Indicates whether the status
606
+ * should be locked after the transition.
607
+ * @property {boolean} [force_transition] - Indicates whether the transition
608
+ * should be forced.
609
+ * @property {boolean} [unlock_before_transition] - Indicates whether the status
610
+ * should be unlocked before the transition.
539
611
  */
540
612
  /**
541
613
  * @typedef StatusesBodyResponse
542
- * @property {Object[]} [shipments]
614
+ * @property {Object[]} [shipments] - List of shipments.
543
615
  */
544
616
  /**
545
617
  * @typedef ShipmentApplicationStatusResponse
546
- * @property {StatusesBodyResponse[]} [statuses]
618
+ * @property {StatusesBodyResponse[]} [statuses] - An array containing different
619
+ * status options of shipments.
547
620
  */
548
621
  /**
549
622
  * @typedef ErrorResponse
550
- * @property {string} [code]
551
- * @property {string} [message]
552
- * @property {number} [status]
553
- * @property {string} [exception]
554
- * @property {string} [stack_trace]
623
+ * @property {string} [code] - The HTTP status code of the response.
624
+ * @property {string} [message] - A message providing details about the response.
625
+ * @property {number} [status] - An additional code providing more context about
626
+ * the response.
627
+ * @property {string} [exception] - Details of any exception that occurred.
628
+ * @property {string} [stack_trace] - The stack trace of any exception that occurred.
555
629
  */
556
630
  declare class OrderApplicationModel {
557
631
  }
@@ -561,39 +635,115 @@ declare namespace OrderApplicationModel {
561
635
  /** @returns {OrderPage} */
562
636
  declare function OrderPage(): OrderPage;
563
637
  type OrderPage = {
638
+ /**
639
+ * - Specifies type of pagination. If it is 'cursor'
640
+ * based or 'number' based.
641
+ */
564
642
  type?: string;
643
+ /**
644
+ * - Total number of items available across all
645
+ * pages. It provides a count of all the items that match the query criteria,
646
+ * regardless of pagination.
647
+ */
565
648
  item_total?: number;
649
+ /**
650
+ * - Specifies the current page number. It helps in
651
+ * identifying the position within the paginated results.
652
+ */
566
653
  current?: number;
654
+ /**
655
+ * - Represents the number of items on the current
656
+ * page. It indicates how many items are included in each page of the
657
+ * paginated response.
658
+ */
567
659
  size?: number;
660
+ /**
661
+ * - Indicates whether there is a next page
662
+ * available. It is true if a next page exists and false if the current page
663
+ * is the last one.
664
+ */
568
665
  has_next?: boolean;
569
666
  };
570
667
  /** @returns {UserInfo} */
571
668
  declare function UserInfo(): UserInfo;
572
669
  type UserInfo = {
670
+ /**
671
+ * - First name of the user.
672
+ */
573
673
  first_name?: string;
674
+ /**
675
+ * - Gender of the user.
676
+ */
574
677
  gender?: string;
678
+ /**
679
+ * - Full name of the user (including first and last names).
680
+ */
575
681
  name?: string;
682
+ /**
683
+ * - Last name of the user.
684
+ */
576
685
  last_name?: string;
686
+ /**
687
+ * - Mobile number of the user.
688
+ */
577
689
  mobile?: string;
690
+ /**
691
+ * - Email address of the user.
692
+ */
578
693
  email?: string;
579
694
  };
580
695
  /** @returns {BreakupValues} */
581
696
  declare function BreakupValues(): BreakupValues;
582
697
  type BreakupValues = {
698
+ /**
699
+ * - The numerical value associated with the entity.
700
+ */
583
701
  value?: number;
702
+ /**
703
+ * - Symbol representing the currency used
704
+ * for the value.
705
+ */
584
706
  currency_symbol?: string;
707
+ /**
708
+ * - The official name of the entity.
709
+ */
585
710
  name?: string;
711
+ /**
712
+ * - The name of the entity as it should be displayed.
713
+ */
586
714
  display?: string;
715
+ /**
716
+ * - The international currency code
717
+ * representing the currency used for the value.
718
+ */
587
719
  currency_code?: string;
588
720
  };
589
721
  /** @returns {ShipmentPayment} */
590
722
  declare function ShipmentPayment(): ShipmentPayment;
591
723
  type ShipmentPayment = {
724
+ /**
725
+ * - Abbreviation or code for the payment mode.
726
+ */
592
727
  mop?: string;
728
+ /**
729
+ * - The specific payment mode used.
730
+ */
593
731
  payment_mode?: string;
732
+ /**
733
+ * - The current status of the payment.
734
+ */
594
735
  status?: string;
736
+ /**
737
+ * - The payment mode.
738
+ */
595
739
  mode?: string;
740
+ /**
741
+ * - URL of the logo representing the payment mode.
742
+ */
596
743
  logo?: string;
744
+ /**
745
+ * - The name to be displayed for the payment mode.
746
+ */
597
747
  display_name?: string;
598
748
  };
599
749
  /** @returns {ShipmentPaymentInfo} */
@@ -606,235 +756,651 @@ type ShipmentPaymentInfo = {
606
756
  mop?: string;
607
757
  /**
608
758
  * - Information about the payment mode,
609
- * indicates whether COD or PREPAID
759
+ * indicates whether COD or PREPAID.
610
760
  */
611
761
  payment_mode?: string;
612
762
  /**
613
763
  * - Indicates the current status of the payment,
614
- * Paid or Unpaid
764
+ * Paid or Unpaid.
615
765
  */
616
766
  status?: string;
617
767
  /**
618
- * - Information about the payment source. For eg, NB_ICICI
768
+ * - Information about the payment source. For eg, NB_ICICI.
619
769
  */
620
770
  mode?: string;
621
771
  /**
622
- * - A URL to an image representing the payment method
772
+ * - A URL to an image representing the payment method.
623
773
  */
624
774
  logo?: string;
625
775
  /**
626
776
  * - The name of the payment method as it
627
- * should be displayed to the user
777
+ * should be displayed to the user.
628
778
  */
629
779
  display_name?: string;
630
780
  /**
631
- * - Amount paid using this payment method
781
+ * - Amount paid using this payment method.
632
782
  */
633
783
  amount?: number;
634
784
  };
635
785
  /** @returns {ShipmentUserInfo} */
636
786
  declare function ShipmentUserInfo(): ShipmentUserInfo;
637
787
  type ShipmentUserInfo = {
788
+ /**
789
+ * - The unique identifier of the store.
790
+ */
638
791
  first_name?: string;
792
+ /**
793
+ * - A code associated with the store.
794
+ */
639
795
  gender?: string;
796
+ /**
797
+ * - The name of the store.
798
+ */
640
799
  name?: string;
800
+ /**
801
+ * - The name of the company associated with the store.
802
+ */
641
803
  last_name?: string;
804
+ /**
805
+ * - The identifier of the company associated with the store.
806
+ */
642
807
  mobile?: string;
808
+ /**
809
+ * - Email address of the user.
810
+ */
643
811
  email?: string;
644
812
  };
645
813
  /** @returns {FulfillingStore} */
646
814
  declare function FulfillingStore(): FulfillingStore;
647
815
  type FulfillingStore = {
816
+ /**
817
+ * - The unique identifier of the store.
818
+ */
648
819
  id?: number;
820
+ /**
821
+ * - A code associated with the store.
822
+ */
649
823
  code?: string;
824
+ /**
825
+ * - The name of the store.
826
+ */
650
827
  name?: string;
828
+ /**
829
+ * - The name of the company associated with the store.
830
+ */
651
831
  company_name?: string;
832
+ /**
833
+ * - The identifier of the company associated
834
+ * with the store.
835
+ */
652
836
  company_id?: number;
653
837
  };
654
838
  /** @returns {ShipmentStatus} */
655
839
  declare function ShipmentStatus(): ShipmentStatus;
656
840
  type ShipmentStatus = {
841
+ /**
842
+ * - The internal or code value representing the
843
+ * shipment status.
844
+ */
657
845
  value?: string;
846
+ /**
847
+ * - The title or display name representing the
848
+ * shipment status.
849
+ */
658
850
  title?: string;
851
+ /**
852
+ * - The hexadecimal color code associated with
853
+ * the shipment status.
854
+ */
659
855
  hex_code?: string;
660
856
  };
661
857
  /** @returns {Invoice} */
662
858
  declare function Invoice(): Invoice;
663
859
  type Invoice = {
860
+ /**
861
+ * - URL providing access to the invoice.
862
+ */
664
863
  invoice_url?: string;
864
+ /**
865
+ * - The date and time when the invoice was
866
+ * last updated.
867
+ */
665
868
  updated_date?: string;
869
+ /**
870
+ * - URL providing access to the invoice label.
871
+ */
666
872
  label_url?: string;
667
873
  };
668
874
  /** @returns {NestedTrackingDetails} */
669
875
  declare function NestedTrackingDetails(): NestedTrackingDetails;
670
876
  type NestedTrackingDetails = {
877
+ /**
878
+ * - Indicates whether the tracking event has
879
+ * passed or occurred.
880
+ */
671
881
  is_passed?: boolean;
882
+ /**
883
+ * - The time associated with the tracking event.
884
+ */
672
885
  time?: string;
886
+ /**
887
+ * - Indicates whether the tracking event is
888
+ * the current or active status.
889
+ */
673
890
  is_current?: boolean;
891
+ /**
892
+ * - The status of the tracking event.
893
+ */
674
894
  status?: string;
675
895
  };
676
896
  /** @returns {TrackingDetails} */
677
897
  declare function TrackingDetails(): TrackingDetails;
678
898
  type TrackingDetails = {
899
+ /**
900
+ * - Current value or state of the process.
901
+ */
679
902
  value?: string;
903
+ /**
904
+ * - Indicates whether the tracking event is
905
+ * the current or active status.
906
+ */
680
907
  is_current?: boolean;
908
+ /**
909
+ * - Indicates whether the tracking event has
910
+ * passed or occurred.
911
+ */
681
912
  is_passed?: boolean;
913
+ /**
914
+ * - The status of the tracking event.
915
+ */
682
916
  status?: string;
917
+ /**
918
+ * - The time associated with the tracking event.
919
+ */
683
920
  time?: string;
921
+ /**
922
+ * - Timestamp when this status was created.
923
+ */
684
924
  created_ts?: string;
925
+ /**
926
+ * - Nested tracking details.
927
+ */
685
928
  tracking_details?: NestedTrackingDetails[];
686
929
  };
687
930
  /** @returns {TimeStampData} */
688
931
  declare function TimeStampData(): TimeStampData;
689
932
  type TimeStampData = {
933
+ /**
934
+ * - The minimum timestamp value.
935
+ */
690
936
  min?: string;
937
+ /**
938
+ * - The maximum timestamp value.
939
+ */
691
940
  max?: string;
692
941
  };
693
942
  /** @returns {Promise} */
694
943
  declare function Promise(): Promise;
695
944
  type Promise = {
945
+ /**
946
+ * - Indicates whether the promise details
947
+ * should be shown.
948
+ */
696
949
  show_promise?: boolean;
697
950
  timestamp?: TimeStampData;
698
951
  };
699
952
  /** @returns {ShipmentTotalDetails} */
700
953
  declare function ShipmentTotalDetails(): ShipmentTotalDetails;
701
954
  type ShipmentTotalDetails = {
955
+ /**
956
+ * - The total number of pieces included.
957
+ */
702
958
  pieces?: number;
959
+ /**
960
+ * - The total price of the order or item.
961
+ */
703
962
  total_price?: number;
963
+ /**
964
+ * - The number of different sizes included.
965
+ */
704
966
  sizes?: number;
705
967
  };
706
968
  /** @returns {Prices} */
707
969
  declare function Prices(): Prices;
708
970
  type Prices = {
971
+ /**
972
+ * - The delivery charge for the order.
973
+ */
709
974
  delivery_charge?: number;
975
+ /**
976
+ * - The value of the coupon applied.
977
+ */
710
978
  coupon_value?: number;
979
+ /**
980
+ * - The amount calculated by the brand.
981
+ */
711
982
  brand_calculated_amount?: number;
983
+ /**
984
+ * - The value of the goods before tax and
985
+ * other charges.
986
+ */
712
987
  value_of_good?: number;
988
+ /**
989
+ * - The original marked price of the item.
990
+ */
713
991
  price_marked?: number;
992
+ /**
993
+ * - The effective discount from coupons.
994
+ */
714
995
  coupon_effective_discount?: number;
996
+ /**
997
+ * - The symbol of the currency used.
998
+ */
715
999
  currency_symbol?: string;
1000
+ /**
1001
+ * - The discount applied to the item.
1002
+ */
716
1003
  discount?: number;
1004
+ /**
1005
+ * - The GST tax percentage applied.
1006
+ */
717
1007
  gst_tax_percentage?: number;
1008
+ /**
1009
+ * - The cash on delivery charges, if applicable.
1010
+ */
718
1011
  cod_charges?: number;
1012
+ /**
1013
+ * - The total amount paid by the customer.
1014
+ */
719
1015
  amount_paid?: number;
1016
+ /**
1017
+ * - Indicates if the refund amount was
1018
+ * added to Fynd Cash.
1019
+ */
720
1020
  added_to_fynd_cash?: boolean;
1021
+ /**
1022
+ * - The transfer price of the item.
1023
+ */
721
1024
  transfer_price?: number;
1025
+ /**
1026
+ * - The amount of cashback applied.
1027
+ */
722
1028
  cashback_applied?: number;
1029
+ /**
1030
+ * - The effective price after all adjustments.
1031
+ */
723
1032
  price_effective?: number;
1033
+ /**
1034
+ * - The cashback amount earned.
1035
+ */
724
1036
  cashback?: number;
1037
+ /**
1038
+ * - The amount credited for refund .
1039
+ */
725
1040
  refund_credit?: number;
1041
+ /**
1042
+ * - The rounded-off amount paid by
1043
+ * the customer.
1044
+ */
726
1045
  amount_paid_roundoff?: number;
1046
+ /**
1047
+ * - The effective discount
1048
+ * from promotions.
1049
+ */
727
1050
  promotion_effective_discount?: number;
1051
+ /**
1052
+ * - The amount refunded to the customer.
1053
+ */
728
1054
  refund_amount?: number;
1055
+ /**
1056
+ * - The code of the currency used.
1057
+ */
729
1058
  currency_code?: string;
1059
+ /**
1060
+ * - The amount of Fynd credits used.
1061
+ */
730
1062
  fynd_credits?: number;
1063
+ /**
1064
+ * - The total amount that needs to
1065
+ * be collected from the customer.
1066
+ */
731
1067
  amount_to_be_collected?: number;
732
1068
  };
733
1069
  /** @returns {ItemBrand} */
734
1070
  declare function ItemBrand(): ItemBrand;
735
1071
  type ItemBrand = {
1072
+ /**
1073
+ * - The URL of the brand's logo.
1074
+ */
736
1075
  logo?: string;
1076
+ /**
1077
+ * - The name of the brand.
1078
+ */
737
1079
  name?: string;
738
1080
  };
739
1081
  /** @returns {Item} */
740
1082
  declare function Item(): Item;
741
1083
  type Item = {
1084
+ /**
1085
+ * - An array of URLs pointing to images of the item.
1086
+ */
742
1087
  image?: string[];
1088
+ /**
1089
+ * - An array of level 1 categories the item belongs.
1090
+ */
743
1091
  l1_categories?: string[];
744
1092
  brand?: ItemBrand;
1093
+ /**
1094
+ * - The identifier for the seller .
1095
+ */
745
1096
  seller_identifier?: string;
1097
+ /**
1098
+ * - The code or SKU of the item.
1099
+ */
746
1100
  code?: string;
1101
+ /**
1102
+ * - The unique identifier of the item.
1103
+ */
747
1104
  id?: number;
1105
+ /**
1106
+ * - The name of the item.
1107
+ */
748
1108
  name?: string;
1109
+ /**
1110
+ * - The level 3 category name.
1111
+ */
749
1112
  l3_category_name?: string;
1113
+ /**
1114
+ * - A unique key or identifier for the item slug.
1115
+ */
750
1116
  slug_key?: string;
1117
+ /**
1118
+ * - An array of level 2 categories the
1119
+ * item belongs to.
1120
+ */
751
1121
  l2_categories?: string[];
1122
+ /**
1123
+ * - The size of the item.
1124
+ */
752
1125
  size?: string;
1126
+ /**
1127
+ * - An object containing various attributes of the item.
1128
+ */
753
1129
  attributes?: any;
754
1130
  };
755
1131
  /** @returns {AppliedFreeArticles} */
756
1132
  declare function AppliedFreeArticles(): AppliedFreeArticles;
757
1133
  type AppliedFreeArticles = {
1134
+ /**
1135
+ * - The unique identifier for the article.
1136
+ */
758
1137
  article_id?: string;
1138
+ /**
1139
+ * - An object containing details
1140
+ * about the free gift item.
1141
+ */
759
1142
  free_gift_item_details?: any;
1143
+ /**
1144
+ * - The identifier for the parent
1145
+ * item to which this free article is related.
1146
+ */
760
1147
  parent_item_identifier?: string;
1148
+ /**
1149
+ * - The quantity of the free article.
1150
+ */
761
1151
  quantity?: number;
762
1152
  };
763
1153
  /** @returns {AppliedPromos} */
764
1154
  declare function AppliedPromos(): AppliedPromos;
765
1155
  type AppliedPromos = {
1156
+ /**
1157
+ * - Indicates if the promotion is applied to the MRP.
1158
+ */
766
1159
  mrp_promotion?: boolean;
1160
+ /**
1161
+ * - The name of the promotion .
1162
+ */
767
1163
  promotion_name?: string;
1164
+ /**
1165
+ * - The quantity of articles required to
1166
+ * qualify for the promotion.
1167
+ */
768
1168
  article_quantity?: number;
1169
+ /**
1170
+ * - The unique identifier for the promotion.
1171
+ */
769
1172
  promo_id?: string;
1173
+ /**
1174
+ * - The discount amount provided by the promotion.
1175
+ */
770
1176
  amount?: number;
1177
+ /**
1178
+ * - The type of promotion.
1179
+ */
771
1180
  promotion_type?: string;
1181
+ /**
1182
+ * - An array
1183
+ * containing details of free articles applied under the promotion.
1184
+ */
772
1185
  applied_free_articles?: AppliedFreeArticles[];
773
1186
  };
774
1187
  /** @returns {Identifiers} */
775
1188
  declare function Identifiers(): Identifiers;
776
1189
  type Identifiers = {
1190
+ /**
1191
+ * - The European Article Number (EAN) of the item.
1192
+ */
777
1193
  ean?: string;
1194
+ /**
1195
+ * - The Stock Keeping Unit (SKU) code of the item.
1196
+ */
778
1197
  sku_code?: string;
779
1198
  };
780
1199
  /** @returns {FinancialBreakup} */
781
1200
  declare function FinancialBreakup(): FinancialBreakup;
782
1201
  type FinancialBreakup = {
1202
+ /**
1203
+ * - The value of the coupon applied.
1204
+ */
783
1205
  coupon_value?: number;
1206
+ /**
1207
+ * - The delivery charge for the order.
1208
+ */
784
1209
  delivery_charge?: number;
1210
+ /**
1211
+ * - The amount calculated by the brand.
1212
+ */
785
1213
  brand_calculated_amount?: number;
1214
+ /**
1215
+ * - The value of the goods before tax and
1216
+ * other charges.
1217
+ */
786
1218
  value_of_good?: number;
1219
+ /**
1220
+ * - The original marked price of the item.
1221
+ */
787
1222
  price_marked?: number;
1223
+ /**
1224
+ * - The effective discount from coupons.
1225
+ */
788
1226
  coupon_effective_discount?: number;
1227
+ /**
1228
+ * - The HSN (Harmonized System of Nomenclature)
1229
+ * code of the item.
1230
+ */
789
1231
  hsn_code?: string;
1232
+ /**
1233
+ * - The discount applied to the item.
1234
+ */
790
1235
  discount?: number;
1236
+ /**
1237
+ * - The GST tax percentage applied .
1238
+ */
791
1239
  gst_tax_percentage?: number;
1240
+ /**
1241
+ * - The cash on delivery charges, if applicable.
1242
+ */
792
1243
  cod_charges?: number;
1244
+ /**
1245
+ * - The total amount paid by the customer.
1246
+ */
793
1247
  amount_paid?: number;
1248
+ /**
1249
+ * - Indicates if the refund amount was
1250
+ * added to Fynd Cash.
1251
+ */
794
1252
  added_to_fynd_cash?: boolean;
1253
+ /**
1254
+ * - The size of the item .
1255
+ */
795
1256
  size?: string;
1257
+ /**
1258
+ * - The transfer price of the item.
1259
+ */
796
1260
  transfer_price?: number;
1261
+ /**
1262
+ * - The amount of cashback applied.
1263
+ */
797
1264
  cashback_applied?: number;
1265
+ /**
1266
+ * - The effective price after all adjustments.
1267
+ */
798
1268
  price_effective?: number;
1269
+ /**
1270
+ * - The cashback amount earned.
1271
+ */
799
1272
  cashback?: number;
1273
+ /**
1274
+ * - The amount credited for refund .
1275
+ */
800
1276
  refund_credit?: number;
1277
+ /**
1278
+ * - The rounded-off amount paid by
1279
+ * the customer.
1280
+ */
801
1281
  amount_paid_roundoff?: number;
1282
+ /**
1283
+ * - The total number of units purchased.
1284
+ */
802
1285
  total_units?: number;
803
1286
  identifiers?: Identifiers;
1287
+ /**
1288
+ * - The GST tag indicating the type of GST applied.
1289
+ */
804
1290
  gst_tag?: string;
1291
+ /**
1292
+ * - The name of the item.
1293
+ */
805
1294
  item_name?: string;
1295
+ /**
1296
+ * - The effective discount
1297
+ * from promotions.
1298
+ */
806
1299
  promotion_effective_discount?: number;
1300
+ /**
1301
+ * - The GST fee applied to the item.
1302
+ */
807
1303
  gst_fee?: number;
1304
+ /**
1305
+ * - The amount refunded to the customer.
1306
+ */
808
1307
  refund_amount?: number;
1308
+ /**
1309
+ * - The amount of Fynd credits used.
1310
+ */
809
1311
  fynd_credits?: number;
1312
+ /**
1313
+ * - The total amount that needs to
1314
+ * be collected from the customer.
1315
+ */
810
1316
  amount_to_be_collected?: number;
811
1317
  };
812
1318
  /** @returns {CurrentStatus} */
813
1319
  declare function CurrentStatus(): CurrentStatus;
814
1320
  type CurrentStatus = {
1321
+ /**
1322
+ * - The date and time when the status was last updated.
1323
+ */
815
1324
  updated_at?: string;
1325
+ /**
1326
+ * - The name or label indicating the current state or status.
1327
+ */
816
1328
  name?: string;
1329
+ /**
1330
+ * - The current status of the bag.
1331
+ */
817
1332
  status?: string;
1333
+ /**
1334
+ * - The type of journey for the shipment,
1335
+ * indicating the direction of the shipment.
1336
+ */
818
1337
  journey_type?: string;
819
1338
  };
820
1339
  /** @returns {Bags} */
821
1340
  declare function Bags(): Bags;
822
1341
  type Bags = {
1342
+ /**
1343
+ * - The date and time when the item is
1344
+ * expected to be delivered .
1345
+ */
823
1346
  delivery_date?: string;
1347
+ /**
1348
+ * - The line number of the item in the order.
1349
+ */
824
1350
  line_number?: number;
1351
+ /**
1352
+ * - The symbol of the currency used.
1353
+ */
825
1354
  currency_symbol?: string;
826
1355
  item?: Item;
1356
+ /**
1357
+ * - An array containing
1358
+ * information about applied promotions.
1359
+ */
827
1360
  applied_promos?: AppliedPromos[];
1361
+ /**
1362
+ * - The quantity of the item.
1363
+ */
828
1364
  quantity?: number;
829
1365
  prices?: Prices;
1366
+ /**
1367
+ * - Indicates if the item can be canceled.
1368
+ */
830
1369
  can_cancel?: boolean;
1370
+ /**
1371
+ * - Indicates if the item can be returned.
1372
+ */
831
1373
  can_return?: boolean;
1374
+ /**
1375
+ * - The unique identifier for the order item.
1376
+ */
832
1377
  id?: number;
1378
+ /**
1379
+ * - The last date and time by which the
1380
+ * item can be returned.
1381
+ */
833
1382
  returnable_date?: string;
1383
+ /**
1384
+ * - An array containing
1385
+ * financial details of the item.
1386
+ */
834
1387
  financial_breakup?: FinancialBreakup[];
1388
+ /**
1389
+ * - An object containing details of
1390
+ * parent promotional bags.
1391
+ */
835
1392
  parent_promo_bags?: any;
1393
+ /**
1394
+ * - An object containing metadata for the item.
1395
+ */
836
1396
  meta?: any;
1397
+ /**
1398
+ * - The code of the currency used.
1399
+ */
837
1400
  currency_code?: string;
1401
+ /**
1402
+ * - The identifier for the seller.
1403
+ */
838
1404
  seller_identifier?: string;
839
1405
  current_status?: CurrentStatus;
840
1406
  article?: Article;
@@ -842,39 +1408,119 @@ type Bags = {
842
1408
  /** @returns {FulfillingCompany} */
843
1409
  declare function FulfillingCompany(): FulfillingCompany;
844
1410
  type FulfillingCompany = {
1411
+ /**
1412
+ * - The unique identifier for the fulfilling company.
1413
+ */
845
1414
  id?: number;
1415
+ /**
1416
+ * - The name of the fulfilling company.
1417
+ */
846
1418
  name?: string;
847
1419
  };
848
1420
  /** @returns {Article} */
849
1421
  declare function Article(): Article;
850
1422
  type Article = {
1423
+ /**
1424
+ * - An array of tags associated with the article.
1425
+ */
851
1426
  tags?: string[];
852
1427
  };
853
1428
  /** @returns {Address} */
854
1429
  declare function Address(): Address;
855
1430
  type Address = {
1431
+ /**
1432
+ * - The postal code of the address.
1433
+ */
856
1434
  pincode?: string;
1435
+ /**
1436
+ * - The phone number of the person associated with
1437
+ * the address.
1438
+ */
857
1439
  phone?: string;
1440
+ /**
1441
+ * - The latitude coordinate.
1442
+ */
858
1443
  latitude?: number;
1444
+ /**
1445
+ * - The secondary line of the address.
1446
+ */
859
1447
  address2?: string;
1448
+ /**
1449
+ * - A nearby landmark.
1450
+ */
860
1451
  landmark?: string;
1452
+ /**
1453
+ * - The area or locality.
1454
+ */
861
1455
  area?: string;
1456
+ /**
1457
+ * - The city of the address.
1458
+ */
862
1459
  city?: string;
1460
+ /**
1461
+ * - The full address.
1462
+ */
863
1463
  address?: string;
1464
+ /**
1465
+ * - The type of address.
1466
+ */
864
1467
  address_type?: string;
1468
+ /**
1469
+ * - The longitude coordinate.
1470
+ */
865
1471
  longitude?: number;
1472
+ /**
1473
+ * - The ISO code for the country.
1474
+ */
866
1475
  country_iso_code?: string;
1476
+ /**
1477
+ * - The state of the address.
1478
+ */
867
1479
  state?: string;
1480
+ /**
1481
+ * - The date and time when the address was created.
1482
+ */
868
1483
  created_at?: string;
1484
+ /**
1485
+ * - The primary line of the address.
1486
+ */
869
1487
  address1?: string;
1488
+ /**
1489
+ * - The formatted display address,
1490
+ * typically used for printing or displaying in user interfaces.
1491
+ */
870
1492
  display_address?: string;
1493
+ /**
1494
+ * - The name of the person associated with the address.
1495
+ */
871
1496
  name?: string;
1497
+ /**
1498
+ * - The name of the contact person.
1499
+ */
872
1500
  contact_person?: string;
1501
+ /**
1502
+ * - The category of the address.
1503
+ */
873
1504
  address_category?: string;
1505
+ /**
1506
+ * - The email address.
1507
+ */
874
1508
  email?: string;
1509
+ /**
1510
+ * - The country phone code.
1511
+ */
875
1512
  country_phone_code?: string;
1513
+ /**
1514
+ * - The version of the address format.
1515
+ */
876
1516
  version?: string;
1517
+ /**
1518
+ * - The date and time when the address was last updated .
1519
+ */
877
1520
  updated_at?: string;
1521
+ /**
1522
+ * - The country of the address.
1523
+ */
878
1524
  country?: string;
879
1525
  };
880
1526
  /** @returns {Shipments} */
@@ -882,104 +1528,273 @@ declare function Shipments(): Shipments;
882
1528
  type Shipments = {
883
1529
  payment?: ShipmentPayment;
884
1530
  /**
885
- * - "Array of objects
1531
+ * - Array of objects
886
1532
  * containing payment methods used for placing an order. Each object will
887
- * provide information about corresponding payment method with relevant details."
1533
+ * provide information about corresponding payment method with relevant details.
888
1534
  */
889
1535
  payment_info?: ShipmentPaymentInfo[];
1536
+ /**
1537
+ * - The type of order.
1538
+ */
890
1539
  order_type?: string;
1540
+ /**
1541
+ * - The GSTIN code for the shipment.
1542
+ */
891
1543
  gstin_code?: string;
1544
+ /**
1545
+ * - Indicates if the download
1546
+ * invoice option should be shown.
1547
+ */
892
1548
  show_download_invoice?: boolean;
1549
+ /**
1550
+ * - Indicates if the shipment can be canceled.
1551
+ */
893
1552
  can_cancel?: boolean;
894
1553
  user_info?: ShipmentUserInfo;
1554
+ /**
1555
+ * - The unique identifier for the shipment.
1556
+ */
895
1557
  shipment_id?: string;
896
1558
  fulfilling_store?: FulfillingStore;
1559
+ /**
1560
+ * - An object containing custom metadata for
1561
+ * the shipment.
1562
+ */
897
1563
  custom_meta?: any[];
898
1564
  shipment_status?: ShipmentStatus;
1565
+ /**
1566
+ * - Any comments related to the shipment.
1567
+ */
899
1568
  comment?: string;
900
1569
  invoice?: Invoice;
1570
+ /**
1571
+ * - Indicates if the track link should be shown.
1572
+ */
901
1573
  show_track_link?: boolean;
1574
+ /**
1575
+ * - An object containing details of any refunds.
1576
+ */
902
1577
  refund_details?: any;
1578
+ /**
1579
+ * - An array containing the
1580
+ * breakup of various charges and discounts.
1581
+ */
903
1582
  breakup_values?: BreakupValues[];
1583
+ /**
1584
+ * - An object containing details about the
1585
+ * breakability of the shipment.
1586
+ */
904
1587
  can_break?: any;
1588
+ /**
1589
+ * - The tracking number for the shipment.
1590
+ */
905
1591
  traking_no?: string;
1592
+ /**
1593
+ * - An array containing
1594
+ * details of the tracking history of the shipment.
1595
+ */
906
1596
  tracking_details?: TrackingDetails[];
907
1597
  promise?: Promise;
1598
+ /**
1599
+ * - The total number of bags in the shipment.
1600
+ */
908
1601
  total_bags?: number;
909
1602
  total_details?: ShipmentTotalDetails;
910
1603
  prices?: Prices;
1604
+ /**
1605
+ * - The last date by which the item can be returned.
1606
+ */
911
1607
  returnable_date?: string;
1608
+ /**
1609
+ * - The date and time when the
1610
+ * shipment was created.
1611
+ */
912
1612
  shipment_created_at?: string;
1613
+ /**
1614
+ * - The timestamp when the shipment was created.
1615
+ */
913
1616
  shipment_created_ts?: string;
1617
+ /**
1618
+ * - An object containing size information for
1619
+ * the items in the shipment.
1620
+ */
914
1621
  size_info?: any;
1622
+ /**
1623
+ * - An array containing details about the individual
1624
+ * bags in the shipment.
1625
+ */
915
1626
  bags?: Bags[];
1627
+ /**
1628
+ * - The name of the delivery partner.
1629
+ */
916
1630
  dp_name?: string;
1631
+ /**
1632
+ * - The airway bill number for the shipment.
1633
+ */
917
1634
  awb_no?: string;
1635
+ /**
1636
+ * - Indicates if there are any
1637
+ * beneficiary details.
1638
+ */
918
1639
  beneficiary_details?: boolean;
919
1640
  fulfilling_company?: FulfillingCompany;
1641
+ /**
1642
+ * - Indicates if the shipment can be returned.
1643
+ */
920
1644
  can_return?: boolean;
921
1645
  delivery_address?: Address;
922
1646
  billing_address?: Address;
1647
+ /**
1648
+ * - The URL for tracking the shipment.
1649
+ */
923
1650
  track_url?: string;
1651
+ /**
1652
+ * - The unique identifier for the order.
1653
+ */
924
1654
  order_id?: string;
1655
+ /**
1656
+ * - The URL for customer support or help.
1657
+ */
925
1658
  need_help_url?: string;
1659
+ /**
1660
+ * - An object containing metadata about the
1661
+ * return process.
1662
+ */
926
1663
  return_meta?: any;
1664
+ /**
1665
+ * - The expected delivery date.
1666
+ */
927
1667
  delivery_date?: string;
928
1668
  order?: OrderRequest;
929
1669
  };
930
1670
  /** @returns {BagsForReorderArticleAssignment} */
931
1671
  declare function BagsForReorderArticleAssignment(): BagsForReorderArticleAssignment;
932
1672
  type BagsForReorderArticleAssignment = {
1673
+ /**
1674
+ * - The strategy used for article assignment.
1675
+ */
933
1676
  strategy?: string;
1677
+ /**
1678
+ * - The level at which the article assignment is made.
1679
+ */
934
1680
  level?: string;
935
1681
  };
936
1682
  /** @returns {BagsForReorder} */
937
1683
  declare function BagsForReorder(): BagsForReorder;
938
1684
  type BagsForReorder = {
1685
+ /**
1686
+ * - The size of the item.
1687
+ */
939
1688
  item_size?: string;
1689
+ /**
1690
+ * - The quantity of the item.
1691
+ */
940
1692
  quantity?: number;
1693
+ /**
1694
+ * - The identifier for the store.
1695
+ */
941
1696
  store_id?: number;
942
1697
  article_assignment?: BagsForReorderArticleAssignment;
1698
+ /**
1699
+ * - The identifier for the seller.
1700
+ */
943
1701
  seller_id?: number;
1702
+ /**
1703
+ * - The unique identifier for the item.
1704
+ */
944
1705
  item_id?: number;
945
1706
  };
946
1707
  /** @returns {OrderSchema} */
947
1708
  declare function OrderSchema(): OrderSchema;
948
1709
  type OrderSchema = {
1710
+ /**
1711
+ * - The total number of shipments
1712
+ * in the order.
1713
+ */
949
1714
  total_shipments_in_order?: number;
1715
+ /**
1716
+ * - The GSTIN code for the shipment.
1717
+ */
950
1718
  gstin_code?: string;
951
1719
  user_info?: UserInfo;
1720
+ /**
1721
+ * - An array containing the
1722
+ * breakup of various charges and discounts.
1723
+ */
952
1724
  breakup_values?: BreakupValues[];
1725
+ /**
1726
+ * - The date and time when the order was created.
1727
+ */
953
1728
  order_created_time?: string;
1729
+ /**
1730
+ * - The timestamp when the order was created.
1731
+ */
954
1732
  order_created_ts?: string;
1733
+ /**
1734
+ * - The unique identifier for the order.
1735
+ */
955
1736
  order_id?: string;
1737
+ /**
1738
+ * - An array containing details of
1739
+ * individual shipments within the order.
1740
+ */
956
1741
  shipments?: Shipments[];
1742
+ /**
1743
+ * - An array containing details
1744
+ * of bags available for reorder.
1745
+ */
957
1746
  bags_for_reorder?: BagsForReorder[];
1747
+ /**
1748
+ * - An object containing additional metadata for the order.
1749
+ */
958
1750
  meta?: any;
959
1751
  };
960
1752
  /** @returns {OrderStatuses} */
961
1753
  declare function OrderStatuses(): OrderStatuses;
962
1754
  type OrderStatuses = {
1755
+ /**
1756
+ * - The value representing the selection.
1757
+ */
963
1758
  value?: number;
1759
+ /**
1760
+ * - Indicates whether this option is
1761
+ * currently selected.
1762
+ */
964
1763
  is_selected?: boolean;
1764
+ /**
1765
+ * - The text to display .
1766
+ */
965
1767
  display?: string;
966
1768
  };
967
1769
  /** @returns {OrderFilters} */
968
1770
  declare function OrderFilters(): OrderFilters;
969
1771
  type OrderFilters = {
1772
+ /**
1773
+ * - An array containing the order statuses.
1774
+ */
970
1775
  statuses?: OrderStatuses[];
971
1776
  };
972
1777
  /** @returns {OrderList} */
973
1778
  declare function OrderList(): OrderList;
974
1779
  type OrderList = {
975
1780
  page?: OrderPage;
1781
+ /**
1782
+ * - List of orders, each containing detailed
1783
+ * information about individual orders and their respective shipments.
1784
+ */
976
1785
  items?: OrderSchema[];
977
1786
  filters?: OrderFilters;
978
1787
  };
979
1788
  /** @returns {ApefaceApiError} */
980
1789
  declare function ApefaceApiError(): ApefaceApiError;
981
1790
  type ApefaceApiError = {
1791
+ /**
1792
+ * - Contains any message related to the operation.
1793
+ */
982
1794
  message?: string;
1795
+ /**
1796
+ * - Indicates if the operation was successful.
1797
+ */
983
1798
  success?: boolean;
984
1799
  };
985
1800
  /** @returns {OrderById} */
@@ -995,211 +1810,471 @@ type ShipmentById = {
995
1810
  /** @returns {ResponseGetInvoiceShipment} */
996
1811
  declare function ResponseGetInvoiceShipment(): ResponseGetInvoiceShipment;
997
1812
  type ResponseGetInvoiceShipment = {
1813
+ /**
1814
+ * - Type of presigned URL.
1815
+ */
998
1816
  presigned_type: string;
1817
+ /**
1818
+ * - Indicates if the operation was successful .
1819
+ */
999
1820
  success: boolean;
1821
+ /**
1822
+ * - Identifier for the shipment.
1823
+ */
1000
1824
  shipment_id: string;
1825
+ /**
1826
+ * - The presigned URL for accessing the
1827
+ * shipment data, obtained from the response data.
1828
+ */
1001
1829
  presigned_url: string;
1002
1830
  };
1003
1831
  /** @returns {Track} */
1004
1832
  declare function Track(): Track;
1005
1833
  type Track = {
1834
+ /**
1835
+ * - The name of the account handling the shipment.
1836
+ */
1006
1837
  account_name?: string;
1838
+ /**
1839
+ * - The type of shipment.
1840
+ */
1007
1841
  shipment_type?: string;
1842
+ /**
1843
+ * - The current status of the shipment.
1844
+ */
1008
1845
  status?: string;
1846
+ /**
1847
+ * - The last known location of
1848
+ * the shipment.
1849
+ */
1009
1850
  last_location_recieved_at?: string;
1851
+ /**
1852
+ * - The timestamp of the last update.
1853
+ */
1010
1854
  updated_time?: string;
1855
+ /**
1856
+ * - The date and time when the shipment was last updated.
1857
+ */
1011
1858
  updated_at?: string;
1859
+ /**
1860
+ * - The reason or additional information about the shipment.
1861
+ */
1012
1862
  reason?: string;
1863
+ /**
1864
+ * - The Air Waybill (AWB) number for the shipment.
1865
+ */
1013
1866
  awb?: string;
1014
1867
  };
1015
1868
  /** @returns {ShipmentTrack} */
1016
1869
  declare function ShipmentTrack(): ShipmentTrack;
1017
1870
  type ShipmentTrack = {
1871
+ /**
1872
+ * - A array containing tracking details.
1873
+ */
1018
1874
  results?: Track[];
1019
1875
  };
1020
1876
  /** @returns {CustomerDetailsResponse} */
1021
1877
  declare function CustomerDetailsResponse(): CustomerDetailsResponse;
1022
1878
  type CustomerDetailsResponse = {
1879
+ /**
1880
+ * - Customer's phone number.
1881
+ */
1023
1882
  phone?: string;
1883
+ /**
1884
+ * - Unique identifier of the shipment.
1885
+ */
1024
1886
  shipment_id?: string;
1887
+ /**
1888
+ * - Customer's name.
1889
+ */
1025
1890
  name?: string;
1891
+ /**
1892
+ * - Unique identifier of the order.
1893
+ */
1026
1894
  order_id?: string;
1895
+ /**
1896
+ * - Country of the customer.
1897
+ */
1027
1898
  country?: string;
1028
1899
  };
1029
1900
  /** @returns {SendOtpToCustomerResponse} */
1030
1901
  declare function SendOtpToCustomerResponse(): SendOtpToCustomerResponse;
1031
1902
  type SendOtpToCustomerResponse = {
1903
+ /**
1904
+ * - Unique identifier for the request.
1905
+ */
1032
1906
  request_id?: string;
1907
+ /**
1908
+ * - Message indicating the result of the request.
1909
+ */
1033
1910
  message?: string;
1911
+ /**
1912
+ * - Indicates whether the request was successful.
1913
+ */
1034
1914
  success?: boolean;
1915
+ /**
1916
+ * - Time in seconds before the OTP can be resent.
1917
+ */
1035
1918
  resend_timer?: number;
1036
1919
  };
1037
1920
  /** @returns {VerifyOtp} */
1038
1921
  declare function VerifyOtp(): VerifyOtp;
1039
1922
  type VerifyOtp = {
1923
+ /**
1924
+ * - The OTP code provided by the user for verification.
1925
+ */
1040
1926
  otp_code?: string;
1927
+ /**
1928
+ * - Unique identifier for the request.
1929
+ */
1041
1930
  request_id?: string;
1042
1931
  };
1043
1932
  /** @returns {VerifyOtpResponse} */
1044
1933
  declare function VerifyOtpResponse(): VerifyOtpResponse;
1045
1934
  type VerifyOtpResponse = {
1935
+ /**
1936
+ * - Indicates whether the request was successful.
1937
+ */
1046
1938
  success?: boolean;
1047
1939
  };
1048
1940
  /** @returns {BagReasonMeta} */
1049
1941
  declare function BagReasonMeta(): BagReasonMeta;
1050
1942
  type BagReasonMeta = {
1943
+ /**
1944
+ * - Indicates whether to display a text
1945
+ * box on the front end.
1946
+ */
1051
1947
  show_text_area?: boolean;
1052
1948
  };
1053
1949
  /** @returns {QuestionSet} */
1054
1950
  declare function QuestionSet(): QuestionSet;
1055
1951
  type QuestionSet = {
1952
+ /**
1953
+ * - The unique identifier for the question.
1954
+ */
1056
1955
  id?: number;
1956
+ /**
1957
+ * - The text displayed for the question.
1958
+ */
1057
1959
  display_name?: string;
1058
1960
  };
1059
1961
  /** @returns {BagReasons} */
1060
1962
  declare function BagReasons(): BagReasons;
1061
1963
  type BagReasons = {
1964
+ /**
1965
+ * - A list of quality check types.
1966
+ */
1062
1967
  qc_type?: string[];
1968
+ /**
1969
+ * - The unique identifier.
1970
+ */
1063
1971
  id?: number;
1972
+ /**
1973
+ * - The text displayed.
1974
+ */
1064
1975
  display_name?: string;
1065
1976
  meta?: BagReasonMeta;
1977
+ /**
1978
+ * - A list of questions for delivery partner.
1979
+ */
1066
1980
  question_set?: QuestionSet[];
1981
+ /**
1982
+ * - A list of reasons.
1983
+ */
1067
1984
  reasons?: BagReasons[];
1068
1985
  };
1069
1986
  /** @returns {ShipmentBagReasons} */
1070
1987
  declare function ShipmentBagReasons(): ShipmentBagReasons;
1071
1988
  type ShipmentBagReasons = {
1989
+ /**
1990
+ * - A list of shipment's bag reasons.
1991
+ */
1072
1992
  reasons?: BagReasons[];
1993
+ /**
1994
+ * - Indicates if the operation was successful.
1995
+ */
1073
1996
  success?: boolean;
1074
1997
  };
1075
1998
  /** @returns {ShipmentReason} */
1076
1999
  declare function ShipmentReason(): ShipmentReason;
1077
2000
  type ShipmentReason = {
2001
+ /**
2002
+ * - The priority level of the reason.
2003
+ */
1078
2004
  priority?: number;
2005
+ /**
2006
+ * - A flag indicating whether to show a
2007
+ * textbox on the frontend.
2008
+ */
1079
2009
  show_text_area?: boolean;
2010
+ /**
2011
+ * - The unique identifier for the reason.
2012
+ */
1080
2013
  reason_id?: number;
2014
+ /**
2015
+ * - The type of feedback.
2016
+ */
1081
2017
  feedback_type?: string;
2018
+ /**
2019
+ * - The text describing the reason.
2020
+ */
1082
2021
  reason_text?: string;
2022
+ /**
2023
+ * - The process flow related to the reason.
2024
+ */
1083
2025
  flow?: string;
1084
2026
  };
1085
2027
  /** @returns {ShipmentReasons} */
1086
2028
  declare function ShipmentReasons(): ShipmentReasons;
1087
2029
  type ShipmentReasons = {
2030
+ /**
2031
+ * - A list of shipment reasons.
2032
+ */
1088
2033
  reasons?: ShipmentReason[];
1089
2034
  };
1090
2035
  /** @returns {ProductsReasonsData} */
1091
2036
  declare function ProductsReasonsData(): ProductsReasonsData;
1092
2037
  type ProductsReasonsData = {
2038
+ /**
2039
+ * - The unique identifier for the reason.
2040
+ */
1093
2041
  reason_id?: number;
2042
+ /**
2043
+ * - The text describing the reason.
2044
+ */
1094
2045
  reason_text?: string;
1095
2046
  };
1096
2047
  /** @returns {ProductsReasonsFilters} */
1097
2048
  declare function ProductsReasonsFilters(): ProductsReasonsFilters;
1098
2049
  type ProductsReasonsFilters = {
2050
+ /**
2051
+ * - The specific line item of bag.
2052
+ */
1099
2053
  line_number?: number;
2054
+ /**
2055
+ * - The quantity of the product.
2056
+ */
1100
2057
  quantity?: number;
2058
+ /**
2059
+ * - The unique identifier for the product.
2060
+ */
1101
2061
  identifier?: string;
1102
2062
  };
1103
2063
  /** @returns {ProductsReasons} */
1104
2064
  declare function ProductsReasons(): ProductsReasons;
1105
2065
  type ProductsReasons = {
1106
2066
  data?: ProductsReasonsData;
2067
+ /**
2068
+ * - Criteria applied to filter
2069
+ * the products.
2070
+ */
1107
2071
  filters?: ProductsReasonsFilters[];
1108
2072
  };
1109
2073
  /** @returns {EntityReasonData} */
1110
2074
  declare function EntityReasonData(): EntityReasonData;
1111
2075
  type EntityReasonData = {
2076
+ /**
2077
+ * - The unique identifier for the reason.
2078
+ */
1112
2079
  reason_id?: number;
2080
+ /**
2081
+ * - The text describing the reason.
2082
+ */
1113
2083
  reason_text?: string;
1114
2084
  };
1115
2085
  /** @returns {EntitiesReasons} */
1116
2086
  declare function EntitiesReasons(): EntitiesReasons;
1117
2087
  type EntitiesReasons = {
1118
2088
  data?: EntityReasonData;
2089
+ /**
2090
+ * - Criteria applied to filter the shipment.
2091
+ */
1119
2092
  filters?: any[];
1120
2093
  };
1121
2094
  /** @returns {ReasonsData} */
1122
2095
  declare function ReasonsData(): ReasonsData;
1123
2096
  type ReasonsData = {
2097
+ /**
2098
+ * - Reasons data for bags.
2099
+ */
1124
2100
  products?: ProductsReasons[];
2101
+ /**
2102
+ * - Reasons data for shipments.
2103
+ */
1125
2104
  entities?: EntitiesReasons[];
1126
2105
  };
1127
2106
  /** @returns {Products} */
1128
2107
  declare function Products(): Products;
1129
2108
  type Products = {
2109
+ /**
2110
+ * - The specific line item of bag.
2111
+ */
1130
2112
  line_number?: number;
2113
+ /**
2114
+ * - The quantity of the product.
2115
+ */
1131
2116
  quantity?: number;
2117
+ /**
2118
+ * - The unique identifier for the product.
2119
+ */
1132
2120
  identifier?: string;
1133
2121
  };
1134
2122
  /** @returns {ProductsDataUpdatesFilters} */
1135
2123
  declare function ProductsDataUpdatesFilters(): ProductsDataUpdatesFilters;
1136
2124
  type ProductsDataUpdatesFilters = {
2125
+ /**
2126
+ * - The specific line item of bag.
2127
+ */
1137
2128
  line_number?: number;
2129
+ /**
2130
+ * - The quantity of the product.
2131
+ */
1138
2132
  identifier?: string;
1139
2133
  };
1140
2134
  /** @returns {ProductsDataUpdates} */
1141
2135
  declare function ProductsDataUpdates(): ProductsDataUpdates;
1142
2136
  type ProductsDataUpdates = {
2137
+ /**
2138
+ * - Information about the data to be updated.
2139
+ */
1143
2140
  data?: any;
2141
+ /**
2142
+ * - Criteria applied to
2143
+ * filter the products.
2144
+ */
1144
2145
  filters?: ProductsDataUpdatesFilters[];
1145
2146
  };
1146
2147
  /** @returns {EntitiesDataUpdates} */
1147
2148
  declare function EntitiesDataUpdates(): EntitiesDataUpdates;
1148
2149
  type EntitiesDataUpdates = {
2150
+ /**
2151
+ * - Information about the data to be updated.
2152
+ */
1149
2153
  data?: any;
2154
+ /**
2155
+ * - Criteria applied to filter the shipments.
2156
+ */
1150
2157
  filters?: any[];
1151
2158
  };
1152
2159
  /** @returns {DataUpdates} */
1153
2160
  declare function DataUpdates(): DataUpdates;
1154
2161
  type DataUpdates = {
2162
+ /**
2163
+ * - Data updates for bags.
2164
+ */
1155
2165
  products?: ProductsDataUpdates[];
2166
+ /**
2167
+ * - Data updates for shipments.
2168
+ */
1156
2169
  entities?: EntitiesDataUpdates[];
1157
2170
  };
1158
2171
  /** @returns {ShipmentsRequest} */
1159
2172
  declare function ShipmentsRequest(): ShipmentsRequest;
1160
2173
  type ShipmentsRequest = {
1161
2174
  reasons?: ReasonsData;
2175
+ /**
2176
+ * - Specific bag to be updated.
2177
+ */
1162
2178
  products?: Products[];
1163
2179
  data_updates?: DataUpdates;
2180
+ /**
2181
+ * - The unique identifier for request which is
2182
+ * the shipment_id.
2183
+ */
1164
2184
  identifier: string;
1165
2185
  };
1166
2186
  /** @returns {StatuesRequest} */
1167
2187
  declare function StatuesRequest(): StatuesRequest;
1168
2188
  type StatuesRequest = {
2189
+ /**
2190
+ * - A list containing information
2191
+ * about shipments.
2192
+ */
1169
2193
  shipments?: ShipmentsRequest[];
2194
+ /**
2195
+ * - State to be change for
2196
+ * Remaining Bag/Products.
2197
+ */
1170
2198
  exclude_bags_next_state?: string;
2199
+ /**
2200
+ * - The status to which the entity is to be transitioned.
2201
+ */
1171
2202
  status?: string;
1172
2203
  };
1173
2204
  /** @returns {OrderRequest} */
1174
2205
  declare function OrderRequest(): OrderRequest;
1175
2206
  type OrderRequest = {
2207
+ /**
2208
+ * - Metadata for the order.
2209
+ */
1176
2210
  meta?: any;
1177
2211
  };
1178
2212
  /** @returns {UpdateShipmentStatusRequest} */
1179
2213
  declare function UpdateShipmentStatusRequest(): UpdateShipmentStatusRequest;
1180
2214
  type UpdateShipmentStatusRequest = {
2215
+ /**
2216
+ * - An array containing different status details.
2217
+ */
1181
2218
  statuses?: StatuesRequest[];
2219
+ /**
2220
+ * - Indicates whether the task is active or required.
2221
+ */
1182
2222
  task?: boolean;
2223
+ /**
2224
+ * - Indicates whether the status
2225
+ * should be locked after the transition.
2226
+ */
1183
2227
  lock_after_transition?: boolean;
2228
+ /**
2229
+ * - Indicates whether the transition
2230
+ * should be forced.
2231
+ */
1184
2232
  force_transition?: boolean;
2233
+ /**
2234
+ * - Indicates whether the status
2235
+ * should be unlocked before the transition.
2236
+ */
1185
2237
  unlock_before_transition?: boolean;
1186
2238
  };
1187
2239
  /** @returns {StatusesBodyResponse} */
1188
2240
  declare function StatusesBodyResponse(): StatusesBodyResponse;
1189
2241
  type StatusesBodyResponse = {
2242
+ /**
2243
+ * - List of shipments.
2244
+ */
1190
2245
  shipments?: any[];
1191
2246
  };
1192
2247
  /** @returns {ShipmentApplicationStatusResponse} */
1193
2248
  declare function ShipmentApplicationStatusResponse(): ShipmentApplicationStatusResponse;
1194
2249
  type ShipmentApplicationStatusResponse = {
2250
+ /**
2251
+ * - An array containing different
2252
+ * status options of shipments.
2253
+ */
1195
2254
  statuses?: StatusesBodyResponse[];
1196
2255
  };
1197
2256
  /** @returns {ErrorResponse} */
1198
2257
  declare function ErrorResponse(): ErrorResponse;
1199
2258
  type ErrorResponse = {
2259
+ /**
2260
+ * - The HTTP status code of the response.
2261
+ */
1200
2262
  code?: string;
2263
+ /**
2264
+ * - A message providing details about the response.
2265
+ */
1201
2266
  message?: string;
2267
+ /**
2268
+ * - An additional code providing more context about
2269
+ * the response.
2270
+ */
1202
2271
  status?: number;
2272
+ /**
2273
+ * - Details of any exception that occurred.
2274
+ */
1203
2275
  exception?: string;
2276
+ /**
2277
+ * - The stack trace of any exception that occurred.
2278
+ */
1204
2279
  stack_trace?: string;
1205
2280
  };