@gofynd/fdk-client-javascript 1.4.15 → 1.4.16-beta.1
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.
- package/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/Cart/CartApplicationClient.d.ts +11 -11
- package/sdk/application/Cart/CartApplicationClient.js +343 -48
- package/sdk/application/Catalog/CatalogApplicationClient.js +408 -0
- package/sdk/application/Common/CommonApplicationClient.js +21 -0
- package/sdk/application/Communication/CommunicationApplicationClient.js +29 -0
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +147 -0
- package/sdk/application/Content/ContentApplicationClient.d.ts +20 -0
- package/sdk/application/Content/ContentApplicationClient.js +327 -0
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +43 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +21 -0
- package/sdk/application/Lead/LeadApplicationClient.js +73 -0
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +1 -1
- package/sdk/application/Logistic/LogisticApplicationClient.js +182 -2
- package/sdk/application/Order/OrderApplicationClient.js +202 -0
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +0 -10
- package/sdk/application/Payment/PaymentApplicationClient.js +445 -38
- package/sdk/application/Rewards/RewardsApplicationClient.js +68 -0
- package/sdk/application/Share/ShareApplicationClient.js +96 -0
- package/sdk/application/Theme/ThemeApplicationClient.js +64 -0
- package/sdk/application/User/UserApplicationClient.js +412 -0
- package/sdk/application/Webhook/WebhookApplicationClient.js +13 -0
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +12 -33
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +38 -209
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +19 -399
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +11 -212
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +1 -3
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +7 -22
- package/sdk/partner/OAuthClient.js +1 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +3 -40
- package/sdk/partner/Theme/ThemePartnerModel.js +2 -24
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +1 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +12 -3
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +11 -1
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +4 -1
- package/sdk/platform/Cart/CartPlatformModel.d.ts +14 -28
- package/sdk/platform/Cart/CartPlatformModel.js +7 -13
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +0 -24
- package/sdk/platform/Catalog/CatalogPlatformClient.js +0 -176
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +29 -80
- package/sdk/platform/Catalog/CatalogPlatformModel.js +32 -72
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1 -45
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +0 -35
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +7 -0
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +3 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +52 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +411 -0
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +85 -1
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +73 -0
- package/sdk/platform/Content/ContentPlatformModel.d.ts +90 -1
- package/sdk/platform/Content/ContentPlatformModel.js +104 -0
- package/sdk/platform/Order/OrderPlatformClient.d.ts +2 -2
- package/sdk/platform/Order/OrderPlatformClient.js +0 -8
- package/sdk/platform/Order/OrderPlatformModel.d.ts +3 -75
- package/sdk/platform/Order/OrderPlatformModel.js +2 -43
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +0 -22
- package/sdk/platform/Order/OrderPlatformValidator.js +0 -10
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +10 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +118 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +53 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +29 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +0 -104
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +74 -816
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +23 -598
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +20 -382
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +1 -191
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +0 -138
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +3 -40
- package/sdk/platform/Theme/ThemePlatformModel.js +2 -24
- package/sdk/public/Configuration/ConfigurationPublicClient.js +16 -0
- package/sdk/public/Content/ContentPublicClient.js +116 -0
- package/sdk/public/Partner/PartnerPublicClient.js +15 -0
- package/sdk/public/Webhook/WebhookPublicClient.js +40 -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 -
|
|
318
|
-
*
|
|
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 -
|
|
336
|
-
*
|
|
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
|
|
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 -
|
|
500
|
-
*
|
|
501
|
-
* @property {
|
|
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,
|
|
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
|
-
* -
|
|
1307
|
-
*
|
|
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
|
-
* -
|
|
1350
|
-
*
|
|
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 {
|
|
1695
|
-
declare function
|
|
1696
|
-
type
|
|
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
|
-
* -
|
|
1725
|
-
*
|
|
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;
|