@gofynd/fdk-client-javascript 1.4.15-beta.3 → 1.4.15

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 (47) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/Cart/CartApplicationClient.d.ts +11 -11
  4. package/sdk/application/Cart/CartApplicationClient.js +48 -50
  5. package/sdk/application/Content/ContentApplicationClient.d.ts +0 -20
  6. package/sdk/application/Content/ContentApplicationClient.js +0 -78
  7. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +1 -1
  8. package/sdk/application/Logistic/LogisticApplicationClient.js +2 -0
  9. package/sdk/application/Payment/PaymentApplicationClient.d.ts +10 -0
  10. package/sdk/application/Payment/PaymentApplicationClient.js +39 -0
  11. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +33 -12
  12. package/sdk/partner/Logistics/LogisticsPartnerClient.js +209 -38
  13. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +399 -19
  14. package/sdk/partner/Logistics/LogisticsPartnerModel.js +212 -11
  15. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +3 -1
  16. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +22 -7
  17. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +1 -1
  18. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +1 -1
  19. package/sdk/platform/Cart/CartPlatformApplicationClient.js +3 -12
  20. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +0 -7
  21. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +0 -3
  22. package/sdk/platform/Cart/CartPlatformModel.d.ts +28 -14
  23. package/sdk/platform/Cart/CartPlatformModel.js +12 -6
  24. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +24 -0
  25. package/sdk/platform/Catalog/CatalogPlatformClient.js +176 -0
  26. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +80 -29
  27. package/sdk/platform/Catalog/CatalogPlatformModel.js +72 -32
  28. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +45 -1
  29. package/sdk/platform/Catalog/CatalogPlatformValidator.js +35 -0
  30. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -52
  31. package/sdk/platform/Content/ContentPlatformApplicationClient.js +0 -411
  32. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -85
  33. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +0 -73
  34. package/sdk/platform/Content/ContentPlatformModel.d.ts +1 -90
  35. package/sdk/platform/Content/ContentPlatformModel.js +0 -104
  36. package/sdk/platform/Order/OrderPlatformClient.d.ts +2 -2
  37. package/sdk/platform/Order/OrderPlatformClient.js +8 -0
  38. package/sdk/platform/Order/OrderPlatformModel.d.ts +75 -3
  39. package/sdk/platform/Order/OrderPlatformModel.js +43 -2
  40. package/sdk/platform/Order/OrderPlatformValidator.d.ts +22 -0
  41. package/sdk/platform/Order/OrderPlatformValidator.js +10 -0
  42. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +94 -0
  43. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +699 -76
  44. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +598 -23
  45. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +382 -20
  46. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +134 -1
  47. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +108 -0
@@ -68,6 +68,8 @@ 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.
71
73
  * @property {number} [cod_limit] - Limit on the amount of cash on delivery
72
74
  * (COD) payments allowed in the specified region.
73
75
  * @property {boolean} [doorstep_return] - Indicates if doorstep return service
@@ -88,6 +90,8 @@ export = LogisticsPartnerModel;
88
90
  * first-mile service is available or not.
89
91
  * @property {boolean} [last_mile] - Boolean value indicating whether last-mile
90
92
  * 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.
91
95
  * @property {number} [cod_limit] - Limit on the amount of cash on delivery
92
96
  * (COD) payments allowed in the specified region.
93
97
  * @property {boolean} [doorstep_return] - Indicates if doorstep return service
@@ -117,6 +121,8 @@ export = LogisticsPartnerModel;
117
121
  * first-mile service is available or not.
118
122
  * @property {boolean} [last_mile] - Boolean value indicating whether last-mile
119
123
  * 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.
120
126
  * @property {number} [cod_limit] - Limit on the amount of cash on delivery
121
127
  * (COD) payments allowed in the specified region.
122
128
  * @property {boolean} [doorstep_return] - Indicates if doorstep return service
@@ -147,6 +153,8 @@ export = LogisticsPartnerModel;
147
153
  * first-mile service is available or not.
148
154
  * @property {boolean} [last_mile] - Boolean value indicating whether last-mile
149
155
  * 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.
150
158
  * @property {number} [cod_limit] - Limit on the amount of cash on delivery
151
159
  * (COD) payments allowed in the specified region.
152
160
  * @property {boolean} [doorstep_return] - Indicates if doorstep return service
@@ -306,8 +314,8 @@ export = LogisticsPartnerModel;
306
314
  * courier partner scheme.
307
315
  * @property {string[]} payment_mode - Mode of payment associated with the
308
316
  * courier partner scheme.
309
- * @property {string} stage - Denotes whether the courier partner scheme is in
310
- * enabled or disabled stage.
317
+ * @property {string} stage - Indicates if the courier partner scheme is
318
+ * currently active or inactive.
311
319
  * @property {CourierPartnerSchemeFeatures} feature
312
320
  */
313
321
  /**
@@ -324,8 +332,8 @@ export = LogisticsPartnerModel;
324
332
  * courier partner scheme.
325
333
  * @property {string[]} payment_mode - Mode of payment associated with the
326
334
  * courier partner scheme.
327
- * @property {string} stage - Denotes whether the courier partner scheme is in
328
- * enabled or disabled stage.
335
+ * @property {string} stage - Indicates if the courier partner scheme is
336
+ * currently active or inactive.
329
337
  * @property {CourierPartnerSchemeFeatures} feature
330
338
  */
331
339
  /**
@@ -372,6 +380,102 @@ export = LogisticsPartnerModel;
372
380
  * @property {number} [non_qc_shipment_item_quantity] - Defines the maximum
373
381
  * quantity of items allowed in a non-quality check shipment.
374
382
  */
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
+ */
375
479
  /**
376
480
  * @typedef ArithmeticOperations
377
481
  * @property {number} [lt]
@@ -380,9 +484,10 @@ export = LogisticsPartnerModel;
380
484
  * @property {number} [gte]
381
485
  */
382
486
  /**
383
- * @typedef CourierPartnerSchemeUpdateDetails
487
+ * @typedef CourierPartnerSchemeV2UpdateDetails
384
488
  * @property {string} name - Name of the scheme.
385
489
  * @property {ArithmeticOperations} weight
490
+ * @property {ArithmeticOperations} [volumetric_weight]
386
491
  * @property {string} transport_type - Mode of transport associated with the
387
492
  * courier partner scheme.
388
493
  * @property {string} region - Serviceable region associated with the courier
@@ -391,9 +496,17 @@ export = LogisticsPartnerModel;
391
496
  * courier partner scheme.
392
497
  * @property {string[]} payment_mode - Mode of payment associated with the
393
498
  * courier partner scheme.
394
- * @property {string} stage - Denotes whether the courier partner scheme is in
395
- * enabled or disabled stage.
396
- * @property {CourierPartnerSchemeFeatures} feature
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
397
510
  */
398
511
  /**
399
512
  * @typedef GetCountries
@@ -442,7 +555,7 @@ export = LogisticsPartnerModel;
442
555
  declare class LogisticsPartnerModel {
443
556
  }
444
557
  declare namespace LogisticsPartnerModel {
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 };
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 };
446
559
  }
447
560
  /** @returns {BulkRegionServiceabilityTatDetails} */
448
561
  declare function BulkRegionServiceabilityTatDetails(): BulkRegionServiceabilityTatDetails;
@@ -607,6 +720,11 @@ type ServiceabilityDetailsResult = {
607
720
  * service is available or not.
608
721
  */
609
722
  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;
610
728
  /**
611
729
  * - Limit on the amount of cash on delivery
612
730
  * (COD) payments allowed in the specified region.
@@ -652,6 +770,11 @@ type ServiceabilityDetails = {
652
770
  * service is available or not.
653
771
  */
654
772
  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;
655
778
  /**
656
779
  * - Limit on the amount of cash on delivery
657
780
  * (COD) payments allowed in the specified region.
@@ -718,6 +841,11 @@ type RegionServiceabilityResult = {
718
841
  * service is available or not.
719
842
  */
720
843
  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;
721
849
  /**
722
850
  * - Limit on the amount of cash on delivery
723
851
  * (COD) payments allowed in the specified region.
@@ -788,6 +916,11 @@ type RegionServiceabilityDetails = {
788
916
  * service is available or not.
789
917
  */
790
918
  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;
791
924
  /**
792
925
  * - Limit on the amount of cash on delivery
793
926
  * (COD) payments allowed in the specified region.
@@ -1170,8 +1303,8 @@ type CourierPartnerSchemeModel = {
1170
1303
  */
1171
1304
  payment_mode: string[];
1172
1305
  /**
1173
- * - Denotes whether the courier partner scheme is in
1174
- * enabled or disabled stage.
1306
+ * - Indicates if the courier partner scheme is
1307
+ * currently active or inactive.
1175
1308
  */
1176
1309
  stage: string;
1177
1310
  feature: CourierPartnerSchemeFeatures;
@@ -1213,8 +1346,8 @@ type CourierPartnerSchemeDetailsModel = {
1213
1346
  */
1214
1347
  payment_mode: string[];
1215
1348
  /**
1216
- * - Denotes whether the courier partner scheme is in
1217
- * enabled or disabled stage.
1349
+ * - Indicates if the courier partner scheme is
1350
+ * currently active or inactive.
1218
1351
  */
1219
1352
  stage: string;
1220
1353
  feature: CourierPartnerSchemeFeatures;
@@ -1324,6 +1457,232 @@ type CourierPartnerSchemeFeatures = {
1324
1457
  */
1325
1458
  non_qc_shipment_item_quantity?: number;
1326
1459
  };
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
+ };
1327
1686
  /** @returns {ArithmeticOperations} */
1328
1687
  declare function ArithmeticOperations(): ArithmeticOperations;
1329
1688
  type ArithmeticOperations = {
@@ -1332,14 +1691,15 @@ type ArithmeticOperations = {
1332
1691
  lte?: number;
1333
1692
  gte?: number;
1334
1693
  };
1335
- /** @returns {CourierPartnerSchemeUpdateDetails} */
1336
- declare function CourierPartnerSchemeUpdateDetails(): CourierPartnerSchemeUpdateDetails;
1337
- type CourierPartnerSchemeUpdateDetails = {
1694
+ /** @returns {CourierPartnerSchemeV2UpdateDetails} */
1695
+ declare function CourierPartnerSchemeV2UpdateDetails(): CourierPartnerSchemeV2UpdateDetails;
1696
+ type CourierPartnerSchemeV2UpdateDetails = {
1338
1697
  /**
1339
1698
  * - Name of the scheme.
1340
1699
  */
1341
1700
  name: string;
1342
1701
  weight: ArithmeticOperations;
1702
+ volumetric_weight?: ArithmeticOperations;
1343
1703
  /**
1344
1704
  * - Mode of transport associated with the
1345
1705
  * courier partner scheme.
@@ -1361,11 +1721,31 @@ type CourierPartnerSchemeUpdateDetails = {
1361
1721
  */
1362
1722
  payment_mode: string[];
1363
1723
  /**
1364
- * - Denotes whether the courier partner scheme is in
1365
- * enabled or disabled stage.
1724
+ * - Indicates if the courier partner scheme is
1725
+ * currently active or inactive.
1366
1726
  */
1367
1727
  stage: string;
1368
- feature: CourierPartnerSchemeFeatures;
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;
1369
1749
  };
1370
1750
  /** @returns {GetCountries} */
1371
1751
  declare function GetCountries(): GetCountries;