@gofynd/fdk-client-javascript 1.4.15 → 1.4.16-beta.2

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 (95) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/Cart/CartApplicationClient.d.ts +16 -16
  4. package/sdk/application/Cart/CartApplicationClient.js +101 -48
  5. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +16 -16
  6. package/sdk/application/Catalog/CatalogApplicationClient.js +159 -0
  7. package/sdk/application/Common/CommonApplicationClient.js +6 -0
  8. package/sdk/application/Communication/CommunicationApplicationClient.js +6 -0
  9. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +2 -2
  10. package/sdk/application/Configuration/ConfigurationApplicationClient.js +24 -0
  11. package/sdk/application/Content/ContentApplicationClient.d.ts +59 -7
  12. package/sdk/application/Content/ContentApplicationClient.js +290 -0
  13. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +2 -2
  14. package/sdk/application/FileStorage/FileStorageApplicationClient.js +24 -0
  15. package/sdk/application/Finance/FinanceApplicationClient.js +6 -0
  16. package/sdk/application/Lead/LeadApplicationClient.d.ts +4 -4
  17. package/sdk/application/Lead/LeadApplicationClient.js +42 -0
  18. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +6 -6
  19. package/sdk/application/Logistic/LogisticApplicationClient.js +69 -2
  20. package/sdk/application/Order/OrderApplicationClient.d.ts +11 -11
  21. package/sdk/application/Order/OrderApplicationClient.js +117 -0
  22. package/sdk/application/Payment/PaymentApplicationClient.d.ts +1 -11
  23. package/sdk/application/Payment/PaymentApplicationClient.js +15 -39
  24. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +1 -1
  25. package/sdk/application/Rewards/RewardsApplicationClient.js +15 -0
  26. package/sdk/application/Share/ShareApplicationClient.d.ts +4 -4
  27. package/sdk/application/Share/ShareApplicationClient.js +42 -0
  28. package/sdk/application/Theme/ThemeApplicationClient.d.ts +3 -3
  29. package/sdk/application/Theme/ThemeApplicationClient.js +36 -0
  30. package/sdk/application/User/UserApplicationClient.js +6 -0
  31. package/sdk/application/Webhook/WebhookApplicationClient.js +6 -0
  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/Logistics/LogisticsPartnerClient.d.ts +12 -33
  37. package/sdk/partner/Logistics/LogisticsPartnerClient.js +38 -209
  38. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +19 -399
  39. package/sdk/partner/Logistics/LogisticsPartnerModel.js +11 -212
  40. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +1 -3
  41. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +7 -22
  42. package/sdk/partner/OAuthClient.js +1 -0
  43. package/sdk/partner/Theme/ThemePartnerModel.d.ts +3 -40
  44. package/sdk/partner/Theme/ThemePartnerModel.js +2 -24
  45. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +1 -1
  46. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +1 -1
  47. package/sdk/platform/Cart/CartPlatformApplicationClient.js +12 -3
  48. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +11 -1
  49. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +4 -1
  50. package/sdk/platform/Cart/CartPlatformModel.d.ts +49 -28
  51. package/sdk/platform/Cart/CartPlatformModel.js +23 -13
  52. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +0 -24
  53. package/sdk/platform/Catalog/CatalogPlatformClient.js +0 -176
  54. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +33 -80
  55. package/sdk/platform/Catalog/CatalogPlatformModel.js +36 -72
  56. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1 -45
  57. package/sdk/platform/Catalog/CatalogPlatformValidator.js +0 -35
  58. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +7 -0
  59. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +3 -0
  60. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +132 -0
  61. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1104 -122
  62. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +159 -1
  63. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +161 -0
  64. package/sdk/platform/Content/ContentPlatformModel.d.ts +220 -5
  65. package/sdk/platform/Content/ContentPlatformModel.js +214 -4
  66. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +0 -10
  67. package/sdk/platform/Order/OrderPlatformApplicationClient.js +0 -92
  68. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -28
  69. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +0 -18
  70. package/sdk/platform/Order/OrderPlatformClient.d.ts +12 -2
  71. package/sdk/platform/Order/OrderPlatformClient.js +99 -8
  72. package/sdk/platform/Order/OrderPlatformModel.d.ts +3 -75
  73. package/sdk/platform/Order/OrderPlatformModel.js +2 -43
  74. package/sdk/platform/Order/OrderPlatformValidator.d.ts +33 -23
  75. package/sdk/platform/Order/OrderPlatformValidator.js +20 -10
  76. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +1 -95
  77. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +78 -701
  78. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +23 -598
  79. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +20 -382
  80. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +3 -136
  81. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +2 -110
  82. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +3 -3
  83. package/sdk/platform/Share/SharePlatformApplicationClient.js +7 -7
  84. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +3 -6
  85. package/sdk/platform/Share/SharePlatformApplicationValidator.js +2 -2
  86. package/sdk/platform/Share/SharePlatformModel.d.ts +10 -2
  87. package/sdk/platform/Share/SharePlatformModel.js +4 -2
  88. package/sdk/platform/Theme/ThemePlatformModel.d.ts +3 -40
  89. package/sdk/platform/Theme/ThemePlatformModel.js +2 -24
  90. package/sdk/public/Configuration/ConfigurationPublicClient.js +1 -0
  91. package/sdk/public/Content/ContentPublicClient.d.ts +3 -3
  92. package/sdk/public/Content/ContentPublicClient.js +28 -0
  93. package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
  94. package/sdk/public/Partner/PartnerPublicClient.js +10 -0
  95. package/sdk/public/Webhook/WebhookPublicClient.js +1 -0
@@ -68,8 +68,6 @@ export = LogisticsPartnerModel;
68
68
  * first-mile service is available or not.
69
69
  * @property {boolean} [last_mile] - Boolean value indicating whether last-mile
70
70
  * service is available or not.
71
- * @property {boolean} [reverse_pickup] - Boolean value indicating whether a
72
- * region is first-mile serviceable or not in return pickup.
73
71
  * @property {number} [cod_limit] - Limit on the amount of cash on delivery
74
72
  * (COD) payments allowed in the specified region.
75
73
  * @property {boolean} [doorstep_return] - Indicates if doorstep return service
@@ -90,8 +88,6 @@ export = LogisticsPartnerModel;
90
88
  * first-mile service is available or not.
91
89
  * @property {boolean} [last_mile] - Boolean value indicating whether last-mile
92
90
  * service is available or not.
93
- * @property {boolean} [reverse_pickup] - Boolean value indicating whether a
94
- * region is first-mile serviceable or not in return pickup.
95
91
  * @property {number} [cod_limit] - Limit on the amount of cash on delivery
96
92
  * (COD) payments allowed in the specified region.
97
93
  * @property {boolean} [doorstep_return] - Indicates if doorstep return service
@@ -121,8 +117,6 @@ export = LogisticsPartnerModel;
121
117
  * first-mile service is available or not.
122
118
  * @property {boolean} [last_mile] - Boolean value indicating whether last-mile
123
119
  * service is available or not.
124
- * @property {boolean} [reverse_pickup] - Boolean value indicating whether a
125
- * region is first-mile serviceable or not in return pickup.
126
120
  * @property {number} [cod_limit] - Limit on the amount of cash on delivery
127
121
  * (COD) payments allowed in the specified region.
128
122
  * @property {boolean} [doorstep_return] - Indicates if doorstep return service
@@ -153,8 +147,6 @@ export = LogisticsPartnerModel;
153
147
  * first-mile service is available or not.
154
148
  * @property {boolean} [last_mile] - Boolean value indicating whether last-mile
155
149
  * service is available or not.
156
- * @property {boolean} [reverse_pickup] - Boolean value indicating whether a
157
- * region is first-mile serviceable or not in return pickup.
158
150
  * @property {number} [cod_limit] - Limit on the amount of cash on delivery
159
151
  * (COD) payments allowed in the specified region.
160
152
  * @property {boolean} [doorstep_return] - Indicates if doorstep return service
@@ -314,8 +306,8 @@ export = LogisticsPartnerModel;
314
306
  * courier partner scheme.
315
307
  * @property {string[]} payment_mode - Mode of payment associated with the
316
308
  * courier partner scheme.
317
- * @property {string} stage - Indicates if the courier partner scheme is
318
- * currently active or inactive.
309
+ * @property {string} stage - Denotes whether the courier partner scheme is in
310
+ * enabled or disabled stage.
319
311
  * @property {CourierPartnerSchemeFeatures} feature
320
312
  */
321
313
  /**
@@ -332,8 +324,8 @@ export = LogisticsPartnerModel;
332
324
  * courier partner scheme.
333
325
  * @property {string[]} payment_mode - Mode of payment associated with the
334
326
  * courier partner scheme.
335
- * @property {string} stage - Indicates if the courier partner scheme is
336
- * currently active or inactive.
327
+ * @property {string} stage - Denotes whether the courier partner scheme is in
328
+ * enabled or disabled stage.
337
329
  * @property {CourierPartnerSchemeFeatures} feature
338
330
  */
339
331
  /**
@@ -380,102 +372,6 @@ export = LogisticsPartnerModel;
380
372
  * @property {number} [non_qc_shipment_item_quantity] - Defines the maximum
381
373
  * quantity of items allowed in a non-quality check shipment.
382
374
  */
383
- /**
384
- * @typedef CourierPartnerSchemeV2Features
385
- * @property {boolean} [doorstep_qc] - Indicates if the courier partner offers
386
- * doorstep quality check services.
387
- * @property {boolean} [qr] - Specifies whether the courier partner supports QR
388
- * code-based operations.
389
- * @property {boolean} [mps] - Denotes if the courier partner supports
390
- * multi-part shipment services.
391
- * @property {boolean} [ndr] - Indicates if the Non-Delivery Report (NDR)
392
- * feature is supported by the courier partner.
393
- * @property {boolean} [dangerous_goods] - Specifies if the courier partner
394
- * handles the transportation of dangerous goods.
395
- * @property {boolean} [fragile_goods] - Indicates whether the courier partner
396
- * manages the shipment of fragile goods.
397
- * @property {boolean} [restricted_goods] - Indicates if the courier partner
398
- * handles restricted goods, as per regulatory guidelines.
399
- * @property {boolean} [cold_storage_goods] - Denotes if the courier partner
400
- * provides cold storage facilities for goods.
401
- * @property {boolean} [doorstep_exchange] - Indicates if the courier partner
402
- * supports doorstep exchange services.
403
- * @property {boolean} [doorstep_return] - Specifies if the courier partner
404
- * offers doorstep return services.
405
- * @property {boolean} [product_installation] - Indicates if the courier partner
406
- * provides product installation services upon delivery.
407
- * @property {boolean} [openbox_delivery] - Specifies whether the courier
408
- * partner supports open-box delivery, allowing customers to inspect goods
409
- * before accepting.
410
- * @property {boolean} [multi_pick_single_drop] - Indicates if the courier
411
- * partner supports multiple pickups to a single drop location.
412
- * @property {boolean} [single_pick_multi_drop] - Indicates whether the courier
413
- * partner supports single pickup to multiple drop locations.
414
- * @property {boolean} [multi_pick_multi_drop] - Denotes if the courier partner
415
- * offers services for multiple pickups to multiple drop locations.
416
- * @property {boolean} [ewaybill] - Specifies if the courier partner requires or
417
- * supports the generation of e-waybills for shipments.
418
- */
419
- /**
420
- * @typedef CourierPartnerSchemeV2DetailsModel
421
- * @property {string} extension_id - Unique identifier of courier partner extension.
422
- * @property {string} [scheme_id] - Unique identifier of courier partner scheme.
423
- * @property {string} name - Name of the scheme.
424
- * @property {ArithmeticOperations} weight
425
- * @property {ArithmeticOperations} [volumetric_weight]
426
- * @property {string} transport_type - Mode of transport associated with the
427
- * courier partner scheme.
428
- * @property {string} region - Serviceable region associated with the courier
429
- * partner scheme.
430
- * @property {string} delivery_type - Type of delivery associated with the
431
- * courier partner scheme.
432
- * @property {string[]} payment_mode - Mode of payment associated with the
433
- * courier partner scheme.
434
- * @property {string} stage - Indicates if the courier partner scheme is
435
- * currently active or inactive.
436
- * @property {string} [status_updates] - Describes the type of status updates
437
- * provided by the courier partner (e.g., real-time, periodic).
438
- * @property {number} [ndr_attempts] - Indicates if the Non-Delivery Report
439
- * (NDR) feature is supported by the courier partner.
440
- * @property {number} [qc_shipment_item_quantity] - Defines the maximum quantity
441
- * of items allowed in a quality check shipment.
442
- * @property {number} [non_qc_shipment_item_quantity] - Defines the maximum
443
- * quantity of items allowed in a non-quality check shipment.
444
- * @property {CourierPartnerSchemeV2Features} feature
445
- */
446
- /**
447
- * @typedef CourierPartnerV2SchemeModel
448
- * @property {string} extension_id - Unique identifier of courier partner extension.
449
- * @property {string} scheme_id - Unique identifier of courier partner scheme.
450
- * @property {string} [company_id] - Unique identifier of company.
451
- * @property {string} name - Name of the scheme.
452
- * @property {ArithmeticOperations} weight
453
- * @property {ArithmeticOperations} [volumetric_weight]
454
- * @property {string} transport_type - Mode of transport associated with the
455
- * courier partner scheme.
456
- * @property {string} region - Serviceable region associated with the courier
457
- * partner scheme.
458
- * @property {string} delivery_type - Type of delivery associated with the
459
- * courier partner scheme.
460
- * @property {string[]} payment_mode - Mode of payment associated with the
461
- * courier partner scheme.
462
- * @property {string} stage - Indicates if the courier partner scheme is
463
- * currently active or inactive.
464
- * @property {string} [status_updates] - Describes the type of status updates
465
- * provided by the courier partner (e.g., real-time, periodic).
466
- * @property {number} [ndr_attempts] - Indicates if the Non-Delivery Report
467
- * (NDR) feature is supported by the courier partner.
468
- * @property {number} [qc_shipment_item_quantity] - Defines the maximum quantity
469
- * of items allowed in a quality check shipment.
470
- * @property {number} [non_qc_shipment_item_quantity] - Defines the maximum
471
- * quantity of items allowed in a non-quality check shipment.
472
- * @property {CourierPartnerSchemeV2Features} feature
473
- */
474
- /**
475
- * @typedef courierPartnerSchemeV2List
476
- * @property {CourierPartnerV2SchemeModel[]} items - List of courier partner schemes
477
- * @property {Page} page
478
- */
479
375
  /**
480
376
  * @typedef ArithmeticOperations
481
377
  * @property {number} [lt]
@@ -484,10 +380,9 @@ export = LogisticsPartnerModel;
484
380
  * @property {number} [gte]
485
381
  */
486
382
  /**
487
- * @typedef CourierPartnerSchemeV2UpdateDetails
383
+ * @typedef CourierPartnerSchemeUpdateDetails
488
384
  * @property {string} name - Name of the scheme.
489
385
  * @property {ArithmeticOperations} weight
490
- * @property {ArithmeticOperations} [volumetric_weight]
491
386
  * @property {string} transport_type - Mode of transport associated with the
492
387
  * courier partner scheme.
493
388
  * @property {string} region - Serviceable region associated with the courier
@@ -496,17 +391,9 @@ export = LogisticsPartnerModel;
496
391
  * courier partner scheme.
497
392
  * @property {string[]} payment_mode - Mode of payment associated with the
498
393
  * courier partner scheme.
499
- * @property {string} stage - Indicates if the courier partner scheme is
500
- * currently active or inactive.
501
- * @property {string} [status_updates] - Describes the type of status updates
502
- * provided by the courier partner (e.g., real-time, periodic).
503
- * @property {number} [ndr_attempts] - Indicates if the Non-Delivery Report
504
- * (NDR) feature is supported by the courier partner.
505
- * @property {number} [qc_shipment_item_quantity] - Defines the maximum quantity
506
- * of items allowed in a quality check shipment.
507
- * @property {number} [non_qc_shipment_item_quantity] - Defines the maximum
508
- * quantity of items allowed in a non-quality check shipment.
509
- * @property {CourierPartnerSchemeV2Features} feature
394
+ * @property {string} stage - Denotes whether the courier partner scheme is in
395
+ * enabled or disabled stage.
396
+ * @property {CourierPartnerSchemeFeatures} feature
510
397
  */
511
398
  /**
512
399
  * @typedef GetCountries
@@ -555,7 +442,7 @@ export = LogisticsPartnerModel;
555
442
  declare class LogisticsPartnerModel {
556
443
  }
557
444
  declare namespace LogisticsPartnerModel {
558
- export { BulkRegionServiceabilityTatDetails, BulkRegionServiceabilityTatResultItemData, ErrorResult, FailureResult, BulkRegionServiceabilityTatResult, Page, CourierAccountUpdateDetails, RegionTatItemResult, RegionServiceabilityItemResult, ServiceabilityDetailsResult, ServiceabilityDetails, RegionServiceabilityResult, RegionServiceabilityDetails, RegionTatDetails, RegionTatUpdateDetails, RegionTatResult, BulkRegionJobDetails, BulkRegionResultItemData, BulkRegionResult, CourierAccount, CourierAccountDetailsBody, CourierPartnerAccountFailureResult, CompanyCourierPartnerAccountListResult, CourierAccountResult, CourierPartnerSchemeModel, CourierPartnerSchemeDetailsModel, CourierPartnerSchemeFeatures, CourierPartnerSchemeV2Features, CourierPartnerSchemeV2DetailsModel, CourierPartnerV2SchemeModel, courierPartnerSchemeV2List, ArithmeticOperations, CourierPartnerSchemeV2UpdateDetails, GetCountries, GetCountriesItems, HierarchyItems, ValidationError, StandardError };
445
+ export { BulkRegionServiceabilityTatDetails, BulkRegionServiceabilityTatResultItemData, ErrorResult, FailureResult, BulkRegionServiceabilityTatResult, Page, CourierAccountUpdateDetails, RegionTatItemResult, RegionServiceabilityItemResult, ServiceabilityDetailsResult, ServiceabilityDetails, RegionServiceabilityResult, RegionServiceabilityDetails, RegionTatDetails, RegionTatUpdateDetails, RegionTatResult, BulkRegionJobDetails, BulkRegionResultItemData, BulkRegionResult, CourierAccount, CourierAccountDetailsBody, CourierPartnerAccountFailureResult, CompanyCourierPartnerAccountListResult, CourierAccountResult, CourierPartnerSchemeModel, CourierPartnerSchemeDetailsModel, CourierPartnerSchemeFeatures, ArithmeticOperations, CourierPartnerSchemeUpdateDetails, GetCountries, GetCountriesItems, HierarchyItems, ValidationError, StandardError };
559
446
  }
560
447
  /** @returns {BulkRegionServiceabilityTatDetails} */
561
448
  declare function BulkRegionServiceabilityTatDetails(): BulkRegionServiceabilityTatDetails;
@@ -720,11 +607,6 @@ type ServiceabilityDetailsResult = {
720
607
  * service is available or not.
721
608
  */
722
609
  last_mile?: boolean;
723
- /**
724
- * - Boolean value indicating whether a
725
- * region is first-mile serviceable or not in return pickup.
726
- */
727
- reverse_pickup?: boolean;
728
610
  /**
729
611
  * - Limit on the amount of cash on delivery
730
612
  * (COD) payments allowed in the specified region.
@@ -770,11 +652,6 @@ type ServiceabilityDetails = {
770
652
  * service is available or not.
771
653
  */
772
654
  last_mile?: boolean;
773
- /**
774
- * - Boolean value indicating whether a
775
- * region is first-mile serviceable or not in return pickup.
776
- */
777
- reverse_pickup?: boolean;
778
655
  /**
779
656
  * - Limit on the amount of cash on delivery
780
657
  * (COD) payments allowed in the specified region.
@@ -841,11 +718,6 @@ type RegionServiceabilityResult = {
841
718
  * service is available or not.
842
719
  */
843
720
  last_mile?: boolean;
844
- /**
845
- * - Boolean value indicating whether a
846
- * region is first-mile serviceable or not in return pickup.
847
- */
848
- reverse_pickup?: boolean;
849
721
  /**
850
722
  * - Limit on the amount of cash on delivery
851
723
  * (COD) payments allowed in the specified region.
@@ -916,11 +788,6 @@ type RegionServiceabilityDetails = {
916
788
  * service is available or not.
917
789
  */
918
790
  last_mile?: boolean;
919
- /**
920
- * - Boolean value indicating whether a
921
- * region is first-mile serviceable or not in return pickup.
922
- */
923
- reverse_pickup?: boolean;
924
791
  /**
925
792
  * - Limit on the amount of cash on delivery
926
793
  * (COD) payments allowed in the specified region.
@@ -1303,8 +1170,8 @@ type CourierPartnerSchemeModel = {
1303
1170
  */
1304
1171
  payment_mode: string[];
1305
1172
  /**
1306
- * - Indicates if the courier partner scheme is
1307
- * currently active or inactive.
1173
+ * - Denotes whether the courier partner scheme is in
1174
+ * enabled or disabled stage.
1308
1175
  */
1309
1176
  stage: string;
1310
1177
  feature: CourierPartnerSchemeFeatures;
@@ -1346,8 +1213,8 @@ type CourierPartnerSchemeDetailsModel = {
1346
1213
  */
1347
1214
  payment_mode: string[];
1348
1215
  /**
1349
- * - Indicates if the courier partner scheme is
1350
- * currently active or inactive.
1216
+ * - Denotes whether the courier partner scheme is in
1217
+ * enabled or disabled stage.
1351
1218
  */
1352
1219
  stage: string;
1353
1220
  feature: CourierPartnerSchemeFeatures;
@@ -1457,232 +1324,6 @@ type CourierPartnerSchemeFeatures = {
1457
1324
  */
1458
1325
  non_qc_shipment_item_quantity?: number;
1459
1326
  };
1460
- /** @returns {CourierPartnerSchemeV2Features} */
1461
- declare function CourierPartnerSchemeV2Features(): CourierPartnerSchemeV2Features;
1462
- type CourierPartnerSchemeV2Features = {
1463
- /**
1464
- * - Indicates if the courier partner offers
1465
- * doorstep quality check services.
1466
- */
1467
- doorstep_qc?: boolean;
1468
- /**
1469
- * - Specifies whether the courier partner supports QR
1470
- * code-based operations.
1471
- */
1472
- qr?: boolean;
1473
- /**
1474
- * - Denotes if the courier partner supports
1475
- * multi-part shipment services.
1476
- */
1477
- mps?: boolean;
1478
- /**
1479
- * - Indicates if the Non-Delivery Report (NDR)
1480
- * feature is supported by the courier partner.
1481
- */
1482
- ndr?: boolean;
1483
- /**
1484
- * - Specifies if the courier partner
1485
- * handles the transportation of dangerous goods.
1486
- */
1487
- dangerous_goods?: boolean;
1488
- /**
1489
- * - Indicates whether the courier partner
1490
- * manages the shipment of fragile goods.
1491
- */
1492
- fragile_goods?: boolean;
1493
- /**
1494
- * - Indicates if the courier partner
1495
- * handles restricted goods, as per regulatory guidelines.
1496
- */
1497
- restricted_goods?: boolean;
1498
- /**
1499
- * - Denotes if the courier partner
1500
- * provides cold storage facilities for goods.
1501
- */
1502
- cold_storage_goods?: boolean;
1503
- /**
1504
- * - Indicates if the courier partner
1505
- * supports doorstep exchange services.
1506
- */
1507
- doorstep_exchange?: boolean;
1508
- /**
1509
- * - Specifies if the courier partner
1510
- * offers doorstep return services.
1511
- */
1512
- doorstep_return?: boolean;
1513
- /**
1514
- * - Indicates if the courier partner
1515
- * provides product installation services upon delivery.
1516
- */
1517
- product_installation?: boolean;
1518
- /**
1519
- * - Specifies whether the courier
1520
- * partner supports open-box delivery, allowing customers to inspect goods
1521
- * before accepting.
1522
- */
1523
- openbox_delivery?: boolean;
1524
- /**
1525
- * - Indicates if the courier
1526
- * partner supports multiple pickups to a single drop location.
1527
- */
1528
- multi_pick_single_drop?: boolean;
1529
- /**
1530
- * - Indicates whether the courier
1531
- * partner supports single pickup to multiple drop locations.
1532
- */
1533
- single_pick_multi_drop?: boolean;
1534
- /**
1535
- * - Denotes if the courier partner
1536
- * offers services for multiple pickups to multiple drop locations.
1537
- */
1538
- multi_pick_multi_drop?: boolean;
1539
- /**
1540
- * - Specifies if the courier partner requires or
1541
- * supports the generation of e-waybills for shipments.
1542
- */
1543
- ewaybill?: boolean;
1544
- };
1545
- /** @returns {CourierPartnerSchemeV2DetailsModel} */
1546
- declare function CourierPartnerSchemeV2DetailsModel(): CourierPartnerSchemeV2DetailsModel;
1547
- type CourierPartnerSchemeV2DetailsModel = {
1548
- /**
1549
- * - Unique identifier of courier partner extension.
1550
- */
1551
- extension_id: string;
1552
- /**
1553
- * - Unique identifier of courier partner scheme.
1554
- */
1555
- scheme_id?: string;
1556
- /**
1557
- * - Name of the scheme.
1558
- */
1559
- name: string;
1560
- weight: ArithmeticOperations;
1561
- volumetric_weight?: ArithmeticOperations;
1562
- /**
1563
- * - Mode of transport associated with the
1564
- * courier partner scheme.
1565
- */
1566
- transport_type: string;
1567
- /**
1568
- * - Serviceable region associated with the courier
1569
- * partner scheme.
1570
- */
1571
- region: string;
1572
- /**
1573
- * - Type of delivery associated with the
1574
- * courier partner scheme.
1575
- */
1576
- delivery_type: string;
1577
- /**
1578
- * - Mode of payment associated with the
1579
- * courier partner scheme.
1580
- */
1581
- payment_mode: string[];
1582
- /**
1583
- * - Indicates if the courier partner scheme is
1584
- * currently active or inactive.
1585
- */
1586
- stage: string;
1587
- /**
1588
- * - Describes the type of status updates
1589
- * provided by the courier partner (e.g., real-time, periodic).
1590
- */
1591
- status_updates?: string;
1592
- /**
1593
- * - Indicates if the Non-Delivery Report
1594
- * (NDR) feature is supported by the courier partner.
1595
- */
1596
- ndr_attempts?: number;
1597
- /**
1598
- * - Defines the maximum quantity
1599
- * of items allowed in a quality check shipment.
1600
- */
1601
- qc_shipment_item_quantity?: number;
1602
- /**
1603
- * - Defines the maximum
1604
- * quantity of items allowed in a non-quality check shipment.
1605
- */
1606
- non_qc_shipment_item_quantity?: number;
1607
- feature: CourierPartnerSchemeV2Features;
1608
- };
1609
- /** @returns {CourierPartnerV2SchemeModel} */
1610
- declare function CourierPartnerV2SchemeModel(): CourierPartnerV2SchemeModel;
1611
- type CourierPartnerV2SchemeModel = {
1612
- /**
1613
- * - Unique identifier of courier partner extension.
1614
- */
1615
- extension_id: string;
1616
- /**
1617
- * - Unique identifier of courier partner scheme.
1618
- */
1619
- scheme_id: string;
1620
- /**
1621
- * - Unique identifier of company.
1622
- */
1623
- company_id?: string;
1624
- /**
1625
- * - Name of the scheme.
1626
- */
1627
- name: string;
1628
- weight: ArithmeticOperations;
1629
- volumetric_weight?: ArithmeticOperations;
1630
- /**
1631
- * - Mode of transport associated with the
1632
- * courier partner scheme.
1633
- */
1634
- transport_type: string;
1635
- /**
1636
- * - Serviceable region associated with the courier
1637
- * partner scheme.
1638
- */
1639
- region: string;
1640
- /**
1641
- * - Type of delivery associated with the
1642
- * courier partner scheme.
1643
- */
1644
- delivery_type: string;
1645
- /**
1646
- * - Mode of payment associated with the
1647
- * courier partner scheme.
1648
- */
1649
- payment_mode: string[];
1650
- /**
1651
- * - Indicates if the courier partner scheme is
1652
- * currently active or inactive.
1653
- */
1654
- stage: string;
1655
- /**
1656
- * - Describes the type of status updates
1657
- * provided by the courier partner (e.g., real-time, periodic).
1658
- */
1659
- status_updates?: string;
1660
- /**
1661
- * - Indicates if the Non-Delivery Report
1662
- * (NDR) feature is supported by the courier partner.
1663
- */
1664
- ndr_attempts?: number;
1665
- /**
1666
- * - Defines the maximum quantity
1667
- * of items allowed in a quality check shipment.
1668
- */
1669
- qc_shipment_item_quantity?: number;
1670
- /**
1671
- * - Defines the maximum
1672
- * quantity of items allowed in a non-quality check shipment.
1673
- */
1674
- non_qc_shipment_item_quantity?: number;
1675
- feature: CourierPartnerSchemeV2Features;
1676
- };
1677
- /** @returns {courierPartnerSchemeV2List} */
1678
- declare function courierPartnerSchemeV2List(): courierPartnerSchemeV2List;
1679
- type courierPartnerSchemeV2List = {
1680
- /**
1681
- * - List of courier partner schemes
1682
- */
1683
- items: CourierPartnerV2SchemeModel[];
1684
- page: Page;
1685
- };
1686
1327
  /** @returns {ArithmeticOperations} */
1687
1328
  declare function ArithmeticOperations(): ArithmeticOperations;
1688
1329
  type ArithmeticOperations = {
@@ -1691,15 +1332,14 @@ type ArithmeticOperations = {
1691
1332
  lte?: number;
1692
1333
  gte?: number;
1693
1334
  };
1694
- /** @returns {CourierPartnerSchemeV2UpdateDetails} */
1695
- declare function CourierPartnerSchemeV2UpdateDetails(): CourierPartnerSchemeV2UpdateDetails;
1696
- type CourierPartnerSchemeV2UpdateDetails = {
1335
+ /** @returns {CourierPartnerSchemeUpdateDetails} */
1336
+ declare function CourierPartnerSchemeUpdateDetails(): CourierPartnerSchemeUpdateDetails;
1337
+ type CourierPartnerSchemeUpdateDetails = {
1697
1338
  /**
1698
1339
  * - Name of the scheme.
1699
1340
  */
1700
1341
  name: string;
1701
1342
  weight: ArithmeticOperations;
1702
- volumetric_weight?: ArithmeticOperations;
1703
1343
  /**
1704
1344
  * - Mode of transport associated with the
1705
1345
  * courier partner scheme.
@@ -1721,31 +1361,11 @@ type CourierPartnerSchemeV2UpdateDetails = {
1721
1361
  */
1722
1362
  payment_mode: string[];
1723
1363
  /**
1724
- * - Indicates if the courier partner scheme is
1725
- * currently active or inactive.
1364
+ * - Denotes whether the courier partner scheme is in
1365
+ * enabled or disabled stage.
1726
1366
  */
1727
1367
  stage: string;
1728
- /**
1729
- * - Describes the type of status updates
1730
- * provided by the courier partner (e.g., real-time, periodic).
1731
- */
1732
- status_updates?: string;
1733
- /**
1734
- * - Indicates if the Non-Delivery Report
1735
- * (NDR) feature is supported by the courier partner.
1736
- */
1737
- ndr_attempts?: number;
1738
- /**
1739
- * - Defines the maximum quantity
1740
- * of items allowed in a quality check shipment.
1741
- */
1742
- qc_shipment_item_quantity?: number;
1743
- /**
1744
- * - Defines the maximum
1745
- * quantity of items allowed in a non-quality check shipment.
1746
- */
1747
- non_qc_shipment_item_quantity?: number;
1748
- feature: CourierPartnerSchemeV2Features;
1368
+ feature: CourierPartnerSchemeFeatures;
1749
1369
  };
1750
1370
  /** @returns {GetCountries} */
1751
1371
  declare function GetCountries(): GetCountries;