@gofynd/fdk-client-javascript 1.0.2 → 1.0.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/documentation/application/CART.md +5934 -4502
- package/documentation/application/CATALOG.md +6338 -7245
- package/documentation/application/COMMON.md +95 -222
- package/documentation/application/COMMUNICATION.md +106 -186
- package/documentation/application/CONFIGURATION.md +903 -1597
- package/documentation/application/CONTENT.md +557 -1279
- package/documentation/application/FILESTORAGE.md +84 -220
- package/documentation/application/LEAD.md +314 -660
- package/documentation/application/LOGISTIC.md +229 -305
- package/documentation/application/ORDER.md +642 -1137
- package/documentation/application/PAYMENT.md +2285 -3031
- package/documentation/application/POSCART.md +6079 -4642
- package/documentation/application/REWARDS.md +94 -248
- package/documentation/application/SHARE.md +152 -250
- package/documentation/application/THEME.md +952 -1235
- package/documentation/application/USER.md +1228 -1765
- package/documentation/platform/ANALYTICS.md +207 -349
- package/documentation/platform/AUDITTRAIL.md +121 -204
- package/documentation/platform/BILLING.md +865 -1376
- package/documentation/platform/CART.md +2814 -3662
- package/documentation/platform/CATALOG.md +14453 -17192
- package/documentation/platform/COMMON.md +95 -222
- package/documentation/platform/COMMUNICATION.md +1632 -2380
- package/documentation/platform/COMPANYPROFILE.md +572 -957
- package/documentation/platform/CONFIGURATION.md +3050 -4073
- package/documentation/platform/CONTENT.md +3438 -4172
- package/documentation/platform/DISCOUNT.md +140 -236
- package/documentation/platform/FILESTORAGE.md +187 -323
- package/documentation/platform/INVENTORY.md +268 -911
- package/documentation/platform/LEAD.md +2195 -2541
- package/documentation/platform/ORDER.md +3400 -5361
- package/documentation/platform/PARTNER.md +9 -36
- package/documentation/platform/PAYMENT.md +903 -1213
- package/documentation/platform/REWARDS.md +183 -347
- package/documentation/platform/SHARE.md +120 -213
- package/documentation/platform/THEME.md +12956 -13239
- package/documentation/platform/USER.md +975 -1120
- package/documentation/platform/WEBHOOK.md +78 -184
- package/documentation/public/CONFIGURATION.md +95 -222
- package/documentation/public/INVENTORY.md +100 -282
- package/documentation/public/WEBHOOK.md +27 -133
- package/package.json +1 -1
- package/sdk/application/Cart/CartApplicationClient.d.ts +243 -243
- package/sdk/application/Cart/CartApplicationClient.js +567 -567
- package/sdk/application/Cart/CartApplicationModel.d.ts +64 -63
- package/sdk/application/Cart/CartApplicationModel.js +489 -886
- package/sdk/application/Cart/CartApplicationValidator.d.ts +17 -17
- package/sdk/application/Cart/CartApplicationValidator.js +98 -98
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +358 -358
- package/sdk/application/Catalog/CatalogApplicationClient.js +1036 -1036
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +90 -90
- package/sdk/application/Catalog/CatalogApplicationModel.js +677 -1243
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +19 -19
- package/sdk/application/Catalog/CatalogApplicationValidator.js +110 -110
- package/sdk/application/Common/CommonApplicationClient.d.ts +13 -13
- package/sdk/application/Common/CommonApplicationClient.js +38 -38
- package/sdk/application/Common/CommonApplicationModel.d.ts +12 -12
- package/sdk/application/Common/CommonApplicationModel.js +83 -160
- package/sdk/application/Common/CommonApplicationValidator.d.ts +1 -1
- package/sdk/application/Common/CommonApplicationValidator.js +6 -6
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +11 -11
- package/sdk/application/Communication/CommunicationApplicationClient.js +26 -26
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +6 -6
- package/sdk/application/Communication/CommunicationApplicationModel.js +38 -83
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +1 -1
- package/sdk/application/Communication/CommunicationApplicationValidator.js +4 -4
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +116 -116
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +330 -330
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +85 -85
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +480 -851
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +8 -8
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +33 -33
- package/sdk/application/Content/ContentApplicationClient.d.ts +67 -67
- package/sdk/application/Content/ContentApplicationClient.js +191 -191
- package/sdk/application/Content/ContentApplicationModel.d.ts +76 -76
- package/sdk/application/Content/ContentApplicationModel.js +467 -884
- package/sdk/application/Content/ContentApplicationValidator.d.ts +5 -5
- package/sdk/application/Content/ContentApplicationValidator.js +24 -24
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +25 -25
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +59 -59
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +13 -13
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +86 -169
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +1 -1
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +7 -7
- package/sdk/application/Lead/LeadApplicationClient.d.ts +24 -24
- package/sdk/application/Lead/LeadApplicationClient.js +100 -100
- package/sdk/application/Lead/LeadApplicationModel.d.ts +35 -35
- package/sdk/application/Lead/LeadApplicationModel.js +267 -474
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +2 -2
- package/sdk/application/Lead/LeadApplicationValidator.js +11 -11
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +30 -19
- package/sdk/application/Logistic/LogisticApplicationClient.js +110 -43
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +17 -14
- package/sdk/application/Logistic/LogisticApplicationModel.js +133 -201
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +3 -2
- package/sdk/application/Logistic/LogisticApplicationValidator.js +14 -8
- package/sdk/application/Order/OrderApplicationClient.d.ts +85 -85
- package/sdk/application/Order/OrderApplicationClient.js +232 -232
- package/sdk/application/Order/OrderApplicationModel.d.ts +50 -50
- package/sdk/application/Order/OrderApplicationModel.js +352 -656
- package/sdk/application/Order/OrderApplicationValidator.d.ts +7 -7
- package/sdk/application/Order/OrderApplicationValidator.js +28 -28
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +318 -318
- package/sdk/application/Payment/PaymentApplicationClient.js +739 -739
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +72 -72
- package/sdk/application/Payment/PaymentApplicationModel.js +570 -1038
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +28 -28
- package/sdk/application/Payment/PaymentApplicationValidator.js +107 -107
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +254 -254
- package/sdk/application/PosCart/PosCartApplicationClient.js +617 -617
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +64 -63
- package/sdk/application/PosCart/PosCartApplicationModel.js +475 -871
- package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +18 -18
- package/sdk/application/PosCart/PosCartApplicationValidator.js +103 -103
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +27 -27
- package/sdk/application/Rewards/RewardsApplicationClient.js +112 -112
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +14 -14
- package/sdk/application/Rewards/RewardsApplicationModel.js +96 -191
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +3 -3
- package/sdk/application/Rewards/RewardsApplicationValidator.js +12 -12
- package/sdk/application/Share/ShareApplicationClient.d.ts +37 -37
- package/sdk/application/Share/ShareApplicationClient.js +84 -84
- package/sdk/application/Share/ShareApplicationModel.d.ts +8 -8
- package/sdk/application/Share/ShareApplicationModel.js +63 -123
- package/sdk/application/Share/ShareApplicationValidator.d.ts +4 -4
- package/sdk/application/Share/ShareApplicationValidator.js +12 -12
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -8
- package/sdk/application/Theme/ThemeApplicationClient.js +31 -31
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +34 -34
- package/sdk/application/Theme/ThemeApplicationModel.js +190 -336
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +1 -1
- package/sdk/application/Theme/ThemeApplicationValidator.js +4 -4
- package/sdk/application/User/UserApplicationClient.d.ts +280 -280
- package/sdk/application/User/UserApplicationClient.js +581 -581
- package/sdk/application/User/UserApplicationModel.d.ts +79 -72
- package/sdk/application/User/UserApplicationModel.js +440 -689
- package/sdk/application/User/UserApplicationValidator.d.ts +24 -24
- package/sdk/application/User/UserApplicationValidator.js +89 -89
- package/sdk/common/AxiosHelper.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +51 -51
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +179 -179
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +6 -6
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +20 -20
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +11 -11
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +95 -178
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +10 -10
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +41 -41
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +10 -10
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +50 -89
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +6 -6
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +60 -60
- package/sdk/platform/Billing/BillingPlatformClient.js +181 -181
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +40 -40
- package/sdk/platform/Billing/BillingPlatformModel.js +342 -668
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +8 -8
- package/sdk/platform/Billing/BillingPlatformValidator.js +25 -25
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +168 -168
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +553 -553
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +11 -11
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +63 -63
- package/sdk/platform/Cart/CartPlatformModel.d.ts +84 -83
- package/sdk/platform/Cart/CartPlatformModel.js +671 -1205
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +632 -632
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1525 -1525
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +40 -40
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +174 -174
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +682 -682
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1557 -1557
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +291 -291
- package/sdk/platform/Catalog/CatalogPlatformModel.js +2127 -3904
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +66 -66
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +229 -229
- package/sdk/platform/Common/CommonPlatformClient.d.ts +12 -12
- package/sdk/platform/Common/CommonPlatformClient.js +41 -41
- package/sdk/platform/Common/CommonPlatformModel.d.ts +12 -12
- package/sdk/platform/Common/CommonPlatformModel.js +83 -160
- package/sdk/platform/Common/CommonPlatformValidator.d.ts +1 -1
- package/sdk/platform/Common/CommonPlatformValidator.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +326 -326
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +943 -943
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +30 -30
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +87 -87
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +67 -67
- package/sdk/platform/Communication/CommunicationPlatformModel.js +522 -974
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +55 -55
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +212 -212
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +27 -27
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +279 -542
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +7 -7
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +24 -24
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +163 -153
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +615 -552
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +22 -21
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +69 -63
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +125 -125
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +342 -342
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +148 -146
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +854 -1508
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -9
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +38 -38
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +534 -534
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1324 -1324
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +50 -50
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +156 -156
- package/sdk/platform/Content/ContentPlatformModel.d.ts +78 -78
- package/sdk/platform/Content/ContentPlatformModel.js +484 -907
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +65 -65
- package/sdk/platform/Discount/DiscountPlatformClient.js +216 -216
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +7 -7
- package/sdk/platform/Discount/DiscountPlatformModel.js +60 -121
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +6 -6
- package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -29
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +24 -24
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +58 -58
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +52 -52
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +123 -123
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +13 -13
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +86 -169
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +3 -3
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +11 -11
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +63 -63
- package/sdk/platform/Inventory/InventoryPlatformClient.js +228 -228
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +30 -30
- package/sdk/platform/Inventory/InventoryPlatformModel.js +497 -964
- package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +7 -7
- package/sdk/platform/Inventory/InventoryPlatformValidator.js +28 -28
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +73 -73
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +200 -200
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +7 -7
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +28 -28
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +80 -80
- package/sdk/platform/Lead/LeadPlatformClient.js +212 -212
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +35 -35
- package/sdk/platform/Lead/LeadPlatformModel.js +267 -474
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +6 -6
- package/sdk/platform/Lead/LeadPlatformValidator.js +24 -24
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +10 -10
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +65 -65
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +6 -6
- package/sdk/platform/Order/OrderPlatformClient.d.ts +357 -357
- package/sdk/platform/Order/OrderPlatformClient.js +1035 -1035
- package/sdk/platform/Order/OrderPlatformModel.d.ts +198 -196
- package/sdk/platform/Order/OrderPlatformModel.js +1574 -2861
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +32 -32
- package/sdk/platform/Order/OrderPlatformValidator.js +160 -160
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +1 -1
- package/sdk/platform/Partner/PartnerPlatformModel.js +10 -26
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +57 -57
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +167 -167
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +6 -6
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +23 -23
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +42 -42
- package/sdk/platform/Payment/PaymentPlatformClient.js +153 -153
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +27 -27
- package/sdk/platform/Payment/PaymentPlatformModel.js +222 -410
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +4 -4
- package/sdk/platform/Payment/PaymentPlatformValidator.js +21 -21
- package/sdk/platform/PlatformApplicationClient.d.ts +1496 -10325
- package/sdk/platform/PlatformApplicationClient.js +1584 -13899
- package/sdk/platform/PlatformClient.d.ts +7965 -7885
- package/sdk/platform/PlatformClient.js +8672 -10105
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +83 -83
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +275 -275
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +34 -34
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +15 -15
- package/sdk/platform/Rewards/RewardsPlatformModel.js +92 -194
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -10
- package/sdk/platform/Share/SharePlatformApplicationClient.js +59 -59
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +6 -6
- package/sdk/platform/Share/SharePlatformModel.d.ts +8 -8
- package/sdk/platform/Share/SharePlatformModel.js +60 -118
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +132 -132
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +310 -310
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +15 -15
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +44 -44
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +34 -34
- package/sdk/platform/Theme/ThemePlatformModel.js +190 -336
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +136 -69
- package/sdk/platform/User/UserPlatformApplicationClient.js +505 -166
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +12 -7
- package/sdk/platform/User/UserPlatformApplicationValidator.js +61 -23
- package/sdk/platform/User/UserPlatformModel.d.ts +79 -72
- package/sdk/platform/User/UserPlatformModel.js +440 -689
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +31 -31
- package/sdk/platform/Webhook/WebhookPlatformClient.js +88 -88
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +7 -7
- package/sdk/platform/Webhook/WebhookPlatformModel.js +68 -136
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +3 -3
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +14 -14
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +13 -13
- package/sdk/public/Configuration/ConfigurationPublicClient.js +38 -38
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +12 -12
- package/sdk/public/Configuration/ConfigurationPublicModel.js +85 -162
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +1 -1
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +6 -6
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +34 -34
- package/sdk/public/Inventory/InventoryPublicClient.js +113 -113
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +10 -10
- package/sdk/public/Inventory/InventoryPublicModel.js +119 -245
- package/sdk/public/Inventory/InventoryPublicValidator.d.ts +3 -3
- package/sdk/public/Inventory/InventoryPublicValidator.js +15 -15
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +7 -7
- package/sdk/public/Webhook/WebhookPublicModel.js +68 -136
- package/tests/application/catalog.spec.js +7 -0
|
@@ -5,64 +5,56 @@ declare class Theme {
|
|
|
5
5
|
applicationId: any;
|
|
6
6
|
/**
|
|
7
7
|
* @param {Object} arg - Arg object.
|
|
8
|
-
* @param {
|
|
9
|
-
* @returns {Promise<
|
|
10
|
-
* @summary:
|
|
11
|
-
* @description:
|
|
12
|
-
*/
|
|
13
|
-
getAllPages({ themeId }?: {
|
|
14
|
-
themeId: string;
|
|
15
|
-
}): Promise<AllAvailablePageSchema>;
|
|
16
|
-
/**
|
|
17
|
-
* @param {Object} arg - Arg object.
|
|
18
|
-
* @param {string} arg.themeId - ID of the theme
|
|
19
|
-
* @param {AvailablePageSchema} arg.body
|
|
20
|
-
* @returns {Promise<AvailablePageSchema>} - Success response
|
|
21
|
-
* @summary: Create a page
|
|
22
|
-
* @description: Use this API to create a page for a theme by its ID.
|
|
8
|
+
* @param {AddThemeRequestSchema} arg.body
|
|
9
|
+
* @returns {Promise<ThemesSchema>} - Success response
|
|
10
|
+
* @summary: Add a theme to the theme library
|
|
11
|
+
* @description: Theme library is a personalized collection of themes that are chosen and added from the available themes. Use this API to choose a theme and add it to the theme library.
|
|
23
12
|
*/
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}): Promise<AvailablePageSchema>;
|
|
13
|
+
addToThemeLibrary({ body }?: {
|
|
14
|
+
body: AddThemeRequestSchema;
|
|
15
|
+
}): Promise<ThemesSchema>;
|
|
28
16
|
/**
|
|
29
17
|
* @param {Object} arg - Arg object.
|
|
30
|
-
* @param {
|
|
31
|
-
* @
|
|
32
|
-
* @
|
|
33
|
-
* @
|
|
34
|
-
* @description: Use this API to update multiple pages of a theme by its ID.
|
|
18
|
+
* @param {AddThemeRequestSchema} arg.body
|
|
19
|
+
* @returns {Promise<ThemesSchema>} - Success response
|
|
20
|
+
* @summary: Apply a theme
|
|
21
|
+
* @description: Use this API to apply a theme to the website.
|
|
35
22
|
*/
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}): Promise<AllAvailablePageSchema>;
|
|
23
|
+
applyTheme({ body }?: {
|
|
24
|
+
body: AddThemeRequestSchema;
|
|
25
|
+
}): Promise<ThemesSchema>;
|
|
40
26
|
/**
|
|
41
27
|
* @param {Object} arg - Arg object.
|
|
42
|
-
* @param {string} arg.themeId - ID
|
|
43
|
-
* @
|
|
44
|
-
* @
|
|
45
|
-
* @
|
|
46
|
-
* @description: Use this API to retrieve a page of a theme.
|
|
28
|
+
* @param {string} arg.themeId - ID allotted to the theme.
|
|
29
|
+
* @returns {Promise<ThemesSchema>} - Success response
|
|
30
|
+
* @summary: Archive a theme
|
|
31
|
+
* @description: Use this API to store an existing theme but not delete it so that it can be used in future if required.
|
|
47
32
|
*/
|
|
48
|
-
|
|
33
|
+
archiveTheme({ themeId }?: {
|
|
49
34
|
themeId: string;
|
|
50
|
-
|
|
51
|
-
}): Promise<AvailablePageSchema>;
|
|
35
|
+
}): Promise<ThemesSchema>;
|
|
52
36
|
/**
|
|
53
37
|
* @param {Object} arg - Arg object.
|
|
54
38
|
* @param {string} arg.themeId - ID of the theme
|
|
55
|
-
* @param {string} arg.pageValue - Value of the page to be updated
|
|
56
39
|
* @param {AvailablePageSchema} arg.body
|
|
57
40
|
* @returns {Promise<AvailablePageSchema>} - Success response
|
|
58
|
-
* @summary:
|
|
59
|
-
* @description: Use this API to
|
|
41
|
+
* @summary: Create a page
|
|
42
|
+
* @description: Use this API to create a page for a theme by its ID.
|
|
60
43
|
*/
|
|
61
|
-
|
|
44
|
+
createPage({ themeId, body }?: {
|
|
62
45
|
themeId: string;
|
|
63
|
-
pageValue: string;
|
|
64
46
|
body: AvailablePageSchema;
|
|
65
47
|
}): Promise<AvailablePageSchema>;
|
|
48
|
+
/**
|
|
49
|
+
* @param {Object} arg - Arg object.
|
|
50
|
+
* @param {ThemesSchema} arg.body
|
|
51
|
+
* @returns {Promise<ThemesSchema>} - Success response
|
|
52
|
+
* @summary: Create a new theme
|
|
53
|
+
* @description: Themes improve the look and appearance of a website. Use this API to create a theme.
|
|
54
|
+
*/
|
|
55
|
+
createTheme({ body }?: {
|
|
56
|
+
body: ThemesSchema;
|
|
57
|
+
}): Promise<ThemesSchema>;
|
|
66
58
|
/**
|
|
67
59
|
* @param {Object} arg - Arg object.
|
|
68
60
|
* @param {string} arg.themeId - ID of the theme
|
|
@@ -77,58 +69,50 @@ declare class Theme {
|
|
|
77
69
|
}): Promise<AvailablePageSchema>;
|
|
78
70
|
/**
|
|
79
71
|
* @param {Object} arg - Arg object.
|
|
80
|
-
* @param {
|
|
81
|
-
*
|
|
82
|
-
* @
|
|
83
|
-
*
|
|
84
|
-
* @returns {Promise<ThemesListingResponseSchema>} - Success response
|
|
85
|
-
* @summary: Get a list of themes from the theme library
|
|
86
|
-
* @description: Theme library is a personalized collection of themes that are chosen and added from the available themes. Use this API to fetch a list of themes from the library along with their configuration details.
|
|
72
|
+
* @param {string} arg.themeId - ID allotted to the theme.
|
|
73
|
+
* @returns {Promise<ThemesSchema>} - Success response
|
|
74
|
+
* @summary: Delete a theme
|
|
75
|
+
* @description: Use this API to delete a theme from the theme library.
|
|
87
76
|
*/
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
}): Promise<ThemesListingResponseSchema>;
|
|
77
|
+
deleteTheme({ themeId }?: {
|
|
78
|
+
themeId: string;
|
|
79
|
+
}): Promise<ThemesSchema>;
|
|
92
80
|
/**
|
|
93
81
|
* @param {Object} arg - Arg object.
|
|
94
|
-
* @param {
|
|
95
|
-
* @returns {Promise<
|
|
96
|
-
* @summary:
|
|
97
|
-
* @description:
|
|
82
|
+
* @param {string} arg.themeId - ID of the theme to be retrieved
|
|
83
|
+
* @returns {Promise<AllAvailablePageSchema>} - Success response
|
|
84
|
+
* @summary: Get all pages of a theme
|
|
85
|
+
* @description: Use this API to retrieve all the available pages of a theme by its ID.
|
|
98
86
|
*/
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
}): Promise<
|
|
87
|
+
getAllPages({ themeId }?: {
|
|
88
|
+
themeId: string;
|
|
89
|
+
}): Promise<AllAvailablePageSchema>;
|
|
102
90
|
/**
|
|
103
91
|
* @param {Object} arg - Arg object.
|
|
104
|
-
* @param {AddThemeRequestSchema} arg.body
|
|
105
92
|
* @returns {Promise<ThemesSchema>} - Success response
|
|
106
|
-
* @summary:
|
|
107
|
-
* @description: Use this API to
|
|
93
|
+
* @summary: Get the applied theme
|
|
94
|
+
* @description: Use this API to retrieve the theme that is currently applied to the website along with its details.
|
|
108
95
|
*/
|
|
109
|
-
|
|
110
|
-
body: AddThemeRequestSchema;
|
|
111
|
-
}): Promise<ThemesSchema>;
|
|
96
|
+
getAppliedTheme({}?: any): Promise<ThemesSchema>;
|
|
112
97
|
/**
|
|
113
98
|
* @param {Object} arg - Arg object.
|
|
114
|
-
* @
|
|
115
|
-
* @
|
|
116
|
-
* @
|
|
117
|
-
* @description: There's always a possibility that new features get added to a theme. Use this API to check if the applied theme has an upgrade available.
|
|
99
|
+
* @returns {Promise<FontsSchema>} - Success response
|
|
100
|
+
* @summary: Get all the supported fonts in a theme
|
|
101
|
+
* @description: Font is a collection of characters with a similar design. Use this API to retrieve a list of website fonts.
|
|
118
102
|
*/
|
|
119
|
-
|
|
120
|
-
themeId: string;
|
|
121
|
-
}): Promise<UpgradableThemeSchema>;
|
|
103
|
+
getFonts({}?: any): Promise<FontsSchema>;
|
|
122
104
|
/**
|
|
123
105
|
* @param {Object} arg - Arg object.
|
|
124
|
-
* @param {string} arg.themeId - ID
|
|
125
|
-
* @
|
|
126
|
-
* @
|
|
127
|
-
* @
|
|
106
|
+
* @param {string} arg.themeId - ID of the theme to be retrieved
|
|
107
|
+
* @param {string} arg.pageValue - Value of the page to be retrieved
|
|
108
|
+
* @returns {Promise<AvailablePageSchema>} - Success response
|
|
109
|
+
* @summary: Get page of a theme
|
|
110
|
+
* @description: Use this API to retrieve a page of a theme.
|
|
128
111
|
*/
|
|
129
|
-
|
|
112
|
+
getPage({ themeId, pageValue }?: {
|
|
130
113
|
themeId: string;
|
|
131
|
-
|
|
114
|
+
pageValue: string;
|
|
115
|
+
}): Promise<AvailablePageSchema>;
|
|
132
116
|
/**
|
|
133
117
|
* @param {Object} arg - Arg object.
|
|
134
118
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each
|
|
@@ -143,30 +127,6 @@ declare class Theme {
|
|
|
143
127
|
pageSize?: number;
|
|
144
128
|
pageNo?: number;
|
|
145
129
|
}): Promise<ThemesListingResponseSchema>;
|
|
146
|
-
/**
|
|
147
|
-
* @param {Object} arg - Arg object.
|
|
148
|
-
* @param {ThemesSchema} arg.body
|
|
149
|
-
* @returns {Promise<ThemesSchema>} - Success response
|
|
150
|
-
* @summary: Create a new theme
|
|
151
|
-
* @description: Themes improve the look and appearance of a website. Use this API to create a theme.
|
|
152
|
-
*/
|
|
153
|
-
createTheme({ body }?: {
|
|
154
|
-
body: ThemesSchema;
|
|
155
|
-
}): Promise<ThemesSchema>;
|
|
156
|
-
/**
|
|
157
|
-
* @param {Object} arg - Arg object.
|
|
158
|
-
* @returns {Promise<ThemesSchema>} - Success response
|
|
159
|
-
* @summary: Get the applied theme
|
|
160
|
-
* @description: Use this API to retrieve the theme that is currently applied to the website along with its details.
|
|
161
|
-
*/
|
|
162
|
-
getAppliedTheme({}?: any): Promise<ThemesSchema>;
|
|
163
|
-
/**
|
|
164
|
-
* @param {Object} arg - Arg object.
|
|
165
|
-
* @returns {Promise<FontsSchema>} - Success response
|
|
166
|
-
* @summary: Get all the supported fonts in a theme
|
|
167
|
-
* @description: Font is a collection of characters with a similar design. Use this API to retrieve a list of website fonts.
|
|
168
|
-
*/
|
|
169
|
-
getFonts({}?: any): Promise<FontsSchema>;
|
|
170
130
|
/**
|
|
171
131
|
* @param {Object} arg - Arg object.
|
|
172
132
|
* @param {string} arg.themeId - ID allotted to the theme.
|
|
@@ -180,35 +140,47 @@ declare class Theme {
|
|
|
180
140
|
/**
|
|
181
141
|
* @param {Object} arg - Arg object.
|
|
182
142
|
* @param {string} arg.themeId - ID allotted to the theme.
|
|
183
|
-
* @param {ThemesSchema} arg.body
|
|
184
143
|
* @returns {Promise<ThemesSchema>} - Success response
|
|
185
|
-
* @summary:
|
|
186
|
-
* @description:
|
|
144
|
+
* @summary: Get a theme preview
|
|
145
|
+
* @description: A theme can be previewed before applying it. Use this API to retrieve the theme preview by using its ID.
|
|
187
146
|
*/
|
|
188
|
-
|
|
147
|
+
getThemeForPreview({ themeId }?: {
|
|
189
148
|
themeId: string;
|
|
190
|
-
body: ThemesSchema;
|
|
191
149
|
}): Promise<ThemesSchema>;
|
|
192
150
|
/**
|
|
193
151
|
* @param {Object} arg - Arg object.
|
|
194
152
|
* @param {string} arg.themeId - ID allotted to the theme.
|
|
195
|
-
* @returns {Promise<
|
|
196
|
-
* @summary:
|
|
197
|
-
* @description: Use this API to
|
|
153
|
+
* @returns {Promise<any>} - Success response
|
|
154
|
+
* @summary: Fetch last modified timestamp
|
|
155
|
+
* @description: Use this API to fetch Last-Modified timestamp in header metadata.
|
|
198
156
|
*/
|
|
199
|
-
|
|
157
|
+
getThemeLastModified({ themeId }?: {
|
|
200
158
|
themeId: string;
|
|
201
|
-
}): Promise<
|
|
159
|
+
}): Promise<any>;
|
|
202
160
|
/**
|
|
203
161
|
* @param {Object} arg - Arg object.
|
|
204
|
-
* @param {
|
|
205
|
-
*
|
|
206
|
-
* @
|
|
207
|
-
*
|
|
162
|
+
* @param {number} [arg.pageSize] - The number of items to retrieve in each
|
|
163
|
+
* page. Default value is 10.
|
|
164
|
+
* @param {number} [arg.pageNo] - The page number to navigate through the
|
|
165
|
+
* given set of results. Default value is 1.
|
|
166
|
+
* @returns {Promise<ThemesListingResponseSchema>} - Success response
|
|
167
|
+
* @summary: Get a list of themes from the theme library
|
|
168
|
+
* @description: Theme library is a personalized collection of themes that are chosen and added from the available themes. Use this API to fetch a list of themes from the library along with their configuration details.
|
|
208
169
|
*/
|
|
209
|
-
|
|
170
|
+
getThemeLibrary({ pageSize, pageNo }?: {
|
|
171
|
+
pageSize?: number;
|
|
172
|
+
pageNo?: number;
|
|
173
|
+
}): Promise<ThemesListingResponseSchema>;
|
|
174
|
+
/**
|
|
175
|
+
* @param {Object} arg - Arg object.
|
|
176
|
+
* @param {string} arg.themeId - Theme ID
|
|
177
|
+
* @returns {Promise<UpgradableThemeSchema>} - Success response
|
|
178
|
+
* @summary: Checks if theme is upgradable
|
|
179
|
+
* @description: There's always a possibility that new features get added to a theme. Use this API to check if the applied theme has an upgrade available.
|
|
180
|
+
*/
|
|
181
|
+
isUpgradable({ themeId }?: {
|
|
210
182
|
themeId: string;
|
|
211
|
-
}): Promise<
|
|
183
|
+
}): Promise<UpgradableThemeSchema>;
|
|
212
184
|
/**
|
|
213
185
|
* @param {Object} arg - Arg object.
|
|
214
186
|
* @param {string} arg.themeId - ID allotted to the theme.
|
|
@@ -223,40 +195,68 @@ declare class Theme {
|
|
|
223
195
|
* @param {Object} arg - Arg object.
|
|
224
196
|
* @param {string} arg.themeId - ID allotted to the theme.
|
|
225
197
|
* @returns {Promise<ThemesSchema>} - Success response
|
|
226
|
-
* @summary:
|
|
227
|
-
* @description: Use this API to
|
|
198
|
+
* @summary: Unarchive a theme
|
|
199
|
+
* @description: Use this API to restore an archived theme and bring it back for editing or publishing.
|
|
228
200
|
*/
|
|
229
|
-
|
|
201
|
+
unarchiveTheme({ themeId }?: {
|
|
230
202
|
themeId: string;
|
|
231
203
|
}): Promise<ThemesSchema>;
|
|
232
204
|
/**
|
|
233
205
|
* @param {Object} arg - Arg object.
|
|
234
206
|
* @param {string} arg.themeId - ID allotted to the theme.
|
|
235
207
|
* @returns {Promise<ThemesSchema>} - Success response
|
|
236
|
-
* @summary:
|
|
237
|
-
* @description: Use this API to
|
|
208
|
+
* @summary: Unpublish a theme
|
|
209
|
+
* @description: Use this API to remove an existing theme from the list of available themes.
|
|
238
210
|
*/
|
|
239
|
-
|
|
211
|
+
unpublishTheme({ themeId }?: {
|
|
240
212
|
themeId: string;
|
|
241
213
|
}): Promise<ThemesSchema>;
|
|
214
|
+
/**
|
|
215
|
+
* @param {Object} arg - Arg object.
|
|
216
|
+
* @param {string} arg.themeId - ID of the theme to be retrieved
|
|
217
|
+
* @param {AllAvailablePageSchema} arg.body
|
|
218
|
+
* @returns {Promise<AllAvailablePageSchema>} - Success response
|
|
219
|
+
* @summary: Update multiple pages of a theme
|
|
220
|
+
* @description: Use this API to update multiple pages of a theme by its ID.
|
|
221
|
+
*/
|
|
222
|
+
updateMultiplePages({ themeId, body }?: {
|
|
223
|
+
themeId: string;
|
|
224
|
+
body: AllAvailablePageSchema;
|
|
225
|
+
}): Promise<AllAvailablePageSchema>;
|
|
226
|
+
/**
|
|
227
|
+
* @param {Object} arg - Arg object.
|
|
228
|
+
* @param {string} arg.themeId - ID of the theme
|
|
229
|
+
* @param {string} arg.pageValue - Value of the page to be updated
|
|
230
|
+
* @param {AvailablePageSchema} arg.body
|
|
231
|
+
* @returns {Promise<AvailablePageSchema>} - Success response
|
|
232
|
+
* @summary: Updates a page
|
|
233
|
+
* @description: Use this API to update a page for a theme by its ID.
|
|
234
|
+
*/
|
|
235
|
+
updatePage({ themeId, pageValue, body }?: {
|
|
236
|
+
themeId: string;
|
|
237
|
+
pageValue: string;
|
|
238
|
+
body: AvailablePageSchema;
|
|
239
|
+
}): Promise<AvailablePageSchema>;
|
|
242
240
|
/**
|
|
243
241
|
* @param {Object} arg - Arg object.
|
|
244
242
|
* @param {string} arg.themeId - ID allotted to the theme.
|
|
243
|
+
* @param {ThemesSchema} arg.body
|
|
245
244
|
* @returns {Promise<ThemesSchema>} - Success response
|
|
246
|
-
* @summary:
|
|
247
|
-
* @description: Use this API to
|
|
245
|
+
* @summary: Update a theme
|
|
246
|
+
* @description: Use this API to edit an existing theme. You can customize the website font, sections, images, styles, and many more.
|
|
248
247
|
*/
|
|
249
|
-
|
|
248
|
+
updateTheme({ themeId, body }?: {
|
|
250
249
|
themeId: string;
|
|
250
|
+
body: ThemesSchema;
|
|
251
251
|
}): Promise<ThemesSchema>;
|
|
252
252
|
/**
|
|
253
253
|
* @param {Object} arg - Arg object.
|
|
254
254
|
* @param {string} arg.themeId - ID allotted to the theme.
|
|
255
|
-
* @returns {Promise<
|
|
256
|
-
* @summary:
|
|
257
|
-
* @description: Use this API to
|
|
255
|
+
* @returns {Promise<ThemesSchema>} - Success response
|
|
256
|
+
* @summary: Upgrade a theme
|
|
257
|
+
* @description: Use this API to upgrade the current theme to its latest version.
|
|
258
258
|
*/
|
|
259
|
-
|
|
259
|
+
upgradeTheme({ themeId }?: {
|
|
260
260
|
themeId: string;
|
|
261
|
-
}): Promise<
|
|
261
|
+
}): Promise<ThemesSchema>;
|
|
262
262
|
}
|