@gofynd/fdk-client-javascript 1.4.2-beta.1 → 1.4.2-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/Cart/CartApplicationModel.d.ts +1742 -1726
  4. package/sdk/application/Cart/CartApplicationModel.js +1497 -1481
  5. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +1917 -1917
  6. package/sdk/application/Catalog/CatalogApplicationModel.js +1611 -1611
  7. package/sdk/application/Common/CommonApplicationModel.d.ts +235 -235
  8. package/sdk/application/Common/CommonApplicationModel.js +172 -172
  9. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +72 -72
  10. package/sdk/application/Communication/CommunicationApplicationModel.js +64 -64
  11. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1614 -1614
  12. package/sdk/application/Configuration/ConfigurationApplicationModel.js +1151 -1151
  13. package/sdk/application/Content/ContentApplicationModel.d.ts +797 -797
  14. package/sdk/application/Content/ContentApplicationModel.js +757 -757
  15. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +79 -79
  16. package/sdk/application/FileStorage/FileStorageApplicationModel.js +84 -84
  17. package/sdk/application/Lead/LeadApplicationModel.d.ts +417 -417
  18. package/sdk/application/Lead/LeadApplicationModel.js +301 -301
  19. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +666 -666
  20. package/sdk/application/Logistic/LogisticApplicationModel.js +601 -601
  21. package/sdk/application/Order/OrderApplicationModel.d.ts +846 -846
  22. package/sdk/application/Order/OrderApplicationModel.js +822 -822
  23. package/sdk/application/Payment/PaymentApplicationClient.d.ts +5 -5
  24. package/sdk/application/Payment/PaymentApplicationClient.js +10 -10
  25. package/sdk/application/Payment/PaymentApplicationModel.d.ts +2155 -2150
  26. package/sdk/application/Payment/PaymentApplicationModel.js +1460 -1458
  27. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +5 -5
  28. package/sdk/application/Payment/PaymentApplicationValidator.js +3 -3
  29. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1462 -1462
  30. package/sdk/application/PosCart/PosCartApplicationModel.js +1260 -1260
  31. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +214 -214
  32. package/sdk/application/Rewards/RewardsApplicationModel.js +211 -211
  33. package/sdk/application/Share/ShareApplicationModel.d.ts +114 -114
  34. package/sdk/application/Share/ShareApplicationModel.js +121 -121
  35. package/sdk/application/Theme/ThemeApplicationModel.d.ts +895 -895
  36. package/sdk/application/Theme/ThemeApplicationModel.js +684 -684
  37. package/sdk/application/User/UserApplicationModel.d.ts +762 -762
  38. package/sdk/application/User/UserApplicationModel.js +738 -738
  39. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +63 -63
  40. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +65 -65
  41. package/sdk/partner/Lead/LeadPartnerModel.d.ts +661 -661
  42. package/sdk/partner/Lead/LeadPartnerModel.js +491 -491
  43. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +223 -223
  44. package/sdk/partner/Logistics/LogisticsPartnerModel.js +235 -235
  45. package/sdk/partner/Theme/ThemePartnerModel.d.ts +1087 -1087
  46. package/sdk/partner/Theme/ThemePartnerModel.js +819 -819
  47. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +386 -386
  48. package/sdk/partner/Webhook/WebhookPartnerModel.js +342 -342
  49. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +123 -123
  50. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +109 -109
  51. package/sdk/platform/Billing/BillingPlatformModel.d.ts +801 -801
  52. package/sdk/platform/Billing/BillingPlatformModel.js +783 -783
  53. package/sdk/platform/Cart/CartPlatformModel.d.ts +3333 -3317
  54. package/sdk/platform/Cart/CartPlatformModel.js +2936 -2920
  55. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1013 -1013
  56. package/sdk/platform/Catalog/CatalogPlatformModel.js +923 -923
  57. package/sdk/platform/Common/CommonPlatformModel.d.ts +255 -255
  58. package/sdk/platform/Common/CommonPlatformModel.js +187 -187
  59. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1238 -1238
  60. package/sdk/platform/Communication/CommunicationPlatformModel.js +1273 -1273
  61. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +661 -661
  62. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +692 -692
  63. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +3198 -3198
  64. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2247 -2247
  65. package/sdk/platform/Content/ContentPlatformModel.d.ts +1833 -1833
  66. package/sdk/platform/Content/ContentPlatformModel.js +1837 -1837
  67. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +245 -245
  68. package/sdk/platform/Discount/DiscountPlatformModel.js +248 -248
  69. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +865 -865
  70. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +877 -877
  71. package/sdk/platform/Finance/FinancePlatformModel.d.ts +1044 -1044
  72. package/sdk/platform/Finance/FinancePlatformModel.js +974 -974
  73. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +942 -942
  74. package/sdk/platform/Inventory/InventoryPlatformModel.js +1003 -1003
  75. package/sdk/platform/Lead/LeadPlatformModel.d.ts +608 -608
  76. package/sdk/platform/Lead/LeadPlatformModel.js +465 -465
  77. package/sdk/platform/Order/OrderPlatformModel.d.ts +5180 -5176
  78. package/sdk/platform/Order/OrderPlatformModel.js +4740 -4736
  79. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +22 -22
  80. package/sdk/platform/Partner/PartnerPlatformModel.js +22 -22
  81. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2670 -2660
  82. package/sdk/platform/Payment/PaymentPlatformModel.js +1831 -1827
  83. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +204 -204
  84. package/sdk/platform/Rewards/RewardsPlatformModel.js +199 -199
  85. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1505 -1507
  86. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1532 -1536
  87. package/sdk/platform/Share/SharePlatformModel.d.ts +147 -147
  88. package/sdk/platform/Share/SharePlatformModel.js +139 -139
  89. package/sdk/platform/Theme/ThemePlatformModel.d.ts +1046 -1046
  90. package/sdk/platform/Theme/ThemePlatformModel.js +789 -789
  91. package/sdk/platform/User/UserPlatformModel.d.ts +758 -758
  92. package/sdk/platform/User/UserPlatformModel.js +643 -643
  93. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +439 -439
  94. package/sdk/platform/Webhook/WebhookPlatformModel.js +364 -364
  95. package/sdk/public/Billing/BillingPublicModel.d.ts +55 -55
  96. package/sdk/public/Billing/BillingPublicModel.js +51 -51
  97. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +237 -237
  98. package/sdk/public/Configuration/ConfigurationPublicModel.js +174 -174
  99. package/sdk/public/Content/ContentPublicModel.d.ts +26 -26
  100. package/sdk/public/Content/ContentPublicModel.js +28 -28
  101. package/sdk/public/Inventory/InventoryPublicModel.d.ts +237 -237
  102. package/sdk/public/Inventory/InventoryPublicModel.js +257 -257
  103. package/sdk/public/Partner/PartnerPublicModel.d.ts +104 -104
  104. package/sdk/public/Partner/PartnerPublicModel.js +113 -113
  105. package/sdk/public/Webhook/WebhookPublicModel.d.ts +87 -87
  106. package/sdk/public/Webhook/WebhookPublicModel.js +93 -93
@@ -1,1325 +1,1325 @@
1
1
  const Joi = require("joi");
2
2
 
3
3
  /**
4
- * @typedef Action
5
- * @property {ActionPage} [page]
6
- * @property {ActionPage} [popup]
4
+ * @typedef GenerateSEOContent
5
+ * @property {string} [text]
6
+ * @property {string} [existing_text]
7
+ * @property {string[]} [keywords]
7
8
  * @property {string} [type]
8
9
  */
9
10
 
10
11
  /**
11
- * @typedef ActionPage
12
- * @property {Object} [params]
13
- * @property {Object} [query]
14
- * @property {PageType} type
15
- * @property {string} [url]
16
- */
17
-
18
- /**
19
- * @typedef AdminAnnouncementSchema
20
- * @property {string} [_id]
21
- * @property {ScheduleSchema} [_schedule]
22
- * @property {string} [announcement]
23
- * @property {string} [app]
24
- * @property {AnnouncementAuthorSchema} [author]
25
- * @property {string} [created_at]
26
- * @property {EditorMeta} [editor_meta]
27
- * @property {string} [modified_at]
28
- * @property {AnnouncementPageSchema[]} [pages]
29
- * @property {string[]} [platforms]
12
+ * @typedef GeneratedSEOContent
30
13
  * @property {string} [title]
31
- */
32
-
33
- /**
34
- * @typedef AnnouncementAuthorSchema
35
- * @property {string} [created_by]
36
- * @property {string} [modified_by]
37
- */
38
-
39
- /**
40
- * @typedef AnnouncementPageSchema
41
- * @property {string} [page_slug]
42
- * @property {string} [type]
14
+ * @property {string} [description]
43
15
  */
44
16
 
45
17
  /**
46
18
  * @typedef ApplicationLegal
47
- * @property {string} [_id]
48
19
  * @property {string} [application]
49
- * @property {string} [created_at]
50
- * @property {ApplicationLegalFAQ[]} [faq]
20
+ * @property {string} [tnc]
51
21
  * @property {string} [policy]
52
- * @property {string} [returns]
53
22
  * @property {string} [shipping]
54
- * @property {string} [tnc]
23
+ * @property {string} [returns]
24
+ * @property {ApplicationLegalFAQ[]} [faq]
25
+ * @property {string} [_id]
55
26
  * @property {string} [updated_at]
27
+ * @property {string} [created_at]
56
28
  */
57
29
 
58
30
  /**
59
31
  * @typedef ApplicationLegalFAQ
60
- * @property {string} [answer]
61
32
  * @property {string} [question]
33
+ * @property {string} [answer]
62
34
  */
63
35
 
64
36
  /**
65
- * @typedef Asset
66
- * @property {string} [aspect_ratio]
67
- * @property {string} [id]
68
- * @property {string} [secure_url]
37
+ * @typedef PathMappingSchema
38
+ * @property {string} [application]
39
+ * @property {string} [_id]
40
+ * @property {string} [redirect_from]
41
+ * @property {string} [redirect_to]
42
+ * @property {string} [updated_at]
43
+ * @property {string} [created_at]
44
+ * @property {PathSourceSchema} [__source]
69
45
  */
70
46
 
71
47
  /**
72
- * @typedef Author
73
- * @property {string} [designation]
48
+ * @typedef PathSourceSchema
49
+ * @property {string} [type]
74
50
  * @property {string} [id]
75
- * @property {string} [name]
76
51
  */
77
52
 
78
53
  /**
79
- * @typedef BlogGetResponse
80
- * @property {BlogSchema[]} [items]
81
- * @property {Page} [page]
54
+ * @typedef SeoComponent
55
+ * @property {SeoSchema} [seo]
82
56
  */
83
57
 
84
58
  /**
85
- * @typedef BlogRequest
86
- * @property {Object} [_custom_json]
87
- * @property {CronSchedule} [_schedule]
88
- * @property {string} [application]
89
- * @property {Author} [author]
90
- * @property {ResourceContent[]} [content]
91
- * @property {Asset} [feature_image]
92
- * @property {boolean} [published]
93
- * @property {string} [reading_time]
94
- * @property {SEO} [seo]
95
- * @property {string} [slug]
96
- * @property {string[]} [tags]
97
- * @property {string} [title]
59
+ * @typedef SeoSchema
60
+ * @property {string} [app]
61
+ * @property {string} [_id]
62
+ * @property {string} [robots_txt]
63
+ * @property {boolean} [sitemap_enabled]
64
+ * @property {string} [additional_sitemap]
65
+ * @property {boolean} [cannonical_enabled]
66
+ * @property {CustomMetaTag[]} [custom_meta_tags]
67
+ * @property {Detail} [details]
68
+ * @property {string} [created_at]
69
+ * @property {string} [updated_at]
98
70
  */
99
71
 
100
72
  /**
101
- * @typedef BlogSchema
102
- * @property {Object} [_custom_json]
73
+ * @typedef CustomMetaTag
74
+ * @property {string} [name]
75
+ * @property {string} [content]
103
76
  * @property {string} [_id]
104
- * @property {CronSchedule} [_schedule]
105
- * @property {string} [application]
106
- * @property {boolean} [archived]
107
- * @property {Author} [author]
108
- * @property {ResourceContent[]} [content]
109
- * @property {DateMeta} [date_meta]
110
- * @property {Asset} [feature_image]
111
- * @property {boolean} [published]
112
- * @property {string} [reading_time]
113
- * @property {SEO} [seo]
114
- * @property {string} [slug]
115
- * @property {string[]} [tags]
77
+ */
78
+
79
+ /**
80
+ * @typedef Detail
116
81
  * @property {string} [title]
82
+ * @property {string} [description]
83
+ * @property {string} [image_url]
117
84
  */
118
85
 
119
86
  /**
120
- * @typedef BooleanType
121
- * @property {string} [category]
122
- * @property {boolean} [list_enabled]
123
- * @property {string} [name]
124
- * @property {SupportedValidationsSchema[]} [supported_validations]
125
- * @property {string} [type]
87
+ * @typedef SeoSchemaComponent
88
+ * @property {SEOSchemaMarkupTemplate[]} [items]
89
+ * @property {Page} [page]
126
90
  */
127
91
 
128
92
  /**
129
- * @typedef CategoryRequestSchema
130
- * @property {string} [slug]
93
+ * @typedef SEOSchemaMarkupTemplate
94
+ * @property {string} [id]
131
95
  * @property {string} [title]
96
+ * @property {string} [page_type]
97
+ * @property {string} [schema]
98
+ * @property {string} [description]
99
+ * @property {boolean} [active]
100
+ * @property {string} [created_at]
101
+ * @property {string} [updated_at]
102
+ * @property {string} [application]
103
+ * @property {Object} [target_json]
132
104
  */
133
105
 
134
106
  /**
135
- * @typedef CategorySchema
136
- * @property {Object} [_custom_json]
137
- * @property {string} [_id]
138
- * @property {string} [application]
139
- * @property {string[]} [children]
140
- * @property {string} [description]
141
- * @property {string} [icon_url]
142
- * @property {number} [index]
143
- * @property {string} [slug]
107
+ * @typedef SEOSchemaMarkupTemplateRequestBody
144
108
  * @property {string} [title]
109
+ * @property {string} [page_type]
110
+ * @property {string} [schema]
111
+ * @property {string} [description]
112
+ * @property {Object} [target_json]
113
+ * @property {boolean} [active]
114
+ * @property {string} [created_at]
115
+ * @property {string} [updated_at]
145
116
  */
146
117
 
147
118
  /**
148
- * @typedef ChildrenSchema
149
- * @property {string} [_id]
150
- * @property {string} [answer]
151
- * @property {string} [application]
152
- * @property {string} [question]
153
- * @property {string} [slug]
119
+ * @typedef AnnouncementPageSchema
120
+ * @property {string} [page_slug]
121
+ * @property {string} [type]
154
122
  */
155
123
 
156
124
  /**
157
- * @typedef CommonError
158
- * @property {string} [message]
125
+ * @typedef EditorMeta
126
+ * @property {string} [foreground_color]
127
+ * @property {string} [background_color]
128
+ * @property {string} [content_type]
129
+ * @property {string} [content]
159
130
  */
160
131
 
161
132
  /**
162
- * @typedef ConfigurationSchema
163
- * @property {number} [duration]
164
- * @property {number} [sleep_time]
165
- * @property {string} [slide_direction]
166
- * @property {boolean} [start_on_launch]
133
+ * @typedef AnnouncementAuthorSchema
134
+ * @property {string} [created_by]
135
+ * @property {string} [modified_by]
167
136
  */
168
137
 
169
138
  /**
170
- * @typedef ContactSchema
171
- * @property {EmailSchema} [email]
172
- * @property {PhoneSchema} [phone]
139
+ * @typedef AdminAnnouncementSchema
140
+ * @property {string} [_id]
141
+ * @property {string[]} [platforms]
142
+ * @property {string} [title]
143
+ * @property {string} [announcement]
144
+ * @property {AnnouncementPageSchema[]} [pages]
145
+ * @property {EditorMeta} [editor_meta]
146
+ * @property {AnnouncementAuthorSchema} [author]
147
+ * @property {string} [created_at]
148
+ * @property {string} [app]
149
+ * @property {string} [modified_at]
150
+ * @property {ScheduleSchema} [_schedule]
173
151
  */
174
152
 
175
153
  /**
176
- * @typedef ContentAPIError
177
- * @property {string} [code]
178
- * @property {string} [exception]
179
- * @property {string} [info]
180
- * @property {string} [message]
181
- * @property {Object} [meta]
182
- * @property {string} [request_id]
183
- * @property {string} [stack_trace]
184
- * @property {number} [status]
154
+ * @typedef DefaultSchemaComponent
155
+ * @property {DefaultSEOSchemaMarkupTemplate[]} [items]
185
156
  */
186
157
 
187
158
  /**
188
- * @typedef CreateAnnouncementSchema
189
- * @property {AdminAnnouncementSchema} [data]
190
- * @property {string} [message]
159
+ * @typedef DefaultSEOSchemaMarkupTemplate
160
+ * @property {string} [page_type]
161
+ * @property {string} [schema]
162
+ * @property {Object} [target_json]
191
163
  */
192
164
 
193
165
  /**
194
- * @typedef CreatedBySchema
195
- * @property {string} [id]
166
+ * @typedef ScheduleSchema
167
+ * @property {string} [cron]
168
+ * @property {string} [start]
169
+ * @property {string} [end]
170
+ * @property {number} [duration]
171
+ * @property {NextSchedule[]} [next_schedule]
196
172
  */
197
173
 
198
174
  /**
199
- * @typedef CreateFaqCategoryRequestSchema
200
- * @property {CategoryRequestSchema} [category]
175
+ * @typedef NextSchedule
176
+ * @property {string} [start]
177
+ * @property {string} [end]
201
178
  */
202
179
 
203
180
  /**
204
- * @typedef CreateFaqCategorySchema
205
- * @property {CategorySchema} [category]
181
+ * @typedef BlogGetResponse
182
+ * @property {BlogSchema[]} [items]
183
+ * @property {Page} [page]
206
184
  */
207
185
 
208
186
  /**
209
- * @typedef CreateFaqResponseSchema
210
- * @property {FaqSchema} [faq]
187
+ * @typedef ResourceContent
188
+ * @property {string} [type]
189
+ * @property {string} [value]
211
190
  */
212
191
 
213
192
  /**
214
- * @typedef CreateFaqSchema
215
- * @property {FAQ} [faq]
193
+ * @typedef Asset
194
+ * @property {string} [aspect_ratio]
195
+ * @property {string} [id]
196
+ * @property {string} [secure_url]
216
197
  */
217
198
 
218
199
  /**
219
- * @typedef CreateTagRequestSchema
220
- * @property {CreateTagSchema[]} [tags]
200
+ * @typedef Author
201
+ * @property {string} [designation]
202
+ * @property {string} [id]
203
+ * @property {string} [name]
221
204
  */
222
205
 
223
206
  /**
224
- * @typedef CreateTagSchema
207
+ * @typedef BlogSchema
225
208
  * @property {string} [_id]
226
- * @property {Object} [attributes]
227
- * @property {string} [content]
228
- * @property {string} [name]
229
- * @property {Object[]} [pages]
230
- * @property {string} [position]
231
- * @property {string} [sub_type]
232
- * @property {string} [type]
233
- * @property {string} [url]
209
+ * @property {Object} [_custom_json]
210
+ * @property {string} [application]
211
+ * @property {boolean} [archived]
212
+ * @property {Author} [author]
213
+ * @property {ResourceContent[]} [content]
214
+ * @property {Asset} [feature_image]
215
+ * @property {boolean} [published]
216
+ * @property {string} [reading_time]
217
+ * @property {string} [slug]
218
+ * @property {string[]} [tags]
219
+ * @property {SEO} [seo]
220
+ * @property {CronSchedule} [_schedule]
221
+ * @property {string} [title]
222
+ * @property {DateMeta} [date_meta]
234
223
  */
235
224
 
236
225
  /**
237
- * @typedef CronSchedule
238
- * @property {string} [cron]
239
- * @property {number} [duration]
240
- * @property {string} [end]
241
- * @property {string} [start]
226
+ * @typedef SEO
227
+ * @property {string} [description]
228
+ * @property {SEOImage} [image]
229
+ * @property {string} [title]
230
+ * @property {SEOMetaItem[]} [meta_tags]
231
+ * @property {SEOSitemap} [sitemap]
232
+ * @property {SEObreadcrumb[]} [breadcrumb]
233
+ * @property {string} [canonical_url]
242
234
  */
243
235
 
244
236
  /**
245
- * @typedef CustomDataDeleteSchema
246
- * @property {string} [message]
247
- * @property {boolean} [success]
237
+ * @typedef SEOImage
238
+ * @property {string} [url]
248
239
  */
249
240
 
250
241
  /**
251
- * @typedef CustomField
252
- * @property {string} [definition_id]
253
- * @property {Object[]} [value]
242
+ * @typedef SEOMetaItem
243
+ * @property {string} [title]
244
+ * @property {SEOMetaItems[]} [items]
254
245
  */
255
246
 
256
247
  /**
257
- * @typedef CustomFieldDefinitionDetailResSchema
258
- * @property {string} [_id]
259
- * @property {string} [application_id]
260
- * @property {string} [company_id]
261
- * @property {string} [created_at]
262
- * @property {string} [created_by]
263
- * @property {string} [creator]
264
- * @property {string} [description]
265
- * @property {boolean} [is_deleted]
248
+ * @typedef SEOMetaItems
266
249
  * @property {string} [key]
267
- * @property {boolean} [multi_value]
268
- * @property {string} [name]
269
- * @property {string} [namespace]
270
- * @property {boolean} [required]
271
- * @property {string} [resource]
272
- * @property {string} [type]
273
- * @property {string} [updated_at]
274
- * @property {string} [updated_by]
275
- * @property {Object[]} [validations]
250
+ * @property {string} [value]
276
251
  */
277
252
 
278
253
  /**
279
- * @typedef CustomFieldDefinitionRequestSchema
280
- * @property {string} [description]
281
- * @property {string} [key]
282
- * @property {boolean} [multi_value]
283
- * @property {string} [name]
284
- * @property {string} [namespace]
285
- * @property {string} [resource]
286
- * @property {string} [type]
287
- * @property {FieldValidations[]} [validations]
254
+ * @typedef SEOSitemap
255
+ * @property {number} [priority]
256
+ * @property {string} [frequency]
288
257
  */
289
258
 
290
259
  /**
291
- * @typedef CustomFieldDefinitionsSchema
292
- * @property {FieldDefinitionSchema[]} [items]
293
- * @property {Page} [page]
260
+ * @typedef SEObreadcrumb
261
+ * @property {string} [url]
262
+ * @property {Action} [action]
294
263
  */
295
264
 
296
265
  /**
297
- * @typedef CustomFieldRequestSchema
298
- * @property {CustomField[]} [fields]
266
+ * @typedef DateMeta
267
+ * @property {string} [created_on]
268
+ * @property {string} [modified_on]
299
269
  */
300
270
 
301
271
  /**
302
- * @typedef CustomFieldSchema
303
- * @property {string} [_id]
304
- * @property {string} [company_id]
305
- * @property {string} [created_at]
306
- * @property {string} [created_by]
307
- * @property {string} [creator]
308
- * @property {string} [definition_id]
309
- * @property {boolean} [has_invalid_values]
310
- * @property {Object[]} [invalid_value_errors]
311
- * @property {boolean} [is_deleted]
312
- * @property {string} [key]
313
- * @property {boolean} [multi_value]
314
- * @property {string} [namespace]
315
- * @property {string} [resource]
316
- * @property {string} [resource_id]
317
- * @property {string} [type]
318
- * @property {string} [updated_at]
319
- * @property {CustomFieldValue[]} [value]
272
+ * @typedef BlogRequest
273
+ * @property {string} [application]
274
+ * @property {Object} [_custom_json]
275
+ * @property {Author} [author]
276
+ * @property {ResourceContent[]} [content]
277
+ * @property {Asset} [feature_image]
278
+ * @property {boolean} [published]
279
+ * @property {string} [reading_time]
280
+ * @property {string} [slug]
281
+ * @property {string[]} [tags]
282
+ * @property {string} [title]
283
+ * @property {SEO} [seo]
284
+ * @property {CronSchedule} [_schedule]
320
285
  */
321
286
 
322
287
  /**
323
- * @typedef CustomFieldsResponseByResourceIdSchema
324
- * @property {CustomFieldSchema[]} [items]
288
+ * @typedef GetAnnouncementListSchema
289
+ * @property {AdminAnnouncementSchema[]} [items]
290
+ * @property {Page} [page]
325
291
  */
326
292
 
327
293
  /**
328
- * @typedef CustomFieldsResponseSchema
329
- * @property {CustomFieldSchema[]} [items]
330
- * @property {Page} [page]
294
+ * @typedef CreateAnnouncementSchema
295
+ * @property {string} [message]
296
+ * @property {AdminAnnouncementSchema} [data]
331
297
  */
332
298
 
333
299
  /**
334
- * @typedef CustomFieldTypeSchema
335
- * @property {BooleanType} [boolean_type]
336
- * @property {Date} [date]
337
- * @property {Datetime} [datetime]
338
- * @property {Dropdown} [dropdown]
339
- * @property {File} [file]
340
- * @property {FloatType} [float_type]
341
- * @property {Integer} [integer]
342
- * @property {Json} [json]
343
- * @property {Metaobject} [metaobject]
344
- * @property {Product} [product]
345
- * @property {StringMultiLine} [string_multi_line]
346
- * @property {StringSingleLine} [string_single_line]
347
- * @property {Url} [url]
300
+ * @typedef DataLoaderResponseSchema
301
+ * @property {string} [application]
302
+ * @property {string} [company]
303
+ * @property {string} [_id]
304
+ * @property {string} [name]
305
+ * @property {string} [service]
306
+ * @property {string} [operation_id]
307
+ * @property {string} [type]
308
+ * @property {string} [url]
309
+ * @property {string} [content]
310
+ * @property {DataLoaderSourceSchema} [__source]
348
311
  */
349
312
 
350
313
  /**
351
- * @typedef CustomFieldValue
352
- * @property {Object} [value]
314
+ * @typedef DataLoaderResetResponseSchema
315
+ * @property {boolean} [reset]
353
316
  */
354
317
 
355
318
  /**
356
- * @typedef CustomMetaTag
357
- * @property {string} [_id]
358
- * @property {string} [content]
359
- * @property {string} [name]
319
+ * @typedef LocaleLanguage
320
+ * @property {Language} [hi]
321
+ * @property {Language} [ar]
322
+ * @property {Language} [en_us]
360
323
  */
361
324
 
362
325
  /**
363
- * @typedef CustomObjectBulkEntry
364
- * @property {CustomObjectJobSchema[]} [items]
365
- * @property {Page} [page]
326
+ * @typedef Language
327
+ * @property {string} [display]
366
328
  */
367
329
 
368
330
  /**
369
- * @typedef CustomObjectBulkEntryInitiateDownload
370
- * @property {string} [message]
371
- * @property {string} [task_id]
331
+ * @typedef Action
332
+ * @property {ActionPage} [page]
333
+ * @property {ActionPage} [popup]
334
+ * @property {string} [type]
372
335
  */
373
336
 
374
337
  /**
375
- * @typedef CustomObjectBulkSchema
376
- * @property {number} [total_records]
338
+ * @typedef ActionPage
339
+ * @property {Object} [params]
340
+ * @property {Object} [query]
377
341
  * @property {string} [url]
342
+ * @property {PageType} type
378
343
  */
379
344
 
380
345
  /**
381
- * @typedef CustomObjectByIdSchema
382
- * @property {string} [_id]
383
- * @property {CustomObjectListItemDefinationSchema} [definition]
384
- * @property {string} [display_name]
385
- * @property {CustomObjectFieldSchema[]} [fields]
386
- * @property {Object[]} [references]
387
- * @property {string} [status]
346
+ * @typedef NavigationReference
347
+ * @property {string[]} [acl]
348
+ * @property {string[]} [tags]
349
+ * @property {LocaleLanguage} [_locale_language]
350
+ * @property {string} [image]
351
+ * @property {string} [type]
352
+ * @property {Action} [action]
353
+ * @property {boolean} [active]
354
+ * @property {string} [display]
355
+ * @property {number} [sort_order]
356
+ * @property {NavigationReference[]} [sub_navigation]
388
357
  */
389
358
 
390
359
  /**
391
- * @typedef CustomObjectCustomFieldDefinitionResSchema
392
- * @property {string} [_id]
393
- * @property {string} [company_id]
394
- * @property {string} [created_at]
395
- * @property {string} [created_by]
396
- * @property {string} [creator]
397
- * @property {string} [description]
398
- * @property {boolean} [is_deleted]
399
- * @property {string} [key]
400
- * @property {string} [metaobject_definition_id]
401
- * @property {boolean} [multi_value]
402
- * @property {string} [name]
403
- * @property {string} [namespace]
404
- * @property {boolean} [required]
405
- * @property {string} [resource]
406
- * @property {string} [type]
407
- * @property {string} [updated_at]
408
- * @property {FieldValidations[]} [validations]
360
+ * @typedef ConfigurationSchema
361
+ * @property {number} [sleep_time]
362
+ * @property {boolean} [start_on_launch]
363
+ * @property {number} [duration]
364
+ * @property {string} [slide_direction]
409
365
  */
410
366
 
411
367
  /**
412
- * @typedef CustomObjectCustomFieldDefinitions
413
- * @property {string} [action]
414
- * @property {string} [description]
415
- * @property {string} [id]
416
- * @property {string} [key]
417
- * @property {boolean} [multi_value]
418
- * @property {string} [name]
419
- * @property {boolean} [required]
368
+ * @typedef SlideshowMedia
420
369
  * @property {string} [type]
421
- * @property {FieldValidations[]} [validations]
370
+ * @property {string} [url]
371
+ * @property {string} [bg_color]
372
+ * @property {number} [duration]
373
+ * @property {boolean} [auto_decide_duration]
374
+ * @property {Action} [action]
422
375
  */
423
376
 
424
377
  /**
425
- * @typedef CustomObjectDefinitionDeleteResponseSchema
426
- * @property {string} [message]
427
- * @property {boolean} [success]
378
+ * @typedef UpdateHandpickedSchema
379
+ * @property {HandpickedTagSchema} [tag]
428
380
  */
429
381
 
430
382
  /**
431
- * @typedef CustomObjectDefinitionRequestSchema
432
- * @property {string} [description]
433
- * @property {string} [display_name_key]
434
- * @property {CustomObjectCustomFieldDefinitions[]} [field_definitions]
383
+ * @typedef HandpickedTagSchema
384
+ * @property {string} [position]
385
+ * @property {Object} [attributes]
435
386
  * @property {string} [name]
387
+ * @property {string} [url]
436
388
  * @property {string} [type]
389
+ * @property {string} [sub_type]
390
+ * @property {string} [content]
437
391
  */
438
392
 
439
393
  /**
440
- * @typedef CustomObjectDefinitionSchema
441
- * @property {string} [_id]
442
- * @property {string} [created_by]
443
- * @property {string} [creator]
444
- * @property {string} [description]
445
- * @property {string} [display_name_key]
446
- * @property {CustomObjectCustomFieldDefinitionResSchema[]} [field_definitions]
394
+ * @typedef RemoveHandpickedSchema
395
+ * @property {string[]} [tags]
396
+ */
397
+
398
+ /**
399
+ * @typedef CreateTagSchema
447
400
  * @property {string} [name]
401
+ * @property {string} [sub_type]
402
+ * @property {string} [_id]
448
403
  * @property {string} [type]
449
- * @property {string} [updated_by]
404
+ * @property {string} [url]
405
+ * @property {string} [position]
406
+ * @property {Object} [attributes]
407
+ * @property {Object[]} [pages]
408
+ * @property {string} [content]
450
409
  */
451
410
 
452
411
  /**
453
- * @typedef CustomObjectDefinitionsSchema
454
- * @property {CustomObjectEntry[]} [items]
455
- * @property {Page} [page]
412
+ * @typedef CreateTagRequestSchema
413
+ * @property {CreateTagSchema[]} [tags]
456
414
  */
457
415
 
458
416
  /**
459
- * @typedef CustomObjectDefinitionUpdateRequestSchema
460
- * @property {string} [description]
461
- * @property {string} [display_name_key]
462
- * @property {CustomObjectCustomFieldDefinitions[]} [field_definitions]
417
+ * @typedef DataLoaderSchema
463
418
  * @property {string} [name]
419
+ * @property {string} [service]
420
+ * @property {string} [operation_id]
464
421
  * @property {string} [type]
422
+ * @property {string} [url]
423
+ * @property {string} [content]
424
+ * @property {DataLoaderSourceSchema} [__source]
425
+ * @property {string} [_id]
465
426
  */
466
427
 
467
428
  /**
468
- * @typedef CustomObjectEntry
469
- * @property {string} [_id]
470
- * @property {number} [entries_count]
471
- * @property {number} [fields_count]
472
- * @property {string} [name]
429
+ * @typedef DataLoaderSourceSchema
473
430
  * @property {string} [type]
474
- * @property {string} [updated_at]
431
+ * @property {string} [id]
475
432
  */
476
433
 
477
434
  /**
478
- * @typedef CustomObjectEntryBulkUploadResponse
479
- * @property {number} [total_records]
480
- * @property {string} [url]
435
+ * @typedef DataLoadersSchema
436
+ * @property {DataLoaderSchema[]} [items]
481
437
  */
482
438
 
483
439
  /**
484
- * @typedef CustomObjectEntryFieldSchema
485
- * @property {string} [definition_id]
486
- * @property {Object[]} [value]
440
+ * @typedef TagDeleteSuccessResponse
441
+ * @property {boolean} [success]
487
442
  */
488
443
 
489
444
  /**
490
- * @typedef CustomObjectFieldSchema
491
- * @property {string} [_id]
492
- * @property {string} [definition_id]
493
- * @property {string} [key]
494
- * @property {string} [type]
495
- * @property {Object[]} [value]
445
+ * @typedef ContentAPIError
446
+ * @property {string} [message]
447
+ * @property {number} [status]
448
+ * @property {string} [code]
449
+ * @property {string} [exception]
450
+ * @property {string} [info]
451
+ * @property {string} [request_id]
452
+ * @property {string} [stack_trace]
453
+ * @property {Object} [meta]
496
454
  */
497
455
 
498
456
  /**
499
- * @typedef CustomObjectJobSchema
500
- * @property {string} [_id]
501
- * @property {string} [action_type]
502
- * @property {string} [company_id]
503
- * @property {string} [created_at]
504
- * @property {string} [created_by]
505
- * @property {string} [creator]
506
- * @property {string} [entity]
507
- * @property {number} [error_count]
508
- * @property {string[]} [error_jobs]
509
- * @property {string} [error_url]
510
- * @property {string[]} [errors_occured]
511
- * @property {number} [finished_count]
512
- * @property {string[]} [finished_jobs]
513
- * @property {string[]} [jobs]
514
- * @property {CustomObjectMetaSchema} [meta]
515
- * @property {string} [status]
516
- * @property {number} [success_count]
517
- * @property {number} [total_jobs]
518
- * @property {string} [updated_at]
519
- * @property {string} [url]
457
+ * @typedef CommonError
458
+ * @property {string} [message]
520
459
  */
521
460
 
522
461
  /**
523
- * @typedef CustomObjectListItemDefinationSchema
462
+ * @typedef CategorySchema
463
+ * @property {number} [index]
464
+ * @property {string} [title]
465
+ * @property {string} [description]
466
+ * @property {string[]} [children]
524
467
  * @property {string} [_id]
525
- * @property {string} [name]
526
- * @property {string} [type]
468
+ * @property {string} [slug]
469
+ * @property {string} [application]
470
+ * @property {string} [icon_url]
471
+ * @property {Object} [_custom_json]
527
472
  */
528
473
 
529
474
  /**
530
- * @typedef CustomObjectListItemSchema
475
+ * @typedef ChildrenSchema
476
+ * @property {string} [question]
477
+ * @property {string} [answer]
478
+ * @property {string} [slug]
479
+ * @property {string} [application]
531
480
  * @property {string} [_id]
532
- * @property {CustomObjectListItemDefinationSchema} [definition]
533
- * @property {string} [definition_id]
534
- * @property {string} [display_name]
535
- * @property {number} [references]
536
- * @property {string} [status]
537
- * @property {string} [updated_at]
538
481
  */
539
482
 
540
483
  /**
541
- * @typedef CustomObjectMetaSchema
542
- * @property {string} [mo_defintion_type]
543
- * @property {number} [mo_error_count]
544
- * @property {number} [mo_success_count]
545
- * @property {number} [mo_total_count]
484
+ * @typedef CategoryRequestSchema
485
+ * @property {string} [slug]
486
+ * @property {string} [title]
546
487
  */
547
488
 
548
489
  /**
549
- * @typedef CustomObjectRequestSchema
550
- * @property {string} [definition_id]
551
- * @property {CustomObjectEntryFieldSchema[]} [fields]
552
- * @property {string} [status]
490
+ * @typedef FAQCategorySchema
491
+ * @property {number} [index]
492
+ * @property {string} [title]
493
+ * @property {string} [description]
494
+ * @property {ChildrenSchema[]} [children]
495
+ * @property {string} [_id]
496
+ * @property {string} [slug]
497
+ * @property {string} [application]
498
+ * @property {string} [icon_url]
499
+ * @property {Object} [_custom_json]
553
500
  */
554
501
 
555
502
  /**
556
- * @typedef CustomObjectSchema
503
+ * @typedef FaqSchema
504
+ * @property {string} [slug]
505
+ * @property {string} [application]
557
506
  * @property {string} [_id]
558
- * @property {string} [application_id]
559
- * @property {string} [company_id]
560
- * @property {string} [created_by]
561
- * @property {string} [creator]
562
- * @property {string} [definition_id]
563
- * @property {string} [display_name]
564
- * @property {CustomFieldSchema[]} [fields]
565
- * @property {string} [status]
566
- * @property {string} [type]
567
- * @property {string} [updated_by]
507
+ * @property {string} [question]
508
+ * @property {string} [answer]
509
+ * @property {string[]} [tags]
568
510
  */
569
511
 
570
512
  /**
571
- * @typedef CustomObjectsSchema
572
- * @property {CustomObjectListItemSchema[]} [items]
573
- * @property {Page} [page]
513
+ * @typedef FAQ
514
+ * @property {string} [slug]
515
+ * @property {string} [question]
516
+ * @property {string} [answer]
574
517
  */
575
518
 
576
519
  /**
577
- * @typedef DataLoaderResetResponseSchema
578
- * @property {boolean} [reset]
520
+ * @typedef CreateFaqResponseSchema
521
+ * @property {FaqSchema} [faq]
579
522
  */
580
523
 
581
524
  /**
582
- * @typedef DataLoaderResponseSchema
583
- * @property {DataLoaderSourceSchema} [__source]
584
- * @property {string} [_id]
585
- * @property {string} [application]
586
- * @property {string} [company]
587
- * @property {string} [content]
588
- * @property {string} [name]
589
- * @property {string} [operation_id]
590
- * @property {string} [service]
591
- * @property {string} [type]
592
- * @property {string} [url]
525
+ * @typedef CreateFaqSchema
526
+ * @property {FAQ} [faq]
593
527
  */
594
528
 
595
529
  /**
596
- * @typedef DataLoaderSchema
597
- * @property {DataLoaderSourceSchema} [__source]
598
- * @property {string} [_id]
599
- * @property {string} [content]
600
- * @property {string} [name]
601
- * @property {string} [operation_id]
602
- * @property {string} [service]
603
- * @property {string} [type]
604
- * @property {string} [url]
530
+ * @typedef GetFaqSchema
531
+ * @property {FaqSchema[]} [faqs]
605
532
  */
606
533
 
607
534
  /**
608
- * @typedef DataLoaderSourceSchema
609
- * @property {string} [id]
610
- * @property {string} [type]
535
+ * @typedef UpdateFaqCategoryRequestSchema
536
+ * @property {CategorySchema} [category]
611
537
  */
612
538
 
613
539
  /**
614
- * @typedef DataLoadersSchema
615
- * @property {DataLoaderSchema[]} [items]
540
+ * @typedef CreateFaqCategoryRequestSchema
541
+ * @property {CategoryRequestSchema} [category]
616
542
  */
617
543
 
618
544
  /**
619
- * @typedef Date
620
- * @property {string} [category]
621
- * @property {boolean} [list_enabled]
622
- * @property {string} [name]
623
- * @property {SupportedValidationsSchema[]} [supported_validations]
624
- * @property {string} [type]
545
+ * @typedef CreateFaqCategorySchema
546
+ * @property {CategorySchema} [category]
625
547
  */
626
548
 
627
549
  /**
628
- * @typedef DateMeta
629
- * @property {string} [created_on]
630
- * @property {string} [modified_on]
550
+ * @typedef GetFaqCategoriesSchema
551
+ * @property {CategorySchema[]} [categories]
631
552
  */
632
553
 
633
554
  /**
634
- * @typedef Datetime
635
- * @property {string} [category]
636
- * @property {boolean} [list_enabled]
637
- * @property {string} [name]
638
- * @property {SupportedValidationsSchema[]} [supported_validations]
639
- * @property {string} [type]
555
+ * @typedef GetFaqCategoryBySlugSchema
556
+ * @property {FAQCategorySchema} [category]
640
557
  */
641
558
 
642
559
  /**
643
- * @typedef DefaultNavigationResponse
644
- * @property {NavigationSchema[]} [items]
560
+ * @typedef Page
561
+ * @property {number} [item_total]
562
+ * @property {string} [next_id]
563
+ * @property {boolean} [has_previous]
564
+ * @property {boolean} [has_next]
565
+ * @property {number} [current]
566
+ * @property {string} type
567
+ * @property {number} [size]
645
568
  */
646
569
 
647
570
  /**
648
- * @typedef DefaultSchemaComponent
649
- * @property {DefaultSEOSchemaMarkupTemplate[]} [items]
571
+ * @typedef LandingPageGetResponse
572
+ * @property {LandingPageSchema[]} [items]
573
+ * @property {Page} [page]
650
574
  */
651
575
 
652
576
  /**
653
- * @typedef DefaultSEOSchemaMarkupTemplate
654
- * @property {string} [page_type]
655
- * @property {string} [schema]
656
- * @property {Object} [target_json]
577
+ * @typedef LandingPageSchema
578
+ * @property {string} [slug]
579
+ * @property {Action} [action]
580
+ * @property {string[]} [platform]
581
+ * @property {CreatedBySchema} [created_by]
582
+ * @property {DateMeta} [date_meta]
583
+ * @property {string} [_id]
584
+ * @property {string} [application]
585
+ * @property {boolean} [archived]
586
+ * @property {Object} [_custom_json]
657
587
  */
658
588
 
659
589
  /**
660
- * @typedef Detail
661
- * @property {string} [description]
662
- * @property {string} [image_url]
663
- * @property {string} [title]
590
+ * @typedef DefaultNavigationResponse
591
+ * @property {NavigationSchema[]} [items]
664
592
  */
665
593
 
666
594
  /**
667
- * @typedef Dropdown
668
- * @property {string} [category]
669
- * @property {boolean} [list_enabled]
670
- * @property {string} [name]
671
- * @property {SupportedValidationsSchema[]} [supported_validations]
672
- * @property {string} [type]
673
- */
674
-
675
- /**
676
- * @typedef EditorMeta
677
- * @property {string} [background_color]
678
- * @property {string} [content]
679
- * @property {string} [content_type]
680
- * @property {string} [foreground_color]
595
+ * @typedef NavigationGetResponse
596
+ * @property {NavigationSchema[]} [items]
597
+ * @property {Page} [page]
681
598
  */
682
599
 
683
600
  /**
684
- * @typedef EmailProperties
685
- * @property {string} [key]
686
- * @property {string} [value]
601
+ * @typedef Orientation
602
+ * @property {string[]} [portrait]
603
+ * @property {string[]} [landscape]
687
604
  */
688
605
 
689
606
  /**
690
- * @typedef EmailSchema
691
- * @property {boolean} [active]
692
- * @property {EmailProperties[]} [email]
607
+ * @typedef NavigationSchema
608
+ * @property {string} [_id]
609
+ * @property {string} [application]
610
+ * @property {boolean} [archived]
611
+ * @property {string} [name]
612
+ * @property {string} [slug]
613
+ * @property {string[]} [platform]
614
+ * @property {CreatedBySchema} [created_by]
615
+ * @property {DateMeta} [date_meta]
616
+ * @property {Orientation} [orientation]
617
+ * @property {number} [version]
618
+ * @property {NavigationReference[]} [navigation]
693
619
  */
694
620
 
695
621
  /**
696
- * @typedef FAQ
697
- * @property {string} [answer]
698
- * @property {string} [question]
622
+ * @typedef NavigationRequest
623
+ * @property {string} [name]
699
624
  * @property {string} [slug]
625
+ * @property {string[]} [platform]
626
+ * @property {Orientation} [orientation]
627
+ * @property {NavigationReference[]} [navigation]
700
628
  */
701
629
 
702
630
  /**
703
- * @typedef FAQCategorySchema
704
- * @property {Object} [_custom_json]
705
- * @property {string} [_id]
706
- * @property {string} [application]
707
- * @property {ChildrenSchema[]} [children]
708
- * @property {string} [description]
709
- * @property {string} [icon_url]
710
- * @property {number} [index]
711
- * @property {string} [slug]
712
- * @property {string} [title]
631
+ * @typedef PageGetResponse
632
+ * @property {PageSchema[]} [items]
633
+ * @property {Page} [page]
713
634
  */
714
635
 
715
636
  /**
716
- * @typedef FaqSchema
717
- * @property {string} [_id]
718
- * @property {string} [answer]
719
- * @property {string} [application]
720
- * @property {string} [question]
721
- * @property {string} [slug]
722
- * @property {string[]} [tags]
637
+ * @typedef PageSpec
638
+ * @property {PageSpecItem[]} [specifications]
723
639
  */
724
640
 
725
641
  /**
726
- * @typedef FieldDefinitionSchema
727
- * @property {string} [_id]
728
- * @property {string} [company_id]
729
- * @property {string} [created_at]
730
- * @property {string} [created_by]
731
- * @property {string} [creator]
732
- * @property {string} [description]
733
- * @property {number} [invalid_fields_count]
734
- * @property {boolean} [is_deleted]
642
+ * @typedef PageSpecParam
735
643
  * @property {string} [key]
736
- * @property {boolean} [multi_value]
737
- * @property {string} [name]
738
- * @property {string} [namespace]
739
644
  * @property {boolean} [required]
740
- * @property {string} [resource]
741
- * @property {string} [type]
742
- * @property {string} [type_name]
743
- * @property {string} [updated_at]
744
- * @property {string} [updated_by]
745
- * @property {FieldValidations[]} [validations]
746
645
  */
747
646
 
748
647
  /**
749
- * @typedef FieldValidations
750
- * @property {string} [name]
751
- * @property {string} [type]
752
- * @property {Object} [value]
648
+ * @typedef PageSpecItem
649
+ * @property {string} [page_type]
650
+ * @property {string} [display_name]
651
+ * @property {PageSpecParam[]} [params]
652
+ * @property {PageSpecParam[]} [query]
753
653
  */
754
654
 
755
655
  /**
756
- * @typedef File
757
- * @property {string} [category]
758
- * @property {boolean} [list_enabled]
759
- * @property {string} [name]
760
- * @property {SupportedValidationsSchema[]} [supported_validations]
656
+ * @typedef PageSchema
657
+ * @property {string} [_id]
658
+ * @property {string} [application]
659
+ * @property {string[]} [component_ids] - Components can be used to store
660
+ * multiple components
661
+ * @property {Object[]} [content]
662
+ * @property {string} [content_path]
663
+ * @property {CreatedBySchema} [created_by]
664
+ * @property {DateMeta} [date_meta]
665
+ * @property {string} [description]
666
+ * @property {Asset} [feature_image]
667
+ * @property {Object[]} [page_meta]
668
+ * @property {ScheduleSchema} [_schedule]
669
+ * @property {Object} [_custom_json]
670
+ * @property {string} [orientation]
671
+ * @property {string} [platform]
672
+ * @property {boolean} [published]
673
+ * @property {string} [slug]
674
+ * @property {string[]} [tags]
675
+ * @property {string} [title]
761
676
  * @property {string} [type]
677
+ * @property {SEO} [seo]
678
+ * @property {Object} [visibility]
679
+ * @property {boolean} [archived]
762
680
  */
763
681
 
764
682
  /**
765
- * @typedef FloatType
766
- * @property {string} [category]
767
- * @property {boolean} [list_enabled]
768
- * @property {string} [name]
769
- * @property {SupportedValidationsSchema[]} [supported_validations]
770
- * @property {string} [type]
683
+ * @typedef CreatedBySchema
684
+ * @property {string} [id]
771
685
  */
772
686
 
773
687
  /**
774
- * @typedef GeneratedSEOContent
775
- * @property {string} [description]
688
+ * @typedef PageRequest
689
+ * @property {CronSchedule} [_schedule]
690
+ * @property {string} [application]
691
+ * @property {Author} [author]
692
+ * @property {Object} [_custom_json]
693
+ * @property {string} [orientation]
694
+ * @property {Object[]} [content]
695
+ * @property {Asset} [feature_image]
696
+ * @property {boolean} [published]
697
+ * @property {string} [reading_time]
698
+ * @property {string} [slug]
699
+ * @property {string[]} [tags]
700
+ * @property {SEO} [seo]
776
701
  * @property {string} [title]
777
702
  */
778
703
 
779
704
  /**
780
- * @typedef GenerateSEOContent
781
- * @property {string} [existing_text]
782
- * @property {string[]} [keywords]
783
- * @property {string} [text]
784
- * @property {string} [type]
705
+ * @typedef CronSchedule
706
+ * @property {string} [cron]
707
+ * @property {string} [start]
708
+ * @property {string} [end]
709
+ * @property {number} [duration]
785
710
  */
786
711
 
787
712
  /**
788
- * @typedef GetAnnouncementListSchema
789
- * @property {AdminAnnouncementSchema[]} [items]
790
- * @property {Page} [page]
713
+ * @typedef PagePublishRequest
714
+ * @property {boolean} [publish]
791
715
  */
792
716
 
793
717
  /**
794
- * @typedef GetFaqCategoriesSchema
795
- * @property {CategorySchema[]} [categories]
718
+ * @typedef PageMetaSchema
719
+ * @property {NavigationSchema[]} [system_pages]
720
+ * @property {PageSchema[]} [custom_pages]
721
+ * @property {string} [application_id]
796
722
  */
797
723
 
798
724
  /**
799
- * @typedef GetFaqCategoryBySlugSchema
800
- * @property {FAQCategorySchema} [category]
725
+ * @typedef SlideshowGetResponse
726
+ * @property {SlideshowSchema[]} [items]
727
+ * @property {Page} [page]
801
728
  */
802
729
 
803
730
  /**
804
- * @typedef GetFaqSchema
805
- * @property {FaqSchema[]} [faqs]
731
+ * @typedef SlideshowSchema
732
+ * @property {string} [_id]
733
+ * @property {string} [slug]
734
+ * @property {DateMeta} [date_meta]
735
+ * @property {string} [application]
736
+ * @property {string} [platform]
737
+ * @property {ConfigurationSchema} [configuration]
738
+ * @property {SlideshowMedia[]} [media]
739
+ * @property {boolean} [active]
740
+ * @property {boolean} [archived]
741
+ * @property {Object} [_custom_json]
806
742
  */
807
743
 
808
744
  /**
809
- * @typedef HandpickedTagSchema
810
- * @property {Object} [attributes]
811
- * @property {string} [content]
812
- * @property {string} [name]
813
- * @property {string} [position]
814
- * @property {string} [sub_type]
815
- * @property {string} [type]
816
- * @property {string} [url]
745
+ * @typedef SlideshowRequest
746
+ * @property {string} [slug]
747
+ * @property {string} [platform]
748
+ * @property {ConfigurationSchema} [configuration]
749
+ * @property {SlideshowMedia} [media]
750
+ * @property {boolean} [active]
817
751
  */
818
752
 
819
753
  /**
820
- * @typedef Integer
821
- * @property {string} [category]
822
- * @property {boolean} [list_enabled]
823
- * @property {string} [name]
824
- * @property {SupportedValidationsSchema[]} [supported_validations]
825
- * @property {string} [type]
754
+ * @typedef Support
755
+ * @property {boolean} [created]
756
+ * @property {string} [_id]
757
+ * @property {string} [config_type]
758
+ * @property {string} [application]
759
+ * @property {string} [created_at]
760
+ * @property {string} [updated_at]
761
+ * @property {ContactSchema} [contact]
826
762
  */
827
763
 
828
764
  /**
829
- * @typedef Json
830
- * @property {string} [category]
831
- * @property {boolean} [list_enabled]
832
- * @property {string} [name]
833
- * @property {SupportedValidationsSchema[]} [supported_validations]
834
- * @property {string} [type]
765
+ * @typedef PhoneProperties
766
+ * @property {string} [key]
767
+ * @property {string} [code]
768
+ * @property {string} [number]
835
769
  */
836
770
 
837
771
  /**
838
- * @typedef LandingPageGetResponse
839
- * @property {LandingPageSchema[]} [items]
840
- * @property {Page} [page]
772
+ * @typedef PhoneSchema
773
+ * @property {boolean} [active]
774
+ * @property {PhoneProperties[]} [phone]
841
775
  */
842
776
 
843
777
  /**
844
- * @typedef LandingPageSchema
845
- * @property {Object} [_custom_json]
846
- * @property {string} [_id]
847
- * @property {Action} [action]
848
- * @property {string} [application]
849
- * @property {boolean} [archived]
850
- * @property {CreatedBySchema} [created_by]
851
- * @property {DateMeta} [date_meta]
852
- * @property {string[]} [platform]
853
- * @property {string} [slug]
778
+ * @typedef EmailProperties
779
+ * @property {string} [key]
780
+ * @property {string} [value]
854
781
  */
855
782
 
856
783
  /**
857
- * @typedef Language
858
- * @property {string} [display]
784
+ * @typedef EmailSchema
785
+ * @property {boolean} [active]
786
+ * @property {EmailProperties[]} [email]
859
787
  */
860
788
 
861
789
  /**
862
- * @typedef LocaleLanguage
863
- * @property {Language} [ar]
864
- * @property {Language} [en_us]
865
- * @property {Language} [hi]
790
+ * @typedef ContactSchema
791
+ * @property {PhoneSchema} [phone]
792
+ * @property {EmailSchema} [email]
866
793
  */
867
794
 
868
795
  /**
869
- * @typedef Metaobject
870
- * @property {string} [category]
871
- * @property {boolean} [list_enabled]
796
+ * @typedef TagsSchema
797
+ * @property {string} [application]
798
+ * @property {string} [_id]
799
+ * @property {TagSchema[]} [tags]
800
+ */
801
+
802
+ /**
803
+ * @typedef TagSchema
872
804
  * @property {string} [name]
873
- * @property {SupportedValidationsSchema[]} [supported_validations]
805
+ * @property {string} [url]
874
806
  * @property {string} [type]
807
+ * @property {string} [sub_type]
808
+ * @property {string} [_id]
809
+ * @property {string} [position]
810
+ * @property {Object} [attributes]
811
+ * @property {string} [content]
812
+ * @property {Object[]} [pages]
813
+ * @property {TagSourceSchema} [__source]
875
814
  */
876
815
 
877
816
  /**
878
- * @typedef NavigationGetResponse
879
- * @property {NavigationSchema[]} [items]
880
- * @property {Page} [page]
817
+ * @typedef TagSourceSchema
818
+ * @property {string} [type]
819
+ * @property {string} [id]
881
820
  */
882
821
 
883
822
  /**
884
- * @typedef NavigationReference
885
- * @property {LocaleLanguage} [_locale_language]
886
- * @property {string[]} [acl]
887
- * @property {Action} [action]
888
- * @property {boolean} [active]
889
- * @property {string} [display]
890
- * @property {string} [image]
891
- * @property {number} [sort_order]
892
- * @property {NavigationReference[]} [sub_navigation]
893
- * @property {string[]} [tags]
894
- * @property {string} [type]
823
+ * @typedef ResourcesSchema
824
+ * @property {ResourceSchema[]} [resources]
895
825
  */
896
826
 
897
827
  /**
898
- * @typedef NavigationRequest
828
+ * @typedef ResourceSchema
829
+ * @property {string} [name] - Resource name
830
+ * @property {string} [key] - Resource key
831
+ * @property {number} [definitions_count] - Number of definitions
832
+ */
833
+
834
+ /**
835
+ * @typedef FieldValidations
899
836
  * @property {string} [name]
900
- * @property {NavigationReference[]} [navigation]
901
- * @property {Orientation} [orientation]
902
- * @property {string[]} [platform]
903
- * @property {string} [slug]
837
+ * @property {string} [type]
838
+ * @property {Object} [value]
904
839
  */
905
840
 
906
841
  /**
907
- * @typedef NavigationSchema
842
+ * @typedef FieldDefinitionSchema
908
843
  * @property {string} [_id]
909
- * @property {string} [application]
910
- * @property {boolean} [archived]
911
- * @property {CreatedBySchema} [created_by]
912
- * @property {DateMeta} [date_meta]
844
+ * @property {string} [creator]
845
+ * @property {string} [resource]
913
846
  * @property {string} [name]
914
- * @property {NavigationReference[]} [navigation]
915
- * @property {Orientation} [orientation]
916
- * @property {string[]} [platform]
917
- * @property {string} [slug]
918
- * @property {number} [version]
847
+ * @property {string} [namespace]
848
+ * @property {string} [key]
849
+ * @property {string} [description]
850
+ * @property {string} [type]
851
+ * @property {boolean} [multi_value]
852
+ * @property {FieldValidations[]} [validations]
853
+ * @property {string} [company_id]
854
+ * @property {string} [created_by]
855
+ * @property {string} [updated_by]
856
+ * @property {boolean} [required]
857
+ * @property {boolean} [is_deleted]
858
+ * @property {string} [created_at]
859
+ * @property {string} [updated_at]
860
+ * @property {string} [type_name]
861
+ * @property {number} [invalid_fields_count]
919
862
  */
920
863
 
921
864
  /**
922
- * @typedef NextSchedule
923
- * @property {string} [end]
924
- * @property {string} [start]
865
+ * @typedef CustomFieldDefinitionsSchema
866
+ * @property {FieldDefinitionSchema[]} [items]
867
+ * @property {Page} [page]
925
868
  */
926
869
 
927
870
  /**
928
- * @typedef Orientation
929
- * @property {string[]} [landscape]
930
- * @property {string[]} [portrait]
871
+ * @typedef CustomFieldDefinitionRequestSchema
872
+ * @property {string} [resource]
873
+ * @property {string} [type]
874
+ * @property {string} [key]
875
+ * @property {string} [namespace]
876
+ * @property {boolean} [multi_value]
877
+ * @property {string} [name]
878
+ * @property {string} [description]
879
+ * @property {FieldValidations[]} [validations]
931
880
  */
932
881
 
933
882
  /**
934
- * @typedef Page
935
- * @property {number} [current]
936
- * @property {boolean} [has_next]
937
- * @property {boolean} [has_previous]
938
- * @property {number} [item_total]
939
- * @property {string} [next_id]
940
- * @property {number} [size]
941
- * @property {string} type
883
+ * @typedef CustomObjectCustomFieldDefinitions
884
+ * @property {string} [id]
885
+ * @property {string} [type]
886
+ * @property {string} [description]
887
+ * @property {string} [name]
888
+ * @property {boolean} [multi_value]
889
+ * @property {boolean} [required]
890
+ * @property {string} [key]
891
+ * @property {FieldValidations[]} [validations]
892
+ * @property {string} [action]
942
893
  */
943
894
 
944
895
  /**
945
- * @typedef PageGetResponse
946
- * @property {PageSchema[]} [items]
947
- * @property {Page} [page]
896
+ * @typedef CustomObjectDefinitionUpdateRequestSchema
897
+ * @property {string} [type]
898
+ * @property {string} [description]
899
+ * @property {string} [name]
900
+ * @property {string} [display_name_key]
901
+ * @property {CustomObjectCustomFieldDefinitions[]} [field_definitions]
948
902
  */
949
903
 
950
904
  /**
951
- * @typedef PageMetaSchema
905
+ * @typedef CustomFieldDefinitionDetailResSchema
906
+ * @property {string} [creator]
907
+ * @property {string} [resource]
908
+ * @property {string} [name]
909
+ * @property {string} [namespace]
910
+ * @property {string} [key]
911
+ * @property {string} [description]
912
+ * @property {string} [type]
913
+ * @property {boolean} [multi_value]
914
+ * @property {string} [company_id]
952
915
  * @property {string} [application_id]
953
- * @property {PageSchema[]} [custom_pages]
954
- * @property {NavigationSchema[]} [system_pages]
916
+ * @property {string} [created_by]
917
+ * @property {string} [updated_by]
918
+ * @property {boolean} [required]
919
+ * @property {boolean} [is_deleted]
920
+ * @property {string} [_id]
921
+ * @property {Object[]} [validations]
922
+ * @property {string} [created_at]
923
+ * @property {string} [updated_at]
955
924
  */
956
925
 
957
926
  /**
958
- * @typedef PagePublishRequest
959
- * @property {boolean} [publish]
927
+ * @typedef CustomDataDeleteSchema
928
+ * @property {boolean} [success]
929
+ * @property {string} [message]
960
930
  */
961
931
 
962
932
  /**
963
- * @typedef PageRequest
964
- * @property {Object} [_custom_json]
965
- * @property {CronSchedule} [_schedule]
966
- * @property {string} [application]
967
- * @property {Author} [author]
968
- * @property {Object[]} [content]
969
- * @property {Asset} [feature_image]
970
- * @property {string} [orientation]
971
- * @property {boolean} [published]
972
- * @property {string} [reading_time]
973
- * @property {SEO} [seo]
974
- * @property {string} [slug]
975
- * @property {string[]} [tags]
976
- * @property {string} [title]
933
+ * @typedef CustomFieldValue
934
+ * @property {Object} [value]
977
935
  */
978
936
 
979
937
  /**
980
- * @typedef PageSchema
981
- * @property {Object} [_custom_json]
938
+ * @typedef CustomFieldSchema
982
939
  * @property {string} [_id]
983
- * @property {ScheduleSchema} [_schedule]
984
- * @property {string} [application]
985
- * @property {boolean} [archived]
986
- * @property {string[]} [component_ids] - Components can be used to store
987
- * multiple components
988
- * @property {Object[]} [content]
989
- * @property {string} [content_path]
990
- * @property {CreatedBySchema} [created_by]
991
- * @property {DateMeta} [date_meta]
992
- * @property {string} [description]
993
- * @property {Asset} [feature_image]
994
- * @property {string} [orientation]
995
- * @property {Object[]} [page_meta]
996
- * @property {string} [platform]
997
- * @property {boolean} [published]
998
- * @property {SEO} [seo]
999
- * @property {string} [slug]
1000
- * @property {string[]} [tags]
1001
- * @property {string} [title]
940
+ * @property {string} [namespace]
941
+ * @property {string} [key]
942
+ * @property {string} [resource]
943
+ * @property {string} [creator]
944
+ * @property {CustomFieldValue[]} [value]
945
+ * @property {string} [resource_id]
1002
946
  * @property {string} [type]
1003
- * @property {Object} [visibility]
947
+ * @property {boolean} [multi_value]
948
+ * @property {string} [company_id]
949
+ * @property {string} [definition_id]
950
+ * @property {boolean} [has_invalid_values]
951
+ * @property {Object[]} [invalid_value_errors]
952
+ * @property {string} [created_by]
953
+ * @property {boolean} [is_deleted]
954
+ * @property {string} [created_at]
955
+ * @property {string} [updated_at]
1004
956
  */
1005
957
 
1006
958
  /**
1007
- * @typedef PageSpec
1008
- * @property {PageSpecItem[]} [specifications]
959
+ * @typedef CustomFieldsResponseSchema
960
+ * @property {CustomFieldSchema[]} [items]
961
+ * @property {Page} [page]
1009
962
  */
1010
963
 
1011
964
  /**
1012
- * @typedef PageSpecItem
1013
- * @property {string} [display_name]
1014
- * @property {string} [page_type]
1015
- * @property {PageSpecParam[]} [params]
1016
- * @property {PageSpecParam[]} [query]
965
+ * @typedef CustomFieldsResponseByResourceIdSchema
966
+ * @property {CustomFieldSchema[]} [items]
1017
967
  */
1018
968
 
1019
969
  /**
1020
- * @typedef PageSpecParam
1021
- * @property {string} [key]
1022
- * @property {boolean} [required]
970
+ * @typedef CustomField
971
+ * @property {Object[]} [value]
972
+ * @property {string} [definition_id]
1023
973
  */
1024
974
 
1025
975
  /**
1026
- * @typedef PathMappingSchema
1027
- * @property {PathSourceSchema} [__source]
1028
- * @property {string} [_id]
1029
- * @property {string} [application]
1030
- * @property {string} [created_at]
1031
- * @property {string} [redirect_from]
1032
- * @property {string} [redirect_to]
1033
- * @property {string} [updated_at]
976
+ * @typedef CustomFieldRequestSchema
977
+ * @property {CustomField[]} [fields]
1034
978
  */
1035
979
 
1036
980
  /**
1037
- * @typedef PathSourceSchema
1038
- * @property {string} [id]
981
+ * @typedef CustomObjectSchema
982
+ * @property {string} [_id]
983
+ * @property {string} [creator]
984
+ * @property {string} [company_id]
985
+ * @property {string} [application_id]
986
+ * @property {string} [created_by]
987
+ * @property {string} [updated_by]
988
+ * @property {string} [status]
1039
989
  * @property {string} [type]
990
+ * @property {string} [display_name]
991
+ * @property {string} [definition_id]
992
+ * @property {CustomFieldSchema[]} [fields]
1040
993
  */
1041
994
 
1042
995
  /**
1043
- * @typedef PhoneProperties
1044
- * @property {string} [code]
1045
- * @property {string} [key]
1046
- * @property {string} [number]
996
+ * @typedef CustomObjectDefinitionRequestSchema
997
+ * @property {string} [type]
998
+ * @property {string} [description]
999
+ * @property {string} [name]
1000
+ * @property {string} [display_name_key]
1001
+ * @property {CustomObjectCustomFieldDefinitions[]} [field_definitions]
1047
1002
  */
1048
1003
 
1049
1004
  /**
1050
- * @typedef PhoneSchema
1051
- * @property {boolean} [active]
1052
- * @property {PhoneProperties[]} [phone]
1053
- */
1054
-
1055
- /**
1056
- * @typedef Product
1057
- * @property {string} [category]
1058
- * @property {boolean} [list_enabled]
1005
+ * @typedef CustomObjectCustomFieldDefinitionResSchema
1006
+ * @property {string} [creator]
1007
+ * @property {string} [resource]
1059
1008
  * @property {string} [name]
1060
- * @property {SupportedValidationsSchema[]} [supported_validations]
1009
+ * @property {string} [namespace]
1010
+ * @property {string} [key]
1011
+ * @property {string} [description]
1061
1012
  * @property {string} [type]
1013
+ * @property {boolean} [multi_value]
1014
+ * @property {FieldValidations[]} [validations]
1015
+ * @property {string} [company_id]
1016
+ * @property {string} [created_by]
1017
+ * @property {string} [metaobject_definition_id]
1018
+ * @property {boolean} [required]
1019
+ * @property {boolean} [is_deleted]
1020
+ * @property {string} [_id]
1021
+ * @property {string} [created_at]
1022
+ * @property {string} [updated_at]
1062
1023
  */
1063
1024
 
1064
1025
  /**
1065
- * @typedef RemoveHandpickedSchema
1066
- * @property {string[]} [tags]
1067
- */
1068
-
1069
- /**
1070
- * @typedef ResourceContent
1026
+ * @typedef CustomObjectDefinitionSchema
1027
+ * @property {string} [_id]
1028
+ * @property {string} [name]
1071
1029
  * @property {string} [type]
1072
- * @property {string} [value]
1030
+ * @property {string} [display_name_key]
1031
+ * @property {string} [description]
1032
+ * @property {string} [creator]
1033
+ * @property {string} [created_by]
1034
+ * @property {string} [updated_by]
1035
+ * @property {CustomObjectCustomFieldDefinitionResSchema[]} [field_definitions]
1073
1036
  */
1074
1037
 
1075
1038
  /**
1076
- * @typedef ResourceSchema
1077
- * @property {number} [definitions_count] - Number of definitions
1078
- * @property {string} [key] - Resource key
1079
- * @property {string} [name] - Resource name
1039
+ * @typedef CustomObjectDefinitionDeleteResponseSchema
1040
+ * @property {boolean} [success]
1041
+ * @property {string} [message]
1080
1042
  */
1081
1043
 
1082
1044
  /**
1083
- * @typedef ResourcesSchema
1084
- * @property {ResourceSchema[]} [resources]
1045
+ * @typedef CustomObjectEntryBulkUploadResponse
1046
+ * @property {string} [url]
1047
+ * @property {number} [total_records]
1085
1048
  */
1086
1049
 
1087
1050
  /**
1088
- * @typedef ScheduleSchema
1089
- * @property {string} [cron]
1090
- * @property {number} [duration]
1091
- * @property {string} [end]
1092
- * @property {NextSchedule[]} [next_schedule]
1093
- * @property {string} [start]
1051
+ * @typedef CustomObjectListItemDefinationSchema
1052
+ * @property {string} [_id]
1053
+ * @property {string} [name]
1054
+ * @property {string} [type]
1094
1055
  */
1095
1056
 
1096
1057
  /**
1097
- * @typedef SEO
1098
- * @property {SEObreadcrumb[]} [breadcrumb]
1099
- * @property {string} [canonical_url]
1100
- * @property {string} [description]
1101
- * @property {SEOImage} [image]
1102
- * @property {SEOMetaItem[]} [meta_tags]
1103
- * @property {SEOSitemap} [sitemap]
1104
- * @property {string} [title]
1058
+ * @typedef CustomObjectListItemSchema
1059
+ * @property {string} [_id]
1060
+ * @property {string} [definition_id]
1061
+ * @property {string} [status]
1062
+ * @property {string} [updated_at]
1063
+ * @property {string} [display_name]
1064
+ * @property {CustomObjectListItemDefinationSchema} [definition]
1065
+ * @property {number} [references]
1105
1066
  */
1106
1067
 
1107
1068
  /**
1108
- * @typedef SEObreadcrumb
1109
- * @property {Action} [action]
1110
- * @property {string} [url]
1069
+ * @typedef CustomObjectsSchema
1070
+ * @property {CustomObjectListItemSchema[]} [items]
1071
+ * @property {Page} [page]
1111
1072
  */
1112
1073
 
1113
1074
  /**
1114
- * @typedef SeoComponent
1115
- * @property {SeoSchema} [seo]
1075
+ * @typedef CustomObjectFieldSchema
1076
+ * @property {string} [_id]
1077
+ * @property {string} [key]
1078
+ * @property {Object[]} [value]
1079
+ * @property {string} [type]
1080
+ * @property {string} [definition_id]
1116
1081
  */
1117
1082
 
1118
1083
  /**
1119
- * @typedef SEOImage
1120
- * @property {string} [url]
1084
+ * @typedef CustomObjectByIdSchema
1085
+ * @property {string} [_id]
1086
+ * @property {string} [status]
1087
+ * @property {string} [display_name]
1088
+ * @property {CustomObjectListItemDefinationSchema} [definition]
1089
+ * @property {Object[]} [references]
1090
+ * @property {CustomObjectFieldSchema[]} [fields]
1121
1091
  */
1122
1092
 
1123
1093
  /**
1124
- * @typedef SEOMetaItem
1125
- * @property {SEOMetaItems[]} [items]
1126
- * @property {string} [title]
1094
+ * @typedef CustomObjectBulkEntryInitiateDownload
1095
+ * @property {string} [message]
1096
+ * @property {string} [task_id]
1127
1097
  */
1128
1098
 
1129
1099
  /**
1130
- * @typedef SEOMetaItems
1131
- * @property {string} [key]
1132
- * @property {string} [value]
1100
+ * @typedef CustomObjectMetaSchema
1101
+ * @property {number} [mo_total_count]
1102
+ * @property {number} [mo_success_count]
1103
+ * @property {number} [mo_error_count]
1104
+ * @property {string} [mo_defintion_type]
1133
1105
  */
1134
1106
 
1135
1107
  /**
1136
- * @typedef SeoSchema
1108
+ * @typedef CustomObjectJobSchema
1137
1109
  * @property {string} [_id]
1138
- * @property {string} [additional_sitemap]
1139
- * @property {string} [app]
1140
- * @property {boolean} [cannonical_enabled]
1110
+ * @property {string[]} [jobs]
1111
+ * @property {string[]} [finished_jobs]
1112
+ * @property {string[]} [error_jobs]
1113
+ * @property {string[]} [errors_occured]
1114
+ * @property {string} [company_id]
1115
+ * @property {string} [creator]
1116
+ * @property {string} [url]
1117
+ * @property {string} [status]
1118
+ * @property {string} [action_type]
1119
+ * @property {string} [entity]
1120
+ * @property {string} [error_url]
1121
+ * @property {number} [finished_count]
1122
+ * @property {number} [error_count]
1123
+ * @property {number} [success_count]
1124
+ * @property {number} [total_jobs]
1125
+ * @property {CustomObjectMetaSchema} [meta]
1126
+ * @property {string} [created_by]
1141
1127
  * @property {string} [created_at]
1142
- * @property {CustomMetaTag[]} [custom_meta_tags]
1143
- * @property {Detail} [details]
1144
- * @property {string} [robots_txt]
1145
- * @property {boolean} [sitemap_enabled]
1146
1128
  * @property {string} [updated_at]
1147
1129
  */
1148
1130
 
1149
1131
  /**
1150
- * @typedef SeoSchemaComponent
1151
- * @property {SEOSchemaMarkupTemplate[]} [items]
1132
+ * @typedef CustomObjectBulkEntry
1133
+ * @property {CustomObjectJobSchema[]} [items]
1152
1134
  * @property {Page} [page]
1153
1135
  */
1154
1136
 
1155
1137
  /**
1156
- * @typedef SEOSchemaMarkupTemplate
1157
- * @property {boolean} [active]
1158
- * @property {string} [application]
1159
- * @property {string} [created_at]
1160
- * @property {string} [description]
1161
- * @property {string} [id]
1162
- * @property {string} [page_type]
1163
- * @property {string} [schema]
1164
- * @property {Object} [target_json]
1165
- * @property {string} [title]
1166
- * @property {string} [updated_at]
1138
+ * @typedef CustomFieldTypeSchema
1139
+ * @property {StringSingleLine} [string_single_line]
1140
+ * @property {StringMultiLine} [string_multi_line]
1141
+ * @property {Dropdown} [dropdown]
1142
+ * @property {Integer} [integer]
1143
+ * @property {FloatType} [float_type]
1144
+ * @property {BooleanType} [boolean_type]
1145
+ * @property {Date} [date]
1146
+ * @property {Datetime} [datetime]
1147
+ * @property {Json} [json]
1148
+ * @property {File} [file]
1149
+ * @property {Url} [url]
1150
+ * @property {Metaobject} [metaobject]
1151
+ * @property {Product} [product]
1167
1152
  */
1168
1153
 
1169
1154
  /**
1170
- * @typedef SEOSchemaMarkupTemplateRequestBody
1171
- * @property {boolean} [active]
1172
- * @property {string} [created_at]
1173
- * @property {string} [description]
1174
- * @property {string} [page_type]
1175
- * @property {string} [schema]
1176
- * @property {Object} [target_json]
1177
- * @property {string} [title]
1178
- * @property {string} [updated_at]
1155
+ * @typedef SupportedValidationsMetaExampleSchema
1156
+ * @property {string} [name]
1157
+ * @property {string} [value]
1179
1158
  */
1180
1159
 
1181
1160
  /**
1182
- * @typedef SEOSitemap
1183
- * @property {string} [frequency]
1184
- * @property {number} [priority]
1161
+ * @typedef SupportedValidationsMetaSchema
1162
+ * @property {SupportedValidationsMetaExampleSchema[]} [examples]
1185
1163
  */
1186
1164
 
1187
1165
  /**
1188
- * @typedef SlideshowGetResponse
1189
- * @property {SlideshowSchema[]} [items]
1190
- * @property {Page} [page]
1166
+ * @typedef SupportedValidationsSchema
1167
+ * @property {string} [name]
1168
+ * @property {string} [type]
1169
+ * @property {string} [display]
1170
+ * @property {boolean} [required]
1171
+ * @property {SupportedValidationsMetaSchema} [meta]
1191
1172
  */
1192
1173
 
1193
1174
  /**
1194
- * @typedef SlideshowMedia
1195
- * @property {Action} [action]
1196
- * @property {boolean} [auto_decide_duration]
1197
- * @property {string} [bg_color]
1198
- * @property {number} [duration]
1175
+ * @typedef StringSingleLine
1176
+ * @property {string} [name]
1177
+ * @property {boolean} [list_enabled]
1178
+ * @property {string} [category]
1199
1179
  * @property {string} [type]
1200
- * @property {string} [url]
1180
+ * @property {SupportedValidationsSchema[]} [supported_validations]
1201
1181
  */
1202
1182
 
1203
1183
  /**
1204
- * @typedef SlideshowRequest
1205
- * @property {boolean} [active]
1206
- * @property {ConfigurationSchema} [configuration]
1207
- * @property {SlideshowMedia} [media]
1208
- * @property {string} [platform]
1209
- * @property {string} [slug]
1184
+ * @typedef StringMultiLine
1185
+ * @property {string} [name]
1186
+ * @property {boolean} [list_enabled]
1187
+ * @property {string} [category]
1188
+ * @property {string} [type]
1189
+ * @property {SupportedValidationsSchema[]} [supported_validations]
1210
1190
  */
1211
1191
 
1212
1192
  /**
1213
- * @typedef SlideshowSchema
1214
- * @property {Object} [_custom_json]
1215
- * @property {string} [_id]
1216
- * @property {boolean} [active]
1217
- * @property {string} [application]
1218
- * @property {boolean} [archived]
1219
- * @property {ConfigurationSchema} [configuration]
1220
- * @property {DateMeta} [date_meta]
1221
- * @property {SlideshowMedia[]} [media]
1222
- * @property {string} [platform]
1223
- * @property {string} [slug]
1193
+ * @typedef Dropdown
1194
+ * @property {string} [name]
1195
+ * @property {boolean} [list_enabled]
1196
+ * @property {string} [category]
1197
+ * @property {string} [type]
1198
+ * @property {SupportedValidationsSchema[]} [supported_validations]
1224
1199
  */
1225
1200
 
1226
1201
  /**
1227
- * @typedef StringMultiLine
1228
- * @property {string} [category]
1229
- * @property {boolean} [list_enabled]
1202
+ * @typedef Integer
1230
1203
  * @property {string} [name]
1231
- * @property {SupportedValidationsSchema[]} [supported_validations]
1204
+ * @property {boolean} [list_enabled]
1232
1205
  * @property {string} [type]
1206
+ * @property {string} [category]
1207
+ * @property {SupportedValidationsSchema[]} [supported_validations]
1233
1208
  */
1234
1209
 
1235
1210
  /**
1236
- * @typedef StringSingleLine
1237
- * @property {string} [category]
1238
- * @property {boolean} [list_enabled]
1211
+ * @typedef FloatType
1239
1212
  * @property {string} [name]
1240
- * @property {SupportedValidationsSchema[]} [supported_validations]
1213
+ * @property {boolean} [list_enabled]
1241
1214
  * @property {string} [type]
1215
+ * @property {string} [category]
1216
+ * @property {SupportedValidationsSchema[]} [supported_validations]
1242
1217
  */
1243
1218
 
1244
1219
  /**
1245
- * @typedef Support
1246
- * @property {string} [_id]
1247
- * @property {string} [application]
1248
- * @property {string} [config_type]
1249
- * @property {ContactSchema} [contact]
1250
- * @property {boolean} [created]
1251
- * @property {string} [created_at]
1252
- * @property {string} [updated_at]
1220
+ * @typedef BooleanType
1221
+ * @property {string} [name]
1222
+ * @property {string} [category]
1223
+ * @property {boolean} [list_enabled]
1224
+ * @property {string} [type]
1225
+ * @property {SupportedValidationsSchema[]} [supported_validations]
1253
1226
  */
1254
1227
 
1255
1228
  /**
1256
- * @typedef SupportedValidationsMetaExampleSchema
1229
+ * @typedef Date
1257
1230
  * @property {string} [name]
1258
- * @property {string} [value]
1231
+ * @property {boolean} [list_enabled]
1232
+ * @property {string} [category]
1233
+ * @property {string} [type]
1234
+ * @property {SupportedValidationsSchema[]} [supported_validations]
1259
1235
  */
1260
1236
 
1261
1237
  /**
1262
- * @typedef SupportedValidationsMetaSchema
1263
- * @property {SupportedValidationsMetaExampleSchema[]} [examples]
1238
+ * @typedef Datetime
1239
+ * @property {string} [name]
1240
+ * @property {string} [category]
1241
+ * @property {boolean} [list_enabled]
1242
+ * @property {string} [type]
1243
+ * @property {SupportedValidationsSchema[]} [supported_validations]
1264
1244
  */
1265
1245
 
1266
1246
  /**
1267
- * @typedef SupportedValidationsSchema
1268
- * @property {string} [display]
1269
- * @property {SupportedValidationsMetaSchema} [meta]
1247
+ * @typedef Json
1270
1248
  * @property {string} [name]
1271
- * @property {boolean} [required]
1249
+ * @property {boolean} [list_enabled]
1250
+ * @property {string} [category]
1272
1251
  * @property {string} [type]
1252
+ * @property {SupportedValidationsSchema[]} [supported_validations]
1273
1253
  */
1274
1254
 
1275
1255
  /**
1276
- * @typedef TagDeleteSuccessResponse
1277
- * @property {boolean} [success]
1256
+ * @typedef File
1257
+ * @property {string} [name]
1258
+ * @property {string} [category]
1259
+ * @property {boolean} [list_enabled]
1260
+ * @property {string} [type]
1261
+ * @property {SupportedValidationsSchema[]} [supported_validations]
1278
1262
  */
1279
1263
 
1280
1264
  /**
1281
- * @typedef TagSchema
1282
- * @property {TagSourceSchema} [__source]
1283
- * @property {string} [_id]
1284
- * @property {Object} [attributes]
1285
- * @property {string} [content]
1265
+ * @typedef Url
1286
1266
  * @property {string} [name]
1287
- * @property {Object[]} [pages]
1288
- * @property {string} [position]
1289
- * @property {string} [sub_type]
1267
+ * @property {boolean} [list_enabled]
1290
1268
  * @property {string} [type]
1291
- * @property {string} [url]
1269
+ * @property {SupportedValidationsSchema[]} [supported_validations]
1292
1270
  */
1293
1271
 
1294
1272
  /**
1295
- * @typedef TagSourceSchema
1296
- * @property {string} [id]
1273
+ * @typedef Metaobject
1274
+ * @property {string} [name]
1275
+ * @property {boolean} [list_enabled]
1276
+ * @property {string} [category]
1297
1277
  * @property {string} [type]
1278
+ * @property {SupportedValidationsSchema[]} [supported_validations]
1298
1279
  */
1299
1280
 
1300
1281
  /**
1301
- * @typedef TagsSchema
1282
+ * @typedef Product
1283
+ * @property {string} [name]
1284
+ * @property {boolean} [list_enabled]
1285
+ * @property {string} [category]
1286
+ * @property {string} [type]
1287
+ * @property {SupportedValidationsSchema[]} [supported_validations]
1288
+ */
1289
+
1290
+ /**
1291
+ * @typedef CustomObjectEntry
1302
1292
  * @property {string} [_id]
1303
- * @property {string} [application]
1304
- * @property {TagSchema[]} [tags]
1293
+ * @property {string} [name]
1294
+ * @property {string} [type]
1295
+ * @property {string} [updated_at]
1296
+ * @property {number} [entries_count]
1297
+ * @property {number} [fields_count]
1305
1298
  */
1306
1299
 
1307
1300
  /**
1308
- * @typedef UpdateFaqCategoryRequestSchema
1309
- * @property {CategorySchema} [category]
1301
+ * @typedef CustomObjectDefinitionsSchema
1302
+ * @property {CustomObjectEntry[]} [items]
1303
+ * @property {Page} [page]
1310
1304
  */
1311
1305
 
1312
1306
  /**
1313
- * @typedef UpdateHandpickedSchema
1314
- * @property {HandpickedTagSchema} [tag]
1307
+ * @typedef CustomObjectEntryFieldSchema
1308
+ * @property {string} [definition_id]
1309
+ * @property {Object[]} [value]
1315
1310
  */
1316
1311
 
1317
1312
  /**
1318
- * @typedef Url
1319
- * @property {boolean} [list_enabled]
1320
- * @property {string} [name]
1321
- * @property {SupportedValidationsSchema[]} [supported_validations]
1322
- * @property {string} [type]
1313
+ * @typedef CustomObjectRequestSchema
1314
+ * @property {string} [status]
1315
+ * @property {string} [definition_id]
1316
+ * @property {CustomObjectEntryFieldSchema[]} [fields]
1317
+ */
1318
+
1319
+ /**
1320
+ * @typedef CustomObjectBulkSchema
1321
+ * @property {string} [url]
1322
+ * @property {number} [total_records]
1323
1323
  */
1324
1324
 
1325
1325
  /** @typedef {"title" | "description"} GenerationEntityType */
@@ -1374,1676 +1374,1676 @@ const Joi = require("joi");
1374
1374
  */
1375
1375
 
1376
1376
  class ContentPlatformModel {
1377
- /** @returns {Action} */
1378
- static Action() {
1377
+ /** @returns {GenerateSEOContent} */
1378
+ static GenerateSEOContent() {
1379
1379
  return Joi.object({
1380
- page: ContentPlatformModel.ActionPage(),
1381
- popup: ContentPlatformModel.ActionPage(),
1380
+ text: Joi.string().allow(""),
1381
+ existing_text: Joi.string().allow(""),
1382
+ keywords: Joi.array().items(Joi.string().allow("")),
1382
1383
  type: Joi.string().allow(""),
1383
1384
  });
1384
1385
  }
1385
1386
 
1386
- /** @returns {ActionPage} */
1387
- static ActionPage() {
1388
- return Joi.object({
1389
- params: Joi.object().pattern(
1390
- /\S/,
1391
- Joi.array().items(Joi.string().allow(""))
1392
- ),
1393
- query: Joi.object().pattern(
1394
- /\S/,
1395
- Joi.array().items(Joi.string().allow(""))
1396
- ),
1397
- type: ContentPlatformModel.PageType().required(),
1398
- url: Joi.string().allow(""),
1399
- });
1400
- }
1401
-
1402
- /** @returns {AdminAnnouncementSchema} */
1403
- static AdminAnnouncementSchema() {
1387
+ /** @returns {GeneratedSEOContent} */
1388
+ static GeneratedSEOContent() {
1404
1389
  return Joi.object({
1405
- _id: Joi.string().allow(""),
1406
- _schedule: ContentPlatformModel.ScheduleSchema(),
1407
- announcement: Joi.string().allow(""),
1408
- app: Joi.string().allow(""),
1409
- author: ContentPlatformModel.AnnouncementAuthorSchema(),
1410
- created_at: Joi.string().allow(""),
1411
- editor_meta: ContentPlatformModel.EditorMeta(),
1412
- modified_at: Joi.string().allow(""),
1413
- pages: Joi.array().items(ContentPlatformModel.AnnouncementPageSchema()),
1414
- platforms: Joi.array().items(Joi.string().allow("")),
1415
1390
  title: Joi.string().allow(""),
1416
- });
1417
- }
1418
-
1419
- /** @returns {AnnouncementAuthorSchema} */
1420
- static AnnouncementAuthorSchema() {
1421
- return Joi.object({
1422
- created_by: Joi.string().allow(""),
1423
- modified_by: Joi.string().allow(""),
1424
- });
1425
- }
1426
-
1427
- /** @returns {AnnouncementPageSchema} */
1428
- static AnnouncementPageSchema() {
1429
- return Joi.object({
1430
- page_slug: Joi.string().allow(""),
1431
- type: Joi.string().allow(""),
1391
+ description: Joi.string().allow(""),
1432
1392
  });
1433
1393
  }
1434
1394
 
1435
1395
  /** @returns {ApplicationLegal} */
1436
1396
  static ApplicationLegal() {
1437
1397
  return Joi.object({
1438
- _id: Joi.string().allow(""),
1439
1398
  application: Joi.string().allow(""),
1440
- created_at: Joi.string().allow(""),
1441
- faq: Joi.array().items(ContentPlatformModel.ApplicationLegalFAQ()),
1399
+ tnc: Joi.string().allow(""),
1442
1400
  policy: Joi.string().allow(""),
1443
- returns: Joi.string().allow(""),
1444
1401
  shipping: Joi.string().allow(""),
1445
- tnc: Joi.string().allow(""),
1402
+ returns: Joi.string().allow(""),
1403
+ faq: Joi.array().items(ContentPlatformModel.ApplicationLegalFAQ()),
1404
+ _id: Joi.string().allow(""),
1446
1405
  updated_at: Joi.string().allow(""),
1406
+ created_at: Joi.string().allow(""),
1447
1407
  });
1448
1408
  }
1449
1409
 
1450
1410
  /** @returns {ApplicationLegalFAQ} */
1451
1411
  static ApplicationLegalFAQ() {
1452
1412
  return Joi.object({
1453
- answer: Joi.string().allow(""),
1454
1413
  question: Joi.string().allow(""),
1414
+ answer: Joi.string().allow(""),
1455
1415
  });
1456
1416
  }
1457
1417
 
1458
- /** @returns {Asset} */
1459
- static Asset() {
1418
+ /** @returns {PathMappingSchema} */
1419
+ static PathMappingSchema() {
1460
1420
  return Joi.object({
1461
- aspect_ratio: Joi.string().allow(""),
1462
- id: Joi.string().allow(""),
1463
- secure_url: Joi.string().allow(""),
1421
+ application: Joi.string().allow(""),
1422
+ _id: Joi.string().allow(""),
1423
+ redirect_from: Joi.string().allow(""),
1424
+ redirect_to: Joi.string().allow(""),
1425
+ updated_at: Joi.string().allow(""),
1426
+ created_at: Joi.string().allow(""),
1427
+ __source: ContentPlatformModel.PathSourceSchema(),
1464
1428
  });
1465
1429
  }
1466
1430
 
1467
- /** @returns {Author} */
1468
- static Author() {
1431
+ /** @returns {PathSourceSchema} */
1432
+ static PathSourceSchema() {
1469
1433
  return Joi.object({
1470
- designation: Joi.string().allow(""),
1434
+ type: Joi.string().allow(""),
1471
1435
  id: Joi.string().allow(""),
1472
- name: Joi.string().allow(""),
1473
1436
  });
1474
1437
  }
1475
1438
 
1476
- /** @returns {BlogGetResponse} */
1477
- static BlogGetResponse() {
1439
+ /** @returns {SeoComponent} */
1440
+ static SeoComponent() {
1478
1441
  return Joi.object({
1479
- items: Joi.array().items(ContentPlatformModel.BlogSchema()),
1480
- page: ContentPlatformModel.Page(),
1442
+ seo: ContentPlatformModel.SeoSchema(),
1481
1443
  });
1482
1444
  }
1483
1445
 
1484
- /** @returns {BlogRequest} */
1485
- static BlogRequest() {
1446
+ /** @returns {SeoSchema} */
1447
+ static SeoSchema() {
1486
1448
  return Joi.object({
1487
- _custom_json: Joi.any(),
1488
- _schedule: ContentPlatformModel.CronSchedule(),
1489
- application: Joi.string().allow(""),
1490
- author: ContentPlatformModel.Author(),
1491
- content: Joi.array().items(ContentPlatformModel.ResourceContent()),
1492
- feature_image: ContentPlatformModel.Asset(),
1493
- published: Joi.boolean(),
1494
- reading_time: Joi.string().allow(""),
1495
- seo: ContentPlatformModel.SEO(),
1496
- slug: Joi.string().allow(""),
1497
- tags: Joi.array().items(Joi.string().allow("")),
1498
- title: Joi.string().allow(""),
1449
+ app: Joi.string().allow(""),
1450
+ _id: Joi.string().allow(""),
1451
+ robots_txt: Joi.string().allow(""),
1452
+ sitemap_enabled: Joi.boolean(),
1453
+ additional_sitemap: Joi.string().allow(""),
1454
+ cannonical_enabled: Joi.boolean(),
1455
+ custom_meta_tags: Joi.array().items(ContentPlatformModel.CustomMetaTag()),
1456
+ details: ContentPlatformModel.Detail(),
1457
+ created_at: Joi.string().allow(""),
1458
+ updated_at: Joi.string().allow(""),
1499
1459
  });
1500
1460
  }
1501
1461
 
1502
- /** @returns {BlogSchema} */
1503
- static BlogSchema() {
1462
+ /** @returns {CustomMetaTag} */
1463
+ static CustomMetaTag() {
1504
1464
  return Joi.object({
1505
- _custom_json: Joi.any(),
1465
+ name: Joi.string().allow(""),
1466
+ content: Joi.string().allow(""),
1506
1467
  _id: Joi.string().allow(""),
1507
- _schedule: ContentPlatformModel.CronSchedule(),
1508
- application: Joi.string().allow(""),
1509
- archived: Joi.boolean(),
1510
- author: ContentPlatformModel.Author(),
1511
- content: Joi.array().items(ContentPlatformModel.ResourceContent()),
1512
- date_meta: ContentPlatformModel.DateMeta(),
1513
- feature_image: ContentPlatformModel.Asset(),
1514
- published: Joi.boolean(),
1515
- reading_time: Joi.string().allow(""),
1516
- seo: ContentPlatformModel.SEO(),
1517
- slug: Joi.string().allow(""),
1518
- tags: Joi.array().items(Joi.string().allow("")),
1519
- title: Joi.string().allow(""),
1520
1468
  });
1521
1469
  }
1522
1470
 
1523
- /** @returns {BooleanType} */
1524
- static BooleanType() {
1471
+ /** @returns {Detail} */
1472
+ static Detail() {
1525
1473
  return Joi.object({
1526
- category: Joi.string().allow(""),
1527
- list_enabled: Joi.boolean(),
1528
- name: Joi.string().allow(""),
1529
- supported_validations: Joi.array().items(
1530
- ContentPlatformModel.SupportedValidationsSchema()
1531
- ),
1532
- type: Joi.string().allow(""),
1474
+ title: Joi.string().allow(""),
1475
+ description: Joi.string().allow(""),
1476
+ image_url: Joi.string().allow(""),
1533
1477
  });
1534
1478
  }
1535
1479
 
1536
- /** @returns {CategoryRequestSchema} */
1537
- static CategoryRequestSchema() {
1480
+ /** @returns {SeoSchemaComponent} */
1481
+ static SeoSchemaComponent() {
1538
1482
  return Joi.object({
1539
- slug: Joi.string().allow(""),
1540
- title: Joi.string().allow(""),
1483
+ items: Joi.array().items(ContentPlatformModel.SEOSchemaMarkupTemplate()),
1484
+ page: ContentPlatformModel.Page(),
1541
1485
  });
1542
1486
  }
1543
1487
 
1544
- /** @returns {CategorySchema} */
1545
- static CategorySchema() {
1488
+ /** @returns {SEOSchemaMarkupTemplate} */
1489
+ static SEOSchemaMarkupTemplate() {
1546
1490
  return Joi.object({
1547
- _custom_json: Joi.any(),
1548
- _id: Joi.string().allow(""),
1549
- application: Joi.string().allow(""),
1550
- children: Joi.array().items(Joi.string().allow("")),
1551
- description: Joi.string().allow(""),
1552
- icon_url: Joi.string().allow(""),
1553
- index: Joi.number(),
1554
- slug: Joi.string().allow(""),
1491
+ id: Joi.string().allow(""),
1555
1492
  title: Joi.string().allow(""),
1493
+ page_type: Joi.string().allow(""),
1494
+ schema: Joi.string().allow(""),
1495
+ description: Joi.string().allow(""),
1496
+ active: Joi.boolean(),
1497
+ created_at: Joi.string().allow(""),
1498
+ updated_at: Joi.string().allow(""),
1499
+ application: Joi.string().allow(""),
1500
+ target_json: Joi.object().pattern(/\S/, Joi.any()),
1556
1501
  });
1557
1502
  }
1558
1503
 
1559
- /** @returns {ChildrenSchema} */
1560
- static ChildrenSchema() {
1504
+ /** @returns {SEOSchemaMarkupTemplateRequestBody} */
1505
+ static SEOSchemaMarkupTemplateRequestBody() {
1561
1506
  return Joi.object({
1562
- _id: Joi.string().allow(""),
1563
- answer: Joi.string().allow(""),
1564
- application: Joi.string().allow(""),
1565
- question: Joi.string().allow(""),
1566
- slug: Joi.string().allow(""),
1507
+ title: Joi.string().allow(""),
1508
+ page_type: Joi.string().allow(""),
1509
+ schema: Joi.string().allow(""),
1510
+ description: Joi.string().allow(""),
1511
+ target_json: Joi.object().pattern(/\S/, Joi.any()),
1512
+ active: Joi.boolean(),
1513
+ created_at: Joi.string().allow(""),
1514
+ updated_at: Joi.string().allow(""),
1567
1515
  });
1568
1516
  }
1569
1517
 
1570
- /** @returns {CommonError} */
1571
- static CommonError() {
1518
+ /** @returns {AnnouncementPageSchema} */
1519
+ static AnnouncementPageSchema() {
1572
1520
  return Joi.object({
1573
- message: Joi.string().allow(""),
1521
+ page_slug: Joi.string().allow(""),
1522
+ type: Joi.string().allow(""),
1574
1523
  });
1575
1524
  }
1576
1525
 
1577
- /** @returns {ConfigurationSchema} */
1578
- static ConfigurationSchema() {
1526
+ /** @returns {EditorMeta} */
1527
+ static EditorMeta() {
1579
1528
  return Joi.object({
1580
- duration: Joi.number(),
1581
- sleep_time: Joi.number(),
1582
- slide_direction: Joi.string().allow(""),
1583
- start_on_launch: Joi.boolean(),
1529
+ foreground_color: Joi.string().allow(""),
1530
+ background_color: Joi.string().allow(""),
1531
+ content_type: Joi.string().allow(""),
1532
+ content: Joi.string().allow(""),
1584
1533
  });
1585
1534
  }
1586
1535
 
1587
- /** @returns {ContactSchema} */
1588
- static ContactSchema() {
1536
+ /** @returns {AnnouncementAuthorSchema} */
1537
+ static AnnouncementAuthorSchema() {
1589
1538
  return Joi.object({
1590
- email: ContentPlatformModel.EmailSchema(),
1591
- phone: ContentPlatformModel.PhoneSchema(),
1539
+ created_by: Joi.string().allow(""),
1540
+ modified_by: Joi.string().allow(""),
1592
1541
  });
1593
1542
  }
1594
1543
 
1595
- /** @returns {ContentAPIError} */
1596
- static ContentAPIError() {
1544
+ /** @returns {AdminAnnouncementSchema} */
1545
+ static AdminAnnouncementSchema() {
1597
1546
  return Joi.object({
1598
- code: Joi.string().allow(""),
1599
- exception: Joi.string().allow(""),
1600
- info: Joi.string().allow(""),
1601
- message: Joi.string().allow(""),
1602
- meta: Joi.any(),
1603
- request_id: Joi.string().allow(""),
1604
- stack_trace: Joi.string().allow(""),
1605
- status: Joi.number(),
1547
+ _id: Joi.string().allow(""),
1548
+ platforms: Joi.array().items(Joi.string().allow("")),
1549
+ title: Joi.string().allow(""),
1550
+ announcement: Joi.string().allow(""),
1551
+ pages: Joi.array().items(ContentPlatformModel.AnnouncementPageSchema()),
1552
+ editor_meta: ContentPlatformModel.EditorMeta(),
1553
+ author: ContentPlatformModel.AnnouncementAuthorSchema(),
1554
+ created_at: Joi.string().allow(""),
1555
+ app: Joi.string().allow(""),
1556
+ modified_at: Joi.string().allow(""),
1557
+ _schedule: ContentPlatformModel.ScheduleSchema(),
1606
1558
  });
1607
1559
  }
1608
1560
 
1609
- /** @returns {CreateAnnouncementSchema} */
1610
- static CreateAnnouncementSchema() {
1561
+ /** @returns {DefaultSchemaComponent} */
1562
+ static DefaultSchemaComponent() {
1611
1563
  return Joi.object({
1612
- data: ContentPlatformModel.AdminAnnouncementSchema(),
1613
- message: Joi.string().allow(""),
1564
+ items: Joi.array().items(
1565
+ ContentPlatformModel.DefaultSEOSchemaMarkupTemplate()
1566
+ ),
1614
1567
  });
1615
1568
  }
1616
1569
 
1617
- /** @returns {CreatedBySchema} */
1618
- static CreatedBySchema() {
1570
+ /** @returns {DefaultSEOSchemaMarkupTemplate} */
1571
+ static DefaultSEOSchemaMarkupTemplate() {
1619
1572
  return Joi.object({
1620
- id: Joi.string().allow(""),
1573
+ page_type: Joi.string().allow(""),
1574
+ schema: Joi.string().allow(""),
1575
+ target_json: Joi.object().pattern(/\S/, Joi.any()),
1621
1576
  });
1622
1577
  }
1623
1578
 
1624
- /** @returns {CreateFaqCategoryRequestSchema} */
1625
- static CreateFaqCategoryRequestSchema() {
1579
+ /** @returns {ScheduleSchema} */
1580
+ static ScheduleSchema() {
1626
1581
  return Joi.object({
1627
- category: ContentPlatformModel.CategoryRequestSchema(),
1582
+ cron: Joi.string().allow(""),
1583
+ start: Joi.string().allow(""),
1584
+ end: Joi.string().allow(""),
1585
+ duration: Joi.number(),
1586
+ next_schedule: Joi.array().items(ContentPlatformModel.NextSchedule()),
1628
1587
  });
1629
1588
  }
1630
1589
 
1631
- /** @returns {CreateFaqCategorySchema} */
1632
- static CreateFaqCategorySchema() {
1590
+ /** @returns {NextSchedule} */
1591
+ static NextSchedule() {
1633
1592
  return Joi.object({
1634
- category: ContentPlatformModel.CategorySchema(),
1593
+ start: Joi.string().allow(""),
1594
+ end: Joi.string().allow(""),
1635
1595
  });
1636
1596
  }
1637
1597
 
1638
- /** @returns {CreateFaqResponseSchema} */
1639
- static CreateFaqResponseSchema() {
1598
+ /** @returns {BlogGetResponse} */
1599
+ static BlogGetResponse() {
1640
1600
  return Joi.object({
1641
- faq: ContentPlatformModel.FaqSchema(),
1601
+ items: Joi.array().items(ContentPlatformModel.BlogSchema()),
1602
+ page: ContentPlatformModel.Page(),
1642
1603
  });
1643
1604
  }
1644
1605
 
1645
- /** @returns {CreateFaqSchema} */
1646
- static CreateFaqSchema() {
1606
+ /** @returns {ResourceContent} */
1607
+ static ResourceContent() {
1647
1608
  return Joi.object({
1648
- faq: ContentPlatformModel.FAQ(),
1609
+ type: Joi.string().allow(""),
1610
+ value: Joi.string().allow(""),
1649
1611
  });
1650
1612
  }
1651
1613
 
1652
- /** @returns {CreateTagRequestSchema} */
1653
- static CreateTagRequestSchema() {
1614
+ /** @returns {Asset} */
1615
+ static Asset() {
1654
1616
  return Joi.object({
1655
- tags: Joi.array().items(ContentPlatformModel.CreateTagSchema()),
1617
+ aspect_ratio: Joi.string().allow(""),
1618
+ id: Joi.string().allow(""),
1619
+ secure_url: Joi.string().allow(""),
1656
1620
  });
1657
1621
  }
1658
1622
 
1659
- /** @returns {CreateTagSchema} */
1660
- static CreateTagSchema() {
1623
+ /** @returns {Author} */
1624
+ static Author() {
1661
1625
  return Joi.object({
1662
- _id: Joi.string().allow(""),
1663
- attributes: Joi.any(),
1664
- content: Joi.string().allow(""),
1626
+ designation: Joi.string().allow(""),
1627
+ id: Joi.string().allow(""),
1665
1628
  name: Joi.string().allow(""),
1666
- pages: Joi.array().items(Joi.any()),
1667
- position: Joi.string().allow(""),
1668
- sub_type: Joi.string().allow(""),
1669
- type: Joi.string().allow(""),
1670
- url: Joi.string().allow(""),
1671
1629
  });
1672
1630
  }
1673
1631
 
1674
- /** @returns {CronSchedule} */
1675
- static CronSchedule() {
1632
+ /** @returns {BlogSchema} */
1633
+ static BlogSchema() {
1676
1634
  return Joi.object({
1677
- cron: Joi.string().allow(""),
1678
- duration: Joi.number(),
1679
- end: Joi.string().allow(""),
1680
- start: Joi.string().allow(""),
1635
+ _id: Joi.string().allow(""),
1636
+ _custom_json: Joi.any(),
1637
+ application: Joi.string().allow(""),
1638
+ archived: Joi.boolean(),
1639
+ author: ContentPlatformModel.Author(),
1640
+ content: Joi.array().items(ContentPlatformModel.ResourceContent()),
1641
+ feature_image: ContentPlatformModel.Asset(),
1642
+ published: Joi.boolean(),
1643
+ reading_time: Joi.string().allow(""),
1644
+ slug: Joi.string().allow(""),
1645
+ tags: Joi.array().items(Joi.string().allow("")),
1646
+ seo: ContentPlatformModel.SEO(),
1647
+ _schedule: ContentPlatformModel.CronSchedule(),
1648
+ title: Joi.string().allow(""),
1649
+ date_meta: ContentPlatformModel.DateMeta(),
1681
1650
  });
1682
1651
  }
1683
1652
 
1684
- /** @returns {CustomDataDeleteSchema} */
1685
- static CustomDataDeleteSchema() {
1653
+ /** @returns {SEO} */
1654
+ static SEO() {
1686
1655
  return Joi.object({
1687
- message: Joi.string().allow(""),
1688
- success: Joi.boolean(),
1656
+ description: Joi.string().allow(""),
1657
+ image: ContentPlatformModel.SEOImage(),
1658
+ title: Joi.string().allow(""),
1659
+ meta_tags: Joi.array().items(ContentPlatformModel.SEOMetaItem()),
1660
+ sitemap: ContentPlatformModel.SEOSitemap(),
1661
+ breadcrumb: Joi.array().items(ContentPlatformModel.SEObreadcrumb()),
1662
+ canonical_url: Joi.string().allow(""),
1689
1663
  });
1690
1664
  }
1691
1665
 
1692
- /** @returns {CustomField} */
1693
- static CustomField() {
1666
+ /** @returns {SEOImage} */
1667
+ static SEOImage() {
1694
1668
  return Joi.object({
1695
- definition_id: Joi.string().allow(""),
1696
- value: Joi.array().items(Joi.any()),
1669
+ url: Joi.string().allow(""),
1697
1670
  });
1698
1671
  }
1699
1672
 
1700
- /** @returns {CustomFieldDefinitionDetailResSchema} */
1701
- static CustomFieldDefinitionDetailResSchema() {
1673
+ /** @returns {SEOMetaItem} */
1674
+ static SEOMetaItem() {
1702
1675
  return Joi.object({
1703
- _id: Joi.string().allow(""),
1704
- application_id: Joi.string().allow(""),
1705
- company_id: Joi.string().allow(""),
1706
- created_at: Joi.string().allow(""),
1707
- created_by: Joi.string().allow(""),
1708
- creator: Joi.string().allow(""),
1709
- description: Joi.string().allow(""),
1710
- is_deleted: Joi.boolean(),
1711
- key: Joi.string().allow(""),
1712
- multi_value: Joi.boolean(),
1713
- name: Joi.string().allow(""),
1714
- namespace: Joi.string().allow(""),
1715
- required: Joi.boolean(),
1716
- resource: Joi.string().allow(""),
1717
- type: Joi.string().allow(""),
1718
- updated_at: Joi.string().allow(""),
1719
- updated_by: Joi.string().allow(""),
1720
- validations: Joi.array().items(Joi.any()),
1676
+ title: Joi.string().allow(""),
1677
+ items: Joi.array().items(ContentPlatformModel.SEOMetaItems()),
1721
1678
  });
1722
1679
  }
1723
1680
 
1724
- /** @returns {CustomFieldDefinitionRequestSchema} */
1725
- static CustomFieldDefinitionRequestSchema() {
1681
+ /** @returns {SEOMetaItems} */
1682
+ static SEOMetaItems() {
1726
1683
  return Joi.object({
1727
- description: Joi.string().allow(""),
1728
1684
  key: Joi.string().allow(""),
1729
- multi_value: Joi.boolean(),
1730
- name: Joi.string().allow(""),
1731
- namespace: Joi.string().allow(""),
1732
- resource: Joi.string().allow(""),
1733
- type: Joi.string().allow(""),
1734
- validations: Joi.array().items(ContentPlatformModel.FieldValidations()),
1685
+ value: Joi.string().allow(""),
1735
1686
  });
1736
1687
  }
1737
1688
 
1738
- /** @returns {CustomFieldDefinitionsSchema} */
1739
- static CustomFieldDefinitionsSchema() {
1689
+ /** @returns {SEOSitemap} */
1690
+ static SEOSitemap() {
1740
1691
  return Joi.object({
1741
- items: Joi.array().items(ContentPlatformModel.FieldDefinitionSchema()),
1742
- page: ContentPlatformModel.Page(),
1743
- });
1692
+ priority: Joi.number(),
1693
+ frequency: Joi.string().allow(""),
1694
+ });
1744
1695
  }
1745
1696
 
1746
- /** @returns {CustomFieldRequestSchema} */
1747
- static CustomFieldRequestSchema() {
1697
+ /** @returns {SEObreadcrumb} */
1698
+ static SEObreadcrumb() {
1748
1699
  return Joi.object({
1749
- fields: Joi.array().items(ContentPlatformModel.CustomField()),
1700
+ url: Joi.string().allow(""),
1701
+ action: ContentPlatformModel.Action(),
1750
1702
  });
1751
1703
  }
1752
1704
 
1753
- /** @returns {CustomFieldSchema} */
1754
- static CustomFieldSchema() {
1705
+ /** @returns {DateMeta} */
1706
+ static DateMeta() {
1755
1707
  return Joi.object({
1756
- _id: Joi.string().allow(""),
1757
- company_id: Joi.string().allow(""),
1758
- created_at: Joi.string().allow(""),
1759
- created_by: Joi.string().allow(""),
1760
- creator: Joi.string().allow(""),
1761
- definition_id: Joi.string().allow(""),
1762
- has_invalid_values: Joi.boolean(),
1763
- invalid_value_errors: Joi.array().items(Joi.any()),
1764
- is_deleted: Joi.boolean(),
1765
- key: Joi.string().allow(""),
1766
- multi_value: Joi.boolean(),
1767
- namespace: Joi.string().allow(""),
1768
- resource: Joi.string().allow(""),
1769
- resource_id: Joi.string().allow(""),
1770
- type: Joi.string().allow(""),
1771
- updated_at: Joi.string().allow(""),
1772
- value: Joi.array().items(ContentPlatformModel.CustomFieldValue()),
1708
+ created_on: Joi.string().allow(""),
1709
+ modified_on: Joi.string().allow(""),
1773
1710
  });
1774
1711
  }
1775
1712
 
1776
- /** @returns {CustomFieldsResponseByResourceIdSchema} */
1777
- static CustomFieldsResponseByResourceIdSchema() {
1713
+ /** @returns {BlogRequest} */
1714
+ static BlogRequest() {
1778
1715
  return Joi.object({
1779
- items: Joi.array().items(ContentPlatformModel.CustomFieldSchema()),
1716
+ application: Joi.string().allow(""),
1717
+ _custom_json: Joi.any(),
1718
+ author: ContentPlatformModel.Author(),
1719
+ content: Joi.array().items(ContentPlatformModel.ResourceContent()),
1720
+ feature_image: ContentPlatformModel.Asset(),
1721
+ published: Joi.boolean(),
1722
+ reading_time: Joi.string().allow(""),
1723
+ slug: Joi.string().allow(""),
1724
+ tags: Joi.array().items(Joi.string().allow("")),
1725
+ title: Joi.string().allow(""),
1726
+ seo: ContentPlatformModel.SEO(),
1727
+ _schedule: ContentPlatformModel.CronSchedule(),
1780
1728
  });
1781
1729
  }
1782
1730
 
1783
- /** @returns {CustomFieldsResponseSchema} */
1784
- static CustomFieldsResponseSchema() {
1731
+ /** @returns {GetAnnouncementListSchema} */
1732
+ static GetAnnouncementListSchema() {
1785
1733
  return Joi.object({
1786
- items: Joi.array().items(ContentPlatformModel.CustomFieldSchema()),
1734
+ items: Joi.array().items(ContentPlatformModel.AdminAnnouncementSchema()),
1787
1735
  page: ContentPlatformModel.Page(),
1788
1736
  });
1789
1737
  }
1790
1738
 
1791
- /** @returns {CustomFieldTypeSchema} */
1792
- static CustomFieldTypeSchema() {
1739
+ /** @returns {CreateAnnouncementSchema} */
1740
+ static CreateAnnouncementSchema() {
1793
1741
  return Joi.object({
1794
- boolean_type: ContentPlatformModel.BooleanType(),
1795
- date: ContentPlatformModel.Date(),
1796
- datetime: ContentPlatformModel.Datetime(),
1797
- dropdown: ContentPlatformModel.Dropdown(),
1798
- file: ContentPlatformModel.File(),
1799
- float_type: ContentPlatformModel.FloatType(),
1800
- integer: ContentPlatformModel.Integer(),
1801
- json: ContentPlatformModel.Json(),
1802
- metaobject: ContentPlatformModel.Metaobject(),
1803
- product: ContentPlatformModel.Product(),
1804
- string_multi_line: ContentPlatformModel.StringMultiLine(),
1805
- string_single_line: ContentPlatformModel.StringSingleLine(),
1806
- url: ContentPlatformModel.Url(),
1742
+ message: Joi.string().allow(""),
1743
+ data: ContentPlatformModel.AdminAnnouncementSchema(),
1807
1744
  });
1808
1745
  }
1809
1746
 
1810
- /** @returns {CustomFieldValue} */
1811
- static CustomFieldValue() {
1747
+ /** @returns {DataLoaderResponseSchema} */
1748
+ static DataLoaderResponseSchema() {
1812
1749
  return Joi.object({
1813
- value: Joi.any(),
1750
+ application: Joi.string().allow(""),
1751
+ company: Joi.string().allow(""),
1752
+ _id: Joi.string().allow(""),
1753
+ name: Joi.string().allow(""),
1754
+ service: Joi.string().allow(""),
1755
+ operation_id: Joi.string().allow(""),
1756
+ type: Joi.string().allow(""),
1757
+ url: Joi.string().allow(""),
1758
+ content: Joi.string().allow(""),
1759
+ __source: ContentPlatformModel.DataLoaderSourceSchema(),
1814
1760
  });
1815
1761
  }
1816
1762
 
1817
- /** @returns {CustomMetaTag} */
1818
- static CustomMetaTag() {
1763
+ /** @returns {DataLoaderResetResponseSchema} */
1764
+ static DataLoaderResetResponseSchema() {
1819
1765
  return Joi.object({
1820
- _id: Joi.string().allow(""),
1821
- content: Joi.string().allow(""),
1822
- name: Joi.string().allow(""),
1766
+ reset: Joi.boolean(),
1823
1767
  });
1824
1768
  }
1825
1769
 
1826
- /** @returns {CustomObjectBulkEntry} */
1827
- static CustomObjectBulkEntry() {
1770
+ /** @returns {LocaleLanguage} */
1771
+ static LocaleLanguage() {
1828
1772
  return Joi.object({
1829
- items: Joi.array().items(ContentPlatformModel.CustomObjectJobSchema()),
1830
- page: ContentPlatformModel.Page(),
1773
+ hi: ContentPlatformModel.Language(),
1774
+ ar: ContentPlatformModel.Language(),
1775
+ en_us: ContentPlatformModel.Language(),
1831
1776
  });
1832
1777
  }
1833
1778
 
1834
- /** @returns {CustomObjectBulkEntryInitiateDownload} */
1835
- static CustomObjectBulkEntryInitiateDownload() {
1779
+ /** @returns {Language} */
1780
+ static Language() {
1836
1781
  return Joi.object({
1837
- message: Joi.string().allow(""),
1838
- task_id: Joi.string().allow(""),
1782
+ display: Joi.string().allow(""),
1839
1783
  });
1840
1784
  }
1841
1785
 
1842
- /** @returns {CustomObjectBulkSchema} */
1843
- static CustomObjectBulkSchema() {
1786
+ /** @returns {Action} */
1787
+ static Action() {
1844
1788
  return Joi.object({
1845
- total_records: Joi.number(),
1846
- url: Joi.string().allow(""),
1789
+ page: ContentPlatformModel.ActionPage(),
1790
+ popup: ContentPlatformModel.ActionPage(),
1791
+ type: Joi.string().allow(""),
1847
1792
  });
1848
1793
  }
1849
1794
 
1850
- /** @returns {CustomObjectByIdSchema} */
1851
- static CustomObjectByIdSchema() {
1795
+ /** @returns {ActionPage} */
1796
+ static ActionPage() {
1852
1797
  return Joi.object({
1853
- _id: Joi.string().allow(""),
1854
- definition: ContentPlatformModel.CustomObjectListItemDefinationSchema(),
1855
- display_name: Joi.string().allow(""),
1856
- fields: Joi.array().items(ContentPlatformModel.CustomObjectFieldSchema()),
1857
- references: Joi.array().items(Joi.any()),
1858
- status: Joi.string().allow(""),
1798
+ params: Joi.object().pattern(
1799
+ /\S/,
1800
+ Joi.array().items(Joi.string().allow(""))
1801
+ ),
1802
+ query: Joi.object().pattern(
1803
+ /\S/,
1804
+ Joi.array().items(Joi.string().allow(""))
1805
+ ),
1806
+ url: Joi.string().allow(""),
1807
+ type: ContentPlatformModel.PageType().required(),
1859
1808
  });
1860
1809
  }
1861
1810
 
1862
- /** @returns {CustomObjectCustomFieldDefinitionResSchema} */
1863
- static CustomObjectCustomFieldDefinitionResSchema() {
1811
+ /** @returns {NavigationReference} */
1812
+ static NavigationReference() {
1864
1813
  return Joi.object({
1865
- _id: Joi.string().allow(""),
1866
- company_id: Joi.string().allow(""),
1867
- created_at: Joi.string().allow(""),
1868
- created_by: Joi.string().allow(""),
1869
- creator: Joi.string().allow(""),
1870
- description: Joi.string().allow(""),
1871
- is_deleted: Joi.boolean(),
1872
- key: Joi.string().allow(""),
1873
- metaobject_definition_id: Joi.string().allow(""),
1874
- multi_value: Joi.boolean(),
1875
- name: Joi.string().allow(""),
1876
- namespace: Joi.string().allow(""),
1877
- required: Joi.boolean(),
1878
- resource: Joi.string().allow(""),
1814
+ acl: Joi.array().items(Joi.string().allow("")),
1815
+ tags: Joi.array().items(Joi.string().allow("")),
1816
+ _locale_language: ContentPlatformModel.LocaleLanguage(),
1817
+ image: Joi.string().allow(""),
1879
1818
  type: Joi.string().allow(""),
1880
- updated_at: Joi.string().allow(""),
1881
- validations: Joi.array().items(ContentPlatformModel.FieldValidations()),
1882
- });
1819
+ action: ContentPlatformModel.Action(),
1820
+ active: Joi.boolean(),
1821
+ display: Joi.string().allow(""),
1822
+ sort_order: Joi.number(),
1823
+ sub_navigation: Joi.array().items(Joi.link("#NavigationReference")),
1824
+ }).id("NavigationReference");
1883
1825
  }
1884
1826
 
1885
- /** @returns {CustomObjectCustomFieldDefinitions} */
1886
- static CustomObjectCustomFieldDefinitions() {
1827
+ /** @returns {ConfigurationSchema} */
1828
+ static ConfigurationSchema() {
1887
1829
  return Joi.object({
1888
- action: Joi.string().allow(""),
1889
- description: Joi.string().allow(""),
1890
- id: Joi.string().allow(""),
1891
- key: Joi.string().allow(""),
1892
- multi_value: Joi.boolean(),
1893
- name: Joi.string().allow(""),
1894
- required: Joi.boolean(),
1895
- type: Joi.string().allow(""),
1896
- validations: Joi.array().items(ContentPlatformModel.FieldValidations()),
1830
+ sleep_time: Joi.number(),
1831
+ start_on_launch: Joi.boolean(),
1832
+ duration: Joi.number(),
1833
+ slide_direction: Joi.string().allow(""),
1897
1834
  });
1898
1835
  }
1899
1836
 
1900
- /** @returns {CustomObjectDefinitionDeleteResponseSchema} */
1901
- static CustomObjectDefinitionDeleteResponseSchema() {
1837
+ /** @returns {SlideshowMedia} */
1838
+ static SlideshowMedia() {
1902
1839
  return Joi.object({
1903
- message: Joi.string().allow(""),
1904
- success: Joi.boolean(),
1840
+ type: Joi.string().allow(""),
1841
+ url: Joi.string().allow(""),
1842
+ bg_color: Joi.string().allow(""),
1843
+ duration: Joi.number(),
1844
+ auto_decide_duration: Joi.boolean(),
1845
+ action: ContentPlatformModel.Action(),
1905
1846
  });
1906
1847
  }
1907
1848
 
1908
- /** @returns {CustomObjectDefinitionRequestSchema} */
1909
- static CustomObjectDefinitionRequestSchema() {
1849
+ /** @returns {UpdateHandpickedSchema} */
1850
+ static UpdateHandpickedSchema() {
1910
1851
  return Joi.object({
1911
- description: Joi.string().allow(""),
1912
- display_name_key: Joi.string().allow(""),
1913
- field_definitions: Joi.array().items(
1914
- ContentPlatformModel.CustomObjectCustomFieldDefinitions()
1915
- ),
1916
- name: Joi.string().allow(""),
1917
- type: Joi.string().allow(""),
1852
+ tag: ContentPlatformModel.HandpickedTagSchema(),
1918
1853
  });
1919
1854
  }
1920
1855
 
1921
- /** @returns {CustomObjectDefinitionSchema} */
1922
- static CustomObjectDefinitionSchema() {
1856
+ /** @returns {HandpickedTagSchema} */
1857
+ static HandpickedTagSchema() {
1923
1858
  return Joi.object({
1924
- _id: Joi.string().allow(""),
1925
- created_by: Joi.string().allow(""),
1926
- creator: Joi.string().allow(""),
1927
- description: Joi.string().allow(""),
1928
- display_name_key: Joi.string().allow(""),
1929
- field_definitions: Joi.array().items(
1930
- ContentPlatformModel.CustomObjectCustomFieldDefinitionResSchema()
1931
- ),
1859
+ position: Joi.string().allow(""),
1860
+ attributes: Joi.any(),
1932
1861
  name: Joi.string().allow(""),
1862
+ url: Joi.string().allow(""),
1933
1863
  type: Joi.string().allow(""),
1934
- updated_by: Joi.string().allow(""),
1864
+ sub_type: Joi.string().allow(""),
1865
+ content: Joi.string().allow(""),
1935
1866
  });
1936
1867
  }
1937
1868
 
1938
- /** @returns {CustomObjectDefinitionsSchema} */
1939
- static CustomObjectDefinitionsSchema() {
1869
+ /** @returns {RemoveHandpickedSchema} */
1870
+ static RemoveHandpickedSchema() {
1940
1871
  return Joi.object({
1941
- items: Joi.array().items(ContentPlatformModel.CustomObjectEntry()),
1942
- page: ContentPlatformModel.Page(),
1872
+ tags: Joi.array().items(Joi.string().allow("")),
1943
1873
  });
1944
1874
  }
1945
1875
 
1946
- /** @returns {CustomObjectDefinitionUpdateRequestSchema} */
1947
- static CustomObjectDefinitionUpdateRequestSchema() {
1876
+ /** @returns {CreateTagSchema} */
1877
+ static CreateTagSchema() {
1948
1878
  return Joi.object({
1949
- description: Joi.string().allow(""),
1950
- display_name_key: Joi.string().allow(""),
1951
- field_definitions: Joi.array().items(
1952
- ContentPlatformModel.CustomObjectCustomFieldDefinitions()
1953
- ),
1954
1879
  name: Joi.string().allow(""),
1880
+ sub_type: Joi.string().allow(""),
1881
+ _id: Joi.string().allow(""),
1955
1882
  type: Joi.string().allow(""),
1883
+ url: Joi.string().allow(""),
1884
+ position: Joi.string().allow(""),
1885
+ attributes: Joi.any(),
1886
+ pages: Joi.array().items(Joi.any()),
1887
+ content: Joi.string().allow(""),
1956
1888
  });
1957
1889
  }
1958
1890
 
1959
- /** @returns {CustomObjectEntry} */
1960
- static CustomObjectEntry() {
1891
+ /** @returns {CreateTagRequestSchema} */
1892
+ static CreateTagRequestSchema() {
1961
1893
  return Joi.object({
1962
- _id: Joi.string().allow(""),
1963
- entries_count: Joi.number(),
1964
- fields_count: Joi.number(),
1965
- name: Joi.string().allow(""),
1966
- type: Joi.string().allow(""),
1967
- updated_at: Joi.string().allow(""),
1894
+ tags: Joi.array().items(ContentPlatformModel.CreateTagSchema()),
1968
1895
  });
1969
1896
  }
1970
1897
 
1971
- /** @returns {CustomObjectEntryBulkUploadResponse} */
1972
- static CustomObjectEntryBulkUploadResponse() {
1898
+ /** @returns {DataLoaderSchema} */
1899
+ static DataLoaderSchema() {
1973
1900
  return Joi.object({
1974
- total_records: Joi.number(),
1901
+ name: Joi.string().allow(""),
1902
+ service: Joi.string().allow(""),
1903
+ operation_id: Joi.string().allow(""),
1904
+ type: Joi.string().allow(""),
1975
1905
  url: Joi.string().allow(""),
1906
+ content: Joi.string().allow(""),
1907
+ __source: ContentPlatformModel.DataLoaderSourceSchema(),
1908
+ _id: Joi.string().allow(""),
1976
1909
  });
1977
1910
  }
1978
1911
 
1979
- /** @returns {CustomObjectEntryFieldSchema} */
1980
- static CustomObjectEntryFieldSchema() {
1981
- return Joi.object({
1982
- definition_id: Joi.string().allow(""),
1983
- value: Joi.array().items(Joi.any()),
1984
- });
1985
- }
1986
-
1987
- /** @returns {CustomObjectFieldSchema} */
1988
- static CustomObjectFieldSchema() {
1912
+ /** @returns {DataLoaderSourceSchema} */
1913
+ static DataLoaderSourceSchema() {
1989
1914
  return Joi.object({
1990
- _id: Joi.string().allow(""),
1991
- definition_id: Joi.string().allow(""),
1992
- key: Joi.string().allow(""),
1993
1915
  type: Joi.string().allow(""),
1994
- value: Joi.array().items(Joi.any()),
1916
+ id: Joi.string().allow(""),
1995
1917
  });
1996
1918
  }
1997
1919
 
1998
- /** @returns {CustomObjectJobSchema} */
1999
- static CustomObjectJobSchema() {
1920
+ /** @returns {DataLoadersSchema} */
1921
+ static DataLoadersSchema() {
2000
1922
  return Joi.object({
2001
- _id: Joi.string().allow(""),
2002
- action_type: Joi.string().allow(""),
2003
- company_id: Joi.string().allow(""),
2004
- created_at: Joi.string().allow(""),
2005
- created_by: Joi.string().allow(""),
2006
- creator: Joi.string().allow(""),
2007
- entity: Joi.string().allow(""),
2008
- error_count: Joi.number(),
2009
- error_jobs: Joi.array().items(Joi.string().allow("")),
2010
- error_url: Joi.string().allow(""),
2011
- errors_occured: Joi.array().items(Joi.string().allow("")),
2012
- finished_count: Joi.number(),
2013
- finished_jobs: Joi.array().items(Joi.string().allow("")),
2014
- jobs: Joi.array().items(Joi.string().allow("")),
2015
- meta: ContentPlatformModel.CustomObjectMetaSchema(),
2016
- status: Joi.string().allow(""),
2017
- success_count: Joi.number(),
2018
- total_jobs: Joi.number(),
2019
- updated_at: Joi.string().allow(""),
2020
- url: Joi.string().allow(""),
1923
+ items: Joi.array().items(ContentPlatformModel.DataLoaderSchema()),
2021
1924
  });
2022
1925
  }
2023
1926
 
2024
- /** @returns {CustomObjectListItemDefinationSchema} */
2025
- static CustomObjectListItemDefinationSchema() {
1927
+ /** @returns {TagDeleteSuccessResponse} */
1928
+ static TagDeleteSuccessResponse() {
2026
1929
  return Joi.object({
2027
- _id: Joi.string().allow(""),
2028
- name: Joi.string().allow(""),
2029
- type: Joi.string().allow(""),
1930
+ success: Joi.boolean(),
2030
1931
  });
2031
1932
  }
2032
1933
 
2033
- /** @returns {CustomObjectListItemSchema} */
2034
- static CustomObjectListItemSchema() {
1934
+ /** @returns {ContentAPIError} */
1935
+ static ContentAPIError() {
2035
1936
  return Joi.object({
2036
- _id: Joi.string().allow(""),
2037
- definition: ContentPlatformModel.CustomObjectListItemDefinationSchema(),
2038
- definition_id: Joi.string().allow(""),
2039
- display_name: Joi.string().allow(""),
2040
- references: Joi.number(),
2041
- status: Joi.string().allow(""),
2042
- updated_at: Joi.string().allow(""),
1937
+ message: Joi.string().allow(""),
1938
+ status: Joi.number(),
1939
+ code: Joi.string().allow(""),
1940
+ exception: Joi.string().allow(""),
1941
+ info: Joi.string().allow(""),
1942
+ request_id: Joi.string().allow(""),
1943
+ stack_trace: Joi.string().allow(""),
1944
+ meta: Joi.any(),
2043
1945
  });
2044
1946
  }
2045
1947
 
2046
- /** @returns {CustomObjectMetaSchema} */
2047
- static CustomObjectMetaSchema() {
1948
+ /** @returns {CommonError} */
1949
+ static CommonError() {
2048
1950
  return Joi.object({
2049
- mo_defintion_type: Joi.string().allow(""),
2050
- mo_error_count: Joi.number(),
2051
- mo_success_count: Joi.number(),
2052
- mo_total_count: Joi.number(),
1951
+ message: Joi.string().allow(""),
2053
1952
  });
2054
1953
  }
2055
1954
 
2056
- /** @returns {CustomObjectRequestSchema} */
2057
- static CustomObjectRequestSchema() {
1955
+ /** @returns {CategorySchema} */
1956
+ static CategorySchema() {
2058
1957
  return Joi.object({
2059
- definition_id: Joi.string().allow(""),
2060
- fields: Joi.array().items(
2061
- ContentPlatformModel.CustomObjectEntryFieldSchema()
2062
- ),
2063
- status: Joi.string().allow(""),
1958
+ index: Joi.number(),
1959
+ title: Joi.string().allow(""),
1960
+ description: Joi.string().allow(""),
1961
+ children: Joi.array().items(Joi.string().allow("")),
1962
+ _id: Joi.string().allow(""),
1963
+ slug: Joi.string().allow(""),
1964
+ application: Joi.string().allow(""),
1965
+ icon_url: Joi.string().allow(""),
1966
+ _custom_json: Joi.any(),
2064
1967
  });
2065
1968
  }
2066
1969
 
2067
- /** @returns {CustomObjectSchema} */
2068
- static CustomObjectSchema() {
1970
+ /** @returns {ChildrenSchema} */
1971
+ static ChildrenSchema() {
2069
1972
  return Joi.object({
1973
+ question: Joi.string().allow(""),
1974
+ answer: Joi.string().allow(""),
1975
+ slug: Joi.string().allow(""),
1976
+ application: Joi.string().allow(""),
2070
1977
  _id: Joi.string().allow(""),
2071
- application_id: Joi.string().allow(""),
2072
- company_id: Joi.string().allow(""),
2073
- created_by: Joi.string().allow(""),
2074
- creator: Joi.string().allow(""),
2075
- definition_id: Joi.string().allow(""),
2076
- display_name: Joi.string().allow(""),
2077
- fields: Joi.array().items(ContentPlatformModel.CustomFieldSchema()),
2078
- status: Joi.string().allow(""),
2079
- type: Joi.string().allow(""),
2080
- updated_by: Joi.string().allow(""),
2081
1978
  });
2082
1979
  }
2083
1980
 
2084
- /** @returns {CustomObjectsSchema} */
2085
- static CustomObjectsSchema() {
1981
+ /** @returns {CategoryRequestSchema} */
1982
+ static CategoryRequestSchema() {
2086
1983
  return Joi.object({
2087
- items: Joi.array().items(
2088
- ContentPlatformModel.CustomObjectListItemSchema()
2089
- ),
2090
- page: ContentPlatformModel.Page(),
1984
+ slug: Joi.string().allow(""),
1985
+ title: Joi.string().allow(""),
2091
1986
  });
2092
1987
  }
2093
1988
 
2094
- /** @returns {DataLoaderResetResponseSchema} */
2095
- static DataLoaderResetResponseSchema() {
1989
+ /** @returns {FAQCategorySchema} */
1990
+ static FAQCategorySchema() {
2096
1991
  return Joi.object({
2097
- reset: Joi.boolean(),
1992
+ index: Joi.number(),
1993
+ title: Joi.string().allow(""),
1994
+ description: Joi.string().allow(""),
1995
+ children: Joi.array().items(ContentPlatformModel.ChildrenSchema()),
1996
+ _id: Joi.string().allow(""),
1997
+ slug: Joi.string().allow(""),
1998
+ application: Joi.string().allow(""),
1999
+ icon_url: Joi.string().allow(""),
2000
+ _custom_json: Joi.any(),
2098
2001
  });
2099
2002
  }
2100
2003
 
2101
- /** @returns {DataLoaderResponseSchema} */
2102
- static DataLoaderResponseSchema() {
2004
+ /** @returns {FaqSchema} */
2005
+ static FaqSchema() {
2103
2006
  return Joi.object({
2104
- __source: ContentPlatformModel.DataLoaderSourceSchema(),
2105
- _id: Joi.string().allow(""),
2007
+ slug: Joi.string().allow(""),
2106
2008
  application: Joi.string().allow(""),
2107
- company: Joi.string().allow(""),
2108
- content: Joi.string().allow(""),
2109
- name: Joi.string().allow(""),
2110
- operation_id: Joi.string().allow(""),
2111
- service: Joi.string().allow(""),
2112
- type: Joi.string().allow(""),
2113
- url: Joi.string().allow(""),
2009
+ _id: Joi.string().allow(""),
2010
+ question: Joi.string().allow(""),
2011
+ answer: Joi.string().allow(""),
2012
+ tags: Joi.array().items(Joi.string().allow("")),
2114
2013
  });
2115
2014
  }
2116
2015
 
2117
- /** @returns {DataLoaderSchema} */
2118
- static DataLoaderSchema() {
2016
+ /** @returns {FAQ} */
2017
+ static FAQ() {
2119
2018
  return Joi.object({
2120
- __source: ContentPlatformModel.DataLoaderSourceSchema(),
2121
- _id: Joi.string().allow(""),
2122
- content: Joi.string().allow(""),
2123
- name: Joi.string().allow(""),
2124
- operation_id: Joi.string().allow(""),
2125
- service: Joi.string().allow(""),
2126
- type: Joi.string().allow(""),
2127
- url: Joi.string().allow(""),
2019
+ slug: Joi.string().allow(""),
2020
+ question: Joi.string().allow(""),
2021
+ answer: Joi.string().allow(""),
2128
2022
  });
2129
2023
  }
2130
2024
 
2131
- /** @returns {DataLoaderSourceSchema} */
2132
- static DataLoaderSourceSchema() {
2025
+ /** @returns {CreateFaqResponseSchema} */
2026
+ static CreateFaqResponseSchema() {
2133
2027
  return Joi.object({
2134
- id: Joi.string().allow(""),
2135
- type: Joi.string().allow(""),
2028
+ faq: ContentPlatformModel.FaqSchema(),
2136
2029
  });
2137
2030
  }
2138
2031
 
2139
- /** @returns {DataLoadersSchema} */
2140
- static DataLoadersSchema() {
2032
+ /** @returns {CreateFaqSchema} */
2033
+ static CreateFaqSchema() {
2141
2034
  return Joi.object({
2142
- items: Joi.array().items(ContentPlatformModel.DataLoaderSchema()),
2035
+ faq: ContentPlatformModel.FAQ(),
2143
2036
  });
2144
2037
  }
2145
2038
 
2146
- /** @returns {Date} */
2147
- static Date() {
2039
+ /** @returns {GetFaqSchema} */
2040
+ static GetFaqSchema() {
2148
2041
  return Joi.object({
2149
- category: Joi.string().allow(""),
2150
- list_enabled: Joi.boolean(),
2151
- name: Joi.string().allow(""),
2152
- supported_validations: Joi.array().items(
2153
- ContentPlatformModel.SupportedValidationsSchema()
2154
- ),
2155
- type: Joi.string().allow(""),
2042
+ faqs: Joi.array().items(ContentPlatformModel.FaqSchema()),
2156
2043
  });
2157
2044
  }
2158
2045
 
2159
- /** @returns {DateMeta} */
2160
- static DateMeta() {
2046
+ /** @returns {UpdateFaqCategoryRequestSchema} */
2047
+ static UpdateFaqCategoryRequestSchema() {
2161
2048
  return Joi.object({
2162
- created_on: Joi.string().allow(""),
2163
- modified_on: Joi.string().allow(""),
2049
+ category: ContentPlatformModel.CategorySchema(),
2164
2050
  });
2165
2051
  }
2166
2052
 
2167
- /** @returns {Datetime} */
2168
- static Datetime() {
2053
+ /** @returns {CreateFaqCategoryRequestSchema} */
2054
+ static CreateFaqCategoryRequestSchema() {
2169
2055
  return Joi.object({
2170
- category: Joi.string().allow(""),
2171
- list_enabled: Joi.boolean(),
2172
- name: Joi.string().allow(""),
2173
- supported_validations: Joi.array().items(
2174
- ContentPlatformModel.SupportedValidationsSchema()
2175
- ),
2176
- type: Joi.string().allow(""),
2056
+ category: ContentPlatformModel.CategoryRequestSchema(),
2177
2057
  });
2178
2058
  }
2179
2059
 
2180
- /** @returns {DefaultNavigationResponse} */
2181
- static DefaultNavigationResponse() {
2060
+ /** @returns {CreateFaqCategorySchema} */
2061
+ static CreateFaqCategorySchema() {
2182
2062
  return Joi.object({
2183
- items: Joi.array().items(ContentPlatformModel.NavigationSchema()),
2063
+ category: ContentPlatformModel.CategorySchema(),
2184
2064
  });
2185
2065
  }
2186
2066
 
2187
- /** @returns {DefaultSchemaComponent} */
2188
- static DefaultSchemaComponent() {
2067
+ /** @returns {GetFaqCategoriesSchema} */
2068
+ static GetFaqCategoriesSchema() {
2189
2069
  return Joi.object({
2190
- items: Joi.array().items(
2191
- ContentPlatformModel.DefaultSEOSchemaMarkupTemplate()
2192
- ),
2070
+ categories: Joi.array().items(ContentPlatformModel.CategorySchema()),
2193
2071
  });
2194
2072
  }
2195
2073
 
2196
- /** @returns {DefaultSEOSchemaMarkupTemplate} */
2197
- static DefaultSEOSchemaMarkupTemplate() {
2074
+ /** @returns {GetFaqCategoryBySlugSchema} */
2075
+ static GetFaqCategoryBySlugSchema() {
2198
2076
  return Joi.object({
2199
- page_type: Joi.string().allow(""),
2200
- schema: Joi.string().allow(""),
2201
- target_json: Joi.object().pattern(/\S/, Joi.any()),
2077
+ category: ContentPlatformModel.FAQCategorySchema(),
2202
2078
  });
2203
2079
  }
2204
2080
 
2205
- /** @returns {Detail} */
2206
- static Detail() {
2081
+ /** @returns {Page} */
2082
+ static Page() {
2207
2083
  return Joi.object({
2208
- description: Joi.string().allow(""),
2209
- image_url: Joi.string().allow(""),
2210
- title: Joi.string().allow(""),
2084
+ item_total: Joi.number(),
2085
+ next_id: Joi.string().allow(""),
2086
+ has_previous: Joi.boolean(),
2087
+ has_next: Joi.boolean(),
2088
+ current: Joi.number(),
2089
+ type: Joi.string().allow("").required(),
2090
+ size: Joi.number(),
2211
2091
  });
2212
2092
  }
2213
2093
 
2214
- /** @returns {Dropdown} */
2215
- static Dropdown() {
2094
+ /** @returns {LandingPageGetResponse} */
2095
+ static LandingPageGetResponse() {
2216
2096
  return Joi.object({
2217
- category: Joi.string().allow(""),
2218
- list_enabled: Joi.boolean(),
2219
- name: Joi.string().allow(""),
2220
- supported_validations: Joi.array().items(
2221
- ContentPlatformModel.SupportedValidationsSchema()
2222
- ),
2223
- type: Joi.string().allow(""),
2097
+ items: Joi.array().items(ContentPlatformModel.LandingPageSchema()),
2098
+ page: ContentPlatformModel.Page(),
2224
2099
  });
2225
2100
  }
2226
2101
 
2227
- /** @returns {EditorMeta} */
2228
- static EditorMeta() {
2102
+ /** @returns {LandingPageSchema} */
2103
+ static LandingPageSchema() {
2229
2104
  return Joi.object({
2230
- background_color: Joi.string().allow(""),
2231
- content: Joi.string().allow(""),
2232
- content_type: Joi.string().allow(""),
2233
- foreground_color: Joi.string().allow(""),
2105
+ slug: Joi.string().allow(""),
2106
+ action: ContentPlatformModel.Action(),
2107
+ platform: Joi.array().items(Joi.string().allow("")),
2108
+ created_by: ContentPlatformModel.CreatedBySchema(),
2109
+ date_meta: ContentPlatformModel.DateMeta(),
2110
+ _id: Joi.string().allow(""),
2111
+ application: Joi.string().allow(""),
2112
+ archived: Joi.boolean(),
2113
+ _custom_json: Joi.any(),
2234
2114
  });
2235
2115
  }
2236
2116
 
2237
- /** @returns {EmailProperties} */
2238
- static EmailProperties() {
2117
+ /** @returns {DefaultNavigationResponse} */
2118
+ static DefaultNavigationResponse() {
2239
2119
  return Joi.object({
2240
- key: Joi.string().allow(""),
2241
- value: Joi.string().allow(""),
2120
+ items: Joi.array().items(ContentPlatformModel.NavigationSchema()),
2242
2121
  });
2243
2122
  }
2244
2123
 
2245
- /** @returns {EmailSchema} */
2246
- static EmailSchema() {
2124
+ /** @returns {NavigationGetResponse} */
2125
+ static NavigationGetResponse() {
2247
2126
  return Joi.object({
2248
- active: Joi.boolean(),
2249
- email: Joi.array().items(ContentPlatformModel.EmailProperties()),
2127
+ items: Joi.array().items(ContentPlatformModel.NavigationSchema()),
2128
+ page: ContentPlatformModel.Page(),
2250
2129
  });
2251
2130
  }
2252
2131
 
2253
- /** @returns {FAQ} */
2254
- static FAQ() {
2132
+ /** @returns {Orientation} */
2133
+ static Orientation() {
2255
2134
  return Joi.object({
2256
- answer: Joi.string().allow(""),
2257
- question: Joi.string().allow(""),
2258
- slug: Joi.string().allow(""),
2135
+ portrait: Joi.array().items(Joi.string().allow("")),
2136
+ landscape: Joi.array().items(Joi.string().allow("")),
2259
2137
  });
2260
2138
  }
2261
2139
 
2262
- /** @returns {FAQCategorySchema} */
2263
- static FAQCategorySchema() {
2140
+ /** @returns {NavigationSchema} */
2141
+ static NavigationSchema() {
2264
2142
  return Joi.object({
2265
- _custom_json: Joi.any(),
2266
2143
  _id: Joi.string().allow(""),
2267
2144
  application: Joi.string().allow(""),
2268
- children: Joi.array().items(ContentPlatformModel.ChildrenSchema()),
2269
- description: Joi.string().allow(""),
2270
- icon_url: Joi.string().allow(""),
2271
- index: Joi.number(),
2145
+ archived: Joi.boolean(),
2146
+ name: Joi.string().allow(""),
2272
2147
  slug: Joi.string().allow(""),
2273
- title: Joi.string().allow(""),
2148
+ platform: Joi.array().items(Joi.string().allow("")),
2149
+ created_by: ContentPlatformModel.CreatedBySchema(),
2150
+ date_meta: ContentPlatformModel.DateMeta(),
2151
+ orientation: ContentPlatformModel.Orientation(),
2152
+ version: Joi.number(),
2153
+ navigation: Joi.array().items(ContentPlatformModel.NavigationReference()),
2274
2154
  });
2275
2155
  }
2276
2156
 
2277
- /** @returns {FaqSchema} */
2278
- static FaqSchema() {
2157
+ /** @returns {NavigationRequest} */
2158
+ static NavigationRequest() {
2279
2159
  return Joi.object({
2280
- _id: Joi.string().allow(""),
2281
- answer: Joi.string().allow(""),
2282
- application: Joi.string().allow(""),
2283
- question: Joi.string().allow(""),
2160
+ name: Joi.string().allow(""),
2284
2161
  slug: Joi.string().allow(""),
2285
- tags: Joi.array().items(Joi.string().allow("")),
2162
+ platform: Joi.array().items(Joi.string().allow("")),
2163
+ orientation: ContentPlatformModel.Orientation(),
2164
+ navigation: Joi.array().items(ContentPlatformModel.NavigationReference()),
2286
2165
  });
2287
2166
  }
2288
2167
 
2289
- /** @returns {FieldDefinitionSchema} */
2290
- static FieldDefinitionSchema() {
2168
+ /** @returns {PageGetResponse} */
2169
+ static PageGetResponse() {
2291
2170
  return Joi.object({
2292
- _id: Joi.string().allow(""),
2293
- company_id: Joi.string().allow(""),
2294
- created_at: Joi.string().allow(""),
2295
- created_by: Joi.string().allow(""),
2296
- creator: Joi.string().allow(""),
2297
- description: Joi.string().allow(""),
2298
- invalid_fields_count: Joi.number(),
2299
- is_deleted: Joi.boolean(),
2300
- key: Joi.string().allow(""),
2301
- multi_value: Joi.boolean(),
2302
- name: Joi.string().allow(""),
2303
- namespace: Joi.string().allow(""),
2304
- required: Joi.boolean(),
2305
- resource: Joi.string().allow(""),
2306
- type: Joi.string().allow(""),
2307
- type_name: Joi.string().allow(""),
2308
- updated_at: Joi.string().allow(""),
2309
- updated_by: Joi.string().allow(""),
2310
- validations: Joi.array().items(ContentPlatformModel.FieldValidations()),
2171
+ items: Joi.array().items(ContentPlatformModel.PageSchema()),
2172
+ page: ContentPlatformModel.Page(),
2311
2173
  });
2312
2174
  }
2313
2175
 
2314
- /** @returns {FieldValidations} */
2315
- static FieldValidations() {
2176
+ /** @returns {PageSpec} */
2177
+ static PageSpec() {
2316
2178
  return Joi.object({
2317
- name: Joi.string().allow(""),
2318
- type: Joi.string().allow(""),
2319
- value: Joi.any(),
2179
+ specifications: Joi.array().items(ContentPlatformModel.PageSpecItem()),
2320
2180
  });
2321
2181
  }
2322
2182
 
2323
- /** @returns {File} */
2324
- static File() {
2183
+ /** @returns {PageSpecParam} */
2184
+ static PageSpecParam() {
2325
2185
  return Joi.object({
2326
- category: Joi.string().allow(""),
2327
- list_enabled: Joi.boolean(),
2328
- name: Joi.string().allow(""),
2329
- supported_validations: Joi.array().items(
2330
- ContentPlatformModel.SupportedValidationsSchema()
2331
- ),
2332
- type: Joi.string().allow(""),
2186
+ key: Joi.string().allow(""),
2187
+ required: Joi.boolean(),
2333
2188
  });
2334
2189
  }
2335
2190
 
2336
- /** @returns {FloatType} */
2337
- static FloatType() {
2191
+ /** @returns {PageSpecItem} */
2192
+ static PageSpecItem() {
2338
2193
  return Joi.object({
2339
- category: Joi.string().allow(""),
2340
- list_enabled: Joi.boolean(),
2341
- name: Joi.string().allow(""),
2342
- supported_validations: Joi.array().items(
2343
- ContentPlatformModel.SupportedValidationsSchema()
2344
- ),
2345
- type: Joi.string().allow(""),
2194
+ page_type: Joi.string().allow(""),
2195
+ display_name: Joi.string().allow(""),
2196
+ params: Joi.array().items(ContentPlatformModel.PageSpecParam()),
2197
+ query: Joi.array().items(ContentPlatformModel.PageSpecParam()),
2346
2198
  });
2347
2199
  }
2348
2200
 
2349
- /** @returns {GeneratedSEOContent} */
2350
- static GeneratedSEOContent() {
2201
+ /** @returns {PageSchema} */
2202
+ static PageSchema() {
2351
2203
  return Joi.object({
2204
+ _id: Joi.string().allow(""),
2205
+ application: Joi.string().allow(""),
2206
+ component_ids: Joi.array().items(Joi.string().allow("")),
2207
+ content: Joi.array().items(Joi.any()),
2208
+ content_path: Joi.string().allow(""),
2209
+ created_by: ContentPlatformModel.CreatedBySchema(),
2210
+ date_meta: ContentPlatformModel.DateMeta(),
2352
2211
  description: Joi.string().allow(""),
2212
+ feature_image: ContentPlatformModel.Asset(),
2213
+ page_meta: Joi.array().items(Joi.any()),
2214
+ _schedule: ContentPlatformModel.ScheduleSchema(),
2215
+ _custom_json: Joi.any(),
2216
+ orientation: Joi.string().allow(""),
2217
+ platform: Joi.string().allow(""),
2218
+ published: Joi.boolean(),
2219
+ slug: Joi.string().allow(""),
2220
+ tags: Joi.array().items(Joi.string().allow("")),
2353
2221
  title: Joi.string().allow(""),
2222
+ type: Joi.string().allow(""),
2223
+ seo: ContentPlatformModel.SEO(),
2224
+ visibility: Joi.any(),
2225
+ archived: Joi.boolean(),
2354
2226
  });
2355
2227
  }
2356
2228
 
2357
- /** @returns {GenerateSEOContent} */
2358
- static GenerateSEOContent() {
2229
+ /** @returns {CreatedBySchema} */
2230
+ static CreatedBySchema() {
2359
2231
  return Joi.object({
2360
- existing_text: Joi.string().allow(""),
2361
- keywords: Joi.array().items(Joi.string().allow("")),
2362
- text: Joi.string().allow(""),
2363
- type: Joi.string().allow(""),
2232
+ id: Joi.string().allow(""),
2364
2233
  });
2365
2234
  }
2366
2235
 
2367
- /** @returns {GetAnnouncementListSchema} */
2368
- static GetAnnouncementListSchema() {
2236
+ /** @returns {PageRequest} */
2237
+ static PageRequest() {
2369
2238
  return Joi.object({
2370
- items: Joi.array().items(ContentPlatformModel.AdminAnnouncementSchema()),
2371
- page: ContentPlatformModel.Page(),
2239
+ _schedule: ContentPlatformModel.CronSchedule(),
2240
+ application: Joi.string().allow(""),
2241
+ author: ContentPlatformModel.Author(),
2242
+ _custom_json: Joi.any(),
2243
+ orientation: Joi.string().allow(""),
2244
+ content: Joi.array().items(Joi.any()),
2245
+ feature_image: ContentPlatformModel.Asset(),
2246
+ published: Joi.boolean(),
2247
+ reading_time: Joi.string().allow(""),
2248
+ slug: Joi.string().allow(""),
2249
+ tags: Joi.array().items(Joi.string().allow("")),
2250
+ seo: ContentPlatformModel.SEO(),
2251
+ title: Joi.string().allow(""),
2372
2252
  });
2373
2253
  }
2374
2254
 
2375
- /** @returns {GetFaqCategoriesSchema} */
2376
- static GetFaqCategoriesSchema() {
2255
+ /** @returns {CronSchedule} */
2256
+ static CronSchedule() {
2377
2257
  return Joi.object({
2378
- categories: Joi.array().items(ContentPlatformModel.CategorySchema()),
2258
+ cron: Joi.string().allow(""),
2259
+ start: Joi.string().allow(""),
2260
+ end: Joi.string().allow(""),
2261
+ duration: Joi.number(),
2379
2262
  });
2380
2263
  }
2381
2264
 
2382
- /** @returns {GetFaqCategoryBySlugSchema} */
2383
- static GetFaqCategoryBySlugSchema() {
2265
+ /** @returns {PagePublishRequest} */
2266
+ static PagePublishRequest() {
2384
2267
  return Joi.object({
2385
- category: ContentPlatformModel.FAQCategorySchema(),
2268
+ publish: Joi.boolean(),
2386
2269
  });
2387
2270
  }
2388
2271
 
2389
- /** @returns {GetFaqSchema} */
2390
- static GetFaqSchema() {
2272
+ /** @returns {PageMetaSchema} */
2273
+ static PageMetaSchema() {
2391
2274
  return Joi.object({
2392
- faqs: Joi.array().items(ContentPlatformModel.FaqSchema()),
2275
+ system_pages: Joi.array().items(ContentPlatformModel.NavigationSchema()),
2276
+ custom_pages: Joi.array().items(ContentPlatformModel.PageSchema()),
2277
+ application_id: Joi.string().allow(""),
2393
2278
  });
2394
2279
  }
2395
2280
 
2396
- /** @returns {HandpickedTagSchema} */
2397
- static HandpickedTagSchema() {
2281
+ /** @returns {SlideshowGetResponse} */
2282
+ static SlideshowGetResponse() {
2398
2283
  return Joi.object({
2399
- attributes: Joi.any(),
2400
- content: Joi.string().allow(""),
2401
- name: Joi.string().allow(""),
2402
- position: Joi.string().allow(""),
2403
- sub_type: Joi.string().allow(""),
2404
- type: Joi.string().allow(""),
2405
- url: Joi.string().allow(""),
2284
+ items: Joi.array().items(ContentPlatformModel.SlideshowSchema()),
2285
+ page: ContentPlatformModel.Page(),
2406
2286
  });
2407
2287
  }
2408
2288
 
2409
- /** @returns {Integer} */
2410
- static Integer() {
2289
+ /** @returns {SlideshowSchema} */
2290
+ static SlideshowSchema() {
2411
2291
  return Joi.object({
2412
- category: Joi.string().allow(""),
2413
- list_enabled: Joi.boolean(),
2414
- name: Joi.string().allow(""),
2415
- supported_validations: Joi.array().items(
2416
- ContentPlatformModel.SupportedValidationsSchema()
2417
- ),
2418
- type: Joi.string().allow(""),
2292
+ _id: Joi.string().allow(""),
2293
+ slug: Joi.string().allow(""),
2294
+ date_meta: ContentPlatformModel.DateMeta(),
2295
+ application: Joi.string().allow(""),
2296
+ platform: Joi.string().allow(""),
2297
+ configuration: ContentPlatformModel.ConfigurationSchema(),
2298
+ media: Joi.array().items(ContentPlatformModel.SlideshowMedia()),
2299
+ active: Joi.boolean(),
2300
+ archived: Joi.boolean(),
2301
+ _custom_json: Joi.any(),
2419
2302
  });
2420
2303
  }
2421
2304
 
2422
- /** @returns {Json} */
2423
- static Json() {
2305
+ /** @returns {SlideshowRequest} */
2306
+ static SlideshowRequest() {
2424
2307
  return Joi.object({
2425
- category: Joi.string().allow(""),
2426
- list_enabled: Joi.boolean(),
2427
- name: Joi.string().allow(""),
2428
- supported_validations: Joi.array().items(
2429
- ContentPlatformModel.SupportedValidationsSchema()
2430
- ),
2431
- type: Joi.string().allow(""),
2308
+ slug: Joi.string().allow(""),
2309
+ platform: Joi.string().allow(""),
2310
+ configuration: ContentPlatformModel.ConfigurationSchema(),
2311
+ media: ContentPlatformModel.SlideshowMedia(),
2312
+ active: Joi.boolean(),
2432
2313
  });
2433
2314
  }
2434
2315
 
2435
- /** @returns {LandingPageGetResponse} */
2436
- static LandingPageGetResponse() {
2316
+ /** @returns {Support} */
2317
+ static Support() {
2437
2318
  return Joi.object({
2438
- items: Joi.array().items(ContentPlatformModel.LandingPageSchema()),
2439
- page: ContentPlatformModel.Page(),
2319
+ created: Joi.boolean(),
2320
+ _id: Joi.string().allow(""),
2321
+ config_type: Joi.string().allow(""),
2322
+ application: Joi.string().allow(""),
2323
+ created_at: Joi.string().allow(""),
2324
+ updated_at: Joi.string().allow(""),
2325
+ contact: ContentPlatformModel.ContactSchema(),
2440
2326
  });
2441
2327
  }
2442
2328
 
2443
- /** @returns {LandingPageSchema} */
2444
- static LandingPageSchema() {
2329
+ /** @returns {PhoneProperties} */
2330
+ static PhoneProperties() {
2445
2331
  return Joi.object({
2446
- _custom_json: Joi.any(),
2447
- _id: Joi.string().allow(""),
2448
- action: ContentPlatformModel.Action(),
2449
- application: Joi.string().allow(""),
2450
- archived: Joi.boolean(),
2451
- created_by: ContentPlatformModel.CreatedBySchema(),
2452
- date_meta: ContentPlatformModel.DateMeta(),
2453
- platform: Joi.array().items(Joi.string().allow("")),
2454
- slug: Joi.string().allow(""),
2332
+ key: Joi.string().allow(""),
2333
+ code: Joi.string().allow(""),
2334
+ number: Joi.string().allow(""),
2455
2335
  });
2456
2336
  }
2457
2337
 
2458
- /** @returns {Language} */
2459
- static Language() {
2338
+ /** @returns {PhoneSchema} */
2339
+ static PhoneSchema() {
2460
2340
  return Joi.object({
2461
- display: Joi.string().allow(""),
2341
+ active: Joi.boolean(),
2342
+ phone: Joi.array().items(ContentPlatformModel.PhoneProperties()),
2462
2343
  });
2463
2344
  }
2464
2345
 
2465
- /** @returns {LocaleLanguage} */
2466
- static LocaleLanguage() {
2346
+ /** @returns {EmailProperties} */
2347
+ static EmailProperties() {
2467
2348
  return Joi.object({
2468
- ar: ContentPlatformModel.Language(),
2469
- en_us: ContentPlatformModel.Language(),
2470
- hi: ContentPlatformModel.Language(),
2349
+ key: Joi.string().allow(""),
2350
+ value: Joi.string().allow(""),
2471
2351
  });
2472
2352
  }
2473
2353
 
2474
- /** @returns {Metaobject} */
2475
- static Metaobject() {
2354
+ /** @returns {EmailSchema} */
2355
+ static EmailSchema() {
2476
2356
  return Joi.object({
2477
- category: Joi.string().allow(""),
2478
- list_enabled: Joi.boolean(),
2479
- name: Joi.string().allow(""),
2480
- supported_validations: Joi.array().items(
2481
- ContentPlatformModel.SupportedValidationsSchema()
2482
- ),
2483
- type: Joi.string().allow(""),
2357
+ active: Joi.boolean(),
2358
+ email: Joi.array().items(ContentPlatformModel.EmailProperties()),
2484
2359
  });
2485
2360
  }
2486
2361
 
2487
- /** @returns {NavigationGetResponse} */
2488
- static NavigationGetResponse() {
2362
+ /** @returns {ContactSchema} */
2363
+ static ContactSchema() {
2489
2364
  return Joi.object({
2490
- items: Joi.array().items(ContentPlatformModel.NavigationSchema()),
2491
- page: ContentPlatformModel.Page(),
2365
+ phone: ContentPlatformModel.PhoneSchema(),
2366
+ email: ContentPlatformModel.EmailSchema(),
2492
2367
  });
2493
2368
  }
2494
2369
 
2495
- /** @returns {NavigationReference} */
2496
- static NavigationReference() {
2370
+ /** @returns {TagsSchema} */
2371
+ static TagsSchema() {
2497
2372
  return Joi.object({
2498
- _locale_language: ContentPlatformModel.LocaleLanguage(),
2499
- acl: Joi.array().items(Joi.string().allow("")),
2500
- action: ContentPlatformModel.Action(),
2501
- active: Joi.boolean(),
2502
- display: Joi.string().allow(""),
2503
- image: Joi.string().allow(""),
2504
- sort_order: Joi.number(),
2505
- sub_navigation: Joi.array().items(Joi.link("#NavigationReference")),
2506
- tags: Joi.array().items(Joi.string().allow("")),
2507
- type: Joi.string().allow(""),
2508
- }).id("NavigationReference");
2373
+ application: Joi.string().allow(""),
2374
+ _id: Joi.string().allow(""),
2375
+ tags: Joi.array().items(ContentPlatformModel.TagSchema()),
2376
+ });
2509
2377
  }
2510
2378
 
2511
- /** @returns {NavigationRequest} */
2512
- static NavigationRequest() {
2379
+ /** @returns {TagSchema} */
2380
+ static TagSchema() {
2513
2381
  return Joi.object({
2514
2382
  name: Joi.string().allow(""),
2515
- navigation: Joi.array().items(ContentPlatformModel.NavigationReference()),
2516
- orientation: ContentPlatformModel.Orientation(),
2517
- platform: Joi.array().items(Joi.string().allow("")),
2518
- slug: Joi.string().allow(""),
2383
+ url: Joi.string().allow(""),
2384
+ type: Joi.string().allow(""),
2385
+ sub_type: Joi.string().allow(""),
2386
+ _id: Joi.string().allow(""),
2387
+ position: Joi.string().allow(""),
2388
+ attributes: Joi.any(),
2389
+ content: Joi.string().allow(""),
2390
+ pages: Joi.array().items(Joi.any()),
2391
+ __source: ContentPlatformModel.TagSourceSchema(),
2519
2392
  });
2520
2393
  }
2521
2394
 
2522
- /** @returns {NavigationSchema} */
2523
- static NavigationSchema() {
2395
+ /** @returns {TagSourceSchema} */
2396
+ static TagSourceSchema() {
2524
2397
  return Joi.object({
2525
- _id: Joi.string().allow(""),
2526
- application: Joi.string().allow(""),
2527
- archived: Joi.boolean(),
2528
- created_by: ContentPlatformModel.CreatedBySchema(),
2529
- date_meta: ContentPlatformModel.DateMeta(),
2530
- name: Joi.string().allow(""),
2531
- navigation: Joi.array().items(ContentPlatformModel.NavigationReference()),
2532
- orientation: ContentPlatformModel.Orientation(),
2533
- platform: Joi.array().items(Joi.string().allow("")),
2534
- slug: Joi.string().allow(""),
2535
- version: Joi.number(),
2398
+ type: Joi.string().allow(""),
2399
+ id: Joi.string().allow(""),
2536
2400
  });
2537
2401
  }
2538
2402
 
2539
- /** @returns {NextSchedule} */
2540
- static NextSchedule() {
2403
+ /** @returns {ResourcesSchema} */
2404
+ static ResourcesSchema() {
2541
2405
  return Joi.object({
2542
- end: Joi.string().allow(""),
2543
- start: Joi.string().allow(""),
2406
+ resources: Joi.array().items(ContentPlatformModel.ResourceSchema()),
2544
2407
  });
2545
2408
  }
2546
2409
 
2547
- /** @returns {Orientation} */
2548
- static Orientation() {
2410
+ /** @returns {ResourceSchema} */
2411
+ static ResourceSchema() {
2549
2412
  return Joi.object({
2550
- landscape: Joi.array().items(Joi.string().allow("")),
2551
- portrait: Joi.array().items(Joi.string().allow("")),
2413
+ name: Joi.string().allow(""),
2414
+ key: Joi.string().allow(""),
2415
+ definitions_count: Joi.number(),
2552
2416
  });
2553
2417
  }
2554
2418
 
2555
- /** @returns {Page} */
2556
- static Page() {
2419
+ /** @returns {FieldValidations} */
2420
+ static FieldValidations() {
2557
2421
  return Joi.object({
2558
- current: Joi.number(),
2559
- has_next: Joi.boolean(),
2560
- has_previous: Joi.boolean(),
2561
- item_total: Joi.number(),
2562
- next_id: Joi.string().allow(""),
2563
- size: Joi.number(),
2564
- type: Joi.string().allow("").required(),
2422
+ name: Joi.string().allow(""),
2423
+ type: Joi.string().allow(""),
2424
+ value: Joi.any(),
2565
2425
  });
2566
2426
  }
2567
2427
 
2568
- /** @returns {PageGetResponse} */
2569
- static PageGetResponse() {
2428
+ /** @returns {FieldDefinitionSchema} */
2429
+ static FieldDefinitionSchema() {
2570
2430
  return Joi.object({
2571
- items: Joi.array().items(ContentPlatformModel.PageSchema()),
2431
+ _id: Joi.string().allow(""),
2432
+ creator: Joi.string().allow(""),
2433
+ resource: Joi.string().allow(""),
2434
+ name: Joi.string().allow(""),
2435
+ namespace: Joi.string().allow(""),
2436
+ key: Joi.string().allow(""),
2437
+ description: Joi.string().allow(""),
2438
+ type: Joi.string().allow(""),
2439
+ multi_value: Joi.boolean(),
2440
+ validations: Joi.array().items(ContentPlatformModel.FieldValidations()),
2441
+ company_id: Joi.string().allow(""),
2442
+ created_by: Joi.string().allow(""),
2443
+ updated_by: Joi.string().allow(""),
2444
+ required: Joi.boolean(),
2445
+ is_deleted: Joi.boolean(),
2446
+ created_at: Joi.string().allow(""),
2447
+ updated_at: Joi.string().allow(""),
2448
+ type_name: Joi.string().allow(""),
2449
+ invalid_fields_count: Joi.number(),
2450
+ });
2451
+ }
2452
+
2453
+ /** @returns {CustomFieldDefinitionsSchema} */
2454
+ static CustomFieldDefinitionsSchema() {
2455
+ return Joi.object({
2456
+ items: Joi.array().items(ContentPlatformModel.FieldDefinitionSchema()),
2572
2457
  page: ContentPlatformModel.Page(),
2573
2458
  });
2574
2459
  }
2575
2460
 
2576
- /** @returns {PageMetaSchema} */
2577
- static PageMetaSchema() {
2461
+ /** @returns {CustomFieldDefinitionRequestSchema} */
2462
+ static CustomFieldDefinitionRequestSchema() {
2578
2463
  return Joi.object({
2579
- application_id: Joi.string().allow(""),
2580
- custom_pages: Joi.array().items(ContentPlatformModel.PageSchema()),
2581
- system_pages: Joi.array().items(ContentPlatformModel.NavigationSchema()),
2464
+ resource: Joi.string().allow(""),
2465
+ type: Joi.string().allow(""),
2466
+ key: Joi.string().allow(""),
2467
+ namespace: Joi.string().allow(""),
2468
+ multi_value: Joi.boolean(),
2469
+ name: Joi.string().allow(""),
2470
+ description: Joi.string().allow(""),
2471
+ validations: Joi.array().items(ContentPlatformModel.FieldValidations()),
2582
2472
  });
2583
2473
  }
2584
2474
 
2585
- /** @returns {PagePublishRequest} */
2586
- static PagePublishRequest() {
2475
+ /** @returns {CustomObjectCustomFieldDefinitions} */
2476
+ static CustomObjectCustomFieldDefinitions() {
2587
2477
  return Joi.object({
2588
- publish: Joi.boolean(),
2478
+ id: Joi.string().allow(""),
2479
+ type: Joi.string().allow(""),
2480
+ description: Joi.string().allow(""),
2481
+ name: Joi.string().allow(""),
2482
+ multi_value: Joi.boolean(),
2483
+ required: Joi.boolean(),
2484
+ key: Joi.string().allow(""),
2485
+ validations: Joi.array().items(ContentPlatformModel.FieldValidations()),
2486
+ action: Joi.string().allow(""),
2589
2487
  });
2590
2488
  }
2591
2489
 
2592
- /** @returns {PageRequest} */
2593
- static PageRequest() {
2490
+ /** @returns {CustomObjectDefinitionUpdateRequestSchema} */
2491
+ static CustomObjectDefinitionUpdateRequestSchema() {
2594
2492
  return Joi.object({
2595
- _custom_json: Joi.any(),
2596
- _schedule: ContentPlatformModel.CronSchedule(),
2597
- application: Joi.string().allow(""),
2598
- author: ContentPlatformModel.Author(),
2599
- content: Joi.array().items(Joi.any()),
2600
- feature_image: ContentPlatformModel.Asset(),
2601
- orientation: Joi.string().allow(""),
2602
- published: Joi.boolean(),
2603
- reading_time: Joi.string().allow(""),
2604
- seo: ContentPlatformModel.SEO(),
2605
- slug: Joi.string().allow(""),
2606
- tags: Joi.array().items(Joi.string().allow("")),
2607
- title: Joi.string().allow(""),
2493
+ type: Joi.string().allow(""),
2494
+ description: Joi.string().allow(""),
2495
+ name: Joi.string().allow(""),
2496
+ display_name_key: Joi.string().allow(""),
2497
+ field_definitions: Joi.array().items(
2498
+ ContentPlatformModel.CustomObjectCustomFieldDefinitions()
2499
+ ),
2608
2500
  });
2609
2501
  }
2610
2502
 
2611
- /** @returns {PageSchema} */
2612
- static PageSchema() {
2503
+ /** @returns {CustomFieldDefinitionDetailResSchema} */
2504
+ static CustomFieldDefinitionDetailResSchema() {
2613
2505
  return Joi.object({
2614
- _custom_json: Joi.any(),
2615
- _id: Joi.string().allow(""),
2616
- _schedule: ContentPlatformModel.ScheduleSchema(),
2617
- application: Joi.string().allow(""),
2618
- archived: Joi.boolean(),
2619
- component_ids: Joi.array().items(Joi.string().allow("")),
2620
- content: Joi.array().items(Joi.any()),
2621
- content_path: Joi.string().allow(""),
2622
- created_by: ContentPlatformModel.CreatedBySchema(),
2623
- date_meta: ContentPlatformModel.DateMeta(),
2506
+ creator: Joi.string().allow(""),
2507
+ resource: Joi.string().allow(""),
2508
+ name: Joi.string().allow(""),
2509
+ namespace: Joi.string().allow(""),
2510
+ key: Joi.string().allow(""),
2624
2511
  description: Joi.string().allow(""),
2625
- feature_image: ContentPlatformModel.Asset(),
2626
- orientation: Joi.string().allow(""),
2627
- page_meta: Joi.array().items(Joi.any()),
2628
- platform: Joi.string().allow(""),
2629
- published: Joi.boolean(),
2630
- seo: ContentPlatformModel.SEO(),
2631
- slug: Joi.string().allow(""),
2632
- tags: Joi.array().items(Joi.string().allow("")),
2633
- title: Joi.string().allow(""),
2634
2512
  type: Joi.string().allow(""),
2635
- visibility: Joi.any(),
2513
+ multi_value: Joi.boolean(),
2514
+ company_id: Joi.string().allow(""),
2515
+ application_id: Joi.string().allow(""),
2516
+ created_by: Joi.string().allow(""),
2517
+ updated_by: Joi.string().allow(""),
2518
+ required: Joi.boolean(),
2519
+ is_deleted: Joi.boolean(),
2520
+ _id: Joi.string().allow(""),
2521
+ validations: Joi.array().items(Joi.any()),
2522
+ created_at: Joi.string().allow(""),
2523
+ updated_at: Joi.string().allow(""),
2636
2524
  });
2637
2525
  }
2638
2526
 
2639
- /** @returns {PageSpec} */
2640
- static PageSpec() {
2527
+ /** @returns {CustomDataDeleteSchema} */
2528
+ static CustomDataDeleteSchema() {
2641
2529
  return Joi.object({
2642
- specifications: Joi.array().items(ContentPlatformModel.PageSpecItem()),
2530
+ success: Joi.boolean(),
2531
+ message: Joi.string().allow(""),
2643
2532
  });
2644
2533
  }
2645
2534
 
2646
- /** @returns {PageSpecItem} */
2647
- static PageSpecItem() {
2535
+ /** @returns {CustomFieldValue} */
2536
+ static CustomFieldValue() {
2648
2537
  return Joi.object({
2649
- display_name: Joi.string().allow(""),
2650
- page_type: Joi.string().allow(""),
2651
- params: Joi.array().items(ContentPlatformModel.PageSpecParam()),
2652
- query: Joi.array().items(ContentPlatformModel.PageSpecParam()),
2538
+ value: Joi.any(),
2653
2539
  });
2654
2540
  }
2655
2541
 
2656
- /** @returns {PageSpecParam} */
2657
- static PageSpecParam() {
2542
+ /** @returns {CustomFieldSchema} */
2543
+ static CustomFieldSchema() {
2544
+ return Joi.object({
2545
+ _id: Joi.string().allow(""),
2546
+ namespace: Joi.string().allow(""),
2547
+ key: Joi.string().allow(""),
2548
+ resource: Joi.string().allow(""),
2549
+ creator: Joi.string().allow(""),
2550
+ value: Joi.array().items(ContentPlatformModel.CustomFieldValue()),
2551
+ resource_id: Joi.string().allow(""),
2552
+ type: Joi.string().allow(""),
2553
+ multi_value: Joi.boolean(),
2554
+ company_id: Joi.string().allow(""),
2555
+ definition_id: Joi.string().allow(""),
2556
+ has_invalid_values: Joi.boolean(),
2557
+ invalid_value_errors: Joi.array().items(Joi.any()),
2558
+ created_by: Joi.string().allow(""),
2559
+ is_deleted: Joi.boolean(),
2560
+ created_at: Joi.string().allow(""),
2561
+ updated_at: Joi.string().allow(""),
2562
+ });
2563
+ }
2564
+
2565
+ /** @returns {CustomFieldsResponseSchema} */
2566
+ static CustomFieldsResponseSchema() {
2658
2567
  return Joi.object({
2659
- key: Joi.string().allow(""),
2660
- required: Joi.boolean(),
2568
+ items: Joi.array().items(ContentPlatformModel.CustomFieldSchema()),
2569
+ page: ContentPlatformModel.Page(),
2661
2570
  });
2662
2571
  }
2663
2572
 
2664
- /** @returns {PathMappingSchema} */
2665
- static PathMappingSchema() {
2573
+ /** @returns {CustomFieldsResponseByResourceIdSchema} */
2574
+ static CustomFieldsResponseByResourceIdSchema() {
2666
2575
  return Joi.object({
2667
- __source: ContentPlatformModel.PathSourceSchema(),
2668
- _id: Joi.string().allow(""),
2669
- application: Joi.string().allow(""),
2670
- created_at: Joi.string().allow(""),
2671
- redirect_from: Joi.string().allow(""),
2672
- redirect_to: Joi.string().allow(""),
2673
- updated_at: Joi.string().allow(""),
2576
+ items: Joi.array().items(ContentPlatformModel.CustomFieldSchema()),
2674
2577
  });
2675
2578
  }
2676
2579
 
2677
- /** @returns {PathSourceSchema} */
2678
- static PathSourceSchema() {
2580
+ /** @returns {CustomField} */
2581
+ static CustomField() {
2679
2582
  return Joi.object({
2680
- id: Joi.string().allow(""),
2681
- type: Joi.string().allow(""),
2583
+ value: Joi.array().items(Joi.any()),
2584
+ definition_id: Joi.string().allow(""),
2682
2585
  });
2683
2586
  }
2684
2587
 
2685
- /** @returns {PhoneProperties} */
2686
- static PhoneProperties() {
2588
+ /** @returns {CustomFieldRequestSchema} */
2589
+ static CustomFieldRequestSchema() {
2687
2590
  return Joi.object({
2688
- code: Joi.string().allow(""),
2689
- key: Joi.string().allow(""),
2690
- number: Joi.string().allow(""),
2591
+ fields: Joi.array().items(ContentPlatformModel.CustomField()),
2691
2592
  });
2692
2593
  }
2693
2594
 
2694
- /** @returns {PhoneSchema} */
2695
- static PhoneSchema() {
2595
+ /** @returns {CustomObjectSchema} */
2596
+ static CustomObjectSchema() {
2696
2597
  return Joi.object({
2697
- active: Joi.boolean(),
2698
- phone: Joi.array().items(ContentPlatformModel.PhoneProperties()),
2598
+ _id: Joi.string().allow(""),
2599
+ creator: Joi.string().allow(""),
2600
+ company_id: Joi.string().allow(""),
2601
+ application_id: Joi.string().allow(""),
2602
+ created_by: Joi.string().allow(""),
2603
+ updated_by: Joi.string().allow(""),
2604
+ status: Joi.string().allow(""),
2605
+ type: Joi.string().allow(""),
2606
+ display_name: Joi.string().allow(""),
2607
+ definition_id: Joi.string().allow(""),
2608
+ fields: Joi.array().items(ContentPlatformModel.CustomFieldSchema()),
2699
2609
  });
2700
2610
  }
2701
2611
 
2702
- /** @returns {Product} */
2703
- static Product() {
2612
+ /** @returns {CustomObjectDefinitionRequestSchema} */
2613
+ static CustomObjectDefinitionRequestSchema() {
2704
2614
  return Joi.object({
2705
- category: Joi.string().allow(""),
2706
- list_enabled: Joi.boolean(),
2615
+ type: Joi.string().allow(""),
2616
+ description: Joi.string().allow(""),
2707
2617
  name: Joi.string().allow(""),
2708
- supported_validations: Joi.array().items(
2709
- ContentPlatformModel.SupportedValidationsSchema()
2618
+ display_name_key: Joi.string().allow(""),
2619
+ field_definitions: Joi.array().items(
2620
+ ContentPlatformModel.CustomObjectCustomFieldDefinitions()
2710
2621
  ),
2711
- type: Joi.string().allow(""),
2712
2622
  });
2713
2623
  }
2714
2624
 
2715
- /** @returns {RemoveHandpickedSchema} */
2716
- static RemoveHandpickedSchema() {
2625
+ /** @returns {CustomObjectCustomFieldDefinitionResSchema} */
2626
+ static CustomObjectCustomFieldDefinitionResSchema() {
2717
2627
  return Joi.object({
2718
- tags: Joi.array().items(Joi.string().allow("")),
2628
+ creator: Joi.string().allow(""),
2629
+ resource: Joi.string().allow(""),
2630
+ name: Joi.string().allow(""),
2631
+ namespace: Joi.string().allow(""),
2632
+ key: Joi.string().allow(""),
2633
+ description: Joi.string().allow(""),
2634
+ type: Joi.string().allow(""),
2635
+ multi_value: Joi.boolean(),
2636
+ validations: Joi.array().items(ContentPlatformModel.FieldValidations()),
2637
+ company_id: Joi.string().allow(""),
2638
+ created_by: Joi.string().allow(""),
2639
+ metaobject_definition_id: Joi.string().allow(""),
2640
+ required: Joi.boolean(),
2641
+ is_deleted: Joi.boolean(),
2642
+ _id: Joi.string().allow(""),
2643
+ created_at: Joi.string().allow(""),
2644
+ updated_at: Joi.string().allow(""),
2719
2645
  });
2720
2646
  }
2721
2647
 
2722
- /** @returns {ResourceContent} */
2723
- static ResourceContent() {
2648
+ /** @returns {CustomObjectDefinitionSchema} */
2649
+ static CustomObjectDefinitionSchema() {
2724
2650
  return Joi.object({
2651
+ _id: Joi.string().allow(""),
2652
+ name: Joi.string().allow(""),
2725
2653
  type: Joi.string().allow(""),
2726
- value: Joi.string().allow(""),
2654
+ display_name_key: Joi.string().allow(""),
2655
+ description: Joi.string().allow(""),
2656
+ creator: Joi.string().allow(""),
2657
+ created_by: Joi.string().allow(""),
2658
+ updated_by: Joi.string().allow(""),
2659
+ field_definitions: Joi.array().items(
2660
+ ContentPlatformModel.CustomObjectCustomFieldDefinitionResSchema()
2661
+ ),
2727
2662
  });
2728
2663
  }
2729
2664
 
2730
- /** @returns {ResourceSchema} */
2731
- static ResourceSchema() {
2665
+ /** @returns {CustomObjectDefinitionDeleteResponseSchema} */
2666
+ static CustomObjectDefinitionDeleteResponseSchema() {
2732
2667
  return Joi.object({
2733
- definitions_count: Joi.number(),
2734
- key: Joi.string().allow(""),
2735
- name: Joi.string().allow(""),
2668
+ success: Joi.boolean(),
2669
+ message: Joi.string().allow(""),
2736
2670
  });
2737
2671
  }
2738
2672
 
2739
- /** @returns {ResourcesSchema} */
2740
- static ResourcesSchema() {
2673
+ /** @returns {CustomObjectEntryBulkUploadResponse} */
2674
+ static CustomObjectEntryBulkUploadResponse() {
2741
2675
  return Joi.object({
2742
- resources: Joi.array().items(ContentPlatformModel.ResourceSchema()),
2676
+ url: Joi.string().allow(""),
2677
+ total_records: Joi.number(),
2743
2678
  });
2744
2679
  }
2745
2680
 
2746
- /** @returns {ScheduleSchema} */
2747
- static ScheduleSchema() {
2681
+ /** @returns {CustomObjectListItemDefinationSchema} */
2682
+ static CustomObjectListItemDefinationSchema() {
2748
2683
  return Joi.object({
2749
- cron: Joi.string().allow(""),
2750
- duration: Joi.number(),
2751
- end: Joi.string().allow(""),
2752
- next_schedule: Joi.array().items(ContentPlatformModel.NextSchedule()),
2753
- start: Joi.string().allow(""),
2684
+ _id: Joi.string().allow(""),
2685
+ name: Joi.string().allow(""),
2686
+ type: Joi.string().allow(""),
2754
2687
  });
2755
2688
  }
2756
2689
 
2757
- /** @returns {SEO} */
2758
- static SEO() {
2690
+ /** @returns {CustomObjectListItemSchema} */
2691
+ static CustomObjectListItemSchema() {
2759
2692
  return Joi.object({
2760
- breadcrumb: Joi.array().items(ContentPlatformModel.SEObreadcrumb()),
2761
- canonical_url: Joi.string().allow(""),
2762
- description: Joi.string().allow(""),
2763
- image: ContentPlatformModel.SEOImage(),
2764
- meta_tags: Joi.array().items(ContentPlatformModel.SEOMetaItem()),
2765
- sitemap: ContentPlatformModel.SEOSitemap(),
2766
- title: Joi.string().allow(""),
2693
+ _id: Joi.string().allow(""),
2694
+ definition_id: Joi.string().allow(""),
2695
+ status: Joi.string().allow(""),
2696
+ updated_at: Joi.string().allow(""),
2697
+ display_name: Joi.string().allow(""),
2698
+ definition: ContentPlatformModel.CustomObjectListItemDefinationSchema(),
2699
+ references: Joi.number(),
2767
2700
  });
2768
2701
  }
2769
2702
 
2770
- /** @returns {SEObreadcrumb} */
2771
- static SEObreadcrumb() {
2703
+ /** @returns {CustomObjectsSchema} */
2704
+ static CustomObjectsSchema() {
2772
2705
  return Joi.object({
2773
- action: ContentPlatformModel.Action(),
2774
- url: Joi.string().allow(""),
2706
+ items: Joi.array().items(
2707
+ ContentPlatformModel.CustomObjectListItemSchema()
2708
+ ),
2709
+ page: ContentPlatformModel.Page(),
2775
2710
  });
2776
2711
  }
2777
2712
 
2778
- /** @returns {SeoComponent} */
2779
- static SeoComponent() {
2713
+ /** @returns {CustomObjectFieldSchema} */
2714
+ static CustomObjectFieldSchema() {
2780
2715
  return Joi.object({
2781
- seo: ContentPlatformModel.SeoSchema(),
2716
+ _id: Joi.string().allow(""),
2717
+ key: Joi.string().allow(""),
2718
+ value: Joi.array().items(Joi.any()),
2719
+ type: Joi.string().allow(""),
2720
+ definition_id: Joi.string().allow(""),
2782
2721
  });
2783
2722
  }
2784
2723
 
2785
- /** @returns {SEOImage} */
2786
- static SEOImage() {
2724
+ /** @returns {CustomObjectByIdSchema} */
2725
+ static CustomObjectByIdSchema() {
2787
2726
  return Joi.object({
2788
- url: Joi.string().allow(""),
2727
+ _id: Joi.string().allow(""),
2728
+ status: Joi.string().allow(""),
2729
+ display_name: Joi.string().allow(""),
2730
+ definition: ContentPlatformModel.CustomObjectListItemDefinationSchema(),
2731
+ references: Joi.array().items(Joi.any()),
2732
+ fields: Joi.array().items(ContentPlatformModel.CustomObjectFieldSchema()),
2789
2733
  });
2790
2734
  }
2791
2735
 
2792
- /** @returns {SEOMetaItem} */
2793
- static SEOMetaItem() {
2736
+ /** @returns {CustomObjectBulkEntryInitiateDownload} */
2737
+ static CustomObjectBulkEntryInitiateDownload() {
2794
2738
  return Joi.object({
2795
- items: Joi.array().items(ContentPlatformModel.SEOMetaItems()),
2796
- title: Joi.string().allow(""),
2739
+ message: Joi.string().allow(""),
2740
+ task_id: Joi.string().allow(""),
2797
2741
  });
2798
2742
  }
2799
2743
 
2800
- /** @returns {SEOMetaItems} */
2801
- static SEOMetaItems() {
2744
+ /** @returns {CustomObjectMetaSchema} */
2745
+ static CustomObjectMetaSchema() {
2802
2746
  return Joi.object({
2803
- key: Joi.string().allow(""),
2804
- value: Joi.string().allow(""),
2747
+ mo_total_count: Joi.number(),
2748
+ mo_success_count: Joi.number(),
2749
+ mo_error_count: Joi.number(),
2750
+ mo_defintion_type: Joi.string().allow(""),
2805
2751
  });
2806
2752
  }
2807
2753
 
2808
- /** @returns {SeoSchema} */
2809
- static SeoSchema() {
2754
+ /** @returns {CustomObjectJobSchema} */
2755
+ static CustomObjectJobSchema() {
2810
2756
  return Joi.object({
2811
2757
  _id: Joi.string().allow(""),
2812
- additional_sitemap: Joi.string().allow(""),
2813
- app: Joi.string().allow(""),
2814
- cannonical_enabled: Joi.boolean(),
2758
+ jobs: Joi.array().items(Joi.string().allow("")),
2759
+ finished_jobs: Joi.array().items(Joi.string().allow("")),
2760
+ error_jobs: Joi.array().items(Joi.string().allow("")),
2761
+ errors_occured: Joi.array().items(Joi.string().allow("")),
2762
+ company_id: Joi.string().allow(""),
2763
+ creator: Joi.string().allow(""),
2764
+ url: Joi.string().allow(""),
2765
+ status: Joi.string().allow(""),
2766
+ action_type: Joi.string().allow(""),
2767
+ entity: Joi.string().allow(""),
2768
+ error_url: Joi.string().allow(""),
2769
+ finished_count: Joi.number(),
2770
+ error_count: Joi.number(),
2771
+ success_count: Joi.number(),
2772
+ total_jobs: Joi.number(),
2773
+ meta: ContentPlatformModel.CustomObjectMetaSchema(),
2774
+ created_by: Joi.string().allow(""),
2815
2775
  created_at: Joi.string().allow(""),
2816
- custom_meta_tags: Joi.array().items(ContentPlatformModel.CustomMetaTag()),
2817
- details: ContentPlatformModel.Detail(),
2818
- robots_txt: Joi.string().allow(""),
2819
- sitemap_enabled: Joi.boolean(),
2820
2776
  updated_at: Joi.string().allow(""),
2821
2777
  });
2822
2778
  }
2823
2779
 
2824
- /** @returns {SeoSchemaComponent} */
2825
- static SeoSchemaComponent() {
2780
+ /** @returns {CustomObjectBulkEntry} */
2781
+ static CustomObjectBulkEntry() {
2826
2782
  return Joi.object({
2827
- items: Joi.array().items(ContentPlatformModel.SEOSchemaMarkupTemplate()),
2783
+ items: Joi.array().items(ContentPlatformModel.CustomObjectJobSchema()),
2828
2784
  page: ContentPlatformModel.Page(),
2829
2785
  });
2830
2786
  }
2831
2787
 
2832
- /** @returns {SEOSchemaMarkupTemplate} */
2833
- static SEOSchemaMarkupTemplate() {
2788
+ /** @returns {CustomFieldTypeSchema} */
2789
+ static CustomFieldTypeSchema() {
2834
2790
  return Joi.object({
2835
- active: Joi.boolean(),
2836
- application: Joi.string().allow(""),
2837
- created_at: Joi.string().allow(""),
2838
- description: Joi.string().allow(""),
2839
- id: Joi.string().allow(""),
2840
- page_type: Joi.string().allow(""),
2841
- schema: Joi.string().allow(""),
2842
- target_json: Joi.object().pattern(/\S/, Joi.any()),
2843
- title: Joi.string().allow(""),
2844
- updated_at: Joi.string().allow(""),
2791
+ string_single_line: ContentPlatformModel.StringSingleLine(),
2792
+ string_multi_line: ContentPlatformModel.StringMultiLine(),
2793
+ dropdown: ContentPlatformModel.Dropdown(),
2794
+ integer: ContentPlatformModel.Integer(),
2795
+ float_type: ContentPlatformModel.FloatType(),
2796
+ boolean_type: ContentPlatformModel.BooleanType(),
2797
+ date: ContentPlatformModel.Date(),
2798
+ datetime: ContentPlatformModel.Datetime(),
2799
+ json: ContentPlatformModel.Json(),
2800
+ file: ContentPlatformModel.File(),
2801
+ url: ContentPlatformModel.Url(),
2802
+ metaobject: ContentPlatformModel.Metaobject(),
2803
+ product: ContentPlatformModel.Product(),
2845
2804
  });
2846
2805
  }
2847
2806
 
2848
- /** @returns {SEOSchemaMarkupTemplateRequestBody} */
2849
- static SEOSchemaMarkupTemplateRequestBody() {
2807
+ /** @returns {SupportedValidationsMetaExampleSchema} */
2808
+ static SupportedValidationsMetaExampleSchema() {
2850
2809
  return Joi.object({
2851
- active: Joi.boolean(),
2852
- created_at: Joi.string().allow(""),
2853
- description: Joi.string().allow(""),
2854
- page_type: Joi.string().allow(""),
2855
- schema: Joi.string().allow(""),
2856
- target_json: Joi.object().pattern(/\S/, Joi.any()),
2857
- title: Joi.string().allow(""),
2858
- updated_at: Joi.string().allow(""),
2810
+ name: Joi.string().allow(""),
2811
+ value: Joi.string().allow(""),
2859
2812
  });
2860
2813
  }
2861
2814
 
2862
- /** @returns {SEOSitemap} */
2863
- static SEOSitemap() {
2815
+ /** @returns {SupportedValidationsMetaSchema} */
2816
+ static SupportedValidationsMetaSchema() {
2864
2817
  return Joi.object({
2865
- frequency: Joi.string().allow(""),
2866
- priority: Joi.number(),
2818
+ examples: Joi.array().items(
2819
+ ContentPlatformModel.SupportedValidationsMetaExampleSchema()
2820
+ ),
2867
2821
  });
2868
2822
  }
2869
2823
 
2870
- /** @returns {SlideshowGetResponse} */
2871
- static SlideshowGetResponse() {
2824
+ /** @returns {SupportedValidationsSchema} */
2825
+ static SupportedValidationsSchema() {
2872
2826
  return Joi.object({
2873
- items: Joi.array().items(ContentPlatformModel.SlideshowSchema()),
2874
- page: ContentPlatformModel.Page(),
2827
+ name: Joi.string().allow(""),
2828
+ type: Joi.string().allow(""),
2829
+ display: Joi.string().allow(""),
2830
+ required: Joi.boolean(),
2831
+ meta: ContentPlatformModel.SupportedValidationsMetaSchema(),
2875
2832
  });
2876
2833
  }
2877
2834
 
2878
- /** @returns {SlideshowMedia} */
2879
- static SlideshowMedia() {
2835
+ /** @returns {StringSingleLine} */
2836
+ static StringSingleLine() {
2880
2837
  return Joi.object({
2881
- action: ContentPlatformModel.Action(),
2882
- auto_decide_duration: Joi.boolean(),
2883
- bg_color: Joi.string().allow(""),
2884
- duration: Joi.number(),
2838
+ name: Joi.string().allow(""),
2839
+ list_enabled: Joi.boolean(),
2840
+ category: Joi.string().allow(""),
2885
2841
  type: Joi.string().allow(""),
2886
- url: Joi.string().allow(""),
2842
+ supported_validations: Joi.array().items(
2843
+ ContentPlatformModel.SupportedValidationsSchema()
2844
+ ),
2887
2845
  });
2888
2846
  }
2889
2847
 
2890
- /** @returns {SlideshowRequest} */
2891
- static SlideshowRequest() {
2848
+ /** @returns {StringMultiLine} */
2849
+ static StringMultiLine() {
2892
2850
  return Joi.object({
2893
- active: Joi.boolean(),
2894
- configuration: ContentPlatformModel.ConfigurationSchema(),
2895
- media: ContentPlatformModel.SlideshowMedia(),
2896
- platform: Joi.string().allow(""),
2897
- slug: Joi.string().allow(""),
2851
+ name: Joi.string().allow(""),
2852
+ list_enabled: Joi.boolean(),
2853
+ category: Joi.string().allow(""),
2854
+ type: Joi.string().allow(""),
2855
+ supported_validations: Joi.array().items(
2856
+ ContentPlatformModel.SupportedValidationsSchema()
2857
+ ),
2898
2858
  });
2899
2859
  }
2900
2860
 
2901
- /** @returns {SlideshowSchema} */
2902
- static SlideshowSchema() {
2861
+ /** @returns {Dropdown} */
2862
+ static Dropdown() {
2903
2863
  return Joi.object({
2904
- _custom_json: Joi.any(),
2905
- _id: Joi.string().allow(""),
2906
- active: Joi.boolean(),
2907
- application: Joi.string().allow(""),
2908
- archived: Joi.boolean(),
2909
- configuration: ContentPlatformModel.ConfigurationSchema(),
2910
- date_meta: ContentPlatformModel.DateMeta(),
2911
- media: Joi.array().items(ContentPlatformModel.SlideshowMedia()),
2912
- platform: Joi.string().allow(""),
2913
- slug: Joi.string().allow(""),
2864
+ name: Joi.string().allow(""),
2865
+ list_enabled: Joi.boolean(),
2866
+ category: Joi.string().allow(""),
2867
+ type: Joi.string().allow(""),
2868
+ supported_validations: Joi.array().items(
2869
+ ContentPlatformModel.SupportedValidationsSchema()
2870
+ ),
2914
2871
  });
2915
2872
  }
2916
2873
 
2917
- /** @returns {StringMultiLine} */
2918
- static StringMultiLine() {
2874
+ /** @returns {Integer} */
2875
+ static Integer() {
2919
2876
  return Joi.object({
2920
- category: Joi.string().allow(""),
2921
- list_enabled: Joi.boolean(),
2922
2877
  name: Joi.string().allow(""),
2878
+ list_enabled: Joi.boolean(),
2879
+ type: Joi.string().allow(""),
2880
+ category: Joi.string().allow(""),
2923
2881
  supported_validations: Joi.array().items(
2924
2882
  ContentPlatformModel.SupportedValidationsSchema()
2925
2883
  ),
2884
+ });
2885
+ }
2886
+
2887
+ /** @returns {FloatType} */
2888
+ static FloatType() {
2889
+ return Joi.object({
2890
+ name: Joi.string().allow(""),
2891
+ list_enabled: Joi.boolean(),
2926
2892
  type: Joi.string().allow(""),
2893
+ category: Joi.string().allow(""),
2894
+ supported_validations: Joi.array().items(
2895
+ ContentPlatformModel.SupportedValidationsSchema()
2896
+ ),
2927
2897
  });
2928
2898
  }
2929
2899
 
2930
- /** @returns {StringSingleLine} */
2931
- static StringSingleLine() {
2900
+ /** @returns {BooleanType} */
2901
+ static BooleanType() {
2932
2902
  return Joi.object({
2903
+ name: Joi.string().allow(""),
2933
2904
  category: Joi.string().allow(""),
2934
2905
  list_enabled: Joi.boolean(),
2935
- name: Joi.string().allow(""),
2906
+ type: Joi.string().allow(""),
2936
2907
  supported_validations: Joi.array().items(
2937
2908
  ContentPlatformModel.SupportedValidationsSchema()
2938
2909
  ),
2939
- type: Joi.string().allow(""),
2940
2910
  });
2941
2911
  }
2942
2912
 
2943
- /** @returns {Support} */
2944
- static Support() {
2913
+ /** @returns {Date} */
2914
+ static Date() {
2945
2915
  return Joi.object({
2946
- _id: Joi.string().allow(""),
2947
- application: Joi.string().allow(""),
2948
- config_type: Joi.string().allow(""),
2949
- contact: ContentPlatformModel.ContactSchema(),
2950
- created: Joi.boolean(),
2951
- created_at: Joi.string().allow(""),
2952
- updated_at: Joi.string().allow(""),
2916
+ name: Joi.string().allow(""),
2917
+ list_enabled: Joi.boolean(),
2918
+ category: Joi.string().allow(""),
2919
+ type: Joi.string().allow(""),
2920
+ supported_validations: Joi.array().items(
2921
+ ContentPlatformModel.SupportedValidationsSchema()
2922
+ ),
2953
2923
  });
2954
2924
  }
2955
2925
 
2956
- /** @returns {SupportedValidationsMetaExampleSchema} */
2957
- static SupportedValidationsMetaExampleSchema() {
2926
+ /** @returns {Datetime} */
2927
+ static Datetime() {
2958
2928
  return Joi.object({
2959
2929
  name: Joi.string().allow(""),
2960
- value: Joi.string().allow(""),
2930
+ category: Joi.string().allow(""),
2931
+ list_enabled: Joi.boolean(),
2932
+ type: Joi.string().allow(""),
2933
+ supported_validations: Joi.array().items(
2934
+ ContentPlatformModel.SupportedValidationsSchema()
2935
+ ),
2961
2936
  });
2962
2937
  }
2963
2938
 
2964
- /** @returns {SupportedValidationsMetaSchema} */
2965
- static SupportedValidationsMetaSchema() {
2939
+ /** @returns {Json} */
2940
+ static Json() {
2966
2941
  return Joi.object({
2967
- examples: Joi.array().items(
2968
- ContentPlatformModel.SupportedValidationsMetaExampleSchema()
2942
+ name: Joi.string().allow(""),
2943
+ list_enabled: Joi.boolean(),
2944
+ category: Joi.string().allow(""),
2945
+ type: Joi.string().allow(""),
2946
+ supported_validations: Joi.array().items(
2947
+ ContentPlatformModel.SupportedValidationsSchema()
2969
2948
  ),
2970
2949
  });
2971
2950
  }
2972
2951
 
2973
- /** @returns {SupportedValidationsSchema} */
2974
- static SupportedValidationsSchema() {
2952
+ /** @returns {File} */
2953
+ static File() {
2975
2954
  return Joi.object({
2976
- display: Joi.string().allow(""),
2977
- meta: ContentPlatformModel.SupportedValidationsMetaSchema(),
2978
2955
  name: Joi.string().allow(""),
2979
- required: Joi.boolean(),
2956
+ category: Joi.string().allow(""),
2957
+ list_enabled: Joi.boolean(),
2980
2958
  type: Joi.string().allow(""),
2959
+ supported_validations: Joi.array().items(
2960
+ ContentPlatformModel.SupportedValidationsSchema()
2961
+ ),
2981
2962
  });
2982
2963
  }
2983
2964
 
2984
- /** @returns {TagDeleteSuccessResponse} */
2985
- static TagDeleteSuccessResponse() {
2965
+ /** @returns {Url} */
2966
+ static Url() {
2986
2967
  return Joi.object({
2987
- success: Joi.boolean(),
2968
+ name: Joi.string().allow(""),
2969
+ list_enabled: Joi.boolean(),
2970
+ type: Joi.string().allow(""),
2971
+ supported_validations: Joi.array().items(
2972
+ ContentPlatformModel.SupportedValidationsSchema()
2973
+ ),
2988
2974
  });
2989
2975
  }
2990
2976
 
2991
- /** @returns {TagSchema} */
2992
- static TagSchema() {
2977
+ /** @returns {Metaobject} */
2978
+ static Metaobject() {
2993
2979
  return Joi.object({
2994
- __source: ContentPlatformModel.TagSourceSchema(),
2995
- _id: Joi.string().allow(""),
2996
- attributes: Joi.any(),
2997
- content: Joi.string().allow(""),
2998
2980
  name: Joi.string().allow(""),
2999
- pages: Joi.array().items(Joi.any()),
3000
- position: Joi.string().allow(""),
3001
- sub_type: Joi.string().allow(""),
2981
+ list_enabled: Joi.boolean(),
2982
+ category: Joi.string().allow(""),
3002
2983
  type: Joi.string().allow(""),
3003
- url: Joi.string().allow(""),
2984
+ supported_validations: Joi.array().items(
2985
+ ContentPlatformModel.SupportedValidationsSchema()
2986
+ ),
3004
2987
  });
3005
2988
  }
3006
2989
 
3007
- /** @returns {TagSourceSchema} */
3008
- static TagSourceSchema() {
2990
+ /** @returns {Product} */
2991
+ static Product() {
3009
2992
  return Joi.object({
3010
- id: Joi.string().allow(""),
2993
+ name: Joi.string().allow(""),
2994
+ list_enabled: Joi.boolean(),
2995
+ category: Joi.string().allow(""),
3011
2996
  type: Joi.string().allow(""),
2997
+ supported_validations: Joi.array().items(
2998
+ ContentPlatformModel.SupportedValidationsSchema()
2999
+ ),
3012
3000
  });
3013
3001
  }
3014
3002
 
3015
- /** @returns {TagsSchema} */
3016
- static TagsSchema() {
3003
+ /** @returns {CustomObjectEntry} */
3004
+ static CustomObjectEntry() {
3017
3005
  return Joi.object({
3018
3006
  _id: Joi.string().allow(""),
3019
- application: Joi.string().allow(""),
3020
- tags: Joi.array().items(ContentPlatformModel.TagSchema()),
3007
+ name: Joi.string().allow(""),
3008
+ type: Joi.string().allow(""),
3009
+ updated_at: Joi.string().allow(""),
3010
+ entries_count: Joi.number(),
3011
+ fields_count: Joi.number(),
3021
3012
  });
3022
3013
  }
3023
3014
 
3024
- /** @returns {UpdateFaqCategoryRequestSchema} */
3025
- static UpdateFaqCategoryRequestSchema() {
3015
+ /** @returns {CustomObjectDefinitionsSchema} */
3016
+ static CustomObjectDefinitionsSchema() {
3026
3017
  return Joi.object({
3027
- category: ContentPlatformModel.CategorySchema(),
3018
+ items: Joi.array().items(ContentPlatformModel.CustomObjectEntry()),
3019
+ page: ContentPlatformModel.Page(),
3028
3020
  });
3029
3021
  }
3030
3022
 
3031
- /** @returns {UpdateHandpickedSchema} */
3032
- static UpdateHandpickedSchema() {
3023
+ /** @returns {CustomObjectEntryFieldSchema} */
3024
+ static CustomObjectEntryFieldSchema() {
3033
3025
  return Joi.object({
3034
- tag: ContentPlatformModel.HandpickedTagSchema(),
3026
+ definition_id: Joi.string().allow(""),
3027
+ value: Joi.array().items(Joi.any()),
3035
3028
  });
3036
3029
  }
3037
3030
 
3038
- /** @returns {Url} */
3039
- static Url() {
3031
+ /** @returns {CustomObjectRequestSchema} */
3032
+ static CustomObjectRequestSchema() {
3040
3033
  return Joi.object({
3041
- list_enabled: Joi.boolean(),
3042
- name: Joi.string().allow(""),
3043
- supported_validations: Joi.array().items(
3044
- ContentPlatformModel.SupportedValidationsSchema()
3034
+ status: Joi.string().allow(""),
3035
+ definition_id: Joi.string().allow(""),
3036
+ fields: Joi.array().items(
3037
+ ContentPlatformModel.CustomObjectEntryFieldSchema()
3045
3038
  ),
3046
- type: Joi.string().allow(""),
3039
+ });
3040
+ }
3041
+
3042
+ /** @returns {CustomObjectBulkSchema} */
3043
+ static CustomObjectBulkSchema() {
3044
+ return Joi.object({
3045
+ url: Joi.string().allow(""),
3046
+ total_records: Joi.number(),
3047
3047
  });
3048
3048
  }
3049
3049