@gofynd/fdk-client-javascript 1.4.2-beta.1 → 1.4.2-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +3 -2
- package/sdk/application/ApplicationClient.js +20 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +1 -1
- package/sdk/application/Cart/CartApplicationClient.js +3 -5
- package/sdk/application/Cart/CartApplicationModel.d.ts +1634 -1742
- package/sdk/application/Cart/CartApplicationModel.js +1388 -1464
- package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -4
- package/sdk/application/Cart/CartApplicationValidator.js +0 -4
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +6 -3
- package/sdk/application/Catalog/CatalogApplicationClient.js +20 -7
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +1917 -1917
- package/sdk/application/Catalog/CatalogApplicationModel.js +1613 -1613
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +14 -0
- package/sdk/application/Catalog/CatalogApplicationValidator.js +6 -0
- package/sdk/application/Common/CommonApplicationModel.d.ts +235 -235
- package/sdk/application/Common/CommonApplicationModel.js +172 -172
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +72 -72
- package/sdk/application/Communication/CommunicationApplicationModel.js +64 -64
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1492 -1626
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +1038 -1180
- package/sdk/application/Content/ContentApplicationClient.d.ts +0 -36
- package/sdk/application/Content/ContentApplicationClient.js +0 -246
- package/sdk/application/Content/ContentApplicationModel.d.ts +546 -753
- package/sdk/application/Content/ContentApplicationModel.js +565 -817
- package/sdk/application/Content/ContentApplicationValidator.d.ts +1 -40
- package/sdk/application/Content/ContentApplicationValidator.js +0 -41
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +79 -79
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +84 -84
- package/sdk/application/Lead/LeadApplicationModel.d.ts +417 -417
- package/sdk/application/Lead/LeadApplicationModel.js +301 -301
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +0 -67
- package/sdk/application/Logistic/LogisticApplicationClient.js +0 -547
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +257 -712
- package/sdk/application/Logistic/LogisticApplicationModel.js +267 -755
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +1 -211
- package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -131
- package/sdk/application/Order/OrderApplicationClient.d.ts +3 -3
- package/sdk/application/Order/OrderApplicationClient.js +8 -32
- package/sdk/application/Order/OrderApplicationModel.d.ts +845 -853
- package/sdk/application/Order/OrderApplicationModel.js +816 -824
- package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -20
- package/sdk/application/Order/OrderApplicationValidator.js +0 -8
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +2 -46
- package/sdk/application/Payment/PaymentApplicationClient.js +10 -341
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +1892 -2199
- package/sdk/application/Payment/PaymentApplicationModel.js +1235 -1506
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +14 -59
- package/sdk/application/Payment/PaymentApplicationValidator.js +10 -64
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1396 -1429
- package/sdk/application/PosCart/PosCartApplicationModel.js +1233 -1257
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +214 -214
- package/sdk/application/Rewards/RewardsApplicationModel.js +211 -211
- package/sdk/application/Share/ShareApplicationModel.d.ts +114 -114
- package/sdk/application/Share/ShareApplicationModel.js +121 -121
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +1 -1
- package/sdk/application/Theme/ThemeApplicationClient.js +3 -7
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +783 -969
- package/sdk/application/Theme/ThemeApplicationModel.js +571 -867
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -10
- package/sdk/application/Theme/ThemeApplicationValidator.js +0 -4
- package/sdk/application/User/UserApplicationClient.d.ts +0 -33
- package/sdk/application/User/UserApplicationClient.js +0 -239
- package/sdk/application/User/UserApplicationModel.d.ts +753 -768
- package/sdk/application/User/UserApplicationModel.js +731 -755
- package/sdk/application/User/UserApplicationValidator.d.ts +1 -34
- package/sdk/application/User/UserApplicationValidator.js +0 -36
- package/sdk/common/Clickstream.d.ts +1 -0
- package/sdk/common/Clickstream.js +254 -0
- package/sdk/common/Utility.js +1 -4
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +72 -60
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +70 -58
- package/sdk/partner/PartnerClient.d.ts +0 -6
- package/sdk/partner/PartnerClient.js +0 -9
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +0 -10
- package/sdk/partner/Theme/ThemePartnerClient.js +0 -80
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +1178 -1153
- package/sdk/partner/Theme/ThemePartnerModel.js +830 -974
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +0 -1
- package/sdk/partner/Theme/ThemePartnerValidator.js +0 -9
- package/sdk/partner/index.d.ts +0 -3
- package/sdk/partner/index.js +0 -6
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +2 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +123 -123
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +109 -109
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +1 -11
- package/sdk/platform/Billing/BillingPlatformClient.js +3 -110
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +734 -800
- package/sdk/platform/Billing/BillingPlatformModel.js +732 -810
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +4 -43
- package/sdk/platform/Billing/BillingPlatformValidator.js +2 -29
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +11 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +81 -7
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +13 -5
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +12 -4
- package/sdk/platform/Cart/CartPlatformModel.d.ts +3223 -3328
- package/sdk/platform/Cart/CartPlatformModel.js +2875 -2946
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +11 -15
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +21 -52
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +0 -27
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +0 -11
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +15 -27
- package/sdk/platform/Catalog/CatalogPlatformClient.js +93 -189
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +617 -920
- package/sdk/platform/Catalog/CatalogPlatformModel.js +584 -919
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +27 -41
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +19 -31
- package/sdk/platform/Common/CommonPlatformModel.d.ts +255 -255
- package/sdk/platform/Common/CommonPlatformModel.js +187 -187
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +37 -139
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +52 -737
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +3 -133
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +1 -113
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1079 -1228
- package/sdk/platform/Communication/CommunicationPlatformModel.js +1090 -1262
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +2 -8
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +4 -32
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +629 -658
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +641 -675
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +0 -14
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +0 -6
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +8 -8
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +4 -4
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +2992 -3231
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2092 -2303
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +2 -2
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +2 -2
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -391
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1074 -3656
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -351
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +0 -410
- package/sdk/platform/Content/ContentPlatformModel.d.ts +972 -2071
- package/sdk/platform/Content/ContentPlatformModel.js +1039 -2355
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformClient.js +2 -2
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +174 -259
- package/sdk/platform/Discount/DiscountPlatformModel.js +163 -257
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +6 -16
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +8 -117
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +4 -55
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +2 -39
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +821 -892
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +833 -901
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -33
- package/sdk/platform/Finance/FinancePlatformClient.js +0 -240
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +910 -1056
- package/sdk/platform/Finance/FinancePlatformModel.js +884 -1070
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +1 -38
- package/sdk/platform/Finance/FinancePlatformValidator.js +0 -38
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +942 -942
- package/sdk/platform/Inventory/InventoryPlatformModel.js +1003 -1003
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +28 -38
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +56 -137
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +29 -41
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +21 -33
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +601 -610
- package/sdk/platform/Lead/LeadPlatformModel.js +457 -471
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +1 -11
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +1 -93
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -28
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +0 -18
- package/sdk/platform/Order/OrderPlatformClient.d.ts +22 -143
- package/sdk/platform/Order/OrderPlatformClient.js +160 -1190
- package/sdk/platform/Order/OrderPlatformModel.d.ts +4451 -5275
- package/sdk/platform/Order/OrderPlatformModel.js +4039 -4994
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +21 -257
- package/sdk/platform/Order/OrderPlatformValidator.js +15 -216
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +22 -22
- package/sdk/platform/Partner/PartnerPlatformModel.js +22 -22
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +13 -119
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +40 -750
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +7 -143
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +6 -133
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +1 -1
- package/sdk/platform/Payment/PaymentPlatformClient.js +1 -1
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2067 -2929
- package/sdk/platform/Payment/PaymentPlatformModel.js +1427 -2090
- package/sdk/platform/PlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/PlatformApplicationClient.js +4 -4
- package/sdk/platform/PlatformClient.d.ts +2 -4
- package/sdk/platform/PlatformClient.js +4 -8
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +204 -204
- package/sdk/platform/Rewards/RewardsPlatformModel.js +199 -199
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +66 -142
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +147 -645
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +63 -131
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +47 -126
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +105 -217
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +349 -1138
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +989 -1588
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +977 -1695
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +133 -382
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +102 -266
- package/sdk/platform/Share/SharePlatformModel.d.ts +147 -147
- package/sdk/platform/Share/SharePlatformModel.js +139 -139
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +1 -11
- package/sdk/platform/Theme/ThemePlatformClient.js +3 -87
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +765 -1133
- package/sdk/platform/Theme/ThemePlatformModel.js +561 -1009
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +4 -28
- package/sdk/platform/Theme/ThemePlatformValidator.js +2 -21
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +1 -116
- package/sdk/platform/User/UserPlatformApplicationClient.js +86 -932
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +7 -224
- package/sdk/platform/User/UserPlatformApplicationValidator.js +5 -173
- package/sdk/platform/User/UserPlatformModel.d.ts +428 -765
- package/sdk/platform/User/UserPlatformModel.js +428 -679
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +37 -45
- package/sdk/platform/Webhook/WebhookPlatformClient.js +57 -61
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +403 -448
- package/sdk/platform/Webhook/WebhookPlatformModel.js +309 -369
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -7
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +6 -6
- package/sdk/platform/index.d.ts +1 -1
- package/sdk/platform/index.js +2 -2
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +237 -237
- package/sdk/public/Configuration/ConfigurationPublicModel.js +174 -174
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +237 -237
- package/sdk/public/Inventory/InventoryPublicModel.js +257 -257
- package/sdk/public/Partner/PartnerPublicModel.d.ts +104 -104
- package/sdk/public/Partner/PartnerPublicModel.js +113 -113
- package/sdk/public/PublicClient.d.ts +0 -4
- package/sdk/public/PublicClient.js +0 -8
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +0 -33
- package/sdk/public/Webhook/WebhookPublicClient.js +0 -242
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +15 -161
- package/sdk/public/Webhook/WebhookPublicModel.js +13 -189
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +1 -23
- package/sdk/public/Webhook/WebhookPublicValidator.js +0 -31
- package/sdk/public/index.d.ts +0 -2
- package/sdk/public/index.js +0 -4
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +0 -125
- package/sdk/partner/Lead/LeadPartnerClient.js +0 -785
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +0 -1127
- package/sdk/partner/Lead/LeadPartnerModel.js +0 -896
- package/sdk/partner/Lead/LeadPartnerValidator.d.ts +0 -12
- package/sdk/partner/Lead/LeadPartnerValidator.js +0 -67
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +0 -155
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +0 -1195
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +0 -372
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +0 -442
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -16
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +0 -123
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +0 -99
- package/sdk/partner/Webhook/WebhookPartnerClient.js +0 -753
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +0 -566
- package/sdk/partner/Webhook/WebhookPartnerModel.js +0 -583
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -12
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +0 -74
- package/sdk/platform/Content/ContentPlatformClient.d.ts +0 -277
- package/sdk/platform/Content/ContentPlatformClient.js +0 -2011
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +0 -247
- package/sdk/platform/Content/ContentPlatformValidator.js +0 -319
- package/sdk/public/Billing/BillingPublicClient.d.ts +0 -23
- package/sdk/public/Billing/BillingPublicClient.js +0 -116
- package/sdk/public/Billing/BillingPublicModel.d.ts +0 -92
- package/sdk/public/Billing/BillingPublicModel.js +0 -96
- package/sdk/public/Billing/BillingPublicValidator.d.ts +0 -18
- package/sdk/public/Billing/BillingPublicValidator.js +0 -19
- package/sdk/public/Content/ContentPublicClient.d.ts +0 -22
- package/sdk/public/Content/ContentPublicClient.js +0 -114
- package/sdk/public/Content/ContentPublicModel.d.ts +0 -53
- package/sdk/public/Content/ContentPublicModel.js +0 -60
- package/sdk/public/Content/ContentPublicValidator.d.ts +0 -18
- package/sdk/public/Content/ContentPublicValidator.js +0 -19
|
@@ -28,28 +28,6 @@ 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
|
-
/**
|
|
39
|
-
* @typedef CreateAppCustomFieldDefinitionParam
|
|
40
|
-
* @property {ContentPlatformModel.CustomFieldDefinitionRequestSchema} body
|
|
41
|
-
*/
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* @typedef CreateAppCustomObjectParam
|
|
45
|
-
* @property {ContentPlatformModel.CustomObjectRequestSchema} body
|
|
46
|
-
*/
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* @typedef CreateAppCustomObjectDefinitionParam
|
|
50
|
-
* @property {ContentPlatformModel.CustomObjectDefinitionRequestSchema} body
|
|
51
|
-
*/
|
|
52
|
-
|
|
53
31
|
/**
|
|
54
32
|
* @typedef CreateBlogParam
|
|
55
33
|
* @property {ContentPlatformModel.BlogRequest} body
|
|
@@ -80,11 +58,6 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
80
58
|
* @property {ContentPlatformModel.PageRequest} body
|
|
81
59
|
*/
|
|
82
60
|
|
|
83
|
-
/**
|
|
84
|
-
* @typedef CreateSEOMarkupSchemaParam
|
|
85
|
-
* @property {ContentPlatformModel.SEOSchemaMarkupTemplateRequestBody} body
|
|
86
|
-
*/
|
|
87
|
-
|
|
88
61
|
/**
|
|
89
62
|
* @typedef CreateSlideshowParam
|
|
90
63
|
* @property {ContentPlatformModel.SlideshowRequest} body
|
|
@@ -95,21 +68,6 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
95
68
|
* @property {string} announcementId - ID allotted to the announcement.
|
|
96
69
|
*/
|
|
97
70
|
|
|
98
|
-
/**
|
|
99
|
-
* @typedef DeleteAppCustomFieldDefinitionParam
|
|
100
|
-
* @property {string} definitionId
|
|
101
|
-
*/
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* @typedef DeleteAppCustomObjectParam
|
|
105
|
-
* @property {string} metaobjectId
|
|
106
|
-
*/
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* @typedef DeleteAppCustomObjectDefinitionParam
|
|
110
|
-
* @property {string} definitionId
|
|
111
|
-
*/
|
|
112
|
-
|
|
113
71
|
/**
|
|
114
72
|
* @typedef DeleteBlogParam
|
|
115
73
|
* @property {string} id - ID allotted to the blog.
|
|
@@ -151,12 +109,6 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
151
109
|
* @property {string} pathId - ID allotted to the path redirection rule.
|
|
152
110
|
*/
|
|
153
111
|
|
|
154
|
-
/**
|
|
155
|
-
* @typedef DeleteSEOMarkupSchemaParam
|
|
156
|
-
* @property {string} id - Alphanumeric ID allotted to a SEO Markup Schema
|
|
157
|
-
* Template created within a business.
|
|
158
|
-
*/
|
|
159
|
-
|
|
160
112
|
/**
|
|
161
113
|
* @typedef DeleteSlideshowParam
|
|
162
114
|
* @property {string} id - ID allotted to the slideshow.
|
|
@@ -174,18 +126,6 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
174
126
|
* @property {ContentPlatformModel.UpdateHandpickedSchema} body
|
|
175
127
|
*/
|
|
176
128
|
|
|
177
|
-
/**
|
|
178
|
-
* @typedef EditSEOMarkupSchemaParam
|
|
179
|
-
* @property {string} id - Alphanumeric ID allotted to a SEO Markup Schema
|
|
180
|
-
* Template created within a business.
|
|
181
|
-
* @property {ContentPlatformModel.SEOSchemaMarkupTemplateRequestBody} body
|
|
182
|
-
*/
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* @typedef ExportAppCustomObjectEntriesParam
|
|
186
|
-
* @property {string} definitionId
|
|
187
|
-
*/
|
|
188
|
-
|
|
189
129
|
/**
|
|
190
130
|
* @typedef GenerateSEOTitleParam
|
|
191
131
|
* @property {ContentPlatformModel.GenerationEntityType} type - String
|
|
@@ -207,66 +147,6 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
207
147
|
* Default value is 10.
|
|
208
148
|
*/
|
|
209
149
|
|
|
210
|
-
/**
|
|
211
|
-
* @typedef GetAppCustomFieldDefinitionParam
|
|
212
|
-
* @property {string} definitionId
|
|
213
|
-
*/
|
|
214
|
-
|
|
215
|
-
/**
|
|
216
|
-
* @typedef GetAppCustomFieldDefinitionsParam
|
|
217
|
-
* @property {string} pageNo
|
|
218
|
-
* @property {string} pageSize
|
|
219
|
-
* @property {string} [resource]
|
|
220
|
-
* @property {string} [type]
|
|
221
|
-
* @property {string} [search]
|
|
222
|
-
*/
|
|
223
|
-
|
|
224
|
-
/** @typedef GetAppCustomFieldTypesParam */
|
|
225
|
-
|
|
226
|
-
/**
|
|
227
|
-
* @typedef GetAppCustomFieldsParam
|
|
228
|
-
* @property {string} resource
|
|
229
|
-
*/
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* @typedef GetAppCustomFieldsByResourceIdParam
|
|
233
|
-
* @property {string} resource
|
|
234
|
-
* @property {string} resourceId
|
|
235
|
-
*/
|
|
236
|
-
|
|
237
|
-
/**
|
|
238
|
-
* @typedef GetAppCustomObjectParam
|
|
239
|
-
* @property {string} metaobjectId
|
|
240
|
-
*/
|
|
241
|
-
|
|
242
|
-
/**
|
|
243
|
-
* @typedef GetAppCustomObjectDefinitionParam
|
|
244
|
-
* @property {string} definitionId
|
|
245
|
-
*/
|
|
246
|
-
|
|
247
|
-
/**
|
|
248
|
-
* @typedef GetAppCustomObjectDefinitionsParam
|
|
249
|
-
* @property {string} pageNo
|
|
250
|
-
* @property {string} pageSize
|
|
251
|
-
* @property {string} [search]
|
|
252
|
-
*/
|
|
253
|
-
|
|
254
|
-
/**
|
|
255
|
-
* @typedef GetAppCustomObjectsParam
|
|
256
|
-
* @property {string} [definitionId]
|
|
257
|
-
* @property {string} pageNo
|
|
258
|
-
* @property {string} pageSize
|
|
259
|
-
*/
|
|
260
|
-
|
|
261
|
-
/**
|
|
262
|
-
* @typedef GetAppJobsParam
|
|
263
|
-
* @property {string} page
|
|
264
|
-
* @property {string} pageSize
|
|
265
|
-
* @property {string} actionType
|
|
266
|
-
*/
|
|
267
|
-
|
|
268
|
-
/** @typedef GetAppResourcesParam */
|
|
269
|
-
|
|
270
150
|
/**
|
|
271
151
|
* @typedef GetBlogBySlugParam
|
|
272
152
|
* @property {string} slug - A short, human-readable, URL-friendly identifier of
|
|
@@ -289,19 +169,8 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
289
169
|
|
|
290
170
|
/** @typedef GetDataLoadersParam */
|
|
291
171
|
|
|
292
|
-
/**
|
|
293
|
-
* @typedef GetDataLoadersByServiceParam
|
|
294
|
-
* @property {string} serviceName - Service name of the data loader..
|
|
295
|
-
*/
|
|
296
|
-
|
|
297
172
|
/** @typedef GetDefaultNavigationsParam */
|
|
298
173
|
|
|
299
|
-
/**
|
|
300
|
-
* @typedef GetDefaultSEOMarkupSchemaParam
|
|
301
|
-
* @property {string} [pageType] - The type of page against which schema
|
|
302
|
-
* template was created
|
|
303
|
-
*/
|
|
304
|
-
|
|
305
174
|
/**
|
|
306
175
|
* @typedef GetFaqByIdOrSlugParam
|
|
307
176
|
* @property {string} idOrSlug - ID or the slug allotted to an FAQ category.
|
|
@@ -391,22 +260,6 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
391
260
|
|
|
392
261
|
/** @typedef GetSEOConfigurationParam */
|
|
393
262
|
|
|
394
|
-
/**
|
|
395
|
-
* @typedef GetSEOMarkupSchemaParam
|
|
396
|
-
* @property {string} id - Alphanumeric ID allotted to a SEO Markup Schema
|
|
397
|
-
* Template created within a business.
|
|
398
|
-
*/
|
|
399
|
-
|
|
400
|
-
/**
|
|
401
|
-
* @typedef GetSEOMarkupSchemasParam
|
|
402
|
-
* @property {string} [title] - Title of the seo schema.
|
|
403
|
-
* @property {string} [active] - Boolean value for fetching seo schema.
|
|
404
|
-
* @property {number} [pageNo] - The page number to navigate through the given
|
|
405
|
-
* set of results. Default value is 1.
|
|
406
|
-
* @property {number} [pageSize] - The number of items to retrieve in each page.
|
|
407
|
-
* Default value is 10.
|
|
408
|
-
*/
|
|
409
|
-
|
|
410
263
|
/**
|
|
411
264
|
* @typedef GetSlideshowBySlugParam
|
|
412
265
|
* @property {string} slug - A short, human-readable, URL-friendly identifier of
|
|
@@ -427,12 +280,6 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
427
280
|
|
|
428
281
|
/** @typedef GetSupportInformationParam */
|
|
429
282
|
|
|
430
|
-
/**
|
|
431
|
-
* @typedef ImportAppCustomObjectEntriesParam
|
|
432
|
-
* @property {string} definitionId
|
|
433
|
-
* @property {ContentPlatformModel.CustomObjectBulkSchema} body
|
|
434
|
-
*/
|
|
435
|
-
|
|
436
283
|
/**
|
|
437
284
|
* @typedef RemoveInjectableTagParam
|
|
438
285
|
* @property {ContentPlatformModel.RemoveHandpickedSchema} body
|
|
@@ -444,11 +291,6 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
444
291
|
* @property {string} operationId - Name of operation id of the service.
|
|
445
292
|
*/
|
|
446
293
|
|
|
447
|
-
/**
|
|
448
|
-
* @typedef SampleAppCustomObjectBulkEntryParam
|
|
449
|
-
* @property {string} definitionId
|
|
450
|
-
*/
|
|
451
|
-
|
|
452
294
|
/**
|
|
453
295
|
* @typedef SelectDataLoaderParam
|
|
454
296
|
* @property {string} dataLoaderId - ID allotted to the data loader.
|
|
@@ -466,24 +308,6 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
466
308
|
* @property {ContentPlatformModel.ScheduleSchema} body
|
|
467
309
|
*/
|
|
468
310
|
|
|
469
|
-
/**
|
|
470
|
-
* @typedef UpdateAppCustomFieldDefinitionParam
|
|
471
|
-
* @property {string} definitionId
|
|
472
|
-
* @property {ContentPlatformModel.CustomFieldDefinitionRequestSchema} body
|
|
473
|
-
*/
|
|
474
|
-
|
|
475
|
-
/**
|
|
476
|
-
* @typedef UpdateAppCustomObjectParam
|
|
477
|
-
* @property {string} metaobjectId
|
|
478
|
-
* @property {ContentPlatformModel.CustomObjectRequestSchema} body
|
|
479
|
-
*/
|
|
480
|
-
|
|
481
|
-
/**
|
|
482
|
-
* @typedef UpdateAppCustomObjectDefinitionParam
|
|
483
|
-
* @property {string} definitionId
|
|
484
|
-
* @property {ContentPlatformModel.CustomObjectDefinitionUpdateRequestSchema} body
|
|
485
|
-
*/
|
|
486
|
-
|
|
487
311
|
/**
|
|
488
312
|
* @typedef UpdateBlogParam
|
|
489
313
|
* @property {string} id - ID allotted to the blog.
|
|
@@ -597,36 +421,6 @@ class ContentPlatformApplicationValidator {
|
|
|
597
421
|
}).required();
|
|
598
422
|
}
|
|
599
423
|
|
|
600
|
-
/** @returns {CreateAppCustomFieldByResourceIdParam} */
|
|
601
|
-
static createAppCustomFieldByResourceId() {
|
|
602
|
-
return Joi.object({
|
|
603
|
-
resource: Joi.string().allow("").required(),
|
|
604
|
-
resourceId: Joi.string().allow("").required(),
|
|
605
|
-
body: ContentPlatformModel.CustomFieldRequestSchema().required(),
|
|
606
|
-
}).required();
|
|
607
|
-
}
|
|
608
|
-
|
|
609
|
-
/** @returns {CreateAppCustomFieldDefinitionParam} */
|
|
610
|
-
static createAppCustomFieldDefinition() {
|
|
611
|
-
return Joi.object({
|
|
612
|
-
body: ContentPlatformModel.CustomFieldDefinitionRequestSchema().required(),
|
|
613
|
-
}).required();
|
|
614
|
-
}
|
|
615
|
-
|
|
616
|
-
/** @returns {CreateAppCustomObjectParam} */
|
|
617
|
-
static createAppCustomObject() {
|
|
618
|
-
return Joi.object({
|
|
619
|
-
body: ContentPlatformModel.CustomObjectRequestSchema().required(),
|
|
620
|
-
}).required();
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
/** @returns {CreateAppCustomObjectDefinitionParam} */
|
|
624
|
-
static createAppCustomObjectDefinition() {
|
|
625
|
-
return Joi.object({
|
|
626
|
-
body: ContentPlatformModel.CustomObjectDefinitionRequestSchema().required(),
|
|
627
|
-
}).required();
|
|
628
|
-
}
|
|
629
|
-
|
|
630
424
|
/** @returns {CreateBlogParam} */
|
|
631
425
|
static createBlog() {
|
|
632
426
|
return Joi.object({
|
|
@@ -669,13 +463,6 @@ class ContentPlatformApplicationValidator {
|
|
|
669
463
|
}).required();
|
|
670
464
|
}
|
|
671
465
|
|
|
672
|
-
/** @returns {CreateSEOMarkupSchemaParam} */
|
|
673
|
-
static createSEOMarkupSchema() {
|
|
674
|
-
return Joi.object({
|
|
675
|
-
body: ContentPlatformModel.SEOSchemaMarkupTemplateRequestBody().required(),
|
|
676
|
-
}).required();
|
|
677
|
-
}
|
|
678
|
-
|
|
679
466
|
/** @returns {CreateSlideshowParam} */
|
|
680
467
|
static createSlideshow() {
|
|
681
468
|
return Joi.object({
|
|
@@ -690,27 +477,6 @@ class ContentPlatformApplicationValidator {
|
|
|
690
477
|
}).required();
|
|
691
478
|
}
|
|
692
479
|
|
|
693
|
-
/** @returns {DeleteAppCustomFieldDefinitionParam} */
|
|
694
|
-
static deleteAppCustomFieldDefinition() {
|
|
695
|
-
return Joi.object({
|
|
696
|
-
definitionId: Joi.string().allow("").required(),
|
|
697
|
-
}).required();
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
/** @returns {DeleteAppCustomObjectParam} */
|
|
701
|
-
static deleteAppCustomObject() {
|
|
702
|
-
return Joi.object({
|
|
703
|
-
metaobjectId: Joi.string().allow("").required(),
|
|
704
|
-
}).required();
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
/** @returns {DeleteAppCustomObjectDefinitionParam} */
|
|
708
|
-
static deleteAppCustomObjectDefinition() {
|
|
709
|
-
return Joi.object({
|
|
710
|
-
definitionId: Joi.string().allow("").required(),
|
|
711
|
-
}).required();
|
|
712
|
-
}
|
|
713
|
-
|
|
714
480
|
/** @returns {DeleteBlogParam} */
|
|
715
481
|
static deleteBlog() {
|
|
716
482
|
return Joi.object({
|
|
@@ -768,13 +534,6 @@ class ContentPlatformApplicationValidator {
|
|
|
768
534
|
}).required();
|
|
769
535
|
}
|
|
770
536
|
|
|
771
|
-
/** @returns {DeleteSEOMarkupSchemaParam} */
|
|
772
|
-
static deleteSEOMarkupSchema() {
|
|
773
|
-
return Joi.object({
|
|
774
|
-
id: Joi.string().allow("").required(),
|
|
775
|
-
}).required();
|
|
776
|
-
}
|
|
777
|
-
|
|
778
537
|
/** @returns {DeleteSlideshowParam} */
|
|
779
538
|
static deleteSlideshow() {
|
|
780
539
|
return Joi.object({
|
|
@@ -798,21 +557,6 @@ class ContentPlatformApplicationValidator {
|
|
|
798
557
|
}).required();
|
|
799
558
|
}
|
|
800
559
|
|
|
801
|
-
/** @returns {EditSEOMarkupSchemaParam} */
|
|
802
|
-
static editSEOMarkupSchema() {
|
|
803
|
-
return Joi.object({
|
|
804
|
-
id: Joi.string().allow("").required(),
|
|
805
|
-
body: ContentPlatformModel.SEOSchemaMarkupTemplateRequestBody().required(),
|
|
806
|
-
}).required();
|
|
807
|
-
}
|
|
808
|
-
|
|
809
|
-
/** @returns {ExportAppCustomObjectEntriesParam} */
|
|
810
|
-
static exportAppCustomObjectEntries() {
|
|
811
|
-
return Joi.object({
|
|
812
|
-
definitionId: Joi.string().allow("").required(),
|
|
813
|
-
}).required();
|
|
814
|
-
}
|
|
815
|
-
|
|
816
560
|
/** @returns {GenerateSEOTitleParam} */
|
|
817
561
|
static generateSEOTitle() {
|
|
818
562
|
return Joi.object({
|
|
@@ -836,90 +580,6 @@ class ContentPlatformApplicationValidator {
|
|
|
836
580
|
}).required();
|
|
837
581
|
}
|
|
838
582
|
|
|
839
|
-
/** @returns {GetAppCustomFieldDefinitionParam} */
|
|
840
|
-
static getAppCustomFieldDefinition() {
|
|
841
|
-
return Joi.object({
|
|
842
|
-
definitionId: Joi.string().allow("").required(),
|
|
843
|
-
}).required();
|
|
844
|
-
}
|
|
845
|
-
|
|
846
|
-
/** @returns {GetAppCustomFieldDefinitionsParam} */
|
|
847
|
-
static getAppCustomFieldDefinitions() {
|
|
848
|
-
return Joi.object({
|
|
849
|
-
pageNo: Joi.string().allow("").required(),
|
|
850
|
-
pageSize: Joi.string().allow("").required(),
|
|
851
|
-
resource: Joi.string().allow(""),
|
|
852
|
-
type: Joi.string().allow(""),
|
|
853
|
-
search: Joi.string().allow(""),
|
|
854
|
-
}).required();
|
|
855
|
-
}
|
|
856
|
-
|
|
857
|
-
/** @returns {GetAppCustomFieldTypesParam} */
|
|
858
|
-
static getAppCustomFieldTypes() {
|
|
859
|
-
return Joi.object({}).required();
|
|
860
|
-
}
|
|
861
|
-
|
|
862
|
-
/** @returns {GetAppCustomFieldsParam} */
|
|
863
|
-
static getAppCustomFields() {
|
|
864
|
-
return Joi.object({
|
|
865
|
-
resource: Joi.string().allow("").required(),
|
|
866
|
-
}).required();
|
|
867
|
-
}
|
|
868
|
-
|
|
869
|
-
/** @returns {GetAppCustomFieldsByResourceIdParam} */
|
|
870
|
-
static getAppCustomFieldsByResourceId() {
|
|
871
|
-
return Joi.object({
|
|
872
|
-
resource: Joi.string().allow("").required(),
|
|
873
|
-
resourceId: Joi.string().allow("").required(),
|
|
874
|
-
}).required();
|
|
875
|
-
}
|
|
876
|
-
|
|
877
|
-
/** @returns {GetAppCustomObjectParam} */
|
|
878
|
-
static getAppCustomObject() {
|
|
879
|
-
return Joi.object({
|
|
880
|
-
metaobjectId: Joi.string().allow("").required(),
|
|
881
|
-
}).required();
|
|
882
|
-
}
|
|
883
|
-
|
|
884
|
-
/** @returns {GetAppCustomObjectDefinitionParam} */
|
|
885
|
-
static getAppCustomObjectDefinition() {
|
|
886
|
-
return Joi.object({
|
|
887
|
-
definitionId: Joi.string().allow("").required(),
|
|
888
|
-
}).required();
|
|
889
|
-
}
|
|
890
|
-
|
|
891
|
-
/** @returns {GetAppCustomObjectDefinitionsParam} */
|
|
892
|
-
static getAppCustomObjectDefinitions() {
|
|
893
|
-
return Joi.object({
|
|
894
|
-
pageNo: Joi.string().allow("").required(),
|
|
895
|
-
pageSize: Joi.string().allow("").required(),
|
|
896
|
-
search: Joi.string().allow(""),
|
|
897
|
-
}).required();
|
|
898
|
-
}
|
|
899
|
-
|
|
900
|
-
/** @returns {GetAppCustomObjectsParam} */
|
|
901
|
-
static getAppCustomObjects() {
|
|
902
|
-
return Joi.object({
|
|
903
|
-
definitionId: Joi.string().allow(""),
|
|
904
|
-
pageNo: Joi.string().allow("").required(),
|
|
905
|
-
pageSize: Joi.string().allow("").required(),
|
|
906
|
-
}).required();
|
|
907
|
-
}
|
|
908
|
-
|
|
909
|
-
/** @returns {GetAppJobsParam} */
|
|
910
|
-
static getAppJobs() {
|
|
911
|
-
return Joi.object({
|
|
912
|
-
page: Joi.string().allow("").required(),
|
|
913
|
-
pageSize: Joi.string().allow("").required(),
|
|
914
|
-
actionType: Joi.string().allow("").required(),
|
|
915
|
-
}).required();
|
|
916
|
-
}
|
|
917
|
-
|
|
918
|
-
/** @returns {GetAppResourcesParam} */
|
|
919
|
-
static getAppResources() {
|
|
920
|
-
return Joi.object({}).required();
|
|
921
|
-
}
|
|
922
|
-
|
|
923
583
|
/** @returns {GetBlogBySlugParam} */
|
|
924
584
|
static getBlogBySlug() {
|
|
925
585
|
return Joi.object({
|
|
@@ -947,25 +607,11 @@ class ContentPlatformApplicationValidator {
|
|
|
947
607
|
return Joi.object({}).required();
|
|
948
608
|
}
|
|
949
609
|
|
|
950
|
-
/** @returns {GetDataLoadersByServiceParam} */
|
|
951
|
-
static getDataLoadersByService() {
|
|
952
|
-
return Joi.object({
|
|
953
|
-
serviceName: Joi.string().allow("").required(),
|
|
954
|
-
}).required();
|
|
955
|
-
}
|
|
956
|
-
|
|
957
610
|
/** @returns {GetDefaultNavigationsParam} */
|
|
958
611
|
static getDefaultNavigations() {
|
|
959
612
|
return Joi.object({}).required();
|
|
960
613
|
}
|
|
961
614
|
|
|
962
|
-
/** @returns {GetDefaultSEOMarkupSchemaParam} */
|
|
963
|
-
static getDefaultSEOMarkupSchema() {
|
|
964
|
-
return Joi.object({
|
|
965
|
-
pageType: Joi.string().allow(""),
|
|
966
|
-
}).required();
|
|
967
|
-
}
|
|
968
|
-
|
|
969
615
|
/** @returns {GetFaqByIdOrSlugParam} */
|
|
970
616
|
static getFaqByIdOrSlug() {
|
|
971
617
|
return Joi.object({
|
|
@@ -1074,23 +720,6 @@ class ContentPlatformApplicationValidator {
|
|
|
1074
720
|
return Joi.object({}).required();
|
|
1075
721
|
}
|
|
1076
722
|
|
|
1077
|
-
/** @returns {GetSEOMarkupSchemaParam} */
|
|
1078
|
-
static getSEOMarkupSchema() {
|
|
1079
|
-
return Joi.object({
|
|
1080
|
-
id: Joi.string().allow("").required(),
|
|
1081
|
-
}).required();
|
|
1082
|
-
}
|
|
1083
|
-
|
|
1084
|
-
/** @returns {GetSEOMarkupSchemasParam} */
|
|
1085
|
-
static getSEOMarkupSchemas() {
|
|
1086
|
-
return Joi.object({
|
|
1087
|
-
title: Joi.string().allow(""),
|
|
1088
|
-
active: Joi.string().allow(""),
|
|
1089
|
-
pageNo: Joi.number(),
|
|
1090
|
-
pageSize: Joi.number(),
|
|
1091
|
-
}).required();
|
|
1092
|
-
}
|
|
1093
|
-
|
|
1094
723
|
/** @returns {GetSlideshowBySlugParam} */
|
|
1095
724
|
static getSlideshowBySlug() {
|
|
1096
725
|
return Joi.object({
|
|
@@ -1113,14 +742,6 @@ class ContentPlatformApplicationValidator {
|
|
|
1113
742
|
return Joi.object({}).required();
|
|
1114
743
|
}
|
|
1115
744
|
|
|
1116
|
-
/** @returns {ImportAppCustomObjectEntriesParam} */
|
|
1117
|
-
static importAppCustomObjectEntries() {
|
|
1118
|
-
return Joi.object({
|
|
1119
|
-
definitionId: Joi.string().allow("").required(),
|
|
1120
|
-
body: ContentPlatformModel.CustomObjectBulkSchema().required(),
|
|
1121
|
-
}).required();
|
|
1122
|
-
}
|
|
1123
|
-
|
|
1124
745
|
/** @returns {RemoveInjectableTagParam} */
|
|
1125
746
|
static removeInjectableTag() {
|
|
1126
747
|
return Joi.object({
|
|
@@ -1136,13 +757,6 @@ class ContentPlatformApplicationValidator {
|
|
|
1136
757
|
}).required();
|
|
1137
758
|
}
|
|
1138
759
|
|
|
1139
|
-
/** @returns {SampleAppCustomObjectBulkEntryParam} */
|
|
1140
|
-
static sampleAppCustomObjectBulkEntry() {
|
|
1141
|
-
return Joi.object({
|
|
1142
|
-
definitionId: Joi.string().allow("").required(),
|
|
1143
|
-
}).required();
|
|
1144
|
-
}
|
|
1145
|
-
|
|
1146
760
|
/** @returns {SelectDataLoaderParam} */
|
|
1147
761
|
static selectDataLoader() {
|
|
1148
762
|
return Joi.object({
|
|
@@ -1166,30 +780,6 @@ class ContentPlatformApplicationValidator {
|
|
|
1166
780
|
}).required();
|
|
1167
781
|
}
|
|
1168
782
|
|
|
1169
|
-
/** @returns {UpdateAppCustomFieldDefinitionParam} */
|
|
1170
|
-
static updateAppCustomFieldDefinition() {
|
|
1171
|
-
return Joi.object({
|
|
1172
|
-
definitionId: Joi.string().allow("").required(),
|
|
1173
|
-
body: ContentPlatformModel.CustomFieldDefinitionRequestSchema().required(),
|
|
1174
|
-
}).required();
|
|
1175
|
-
}
|
|
1176
|
-
|
|
1177
|
-
/** @returns {UpdateAppCustomObjectParam} */
|
|
1178
|
-
static updateAppCustomObject() {
|
|
1179
|
-
return Joi.object({
|
|
1180
|
-
metaobjectId: Joi.string().allow("").required(),
|
|
1181
|
-
body: ContentPlatformModel.CustomObjectRequestSchema().required(),
|
|
1182
|
-
}).required();
|
|
1183
|
-
}
|
|
1184
|
-
|
|
1185
|
-
/** @returns {UpdateAppCustomObjectDefinitionParam} */
|
|
1186
|
-
static updateAppCustomObjectDefinition() {
|
|
1187
|
-
return Joi.object({
|
|
1188
|
-
definitionId: Joi.string().allow("").required(),
|
|
1189
|
-
body: ContentPlatformModel.CustomObjectDefinitionUpdateRequestSchema().required(),
|
|
1190
|
-
}).required();
|
|
1191
|
-
}
|
|
1192
|
-
|
|
1193
783
|
/** @returns {UpdateBlogParam} */
|
|
1194
784
|
static updateBlog() {
|
|
1195
785
|
return Joi.object({
|