@gofynd/fdk-client-javascript 3.16.3 → 3.17.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 (70) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/ApplicationClient.d.ts +0 -2
  4. package/sdk/application/ApplicationClient.js +0 -2
  5. package/sdk/application/Content/ContentApplicationClient.d.ts +10 -0
  6. package/sdk/application/Content/ContentApplicationClient.js +53 -0
  7. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +11 -21
  8. package/sdk/application/Logistic/LogisticApplicationClient.js +34 -83
  9. package/sdk/application/Order/OrderApplicationClient.d.ts +11 -0
  10. package/sdk/application/Order/OrderApplicationClient.js +50 -0
  11. package/sdk/application/Payment/PaymentApplicationClient.d.ts +4 -4
  12. package/sdk/application/Payment/PaymentApplicationClient.js +3 -4
  13. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +84 -0
  14. package/sdk/partner/Logistics/LogisticsPartnerClient.js +712 -0
  15. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +237 -1
  16. package/sdk/partner/Logistics/LogisticsPartnerModel.js +157 -0
  17. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +8 -0
  18. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +70 -0
  19. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +3 -3
  20. package/sdk/platform/Cart/CartPlatformApplicationClient.js +3 -3
  21. package/sdk/platform/Cart/CartPlatformModel.d.ts +1 -4
  22. package/sdk/platform/Cart/CartPlatformModel.js +1 -1
  23. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +2 -2
  24. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +2 -2
  25. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +0 -11
  26. package/sdk/platform/Catalog/CatalogPlatformClient.js +0 -80
  27. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6 -131
  28. package/sdk/platform/Catalog/CatalogPlatformModel.js +4 -141
  29. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1 -10
  30. package/sdk/platform/Catalog/CatalogPlatformValidator.js +0 -12
  31. package/sdk/platform/Common/CommonPlatformModel.d.ts +18 -1
  32. package/sdk/platform/Common/CommonPlatformModel.js +14 -0
  33. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +1 -73
  34. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +4 -462
  35. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +7 -45
  36. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +4 -55
  37. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +10 -2
  38. package/sdk/platform/Communication/CommunicationPlatformModel.js +3 -2
  39. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +14 -0
  40. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +6 -0
  41. package/sdk/platform/Order/OrderPlatformClient.d.ts +26 -18
  42. package/sdk/platform/Order/OrderPlatformClient.js +175 -107
  43. package/sdk/platform/Order/OrderPlatformModel.d.ts +339 -43
  44. package/sdk/platform/Order/OrderPlatformModel.js +209 -43
  45. package/sdk/platform/Order/OrderPlatformValidator.d.ts +40 -43
  46. package/sdk/platform/Order/OrderPlatformValidator.js +35 -30
  47. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +20 -10
  48. package/sdk/platform/Payment/PaymentPlatformModel.js +14 -10
  49. package/sdk/platform/PlatformApplicationClient.d.ts +0 -2
  50. package/sdk/platform/PlatformApplicationClient.js +0 -4
  51. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +0 -13
  52. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +0 -82
  53. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +1 -10
  54. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +0 -12
  55. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +212 -28
  56. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +133 -13
  57. package/sdk/platform/User/UserPlatformModel.d.ts +2 -2
  58. package/sdk/platform/User/UserPlatformModel.js +4 -4
  59. package/sdk/platform/index.d.ts +0 -1
  60. package/sdk/platform/index.js +0 -2
  61. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +27 -1
  62. package/sdk/public/Configuration/ConfigurationPublicModel.js +19 -0
  63. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +0 -79
  64. package/sdk/application/Rewards/RewardsApplicationClient.js +0 -315
  65. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +0 -136
  66. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +0 -976
  67. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +0 -152
  68. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +0 -157
  69. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +0 -387
  70. package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -410
@@ -61,18 +61,9 @@ const OrderPlatformModel = require("./OrderPlatformModel");
61
61
  */
62
62
 
63
63
  /**
64
- * @typedef CreateOrderDeprecatedParam
65
- * @property {string} xOrderingSource - To uniquely identify the source through
66
- * which order has been placed.
67
- * @property {string} [xApplicationId] - The Application ID is a unique
68
- * identifier assigned to a storefront that typically follows a 24-character
69
- * hexadecimal string. Either `x-application-id` or `x-extension-id` header is
70
- * mandatory. At least one of them must be provided.
71
- * @property {string} [xExtensionId] - The Extension ID is a unique identifier
72
- * assigned to an extension that typically follows a 24-character hexadecimal
73
- * string. Either `x-application-id` or `x-extension-id` header is mandatory.
74
- * At least one of them must be provided.
75
- * @property {OrderPlatformModel.CreateOrderAPI} body
64
+ * @typedef CreateShipmentPackagesParam
65
+ * @property {string} shipmentId - Unique identifier of the shipment.
66
+ * @property {OrderPlatformModel.PackagesSchema} body
76
67
  */
77
68
 
78
69
  /**
@@ -370,6 +361,12 @@ const OrderPlatformModel = require("./OrderPlatformModel");
370
361
  * @property {number} [bagId] - Identifier for a bag or product.
371
362
  */
372
363
 
364
+ /**
365
+ * @typedef GetShipmentPackagesParam
366
+ * @property {string} shipmentId - Unique identifier for the shipment whose
367
+ * packages are being retrieved.
368
+ */
369
+
373
370
  /**
374
371
  * @typedef GetShipmentReasonsParam
375
372
  * @property {string} shipmentId - ID of the shipment. An order may contain
@@ -485,11 +482,6 @@ const OrderPlatformModel = require("./OrderPlatformModel");
485
482
  * @property {string} [groupEntity] - Name of group entity
486
483
  */
487
484
 
488
- /**
489
- * @typedef InvalidateShipmentCacheParam
490
- * @property {OrderPlatformModel.InvalidateShipmentCachePayload} body
491
- */
492
-
493
485
  /**
494
486
  * @typedef JobDetailsParam
495
487
  * @property {string} batchId - A unique identifier for the batch associated
@@ -564,6 +556,13 @@ const OrderPlatformModel = require("./OrderPlatformModel");
564
556
  * @property {OrderPlatformModel.UpdateShipmentLockPayload} body
565
557
  */
566
558
 
559
+ /**
560
+ * @typedef UpdateShipmentPackagesParam
561
+ * @property {string} shipmentId - Unique identifier for the shipment whose
562
+ * packages will be updated.
563
+ * @property {OrderPlatformModel.PackagesSchema} body
564
+ */
565
+
567
566
  /**
568
567
  * @typedef UpdateShipmentStatusParam
569
568
  * @property {OrderPlatformModel.UpdateShipmentStatusRequestSchema} body
@@ -650,13 +649,11 @@ class OrderPlatformValidator {
650
649
  }).required();
651
650
  }
652
651
 
653
- /** @returns {CreateOrderDeprecatedParam} */
654
- static createOrderDeprecated() {
652
+ /** @returns {CreateShipmentPackagesParam} */
653
+ static createShipmentPackages() {
655
654
  return Joi.object({
656
- xOrderingSource: Joi.string().allow("").required(),
657
- xApplicationId: Joi.string().allow(""),
658
- xExtensionId: Joi.string().allow(""),
659
- body: OrderPlatformModel.CreateOrderAPI().required(),
655
+ shipmentId: Joi.string().allow("").required(),
656
+ body: OrderPlatformModel.PackagesSchema().required(),
660
657
  }).required();
661
658
  }
662
659
 
@@ -968,6 +965,13 @@ class OrderPlatformValidator {
968
965
  }).required();
969
966
  }
970
967
 
968
+ /** @returns {GetShipmentPackagesParam} */
969
+ static getShipmentPackages() {
970
+ return Joi.object({
971
+ shipmentId: Joi.string().allow("").required(),
972
+ }).required();
973
+ }
974
+
971
975
  /** @returns {GetShipmentReasonsParam} */
972
976
  static getShipmentReasons() {
973
977
  return Joi.object({
@@ -1052,13 +1056,6 @@ class OrderPlatformValidator {
1052
1056
  }).required();
1053
1057
  }
1054
1058
 
1055
- /** @returns {InvalidateShipmentCacheParam} */
1056
- static invalidateShipmentCache() {
1057
- return Joi.object({
1058
- body: OrderPlatformModel.InvalidateShipmentCachePayload().required(),
1059
- }).required();
1060
- }
1061
-
1062
1059
  /** @returns {JobDetailsParam} */
1063
1060
  static jobDetails() {
1064
1061
  return Joi.object({
@@ -1156,6 +1153,14 @@ class OrderPlatformValidator {
1156
1153
  }).required();
1157
1154
  }
1158
1155
 
1156
+ /** @returns {UpdateShipmentPackagesParam} */
1157
+ static updateShipmentPackages() {
1158
+ return Joi.object({
1159
+ shipmentId: Joi.string().allow("").required(),
1160
+ body: OrderPlatformModel.PackagesSchema().required(),
1161
+ }).required();
1162
+ }
1163
+
1159
1164
  /** @returns {UpdateShipmentStatusParam} */
1160
1165
  static updateShipmentStatus() {
1161
1166
  return Joi.object({
@@ -344,15 +344,17 @@ export = PaymentPlatformModel;
344
344
  */
345
345
  /**
346
346
  * @typedef BankDetailsForOTP
347
- * @property {string} ifsc_code - IFSC code of account
348
- * @property {string} account_no - Account number
349
- * @property {string} branch_name - Branch name of account
350
- * @property {string} bank_name - Bank name of account
351
- * @property {string} account_holder - Accountg holder name of account
347
+ * @property {string} [ifsc_code] - IFSC code of account
348
+ * @property {string} [account_no] - Account number
349
+ * @property {string} [branch_name] - Branch name of account
350
+ * @property {string} [bank_name] - Bank name of account
351
+ * @property {string} [account_holder] - Accountg holder name of account
352
+ * @property {string} [upi] - UPI ID of account holder
352
353
  */
353
354
  /**
354
355
  * @typedef AddBeneficiaryDetailsOTPCreation
355
356
  * @property {string} order_id - Order_id for which account will be added
357
+ * @property {string} [shipment_id] - Shipment_id for which account will be added
356
358
  * @property {BankDetailsForOTP} details
357
359
  */
358
360
  /**
@@ -2061,23 +2063,27 @@ type BankDetailsForOTP = {
2061
2063
  /**
2062
2064
  * - IFSC code of account
2063
2065
  */
2064
- ifsc_code: string;
2066
+ ifsc_code?: string;
2065
2067
  /**
2066
2068
  * - Account number
2067
2069
  */
2068
- account_no: string;
2070
+ account_no?: string;
2069
2071
  /**
2070
2072
  * - Branch name of account
2071
2073
  */
2072
- branch_name: string;
2074
+ branch_name?: string;
2073
2075
  /**
2074
2076
  * - Bank name of account
2075
2077
  */
2076
- bank_name: string;
2078
+ bank_name?: string;
2077
2079
  /**
2078
2080
  * - Accountg holder name of account
2079
2081
  */
2080
- account_holder: string;
2082
+ account_holder?: string;
2083
+ /**
2084
+ * - UPI ID of account holder
2085
+ */
2086
+ upi?: string;
2081
2087
  };
2082
2088
  /** @returns {AddBeneficiaryDetailsOTPCreation} */
2083
2089
  declare function AddBeneficiaryDetailsOTPCreation(): AddBeneficiaryDetailsOTPCreation;
@@ -2086,6 +2092,10 @@ type AddBeneficiaryDetailsOTPCreation = {
2086
2092
  * - Order_id for which account will be added
2087
2093
  */
2088
2094
  order_id: string;
2095
+ /**
2096
+ * - Shipment_id for which account will be added
2097
+ */
2098
+ shipment_id?: string;
2089
2099
  details: BankDetailsForOTP;
2090
2100
  };
2091
2101
  /** @returns {IfscCodeDetails} */
@@ -388,16 +388,18 @@ const Joi = require("joi");
388
388
 
389
389
  /**
390
390
  * @typedef BankDetailsForOTP
391
- * @property {string} ifsc_code - IFSC code of account
392
- * @property {string} account_no - Account number
393
- * @property {string} branch_name - Branch name of account
394
- * @property {string} bank_name - Bank name of account
395
- * @property {string} account_holder - Accountg holder name of account
391
+ * @property {string} [ifsc_code] - IFSC code of account
392
+ * @property {string} [account_no] - Account number
393
+ * @property {string} [branch_name] - Branch name of account
394
+ * @property {string} [bank_name] - Bank name of account
395
+ * @property {string} [account_holder] - Accountg holder name of account
396
+ * @property {string} [upi] - UPI ID of account holder
396
397
  */
397
398
 
398
399
  /**
399
400
  * @typedef AddBeneficiaryDetailsOTPCreation
400
401
  * @property {string} order_id - Order_id for which account will be added
402
+ * @property {string} [shipment_id] - Shipment_id for which account will be added
401
403
  * @property {BankDetailsForOTP} details
402
404
  */
403
405
 
@@ -1778,11 +1780,12 @@ class PaymentPlatformModel {
1778
1780
  /** @returns {BankDetailsForOTP} */
1779
1781
  static BankDetailsForOTP() {
1780
1782
  return Joi.object({
1781
- ifsc_code: Joi.string().allow("").required(),
1782
- account_no: Joi.string().allow("").required(),
1783
- branch_name: Joi.string().allow("").required(),
1784
- bank_name: Joi.string().allow("").required(),
1785
- account_holder: Joi.string().allow("").required(),
1783
+ ifsc_code: Joi.string().allow(""),
1784
+ account_no: Joi.string().allow(""),
1785
+ branch_name: Joi.string().allow(""),
1786
+ bank_name: Joi.string().allow(""),
1787
+ account_holder: Joi.string().allow(""),
1788
+ upi: Joi.string().allow("").allow(null),
1786
1789
  });
1787
1790
  }
1788
1791
 
@@ -1790,6 +1793,7 @@ class PaymentPlatformModel {
1790
1793
  static AddBeneficiaryDetailsOTPCreation() {
1791
1794
  return Joi.object({
1792
1795
  order_id: Joi.string().allow("").required(),
1796
+ shipment_id: Joi.string().allow(""),
1793
1797
  details: PaymentPlatformModel.BankDetailsForOTP().required(),
1794
1798
  });
1795
1799
  }
@@ -27,7 +27,6 @@ declare class PlatformApplicationClient {
27
27
  order: Order;
28
28
  partner: Partner;
29
29
  payment: Payment;
30
- rewards: Rewards;
31
30
  share: Share;
32
31
  theme: Theme;
33
32
  user: User;
@@ -51,7 +50,6 @@ import Serviceability = require("./Serviceability/ServiceabilityPlatformApplicat
51
50
  import Order = require("./Order/OrderPlatformApplicationClient");
52
51
  import Partner = require("./Partner/PartnerPlatformApplicationClient");
53
52
  import Payment = require("./Payment/PaymentPlatformApplicationClient");
54
- import Rewards = require("./Rewards/RewardsPlatformApplicationClient");
55
53
  import Share = require("./Share/SharePlatformApplicationClient");
56
54
  import Theme = require("./Theme/ThemePlatformApplicationClient");
57
55
  import User = require("./User/UserPlatformApplicationClient");
@@ -22,8 +22,6 @@ const Partner = require("./Partner/PartnerPlatformApplicationClient");
22
22
 
23
23
  const Payment = require("./Payment/PaymentPlatformApplicationClient");
24
24
 
25
- const Rewards = require("./Rewards/RewardsPlatformApplicationClient");
26
-
27
25
  const Share = require("./Share/SharePlatformApplicationClient");
28
26
 
29
27
  const Theme = require("./Theme/ThemePlatformApplicationClient");
@@ -73,8 +71,6 @@ class PlatformApplicationClient {
73
71
 
74
72
  this.payment = new Payment(config, applicationId);
75
73
 
76
- this.rewards = new Rewards(config, applicationId);
77
-
78
74
  this.share = new Share(config, applicationId);
79
75
 
80
76
  this.theme = new Theme(config, applicationId);
@@ -450,19 +450,6 @@ declare class Serviceability {
450
450
  * @description: Updates the details of an existing fulfillment option for the specified company and application - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/putFulfillmentOption/).
451
451
  */
452
452
  putFulfillmentOption({ slug, body, requestHeaders }?: ServiceabilityPlatformApplicationValidator.PutFulfillmentOptionParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.FulfillmentOption>;
453
- /**
454
- * @param {ServiceabilityPlatformApplicationValidator.UpdateApplicationConfigurationParam} arg
455
- * - Arg object
456
- *
457
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
458
- * @param {import("../PlatformAPIClient").Options} - Options
459
- * @returns {Promise<ServiceabilityPlatformModel.ApplicationConfigPut>} -
460
- * Success response
461
- * @name updateApplicationConfiguration
462
- * @summary: Apply configuration to an application
463
- * @description: Apply configuration to application to set DP rules and Zone configuration - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/updateApplicationConfiguration/).
464
- */
465
- updateApplicationConfiguration({ body, requestHeaders }?: ServiceabilityPlatformApplicationValidator.UpdateApplicationConfigurationParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.ApplicationConfigPut>;
466
453
  /**
467
454
  * @param {ServiceabilityPlatformApplicationValidator.UpdateBulkGeoAreaParam} arg
468
455
  * - Arg object
@@ -2917,88 +2917,6 @@ class Serviceability {
2917
2917
  return response;
2918
2918
  }
2919
2919
 
2920
- /**
2921
- * @param {ServiceabilityPlatformApplicationValidator.UpdateApplicationConfigurationParam} arg
2922
- * - Arg object
2923
- *
2924
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
2925
- * @param {import("../PlatformAPIClient").Options} - Options
2926
- * @returns {Promise<ServiceabilityPlatformModel.ApplicationConfigPut>} -
2927
- * Success response
2928
- * @name updateApplicationConfiguration
2929
- * @summary: Apply configuration to an application
2930
- * @description: Apply configuration to application to set DP rules and Zone configuration - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/updateApplicationConfiguration/).
2931
- */
2932
- async updateApplicationConfiguration(
2933
- { body, requestHeaders } = { requestHeaders: {} },
2934
- { responseHeaders } = { responseHeaders: false }
2935
- ) {
2936
- const {
2937
- error,
2938
- } = ServiceabilityPlatformApplicationValidator.updateApplicationConfiguration().validate(
2939
- {
2940
- body,
2941
- },
2942
- { abortEarly: false, allowUnknown: true }
2943
- );
2944
- if (error) {
2945
- return Promise.reject(new FDKClientValidationError(error));
2946
- }
2947
-
2948
- // Showing warrnings if extra unknown parameters are found
2949
- const {
2950
- error: warrning,
2951
- } = ServiceabilityPlatformApplicationValidator.updateApplicationConfiguration().validate(
2952
- {
2953
- body,
2954
- },
2955
- { abortEarly: false, allowUnknown: false }
2956
- );
2957
- if (warrning) {
2958
- Logger({
2959
- level: "WARN",
2960
- message: `Parameter Validation warrnings for platform > Serviceability > updateApplicationConfiguration \n ${warrning}`,
2961
- });
2962
- }
2963
-
2964
- const query_params = {};
2965
-
2966
- const response = await PlatformAPIClient.execute(
2967
- this.config,
2968
- "put",
2969
- `/service/platform/logistics/v1.0/company/${this.config.companyId}/application/${this.applicationId}/configuration`,
2970
- query_params,
2971
- body,
2972
- requestHeaders,
2973
- { responseHeaders }
2974
- );
2975
-
2976
- let responseData = response;
2977
- if (responseHeaders) {
2978
- responseData = response[0];
2979
- }
2980
-
2981
- const {
2982
- error: res_error,
2983
- } = ServiceabilityPlatformModel.ApplicationConfigPut().validate(
2984
- responseData,
2985
- { abortEarly: false, allowUnknown: true }
2986
- );
2987
-
2988
- if (res_error) {
2989
- if (this.config.options.strictResponseCheck === true) {
2990
- return Promise.reject(new FDKResponseValidationError(res_error));
2991
- } else {
2992
- Logger({
2993
- level: "WARN",
2994
- message: `Response Validation Warnings for platform > Serviceability > updateApplicationConfiguration \n ${res_error}`,
2995
- });
2996
- }
2997
- }
2998
-
2999
- return response;
3000
- }
3001
-
3002
2920
  /**
3003
2921
  * @param {ServiceabilityPlatformApplicationValidator.UpdateBulkGeoAreaParam} arg
3004
2922
  * - Arg object
@@ -164,10 +164,6 @@ export = ServiceabilityPlatformApplicationValidator;
164
164
  * @property {string} slug - Slug of the fulfillment option for retrieving details.
165
165
  * @property {ServiceabilityPlatformModel.FulfillmentOption} body
166
166
  */
167
- /**
168
- * @typedef UpdateApplicationConfigurationParam
169
- * @property {ServiceabilityPlatformModel.ApplicationConfigPutDetail} body
170
- */
171
167
  /**
172
168
  * @typedef UpdateBulkGeoAreaParam
173
169
  * @property {string} geoareaId - A unique identifier for the GeoArea.
@@ -304,8 +300,6 @@ declare class ServiceabilityPlatformApplicationValidator {
304
300
  static patchApplicationConfiguration(): PatchApplicationConfigurationParam;
305
301
  /** @returns {PutFulfillmentOptionParam} */
306
302
  static putFulfillmentOption(): PutFulfillmentOptionParam;
307
- /** @returns {UpdateApplicationConfigurationParam} */
308
- static updateApplicationConfiguration(): UpdateApplicationConfigurationParam;
309
303
  /** @returns {UpdateBulkGeoAreaParam} */
310
304
  static updateBulkGeoArea(): UpdateBulkGeoAreaParam;
311
305
  /** @returns {UpdateCourierPartnerRulePriorityParam} */
@@ -336,7 +330,7 @@ declare class ServiceabilityPlatformApplicationValidator {
336
330
  static validateBulkFulfillmentOptions(): ValidateBulkFulfillmentOptionsParam;
337
331
  }
338
332
  declare namespace ServiceabilityPlatformApplicationValidator {
339
- export { CreateBulkExportParam, CreateBulkGeoAreaParam, CreateCourierPartnerRuleParam, CreateFulfillmentOptionParam, CreateGeoAreaParam, CreateGeoAreaExportJobParam, CreateShipmentsParam, CreateStoreRulesParam, CreateZoneParam, DeleteFulfillmentOptionsParam, DeleteZoneParam, DownloadGeoareaSampleFileParam, GetApplicationConfigParam, GetApplicationConfigurationParam, GetBulkExportParam, GetBulkFulfillmentValidationStatusParam, GetBulkGeoAreaParam, GetCourierPartnerRuleParam, GetCourierPartnerRulesParam, GetCourierPartnersParam, GetFulfillmentOptionProductsParam, GetFulfillmentOptionStoresParam, GetFulfillmentOptionsParam, GetFulfillmentOptionsListParam, GetGeoAreaParam, GetGeoAreaExportJobStatusParam, GetGeoAreasParam, GetStoreRuleParam, GetStoreRulesParam, GetZoneParam, GetZonesParam, InsertApplicationConfigParam, PatchApplicationConfigurationParam, PutFulfillmentOptionParam, UpdateApplicationConfigurationParam, UpdateBulkGeoAreaParam, UpdateCourierPartnerRulePriorityParam, UpdateCourierRuleParam, UpdateGeoAreaParam, UpdatePincodeAuditHistoryParam, UpdatePincodeBulkViewParam, UpdatePincodeCoDListingParam, UpdatePincodeMopViewParam, UpdateStoreRulePriorityParam, UpdateStoreRulesParam, UpdateStoreRulesConfigParam, UpdateZoneParam, UploadBulkFulfillmentOptionsParam, ValidateBulkFulfillmentOptionsParam };
333
+ export { CreateBulkExportParam, CreateBulkGeoAreaParam, CreateCourierPartnerRuleParam, CreateFulfillmentOptionParam, CreateGeoAreaParam, CreateGeoAreaExportJobParam, CreateShipmentsParam, CreateStoreRulesParam, CreateZoneParam, DeleteFulfillmentOptionsParam, DeleteZoneParam, DownloadGeoareaSampleFileParam, GetApplicationConfigParam, GetApplicationConfigurationParam, GetBulkExportParam, GetBulkFulfillmentValidationStatusParam, GetBulkGeoAreaParam, GetCourierPartnerRuleParam, GetCourierPartnerRulesParam, GetCourierPartnersParam, GetFulfillmentOptionProductsParam, GetFulfillmentOptionStoresParam, GetFulfillmentOptionsParam, GetFulfillmentOptionsListParam, GetGeoAreaParam, GetGeoAreaExportJobStatusParam, GetGeoAreasParam, GetStoreRuleParam, GetStoreRulesParam, GetZoneParam, GetZonesParam, InsertApplicationConfigParam, PatchApplicationConfigurationParam, PutFulfillmentOptionParam, UpdateBulkGeoAreaParam, UpdateCourierPartnerRulePriorityParam, UpdateCourierRuleParam, UpdateGeoAreaParam, UpdatePincodeAuditHistoryParam, UpdatePincodeBulkViewParam, UpdatePincodeCoDListingParam, UpdatePincodeMopViewParam, UpdateStoreRulePriorityParam, UpdateStoreRulesParam, UpdateStoreRulesConfigParam, UpdateZoneParam, UploadBulkFulfillmentOptionsParam, ValidateBulkFulfillmentOptionsParam };
340
334
  }
341
335
  type CreateBulkExportParam = {
342
336
  body: ServiceabilityPlatformModel.BulkCreateZoneExport;
@@ -622,9 +616,6 @@ type PutFulfillmentOptionParam = {
622
616
  slug: string;
623
617
  body: ServiceabilityPlatformModel.FulfillmentOption;
624
618
  };
625
- type UpdateApplicationConfigurationParam = {
626
- body: ServiceabilityPlatformModel.ApplicationConfigPutDetail;
627
- };
628
619
  type UpdateBulkGeoAreaParam = {
629
620
  /**
630
621
  * - A unique identifier for the GeoArea.
@@ -201,11 +201,6 @@ const ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
201
201
  * @property {ServiceabilityPlatformModel.FulfillmentOption} body
202
202
  */
203
203
 
204
- /**
205
- * @typedef UpdateApplicationConfigurationParam
206
- * @property {ServiceabilityPlatformModel.ApplicationConfigPutDetail} body
207
- */
208
-
209
204
  /**
210
205
  * @typedef UpdateBulkGeoAreaParam
211
206
  * @property {string} geoareaId - A unique identifier for the GeoArea.
@@ -553,13 +548,6 @@ class ServiceabilityPlatformApplicationValidator {
553
548
  }).required();
554
549
  }
555
550
 
556
- /** @returns {UpdateApplicationConfigurationParam} */
557
- static updateApplicationConfiguration() {
558
- return Joi.object({
559
- body: ServiceabilityPlatformModel.ApplicationConfigPutDetail().required(),
560
- }).required();
561
- }
562
-
563
551
  /** @returns {UpdateBulkGeoAreaParam} */
564
552
  static updateBulkGeoArea() {
565
553
  return Joi.object({