@gofynd/fdk-client-javascript 1.4.15-beta.2 → 1.4.15-beta.3
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 +2 -2
- package/application.d.ts +1 -2
- package/application.js +2 -3
- package/index.d.ts +1 -2
- package/index.js +7 -1
- package/package.json +2 -3
- package/sdk/application/ApplicationClient.d.ts +2 -0
- package/sdk/application/ApplicationClient.js +2 -18
- package/sdk/application/Cart/CartApplicationClient.d.ts +75 -90
- package/sdk/application/Cart/CartApplicationClient.js +111 -1200
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +81 -142
- package/sdk/application/Catalog/CatalogApplicationClient.js +41 -1344
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -8
- package/sdk/application/Common/CommonApplicationClient.js +2 -92
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -19
- package/sdk/application/Communication/CommunicationApplicationClient.js +3 -148
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -73
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +16 -727
- package/sdk/application/Content/ContentApplicationClient.d.ts +52 -95
- package/sdk/application/Content/ContentApplicationClient.js +46 -990
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -13
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +8 -138
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +105 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +10 -18
- package/sdk/application/Lead/LeadApplicationClient.js +5 -217
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +42 -39
- package/sdk/application/Logistic/LogisticApplicationClient.js +89 -493
- package/sdk/application/Order/OrderApplicationClient.d.ts +36 -46
- package/sdk/application/Order/OrderApplicationClient.js +52 -507
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +93 -213
- package/sdk/application/Payment/PaymentApplicationClient.js +49 -2109
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +15 -29
- package/sdk/application/Rewards/RewardsApplicationClient.js +8 -312
- package/sdk/application/Share/ShareApplicationClient.d.ts +14 -24
- package/sdk/application/Share/ShareApplicationClient.js +7 -309
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -14
- package/sdk/application/Theme/ThemeApplicationClient.js +8 -176
- package/sdk/application/User/UserApplicationClient.d.ts +87 -138
- package/sdk/application/User/UserApplicationClient.js +44 -1820
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -7
- package/sdk/application/Webhook/WebhookApplicationClient.js +3 -52
- package/sdk/application/index.d.ts +0 -18
- package/sdk/application/index.js +0 -33
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -19
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -14
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
- 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 +126 -20
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +970 -20
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1200 -167
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +571 -160
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +10 -0
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +121 -7
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
- package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +96 -37
- package/sdk/partner/Theme/ThemePartnerModel.js +90 -36
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
- package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
- package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
- package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
- package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +134 -103
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +419 -115
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +118 -65
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +109 -44
- package/sdk/platform/Cart/CartPlatformModel.d.ts +5046 -1300
- package/sdk/platform/Cart/CartPlatformModel.js +1979 -1217
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +209 -183
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +452 -395
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +185 -142
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +96 -78
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +154 -117
- package/sdk/platform/Catalog/CatalogPlatformClient.js +292 -172
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6506 -1775
- package/sdk/platform/Catalog/CatalogPlatformModel.js +3224 -1690
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +72 -31
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +50 -24
- package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
- package/sdk/platform/Common/CommonPlatformClient.js +3 -2
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
- package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +124 -141
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +449 -422
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +179 -141
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +168 -130
- package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
- package/sdk/platform/Content/ContentPlatformClient.js +523 -336
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1241 -395
- package/sdk/platform/Content/ContentPlatformModel.js +521 -390
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
- package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
- package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
- 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 +94 -36
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -60
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -101
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -84
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- 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 +17 -6
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +85 -7
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +95 -24
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +39 -19
- package/sdk/platform/Order/OrderPlatformClient.d.ts +153 -96
- package/sdk/platform/Order/OrderPlatformClient.js +416 -198
- package/sdk/platform/Order/OrderPlatformModel.d.ts +7602 -1269
- package/sdk/platform/Order/OrderPlatformModel.js +3926 -1269
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +270 -109
- package/sdk/platform/Order/OrderPlatformValidator.js +135 -77
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
- package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +93 -105
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
- 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 +333 -319
- package/sdk/platform/Payment/PaymentPlatformModel.js +288 -278
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
- package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
- package/sdk/platform/PlatformClient.d.ts +0 -2
- package/sdk/platform/PlatformClient.js +0 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
- package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +46 -36
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +132 -41
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +46 -17
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +34 -14
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +40 -46
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +58 -64
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1842 -609
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +886 -554
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +42 -46
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +26 -28
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
- package/sdk/platform/Share/SharePlatformModel.d.ts +36 -5
- package/sdk/platform/Share/SharePlatformModel.js +27 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +37 -11
- package/sdk/platform/Theme/ThemePlatformModel.js +33 -15
- 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 +25 -78
- package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
- package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
- package/sdk/platform/index.d.ts +0 -1
- package/sdk/platform/index.js +0 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.js +10 -7
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
- package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
- package/sdk/public/Content/ContentPublicClient.js +795 -7
- package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
- package/sdk/public/Content/ContentPublicModel.js +649 -3
- package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
- package/sdk/public/Content/ContentPublicValidator.js +88 -2
- package/sdk/public/Partner/PartnerPublicClient.js +4 -2
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +12 -10
- 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/Cart/CartApplicationModel.d.ts +0 -3994
- package/sdk/application/Cart/CartApplicationModel.js +0 -2497
- package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -769
- package/sdk/application/Cart/CartApplicationValidator.js +0 -530
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +0 -3857
- package/sdk/application/Catalog/CatalogApplicationModel.js +0 -2629
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -791
- package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -551
- package/sdk/application/Common/CommonApplicationModel.d.ts +0 -449
- package/sdk/application/Common/CommonApplicationModel.js +0 -308
- package/sdk/application/Common/CommonApplicationValidator.d.ts +0 -46
- package/sdk/application/Common/CommonApplicationValidator.js +0 -38
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +0 -293
- package/sdk/application/Communication/CommunicationApplicationModel.js +0 -201
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +0 -29
- package/sdk/application/Communication/CommunicationApplicationValidator.js +0 -38
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +0 -2556
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -1887
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +0 -179
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +0 -176
- package/sdk/application/Content/ContentApplicationModel.d.ts +0 -2133
- package/sdk/application/Content/ContentApplicationModel.js +0 -1589
- package/sdk/application/Content/ContentApplicationValidator.d.ts +0 -284
- package/sdk/application/Content/ContentApplicationValidator.js +0 -264
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +0 -272
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -190
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +0 -56
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +0 -53
- package/sdk/application/Lead/LeadApplicationModel.d.ts +0 -590
- package/sdk/application/Lead/LeadApplicationModel.js +0 -480
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +0 -68
- package/sdk/application/Lead/LeadApplicationValidator.js +0 -71
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +0 -1675
- package/sdk/application/Logistic/LogisticApplicationModel.js +0 -1121
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +0 -254
- package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -190
- package/sdk/application/Order/OrderApplicationModel.d.ts +0 -2296
- package/sdk/application/Order/OrderApplicationModel.js +0 -1471
- package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -265
- package/sdk/application/Order/OrderApplicationValidator.js +0 -197
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +0 -4058
- package/sdk/application/Payment/PaymentApplicationModel.js +0 -2630
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +0 -576
- package/sdk/application/Payment/PaymentApplicationValidator.js +0 -594
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +0 -365
- package/sdk/application/Rewards/RewardsApplicationModel.js +0 -396
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +0 -73
- package/sdk/application/Rewards/RewardsApplicationValidator.js +0 -84
- package/sdk/application/Share/ShareApplicationModel.d.ts +0 -339
- package/sdk/application/Share/ShareApplicationModel.js +0 -234
- package/sdk/application/Share/ShareApplicationValidator.d.ts +0 -90
- package/sdk/application/Share/ShareApplicationValidator.js +0 -91
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +0 -1713
- package/sdk/application/Theme/ThemeApplicationModel.js +0 -1426
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -66
- package/sdk/application/Theme/ThemeApplicationValidator.js +0 -58
- package/sdk/application/User/UserApplicationModel.d.ts +0 -1943
- package/sdk/application/User/UserApplicationModel.js +0 -1382
- package/sdk/application/User/UserApplicationValidator.d.ts +0 -560
- package/sdk/application/User/UserApplicationValidator.js +0 -573
- package/sdk/application/Webhook/WebhookApplicationModel.d.ts +0 -52
- package/sdk/application/Webhook/WebhookApplicationModel.js +0 -46
- package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +0 -16
- package/sdk/application/Webhook/WebhookApplicationValidator.js +0 -19
- package/sdk/common/Clickstream.d.ts +0 -1
- package/sdk/common/Clickstream.js +0 -464
- 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
|
@@ -4,6 +4,16 @@ 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;
|
|
@@ -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,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.BulkRegionJobDetails().required(),
|
|
24
24
|
}).required();
|
|
25
25
|
}
|
|
26
26
|
|
|
@@ -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.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
|
+
|
|
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
|
|
|
@@ -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
|
|
|
@@ -86,7 +200,7 @@ class LogisticsValidator {
|
|
|
86
200
|
return Joi.object({
|
|
87
201
|
companyId: Joi.number().required(),
|
|
88
202
|
accountId: Joi.string().allow("").required(),
|
|
89
|
-
body: LogisticsModel.
|
|
203
|
+
body: LogisticsModel.CourierAccountUpdateDetails().required(),
|
|
90
204
|
}).required();
|
|
91
205
|
}
|
|
92
206
|
|
|
@@ -99,14 +213,14 @@ class LogisticsValidator {
|
|
|
99
213
|
|
|
100
214
|
static createCourierPartnerScheme() {
|
|
101
215
|
return Joi.object({
|
|
102
|
-
body: LogisticsModel.
|
|
216
|
+
body: LogisticsModel.CourierPartnerSchemeDetailsModel().required(),
|
|
103
217
|
}).required();
|
|
104
218
|
}
|
|
105
219
|
|
|
106
220
|
static updateCourierPartnerScheme() {
|
|
107
221
|
return Joi.object({
|
|
108
222
|
schemeId: Joi.string().allow("").required(),
|
|
109
|
-
body: LogisticsModel.
|
|
223
|
+
body: LogisticsModel.CourierPartnerSchemeUpdateDetails().required(),
|
|
110
224
|
}).required();
|
|
111
225
|
}
|
|
112
226
|
|
|
@@ -176,44 +176,42 @@ 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.
|
|
180
|
-
* Success response
|
|
179
|
+
* @returns {Promise<ThemePartnerModel.ExtensionSectionDraft>} - Success response
|
|
181
180
|
* @name createExtensionSectionDraft
|
|
182
181
|
* @summary: Draft extension section
|
|
183
182
|
* @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/).
|
|
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
192
|
* @description: Publish a draft extension section within the specified organization. - Check out [method documentation](https://partners.fynd.com/help/docs/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
202
|
* @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/).
|
|
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
212
|
* @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/).
|
|
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 `{}`
|
|
@@ -1374,8 +1374,7 @@ 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.
|
|
1378
|
-
* Success response
|
|
1377
|
+
* @returns {Promise<ThemePartnerModel.ExtensionSectionDraft>} - Success response
|
|
1379
1378
|
* @name createExtensionSectionDraft
|
|
1380
1379
|
* @summary: Draft extension section
|
|
1381
1380
|
* @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/).
|
|
@@ -1433,10 +1432,10 @@ class Theme {
|
|
|
1433
1432
|
|
|
1434
1433
|
const {
|
|
1435
1434
|
error: res_error,
|
|
1436
|
-
} = ThemePartnerModel.
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
);
|
|
1435
|
+
} = ThemePartnerModel.ExtensionSectionDraft().validate(responseData, {
|
|
1436
|
+
abortEarly: false,
|
|
1437
|
+
allowUnknown: true,
|
|
1438
|
+
});
|
|
1440
1439
|
|
|
1441
1440
|
if (res_error) {
|
|
1442
1441
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -1456,8 +1455,7 @@ class Theme {
|
|
|
1456
1455
|
* @param {ThemePartnerValidator.PublishExtensionSectionsParam} arg - Arg object.
|
|
1457
1456
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1458
1457
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
1459
|
-
* @returns {Promise<ThemePartnerModel.
|
|
1460
|
-
* Success response
|
|
1458
|
+
* @returns {Promise<ThemePartnerModel.ExtensionSectionPublish>} - Success response
|
|
1461
1459
|
* @name publishExtensionSections
|
|
1462
1460
|
* @summary: Publish an extension section
|
|
1463
1461
|
* @description: Publish a draft extension section within the specified organization. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/publishExtensionSections/).
|
|
@@ -1513,10 +1511,10 @@ class Theme {
|
|
|
1513
1511
|
|
|
1514
1512
|
const {
|
|
1515
1513
|
error: res_error,
|
|
1516
|
-
} = ThemePartnerModel.
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
);
|
|
1514
|
+
} = ThemePartnerModel.ExtensionSectionPublish().validate(responseData, {
|
|
1515
|
+
abortEarly: false,
|
|
1516
|
+
allowUnknown: true,
|
|
1517
|
+
});
|
|
1520
1518
|
|
|
1521
1519
|
if (res_error) {
|
|
1522
1520
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -1536,7 +1534,7 @@ class Theme {
|
|
|
1536
1534
|
* @param {ThemePartnerValidator.ApplyExtensionPreviewParam} arg - Arg object.
|
|
1537
1535
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1538
1536
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
1539
|
-
* @returns {Promise<ThemePartnerModel.
|
|
1537
|
+
* @returns {Promise<ThemePartnerModel.ExtensionPreview>} - Success response
|
|
1540
1538
|
* @name applyExtensionPreview
|
|
1541
1539
|
* @summary: Start a Preview of Extension Section
|
|
1542
1540
|
* @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/).
|
|
@@ -1592,7 +1590,7 @@ class Theme {
|
|
|
1592
1590
|
|
|
1593
1591
|
const {
|
|
1594
1592
|
error: res_error,
|
|
1595
|
-
} = ThemePartnerModel.
|
|
1593
|
+
} = ThemePartnerModel.ExtensionPreview().validate(responseData, {
|
|
1596
1594
|
abortEarly: false,
|
|
1597
1595
|
allowUnknown: true,
|
|
1598
1596
|
});
|
|
@@ -1615,7 +1613,7 @@ class Theme {
|
|
|
1615
1613
|
* @param {ThemePartnerValidator.RemoveExtensionPreviewParam} arg - Arg object.
|
|
1616
1614
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1617
1615
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
1618
|
-
* @returns {Promise<ThemePartnerModel.
|
|
1616
|
+
* @returns {Promise<ThemePartnerModel.ExtensionPreview>} - Success response
|
|
1619
1617
|
* @name removeExtensionPreview
|
|
1620
1618
|
* @summary: Close a Preview of Extension Section
|
|
1621
1619
|
* @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/).
|
|
@@ -1671,7 +1669,7 @@ class Theme {
|
|
|
1671
1669
|
|
|
1672
1670
|
const {
|
|
1673
1671
|
error: res_error,
|
|
1674
|
-
} = ThemePartnerModel.
|
|
1672
|
+
} = ThemePartnerModel.ExtensionPreview().validate(responseData, {
|
|
1675
1673
|
abortEarly: false,
|
|
1676
1674
|
allowUnknown: true,
|
|
1677
1675
|
});
|
|
@@ -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 DraftExtensionSection
|
|
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 ExtensionSectionDraft
|
|
29
|
+
* @property {Sections} [sections]
|
|
30
30
|
*/
|
|
31
31
|
/**
|
|
32
|
-
* @typedef
|
|
32
|
+
* @typedef Sections
|
|
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 PublishExtensionSection
|
|
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 PreviewExtension
|
|
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 ExtensionPreview
|
|
75
75
|
* @property {string} [message]
|
|
76
76
|
*/
|
|
77
77
|
/**
|
|
78
|
-
* @typedef
|
|
79
|
-
* @property {
|
|
78
|
+
* @typedef ExtensionSectionPublish
|
|
79
|
+
* @property {Sections} [sections]
|
|
80
80
|
*/
|
|
81
81
|
/**
|
|
82
82
|
* @typedef AvailablePageSectionMetaAttributes
|
|
@@ -125,7 +125,15 @@ export = ThemePartnerModel;
|
|
|
125
125
|
* @property {Object[]} [blocks]
|
|
126
126
|
* @property {Object} [preset]
|
|
127
127
|
* @property {AvailablePagePredicate} [predicate]
|
|
128
|
-
* @property {
|
|
128
|
+
* @property {SectionSource} [__source]
|
|
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.
|
|
129
137
|
*/
|
|
130
138
|
/**
|
|
131
139
|
* @typedef AvailablePageScreenPredicate
|
|
@@ -273,12 +281,26 @@ export = ThemePartnerModel;
|
|
|
273
281
|
* @property {string} admin_id - The ID of the admin who rejected the theme
|
|
274
282
|
* @property {string} user_id - The ID of the user who submitted the theme
|
|
275
283
|
* @property {string} status - The status of the theme (e.g., rejected)
|
|
276
|
-
* @property {
|
|
284
|
+
* @property {RejectedMessages} rejection_reasons
|
|
277
285
|
* @property {string} [created_at] - The date and time when the theme rejection
|
|
278
286
|
* reasons object was created
|
|
279
287
|
* @property {string} [updated_at] - The date and time when the theme rejection
|
|
280
288
|
* reasons object was last updated
|
|
281
289
|
*/
|
|
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
|
+
*/
|
|
282
304
|
/**
|
|
283
305
|
* @typedef AllAvailablePageSchema
|
|
284
306
|
* @property {AvailablePageSchema[]} [pages]
|
|
@@ -656,7 +678,7 @@ export = ThemePartnerModel;
|
|
|
656
678
|
declare class ThemePartnerModel {
|
|
657
679
|
}
|
|
658
680
|
declare namespace ThemePartnerModel {
|
|
659
|
-
export { AvailablePageSchema,
|
|
681
|
+
export { AvailablePageSchema, DraftExtensionSection, ExtensionSectionDraft, Sections, ExtensionSection, PropExtension, AssetsExtension, PublishExtensionSection, PreviewExtension, ExtensionPreview, ExtensionSectionPublish, AvailablePageSectionMetaAttributes, AvailablePageSeo, SEOMetaItem, SEOMetaItems, SEOSitemap, SEObreadcrumb, Action, AvailablePageSchemaSections, SectionSource, AvailablePageScreenPredicate, AvailablePageUserPredicate, AvailablePageRoutePredicate, AvailablePagePlatformPredicate, AvailablePageSchedulePredicate, AvailablePagePredicate, MarketplaceThemeSchema, MarketplaceTheme, PaymentInfo, ContactInfo, CatalogSize, MarketplaceThemeImages, CarouselItem, ExploreInfo, Feature, FeatureItem, Highlight, Variation, Documentation, Comments, ThemeRejectionReasons, RejectedMessages, ThemeReviewRequestMessage, 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, Prop, Preset, Page, SectionProps, SectionPreset, ImagePickerProp, UrlProp, BlockProps, TextProp, CheckboxProp, RangeProp, Section, Block, Predicate, Screen, ThemeUserSchema, Route, UpdateThemeRequestBody, CreateNewTheme, ActionPage, PageType };
|
|
660
682
|
}
|
|
661
683
|
/** @returns {AvailablePageSchema} */
|
|
662
684
|
declare function AvailablePageSchema(): AvailablePageSchema;
|
|
@@ -680,9 +702,9 @@ type AvailablePageSchema = {
|
|
|
680
702
|
*/
|
|
681
703
|
updated_at?: string;
|
|
682
704
|
};
|
|
683
|
-
/** @returns {
|
|
684
|
-
declare function
|
|
685
|
-
type
|
|
705
|
+
/** @returns {DraftExtensionSection} */
|
|
706
|
+
declare function DraftExtensionSection(): DraftExtensionSection;
|
|
707
|
+
type DraftExtensionSection = {
|
|
686
708
|
extension_id?: string;
|
|
687
709
|
bundle_name?: string;
|
|
688
710
|
organization_id?: string;
|
|
@@ -691,14 +713,14 @@ type DraftExtensionSectionRequest = {
|
|
|
691
713
|
type?: string;
|
|
692
714
|
status?: string;
|
|
693
715
|
};
|
|
694
|
-
/** @returns {
|
|
695
|
-
declare function
|
|
696
|
-
type
|
|
697
|
-
sections?:
|
|
716
|
+
/** @returns {ExtensionSectionDraft} */
|
|
717
|
+
declare function ExtensionSectionDraft(): ExtensionSectionDraft;
|
|
718
|
+
type ExtensionSectionDraft = {
|
|
719
|
+
sections?: Sections;
|
|
698
720
|
};
|
|
699
|
-
/** @returns {
|
|
700
|
-
declare function
|
|
701
|
-
type
|
|
721
|
+
/** @returns {Sections} */
|
|
722
|
+
declare function Sections(): Sections;
|
|
723
|
+
type Sections = {
|
|
702
724
|
acknowledged?: boolean;
|
|
703
725
|
matched_count?: number;
|
|
704
726
|
modified_count?: number;
|
|
@@ -727,9 +749,9 @@ type AssetsExtension = {
|
|
|
727
749
|
js?: string;
|
|
728
750
|
css?: string;
|
|
729
751
|
};
|
|
730
|
-
/** @returns {
|
|
731
|
-
declare function
|
|
732
|
-
type
|
|
752
|
+
/** @returns {PublishExtensionSection} */
|
|
753
|
+
declare function PublishExtensionSection(): PublishExtensionSection;
|
|
754
|
+
type PublishExtensionSection = {
|
|
733
755
|
extension_id?: string;
|
|
734
756
|
bundle_name?: string;
|
|
735
757
|
organization_id?: string;
|
|
@@ -738,9 +760,9 @@ type PublishExtensionSectionRequest = {
|
|
|
738
760
|
type?: string;
|
|
739
761
|
status?: string;
|
|
740
762
|
};
|
|
741
|
-
/** @returns {
|
|
742
|
-
declare function
|
|
743
|
-
type
|
|
763
|
+
/** @returns {PreviewExtension} */
|
|
764
|
+
declare function PreviewExtension(): PreviewExtension;
|
|
765
|
+
type PreviewExtension = {
|
|
744
766
|
/**
|
|
745
767
|
* - Application ID
|
|
746
768
|
*/
|
|
@@ -750,15 +772,15 @@ type ExtensionPreviewRequest = {
|
|
|
750
772
|
*/
|
|
751
773
|
section_preview_hash?: string;
|
|
752
774
|
};
|
|
753
|
-
/** @returns {
|
|
754
|
-
declare function
|
|
755
|
-
type
|
|
775
|
+
/** @returns {ExtensionPreview} */
|
|
776
|
+
declare function ExtensionPreview(): ExtensionPreview;
|
|
777
|
+
type ExtensionPreview = {
|
|
756
778
|
message?: string;
|
|
757
779
|
};
|
|
758
|
-
/** @returns {
|
|
759
|
-
declare function
|
|
760
|
-
type
|
|
761
|
-
sections?:
|
|
780
|
+
/** @returns {ExtensionSectionPublish} */
|
|
781
|
+
declare function ExtensionSectionPublish(): ExtensionSectionPublish;
|
|
782
|
+
type ExtensionSectionPublish = {
|
|
783
|
+
sections?: Sections;
|
|
762
784
|
};
|
|
763
785
|
/** @returns {AvailablePageSectionMetaAttributes} */
|
|
764
786
|
declare function AvailablePageSectionMetaAttributes(): AvailablePageSectionMetaAttributes;
|
|
@@ -818,7 +840,25 @@ type AvailablePageSchemaSections = {
|
|
|
818
840
|
blocks?: any[];
|
|
819
841
|
preset?: any;
|
|
820
842
|
predicate?: AvailablePagePredicate;
|
|
821
|
-
|
|
843
|
+
__source?: SectionSource;
|
|
844
|
+
};
|
|
845
|
+
/** @returns {SectionSource} */
|
|
846
|
+
declare function SectionSource(): SectionSource;
|
|
847
|
+
type SectionSource = {
|
|
848
|
+
/**
|
|
849
|
+
* - The source id specifying the source of the section.
|
|
850
|
+
*/
|
|
851
|
+
id?: string;
|
|
852
|
+
/**
|
|
853
|
+
* - This is the extension binding name
|
|
854
|
+
* containing this section.
|
|
855
|
+
*/
|
|
856
|
+
bundle_name?: string;
|
|
857
|
+
/**
|
|
858
|
+
* - This is source type. It will either be
|
|
859
|
+
* themeBundle or extension.
|
|
860
|
+
*/
|
|
861
|
+
type?: string;
|
|
822
862
|
};
|
|
823
863
|
/** @returns {AvailablePageScreenPredicate} */
|
|
824
864
|
declare function AvailablePageScreenPredicate(): AvailablePageScreenPredicate;
|
|
@@ -1143,7 +1183,7 @@ type ThemeRejectionReasons = {
|
|
|
1143
1183
|
* - The status of the theme (e.g., rejected)
|
|
1144
1184
|
*/
|
|
1145
1185
|
status: string;
|
|
1146
|
-
rejection_reasons:
|
|
1186
|
+
rejection_reasons: RejectedMessages;
|
|
1147
1187
|
/**
|
|
1148
1188
|
* - The date and time when the theme rejection
|
|
1149
1189
|
* reasons object was created
|
|
@@ -1155,6 +1195,25 @@ type ThemeRejectionReasons = {
|
|
|
1155
1195
|
*/
|
|
1156
1196
|
updated_at?: string;
|
|
1157
1197
|
};
|
|
1198
|
+
/** @returns {RejectedMessages} */
|
|
1199
|
+
declare function RejectedMessages(): RejectedMessages;
|
|
1200
|
+
type RejectedMessages = {
|
|
1201
|
+
theme_file?: ThemeReviewRequestMessage;
|
|
1202
|
+
theme_details?: ThemeReviewRequestMessage;
|
|
1203
|
+
theme_value_proposition?: ThemeReviewRequestMessage;
|
|
1204
|
+
theme_attributes?: ThemeReviewRequestMessage;
|
|
1205
|
+
theme_variations?: ThemeReviewRequestMessage;
|
|
1206
|
+
theme_docs?: ThemeReviewRequestMessage;
|
|
1207
|
+
theme_review?: ThemeReviewRequestMessage;
|
|
1208
|
+
};
|
|
1209
|
+
/** @returns {ThemeReviewRequestMessage} */
|
|
1210
|
+
declare function ThemeReviewRequestMessage(): ThemeReviewRequestMessage;
|
|
1211
|
+
type ThemeReviewRequestMessage = {
|
|
1212
|
+
/**
|
|
1213
|
+
* - Message Explaining what the issue is
|
|
1214
|
+
*/
|
|
1215
|
+
message?: string;
|
|
1216
|
+
};
|
|
1158
1217
|
/** @returns {AllAvailablePageSchema} */
|
|
1159
1218
|
declare function AllAvailablePageSchema(): AllAvailablePageSchema;
|
|
1160
1219
|
type AllAvailablePageSchema = {
|