@gofynd/fdk-client-javascript 1.6.3 → 2.0.0

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 (146) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/Cart/CartApplicationClient.d.ts +5 -5
  4. package/sdk/application/Cart/CartApplicationClient.js +26 -268
  5. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +20 -20
  6. package/sdk/application/Catalog/CatalogApplicationClient.js +98 -347
  7. package/sdk/application/Common/CommonApplicationClient.js +1 -16
  8. package/sdk/application/Communication/CommunicationApplicationClient.js +1 -24
  9. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +24 -2
  10. package/sdk/application/Configuration/ConfigurationApplicationClient.js +58 -137
  11. package/sdk/application/Content/ContentApplicationClient.d.ts +47 -7
  12. package/sdk/application/Content/ContentApplicationClient.js +222 -191
  13. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +2 -2
  14. package/sdk/application/FileStorage/FileStorageApplicationClient.js +11 -30
  15. package/sdk/application/Finance/FinanceApplicationClient.js +1 -16
  16. package/sdk/application/Lead/LeadApplicationClient.d.ts +4 -4
  17. package/sdk/application/Lead/LeadApplicationClient.js +21 -52
  18. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +16 -56
  19. package/sdk/application/Logistic/LogisticApplicationClient.js +57 -332
  20. package/sdk/application/Order/OrderApplicationClient.d.ts +11 -11
  21. package/sdk/application/Order/OrderApplicationClient.js +68 -153
  22. package/sdk/application/Payment/PaymentApplicationClient.d.ts +2 -12
  23. package/sdk/application/Payment/PaymentApplicationClient.js +7 -487
  24. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +1 -1
  25. package/sdk/application/Rewards/RewardsApplicationClient.js +6 -59
  26. package/sdk/application/Share/ShareApplicationClient.d.ts +4 -4
  27. package/sdk/application/Share/ShareApplicationClient.js +21 -75
  28. package/sdk/application/Theme/ThemeApplicationClient.d.ts +3 -3
  29. package/sdk/application/Theme/ThemeApplicationClient.js +19 -47
  30. package/sdk/application/User/UserApplicationClient.js +1 -407
  31. package/sdk/application/Webhook/WebhookApplicationClient.js +1 -8
  32. package/sdk/common/Utility.d.ts +1 -1
  33. package/sdk/common/Utility.js +4 -4
  34. package/sdk/common/Validator.d.ts +1 -0
  35. package/sdk/common/Validator.js +20 -0
  36. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +1 -55
  37. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +1 -408
  38. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +0 -5
  39. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +0 -37
  40. package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -0
  41. package/sdk/partner/Lead/LeadPartnerModel.js +2 -0
  42. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +29 -25
  43. package/sdk/partner/Logistics/LogisticsPartnerClient.js +65 -42
  44. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1008 -794
  45. package/sdk/partner/Logistics/LogisticsPartnerModel.js +573 -460
  46. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +10 -5
  47. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +64 -1
  48. package/sdk/partner/Webhook/WebhookPartnerModel.js +36 -0
  49. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +5 -0
  50. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +2 -0
  51. package/sdk/platform/Cart/CartPlatformModel.d.ts +67 -9
  52. package/sdk/platform/Cart/CartPlatformModel.js +38 -5
  53. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1 -1
  54. package/sdk/platform/Catalog/CatalogPlatformClient.js +4 -4
  55. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +47 -13
  56. package/sdk/platform/Catalog/CatalogPlatformModel.js +29 -7
  57. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +2 -2
  58. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +7 -4
  59. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +71 -7
  60. package/sdk/platform/Communication/CommunicationPlatformModel.js +70 -6
  61. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +0 -27
  62. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +8 -60
  63. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +31 -20
  64. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +18 -18
  65. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +1 -1
  66. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +3 -3
  67. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +13 -0
  68. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +30 -1
  69. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +68 -11
  70. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +49 -7
  71. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +169 -0
  72. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1279 -132
  73. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +156 -1
  74. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +180 -0
  75. package/sdk/platform/Content/ContentPlatformClient.d.ts +162 -0
  76. package/sdk/platform/Content/ContentPlatformClient.js +1697 -497
  77. package/sdk/platform/Content/ContentPlatformModel.d.ts +1053 -35
  78. package/sdk/platform/Content/ContentPlatformModel.js +717 -34
  79. package/sdk/platform/Content/ContentPlatformValidator.d.ts +127 -1
  80. package/sdk/platform/Content/ContentPlatformValidator.js +171 -0
  81. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +34 -0
  82. package/sdk/platform/Discount/DiscountPlatformClient.js +59 -0
  83. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +365 -93
  84. package/sdk/platform/Discount/DiscountPlatformModel.js +98 -93
  85. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +54 -34
  86. package/sdk/platform/Discount/DiscountPlatformValidator.js +27 -17
  87. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +0 -156
  88. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +0 -1072
  89. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -137
  90. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +0 -173
  91. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +1 -1105
  92. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +0 -1125
  93. package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -0
  94. package/sdk/platform/Lead/LeadPlatformModel.js +2 -0
  95. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +0 -10
  96. package/sdk/platform/Order/OrderPlatformApplicationClient.js +0 -92
  97. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -28
  98. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +0 -18
  99. package/sdk/platform/Order/OrderPlatformClient.d.ts +212 -0
  100. package/sdk/platform/Order/OrderPlatformClient.js +397 -0
  101. package/sdk/platform/Order/OrderPlatformModel.d.ts +66 -10
  102. package/sdk/platform/Order/OrderPlatformModel.js +39 -7
  103. package/sdk/platform/Order/OrderPlatformValidator.d.ts +33 -1
  104. package/sdk/platform/Order/OrderPlatformValidator.js +20 -0
  105. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +58 -10
  106. package/sdk/platform/Partner/PartnerPlatformModel.js +19 -10
  107. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +12 -2
  108. package/sdk/platform/Payment/PaymentPlatformModel.js +8 -2
  109. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +5 -0
  110. package/sdk/platform/Rewards/RewardsPlatformModel.js +2 -0
  111. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +240 -24
  112. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +1753 -277
  113. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +320 -22
  114. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +269 -19
  115. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +53 -104
  116. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +201 -629
  117. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +5720 -2891
  118. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3414 -2181
  119. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +138 -216
  120. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +81 -148
  121. package/sdk/platform/Share/SharePlatformModel.d.ts +5 -0
  122. package/sdk/platform/Share/SharePlatformModel.js +2 -0
  123. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +73 -0
  124. package/sdk/platform/User/UserPlatformApplicationClient.js +543 -0
  125. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +129 -1
  126. package/sdk/platform/User/UserPlatformApplicationValidator.js +97 -0
  127. package/sdk/platform/User/UserPlatformModel.d.ts +269 -6
  128. package/sdk/platform/User/UserPlatformModel.js +187 -5
  129. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +64 -1
  130. package/sdk/platform/Webhook/WebhookPlatformModel.js +36 -0
  131. package/sdk/public/Catalog/CatalogPublicClient.d.ts +1 -1
  132. package/sdk/public/Catalog/CatalogPublicClient.js +6 -11
  133. package/sdk/public/Configuration/ConfigurationPublicClient.js +1 -16
  134. package/sdk/public/Content/ContentPublicClient.d.ts +36 -3
  135. package/sdk/public/Content/ContentPublicClient.js +261 -104
  136. package/sdk/public/Content/ContentPublicModel.d.ts +155 -1
  137. package/sdk/public/Content/ContentPublicModel.js +102 -0
  138. package/sdk/public/Content/ContentPublicValidator.d.ts +18 -1
  139. package/sdk/public/Content/ContentPublicValidator.js +26 -0
  140. package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
  141. package/sdk/public/Partner/PartnerPublicClient.js +6 -11
  142. package/sdk/public/Partner/PartnerPublicModel.d.ts +248 -72
  143. package/sdk/public/Partner/PartnerPublicModel.js +81 -71
  144. package/sdk/public/Partner/PartnerPublicValidator.d.ts +2 -2
  145. package/sdk/public/Partner/PartnerPublicValidator.js +1 -1
  146. package/sdk/public/Webhook/WebhookPublicClient.js +1 -40
@@ -1,22 +1,54 @@
1
1
  export = ServiceabilityPlatformApplicationValidator;
2
+ /**
3
+ * @typedef CreateBulkExportParam
4
+ * @property {ServiceabilityPlatformModel.BulkCreateZoneExport} body
5
+ */
6
+ /**
7
+ * @typedef CreateBulkGeoAreaParam
8
+ * @property {ServiceabilityPlatformModel.BulkGeoAreaDetails} body
9
+ */
2
10
  /**
3
11
  * @typedef CreateCourierPartnerRuleParam
4
12
  * @property {ServiceabilityPlatformModel.CourierPartnerRule} body
5
13
  */
14
+ /**
15
+ * @typedef CreateGeoAreaParam
16
+ * @property {ServiceabilityPlatformModel.GeoAreaRequestBody} body
17
+ */
18
+ /**
19
+ * @typedef CreateGeoAreaExportJobParam
20
+ * @property {string} geoareaId - The unique identifier of the Geoarea.
21
+ */
6
22
  /**
7
23
  * @typedef CreateStoreRulesParam
8
24
  * @property {ServiceabilityPlatformModel.CreateStoreRuleDetailsSchema} body
9
25
  */
26
+ /**
27
+ * @typedef CreateZoneParam
28
+ * @property {ServiceabilityPlatformModel.CreateZoneDataSchema} body
29
+ */
30
+ /**
31
+ * @typedef DeleteZoneParam
32
+ * @property {string} zoneId - Unique identifier for a particular zone
33
+ */
34
+ /** @typedef DownloadGeoareaSampleFileParam */
10
35
  /** @typedef GetApplicationConfigParam */
11
36
  /** @typedef GetApplicationConfigurationParam */
12
- /** @typedef GetApplicationServiceabilitySelfShipmentParam */
37
+ /**
38
+ * @typedef GetBulkExportParam
39
+ * @property {string} batchId - A `batch_id` is a unique identifier for a particular zone.
40
+ */
41
+ /**
42
+ * @typedef GetBulkGeoAreaParam
43
+ * @property {string} geoareaId - A unique identifier for the GeoArea.
44
+ */
13
45
  /**
14
46
  * @typedef GetCourierPartnerRuleParam
15
- * @property {string} ruleId - Unique identifier of the courier partner rule
47
+ * @property {string} ruleUid - Unique identifier of the courier partner rule
16
48
  */
17
49
  /**
18
50
  * @typedef GetCourierPartnerRulesParam
19
- * @property {number} [pageNo] - Index of the item to start returning with
51
+ * @property {number} [pageNo] - The current page number for paginated results.
20
52
  * @property {number} [pageSize] - Determines the items to be displayed in a page
21
53
  * @property {string} [status] - Filter rules based on rule status
22
54
  */
@@ -24,6 +56,28 @@ export = ServiceabilityPlatformApplicationValidator;
24
56
  * @typedef GetCourierPartnersParam
25
57
  * @property {ServiceabilityPlatformModel.ShipmentCourierPartnerDetails} body
26
58
  */
59
+ /**
60
+ * @typedef GetGeoAreaParam
61
+ * @property {string} geoareaId - A unique identifier for the GeoArea.
62
+ */
63
+ /**
64
+ * @typedef GetGeoAreaExportJobStatusParam
65
+ * @property {string} geoareaId - The unique identifier of the Geoarea.
66
+ */
67
+ /**
68
+ * @typedef GetGeoAreasParam
69
+ * @property {number} [pageSize] - Determines the items to be displayed in a page
70
+ * @property {boolean} [isActive] - Status of GeoAreas (either active or inactive)
71
+ * @property {number} [pageNo] - Current page number
72
+ * @property {string} [type] - To fetch the type of a specific geoarea.
73
+ * @property {string} [q] - Used to search for matching results based on the
74
+ * provided input.
75
+ * @property {string} [countryIsoCode] - ISO2 code of the country
76
+ * @property {string} [state] - State name
77
+ * @property {string} [city] - City name
78
+ * @property {string} [pincode] - Pincode value to search geoareas
79
+ * @property {string} [sector] - Sector value to search geoareas
80
+ */
27
81
  /**
28
82
  * @typedef GetStoreRuleParam
29
83
  * @property {string} ruleUid - A `rule_uid` is a unique identifier for a
@@ -31,21 +85,44 @@ export = ServiceabilityPlatformApplicationValidator;
31
85
  */
32
86
  /**
33
87
  * @typedef GetStoreRulesParam
34
- * @property {number} [pageNo]
35
- * @property {number} [pageSize]
36
- * @property {string} [status]
88
+ * @property {number} [pageNo] - The current page number for paginated results.
89
+ * @property {number} [pageSize] - Determines the items to be displayed in a page
90
+ * @property {string} [status] - Filter rules based on rule status
91
+ */
92
+ /**
93
+ * @typedef GetZoneParam
94
+ * @property {string} zoneId - Unique identifier for a particular zone
95
+ */
96
+ /**
97
+ * @typedef GetZonesParam
98
+ * @property {string} [stage] - Identifies the specific stage of zone bing requested.
99
+ * @property {number} [pageSize] - Defines the number of items displayed per page.
100
+ * @property {number} [pageNo] - Current page number.
101
+ * @property {boolean} [isActive] - Status of Zone (either active or inactive)
102
+ * @property {string} [q] - Used to search for matching results based on the
103
+ * provided input.
104
+ * @property {string} [countryIsoCode] - ISO2 code of the country.
105
+ * @property {string} [pincode] - PIN Code of the country.
106
+ * @property {string} [state] - State of the country.
107
+ * @property {string} [city] - City of the country.
108
+ * @property {string} [sector] - Sector name of mentioned address.
37
109
  */
38
110
  /**
39
111
  * @typedef InsertApplicationConfigParam
40
112
  * @property {ServiceabilityPlatformModel.StoreRuleConfigData} body
41
113
  */
42
114
  /**
43
- * @typedef PatchApplicationServiceabilitySelfShipmentParam
44
- * @property {ServiceabilityPlatformModel.SelfShipResult} body
115
+ * @typedef PatchApplicationConfigurationParam
116
+ * @property {ServiceabilityPlatformModel.ApplicationConfigPatch} body
45
117
  */
46
118
  /**
47
119
  * @typedef UpdateApplicationConfigurationParam
48
- * @property {ServiceabilityPlatformModel.ApplicationConfig} body
120
+ * @property {ServiceabilityPlatformModel.ApplicationConfigPutDetail} body
121
+ */
122
+ /**
123
+ * @typedef UpdateBulkGeoAreaParam
124
+ * @property {string} geoareaId - A unique identifier for the GeoArea.
125
+ * @property {ServiceabilityPlatformModel.BulkGeoAreaDetails} body
49
126
  */
50
127
  /**
51
128
  * @typedef UpdateCourierPartnerRulePriorityParam
@@ -53,9 +130,14 @@ export = ServiceabilityPlatformApplicationValidator;
53
130
  */
54
131
  /**
55
132
  * @typedef UpdateCourierRuleParam
56
- * @property {string} ruleId - Unique identifier of the courier partner rule.
133
+ * @property {string} ruleUid - Unique identifier of the courier partner rule.
57
134
  * @property {ServiceabilityPlatformModel.CourierPartnerRule} body
58
135
  */
136
+ /**
137
+ * @typedef UpdateGeoAreaParam
138
+ * @property {string} geoareaId - A unique identifier for the GeoArea.
139
+ * @property {ServiceabilityPlatformModel.GeoAreaRequestBody} body
140
+ */
59
141
  /**
60
142
  * @typedef UpdatePincodeAuditHistoryParam
61
143
  * @property {number} [pageNumber] - Page number to be fetched.
@@ -76,6 +158,10 @@ export = ServiceabilityPlatformApplicationValidator;
76
158
  * @typedef UpdatePincodeMopViewParam
77
159
  * @property {ServiceabilityPlatformModel.PincodeMopData} body
78
160
  */
161
+ /**
162
+ * @typedef UpdateStoreRulePriorityParam
163
+ * @property {ServiceabilityPlatformModel.RulePriorityDetails} body
164
+ */
79
165
  /**
80
166
  * @typedef UpdateStoreRulesParam
81
167
  * @property {string} ruleUid - A `rule_uid` is a unique identifier for a
@@ -86,37 +172,72 @@ export = ServiceabilityPlatformApplicationValidator;
86
172
  * @typedef UpdateStoreRulesConfigParam
87
173
  * @property {ServiceabilityPlatformModel.StoreRuleConfigData} body
88
174
  */
175
+ /**
176
+ * @typedef UpdateZoneParam
177
+ * @property {string} zoneId - Unique identifier for a particular zone
178
+ * @property {ServiceabilityPlatformModel.UpdateZoneData} body
179
+ */
89
180
  declare class ServiceabilityPlatformApplicationValidator {
181
+ /** @returns {CreateBulkExportParam} */
182
+ static createBulkExport(): CreateBulkExportParam;
183
+ /** @returns {CreateBulkGeoAreaParam} */
184
+ static createBulkGeoArea(): CreateBulkGeoAreaParam;
90
185
  /** @returns {CreateCourierPartnerRuleParam} */
91
186
  static createCourierPartnerRule(): CreateCourierPartnerRuleParam;
187
+ /** @returns {CreateGeoAreaParam} */
188
+ static createGeoArea(): CreateGeoAreaParam;
189
+ /** @returns {CreateGeoAreaExportJobParam} */
190
+ static createGeoAreaExportJob(): CreateGeoAreaExportJobParam;
92
191
  /** @returns {CreateStoreRulesParam} */
93
192
  static createStoreRules(): CreateStoreRulesParam;
193
+ /** @returns {CreateZoneParam} */
194
+ static createZone(): CreateZoneParam;
195
+ /** @returns {DeleteZoneParam} */
196
+ static deleteZone(): DeleteZoneParam;
197
+ /** @returns {DownloadGeoareaSampleFileParam} */
198
+ static downloadGeoareaSampleFile(): any;
94
199
  /** @returns {GetApplicationConfigParam} */
95
200
  static getApplicationConfig(): any;
96
201
  /** @returns {GetApplicationConfigurationParam} */
97
202
  static getApplicationConfiguration(): any;
98
- /** @returns {GetApplicationServiceabilitySelfShipmentParam} */
99
- static getApplicationServiceabilitySelfShipment(): any;
203
+ /** @returns {GetBulkExportParam} */
204
+ static getBulkExport(): GetBulkExportParam;
205
+ /** @returns {GetBulkGeoAreaParam} */
206
+ static getBulkGeoArea(): GetBulkGeoAreaParam;
100
207
  /** @returns {GetCourierPartnerRuleParam} */
101
208
  static getCourierPartnerRule(): GetCourierPartnerRuleParam;
102
209
  /** @returns {GetCourierPartnerRulesParam} */
103
210
  static getCourierPartnerRules(): GetCourierPartnerRulesParam;
104
211
  /** @returns {GetCourierPartnersParam} */
105
212
  static getCourierPartners(): GetCourierPartnersParam;
213
+ /** @returns {GetGeoAreaParam} */
214
+ static getGeoArea(): GetGeoAreaParam;
215
+ /** @returns {GetGeoAreaExportJobStatusParam} */
216
+ static getGeoAreaExportJobStatus(): GetGeoAreaExportJobStatusParam;
217
+ /** @returns {GetGeoAreasParam} */
218
+ static getGeoAreas(): GetGeoAreasParam;
106
219
  /** @returns {GetStoreRuleParam} */
107
220
  static getStoreRule(): GetStoreRuleParam;
108
221
  /** @returns {GetStoreRulesParam} */
109
222
  static getStoreRules(): GetStoreRulesParam;
223
+ /** @returns {GetZoneParam} */
224
+ static getZone(): GetZoneParam;
225
+ /** @returns {GetZonesParam} */
226
+ static getZones(): GetZonesParam;
110
227
  /** @returns {InsertApplicationConfigParam} */
111
228
  static insertApplicationConfig(): InsertApplicationConfigParam;
112
- /** @returns {PatchApplicationServiceabilitySelfShipmentParam} */
113
- static patchApplicationServiceabilitySelfShipment(): PatchApplicationServiceabilitySelfShipmentParam;
229
+ /** @returns {PatchApplicationConfigurationParam} */
230
+ static patchApplicationConfiguration(): PatchApplicationConfigurationParam;
114
231
  /** @returns {UpdateApplicationConfigurationParam} */
115
232
  static updateApplicationConfiguration(): UpdateApplicationConfigurationParam;
233
+ /** @returns {UpdateBulkGeoAreaParam} */
234
+ static updateBulkGeoArea(): UpdateBulkGeoAreaParam;
116
235
  /** @returns {UpdateCourierPartnerRulePriorityParam} */
117
236
  static updateCourierPartnerRulePriority(): UpdateCourierPartnerRulePriorityParam;
118
237
  /** @returns {UpdateCourierRuleParam} */
119
238
  static updateCourierRule(): UpdateCourierRuleParam;
239
+ /** @returns {UpdateGeoAreaParam} */
240
+ static updateGeoArea(): UpdateGeoAreaParam;
120
241
  /** @returns {UpdatePincodeAuditHistoryParam} */
121
242
  static updatePincodeAuditHistory(): UpdatePincodeAuditHistoryParam;
122
243
  /** @returns {UpdatePincodeBulkViewParam} */
@@ -125,29 +246,69 @@ declare class ServiceabilityPlatformApplicationValidator {
125
246
  static updatePincodeCoDListing(): UpdatePincodeCoDListingParam;
126
247
  /** @returns {UpdatePincodeMopViewParam} */
127
248
  static updatePincodeMopView(): UpdatePincodeMopViewParam;
249
+ /** @returns {UpdateStoreRulePriorityParam} */
250
+ static updateStoreRulePriority(): UpdateStoreRulePriorityParam;
128
251
  /** @returns {UpdateStoreRulesParam} */
129
252
  static updateStoreRules(): UpdateStoreRulesParam;
130
253
  /** @returns {UpdateStoreRulesConfigParam} */
131
254
  static updateStoreRulesConfig(): UpdateStoreRulesConfigParam;
255
+ /** @returns {UpdateZoneParam} */
256
+ static updateZone(): UpdateZoneParam;
132
257
  }
133
258
  declare namespace ServiceabilityPlatformApplicationValidator {
134
- export { CreateCourierPartnerRuleParam, CreateStoreRulesParam, GetApplicationConfigParam, GetApplicationConfigurationParam, GetApplicationServiceabilitySelfShipmentParam, GetCourierPartnerRuleParam, GetCourierPartnerRulesParam, GetCourierPartnersParam, GetStoreRuleParam, GetStoreRulesParam, InsertApplicationConfigParam, PatchApplicationServiceabilitySelfShipmentParam, UpdateApplicationConfigurationParam, UpdateCourierPartnerRulePriorityParam, UpdateCourierRuleParam, UpdatePincodeAuditHistoryParam, UpdatePincodeBulkViewParam, UpdatePincodeCoDListingParam, UpdatePincodeMopViewParam, UpdateStoreRulesParam, UpdateStoreRulesConfigParam };
259
+ export { CreateBulkExportParam, CreateBulkGeoAreaParam, CreateCourierPartnerRuleParam, CreateGeoAreaParam, CreateGeoAreaExportJobParam, CreateStoreRulesParam, CreateZoneParam, DeleteZoneParam, DownloadGeoareaSampleFileParam, GetApplicationConfigParam, GetApplicationConfigurationParam, GetBulkExportParam, GetBulkGeoAreaParam, GetCourierPartnerRuleParam, GetCourierPartnerRulesParam, GetCourierPartnersParam, GetGeoAreaParam, GetGeoAreaExportJobStatusParam, GetGeoAreasParam, GetStoreRuleParam, GetStoreRulesParam, GetZoneParam, GetZonesParam, InsertApplicationConfigParam, PatchApplicationConfigurationParam, UpdateApplicationConfigurationParam, UpdateBulkGeoAreaParam, UpdateCourierPartnerRulePriorityParam, UpdateCourierRuleParam, UpdateGeoAreaParam, UpdatePincodeAuditHistoryParam, UpdatePincodeBulkViewParam, UpdatePincodeCoDListingParam, UpdatePincodeMopViewParam, UpdateStoreRulePriorityParam, UpdateStoreRulesParam, UpdateStoreRulesConfigParam, UpdateZoneParam };
135
260
  }
261
+ type CreateBulkExportParam = {
262
+ body: ServiceabilityPlatformModel.BulkCreateZoneExport;
263
+ };
264
+ type CreateBulkGeoAreaParam = {
265
+ body: ServiceabilityPlatformModel.BulkGeoAreaDetails;
266
+ };
136
267
  type CreateCourierPartnerRuleParam = {
137
268
  body: ServiceabilityPlatformModel.CourierPartnerRule;
138
269
  };
270
+ type CreateGeoAreaParam = {
271
+ body: ServiceabilityPlatformModel.GeoAreaRequestBody;
272
+ };
273
+ type CreateGeoAreaExportJobParam = {
274
+ /**
275
+ * - The unique identifier of the Geoarea.
276
+ */
277
+ geoareaId: string;
278
+ };
139
279
  type CreateStoreRulesParam = {
140
280
  body: ServiceabilityPlatformModel.CreateStoreRuleDetailsSchema;
141
281
  };
282
+ type CreateZoneParam = {
283
+ body: ServiceabilityPlatformModel.CreateZoneDataSchema;
284
+ };
285
+ type DeleteZoneParam = {
286
+ /**
287
+ * - Unique identifier for a particular zone
288
+ */
289
+ zoneId: string;
290
+ };
291
+ type GetBulkExportParam = {
292
+ /**
293
+ * - A `batch_id` is a unique identifier for a particular zone.
294
+ */
295
+ batchId: string;
296
+ };
297
+ type GetBulkGeoAreaParam = {
298
+ /**
299
+ * - A unique identifier for the GeoArea.
300
+ */
301
+ geoareaId: string;
302
+ };
142
303
  type GetCourierPartnerRuleParam = {
143
304
  /**
144
305
  * - Unique identifier of the courier partner rule
145
306
  */
146
- ruleId: string;
307
+ ruleUid: string;
147
308
  };
148
309
  type GetCourierPartnerRulesParam = {
149
310
  /**
150
- * - Index of the item to start returning with
311
+ * - The current page number for paginated results.
151
312
  */
152
313
  pageNo?: number;
153
314
  /**
@@ -162,6 +323,61 @@ type GetCourierPartnerRulesParam = {
162
323
  type GetCourierPartnersParam = {
163
324
  body: ServiceabilityPlatformModel.ShipmentCourierPartnerDetails;
164
325
  };
326
+ type GetGeoAreaParam = {
327
+ /**
328
+ * - A unique identifier for the GeoArea.
329
+ */
330
+ geoareaId: string;
331
+ };
332
+ type GetGeoAreaExportJobStatusParam = {
333
+ /**
334
+ * - The unique identifier of the Geoarea.
335
+ */
336
+ geoareaId: string;
337
+ };
338
+ type GetGeoAreasParam = {
339
+ /**
340
+ * - Determines the items to be displayed in a page
341
+ */
342
+ pageSize?: number;
343
+ /**
344
+ * - Status of GeoAreas (either active or inactive)
345
+ */
346
+ isActive?: boolean;
347
+ /**
348
+ * - Current page number
349
+ */
350
+ pageNo?: number;
351
+ /**
352
+ * - To fetch the type of a specific geoarea.
353
+ */
354
+ type?: string;
355
+ /**
356
+ * - Used to search for matching results based on the
357
+ * provided input.
358
+ */
359
+ q?: string;
360
+ /**
361
+ * - ISO2 code of the country
362
+ */
363
+ countryIsoCode?: string;
364
+ /**
365
+ * - State name
366
+ */
367
+ state?: string;
368
+ /**
369
+ * - City name
370
+ */
371
+ city?: string;
372
+ /**
373
+ * - Pincode value to search geoareas
374
+ */
375
+ pincode?: string;
376
+ /**
377
+ * - Sector value to search geoareas
378
+ */
379
+ sector?: string;
380
+ };
165
381
  type GetStoreRuleParam = {
166
382
  /**
167
383
  * - A `rule_uid` is a unique identifier for a
@@ -170,18 +386,83 @@ type GetStoreRuleParam = {
170
386
  ruleUid: string;
171
387
  };
172
388
  type GetStoreRulesParam = {
389
+ /**
390
+ * - The current page number for paginated results.
391
+ */
173
392
  pageNo?: number;
393
+ /**
394
+ * - Determines the items to be displayed in a page
395
+ */
174
396
  pageSize?: number;
397
+ /**
398
+ * - Filter rules based on rule status
399
+ */
175
400
  status?: string;
176
401
  };
402
+ type GetZoneParam = {
403
+ /**
404
+ * - Unique identifier for a particular zone
405
+ */
406
+ zoneId: string;
407
+ };
408
+ type GetZonesParam = {
409
+ /**
410
+ * - Identifies the specific stage of zone bing requested.
411
+ */
412
+ stage?: string;
413
+ /**
414
+ * - Defines the number of items displayed per page.
415
+ */
416
+ pageSize?: number;
417
+ /**
418
+ * - Current page number.
419
+ */
420
+ pageNo?: number;
421
+ /**
422
+ * - Status of Zone (either active or inactive)
423
+ */
424
+ isActive?: boolean;
425
+ /**
426
+ * - Used to search for matching results based on the
427
+ * provided input.
428
+ */
429
+ q?: string;
430
+ /**
431
+ * - ISO2 code of the country.
432
+ */
433
+ countryIsoCode?: string;
434
+ /**
435
+ * - PIN Code of the country.
436
+ */
437
+ pincode?: string;
438
+ /**
439
+ * - State of the country.
440
+ */
441
+ state?: string;
442
+ /**
443
+ * - City of the country.
444
+ */
445
+ city?: string;
446
+ /**
447
+ * - Sector name of mentioned address.
448
+ */
449
+ sector?: string;
450
+ };
177
451
  type InsertApplicationConfigParam = {
178
452
  body: ServiceabilityPlatformModel.StoreRuleConfigData;
179
453
  };
180
- type PatchApplicationServiceabilitySelfShipmentParam = {
181
- body: ServiceabilityPlatformModel.SelfShipResult;
454
+ type PatchApplicationConfigurationParam = {
455
+ body: ServiceabilityPlatformModel.ApplicationConfigPatch;
182
456
  };
183
457
  type UpdateApplicationConfigurationParam = {
184
- body: ServiceabilityPlatformModel.ApplicationConfig;
458
+ body: ServiceabilityPlatformModel.ApplicationConfigPutDetail;
459
+ };
460
+ type UpdateBulkGeoAreaParam = {
461
+ /**
462
+ * - A unique identifier for the GeoArea.
463
+ */
464
+ geoareaId: string;
465
+ body: ServiceabilityPlatformModel.BulkGeoAreaDetails;
185
466
  };
186
467
  type UpdateCourierPartnerRulePriorityParam = {
187
468
  body: ServiceabilityPlatformModel.RulePriorityDetails;
@@ -190,9 +471,16 @@ type UpdateCourierRuleParam = {
190
471
  /**
191
472
  * - Unique identifier of the courier partner rule.
192
473
  */
193
- ruleId: string;
474
+ ruleUid: string;
194
475
  body: ServiceabilityPlatformModel.CourierPartnerRule;
195
476
  };
477
+ type UpdateGeoAreaParam = {
478
+ /**
479
+ * - A unique identifier for the GeoArea.
480
+ */
481
+ geoareaId: string;
482
+ body: ServiceabilityPlatformModel.GeoAreaRequestBody;
483
+ };
196
484
  type UpdatePincodeAuditHistoryParam = {
197
485
  /**
198
486
  * - Page number to be fetched.
@@ -221,6 +509,9 @@ type UpdatePincodeCoDListingParam = {
221
509
  type UpdatePincodeMopViewParam = {
222
510
  body: ServiceabilityPlatformModel.PincodeMopData;
223
511
  };
512
+ type UpdateStoreRulePriorityParam = {
513
+ body: ServiceabilityPlatformModel.RulePriorityDetails;
514
+ };
224
515
  type UpdateStoreRulesParam = {
225
516
  /**
226
517
  * - A `rule_uid` is a unique identifier for a
@@ -232,7 +523,14 @@ type UpdateStoreRulesParam = {
232
523
  type UpdateStoreRulesConfigParam = {
233
524
  body: ServiceabilityPlatformModel.StoreRuleConfigData;
234
525
  };
526
+ type UpdateZoneParam = {
527
+ /**
528
+ * - Unique identifier for a particular zone
529
+ */
530
+ zoneId: string;
531
+ body: ServiceabilityPlatformModel.UpdateZoneData;
532
+ };
533
+ type DownloadGeoareaSampleFileParam = any;
235
534
  type GetApplicationConfigParam = any;
236
535
  type GetApplicationConfigurationParam = any;
237
- type GetApplicationServiceabilitySelfShipmentParam = any;
238
536
  import ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");