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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/Cart/CartApplicationModel.d.ts +1742 -1726
  4. package/sdk/application/Cart/CartApplicationModel.js +1497 -1481
  5. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +1917 -1917
  6. package/sdk/application/Catalog/CatalogApplicationModel.js +1611 -1611
  7. package/sdk/application/Common/CommonApplicationModel.d.ts +235 -235
  8. package/sdk/application/Common/CommonApplicationModel.js +172 -172
  9. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +72 -72
  10. package/sdk/application/Communication/CommunicationApplicationModel.js +64 -64
  11. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1614 -1614
  12. package/sdk/application/Configuration/ConfigurationApplicationModel.js +1151 -1151
  13. package/sdk/application/Content/ContentApplicationModel.d.ts +797 -797
  14. package/sdk/application/Content/ContentApplicationModel.js +757 -757
  15. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +79 -79
  16. package/sdk/application/FileStorage/FileStorageApplicationModel.js +84 -84
  17. package/sdk/application/Lead/LeadApplicationModel.d.ts +417 -417
  18. package/sdk/application/Lead/LeadApplicationModel.js +301 -301
  19. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +666 -666
  20. package/sdk/application/Logistic/LogisticApplicationModel.js +601 -601
  21. package/sdk/application/Order/OrderApplicationModel.d.ts +846 -846
  22. package/sdk/application/Order/OrderApplicationModel.js +822 -822
  23. package/sdk/application/Payment/PaymentApplicationClient.d.ts +5 -5
  24. package/sdk/application/Payment/PaymentApplicationClient.js +10 -10
  25. package/sdk/application/Payment/PaymentApplicationModel.d.ts +2155 -2150
  26. package/sdk/application/Payment/PaymentApplicationModel.js +1460 -1458
  27. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +5 -5
  28. package/sdk/application/Payment/PaymentApplicationValidator.js +3 -3
  29. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1462 -1462
  30. package/sdk/application/PosCart/PosCartApplicationModel.js +1260 -1260
  31. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +214 -214
  32. package/sdk/application/Rewards/RewardsApplicationModel.js +211 -211
  33. package/sdk/application/Share/ShareApplicationModel.d.ts +114 -114
  34. package/sdk/application/Share/ShareApplicationModel.js +121 -121
  35. package/sdk/application/Theme/ThemeApplicationModel.d.ts +895 -895
  36. package/sdk/application/Theme/ThemeApplicationModel.js +684 -684
  37. package/sdk/application/User/UserApplicationModel.d.ts +762 -762
  38. package/sdk/application/User/UserApplicationModel.js +738 -738
  39. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +63 -63
  40. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +65 -65
  41. package/sdk/partner/Lead/LeadPartnerModel.d.ts +661 -661
  42. package/sdk/partner/Lead/LeadPartnerModel.js +491 -491
  43. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +223 -223
  44. package/sdk/partner/Logistics/LogisticsPartnerModel.js +235 -235
  45. package/sdk/partner/Theme/ThemePartnerModel.d.ts +1087 -1087
  46. package/sdk/partner/Theme/ThemePartnerModel.js +819 -819
  47. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +386 -386
  48. package/sdk/partner/Webhook/WebhookPartnerModel.js +342 -342
  49. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +123 -123
  50. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +109 -109
  51. package/sdk/platform/Billing/BillingPlatformModel.d.ts +801 -801
  52. package/sdk/platform/Billing/BillingPlatformModel.js +783 -783
  53. package/sdk/platform/Cart/CartPlatformModel.d.ts +3333 -3317
  54. package/sdk/platform/Cart/CartPlatformModel.js +2936 -2920
  55. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1013 -1013
  56. package/sdk/platform/Catalog/CatalogPlatformModel.js +923 -923
  57. package/sdk/platform/Common/CommonPlatformModel.d.ts +255 -255
  58. package/sdk/platform/Common/CommonPlatformModel.js +187 -187
  59. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1238 -1238
  60. package/sdk/platform/Communication/CommunicationPlatformModel.js +1273 -1273
  61. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +661 -661
  62. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +692 -692
  63. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +3198 -3198
  64. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2247 -2247
  65. package/sdk/platform/Content/ContentPlatformModel.d.ts +1833 -1833
  66. package/sdk/platform/Content/ContentPlatformModel.js +1837 -1837
  67. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +245 -245
  68. package/sdk/platform/Discount/DiscountPlatformModel.js +248 -248
  69. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +865 -865
  70. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +877 -877
  71. package/sdk/platform/Finance/FinancePlatformModel.d.ts +1044 -1044
  72. package/sdk/platform/Finance/FinancePlatformModel.js +974 -974
  73. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +942 -942
  74. package/sdk/platform/Inventory/InventoryPlatformModel.js +1003 -1003
  75. package/sdk/platform/Lead/LeadPlatformModel.d.ts +608 -608
  76. package/sdk/platform/Lead/LeadPlatformModel.js +465 -465
  77. package/sdk/platform/Order/OrderPlatformModel.d.ts +5180 -5176
  78. package/sdk/platform/Order/OrderPlatformModel.js +4740 -4736
  79. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +22 -22
  80. package/sdk/platform/Partner/PartnerPlatformModel.js +22 -22
  81. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2670 -2660
  82. package/sdk/platform/Payment/PaymentPlatformModel.js +1831 -1827
  83. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +204 -204
  84. package/sdk/platform/Rewards/RewardsPlatformModel.js +199 -199
  85. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1505 -1507
  86. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1532 -1536
  87. package/sdk/platform/Share/SharePlatformModel.d.ts +147 -147
  88. package/sdk/platform/Share/SharePlatformModel.js +139 -139
  89. package/sdk/platform/Theme/ThemePlatformModel.d.ts +1046 -1046
  90. package/sdk/platform/Theme/ThemePlatformModel.js +789 -789
  91. package/sdk/platform/User/UserPlatformModel.d.ts +758 -758
  92. package/sdk/platform/User/UserPlatformModel.js +643 -643
  93. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +439 -439
  94. package/sdk/platform/Webhook/WebhookPlatformModel.js +364 -364
  95. package/sdk/public/Billing/BillingPublicModel.d.ts +55 -55
  96. package/sdk/public/Billing/BillingPublicModel.js +51 -51
  97. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +237 -237
  98. package/sdk/public/Configuration/ConfigurationPublicModel.js +174 -174
  99. package/sdk/public/Content/ContentPublicModel.d.ts +26 -26
  100. package/sdk/public/Content/ContentPublicModel.js +28 -28
  101. package/sdk/public/Inventory/InventoryPublicModel.d.ts +237 -237
  102. package/sdk/public/Inventory/InventoryPublicModel.js +257 -257
  103. package/sdk/public/Partner/PartnerPublicModel.d.ts +104 -104
  104. package/sdk/public/Partner/PartnerPublicModel.js +113 -113
  105. package/sdk/public/Webhook/WebhookPublicModel.d.ts +87 -87
  106. package/sdk/public/Webhook/WebhookPublicModel.js +93 -93
@@ -1,57 +1,85 @@
1
1
  export = LogisticsPartnerModel;
2
2
  /**
3
- * @typedef ArithmeticOperations
4
- * @property {number} [gt]
5
- * @property {number} [gte]
6
- * @property {number} [lt]
7
- * @property {number} [lte]
3
+ * @typedef BulkRegionServiceabilityTatRequest
4
+ * @property {string} country
5
+ * @property {string} region
6
+ * @property {string} type
8
7
  */
9
8
  /**
10
- * @typedef BulkRegionJobSerializer
11
- * @property {string} action
12
- * @property {string} country
9
+ * @typedef BulkRegionServiceabilityTatResponseItemData
10
+ * @property {string} [country]
11
+ * @property {string} [region]
12
+ * @property {string} [type]
13
+ * @property {string} [batch_id]
14
+ * @property {string} [status]
15
+ * @property {Object[]} [failed_records]
13
16
  * @property {string} [file_path]
14
- * @property {string} region
15
17
  */
16
18
  /**
17
- * @typedef BulkRegionResponse
18
- * @property {BulkRegionResponseItemData[]} items
19
- * @property {Page} page
19
+ * @typedef ErrorResponse
20
+ * @property {string} value
21
+ * @property {string} message
22
+ * @property {string} type
23
+ */
24
+ /**
25
+ * @typedef FailureResponse
26
+ * @property {boolean} success
27
+ * @property {ErrorResponse[]} error
28
+ */
29
+ /**
30
+ * @typedef BulkRegionServiceabilityTatResponse
31
+ * @property {BulkRegionServiceabilityTatResponseItemData[]} [items]
32
+ * @property {Page} [page]
33
+ */
34
+ /**
35
+ * @typedef Page
36
+ * @property {number} [item_total]
37
+ * @property {string} [next_id]
38
+ * @property {boolean} [has_previous]
39
+ * @property {boolean} [has_next]
40
+ * @property {number} [current]
41
+ * @property {string} type
42
+ * @property {number} [size]
43
+ */
44
+ /**
45
+ * @typedef BulkRegionJobSerializer
46
+ * @property {string} [file_path]
47
+ * @property {string} country
48
+ * @property {string} action
49
+ * @property {string} region
20
50
  */
21
51
  /**
22
52
  * @typedef BulkRegionResponseItemData
53
+ * @property {string} file_path
54
+ * @property {number} [failed]
55
+ * @property {Object[]} [failed_records]
23
56
  * @property {string} action
24
57
  * @property {string} batch_id
25
58
  * @property {string} country
26
- * @property {string} [error_file_path]
27
- * @property {number} [failed]
28
- * @property {Object[]} [failed_records]
29
- * @property {string} file_path
59
+ * @property {number} [success]
30
60
  * @property {string} region
31
61
  * @property {string} status
32
- * @property {number} [success]
33
62
  * @property {number} [total]
63
+ * @property {string} [error_file_path]
34
64
  */
35
65
  /**
36
- * @typedef BulkRegionServiceabilityTatRequest
37
- * @property {string} country
38
- * @property {string} region
39
- * @property {string} type
66
+ * @typedef BulkRegionResponse
67
+ * @property {BulkRegionResponseItemData[]} items
68
+ * @property {Page} page
40
69
  */
41
70
  /**
42
- * @typedef BulkRegionServiceabilityTatResponse
43
- * @property {BulkRegionServiceabilityTatResponseItemData[]} [items]
44
- * @property {Page} [page]
71
+ * @typedef CourierAccount
72
+ * @property {string} extension_id
73
+ * @property {string} account_id
74
+ * @property {string} scheme_id
75
+ * @property {boolean} is_self_ship
76
+ * @property {string} stage
77
+ * @property {boolean} is_own_account
45
78
  */
46
79
  /**
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]
80
+ * @typedef CourierPartnerAccountFailureResponse
81
+ * @property {boolean} success
82
+ * @property {ErrorResponse[]} error
55
83
  */
56
84
  /**
57
85
  * @typedef CompanyCourierPartnerAccountListResponse
@@ -59,83 +87,65 @@ export = LogisticsPartnerModel;
59
87
  * @property {Page} page
60
88
  */
61
89
  /**
62
- * @typedef CourierAccount
90
+ * @typedef CourierAccountResponse
63
91
  * @property {string} account_id
64
- * @property {string} extension_id
65
- * @property {boolean} is_own_account
66
- * @property {boolean} is_self_ship
67
92
  * @property {string} scheme_id
93
+ * @property {boolean} is_self_ship
68
94
  * @property {string} stage
69
- */
70
- /**
71
- * @typedef CourierAccountResponse
72
- * @property {string} account_id
73
95
  * @property {boolean} is_own_account
74
- * @property {boolean} is_self_ship
75
- * @property {string} scheme_id
76
96
  * @property {CourierPartnerSchemeModel} scheme_rules
77
- * @property {string} stage
78
97
  */
79
98
  /**
80
- * @typedef CourierPartnerAccountFailureResponse
81
- * @property {ErrorResponse[]} error
82
- * @property {boolean} success
99
+ * @typedef CourierPartnerSchemeModel
100
+ * @property {string} extension_id
101
+ * @property {string} scheme_id
102
+ * @property {string} name
103
+ * @property {ArithmeticOperations} weight
104
+ * @property {string} transport_type
105
+ * @property {string} region
106
+ * @property {string} delivery_type
107
+ * @property {string[]} payment_mode
108
+ * @property {string} stage
109
+ * @property {CourierPartnerSchemeFeatures} feature
83
110
  */
84
111
  /**
85
112
  * @typedef CourierPartnerSchemeFeatures
86
- * @property {boolean} [cold_storage_goods]
87
- * @property {boolean} [dangerous_goods]
88
- * @property {boolean} [doorstep_exchange]
89
113
  * @property {boolean} [doorstep_qc]
90
- * @property {boolean} [doorstep_return]
91
- * @property {boolean} [ewaybill]
92
- * @property {boolean} [fragile_goods]
114
+ * @property {boolean} [qr]
93
115
  * @property {boolean} [mps]
94
- * @property {boolean} [multi_pick_multi_drop]
95
- * @property {boolean} [multi_pick_single_drop]
96
116
  * @property {boolean} [ndr]
97
117
  * @property {number} [ndr_attempts]
98
- * @property {boolean} [openbox_delivery]
99
- * @property {boolean} [product_installation]
100
- * @property {boolean} [qr]
118
+ * @property {boolean} [dangerous_goods]
119
+ * @property {boolean} [fragile_goods]
101
120
  * @property {boolean} [restricted_goods]
102
- * @property {boolean} [single_pick_multi_drop]
121
+ * @property {boolean} [cold_storage_goods]
122
+ * @property {boolean} [doorstep_exchange]
123
+ * @property {boolean} [doorstep_return]
124
+ * @property {boolean} [product_installation]
125
+ * @property {boolean} [openbox_delivery]
103
126
  * @property {string} [status_updates]
127
+ * @property {boolean} [multi_pick_single_drop]
128
+ * @property {boolean} [single_pick_multi_drop]
129
+ * @property {boolean} [multi_pick_multi_drop]
130
+ * @property {boolean} [ewaybill]
104
131
  */
105
132
  /**
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
133
+ * @typedef ArithmeticOperations
134
+ * @property {number} [lt]
135
+ * @property {number} [gt]
136
+ * @property {number} [lte]
137
+ * @property {number} [gte]
117
138
  */
118
139
  /**
119
140
  * @typedef CourierPartnerSchemeUpdateRequest
120
- * @property {string} delivery_type
121
- * @property {CourierPartnerSchemeFeatures} feature
122
141
  * @property {string} name
123
- * @property {string[]} payment_mode
142
+ * @property {ArithmeticOperations} weight
143
+ * @property {string} transport_type
124
144
  * @property {string} region
145
+ * @property {string} delivery_type
146
+ * @property {string[]} payment_mode
125
147
  * @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
148
+ * @property {CourierPartnerSchemeFeatures} feature
139
149
  */
140
150
  /**
141
151
  * @typedef GetCountries
@@ -144,192 +154,193 @@ export = LogisticsPartnerModel;
144
154
  */
145
155
  /**
146
156
  * @typedef GetCountriesItems
147
- * @property {string} [currency]
148
- * @property {string} [display_name]
149
- * @property {HierarchyItems[]} [hierarchy]
150
157
  * @property {string} [id]
158
+ * @property {string} [name]
151
159
  * @property {string} [iso2]
152
160
  * @property {string} [iso3]
153
- * @property {string} [latitude]
154
- * @property {string} [longitude]
155
- * @property {string} [name]
156
- * @property {string} [phone_code]
157
161
  * @property {string[]} [timezones]
162
+ * @property {HierarchyItems[]} [hierarchy]
163
+ * @property {string} [phone_code]
164
+ * @property {string} [currency]
158
165
  * @property {string} [type]
166
+ * @property {string} [latitude]
167
+ * @property {string} [longitude]
168
+ * @property {string} [display_name]
159
169
  */
160
170
  /**
161
171
  * @typedef HierarchyItems
162
172
  * @property {string} [display_name]
163
173
  * @property {string} [slug]
164
174
  */
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
175
  declare class LogisticsPartnerModel {
176
176
  }
177
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 };
178
+ export { BulkRegionServiceabilityTatRequest, BulkRegionServiceabilityTatResponseItemData, ErrorResponse, FailureResponse, BulkRegionServiceabilityTatResponse, Page, BulkRegionJobSerializer, BulkRegionResponseItemData, BulkRegionResponse, CourierAccount, CourierPartnerAccountFailureResponse, CompanyCourierPartnerAccountListResponse, CourierAccountResponse, CourierPartnerSchemeModel, CourierPartnerSchemeFeatures, ArithmeticOperations, CourierPartnerSchemeUpdateRequest, GetCountries, GetCountriesItems, HierarchyItems };
179
179
  }
180
- /** @returns {ArithmeticOperations} */
181
- declare function ArithmeticOperations(): ArithmeticOperations;
182
- type ArithmeticOperations = {
183
- gt?: number;
184
- gte?: number;
185
- lt?: number;
186
- lte?: number;
180
+ /** @returns {BulkRegionServiceabilityTatRequest} */
181
+ declare function BulkRegionServiceabilityTatRequest(): BulkRegionServiceabilityTatRequest;
182
+ type BulkRegionServiceabilityTatRequest = {
183
+ country: string;
184
+ region: string;
185
+ type: string;
186
+ };
187
+ /** @returns {BulkRegionServiceabilityTatResponseItemData} */
188
+ declare function BulkRegionServiceabilityTatResponseItemData(): BulkRegionServiceabilityTatResponseItemData;
189
+ type BulkRegionServiceabilityTatResponseItemData = {
190
+ country?: string;
191
+ region?: string;
192
+ type?: string;
193
+ batch_id?: string;
194
+ status?: string;
195
+ failed_records?: any[];
196
+ file_path?: string;
197
+ };
198
+ /** @returns {ErrorResponse} */
199
+ declare function ErrorResponse(): ErrorResponse;
200
+ type ErrorResponse = {
201
+ value: string;
202
+ message: string;
203
+ type: string;
204
+ };
205
+ /** @returns {FailureResponse} */
206
+ declare function FailureResponse(): FailureResponse;
207
+ type FailureResponse = {
208
+ success: boolean;
209
+ error: ErrorResponse[];
210
+ };
211
+ /** @returns {BulkRegionServiceabilityTatResponse} */
212
+ declare function BulkRegionServiceabilityTatResponse(): BulkRegionServiceabilityTatResponse;
213
+ type BulkRegionServiceabilityTatResponse = {
214
+ items?: BulkRegionServiceabilityTatResponseItemData[];
215
+ page?: Page;
216
+ };
217
+ /** @returns {Page} */
218
+ declare function Page(): Page;
219
+ type Page = {
220
+ item_total?: number;
221
+ next_id?: string;
222
+ has_previous?: boolean;
223
+ has_next?: boolean;
224
+ current?: number;
225
+ type: string;
226
+ size?: number;
187
227
  };
188
228
  /** @returns {BulkRegionJobSerializer} */
189
229
  declare function BulkRegionJobSerializer(): BulkRegionJobSerializer;
190
230
  type BulkRegionJobSerializer = {
191
- action: string;
192
- country: string;
193
231
  file_path?: string;
232
+ country: string;
233
+ action: string;
194
234
  region: string;
195
235
  };
196
- /** @returns {BulkRegionResponse} */
197
- declare function BulkRegionResponse(): BulkRegionResponse;
198
- type BulkRegionResponse = {
199
- items: BulkRegionResponseItemData[];
200
- page: Page;
201
- };
202
236
  /** @returns {BulkRegionResponseItemData} */
203
237
  declare function BulkRegionResponseItemData(): BulkRegionResponseItemData;
204
238
  type BulkRegionResponseItemData = {
239
+ file_path: string;
240
+ failed?: number;
241
+ failed_records?: any[];
205
242
  action: string;
206
243
  batch_id: string;
207
244
  country: string;
208
- error_file_path?: string;
209
- failed?: number;
210
- failed_records?: any[];
211
- file_path: string;
245
+ success?: number;
212
246
  region: string;
213
247
  status: string;
214
- success?: number;
215
248
  total?: number;
249
+ error_file_path?: string;
216
250
  };
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[];
251
+ /** @returns {BulkRegionResponse} */
252
+ declare function BulkRegionResponse(): BulkRegionResponse;
253
+ type BulkRegionResponse = {
254
+ items: BulkRegionResponseItemData[];
245
255
  page: Page;
246
256
  };
247
257
  /** @returns {CourierAccount} */
248
258
  declare function CourierAccount(): CourierAccount;
249
259
  type CourierAccount = {
250
- account_id: string;
251
260
  extension_id: string;
252
- is_own_account: boolean;
253
- is_self_ship: boolean;
261
+ account_id: string;
254
262
  scheme_id: string;
263
+ is_self_ship: boolean;
255
264
  stage: string;
265
+ is_own_account: boolean;
266
+ };
267
+ /** @returns {CourierPartnerAccountFailureResponse} */
268
+ declare function CourierPartnerAccountFailureResponse(): CourierPartnerAccountFailureResponse;
269
+ type CourierPartnerAccountFailureResponse = {
270
+ success: boolean;
271
+ error: ErrorResponse[];
272
+ };
273
+ /** @returns {CompanyCourierPartnerAccountListResponse} */
274
+ declare function CompanyCourierPartnerAccountListResponse(): CompanyCourierPartnerAccountListResponse;
275
+ type CompanyCourierPartnerAccountListResponse = {
276
+ items: CourierAccountResponse[];
277
+ page: Page;
256
278
  };
257
279
  /** @returns {CourierAccountResponse} */
258
280
  declare function CourierAccountResponse(): CourierAccountResponse;
259
281
  type CourierAccountResponse = {
260
282
  account_id: string;
261
- is_own_account: boolean;
262
- is_self_ship: boolean;
263
283
  scheme_id: string;
264
- scheme_rules: CourierPartnerSchemeModel;
284
+ is_self_ship: boolean;
265
285
  stage: string;
286
+ is_own_account: boolean;
287
+ scheme_rules: CourierPartnerSchemeModel;
266
288
  };
267
- /** @returns {CourierPartnerAccountFailureResponse} */
268
- declare function CourierPartnerAccountFailureResponse(): CourierPartnerAccountFailureResponse;
269
- type CourierPartnerAccountFailureResponse = {
270
- error: ErrorResponse[];
271
- success: boolean;
289
+ /** @returns {CourierPartnerSchemeModel} */
290
+ declare function CourierPartnerSchemeModel(): CourierPartnerSchemeModel;
291
+ type CourierPartnerSchemeModel = {
292
+ extension_id: string;
293
+ scheme_id: string;
294
+ name: string;
295
+ weight: ArithmeticOperations;
296
+ transport_type: string;
297
+ region: string;
298
+ delivery_type: string;
299
+ payment_mode: string[];
300
+ stage: string;
301
+ feature: CourierPartnerSchemeFeatures;
272
302
  };
273
303
  /** @returns {CourierPartnerSchemeFeatures} */
274
304
  declare function CourierPartnerSchemeFeatures(): CourierPartnerSchemeFeatures;
275
305
  type CourierPartnerSchemeFeatures = {
276
- cold_storage_goods?: boolean;
277
- dangerous_goods?: boolean;
278
- doorstep_exchange?: boolean;
279
306
  doorstep_qc?: boolean;
280
- doorstep_return?: boolean;
281
- ewaybill?: boolean;
282
- fragile_goods?: boolean;
307
+ qr?: boolean;
283
308
  mps?: boolean;
284
- multi_pick_multi_drop?: boolean;
285
- multi_pick_single_drop?: boolean;
286
309
  ndr?: boolean;
287
310
  ndr_attempts?: number;
288
- openbox_delivery?: boolean;
289
- product_installation?: boolean;
290
- qr?: boolean;
311
+ dangerous_goods?: boolean;
312
+ fragile_goods?: boolean;
291
313
  restricted_goods?: boolean;
292
- single_pick_multi_drop?: boolean;
314
+ cold_storage_goods?: boolean;
315
+ doorstep_exchange?: boolean;
316
+ doorstep_return?: boolean;
317
+ product_installation?: boolean;
318
+ openbox_delivery?: boolean;
293
319
  status_updates?: string;
320
+ multi_pick_single_drop?: boolean;
321
+ single_pick_multi_drop?: boolean;
322
+ multi_pick_multi_drop?: boolean;
323
+ ewaybill?: boolean;
294
324
  };
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;
325
+ /** @returns {ArithmeticOperations} */
326
+ declare function ArithmeticOperations(): ArithmeticOperations;
327
+ type ArithmeticOperations = {
328
+ lt?: number;
329
+ gt?: number;
330
+ lte?: number;
331
+ gte?: number;
308
332
  };
309
333
  /** @returns {CourierPartnerSchemeUpdateRequest} */
310
334
  declare function CourierPartnerSchemeUpdateRequest(): CourierPartnerSchemeUpdateRequest;
311
335
  type CourierPartnerSchemeUpdateRequest = {
312
- delivery_type: string;
313
- feature: CourierPartnerSchemeFeatures;
314
336
  name: string;
315
- payment_mode: string[];
337
+ weight: ArithmeticOperations;
338
+ transport_type: string;
316
339
  region: string;
340
+ delivery_type: string;
341
+ payment_mode: string[];
317
342
  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;
343
+ feature: CourierPartnerSchemeFeatures;
333
344
  };
334
345
  /** @returns {GetCountries} */
335
346
  declare function GetCountries(): GetCountries;
@@ -340,18 +351,18 @@ type GetCountries = {
340
351
  /** @returns {GetCountriesItems} */
341
352
  declare function GetCountriesItems(): GetCountriesItems;
342
353
  type GetCountriesItems = {
343
- currency?: string;
344
- display_name?: string;
345
- hierarchy?: HierarchyItems[];
346
354
  id?: string;
355
+ name?: string;
347
356
  iso2?: string;
348
357
  iso3?: string;
349
- latitude?: string;
350
- longitude?: string;
351
- name?: string;
352
- phone_code?: string;
353
358
  timezones?: string[];
359
+ hierarchy?: HierarchyItems[];
360
+ phone_code?: string;
361
+ currency?: string;
354
362
  type?: string;
363
+ latitude?: string;
364
+ longitude?: string;
365
+ display_name?: string;
355
366
  };
356
367
  /** @returns {HierarchyItems} */
357
368
  declare function HierarchyItems(): HierarchyItems;
@@ -359,14 +370,3 @@ type HierarchyItems = {
359
370
  display_name?: string;
360
371
  slug?: string;
361
372
  };
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
- };