@gofynd/fdk-client-javascript 1.6.4 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/Cart/CartApplicationClient.d.ts +5 -5
- package/sdk/application/Cart/CartApplicationClient.js +26 -268
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +20 -20
- package/sdk/application/Catalog/CatalogApplicationClient.js +98 -347
- package/sdk/application/Common/CommonApplicationClient.js +1 -16
- package/sdk/application/Communication/CommunicationApplicationClient.js +1 -24
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +24 -2
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +58 -137
- package/sdk/application/Content/ContentApplicationClient.d.ts +47 -7
- package/sdk/application/Content/ContentApplicationClient.js +222 -191
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +2 -2
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +11 -30
- package/sdk/application/Finance/FinanceApplicationClient.js +1 -16
- package/sdk/application/Lead/LeadApplicationClient.d.ts +4 -4
- package/sdk/application/Lead/LeadApplicationClient.js +21 -52
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +16 -56
- package/sdk/application/Logistic/LogisticApplicationClient.js +57 -332
- package/sdk/application/Order/OrderApplicationClient.d.ts +11 -11
- package/sdk/application/Order/OrderApplicationClient.js +68 -153
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +2 -12
- package/sdk/application/Payment/PaymentApplicationClient.js +7 -487
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +1 -1
- package/sdk/application/Rewards/RewardsApplicationClient.js +6 -59
- package/sdk/application/Share/ShareApplicationClient.d.ts +4 -4
- package/sdk/application/Share/ShareApplicationClient.js +21 -75
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +3 -3
- package/sdk/application/Theme/ThemeApplicationClient.js +19 -47
- package/sdk/application/User/UserApplicationClient.js +1 -407
- package/sdk/application/Webhook/WebhookApplicationClient.js +1 -8
- package/sdk/common/Utility.d.ts +1 -1
- package/sdk/common/Utility.js +4 -4
- package/sdk/common/Validator.d.ts +1 -0
- package/sdk/common/Validator.js +20 -0
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +1 -55
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +1 -408
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +0 -5
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +0 -37
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -0
- package/sdk/partner/Lead/LeadPartnerModel.js +2 -0
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +29 -25
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +65 -42
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1008 -794
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +573 -460
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +10 -5
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +5 -0
- package/sdk/partner/Webhook/WebhookPartnerModel.js +2 -0
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +5 -0
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +2 -0
- package/sdk/platform/Cart/CartPlatformModel.d.ts +67 -9
- package/sdk/platform/Cart/CartPlatformModel.js +38 -5
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1 -1
- package/sdk/platform/Catalog/CatalogPlatformClient.js +4 -4
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +47 -13
- package/sdk/platform/Catalog/CatalogPlatformModel.js +29 -7
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +7 -4
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +71 -7
- package/sdk/platform/Communication/CommunicationPlatformModel.js +70 -6
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +0 -27
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +8 -60
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +31 -20
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +3 -3
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +13 -0
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +30 -1
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +68 -11
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +49 -7
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +169 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1279 -132
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +156 -1
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +180 -0
- package/sdk/platform/Content/ContentPlatformClient.d.ts +162 -0
- package/sdk/platform/Content/ContentPlatformClient.js +1697 -497
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1053 -35
- package/sdk/platform/Content/ContentPlatformModel.js +717 -34
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +127 -1
- package/sdk/platform/Content/ContentPlatformValidator.js +171 -0
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +34 -0
- package/sdk/platform/Discount/DiscountPlatformClient.js +59 -0
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +365 -93
- package/sdk/platform/Discount/DiscountPlatformModel.js +98 -93
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +54 -34
- package/sdk/platform/Discount/DiscountPlatformValidator.js +27 -17
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +0 -156
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +0 -1072
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -137
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +0 -173
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +1 -1105
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +0 -1125
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -0
- package/sdk/platform/Lead/LeadPlatformModel.js +2 -0
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +0 -10
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +0 -92
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -28
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +0 -18
- package/sdk/platform/Order/OrderPlatformClient.d.ts +212 -0
- package/sdk/platform/Order/OrderPlatformClient.js +397 -0
- package/sdk/platform/Order/OrderPlatformModel.d.ts +41 -9
- package/sdk/platform/Order/OrderPlatformModel.js +20 -7
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +33 -1
- package/sdk/platform/Order/OrderPlatformValidator.js +20 -0
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +58 -10
- package/sdk/platform/Partner/PartnerPlatformModel.js +19 -10
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +12 -2
- package/sdk/platform/Payment/PaymentPlatformModel.js +8 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +5 -0
- package/sdk/platform/Rewards/RewardsPlatformModel.js +2 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +240 -24
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +1753 -277
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +320 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +269 -19
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +53 -104
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +201 -629
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +5720 -2891
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3414 -2181
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +138 -216
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +81 -148
- package/sdk/platform/Share/SharePlatformModel.d.ts +5 -0
- package/sdk/platform/Share/SharePlatformModel.js +2 -0
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +10 -0
- package/sdk/platform/User/UserPlatformApplicationClient.js +79 -0
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +13 -1
- package/sdk/platform/User/UserPlatformApplicationValidator.js +12 -0
- package/sdk/platform/User/UserPlatformModel.d.ts +52 -1
- package/sdk/platform/User/UserPlatformModel.js +36 -0
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +5 -0
- package/sdk/platform/Webhook/WebhookPlatformModel.js +2 -0
- package/sdk/public/Catalog/CatalogPublicClient.d.ts +1 -1
- package/sdk/public/Catalog/CatalogPublicClient.js +6 -11
- package/sdk/public/Configuration/ConfigurationPublicClient.js +1 -16
- package/sdk/public/Content/ContentPublicClient.d.ts +36 -3
- package/sdk/public/Content/ContentPublicClient.js +261 -104
- package/sdk/public/Content/ContentPublicModel.d.ts +155 -1
- package/sdk/public/Content/ContentPublicModel.js +102 -0
- package/sdk/public/Content/ContentPublicValidator.d.ts +18 -1
- package/sdk/public/Content/ContentPublicValidator.js +26 -0
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +6 -11
- package/sdk/public/Partner/PartnerPublicModel.d.ts +248 -72
- package/sdk/public/Partner/PartnerPublicModel.js +81 -71
- package/sdk/public/Partner/PartnerPublicValidator.d.ts +2 -2
- package/sdk/public/Partner/PartnerPublicValidator.js +1 -1
- package/sdk/public/Webhook/WebhookPublicClient.js +1 -40
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
export = ContentPlatformApplicationValidator;
|
|
2
|
+
/**
|
|
3
|
+
* @typedef AddApplicationLanguageParam
|
|
4
|
+
* @property {ContentPlatformModel.ApplicationLanguageCreate} body
|
|
5
|
+
*/
|
|
2
6
|
/**
|
|
3
7
|
* @typedef AddDataLoaderParam
|
|
4
8
|
* @property {ContentPlatformModel.DataLoaderSchema} body
|
|
@@ -16,6 +20,10 @@ export = ContentPlatformApplicationValidator;
|
|
|
16
20
|
* @typedef AddPathRedirectionRulesParam
|
|
17
21
|
* @property {ContentPlatformModel.PathMappingSchema} body
|
|
18
22
|
*/
|
|
23
|
+
/**
|
|
24
|
+
* @typedef BulkUnPublishApplicationLanguageParam
|
|
25
|
+
* @property {ContentPlatformModel.unPublishApplicationLanguage} body
|
|
26
|
+
*/
|
|
19
27
|
/**
|
|
20
28
|
* @typedef CreateAnnouncementParam
|
|
21
29
|
* @property {ContentPlatformModel.AdminAnnouncementSchema} body
|
|
@@ -34,6 +42,10 @@ export = ContentPlatformApplicationValidator;
|
|
|
34
42
|
* @typedef CreateAppCustomObjectDefinitionParam
|
|
35
43
|
* @property {ContentPlatformModel.CustomObjectDefinitionRequestSchema} body
|
|
36
44
|
*/
|
|
45
|
+
/**
|
|
46
|
+
* @typedef CreateApplicationResourceTranslationParam
|
|
47
|
+
* @property {ContentPlatformModel.ResourceTranslationCreate} body
|
|
48
|
+
*/
|
|
37
49
|
/**
|
|
38
50
|
* @typedef CreateBlogParam
|
|
39
51
|
* @property {ContentPlatformModel.BlogPayload} body
|
|
@@ -58,6 +70,10 @@ export = ContentPlatformApplicationValidator;
|
|
|
58
70
|
* @typedef CreateSEOMarkupSchemaParam
|
|
59
71
|
* @property {ContentPlatformModel.SEOSchemaMarkupTemplateRequestBody} body
|
|
60
72
|
*/
|
|
73
|
+
/**
|
|
74
|
+
* @typedef CreateTranslateUILabelsParam
|
|
75
|
+
* @property {ContentPlatformModel.TranslateUiLabelsCreate} body
|
|
76
|
+
*/
|
|
61
77
|
/**
|
|
62
78
|
* @typedef DeleteAnnouncementParam
|
|
63
79
|
* @property {string} announcementId - ID allotted to the announcement.
|
|
@@ -77,6 +93,14 @@ export = ContentPlatformApplicationValidator;
|
|
|
77
93
|
* @typedef DeleteAppCustomObjectDefinitionBySlugParam
|
|
78
94
|
* @property {string} slug
|
|
79
95
|
*/
|
|
96
|
+
/**
|
|
97
|
+
* @typedef DeleteApplicationLanguageParam
|
|
98
|
+
* @property {string} locale
|
|
99
|
+
*/
|
|
100
|
+
/**
|
|
101
|
+
* @typedef DeleteApplicationResourceTranslationParam
|
|
102
|
+
* @property {string} id
|
|
103
|
+
*/
|
|
80
104
|
/**
|
|
81
105
|
* @typedef DeleteBlogParam
|
|
82
106
|
* @property {string} id - ID allotted to the blog.
|
|
@@ -213,6 +237,13 @@ export = ContentPlatformApplicationValidator;
|
|
|
213
237
|
* @property {string} actionType
|
|
214
238
|
*/
|
|
215
239
|
/** @typedef GetAppResourcesParam */
|
|
240
|
+
/** @typedef GetApplicationLanguagesParam */
|
|
241
|
+
/**
|
|
242
|
+
* @typedef GetApplicationResourceTranslationsParam
|
|
243
|
+
* @property {string} locale
|
|
244
|
+
* @property {string} type
|
|
245
|
+
* @property {string} resourceId
|
|
246
|
+
*/
|
|
216
247
|
/**
|
|
217
248
|
* @typedef GetBlogBySlugParam
|
|
218
249
|
* @property {string} slug - A short, human-readable, URL-friendly identifier of
|
|
@@ -329,6 +360,17 @@ export = ContentPlatformApplicationValidator;
|
|
|
329
360
|
* Default value is 10.
|
|
330
361
|
*/
|
|
331
362
|
/** @typedef GetSupportInformationParam */
|
|
363
|
+
/**
|
|
364
|
+
* @typedef GetTranslateUILabelsParam
|
|
365
|
+
* @property {string} [templateThemeId] - Unique id of template theme
|
|
366
|
+
* @property {string} [themeId] - Unique id of theme
|
|
367
|
+
* @property {string} [locale] - Multilingual locale
|
|
368
|
+
* @property {string} [type] - Filter Translate Ui Labels by type
|
|
369
|
+
*/
|
|
370
|
+
/**
|
|
371
|
+
* @typedef GetTranslateUILabelsByIdParam
|
|
372
|
+
* @property {string} id - ID of the Translate Ui Labels
|
|
373
|
+
*/
|
|
332
374
|
/**
|
|
333
375
|
* @typedef ImportAppCustomObjectEntriesBySlugParam
|
|
334
376
|
* @property {string} slug
|
|
@@ -385,6 +427,16 @@ export = ContentPlatformApplicationValidator;
|
|
|
385
427
|
* @property {string} slug
|
|
386
428
|
* @property {ContentPlatformModel.CustomObjectDefinitionUpdateRequestSchema} body
|
|
387
429
|
*/
|
|
430
|
+
/**
|
|
431
|
+
* @typedef UpdateApplicationLanguageStatusParam
|
|
432
|
+
* @property {string} locale
|
|
433
|
+
* @property {ContentPlatformModel.ApplicationLanguageUpdate} body
|
|
434
|
+
*/
|
|
435
|
+
/**
|
|
436
|
+
* @typedef UpdateApplicationResourceTranslationParam
|
|
437
|
+
* @property {string} id
|
|
438
|
+
* @property {ContentPlatformModel.ResourceTranslationUpdate} body
|
|
439
|
+
*/
|
|
388
440
|
/**
|
|
389
441
|
* @typedef UpdateBlogParam
|
|
390
442
|
* @property {string} id - ID allotted to the blog.
|
|
@@ -443,7 +495,18 @@ export = ContentPlatformApplicationValidator;
|
|
|
443
495
|
* @typedef UpdateSupportInformationParam
|
|
444
496
|
* @property {ContentPlatformModel.Support} body
|
|
445
497
|
*/
|
|
498
|
+
/**
|
|
499
|
+
* @typedef UpdateTranslateUILabelsParam
|
|
500
|
+
* @property {string} id - The unique identifier of the Translate Ui Labels to update
|
|
501
|
+
* @property {ContentPlatformModel.StaticResourceUpdate} body
|
|
502
|
+
*/
|
|
503
|
+
/**
|
|
504
|
+
* @typedef UpsertApplicationResourceTranslationInBulkParam
|
|
505
|
+
* @property {ContentPlatformModel.ResourceTranslationList} body
|
|
506
|
+
*/
|
|
446
507
|
declare class ContentPlatformApplicationValidator {
|
|
508
|
+
/** @returns {AddApplicationLanguageParam} */
|
|
509
|
+
static addApplicationLanguage(): AddApplicationLanguageParam;
|
|
447
510
|
/** @returns {AddDataLoaderParam} */
|
|
448
511
|
static addDataLoader(): AddDataLoaderParam;
|
|
449
512
|
/** @returns {AddFaqParam} */
|
|
@@ -452,6 +515,8 @@ declare class ContentPlatformApplicationValidator {
|
|
|
452
515
|
static addInjectableTag(): AddInjectableTagParam;
|
|
453
516
|
/** @returns {AddPathRedirectionRulesParam} */
|
|
454
517
|
static addPathRedirectionRules(): AddPathRedirectionRulesParam;
|
|
518
|
+
/** @returns {BulkUnPublishApplicationLanguageParam} */
|
|
519
|
+
static bulkUnPublishApplicationLanguage(): BulkUnPublishApplicationLanguageParam;
|
|
455
520
|
/** @returns {CreateAnnouncementParam} */
|
|
456
521
|
static createAnnouncement(): CreateAnnouncementParam;
|
|
457
522
|
/** @returns {CreateAppCustomFieldDefinitionParam} */
|
|
@@ -460,6 +525,8 @@ declare class ContentPlatformApplicationValidator {
|
|
|
460
525
|
static createAppCustomObjectBySlug(): CreateAppCustomObjectBySlugParam;
|
|
461
526
|
/** @returns {CreateAppCustomObjectDefinitionParam} */
|
|
462
527
|
static createAppCustomObjectDefinition(): CreateAppCustomObjectDefinitionParam;
|
|
528
|
+
/** @returns {CreateApplicationResourceTranslationParam} */
|
|
529
|
+
static createApplicationResourceTranslation(): CreateApplicationResourceTranslationParam;
|
|
463
530
|
/** @returns {CreateBlogParam} */
|
|
464
531
|
static createBlog(): CreateBlogParam;
|
|
465
532
|
/** @returns {CreateFaqCategoryParam} */
|
|
@@ -472,6 +539,8 @@ declare class ContentPlatformApplicationValidator {
|
|
|
472
539
|
static createPage(): CreatePageParam;
|
|
473
540
|
/** @returns {CreateSEOMarkupSchemaParam} */
|
|
474
541
|
static createSEOMarkupSchema(): CreateSEOMarkupSchemaParam;
|
|
542
|
+
/** @returns {CreateTranslateUILabelsParam} */
|
|
543
|
+
static createTranslateUILabels(): CreateTranslateUILabelsParam;
|
|
475
544
|
/** @returns {DeleteAnnouncementParam} */
|
|
476
545
|
static deleteAnnouncement(): DeleteAnnouncementParam;
|
|
477
546
|
/** @returns {DeleteAppCustomFieldDefinitionBySlugParam} */
|
|
@@ -480,6 +549,10 @@ declare class ContentPlatformApplicationValidator {
|
|
|
480
549
|
static deleteAppCustomObjectBySlug(): DeleteAppCustomObjectBySlugParam;
|
|
481
550
|
/** @returns {DeleteAppCustomObjectDefinitionBySlugParam} */
|
|
482
551
|
static deleteAppCustomObjectDefinitionBySlug(): DeleteAppCustomObjectDefinitionBySlugParam;
|
|
552
|
+
/** @returns {DeleteApplicationLanguageParam} */
|
|
553
|
+
static deleteApplicationLanguage(): DeleteApplicationLanguageParam;
|
|
554
|
+
/** @returns {DeleteApplicationResourceTranslationParam} */
|
|
555
|
+
static deleteApplicationResourceTranslation(): DeleteApplicationResourceTranslationParam;
|
|
483
556
|
/** @returns {DeleteBlogParam} */
|
|
484
557
|
static deleteBlog(): DeleteBlogParam;
|
|
485
558
|
/** @returns {DeleteDataLoaderParam} */
|
|
@@ -534,6 +607,10 @@ declare class ContentPlatformApplicationValidator {
|
|
|
534
607
|
static getAppJobs(): GetAppJobsParam;
|
|
535
608
|
/** @returns {GetAppResourcesParam} */
|
|
536
609
|
static getAppResources(): any;
|
|
610
|
+
/** @returns {GetApplicationLanguagesParam} */
|
|
611
|
+
static getApplicationLanguages(): any;
|
|
612
|
+
/** @returns {GetApplicationResourceTranslationsParam} */
|
|
613
|
+
static getApplicationResourceTranslations(): GetApplicationResourceTranslationsParam;
|
|
537
614
|
/** @returns {GetBlogBySlugParam} */
|
|
538
615
|
static getBlogBySlug(): GetBlogBySlugParam;
|
|
539
616
|
/** @returns {GetBlogsParam} */
|
|
@@ -584,6 +661,10 @@ declare class ContentPlatformApplicationValidator {
|
|
|
584
661
|
static getSEOMarkupSchemas(): GetSEOMarkupSchemasParam;
|
|
585
662
|
/** @returns {GetSupportInformationParam} */
|
|
586
663
|
static getSupportInformation(): any;
|
|
664
|
+
/** @returns {GetTranslateUILabelsParam} */
|
|
665
|
+
static getTranslateUILabels(): GetTranslateUILabelsParam;
|
|
666
|
+
/** @returns {GetTranslateUILabelsByIdParam} */
|
|
667
|
+
static getTranslateUILabelsById(): GetTranslateUILabelsByIdParam;
|
|
587
668
|
/** @returns {ImportAppCustomObjectEntriesBySlugParam} */
|
|
588
669
|
static importAppCustomObjectEntriesBySlug(): ImportAppCustomObjectEntriesBySlugParam;
|
|
589
670
|
/** @returns {RemoveInjectableTagParam} */
|
|
@@ -606,6 +687,10 @@ declare class ContentPlatformApplicationValidator {
|
|
|
606
687
|
static updateAppCustomObjectBySlug(): UpdateAppCustomObjectBySlugParam;
|
|
607
688
|
/** @returns {UpdateAppCustomObjectDefinitionBySlugParam} */
|
|
608
689
|
static updateAppCustomObjectDefinitionBySlug(): UpdateAppCustomObjectDefinitionBySlugParam;
|
|
690
|
+
/** @returns {UpdateApplicationLanguageStatusParam} */
|
|
691
|
+
static updateApplicationLanguageStatus(): UpdateApplicationLanguageStatusParam;
|
|
692
|
+
/** @returns {UpdateApplicationResourceTranslationParam} */
|
|
693
|
+
static updateApplicationResourceTranslation(): UpdateApplicationResourceTranslationParam;
|
|
609
694
|
/** @returns {UpdateBlogParam} */
|
|
610
695
|
static updateBlog(): UpdateBlogParam;
|
|
611
696
|
/** @returns {UpdateFaqParam} */
|
|
@@ -630,10 +715,17 @@ declare class ContentPlatformApplicationValidator {
|
|
|
630
715
|
static updateSEOConfiguration(): UpdateSEOConfigurationParam;
|
|
631
716
|
/** @returns {UpdateSupportInformationParam} */
|
|
632
717
|
static updateSupportInformation(): UpdateSupportInformationParam;
|
|
718
|
+
/** @returns {UpdateTranslateUILabelsParam} */
|
|
719
|
+
static updateTranslateUILabels(): UpdateTranslateUILabelsParam;
|
|
720
|
+
/** @returns {UpsertApplicationResourceTranslationInBulkParam} */
|
|
721
|
+
static upsertApplicationResourceTranslationInBulk(): UpsertApplicationResourceTranslationInBulkParam;
|
|
633
722
|
}
|
|
634
723
|
declare namespace ContentPlatformApplicationValidator {
|
|
635
|
-
export { AddDataLoaderParam, AddFaqParam, AddInjectableTagParam, AddPathRedirectionRulesParam, CreateAnnouncementParam, CreateAppCustomFieldDefinitionParam, CreateAppCustomObjectBySlugParam, CreateAppCustomObjectDefinitionParam, CreateBlogParam, CreateFaqCategoryParam, CreateLandingPageParam, CreateNavigationParam, CreatePageParam, CreateSEOMarkupSchemaParam, DeleteAnnouncementParam, DeleteAppCustomFieldDefinitionBySlugParam, DeleteAppCustomObjectBySlugParam, DeleteAppCustomObjectDefinitionBySlugParam, DeleteBlogParam, DeleteDataLoaderParam, DeleteFaqParam, DeleteFaqCategoryParam, DeleteLandingPageParam, DeleteNavigationParam, DeletePageParam, DeletePathRedirectionRulesParam, DeleteSEOMarkupSchemaParam, EditDataLoaderParam, EditInjectableTagParam, EditSEOMarkupSchemaParam, ExportAppCustomObjectEntriesBySlugParam, GenerateSEOTitleParam, GetAnnouncementByIdParam, GetAnnouncementsListParam, GetAppCustomFieldDefinitionByResourceParam, GetAppCustomFieldDefinitionBySlugParam, GetAppCustomFieldDefinitionsParam, GetAppCustomFieldTypesParam, GetAppCustomFieldsByResourceSlugParam, GetAppCustomObjectBySlugParam, GetAppCustomObjectDefinitionBySlugParam, GetAppCustomObjectDefinitionsParam, GetAppCustomObjectsBySlugParam, GetAppJobsParam, GetAppResourcesParam, GetBlogBySlugParam, GetBlogsParam, GetDataLoadersParam, GetDataLoadersByServiceParam, GetDefaultNavigationsParam, GetDefaultSEOMarkupSchemaParam, GetFaqByIdOrSlugParam, GetFaqCategoriesParam, GetFaqCategoryBySlugOrIdParam, GetFaqsByCategoryIdOrSlugParam, GetInjectableTagsParam, GetLandingPagesParam, GetLegalInformationParam, GetNavigationBySlugParam, GetNavigationsParam, GetPageBySlugParam, GetPageMetaParam, GetPageSpecParam, GetPagesParam, GetPathRedirectionRuleParam, GetPathRedirectionRulesParam, GetSEOConfigurationParam, GetSEOMarkupSchemaParam, GetSEOMarkupSchemasParam, GetSupportInformationParam, ImportAppCustomObjectEntriesBySlugParam, RemoveInjectableTagParam, ResetDataLoaderParam, SampleAppCustomObjectBulkEntryBySlugParam, SelectDataLoaderParam, UpdateAnnouncementParam, UpdateAnnouncementScheduleParam, UpdateAppCustomFieldByResourceSlugParam, UpdateAppCustomFieldDefinitionBySlugParam, UpdateAppCustomObjectBySlugParam, UpdateAppCustomObjectDefinitionBySlugParam, UpdateBlogParam, UpdateFaqParam, UpdateFaqCategoryParam, UpdateInjectableTagParam, UpdateLandingPageParam, UpdateLegalInformationParam, UpdateNavigationParam, UpdatePageParam, UpdatePagePreviewParam, UpdatePathRedirectionRulesParam, UpdateSEOConfigurationParam, UpdateSupportInformationParam };
|
|
724
|
+
export { AddApplicationLanguageParam, AddDataLoaderParam, AddFaqParam, AddInjectableTagParam, AddPathRedirectionRulesParam, BulkUnPublishApplicationLanguageParam, CreateAnnouncementParam, CreateAppCustomFieldDefinitionParam, CreateAppCustomObjectBySlugParam, CreateAppCustomObjectDefinitionParam, CreateApplicationResourceTranslationParam, CreateBlogParam, CreateFaqCategoryParam, CreateLandingPageParam, CreateNavigationParam, CreatePageParam, CreateSEOMarkupSchemaParam, CreateTranslateUILabelsParam, DeleteAnnouncementParam, DeleteAppCustomFieldDefinitionBySlugParam, DeleteAppCustomObjectBySlugParam, DeleteAppCustomObjectDefinitionBySlugParam, DeleteApplicationLanguageParam, DeleteApplicationResourceTranslationParam, DeleteBlogParam, DeleteDataLoaderParam, DeleteFaqParam, DeleteFaqCategoryParam, DeleteLandingPageParam, DeleteNavigationParam, DeletePageParam, DeletePathRedirectionRulesParam, DeleteSEOMarkupSchemaParam, EditDataLoaderParam, EditInjectableTagParam, EditSEOMarkupSchemaParam, ExportAppCustomObjectEntriesBySlugParam, GenerateSEOTitleParam, GetAnnouncementByIdParam, GetAnnouncementsListParam, GetAppCustomFieldDefinitionByResourceParam, GetAppCustomFieldDefinitionBySlugParam, GetAppCustomFieldDefinitionsParam, GetAppCustomFieldTypesParam, GetAppCustomFieldsByResourceSlugParam, GetAppCustomObjectBySlugParam, GetAppCustomObjectDefinitionBySlugParam, GetAppCustomObjectDefinitionsParam, GetAppCustomObjectsBySlugParam, GetAppJobsParam, GetAppResourcesParam, GetApplicationLanguagesParam, GetApplicationResourceTranslationsParam, GetBlogBySlugParam, GetBlogsParam, GetDataLoadersParam, GetDataLoadersByServiceParam, GetDefaultNavigationsParam, GetDefaultSEOMarkupSchemaParam, GetFaqByIdOrSlugParam, GetFaqCategoriesParam, GetFaqCategoryBySlugOrIdParam, GetFaqsByCategoryIdOrSlugParam, GetInjectableTagsParam, GetLandingPagesParam, GetLegalInformationParam, GetNavigationBySlugParam, GetNavigationsParam, GetPageBySlugParam, GetPageMetaParam, GetPageSpecParam, GetPagesParam, GetPathRedirectionRuleParam, GetPathRedirectionRulesParam, GetSEOConfigurationParam, GetSEOMarkupSchemaParam, GetSEOMarkupSchemasParam, GetSupportInformationParam, GetTranslateUILabelsParam, GetTranslateUILabelsByIdParam, ImportAppCustomObjectEntriesBySlugParam, RemoveInjectableTagParam, ResetDataLoaderParam, SampleAppCustomObjectBulkEntryBySlugParam, SelectDataLoaderParam, UpdateAnnouncementParam, UpdateAnnouncementScheduleParam, UpdateAppCustomFieldByResourceSlugParam, UpdateAppCustomFieldDefinitionBySlugParam, UpdateAppCustomObjectBySlugParam, UpdateAppCustomObjectDefinitionBySlugParam, UpdateApplicationLanguageStatusParam, UpdateApplicationResourceTranslationParam, UpdateBlogParam, UpdateFaqParam, UpdateFaqCategoryParam, UpdateInjectableTagParam, UpdateLandingPageParam, UpdateLegalInformationParam, UpdateNavigationParam, UpdatePageParam, UpdatePagePreviewParam, UpdatePathRedirectionRulesParam, UpdateSEOConfigurationParam, UpdateSupportInformationParam, UpdateTranslateUILabelsParam, UpsertApplicationResourceTranslationInBulkParam };
|
|
636
725
|
}
|
|
726
|
+
type AddApplicationLanguageParam = {
|
|
727
|
+
body: ContentPlatformModel.ApplicationLanguageCreate;
|
|
728
|
+
};
|
|
637
729
|
type AddDataLoaderParam = {
|
|
638
730
|
body: ContentPlatformModel.DataLoaderSchema;
|
|
639
731
|
};
|
|
@@ -650,6 +742,9 @@ type AddInjectableTagParam = {
|
|
|
650
742
|
type AddPathRedirectionRulesParam = {
|
|
651
743
|
body: ContentPlatformModel.PathMappingSchema;
|
|
652
744
|
};
|
|
745
|
+
type BulkUnPublishApplicationLanguageParam = {
|
|
746
|
+
body: ContentPlatformModel.unPublishApplicationLanguage;
|
|
747
|
+
};
|
|
653
748
|
type CreateAnnouncementParam = {
|
|
654
749
|
body: ContentPlatformModel.AdminAnnouncementSchema;
|
|
655
750
|
};
|
|
@@ -664,6 +759,9 @@ type CreateAppCustomObjectBySlugParam = {
|
|
|
664
759
|
type CreateAppCustomObjectDefinitionParam = {
|
|
665
760
|
body: ContentPlatformModel.CustomObjectDefinitionRequestSchema;
|
|
666
761
|
};
|
|
762
|
+
type CreateApplicationResourceTranslationParam = {
|
|
763
|
+
body: ContentPlatformModel.ResourceTranslationCreate;
|
|
764
|
+
};
|
|
667
765
|
type CreateBlogParam = {
|
|
668
766
|
body: ContentPlatformModel.BlogPayload;
|
|
669
767
|
};
|
|
@@ -682,6 +780,9 @@ type CreatePageParam = {
|
|
|
682
780
|
type CreateSEOMarkupSchemaParam = {
|
|
683
781
|
body: ContentPlatformModel.SEOSchemaMarkupTemplateRequestBody;
|
|
684
782
|
};
|
|
783
|
+
type CreateTranslateUILabelsParam = {
|
|
784
|
+
body: ContentPlatformModel.TranslateUiLabelsCreate;
|
|
785
|
+
};
|
|
685
786
|
type DeleteAnnouncementParam = {
|
|
686
787
|
/**
|
|
687
788
|
* - ID allotted to the announcement.
|
|
@@ -700,6 +801,12 @@ type DeleteAppCustomObjectBySlugParam = {
|
|
|
700
801
|
type DeleteAppCustomObjectDefinitionBySlugParam = {
|
|
701
802
|
slug: string;
|
|
702
803
|
};
|
|
804
|
+
type DeleteApplicationLanguageParam = {
|
|
805
|
+
locale: string;
|
|
806
|
+
};
|
|
807
|
+
type DeleteApplicationResourceTranslationParam = {
|
|
808
|
+
id: string;
|
|
809
|
+
};
|
|
703
810
|
type DeleteBlogParam = {
|
|
704
811
|
/**
|
|
705
812
|
* - ID allotted to the blog.
|
|
@@ -860,6 +967,11 @@ type GetAppJobsParam = {
|
|
|
860
967
|
pageSize: string;
|
|
861
968
|
actionType: string;
|
|
862
969
|
};
|
|
970
|
+
type GetApplicationResourceTranslationsParam = {
|
|
971
|
+
locale: string;
|
|
972
|
+
type: string;
|
|
973
|
+
resourceId: string;
|
|
974
|
+
};
|
|
863
975
|
type GetBlogBySlugParam = {
|
|
864
976
|
/**
|
|
865
977
|
* - A short, human-readable, URL-friendly identifier of
|
|
@@ -1047,6 +1159,30 @@ type GetSEOMarkupSchemasParam = {
|
|
|
1047
1159
|
*/
|
|
1048
1160
|
pageSize?: number;
|
|
1049
1161
|
};
|
|
1162
|
+
type GetTranslateUILabelsParam = {
|
|
1163
|
+
/**
|
|
1164
|
+
* - Unique id of template theme
|
|
1165
|
+
*/
|
|
1166
|
+
templateThemeId?: string;
|
|
1167
|
+
/**
|
|
1168
|
+
* - Unique id of theme
|
|
1169
|
+
*/
|
|
1170
|
+
themeId?: string;
|
|
1171
|
+
/**
|
|
1172
|
+
* - Multilingual locale
|
|
1173
|
+
*/
|
|
1174
|
+
locale?: string;
|
|
1175
|
+
/**
|
|
1176
|
+
* - Filter Translate Ui Labels by type
|
|
1177
|
+
*/
|
|
1178
|
+
type?: string;
|
|
1179
|
+
};
|
|
1180
|
+
type GetTranslateUILabelsByIdParam = {
|
|
1181
|
+
/**
|
|
1182
|
+
* - ID of the Translate Ui Labels
|
|
1183
|
+
*/
|
|
1184
|
+
id: string;
|
|
1185
|
+
};
|
|
1050
1186
|
type ImportAppCustomObjectEntriesBySlugParam = {
|
|
1051
1187
|
slug: string;
|
|
1052
1188
|
body: ContentPlatformModel.CustomObjectBulkSchema;
|
|
@@ -1107,6 +1243,14 @@ type UpdateAppCustomObjectDefinitionBySlugParam = {
|
|
|
1107
1243
|
slug: string;
|
|
1108
1244
|
body: ContentPlatformModel.CustomObjectDefinitionUpdateRequestSchema;
|
|
1109
1245
|
};
|
|
1246
|
+
type UpdateApplicationLanguageStatusParam = {
|
|
1247
|
+
locale: string;
|
|
1248
|
+
body: ContentPlatformModel.ApplicationLanguageUpdate;
|
|
1249
|
+
};
|
|
1250
|
+
type UpdateApplicationResourceTranslationParam = {
|
|
1251
|
+
id: string;
|
|
1252
|
+
body: ContentPlatformModel.ResourceTranslationUpdate;
|
|
1253
|
+
};
|
|
1110
1254
|
type UpdateBlogParam = {
|
|
1111
1255
|
/**
|
|
1112
1256
|
* - ID allotted to the blog.
|
|
@@ -1180,8 +1324,19 @@ type UpdateSEOConfigurationParam = {
|
|
|
1180
1324
|
type UpdateSupportInformationParam = {
|
|
1181
1325
|
body: ContentPlatformModel.Support;
|
|
1182
1326
|
};
|
|
1327
|
+
type UpdateTranslateUILabelsParam = {
|
|
1328
|
+
/**
|
|
1329
|
+
* - The unique identifier of the Translate Ui Labels to update
|
|
1330
|
+
*/
|
|
1331
|
+
id: string;
|
|
1332
|
+
body: ContentPlatformModel.StaticResourceUpdate;
|
|
1333
|
+
};
|
|
1334
|
+
type UpsertApplicationResourceTranslationInBulkParam = {
|
|
1335
|
+
body: ContentPlatformModel.ResourceTranslationList;
|
|
1336
|
+
};
|
|
1183
1337
|
type GetAppCustomFieldTypesParam = any;
|
|
1184
1338
|
type GetAppResourcesParam = any;
|
|
1339
|
+
type GetApplicationLanguagesParam = any;
|
|
1185
1340
|
type GetDataLoadersParam = any;
|
|
1186
1341
|
type GetDefaultNavigationsParam = any;
|
|
1187
1342
|
type GetFaqCategoriesParam = any;
|
|
@@ -2,6 +2,11 @@ const Joi = require("joi");
|
|
|
2
2
|
|
|
3
3
|
const ContentPlatformModel = require("./ContentPlatformModel");
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* @typedef AddApplicationLanguageParam
|
|
7
|
+
* @property {ContentPlatformModel.ApplicationLanguageCreate} body
|
|
8
|
+
*/
|
|
9
|
+
|
|
5
10
|
/**
|
|
6
11
|
* @typedef AddDataLoaderParam
|
|
7
12
|
* @property {ContentPlatformModel.DataLoaderSchema} body
|
|
@@ -23,6 +28,11 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
23
28
|
* @property {ContentPlatformModel.PathMappingSchema} body
|
|
24
29
|
*/
|
|
25
30
|
|
|
31
|
+
/**
|
|
32
|
+
* @typedef BulkUnPublishApplicationLanguageParam
|
|
33
|
+
* @property {ContentPlatformModel.unPublishApplicationLanguage} body
|
|
34
|
+
*/
|
|
35
|
+
|
|
26
36
|
/**
|
|
27
37
|
* @typedef CreateAnnouncementParam
|
|
28
38
|
* @property {ContentPlatformModel.AdminAnnouncementSchema} body
|
|
@@ -45,6 +55,11 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
45
55
|
* @property {ContentPlatformModel.CustomObjectDefinitionRequestSchema} body
|
|
46
56
|
*/
|
|
47
57
|
|
|
58
|
+
/**
|
|
59
|
+
* @typedef CreateApplicationResourceTranslationParam
|
|
60
|
+
* @property {ContentPlatformModel.ResourceTranslationCreate} body
|
|
61
|
+
*/
|
|
62
|
+
|
|
48
63
|
/**
|
|
49
64
|
* @typedef CreateBlogParam
|
|
50
65
|
* @property {ContentPlatformModel.BlogPayload} body
|
|
@@ -75,6 +90,11 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
75
90
|
* @property {ContentPlatformModel.SEOSchemaMarkupTemplateRequestBody} body
|
|
76
91
|
*/
|
|
77
92
|
|
|
93
|
+
/**
|
|
94
|
+
* @typedef CreateTranslateUILabelsParam
|
|
95
|
+
* @property {ContentPlatformModel.TranslateUiLabelsCreate} body
|
|
96
|
+
*/
|
|
97
|
+
|
|
78
98
|
/**
|
|
79
99
|
* @typedef DeleteAnnouncementParam
|
|
80
100
|
* @property {string} announcementId - ID allotted to the announcement.
|
|
@@ -98,6 +118,16 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
98
118
|
* @property {string} slug
|
|
99
119
|
*/
|
|
100
120
|
|
|
121
|
+
/**
|
|
122
|
+
* @typedef DeleteApplicationLanguageParam
|
|
123
|
+
* @property {string} locale
|
|
124
|
+
*/
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* @typedef DeleteApplicationResourceTranslationParam
|
|
128
|
+
* @property {string} id
|
|
129
|
+
*/
|
|
130
|
+
|
|
101
131
|
/**
|
|
102
132
|
* @typedef DeleteBlogParam
|
|
103
133
|
* @property {string} id - ID allotted to the blog.
|
|
@@ -261,6 +291,15 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
261
291
|
|
|
262
292
|
/** @typedef GetAppResourcesParam */
|
|
263
293
|
|
|
294
|
+
/** @typedef GetApplicationLanguagesParam */
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* @typedef GetApplicationResourceTranslationsParam
|
|
298
|
+
* @property {string} locale
|
|
299
|
+
* @property {string} type
|
|
300
|
+
* @property {string} resourceId
|
|
301
|
+
*/
|
|
302
|
+
|
|
264
303
|
/**
|
|
265
304
|
* @typedef GetBlogBySlugParam
|
|
266
305
|
* @property {string} slug - A short, human-readable, URL-friendly identifier of
|
|
@@ -402,6 +441,19 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
402
441
|
|
|
403
442
|
/** @typedef GetSupportInformationParam */
|
|
404
443
|
|
|
444
|
+
/**
|
|
445
|
+
* @typedef GetTranslateUILabelsParam
|
|
446
|
+
* @property {string} [templateThemeId] - Unique id of template theme
|
|
447
|
+
* @property {string} [themeId] - Unique id of theme
|
|
448
|
+
* @property {string} [locale] - Multilingual locale
|
|
449
|
+
* @property {string} [type] - Filter Translate Ui Labels by type
|
|
450
|
+
*/
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* @typedef GetTranslateUILabelsByIdParam
|
|
454
|
+
* @property {string} id - ID of the Translate Ui Labels
|
|
455
|
+
*/
|
|
456
|
+
|
|
405
457
|
/**
|
|
406
458
|
* @typedef ImportAppCustomObjectEntriesBySlugParam
|
|
407
459
|
* @property {string} slug
|
|
@@ -469,6 +521,18 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
469
521
|
* @property {ContentPlatformModel.CustomObjectDefinitionUpdateRequestSchema} body
|
|
470
522
|
*/
|
|
471
523
|
|
|
524
|
+
/**
|
|
525
|
+
* @typedef UpdateApplicationLanguageStatusParam
|
|
526
|
+
* @property {string} locale
|
|
527
|
+
* @property {ContentPlatformModel.ApplicationLanguageUpdate} body
|
|
528
|
+
*/
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* @typedef UpdateApplicationResourceTranslationParam
|
|
532
|
+
* @property {string} id
|
|
533
|
+
* @property {ContentPlatformModel.ResourceTranslationUpdate} body
|
|
534
|
+
*/
|
|
535
|
+
|
|
472
536
|
/**
|
|
473
537
|
* @typedef UpdateBlogParam
|
|
474
538
|
* @property {string} id - ID allotted to the blog.
|
|
@@ -539,7 +603,25 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
539
603
|
* @property {ContentPlatformModel.Support} body
|
|
540
604
|
*/
|
|
541
605
|
|
|
606
|
+
/**
|
|
607
|
+
* @typedef UpdateTranslateUILabelsParam
|
|
608
|
+
* @property {string} id - The unique identifier of the Translate Ui Labels to update
|
|
609
|
+
* @property {ContentPlatformModel.StaticResourceUpdate} body
|
|
610
|
+
*/
|
|
611
|
+
|
|
612
|
+
/**
|
|
613
|
+
* @typedef UpsertApplicationResourceTranslationInBulkParam
|
|
614
|
+
* @property {ContentPlatformModel.ResourceTranslationList} body
|
|
615
|
+
*/
|
|
616
|
+
|
|
542
617
|
class ContentPlatformApplicationValidator {
|
|
618
|
+
/** @returns {AddApplicationLanguageParam} */
|
|
619
|
+
static addApplicationLanguage() {
|
|
620
|
+
return Joi.object({
|
|
621
|
+
body: ContentPlatformModel.ApplicationLanguageCreate().required(),
|
|
622
|
+
}).required();
|
|
623
|
+
}
|
|
624
|
+
|
|
543
625
|
/** @returns {AddDataLoaderParam} */
|
|
544
626
|
static addDataLoader() {
|
|
545
627
|
return Joi.object({
|
|
@@ -569,6 +651,13 @@ class ContentPlatformApplicationValidator {
|
|
|
569
651
|
}).required();
|
|
570
652
|
}
|
|
571
653
|
|
|
654
|
+
/** @returns {BulkUnPublishApplicationLanguageParam} */
|
|
655
|
+
static bulkUnPublishApplicationLanguage() {
|
|
656
|
+
return Joi.object({
|
|
657
|
+
body: ContentPlatformModel.unPublishApplicationLanguage().required(),
|
|
658
|
+
}).required();
|
|
659
|
+
}
|
|
660
|
+
|
|
572
661
|
/** @returns {CreateAnnouncementParam} */
|
|
573
662
|
static createAnnouncement() {
|
|
574
663
|
return Joi.object({
|
|
@@ -599,6 +688,13 @@ class ContentPlatformApplicationValidator {
|
|
|
599
688
|
}).required();
|
|
600
689
|
}
|
|
601
690
|
|
|
691
|
+
/** @returns {CreateApplicationResourceTranslationParam} */
|
|
692
|
+
static createApplicationResourceTranslation() {
|
|
693
|
+
return Joi.object({
|
|
694
|
+
body: ContentPlatformModel.ResourceTranslationCreate().required(),
|
|
695
|
+
}).required();
|
|
696
|
+
}
|
|
697
|
+
|
|
602
698
|
/** @returns {CreateBlogParam} */
|
|
603
699
|
static createBlog() {
|
|
604
700
|
return Joi.object({
|
|
@@ -641,6 +737,13 @@ class ContentPlatformApplicationValidator {
|
|
|
641
737
|
}).required();
|
|
642
738
|
}
|
|
643
739
|
|
|
740
|
+
/** @returns {CreateTranslateUILabelsParam} */
|
|
741
|
+
static createTranslateUILabels() {
|
|
742
|
+
return Joi.object({
|
|
743
|
+
body: ContentPlatformModel.TranslateUiLabelsCreate().required(),
|
|
744
|
+
}).required();
|
|
745
|
+
}
|
|
746
|
+
|
|
644
747
|
/** @returns {DeleteAnnouncementParam} */
|
|
645
748
|
static deleteAnnouncement() {
|
|
646
749
|
return Joi.object({
|
|
@@ -672,6 +775,20 @@ class ContentPlatformApplicationValidator {
|
|
|
672
775
|
}).required();
|
|
673
776
|
}
|
|
674
777
|
|
|
778
|
+
/** @returns {DeleteApplicationLanguageParam} */
|
|
779
|
+
static deleteApplicationLanguage() {
|
|
780
|
+
return Joi.object({
|
|
781
|
+
locale: Joi.string().allow("").required(),
|
|
782
|
+
}).required();
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
/** @returns {DeleteApplicationResourceTranslationParam} */
|
|
786
|
+
static deleteApplicationResourceTranslation() {
|
|
787
|
+
return Joi.object({
|
|
788
|
+
id: Joi.string().allow("").required(),
|
|
789
|
+
}).required();
|
|
790
|
+
}
|
|
791
|
+
|
|
675
792
|
/** @returns {DeleteBlogParam} */
|
|
676
793
|
static deleteBlog() {
|
|
677
794
|
return Joi.object({
|
|
@@ -885,6 +1002,20 @@ class ContentPlatformApplicationValidator {
|
|
|
885
1002
|
return Joi.object({}).required();
|
|
886
1003
|
}
|
|
887
1004
|
|
|
1005
|
+
/** @returns {GetApplicationLanguagesParam} */
|
|
1006
|
+
static getApplicationLanguages() {
|
|
1007
|
+
return Joi.object({}).required();
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
/** @returns {GetApplicationResourceTranslationsParam} */
|
|
1011
|
+
static getApplicationResourceTranslations() {
|
|
1012
|
+
return Joi.object({
|
|
1013
|
+
locale: Joi.string().allow("").required(),
|
|
1014
|
+
type: Joi.string().allow("").required(),
|
|
1015
|
+
resourceId: Joi.string().allow("").required(),
|
|
1016
|
+
}).required();
|
|
1017
|
+
}
|
|
1018
|
+
|
|
888
1019
|
/** @returns {GetBlogBySlugParam} */
|
|
889
1020
|
static getBlogBySlug() {
|
|
890
1021
|
return Joi.object({
|
|
@@ -1059,6 +1190,23 @@ class ContentPlatformApplicationValidator {
|
|
|
1059
1190
|
return Joi.object({}).required();
|
|
1060
1191
|
}
|
|
1061
1192
|
|
|
1193
|
+
/** @returns {GetTranslateUILabelsParam} */
|
|
1194
|
+
static getTranslateUILabels() {
|
|
1195
|
+
return Joi.object({
|
|
1196
|
+
templateThemeId: Joi.string().allow(""),
|
|
1197
|
+
themeId: Joi.string().allow(""),
|
|
1198
|
+
locale: Joi.string().allow(""),
|
|
1199
|
+
type: Joi.string().allow(""),
|
|
1200
|
+
}).required();
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
/** @returns {GetTranslateUILabelsByIdParam} */
|
|
1204
|
+
static getTranslateUILabelsById() {
|
|
1205
|
+
return Joi.object({
|
|
1206
|
+
id: Joi.string().allow("").required(),
|
|
1207
|
+
}).required();
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1062
1210
|
/** @returns {ImportAppCustomObjectEntriesBySlugParam} */
|
|
1063
1211
|
static importAppCustomObjectEntriesBySlug() {
|
|
1064
1212
|
return Joi.object({
|
|
@@ -1148,6 +1296,22 @@ class ContentPlatformApplicationValidator {
|
|
|
1148
1296
|
}).required();
|
|
1149
1297
|
}
|
|
1150
1298
|
|
|
1299
|
+
/** @returns {UpdateApplicationLanguageStatusParam} */
|
|
1300
|
+
static updateApplicationLanguageStatus() {
|
|
1301
|
+
return Joi.object({
|
|
1302
|
+
locale: Joi.string().allow("").required(),
|
|
1303
|
+
body: ContentPlatformModel.ApplicationLanguageUpdate().required(),
|
|
1304
|
+
}).required();
|
|
1305
|
+
}
|
|
1306
|
+
|
|
1307
|
+
/** @returns {UpdateApplicationResourceTranslationParam} */
|
|
1308
|
+
static updateApplicationResourceTranslation() {
|
|
1309
|
+
return Joi.object({
|
|
1310
|
+
id: Joi.string().allow("").required(),
|
|
1311
|
+
body: ContentPlatformModel.ResourceTranslationUpdate().required(),
|
|
1312
|
+
}).required();
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1151
1315
|
/** @returns {UpdateBlogParam} */
|
|
1152
1316
|
static updateBlog() {
|
|
1153
1317
|
return Joi.object({
|
|
@@ -1240,6 +1404,22 @@ class ContentPlatformApplicationValidator {
|
|
|
1240
1404
|
body: ContentPlatformModel.Support().required(),
|
|
1241
1405
|
}).required();
|
|
1242
1406
|
}
|
|
1407
|
+
|
|
1408
|
+
/** @returns {UpdateTranslateUILabelsParam} */
|
|
1409
|
+
static updateTranslateUILabels() {
|
|
1410
|
+
return Joi.object({
|
|
1411
|
+
id: Joi.string().allow("").required(),
|
|
1412
|
+
|
|
1413
|
+
body: ContentPlatformModel.StaticResourceUpdate().required(),
|
|
1414
|
+
}).required();
|
|
1415
|
+
}
|
|
1416
|
+
|
|
1417
|
+
/** @returns {UpsertApplicationResourceTranslationInBulkParam} */
|
|
1418
|
+
static upsertApplicationResourceTranslationInBulk() {
|
|
1419
|
+
return Joi.object({
|
|
1420
|
+
body: ContentPlatformModel.ResourceTranslationList().required(),
|
|
1421
|
+
}).required();
|
|
1422
|
+
}
|
|
1243
1423
|
}
|
|
1244
1424
|
|
|
1245
1425
|
module.exports = ContentPlatformApplicationValidator;
|