@gofynd/fdk-client-javascript 1.3.11-beta.7 → 1.3.11-beta.8

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 (229) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/Cart/CartApplicationClient.d.ts +1 -1
  4. package/sdk/application/Cart/CartApplicationClient.js +5 -3
  5. package/sdk/application/Cart/CartApplicationModel.d.ts +107 -1
  6. package/sdk/application/Cart/CartApplicationModel.js +74 -0
  7. package/sdk/application/Cart/CartApplicationValidator.d.ts +4 -0
  8. package/sdk/application/Cart/CartApplicationValidator.js +4 -0
  9. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +3 -6
  10. package/sdk/application/Catalog/CatalogApplicationClient.js +7 -20
  11. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2 -2
  12. package/sdk/application/Catalog/CatalogApplicationModel.js +2 -2
  13. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -14
  14. package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -6
  15. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +183 -49
  16. package/sdk/application/Configuration/ConfigurationApplicationModel.js +173 -31
  17. package/sdk/application/Content/ContentApplicationClient.d.ts +36 -0
  18. package/sdk/application/Content/ContentApplicationClient.js +246 -0
  19. package/sdk/application/Content/ContentApplicationModel.d.ts +208 -1
  20. package/sdk/application/Content/ContentApplicationModel.js +252 -0
  21. package/sdk/application/Content/ContentApplicationValidator.d.ts +40 -1
  22. package/sdk/application/Content/ContentApplicationValidator.js +41 -0
  23. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +67 -0
  24. package/sdk/application/Logistic/LogisticApplicationClient.js +547 -0
  25. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +456 -1
  26. package/sdk/application/Logistic/LogisticApplicationModel.js +488 -0
  27. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +211 -1
  28. package/sdk/application/Logistic/LogisticApplicationValidator.js +131 -0
  29. package/sdk/application/Order/OrderApplicationClient.d.ts +3 -3
  30. package/sdk/application/Order/OrderApplicationClient.js +32 -8
  31. package/sdk/application/Order/OrderApplicationModel.d.ts +6 -0
  32. package/sdk/application/Order/OrderApplicationModel.js +6 -0
  33. package/sdk/application/Order/OrderApplicationValidator.d.ts +20 -0
  34. package/sdk/application/Order/OrderApplicationValidator.js +8 -0
  35. package/sdk/application/Payment/PaymentApplicationClient.d.ts +46 -2
  36. package/sdk/application/Payment/PaymentApplicationClient.js +341 -10
  37. package/sdk/application/Payment/PaymentApplicationModel.d.ts +493 -186
  38. package/sdk/application/Payment/PaymentApplicationModel.js +341 -70
  39. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +59 -14
  40. package/sdk/application/Payment/PaymentApplicationValidator.js +64 -10
  41. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +34 -1
  42. package/sdk/application/PosCart/PosCartApplicationModel.js +24 -0
  43. package/sdk/application/Theme/ThemeApplicationClient.d.ts +1 -1
  44. package/sdk/application/Theme/ThemeApplicationClient.js +7 -3
  45. package/sdk/application/Theme/ThemeApplicationModel.d.ts +222 -36
  46. package/sdk/application/Theme/ThemeApplicationModel.js +322 -26
  47. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +10 -0
  48. package/sdk/application/Theme/ThemeApplicationValidator.js +4 -0
  49. package/sdk/application/User/UserApplicationClient.d.ts +33 -0
  50. package/sdk/application/User/UserApplicationClient.js +239 -0
  51. package/sdk/application/User/UserApplicationModel.d.ts +28 -13
  52. package/sdk/application/User/UserApplicationModel.js +36 -12
  53. package/sdk/application/User/UserApplicationValidator.d.ts +34 -1
  54. package/sdk/application/User/UserApplicationValidator.js +36 -0
  55. package/sdk/partner/Lead/LeadPartnerClient.d.ts +125 -0
  56. package/sdk/partner/Lead/LeadPartnerClient.js +785 -0
  57. package/sdk/partner/Lead/LeadPartnerModel.d.ts +1127 -0
  58. package/sdk/partner/Lead/LeadPartnerModel.js +896 -0
  59. package/sdk/partner/Lead/LeadPartnerValidator.d.ts +12 -0
  60. package/sdk/partner/Lead/LeadPartnerValidator.js +67 -0
  61. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +155 -0
  62. package/sdk/partner/Logistics/LogisticsPartnerClient.js +1195 -0
  63. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +372 -0
  64. package/sdk/partner/Logistics/LogisticsPartnerModel.js +442 -0
  65. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +16 -0
  66. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +123 -0
  67. package/sdk/partner/PartnerClient.d.ts +6 -0
  68. package/sdk/partner/PartnerClient.js +9 -0
  69. package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -0
  70. package/sdk/partner/Theme/ThemePartnerClient.js +80 -0
  71. package/sdk/partner/Theme/ThemePartnerModel.d.ts +100 -43
  72. package/sdk/partner/Theme/ThemePartnerModel.js +74 -30
  73. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +1 -0
  74. package/sdk/partner/Theme/ThemePartnerValidator.js +9 -0
  75. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +99 -0
  76. package/sdk/partner/Webhook/WebhookPartnerClient.js +753 -0
  77. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +566 -0
  78. package/sdk/partner/Webhook/WebhookPartnerModel.js +583 -0
  79. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +12 -0
  80. package/sdk/partner/Webhook/WebhookPartnerValidator.js +74 -0
  81. package/sdk/partner/index.d.ts +3 -0
  82. package/sdk/partner/index.js +6 -0
  83. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +2 -2
  84. package/sdk/platform/Billing/BillingPlatformClient.d.ts +11 -1
  85. package/sdk/platform/Billing/BillingPlatformClient.js +110 -3
  86. package/sdk/platform/Billing/BillingPlatformModel.d.ts +67 -1
  87. package/sdk/platform/Billing/BillingPlatformModel.js +78 -0
  88. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +43 -4
  89. package/sdk/platform/Billing/BillingPlatformValidator.js +29 -2
  90. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +1 -1
  91. package/sdk/platform/Cart/CartPlatformApplicationClient.js +7 -1
  92. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +4 -0
  93. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +4 -0
  94. package/sdk/platform/Cart/CartPlatformModel.d.ts +100 -5
  95. package/sdk/platform/Cart/CartPlatformModel.js +71 -4
  96. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +15 -11
  97. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +52 -21
  98. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +27 -0
  99. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +11 -0
  100. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +26 -4
  101. package/sdk/platform/Catalog/CatalogPlatformClient.js +173 -7
  102. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +304 -1
  103. package/sdk/platform/Catalog/CatalogPlatformModel.js +335 -0
  104. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +31 -3
  105. package/sdk/platform/Catalog/CatalogPlatformValidator.js +27 -2
  106. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +138 -36
  107. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +739 -57
  108. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +128 -3
  109. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +111 -1
  110. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +150 -1
  111. package/sdk/platform/Communication/CommunicationPlatformModel.js +172 -0
  112. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +8 -2
  113. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +32 -4
  114. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +38 -9
  115. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +42 -8
  116. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +14 -0
  117. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +6 -0
  118. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +8 -8
  119. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +4 -4
  120. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +371 -132
  121. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +288 -77
  122. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +2 -2
  123. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +2 -2
  124. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +391 -0
  125. package/sdk/platform/Content/ContentPlatformApplicationClient.js +3630 -1059
  126. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +342 -1
  127. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +401 -0
  128. package/sdk/platform/Content/ContentPlatformClient.d.ts +277 -0
  129. package/sdk/platform/Content/ContentPlatformClient.js +2000 -0
  130. package/sdk/platform/Content/ContentPlatformModel.d.ts +1094 -1
  131. package/sdk/platform/Content/ContentPlatformModel.js +1356 -46
  132. package/sdk/platform/Content/ContentPlatformValidator.d.ts +238 -0
  133. package/sdk/platform/Content/ContentPlatformValidator.js +310 -0
  134. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
  135. package/sdk/platform/Discount/DiscountPlatformClient.js +2 -2
  136. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +96 -13
  137. package/sdk/platform/Discount/DiscountPlatformModel.js +104 -12
  138. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +16 -6
  139. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +117 -8
  140. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +55 -4
  141. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +39 -2
  142. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +16 -5
  143. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +18 -4
  144. package/sdk/platform/Finance/FinancePlatformClient.d.ts +33 -0
  145. package/sdk/platform/Finance/FinancePlatformClient.js +240 -0
  146. package/sdk/platform/Finance/FinancePlatformModel.d.ts +151 -5
  147. package/sdk/platform/Finance/FinancePlatformModel.js +190 -4
  148. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +38 -1
  149. package/sdk/platform/Finance/FinancePlatformValidator.js +38 -0
  150. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +38 -28
  151. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +137 -56
  152. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +41 -29
  153. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +33 -21
  154. package/sdk/platform/Lead/LeadPlatformModel.d.ts +12 -3
  155. package/sdk/platform/Lead/LeadPlatformModel.js +16 -2
  156. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +23 -1
  157. package/sdk/platform/Order/OrderPlatformApplicationClient.js +178 -1
  158. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +39 -1
  159. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +32 -0
  160. package/sdk/platform/Order/OrderPlatformClient.d.ts +202 -31
  161. package/sdk/platform/Order/OrderPlatformClient.js +2010 -586
  162. package/sdk/platform/Order/OrderPlatformModel.d.ts +1032 -470
  163. package/sdk/platform/Order/OrderPlatformModel.js +1187 -534
  164. package/sdk/platform/Order/OrderPlatformValidator.d.ts +318 -35
  165. package/sdk/platform/Order/OrderPlatformValidator.js +292 -29
  166. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +119 -13
  167. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +749 -39
  168. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +143 -7
  169. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +133 -6
  170. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +1 -1
  171. package/sdk/platform/Payment/PaymentPlatformClient.js +1 -1
  172. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +996 -134
  173. package/sdk/platform/Payment/PaymentPlatformModel.js +721 -58
  174. package/sdk/platform/PlatformApplicationClient.d.ts +2 -2
  175. package/sdk/platform/PlatformApplicationClient.js +4 -4
  176. package/sdk/platform/PlatformClient.d.ts +4 -2
  177. package/sdk/platform/PlatformClient.js +8 -4
  178. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +142 -66
  179. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +645 -147
  180. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +131 -63
  181. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +126 -47
  182. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +217 -105
  183. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +1136 -347
  184. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +912 -313
  185. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1071 -355
  186. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +382 -133
  187. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +266 -102
  188. package/sdk/platform/Theme/ThemePlatformClient.d.ts +11 -1
  189. package/sdk/platform/Theme/ThemePlatformClient.js +87 -3
  190. package/sdk/platform/Theme/ThemePlatformModel.d.ts +333 -47
  191. package/sdk/platform/Theme/ThemePlatformModel.js +395 -35
  192. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +28 -4
  193. package/sdk/platform/Theme/ThemePlatformValidator.js +21 -2
  194. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +116 -1
  195. package/sdk/platform/User/UserPlatformApplicationClient.js +931 -85
  196. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +224 -7
  197. package/sdk/platform/User/UserPlatformApplicationValidator.js +173 -5
  198. package/sdk/platform/User/UserPlatformModel.d.ts +344 -7
  199. package/sdk/platform/User/UserPlatformModel.js +256 -5
  200. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +47 -39
  201. package/sdk/platform/Webhook/WebhookPlatformClient.js +63 -61
  202. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +264 -156
  203. package/sdk/platform/Webhook/WebhookPlatformModel.js +276 -153
  204. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +7 -10
  205. package/sdk/platform/Webhook/WebhookPlatformValidator.js +6 -6
  206. package/sdk/platform/index.d.ts +1 -1
  207. package/sdk/platform/index.js +2 -2
  208. package/sdk/public/Billing/BillingPublicClient.d.ts +23 -0
  209. package/sdk/public/Billing/BillingPublicClient.js +116 -0
  210. package/sdk/public/Billing/BillingPublicModel.d.ts +92 -0
  211. package/sdk/public/Billing/BillingPublicModel.js +96 -0
  212. package/sdk/public/Billing/BillingPublicValidator.d.ts +18 -0
  213. package/sdk/public/Billing/BillingPublicValidator.js +19 -0
  214. package/sdk/public/Content/ContentPublicClient.d.ts +22 -0
  215. package/sdk/public/Content/ContentPublicClient.js +114 -0
  216. package/sdk/public/Content/ContentPublicModel.d.ts +53 -0
  217. package/sdk/public/Content/ContentPublicModel.js +60 -0
  218. package/sdk/public/Content/ContentPublicValidator.d.ts +18 -0
  219. package/sdk/public/Content/ContentPublicValidator.js +19 -0
  220. package/sdk/public/PublicClient.d.ts +4 -0
  221. package/sdk/public/PublicClient.js +8 -0
  222. package/sdk/public/Webhook/WebhookPublicClient.d.ts +33 -0
  223. package/sdk/public/Webhook/WebhookPublicClient.js +242 -0
  224. package/sdk/public/Webhook/WebhookPublicModel.d.ts +147 -1
  225. package/sdk/public/Webhook/WebhookPublicModel.js +177 -1
  226. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +23 -1
  227. package/sdk/public/Webhook/WebhookPublicValidator.js +31 -0
  228. package/sdk/public/index.d.ts +2 -0
  229. package/sdk/public/index.js +4 -0
@@ -0,0 +1,372 @@
1
+ export = LogisticsPartnerModel;
2
+ /**
3
+ * @typedef ArithmeticOperations
4
+ * @property {number} [gt]
5
+ * @property {number} [gte]
6
+ * @property {number} [lt]
7
+ * @property {number} [lte]
8
+ */
9
+ /**
10
+ * @typedef BulkRegionJobSerializer
11
+ * @property {string} action
12
+ * @property {string} country
13
+ * @property {string} [file_path]
14
+ * @property {string} region
15
+ */
16
+ /**
17
+ * @typedef BulkRegionResponse
18
+ * @property {BulkRegionResponseItemData[]} items
19
+ * @property {Page} page
20
+ */
21
+ /**
22
+ * @typedef BulkRegionResponseItemData
23
+ * @property {string} action
24
+ * @property {string} batch_id
25
+ * @property {string} country
26
+ * @property {string} [error_file_path]
27
+ * @property {number} [failed]
28
+ * @property {Object[]} [failed_records]
29
+ * @property {string} file_path
30
+ * @property {string} region
31
+ * @property {string} status
32
+ * @property {number} [success]
33
+ * @property {number} [total]
34
+ */
35
+ /**
36
+ * @typedef BulkRegionServiceabilityTatRequest
37
+ * @property {string} country
38
+ * @property {string} region
39
+ * @property {string} type
40
+ */
41
+ /**
42
+ * @typedef BulkRegionServiceabilityTatResponse
43
+ * @property {BulkRegionServiceabilityTatResponseItemData[]} [items]
44
+ * @property {Page} [page]
45
+ */
46
+ /**
47
+ * @typedef BulkRegionServiceabilityTatResponseItemData
48
+ * @property {string} [batch_id]
49
+ * @property {string} [country]
50
+ * @property {Object[]} [failed_records]
51
+ * @property {string} [file_path]
52
+ * @property {string} [region]
53
+ * @property {string} [status]
54
+ * @property {string} [type]
55
+ */
56
+ /**
57
+ * @typedef CompanyCourierPartnerAccountListResponse
58
+ * @property {CourierAccountResponse[]} items
59
+ * @property {Page} page
60
+ */
61
+ /**
62
+ * @typedef CourierAccount
63
+ * @property {string} account_id
64
+ * @property {string} extension_id
65
+ * @property {boolean} is_own_account
66
+ * @property {boolean} is_self_ship
67
+ * @property {string} scheme_id
68
+ * @property {string} stage
69
+ */
70
+ /**
71
+ * @typedef CourierAccountResponse
72
+ * @property {string} account_id
73
+ * @property {boolean} is_own_account
74
+ * @property {boolean} is_self_ship
75
+ * @property {string} scheme_id
76
+ * @property {CourierPartnerSchemeModel} scheme_rules
77
+ * @property {string} stage
78
+ */
79
+ /**
80
+ * @typedef CourierPartnerAccountFailureResponse
81
+ * @property {ErrorResponse[]} error
82
+ * @property {boolean} success
83
+ */
84
+ /**
85
+ * @typedef CourierPartnerSchemeFeatures
86
+ * @property {boolean} [cold_storage_goods]
87
+ * @property {boolean} [dangerous_goods]
88
+ * @property {boolean} [doorstep_exchange]
89
+ * @property {boolean} [doorstep_qc]
90
+ * @property {boolean} [doorstep_return]
91
+ * @property {boolean} [ewaybill]
92
+ * @property {boolean} [fragile_goods]
93
+ * @property {boolean} [mps]
94
+ * @property {boolean} [multi_pick_multi_drop]
95
+ * @property {boolean} [multi_pick_single_drop]
96
+ * @property {boolean} [ndr]
97
+ * @property {number} [ndr_attempts]
98
+ * @property {boolean} [openbox_delivery]
99
+ * @property {boolean} [product_installation]
100
+ * @property {boolean} [qr]
101
+ * @property {boolean} [restricted_goods]
102
+ * @property {boolean} [single_pick_multi_drop]
103
+ * @property {string} [status_updates]
104
+ */
105
+ /**
106
+ * @typedef CourierPartnerSchemeModel
107
+ * @property {string} delivery_type
108
+ * @property {string} extension_id
109
+ * @property {CourierPartnerSchemeFeatures} feature
110
+ * @property {string} name
111
+ * @property {string[]} payment_mode
112
+ * @property {string} region
113
+ * @property {string} scheme_id
114
+ * @property {string} stage
115
+ * @property {string} transport_type
116
+ * @property {ArithmeticOperations} weight
117
+ */
118
+ /**
119
+ * @typedef CourierPartnerSchemeUpdateRequest
120
+ * @property {string} delivery_type
121
+ * @property {CourierPartnerSchemeFeatures} feature
122
+ * @property {string} name
123
+ * @property {string[]} payment_mode
124
+ * @property {string} region
125
+ * @property {string} stage
126
+ * @property {string} transport_type
127
+ * @property {ArithmeticOperations} weight
128
+ */
129
+ /**
130
+ * @typedef ErrorResponse
131
+ * @property {string} message
132
+ * @property {string} type
133
+ * @property {string} value
134
+ */
135
+ /**
136
+ * @typedef FailureResponse
137
+ * @property {ErrorResponse[]} error
138
+ * @property {boolean} success
139
+ */
140
+ /**
141
+ * @typedef GetCountries
142
+ * @property {GetCountriesItems[]} items
143
+ * @property {Page} page
144
+ */
145
+ /**
146
+ * @typedef GetCountriesItems
147
+ * @property {string} [currency]
148
+ * @property {string} [display_name]
149
+ * @property {HierarchyItems[]} [hierarchy]
150
+ * @property {string} [id]
151
+ * @property {string} [iso2]
152
+ * @property {string} [iso3]
153
+ * @property {string} [latitude]
154
+ * @property {string} [longitude]
155
+ * @property {string} [name]
156
+ * @property {string} [phone_code]
157
+ * @property {string[]} [timezones]
158
+ * @property {string} [type]
159
+ */
160
+ /**
161
+ * @typedef HierarchyItems
162
+ * @property {string} [display_name]
163
+ * @property {string} [slug]
164
+ */
165
+ /**
166
+ * @typedef Page
167
+ * @property {number} [current]
168
+ * @property {boolean} [has_next]
169
+ * @property {boolean} [has_previous]
170
+ * @property {number} [item_total]
171
+ * @property {string} [next_id]
172
+ * @property {number} [size]
173
+ * @property {string} type
174
+ */
175
+ declare class LogisticsPartnerModel {
176
+ }
177
+ declare namespace LogisticsPartnerModel {
178
+ export { ArithmeticOperations, BulkRegionJobSerializer, BulkRegionResponse, BulkRegionResponseItemData, BulkRegionServiceabilityTatRequest, BulkRegionServiceabilityTatResponse, BulkRegionServiceabilityTatResponseItemData, CompanyCourierPartnerAccountListResponse, CourierAccount, CourierAccountResponse, CourierPartnerAccountFailureResponse, CourierPartnerSchemeFeatures, CourierPartnerSchemeModel, CourierPartnerSchemeUpdateRequest, ErrorResponse, FailureResponse, GetCountries, GetCountriesItems, HierarchyItems, Page };
179
+ }
180
+ /** @returns {ArithmeticOperations} */
181
+ declare function ArithmeticOperations(): ArithmeticOperations;
182
+ type ArithmeticOperations = {
183
+ gt?: number;
184
+ gte?: number;
185
+ lt?: number;
186
+ lte?: number;
187
+ };
188
+ /** @returns {BulkRegionJobSerializer} */
189
+ declare function BulkRegionJobSerializer(): BulkRegionJobSerializer;
190
+ type BulkRegionJobSerializer = {
191
+ action: string;
192
+ country: string;
193
+ file_path?: string;
194
+ region: string;
195
+ };
196
+ /** @returns {BulkRegionResponse} */
197
+ declare function BulkRegionResponse(): BulkRegionResponse;
198
+ type BulkRegionResponse = {
199
+ items: BulkRegionResponseItemData[];
200
+ page: Page;
201
+ };
202
+ /** @returns {BulkRegionResponseItemData} */
203
+ declare function BulkRegionResponseItemData(): BulkRegionResponseItemData;
204
+ type BulkRegionResponseItemData = {
205
+ action: string;
206
+ batch_id: string;
207
+ country: string;
208
+ error_file_path?: string;
209
+ failed?: number;
210
+ failed_records?: any[];
211
+ file_path: string;
212
+ region: string;
213
+ status: string;
214
+ success?: number;
215
+ total?: number;
216
+ };
217
+ /** @returns {BulkRegionServiceabilityTatRequest} */
218
+ declare function BulkRegionServiceabilityTatRequest(): BulkRegionServiceabilityTatRequest;
219
+ type BulkRegionServiceabilityTatRequest = {
220
+ country: string;
221
+ region: string;
222
+ type: string;
223
+ };
224
+ /** @returns {BulkRegionServiceabilityTatResponse} */
225
+ declare function BulkRegionServiceabilityTatResponse(): BulkRegionServiceabilityTatResponse;
226
+ type BulkRegionServiceabilityTatResponse = {
227
+ items?: BulkRegionServiceabilityTatResponseItemData[];
228
+ page?: Page;
229
+ };
230
+ /** @returns {BulkRegionServiceabilityTatResponseItemData} */
231
+ declare function BulkRegionServiceabilityTatResponseItemData(): BulkRegionServiceabilityTatResponseItemData;
232
+ type BulkRegionServiceabilityTatResponseItemData = {
233
+ batch_id?: string;
234
+ country?: string;
235
+ failed_records?: any[];
236
+ file_path?: string;
237
+ region?: string;
238
+ status?: string;
239
+ type?: string;
240
+ };
241
+ /** @returns {CompanyCourierPartnerAccountListResponse} */
242
+ declare function CompanyCourierPartnerAccountListResponse(): CompanyCourierPartnerAccountListResponse;
243
+ type CompanyCourierPartnerAccountListResponse = {
244
+ items: CourierAccountResponse[];
245
+ page: Page;
246
+ };
247
+ /** @returns {CourierAccount} */
248
+ declare function CourierAccount(): CourierAccount;
249
+ type CourierAccount = {
250
+ account_id: string;
251
+ extension_id: string;
252
+ is_own_account: boolean;
253
+ is_self_ship: boolean;
254
+ scheme_id: string;
255
+ stage: string;
256
+ };
257
+ /** @returns {CourierAccountResponse} */
258
+ declare function CourierAccountResponse(): CourierAccountResponse;
259
+ type CourierAccountResponse = {
260
+ account_id: string;
261
+ is_own_account: boolean;
262
+ is_self_ship: boolean;
263
+ scheme_id: string;
264
+ scheme_rules: CourierPartnerSchemeModel;
265
+ stage: string;
266
+ };
267
+ /** @returns {CourierPartnerAccountFailureResponse} */
268
+ declare function CourierPartnerAccountFailureResponse(): CourierPartnerAccountFailureResponse;
269
+ type CourierPartnerAccountFailureResponse = {
270
+ error: ErrorResponse[];
271
+ success: boolean;
272
+ };
273
+ /** @returns {CourierPartnerSchemeFeatures} */
274
+ declare function CourierPartnerSchemeFeatures(): CourierPartnerSchemeFeatures;
275
+ type CourierPartnerSchemeFeatures = {
276
+ cold_storage_goods?: boolean;
277
+ dangerous_goods?: boolean;
278
+ doorstep_exchange?: boolean;
279
+ doorstep_qc?: boolean;
280
+ doorstep_return?: boolean;
281
+ ewaybill?: boolean;
282
+ fragile_goods?: boolean;
283
+ mps?: boolean;
284
+ multi_pick_multi_drop?: boolean;
285
+ multi_pick_single_drop?: boolean;
286
+ ndr?: boolean;
287
+ ndr_attempts?: number;
288
+ openbox_delivery?: boolean;
289
+ product_installation?: boolean;
290
+ qr?: boolean;
291
+ restricted_goods?: boolean;
292
+ single_pick_multi_drop?: boolean;
293
+ status_updates?: string;
294
+ };
295
+ /** @returns {CourierPartnerSchemeModel} */
296
+ declare function CourierPartnerSchemeModel(): CourierPartnerSchemeModel;
297
+ type CourierPartnerSchemeModel = {
298
+ delivery_type: string;
299
+ extension_id: string;
300
+ feature: CourierPartnerSchemeFeatures;
301
+ name: string;
302
+ payment_mode: string[];
303
+ region: string;
304
+ scheme_id: string;
305
+ stage: string;
306
+ transport_type: string;
307
+ weight: ArithmeticOperations;
308
+ };
309
+ /** @returns {CourierPartnerSchemeUpdateRequest} */
310
+ declare function CourierPartnerSchemeUpdateRequest(): CourierPartnerSchemeUpdateRequest;
311
+ type CourierPartnerSchemeUpdateRequest = {
312
+ delivery_type: string;
313
+ feature: CourierPartnerSchemeFeatures;
314
+ name: string;
315
+ payment_mode: string[];
316
+ region: string;
317
+ stage: string;
318
+ transport_type: string;
319
+ weight: ArithmeticOperations;
320
+ };
321
+ /** @returns {ErrorResponse} */
322
+ declare function ErrorResponse(): ErrorResponse;
323
+ type ErrorResponse = {
324
+ message: string;
325
+ type: string;
326
+ value: string;
327
+ };
328
+ /** @returns {FailureResponse} */
329
+ declare function FailureResponse(): FailureResponse;
330
+ type FailureResponse = {
331
+ error: ErrorResponse[];
332
+ success: boolean;
333
+ };
334
+ /** @returns {GetCountries} */
335
+ declare function GetCountries(): GetCountries;
336
+ type GetCountries = {
337
+ items: GetCountriesItems[];
338
+ page: Page;
339
+ };
340
+ /** @returns {GetCountriesItems} */
341
+ declare function GetCountriesItems(): GetCountriesItems;
342
+ type GetCountriesItems = {
343
+ currency?: string;
344
+ display_name?: string;
345
+ hierarchy?: HierarchyItems[];
346
+ id?: string;
347
+ iso2?: string;
348
+ iso3?: string;
349
+ latitude?: string;
350
+ longitude?: string;
351
+ name?: string;
352
+ phone_code?: string;
353
+ timezones?: string[];
354
+ type?: string;
355
+ };
356
+ /** @returns {HierarchyItems} */
357
+ declare function HierarchyItems(): HierarchyItems;
358
+ type HierarchyItems = {
359
+ display_name?: string;
360
+ slug?: string;
361
+ };
362
+ /** @returns {Page} */
363
+ declare function Page(): Page;
364
+ type Page = {
365
+ current?: number;
366
+ has_next?: boolean;
367
+ has_previous?: boolean;
368
+ item_total?: number;
369
+ next_id?: string;
370
+ size?: number;
371
+ type: string;
372
+ };