@gofynd/fdk-client-javascript 1.4.15-beta.2 → 1.4.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +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 +108 -1199
- 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 +48 -111
- package/sdk/application/Content/ContentApplicationClient.js +43 -1065
- 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 +91 -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 +103 -213
- package/sdk/application/Payment/PaymentApplicationClient.js +84 -2105
- 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 +157 -30
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +1177 -56
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1662 -249
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +774 -162
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +13 -1
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +141 -12
- 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 +407 -112
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +111 -65
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +106 -44
- package/sdk/platform/Cart/CartPlatformModel.d.ts +5060 -1300
- package/sdk/platform/Cart/CartPlatformModel.js +1985 -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 +178 -117
- package/sdk/platform/Catalog/CatalogPlatformClient.js +468 -172
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6554 -1772
- package/sdk/platform/Catalog/CatalogPlatformModel.js +3264 -1690
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +116 -31
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +85 -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 +122 -191
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +447 -831
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +174 -220
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +164 -199
- package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
- package/sdk/platform/Content/ContentPlatformClient.js +523 -336
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1233 -476
- package/sdk/platform/Content/ContentPlatformModel.js +514 -487
- 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 +424 -198
- package/sdk/platform/Order/OrderPlatformModel.d.ts +7747 -1342
- package/sdk/platform/Order/OrderPlatformModel.js +3960 -1262
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +292 -109
- package/sdk/platform/Order/OrderPlatformValidator.js +145 -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 +132 -44
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +681 -64
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +2458 -650
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1266 -572
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +176 -47
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +134 -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
|
@@ -28,21 +28,16 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
28
28
|
* @property {ContentPlatformModel.AdminAnnouncementSchema} body
|
|
29
29
|
*/
|
|
30
30
|
|
|
31
|
-
/**
|
|
32
|
-
* @typedef CreateAppCustomFieldByResourceIdParam
|
|
33
|
-
* @property {string} resource
|
|
34
|
-
* @property {string} resourceId
|
|
35
|
-
* @property {ContentPlatformModel.CustomFieldRequestSchema} body
|
|
36
|
-
*/
|
|
37
|
-
|
|
38
31
|
/**
|
|
39
32
|
* @typedef CreateAppCustomFieldDefinitionParam
|
|
33
|
+
* @property {string} resource
|
|
40
34
|
* @property {ContentPlatformModel.CustomFieldDefinitionRequestSchema} body
|
|
41
35
|
*/
|
|
42
36
|
|
|
43
37
|
/**
|
|
44
|
-
* @typedef
|
|
45
|
-
* @property {
|
|
38
|
+
* @typedef CreateAppCustomObjectBySlugParam
|
|
39
|
+
* @property {string} definitionSlug
|
|
40
|
+
* @property {ContentPlatformModel.CustomObjectRequestSchemaWithoutId} body
|
|
46
41
|
*/
|
|
47
42
|
|
|
48
43
|
/**
|
|
@@ -52,7 +47,7 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
52
47
|
|
|
53
48
|
/**
|
|
54
49
|
* @typedef CreateBlogParam
|
|
55
|
-
* @property {ContentPlatformModel.
|
|
50
|
+
* @property {ContentPlatformModel.BlogPayload} body
|
|
56
51
|
*/
|
|
57
52
|
|
|
58
53
|
/**
|
|
@@ -67,17 +62,17 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
67
62
|
|
|
68
63
|
/**
|
|
69
64
|
* @typedef CreateNavigationParam
|
|
70
|
-
* @property {ContentPlatformModel.
|
|
65
|
+
* @property {ContentPlatformModel.NavigationPayload} body
|
|
71
66
|
*/
|
|
72
67
|
|
|
73
68
|
/**
|
|
74
69
|
* @typedef CreatePageParam
|
|
75
|
-
* @property {ContentPlatformModel.
|
|
70
|
+
* @property {ContentPlatformModel.PagePayload} body
|
|
76
71
|
*/
|
|
77
72
|
|
|
78
73
|
/**
|
|
79
74
|
* @typedef CreatePagePreviewParam
|
|
80
|
-
* @property {ContentPlatformModel.
|
|
75
|
+
* @property {ContentPlatformModel.PagePayload} body
|
|
81
76
|
*/
|
|
82
77
|
|
|
83
78
|
/**
|
|
@@ -85,29 +80,27 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
85
80
|
* @property {ContentPlatformModel.SEOSchemaMarkupTemplateRequestBody} body
|
|
86
81
|
*/
|
|
87
82
|
|
|
88
|
-
/**
|
|
89
|
-
* @typedef CreateSlideshowParam
|
|
90
|
-
* @property {ContentPlatformModel.SlideshowRequest} body
|
|
91
|
-
*/
|
|
92
|
-
|
|
93
83
|
/**
|
|
94
84
|
* @typedef DeleteAnnouncementParam
|
|
95
85
|
* @property {string} announcementId - ID allotted to the announcement.
|
|
96
86
|
*/
|
|
97
87
|
|
|
98
88
|
/**
|
|
99
|
-
* @typedef
|
|
100
|
-
* @property {string}
|
|
89
|
+
* @typedef DeleteAppCustomFieldDefinitionBySlugParam
|
|
90
|
+
* @property {string} slug
|
|
91
|
+
* @property {string} resource
|
|
92
|
+
* @property {string} namespace
|
|
101
93
|
*/
|
|
102
94
|
|
|
103
95
|
/**
|
|
104
|
-
* @typedef
|
|
105
|
-
* @property {string}
|
|
96
|
+
* @typedef DeleteAppCustomObjectBySlugParam
|
|
97
|
+
* @property {string} definitionSlug
|
|
98
|
+
* @property {string} slug
|
|
106
99
|
*/
|
|
107
100
|
|
|
108
101
|
/**
|
|
109
|
-
* @typedef
|
|
110
|
-
* @property {string}
|
|
102
|
+
* @typedef DeleteAppCustomObjectDefinitionBySlugParam
|
|
103
|
+
* @property {string} slug
|
|
111
104
|
*/
|
|
112
105
|
|
|
113
106
|
/**
|
|
@@ -157,11 +150,6 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
157
150
|
* Template created within a business.
|
|
158
151
|
*/
|
|
159
152
|
|
|
160
|
-
/**
|
|
161
|
-
* @typedef DeleteSlideshowParam
|
|
162
|
-
* @property {string} id - ID allotted to the slideshow.
|
|
163
|
-
*/
|
|
164
|
-
|
|
165
153
|
/**
|
|
166
154
|
* @typedef EditDataLoaderParam
|
|
167
155
|
* @property {string} dataLoaderId - ID allotted to the data loader.
|
|
@@ -182,8 +170,8 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
182
170
|
*/
|
|
183
171
|
|
|
184
172
|
/**
|
|
185
|
-
* @typedef
|
|
186
|
-
* @property {string}
|
|
173
|
+
* @typedef ExportAppCustomObjectEntriesBySlugParam
|
|
174
|
+
* @property {string} slug
|
|
187
175
|
*/
|
|
188
176
|
|
|
189
177
|
/**
|
|
@@ -208,40 +196,51 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
208
196
|
*/
|
|
209
197
|
|
|
210
198
|
/**
|
|
211
|
-
* @typedef
|
|
212
|
-
* @property {string}
|
|
199
|
+
* @typedef GetAppCustomFieldDefinitionByResourceParam
|
|
200
|
+
* @property {string} pageNo
|
|
201
|
+
* @property {string} pageSize
|
|
202
|
+
* @property {string} resource
|
|
203
|
+
* @property {string} [types]
|
|
204
|
+
* @property {string} [search]
|
|
205
|
+
* @property {string} [slugs]
|
|
206
|
+
* @property {string} [namespaces]
|
|
207
|
+
*/
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* @typedef GetAppCustomFieldDefinitionBySlugParam
|
|
211
|
+
* @property {string} slug
|
|
212
|
+
* @property {string} resource
|
|
213
|
+
* @property {string} namespace
|
|
213
214
|
*/
|
|
214
215
|
|
|
215
216
|
/**
|
|
216
217
|
* @typedef GetAppCustomFieldDefinitionsParam
|
|
217
218
|
* @property {string} pageNo
|
|
218
219
|
* @property {string} pageSize
|
|
219
|
-
* @property {string} [
|
|
220
|
-
* @property {string} [
|
|
220
|
+
* @property {string} [resources]
|
|
221
|
+
* @property {string} [types]
|
|
221
222
|
* @property {string} [search]
|
|
223
|
+
* @property {string} [slugs]
|
|
224
|
+
* @property {string} [namespaces]
|
|
222
225
|
*/
|
|
223
226
|
|
|
224
227
|
/** @typedef GetAppCustomFieldTypesParam */
|
|
225
228
|
|
|
226
229
|
/**
|
|
227
|
-
* @typedef
|
|
228
|
-
* @property {string} resource
|
|
229
|
-
*/
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* @typedef GetAppCustomFieldsByResourceIdParam
|
|
230
|
+
* @typedef GetAppCustomFieldsByResourceSlugParam
|
|
233
231
|
* @property {string} resource
|
|
234
|
-
* @property {string}
|
|
232
|
+
* @property {string} resourceSlug
|
|
235
233
|
*/
|
|
236
234
|
|
|
237
235
|
/**
|
|
238
|
-
* @typedef
|
|
239
|
-
* @property {string}
|
|
236
|
+
* @typedef GetAppCustomObjectBySlugParam
|
|
237
|
+
* @property {string} definitionSlug
|
|
238
|
+
* @property {string} slug
|
|
240
239
|
*/
|
|
241
240
|
|
|
242
241
|
/**
|
|
243
|
-
* @typedef
|
|
244
|
-
* @property {string}
|
|
242
|
+
* @typedef GetAppCustomObjectDefinitionBySlugParam
|
|
243
|
+
* @property {string} slug
|
|
245
244
|
*/
|
|
246
245
|
|
|
247
246
|
/**
|
|
@@ -252,10 +251,10 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
252
251
|
*/
|
|
253
252
|
|
|
254
253
|
/**
|
|
255
|
-
* @typedef
|
|
256
|
-
* @property {string} [definitionId]
|
|
254
|
+
* @typedef GetAppCustomObjectsBySlugParam
|
|
257
255
|
* @property {string} pageNo
|
|
258
256
|
* @property {string} pageSize
|
|
257
|
+
* @property {string} definitionSlug
|
|
259
258
|
*/
|
|
260
259
|
|
|
261
260
|
/**
|
|
@@ -343,8 +342,8 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
343
342
|
* @typedef GetNavigationBySlugParam
|
|
344
343
|
* @property {string} slug - A short, human-readable, URL-friendly identifier of
|
|
345
344
|
* a navigation. You can get slug value of a navigation from `getNavigations` API.
|
|
346
|
-
* @property {string} devicePlatform - Filter navigations by platform.
|
|
347
|
-
* Acceptable values are: web, android, ios
|
|
345
|
+
* @property {string} [devicePlatform] - Filter navigations by platform.
|
|
346
|
+
* Acceptable values are: web, android, ios.
|
|
348
347
|
*/
|
|
349
348
|
|
|
350
349
|
/**
|
|
@@ -406,29 +405,11 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
406
405
|
* Default value is 10.
|
|
407
406
|
*/
|
|
408
407
|
|
|
409
|
-
/**
|
|
410
|
-
* @typedef GetSlideshowBySlugParam
|
|
411
|
-
* @property {string} slug - A short, human-readable, URL-friendly identifier of
|
|
412
|
-
* a slideshow. You can get slug value of a page from `getSlideshows` API.
|
|
413
|
-
* @property {string} devicePlatform - Filter slideshows by platform. Acceptable
|
|
414
|
-
* values are: web, android, ios and all
|
|
415
|
-
*/
|
|
416
|
-
|
|
417
|
-
/**
|
|
418
|
-
* @typedef GetSlideshowsParam
|
|
419
|
-
* @property {string} devicePlatform - Filter slideshows by platform. Acceptable
|
|
420
|
-
* values are: web, android, ios and all
|
|
421
|
-
* @property {number} [pageNo] - The page number to navigate through the given
|
|
422
|
-
* set of results. Default value is 1.
|
|
423
|
-
* @property {number} [pageSize] - The number of items to retrieve in each page.
|
|
424
|
-
* Default value is 10.
|
|
425
|
-
*/
|
|
426
|
-
|
|
427
408
|
/** @typedef GetSupportInformationParam */
|
|
428
409
|
|
|
429
410
|
/**
|
|
430
|
-
* @typedef
|
|
431
|
-
* @property {string}
|
|
411
|
+
* @typedef ImportAppCustomObjectEntriesBySlugParam
|
|
412
|
+
* @property {string} slug
|
|
432
413
|
* @property {ContentPlatformModel.CustomObjectBulkSchema} body
|
|
433
414
|
*/
|
|
434
415
|
|
|
@@ -444,8 +425,8 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
444
425
|
*/
|
|
445
426
|
|
|
446
427
|
/**
|
|
447
|
-
* @typedef
|
|
448
|
-
* @property {string}
|
|
428
|
+
* @typedef SampleAppCustomObjectBulkEntryBySlugParam
|
|
429
|
+
* @property {string} slug
|
|
449
430
|
*/
|
|
450
431
|
|
|
451
432
|
/**
|
|
@@ -466,27 +447,37 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
466
447
|
*/
|
|
467
448
|
|
|
468
449
|
/**
|
|
469
|
-
* @typedef
|
|
470
|
-
* @property {string}
|
|
450
|
+
* @typedef UpdateAppCustomFieldByResourceSlugParam
|
|
451
|
+
* @property {string} resource
|
|
452
|
+
* @property {string} resourceSlug
|
|
453
|
+
* @property {ContentPlatformModel.CustomFieldRequestSchema} body
|
|
454
|
+
*/
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* @typedef UpdateAppCustomFieldDefinitionBySlugParam
|
|
458
|
+
* @property {string} slug
|
|
459
|
+
* @property {string} resource
|
|
460
|
+
* @property {string} namespace
|
|
471
461
|
* @property {ContentPlatformModel.CustomFieldDefinitionRequestSchema} body
|
|
472
462
|
*/
|
|
473
463
|
|
|
474
464
|
/**
|
|
475
|
-
* @typedef
|
|
476
|
-
* @property {string}
|
|
477
|
-
* @property {
|
|
465
|
+
* @typedef UpdateAppCustomObjectBySlugParam
|
|
466
|
+
* @property {string} definitionSlug
|
|
467
|
+
* @property {string} slug
|
|
468
|
+
* @property {ContentPlatformModel.CustomObjectRequestSchemaWithoutId} body
|
|
478
469
|
*/
|
|
479
470
|
|
|
480
471
|
/**
|
|
481
|
-
* @typedef
|
|
482
|
-
* @property {string}
|
|
472
|
+
* @typedef UpdateAppCustomObjectDefinitionBySlugParam
|
|
473
|
+
* @property {string} slug
|
|
483
474
|
* @property {ContentPlatformModel.CustomObjectDefinitionUpdateRequestSchema} body
|
|
484
475
|
*/
|
|
485
476
|
|
|
486
477
|
/**
|
|
487
478
|
* @typedef UpdateBlogParam
|
|
488
479
|
* @property {string} id - ID allotted to the blog.
|
|
489
|
-
* @property {ContentPlatformModel.
|
|
480
|
+
* @property {ContentPlatformModel.BlogPayload} body
|
|
490
481
|
*/
|
|
491
482
|
|
|
492
483
|
/**
|
|
@@ -521,7 +512,7 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
521
512
|
/**
|
|
522
513
|
* @typedef UpdateNavigationParam
|
|
523
514
|
* @property {string} id - ID allotted to the navigation.
|
|
524
|
-
* @property {ContentPlatformModel.
|
|
515
|
+
* @property {ContentPlatformModel.NavigationPayload} body
|
|
525
516
|
*/
|
|
526
517
|
|
|
527
518
|
/**
|
|
@@ -534,7 +525,7 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
534
525
|
* @typedef UpdatePagePreviewParam
|
|
535
526
|
* @property {string} slug - A short, human-readable, URL-friendly identifier of
|
|
536
527
|
* a page. You can get slug value of a page from `getPages` API.
|
|
537
|
-
* @property {ContentPlatformModel.
|
|
528
|
+
* @property {ContentPlatformModel.PagePublishPayload} body
|
|
538
529
|
*/
|
|
539
530
|
|
|
540
531
|
/**
|
|
@@ -548,12 +539,6 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
548
539
|
* @property {ContentPlatformModel.SeoComponent} body
|
|
549
540
|
*/
|
|
550
541
|
|
|
551
|
-
/**
|
|
552
|
-
* @typedef UpdateSlideshowParam
|
|
553
|
-
* @property {string} id - ID allotted to the slideshow.
|
|
554
|
-
* @property {ContentPlatformModel.SlideshowRequest} body
|
|
555
|
-
*/
|
|
556
|
-
|
|
557
542
|
/**
|
|
558
543
|
* @typedef UpdateSupportInformationParam
|
|
559
544
|
* @property {ContentPlatformModel.Support} body
|
|
@@ -596,26 +581,19 @@ class ContentPlatformApplicationValidator {
|
|
|
596
581
|
}).required();
|
|
597
582
|
}
|
|
598
583
|
|
|
599
|
-
/** @returns {CreateAppCustomFieldByResourceIdParam} */
|
|
600
|
-
static createAppCustomFieldByResourceId() {
|
|
601
|
-
return Joi.object({
|
|
602
|
-
resource: Joi.string().allow("").required(),
|
|
603
|
-
resourceId: Joi.string().allow("").required(),
|
|
604
|
-
body: ContentPlatformModel.CustomFieldRequestSchema().required(),
|
|
605
|
-
}).required();
|
|
606
|
-
}
|
|
607
|
-
|
|
608
584
|
/** @returns {CreateAppCustomFieldDefinitionParam} */
|
|
609
585
|
static createAppCustomFieldDefinition() {
|
|
610
586
|
return Joi.object({
|
|
587
|
+
resource: Joi.string().allow("").required(),
|
|
611
588
|
body: ContentPlatformModel.CustomFieldDefinitionRequestSchema().required(),
|
|
612
589
|
}).required();
|
|
613
590
|
}
|
|
614
591
|
|
|
615
|
-
/** @returns {
|
|
616
|
-
static
|
|
592
|
+
/** @returns {CreateAppCustomObjectBySlugParam} */
|
|
593
|
+
static createAppCustomObjectBySlug() {
|
|
617
594
|
return Joi.object({
|
|
618
|
-
|
|
595
|
+
definitionSlug: Joi.string().allow("").required(),
|
|
596
|
+
body: ContentPlatformModel.CustomObjectRequestSchemaWithoutId().required(),
|
|
619
597
|
}).required();
|
|
620
598
|
}
|
|
621
599
|
|
|
@@ -629,7 +607,7 @@ class ContentPlatformApplicationValidator {
|
|
|
629
607
|
/** @returns {CreateBlogParam} */
|
|
630
608
|
static createBlog() {
|
|
631
609
|
return Joi.object({
|
|
632
|
-
body: ContentPlatformModel.
|
|
610
|
+
body: ContentPlatformModel.BlogPayload().required(),
|
|
633
611
|
}).required();
|
|
634
612
|
}
|
|
635
613
|
|
|
@@ -650,21 +628,21 @@ class ContentPlatformApplicationValidator {
|
|
|
650
628
|
/** @returns {CreateNavigationParam} */
|
|
651
629
|
static createNavigation() {
|
|
652
630
|
return Joi.object({
|
|
653
|
-
body: ContentPlatformModel.
|
|
631
|
+
body: ContentPlatformModel.NavigationPayload().required(),
|
|
654
632
|
}).required();
|
|
655
633
|
}
|
|
656
634
|
|
|
657
635
|
/** @returns {CreatePageParam} */
|
|
658
636
|
static createPage() {
|
|
659
637
|
return Joi.object({
|
|
660
|
-
body: ContentPlatformModel.
|
|
638
|
+
body: ContentPlatformModel.PagePayload().required(),
|
|
661
639
|
}).required();
|
|
662
640
|
}
|
|
663
641
|
|
|
664
642
|
/** @returns {CreatePagePreviewParam} */
|
|
665
643
|
static createPagePreview() {
|
|
666
644
|
return Joi.object({
|
|
667
|
-
body: ContentPlatformModel.
|
|
645
|
+
body: ContentPlatformModel.PagePayload().required(),
|
|
668
646
|
}).required();
|
|
669
647
|
}
|
|
670
648
|
|
|
@@ -675,13 +653,6 @@ class ContentPlatformApplicationValidator {
|
|
|
675
653
|
}).required();
|
|
676
654
|
}
|
|
677
655
|
|
|
678
|
-
/** @returns {CreateSlideshowParam} */
|
|
679
|
-
static createSlideshow() {
|
|
680
|
-
return Joi.object({
|
|
681
|
-
body: ContentPlatformModel.SlideshowRequest().required(),
|
|
682
|
-
}).required();
|
|
683
|
-
}
|
|
684
|
-
|
|
685
656
|
/** @returns {DeleteAnnouncementParam} */
|
|
686
657
|
static deleteAnnouncement() {
|
|
687
658
|
return Joi.object({
|
|
@@ -689,24 +660,27 @@ class ContentPlatformApplicationValidator {
|
|
|
689
660
|
}).required();
|
|
690
661
|
}
|
|
691
662
|
|
|
692
|
-
/** @returns {
|
|
693
|
-
static
|
|
663
|
+
/** @returns {DeleteAppCustomFieldDefinitionBySlugParam} */
|
|
664
|
+
static deleteAppCustomFieldDefinitionBySlug() {
|
|
694
665
|
return Joi.object({
|
|
695
|
-
|
|
666
|
+
slug: Joi.string().allow("").required(),
|
|
667
|
+
resource: Joi.string().allow("").required(),
|
|
668
|
+
namespace: Joi.string().allow("").required(),
|
|
696
669
|
}).required();
|
|
697
670
|
}
|
|
698
671
|
|
|
699
|
-
/** @returns {
|
|
700
|
-
static
|
|
672
|
+
/** @returns {DeleteAppCustomObjectBySlugParam} */
|
|
673
|
+
static deleteAppCustomObjectBySlug() {
|
|
701
674
|
return Joi.object({
|
|
702
|
-
|
|
675
|
+
definitionSlug: Joi.string().allow("").required(),
|
|
676
|
+
slug: Joi.string().allow("").required(),
|
|
703
677
|
}).required();
|
|
704
678
|
}
|
|
705
679
|
|
|
706
|
-
/** @returns {
|
|
707
|
-
static
|
|
680
|
+
/** @returns {DeleteAppCustomObjectDefinitionBySlugParam} */
|
|
681
|
+
static deleteAppCustomObjectDefinitionBySlug() {
|
|
708
682
|
return Joi.object({
|
|
709
|
-
|
|
683
|
+
slug: Joi.string().allow("").required(),
|
|
710
684
|
}).required();
|
|
711
685
|
}
|
|
712
686
|
|
|
@@ -774,13 +748,6 @@ class ContentPlatformApplicationValidator {
|
|
|
774
748
|
}).required();
|
|
775
749
|
}
|
|
776
750
|
|
|
777
|
-
/** @returns {DeleteSlideshowParam} */
|
|
778
|
-
static deleteSlideshow() {
|
|
779
|
-
return Joi.object({
|
|
780
|
-
id: Joi.string().allow("").required(),
|
|
781
|
-
}).required();
|
|
782
|
-
}
|
|
783
|
-
|
|
784
751
|
/** @returns {EditDataLoaderParam} */
|
|
785
752
|
static editDataLoader() {
|
|
786
753
|
return Joi.object({
|
|
@@ -805,10 +772,10 @@ class ContentPlatformApplicationValidator {
|
|
|
805
772
|
}).required();
|
|
806
773
|
}
|
|
807
774
|
|
|
808
|
-
/** @returns {
|
|
809
|
-
static
|
|
775
|
+
/** @returns {ExportAppCustomObjectEntriesBySlugParam} */
|
|
776
|
+
static exportAppCustomObjectEntriesBySlug() {
|
|
810
777
|
return Joi.object({
|
|
811
|
-
|
|
778
|
+
slug: Joi.string().allow("").required(),
|
|
812
779
|
}).required();
|
|
813
780
|
}
|
|
814
781
|
|
|
@@ -835,10 +802,25 @@ class ContentPlatformApplicationValidator {
|
|
|
835
802
|
}).required();
|
|
836
803
|
}
|
|
837
804
|
|
|
838
|
-
/** @returns {
|
|
839
|
-
static
|
|
805
|
+
/** @returns {GetAppCustomFieldDefinitionByResourceParam} */
|
|
806
|
+
static getAppCustomFieldDefinitionByResource() {
|
|
840
807
|
return Joi.object({
|
|
841
|
-
|
|
808
|
+
pageNo: Joi.string().allow("").required(),
|
|
809
|
+
pageSize: Joi.string().allow("").required(),
|
|
810
|
+
resource: Joi.string().allow("").required(),
|
|
811
|
+
types: Joi.string().allow(""),
|
|
812
|
+
search: Joi.string().allow(""),
|
|
813
|
+
slugs: Joi.string().allow(""),
|
|
814
|
+
namespaces: Joi.string().allow(""),
|
|
815
|
+
}).required();
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
/** @returns {GetAppCustomFieldDefinitionBySlugParam} */
|
|
819
|
+
static getAppCustomFieldDefinitionBySlug() {
|
|
820
|
+
return Joi.object({
|
|
821
|
+
slug: Joi.string().allow("").required(),
|
|
822
|
+
resource: Joi.string().allow("").required(),
|
|
823
|
+
namespace: Joi.string().allow("").required(),
|
|
842
824
|
}).required();
|
|
843
825
|
}
|
|
844
826
|
|
|
@@ -847,9 +829,11 @@ class ContentPlatformApplicationValidator {
|
|
|
847
829
|
return Joi.object({
|
|
848
830
|
pageNo: Joi.string().allow("").required(),
|
|
849
831
|
pageSize: Joi.string().allow("").required(),
|
|
850
|
-
|
|
851
|
-
|
|
832
|
+
resources: Joi.string().allow(""),
|
|
833
|
+
types: Joi.string().allow(""),
|
|
852
834
|
search: Joi.string().allow(""),
|
|
835
|
+
slugs: Joi.string().allow(""),
|
|
836
|
+
namespaces: Joi.string().allow(""),
|
|
853
837
|
}).required();
|
|
854
838
|
}
|
|
855
839
|
|
|
@@ -858,32 +842,26 @@ class ContentPlatformApplicationValidator {
|
|
|
858
842
|
return Joi.object({}).required();
|
|
859
843
|
}
|
|
860
844
|
|
|
861
|
-
/** @returns {
|
|
862
|
-
static
|
|
863
|
-
return Joi.object({
|
|
864
|
-
resource: Joi.string().allow("").required(),
|
|
865
|
-
}).required();
|
|
866
|
-
}
|
|
867
|
-
|
|
868
|
-
/** @returns {GetAppCustomFieldsByResourceIdParam} */
|
|
869
|
-
static getAppCustomFieldsByResourceId() {
|
|
845
|
+
/** @returns {GetAppCustomFieldsByResourceSlugParam} */
|
|
846
|
+
static getAppCustomFieldsByResourceSlug() {
|
|
870
847
|
return Joi.object({
|
|
871
848
|
resource: Joi.string().allow("").required(),
|
|
872
|
-
|
|
849
|
+
resourceSlug: Joi.string().allow("").required(),
|
|
873
850
|
}).required();
|
|
874
851
|
}
|
|
875
852
|
|
|
876
|
-
/** @returns {
|
|
877
|
-
static
|
|
853
|
+
/** @returns {GetAppCustomObjectBySlugParam} */
|
|
854
|
+
static getAppCustomObjectBySlug() {
|
|
878
855
|
return Joi.object({
|
|
879
|
-
|
|
856
|
+
definitionSlug: Joi.string().allow("").required(),
|
|
857
|
+
slug: Joi.string().allow("").required(),
|
|
880
858
|
}).required();
|
|
881
859
|
}
|
|
882
860
|
|
|
883
|
-
/** @returns {
|
|
884
|
-
static
|
|
861
|
+
/** @returns {GetAppCustomObjectDefinitionBySlugParam} */
|
|
862
|
+
static getAppCustomObjectDefinitionBySlug() {
|
|
885
863
|
return Joi.object({
|
|
886
|
-
|
|
864
|
+
slug: Joi.string().allow("").required(),
|
|
887
865
|
}).required();
|
|
888
866
|
}
|
|
889
867
|
|
|
@@ -896,12 +874,12 @@ class ContentPlatformApplicationValidator {
|
|
|
896
874
|
}).required();
|
|
897
875
|
}
|
|
898
876
|
|
|
899
|
-
/** @returns {
|
|
900
|
-
static
|
|
877
|
+
/** @returns {GetAppCustomObjectsBySlugParam} */
|
|
878
|
+
static getAppCustomObjectsBySlug() {
|
|
901
879
|
return Joi.object({
|
|
902
|
-
definitionId: Joi.string().allow(""),
|
|
903
880
|
pageNo: Joi.string().allow("").required(),
|
|
904
881
|
pageSize: Joi.string().allow("").required(),
|
|
882
|
+
definitionSlug: Joi.string().allow("").required(),
|
|
905
883
|
}).required();
|
|
906
884
|
}
|
|
907
885
|
|
|
@@ -1013,7 +991,7 @@ class ContentPlatformApplicationValidator {
|
|
|
1013
991
|
static getNavigationBySlug() {
|
|
1014
992
|
return Joi.object({
|
|
1015
993
|
slug: Joi.string().allow("").required(),
|
|
1016
|
-
devicePlatform: Joi.string().allow("")
|
|
994
|
+
devicePlatform: Joi.string().allow(""),
|
|
1017
995
|
}).required();
|
|
1018
996
|
}
|
|
1019
997
|
|
|
@@ -1088,32 +1066,15 @@ class ContentPlatformApplicationValidator {
|
|
|
1088
1066
|
}).required();
|
|
1089
1067
|
}
|
|
1090
1068
|
|
|
1091
|
-
/** @returns {GetSlideshowBySlugParam} */
|
|
1092
|
-
static getSlideshowBySlug() {
|
|
1093
|
-
return Joi.object({
|
|
1094
|
-
slug: Joi.string().allow("").required(),
|
|
1095
|
-
devicePlatform: Joi.string().allow("").required(),
|
|
1096
|
-
}).required();
|
|
1097
|
-
}
|
|
1098
|
-
|
|
1099
|
-
/** @returns {GetSlideshowsParam} */
|
|
1100
|
-
static getSlideshows() {
|
|
1101
|
-
return Joi.object({
|
|
1102
|
-
devicePlatform: Joi.string().allow("").required(),
|
|
1103
|
-
pageNo: Joi.number(),
|
|
1104
|
-
pageSize: Joi.number(),
|
|
1105
|
-
}).required();
|
|
1106
|
-
}
|
|
1107
|
-
|
|
1108
1069
|
/** @returns {GetSupportInformationParam} */
|
|
1109
1070
|
static getSupportInformation() {
|
|
1110
1071
|
return Joi.object({}).required();
|
|
1111
1072
|
}
|
|
1112
1073
|
|
|
1113
|
-
/** @returns {
|
|
1114
|
-
static
|
|
1074
|
+
/** @returns {ImportAppCustomObjectEntriesBySlugParam} */
|
|
1075
|
+
static importAppCustomObjectEntriesBySlug() {
|
|
1115
1076
|
return Joi.object({
|
|
1116
|
-
|
|
1077
|
+
slug: Joi.string().allow("").required(),
|
|
1117
1078
|
body: ContentPlatformModel.CustomObjectBulkSchema().required(),
|
|
1118
1079
|
}).required();
|
|
1119
1080
|
}
|
|
@@ -1133,10 +1094,10 @@ class ContentPlatformApplicationValidator {
|
|
|
1133
1094
|
}).required();
|
|
1134
1095
|
}
|
|
1135
1096
|
|
|
1136
|
-
/** @returns {
|
|
1137
|
-
static
|
|
1097
|
+
/** @returns {SampleAppCustomObjectBulkEntryBySlugParam} */
|
|
1098
|
+
static sampleAppCustomObjectBulkEntryBySlug() {
|
|
1138
1099
|
return Joi.object({
|
|
1139
|
-
|
|
1100
|
+
slug: Joi.string().allow("").required(),
|
|
1140
1101
|
}).required();
|
|
1141
1102
|
}
|
|
1142
1103
|
|
|
@@ -1163,26 +1124,38 @@ class ContentPlatformApplicationValidator {
|
|
|
1163
1124
|
}).required();
|
|
1164
1125
|
}
|
|
1165
1126
|
|
|
1166
|
-
/** @returns {
|
|
1167
|
-
static
|
|
1127
|
+
/** @returns {UpdateAppCustomFieldByResourceSlugParam} */
|
|
1128
|
+
static updateAppCustomFieldByResourceSlug() {
|
|
1168
1129
|
return Joi.object({
|
|
1169
|
-
|
|
1130
|
+
resource: Joi.string().allow("").required(),
|
|
1131
|
+
resourceSlug: Joi.string().allow("").required(),
|
|
1132
|
+
body: ContentPlatformModel.CustomFieldRequestSchema().required(),
|
|
1133
|
+
}).required();
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
/** @returns {UpdateAppCustomFieldDefinitionBySlugParam} */
|
|
1137
|
+
static updateAppCustomFieldDefinitionBySlug() {
|
|
1138
|
+
return Joi.object({
|
|
1139
|
+
slug: Joi.string().allow("").required(),
|
|
1140
|
+
resource: Joi.string().allow("").required(),
|
|
1141
|
+
namespace: Joi.string().allow("").required(),
|
|
1170
1142
|
body: ContentPlatformModel.CustomFieldDefinitionRequestSchema().required(),
|
|
1171
1143
|
}).required();
|
|
1172
1144
|
}
|
|
1173
1145
|
|
|
1174
|
-
/** @returns {
|
|
1175
|
-
static
|
|
1146
|
+
/** @returns {UpdateAppCustomObjectBySlugParam} */
|
|
1147
|
+
static updateAppCustomObjectBySlug() {
|
|
1176
1148
|
return Joi.object({
|
|
1177
|
-
|
|
1178
|
-
|
|
1149
|
+
definitionSlug: Joi.string().allow("").required(),
|
|
1150
|
+
slug: Joi.string().allow("").required(),
|
|
1151
|
+
body: ContentPlatformModel.CustomObjectRequestSchemaWithoutId().required(),
|
|
1179
1152
|
}).required();
|
|
1180
1153
|
}
|
|
1181
1154
|
|
|
1182
|
-
/** @returns {
|
|
1183
|
-
static
|
|
1155
|
+
/** @returns {UpdateAppCustomObjectDefinitionBySlugParam} */
|
|
1156
|
+
static updateAppCustomObjectDefinitionBySlug() {
|
|
1184
1157
|
return Joi.object({
|
|
1185
|
-
|
|
1158
|
+
slug: Joi.string().allow("").required(),
|
|
1186
1159
|
body: ContentPlatformModel.CustomObjectDefinitionUpdateRequestSchema().required(),
|
|
1187
1160
|
}).required();
|
|
1188
1161
|
}
|
|
@@ -1191,7 +1164,7 @@ class ContentPlatformApplicationValidator {
|
|
|
1191
1164
|
static updateBlog() {
|
|
1192
1165
|
return Joi.object({
|
|
1193
1166
|
id: Joi.string().allow("").required(),
|
|
1194
|
-
body: ContentPlatformModel.
|
|
1167
|
+
body: ContentPlatformModel.BlogPayload().required(),
|
|
1195
1168
|
}).required();
|
|
1196
1169
|
}
|
|
1197
1170
|
|
|
@@ -1238,7 +1211,7 @@ class ContentPlatformApplicationValidator {
|
|
|
1238
1211
|
static updateNavigation() {
|
|
1239
1212
|
return Joi.object({
|
|
1240
1213
|
id: Joi.string().allow("").required(),
|
|
1241
|
-
body: ContentPlatformModel.
|
|
1214
|
+
body: ContentPlatformModel.NavigationPayload().required(),
|
|
1242
1215
|
}).required();
|
|
1243
1216
|
}
|
|
1244
1217
|
|
|
@@ -1254,7 +1227,7 @@ class ContentPlatformApplicationValidator {
|
|
|
1254
1227
|
static updatePagePreview() {
|
|
1255
1228
|
return Joi.object({
|
|
1256
1229
|
slug: Joi.string().allow("").required(),
|
|
1257
|
-
body: ContentPlatformModel.
|
|
1230
|
+
body: ContentPlatformModel.PagePublishPayload().required(),
|
|
1258
1231
|
}).required();
|
|
1259
1232
|
}
|
|
1260
1233
|
|
|
@@ -1273,14 +1246,6 @@ class ContentPlatformApplicationValidator {
|
|
|
1273
1246
|
}).required();
|
|
1274
1247
|
}
|
|
1275
1248
|
|
|
1276
|
-
/** @returns {UpdateSlideshowParam} */
|
|
1277
|
-
static updateSlideshow() {
|
|
1278
|
-
return Joi.object({
|
|
1279
|
-
id: Joi.string().allow("").required(),
|
|
1280
|
-
body: ContentPlatformModel.SlideshowRequest().required(),
|
|
1281
|
-
}).required();
|
|
1282
|
-
}
|
|
1283
|
-
|
|
1284
1249
|
/** @returns {UpdateSupportInformationParam} */
|
|
1285
1250
|
static updateSupportInformation() {
|
|
1286
1251
|
return Joi.object({
|