@gofynd/fdk-client-javascript 3.15.0 → 3.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/Order/OrderApplicationClient.d.ts +11 -1
- package/sdk/application/Order/OrderApplicationClient.js +50 -1
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +0 -20
- package/sdk/application/Payment/PaymentApplicationClient.js +0 -77
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +2 -2
- package/sdk/partner/Lead/LeadPartnerModel.js +1 -1
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +2 -2
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +1 -1
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +2 -2
- package/sdk/partner/Webhook/WebhookPartnerModel.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +2 -2
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +1 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +10 -0
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +95 -0
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +47 -1
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +29 -0
- package/sdk/platform/Cart/CartPlatformModel.d.ts +39 -7
- package/sdk/platform/Cart/CartPlatformModel.js +24 -3
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +13 -16
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +17 -20
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +10 -11
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +2 -2
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1 -1
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +58 -37
- package/sdk/platform/Catalog/CatalogPlatformModel.js +33 -28
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +2 -2
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +2 -2
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +2 -2
- package/sdk/platform/Communication/CommunicationPlatformModel.js +1 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +2 -2
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +1 -1
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +2 -2
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +1 -1
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +11 -1
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +85 -1
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +24 -1
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +15 -0
- package/sdk/platform/Content/ContentPlatformModel.d.ts +243 -3
- package/sdk/platform/Content/ContentPlatformModel.js +164 -1
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformModel.js +1 -1
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformModel.js +1 -1
- package/sdk/platform/Order/OrderPlatformModel.d.ts +2 -2
- package/sdk/platform/Order/OrderPlatformModel.js +1 -1
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +0 -23
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +0 -161
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +1 -19
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +0 -24
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +1 -159
- package/sdk/platform/Payment/PaymentPlatformModel.js +0 -112
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.js +1 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +67 -49
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +45 -42
- package/sdk/platform/Share/SharePlatformModel.d.ts +2 -2
- package/sdk/platform/Share/SharePlatformModel.js +1 -1
- package/sdk/platform/User/UserPlatformModel.d.ts +14 -0
- package/sdk/platform/User/UserPlatformModel.js +6 -0
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +2 -2
- package/sdk/platform/Webhook/WebhookPlatformModel.js +1 -1
|
@@ -353,6 +353,7 @@ export = ContentPlatformModel;
|
|
|
353
353
|
* the HTML (inline) or linked externally (external).
|
|
354
354
|
* @property {string} [content] - The actual content of the inline tag, such as
|
|
355
355
|
* JavaScript or CSS code if the tag is inline.
|
|
356
|
+
* @property {TemplateSchema} [template]
|
|
356
357
|
*/
|
|
357
358
|
/**
|
|
358
359
|
* @typedef RemoveHandpickedSchema
|
|
@@ -386,6 +387,21 @@ export = ContentPlatformModel;
|
|
|
386
387
|
* injected or active.
|
|
387
388
|
* @property {string} [content] - The inline content for tags of type 'inline'
|
|
388
389
|
* (e.g., JavaScript or CSS code).
|
|
390
|
+
* @property {TemplateSchema} [template]
|
|
391
|
+
*/
|
|
392
|
+
/**
|
|
393
|
+
* @typedef TemplateSchema
|
|
394
|
+
* @property {string} [template_id] - Unique identifier for the template linked
|
|
395
|
+
* to the tag.
|
|
396
|
+
* @property {string} [template_version] - Version number of the template used
|
|
397
|
+
* for configuration.
|
|
398
|
+
* @property {TemplateField[]} [template_fields] - List of dynamic key-value
|
|
399
|
+
* pairs defining configuration fields for third-party integrations or custom settings.
|
|
400
|
+
*/
|
|
401
|
+
/**
|
|
402
|
+
* @typedef TemplateField
|
|
403
|
+
* @property {string} [key] - Field name representing the configuration key.
|
|
404
|
+
* @property {string} [value] - Value assigned to the configuration field.
|
|
389
405
|
*/
|
|
390
406
|
/**
|
|
391
407
|
* @typedef CreateTagRequestSchema
|
|
@@ -403,6 +419,57 @@ export = ContentPlatformModel;
|
|
|
403
419
|
* @property {DataLoaderSourceSchema} [__source]
|
|
404
420
|
* @property {string} [_id]
|
|
405
421
|
*/
|
|
422
|
+
/**
|
|
423
|
+
* @typedef TagsTemplateSchema
|
|
424
|
+
* @property {TagTemplateItem[]} [items] - Array of tag template objects.
|
|
425
|
+
*/
|
|
426
|
+
/**
|
|
427
|
+
* @typedef TagTemplateItem
|
|
428
|
+
* @property {string} [template_name] - Static name of the tag template (e.g.,
|
|
429
|
+
* gtm, ga4, metaPixel, sentry).
|
|
430
|
+
* @property {string} [type] - Script type.
|
|
431
|
+
* @property {string} [sub_type] - Script loading subtype.
|
|
432
|
+
* @property {string} [position] - Where the script should be injected.
|
|
433
|
+
* @property {string[]} [pages] - List of page types where the tag should be active.
|
|
434
|
+
* @property {Object} [attributes] - HTML attributes to apply on the script tag.
|
|
435
|
+
* @property {string[]} [compatible_engines] - List of compatible UI frameworks.
|
|
436
|
+
* @property {Object} [field_mappings] - Maps UI field names to backend keys.
|
|
437
|
+
* @property {TemplateLayout} [layout]
|
|
438
|
+
* @property {string} [name] - Human-readable name of the template.
|
|
439
|
+
* @property {string} [path] - URL-safe path or slug for the template.
|
|
440
|
+
* @property {string} [description] - Explains the purpose or behavior of the template.
|
|
441
|
+
* @property {string} [image] - URL to an icon or image for the template.
|
|
442
|
+
* @property {string} [note] - Helpful guidance for configuring the template.
|
|
443
|
+
* @property {string} [template_id] - Unique template identifier.
|
|
444
|
+
* @property {string} [template_version] - Version of this template.
|
|
445
|
+
* @property {string} [category] - Functional category of the template.
|
|
446
|
+
* @property {FieldDefinition[]} [fields] - Array of field definitions for
|
|
447
|
+
* template configuration.
|
|
448
|
+
* @property {string} [script] - JavaScript snippet or template script code.
|
|
449
|
+
*/
|
|
450
|
+
/**
|
|
451
|
+
* @typedef TemplateLayout
|
|
452
|
+
* @property {number} [columns]
|
|
453
|
+
* @property {string} [gap]
|
|
454
|
+
* @property {boolean} [responsive]
|
|
455
|
+
*/
|
|
456
|
+
/**
|
|
457
|
+
* @typedef FieldDefinition
|
|
458
|
+
* @property {string} [name] - Field key used in templates and mappings.
|
|
459
|
+
* @property {string} [type] - Input type (e.g., text, boolean, array, note).
|
|
460
|
+
* @property {string} [label]
|
|
461
|
+
* @property {string} [placeholder]
|
|
462
|
+
* @property {boolean} [required]
|
|
463
|
+
* @property {string} [size] - Visual width in the form layout.
|
|
464
|
+
* @property {string} [description]
|
|
465
|
+
* @property {FieldValidation} [validation]
|
|
466
|
+
* @property {Object} [events] - Optional client-side events configuration.
|
|
467
|
+
*/
|
|
468
|
+
/**
|
|
469
|
+
* @typedef FieldValidation
|
|
470
|
+
* @property {string} [pattern] - Regex pattern used for validation.
|
|
471
|
+
* @property {string} [message] - Error message shown when validation fails.
|
|
472
|
+
*/
|
|
406
473
|
/**
|
|
407
474
|
* @typedef DataLoaderSourceSchema
|
|
408
475
|
* @property {string} [type]
|
|
@@ -523,7 +590,7 @@ export = ContentPlatformModel;
|
|
|
523
590
|
* @property {boolean} [has_previous] - Indicates whether there is a previous page.
|
|
524
591
|
* @property {boolean} [has_next] - Indicates whether there is a next page.
|
|
525
592
|
* @property {number} [current] - The current page number.
|
|
526
|
-
* @property {string} type - The type of the page,
|
|
593
|
+
* @property {string} type - The type of the page, can be 'cursor' or 'number'.
|
|
527
594
|
* @property {number} [size] - The number of items per page.
|
|
528
595
|
* @property {number} [page_size] - The number of items per page.
|
|
529
596
|
*/
|
|
@@ -704,8 +771,10 @@ export = ContentPlatformModel;
|
|
|
704
771
|
* @typedef TagsSchema
|
|
705
772
|
* @property {string} [application] - The ID of the application that owns the tags.
|
|
706
773
|
* @property {string} [_id] - The unique identifier for the tag set.
|
|
774
|
+
* @property {string} [company] - The ID of the company associated with this tags.
|
|
707
775
|
* @property {TagSchema[]} [tags] - A list of tags (HTML resources like scripts
|
|
708
776
|
* or stylesheets) that are configured for the application.
|
|
777
|
+
* @property {Page} [page]
|
|
709
778
|
*/
|
|
710
779
|
/**
|
|
711
780
|
* @typedef TagSchema
|
|
@@ -734,6 +803,7 @@ export = ContentPlatformModel;
|
|
|
734
803
|
* third-party tag can be injected or supported.
|
|
735
804
|
* @property {Object[]} [pages] - Pages or environments where the tag should be active.
|
|
736
805
|
* @property {TagSourceSchema} [__source]
|
|
806
|
+
* @property {TemplateSchema} [template]
|
|
737
807
|
*/
|
|
738
808
|
/**
|
|
739
809
|
* @typedef TagSourceSchema
|
|
@@ -1559,7 +1629,7 @@ export = ContentPlatformModel;
|
|
|
1559
1629
|
declare class ContentPlatformModel {
|
|
1560
1630
|
}
|
|
1561
1631
|
declare namespace ContentPlatformModel {
|
|
1562
|
-
export { ValidationError, GenerateSEOContent, GeneratedSEOContent, ApplicationLegal, ApplicationLegalFAQ, PathMappingSchema, PathSourceSchema, SeoComponent, SeoSchema, CustomMetaTag, Detail, SeoSchemaComponent, SEOSchemaMarkupTemplate, SEOSchemaMarkupTemplateRequestBody, AnnouncementPageSchema, EditorMeta, AnnouncementAuthorSchema, AdminAnnouncementSchema, DefaultSchemaComponent, DefaultSEOSchemaMarkupTemplate, ScheduleSchema, NextSchedule, BlogGetDetails, BlogFilters, ResourceContent, Asset, Author, BlogSchema, SEO, SEOImage, SEOMetaItem, SEOMetaItems, SEOSitemap, SEObreadcrumb, DateMeta, BlogPayload, GetAnnouncementListSchema, CreateAnnouncementSchema, DataLoaderResponseSchema, DataLoaderResetResponseSchema, LocaleLanguage, Language, Action, NavigationReference, CronBasedScheduleSchema, UpdateHandpickedSchema, HandpickedTagSchema, RemoveHandpickedSchema, CreateTagSchema, CreateTagRequestSchema, DataLoaderSchema, DataLoaderSourceSchema, DataLoadersSchema, TagDeleteSuccessDetails, ContentAPIError, CommonError, CategorySchema, ChildrenSchema, CategoryRequestSchema, FAQCategorySchema, FaqSchema, FAQ, CreateFaqResponseSchema, CreateFaqSchema, GetFaqSchema, UpdateFaqCategoryRequestSchema, CreateFaqCategoryRequestSchema, CreateFaqCategorySchema, GetFaqCategoriesSchema, GetFaqCategoryBySlugSchema, Page, LandingPageGetDetails, LandingPageSchema, DefaultNavigationDetails, NavigationGetDetails, Orientation, NavigationSchema, NavigationPayload, PageGetDetails, PageSpec, PageSpecParam, PageSpecItem, PageSchema, CreatedBySchema, PagePayload, CronSchedule, PagePublishPayload, PageMetaSchema, Support, PhoneProperties, PhoneSchema, EmailProperties, EmailSchema, ContactSchema, TagsSchema, TagSchema, TagSourceSchema, ResourcesSchema, ResourceSchema, FieldValidations, FieldDefinitionSchema, CustomFieldDefinitionsSchema, CustomFieldDefinitionRequestSchema, CustomObjectCustomFieldDefinitions, CustomObjectDefinitionUpdateRequestSchema, CustomFieldDefinitionDetailResSchema, MetaFieldDefinitionDetailResSchema, CustomDataDeleteSchema, CustomFieldValue, CustomFieldSchema, CustomFieldsResponseSchema, CustomFieldsDeleteSchema, CustomFieldsResponseByResourceIdSchema, CustomField, CustomFieldRequestSchema, CustomObjectSchema, CustomObjectDefinitionRequestSchema, CustomObjectDefinitionSlugSchema, CustomObjectDefinitionDeleteResponseSchema, CustomObjectEntryBulkUploadDetails, CustomObjectListItemDefinitionModel, CustomObjectListItemSchema, CustomObjectsSchema, CustomObjectFieldDefinition, CustomObjectBySlugSchema, CustomObjectBulkEntryInitiateDownload, CustomObjectMetaSchema, JobSchema, CustomFieldBulkEntry, CustomObjectBulkEntry, MetafieldTypesSchema, CustomFieldTypeSchema, SupportedValidationsMetaExampleSchema, SupportedValidationsMetaSchema, SupportedValidationsSchema, Duration, HTML, StringSingleLine, StringMultiLine, Dropdown, Integer, FloatType, BooleanType, Date, Datetime, Json, File, Url, Metaobject, Product, CustomObjectEntry, CustomObjectDefinitionsSchema, CustomObjectEntryFieldSchema, CustomObjectEntryFieldSchemaWithoutID, CustomObjectRequestSchema, CustomObjectRequestSchemaWithoutId, CustomObjectBulkSchema, ActionPage, TranslateUiLabels, TranslateUiLabelsCreate, StaticResourceUpdate, TranslateUiLabelsPage, Error, Meta, CompanyLanguage, CompanyLanguageCreate, CompanyLanguageUpdate, ApplicationLanguage, unPublishApplicationLanguage, ApplicationLanguageCreate, ApplicationLanguageUpdate, TranslatableResource, ResourceDefinition, ResourceJsonSchema, ResourceJsonSchemaType, ResourceUISchema, ResourceBulkDetails, Title, FeatureImage, Seo, MetaTag, MetaTagItem, ResourceTranslation, TranslationSeo, ResourceTranslationList, ResourceTranslationCreate, ResourceTranslationUpdate, TranslatableSection, Metrics, ResourceTranslationUpsertItem, ResourceTranslationBulkUpsert, StandardError, OperationResponseSchema, GenerationEntityType, PageType };
|
|
1632
|
+
export { ValidationError, GenerateSEOContent, GeneratedSEOContent, ApplicationLegal, ApplicationLegalFAQ, PathMappingSchema, PathSourceSchema, SeoComponent, SeoSchema, CustomMetaTag, Detail, SeoSchemaComponent, SEOSchemaMarkupTemplate, SEOSchemaMarkupTemplateRequestBody, AnnouncementPageSchema, EditorMeta, AnnouncementAuthorSchema, AdminAnnouncementSchema, DefaultSchemaComponent, DefaultSEOSchemaMarkupTemplate, ScheduleSchema, NextSchedule, BlogGetDetails, BlogFilters, ResourceContent, Asset, Author, BlogSchema, SEO, SEOImage, SEOMetaItem, SEOMetaItems, SEOSitemap, SEObreadcrumb, DateMeta, BlogPayload, GetAnnouncementListSchema, CreateAnnouncementSchema, DataLoaderResponseSchema, DataLoaderResetResponseSchema, LocaleLanguage, Language, Action, NavigationReference, CronBasedScheduleSchema, UpdateHandpickedSchema, HandpickedTagSchema, RemoveHandpickedSchema, CreateTagSchema, TemplateSchema, TemplateField, CreateTagRequestSchema, DataLoaderSchema, TagsTemplateSchema, TagTemplateItem, TemplateLayout, FieldDefinition, FieldValidation, DataLoaderSourceSchema, DataLoadersSchema, TagDeleteSuccessDetails, ContentAPIError, CommonError, CategorySchema, ChildrenSchema, CategoryRequestSchema, FAQCategorySchema, FaqSchema, FAQ, CreateFaqResponseSchema, CreateFaqSchema, GetFaqSchema, UpdateFaqCategoryRequestSchema, CreateFaqCategoryRequestSchema, CreateFaqCategorySchema, GetFaqCategoriesSchema, GetFaqCategoryBySlugSchema, Page, LandingPageGetDetails, LandingPageSchema, DefaultNavigationDetails, NavigationGetDetails, Orientation, NavigationSchema, NavigationPayload, PageGetDetails, PageSpec, PageSpecParam, PageSpecItem, PageSchema, CreatedBySchema, PagePayload, CronSchedule, PagePublishPayload, PageMetaSchema, Support, PhoneProperties, PhoneSchema, EmailProperties, EmailSchema, ContactSchema, TagsSchema, TagSchema, TagSourceSchema, ResourcesSchema, ResourceSchema, FieldValidations, FieldDefinitionSchema, CustomFieldDefinitionsSchema, CustomFieldDefinitionRequestSchema, CustomObjectCustomFieldDefinitions, CustomObjectDefinitionUpdateRequestSchema, CustomFieldDefinitionDetailResSchema, MetaFieldDefinitionDetailResSchema, CustomDataDeleteSchema, CustomFieldValue, CustomFieldSchema, CustomFieldsResponseSchema, CustomFieldsDeleteSchema, CustomFieldsResponseByResourceIdSchema, CustomField, CustomFieldRequestSchema, CustomObjectSchema, CustomObjectDefinitionRequestSchema, CustomObjectDefinitionSlugSchema, CustomObjectDefinitionDeleteResponseSchema, CustomObjectEntryBulkUploadDetails, CustomObjectListItemDefinitionModel, CustomObjectListItemSchema, CustomObjectsSchema, CustomObjectFieldDefinition, CustomObjectBySlugSchema, CustomObjectBulkEntryInitiateDownload, CustomObjectMetaSchema, JobSchema, CustomFieldBulkEntry, CustomObjectBulkEntry, MetafieldTypesSchema, CustomFieldTypeSchema, SupportedValidationsMetaExampleSchema, SupportedValidationsMetaSchema, SupportedValidationsSchema, Duration, HTML, StringSingleLine, StringMultiLine, Dropdown, Integer, FloatType, BooleanType, Date, Datetime, Json, File, Url, Metaobject, Product, CustomObjectEntry, CustomObjectDefinitionsSchema, CustomObjectEntryFieldSchema, CustomObjectEntryFieldSchemaWithoutID, CustomObjectRequestSchema, CustomObjectRequestSchemaWithoutId, CustomObjectBulkSchema, ActionPage, TranslateUiLabels, TranslateUiLabelsCreate, StaticResourceUpdate, TranslateUiLabelsPage, Error, Meta, CompanyLanguage, CompanyLanguageCreate, CompanyLanguageUpdate, ApplicationLanguage, unPublishApplicationLanguage, ApplicationLanguageCreate, ApplicationLanguageUpdate, TranslatableResource, ResourceDefinition, ResourceJsonSchema, ResourceJsonSchemaType, ResourceUISchema, ResourceBulkDetails, Title, FeatureImage, Seo, MetaTag, MetaTagItem, ResourceTranslation, TranslationSeo, ResourceTranslationList, ResourceTranslationCreate, ResourceTranslationUpdate, TranslatableSection, Metrics, ResourceTranslationUpsertItem, ResourceTranslationBulkUpsert, StandardError, OperationResponseSchema, GenerationEntityType, PageType };
|
|
1563
1633
|
}
|
|
1564
1634
|
/** @returns {ValidationError} */
|
|
1565
1635
|
declare function ValidationError(): ValidationError;
|
|
@@ -1997,6 +2067,7 @@ type HandpickedTagSchema = {
|
|
|
1997
2067
|
* JavaScript or CSS code if the tag is inline.
|
|
1998
2068
|
*/
|
|
1999
2069
|
content?: string;
|
|
2070
|
+
template?: TemplateSchema;
|
|
2000
2071
|
};
|
|
2001
2072
|
/** @returns {RemoveHandpickedSchema} */
|
|
2002
2073
|
declare function RemoveHandpickedSchema(): RemoveHandpickedSchema;
|
|
@@ -2064,6 +2135,38 @@ type CreateTagSchema = {
|
|
|
2064
2135
|
* (e.g., JavaScript or CSS code).
|
|
2065
2136
|
*/
|
|
2066
2137
|
content?: string;
|
|
2138
|
+
template?: TemplateSchema;
|
|
2139
|
+
};
|
|
2140
|
+
/** @returns {TemplateSchema} */
|
|
2141
|
+
declare function TemplateSchema(): TemplateSchema;
|
|
2142
|
+
type TemplateSchema = {
|
|
2143
|
+
/**
|
|
2144
|
+
* - Unique identifier for the template linked
|
|
2145
|
+
* to the tag.
|
|
2146
|
+
*/
|
|
2147
|
+
template_id?: string;
|
|
2148
|
+
/**
|
|
2149
|
+
* - Version number of the template used
|
|
2150
|
+
* for configuration.
|
|
2151
|
+
*/
|
|
2152
|
+
template_version?: string;
|
|
2153
|
+
/**
|
|
2154
|
+
* - List of dynamic key-value
|
|
2155
|
+
* pairs defining configuration fields for third-party integrations or custom settings.
|
|
2156
|
+
*/
|
|
2157
|
+
template_fields?: TemplateField[];
|
|
2158
|
+
};
|
|
2159
|
+
/** @returns {TemplateField} */
|
|
2160
|
+
declare function TemplateField(): TemplateField;
|
|
2161
|
+
type TemplateField = {
|
|
2162
|
+
/**
|
|
2163
|
+
* - Field name representing the configuration key.
|
|
2164
|
+
*/
|
|
2165
|
+
key?: string;
|
|
2166
|
+
/**
|
|
2167
|
+
* - Value assigned to the configuration field.
|
|
2168
|
+
*/
|
|
2169
|
+
value?: string;
|
|
2067
2170
|
};
|
|
2068
2171
|
/** @returns {CreateTagRequestSchema} */
|
|
2069
2172
|
declare function CreateTagRequestSchema(): CreateTagRequestSchema;
|
|
@@ -2086,6 +2189,137 @@ type DataLoaderSchema = {
|
|
|
2086
2189
|
__source?: DataLoaderSourceSchema;
|
|
2087
2190
|
_id?: string;
|
|
2088
2191
|
};
|
|
2192
|
+
/** @returns {TagsTemplateSchema} */
|
|
2193
|
+
declare function TagsTemplateSchema(): TagsTemplateSchema;
|
|
2194
|
+
type TagsTemplateSchema = {
|
|
2195
|
+
/**
|
|
2196
|
+
* - Array of tag template objects.
|
|
2197
|
+
*/
|
|
2198
|
+
items?: TagTemplateItem[];
|
|
2199
|
+
};
|
|
2200
|
+
/** @returns {TagTemplateItem} */
|
|
2201
|
+
declare function TagTemplateItem(): TagTemplateItem;
|
|
2202
|
+
type TagTemplateItem = {
|
|
2203
|
+
/**
|
|
2204
|
+
* - Static name of the tag template (e.g.,
|
|
2205
|
+
* gtm, ga4, metaPixel, sentry).
|
|
2206
|
+
*/
|
|
2207
|
+
template_name?: string;
|
|
2208
|
+
/**
|
|
2209
|
+
* - Script type.
|
|
2210
|
+
*/
|
|
2211
|
+
type?: string;
|
|
2212
|
+
/**
|
|
2213
|
+
* - Script loading subtype.
|
|
2214
|
+
*/
|
|
2215
|
+
sub_type?: string;
|
|
2216
|
+
/**
|
|
2217
|
+
* - Where the script should be injected.
|
|
2218
|
+
*/
|
|
2219
|
+
position?: string;
|
|
2220
|
+
/**
|
|
2221
|
+
* - List of page types where the tag should be active.
|
|
2222
|
+
*/
|
|
2223
|
+
pages?: string[];
|
|
2224
|
+
/**
|
|
2225
|
+
* - HTML attributes to apply on the script tag.
|
|
2226
|
+
*/
|
|
2227
|
+
attributes?: any;
|
|
2228
|
+
/**
|
|
2229
|
+
* - List of compatible UI frameworks.
|
|
2230
|
+
*/
|
|
2231
|
+
compatible_engines?: string[];
|
|
2232
|
+
/**
|
|
2233
|
+
* - Maps UI field names to backend keys.
|
|
2234
|
+
*/
|
|
2235
|
+
field_mappings?: any;
|
|
2236
|
+
layout?: TemplateLayout;
|
|
2237
|
+
/**
|
|
2238
|
+
* - Human-readable name of the template.
|
|
2239
|
+
*/
|
|
2240
|
+
name?: string;
|
|
2241
|
+
/**
|
|
2242
|
+
* - URL-safe path or slug for the template.
|
|
2243
|
+
*/
|
|
2244
|
+
path?: string;
|
|
2245
|
+
/**
|
|
2246
|
+
* - Explains the purpose or behavior of the template.
|
|
2247
|
+
*/
|
|
2248
|
+
description?: string;
|
|
2249
|
+
/**
|
|
2250
|
+
* - URL to an icon or image for the template.
|
|
2251
|
+
*/
|
|
2252
|
+
image?: string;
|
|
2253
|
+
/**
|
|
2254
|
+
* - Helpful guidance for configuring the template.
|
|
2255
|
+
*/
|
|
2256
|
+
note?: string;
|
|
2257
|
+
/**
|
|
2258
|
+
* - Unique template identifier.
|
|
2259
|
+
*/
|
|
2260
|
+
template_id?: string;
|
|
2261
|
+
/**
|
|
2262
|
+
* - Version of this template.
|
|
2263
|
+
*/
|
|
2264
|
+
template_version?: string;
|
|
2265
|
+
/**
|
|
2266
|
+
* - Functional category of the template.
|
|
2267
|
+
*/
|
|
2268
|
+
category?: string;
|
|
2269
|
+
/**
|
|
2270
|
+
* - Array of field definitions for
|
|
2271
|
+
* template configuration.
|
|
2272
|
+
*/
|
|
2273
|
+
fields?: FieldDefinition[];
|
|
2274
|
+
/**
|
|
2275
|
+
* - JavaScript snippet or template script code.
|
|
2276
|
+
*/
|
|
2277
|
+
script?: string;
|
|
2278
|
+
};
|
|
2279
|
+
/** @returns {TemplateLayout} */
|
|
2280
|
+
declare function TemplateLayout(): TemplateLayout;
|
|
2281
|
+
type TemplateLayout = {
|
|
2282
|
+
columns?: number;
|
|
2283
|
+
gap?: string;
|
|
2284
|
+
responsive?: boolean;
|
|
2285
|
+
};
|
|
2286
|
+
/** @returns {FieldDefinition} */
|
|
2287
|
+
declare function FieldDefinition(): FieldDefinition;
|
|
2288
|
+
type FieldDefinition = {
|
|
2289
|
+
/**
|
|
2290
|
+
* - Field key used in templates and mappings.
|
|
2291
|
+
*/
|
|
2292
|
+
name?: string;
|
|
2293
|
+
/**
|
|
2294
|
+
* - Input type (e.g., text, boolean, array, note).
|
|
2295
|
+
*/
|
|
2296
|
+
type?: string;
|
|
2297
|
+
label?: string;
|
|
2298
|
+
placeholder?: string;
|
|
2299
|
+
required?: boolean;
|
|
2300
|
+
/**
|
|
2301
|
+
* - Visual width in the form layout.
|
|
2302
|
+
*/
|
|
2303
|
+
size?: string;
|
|
2304
|
+
description?: string;
|
|
2305
|
+
validation?: FieldValidation;
|
|
2306
|
+
/**
|
|
2307
|
+
* - Optional client-side events configuration.
|
|
2308
|
+
*/
|
|
2309
|
+
events?: any;
|
|
2310
|
+
};
|
|
2311
|
+
/** @returns {FieldValidation} */
|
|
2312
|
+
declare function FieldValidation(): FieldValidation;
|
|
2313
|
+
type FieldValidation = {
|
|
2314
|
+
/**
|
|
2315
|
+
* - Regex pattern used for validation.
|
|
2316
|
+
*/
|
|
2317
|
+
pattern?: string;
|
|
2318
|
+
/**
|
|
2319
|
+
* - Error message shown when validation fails.
|
|
2320
|
+
*/
|
|
2321
|
+
message?: string;
|
|
2322
|
+
};
|
|
2089
2323
|
/** @returns {DataLoaderSourceSchema} */
|
|
2090
2324
|
declare function DataLoaderSourceSchema(): DataLoaderSourceSchema;
|
|
2091
2325
|
type DataLoaderSourceSchema = {
|
|
@@ -2245,7 +2479,7 @@ type Page = {
|
|
|
2245
2479
|
*/
|
|
2246
2480
|
current?: number;
|
|
2247
2481
|
/**
|
|
2248
|
-
* - The type of the page,
|
|
2482
|
+
* - The type of the page, can be 'cursor' or 'number'.
|
|
2249
2483
|
*/
|
|
2250
2484
|
type: string;
|
|
2251
2485
|
/**
|
|
@@ -2467,11 +2701,16 @@ type TagsSchema = {
|
|
|
2467
2701
|
* - The unique identifier for the tag set.
|
|
2468
2702
|
*/
|
|
2469
2703
|
_id?: string;
|
|
2704
|
+
/**
|
|
2705
|
+
* - The ID of the company associated with this tags.
|
|
2706
|
+
*/
|
|
2707
|
+
company?: string;
|
|
2470
2708
|
/**
|
|
2471
2709
|
* - A list of tags (HTML resources like scripts
|
|
2472
2710
|
* or stylesheets) that are configured for the application.
|
|
2473
2711
|
*/
|
|
2474
2712
|
tags?: TagSchema[];
|
|
2713
|
+
page?: Page;
|
|
2475
2714
|
};
|
|
2476
2715
|
/** @returns {TagSchema} */
|
|
2477
2716
|
declare function TagSchema(): TagSchema;
|
|
@@ -2530,6 +2769,7 @@ type TagSchema = {
|
|
|
2530
2769
|
*/
|
|
2531
2770
|
pages?: any[];
|
|
2532
2771
|
__source?: TagSourceSchema;
|
|
2772
|
+
template?: TemplateSchema;
|
|
2533
2773
|
};
|
|
2534
2774
|
/** @returns {TagSourceSchema} */
|
|
2535
2775
|
declare function TagSourceSchema(): TagSourceSchema;
|
|
@@ -400,6 +400,7 @@ const Joi = require("joi");
|
|
|
400
400
|
* the HTML (inline) or linked externally (external).
|
|
401
401
|
* @property {string} [content] - The actual content of the inline tag, such as
|
|
402
402
|
* JavaScript or CSS code if the tag is inline.
|
|
403
|
+
* @property {TemplateSchema} [template]
|
|
403
404
|
*/
|
|
404
405
|
|
|
405
406
|
/**
|
|
@@ -435,6 +436,23 @@ const Joi = require("joi");
|
|
|
435
436
|
* injected or active.
|
|
436
437
|
* @property {string} [content] - The inline content for tags of type 'inline'
|
|
437
438
|
* (e.g., JavaScript or CSS code).
|
|
439
|
+
* @property {TemplateSchema} [template]
|
|
440
|
+
*/
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* @typedef TemplateSchema
|
|
444
|
+
* @property {string} [template_id] - Unique identifier for the template linked
|
|
445
|
+
* to the tag.
|
|
446
|
+
* @property {string} [template_version] - Version number of the template used
|
|
447
|
+
* for configuration.
|
|
448
|
+
* @property {TemplateField[]} [template_fields] - List of dynamic key-value
|
|
449
|
+
* pairs defining configuration fields for third-party integrations or custom settings.
|
|
450
|
+
*/
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* @typedef TemplateField
|
|
454
|
+
* @property {string} [key] - Field name representing the configuration key.
|
|
455
|
+
* @property {string} [value] - Value assigned to the configuration field.
|
|
438
456
|
*/
|
|
439
457
|
|
|
440
458
|
/**
|
|
@@ -455,6 +473,62 @@ const Joi = require("joi");
|
|
|
455
473
|
* @property {string} [_id]
|
|
456
474
|
*/
|
|
457
475
|
|
|
476
|
+
/**
|
|
477
|
+
* @typedef TagsTemplateSchema
|
|
478
|
+
* @property {TagTemplateItem[]} [items] - Array of tag template objects.
|
|
479
|
+
*/
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
* @typedef TagTemplateItem
|
|
483
|
+
* @property {string} [template_name] - Static name of the tag template (e.g.,
|
|
484
|
+
* gtm, ga4, metaPixel, sentry).
|
|
485
|
+
* @property {string} [type] - Script type.
|
|
486
|
+
* @property {string} [sub_type] - Script loading subtype.
|
|
487
|
+
* @property {string} [position] - Where the script should be injected.
|
|
488
|
+
* @property {string[]} [pages] - List of page types where the tag should be active.
|
|
489
|
+
* @property {Object} [attributes] - HTML attributes to apply on the script tag.
|
|
490
|
+
* @property {string[]} [compatible_engines] - List of compatible UI frameworks.
|
|
491
|
+
* @property {Object} [field_mappings] - Maps UI field names to backend keys.
|
|
492
|
+
* @property {TemplateLayout} [layout]
|
|
493
|
+
* @property {string} [name] - Human-readable name of the template.
|
|
494
|
+
* @property {string} [path] - URL-safe path or slug for the template.
|
|
495
|
+
* @property {string} [description] - Explains the purpose or behavior of the template.
|
|
496
|
+
* @property {string} [image] - URL to an icon or image for the template.
|
|
497
|
+
* @property {string} [note] - Helpful guidance for configuring the template.
|
|
498
|
+
* @property {string} [template_id] - Unique template identifier.
|
|
499
|
+
* @property {string} [template_version] - Version of this template.
|
|
500
|
+
* @property {string} [category] - Functional category of the template.
|
|
501
|
+
* @property {FieldDefinition[]} [fields] - Array of field definitions for
|
|
502
|
+
* template configuration.
|
|
503
|
+
* @property {string} [script] - JavaScript snippet or template script code.
|
|
504
|
+
*/
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* @typedef TemplateLayout
|
|
508
|
+
* @property {number} [columns]
|
|
509
|
+
* @property {string} [gap]
|
|
510
|
+
* @property {boolean} [responsive]
|
|
511
|
+
*/
|
|
512
|
+
|
|
513
|
+
/**
|
|
514
|
+
* @typedef FieldDefinition
|
|
515
|
+
* @property {string} [name] - Field key used in templates and mappings.
|
|
516
|
+
* @property {string} [type] - Input type (e.g., text, boolean, array, note).
|
|
517
|
+
* @property {string} [label]
|
|
518
|
+
* @property {string} [placeholder]
|
|
519
|
+
* @property {boolean} [required]
|
|
520
|
+
* @property {string} [size] - Visual width in the form layout.
|
|
521
|
+
* @property {string} [description]
|
|
522
|
+
* @property {FieldValidation} [validation]
|
|
523
|
+
* @property {Object} [events] - Optional client-side events configuration.
|
|
524
|
+
*/
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* @typedef FieldValidation
|
|
528
|
+
* @property {string} [pattern] - Regex pattern used for validation.
|
|
529
|
+
* @property {string} [message] - Error message shown when validation fails.
|
|
530
|
+
*/
|
|
531
|
+
|
|
458
532
|
/**
|
|
459
533
|
* @typedef DataLoaderSourceSchema
|
|
460
534
|
* @property {string} [type]
|
|
@@ -594,7 +668,7 @@ const Joi = require("joi");
|
|
|
594
668
|
* @property {boolean} [has_previous] - Indicates whether there is a previous page.
|
|
595
669
|
* @property {boolean} [has_next] - Indicates whether there is a next page.
|
|
596
670
|
* @property {number} [current] - The current page number.
|
|
597
|
-
* @property {string} type - The type of the page,
|
|
671
|
+
* @property {string} type - The type of the page, can be 'cursor' or 'number'.
|
|
598
672
|
* @property {number} [size] - The number of items per page.
|
|
599
673
|
* @property {number} [page_size] - The number of items per page.
|
|
600
674
|
*/
|
|
@@ -799,8 +873,10 @@ const Joi = require("joi");
|
|
|
799
873
|
* @typedef TagsSchema
|
|
800
874
|
* @property {string} [application] - The ID of the application that owns the tags.
|
|
801
875
|
* @property {string} [_id] - The unique identifier for the tag set.
|
|
876
|
+
* @property {string} [company] - The ID of the company associated with this tags.
|
|
802
877
|
* @property {TagSchema[]} [tags] - A list of tags (HTML resources like scripts
|
|
803
878
|
* or stylesheets) that are configured for the application.
|
|
879
|
+
* @property {Page} [page]
|
|
804
880
|
*/
|
|
805
881
|
|
|
806
882
|
/**
|
|
@@ -830,6 +906,7 @@ const Joi = require("joi");
|
|
|
830
906
|
* third-party tag can be injected or supported.
|
|
831
907
|
* @property {Object[]} [pages] - Pages or environments where the tag should be active.
|
|
832
908
|
* @property {TagSourceSchema} [__source]
|
|
909
|
+
* @property {TemplateSchema} [template]
|
|
833
910
|
*/
|
|
834
911
|
|
|
835
912
|
/**
|
|
@@ -2233,6 +2310,7 @@ class ContentPlatformModel {
|
|
|
2233
2310
|
type: Joi.string().allow(""),
|
|
2234
2311
|
sub_type: Joi.string().allow(""),
|
|
2235
2312
|
content: Joi.string().allow(""),
|
|
2313
|
+
template: ContentPlatformModel.TemplateSchema(),
|
|
2236
2314
|
});
|
|
2237
2315
|
}
|
|
2238
2316
|
|
|
@@ -2256,6 +2334,24 @@ class ContentPlatformModel {
|
|
|
2256
2334
|
compatible_engines: Joi.array().items(Joi.string().allow("")),
|
|
2257
2335
|
pages: Joi.array().items(Joi.any()),
|
|
2258
2336
|
content: Joi.string().allow(""),
|
|
2337
|
+
template: ContentPlatformModel.TemplateSchema(),
|
|
2338
|
+
});
|
|
2339
|
+
}
|
|
2340
|
+
|
|
2341
|
+
/** @returns {TemplateSchema} */
|
|
2342
|
+
static TemplateSchema() {
|
|
2343
|
+
return Joi.object({
|
|
2344
|
+
template_id: Joi.string().allow(""),
|
|
2345
|
+
template_version: Joi.string().allow(""),
|
|
2346
|
+
template_fields: Joi.array().items(ContentPlatformModel.TemplateField()),
|
|
2347
|
+
});
|
|
2348
|
+
}
|
|
2349
|
+
|
|
2350
|
+
/** @returns {TemplateField} */
|
|
2351
|
+
static TemplateField() {
|
|
2352
|
+
return Joi.object({
|
|
2353
|
+
key: Joi.string().allow(""),
|
|
2354
|
+
value: Joi.string().allow(""),
|
|
2259
2355
|
});
|
|
2260
2356
|
}
|
|
2261
2357
|
|
|
@@ -2280,6 +2376,70 @@ class ContentPlatformModel {
|
|
|
2280
2376
|
});
|
|
2281
2377
|
}
|
|
2282
2378
|
|
|
2379
|
+
/** @returns {TagsTemplateSchema} */
|
|
2380
|
+
static TagsTemplateSchema() {
|
|
2381
|
+
return Joi.object({
|
|
2382
|
+
items: Joi.array().items(ContentPlatformModel.TagTemplateItem()),
|
|
2383
|
+
});
|
|
2384
|
+
}
|
|
2385
|
+
|
|
2386
|
+
/** @returns {TagTemplateItem} */
|
|
2387
|
+
static TagTemplateItem() {
|
|
2388
|
+
return Joi.object({
|
|
2389
|
+
template_name: Joi.string().allow(""),
|
|
2390
|
+
type: Joi.string().allow(""),
|
|
2391
|
+
sub_type: Joi.string().allow(""),
|
|
2392
|
+
position: Joi.string().allow(""),
|
|
2393
|
+
pages: Joi.array().items(Joi.string().allow("")),
|
|
2394
|
+
attributes: Joi.object().pattern(/\S/, Joi.any()),
|
|
2395
|
+
compatible_engines: Joi.array().items(Joi.string().allow("")),
|
|
2396
|
+
field_mappings: Joi.object().pattern(/\S/, Joi.any()),
|
|
2397
|
+
layout: ContentPlatformModel.TemplateLayout(),
|
|
2398
|
+
name: Joi.string().allow(""),
|
|
2399
|
+
path: Joi.string().allow(""),
|
|
2400
|
+
description: Joi.string().allow(""),
|
|
2401
|
+
image: Joi.string().allow(""),
|
|
2402
|
+
note: Joi.string().allow(""),
|
|
2403
|
+
template_id: Joi.string().allow(""),
|
|
2404
|
+
template_version: Joi.string().allow(""),
|
|
2405
|
+
category: Joi.string().allow(""),
|
|
2406
|
+
fields: Joi.array().items(ContentPlatformModel.FieldDefinition()),
|
|
2407
|
+
script: Joi.string().allow(""),
|
|
2408
|
+
});
|
|
2409
|
+
}
|
|
2410
|
+
|
|
2411
|
+
/** @returns {TemplateLayout} */
|
|
2412
|
+
static TemplateLayout() {
|
|
2413
|
+
return Joi.object({
|
|
2414
|
+
columns: Joi.number(),
|
|
2415
|
+
gap: Joi.string().allow(""),
|
|
2416
|
+
responsive: Joi.boolean(),
|
|
2417
|
+
});
|
|
2418
|
+
}
|
|
2419
|
+
|
|
2420
|
+
/** @returns {FieldDefinition} */
|
|
2421
|
+
static FieldDefinition() {
|
|
2422
|
+
return Joi.object({
|
|
2423
|
+
name: Joi.string().allow(""),
|
|
2424
|
+
type: Joi.string().allow(""),
|
|
2425
|
+
label: Joi.string().allow(""),
|
|
2426
|
+
placeholder: Joi.string().allow(""),
|
|
2427
|
+
required: Joi.boolean(),
|
|
2428
|
+
size: Joi.string().allow(""),
|
|
2429
|
+
description: Joi.string().allow(""),
|
|
2430
|
+
validation: ContentPlatformModel.FieldValidation(),
|
|
2431
|
+
events: Joi.object().pattern(/\S/, Joi.any()),
|
|
2432
|
+
});
|
|
2433
|
+
}
|
|
2434
|
+
|
|
2435
|
+
/** @returns {FieldValidation} */
|
|
2436
|
+
static FieldValidation() {
|
|
2437
|
+
return Joi.object({
|
|
2438
|
+
pattern: Joi.string().allow(""),
|
|
2439
|
+
message: Joi.string().allow(""),
|
|
2440
|
+
});
|
|
2441
|
+
}
|
|
2442
|
+
|
|
2283
2443
|
/** @returns {DataLoaderSourceSchema} */
|
|
2284
2444
|
static DataLoaderSourceSchema() {
|
|
2285
2445
|
return Joi.object({
|
|
@@ -2709,7 +2869,9 @@ class ContentPlatformModel {
|
|
|
2709
2869
|
return Joi.object({
|
|
2710
2870
|
application: Joi.string().allow(""),
|
|
2711
2871
|
_id: Joi.string().allow(""),
|
|
2872
|
+
company: Joi.string().allow(""),
|
|
2712
2873
|
tags: Joi.array().items(ContentPlatformModel.TagSchema()),
|
|
2874
|
+
page: ContentPlatformModel.Page(),
|
|
2713
2875
|
});
|
|
2714
2876
|
}
|
|
2715
2877
|
|
|
@@ -2727,6 +2889,7 @@ class ContentPlatformModel {
|
|
|
2727
2889
|
compatible_engines: Joi.array().items(Joi.string().allow("")),
|
|
2728
2890
|
pages: Joi.array().items(Joi.any()),
|
|
2729
2891
|
__source: ContentPlatformModel.TagSourceSchema(),
|
|
2892
|
+
template: ContentPlatformModel.TemplateSchema(),
|
|
2730
2893
|
});
|
|
2731
2894
|
}
|
|
2732
2895
|
|
|
@@ -148,7 +148,7 @@ export = DiscountPlatformModel;
|
|
|
148
148
|
* @property {boolean} [has_previous] - Indicates whether there is a previous page.
|
|
149
149
|
* @property {boolean} [has_next] - Indicates whether there is a next page.
|
|
150
150
|
* @property {number} [current] - The current page number.
|
|
151
|
-
* @property {string} type - The type of the page,
|
|
151
|
+
* @property {string} type - The type of the page, can be 'cursor' or 'number'.
|
|
152
152
|
* @property {number} [size] - The number of items per page.
|
|
153
153
|
* @property {number} [page_size] - The number of items per page.
|
|
154
154
|
*/
|
|
@@ -609,7 +609,7 @@ type Page = {
|
|
|
609
609
|
*/
|
|
610
610
|
current?: number;
|
|
611
611
|
/**
|
|
612
|
-
* - The type of the page,
|
|
612
|
+
* - The type of the page, can be 'cursor' or 'number'.
|
|
613
613
|
*/
|
|
614
614
|
type: string;
|
|
615
615
|
/**
|
|
@@ -161,7 +161,7 @@ const Joi = require("joi");
|
|
|
161
161
|
* @property {boolean} [has_previous] - Indicates whether there is a previous page.
|
|
162
162
|
* @property {boolean} [has_next] - Indicates whether there is a next page.
|
|
163
163
|
* @property {number} [current] - The current page number.
|
|
164
|
-
* @property {string} type - The type of the page,
|
|
164
|
+
* @property {string} type - The type of the page, can be 'cursor' or 'number'.
|
|
165
165
|
* @property {number} [size] - The number of items per page.
|
|
166
166
|
* @property {number} [page_size] - The number of items per page.
|
|
167
167
|
*/
|
|
@@ -45,7 +45,7 @@ export = LeadPlatformModel;
|
|
|
45
45
|
* @property {boolean} [has_previous] - Indicates whether there is a previous page.
|
|
46
46
|
* @property {boolean} [has_next] - Indicates whether there is a next page.
|
|
47
47
|
* @property {number} [current] - The current page number.
|
|
48
|
-
* @property {string} type - The type of the page,
|
|
48
|
+
* @property {string} type - The type of the page, can be 'cursor' or 'number'.
|
|
49
49
|
* @property {number} [size] - The number of items per page.
|
|
50
50
|
* @property {number} [page_size] - The number of items per page.
|
|
51
51
|
*/
|
|
@@ -362,7 +362,7 @@ type Page = {
|
|
|
362
362
|
*/
|
|
363
363
|
current?: number;
|
|
364
364
|
/**
|
|
365
|
-
* - The type of the page,
|
|
365
|
+
* - The type of the page, can be 'cursor' or 'number'.
|
|
366
366
|
*/
|
|
367
367
|
type: string;
|
|
368
368
|
/**
|
|
@@ -51,7 +51,7 @@ const Joi = require("joi");
|
|
|
51
51
|
* @property {boolean} [has_previous] - Indicates whether there is a previous page.
|
|
52
52
|
* @property {boolean} [has_next] - Indicates whether there is a next page.
|
|
53
53
|
* @property {number} [current] - The current page number.
|
|
54
|
-
* @property {string} type - The type of the page,
|
|
54
|
+
* @property {string} type - The type of the page, can be 'cursor' or 'number'.
|
|
55
55
|
* @property {number} [size] - The number of items per page.
|
|
56
56
|
* @property {number} [page_size] - The number of items per page.
|
|
57
57
|
*/
|
|
@@ -2997,7 +2997,7 @@ export = OrderPlatformModel;
|
|
|
2997
2997
|
* @property {boolean} [has_previous] - Indicates whether there is a previous page.
|
|
2998
2998
|
* @property {boolean} [has_next] - Indicates whether there is a next page.
|
|
2999
2999
|
* @property {number} [current] - The current page number.
|
|
3000
|
-
* @property {string} type - The type of the page,
|
|
3000
|
+
* @property {string} type - The type of the page, can be 'cursor' or 'number'.
|
|
3001
3001
|
* @property {number} [size] - The number of items per page.
|
|
3002
3002
|
* @property {number} [page_size] - The number of items per page.
|
|
3003
3003
|
*/
|
|
@@ -11603,7 +11603,7 @@ type Page = {
|
|
|
11603
11603
|
*/
|
|
11604
11604
|
current?: number;
|
|
11605
11605
|
/**
|
|
11606
|
-
* - The type of the page,
|
|
11606
|
+
* - The type of the page, can be 'cursor' or 'number'.
|
|
11607
11607
|
*/
|
|
11608
11608
|
type: string;
|
|
11609
11609
|
/**
|
|
@@ -3266,7 +3266,7 @@ const Joi = require("joi");
|
|
|
3266
3266
|
* @property {boolean} [has_previous] - Indicates whether there is a previous page.
|
|
3267
3267
|
* @property {boolean} [has_next] - Indicates whether there is a next page.
|
|
3268
3268
|
* @property {number} [current] - The current page number.
|
|
3269
|
-
* @property {string} type - The type of the page,
|
|
3269
|
+
* @property {string} type - The type of the page, can be 'cursor' or 'number'.
|
|
3270
3270
|
* @property {number} [size] - The number of items per page.
|
|
3271
3271
|
* @property {number} [page_size] - The number of items per page.
|
|
3272
3272
|
*/
|