@gofynd/fdk-client-javascript 3.1.0-beta.1 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +2 -2
- package/sdk/application/ApplicationClient.d.ts +2 -0
- package/sdk/application/ApplicationClient.js +2 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +81 -101
- package/sdk/application/Cart/CartApplicationClient.js +173 -511
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +110 -110
- package/sdk/application/Catalog/CatalogApplicationClient.js +214 -447
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
- package/sdk/application/Common/CommonApplicationClient.js +4 -19
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -43
- package/sdk/application/Communication/CommunicationApplicationClient.js +4 -214
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +41 -54
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +39 -192
- package/sdk/application/Content/ContentApplicationClient.d.ts +61 -61
- package/sdk/application/Content/ContentApplicationClient.js +183 -366
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +2 -2
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +11 -30
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +111 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +6 -6
- package/sdk/application/Lead/LeadApplicationClient.js +24 -55
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +28 -117
- package/sdk/application/Logistic/LogisticApplicationClient.js +99 -492
- package/sdk/application/Order/OrderApplicationClient.d.ts +31 -51
- package/sdk/application/Order/OrderApplicationClient.js +89 -293
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +108 -218
- package/sdk/application/Payment/PaymentApplicationClient.js +100 -1081
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +14 -14
- package/sdk/application/Rewards/RewardsApplicationClient.js +13 -66
- package/sdk/application/Share/ShareApplicationClient.d.ts +11 -11
- package/sdk/application/Share/ShareApplicationClient.js +35 -89
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +5 -25
- package/sdk/application/Theme/ThemeApplicationClient.js +24 -150
- package/sdk/application/User/UserApplicationClient.d.ts +23 -13
- package/sdk/application/User/UserApplicationClient.js +49 -407
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +4 -11
- package/sdk/common/Utility.d.ts +1 -1
- package/sdk/common/Utility.js +10 -7
- package/sdk/common/Validator.d.ts +1 -0
- package/sdk/common/Validator.js +20 -0
- package/sdk/common/utils.d.ts +0 -1
- package/sdk/common/utils.js +0 -14
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +10 -54
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +32 -364
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +54 -1
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +43 -0
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -5
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -35
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerClient.js +4 -4
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +52 -98
- package/sdk/partner/Lead/LeadPartnerModel.js +76 -100
- package/sdk/partner/Lead/LeadPartnerValidator.js +1 -1
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +172 -41
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +1222 -85
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1921 -297
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +973 -258
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +13 -1
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +148 -16
- package/sdk/partner/PartnerClient.d.ts +0 -6
- package/sdk/partner/PartnerClient.js +0 -9
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +21 -63
- package/sdk/partner/Theme/ThemePartnerClient.js +67 -392
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +72 -104
- package/sdk/partner/Theme/ThemePartnerModel.js +75 -101
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +1 -5
- package/sdk/partner/Theme/ThemePartnerValidator.js +12 -42
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -18
- package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -18
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +673 -189
- package/sdk/partner/Webhook/WebhookPartnerModel.js +270 -159
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -3
- package/sdk/partner/index.d.ts +0 -3
- package/sdk/partner/index.js +0 -6
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +4 -1
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +3 -3
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +3 -3
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +49 -145
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +20 -171
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
- package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
- package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +172 -251
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +577 -648
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +270 -165
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +192 -108
- package/sdk/platform/Cart/CartPlatformModel.d.ts +4554 -3154
- package/sdk/platform/Cart/CartPlatformModel.js +1935 -2854
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +380 -976
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +2004 -6464
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +161 -1082
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +80 -884
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +568 -325
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1560 -1162
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +9772 -7871
- package/sdk/platform/Catalog/CatalogPlatformModel.js +6978 -9516
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +231 -240
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +180 -188
- package/sdk/platform/Common/CommonPlatformClient.d.ts +6 -5
- package/sdk/platform/Common/CommonPlatformClient.js +6 -5
- package/sdk/platform/Common/CommonPlatformModel.d.ts +19 -25
- package/sdk/platform/Common/CommonPlatformModel.js +11 -14
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +240 -376
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +589 -874
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +139 -170
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +126 -145
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +3 -56
- package/sdk/platform/Communication/CommunicationPlatformClient.js +4 -307
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +330 -502
- package/sdk/platform/Communication/CommunicationPlatformModel.js +376 -610
- package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +3 -62
- package/sdk/platform/Communication/CommunicationPlatformValidator.js +2 -48
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +72 -100
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +88 -146
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +270 -241
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +248 -226
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +20 -31
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +20 -25
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +117 -332
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +409 -1470
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +55 -158
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +41 -163
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +65 -142
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +103 -568
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +562 -1289
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +368 -1037
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +34 -80
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +24 -79
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +302 -248
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1292 -773
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +330 -218
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +325 -208
- package/sdk/platform/Content/ContentPlatformClient.d.ts +279 -118
- package/sdk/platform/Content/ContentPlatformClient.js +1617 -492
- package/sdk/platform/Content/ContentPlatformModel.d.ts +2391 -924
- package/sdk/platform/Content/ContentPlatformModel.js +1314 -970
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +272 -134
- package/sdk/platform/Content/ContentPlatformValidator.js +295 -118
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +53 -43
- package/sdk/platform/Discount/DiscountPlatformClient.js +53 -43
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +383 -110
- package/sdk/platform/Discount/DiscountPlatformModel.js +117 -108
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +56 -36
- package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -19
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +4 -163
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +4 -1078
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +5 -141
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -177
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +30 -1123
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +24 -1135
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +17 -17
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +33 -33
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +19 -19
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +14 -14
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +24 -4
- package/sdk/platform/Lead/LeadPlatformClient.js +160 -4
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +60 -140
- package/sdk/platform/Lead/LeadPlatformModel.js +81 -162
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +29 -3
- package/sdk/platform/Lead/LeadPlatformValidator.js +28 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +19 -98
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +27 -662
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +91 -118
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +32 -127
- package/sdk/platform/Order/OrderPlatformClient.d.ts +406 -403
- package/sdk/platform/Order/OrderPlatformClient.js +1200 -1343
- package/sdk/platform/Order/OrderPlatformModel.d.ts +8665 -4505
- package/sdk/platform/Order/OrderPlatformModel.js +4088 -3601
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +666 -442
- package/sdk/platform/Order/OrderPlatformValidator.js +353 -312
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +67 -19
- package/sdk/platform/Partner/PartnerPlatformModel.js +26 -17
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +135 -382
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +937 -2452
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +100 -306
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +74 -305
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +56 -66
- package/sdk/platform/Payment/PaymentPlatformClient.js +124 -269
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +1307 -3536
- package/sdk/platform/Payment/PaymentPlatformModel.js +1389 -3692
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +35 -64
- package/sdk/platform/Payment/PaymentPlatformValidator.js +34 -60
- package/sdk/platform/PlatformClient.d.ts +0 -2
- package/sdk/platform/PlatformClient.js +0 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +12 -12
- package/sdk/platform/Rewards/RewardsPlatformModel.js +10 -10
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +64 -136
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +111 -521
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +75 -117
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +50 -105
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +160 -149
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +766 -545
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +6196 -3978
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3181 -3895
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +294 -220
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +205 -149
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +16 -4
- package/sdk/platform/Share/SharePlatformApplicationClient.js +86 -8
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +23 -6
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +16 -3
- package/sdk/platform/Share/SharePlatformModel.d.ts +53 -9
- package/sdk/platform/Share/SharePlatformModel.js +45 -5
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +17 -37
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +66 -204
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +25 -26
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +20 -31
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +8 -18
- package/sdk/platform/Theme/ThemePlatformClient.js +8 -85
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +17 -425
- package/sdk/platform/Theme/ThemePlatformModel.js +23 -329
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +3 -7
- package/sdk/platform/Theme/ThemePlatformValidator.js +2 -9
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +81 -18
- package/sdk/platform/User/UserPlatformApplicationClient.js +491 -27
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +126 -10
- package/sdk/platform/User/UserPlatformApplicationValidator.js +92 -7
- package/sdk/platform/User/UserPlatformModel.d.ts +317 -218
- package/sdk/platform/User/UserPlatformModel.js +253 -210
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
- package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +813 -426
- package/sdk/platform/Webhook/WebhookPlatformModel.js +446 -395
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
- package/sdk/platform/index.d.ts +0 -1
- package/sdk/platform/index.js +0 -2
- package/sdk/public/Catalog/CatalogPublicClient.d.ts +22 -0
- package/sdk/public/Catalog/CatalogPublicClient.js +133 -0
- package/sdk/public/Catalog/CatalogPublicModel.d.ts +158 -0
- package/sdk/public/Catalog/CatalogPublicModel.js +116 -0
- package/sdk/public/Catalog/CatalogPublicValidator.d.ts +55 -0
- package/sdk/public/Catalog/CatalogPublicValidator.js +35 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +4 -14
- package/sdk/public/Configuration/ConfigurationPublicClient.js +10 -113
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +46 -114
- package/sdk/public/Configuration/ConfigurationPublicModel.js +32 -117
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +1 -11
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +0 -12
- package/sdk/public/Content/ContentPublicClient.d.ts +36 -25
- package/sdk/public/Content/ContentPublicClient.js +254 -280
- package/sdk/public/Content/ContentPublicModel.d.ts +151 -38
- package/sdk/public/Content/ContentPublicModel.js +98 -44
- package/sdk/public/Content/ContentPublicValidator.d.ts +18 -17
- package/sdk/public/Content/ContentPublicValidator.js +26 -19
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +6 -11
- package/sdk/public/Partner/PartnerPublicModel.d.ts +248 -72
- package/sdk/public/Partner/PartnerPublicModel.js +81 -71
- package/sdk/public/Partner/PartnerPublicValidator.d.ts +2 -2
- package/sdk/public/Partner/PartnerPublicValidator.js +1 -1
- package/sdk/public/PublicClient.d.ts +2 -0
- package/sdk/public/PublicClient.js +4 -0
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +9 -48
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +215 -67
- package/sdk/public/Webhook/WebhookPublicModel.js +66 -61
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/public/index.d.ts +1 -0
- package/sdk/public/index.js +2 -0
- package/sdk/partner/Authorization/AuthorizationPartnerClient.d.ts +0 -66
- package/sdk/partner/Authorization/AuthorizationPartnerClient.js +0 -431
- package/sdk/partner/Authorization/AuthorizationPartnerModel.d.ts +0 -231
- package/sdk/partner/Authorization/AuthorizationPartnerModel.js +0 -152
- package/sdk/partner/Authorization/AuthorizationPartnerValidator.d.ts +0 -8
- package/sdk/partner/Authorization/AuthorizationPartnerValidator.js +0 -39
- package/sdk/partner/Catalog/CatalogPartnerClient.d.ts +0 -26
- package/sdk/partner/Catalog/CatalogPartnerClient.js +0 -173
- package/sdk/partner/Catalog/CatalogPartnerModel.d.ts +0 -238
- package/sdk/partner/Catalog/CatalogPartnerModel.js +0 -248
- package/sdk/partner/Catalog/CatalogPartnerValidator.d.ts +0 -5
- package/sdk/partner/Catalog/CatalogPartnerValidator.js +0 -19
- package/sdk/partner/Payment/PaymentPartnerClient.d.ts +0 -116
- package/sdk/partner/Payment/PaymentPartnerClient.js +0 -857
- package/sdk/partner/Payment/PaymentPartnerModel.d.ts +0 -388
- package/sdk/partner/Payment/PaymentPartnerModel.js +0 -442
- package/sdk/partner/Payment/PaymentPartnerValidator.d.ts +0 -14
- package/sdk/partner/Payment/PaymentPartnerValidator.js +0 -74
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
- package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2895
- package/sdk/platform/Finance/FinancePlatformModel.js +0 -2150
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
- package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
|
@@ -1,19 +1,66 @@
|
|
|
1
1
|
export = ServiceabilityPlatformValidator;
|
|
2
|
+
/**
|
|
3
|
+
* @typedef BulkServiceabilityParam
|
|
4
|
+
* @property {string} extensionId - Unique Identifier of courier partner extension.
|
|
5
|
+
* @property {string} schemeId - Unique identifier for the scheme, used to fetch
|
|
6
|
+
* or modify scheme details.
|
|
7
|
+
* @property {ServiceabilityPlatformModel.BulkRegionJobDetails} body
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @typedef BulkTatParam
|
|
11
|
+
* @property {string} extensionId - Unique Identifier of courier partner extension.
|
|
12
|
+
* @property {string} schemeId - Unique identifier for the scheme, used to fetch
|
|
13
|
+
* or modify scheme details.
|
|
14
|
+
* @property {ServiceabilityPlatformModel.BulkRegionJobDetails} body
|
|
15
|
+
*/
|
|
2
16
|
/**
|
|
3
17
|
* @typedef CreateCourierPartnerAccountParam
|
|
4
|
-
* @property {ServiceabilityPlatformModel.
|
|
18
|
+
* @property {ServiceabilityPlatformModel.CourierAccountDetailsBody} body
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* @typedef CreateCourierPartnerSchemeParam
|
|
22
|
+
* @property {ServiceabilityPlatformModel.CourierPartnerSchemeDetailsModel} body
|
|
5
23
|
*/
|
|
6
24
|
/**
|
|
7
25
|
* @typedef CreatePackageMaterialParam
|
|
8
|
-
* @property {number} [pageNo] -
|
|
26
|
+
* @property {number} [pageNo] - The current page number for paginated results.
|
|
9
27
|
* @property {ServiceabilityPlatformModel.PackageMaterial} body
|
|
10
28
|
*/
|
|
11
29
|
/**
|
|
12
30
|
* @typedef CreatePackageMaterialRuleParam
|
|
13
|
-
* @property {ServiceabilityPlatformModel.
|
|
31
|
+
* @property {ServiceabilityPlatformModel.PackageRule} body
|
|
32
|
+
*/
|
|
33
|
+
/**
|
|
34
|
+
* @typedef GetBulkServiceabilityParam
|
|
35
|
+
* @property {string} extensionId - Unique Identifier of courier partner extension.
|
|
36
|
+
* @property {string} schemeId - Unique identifier for the scheme, used to fetch
|
|
37
|
+
* or modify scheme details.
|
|
38
|
+
* @property {number} [pageNo] - The current page number for paginated results.
|
|
39
|
+
* @property {number} [pageSize] - Determines the items to be displayed in a page
|
|
40
|
+
* @property {string} [batchId] - Unique identifier of bulk job
|
|
41
|
+
* @property {string} [action] - Import or export bulk type
|
|
42
|
+
* @property {string} [status] - Status of the bulk actions
|
|
43
|
+
* @property {string} [country] - Country for which bulk job is initiated
|
|
44
|
+
* @property {string} [region] - Region for which bulk job is initiated
|
|
45
|
+
* @property {string} [startDate] - Fetch job history after a particule date
|
|
46
|
+
* @property {string} [endDate] - Fetch job history before a particule date
|
|
47
|
+
*/
|
|
48
|
+
/**
|
|
49
|
+
* @typedef GetBulkTatParam
|
|
50
|
+
* @property {string} extensionId - Unique Identifier of courier partner extension.
|
|
51
|
+
* @property {string} schemeId - Unique identifier for the scheme, used to fetch
|
|
52
|
+
* or modify scheme details.
|
|
53
|
+
* @property {number} [pageNo] - The current page number for paginated results.
|
|
54
|
+
* @property {number} [pageSize] - Determines the items to be displayed in a page
|
|
55
|
+
* @property {string} [batchId] - Unique identifier of bulk job
|
|
56
|
+
* @property {string} [action] - Import or export bulk type
|
|
57
|
+
* @property {string} [status] - Status of the bulk actions
|
|
58
|
+
* @property {string} [country] - Country for which bulk job is initiated
|
|
59
|
+
* @property {string} [region] - Region for which bulk job is initiated
|
|
60
|
+
* @property {string} [startDate] - Fetch job history after a particule date
|
|
61
|
+
* @property {string} [endDate] - Fetch job history before a particule date
|
|
14
62
|
*/
|
|
15
63
|
/** @typedef GetCompanyConfigurationParam */
|
|
16
|
-
/** @typedef GetCompanySelfShipParam */
|
|
17
64
|
/**
|
|
18
65
|
* @typedef GetCountriesParam
|
|
19
66
|
* @property {boolean} [onboard] - Only fetch countries which allowed for
|
|
@@ -26,72 +73,43 @@ export = ServiceabilityPlatformValidator;
|
|
|
26
73
|
* @property {string} [hierarchy] - The search filter to filter countries based
|
|
27
74
|
* on their available hierarchy.
|
|
28
75
|
*/
|
|
29
|
-
/**
|
|
30
|
-
* @typedef GetCountryParam
|
|
31
|
-
* @property {string} countryIsoCode - The `country_iso_code` is ISO-2 (alpha-2)
|
|
32
|
-
* code for the country.
|
|
33
|
-
*/
|
|
34
76
|
/**
|
|
35
77
|
* @typedef GetCourierPartnerAccountParam
|
|
36
78
|
* @property {string} accountId - Unique ID of courier account
|
|
37
79
|
*/
|
|
38
80
|
/**
|
|
39
81
|
* @typedef GetCourierPartnerAccountsParam
|
|
40
|
-
* @property {number} [pageNo] -
|
|
82
|
+
* @property {number} [pageNo] - The current page number for paginated results.
|
|
41
83
|
* @property {number} [pageSize] - Determines the items to be displayed in a page
|
|
42
|
-
* @property {string} [stage] - Stage of the account.
|
|
84
|
+
* @property {string} [stage] - Stage of the account.
|
|
43
85
|
* @property {string} [paymentMode] - Filters dp accounts based on payment mode
|
|
44
86
|
* @property {string} [transportType] - Filters dp accounts based on transport_type
|
|
45
87
|
* @property {string[]} [accountIds] - Filters dp accounts based on their ids
|
|
46
88
|
* @property {boolean} [selfShip] - To filter self ship/non self ship dp accounts
|
|
47
|
-
* @property {boolean} [ownAccount] - Filters seller owned or
|
|
89
|
+
* @property {boolean} [ownAccount] - Filters seller owned or Fynd Managed dp accounts
|
|
48
90
|
* @property {string} [q] - Filters dp accounts based on case sensitive partial
|
|
49
91
|
* account name
|
|
50
92
|
*/
|
|
51
93
|
/**
|
|
52
|
-
* @typedef
|
|
53
|
-
* @property {
|
|
54
|
-
*
|
|
55
|
-
* @property {string} [isInstalled] - Filter to get installed extensions only
|
|
94
|
+
* @typedef GetCourierPartnerSchemeParam
|
|
95
|
+
* @property {string} schemeId - Unique identifier for the scheme, used to fetch
|
|
96
|
+
* or modify scheme details.
|
|
56
97
|
*/
|
|
57
98
|
/**
|
|
58
|
-
* @typedef
|
|
59
|
-
* @property {
|
|
60
|
-
*
|
|
61
|
-
* @property {string} [
|
|
99
|
+
* @typedef GetCourierPartnerSchemesParam
|
|
100
|
+
* @property {string} [schemeType] - Indicates whether a scheme is created by an
|
|
101
|
+
* admin for global purposes or customized for a specific company.
|
|
102
|
+
* @property {string} [paymentMode] - Indicates payment mode for a scheme.
|
|
103
|
+
* @property {string[]} [capabilities] - Indicates whether the scheme possesses
|
|
104
|
+
* certain capabilities.
|
|
105
|
+
* @property {string[]} [schemeIds] - List of scheme ids which need to be
|
|
106
|
+
* returned in the response.
|
|
62
107
|
*/
|
|
63
108
|
/**
|
|
64
|
-
* @typedef
|
|
65
|
-
* @property {
|
|
66
|
-
*
|
|
67
|
-
* @property {string} [
|
|
68
|
-
* country iso2 code.
|
|
69
|
-
* @property {string} [state] - A `state` contains a specific value of the
|
|
70
|
-
* state, province.
|
|
71
|
-
* @property {string} [city] - A `city` contains a specific value of the city.
|
|
72
|
-
* @property {number} [pageNo] - Page number.
|
|
73
|
-
* @property {number} [pageSize] - Page size.
|
|
74
|
-
* @property {string} [q] - Search.
|
|
75
|
-
* @property {string} [name] - Search for localities. Either provide a full name
|
|
76
|
-
* or a search term.
|
|
77
|
-
*/
|
|
78
|
-
/**
|
|
79
|
-
* @typedef GetLocalitiesByPrefixParam
|
|
80
|
-
* @property {number} [pageNo] - Starting index of the items.
|
|
81
|
-
* @property {number} [pageSize] - Number of items per page.
|
|
82
|
-
* @property {string} [q] - Localities starting with the specified prefix.
|
|
83
|
-
*/
|
|
84
|
-
/**
|
|
85
|
-
* @typedef GetLocalityParam
|
|
86
|
-
* @property {string} localityType - A `locality_type` contains value
|
|
87
|
-
* geographical division.
|
|
88
|
-
* @property {string} localityValue - A `locality_value` contains a specific
|
|
89
|
-
* name of the locality.
|
|
90
|
-
* @property {string} [country] - A `country` contains a specific value of the
|
|
91
|
-
* country iso2 code.
|
|
92
|
-
* @property {string} [state] - A `state` contains a specific value of the
|
|
93
|
-
* state, province.
|
|
94
|
-
* @property {string} [city] - A `city` contains a specific value of the city.
|
|
109
|
+
* @typedef GetInstalledCourierPartnerExtensionsParam
|
|
110
|
+
* @property {number} [pageNo] - The current page number for paginated results.
|
|
111
|
+
* @property {number} [pageSize] - Determines the items to be displayed in a page
|
|
112
|
+
* @property {string} [isInstalled] - Filter to get installed extensions only
|
|
95
113
|
*/
|
|
96
114
|
/**
|
|
97
115
|
* @typedef GetOptimalLocationsParam
|
|
@@ -99,9 +117,10 @@ export = ServiceabilityPlatformValidator;
|
|
|
99
117
|
*/
|
|
100
118
|
/**
|
|
101
119
|
* @typedef GetPackageMaterialListParam
|
|
102
|
-
* @property {number} [pageNo] -
|
|
120
|
+
* @property {number} [pageNo] - The current page number for paginated results.
|
|
103
121
|
* @property {number} [pageSize] - Determines the items to be displayed in a page
|
|
104
|
-
* @property {string} [q] -
|
|
122
|
+
* @property {string} [q] - Used to search for matching results based on the
|
|
123
|
+
* provided input.
|
|
105
124
|
* @property {string} [size] - Filters items based on given size
|
|
106
125
|
* @property {string} [packageType] - Filters items based on given package_type
|
|
107
126
|
*/
|
|
@@ -110,37 +129,42 @@ export = ServiceabilityPlatformValidator;
|
|
|
110
129
|
* @property {string} ruleId - A `package_material_rule_id` is a unique
|
|
111
130
|
* identifier for a Package Material Rule
|
|
112
131
|
*/
|
|
113
|
-
/**
|
|
114
|
-
* @typedef GetPackageMaterialRuleDetailsParam
|
|
115
|
-
* @property {string} ruleId - A `package_material_rule_id` is a unique
|
|
116
|
-
* identifier for a Package Material Rule
|
|
117
|
-
* @property {number} [pageNo] - Index of the item to start returning with
|
|
118
|
-
* @property {number} [pageSize] - Determines the items to be displayed in a page
|
|
119
|
-
* @property {string} [isActive] - Filters items based on given is_active
|
|
120
|
-
*/
|
|
121
132
|
/**
|
|
122
133
|
* @typedef GetPackageMaterialsParam
|
|
123
134
|
* @property {string} packageMaterialId - A `package_material_id` is a unique
|
|
124
135
|
* identifier for a Package Material
|
|
125
136
|
*/
|
|
126
137
|
/**
|
|
127
|
-
* @typedef
|
|
128
|
-
* @property {
|
|
138
|
+
* @typedef GetSampleFileServiceabilityStatusParam
|
|
139
|
+
* @property {number} [pageNo] - The current page number for paginated results.
|
|
140
|
+
* @property {number} [pageSize] - Determines the items to be displayed in a page
|
|
141
|
+
* @property {string} [batchId] - Batch id of the execution
|
|
142
|
+
*/
|
|
143
|
+
/** @typedef GetSelfShipDetailsParam */
|
|
144
|
+
/**
|
|
145
|
+
* @typedef SampleFileServiceabilityParam
|
|
146
|
+
* @property {ServiceabilityPlatformModel.BulkRegionServiceabilityTatDetails} body
|
|
129
147
|
*/
|
|
130
148
|
/**
|
|
131
|
-
* @typedef
|
|
132
|
-
* @property {ServiceabilityPlatformModel.
|
|
149
|
+
* @typedef UpdateCompanyConfigurationParam
|
|
150
|
+
* @property {ServiceabilityPlatformModel.CompanyConfigurationSchema} body
|
|
133
151
|
*/
|
|
134
152
|
/**
|
|
135
153
|
* @typedef UpdateCourierPartnerAccountParam
|
|
136
154
|
* @property {string} accountId - Unique ID of courier account
|
|
137
|
-
* @property {ServiceabilityPlatformModel.
|
|
155
|
+
* @property {ServiceabilityPlatformModel.CourierAccountDetailsBody} body
|
|
156
|
+
*/
|
|
157
|
+
/**
|
|
158
|
+
* @typedef UpdateCourierPartnerSchemeParam
|
|
159
|
+
* @property {string} schemeId - Unique identifier for the scheme, used to fetch
|
|
160
|
+
* or modify scheme details.
|
|
161
|
+
* @property {ServiceabilityPlatformModel.CourierPartnerSchemeUpdateDetailsSchema} body
|
|
138
162
|
*/
|
|
139
163
|
/**
|
|
140
164
|
* @typedef UpdatePackageMaterialRuleParam
|
|
141
165
|
* @property {string} ruleId - A `package_material_rule_id` is a unique
|
|
142
166
|
* identifier for a Package Material Rule
|
|
143
|
-
* @property {ServiceabilityPlatformModel.
|
|
167
|
+
* @property {ServiceabilityPlatformModel.PackageRule} body
|
|
144
168
|
*/
|
|
145
169
|
/**
|
|
146
170
|
* @typedef UpdatePackageMaterialsParam
|
|
@@ -149,78 +173,203 @@ export = ServiceabilityPlatformValidator;
|
|
|
149
173
|
* @property {ServiceabilityPlatformModel.PackageMaterial} body
|
|
150
174
|
*/
|
|
151
175
|
/**
|
|
152
|
-
* @typedef
|
|
153
|
-
* @property {
|
|
154
|
-
* @property {string} templateName - The type of address form.
|
|
155
|
-
* @property {ServiceabilityPlatformModel.ValidateAddressRequest} body
|
|
176
|
+
* @typedef UpdateSelfShipDetailsParam
|
|
177
|
+
* @property {ServiceabilityPlatformModel.SelfshipSchema} body
|
|
156
178
|
*/
|
|
157
179
|
declare class ServiceabilityPlatformValidator {
|
|
180
|
+
/** @returns {BulkServiceabilityParam} */
|
|
181
|
+
static bulkServiceability(): BulkServiceabilityParam;
|
|
182
|
+
/** @returns {BulkTatParam} */
|
|
183
|
+
static bulkTat(): BulkTatParam;
|
|
158
184
|
/** @returns {CreateCourierPartnerAccountParam} */
|
|
159
185
|
static createCourierPartnerAccount(): CreateCourierPartnerAccountParam;
|
|
186
|
+
/** @returns {CreateCourierPartnerSchemeParam} */
|
|
187
|
+
static createCourierPartnerScheme(): CreateCourierPartnerSchemeParam;
|
|
160
188
|
/** @returns {CreatePackageMaterialParam} */
|
|
161
189
|
static createPackageMaterial(): CreatePackageMaterialParam;
|
|
162
190
|
/** @returns {CreatePackageMaterialRuleParam} */
|
|
163
191
|
static createPackageMaterialRule(): CreatePackageMaterialRuleParam;
|
|
192
|
+
/** @returns {GetBulkServiceabilityParam} */
|
|
193
|
+
static getBulkServiceability(): GetBulkServiceabilityParam;
|
|
194
|
+
/** @returns {GetBulkTatParam} */
|
|
195
|
+
static getBulkTat(): GetBulkTatParam;
|
|
164
196
|
/** @returns {GetCompanyConfigurationParam} */
|
|
165
197
|
static getCompanyConfiguration(): any;
|
|
166
|
-
/** @returns {GetCompanySelfShipParam} */
|
|
167
|
-
static getCompanySelfShip(): any;
|
|
168
198
|
/** @returns {GetCountriesParam} */
|
|
169
199
|
static getCountries(): GetCountriesParam;
|
|
170
|
-
/** @returns {GetCountryParam} */
|
|
171
|
-
static getCountry(): GetCountryParam;
|
|
172
200
|
/** @returns {GetCourierPartnerAccountParam} */
|
|
173
201
|
static getCourierPartnerAccount(): GetCourierPartnerAccountParam;
|
|
174
202
|
/** @returns {GetCourierPartnerAccountsParam} */
|
|
175
203
|
static getCourierPartnerAccounts(): GetCourierPartnerAccountsParam;
|
|
204
|
+
/** @returns {GetCourierPartnerSchemeParam} */
|
|
205
|
+
static getCourierPartnerScheme(): GetCourierPartnerSchemeParam;
|
|
206
|
+
/** @returns {GetCourierPartnerSchemesParam} */
|
|
207
|
+
static getCourierPartnerSchemes(): GetCourierPartnerSchemesParam;
|
|
176
208
|
/** @returns {GetInstalledCourierPartnerExtensionsParam} */
|
|
177
209
|
static getInstalledCourierPartnerExtensions(): GetInstalledCourierPartnerExtensionsParam;
|
|
178
|
-
/** @returns {GetListPackageMaterialRuleDetailsParam} */
|
|
179
|
-
static getListPackageMaterialRuleDetails(): GetListPackageMaterialRuleDetailsParam;
|
|
180
|
-
/** @returns {GetLocalitiesParam} */
|
|
181
|
-
static getLocalities(): GetLocalitiesParam;
|
|
182
|
-
/** @returns {GetLocalitiesByPrefixParam} */
|
|
183
|
-
static getLocalitiesByPrefix(): GetLocalitiesByPrefixParam;
|
|
184
|
-
/** @returns {GetLocalityParam} */
|
|
185
|
-
static getLocality(): GetLocalityParam;
|
|
186
210
|
/** @returns {GetOptimalLocationsParam} */
|
|
187
211
|
static getOptimalLocations(): GetOptimalLocationsParam;
|
|
188
212
|
/** @returns {GetPackageMaterialListParam} */
|
|
189
213
|
static getPackageMaterialList(): GetPackageMaterialListParam;
|
|
190
214
|
/** @returns {GetPackageMaterialRuleParam} */
|
|
191
215
|
static getPackageMaterialRule(): GetPackageMaterialRuleParam;
|
|
192
|
-
/** @returns {GetPackageMaterialRuleDetailsParam} */
|
|
193
|
-
static getPackageMaterialRuleDetails(): GetPackageMaterialRuleDetailsParam;
|
|
194
216
|
/** @returns {GetPackageMaterialsParam} */
|
|
195
217
|
static getPackageMaterials(): GetPackageMaterialsParam;
|
|
218
|
+
/** @returns {GetSampleFileServiceabilityStatusParam} */
|
|
219
|
+
static getSampleFileServiceabilityStatus(): GetSampleFileServiceabilityStatusParam;
|
|
220
|
+
/** @returns {GetSelfShipDetailsParam} */
|
|
221
|
+
static getSelfShipDetails(): any;
|
|
222
|
+
/** @returns {SampleFileServiceabilityParam} */
|
|
223
|
+
static sampleFileServiceability(): SampleFileServiceabilityParam;
|
|
196
224
|
/** @returns {UpdateCompanyConfigurationParam} */
|
|
197
225
|
static updateCompanyConfiguration(): UpdateCompanyConfigurationParam;
|
|
198
|
-
/** @returns {UpdateCompanySelfShipParam} */
|
|
199
|
-
static updateCompanySelfShip(): UpdateCompanySelfShipParam;
|
|
200
226
|
/** @returns {UpdateCourierPartnerAccountParam} */
|
|
201
227
|
static updateCourierPartnerAccount(): UpdateCourierPartnerAccountParam;
|
|
228
|
+
/** @returns {UpdateCourierPartnerSchemeParam} */
|
|
229
|
+
static updateCourierPartnerScheme(): UpdateCourierPartnerSchemeParam;
|
|
202
230
|
/** @returns {UpdatePackageMaterialRuleParam} */
|
|
203
231
|
static updatePackageMaterialRule(): UpdatePackageMaterialRuleParam;
|
|
204
232
|
/** @returns {UpdatePackageMaterialsParam} */
|
|
205
233
|
static updatePackageMaterials(): UpdatePackageMaterialsParam;
|
|
206
|
-
/** @returns {
|
|
207
|
-
static
|
|
234
|
+
/** @returns {UpdateSelfShipDetailsParam} */
|
|
235
|
+
static updateSelfShipDetails(): UpdateSelfShipDetailsParam;
|
|
208
236
|
}
|
|
209
237
|
declare namespace ServiceabilityPlatformValidator {
|
|
210
|
-
export { CreateCourierPartnerAccountParam, CreatePackageMaterialParam, CreatePackageMaterialRuleParam,
|
|
238
|
+
export { BulkServiceabilityParam, BulkTatParam, CreateCourierPartnerAccountParam, CreateCourierPartnerSchemeParam, CreatePackageMaterialParam, CreatePackageMaterialRuleParam, GetBulkServiceabilityParam, GetBulkTatParam, GetCompanyConfigurationParam, GetCountriesParam, GetCourierPartnerAccountParam, GetCourierPartnerAccountsParam, GetCourierPartnerSchemeParam, GetCourierPartnerSchemesParam, GetInstalledCourierPartnerExtensionsParam, GetOptimalLocationsParam, GetPackageMaterialListParam, GetPackageMaterialRuleParam, GetPackageMaterialsParam, GetSampleFileServiceabilityStatusParam, GetSelfShipDetailsParam, SampleFileServiceabilityParam, UpdateCompanyConfigurationParam, UpdateCourierPartnerAccountParam, UpdateCourierPartnerSchemeParam, UpdatePackageMaterialRuleParam, UpdatePackageMaterialsParam, UpdateSelfShipDetailsParam };
|
|
211
239
|
}
|
|
240
|
+
type BulkServiceabilityParam = {
|
|
241
|
+
/**
|
|
242
|
+
* - Unique Identifier of courier partner extension.
|
|
243
|
+
*/
|
|
244
|
+
extensionId: string;
|
|
245
|
+
/**
|
|
246
|
+
* - Unique identifier for the scheme, used to fetch
|
|
247
|
+
* or modify scheme details.
|
|
248
|
+
*/
|
|
249
|
+
schemeId: string;
|
|
250
|
+
body: ServiceabilityPlatformModel.BulkRegionJobDetails;
|
|
251
|
+
};
|
|
252
|
+
type BulkTatParam = {
|
|
253
|
+
/**
|
|
254
|
+
* - Unique Identifier of courier partner extension.
|
|
255
|
+
*/
|
|
256
|
+
extensionId: string;
|
|
257
|
+
/**
|
|
258
|
+
* - Unique identifier for the scheme, used to fetch
|
|
259
|
+
* or modify scheme details.
|
|
260
|
+
*/
|
|
261
|
+
schemeId: string;
|
|
262
|
+
body: ServiceabilityPlatformModel.BulkRegionJobDetails;
|
|
263
|
+
};
|
|
212
264
|
type CreateCourierPartnerAccountParam = {
|
|
213
|
-
body: ServiceabilityPlatformModel.
|
|
265
|
+
body: ServiceabilityPlatformModel.CourierAccountDetailsBody;
|
|
266
|
+
};
|
|
267
|
+
type CreateCourierPartnerSchemeParam = {
|
|
268
|
+
body: ServiceabilityPlatformModel.CourierPartnerSchemeDetailsModel;
|
|
214
269
|
};
|
|
215
270
|
type CreatePackageMaterialParam = {
|
|
216
271
|
/**
|
|
217
|
-
* -
|
|
272
|
+
* - The current page number for paginated results.
|
|
218
273
|
*/
|
|
219
274
|
pageNo?: number;
|
|
220
275
|
body: ServiceabilityPlatformModel.PackageMaterial;
|
|
221
276
|
};
|
|
222
277
|
type CreatePackageMaterialRuleParam = {
|
|
223
|
-
body: ServiceabilityPlatformModel.
|
|
278
|
+
body: ServiceabilityPlatformModel.PackageRule;
|
|
279
|
+
};
|
|
280
|
+
type GetBulkServiceabilityParam = {
|
|
281
|
+
/**
|
|
282
|
+
* - Unique Identifier of courier partner extension.
|
|
283
|
+
*/
|
|
284
|
+
extensionId: string;
|
|
285
|
+
/**
|
|
286
|
+
* - Unique identifier for the scheme, used to fetch
|
|
287
|
+
* or modify scheme details.
|
|
288
|
+
*/
|
|
289
|
+
schemeId: string;
|
|
290
|
+
/**
|
|
291
|
+
* - The current page number for paginated results.
|
|
292
|
+
*/
|
|
293
|
+
pageNo?: number;
|
|
294
|
+
/**
|
|
295
|
+
* - Determines the items to be displayed in a page
|
|
296
|
+
*/
|
|
297
|
+
pageSize?: number;
|
|
298
|
+
/**
|
|
299
|
+
* - Unique identifier of bulk job
|
|
300
|
+
*/
|
|
301
|
+
batchId?: string;
|
|
302
|
+
/**
|
|
303
|
+
* - Import or export bulk type
|
|
304
|
+
*/
|
|
305
|
+
action?: string;
|
|
306
|
+
/**
|
|
307
|
+
* - Status of the bulk actions
|
|
308
|
+
*/
|
|
309
|
+
status?: string;
|
|
310
|
+
/**
|
|
311
|
+
* - Country for which bulk job is initiated
|
|
312
|
+
*/
|
|
313
|
+
country?: string;
|
|
314
|
+
/**
|
|
315
|
+
* - Region for which bulk job is initiated
|
|
316
|
+
*/
|
|
317
|
+
region?: string;
|
|
318
|
+
/**
|
|
319
|
+
* - Fetch job history after a particule date
|
|
320
|
+
*/
|
|
321
|
+
startDate?: string;
|
|
322
|
+
/**
|
|
323
|
+
* - Fetch job history before a particule date
|
|
324
|
+
*/
|
|
325
|
+
endDate?: string;
|
|
326
|
+
};
|
|
327
|
+
type GetBulkTatParam = {
|
|
328
|
+
/**
|
|
329
|
+
* - Unique Identifier of courier partner extension.
|
|
330
|
+
*/
|
|
331
|
+
extensionId: string;
|
|
332
|
+
/**
|
|
333
|
+
* - Unique identifier for the scheme, used to fetch
|
|
334
|
+
* or modify scheme details.
|
|
335
|
+
*/
|
|
336
|
+
schemeId: string;
|
|
337
|
+
/**
|
|
338
|
+
* - The current page number for paginated results.
|
|
339
|
+
*/
|
|
340
|
+
pageNo?: number;
|
|
341
|
+
/**
|
|
342
|
+
* - Determines the items to be displayed in a page
|
|
343
|
+
*/
|
|
344
|
+
pageSize?: number;
|
|
345
|
+
/**
|
|
346
|
+
* - Unique identifier of bulk job
|
|
347
|
+
*/
|
|
348
|
+
batchId?: string;
|
|
349
|
+
/**
|
|
350
|
+
* - Import or export bulk type
|
|
351
|
+
*/
|
|
352
|
+
action?: string;
|
|
353
|
+
/**
|
|
354
|
+
* - Status of the bulk actions
|
|
355
|
+
*/
|
|
356
|
+
status?: string;
|
|
357
|
+
/**
|
|
358
|
+
* - Country for which bulk job is initiated
|
|
359
|
+
*/
|
|
360
|
+
country?: string;
|
|
361
|
+
/**
|
|
362
|
+
* - Region for which bulk job is initiated
|
|
363
|
+
*/
|
|
364
|
+
region?: string;
|
|
365
|
+
/**
|
|
366
|
+
* - Fetch job history after a particule date
|
|
367
|
+
*/
|
|
368
|
+
startDate?: string;
|
|
369
|
+
/**
|
|
370
|
+
* - Fetch job history before a particule date
|
|
371
|
+
*/
|
|
372
|
+
endDate?: string;
|
|
224
373
|
};
|
|
225
374
|
type GetCountriesParam = {
|
|
226
375
|
/**
|
|
@@ -248,13 +397,6 @@ type GetCountriesParam = {
|
|
|
248
397
|
*/
|
|
249
398
|
hierarchy?: string;
|
|
250
399
|
};
|
|
251
|
-
type GetCountryParam = {
|
|
252
|
-
/**
|
|
253
|
-
* - The `country_iso_code` is ISO-2 (alpha-2)
|
|
254
|
-
* code for the country.
|
|
255
|
-
*/
|
|
256
|
-
countryIsoCode: string;
|
|
257
|
-
};
|
|
258
400
|
type GetCourierPartnerAccountParam = {
|
|
259
401
|
/**
|
|
260
402
|
* - Unique ID of courier account
|
|
@@ -263,7 +405,7 @@ type GetCourierPartnerAccountParam = {
|
|
|
263
405
|
};
|
|
264
406
|
type GetCourierPartnerAccountsParam = {
|
|
265
407
|
/**
|
|
266
|
-
* -
|
|
408
|
+
* - The current page number for paginated results.
|
|
267
409
|
*/
|
|
268
410
|
pageNo?: number;
|
|
269
411
|
/**
|
|
@@ -271,7 +413,7 @@ type GetCourierPartnerAccountsParam = {
|
|
|
271
413
|
*/
|
|
272
414
|
pageSize?: number;
|
|
273
415
|
/**
|
|
274
|
-
* - Stage of the account.
|
|
416
|
+
* - Stage of the account.
|
|
275
417
|
*/
|
|
276
418
|
stage?: string;
|
|
277
419
|
/**
|
|
@@ -291,7 +433,7 @@ type GetCourierPartnerAccountsParam = {
|
|
|
291
433
|
*/
|
|
292
434
|
selfShip?: boolean;
|
|
293
435
|
/**
|
|
294
|
-
* - Filters seller owned or
|
|
436
|
+
* - Filters seller owned or Fynd Managed dp accounts
|
|
295
437
|
*/
|
|
296
438
|
ownAccount?: boolean;
|
|
297
439
|
/**
|
|
@@ -300,118 +442,54 @@ type GetCourierPartnerAccountsParam = {
|
|
|
300
442
|
*/
|
|
301
443
|
q?: string;
|
|
302
444
|
};
|
|
303
|
-
type
|
|
304
|
-
/**
|
|
305
|
-
* - Index of the item to start returning with
|
|
306
|
-
*/
|
|
307
|
-
pageNo?: number;
|
|
308
|
-
/**
|
|
309
|
-
* - Determines the items to be displayed in a page
|
|
310
|
-
*/
|
|
311
|
-
pageSize?: number;
|
|
312
|
-
/**
|
|
313
|
-
* - Filter to get installed extensions only
|
|
314
|
-
*/
|
|
315
|
-
isInstalled?: string;
|
|
316
|
-
};
|
|
317
|
-
type GetListPackageMaterialRuleDetailsParam = {
|
|
318
|
-
/**
|
|
319
|
-
* - Index of the item to start returning with
|
|
320
|
-
*/
|
|
321
|
-
pageNo?: number;
|
|
322
|
-
/**
|
|
323
|
-
* - Determines the items to be displayed in a page
|
|
324
|
-
*/
|
|
325
|
-
pageSize?: number;
|
|
445
|
+
type GetCourierPartnerSchemeParam = {
|
|
326
446
|
/**
|
|
327
|
-
* -
|
|
447
|
+
* - Unique identifier for the scheme, used to fetch
|
|
448
|
+
* or modify scheme details.
|
|
328
449
|
*/
|
|
329
|
-
|
|
450
|
+
schemeId: string;
|
|
330
451
|
};
|
|
331
|
-
type
|
|
332
|
-
/**
|
|
333
|
-
* - A `locality_type` contains unique
|
|
334
|
-
* geographical division.
|
|
335
|
-
*/
|
|
336
|
-
localityType: string;
|
|
337
|
-
/**
|
|
338
|
-
* - A `country` contains a specific value of the
|
|
339
|
-
* country iso2 code.
|
|
340
|
-
*/
|
|
341
|
-
country?: string;
|
|
342
|
-
/**
|
|
343
|
-
* - A `state` contains a specific value of the
|
|
344
|
-
* state, province.
|
|
345
|
-
*/
|
|
346
|
-
state?: string;
|
|
347
|
-
/**
|
|
348
|
-
* - A `city` contains a specific value of the city.
|
|
349
|
-
*/
|
|
350
|
-
city?: string;
|
|
452
|
+
type GetCourierPartnerSchemesParam = {
|
|
351
453
|
/**
|
|
352
|
-
* -
|
|
454
|
+
* - Indicates whether a scheme is created by an
|
|
455
|
+
* admin for global purposes or customized for a specific company.
|
|
353
456
|
*/
|
|
354
|
-
|
|
457
|
+
schemeType?: string;
|
|
355
458
|
/**
|
|
356
|
-
* -
|
|
459
|
+
* - Indicates payment mode for a scheme.
|
|
357
460
|
*/
|
|
358
|
-
|
|
461
|
+
paymentMode?: string;
|
|
359
462
|
/**
|
|
360
|
-
* -
|
|
463
|
+
* - Indicates whether the scheme possesses
|
|
464
|
+
* certain capabilities.
|
|
361
465
|
*/
|
|
362
|
-
|
|
466
|
+
capabilities?: string[];
|
|
363
467
|
/**
|
|
364
|
-
* -
|
|
365
|
-
*
|
|
468
|
+
* - List of scheme ids which need to be
|
|
469
|
+
* returned in the response.
|
|
366
470
|
*/
|
|
367
|
-
|
|
471
|
+
schemeIds?: string[];
|
|
368
472
|
};
|
|
369
|
-
type
|
|
473
|
+
type GetInstalledCourierPartnerExtensionsParam = {
|
|
370
474
|
/**
|
|
371
|
-
* -
|
|
475
|
+
* - The current page number for paginated results.
|
|
372
476
|
*/
|
|
373
477
|
pageNo?: number;
|
|
374
478
|
/**
|
|
375
|
-
* -
|
|
479
|
+
* - Determines the items to be displayed in a page
|
|
376
480
|
*/
|
|
377
481
|
pageSize?: number;
|
|
378
482
|
/**
|
|
379
|
-
* -
|
|
380
|
-
*/
|
|
381
|
-
q?: string;
|
|
382
|
-
};
|
|
383
|
-
type GetLocalityParam = {
|
|
384
|
-
/**
|
|
385
|
-
* - A `locality_type` contains value
|
|
386
|
-
* geographical division.
|
|
387
|
-
*/
|
|
388
|
-
localityType: string;
|
|
389
|
-
/**
|
|
390
|
-
* - A `locality_value` contains a specific
|
|
391
|
-
* name of the locality.
|
|
392
|
-
*/
|
|
393
|
-
localityValue: string;
|
|
394
|
-
/**
|
|
395
|
-
* - A `country` contains a specific value of the
|
|
396
|
-
* country iso2 code.
|
|
397
|
-
*/
|
|
398
|
-
country?: string;
|
|
399
|
-
/**
|
|
400
|
-
* - A `state` contains a specific value of the
|
|
401
|
-
* state, province.
|
|
402
|
-
*/
|
|
403
|
-
state?: string;
|
|
404
|
-
/**
|
|
405
|
-
* - A `city` contains a specific value of the city.
|
|
483
|
+
* - Filter to get installed extensions only
|
|
406
484
|
*/
|
|
407
|
-
|
|
485
|
+
isInstalled?: string;
|
|
408
486
|
};
|
|
409
487
|
type GetOptimalLocationsParam = {
|
|
410
488
|
body: ServiceabilityPlatformModel.OptimlLocationsRequestSchema;
|
|
411
489
|
};
|
|
412
490
|
type GetPackageMaterialListParam = {
|
|
413
491
|
/**
|
|
414
|
-
* -
|
|
492
|
+
* - The current page number for paginated results.
|
|
415
493
|
*/
|
|
416
494
|
pageNo?: number;
|
|
417
495
|
/**
|
|
@@ -419,7 +497,8 @@ type GetPackageMaterialListParam = {
|
|
|
419
497
|
*/
|
|
420
498
|
pageSize?: number;
|
|
421
499
|
/**
|
|
422
|
-
* -
|
|
500
|
+
* - Used to search for matching results based on the
|
|
501
|
+
* provided input.
|
|
423
502
|
*/
|
|
424
503
|
q?: string;
|
|
425
504
|
/**
|
|
@@ -438,14 +517,16 @@ type GetPackageMaterialRuleParam = {
|
|
|
438
517
|
*/
|
|
439
518
|
ruleId: string;
|
|
440
519
|
};
|
|
441
|
-
type
|
|
520
|
+
type GetPackageMaterialsParam = {
|
|
442
521
|
/**
|
|
443
|
-
* - A `
|
|
444
|
-
* identifier for a Package Material
|
|
522
|
+
* - A `package_material_id` is a unique
|
|
523
|
+
* identifier for a Package Material
|
|
445
524
|
*/
|
|
446
|
-
|
|
525
|
+
packageMaterialId: string;
|
|
526
|
+
};
|
|
527
|
+
type GetSampleFileServiceabilityStatusParam = {
|
|
447
528
|
/**
|
|
448
|
-
* -
|
|
529
|
+
* - The current page number for paginated results.
|
|
449
530
|
*/
|
|
450
531
|
pageNo?: number;
|
|
451
532
|
/**
|
|
@@ -453,29 +534,30 @@ type GetPackageMaterialRuleDetailsParam = {
|
|
|
453
534
|
*/
|
|
454
535
|
pageSize?: number;
|
|
455
536
|
/**
|
|
456
|
-
* -
|
|
537
|
+
* - Batch id of the execution
|
|
457
538
|
*/
|
|
458
|
-
|
|
539
|
+
batchId?: string;
|
|
459
540
|
};
|
|
460
|
-
type
|
|
461
|
-
|
|
462
|
-
* - A `package_material_id` is a unique
|
|
463
|
-
* identifier for a Package Material
|
|
464
|
-
*/
|
|
465
|
-
packageMaterialId: string;
|
|
541
|
+
type SampleFileServiceabilityParam = {
|
|
542
|
+
body: ServiceabilityPlatformModel.BulkRegionServiceabilityTatDetails;
|
|
466
543
|
};
|
|
467
544
|
type UpdateCompanyConfigurationParam = {
|
|
468
|
-
body: ServiceabilityPlatformModel.
|
|
469
|
-
};
|
|
470
|
-
type UpdateCompanySelfShipParam = {
|
|
471
|
-
body: ServiceabilityPlatformModel.CompanySelfShip;
|
|
545
|
+
body: ServiceabilityPlatformModel.CompanyConfigurationSchema;
|
|
472
546
|
};
|
|
473
547
|
type UpdateCourierPartnerAccountParam = {
|
|
474
548
|
/**
|
|
475
549
|
* - Unique ID of courier account
|
|
476
550
|
*/
|
|
477
551
|
accountId: string;
|
|
478
|
-
body: ServiceabilityPlatformModel.
|
|
552
|
+
body: ServiceabilityPlatformModel.CourierAccountDetailsBody;
|
|
553
|
+
};
|
|
554
|
+
type UpdateCourierPartnerSchemeParam = {
|
|
555
|
+
/**
|
|
556
|
+
* - Unique identifier for the scheme, used to fetch
|
|
557
|
+
* or modify scheme details.
|
|
558
|
+
*/
|
|
559
|
+
schemeId: string;
|
|
560
|
+
body: ServiceabilityPlatformModel.CourierPartnerSchemeUpdateDetailsSchema;
|
|
479
561
|
};
|
|
480
562
|
type UpdatePackageMaterialRuleParam = {
|
|
481
563
|
/**
|
|
@@ -483,7 +565,7 @@ type UpdatePackageMaterialRuleParam = {
|
|
|
483
565
|
* identifier for a Package Material Rule
|
|
484
566
|
*/
|
|
485
567
|
ruleId: string;
|
|
486
|
-
body: ServiceabilityPlatformModel.
|
|
568
|
+
body: ServiceabilityPlatformModel.PackageRule;
|
|
487
569
|
};
|
|
488
570
|
type UpdatePackageMaterialsParam = {
|
|
489
571
|
/**
|
|
@@ -493,17 +575,9 @@ type UpdatePackageMaterialsParam = {
|
|
|
493
575
|
packageMaterialId: string;
|
|
494
576
|
body: ServiceabilityPlatformModel.PackageMaterial;
|
|
495
577
|
};
|
|
496
|
-
type
|
|
497
|
-
|
|
498
|
-
* - The ISO code of the country.
|
|
499
|
-
*/
|
|
500
|
-
countryIsoCode: string;
|
|
501
|
-
/**
|
|
502
|
-
* - The type of address form.
|
|
503
|
-
*/
|
|
504
|
-
templateName: string;
|
|
505
|
-
body: ServiceabilityPlatformModel.ValidateAddressRequest;
|
|
578
|
+
type UpdateSelfShipDetailsParam = {
|
|
579
|
+
body: ServiceabilityPlatformModel.SelfshipSchema;
|
|
506
580
|
};
|
|
507
581
|
type GetCompanyConfigurationParam = any;
|
|
508
|
-
type
|
|
582
|
+
type GetSelfShipDetailsParam = any;
|
|
509
583
|
import ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
|