@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,28 +1,34 @@
1
1
  export = FinancePlatformModel;
2
2
  /**
3
3
  * @typedef OrederFreezeResponse
4
- * @property {boolean} [success]
5
- * @property {boolean} [oms_freeze]
6
- * @property {string} [source]
4
+ * @property {boolean} [success] - Indicates whether the operation was successful or not.
5
+ * @property {boolean} [oms_freeze] - Flag indicating if the system is frozen
6
+ * for order management.
7
+ * @property {string} [source] - Optional field indicating the data source of
8
+ * the information.
7
9
  */
8
10
  /**
9
11
  * @typedef GenerateReportMeta
10
- * @property {string} [brand]
11
- * @property {string} [company]
12
- * @property {string} [channel]
12
+ * @property {string} [brand] - The brand name associated with the report meta
13
+ * information.
14
+ * @property {string} [company] - The company name associated with the report
15
+ * meta information.
16
+ * @property {string} [channel] - The sale channel name associated with seller.
13
17
  */
14
18
  /**
15
19
  * @typedef GenerateReportFilters
16
- * @property {string[]} [brand]
17
- * @property {string[]} [company]
18
- * @property {string[]} [channel]
20
+ * @property {string[]} [brand] - An array of brand names to filter the report data.
21
+ * @property {string[]} [company] - An array of company id to filter the report data.
22
+ * @property {string[]} [channel] - An array of sale channel names associated
23
+ * with seller to filter the report data.
19
24
  */
20
25
  /**
21
26
  * @typedef GenerateReportPlatform
22
- * @property {string} [start_date]
23
- * @property {string} [end_date]
27
+ * @property {string} [start_date] - The start date to generate report specific preiod.
28
+ * @property {string} [end_date] - The end date to generate report specific preiod.
24
29
  * @property {GenerateReportMeta} [meta]
25
- * @property {string} [report_id]
30
+ * @property {string} [report_id] - The unique identifier of the generate report
31
+ * where different report configure.
26
32
  * @property {GenerateReportFilters} [filters]
27
33
  */
28
34
  /**
@@ -31,29 +37,30 @@ export = FinancePlatformModel;
31
37
  */
32
38
  /**
33
39
  * @typedef Page
34
- * @property {number} [item_total]
35
- * @property {string} [next_id]
36
- * @property {boolean} [has_previous]
37
- * @property {boolean} [has_next]
38
- * @property {number} [current]
39
- * @property {string} type
40
- * @property {number} [size]
40
+ * @property {number} [item_total] - The total number of items on the page.
41
+ * @property {string} [next_id] - The identifier for the next page.
42
+ * @property {boolean} [has_previous] - Indicates whether there is a previous page.
43
+ * @property {boolean} [has_next] - Indicates whether there is a next page.
44
+ * @property {number} [current] - The current page number.
45
+ * @property {string} type - The type of the page, such as 'PageType'.
46
+ * @property {number} [size] - The number of items per page.
41
47
  */
42
48
  /**
43
49
  * @typedef Currency
44
- * @property {string} [code]
45
- * @property {string} [symbol]
46
- * @property {string} [name]
50
+ * @property {string} [code] - The unique currency code.
51
+ * @property {string} [symbol] - The unique currency symbol.
52
+ * @property {string} [name] - The unique currency name.
47
53
  */
48
54
  /**
49
55
  * @typedef GenerateReportJson
50
56
  * @property {Object} [data]
51
- * @property {number} [item_count]
57
+ * @property {number} [item_count] - Total number of items in the report.
52
58
  * @property {Page} [page]
53
- * @property {string} [end_date]
54
- * @property {string} [start_date]
55
- * @property {string[][]} [items]
56
- * @property {string[]} [headers]
59
+ * @property {string} [end_date] - The end date to generate report specific preiod.
60
+ * @property {string} [start_date] - The start date to generate report specific preiod.
61
+ * @property {string[][]} [items] - Nested array structure representing report
62
+ * items or data.
63
+ * @property {string[]} [headers] - Headers describing each item in the report data.
57
64
  */
58
65
  /**
59
66
  * @typedef Error
@@ -83,43 +90,46 @@ export = FinancePlatformModel;
83
90
  */
84
91
  /**
85
92
  * @typedef DownloadReportData
86
- * @property {number} [page]
87
- * @property {number} [page_size]
88
- * @property {string} [start_date]
89
- * @property {string} [end_date]
93
+ * @property {number} [page] - The current page number of the report.
94
+ * @property {number} [page_size] - The number of items displayed per page.
95
+ * @property {string} [start_date] - The start date for fetching the report
96
+ * history for download.
97
+ * @property {string} [end_date] - The end date for fetching the report history
98
+ * for download.
90
99
  */
91
100
  /**
92
101
  * @typedef DownloadReportItems
93
- * @property {string} [start_date]
94
- * @property {string} [end_date]
102
+ * @property {string} [start_date] - The start date for the report item.
103
+ * @property {string} [end_date] - The end date for the report item.
95
104
  * @property {GenerateReportMeta} [meta]
96
- * @property {string} [report_id]
105
+ * @property {string} [report_id] - The unique identifier of the report item.
97
106
  * @property {GenerateReportFilters} [filters]
98
- * @property {string} [type_of_request]
99
107
  */
100
108
  /**
101
109
  * @typedef DownloadReportList
102
- * @property {DownloadReportItems[]} [items]
110
+ * @property {DownloadReportItems[]} [items] - A list of report items available
111
+ * for download.
103
112
  * @property {Page} [page]
104
- * @property {number} [item_count]
113
+ * @property {number} [item_count] - The total number of items in the report list.
105
114
  */
106
115
  /**
107
116
  * @typedef GetEngineFilters
108
- * @property {string} [config_field]
109
- * @property {string} [status]
110
- * @property {boolean} [is_active]
111
- * @property {string} [seller_id]
117
+ * @property {string} [config_field] - The configuration field used for filtering.
118
+ * @property {string} [status] - The status used for filtering.
119
+ * @property {boolean} [is_active] - Flag indicating if the filter is active.
120
+ * @property {string} [seller_id] - The seller ID used for filtering.
112
121
  */
113
122
  /**
114
123
  * @typedef GetEngineData
115
- * @property {string} [status]
124
+ * @property {string} [status] - Status of the request.
116
125
  * @property {GetEngineFilters} [filters]
117
- * @property {string[]} [project]
118
- * @property {string} [table_name]
119
- * @property {Object} [search]
120
- * @property {number} [page]
121
- * @property {number} [page_size]
122
- * @property {string} [order_by]
126
+ * @property {string[]} [project] - A list of fields to get data from tables.
127
+ * @property {string} [table_name] - The name of the table from which to retrieve data.
128
+ * @property {Object} [search] - Search criteria for querying on given table
129
+ * specific fields.
130
+ * @property {number} [page] - The current page number for pagination.
131
+ * @property {number} [page_size] - The number of items displayed per page.
132
+ * @property {string} [order_by] - The field by which to order the results.
123
133
  */
124
134
  /**
125
135
  * @typedef GetEngineReq
@@ -127,14 +137,14 @@ export = FinancePlatformModel;
127
137
  */
128
138
  /**
129
139
  * @typedef GetEngineResponse
130
- * @property {boolean} [success]
131
- * @property {Object[]} [items]
140
+ * @property {boolean} [success] - Indicates whether the request was successful.
141
+ * @property {Object[]} [items] - A list of items returned by the request.
132
142
  * @property {Page} [page]
133
- * @property {number} [item_count]
143
+ * @property {number} [item_count] - The total number of items returned by the request.
134
144
  */
135
145
  /**
136
146
  * @typedef GetReason
137
- * @property {string} [reason_type]
147
+ * @property {string} [reason_type] - The type of reason associated with the request.
138
148
  */
139
149
  /**
140
150
  * @typedef GetReasonReq
@@ -142,56 +152,60 @@ export = FinancePlatformModel;
142
152
  */
143
153
  /**
144
154
  * @typedef ReasonItem
145
- * @property {string} [id]
146
- * @property {string} [name]
147
- * @property {string} [display_name]
155
+ * @property {string} [id] - Id of the reason for reason_type.
156
+ * @property {string} [name] - Code of the reason for reason_type.
157
+ * @property {string} [display_name] - Display name of the reason for reason_type.
148
158
  */
149
159
  /**
150
160
  * @typedef GetReasonResponse
151
- * @property {boolean} [success]
152
- * @property {ReasonItem[]} [item_list]
153
- * @property {number} [item_count]
161
+ * @property {boolean} [success] - Indicates whether the request was successfull.
162
+ * @property {ReasonItem[]} [item_list] - The list of items returned in the response.
163
+ * @property {number} [item_count] - The number of items in the response.
154
164
  * @property {Page} [page]
155
165
  */
156
166
  /**
157
167
  * @typedef GetReportListData
158
- * @property {string} [role_name]
159
- * @property {boolean} [listing_enabled]
168
+ * @property {string} [role_name] - The name of the role requesting the report list.
169
+ * @property {boolean} [listing_enabled] - Indicates whether listing is enabled
170
+ * for the role.
160
171
  */
161
172
  /**
162
173
  * @typedef GetReportListReq
163
174
  * @property {GetReportListData} [data]
164
175
  */
165
- /**
166
- * @typedef GetAffiliate
167
- * @property {number} [company_id]
168
- */
169
176
  /**
170
177
  * @typedef GetReportListResponse
171
- * @property {boolean} [success]
172
- * @property {ReportItem[]} [items]
178
+ * @property {boolean} [success] - Indicates whether the request was successful.
179
+ * @property {ReportItem[]} [items] - The list of report items.
173
180
  * @property {Page} [page]
174
- * @property {number} [total_count]
181
+ * @property {number} [total_count] - The total number of items in the report list.
175
182
  */
176
183
  /**
177
184
  * @typedef ReportItem
178
- * @property {string} [id]
179
- * @property {string} [name]
180
- * @property {string} [description]
181
- * @property {string[]} [allowed_filters]
182
- * @property {Object} [config_meta]
183
- * @property {string} [report_type]
184
- * @property {string} [display_date]
185
+ * @property {string} [id] - The unique identifier for the report item.
186
+ * @property {string} [name] - The name of the report item.
187
+ * @property {string} [description] - A brief description of the report item.
188
+ * @property {string[]} [allowed_filters] - The filters that can be applied to
189
+ * the report item.
190
+ * @property {Object} [config_meta] - Metadata related to the report item configuration.
191
+ * @property {string} [report_type] - The type of the report item.
192
+ * @property {string} [display_date] - The display date of the report item, if applicable.
193
+ */
194
+ /**
195
+ * @typedef GetAffiliate
196
+ * @property {number} [company_id] - The unique identifier of the company
197
+ * associated with the affiliate.
185
198
  */
186
199
  /**
187
200
  * @typedef GetAffiliateResponse
188
- * @property {string} [reason]
189
- * @property {boolean} [success]
190
- * @property {Object[]} [docs]
201
+ * @property {string} [reason] - The reason for the response, if applicable.
202
+ * @property {boolean} [success] - Indicates whether the request was successful.
203
+ * @property {Object[]} [docs] - List of items or data related to the affiliate.
191
204
  */
192
205
  /**
193
206
  * @typedef DownloadCreditDebitNote
194
- * @property {string[]} [note_id]
207
+ * @property {string[]} [note_id] - List of unique identifiers for the
208
+ * credit/debit notes to be download.
195
209
  */
196
210
  /**
197
211
  * @typedef DownloadCreditDebitNoteReq
@@ -199,30 +213,35 @@ export = FinancePlatformModel;
199
213
  */
200
214
  /**
201
215
  * @typedef DownloadCreditDebitNoteResponseData
202
- * @property {string} [id]
203
- * @property {string} [pdf_s3_url]
216
+ * @property {string} [id] - The unique identifier of the download credit/debit note.
217
+ * @property {string} [pdf_s3_url] - The URL where the PDF of the credit/debit
218
+ * note is stored.
204
219
  */
205
220
  /**
206
221
  * @typedef DownloadCreditDebitNoteResponse
207
- * @property {boolean} [success]
208
- * @property {DownloadCreditDebitNoteResponseData[]} [data]
222
+ * @property {boolean} [success] - Indicates whether the request to download the
223
+ * credit/debit notes was successful.
224
+ * @property {DownloadCreditDebitNoteResponseData[]} [data] - List of
225
+ * credit/debit notes download data.
209
226
  */
210
227
  /**
211
228
  * @typedef InvoiceBillingItem
212
- * @property {string} [invoice_number]
213
- * @property {number} [amount]
229
+ * @property {string} [invoice_number] - The number of the invoice associated
230
+ * with the billing item.
231
+ * @property {number} [amount] - The amount of the billing item.
214
232
  */
215
233
  /**
216
234
  * @typedef PaymentProcessPayload
217
- * @property {string} [platform]
218
- * @property {number} [amount]
219
- * @property {string} [transaction_type]
220
- * @property {string} [source_reference]
221
- * @property {number} [total_amount]
222
- * @property {Object} [meta]
223
- * @property {string} [currency]
224
- * @property {string} [seller_id]
225
- * @property {string} [mode_of_payment]
235
+ * @property {string} [platform] - The platform through which the payment is processed.
236
+ * @property {number} [amount] - The total amount to be processed in the payment.
237
+ * @property {string} [transaction_type] - The type of transaction (e.g., seller_online).
238
+ * @property {string} [source_reference] - The reference for the source of the payment.
239
+ * @property {number} [total_amount] - The total amount to be processed in the payment.
240
+ * @property {Object} [meta] - Additional metadata related to the payment.
241
+ * @property {string} [currency] - The currency in which the payment is made.
242
+ * @property {string} [seller_id] - The unique identifier for the seller
243
+ * receiving the payment.
244
+ * @property {string} [mode_of_payment] - The mode of payment (e.g., online).
226
245
  * @property {InvoiceBillingItem[]} [invoice_billing_items]
227
246
  */
228
247
  /**
@@ -231,19 +250,23 @@ export = FinancePlatformModel;
231
250
  */
232
251
  /**
233
252
  * @typedef PaymentProcessResponse
234
- * @property {number} [code]
235
- * @property {string} [message]
236
- * @property {Object} [meta]
237
- * @property {string} [transaction_id]
238
- * @property {string} [redirect_url]
253
+ * @property {number} [code] - Response code indicating the status of the payment process.
254
+ * @property {string} [message] - A message providing additional information
255
+ * about the payment process response.
256
+ * @property {Object} [meta] - Additional metadata related to the payment
257
+ * process response.
258
+ * @property {string} [transaction_id] - The unique identifier for the payment
259
+ * transaction.
260
+ * @property {string} [redirect_url] - URL to redirect the user to complete the
261
+ * payment process, if applicable.
239
262
  */
240
263
  /**
241
264
  * @typedef CreditlineDataPlatformPayload
242
- * @property {number} [page]
243
- * @property {string} [seller_id]
244
- * @property {string} [end_date]
245
- * @property {string} [start_date]
246
- * @property {number} [page_size]
265
+ * @property {number} [page] - The page number for pagination.
266
+ * @property {string} [seller_id] - The unique identifier for the seller.
267
+ * @property {string} [end_date] - The end date for the query.
268
+ * @property {string} [start_date] - The start date for the query.
269
+ * @property {number} [page_size] - The number of items per page.
247
270
  */
248
271
  /**
249
272
  * @typedef CreditlineDataPlatformReq
@@ -251,17 +274,19 @@ export = FinancePlatformModel;
251
274
  */
252
275
  /**
253
276
  * @typedef CreditlineDataPlatformResponse
254
- * @property {Object[]} [items]
255
- * @property {number} [code]
256
- * @property {boolean} [show_mr]
277
+ * @property {Object[]} [items] - The list of items in the response.
278
+ * @property {number} [code] - The response status code.
279
+ * @property {boolean} [show_mr] - A flag indicating whether to show MR (some
280
+ * specific field).
257
281
  * @property {Page} [page]
258
- * @property {string} [message]
259
- * @property {string[]} [headers]
260
- * @property {number} [item_count]
282
+ * @property {string} [message] - The response message.
283
+ * @property {string[]} [headers] - The list of response headers.
284
+ * @property {number} [item_count] - The total number of items.
261
285
  */
262
286
  /**
263
287
  * @typedef IsCreditlinePayload
264
- * @property {string} [seller_id]
288
+ * @property {string} [seller_id] - The unique identifier for the seller to
289
+ * check for credit line eligibility.
265
290
  */
266
291
  /**
267
292
  * @typedef IsCreditlinePlatformReq
@@ -269,12 +294,14 @@ export = FinancePlatformModel;
269
294
  */
270
295
  /**
271
296
  * @typedef IsCreditlinePlatformResponse
272
- * @property {boolean} [is_creditline_opted]
273
- * @property {number} [code]
297
+ * @property {boolean} [is_creditline_opted] - Indicates whether the seller has
298
+ * opted for a credit line.
299
+ * @property {number} [code] - Response code indicating the status of the credit
300
+ * line check.
274
301
  */
275
302
  /**
276
303
  * @typedef InvoiceTypePayloadData
277
- * @property {boolean} [is_active]
304
+ * @property {boolean} [is_active] - Indicates if the invoice type is active.
278
305
  */
279
306
  /**
280
307
  * @typedef InvoiceTypeReq
@@ -282,28 +309,30 @@ export = FinancePlatformModel;
282
309
  */
283
310
  /**
284
311
  * @typedef InvoiceTypeResponseItems
285
- * @property {string} [text]
286
- * @property {string} [value]
312
+ * @property {string} [text] - The text description of the invoice type.
313
+ * @property {string} [value] - The value or code representing the invoice type.
287
314
  */
288
315
  /**
289
316
  * @typedef InvoiceTypeResponse
290
- * @property {boolean} [success]
291
- * @property {InvoiceTypeResponseItems[]} [invoice_type_list]
292
- * @property {InvoiceTypeResponseItems[]} [payment_status_list]
317
+ * @property {boolean} [success] - Indicates whether the request was successful.
318
+ * @property {InvoiceTypeResponseItems[]} [invoice_type_list] - List of invoice
319
+ * types available.
320
+ * @property {InvoiceTypeResponseItems[]} [payment_status_list] - List of
321
+ * payment statuses available.
293
322
  */
294
323
  /**
295
324
  * @typedef InoviceListingPayloadDataFilters
296
- * @property {string[]} [payment_status]
297
- * @property {string[]} [invoice_type]
298
- * @property {string[]} [company_id]
325
+ * @property {string[]} [payment_status] - List of payment statuses to filter by.
326
+ * @property {string[]} [invoice_type] - List of invoice types to filter by.
327
+ * @property {string[]} [company_id] - List of company IDs to filter by.
299
328
  */
300
329
  /**
301
330
  * @typedef InvoiceListingPayloadData
302
- * @property {number} [page_size]
303
- * @property {number} [page]
304
- * @property {string} [start_date]
305
- * @property {string} [end_date]
306
- * @property {string} [search]
331
+ * @property {number} [page_size] - The number of items per page for pagination.
332
+ * @property {number} [page] - The page number for pagination.
333
+ * @property {string} [start_date] - The start date for the invoice listing filter.
334
+ * @property {string} [end_date] - The end date for the invoice listing filter.
335
+ * @property {string} [search] - Search term for filtering invoices.
307
336
  * @property {InoviceListingPayloadDataFilters} [filters]
308
337
  */
309
338
  /**
@@ -312,36 +341,40 @@ export = FinancePlatformModel;
312
341
  */
313
342
  /**
314
343
  * @typedef UnpaidInvoiceDataItems
315
- * @property {number} [total_unpaid_invoice_count]
316
- * @property {string} [currency]
317
- * @property {number} [total_unpaid_amount]
344
+ * @property {number} [total_unpaid_invoice_count] - The total count of unpaid invoices.
345
+ * @property {string} [currency] - The currency used for unpaid invoices.
346
+ * @property {number} [total_unpaid_amount] - The total amount of unpaid invoices.
318
347
  */
319
348
  /**
320
349
  * @typedef InvoiceListingResponseItems
321
- * @property {number} [amount]
322
- * @property {string} [company]
323
- * @property {string} [status]
324
- * @property {string} [due_date]
325
- * @property {string} [invoice_date]
326
- * @property {string} [invoice_type]
327
- * @property {string} [period]
328
- * @property {string} [invoice_number]
329
- * @property {boolean} [is_downloadable]
330
- * @property {string} [invoice_id]
350
+ * @property {number} [amount] - The amount of the invoice.
351
+ * @property {string} [company] - The name of the company associated with the invoice.
352
+ * @property {string} [status] - The current status of the invoice (e.g.,
353
+ * 'paid', 'unpaid').
354
+ * @property {string} [due_date] - The due date of the invoice.
355
+ * @property {string} [invoice_date] - The date when the invoice was issued.
356
+ * @property {string} [invoice_type] - The type of invoice.
357
+ * @property {string} [period] - The period covered by the invoice.
358
+ * @property {string} [invoice_number] - The invoice number.
359
+ * @property {boolean} [is_downloadable] - Indicates if the invoice is available
360
+ * for download.
361
+ * @property {string} [invoice_id] - The unique identifier of the invoice.
331
362
  * @property {Currency} [currency]
332
363
  */
333
364
  /**
334
365
  * @typedef InvoiceListingResponse
335
- * @property {boolean} [success]
336
- * @property {string[]} [headers]
366
+ * @property {boolean} [success] - Indicates whether the request was successful.
367
+ * @property {string[]} [headers] - Headers related to the invoice listing response.
337
368
  * @property {UnpaidInvoiceDataItems} [unpaid_invoice_data]
338
- * @property {InvoiceListingResponseItems[]} [items]
369
+ * @property {InvoiceListingResponseItems[]} [items] - List of invoice items in
370
+ * the response.
339
371
  * @property {Page} [page]
340
- * @property {number} [item_count]
372
+ * @property {number} [item_count] - The total number of invoice items in the response.
341
373
  */
342
374
  /**
343
375
  * @typedef InvoicePdfPayloadData
344
- * @property {string[]} [invoice_number]
376
+ * @property {string[]} [invoice_number] - List of invoice numbers for which
377
+ * PDFs are requested.
345
378
  */
346
379
  /**
347
380
  * @typedef InvoicePdfReq
@@ -349,15 +382,18 @@ export = FinancePlatformModel;
349
382
  */
350
383
  /**
351
384
  * @typedef InvoicePdfResponse
352
- * @property {boolean} [success]
353
- * @property {string[]} [data]
354
- * @property {string[]} [error]
385
+ * @property {boolean} [success] - Indicates whether the PDF generation request
386
+ * was successful.
387
+ * @property {string[]} [data] - List of URLs or paths to the generated PDF files.
388
+ * @property {string[]} [error] - List of errors encountered while generating the PDFs.
355
389
  */
356
390
  /**
357
391
  * @typedef IsCnRefundMethodData
358
- * @property {string} [affiliate_id]
359
- * @property {boolean} [toggle_edit_required]
360
- * @property {number} [seller_id]
392
+ * @property {string} [affiliate_id] - The unique identifier of sale channels or
393
+ * application as affiliate_id associated with the seller.
394
+ * @property {boolean} [toggle_edit_required] - Indicates whether editing the
395
+ * refund method is required.
396
+ * @property {number} [seller_id] - Unique identifier for the seller.
361
397
  */
362
398
  /**
363
399
  * @typedef IsCnRefundMethodReq
@@ -365,29 +401,37 @@ export = FinancePlatformModel;
365
401
  */
366
402
  /**
367
403
  * @typedef IsCnRefundMethodResponseData
368
- * @property {boolean} [is_first_time_user]
404
+ * @property {boolean} [is_first_time_user] - Indicates whether the seller for
405
+ * specific sale channel is using the refund method for the first time.
369
406
  */
370
407
  /**
371
408
  * @typedef IsCnRefundMethodResponse
372
- * @property {boolean} [success]
409
+ * @property {boolean} [success] - Indicates whether the request to determine
410
+ * the refund method was successful.
373
411
  * @property {IsCnRefundMethodResponseData} [data]
374
412
  */
375
413
  /**
376
414
  * @typedef CreditNoteConfigNotificationEvents
377
- * @property {number} [expiration_reminder_to_customer]
415
+ * @property {number} [expiration_reminder_to_customer] - Number of days before
416
+ * the expiration date to send a reminder notification to the customer.
378
417
  */
379
418
  /**
380
419
  * @typedef CreateSellerCreditNoteConfig
381
- * @property {boolean} [is_cn_as_refund_method]
382
- * @property {string} [affiliate_id]
383
- * @property {string[]} [source_channel]
384
- * @property {number} [seller_id]
420
+ * @property {boolean} [is_cn_as_refund_method] - Indicates if the credit note
421
+ * is used as a refund method.
422
+ * @property {string} [affiliate_id] - The unique identifier of sale channels or
423
+ * application as affiliate_id associated with the seller.
424
+ * @property {string[]} [source_channel] - List of source channels associated
425
+ * with the credit note configuration.
426
+ * @property {number} [seller_id] - Unique identifier for the seller.
385
427
  * @property {CreditNoteConfigNotificationEvents} [notification_events]
386
- * @property {string} [sales_channel_name]
387
- * @property {string[]} [ordering_channel]
388
- * @property {number} [validity]
389
- * @property {string} [currency_type]
390
- * @property {string[]} [slug_values]
428
+ * @property {string} [sales_channel_name] - Name of the sales channel.
429
+ * @property {string[]} [ordering_channel] - List of ordering channels
430
+ * associated with the credit note configuration.
431
+ * @property {number} [validity] - Validity period of the credit note in days.
432
+ * @property {string} [currency_type] - Type of currency used for the credit note.
433
+ * @property {string[]} [slug_values] - List of slug values associated with the
434
+ * credit note configuration.
391
435
  */
392
436
  /**
393
437
  * @typedef CreateSellerCreditNoteConfigReq
@@ -395,14 +439,18 @@ export = FinancePlatformModel;
395
439
  */
396
440
  /**
397
441
  * @typedef CreateSellerCreditNoteConfigResponse
398
- * @property {boolean} [success]
399
- * @property {string} [message]
442
+ * @property {boolean} [success] - Indicates if the credit note configuration
443
+ * creation was successful.
444
+ * @property {string} [message] - Additional information or message about the
445
+ * credit note configuration creation process.
400
446
  */
401
447
  /**
402
448
  * @typedef DeleteConfig
403
- * @property {string} [affiliate_id]
404
- * @property {string[]} [slug_values]
405
- * @property {number} [seller_id]
449
+ * @property {string} [affiliate_id] - The unique identifier of sale channels or
450
+ * application as affiliate_id associated with the seller.
451
+ * @property {string[]} [slug_values] - List of slug values associated with the
452
+ * credit note configuration.
453
+ * @property {number} [seller_id] - Unique identifier for the seller.
406
454
  */
407
455
  /**
408
456
  * @typedef DeleteConfigReq
@@ -410,22 +458,26 @@ export = FinancePlatformModel;
410
458
  */
411
459
  /**
412
460
  * @typedef DeleteConfigResponse
413
- * @property {boolean} [success]
414
- * @property {string} [message]
461
+ * @property {boolean} [success] - Indicates if the configuration deletion was successful.
462
+ * @property {string} [message] - Additional information or message about the
463
+ * configuration deletion process.
415
464
  */
416
465
  /**
417
466
  * @typedef ChannelDisplayNameItems
418
- * @property {string} [key]
419
- * @property {string} [value]
467
+ * @property {string} [key] - The unique key identifying the channel.
468
+ * @property {string} [value] - The display name of the channel associated with the key.
420
469
  */
421
470
  /**
422
471
  * @typedef ChannelDisplayNameResponse
423
- * @property {boolean} [success]
424
- * @property {ChannelDisplayNameItems[]} [items]
472
+ * @property {boolean} [success] - Indicates if the retrieval of channel display
473
+ * names was successful.
474
+ * @property {ChannelDisplayNameItems[]} [items] - List of items containing
475
+ * key-value pairs for channel display names.
425
476
  */
426
477
  /**
427
478
  * @typedef CnReferenceNumber
428
- * @property {string} [cn_reference_number]
479
+ * @property {string} [cn_reference_number] - The unique reference number of the
480
+ * credit note.
429
481
  */
430
482
  /**
431
483
  * @typedef GetPdfUrlViewReq
@@ -433,12 +485,15 @@ export = FinancePlatformModel;
433
485
  */
434
486
  /**
435
487
  * @typedef GetPdfUrlViewResponseData
436
- * @property {string} [s3_pdf_link]
437
- * @property {string} [cn_reference_number]
488
+ * @property {string} [s3_pdf_link] - The URL link where credit nore pdf stored
489
+ * to view and download.
490
+ * @property {string} [cn_reference_number] - The unique reference number of the
491
+ * credit note.
438
492
  */
439
493
  /**
440
494
  * @typedef GetPdfUrlViewResponse
441
- * @property {boolean} [success]
495
+ * @property {boolean} [success] - Indicates if the retrieval of the pdf URL was
496
+ * successful.
442
497
  * @property {GetPdfUrlViewResponseData} [data]
443
498
  */
444
499
  /**
@@ -447,51 +502,61 @@ export = FinancePlatformModel;
447
502
  */
448
503
  /**
449
504
  * @typedef CnDetails
450
- * @property {string} [staff_id]
451
- * @property {string} [expiry_date]
452
- * @property {string} [channel_of_issuance]
453
- * @property {string} [order_id]
454
- * @property {string} [date_issued]
455
- * @property {string} [ordering_channel]
456
- * @property {string} [shipment_id]
457
- * @property {string} [store_id]
458
- * @property {string} [invoice_number]
505
+ * @property {string} [staff_id] - ID of the staff member associated with the credit note.
506
+ * @property {string} [expiry_date] - Expiry date of the credit note.
507
+ * @property {string} [channel_of_issuance] - Channel through which the credit
508
+ * note was issued.
509
+ * @property {string} [order_id] - Order ID of order for which credit note created.
510
+ * @property {string} [date_issued] - Date when the credit note was issued.
511
+ * @property {string} [ordering_channel] - Ordering channel associated with the
512
+ * credit note.
513
+ * @property {string} [shipment_id] - Shipment Id associated with the credit note.
514
+ * @property {string} [store_id] - Store Id associated with the credit note.
515
+ * @property {string} [invoice_number] - Invoice number associated with the credit note.
459
516
  */
460
517
  /**
461
518
  * @typedef RedemptionDetails
462
- * @property {Object} [meta]
463
- * @property {string} [staff_id]
464
- * @property {string} [created_at]
465
- * @property {string} [order_id]
466
- * @property {string} [store_id]
467
- * @property {string} [shipment_id]
468
- * @property {string} [ordering_channel]
469
- * @property {number} [amount_debited]
470
- * @property {string} [invoice_number]
519
+ * @property {Object} [meta] - Additional metadata related to the redemption details.
520
+ * @property {string} [staff_id] - ID of the staff member who processed the redemption.
521
+ * @property {string} [created_at] - Date and time when the redemption was processed.
522
+ * @property {string} [order_id] - Order Id of the order associated with the redemption.
523
+ * @property {string} [store_id] - Store Id of the order associated with the redemption.
524
+ * @property {string} [shipment_id] - Shipment Id of the order associated with
525
+ * the redemption.
526
+ * @property {string} [ordering_channel] - Ordering channel associated with the
527
+ * redemption.
528
+ * @property {number} [amount_debited] - Amount debited from the credit note
529
+ * during redemption.
530
+ * @property {string} [invoice_number] - Invoice number associated with the redemption.
471
531
  */
472
532
  /**
473
533
  * @typedef CreditNoteDetails
474
- * @property {string} [currency]
475
- * @property {number} [current_amount_used]
476
- * @property {string} [cn_status]
477
- * @property {string} [customer_mobile_number]
478
- * @property {string} [cn_reference_number]
534
+ * @property {string} [currency] - Currency in which the credit note is issued.
535
+ * @property {number} [current_amount_used] - Current amount used from the credit note.
536
+ * @property {string} [cn_status] - Status of the credit note.
537
+ * @property {string} [customer_mobile_number] - Mobile number of the customer
538
+ * associated with the credit note.
539
+ * @property {string} [cn_reference_number] - Unique Credit number of the credit note.
479
540
  * @property {CnDetails} [cn_details]
480
- * @property {RedemptionDetails[]} [redemption_details]
481
- * @property {number} [remaining_cn_amount]
482
- * @property {number} [available_cn_balance]
483
- * @property {number} [cn_amount]
541
+ * @property {RedemptionDetails[]} [redemption_details] - List of redemption
542
+ * details associated with the credit note.
543
+ * @property {number} [remaining_cn_amount] - Remaining amount left in the credit note.
544
+ * @property {number} [available_cn_balance] - Available balance in the credit note.
545
+ * @property {number} [cn_amount] - Total amount of the credit note.
484
546
  */
485
547
  /**
486
548
  * @typedef CreditNoteDetailsResponse
487
- * @property {boolean} [success]
549
+ * @property {boolean} [success] - Indicates if the retrieval of credit note
550
+ * details was successful.
488
551
  * @property {CreditNoteDetails} [data]
489
552
  */
490
553
  /**
491
554
  * @typedef GetCustomerCreditBalance
492
- * @property {string} [affiliate_id]
493
- * @property {number} [seller_id]
494
- * @property {string} [customer_mobile_number]
555
+ * @property {string} [affiliate_id] - The unique identifier of sale channels or
556
+ * application as affiliate_id associated with the seller.
557
+ * @property {number} [seller_id] - Unique identifier for the seller.
558
+ * @property {string} [customer_mobile_number] - Mobile number of the customer
559
+ * for whom the credit balance is requested.
495
560
  */
496
561
  /**
497
562
  * @typedef GetCustomerCreditBalanceReq
@@ -499,12 +564,14 @@ export = FinancePlatformModel;
499
564
  */
500
565
  /**
501
566
  * @typedef GetCustomerCreditBalanceResponseData
502
- * @property {string} [customer_mobile_number]
503
- * @property {number} [total_credited_balance]
567
+ * @property {string} [customer_mobile_number] - Mobile number of the customer.
568
+ * @property {number} [total_credited_balance] - Total credited balance
569
+ * available for the customer.
504
570
  */
505
571
  /**
506
572
  * @typedef GetCustomerCreditBalanceResponse
507
- * @property {boolean} [success]
573
+ * @property {boolean} [success] - Indicates if the retrieval of customer credit
574
+ * balance was successful.
508
575
  * @property {GetCustomerCreditBalanceResponseData} [data]
509
576
  */
510
577
  /**
@@ -513,47 +580,60 @@ export = FinancePlatformModel;
513
580
  */
514
581
  /**
515
582
  * @typedef GetCnConfigResponseMeta
516
- * @property {string} [reason]
517
- * @property {string[]} [source_channel]
583
+ * @property {string} [reason] - Reason associated with the configuration response.
584
+ * @property {string[]} [source_channel] - List of source channels associated
585
+ * with the credit note configuration.
518
586
  */
519
587
  /**
520
588
  * @typedef GetCnConfigResponseData
521
- * @property {boolean} [is_cn_as_refund_method]
522
- * @property {string} [affiliate_id]
589
+ * @property {boolean} [is_cn_as_refund_method] - Indicates if the credit note
590
+ * is configured as a refund method.
591
+ * @property {string} [affiliate_id] - The unique identifier of sale channels or
592
+ * application as affiliate_id associated with the seller.
523
593
  * @property {Object} [meta]
524
- * @property {number} [seller_id]
594
+ * @property {number} [seller_id] - Unique identifier for the seller.
525
595
  * @property {CreditNoteConfigNotificationEvents} [notification_events]
526
- * @property {number} [validity]
527
- * @property {string[]} [redemption_ordering_channel]
528
- * @property {string} [currency_type]
596
+ * @property {number} [validity] - Validity period of the credit note
597
+ * configuration in days.
598
+ * @property {string[]} [redemption_ordering_channel] - List of ordering
599
+ * channels associated with credit note redemption.
600
+ * @property {string} [currency_type] - Type of currency used for the credit note.
529
601
  */
530
602
  /**
531
603
  * @typedef GetCnConfigResponse
532
- * @property {boolean} [success]
604
+ * @property {boolean} [success] - Indicates if the retrieval of credit note
605
+ * configuration was successful.
533
606
  * @property {GetCnConfigResponseData} [data]
534
607
  */
535
608
  /**
536
609
  * @typedef CnGenerateReportFilters
537
- * @property {string[]} [staff_id]
538
- * @property {string[]} [channel_of_issuance]
539
- * @property {string[]} [utilisation]
540
- * @property {string[]} [ordering_channel]
541
- * @property {number[]} [store_id]
542
- * @property {string[]} [type_of_transaction]
543
- * @property {string[]} [issuance_channel]
610
+ * @property {string[]} [staff_id] - Array of staff IDs for filtering credit note reports.
611
+ * @property {string[]} [channel_of_issuance] - Array of channels through which
612
+ * credit notes were issued.
613
+ * @property {string[]} [utilisation] - Array of utilisation types for filtering
614
+ * credit note reports.
615
+ * @property {string[]} [ordering_channel] - Array of ordering channels
616
+ * associated with credit note reports.
617
+ * @property {number[]} [store_id] - Array of store IDs for filtering credit note reports.
618
+ * @property {string[]} [type_of_transaction] - Array of transaction types for
619
+ * filtering credit note reports.
620
+ * @property {string[]} [issuance_channel] - Array of issuance channels for
621
+ * filtering credit note reports.
544
622
  */
545
623
  /**
546
624
  * @typedef CnGenerateReport
547
- * @property {number} [page]
548
- * @property {string} [end_date]
549
- * @property {number} [page_size]
625
+ * @property {number} [page] - Page number of the credit note report.
626
+ * @property {string} [end_date] - End date for filtering credit note data.
627
+ * @property {number} [page_size] - Number of items per page in the credit note report.
550
628
  * @property {CnGenerateReportFilters} [filters]
551
- * @property {string} [affiliate_id]
629
+ * @property {string} [affiliate_id] - The unique identifier of sale channels or
630
+ * application as affiliate_id associated with the seller.
552
631
  * @property {GenerateReportFilters} [meta]
553
- * @property {string} [search]
554
- * @property {string} [report_id]
555
- * @property {string} [search_type]
556
- * @property {string} [start_date]
632
+ * @property {string} [search] - Search query to filter credit note data by keyword.
633
+ * @property {string} [report_id] - Unique identifier for the credit note report.
634
+ * @property {string} [search_type] - Type of search criteria used for filtering
635
+ * credit note data.
636
+ * @property {string} [start_date] - Start date for filtering credit note data.
557
637
  */
558
638
  /**
559
639
  * @typedef GenerateReportCustomerCnReq
@@ -561,28 +641,35 @@ export = FinancePlatformModel;
561
641
  */
562
642
  /**
563
643
  * @typedef CnGenerateReportItems
564
- * @property {string} [expiry_date]
565
- * @property {string} [status]
566
- * @property {number} [total_amount]
567
- * @property {string} [order_id]
568
- * @property {string} [date_issued]
569
- * @property {string} [shipment_id]
570
- * @property {string} [invoice_number]
571
- * @property {string} [credit_note_number]
644
+ * @property {string} [expiry_date] - Expiry date of the credit note item.
645
+ * @property {string} [status] - Status of the credit note item.
646
+ * @property {number} [total_amount] - Total amount of the credit note item.
647
+ * @property {string} [order_id] - Order ID of the order associated with the
648
+ * credit note item.
649
+ * @property {string} [date_issued] - Date when the credit note item was issued.
650
+ * @property {string} [shipment_id] - Shipment ID of the order associated with
651
+ * the credit note item.
652
+ * @property {string} [invoice_number] - Invoice number associated with the
653
+ * credit note item.
654
+ * @property {string} [credit_note_number] - Unique number of the credit note item.
572
655
  */
573
656
  /**
574
657
  * @typedef GenerateReportCustomerCnResponseData
575
- * @property {boolean} [success]
576
- * @property {string} [message]
577
- * @property {CnGenerateReportItems[]} [items]
578
- * @property {Object} [row_header_display_order]
579
- * @property {string} [end_date]
658
+ * @property {boolean} [success] - Indicates if the credit note report
659
+ * generation was successful.
660
+ * @property {string} [message] - Additional message or information related to
661
+ * the credit note report.
662
+ * @property {CnGenerateReportItems[]} [items] - List of credit note items in the report.
663
+ * @property {Object} [row_header_display_order] - Display order for row headers
664
+ * in the report.
665
+ * @property {string} [end_date] - End date used in the credit note report.
580
666
  * @property {Page} [page]
581
- * @property {string[]} [headers]
582
- * @property {string[]} [primary_headers]
583
- * @property {string[]} [allowed_filters]
584
- * @property {string} [start_date]
585
- * @property {number} [item_count]
667
+ * @property {string[]} [headers] - Headers included in the credit note report.
668
+ * @property {string[]} [primary_headers] - Primary headers used in the credit
669
+ * note report.
670
+ * @property {string[]} [allowed_filters] - Allowed filters for the credit note report.
671
+ * @property {string} [start_date] - Start date used in the credit note report.
672
+ * @property {number} [item_count] - Total count of credit note items in the report.
586
673
  */
587
674
  /**
588
675
  * @typedef GenerateReportCustomerCnResponse
@@ -590,14 +677,17 @@ export = FinancePlatformModel;
590
677
  */
591
678
  /**
592
679
  * @typedef CnDownloadReport
593
- * @property {number} [page]
594
- * @property {string} [start_date]
595
- * @property {string} [end_date]
596
- * @property {string} [affiliate_id]
597
- * @property {string} [search]
598
- * @property {string} [status]
599
- * @property {string} [search_type]
600
- * @property {number} [page_size]
680
+ * @property {number} [page] - Page number of the download report.
681
+ * @property {string} [start_date] - Start date for filtering credit note data
682
+ * in the report.
683
+ * @property {string} [end_date] - End date for filtering credit note data in the report.
684
+ * @property {string} [affiliate_id] - The unique identifier of sale channels or
685
+ * application as affiliate_id associated with the seller.
686
+ * @property {string} [search] - Search query to filter credit note data by keyword.
687
+ * @property {string} [status] - Status of the credit note data in the report.
688
+ * @property {string} [search_type] - Type of search criteria used for filtering
689
+ * credit note data.
690
+ * @property {number} [page_size] - Number of items per page in the download report.
601
691
  */
602
692
  /**
603
693
  * @typedef DownloadReportCustomerCnReq
@@ -605,67 +695,70 @@ export = FinancePlatformModel;
605
695
  */
606
696
  /**
607
697
  * @typedef DownloadReportResponseData
608
- * @property {string} [report_config_id]
609
- * @property {string} [full_name]
610
- * @property {string} [requested_by]
611
- * @property {string} [start_date]
612
- * @property {string} [end_date]
613
- * @property {Object} [request_dict]
614
- * @property {string} [download_link]
615
- * @property {string} [created_at]
616
- * @property {Object} [meta]
617
- * @property {string} [msg]
618
- * @property {string} [report_name]
619
- * @property {string} [status]
620
- * @property {string} [display_name]
621
- * @property {Object} [filters]
698
+ * @property {string} [report_config_id] - Unique identifier for the report configuration.
699
+ * @property {string} [full_name] - Full name associated with the report request.
700
+ * @property {string} [requested_by] - User who requested the report.
701
+ * @property {string} [start_date] - Start date used in the report.
702
+ * @property {string} [end_date] - End date used in the report.
703
+ * @property {Object} [request_dict] - Dictionary containing request parameters
704
+ * for the report.
705
+ * @property {string} [download_link] - Download link for accessing the generated report.
706
+ * @property {string} [created_at] - Date and time when the report was created.
707
+ * @property {Object} [meta] - Additional metadata associated with the report.
708
+ * @property {string} [msg] - Message related to the report status or generation.
709
+ * @property {string} [report_name] - Name of the generated report.
710
+ * @property {string} [status] - Status of the report.
711
+ * @property {string} [display_name] - Display name of the report.
712
+ * @property {Object} [filters] - Filters applied to generate the report.
622
713
  */
623
714
  /**
624
715
  * @typedef DownloadReportCustomerCnResponse
625
- * @property {DownloadReportResponseData[]} [items]
626
- * @property {DownloadReportResponseData[]} [data]
627
- * @property {number} [item_count]
716
+ * @property {DownloadReportResponseData[]} [items] - List of download report data items.
717
+ * @property {number} [item_count] - Total count of items in the download report.
628
718
  * @property {Page} [page]
629
719
  */
630
720
  /**
631
721
  * @typedef GetReportingFilters
632
- * @property {string} [text]
633
- * @property {string} [type]
634
- * @property {Object[]} [options]
635
- * @property {string} [value]
722
+ * @property {string} [text] - Display text for the filter.
723
+ * @property {string} [type] - Type of the fields like seach, filter(e.g.,
724
+ * single, multi select).
725
+ * @property {Object[]} [options] - Options available for the filter.
726
+ * @property {string} [value] - Value to be pass in response select from options.
636
727
  */
637
728
  /**
638
729
  * @typedef GetReportingNestedFilters
639
- * @property {string} [text]
640
- * @property {Object[]} [options]
641
- * @property {boolean} [required]
642
- * @property {string} [placeholder_text]
643
- * @property {string} [type]
644
- * @property {string} [value]
730
+ * @property {string} [text] - Display text for the nested filter.
731
+ * @property {Object[]} [options] - Options available for the nested filter.
732
+ * @property {boolean} [required] - Indicates if the nested filter is required.
733
+ * @property {string} [placeholder_text] - Placeholder text for the nested filter.
734
+ * @property {string} [type] - Type of the nested filter (e.g., single, multi select).
735
+ * @property {string} [value] - Value to be pass in response select from options.
645
736
  */
646
737
  /**
647
738
  * @typedef GetReportingFiltersReasonOptions
648
- * @property {string} [text]
649
- * @property {string} [value]
650
- * @property {string} [placeholder_text]
739
+ * @property {string} [text] - Display text for the reason option.
740
+ * @property {string} [value] - Value of the reason option.
741
+ * @property {string} [placeholder_text] - Placeholder text for the reason option.
651
742
  */
652
743
  /**
653
744
  * @typedef GetReportingFiltersReason
654
- * @property {string} [text]
655
- * @property {string} [type]
656
- * @property {string} [value]
657
- * @property {GetReportingFiltersReasonOptions[]} [options]
745
+ * @property {string} [text] - Display text for the reason.
746
+ * @property {string} [type] - Type of the reason.
747
+ * @property {string} [value] - Value to be pass in response.
748
+ * @property {GetReportingFiltersReasonOptions[]} [options] - Options available
749
+ * for the reasons select from options.
658
750
  */
659
751
  /**
660
752
  * @typedef GetReportingFiltersResponse
661
753
  * @property {GetReportingFiltersReason} [reason]
662
754
  * @property {GetReportingFilters} [search]
663
- * @property {GetReportingNestedFilters[]} [filters]
755
+ * @property {GetReportingNestedFilters[]} [filters] - Array of nested filter objects.
664
756
  * @property {GetReportingFilters} [status]
665
757
  */
666
758
  /**
667
759
  * @typedef InvoicePaymentOptionsPayloadData
668
- * @property {string[]} [invoice_numbers]
760
+ * @property {string[]} [invoice_numbers] - List of invoice numbers for which
761
+ * payment options are being requested.
669
762
  */
670
763
  /**
671
764
  * @typedef InvoicePaymentOptionsReq
@@ -673,82 +766,104 @@ export = FinancePlatformModel;
673
766
  */
674
767
  /**
675
768
  * @typedef InvoicePaymentOptionsResponsePayableAmounts
676
- * @property {number} [amount]
677
- * @property {string} [amount_key]
678
- * @property {string} [header]
769
+ * @property {number} [amount] - Amount that is payable for the invoice.
770
+ * @property {string} [amount_key] - Key associated with the payable amount for
771
+ * identification.
772
+ * @property {string} [header] - Header describing the payable amount.
679
773
  */
680
774
  /**
681
775
  * @typedef InvoicePaymentOptionsResponseDeductedAmounts
682
- * @property {number} [amount]
683
- * @property {string} [header]
684
- * @property {string} [amount_key]
685
- * @property {boolean} [is_payable]
686
- * @property {string} [symbol]
776
+ * @property {number} [amount] - Amount deducted from the invoice.
777
+ * @property {string} [header] - Header describing the deducted amount.
778
+ * @property {string} [amount_key] - Key associated with the deducted amount for
779
+ * identification.
780
+ * @property {boolean} [is_payable] - Indicates whether the deducted amount is payable.
781
+ * @property {string} [symbol] - Currency symbol associated with the deducted amount.
687
782
  */
688
783
  /**
689
784
  * @typedef InvoicePaymentOptionsResponseData
690
- * @property {string} [invoice_number]
691
- * @property {string} [invoice_type]
785
+ * @property {string} [invoice_number] - Invoice number for which payment
786
+ * options are provided.
787
+ * @property {string} [invoice_type] - Type of the invoice (e.g., 'Seller Fynd',
788
+ * 'Platform Subscription').
692
789
  * @property {InvoicePaymentOptionsResponsePayableAmounts[]} [display_amounts]
693
- * @property {Object} [total_amount]
694
- * @property {Object} [deducted_amounts]
790
+ * - List of amounts that are payable for the invoice.
791
+ *
792
+ * @property {Object} [total_amount] - Total amount for the invoice.
793
+ * @property {Object} [deducted_amounts] - Amounts deducted from the total,
794
+ * including any associated details.
695
795
  * @property {InvoicePaymentOptionsResponsePayableAmounts[]} [payable_amounts]
796
+ * - Amounts that are payable for the invoice.
797
+ *
696
798
  * @property {Currency} [currency]
697
799
  */
698
800
  /**
699
801
  * @typedef InvoicePaymentOptionsResponse
700
- * @property {string} [reason]
701
- * @property {InvoicePaymentOptionsResponseData[]} [data]
702
- * @property {number} [total_payable_amount]
703
- * @property {number} [invoice_count]
704
- * @property {boolean} [success]
802
+ * @property {string} [reason] - Reason for the response or any errors encountered.
803
+ * @property {InvoicePaymentOptionsResponseData[]} [data] - List of data objects
804
+ * containing details about invoice payment options.
805
+ * @property {number} [total_payable_amount] - Total amount payable for the invoices.
806
+ * @property {number} [invoice_count] - Number of invoices included in the response.
807
+ * @property {boolean} [success] - Indicates whether the request to retrieve
808
+ * invoice payment options was successful.
705
809
  */
706
810
  /**
707
811
  * @typedef PaymentDetail
708
- * @property {string} [display_name]
709
- * @property {string} [value]
812
+ * @property {string} [display_name] - Name or label displayed for the payment detail.
813
+ * @property {string} [value] - Value associated with the payment detail (e.g.,
814
+ * amount, transaction ID).
710
815
  */
711
816
  /**
712
817
  * @typedef PaidInvoicePaymentDetail
713
- * @property {PaymentDetail[]} [payment_details]
714
- * @property {string} [date_of_payment]
715
- * @property {number} [amount]
818
+ * @property {PaymentDetail[]} [payment_details] - List of payment details for
819
+ * the invoice.
820
+ * @property {string} [date_of_payment] - Date when the payment was made.
821
+ * @property {number} [amount] - Amount paid towards the invoice.
716
822
  */
717
823
  /**
718
824
  * @typedef InvoicePaymentDetailsResponseData
719
- * @property {PaidInvoicePaymentDetail[]} [paid_invoice_payment_details]
720
- * @property {Object[]} [failed_attempts_details]
825
+ * @property {PaidInvoicePaymentDetail[]} [paid_invoice_payment_details] - List
826
+ * of details for paid invoices.
827
+ * @property {Object[]} [failed_attempts_details] - Details of any failed
828
+ * payment attempts for the invoices.
721
829
  */
722
830
  /**
723
831
  * @typedef InvoicePaymentDetailsResponse
724
- * @property {string} [reason]
832
+ * @property {string} [reason] - Reason for the response or any errors encountered.
725
833
  * @property {InvoicePaymentDetailsResponseData} [data]
726
- * @property {boolean} [success]
727
- * @property {boolean} [payment_details_visible]
834
+ * @property {boolean} [success] - Indicates whether the request to retrieve
835
+ * invoice payment details was successful.
836
+ * @property {boolean} [payment_details_visible] - Indicates whether payment
837
+ * details are visible or hidden in the response.
728
838
  */
729
839
  /**
730
840
  * @typedef InvoiceActivityLogsResponseData
731
- * @property {string} [performed_by]
732
- * @property {string} [status]
733
- * @property {string} [reason]
734
- * @property {boolean} [is_resolved]
735
- * @property {number} [retry_attempts]
736
- * @property {number} [max_retry_attempts]
841
+ * @property {string} [performed_by] - Identifier of the user or system that
842
+ * performed the activity.
843
+ * @property {string} [status] - Status of the activity (e.g., 'Completed', 'Pending').
844
+ * @property {string} [reason] - Reason for the activity status or any related notes.
845
+ * @property {boolean} [is_resolved] - Indicates whether the activity issue is resolved.
846
+ * @property {number} [retry_attempts] - Number of retry attempts made for the activity.
847
+ * @property {number} [max_retry_attempts] - Maximum number of retry attempts
848
+ * allowed for the activity.
737
849
  */
738
850
  /**
739
851
  * @typedef InvoiceActivityLogsResponse
740
- * @property {InvoiceActivityLogsResponseData[]} [data]
852
+ * @property {InvoiceActivityLogsResponseData[]} [data] - List of activity logs
853
+ * related to invoices.
741
854
  */
742
855
  /**
743
856
  * @typedef InvoiceActivityLogError
744
- * @property {string} [reason]
857
+ * @property {string} [reason] - Reason for the error or issue encountered with
858
+ * the invoice activity logs.
745
859
  */
746
860
  /**
747
861
  * @typedef UnlockCreditNoteRequestData
748
- * @property {string} [seller_id]
749
- * @property {string[]} [locked_credit_notes]
750
- * @property {string} [unlock_reason]
751
- * @property {string} [description]
862
+ * @property {string} [seller_id] - The unique identifier for the seller.
863
+ * @property {string[]} [locked_credit_notes] - A list of credit notes that are locked.
864
+ * @property {string} [unlock_reason] - The reason for unlocking the credit notes.
865
+ * @property {string} [description] - Additional details or comments about the
866
+ * unlock request.
752
867
  */
753
868
  /**
754
869
  * @typedef UnlockCreditNoteReq
@@ -756,46 +871,89 @@ export = FinancePlatformModel;
756
871
  */
757
872
  /**
758
873
  * @typedef UnlockCreditNoteResponseData
759
- * @property {boolean} [is_cn_unlocked]
760
- * @property {string} [status]
874
+ * @property {boolean} [is_cn_unlocked] - Indicates whether the credit note is unlocked.
875
+ * @property {string} [status] - The current status of the each credit notes.
761
876
  */
762
877
  /**
763
878
  * @typedef UnlockCreditNoteResponse
764
- * @property {boolean} [success]
879
+ * @property {boolean} [success] - Indicates whether the credit note unlock
880
+ * request was successful.
765
881
  * @property {UnlockCreditNoteResponseData} [data]
766
882
  */
767
883
  declare class FinancePlatformModel {
768
884
  }
769
885
  declare namespace FinancePlatformModel {
770
- export { OrederFreezeResponse, GenerateReportMeta, GenerateReportFilters, GenerateReportPlatform, GenerateReportReq, Page, Currency, GenerateReportJson, Error, ErrorMeta, ErrorMetaItems, DownloadReport, DownloadReportData, DownloadReportItems, DownloadReportList, GetEngineFilters, GetEngineData, GetEngineReq, GetEngineResponse, GetReason, GetReasonReq, ReasonItem, GetReasonResponse, GetReportListData, GetReportListReq, GetAffiliate, GetReportListResponse, ReportItem, GetAffiliateResponse, DownloadCreditDebitNote, DownloadCreditDebitNoteReq, DownloadCreditDebitNoteResponseData, DownloadCreditDebitNoteResponse, InvoiceBillingItem, PaymentProcessPayload, PaymentProcessReq, PaymentProcessResponse, CreditlineDataPlatformPayload, CreditlineDataPlatformReq, CreditlineDataPlatformResponse, IsCreditlinePayload, IsCreditlinePlatformReq, IsCreditlinePlatformResponse, InvoiceTypePayloadData, InvoiceTypeReq, InvoiceTypeResponseItems, InvoiceTypeResponse, InoviceListingPayloadDataFilters, InvoiceListingPayloadData, InvoiceListingReq, UnpaidInvoiceDataItems, InvoiceListingResponseItems, InvoiceListingResponse, InvoicePdfPayloadData, InvoicePdfReq, InvoicePdfResponse, IsCnRefundMethodData, IsCnRefundMethodReq, IsCnRefundMethodResponseData, IsCnRefundMethodResponse, CreditNoteConfigNotificationEvents, CreateSellerCreditNoteConfig, CreateSellerCreditNoteConfigReq, CreateSellerCreditNoteConfigResponse, DeleteConfig, DeleteConfigReq, DeleteConfigResponse, ChannelDisplayNameItems, ChannelDisplayNameResponse, CnReferenceNumber, GetPdfUrlViewReq, GetPdfUrlViewResponseData, GetPdfUrlViewResponse, CreditNoteDetailsReq, CnDetails, RedemptionDetails, CreditNoteDetails, CreditNoteDetailsResponse, GetCustomerCreditBalance, GetCustomerCreditBalanceReq, GetCustomerCreditBalanceResponseData, GetCustomerCreditBalanceResponse, GetCnConfigReq, GetCnConfigResponseMeta, GetCnConfigResponseData, GetCnConfigResponse, CnGenerateReportFilters, CnGenerateReport, GenerateReportCustomerCnReq, CnGenerateReportItems, GenerateReportCustomerCnResponseData, GenerateReportCustomerCnResponse, CnDownloadReport, DownloadReportCustomerCnReq, DownloadReportResponseData, DownloadReportCustomerCnResponse, GetReportingFilters, GetReportingNestedFilters, GetReportingFiltersReasonOptions, GetReportingFiltersReason, GetReportingFiltersResponse, InvoicePaymentOptionsPayloadData, InvoicePaymentOptionsReq, InvoicePaymentOptionsResponsePayableAmounts, InvoicePaymentOptionsResponseDeductedAmounts, InvoicePaymentOptionsResponseData, InvoicePaymentOptionsResponse, PaymentDetail, PaidInvoicePaymentDetail, InvoicePaymentDetailsResponseData, InvoicePaymentDetailsResponse, InvoiceActivityLogsResponseData, InvoiceActivityLogsResponse, InvoiceActivityLogError, UnlockCreditNoteRequestData, UnlockCreditNoteReq, UnlockCreditNoteResponseData, UnlockCreditNoteResponse };
886
+ export { OrederFreezeResponse, GenerateReportMeta, GenerateReportFilters, GenerateReportPlatform, GenerateReportReq, Page, Currency, GenerateReportJson, Error, ErrorMeta, ErrorMetaItems, DownloadReport, DownloadReportData, DownloadReportItems, DownloadReportList, GetEngineFilters, GetEngineData, GetEngineReq, GetEngineResponse, GetReason, GetReasonReq, ReasonItem, GetReasonResponse, GetReportListData, GetReportListReq, GetReportListResponse, ReportItem, GetAffiliate, GetAffiliateResponse, DownloadCreditDebitNote, DownloadCreditDebitNoteReq, DownloadCreditDebitNoteResponseData, DownloadCreditDebitNoteResponse, InvoiceBillingItem, PaymentProcessPayload, PaymentProcessReq, PaymentProcessResponse, CreditlineDataPlatformPayload, CreditlineDataPlatformReq, CreditlineDataPlatformResponse, IsCreditlinePayload, IsCreditlinePlatformReq, IsCreditlinePlatformResponse, InvoiceTypePayloadData, InvoiceTypeReq, InvoiceTypeResponseItems, InvoiceTypeResponse, InoviceListingPayloadDataFilters, InvoiceListingPayloadData, InvoiceListingReq, UnpaidInvoiceDataItems, InvoiceListingResponseItems, InvoiceListingResponse, InvoicePdfPayloadData, InvoicePdfReq, InvoicePdfResponse, IsCnRefundMethodData, IsCnRefundMethodReq, IsCnRefundMethodResponseData, IsCnRefundMethodResponse, CreditNoteConfigNotificationEvents, CreateSellerCreditNoteConfig, CreateSellerCreditNoteConfigReq, CreateSellerCreditNoteConfigResponse, DeleteConfig, DeleteConfigReq, DeleteConfigResponse, ChannelDisplayNameItems, ChannelDisplayNameResponse, CnReferenceNumber, GetPdfUrlViewReq, GetPdfUrlViewResponseData, GetPdfUrlViewResponse, CreditNoteDetailsReq, CnDetails, RedemptionDetails, CreditNoteDetails, CreditNoteDetailsResponse, GetCustomerCreditBalance, GetCustomerCreditBalanceReq, GetCustomerCreditBalanceResponseData, GetCustomerCreditBalanceResponse, GetCnConfigReq, GetCnConfigResponseMeta, GetCnConfigResponseData, GetCnConfigResponse, CnGenerateReportFilters, CnGenerateReport, GenerateReportCustomerCnReq, CnGenerateReportItems, GenerateReportCustomerCnResponseData, GenerateReportCustomerCnResponse, CnDownloadReport, DownloadReportCustomerCnReq, DownloadReportResponseData, DownloadReportCustomerCnResponse, GetReportingFilters, GetReportingNestedFilters, GetReportingFiltersReasonOptions, GetReportingFiltersReason, GetReportingFiltersResponse, InvoicePaymentOptionsPayloadData, InvoicePaymentOptionsReq, InvoicePaymentOptionsResponsePayableAmounts, InvoicePaymentOptionsResponseDeductedAmounts, InvoicePaymentOptionsResponseData, InvoicePaymentOptionsResponse, PaymentDetail, PaidInvoicePaymentDetail, InvoicePaymentDetailsResponseData, InvoicePaymentDetailsResponse, InvoiceActivityLogsResponseData, InvoiceActivityLogsResponse, InvoiceActivityLogError, UnlockCreditNoteRequestData, UnlockCreditNoteReq, UnlockCreditNoteResponseData, UnlockCreditNoteResponse };
771
887
  }
772
888
  /** @returns {OrederFreezeResponse} */
773
889
  declare function OrederFreezeResponse(): OrederFreezeResponse;
774
890
  type OrederFreezeResponse = {
891
+ /**
892
+ * - Indicates whether the operation was successful or not.
893
+ */
775
894
  success?: boolean;
895
+ /**
896
+ * - Flag indicating if the system is frozen
897
+ * for order management.
898
+ */
776
899
  oms_freeze?: boolean;
900
+ /**
901
+ * - Optional field indicating the data source of
902
+ * the information.
903
+ */
777
904
  source?: string;
778
905
  };
779
906
  /** @returns {GenerateReportMeta} */
780
907
  declare function GenerateReportMeta(): GenerateReportMeta;
781
908
  type GenerateReportMeta = {
909
+ /**
910
+ * - The brand name associated with the report meta
911
+ * information.
912
+ */
782
913
  brand?: string;
914
+ /**
915
+ * - The company name associated with the report
916
+ * meta information.
917
+ */
783
918
  company?: string;
919
+ /**
920
+ * - The sale channel name associated with seller.
921
+ */
784
922
  channel?: string;
785
923
  };
786
924
  /** @returns {GenerateReportFilters} */
787
925
  declare function GenerateReportFilters(): GenerateReportFilters;
788
926
  type GenerateReportFilters = {
927
+ /**
928
+ * - An array of brand names to filter the report data.
929
+ */
789
930
  brand?: string[];
931
+ /**
932
+ * - An array of company id to filter the report data.
933
+ */
790
934
  company?: string[];
935
+ /**
936
+ * - An array of sale channel names associated
937
+ * with seller to filter the report data.
938
+ */
791
939
  channel?: string[];
792
940
  };
793
941
  /** @returns {GenerateReportPlatform} */
794
942
  declare function GenerateReportPlatform(): GenerateReportPlatform;
795
943
  type GenerateReportPlatform = {
944
+ /**
945
+ * - The start date to generate report specific preiod.
946
+ */
796
947
  start_date?: string;
948
+ /**
949
+ * - The end date to generate report specific preiod.
950
+ */
797
951
  end_date?: string;
798
952
  meta?: GenerateReportMeta;
953
+ /**
954
+ * - The unique identifier of the generate report
955
+ * where different report configure.
956
+ */
799
957
  report_id?: string;
800
958
  filters?: GenerateReportFilters;
801
959
  };
@@ -807,30 +965,76 @@ type GenerateReportReq = {
807
965
  /** @returns {Page} */
808
966
  declare function Page(): Page;
809
967
  type Page = {
968
+ /**
969
+ * - The total number of items on the page.
970
+ */
810
971
  item_total?: number;
972
+ /**
973
+ * - The identifier for the next page.
974
+ */
811
975
  next_id?: string;
976
+ /**
977
+ * - Indicates whether there is a previous page.
978
+ */
812
979
  has_previous?: boolean;
980
+ /**
981
+ * - Indicates whether there is a next page.
982
+ */
813
983
  has_next?: boolean;
984
+ /**
985
+ * - The current page number.
986
+ */
814
987
  current?: number;
988
+ /**
989
+ * - The type of the page, such as 'PageType'.
990
+ */
815
991
  type: string;
992
+ /**
993
+ * - The number of items per page.
994
+ */
816
995
  size?: number;
817
996
  };
818
997
  /** @returns {Currency} */
819
998
  declare function Currency(): Currency;
820
999
  type Currency = {
1000
+ /**
1001
+ * - The unique currency code.
1002
+ */
821
1003
  code?: string;
1004
+ /**
1005
+ * - The unique currency symbol.
1006
+ */
822
1007
  symbol?: string;
1008
+ /**
1009
+ * - The unique currency name.
1010
+ */
823
1011
  name?: string;
824
1012
  };
825
1013
  /** @returns {GenerateReportJson} */
826
1014
  declare function GenerateReportJson(): GenerateReportJson;
827
1015
  type GenerateReportJson = {
828
1016
  data?: any;
1017
+ /**
1018
+ * - Total number of items in the report.
1019
+ */
829
1020
  item_count?: number;
830
1021
  page?: Page;
1022
+ /**
1023
+ * - The end date to generate report specific preiod.
1024
+ */
831
1025
  end_date?: string;
1026
+ /**
1027
+ * - The start date to generate report specific preiod.
1028
+ */
832
1029
  start_date?: string;
1030
+ /**
1031
+ * - Nested array structure representing report
1032
+ * items or data.
1033
+ */
833
1034
  items?: string[][];
1035
+ /**
1036
+ * - Headers describing each item in the report data.
1037
+ */
834
1038
  headers?: string[];
835
1039
  };
836
1040
  /** @returns {Error} */
@@ -866,46 +1070,109 @@ type DownloadReport = {
866
1070
  /** @returns {DownloadReportData} */
867
1071
  declare function DownloadReportData(): DownloadReportData;
868
1072
  type DownloadReportData = {
1073
+ /**
1074
+ * - The current page number of the report.
1075
+ */
869
1076
  page?: number;
1077
+ /**
1078
+ * - The number of items displayed per page.
1079
+ */
870
1080
  page_size?: number;
1081
+ /**
1082
+ * - The start date for fetching the report
1083
+ * history for download.
1084
+ */
871
1085
  start_date?: string;
1086
+ /**
1087
+ * - The end date for fetching the report history
1088
+ * for download.
1089
+ */
872
1090
  end_date?: string;
873
1091
  };
874
1092
  /** @returns {DownloadReportItems} */
875
1093
  declare function DownloadReportItems(): DownloadReportItems;
876
1094
  type DownloadReportItems = {
1095
+ /**
1096
+ * - The start date for the report item.
1097
+ */
877
1098
  start_date?: string;
1099
+ /**
1100
+ * - The end date for the report item.
1101
+ */
878
1102
  end_date?: string;
879
1103
  meta?: GenerateReportMeta;
1104
+ /**
1105
+ * - The unique identifier of the report item.
1106
+ */
880
1107
  report_id?: string;
881
1108
  filters?: GenerateReportFilters;
882
- type_of_request?: string;
883
1109
  };
884
1110
  /** @returns {DownloadReportList} */
885
1111
  declare function DownloadReportList(): DownloadReportList;
886
1112
  type DownloadReportList = {
1113
+ /**
1114
+ * - A list of report items available
1115
+ * for download.
1116
+ */
887
1117
  items?: DownloadReportItems[];
888
1118
  page?: Page;
1119
+ /**
1120
+ * - The total number of items in the report list.
1121
+ */
889
1122
  item_count?: number;
890
1123
  };
891
1124
  /** @returns {GetEngineFilters} */
892
1125
  declare function GetEngineFilters(): GetEngineFilters;
893
1126
  type GetEngineFilters = {
1127
+ /**
1128
+ * - The configuration field used for filtering.
1129
+ */
894
1130
  config_field?: string;
1131
+ /**
1132
+ * - The status used for filtering.
1133
+ */
895
1134
  status?: string;
1135
+ /**
1136
+ * - Flag indicating if the filter is active.
1137
+ */
896
1138
  is_active?: boolean;
1139
+ /**
1140
+ * - The seller ID used for filtering.
1141
+ */
897
1142
  seller_id?: string;
898
1143
  };
899
1144
  /** @returns {GetEngineData} */
900
1145
  declare function GetEngineData(): GetEngineData;
901
1146
  type GetEngineData = {
1147
+ /**
1148
+ * - Status of the request.
1149
+ */
902
1150
  status?: string;
903
1151
  filters?: GetEngineFilters;
1152
+ /**
1153
+ * - A list of fields to get data from tables.
1154
+ */
904
1155
  project?: string[];
1156
+ /**
1157
+ * - The name of the table from which to retrieve data.
1158
+ */
905
1159
  table_name?: string;
1160
+ /**
1161
+ * - Search criteria for querying on given table
1162
+ * specific fields.
1163
+ */
906
1164
  search?: any;
1165
+ /**
1166
+ * - The current page number for pagination.
1167
+ */
907
1168
  page?: number;
1169
+ /**
1170
+ * - The number of items displayed per page.
1171
+ */
908
1172
  page_size?: number;
1173
+ /**
1174
+ * - The field by which to order the results.
1175
+ */
909
1176
  order_by?: string;
910
1177
  };
911
1178
  /** @returns {GetEngineReq} */
@@ -916,14 +1183,26 @@ type GetEngineReq = {
916
1183
  /** @returns {GetEngineResponse} */
917
1184
  declare function GetEngineResponse(): GetEngineResponse;
918
1185
  type GetEngineResponse = {
1186
+ /**
1187
+ * - Indicates whether the request was successful.
1188
+ */
919
1189
  success?: boolean;
1190
+ /**
1191
+ * - A list of items returned by the request.
1192
+ */
920
1193
  items?: any[];
921
1194
  page?: Page;
1195
+ /**
1196
+ * - The total number of items returned by the request.
1197
+ */
922
1198
  item_count?: number;
923
1199
  };
924
1200
  /** @returns {GetReason} */
925
1201
  declare function GetReason(): GetReason;
926
1202
  type GetReason = {
1203
+ /**
1204
+ * - The type of reason associated with the request.
1205
+ */
927
1206
  reason_type?: string;
928
1207
  };
929
1208
  /** @returns {GetReasonReq} */
@@ -934,22 +1213,47 @@ type GetReasonReq = {
934
1213
  /** @returns {ReasonItem} */
935
1214
  declare function ReasonItem(): ReasonItem;
936
1215
  type ReasonItem = {
1216
+ /**
1217
+ * - Id of the reason for reason_type.
1218
+ */
937
1219
  id?: string;
1220
+ /**
1221
+ * - Code of the reason for reason_type.
1222
+ */
938
1223
  name?: string;
1224
+ /**
1225
+ * - Display name of the reason for reason_type.
1226
+ */
939
1227
  display_name?: string;
940
1228
  };
941
1229
  /** @returns {GetReasonResponse} */
942
1230
  declare function GetReasonResponse(): GetReasonResponse;
943
1231
  type GetReasonResponse = {
1232
+ /**
1233
+ * - Indicates whether the request was successfull.
1234
+ */
944
1235
  success?: boolean;
1236
+ /**
1237
+ * - The list of items returned in the response.
1238
+ */
945
1239
  item_list?: ReasonItem[];
1240
+ /**
1241
+ * - The number of items in the response.
1242
+ */
946
1243
  item_count?: number;
947
1244
  page?: Page;
948
1245
  };
949
1246
  /** @returns {GetReportListData} */
950
1247
  declare function GetReportListData(): GetReportListData;
951
1248
  type GetReportListData = {
1249
+ /**
1250
+ * - The name of the role requesting the report list.
1251
+ */
952
1252
  role_name?: string;
1253
+ /**
1254
+ * - Indicates whether listing is enabled
1255
+ * for the role.
1256
+ */
953
1257
  listing_enabled?: boolean;
954
1258
  };
955
1259
  /** @returns {GetReportListReq} */
@@ -957,40 +1261,88 @@ declare function GetReportListReq(): GetReportListReq;
957
1261
  type GetReportListReq = {
958
1262
  data?: GetReportListData;
959
1263
  };
960
- /** @returns {GetAffiliate} */
961
- declare function GetAffiliate(): GetAffiliate;
962
- type GetAffiliate = {
963
- company_id?: number;
964
- };
965
1264
  /** @returns {GetReportListResponse} */
966
1265
  declare function GetReportListResponse(): GetReportListResponse;
967
1266
  type GetReportListResponse = {
1267
+ /**
1268
+ * - Indicates whether the request was successful.
1269
+ */
968
1270
  success?: boolean;
1271
+ /**
1272
+ * - The list of report items.
1273
+ */
969
1274
  items?: ReportItem[];
970
1275
  page?: Page;
1276
+ /**
1277
+ * - The total number of items in the report list.
1278
+ */
971
1279
  total_count?: number;
972
1280
  };
973
1281
  /** @returns {ReportItem} */
974
1282
  declare function ReportItem(): ReportItem;
975
1283
  type ReportItem = {
1284
+ /**
1285
+ * - The unique identifier for the report item.
1286
+ */
976
1287
  id?: string;
1288
+ /**
1289
+ * - The name of the report item.
1290
+ */
977
1291
  name?: string;
1292
+ /**
1293
+ * - A brief description of the report item.
1294
+ */
978
1295
  description?: string;
1296
+ /**
1297
+ * - The filters that can be applied to
1298
+ * the report item.
1299
+ */
979
1300
  allowed_filters?: string[];
1301
+ /**
1302
+ * - Metadata related to the report item configuration.
1303
+ */
980
1304
  config_meta?: any;
1305
+ /**
1306
+ * - The type of the report item.
1307
+ */
981
1308
  report_type?: string;
1309
+ /**
1310
+ * - The display date of the report item, if applicable.
1311
+ */
982
1312
  display_date?: string;
983
1313
  };
1314
+ /** @returns {GetAffiliate} */
1315
+ declare function GetAffiliate(): GetAffiliate;
1316
+ type GetAffiliate = {
1317
+ /**
1318
+ * - The unique identifier of the company
1319
+ * associated with the affiliate.
1320
+ */
1321
+ company_id?: number;
1322
+ };
984
1323
  /** @returns {GetAffiliateResponse} */
985
1324
  declare function GetAffiliateResponse(): GetAffiliateResponse;
986
1325
  type GetAffiliateResponse = {
1326
+ /**
1327
+ * - The reason for the response, if applicable.
1328
+ */
987
1329
  reason?: string;
1330
+ /**
1331
+ * - Indicates whether the request was successful.
1332
+ */
988
1333
  success?: boolean;
1334
+ /**
1335
+ * - List of items or data related to the affiliate.
1336
+ */
989
1337
  docs?: any[];
990
1338
  };
991
1339
  /** @returns {DownloadCreditDebitNote} */
992
1340
  declare function DownloadCreditDebitNote(): DownloadCreditDebitNote;
993
1341
  type DownloadCreditDebitNote = {
1342
+ /**
1343
+ * - List of unique identifiers for the
1344
+ * credit/debit notes to be download.
1345
+ */
994
1346
  note_id?: string[];
995
1347
  };
996
1348
  /** @returns {DownloadCreditDebitNoteReq} */
@@ -1001,32 +1353,82 @@ type DownloadCreditDebitNoteReq = {
1001
1353
  /** @returns {DownloadCreditDebitNoteResponseData} */
1002
1354
  declare function DownloadCreditDebitNoteResponseData(): DownloadCreditDebitNoteResponseData;
1003
1355
  type DownloadCreditDebitNoteResponseData = {
1356
+ /**
1357
+ * - The unique identifier of the download credit/debit note.
1358
+ */
1004
1359
  id?: string;
1360
+ /**
1361
+ * - The URL where the PDF of the credit/debit
1362
+ * note is stored.
1363
+ */
1005
1364
  pdf_s3_url?: string;
1006
1365
  };
1007
1366
  /** @returns {DownloadCreditDebitNoteResponse} */
1008
1367
  declare function DownloadCreditDebitNoteResponse(): DownloadCreditDebitNoteResponse;
1009
1368
  type DownloadCreditDebitNoteResponse = {
1369
+ /**
1370
+ * - Indicates whether the request to download the
1371
+ * credit/debit notes was successful.
1372
+ */
1010
1373
  success?: boolean;
1374
+ /**
1375
+ * - List of
1376
+ * credit/debit notes download data.
1377
+ */
1011
1378
  data?: DownloadCreditDebitNoteResponseData[];
1012
1379
  };
1013
1380
  /** @returns {InvoiceBillingItem} */
1014
1381
  declare function InvoiceBillingItem(): InvoiceBillingItem;
1015
1382
  type InvoiceBillingItem = {
1383
+ /**
1384
+ * - The number of the invoice associated
1385
+ * with the billing item.
1386
+ */
1016
1387
  invoice_number?: string;
1388
+ /**
1389
+ * - The amount of the billing item.
1390
+ */
1017
1391
  amount?: number;
1018
1392
  };
1019
1393
  /** @returns {PaymentProcessPayload} */
1020
1394
  declare function PaymentProcessPayload(): PaymentProcessPayload;
1021
1395
  type PaymentProcessPayload = {
1396
+ /**
1397
+ * - The platform through which the payment is processed.
1398
+ */
1022
1399
  platform?: string;
1400
+ /**
1401
+ * - The total amount to be processed in the payment.
1402
+ */
1023
1403
  amount?: number;
1404
+ /**
1405
+ * - The type of transaction (e.g., seller_online).
1406
+ */
1024
1407
  transaction_type?: string;
1408
+ /**
1409
+ * - The reference for the source of the payment.
1410
+ */
1025
1411
  source_reference?: string;
1412
+ /**
1413
+ * - The total amount to be processed in the payment.
1414
+ */
1026
1415
  total_amount?: number;
1416
+ /**
1417
+ * - Additional metadata related to the payment.
1418
+ */
1027
1419
  meta?: any;
1420
+ /**
1421
+ * - The currency in which the payment is made.
1422
+ */
1028
1423
  currency?: string;
1424
+ /**
1425
+ * - The unique identifier for the seller
1426
+ * receiving the payment.
1427
+ */
1029
1428
  seller_id?: string;
1429
+ /**
1430
+ * - The mode of payment (e.g., online).
1431
+ */
1030
1432
  mode_of_payment?: string;
1031
1433
  invoice_billing_items?: InvoiceBillingItem[];
1032
1434
  };
@@ -1038,19 +1440,53 @@ type PaymentProcessReq = {
1038
1440
  /** @returns {PaymentProcessResponse} */
1039
1441
  declare function PaymentProcessResponse(): PaymentProcessResponse;
1040
1442
  type PaymentProcessResponse = {
1443
+ /**
1444
+ * - Response code indicating the status of the payment process.
1445
+ */
1041
1446
  code?: number;
1447
+ /**
1448
+ * - A message providing additional information
1449
+ * about the payment process response.
1450
+ */
1042
1451
  message?: string;
1452
+ /**
1453
+ * - Additional metadata related to the payment
1454
+ * process response.
1455
+ */
1043
1456
  meta?: any;
1457
+ /**
1458
+ * - The unique identifier for the payment
1459
+ * transaction.
1460
+ */
1044
1461
  transaction_id?: string;
1462
+ /**
1463
+ * - URL to redirect the user to complete the
1464
+ * payment process, if applicable.
1465
+ */
1045
1466
  redirect_url?: string;
1046
1467
  };
1047
1468
  /** @returns {CreditlineDataPlatformPayload} */
1048
1469
  declare function CreditlineDataPlatformPayload(): CreditlineDataPlatformPayload;
1049
1470
  type CreditlineDataPlatformPayload = {
1471
+ /**
1472
+ * - The page number for pagination.
1473
+ */
1050
1474
  page?: number;
1475
+ /**
1476
+ * - The unique identifier for the seller.
1477
+ */
1051
1478
  seller_id?: string;
1479
+ /**
1480
+ * - The end date for the query.
1481
+ */
1052
1482
  end_date?: string;
1483
+ /**
1484
+ * - The start date for the query.
1485
+ */
1053
1486
  start_date?: string;
1487
+ /**
1488
+ * - The number of items per page.
1489
+ */
1054
1490
  page_size?: number;
1055
1491
  };
1056
1492
  /** @returns {CreditlineDataPlatformReq} */
@@ -1061,17 +1497,40 @@ type CreditlineDataPlatformReq = {
1061
1497
  /** @returns {CreditlineDataPlatformResponse} */
1062
1498
  declare function CreditlineDataPlatformResponse(): CreditlineDataPlatformResponse;
1063
1499
  type CreditlineDataPlatformResponse = {
1500
+ /**
1501
+ * - The list of items in the response.
1502
+ */
1064
1503
  items?: any[];
1504
+ /**
1505
+ * - The response status code.
1506
+ */
1065
1507
  code?: number;
1508
+ /**
1509
+ * - A flag indicating whether to show MR (some
1510
+ * specific field).
1511
+ */
1066
1512
  show_mr?: boolean;
1067
1513
  page?: Page;
1514
+ /**
1515
+ * - The response message.
1516
+ */
1068
1517
  message?: string;
1518
+ /**
1519
+ * - The list of response headers.
1520
+ */
1069
1521
  headers?: string[];
1522
+ /**
1523
+ * - The total number of items.
1524
+ */
1070
1525
  item_count?: number;
1071
1526
  };
1072
1527
  /** @returns {IsCreditlinePayload} */
1073
1528
  declare function IsCreditlinePayload(): IsCreditlinePayload;
1074
1529
  type IsCreditlinePayload = {
1530
+ /**
1531
+ * - The unique identifier for the seller to
1532
+ * check for credit line eligibility.
1533
+ */
1075
1534
  seller_id?: string;
1076
1535
  };
1077
1536
  /** @returns {IsCreditlinePlatformReq} */
@@ -1082,12 +1541,23 @@ type IsCreditlinePlatformReq = {
1082
1541
  /** @returns {IsCreditlinePlatformResponse} */
1083
1542
  declare function IsCreditlinePlatformResponse(): IsCreditlinePlatformResponse;
1084
1543
  type IsCreditlinePlatformResponse = {
1544
+ /**
1545
+ * - Indicates whether the seller has
1546
+ * opted for a credit line.
1547
+ */
1085
1548
  is_creditline_opted?: boolean;
1549
+ /**
1550
+ * - Response code indicating the status of the credit
1551
+ * line check.
1552
+ */
1086
1553
  code?: number;
1087
1554
  };
1088
1555
  /** @returns {InvoiceTypePayloadData} */
1089
1556
  declare function InvoiceTypePayloadData(): InvoiceTypePayloadData;
1090
1557
  type InvoiceTypePayloadData = {
1558
+ /**
1559
+ * - Indicates if the invoice type is active.
1560
+ */
1091
1561
  is_active?: boolean;
1092
1562
  };
1093
1563
  /** @returns {InvoiceTypeReq} */
@@ -1098,30 +1568,71 @@ type InvoiceTypeReq = {
1098
1568
  /** @returns {InvoiceTypeResponseItems} */
1099
1569
  declare function InvoiceTypeResponseItems(): InvoiceTypeResponseItems;
1100
1570
  type InvoiceTypeResponseItems = {
1571
+ /**
1572
+ * - The text description of the invoice type.
1573
+ */
1101
1574
  text?: string;
1575
+ /**
1576
+ * - The value or code representing the invoice type.
1577
+ */
1102
1578
  value?: string;
1103
1579
  };
1104
1580
  /** @returns {InvoiceTypeResponse} */
1105
1581
  declare function InvoiceTypeResponse(): InvoiceTypeResponse;
1106
1582
  type InvoiceTypeResponse = {
1583
+ /**
1584
+ * - Indicates whether the request was successful.
1585
+ */
1107
1586
  success?: boolean;
1587
+ /**
1588
+ * - List of invoice
1589
+ * types available.
1590
+ */
1108
1591
  invoice_type_list?: InvoiceTypeResponseItems[];
1592
+ /**
1593
+ * - List of
1594
+ * payment statuses available.
1595
+ */
1109
1596
  payment_status_list?: InvoiceTypeResponseItems[];
1110
1597
  };
1111
1598
  /** @returns {InoviceListingPayloadDataFilters} */
1112
1599
  declare function InoviceListingPayloadDataFilters(): InoviceListingPayloadDataFilters;
1113
1600
  type InoviceListingPayloadDataFilters = {
1601
+ /**
1602
+ * - List of payment statuses to filter by.
1603
+ */
1114
1604
  payment_status?: string[];
1605
+ /**
1606
+ * - List of invoice types to filter by.
1607
+ */
1115
1608
  invoice_type?: string[];
1609
+ /**
1610
+ * - List of company IDs to filter by.
1611
+ */
1116
1612
  company_id?: string[];
1117
1613
  };
1118
1614
  /** @returns {InvoiceListingPayloadData} */
1119
1615
  declare function InvoiceListingPayloadData(): InvoiceListingPayloadData;
1120
1616
  type InvoiceListingPayloadData = {
1617
+ /**
1618
+ * - The number of items per page for pagination.
1619
+ */
1121
1620
  page_size?: number;
1621
+ /**
1622
+ * - The page number for pagination.
1623
+ */
1122
1624
  page?: number;
1625
+ /**
1626
+ * - The start date for the invoice listing filter.
1627
+ */
1123
1628
  start_date?: string;
1629
+ /**
1630
+ * - The end date for the invoice listing filter.
1631
+ */
1124
1632
  end_date?: string;
1633
+ /**
1634
+ * - Search term for filtering invoices.
1635
+ */
1125
1636
  search?: string;
1126
1637
  filters?: InoviceListingPayloadDataFilters;
1127
1638
  };
@@ -1133,38 +1644,96 @@ type InvoiceListingReq = {
1133
1644
  /** @returns {UnpaidInvoiceDataItems} */
1134
1645
  declare function UnpaidInvoiceDataItems(): UnpaidInvoiceDataItems;
1135
1646
  type UnpaidInvoiceDataItems = {
1647
+ /**
1648
+ * - The total count of unpaid invoices.
1649
+ */
1136
1650
  total_unpaid_invoice_count?: number;
1651
+ /**
1652
+ * - The currency used for unpaid invoices.
1653
+ */
1137
1654
  currency?: string;
1655
+ /**
1656
+ * - The total amount of unpaid invoices.
1657
+ */
1138
1658
  total_unpaid_amount?: number;
1139
1659
  };
1140
1660
  /** @returns {InvoiceListingResponseItems} */
1141
1661
  declare function InvoiceListingResponseItems(): InvoiceListingResponseItems;
1142
1662
  type InvoiceListingResponseItems = {
1663
+ /**
1664
+ * - The amount of the invoice.
1665
+ */
1143
1666
  amount?: number;
1667
+ /**
1668
+ * - The name of the company associated with the invoice.
1669
+ */
1144
1670
  company?: string;
1671
+ /**
1672
+ * - The current status of the invoice (e.g.,
1673
+ * 'paid', 'unpaid').
1674
+ */
1145
1675
  status?: string;
1676
+ /**
1677
+ * - The due date of the invoice.
1678
+ */
1146
1679
  due_date?: string;
1680
+ /**
1681
+ * - The date when the invoice was issued.
1682
+ */
1147
1683
  invoice_date?: string;
1684
+ /**
1685
+ * - The type of invoice.
1686
+ */
1148
1687
  invoice_type?: string;
1688
+ /**
1689
+ * - The period covered by the invoice.
1690
+ */
1149
1691
  period?: string;
1692
+ /**
1693
+ * - The invoice number.
1694
+ */
1150
1695
  invoice_number?: string;
1696
+ /**
1697
+ * - Indicates if the invoice is available
1698
+ * for download.
1699
+ */
1151
1700
  is_downloadable?: boolean;
1701
+ /**
1702
+ * - The unique identifier of the invoice.
1703
+ */
1152
1704
  invoice_id?: string;
1153
1705
  currency?: Currency;
1154
1706
  };
1155
1707
  /** @returns {InvoiceListingResponse} */
1156
1708
  declare function InvoiceListingResponse(): InvoiceListingResponse;
1157
1709
  type InvoiceListingResponse = {
1710
+ /**
1711
+ * - Indicates whether the request was successful.
1712
+ */
1158
1713
  success?: boolean;
1714
+ /**
1715
+ * - Headers related to the invoice listing response.
1716
+ */
1159
1717
  headers?: string[];
1160
1718
  unpaid_invoice_data?: UnpaidInvoiceDataItems;
1719
+ /**
1720
+ * - List of invoice items in
1721
+ * the response.
1722
+ */
1161
1723
  items?: InvoiceListingResponseItems[];
1162
1724
  page?: Page;
1725
+ /**
1726
+ * - The total number of invoice items in the response.
1727
+ */
1163
1728
  item_count?: number;
1164
1729
  };
1165
1730
  /** @returns {InvoicePdfPayloadData} */
1166
1731
  declare function InvoicePdfPayloadData(): InvoicePdfPayloadData;
1167
1732
  type InvoicePdfPayloadData = {
1733
+ /**
1734
+ * - List of invoice numbers for which
1735
+ * PDFs are requested.
1736
+ */
1168
1737
  invoice_number?: string[];
1169
1738
  };
1170
1739
  /** @returns {InvoicePdfReq} */
@@ -1175,15 +1744,36 @@ type InvoicePdfReq = {
1175
1744
  /** @returns {InvoicePdfResponse} */
1176
1745
  declare function InvoicePdfResponse(): InvoicePdfResponse;
1177
1746
  type InvoicePdfResponse = {
1747
+ /**
1748
+ * - Indicates whether the PDF generation request
1749
+ * was successful.
1750
+ */
1178
1751
  success?: boolean;
1752
+ /**
1753
+ * - List of URLs or paths to the generated PDF files.
1754
+ */
1179
1755
  data?: string[];
1756
+ /**
1757
+ * - List of errors encountered while generating the PDFs.
1758
+ */
1180
1759
  error?: string[];
1181
1760
  };
1182
1761
  /** @returns {IsCnRefundMethodData} */
1183
1762
  declare function IsCnRefundMethodData(): IsCnRefundMethodData;
1184
1763
  type IsCnRefundMethodData = {
1764
+ /**
1765
+ * - The unique identifier of sale channels or
1766
+ * application as affiliate_id associated with the seller.
1767
+ */
1185
1768
  affiliate_id?: string;
1769
+ /**
1770
+ * - Indicates whether editing the
1771
+ * refund method is required.
1772
+ */
1186
1773
  toggle_edit_required?: boolean;
1774
+ /**
1775
+ * - Unique identifier for the seller.
1776
+ */
1187
1777
  seller_id?: number;
1188
1778
  };
1189
1779
  /** @returns {IsCnRefundMethodReq} */
@@ -1194,31 +1784,75 @@ type IsCnRefundMethodReq = {
1194
1784
  /** @returns {IsCnRefundMethodResponseData} */
1195
1785
  declare function IsCnRefundMethodResponseData(): IsCnRefundMethodResponseData;
1196
1786
  type IsCnRefundMethodResponseData = {
1787
+ /**
1788
+ * - Indicates whether the seller for
1789
+ * specific sale channel is using the refund method for the first time.
1790
+ */
1197
1791
  is_first_time_user?: boolean;
1198
1792
  };
1199
1793
  /** @returns {IsCnRefundMethodResponse} */
1200
1794
  declare function IsCnRefundMethodResponse(): IsCnRefundMethodResponse;
1201
1795
  type IsCnRefundMethodResponse = {
1796
+ /**
1797
+ * - Indicates whether the request to determine
1798
+ * the refund method was successful.
1799
+ */
1202
1800
  success?: boolean;
1203
1801
  data?: IsCnRefundMethodResponseData;
1204
1802
  };
1205
1803
  /** @returns {CreditNoteConfigNotificationEvents} */
1206
1804
  declare function CreditNoteConfigNotificationEvents(): CreditNoteConfigNotificationEvents;
1207
1805
  type CreditNoteConfigNotificationEvents = {
1806
+ /**
1807
+ * - Number of days before
1808
+ * the expiration date to send a reminder notification to the customer.
1809
+ */
1208
1810
  expiration_reminder_to_customer?: number;
1209
1811
  };
1210
1812
  /** @returns {CreateSellerCreditNoteConfig} */
1211
1813
  declare function CreateSellerCreditNoteConfig(): CreateSellerCreditNoteConfig;
1212
1814
  type CreateSellerCreditNoteConfig = {
1815
+ /**
1816
+ * - Indicates if the credit note
1817
+ * is used as a refund method.
1818
+ */
1213
1819
  is_cn_as_refund_method?: boolean;
1820
+ /**
1821
+ * - The unique identifier of sale channels or
1822
+ * application as affiliate_id associated with the seller.
1823
+ */
1214
1824
  affiliate_id?: string;
1825
+ /**
1826
+ * - List of source channels associated
1827
+ * with the credit note configuration.
1828
+ */
1215
1829
  source_channel?: string[];
1830
+ /**
1831
+ * - Unique identifier for the seller.
1832
+ */
1216
1833
  seller_id?: number;
1217
1834
  notification_events?: CreditNoteConfigNotificationEvents;
1835
+ /**
1836
+ * - Name of the sales channel.
1837
+ */
1218
1838
  sales_channel_name?: string;
1839
+ /**
1840
+ * - List of ordering channels
1841
+ * associated with the credit note configuration.
1842
+ */
1219
1843
  ordering_channel?: string[];
1844
+ /**
1845
+ * - Validity period of the credit note in days.
1846
+ */
1220
1847
  validity?: number;
1848
+ /**
1849
+ * - Type of currency used for the credit note.
1850
+ */
1221
1851
  currency_type?: string;
1852
+ /**
1853
+ * - List of slug values associated with the
1854
+ * credit note configuration.
1855
+ */
1222
1856
  slug_values?: string[];
1223
1857
  };
1224
1858
  /** @returns {CreateSellerCreditNoteConfigReq} */
@@ -1229,14 +1863,33 @@ type CreateSellerCreditNoteConfigReq = {
1229
1863
  /** @returns {CreateSellerCreditNoteConfigResponse} */
1230
1864
  declare function CreateSellerCreditNoteConfigResponse(): CreateSellerCreditNoteConfigResponse;
1231
1865
  type CreateSellerCreditNoteConfigResponse = {
1866
+ /**
1867
+ * - Indicates if the credit note configuration
1868
+ * creation was successful.
1869
+ */
1232
1870
  success?: boolean;
1871
+ /**
1872
+ * - Additional information or message about the
1873
+ * credit note configuration creation process.
1874
+ */
1233
1875
  message?: string;
1234
1876
  };
1235
1877
  /** @returns {DeleteConfig} */
1236
1878
  declare function DeleteConfig(): DeleteConfig;
1237
1879
  type DeleteConfig = {
1880
+ /**
1881
+ * - The unique identifier of sale channels or
1882
+ * application as affiliate_id associated with the seller.
1883
+ */
1238
1884
  affiliate_id?: string;
1885
+ /**
1886
+ * - List of slug values associated with the
1887
+ * credit note configuration.
1888
+ */
1239
1889
  slug_values?: string[];
1890
+ /**
1891
+ * - Unique identifier for the seller.
1892
+ */
1240
1893
  seller_id?: number;
1241
1894
  };
1242
1895
  /** @returns {DeleteConfigReq} */
@@ -1247,24 +1900,49 @@ type DeleteConfigReq = {
1247
1900
  /** @returns {DeleteConfigResponse} */
1248
1901
  declare function DeleteConfigResponse(): DeleteConfigResponse;
1249
1902
  type DeleteConfigResponse = {
1903
+ /**
1904
+ * - Indicates if the configuration deletion was successful.
1905
+ */
1250
1906
  success?: boolean;
1907
+ /**
1908
+ * - Additional information or message about the
1909
+ * configuration deletion process.
1910
+ */
1251
1911
  message?: string;
1252
1912
  };
1253
1913
  /** @returns {ChannelDisplayNameItems} */
1254
1914
  declare function ChannelDisplayNameItems(): ChannelDisplayNameItems;
1255
1915
  type ChannelDisplayNameItems = {
1916
+ /**
1917
+ * - The unique key identifying the channel.
1918
+ */
1256
1919
  key?: string;
1920
+ /**
1921
+ * - The display name of the channel associated with the key.
1922
+ */
1257
1923
  value?: string;
1258
1924
  };
1259
1925
  /** @returns {ChannelDisplayNameResponse} */
1260
1926
  declare function ChannelDisplayNameResponse(): ChannelDisplayNameResponse;
1261
1927
  type ChannelDisplayNameResponse = {
1928
+ /**
1929
+ * - Indicates if the retrieval of channel display
1930
+ * names was successful.
1931
+ */
1262
1932
  success?: boolean;
1933
+ /**
1934
+ * - List of items containing
1935
+ * key-value pairs for channel display names.
1936
+ */
1263
1937
  items?: ChannelDisplayNameItems[];
1264
1938
  };
1265
1939
  /** @returns {CnReferenceNumber} */
1266
1940
  declare function CnReferenceNumber(): CnReferenceNumber;
1267
1941
  type CnReferenceNumber = {
1942
+ /**
1943
+ * - The unique reference number of the
1944
+ * credit note.
1945
+ */
1268
1946
  cn_reference_number?: string;
1269
1947
  };
1270
1948
  /** @returns {GetPdfUrlViewReq} */
@@ -1275,12 +1953,24 @@ type GetPdfUrlViewReq = {
1275
1953
  /** @returns {GetPdfUrlViewResponseData} */
1276
1954
  declare function GetPdfUrlViewResponseData(): GetPdfUrlViewResponseData;
1277
1955
  type GetPdfUrlViewResponseData = {
1956
+ /**
1957
+ * - The URL link where credit nore pdf stored
1958
+ * to view and download.
1959
+ */
1278
1960
  s3_pdf_link?: string;
1961
+ /**
1962
+ * - The unique reference number of the
1963
+ * credit note.
1964
+ */
1279
1965
  cn_reference_number?: string;
1280
1966
  };
1281
1967
  /** @returns {GetPdfUrlViewResponse} */
1282
1968
  declare function GetPdfUrlViewResponse(): GetPdfUrlViewResponse;
1283
1969
  type GetPdfUrlViewResponse = {
1970
+ /**
1971
+ * - Indicates if the retrieval of the pdf URL was
1972
+ * successful.
1973
+ */
1284
1974
  success?: boolean;
1285
1975
  data?: GetPdfUrlViewResponseData;
1286
1976
  };
@@ -1292,54 +1982,157 @@ type CreditNoteDetailsReq = {
1292
1982
  /** @returns {CnDetails} */
1293
1983
  declare function CnDetails(): CnDetails;
1294
1984
  type CnDetails = {
1985
+ /**
1986
+ * - ID of the staff member associated with the credit note.
1987
+ */
1295
1988
  staff_id?: string;
1989
+ /**
1990
+ * - Expiry date of the credit note.
1991
+ */
1296
1992
  expiry_date?: string;
1993
+ /**
1994
+ * - Channel through which the credit
1995
+ * note was issued.
1996
+ */
1297
1997
  channel_of_issuance?: string;
1998
+ /**
1999
+ * - Order ID of order for which credit note created.
2000
+ */
1298
2001
  order_id?: string;
2002
+ /**
2003
+ * - Date when the credit note was issued.
2004
+ */
1299
2005
  date_issued?: string;
2006
+ /**
2007
+ * - Ordering channel associated with the
2008
+ * credit note.
2009
+ */
1300
2010
  ordering_channel?: string;
2011
+ /**
2012
+ * - Shipment Id associated with the credit note.
2013
+ */
1301
2014
  shipment_id?: string;
2015
+ /**
2016
+ * - Store Id associated with the credit note.
2017
+ */
1302
2018
  store_id?: string;
2019
+ /**
2020
+ * - Invoice number associated with the credit note.
2021
+ */
1303
2022
  invoice_number?: string;
1304
2023
  };
1305
2024
  /** @returns {RedemptionDetails} */
1306
2025
  declare function RedemptionDetails(): RedemptionDetails;
1307
2026
  type RedemptionDetails = {
2027
+ /**
2028
+ * - Additional metadata related to the redemption details.
2029
+ */
1308
2030
  meta?: any;
2031
+ /**
2032
+ * - ID of the staff member who processed the redemption.
2033
+ */
1309
2034
  staff_id?: string;
2035
+ /**
2036
+ * - Date and time when the redemption was processed.
2037
+ */
1310
2038
  created_at?: string;
2039
+ /**
2040
+ * - Order Id of the order associated with the redemption.
2041
+ */
1311
2042
  order_id?: string;
2043
+ /**
2044
+ * - Store Id of the order associated with the redemption.
2045
+ */
1312
2046
  store_id?: string;
2047
+ /**
2048
+ * - Shipment Id of the order associated with
2049
+ * the redemption.
2050
+ */
1313
2051
  shipment_id?: string;
2052
+ /**
2053
+ * - Ordering channel associated with the
2054
+ * redemption.
2055
+ */
1314
2056
  ordering_channel?: string;
2057
+ /**
2058
+ * - Amount debited from the credit note
2059
+ * during redemption.
2060
+ */
1315
2061
  amount_debited?: number;
2062
+ /**
2063
+ * - Invoice number associated with the redemption.
2064
+ */
1316
2065
  invoice_number?: string;
1317
2066
  };
1318
2067
  /** @returns {CreditNoteDetails} */
1319
2068
  declare function CreditNoteDetails(): CreditNoteDetails;
1320
2069
  type CreditNoteDetails = {
2070
+ /**
2071
+ * - Currency in which the credit note is issued.
2072
+ */
1321
2073
  currency?: string;
2074
+ /**
2075
+ * - Current amount used from the credit note.
2076
+ */
1322
2077
  current_amount_used?: number;
2078
+ /**
2079
+ * - Status of the credit note.
2080
+ */
1323
2081
  cn_status?: string;
2082
+ /**
2083
+ * - Mobile number of the customer
2084
+ * associated with the credit note.
2085
+ */
1324
2086
  customer_mobile_number?: string;
2087
+ /**
2088
+ * - Unique Credit number of the credit note.
2089
+ */
1325
2090
  cn_reference_number?: string;
1326
2091
  cn_details?: CnDetails;
2092
+ /**
2093
+ * - List of redemption
2094
+ * details associated with the credit note.
2095
+ */
1327
2096
  redemption_details?: RedemptionDetails[];
2097
+ /**
2098
+ * - Remaining amount left in the credit note.
2099
+ */
1328
2100
  remaining_cn_amount?: number;
2101
+ /**
2102
+ * - Available balance in the credit note.
2103
+ */
1329
2104
  available_cn_balance?: number;
2105
+ /**
2106
+ * - Total amount of the credit note.
2107
+ */
1330
2108
  cn_amount?: number;
1331
2109
  };
1332
2110
  /** @returns {CreditNoteDetailsResponse} */
1333
2111
  declare function CreditNoteDetailsResponse(): CreditNoteDetailsResponse;
1334
2112
  type CreditNoteDetailsResponse = {
2113
+ /**
2114
+ * - Indicates if the retrieval of credit note
2115
+ * details was successful.
2116
+ */
1335
2117
  success?: boolean;
1336
2118
  data?: CreditNoteDetails;
1337
2119
  };
1338
2120
  /** @returns {GetCustomerCreditBalance} */
1339
2121
  declare function GetCustomerCreditBalance(): GetCustomerCreditBalance;
1340
2122
  type GetCustomerCreditBalance = {
2123
+ /**
2124
+ * - The unique identifier of sale channels or
2125
+ * application as affiliate_id associated with the seller.
2126
+ */
1341
2127
  affiliate_id?: string;
2128
+ /**
2129
+ * - Unique identifier for the seller.
2130
+ */
1342
2131
  seller_id?: number;
2132
+ /**
2133
+ * - Mobile number of the customer
2134
+ * for whom the credit balance is requested.
2135
+ */
1343
2136
  customer_mobile_number?: string;
1344
2137
  };
1345
2138
  /** @returns {GetCustomerCreditBalanceReq} */
@@ -1350,12 +2143,23 @@ type GetCustomerCreditBalanceReq = {
1350
2143
  /** @returns {GetCustomerCreditBalanceResponseData} */
1351
2144
  declare function GetCustomerCreditBalanceResponseData(): GetCustomerCreditBalanceResponseData;
1352
2145
  type GetCustomerCreditBalanceResponseData = {
2146
+ /**
2147
+ * - Mobile number of the customer.
2148
+ */
1353
2149
  customer_mobile_number?: string;
2150
+ /**
2151
+ * - Total credited balance
2152
+ * available for the customer.
2153
+ */
1354
2154
  total_credited_balance?: number;
1355
2155
  };
1356
2156
  /** @returns {GetCustomerCreditBalanceResponse} */
1357
2157
  declare function GetCustomerCreditBalanceResponse(): GetCustomerCreditBalanceResponse;
1358
2158
  type GetCustomerCreditBalanceResponse = {
2159
+ /**
2160
+ * - Indicates if the retrieval of customer credit
2161
+ * balance was successful.
2162
+ */
1359
2163
  success?: boolean;
1360
2164
  data?: GetCustomerCreditBalanceResponseData;
1361
2165
  };
@@ -1367,50 +2171,135 @@ type GetCnConfigReq = {
1367
2171
  /** @returns {GetCnConfigResponseMeta} */
1368
2172
  declare function GetCnConfigResponseMeta(): GetCnConfigResponseMeta;
1369
2173
  type GetCnConfigResponseMeta = {
2174
+ /**
2175
+ * - Reason associated with the configuration response.
2176
+ */
1370
2177
  reason?: string;
2178
+ /**
2179
+ * - List of source channels associated
2180
+ * with the credit note configuration.
2181
+ */
1371
2182
  source_channel?: string[];
1372
2183
  };
1373
2184
  /** @returns {GetCnConfigResponseData} */
1374
2185
  declare function GetCnConfigResponseData(): GetCnConfigResponseData;
1375
2186
  type GetCnConfigResponseData = {
2187
+ /**
2188
+ * - Indicates if the credit note
2189
+ * is configured as a refund method.
2190
+ */
1376
2191
  is_cn_as_refund_method?: boolean;
2192
+ /**
2193
+ * - The unique identifier of sale channels or
2194
+ * application as affiliate_id associated with the seller.
2195
+ */
1377
2196
  affiliate_id?: string;
1378
2197
  meta?: any;
2198
+ /**
2199
+ * - Unique identifier for the seller.
2200
+ */
1379
2201
  seller_id?: number;
1380
2202
  notification_events?: CreditNoteConfigNotificationEvents;
2203
+ /**
2204
+ * - Validity period of the credit note
2205
+ * configuration in days.
2206
+ */
1381
2207
  validity?: number;
2208
+ /**
2209
+ * - List of ordering
2210
+ * channels associated with credit note redemption.
2211
+ */
1382
2212
  redemption_ordering_channel?: string[];
2213
+ /**
2214
+ * - Type of currency used for the credit note.
2215
+ */
1383
2216
  currency_type?: string;
1384
2217
  };
1385
2218
  /** @returns {GetCnConfigResponse} */
1386
2219
  declare function GetCnConfigResponse(): GetCnConfigResponse;
1387
2220
  type GetCnConfigResponse = {
2221
+ /**
2222
+ * - Indicates if the retrieval of credit note
2223
+ * configuration was successful.
2224
+ */
1388
2225
  success?: boolean;
1389
2226
  data?: GetCnConfigResponseData;
1390
2227
  };
1391
2228
  /** @returns {CnGenerateReportFilters} */
1392
2229
  declare function CnGenerateReportFilters(): CnGenerateReportFilters;
1393
2230
  type CnGenerateReportFilters = {
2231
+ /**
2232
+ * - Array of staff IDs for filtering credit note reports.
2233
+ */
1394
2234
  staff_id?: string[];
2235
+ /**
2236
+ * - Array of channels through which
2237
+ * credit notes were issued.
2238
+ */
1395
2239
  channel_of_issuance?: string[];
2240
+ /**
2241
+ * - Array of utilisation types for filtering
2242
+ * credit note reports.
2243
+ */
1396
2244
  utilisation?: string[];
2245
+ /**
2246
+ * - Array of ordering channels
2247
+ * associated with credit note reports.
2248
+ */
1397
2249
  ordering_channel?: string[];
2250
+ /**
2251
+ * - Array of store IDs for filtering credit note reports.
2252
+ */
1398
2253
  store_id?: number[];
2254
+ /**
2255
+ * - Array of transaction types for
2256
+ * filtering credit note reports.
2257
+ */
1399
2258
  type_of_transaction?: string[];
2259
+ /**
2260
+ * - Array of issuance channels for
2261
+ * filtering credit note reports.
2262
+ */
1400
2263
  issuance_channel?: string[];
1401
2264
  };
1402
2265
  /** @returns {CnGenerateReport} */
1403
2266
  declare function CnGenerateReport(): CnGenerateReport;
1404
2267
  type CnGenerateReport = {
2268
+ /**
2269
+ * - Page number of the credit note report.
2270
+ */
1405
2271
  page?: number;
2272
+ /**
2273
+ * - End date for filtering credit note data.
2274
+ */
1406
2275
  end_date?: string;
2276
+ /**
2277
+ * - Number of items per page in the credit note report.
2278
+ */
1407
2279
  page_size?: number;
1408
2280
  filters?: CnGenerateReportFilters;
2281
+ /**
2282
+ * - The unique identifier of sale channels or
2283
+ * application as affiliate_id associated with the seller.
2284
+ */
1409
2285
  affiliate_id?: string;
1410
2286
  meta?: GenerateReportFilters;
2287
+ /**
2288
+ * - Search query to filter credit note data by keyword.
2289
+ */
1411
2290
  search?: string;
2291
+ /**
2292
+ * - Unique identifier for the credit note report.
2293
+ */
1412
2294
  report_id?: string;
2295
+ /**
2296
+ * - Type of search criteria used for filtering
2297
+ * credit note data.
2298
+ */
1413
2299
  search_type?: string;
2300
+ /**
2301
+ * - Start date for filtering credit note data.
2302
+ */
1414
2303
  start_date?: string;
1415
2304
  };
1416
2305
  /** @returns {GenerateReportCustomerCnReq} */
@@ -1421,28 +2310,89 @@ type GenerateReportCustomerCnReq = {
1421
2310
  /** @returns {CnGenerateReportItems} */
1422
2311
  declare function CnGenerateReportItems(): CnGenerateReportItems;
1423
2312
  type CnGenerateReportItems = {
2313
+ /**
2314
+ * - Expiry date of the credit note item.
2315
+ */
1424
2316
  expiry_date?: string;
2317
+ /**
2318
+ * - Status of the credit note item.
2319
+ */
1425
2320
  status?: string;
2321
+ /**
2322
+ * - Total amount of the credit note item.
2323
+ */
1426
2324
  total_amount?: number;
2325
+ /**
2326
+ * - Order ID of the order associated with the
2327
+ * credit note item.
2328
+ */
1427
2329
  order_id?: string;
2330
+ /**
2331
+ * - Date when the credit note item was issued.
2332
+ */
1428
2333
  date_issued?: string;
2334
+ /**
2335
+ * - Shipment ID of the order associated with
2336
+ * the credit note item.
2337
+ */
1429
2338
  shipment_id?: string;
2339
+ /**
2340
+ * - Invoice number associated with the
2341
+ * credit note item.
2342
+ */
1430
2343
  invoice_number?: string;
2344
+ /**
2345
+ * - Unique number of the credit note item.
2346
+ */
1431
2347
  credit_note_number?: string;
1432
2348
  };
1433
2349
  /** @returns {GenerateReportCustomerCnResponseData} */
1434
2350
  declare function GenerateReportCustomerCnResponseData(): GenerateReportCustomerCnResponseData;
1435
2351
  type GenerateReportCustomerCnResponseData = {
2352
+ /**
2353
+ * - Indicates if the credit note report
2354
+ * generation was successful.
2355
+ */
1436
2356
  success?: boolean;
2357
+ /**
2358
+ * - Additional message or information related to
2359
+ * the credit note report.
2360
+ */
1437
2361
  message?: string;
2362
+ /**
2363
+ * - List of credit note items in the report.
2364
+ */
1438
2365
  items?: CnGenerateReportItems[];
2366
+ /**
2367
+ * - Display order for row headers
2368
+ * in the report.
2369
+ */
1439
2370
  row_header_display_order?: any;
2371
+ /**
2372
+ * - End date used in the credit note report.
2373
+ */
1440
2374
  end_date?: string;
1441
2375
  page?: Page;
2376
+ /**
2377
+ * - Headers included in the credit note report.
2378
+ */
1442
2379
  headers?: string[];
2380
+ /**
2381
+ * - Primary headers used in the credit
2382
+ * note report.
2383
+ */
1443
2384
  primary_headers?: string[];
2385
+ /**
2386
+ * - Allowed filters for the credit note report.
2387
+ */
1444
2388
  allowed_filters?: string[];
2389
+ /**
2390
+ * - Start date used in the credit note report.
2391
+ */
1445
2392
  start_date?: string;
2393
+ /**
2394
+ * - Total count of credit note items in the report.
2395
+ */
1446
2396
  item_count?: number;
1447
2397
  };
1448
2398
  /** @returns {GenerateReportCustomerCnResponse} */
@@ -1453,13 +2403,40 @@ type GenerateReportCustomerCnResponse = {
1453
2403
  /** @returns {CnDownloadReport} */
1454
2404
  declare function CnDownloadReport(): CnDownloadReport;
1455
2405
  type CnDownloadReport = {
2406
+ /**
2407
+ * - Page number of the download report.
2408
+ */
1456
2409
  page?: number;
2410
+ /**
2411
+ * - Start date for filtering credit note data
2412
+ * in the report.
2413
+ */
1457
2414
  start_date?: string;
2415
+ /**
2416
+ * - End date for filtering credit note data in the report.
2417
+ */
1458
2418
  end_date?: string;
2419
+ /**
2420
+ * - The unique identifier of sale channels or
2421
+ * application as affiliate_id associated with the seller.
2422
+ */
1459
2423
  affiliate_id?: string;
2424
+ /**
2425
+ * - Search query to filter credit note data by keyword.
2426
+ */
1460
2427
  search?: string;
2428
+ /**
2429
+ * - Status of the credit note data in the report.
2430
+ */
1461
2431
  status?: string;
2432
+ /**
2433
+ * - Type of search criteria used for filtering
2434
+ * credit note data.
2435
+ */
1462
2436
  search_type?: string;
2437
+ /**
2438
+ * - Number of items per page in the download report.
2439
+ */
1463
2440
  page_size?: number;
1464
2441
  };
1465
2442
  /** @returns {DownloadReportCustomerCnReq} */
@@ -1470,60 +2447,161 @@ type DownloadReportCustomerCnReq = {
1470
2447
  /** @returns {DownloadReportResponseData} */
1471
2448
  declare function DownloadReportResponseData(): DownloadReportResponseData;
1472
2449
  type DownloadReportResponseData = {
2450
+ /**
2451
+ * - Unique identifier for the report configuration.
2452
+ */
1473
2453
  report_config_id?: string;
2454
+ /**
2455
+ * - Full name associated with the report request.
2456
+ */
1474
2457
  full_name?: string;
2458
+ /**
2459
+ * - User who requested the report.
2460
+ */
1475
2461
  requested_by?: string;
2462
+ /**
2463
+ * - Start date used in the report.
2464
+ */
1476
2465
  start_date?: string;
2466
+ /**
2467
+ * - End date used in the report.
2468
+ */
1477
2469
  end_date?: string;
2470
+ /**
2471
+ * - Dictionary containing request parameters
2472
+ * for the report.
2473
+ */
1478
2474
  request_dict?: any;
2475
+ /**
2476
+ * - Download link for accessing the generated report.
2477
+ */
1479
2478
  download_link?: string;
2479
+ /**
2480
+ * - Date and time when the report was created.
2481
+ */
1480
2482
  created_at?: string;
2483
+ /**
2484
+ * - Additional metadata associated with the report.
2485
+ */
1481
2486
  meta?: any;
2487
+ /**
2488
+ * - Message related to the report status or generation.
2489
+ */
1482
2490
  msg?: string;
2491
+ /**
2492
+ * - Name of the generated report.
2493
+ */
1483
2494
  report_name?: string;
2495
+ /**
2496
+ * - Status of the report.
2497
+ */
1484
2498
  status?: string;
2499
+ /**
2500
+ * - Display name of the report.
2501
+ */
1485
2502
  display_name?: string;
2503
+ /**
2504
+ * - Filters applied to generate the report.
2505
+ */
1486
2506
  filters?: any;
1487
2507
  };
1488
2508
  /** @returns {DownloadReportCustomerCnResponse} */
1489
2509
  declare function DownloadReportCustomerCnResponse(): DownloadReportCustomerCnResponse;
1490
2510
  type DownloadReportCustomerCnResponse = {
2511
+ /**
2512
+ * - List of download report data items.
2513
+ */
1491
2514
  items?: DownloadReportResponseData[];
1492
- data?: DownloadReportResponseData[];
2515
+ /**
2516
+ * - Total count of items in the download report.
2517
+ */
1493
2518
  item_count?: number;
1494
2519
  page?: Page;
1495
2520
  };
1496
2521
  /** @returns {GetReportingFilters} */
1497
2522
  declare function GetReportingFilters(): GetReportingFilters;
1498
2523
  type GetReportingFilters = {
2524
+ /**
2525
+ * - Display text for the filter.
2526
+ */
1499
2527
  text?: string;
2528
+ /**
2529
+ * - Type of the fields like seach, filter(e.g.,
2530
+ * single, multi select).
2531
+ */
1500
2532
  type?: string;
2533
+ /**
2534
+ * - Options available for the filter.
2535
+ */
1501
2536
  options?: any[];
2537
+ /**
2538
+ * - Value to be pass in response select from options.
2539
+ */
1502
2540
  value?: string;
1503
2541
  };
1504
2542
  /** @returns {GetReportingNestedFilters} */
1505
2543
  declare function GetReportingNestedFilters(): GetReportingNestedFilters;
1506
2544
  type GetReportingNestedFilters = {
2545
+ /**
2546
+ * - Display text for the nested filter.
2547
+ */
1507
2548
  text?: string;
2549
+ /**
2550
+ * - Options available for the nested filter.
2551
+ */
1508
2552
  options?: any[];
2553
+ /**
2554
+ * - Indicates if the nested filter is required.
2555
+ */
1509
2556
  required?: boolean;
2557
+ /**
2558
+ * - Placeholder text for the nested filter.
2559
+ */
1510
2560
  placeholder_text?: string;
2561
+ /**
2562
+ * - Type of the nested filter (e.g., single, multi select).
2563
+ */
1511
2564
  type?: string;
2565
+ /**
2566
+ * - Value to be pass in response select from options.
2567
+ */
1512
2568
  value?: string;
1513
2569
  };
1514
2570
  /** @returns {GetReportingFiltersReasonOptions} */
1515
2571
  declare function GetReportingFiltersReasonOptions(): GetReportingFiltersReasonOptions;
1516
2572
  type GetReportingFiltersReasonOptions = {
2573
+ /**
2574
+ * - Display text for the reason option.
2575
+ */
1517
2576
  text?: string;
2577
+ /**
2578
+ * - Value of the reason option.
2579
+ */
1518
2580
  value?: string;
2581
+ /**
2582
+ * - Placeholder text for the reason option.
2583
+ */
1519
2584
  placeholder_text?: string;
1520
2585
  };
1521
2586
  /** @returns {GetReportingFiltersReason} */
1522
2587
  declare function GetReportingFiltersReason(): GetReportingFiltersReason;
1523
2588
  type GetReportingFiltersReason = {
2589
+ /**
2590
+ * - Display text for the reason.
2591
+ */
1524
2592
  text?: string;
2593
+ /**
2594
+ * - Type of the reason.
2595
+ */
1525
2596
  type?: string;
2597
+ /**
2598
+ * - Value to be pass in response.
2599
+ */
1526
2600
  value?: string;
2601
+ /**
2602
+ * - Options available
2603
+ * for the reasons select from options.
2604
+ */
1527
2605
  options?: GetReportingFiltersReasonOptions[];
1528
2606
  };
1529
2607
  /** @returns {GetReportingFiltersResponse} */
@@ -1531,12 +2609,19 @@ declare function GetReportingFiltersResponse(): GetReportingFiltersResponse;
1531
2609
  type GetReportingFiltersResponse = {
1532
2610
  reason?: GetReportingFiltersReason;
1533
2611
  search?: GetReportingFilters;
2612
+ /**
2613
+ * - Array of nested filter objects.
2614
+ */
1534
2615
  filters?: GetReportingNestedFilters[];
1535
2616
  status?: GetReportingFilters;
1536
2617
  };
1537
2618
  /** @returns {InvoicePaymentOptionsPayloadData} */
1538
2619
  declare function InvoicePaymentOptionsPayloadData(): InvoicePaymentOptionsPayloadData;
1539
2620
  type InvoicePaymentOptionsPayloadData = {
2621
+ /**
2622
+ * - List of invoice numbers for which
2623
+ * payment options are being requested.
2624
+ */
1540
2625
  invoice_numbers?: string[];
1541
2626
  };
1542
2627
  /** @returns {InvoicePaymentOptionsReq} */
@@ -1547,92 +2632,233 @@ type InvoicePaymentOptionsReq = {
1547
2632
  /** @returns {InvoicePaymentOptionsResponsePayableAmounts} */
1548
2633
  declare function InvoicePaymentOptionsResponsePayableAmounts(): InvoicePaymentOptionsResponsePayableAmounts;
1549
2634
  type InvoicePaymentOptionsResponsePayableAmounts = {
2635
+ /**
2636
+ * - Amount that is payable for the invoice.
2637
+ */
1550
2638
  amount?: number;
2639
+ /**
2640
+ * - Key associated with the payable amount for
2641
+ * identification.
2642
+ */
1551
2643
  amount_key?: string;
2644
+ /**
2645
+ * - Header describing the payable amount.
2646
+ */
1552
2647
  header?: string;
1553
2648
  };
1554
2649
  /** @returns {InvoicePaymentOptionsResponseDeductedAmounts} */
1555
2650
  declare function InvoicePaymentOptionsResponseDeductedAmounts(): InvoicePaymentOptionsResponseDeductedAmounts;
1556
2651
  type InvoicePaymentOptionsResponseDeductedAmounts = {
2652
+ /**
2653
+ * - Amount deducted from the invoice.
2654
+ */
1557
2655
  amount?: number;
2656
+ /**
2657
+ * - Header describing the deducted amount.
2658
+ */
1558
2659
  header?: string;
2660
+ /**
2661
+ * - Key associated with the deducted amount for
2662
+ * identification.
2663
+ */
1559
2664
  amount_key?: string;
2665
+ /**
2666
+ * - Indicates whether the deducted amount is payable.
2667
+ */
1560
2668
  is_payable?: boolean;
2669
+ /**
2670
+ * - Currency symbol associated with the deducted amount.
2671
+ */
1561
2672
  symbol?: string;
1562
2673
  };
1563
2674
  /** @returns {InvoicePaymentOptionsResponseData} */
1564
2675
  declare function InvoicePaymentOptionsResponseData(): InvoicePaymentOptionsResponseData;
1565
2676
  type InvoicePaymentOptionsResponseData = {
2677
+ /**
2678
+ * - Invoice number for which payment
2679
+ * options are provided.
2680
+ */
1566
2681
  invoice_number?: string;
2682
+ /**
2683
+ * - Type of the invoice (e.g., 'Seller Fynd',
2684
+ * 'Platform Subscription').
2685
+ */
1567
2686
  invoice_type?: string;
2687
+ /**
2688
+ * - List of amounts that are payable for the invoice.
2689
+ */
1568
2690
  display_amounts?: InvoicePaymentOptionsResponsePayableAmounts[];
2691
+ /**
2692
+ * - Total amount for the invoice.
2693
+ */
1569
2694
  total_amount?: any;
2695
+ /**
2696
+ * - Amounts deducted from the total,
2697
+ * including any associated details.
2698
+ */
1570
2699
  deducted_amounts?: any;
2700
+ /**
2701
+ * - Amounts that are payable for the invoice.
2702
+ */
1571
2703
  payable_amounts?: InvoicePaymentOptionsResponsePayableAmounts[];
1572
2704
  currency?: Currency;
1573
2705
  };
1574
2706
  /** @returns {InvoicePaymentOptionsResponse} */
1575
2707
  declare function InvoicePaymentOptionsResponse(): InvoicePaymentOptionsResponse;
1576
2708
  type InvoicePaymentOptionsResponse = {
2709
+ /**
2710
+ * - Reason for the response or any errors encountered.
2711
+ */
1577
2712
  reason?: string;
2713
+ /**
2714
+ * - List of data objects
2715
+ * containing details about invoice payment options.
2716
+ */
1578
2717
  data?: InvoicePaymentOptionsResponseData[];
2718
+ /**
2719
+ * - Total amount payable for the invoices.
2720
+ */
1579
2721
  total_payable_amount?: number;
2722
+ /**
2723
+ * - Number of invoices included in the response.
2724
+ */
1580
2725
  invoice_count?: number;
2726
+ /**
2727
+ * - Indicates whether the request to retrieve
2728
+ * invoice payment options was successful.
2729
+ */
1581
2730
  success?: boolean;
1582
2731
  };
1583
2732
  /** @returns {PaymentDetail} */
1584
2733
  declare function PaymentDetail(): PaymentDetail;
1585
2734
  type PaymentDetail = {
2735
+ /**
2736
+ * - Name or label displayed for the payment detail.
2737
+ */
1586
2738
  display_name?: string;
2739
+ /**
2740
+ * - Value associated with the payment detail (e.g.,
2741
+ * amount, transaction ID).
2742
+ */
1587
2743
  value?: string;
1588
2744
  };
1589
2745
  /** @returns {PaidInvoicePaymentDetail} */
1590
2746
  declare function PaidInvoicePaymentDetail(): PaidInvoicePaymentDetail;
1591
2747
  type PaidInvoicePaymentDetail = {
2748
+ /**
2749
+ * - List of payment details for
2750
+ * the invoice.
2751
+ */
1592
2752
  payment_details?: PaymentDetail[];
2753
+ /**
2754
+ * - Date when the payment was made.
2755
+ */
1593
2756
  date_of_payment?: string;
2757
+ /**
2758
+ * - Amount paid towards the invoice.
2759
+ */
1594
2760
  amount?: number;
1595
2761
  };
1596
2762
  /** @returns {InvoicePaymentDetailsResponseData} */
1597
2763
  declare function InvoicePaymentDetailsResponseData(): InvoicePaymentDetailsResponseData;
1598
2764
  type InvoicePaymentDetailsResponseData = {
2765
+ /**
2766
+ * - List
2767
+ * of details for paid invoices.
2768
+ */
1599
2769
  paid_invoice_payment_details?: PaidInvoicePaymentDetail[];
2770
+ /**
2771
+ * - Details of any failed
2772
+ * payment attempts for the invoices.
2773
+ */
1600
2774
  failed_attempts_details?: any[];
1601
2775
  };
1602
2776
  /** @returns {InvoicePaymentDetailsResponse} */
1603
2777
  declare function InvoicePaymentDetailsResponse(): InvoicePaymentDetailsResponse;
1604
2778
  type InvoicePaymentDetailsResponse = {
2779
+ /**
2780
+ * - Reason for the response or any errors encountered.
2781
+ */
1605
2782
  reason?: string;
1606
2783
  data?: InvoicePaymentDetailsResponseData;
2784
+ /**
2785
+ * - Indicates whether the request to retrieve
2786
+ * invoice payment details was successful.
2787
+ */
1607
2788
  success?: boolean;
2789
+ /**
2790
+ * - Indicates whether payment
2791
+ * details are visible or hidden in the response.
2792
+ */
1608
2793
  payment_details_visible?: boolean;
1609
2794
  };
1610
2795
  /** @returns {InvoiceActivityLogsResponseData} */
1611
2796
  declare function InvoiceActivityLogsResponseData(): InvoiceActivityLogsResponseData;
1612
2797
  type InvoiceActivityLogsResponseData = {
2798
+ /**
2799
+ * - Identifier of the user or system that
2800
+ * performed the activity.
2801
+ */
1613
2802
  performed_by?: string;
2803
+ /**
2804
+ * - Status of the activity (e.g., 'Completed', 'Pending').
2805
+ */
1614
2806
  status?: string;
2807
+ /**
2808
+ * - Reason for the activity status or any related notes.
2809
+ */
1615
2810
  reason?: string;
2811
+ /**
2812
+ * - Indicates whether the activity issue is resolved.
2813
+ */
1616
2814
  is_resolved?: boolean;
2815
+ /**
2816
+ * - Number of retry attempts made for the activity.
2817
+ */
1617
2818
  retry_attempts?: number;
2819
+ /**
2820
+ * - Maximum number of retry attempts
2821
+ * allowed for the activity.
2822
+ */
1618
2823
  max_retry_attempts?: number;
1619
2824
  };
1620
2825
  /** @returns {InvoiceActivityLogsResponse} */
1621
2826
  declare function InvoiceActivityLogsResponse(): InvoiceActivityLogsResponse;
1622
2827
  type InvoiceActivityLogsResponse = {
2828
+ /**
2829
+ * - List of activity logs
2830
+ * related to invoices.
2831
+ */
1623
2832
  data?: InvoiceActivityLogsResponseData[];
1624
2833
  };
1625
2834
  /** @returns {InvoiceActivityLogError} */
1626
2835
  declare function InvoiceActivityLogError(): InvoiceActivityLogError;
1627
2836
  type InvoiceActivityLogError = {
2837
+ /**
2838
+ * - Reason for the error or issue encountered with
2839
+ * the invoice activity logs.
2840
+ */
1628
2841
  reason?: string;
1629
2842
  };
1630
2843
  /** @returns {UnlockCreditNoteRequestData} */
1631
2844
  declare function UnlockCreditNoteRequestData(): UnlockCreditNoteRequestData;
1632
2845
  type UnlockCreditNoteRequestData = {
2846
+ /**
2847
+ * - The unique identifier for the seller.
2848
+ */
1633
2849
  seller_id?: string;
2850
+ /**
2851
+ * - A list of credit notes that are locked.
2852
+ */
1634
2853
  locked_credit_notes?: string[];
2854
+ /**
2855
+ * - The reason for unlocking the credit notes.
2856
+ */
1635
2857
  unlock_reason?: string;
2858
+ /**
2859
+ * - Additional details or comments about the
2860
+ * unlock request.
2861
+ */
1636
2862
  description?: string;
1637
2863
  };
1638
2864
  /** @returns {UnlockCreditNoteReq} */
@@ -1643,12 +2869,22 @@ type UnlockCreditNoteReq = {
1643
2869
  /** @returns {UnlockCreditNoteResponseData} */
1644
2870
  declare function UnlockCreditNoteResponseData(): UnlockCreditNoteResponseData;
1645
2871
  type UnlockCreditNoteResponseData = {
2872
+ /**
2873
+ * - Indicates whether the credit note is unlocked.
2874
+ */
1646
2875
  is_cn_unlocked?: boolean;
2876
+ /**
2877
+ * - The current status of the each credit notes.
2878
+ */
1647
2879
  status?: string;
1648
2880
  };
1649
2881
  /** @returns {UnlockCreditNoteResponse} */
1650
2882
  declare function UnlockCreditNoteResponse(): UnlockCreditNoteResponse;
1651
2883
  type UnlockCreditNoteResponse = {
2884
+ /**
2885
+ * - Indicates whether the credit note unlock
2886
+ * request was successful.
2887
+ */
1652
2888
  success?: boolean;
1653
2889
  data?: UnlockCreditNoteResponseData;
1654
2890
  };