@gofynd/fdk-client-javascript 1.4.15-beta.14 → 1.4.15-beta.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.
- package/README.md +23 -26
- package/package.json +5 -1
- package/sdk/application/ApplicationClient.d.ts +5 -6
- package/sdk/application/ApplicationClient.js +24 -20
- package/sdk/application/Cart/CartApplicationClient.d.ts +133 -83
- package/sdk/application/Cart/CartApplicationClient.js +444 -76
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +132 -114
- package/sdk/application/Catalog/CatalogApplicationClient.js +209 -126
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
- package/sdk/application/Common/CommonApplicationClient.js +4 -4
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +3 -3
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +58 -36
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +73 -29
- package/sdk/application/Content/ContentApplicationClient.d.ts +95 -66
- package/sdk/application/Content/ContentApplicationClient.js +274 -111
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +11 -11
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +10 -10
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +111 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +7 -7
- package/sdk/application/Lead/LeadApplicationClient.js +6 -6
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +37 -57
- package/sdk/application/Logistic/LogisticApplicationClient.js +117 -180
- package/sdk/application/Order/OrderApplicationClient.d.ts +63 -21
- package/sdk/application/Order/OrderApplicationClient.js +217 -17
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +179 -149
- package/sdk/application/Payment/PaymentApplicationClient.js +301 -167
- package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
- package/sdk/application/Share/ShareApplicationClient.js +7 -7
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +7 -7
- package/sdk/application/Theme/ThemeApplicationClient.js +10 -6
- package/sdk/application/User/UserApplicationClient.d.ts +103 -53
- package/sdk/application/User/UserApplicationClient.js +308 -49
- package/sdk/common/AxiosHelper.js +11 -4
- package/sdk/common/Constant.d.ts +27 -4
- package/sdk/common/Constant.js +33 -6
- package/sdk/common/utils.d.ts +10 -0
- package/sdk/common/utils.js +24 -3
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +46 -16
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +266 -40
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +163 -19
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +158 -14
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +5 -2
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +23 -7
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +9 -9
- package/sdk/partner/Lead/LeadPartnerClient.js +9 -9
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +14 -9
- package/sdk/partner/Lead/LeadPartnerModel.js +19 -17
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +264 -49
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +2116 -252
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +2256 -258
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +1187 -230
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +21 -1
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +218 -13
- package/sdk/partner/PartnerClient.d.ts +5 -2
- package/sdk/partner/PartnerClient.js +21 -7
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +32 -34
- package/sdk/partner/Theme/ThemePartnerClient.js +42 -44
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +142 -43
- package/sdk/partner/Theme/ThemePartnerModel.js +129 -44
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +83 -27
- package/sdk/partner/Webhook/WebhookPartnerClient.js +446 -27
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +920 -185
- package/sdk/partner/Webhook/WebhookPartnerModel.js +462 -154
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +5 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +41 -3
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +8 -7
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +17 -11
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +4 -1
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +68 -13
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +44 -6
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +3 -33
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +4 -244
- 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 +15 -15
- package/sdk/platform/Billing/BillingPlatformClient.js +18 -18
- 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 +266 -203
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +1446 -500
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +729 -100
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +446 -82
- package/sdk/platform/Cart/CartPlatformModel.d.ts +6927 -1396
- package/sdk/platform/Cart/CartPlatformModel.js +3065 -1316
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +433 -248
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1662 -559
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +464 -159
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +304 -87
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +383 -234
- package/sdk/platform/Catalog/CatalogPlatformClient.js +2475 -1557
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +9573 -2678
- package/sdk/platform/Catalog/CatalogPlatformModel.js +5033 -1973
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +364 -117
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +281 -104
- package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -4
- package/sdk/platform/Common/CommonPlatformClient.js +6 -5
- package/sdk/platform/Common/CommonPlatformModel.d.ts +36 -25
- package/sdk/platform/Common/CommonPlatformModel.js +25 -14
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +80 -153
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +102 -541
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +36 -49
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +20 -60
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +1 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +189 -43
- package/sdk/platform/Communication/CommunicationPlatformModel.js +165 -42
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +58 -81
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +68 -116
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +291 -249
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +243 -234
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +78 -65
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +101 -88
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +20 -20
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +19 -19
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +68 -34
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +174 -41
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +667 -244
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +474 -155
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +366 -280
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1435 -753
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +323 -223
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +335 -205
- package/sdk/platform/Content/ContentPlatformClient.d.ts +304 -106
- package/sdk/platform/Content/ContentPlatformClient.js +1842 -450
- package/sdk/platform/Content/ContentPlatformModel.d.ts +2582 -566
- package/sdk/platform/Content/ContentPlatformModel.js +1426 -558
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +293 -114
- package/sdk/platform/Content/ContentPlatformValidator.js +328 -101
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +59 -23
- package/sdk/platform/Discount/DiscountPlatformClient.js +84 -23
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +403 -110
- package/sdk/platform/Discount/DiscountPlatformModel.js +121 -107
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +56 -36
- package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -19
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +12 -110
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +14 -684
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +5 -94
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -115
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +20 -20
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +22 -22
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +90 -920
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +53 -949
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +10 -10
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +10 -10
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +11 -11
- package/sdk/platform/Lead/LeadPlatformClient.js +11 -11
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +14 -9
- package/sdk/platform/Lead/LeadPlatformModel.js +20 -18
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +56 -9
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +340 -10
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +128 -24
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +81 -19
- package/sdk/platform/Order/OrderPlatformClient.d.ts +517 -160
- package/sdk/platform/Order/OrderPlatformClient.js +1623 -384
- package/sdk/platform/Order/OrderPlatformModel.d.ts +10372 -1587
- package/sdk/platform/Order/OrderPlatformModel.js +5726 -1512
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +539 -123
- package/sdk/platform/Order/OrderPlatformValidator.js +323 -92
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +8 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +11 -9
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +6 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +3 -2
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +77 -25
- package/sdk/platform/Partner/PartnerPlatformModel.js +32 -21
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +144 -219
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +307 -796
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +86 -121
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +80 -138
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +30 -30
- package/sdk/platform/Payment/PaymentPlatformClient.js +30 -30
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +901 -761
- package/sdk/platform/Payment/PaymentPlatformModel.js +663 -583
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
- package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
- package/sdk/platform/PlatformApplicationClient.d.ts +0 -2
- package/sdk/platform/PlatformApplicationClient.js +0 -4
- package/sdk/platform/PlatformClient.d.ts +5 -4
- package/sdk/platform/PlatformClient.js +32 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +526 -69
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +3337 -337
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +603 -38
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +529 -32
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +184 -133
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +780 -491
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +9408 -1666
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +5720 -1765
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +257 -180
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +185 -127
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +7 -7
- package/sdk/platform/Share/SharePlatformApplicationClient.js +7 -7
- package/sdk/platform/Share/SharePlatformModel.d.ts +45 -9
- package/sdk/platform/Share/SharePlatformModel.js +31 -6
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +26 -26
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +38 -29
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +18 -3
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +10 -2
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +4 -4
- package/sdk/platform/Theme/ThemePlatformClient.js +4 -4
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +103 -17
- package/sdk/platform/Theme/ThemePlatformModel.js +92 -23
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +167 -45
- package/sdk/platform/User/UserPlatformApplicationClient.js +950 -67
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +189 -3
- package/sdk/platform/User/UserPlatformApplicationValidator.js +157 -3
- package/sdk/platform/User/UserPlatformModel.d.ts +880 -47
- package/sdk/platform/User/UserPlatformModel.js +607 -46
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +33 -86
- package/sdk/platform/Webhook/WebhookPlatformClient.js +79 -474
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +861 -422
- package/sdk/platform/Webhook/WebhookPlatformModel.js +469 -391
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
- package/sdk/platform/index.d.ts +0 -2
- package/sdk/platform/index.js +0 -4
- 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 +5 -4
- package/sdk/public/Configuration/ConfigurationPublicClient.js +9 -8
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +41 -21
- package/sdk/public/Configuration/ConfigurationPublicModel.js +28 -12
- package/sdk/public/Content/ContentPublicClient.d.ts +145 -2
- package/sdk/public/Content/ContentPublicClient.js +1067 -17
- package/sdk/public/Content/ContentPublicModel.d.ts +704 -3
- package/sdk/public/Content/ContentPublicModel.js +751 -3
- package/sdk/public/Content/ContentPublicValidator.d.ts +94 -3
- package/sdk/public/Content/ContentPublicValidator.js +119 -2
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +1 -1
- 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 +5 -2
- package/sdk/public/PublicClient.js +16 -6
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +13 -13
- package/sdk/public/Webhook/WebhookPublicClient.js +13 -13
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +249 -67
- package/sdk/public/Webhook/WebhookPublicModel.js +81 -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/utility.d.ts +3 -0
- package/utility.js +7 -0
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +0 -79
- package/sdk/application/Rewards/RewardsApplicationClient.js +0 -315
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +0 -19
- package/sdk/application/Webhook/WebhookApplicationClient.js +0 -72
- 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 -2890
- package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
- package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +0 -136
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +0 -976
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +0 -152
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +0 -157
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +0 -382
- package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -408
|
@@ -4,13 +4,33 @@ declare class LogisticsValidator {
|
|
|
4
4
|
static getSampleFileServiceabilityStatus(): any;
|
|
5
5
|
static bulkTat(): any;
|
|
6
6
|
static getBulkTat(): any;
|
|
7
|
+
static createDeliveryTime(): any;
|
|
8
|
+
static getDeliveryTimes(): any;
|
|
9
|
+
static getDeliveryTime(): any;
|
|
10
|
+
static updateDeliveryTime(): any;
|
|
11
|
+
static deleteDeliveryTime(): any;
|
|
12
|
+
static createServiceability(): any;
|
|
13
|
+
static getServiceabilities(): any;
|
|
14
|
+
static getServiceability(): any;
|
|
15
|
+
static updateServiceability(): any;
|
|
16
|
+
static deleteServiceability(): any;
|
|
7
17
|
static bulkServiceability(): any;
|
|
8
18
|
static getBulkServiceability(): any;
|
|
9
19
|
static createCourierPartnerAccount(): any;
|
|
10
20
|
static getCourierPartnerAccounts(): any;
|
|
11
21
|
static updateCourierPartnerAccount(): any;
|
|
12
22
|
static getCourierPartnerAccount(): any;
|
|
23
|
+
static getCountries(): any;
|
|
13
24
|
static createCourierPartnerScheme(): any;
|
|
25
|
+
static getCourierPartnerSchemes(): any;
|
|
14
26
|
static updateCourierPartnerScheme(): any;
|
|
15
|
-
static
|
|
27
|
+
static getCourierPartnerScheme(): any;
|
|
28
|
+
static getSampleFileRateCard(): any;
|
|
29
|
+
static bulkRateCard(): any;
|
|
30
|
+
static getBulkRateCard(): any;
|
|
31
|
+
static getSampleFileRateZone(): any;
|
|
32
|
+
static createRateZoneBulkJob(): any;
|
|
33
|
+
static getBulkRateZoneJobHistory(): any;
|
|
34
|
+
static getRateZoneConfig(): any;
|
|
35
|
+
static updateRateZoneConfiguration(): any;
|
|
16
36
|
}
|
|
@@ -4,7 +4,7 @@ const LogisticsModel = require("./LogisticsPartnerModel");
|
|
|
4
4
|
class LogisticsValidator {
|
|
5
5
|
static sampleFileServiceability() {
|
|
6
6
|
return Joi.object({
|
|
7
|
-
body: LogisticsModel.
|
|
7
|
+
body: LogisticsModel.BulkRegionServiceabilityTatDetails().required(),
|
|
8
8
|
}).required();
|
|
9
9
|
}
|
|
10
10
|
|
|
@@ -20,19 +20,19 @@ class LogisticsValidator {
|
|
|
20
20
|
return Joi.object({
|
|
21
21
|
extensionId: Joi.string().allow("").required(),
|
|
22
22
|
schemeId: Joi.string().allow("").required(),
|
|
23
|
-
body: LogisticsModel.
|
|
23
|
+
body: LogisticsModel.BulkRegionJobDetails().required(),
|
|
24
24
|
}).required();
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
static getBulkTat() {
|
|
28
28
|
return Joi.object({
|
|
29
|
-
extensionId: Joi.string().allow("").required(),
|
|
29
|
+
extensionId: Joi.string().allow("").allow(null).required(),
|
|
30
30
|
schemeId: Joi.string().allow("").required(),
|
|
31
31
|
pageNo: Joi.number(),
|
|
32
32
|
pageSize: Joi.number(),
|
|
33
33
|
batchId: Joi.string().allow(""),
|
|
34
34
|
action: Joi.string().allow(""),
|
|
35
|
-
status: Joi.string().allow(""),
|
|
35
|
+
status: Joi.string().allow("").allow(null),
|
|
36
36
|
country: Joi.string().allow(""),
|
|
37
37
|
region: Joi.string().allow(""),
|
|
38
38
|
startDate: Joi.string().allow(""),
|
|
@@ -40,11 +40,125 @@ class LogisticsValidator {
|
|
|
40
40
|
}).required();
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
static createDeliveryTime() {
|
|
44
|
+
return Joi.object({
|
|
45
|
+
partnerOrgId: Joi.string().allow("").required(),
|
|
46
|
+
courierPartnerExtensionId: Joi.string().allow("").required(),
|
|
47
|
+
schemeId: Joi.string().allow("").required(),
|
|
48
|
+
body: LogisticsModel.RegionTatDetails().required(),
|
|
49
|
+
}).required();
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
static getDeliveryTimes() {
|
|
53
|
+
return Joi.object({
|
|
54
|
+
partnerOrgId: Joi.string().allow("").required(),
|
|
55
|
+
courierPartnerExtensionId: Joi.string().allow("").required(),
|
|
56
|
+
schemeId: Joi.string().allow("").required(),
|
|
57
|
+
pageNo: Joi.number(),
|
|
58
|
+
pageSize: Joi.number(),
|
|
59
|
+
fromCountryCode: Joi.string().allow(""),
|
|
60
|
+
fromStateCode: Joi.string().allow(""),
|
|
61
|
+
fromCityCode: Joi.string().allow(""),
|
|
62
|
+
fromSectorCode: Joi.string().allow(""),
|
|
63
|
+
fromPincode: Joi.string().allow(""),
|
|
64
|
+
toCountryCode: Joi.string().allow(""),
|
|
65
|
+
toStateCode: Joi.string().allow(""),
|
|
66
|
+
toCityCode: Joi.string().allow(""),
|
|
67
|
+
toSectorCode: Joi.string().allow(""),
|
|
68
|
+
toPincode: Joi.string().allow(""),
|
|
69
|
+
}).required();
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
static getDeliveryTime() {
|
|
73
|
+
return Joi.object({
|
|
74
|
+
partnerOrgId: Joi.string().allow("").required(),
|
|
75
|
+
courierPartnerExtensionId: Joi.string().allow("").required(),
|
|
76
|
+
schemeId: Joi.string().allow("").required(),
|
|
77
|
+
id: Joi.string().allow("").required(),
|
|
78
|
+
}).required();
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
static updateDeliveryTime() {
|
|
82
|
+
return Joi.object({
|
|
83
|
+
partnerOrgId: Joi.string().allow("").required(),
|
|
84
|
+
courierPartnerExtensionId: Joi.string().allow("").required(),
|
|
85
|
+
schemeId: Joi.string().allow("").required(),
|
|
86
|
+
id: Joi.string().allow("").required(),
|
|
87
|
+
body: LogisticsModel.TATUpdateDetails().required(),
|
|
88
|
+
}).required();
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
static deleteDeliveryTime() {
|
|
92
|
+
return Joi.object({
|
|
93
|
+
partnerOrgId: Joi.string().allow("").required(),
|
|
94
|
+
courierPartnerExtensionId: Joi.string().allow("").required(),
|
|
95
|
+
schemeId: Joi.string().allow("").required(),
|
|
96
|
+
id: Joi.string().allow("").required(),
|
|
97
|
+
}).required();
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
static createServiceability() {
|
|
101
|
+
return Joi.object({
|
|
102
|
+
partnerOrgId: Joi.string().allow("").required(),
|
|
103
|
+
courierPartnerExtensionId: Joi.string().allow("").required(),
|
|
104
|
+
schemeId: Joi.string().allow("").required(),
|
|
105
|
+
body: LogisticsModel.RegionServiceabilityDetails().required(),
|
|
106
|
+
}).required();
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
static getServiceabilities() {
|
|
110
|
+
return Joi.object({
|
|
111
|
+
partnerOrgId: Joi.string().allow("").required(),
|
|
112
|
+
courierPartnerExtensionId: Joi.string().allow("").required(),
|
|
113
|
+
schemeId: Joi.string().allow("").required(),
|
|
114
|
+
pageNo: Joi.number(),
|
|
115
|
+
pageSize: Joi.number(),
|
|
116
|
+
countryCode: Joi.string().allow(""),
|
|
117
|
+
stateCode: Joi.string().allow(""),
|
|
118
|
+
cityCode: Joi.string().allow(""),
|
|
119
|
+
sectorCode: Joi.string().allow(""),
|
|
120
|
+
pincode: Joi.string().allow(""),
|
|
121
|
+
firstMile: Joi.boolean(),
|
|
122
|
+
lastMile: Joi.boolean(),
|
|
123
|
+
doorstepReturn: Joi.boolean(),
|
|
124
|
+
doorstepQc: Joi.boolean(),
|
|
125
|
+
installation: Joi.boolean(),
|
|
126
|
+
}).required();
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
static getServiceability() {
|
|
130
|
+
return Joi.object({
|
|
131
|
+
partnerOrgId: Joi.string().allow("").required(),
|
|
132
|
+
courierPartnerExtensionId: Joi.string().allow("").required(),
|
|
133
|
+
schemeId: Joi.string().allow("").required(),
|
|
134
|
+
id: Joi.string().allow("").required(),
|
|
135
|
+
}).required();
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
static updateServiceability() {
|
|
139
|
+
return Joi.object({
|
|
140
|
+
partnerOrgId: Joi.string().allow("").required(),
|
|
141
|
+
courierPartnerExtensionId: Joi.string().allow("").required(),
|
|
142
|
+
schemeId: Joi.string().allow("").required(),
|
|
143
|
+
id: Joi.string().allow("").required(),
|
|
144
|
+
body: LogisticsModel.ServiceabilityDetails().required(),
|
|
145
|
+
}).required();
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
static deleteServiceability() {
|
|
149
|
+
return Joi.object({
|
|
150
|
+
partnerOrgId: Joi.string().allow("").required(),
|
|
151
|
+
courierPartnerExtensionId: Joi.string().allow("").required(),
|
|
152
|
+
schemeId: Joi.string().allow("").required(),
|
|
153
|
+
id: Joi.string().allow("").required(),
|
|
154
|
+
}).required();
|
|
155
|
+
}
|
|
156
|
+
|
|
43
157
|
static bulkServiceability() {
|
|
44
158
|
return Joi.object({
|
|
45
159
|
extensionId: Joi.string().allow("").required(),
|
|
46
160
|
schemeId: Joi.string().allow("").required(),
|
|
47
|
-
body: LogisticsModel.
|
|
161
|
+
body: LogisticsModel.BulkRegionJobDetails().required(),
|
|
48
162
|
}).required();
|
|
49
163
|
}
|
|
50
164
|
|
|
@@ -56,7 +170,7 @@ class LogisticsValidator {
|
|
|
56
170
|
pageSize: Joi.number(),
|
|
57
171
|
batchId: Joi.string().allow(""),
|
|
58
172
|
action: Joi.string().allow(""),
|
|
59
|
-
status: Joi.string().allow(""),
|
|
173
|
+
status: Joi.string().allow("").allow(null),
|
|
60
174
|
country: Joi.string().allow(""),
|
|
61
175
|
region: Joi.string().allow(""),
|
|
62
176
|
startDate: Joi.string().allow(""),
|
|
@@ -67,7 +181,7 @@ class LogisticsValidator {
|
|
|
67
181
|
static createCourierPartnerAccount() {
|
|
68
182
|
return Joi.object({
|
|
69
183
|
companyId: Joi.number().required(),
|
|
70
|
-
body: LogisticsModel.
|
|
184
|
+
body: LogisticsModel.CourierAccountDetailsBody().required(),
|
|
71
185
|
}).required();
|
|
72
186
|
}
|
|
73
187
|
|
|
@@ -79,6 +193,10 @@ class LogisticsValidator {
|
|
|
79
193
|
stage: Joi.string().allow(""),
|
|
80
194
|
paymentMode: Joi.string().allow(""),
|
|
81
195
|
transportType: Joi.string().allow(""),
|
|
196
|
+
accountIds: Joi.array().items(Joi.string().allow("")),
|
|
197
|
+
selfShip: Joi.boolean(),
|
|
198
|
+
ownAccount: Joi.boolean(),
|
|
199
|
+
q: Joi.string().allow(""),
|
|
82
200
|
}).required();
|
|
83
201
|
}
|
|
84
202
|
|
|
@@ -86,7 +204,7 @@ class LogisticsValidator {
|
|
|
86
204
|
return Joi.object({
|
|
87
205
|
companyId: Joi.number().required(),
|
|
88
206
|
accountId: Joi.string().allow("").required(),
|
|
89
|
-
body: LogisticsModel.
|
|
207
|
+
body: LogisticsModel.CourierAccountDetailsBody().required(),
|
|
90
208
|
}).required();
|
|
91
209
|
}
|
|
92
210
|
|
|
@@ -97,25 +215,112 @@ class LogisticsValidator {
|
|
|
97
215
|
}).required();
|
|
98
216
|
}
|
|
99
217
|
|
|
218
|
+
static getCountries() {
|
|
219
|
+
return Joi.object({
|
|
220
|
+
onboard: Joi.boolean(),
|
|
221
|
+
pageNo: Joi.number(),
|
|
222
|
+
pageSize: Joi.number(),
|
|
223
|
+
q: Joi.string().allow(""),
|
|
224
|
+
hierarchy: Joi.string().allow(""),
|
|
225
|
+
}).required();
|
|
226
|
+
}
|
|
227
|
+
|
|
100
228
|
static createCourierPartnerScheme() {
|
|
101
229
|
return Joi.object({
|
|
102
|
-
body: LogisticsModel.
|
|
230
|
+
body: LogisticsModel.CourierPartnerSchemeDetailsModel().required(),
|
|
231
|
+
}).required();
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
static getCourierPartnerSchemes() {
|
|
235
|
+
return Joi.object({
|
|
236
|
+
extensionId: Joi.string().allow(""),
|
|
237
|
+
schemeType: Joi.string().allow(""),
|
|
238
|
+
paymentMode: Joi.string().allow(""),
|
|
239
|
+
capabilities: Joi.array().items(Joi.string().allow("")),
|
|
240
|
+
schemeIds: Joi.array().items(Joi.string().allow("")),
|
|
103
241
|
}).required();
|
|
104
242
|
}
|
|
105
243
|
|
|
106
244
|
static updateCourierPartnerScheme() {
|
|
107
245
|
return Joi.object({
|
|
108
246
|
schemeId: Joi.string().allow("").required(),
|
|
109
|
-
body: LogisticsModel.
|
|
247
|
+
body: LogisticsModel.CourierPartnerSchemeUpdateDetails().required(),
|
|
110
248
|
}).required();
|
|
111
249
|
}
|
|
112
250
|
|
|
113
|
-
static
|
|
251
|
+
static getCourierPartnerScheme() {
|
|
252
|
+
return Joi.object({
|
|
253
|
+
schemeId: Joi.string().allow("").required(),
|
|
254
|
+
}).required();
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
static getSampleFileRateCard() {
|
|
258
|
+
return Joi.object({}).required();
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
static bulkRateCard() {
|
|
262
|
+
return Joi.object({
|
|
263
|
+
extensionId: Joi.string().allow("").required(),
|
|
264
|
+
schemeId: Joi.string().allow("").required(),
|
|
265
|
+
body: LogisticsModel.BulkRateCardJobDetails().required(),
|
|
266
|
+
}).required();
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
static getBulkRateCard() {
|
|
114
270
|
return Joi.object({
|
|
115
|
-
|
|
271
|
+
extensionId: Joi.string().allow("").required(),
|
|
272
|
+
schemeId: Joi.string().allow("").required(),
|
|
116
273
|
pageNo: Joi.number(),
|
|
117
274
|
pageSize: Joi.number(),
|
|
118
|
-
|
|
275
|
+
batchId: Joi.string().allow(""),
|
|
276
|
+
action: Joi.string().allow(""),
|
|
277
|
+
status: Joi.string().allow("").allow(null),
|
|
278
|
+
startDate: Joi.string().allow(""),
|
|
279
|
+
endDate: Joi.string().allow(""),
|
|
280
|
+
}).required();
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
static getSampleFileRateZone() {
|
|
284
|
+
return Joi.object({
|
|
285
|
+
body: LogisticsModel.SampleFileRateZoneRequestSchema().required(),
|
|
286
|
+
}).required();
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
static createRateZoneBulkJob() {
|
|
290
|
+
return Joi.object({
|
|
291
|
+
extensionId: Joi.string().allow("").required(),
|
|
292
|
+
schemeId: Joi.string().allow("").required(),
|
|
293
|
+
body: LogisticsModel.RateZoneBulkJobDetails().required(),
|
|
294
|
+
}).required();
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
static getBulkRateZoneJobHistory() {
|
|
298
|
+
return Joi.object({
|
|
299
|
+
extensionId: Joi.string().allow("").required(),
|
|
300
|
+
schemeId: Joi.string().allow("").required(),
|
|
301
|
+
pageNo: Joi.number(),
|
|
302
|
+
pageSize: Joi.number(),
|
|
303
|
+
batchId: Joi.string().allow(""),
|
|
304
|
+
action: Joi.string().allow(""),
|
|
305
|
+
status: Joi.string().allow(""),
|
|
306
|
+
zoneType: Joi.string().allow(""),
|
|
307
|
+
startDate: Joi.string().allow(""),
|
|
308
|
+
endDate: Joi.string().allow(""),
|
|
309
|
+
}).required();
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
static getRateZoneConfig() {
|
|
313
|
+
return Joi.object({
|
|
314
|
+
extensionId: Joi.string().allow("").required(),
|
|
315
|
+
schemeId: Joi.string().allow("").required(),
|
|
316
|
+
}).required();
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
static updateRateZoneConfiguration() {
|
|
320
|
+
return Joi.object({
|
|
321
|
+
extensionId: Joi.string().allow("").required(),
|
|
322
|
+
schemeId: Joi.string().allow("").required(),
|
|
323
|
+
body: LogisticsModel.RateZoneConfigurationDetails().required(),
|
|
119
324
|
}).required();
|
|
120
325
|
}
|
|
121
326
|
}
|
|
@@ -11,8 +11,8 @@ declare class PartnerClient {
|
|
|
11
11
|
* @param {import("./PartnerConfig")} config - The configuration for the
|
|
12
12
|
* partner client.
|
|
13
13
|
*/
|
|
14
|
-
constructor(config: import("./PartnerConfig"));
|
|
15
|
-
config:
|
|
14
|
+
constructor(config: import("./PartnerConfig"), options: any);
|
|
15
|
+
config: PartnerConfig;
|
|
16
16
|
fileStorage: FileStorage;
|
|
17
17
|
lead: Lead;
|
|
18
18
|
logistics: Logistics;
|
|
@@ -33,7 +33,10 @@ declare class PartnerClient {
|
|
|
33
33
|
headers: any;
|
|
34
34
|
responseHeaders?: boolean;
|
|
35
35
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
36
|
+
getAccesstokenObj(options: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
37
|
+
setToken(token: any): void;
|
|
36
38
|
}
|
|
39
|
+
import PartnerConfig = require("./PartnerConfig");
|
|
37
40
|
import FileStorage = require("./FileStorage/FileStoragePartnerClient");
|
|
38
41
|
import Lead = require("./Lead/LeadPartnerClient");
|
|
39
42
|
import Logistics = require("./Logistics/LogisticsPartnerClient");
|
|
@@ -10,6 +10,7 @@ const Webhook = require("./Webhook/WebhookPartnerClient");
|
|
|
10
10
|
|
|
11
11
|
const { FDKClientValidationError } = require("../common/FDKError");
|
|
12
12
|
const { execute } = require("./PartnerAPIClient");
|
|
13
|
+
const PartnerConfig = require("./PartnerConfig");
|
|
13
14
|
|
|
14
15
|
/**
|
|
15
16
|
* Represents the client for the partner APIs.
|
|
@@ -23,13 +24,18 @@ class PartnerClient {
|
|
|
23
24
|
* @param {import("./PartnerConfig")} config - The configuration for the
|
|
24
25
|
* partner client.
|
|
25
26
|
*/
|
|
26
|
-
constructor(config) {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
constructor(config, options) {
|
|
28
|
+
if (config instanceof PartnerConfig) {
|
|
29
|
+
this.config = config;
|
|
30
|
+
} else {
|
|
31
|
+
let partnerConfig = new PartnerConfig(config, options);
|
|
32
|
+
this.config = partnerConfig;
|
|
33
|
+
}
|
|
34
|
+
this.fileStorage = new FileStorage(this.config);
|
|
35
|
+
this.lead = new Lead(this.config);
|
|
36
|
+
this.logistics = new Logistics(this.config);
|
|
37
|
+
this.theme = new Theme(this.config);
|
|
38
|
+
this.webhook = new Webhook(this.config);
|
|
33
39
|
}
|
|
34
40
|
|
|
35
41
|
/**
|
|
@@ -58,6 +64,14 @@ class PartnerClient {
|
|
|
58
64
|
responseHeaders,
|
|
59
65
|
});
|
|
60
66
|
}
|
|
67
|
+
|
|
68
|
+
getAccesstokenObj(options) {
|
|
69
|
+
return this.config.oauthClient.getAccesstokenObj(options);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
setToken(token) {
|
|
73
|
+
this.config.oauthClient.setToken(token);
|
|
74
|
+
}
|
|
61
75
|
}
|
|
62
76
|
|
|
63
77
|
module.exports = PartnerClient;
|
|
@@ -9,7 +9,7 @@ declare class Theme {
|
|
|
9
9
|
* @returns {Promise<ThemePartnerModel.AllAvailablePageSchema>} - Success response
|
|
10
10
|
* @name getAllPages
|
|
11
11
|
* @summary: Get all pages
|
|
12
|
-
* @description: Retrieve a list of all pages available in the partner server setup. - Check out [method documentation](https://
|
|
12
|
+
* @description: Retrieve a list of all pages available in the partner server setup. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/partner/theme/getAllPages/).
|
|
13
13
|
*/
|
|
14
14
|
getAllPages({ companyId, applicationId, themeId, requestHeaders }?: ThemePartnerValidator.GetAllPagesParam, { responseHeaders }?: object): Promise<ThemePartnerModel.AllAvailablePageSchema>;
|
|
15
15
|
/**
|
|
@@ -19,7 +19,7 @@ declare class Theme {
|
|
|
19
19
|
* @returns {Promise<ThemePartnerModel.AvailablePageSchema>} - Success response
|
|
20
20
|
* @name createPage
|
|
21
21
|
* @summary: Create page
|
|
22
|
-
* @description: Add a new page to the partner server configurations. - Check out [method documentation](https://
|
|
22
|
+
* @description: Add a new page to the partner server configurations. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/partner/theme/createPage/).
|
|
23
23
|
*/
|
|
24
24
|
createPage({ companyId, applicationId, themeId, body, requestHeaders }?: ThemePartnerValidator.CreatePageParam, { responseHeaders }?: object): Promise<ThemePartnerModel.AvailablePageSchema>;
|
|
25
25
|
/**
|
|
@@ -29,7 +29,7 @@ declare class Theme {
|
|
|
29
29
|
* @returns {Promise<ThemePartnerModel.AllAvailablePageSchema>} - Success response
|
|
30
30
|
* @name updateMultiplePages
|
|
31
31
|
* @summary: Update multiple pages
|
|
32
|
-
* @description: Modify and update multiple pages in the partner server setup. - Check out [method documentation](https://
|
|
32
|
+
* @description: Modify and update multiple pages in the partner server setup. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/partner/theme/updateMultiplePages/).
|
|
33
33
|
*/
|
|
34
34
|
updateMultiplePages({ companyId, applicationId, themeId, body, requestHeaders }?: ThemePartnerValidator.UpdateMultiplePagesParam, { responseHeaders }?: object): Promise<ThemePartnerModel.AllAvailablePageSchema>;
|
|
35
35
|
/**
|
|
@@ -39,7 +39,7 @@ declare class Theme {
|
|
|
39
39
|
* @returns {Promise<ThemePartnerModel.AvailablePageSchema>} - Success response
|
|
40
40
|
* @name getPage
|
|
41
41
|
* @summary: Get page
|
|
42
|
-
* @description: Obtain detailed information about a specific page in the partner server. - Check out [method documentation](https://
|
|
42
|
+
* @description: Obtain detailed information about a specific page in the partner server. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/partner/theme/getPage/).
|
|
43
43
|
*/
|
|
44
44
|
getPage({ companyId, applicationId, themeId, pageValue, requestHeaders }?: ThemePartnerValidator.GetPageParam, { responseHeaders }?: object): Promise<ThemePartnerModel.AvailablePageSchema>;
|
|
45
45
|
/**
|
|
@@ -49,7 +49,7 @@ declare class Theme {
|
|
|
49
49
|
* @returns {Promise<ThemePartnerModel.AvailablePageSchema>} - Success response
|
|
50
50
|
* @name updatePage
|
|
51
51
|
* @summary: Update page
|
|
52
|
-
* @description: Modify and update information related to a specific page in the partner server. - Check out [method documentation](https://
|
|
52
|
+
* @description: Modify and update information related to a specific page in the partner server. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/partner/theme/updatePage/).
|
|
53
53
|
*/
|
|
54
54
|
updatePage({ companyId, applicationId, themeId, pageValue, body, requestHeaders }?: ThemePartnerValidator.UpdatePageParam, { responseHeaders }?: object): Promise<ThemePartnerModel.AvailablePageSchema>;
|
|
55
55
|
/**
|
|
@@ -59,7 +59,7 @@ declare class Theme {
|
|
|
59
59
|
* @returns {Promise<ThemePartnerModel.AvailablePageSchema>} - Success response
|
|
60
60
|
* @name deletePage
|
|
61
61
|
* @summary: Delete page
|
|
62
|
-
* @description: Remove a page from the partner server configurations. - Check out [method documentation](https://
|
|
62
|
+
* @description: Remove a page from the partner server configurations. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/partner/theme/deletePage/).
|
|
63
63
|
*/
|
|
64
64
|
deletePage({ companyId, applicationId, themeId, pageValue, requestHeaders }?: ThemePartnerValidator.DeletePageParam, { responseHeaders }?: object): Promise<ThemePartnerModel.AvailablePageSchema>;
|
|
65
65
|
/**
|
|
@@ -69,7 +69,7 @@ declare class Theme {
|
|
|
69
69
|
* @returns {Promise<ThemePartnerModel.ThemesSchema[]>} - Success response
|
|
70
70
|
* @name getApplicationThemes
|
|
71
71
|
* @summary: Get application themes
|
|
72
|
-
* @description: Retrieve a list of themes available for the partner server application. - Check out [method documentation](https://
|
|
72
|
+
* @description: Retrieve a list of themes available for the partner server application. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/partner/theme/getApplicationThemes/).
|
|
73
73
|
*/
|
|
74
74
|
getApplicationThemes({ companyId, applicationId, requestHeaders }?: ThemePartnerValidator.GetApplicationThemesParam, { responseHeaders }?: object): Promise<ThemePartnerModel.ThemesSchema[]>;
|
|
75
75
|
/**
|
|
@@ -79,7 +79,7 @@ declare class Theme {
|
|
|
79
79
|
* @returns {Promise<ThemePartnerModel.ThemesSchema>} - Success response
|
|
80
80
|
* @name getThemeById
|
|
81
81
|
* @summary: Get theme by ID
|
|
82
|
-
* @description: Obtain detailed information about a theme using its unique ID. - Check out [method documentation](https://
|
|
82
|
+
* @description: Obtain detailed information about a theme using its unique ID. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/partner/theme/getThemeById/).
|
|
83
83
|
*/
|
|
84
84
|
getThemeById({ companyId, applicationId, themeId, requestHeaders }?: ThemePartnerValidator.GetThemeByIdParam, { responseHeaders }?: object): Promise<ThemePartnerModel.ThemesSchema>;
|
|
85
85
|
/**
|
|
@@ -89,7 +89,7 @@ declare class Theme {
|
|
|
89
89
|
* @returns {Promise<ThemePartnerModel.ThemesSchema>} - Success response
|
|
90
90
|
* @name updateTheme
|
|
91
91
|
* @summary: Update theme
|
|
92
|
-
* @description: Modify and update information related to a theme in the partner server. - Check out [method documentation](https://
|
|
92
|
+
* @description: Modify and update information related to a theme in the partner server. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/partner/theme/updateTheme/).
|
|
93
93
|
*/
|
|
94
94
|
updateTheme({ companyId, applicationId, themeId, body, requestHeaders }?: ThemePartnerValidator.UpdateThemeParam, { responseHeaders }?: object): Promise<ThemePartnerModel.ThemesSchema>;
|
|
95
95
|
/**
|
|
@@ -99,7 +99,7 @@ declare class Theme {
|
|
|
99
99
|
* @returns {Promise<ThemePartnerModel.ThemesSchema>} - Success response
|
|
100
100
|
* @name deleteTheme
|
|
101
101
|
* @summary: Delete theme
|
|
102
|
-
* @description: Remove a theme from the partner server configurations. - Check out [method documentation](https://
|
|
102
|
+
* @description: Remove a theme from the partner server configurations. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/partner/theme/deleteTheme/).
|
|
103
103
|
*/
|
|
104
104
|
deleteTheme({ companyId, applicationId, themeId, requestHeaders }?: ThemePartnerValidator.DeleteThemeParam, { responseHeaders }?: object): Promise<ThemePartnerModel.ThemesSchema>;
|
|
105
105
|
/**
|
|
@@ -109,7 +109,7 @@ declare class Theme {
|
|
|
109
109
|
* @returns {Promise<ThemePartnerModel.MarketplaceThemeSchema>} - Success response
|
|
110
110
|
* @name getOrganizationThemes
|
|
111
111
|
* @summary: Get organization themes
|
|
112
|
-
* @description: Retrieve a list of themes associated with partner server organizations. - Check out [method documentation](https://
|
|
112
|
+
* @description: Retrieve a list of themes associated with partner server organizations. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/partner/theme/getOrganizationThemes/).
|
|
113
113
|
*/
|
|
114
114
|
getOrganizationThemes({ status, pageSize, pageNo, requestHeaders }?: ThemePartnerValidator.GetOrganizationThemesParam, { responseHeaders }?: object): Promise<ThemePartnerModel.MarketplaceThemeSchema>;
|
|
115
115
|
/**
|
|
@@ -119,7 +119,7 @@ declare class Theme {
|
|
|
119
119
|
* @returns {Promise<ThemePartnerModel.MarketplaceTheme>} - Success response
|
|
120
120
|
* @name getOrganizationThemeDetails
|
|
121
121
|
* @summary: Get organization theme details
|
|
122
|
-
* @description: Obtain detailed information about a theme within partner server organizations. - Check out [method documentation](https://
|
|
122
|
+
* @description: Obtain detailed information about a theme within partner server organizations. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/partner/theme/getOrganizationThemeDetails/).
|
|
123
123
|
*/
|
|
124
124
|
getOrganizationThemeDetails({ themeId, requestHeaders }?: ThemePartnerValidator.GetOrganizationThemeDetailsParam, { responseHeaders }?: object): Promise<ThemePartnerModel.MarketplaceTheme>;
|
|
125
125
|
/**
|
|
@@ -129,7 +129,7 @@ declare class Theme {
|
|
|
129
129
|
* @returns {Promise<ThemePartnerModel.MarketplaceTheme>} - Success response
|
|
130
130
|
* @name updateDraftTheme
|
|
131
131
|
* @summary: Update draft theme
|
|
132
|
-
* @description: Modify and update a draft theme in partner server organizations. - Check out [method documentation](https://
|
|
132
|
+
* @description: Modify and update a draft theme in partner server organizations. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/partner/theme/updateDraftTheme/).
|
|
133
133
|
*/
|
|
134
134
|
updateDraftTheme({ themeId, body, requestHeaders }?: ThemePartnerValidator.UpdateDraftThemeParam, { responseHeaders }?: object): Promise<ThemePartnerModel.MarketplaceTheme>;
|
|
135
135
|
/**
|
|
@@ -139,7 +139,7 @@ declare class Theme {
|
|
|
139
139
|
* @returns {Promise<ThemePartnerModel.MarketplaceTheme>} - Success response
|
|
140
140
|
* @name submitOrganizationTheme
|
|
141
141
|
* @summary: Submit organization theme
|
|
142
|
-
* @description: Initiate the process of submitting a theme within partner server organizations. - Check out [method documentation](https://
|
|
142
|
+
* @description: Initiate the process of submitting a theme within partner server organizations. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/partner/theme/submitOrganizationTheme/).
|
|
143
143
|
*/
|
|
144
144
|
submitOrganizationTheme({ themeId, body, requestHeaders }?: ThemePartnerValidator.SubmitOrganizationThemeParam, { responseHeaders }?: object): Promise<ThemePartnerModel.MarketplaceTheme>;
|
|
145
145
|
/**
|
|
@@ -149,7 +149,7 @@ declare class Theme {
|
|
|
149
149
|
* @returns {Promise<ThemePartnerModel.MarketplaceTheme>} - Success response
|
|
150
150
|
* @name deleteOrganizationTheme
|
|
151
151
|
* @summary: Delete organization theme
|
|
152
|
-
* @description: Remove a theme from partner server organizations. - Check out [method documentation](https://
|
|
152
|
+
* @description: Remove a theme from partner server organizations. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/partner/theme/deleteOrganizationTheme/).
|
|
153
153
|
*/
|
|
154
154
|
deleteOrganizationTheme({ themeId, requestHeaders }?: ThemePartnerValidator.DeleteOrganizationThemeParam, { responseHeaders }?: object): Promise<ThemePartnerModel.MarketplaceTheme>;
|
|
155
155
|
/**
|
|
@@ -159,7 +159,7 @@ declare class Theme {
|
|
|
159
159
|
* @returns {Promise<ThemePartnerModel.MarketplaceTheme[]>} - Success response
|
|
160
160
|
* @name getLatestVersionOfThemeBySlug
|
|
161
161
|
* @summary: Get latest version of theme by slug
|
|
162
|
-
* @description: Retrieve the most recent version of a theme using its slug. - Check out [method documentation](https://
|
|
162
|
+
* @description: Retrieve the most recent version of a theme using its slug. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/partner/theme/getLatestVersionOfThemeBySlug/).
|
|
163
163
|
*/
|
|
164
164
|
getLatestVersionOfThemeBySlug({ slugName, requestHeaders }?: ThemePartnerValidator.GetLatestVersionOfThemeBySlugParam, { responseHeaders }?: object): Promise<ThemePartnerModel.MarketplaceTheme[]>;
|
|
165
165
|
/**
|
|
@@ -169,51 +169,49 @@ declare class Theme {
|
|
|
169
169
|
* @returns {Promise<ThemePartnerModel.MarketplaceTheme>} - Success response
|
|
170
170
|
* @name createNewThemeInOrganization
|
|
171
171
|
* @summary: Create new theme in organization
|
|
172
|
-
* @description: Add a new theme to partner server organizations. - Check out [method documentation](https://
|
|
172
|
+
* @description: Add a new theme to partner server organizations. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/partner/theme/createNewThemeInOrganization/).
|
|
173
173
|
*/
|
|
174
174
|
createNewThemeInOrganization({ body, slug, requestHeaders }?: ThemePartnerValidator.CreateNewThemeInOrganizationParam, { responseHeaders }?: object): Promise<ThemePartnerModel.MarketplaceTheme>;
|
|
175
175
|
/**
|
|
176
176
|
* @param {ThemePartnerValidator.CreateExtensionSectionDraftParam} arg - Arg object.
|
|
177
177
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
178
178
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
179
|
-
* @returns {Promise<ThemePartnerModel.
|
|
180
|
-
* Success response
|
|
179
|
+
* @returns {Promise<ThemePartnerModel.ExtensionSectionDraft>} - Success response
|
|
181
180
|
* @name createExtensionSectionDraft
|
|
182
181
|
* @summary: Draft extension section
|
|
183
|
-
* @description: Create a new draft for an extension section within the specified organization. - Check out [method documentation](https://
|
|
182
|
+
* @description: Create a new draft for an extension section within the specified organization. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/partner/theme/createExtensionSectionDraft/).
|
|
184
183
|
*/
|
|
185
|
-
createExtensionSectionDraft({ extensionId, body, requestHeaders }?: ThemePartnerValidator.CreateExtensionSectionDraftParam, { responseHeaders }?: object): Promise<ThemePartnerModel.
|
|
184
|
+
createExtensionSectionDraft({ extensionId, body, requestHeaders }?: ThemePartnerValidator.CreateExtensionSectionDraftParam, { responseHeaders }?: object): Promise<ThemePartnerModel.ExtensionSectionDraft>;
|
|
186
185
|
/**
|
|
187
186
|
* @param {ThemePartnerValidator.PublishExtensionSectionsParam} arg - Arg object.
|
|
188
187
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
189
188
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
190
|
-
* @returns {Promise<ThemePartnerModel.
|
|
191
|
-
* Success response
|
|
189
|
+
* @returns {Promise<ThemePartnerModel.ExtensionSectionPublish>} - Success response
|
|
192
190
|
* @name publishExtensionSections
|
|
193
191
|
* @summary: Publish an extension section
|
|
194
|
-
* @description: Publish a draft extension section within the specified organization. - Check out [method documentation](https://
|
|
192
|
+
* @description: Publish a draft extension section within the specified organization. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/partner/theme/publishExtensionSections/).
|
|
195
193
|
*/
|
|
196
|
-
publishExtensionSections({ extensionId, body, requestHeaders }?: ThemePartnerValidator.PublishExtensionSectionsParam, { responseHeaders }?: object): Promise<ThemePartnerModel.
|
|
194
|
+
publishExtensionSections({ extensionId, body, requestHeaders }?: ThemePartnerValidator.PublishExtensionSectionsParam, { responseHeaders }?: object): Promise<ThemePartnerModel.ExtensionSectionPublish>;
|
|
197
195
|
/**
|
|
198
196
|
* @param {ThemePartnerValidator.ApplyExtensionPreviewParam} arg - Arg object.
|
|
199
197
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
200
198
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
201
|
-
* @returns {Promise<ThemePartnerModel.
|
|
199
|
+
* @returns {Promise<ThemePartnerModel.ExtensionPreview>} - Success response
|
|
202
200
|
* @name applyExtensionPreview
|
|
203
201
|
* @summary: Start a Preview of Extension Section
|
|
204
|
-
* @description: Use this API to start a local session for previewing the extension section binding. - Check out [method documentation](https://
|
|
202
|
+
* @description: Use this API to start a local session for previewing the extension section binding. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/partner/theme/applyExtensionPreview/).
|
|
205
203
|
*/
|
|
206
|
-
applyExtensionPreview({ extensionSectionId, body, requestHeaders }?: ThemePartnerValidator.ApplyExtensionPreviewParam, { responseHeaders }?: object): Promise<ThemePartnerModel.
|
|
204
|
+
applyExtensionPreview({ extensionSectionId, body, requestHeaders }?: ThemePartnerValidator.ApplyExtensionPreviewParam, { responseHeaders }?: object): Promise<ThemePartnerModel.ExtensionPreview>;
|
|
207
205
|
/**
|
|
208
206
|
* @param {ThemePartnerValidator.RemoveExtensionPreviewParam} arg - Arg object.
|
|
209
207
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
210
208
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
211
|
-
* @returns {Promise<ThemePartnerModel.
|
|
209
|
+
* @returns {Promise<ThemePartnerModel.ExtensionPreview>} - Success response
|
|
212
210
|
* @name removeExtensionPreview
|
|
213
211
|
* @summary: Close a Preview of Extension Section
|
|
214
|
-
* @description: Use this API to close a local session for previewing the extension section binding - Check out [method documentation](https://
|
|
212
|
+
* @description: Use this API to close a local session for previewing the extension section binding - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/partner/theme/removeExtensionPreview/).
|
|
215
213
|
*/
|
|
216
|
-
removeExtensionPreview({ extensionSectionId, body, requestHeaders }?: ThemePartnerValidator.RemoveExtensionPreviewParam, { responseHeaders }?: object): Promise<ThemePartnerModel.
|
|
214
|
+
removeExtensionPreview({ extensionSectionId, body, requestHeaders }?: ThemePartnerValidator.RemoveExtensionPreviewParam, { responseHeaders }?: object): Promise<ThemePartnerModel.ExtensionPreview>;
|
|
217
215
|
/**
|
|
218
216
|
* @param {ThemePartnerValidator.GetThemeRejectionReasonsParam} arg - Arg object.
|
|
219
217
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -221,7 +219,7 @@ declare class Theme {
|
|
|
221
219
|
* @returns {Promise<ThemePartnerModel.ThemeRejectionReasons>} - Success response
|
|
222
220
|
* @name getThemeRejectionReasons
|
|
223
221
|
* @summary: Get theme rejection reasons
|
|
224
|
-
* @description: Retrieve reasons for the rejection of themes within partner server organizations. - Check out [method documentation](https://
|
|
222
|
+
* @description: Retrieve reasons for the rejection of themes within partner server organizations. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/partner/theme/getThemeRejectionReasons/).
|
|
225
223
|
*/
|
|
226
224
|
getThemeRejectionReasons({ themeId, requestHeaders }?: ThemePartnerValidator.GetThemeRejectionReasonsParam, { responseHeaders }?: object): Promise<ThemePartnerModel.ThemeRejectionReasons>;
|
|
227
225
|
/**
|
|
@@ -231,7 +229,7 @@ declare class Theme {
|
|
|
231
229
|
* @returns {Promise<ThemePartnerModel.MarketplaceThemeSchema>} - Success response
|
|
232
230
|
* @name getThemeVersions
|
|
233
231
|
* @summary: Get theme versions
|
|
234
|
-
* @description: Retrieve a list of versions available for a theme within partner server organizations. - Check out [method documentation](https://
|
|
232
|
+
* @description: Retrieve a list of versions available for a theme within partner server organizations. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/partner/theme/getThemeVersions/).
|
|
235
233
|
*/
|
|
236
234
|
getThemeVersions({ themeSlug, pageSize, pageNo, requestHeaders }?: ThemePartnerValidator.GetThemeVersionsParam, { responseHeaders }?: object): Promise<ThemePartnerModel.MarketplaceThemeSchema>;
|
|
237
235
|
/**
|
|
@@ -241,7 +239,7 @@ declare class Theme {
|
|
|
241
239
|
* @returns {Promise<ThemePartnerModel.ThemesSchema>} - Success response
|
|
242
240
|
* @name createTheme
|
|
243
241
|
* @summary: Create a new theme
|
|
244
|
-
* @description: Themes improve the look and appearance of a website. Use this API to create a theme. - Check out [method documentation](https://
|
|
242
|
+
* @description: Themes improve the look and appearance of a website. Use this API to create a theme. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/partner/theme/createTheme/).
|
|
245
243
|
*/
|
|
246
244
|
createTheme({ companyId, applicationId, body, requestHeaders }?: ThemePartnerValidator.CreateThemeParam, { responseHeaders }?: object): Promise<ThemePartnerModel.ThemesSchema>;
|
|
247
245
|
}
|