@gofynd/fdk-client-javascript 1.4.16-beta.3 → 1.4.16-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/ApplicationClient.d.ts +0 -2
- package/sdk/application/ApplicationClient.js +0 -2
- package/sdk/application/Cart/CartApplicationClient.d.ts +48 -68
- package/sdk/application/Cart/CartApplicationClient.js +27 -117
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +58 -59
- package/sdk/application/Catalog/CatalogApplicationClient.js +29 -30
- package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
- package/sdk/application/Common/CommonApplicationClient.js +1 -1
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +20 -20
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +10 -10
- package/sdk/application/Content/ContentApplicationClient.d.ts +30 -51
- package/sdk/application/Content/ContentApplicationClient.js +56 -161
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +11 -9
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +10 -7
- package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -2
- package/sdk/application/Lead/LeadApplicationClient.js +1 -1
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +15 -35
- package/sdk/application/Logistic/LogisticApplicationClient.js +8 -101
- package/sdk/application/Order/OrderApplicationClient.d.ts +12 -22
- package/sdk/application/Order/OrderApplicationClient.js +8 -56
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +87 -87
- package/sdk/application/Payment/PaymentApplicationClient.js +46 -46
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -13
- package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
- package/sdk/application/Theme/ThemeApplicationClient.js +2 -4
- package/sdk/application/User/UserApplicationClient.d.ts +10 -10
- package/sdk/application/User/UserApplicationClient.js +6 -6
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +3 -3
- package/sdk/common/Utility.js +6 -3
- package/sdk/common/utils.d.ts +0 -1
- package/sdk/common/utils.js +0 -14
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -86
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +24 -582
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +21 -116
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +16 -121
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -8
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -51
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
- package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +20 -126
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +20 -970
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +167 -1200
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +160 -571
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -10
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +7 -121
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -8
- package/sdk/partner/Theme/ThemePartnerClient.js +16 -14
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +37 -96
- package/sdk/partner/Theme/ThemePartnerModel.js +36 -90
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -28
- package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -103
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +179 -612
- package/sdk/partner/Webhook/WebhookPartnerModel.js +150 -253
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -1
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -11
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +4 -5
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +8 -14
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +9 -59
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +4 -40
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +130 -11
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +152 -12
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +388 -443
- package/sdk/platform/Billing/BillingPlatformModel.js +263 -280
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +18 -16
- package/sdk/platform/Billing/BillingPlatformValidator.js +9 -8
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +103 -134
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +115 -419
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +65 -121
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +44 -109
- package/sdk/platform/Cart/CartPlatformModel.d.ts +1294 -5068
- package/sdk/platform/Cart/CartPlatformModel.js +1217 -1992
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +183 -209
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +400 -457
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +142 -185
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +78 -96
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +117 -154
- package/sdk/platform/Catalog/CatalogPlatformClient.js +172 -292
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1647 -6389
- package/sdk/platform/Catalog/CatalogPlatformModel.js +1681 -3222
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +31 -72
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +24 -50
- package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -3
- package/sdk/platform/Common/CommonPlatformClient.js +2 -3
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +17 -16
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +17 -16
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +33 -43
- package/sdk/platform/Communication/CommunicationPlatformModel.js +34 -38
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +42 -46
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +43 -47
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +212 -210
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +33 -46
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +54 -67
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +24 -45
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +30 -134
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +131 -283
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +97 -219
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -37
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +8 -27
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +141 -204
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +475 -1073
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +141 -253
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +130 -256
- package/sdk/platform/Content/ContentPlatformClient.d.ts +106 -142
- package/sdk/platform/Content/ContentPlatformClient.js +336 -523
- package/sdk/platform/Content/ContentPlatformModel.d.ts +403 -1375
- package/sdk/platform/Content/ContentPlatformModel.js +394 -631
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +117 -168
- package/sdk/platform/Content/ContentPlatformValidator.js +108 -162
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +12 -14
- package/sdk/platform/Discount/DiscountPlatformClient.js +12 -14
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
- package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +39 -95
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +63 -462
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +15 -62
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +13 -75
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +22 -20
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +24 -21
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +116 -370
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +104 -313
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
- package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +2890 -0
- package/sdk/platform/Finance/FinancePlatformModel.js +2148 -0
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
- package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
- package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +6 -17
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +7 -85
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +24 -95
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +19 -39
- package/sdk/platform/Order/OrderPlatformClient.d.ts +96 -153
- package/sdk/platform/Order/OrderPlatformClient.js +198 -416
- package/sdk/platform/Order/OrderPlatformModel.d.ts +1286 -7619
- package/sdk/platform/Order/OrderPlatformModel.js +1265 -3922
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +109 -270
- package/sdk/platform/Order/OrderPlatformValidator.js +77 -135
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
- package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +105 -93
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +141 -129
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +319 -333
- package/sdk/platform/Payment/PaymentPlatformModel.js +278 -288
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
- package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
- package/sdk/platform/PlatformClient.d.ts +2 -0
- package/sdk/platform/PlatformClient.js +4 -0
- 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 +9 -9
- package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +36 -46
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +41 -132
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +17 -46
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +14 -34
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +46 -40
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +68 -62
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +612 -1845
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +554 -886
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +49 -45
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +30 -28
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +5 -5
- package/sdk/platform/Share/SharePlatformApplicationClient.js +9 -9
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +6 -3
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +2 -2
- package/sdk/platform/Share/SharePlatformModel.d.ts +7 -46
- package/sdk/platform/Share/SharePlatformModel.js +6 -31
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +4 -8
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +0 -5
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -2
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +11 -37
- package/sdk/platform/Theme/ThemePlatformModel.js +15 -33
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
- package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
- package/sdk/platform/User/UserPlatformModel.js +23 -23
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
- package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +427 -720
- package/sdk/platform/Webhook/WebhookPlatformModel.js +386 -410
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
- package/sdk/platform/index.d.ts +1 -0
- package/sdk/platform/index.js +2 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.js +5 -6
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
- package/sdk/public/Content/ContentPublicClient.d.ts +2 -112
- package/sdk/public/Content/ContentPublicClient.js +6 -810
- package/sdk/public/Content/ContentPublicModel.d.ts +3 -549
- package/sdk/public/Content/ContentPublicModel.js +3 -649
- package/sdk/public/Content/ContentPublicValidator.d.ts +3 -69
- package/sdk/public/Content/ContentPublicValidator.js +2 -88
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
- package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -29
- package/sdk/application/Finance/FinanceApplicationClient.js +0 -111
|
@@ -4,16 +4,6 @@ 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;
|
|
17
7
|
static bulkServiceability(): any;
|
|
18
8
|
static getBulkServiceability(): any;
|
|
19
9
|
static createCourierPartnerAccount(): any;
|
|
@@ -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.BulkRegionServiceabilityTatRequest().required(),
|
|
8
8
|
}).required();
|
|
9
9
|
}
|
|
10
10
|
|
|
@@ -20,7 +20,7 @@ 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.BulkRegionJobSerializer().required(),
|
|
24
24
|
}).required();
|
|
25
25
|
}
|
|
26
26
|
|
|
@@ -40,125 +40,11 @@ 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.RegionTatUpdateDetails().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
|
-
|
|
157
43
|
static bulkServiceability() {
|
|
158
44
|
return Joi.object({
|
|
159
45
|
extensionId: Joi.string().allow("").required(),
|
|
160
46
|
schemeId: Joi.string().allow("").required(),
|
|
161
|
-
body: LogisticsModel.
|
|
47
|
+
body: LogisticsModel.BulkRegionJobSerializer().required(),
|
|
162
48
|
}).required();
|
|
163
49
|
}
|
|
164
50
|
|
|
@@ -181,7 +67,7 @@ class LogisticsValidator {
|
|
|
181
67
|
static createCourierPartnerAccount() {
|
|
182
68
|
return Joi.object({
|
|
183
69
|
companyId: Joi.number().required(),
|
|
184
|
-
body: LogisticsModel.
|
|
70
|
+
body: LogisticsModel.CourierAccountRequestBody().required(),
|
|
185
71
|
}).required();
|
|
186
72
|
}
|
|
187
73
|
|
|
@@ -200,7 +86,7 @@ class LogisticsValidator {
|
|
|
200
86
|
return Joi.object({
|
|
201
87
|
companyId: Joi.number().required(),
|
|
202
88
|
accountId: Joi.string().allow("").required(),
|
|
203
|
-
body: LogisticsModel.
|
|
89
|
+
body: LogisticsModel.CourierAccount().required(),
|
|
204
90
|
}).required();
|
|
205
91
|
}
|
|
206
92
|
|
|
@@ -213,14 +99,14 @@ class LogisticsValidator {
|
|
|
213
99
|
|
|
214
100
|
static createCourierPartnerScheme() {
|
|
215
101
|
return Joi.object({
|
|
216
|
-
body: LogisticsModel.
|
|
102
|
+
body: LogisticsModel.CourierPartnerSchemeRequestModel().required(),
|
|
217
103
|
}).required();
|
|
218
104
|
}
|
|
219
105
|
|
|
220
106
|
static updateCourierPartnerScheme() {
|
|
221
107
|
return Joi.object({
|
|
222
108
|
schemeId: Joi.string().allow("").required(),
|
|
223
|
-
body: LogisticsModel.
|
|
109
|
+
body: LogisticsModel.CourierPartnerSchemeUpdateRequest().required(),
|
|
224
110
|
}).required();
|
|
225
111
|
}
|
|
226
112
|
|
|
@@ -176,42 +176,44 @@ declare class Theme {
|
|
|
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.
|
|
179
|
+
* @returns {Promise<ThemePartnerModel.DraftExtensionSectionResponse>} -
|
|
180
|
+
* Success response
|
|
180
181
|
* @name createExtensionSectionDraft
|
|
181
182
|
* @summary: Draft extension section
|
|
182
183
|
* @description: Create a new draft for an extension section within the specified organization. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/createExtensionSectionDraft/).
|
|
183
184
|
*/
|
|
184
|
-
createExtensionSectionDraft({ extensionId, body, requestHeaders }?: ThemePartnerValidator.CreateExtensionSectionDraftParam, { responseHeaders }?: object): Promise<ThemePartnerModel.
|
|
185
|
+
createExtensionSectionDraft({ extensionId, body, requestHeaders }?: ThemePartnerValidator.CreateExtensionSectionDraftParam, { responseHeaders }?: object): Promise<ThemePartnerModel.DraftExtensionSectionResponse>;
|
|
185
186
|
/**
|
|
186
187
|
* @param {ThemePartnerValidator.PublishExtensionSectionsParam} arg - Arg object.
|
|
187
188
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
188
189
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
189
|
-
* @returns {Promise<ThemePartnerModel.
|
|
190
|
+
* @returns {Promise<ThemePartnerModel.PublishExtensionSectionResponse>} -
|
|
191
|
+
* Success response
|
|
190
192
|
* @name publishExtensionSections
|
|
191
193
|
* @summary: Publish an extension section
|
|
192
194
|
* @description: Publish a draft extension section within the specified organization. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/publishExtensionSections/).
|
|
193
195
|
*/
|
|
194
|
-
publishExtensionSections({ extensionId, body, requestHeaders }?: ThemePartnerValidator.PublishExtensionSectionsParam, { responseHeaders }?: object): Promise<ThemePartnerModel.
|
|
196
|
+
publishExtensionSections({ extensionId, body, requestHeaders }?: ThemePartnerValidator.PublishExtensionSectionsParam, { responseHeaders }?: object): Promise<ThemePartnerModel.PublishExtensionSectionResponse>;
|
|
195
197
|
/**
|
|
196
198
|
* @param {ThemePartnerValidator.ApplyExtensionPreviewParam} arg - Arg object.
|
|
197
199
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
198
200
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
199
|
-
* @returns {Promise<ThemePartnerModel.
|
|
201
|
+
* @returns {Promise<ThemePartnerModel.ExtensionPreviewResponse>} - Success response
|
|
200
202
|
* @name applyExtensionPreview
|
|
201
203
|
* @summary: Start a Preview of Extension Section
|
|
202
204
|
* @description: Use this API to start a local session for previewing the extension section binding. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/applyExtensionPreview/).
|
|
203
205
|
*/
|
|
204
|
-
applyExtensionPreview({ extensionSectionId, body, requestHeaders }?: ThemePartnerValidator.ApplyExtensionPreviewParam, { responseHeaders }?: object): Promise<ThemePartnerModel.
|
|
206
|
+
applyExtensionPreview({ extensionSectionId, body, requestHeaders }?: ThemePartnerValidator.ApplyExtensionPreviewParam, { responseHeaders }?: object): Promise<ThemePartnerModel.ExtensionPreviewResponse>;
|
|
205
207
|
/**
|
|
206
208
|
* @param {ThemePartnerValidator.RemoveExtensionPreviewParam} arg - Arg object.
|
|
207
209
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
208
210
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
209
|
-
* @returns {Promise<ThemePartnerModel.
|
|
211
|
+
* @returns {Promise<ThemePartnerModel.ExtensionPreviewResponse>} - Success response
|
|
210
212
|
* @name removeExtensionPreview
|
|
211
213
|
* @summary: Close a Preview of Extension Section
|
|
212
214
|
* @description: Use this API to close a local session for previewing the extension section binding - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/removeExtensionPreview/).
|
|
213
215
|
*/
|
|
214
|
-
removeExtensionPreview({ extensionSectionId, body, requestHeaders }?: ThemePartnerValidator.RemoveExtensionPreviewParam, { responseHeaders }?: object): Promise<ThemePartnerModel.
|
|
216
|
+
removeExtensionPreview({ extensionSectionId, body, requestHeaders }?: ThemePartnerValidator.RemoveExtensionPreviewParam, { responseHeaders }?: object): Promise<ThemePartnerModel.ExtensionPreviewResponse>;
|
|
215
217
|
/**
|
|
216
218
|
* @param {ThemePartnerValidator.GetThemeRejectionReasonsParam} arg - Arg object.
|
|
217
219
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -1374,7 +1374,8 @@ class Theme {
|
|
|
1374
1374
|
* @param {ThemePartnerValidator.CreateExtensionSectionDraftParam} arg - Arg object.
|
|
1375
1375
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1376
1376
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
1377
|
-
* @returns {Promise<ThemePartnerModel.
|
|
1377
|
+
* @returns {Promise<ThemePartnerModel.DraftExtensionSectionResponse>} -
|
|
1378
|
+
* Success response
|
|
1378
1379
|
* @name createExtensionSectionDraft
|
|
1379
1380
|
* @summary: Draft extension section
|
|
1380
1381
|
* @description: Create a new draft for an extension section within the specified organization. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/createExtensionSectionDraft/).
|
|
@@ -1432,10 +1433,10 @@ class Theme {
|
|
|
1432
1433
|
|
|
1433
1434
|
const {
|
|
1434
1435
|
error: res_error,
|
|
1435
|
-
} = ThemePartnerModel.
|
|
1436
|
-
|
|
1437
|
-
allowUnknown: true
|
|
1438
|
-
|
|
1436
|
+
} = ThemePartnerModel.DraftExtensionSectionResponse().validate(
|
|
1437
|
+
responseData,
|
|
1438
|
+
{ abortEarly: false, allowUnknown: true }
|
|
1439
|
+
);
|
|
1439
1440
|
|
|
1440
1441
|
if (res_error) {
|
|
1441
1442
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -1455,7 +1456,8 @@ class Theme {
|
|
|
1455
1456
|
* @param {ThemePartnerValidator.PublishExtensionSectionsParam} arg - Arg object.
|
|
1456
1457
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1457
1458
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
1458
|
-
* @returns {Promise<ThemePartnerModel.
|
|
1459
|
+
* @returns {Promise<ThemePartnerModel.PublishExtensionSectionResponse>} -
|
|
1460
|
+
* Success response
|
|
1459
1461
|
* @name publishExtensionSections
|
|
1460
1462
|
* @summary: Publish an extension section
|
|
1461
1463
|
* @description: Publish a draft extension section within the specified organization. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/publishExtensionSections/).
|
|
@@ -1511,10 +1513,10 @@ class Theme {
|
|
|
1511
1513
|
|
|
1512
1514
|
const {
|
|
1513
1515
|
error: res_error,
|
|
1514
|
-
} = ThemePartnerModel.
|
|
1515
|
-
|
|
1516
|
-
allowUnknown: true
|
|
1517
|
-
|
|
1516
|
+
} = ThemePartnerModel.PublishExtensionSectionResponse().validate(
|
|
1517
|
+
responseData,
|
|
1518
|
+
{ abortEarly: false, allowUnknown: true }
|
|
1519
|
+
);
|
|
1518
1520
|
|
|
1519
1521
|
if (res_error) {
|
|
1520
1522
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -1534,7 +1536,7 @@ class Theme {
|
|
|
1534
1536
|
* @param {ThemePartnerValidator.ApplyExtensionPreviewParam} arg - Arg object.
|
|
1535
1537
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1536
1538
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
1537
|
-
* @returns {Promise<ThemePartnerModel.
|
|
1539
|
+
* @returns {Promise<ThemePartnerModel.ExtensionPreviewResponse>} - Success response
|
|
1538
1540
|
* @name applyExtensionPreview
|
|
1539
1541
|
* @summary: Start a Preview of Extension Section
|
|
1540
1542
|
* @description: Use this API to start a local session for previewing the extension section binding. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/applyExtensionPreview/).
|
|
@@ -1590,7 +1592,7 @@ class Theme {
|
|
|
1590
1592
|
|
|
1591
1593
|
const {
|
|
1592
1594
|
error: res_error,
|
|
1593
|
-
} = ThemePartnerModel.
|
|
1595
|
+
} = ThemePartnerModel.ExtensionPreviewResponse().validate(responseData, {
|
|
1594
1596
|
abortEarly: false,
|
|
1595
1597
|
allowUnknown: true,
|
|
1596
1598
|
});
|
|
@@ -1613,7 +1615,7 @@ class Theme {
|
|
|
1613
1615
|
* @param {ThemePartnerValidator.RemoveExtensionPreviewParam} arg - Arg object.
|
|
1614
1616
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1615
1617
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
1616
|
-
* @returns {Promise<ThemePartnerModel.
|
|
1618
|
+
* @returns {Promise<ThemePartnerModel.ExtensionPreviewResponse>} - Success response
|
|
1617
1619
|
* @name removeExtensionPreview
|
|
1618
1620
|
* @summary: Close a Preview of Extension Section
|
|
1619
1621
|
* @description: Use this API to close a local session for previewing the extension section binding - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/removeExtensionPreview/).
|
|
@@ -1669,7 +1671,7 @@ class Theme {
|
|
|
1669
1671
|
|
|
1670
1672
|
const {
|
|
1671
1673
|
error: res_error,
|
|
1672
|
-
} = ThemePartnerModel.
|
|
1674
|
+
} = ThemePartnerModel.ExtensionPreviewResponse().validate(responseData, {
|
|
1673
1675
|
abortEarly: false,
|
|
1674
1676
|
allowUnknown: true,
|
|
1675
1677
|
});
|
|
@@ -15,7 +15,7 @@ export = ThemePartnerModel;
|
|
|
15
15
|
* @property {string} [updated_at] - The last update timestamp of the page
|
|
16
16
|
*/
|
|
17
17
|
/**
|
|
18
|
-
* @typedef
|
|
18
|
+
* @typedef DraftExtensionSectionRequest
|
|
19
19
|
* @property {string} [extension_id]
|
|
20
20
|
* @property {string} [bundle_name]
|
|
21
21
|
* @property {string} [organization_id]
|
|
@@ -25,11 +25,11 @@ export = ThemePartnerModel;
|
|
|
25
25
|
* @property {string} [status]
|
|
26
26
|
*/
|
|
27
27
|
/**
|
|
28
|
-
* @typedef
|
|
29
|
-
* @property {
|
|
28
|
+
* @typedef DraftExtensionSectionResponse
|
|
29
|
+
* @property {SectionsResponse} [sections]
|
|
30
30
|
*/
|
|
31
31
|
/**
|
|
32
|
-
* @typedef
|
|
32
|
+
* @typedef SectionsResponse
|
|
33
33
|
* @property {boolean} [acknowledged]
|
|
34
34
|
* @property {number} [matched_count]
|
|
35
35
|
* @property {number} [modified_count]
|
|
@@ -56,7 +56,7 @@ export = ThemePartnerModel;
|
|
|
56
56
|
* @property {string} [css]
|
|
57
57
|
*/
|
|
58
58
|
/**
|
|
59
|
-
* @typedef
|
|
59
|
+
* @typedef PublishExtensionSectionRequest
|
|
60
60
|
* @property {string} [extension_id]
|
|
61
61
|
* @property {string} [bundle_name]
|
|
62
62
|
* @property {string} [organization_id]
|
|
@@ -66,17 +66,17 @@ export = ThemePartnerModel;
|
|
|
66
66
|
* @property {string} [status]
|
|
67
67
|
*/
|
|
68
68
|
/**
|
|
69
|
-
* @typedef
|
|
69
|
+
* @typedef ExtensionPreviewRequest
|
|
70
70
|
* @property {string} [application_id] - Application ID
|
|
71
71
|
* @property {string} [section_preview_hash] - Hash for the section preview
|
|
72
72
|
*/
|
|
73
73
|
/**
|
|
74
|
-
* @typedef
|
|
74
|
+
* @typedef ExtensionPreviewResponse
|
|
75
75
|
* @property {string} [message]
|
|
76
76
|
*/
|
|
77
77
|
/**
|
|
78
|
-
* @typedef
|
|
79
|
-
* @property {
|
|
78
|
+
* @typedef PublishExtensionSectionResponse
|
|
79
|
+
* @property {SectionsResponse} [sections]
|
|
80
80
|
*/
|
|
81
81
|
/**
|
|
82
82
|
* @typedef AvailablePageSectionMetaAttributes
|
|
@@ -125,15 +125,7 @@ export = ThemePartnerModel;
|
|
|
125
125
|
* @property {Object[]} [blocks]
|
|
126
126
|
* @property {Object} [preset]
|
|
127
127
|
* @property {AvailablePagePredicate} [predicate]
|
|
128
|
-
* @property {
|
|
129
|
-
*/
|
|
130
|
-
/**
|
|
131
|
-
* @typedef SectionSource
|
|
132
|
-
* @property {string} [id] - The source id specifying the source of the section.
|
|
133
|
-
* @property {string} [bundle_name] - This is the extension binding name
|
|
134
|
-
* containing this section.
|
|
135
|
-
* @property {string} [type] - This is source type. It will either be
|
|
136
|
-
* themeBundle or extension.
|
|
128
|
+
* @property {string} [source]
|
|
137
129
|
*/
|
|
138
130
|
/**
|
|
139
131
|
* @typedef AvailablePageScreenPredicate
|
|
@@ -281,26 +273,12 @@ export = ThemePartnerModel;
|
|
|
281
273
|
* @property {string} admin_id - The ID of the admin who rejected the theme
|
|
282
274
|
* @property {string} user_id - The ID of the user who submitted the theme
|
|
283
275
|
* @property {string} status - The status of the theme (e.g., rejected)
|
|
284
|
-
* @property {
|
|
276
|
+
* @property {Object} rejection_reasons
|
|
285
277
|
* @property {string} [created_at] - The date and time when the theme rejection
|
|
286
278
|
* reasons object was created
|
|
287
279
|
* @property {string} [updated_at] - The date and time when the theme rejection
|
|
288
280
|
* reasons object was last updated
|
|
289
281
|
*/
|
|
290
|
-
/**
|
|
291
|
-
* @typedef RejectedMessages
|
|
292
|
-
* @property {ThemeReviewRequestMessage} [theme_file]
|
|
293
|
-
* @property {ThemeReviewRequestMessage} [theme_details]
|
|
294
|
-
* @property {ThemeReviewRequestMessage} [theme_value_proposition]
|
|
295
|
-
* @property {ThemeReviewRequestMessage} [theme_attributes]
|
|
296
|
-
* @property {ThemeReviewRequestMessage} [theme_variations]
|
|
297
|
-
* @property {ThemeReviewRequestMessage} [theme_docs]
|
|
298
|
-
* @property {ThemeReviewRequestMessage} [theme_review]
|
|
299
|
-
*/
|
|
300
|
-
/**
|
|
301
|
-
* @typedef ThemeReviewRequestMessage
|
|
302
|
-
* @property {string} [message] - Message Explaining what the issue is
|
|
303
|
-
*/
|
|
304
282
|
/**
|
|
305
283
|
* @typedef AllAvailablePageSchema
|
|
306
284
|
* @property {AvailablePageSchema[]} [pages]
|
|
@@ -669,7 +647,7 @@ export = ThemePartnerModel;
|
|
|
669
647
|
declare class ThemePartnerModel {
|
|
670
648
|
}
|
|
671
649
|
declare namespace ThemePartnerModel {
|
|
672
|
-
export { AvailablePageSchema,
|
|
650
|
+
export { AvailablePageSchema, DraftExtensionSectionRequest, DraftExtensionSectionResponse, SectionsResponse, ExtensionSection, PropExtension, AssetsExtension, PublishExtensionSectionRequest, ExtensionPreviewRequest, ExtensionPreviewResponse, PublishExtensionSectionResponse, AvailablePageSectionMetaAttributes, AvailablePageSeo, SEOMetaItem, SEOMetaItems, SEOSitemap, SEObreadcrumb, Action, AvailablePageSchemaSections, AvailablePageScreenPredicate, AvailablePageUserPredicate, AvailablePageRoutePredicate, AvailablePagePlatformPredicate, AvailablePageSchedulePredicate, AvailablePagePredicate, MarketplaceThemeSchema, MarketplaceTheme, PaymentInfo, ContactInfo, CatalogSize, MarketplaceThemeImages, CarouselItem, ExploreInfo, Feature, FeatureItem, Highlight, Variation, Documentation, Comments, ThemeRejectionReasons, AllAvailablePageSchema, PaginationSchema, BlitzkriegApiErrorSchema, BlitzkriegInternalServerErrorSchema, ThemesSchema, Font, FontVariants, FontVariant, Config, ThemeConfiguration, OverlayPopup, DividerStrokeHighlight, UserAlerts, OrderTracking, ThemeConfigListPage, ThemeConfigListPageSettingsProps, CustomConfig, CustomProps, ThemeMeta, ThemePayment, Release, Images, Assets, UMDJs, CommonJS, CSS, SectionItem, GlobalSchema, Preset, Page, SectionProps, SectionPreset, ImagePickerProp, UrlProp, BlockProps, TextProp, CheckboxProp, RangeProp, Section, Block, Predicate, Screen, ThemeUserSchema, Route, UpdateThemeRequestBody, CreateNewTheme, ActionPage, PageType };
|
|
673
651
|
}
|
|
674
652
|
/** @returns {AvailablePageSchema} */
|
|
675
653
|
declare function AvailablePageSchema(): AvailablePageSchema;
|
|
@@ -693,9 +671,9 @@ type AvailablePageSchema = {
|
|
|
693
671
|
*/
|
|
694
672
|
updated_at?: string;
|
|
695
673
|
};
|
|
696
|
-
/** @returns {
|
|
697
|
-
declare function
|
|
698
|
-
type
|
|
674
|
+
/** @returns {DraftExtensionSectionRequest} */
|
|
675
|
+
declare function DraftExtensionSectionRequest(): DraftExtensionSectionRequest;
|
|
676
|
+
type DraftExtensionSectionRequest = {
|
|
699
677
|
extension_id?: string;
|
|
700
678
|
bundle_name?: string;
|
|
701
679
|
organization_id?: string;
|
|
@@ -704,14 +682,14 @@ type DraftExtensionSection = {
|
|
|
704
682
|
type?: string;
|
|
705
683
|
status?: string;
|
|
706
684
|
};
|
|
707
|
-
/** @returns {
|
|
708
|
-
declare function
|
|
709
|
-
type
|
|
710
|
-
sections?:
|
|
685
|
+
/** @returns {DraftExtensionSectionResponse} */
|
|
686
|
+
declare function DraftExtensionSectionResponse(): DraftExtensionSectionResponse;
|
|
687
|
+
type DraftExtensionSectionResponse = {
|
|
688
|
+
sections?: SectionsResponse;
|
|
711
689
|
};
|
|
712
|
-
/** @returns {
|
|
713
|
-
declare function
|
|
714
|
-
type
|
|
690
|
+
/** @returns {SectionsResponse} */
|
|
691
|
+
declare function SectionsResponse(): SectionsResponse;
|
|
692
|
+
type SectionsResponse = {
|
|
715
693
|
acknowledged?: boolean;
|
|
716
694
|
matched_count?: number;
|
|
717
695
|
modified_count?: number;
|
|
@@ -740,9 +718,9 @@ type AssetsExtension = {
|
|
|
740
718
|
js?: string;
|
|
741
719
|
css?: string;
|
|
742
720
|
};
|
|
743
|
-
/** @returns {
|
|
744
|
-
declare function
|
|
745
|
-
type
|
|
721
|
+
/** @returns {PublishExtensionSectionRequest} */
|
|
722
|
+
declare function PublishExtensionSectionRequest(): PublishExtensionSectionRequest;
|
|
723
|
+
type PublishExtensionSectionRequest = {
|
|
746
724
|
extension_id?: string;
|
|
747
725
|
bundle_name?: string;
|
|
748
726
|
organization_id?: string;
|
|
@@ -751,9 +729,9 @@ type PublishExtensionSection = {
|
|
|
751
729
|
type?: string;
|
|
752
730
|
status?: string;
|
|
753
731
|
};
|
|
754
|
-
/** @returns {
|
|
755
|
-
declare function
|
|
756
|
-
type
|
|
732
|
+
/** @returns {ExtensionPreviewRequest} */
|
|
733
|
+
declare function ExtensionPreviewRequest(): ExtensionPreviewRequest;
|
|
734
|
+
type ExtensionPreviewRequest = {
|
|
757
735
|
/**
|
|
758
736
|
* - Application ID
|
|
759
737
|
*/
|
|
@@ -763,15 +741,15 @@ type PreviewExtension = {
|
|
|
763
741
|
*/
|
|
764
742
|
section_preview_hash?: string;
|
|
765
743
|
};
|
|
766
|
-
/** @returns {
|
|
767
|
-
declare function
|
|
768
|
-
type
|
|
744
|
+
/** @returns {ExtensionPreviewResponse} */
|
|
745
|
+
declare function ExtensionPreviewResponse(): ExtensionPreviewResponse;
|
|
746
|
+
type ExtensionPreviewResponse = {
|
|
769
747
|
message?: string;
|
|
770
748
|
};
|
|
771
|
-
/** @returns {
|
|
772
|
-
declare function
|
|
773
|
-
type
|
|
774
|
-
sections?:
|
|
749
|
+
/** @returns {PublishExtensionSectionResponse} */
|
|
750
|
+
declare function PublishExtensionSectionResponse(): PublishExtensionSectionResponse;
|
|
751
|
+
type PublishExtensionSectionResponse = {
|
|
752
|
+
sections?: SectionsResponse;
|
|
775
753
|
};
|
|
776
754
|
/** @returns {AvailablePageSectionMetaAttributes} */
|
|
777
755
|
declare function AvailablePageSectionMetaAttributes(): AvailablePageSectionMetaAttributes;
|
|
@@ -831,25 +809,7 @@ type AvailablePageSchemaSections = {
|
|
|
831
809
|
blocks?: any[];
|
|
832
810
|
preset?: any;
|
|
833
811
|
predicate?: AvailablePagePredicate;
|
|
834
|
-
|
|
835
|
-
};
|
|
836
|
-
/** @returns {SectionSource} */
|
|
837
|
-
declare function SectionSource(): SectionSource;
|
|
838
|
-
type SectionSource = {
|
|
839
|
-
/**
|
|
840
|
-
* - The source id specifying the source of the section.
|
|
841
|
-
*/
|
|
842
|
-
id?: string;
|
|
843
|
-
/**
|
|
844
|
-
* - This is the extension binding name
|
|
845
|
-
* containing this section.
|
|
846
|
-
*/
|
|
847
|
-
bundle_name?: string;
|
|
848
|
-
/**
|
|
849
|
-
* - This is source type. It will either be
|
|
850
|
-
* themeBundle or extension.
|
|
851
|
-
*/
|
|
852
|
-
type?: string;
|
|
812
|
+
source?: string;
|
|
853
813
|
};
|
|
854
814
|
/** @returns {AvailablePageScreenPredicate} */
|
|
855
815
|
declare function AvailablePageScreenPredicate(): AvailablePageScreenPredicate;
|
|
@@ -1174,7 +1134,7 @@ type ThemeRejectionReasons = {
|
|
|
1174
1134
|
* - The status of the theme (e.g., rejected)
|
|
1175
1135
|
*/
|
|
1176
1136
|
status: string;
|
|
1177
|
-
rejection_reasons:
|
|
1137
|
+
rejection_reasons: any;
|
|
1178
1138
|
/**
|
|
1179
1139
|
* - The date and time when the theme rejection
|
|
1180
1140
|
* reasons object was created
|
|
@@ -1186,25 +1146,6 @@ type ThemeRejectionReasons = {
|
|
|
1186
1146
|
*/
|
|
1187
1147
|
updated_at?: string;
|
|
1188
1148
|
};
|
|
1189
|
-
/** @returns {RejectedMessages} */
|
|
1190
|
-
declare function RejectedMessages(): RejectedMessages;
|
|
1191
|
-
type RejectedMessages = {
|
|
1192
|
-
theme_file?: ThemeReviewRequestMessage;
|
|
1193
|
-
theme_details?: ThemeReviewRequestMessage;
|
|
1194
|
-
theme_value_proposition?: ThemeReviewRequestMessage;
|
|
1195
|
-
theme_attributes?: ThemeReviewRequestMessage;
|
|
1196
|
-
theme_variations?: ThemeReviewRequestMessage;
|
|
1197
|
-
theme_docs?: ThemeReviewRequestMessage;
|
|
1198
|
-
theme_review?: ThemeReviewRequestMessage;
|
|
1199
|
-
};
|
|
1200
|
-
/** @returns {ThemeReviewRequestMessage} */
|
|
1201
|
-
declare function ThemeReviewRequestMessage(): ThemeReviewRequestMessage;
|
|
1202
|
-
type ThemeReviewRequestMessage = {
|
|
1203
|
-
/**
|
|
1204
|
-
* - Message Explaining what the issue is
|
|
1205
|
-
*/
|
|
1206
|
-
message?: string;
|
|
1207
|
-
};
|
|
1208
1149
|
/** @returns {AllAvailablePageSchema} */
|
|
1209
1150
|
declare function AllAvailablePageSchema(): AllAvailablePageSchema;
|
|
1210
1151
|
type AllAvailablePageSchema = {
|