@gofynd/fdk-client-javascript 1.4.8-beta.3 → 1.4.9

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 (189) hide show
  1. package/README.md +26 -1
  2. package/package.json +2 -2
  3. package/sdk/application/ApplicationClient.d.ts +8 -0
  4. package/sdk/application/ApplicationClient.js +14 -0
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +20 -20
  6. package/sdk/application/Cart/CartApplicationClient.js +20 -20
  7. package/sdk/application/Cart/CartApplicationModel.d.ts +2446 -664
  8. package/sdk/application/Cart/CartApplicationModel.js +783 -552
  9. package/sdk/application/Cart/CartApplicationValidator.d.ts +268 -194
  10. package/sdk/application/Cart/CartApplicationValidator.js +100 -114
  11. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +53 -53
  12. package/sdk/application/Catalog/CatalogApplicationClient.js +53 -53
  13. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2012 -503
  14. package/sdk/application/Catalog/CatalogApplicationModel.js +603 -453
  15. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +64 -64
  16. package/sdk/application/Catalog/CatalogApplicationValidator.js +32 -32
  17. package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
  18. package/sdk/application/Common/CommonApplicationClient.js +2 -2
  19. package/sdk/application/Common/CommonApplicationModel.d.ts +170 -90
  20. package/sdk/application/Common/CommonApplicationModel.js +59 -58
  21. package/sdk/application/Common/CommonApplicationValidator.d.ts +8 -5
  22. package/sdk/application/Common/CommonApplicationValidator.js +3 -3
  23. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +2 -2
  24. package/sdk/application/Communication/CommunicationApplicationClient.js +2 -2
  25. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +170 -35
  26. package/sdk/application/Communication/CommunicationApplicationModel.js +54 -33
  27. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +15 -15
  28. package/sdk/application/Configuration/ConfigurationApplicationClient.js +15 -15
  29. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +624 -443
  30. package/sdk/application/Configuration/ConfigurationApplicationModel.js +259 -248
  31. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +32 -24
  32. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +14 -13
  33. package/sdk/application/Content/ContentApplicationClient.d.ts +16 -16
  34. package/sdk/application/Content/ContentApplicationClient.js +16 -16
  35. package/sdk/application/Content/ContentApplicationModel.d.ts +1205 -282
  36. package/sdk/application/Content/ContentApplicationModel.js +341 -277
  37. package/sdk/application/Content/ContentApplicationValidator.d.ts +28 -17
  38. package/sdk/application/Content/ContentApplicationValidator.js +11 -10
  39. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +3 -3
  40. package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
  41. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +146 -37
  42. package/sdk/application/FileStorage/FileStorageApplicationModel.js +38 -36
  43. package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -3
  44. package/sdk/application/Lead/LeadApplicationClient.js +3 -3
  45. package/sdk/application/Lead/LeadApplicationModel.d.ts +195 -134
  46. package/sdk/application/Lead/LeadApplicationModel.js +110 -67
  47. package/sdk/application/Lead/LeadApplicationValidator.d.ts +8 -8
  48. package/sdk/application/Lead/LeadApplicationValidator.js +4 -4
  49. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +10 -10
  50. package/sdk/application/Logistic/LogisticApplicationClient.js +10 -10
  51. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +1039 -221
  52. package/sdk/application/Logistic/LogisticApplicationModel.js +342 -199
  53. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +76 -82
  54. package/sdk/application/Logistic/LogisticApplicationValidator.js +38 -41
  55. package/sdk/application/Order/OrderApplicationClient.d.ts +10 -10
  56. package/sdk/application/Order/OrderApplicationClient.js +10 -10
  57. package/sdk/application/Order/OrderApplicationModel.d.ts +1400 -325
  58. package/sdk/application/Order/OrderApplicationModel.js +391 -317
  59. package/sdk/application/Order/OrderApplicationValidator.d.ts +32 -30
  60. package/sdk/application/Order/OrderApplicationValidator.js +15 -14
  61. package/sdk/application/Payment/PaymentApplicationClient.d.ts +43 -43
  62. package/sdk/application/Payment/PaymentApplicationClient.js +43 -43
  63. package/sdk/application/Payment/PaymentApplicationModel.d.ts +1111 -1022
  64. package/sdk/application/Payment/PaymentApplicationModel.js +537 -521
  65. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +82 -49
  66. package/sdk/application/Payment/PaymentApplicationValidator.js +30 -30
  67. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +28 -7
  68. package/sdk/application/Rewards/RewardsApplicationModel.js +7 -7
  69. package/sdk/application/Share/ShareApplicationModel.d.ts +178 -38
  70. package/sdk/application/Share/ShareApplicationModel.js +53 -37
  71. package/sdk/application/Share/ShareApplicationValidator.d.ts +4 -2
  72. package/sdk/application/Share/ShareApplicationValidator.js +2 -1
  73. package/sdk/application/Theme/ThemeApplicationClient.d.ts +4 -4
  74. package/sdk/application/Theme/ThemeApplicationClient.js +14 -8
  75. package/sdk/application/Theme/ThemeApplicationModel.d.ts +528 -287
  76. package/sdk/application/Theme/ThemeApplicationModel.js +208 -172
  77. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +17 -12
  78. package/sdk/application/Theme/ThemeApplicationValidator.js +8 -6
  79. package/sdk/application/User/UserApplicationClient.d.ts +36 -36
  80. package/sdk/application/User/UserApplicationClient.js +36 -36
  81. package/sdk/application/User/UserApplicationModel.d.ts +1062 -255
  82. package/sdk/application/User/UserApplicationModel.js +298 -244
  83. package/sdk/application/User/UserApplicationValidator.d.ts +80 -80
  84. package/sdk/application/User/UserApplicationValidator.js +40 -40
  85. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +1 -1
  86. package/sdk/application/Webhook/WebhookApplicationClient.js +1 -1
  87. package/sdk/application/Webhook/WebhookApplicationModel.d.ts +20 -5
  88. package/sdk/application/Webhook/WebhookApplicationModel.js +5 -5
  89. package/sdk/common/Clickstream.js +95 -15
  90. package/sdk/common/Constant.d.ts +9 -0
  91. package/sdk/common/Constant.js +11 -0
  92. package/sdk/common/Utility.js +19 -0
  93. package/sdk/common/utils.js +8 -1
  94. package/sdk/partner/Lead/LeadPartnerModel.d.ts +28 -7
  95. package/sdk/partner/Lead/LeadPartnerModel.js +7 -7
  96. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +28 -7
  97. package/sdk/partner/Logistics/LogisticsPartnerModel.js +7 -7
  98. package/sdk/partner/PartnerClient.d.ts +8 -0
  99. package/sdk/partner/PartnerClient.js +14 -0
  100. package/sdk/partner/Theme/ThemePartnerClient.d.ts +20 -0
  101. package/sdk/partner/Theme/ThemePartnerClient.js +158 -0
  102. package/sdk/partner/Theme/ThemePartnerModel.d.ts +45 -6
  103. package/sdk/partner/Theme/ThemePartnerModel.js +33 -4
  104. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +2 -0
  105. package/sdk/partner/Theme/ThemePartnerValidator.js +14 -0
  106. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +28 -7
  107. package/sdk/partner/Webhook/WebhookPartnerModel.js +7 -7
  108. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +28 -7
  109. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +7 -7
  110. package/sdk/platform/Billing/BillingPlatformClient.d.ts +6 -397
  111. package/sdk/platform/Billing/BillingPlatformClient.js +77 -3215
  112. package/sdk/platform/Billing/BillingPlatformModel.d.ts +621 -2021
  113. package/sdk/platform/Billing/BillingPlatformModel.js +353 -2405
  114. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +12 -451
  115. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -483
  116. package/sdk/platform/Cart/CartPlatformModel.d.ts +28 -7
  117. package/sdk/platform/Cart/CartPlatformModel.js +8 -8
  118. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +12 -2
  119. package/sdk/platform/Catalog/CatalogPlatformClient.js +41 -1
  120. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +46 -12
  121. package/sdk/platform/Catalog/CatalogPlatformModel.js +14 -11
  122. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +40 -0
  123. package/sdk/platform/Catalog/CatalogPlatformValidator.js +17 -0
  124. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +28 -7
  125. package/sdk/platform/Communication/CommunicationPlatformModel.js +7 -7
  126. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +28 -7
  127. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +7 -7
  128. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +0 -97
  129. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +77 -782
  130. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +24 -701
  131. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +7 -539
  132. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +1 -183
  133. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +0 -134
  134. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -10
  135. package/sdk/platform/Content/ContentPlatformApplicationClient.js +0 -79
  136. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -15
  137. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +0 -13
  138. package/sdk/platform/Content/ContentPlatformModel.d.ts +58 -17
  139. package/sdk/platform/Content/ContentPlatformModel.js +28 -15
  140. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +28 -7
  141. package/sdk/platform/Discount/DiscountPlatformModel.js +7 -7
  142. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +127 -25
  143. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +37 -25
  144. package/sdk/platform/Finance/FinancePlatformClient.d.ts +28 -28
  145. package/sdk/platform/Finance/FinancePlatformClient.js +28 -28
  146. package/sdk/platform/Finance/FinancePlatformModel.d.ts +1583 -347
  147. package/sdk/platform/Finance/FinancePlatformModel.js +463 -351
  148. package/sdk/platform/Lead/LeadPlatformModel.d.ts +28 -7
  149. package/sdk/platform/Lead/LeadPlatformModel.js +7 -7
  150. package/sdk/platform/Order/OrderPlatformClient.d.ts +22 -0
  151. package/sdk/platform/Order/OrderPlatformClient.js +165 -0
  152. package/sdk/platform/Order/OrderPlatformModel.d.ts +613 -39
  153. package/sdk/platform/Order/OrderPlatformModel.js +359 -41
  154. package/sdk/platform/Order/OrderPlatformValidator.d.ts +32 -1
  155. package/sdk/platform/Order/OrderPlatformValidator.js +28 -0
  156. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +30 -9
  157. package/sdk/platform/Payment/PaymentPlatformModel.js +9 -9
  158. package/sdk/platform/PlatformClient.d.ts +8 -0
  159. package/sdk/platform/PlatformClient.js +14 -0
  160. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +28 -7
  161. package/sdk/platform/Rewards/RewardsPlatformModel.js +7 -7
  162. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +12 -9
  163. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +12 -9
  164. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +120 -22
  165. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +76 -21
  166. package/sdk/platform/Share/SharePlatformModel.d.ts +28 -7
  167. package/sdk/platform/Share/SharePlatformModel.js +7 -7
  168. package/sdk/platform/Theme/ThemePlatformModel.d.ts +18 -5
  169. package/sdk/platform/Theme/ThemePlatformModel.js +7 -4
  170. package/sdk/platform/User/UserPlatformModel.d.ts +18 -18
  171. package/sdk/platform/User/UserPlatformModel.js +9 -9
  172. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +28 -7
  173. package/sdk/platform/Webhook/WebhookPlatformModel.js +7 -7
  174. package/sdk/public/PublicClient.d.ts +0 -4
  175. package/sdk/public/PublicClient.js +0 -8
  176. package/sdk/public/index.d.ts +0 -2
  177. package/sdk/public/index.js +0 -4
  178. package/sdk/public/Billing/BillingPublicClient.d.ts +0 -45
  179. package/sdk/public/Billing/BillingPublicClient.js +0 -269
  180. package/sdk/public/Billing/BillingPublicModel.d.ts +0 -434
  181. package/sdk/public/Billing/BillingPublicModel.js +0 -395
  182. package/sdk/public/Billing/BillingPublicValidator.d.ts +0 -34
  183. package/sdk/public/Billing/BillingPublicValidator.js +0 -38
  184. package/sdk/public/Inventory/InventoryPublicClient.d.ts +0 -87
  185. package/sdk/public/Inventory/InventoryPublicClient.js +0 -529
  186. package/sdk/public/Inventory/InventoryPublicModel.d.ts +0 -393
  187. package/sdk/public/Inventory/InventoryPublicModel.js +0 -448
  188. package/sdk/public/Inventory/InventoryPublicValidator.d.ts +0 -91
  189. package/sdk/public/Inventory/InventoryPublicValidator.js +0 -85
@@ -159,7 +159,11 @@ export = ContentPlatformModel;
159
159
  * @typedef BlogGetResponse
160
160
  * @property {BlogSchema[]} [items]
161
161
  * @property {Page} [page]
162
- * @property {string[]} [filters]
162
+ * @property {BlogFilters} [filters]
163
+ */
164
+ /**
165
+ * @typedef BlogFilters
166
+ * @property {string[]} [tags]
163
167
  */
164
168
  /**
165
169
  * @typedef ResourceContent
@@ -290,7 +294,7 @@ export = ContentPlatformModel;
290
294
  */
291
295
  /**
292
296
  * @typedef Action
293
- * @property {string} [type]
297
+ * @property {string} [type] - Type of action to be taken e.g, page.
294
298
  * @property {ActionPage} [page]
295
299
  * @property {ActionPage} [popup]
296
300
  */
@@ -490,13 +494,13 @@ export = ContentPlatformModel;
490
494
  */
491
495
  /**
492
496
  * @typedef Page
493
- * @property {number} [item_total]
494
- * @property {string} [next_id]
495
- * @property {boolean} [has_previous]
496
- * @property {boolean} [has_next]
497
- * @property {number} [current]
498
- * @property {string} type
499
- * @property {number} [size]
497
+ * @property {number} [item_total] - The total number of items on the page.
498
+ * @property {string} [next_id] - The identifier for the next page.
499
+ * @property {boolean} [has_previous] - Indicates whether there is a previous page.
500
+ * @property {boolean} [has_next] - Indicates whether there is a next page.
501
+ * @property {number} [current] - The current page number.
502
+ * @property {string} type - The type of the page, such as 'PageType'.
503
+ * @property {number} [size] - The number of items per page.
500
504
  */
501
505
  /**
502
506
  * @typedef LandingPageGetResponse
@@ -665,7 +669,6 @@ export = ContentPlatformModel;
665
669
  * @typedef Support
666
670
  * @property {boolean} [created]
667
671
  * @property {string} [_id]
668
- * @property {string} [config_type]
669
672
  * @property {string} [application]
670
673
  * @property {string} [created_at]
671
674
  * @property {string} [updated_at]
@@ -1174,9 +1177,9 @@ export = ContentPlatformModel;
1174
1177
  */
1175
1178
  /**
1176
1179
  * @typedef ActionPage
1177
- * @property {Object} [params]
1178
- * @property {Object} [query]
1179
- * @property {string} [url]
1180
+ * @property {Object} [params] - Parameters that should be considered in path.
1181
+ * @property {Object} [query] - Query parameter if any to be added to the action.
1182
+ * @property {string} [url] - The URL for the action.
1180
1183
  * @property {PageType} type
1181
1184
  */
1182
1185
  /** @typedef {"title" | "description"} GenerationEntityType */
@@ -1192,6 +1195,7 @@ export = ContentPlatformModel;
1192
1195
  * | "category"
1193
1196
  * | "collection"
1194
1197
  * | "collections"
1198
+ * | "custom"
1195
1199
  * | "contact-us"
1196
1200
  * | "external"
1197
1201
  * | "faq"
@@ -1231,7 +1235,7 @@ export = ContentPlatformModel;
1231
1235
  declare class ContentPlatformModel {
1232
1236
  }
1233
1237
  declare namespace ContentPlatformModel {
1234
- export { GenerateSEOContent, GeneratedSEOContent, ApplicationLegal, ApplicationLegalFAQ, PathMappingSchema, PathSourceSchema, SeoComponent, SeoSchema, CustomMetaTag, Detail, SeoSchemaComponent, SEOSchemaMarkupTemplate, SEOSchemaMarkupTemplateRequestBody, AnnouncementPageSchema, EditorMeta, AnnouncementAuthorSchema, AdminAnnouncementSchema, DefaultSchemaComponent, DefaultSEOSchemaMarkupTemplate, ScheduleSchema, NextSchedule, BlogGetResponse, ResourceContent, Asset, Author, BlogSchema, SEO, SEOImage, SEOMetaItem, SEOMetaItems, SEOSitemap, SEObreadcrumb, DateMeta, BlogRequest, GetAnnouncementListSchema, CreateAnnouncementSchema, DataLoaderResponseSchema, DataLoaderResetResponseSchema, LocaleLanguage, Language, Action, NavigationReference, CronBasedScheduleSchema, ConfigurationSchema, SlideshowMedia, UpdateHandpickedSchema, HandpickedTagSchema, RemoveHandpickedSchema, CreateTagSchema, CreateTagRequestSchema, DataLoaderSchema, DataLoaderSourceSchema, DataLoadersSchema, TagDeleteSuccessResponse, ContentAPIError, CommonError, CategorySchema, ChildrenSchema, CategoryRequestSchema, FAQCategorySchema, FaqSchema, FAQ, CreateFaqResponseSchema, CreateFaqSchema, GetFaqSchema, UpdateFaqCategoryRequestSchema, CreateFaqCategoryRequestSchema, CreateFaqCategorySchema, GetFaqCategoriesSchema, GetFaqCategoryBySlugSchema, Page, LandingPageGetResponse, LandingPageSchema, DefaultNavigationResponse, NavigationGetResponse, Orientation, NavigationSchema, NavigationRequest, PageGetResponse, PageSpec, PageSpecParam, PageSpecItem, PageSchema, CreatedBySchema, PageRequest, CronSchedule, PagePublishRequest, PageMetaSchema, SlideshowGetResponse, SlideshowSchema, SlideshowRequest, Support, PhoneProperties, PhoneSchema, EmailProperties, EmailSchema, ContactSchema, TagsSchema, TagSchema, TagSourceSchema, ResourcesSchema, ResourceSchema, FieldValidations, FieldDefinitionSchema, CustomFieldDefinitionsSchema, CustomFieldDefinitionRequestSchema, CustomObjectCustomFieldDefinitions, CustomObjectDefinitionUpdateRequestSchema, CustomFieldDefinitionDetailResSchema, CustomDataDeleteSchema, CustomFieldValue, CustomFieldSchema, CustomFieldsResponseSchema, CustomFieldsResponseByResourceIdSchema, CustomField, CustomFieldRequestSchema, CustomObjectSchema, CustomObjectDefinitionRequestSchema, CustomObjectCustomFieldDefinitionResSchema, CustomObjectDefinitionSchema, CustomObjectDefinitionDeleteResponseSchema, CustomObjectEntryBulkUploadResponse, CustomObjectListItemDefinationSchema, CustomObjectListItemSchema, CustomObjectsSchema, CustomObjectFieldSchema, CustomObjectByIdSchema, CustomObjectBulkEntryInitiateDownload, CustomObjectMetaSchema, CustomObjectJobSchema, CustomObjectBulkEntry, CustomFieldTypeSchema, SupportedValidationsMetaExampleSchema, SupportedValidationsMetaSchema, SupportedValidationsSchema, StringSingleLine, StringMultiLine, Dropdown, Integer, FloatType, BooleanType, Date, Datetime, Json, File, Url, Metaobject, Product, CustomObjectEntry, CustomObjectDefinitionsSchema, CustomObjectEntryFieldSchema, CustomObjectRequestSchema, CustomObjectBulkSchema, ActionPage, GenerationEntityType, PageType };
1238
+ export { GenerateSEOContent, GeneratedSEOContent, ApplicationLegal, ApplicationLegalFAQ, PathMappingSchema, PathSourceSchema, SeoComponent, SeoSchema, CustomMetaTag, Detail, SeoSchemaComponent, SEOSchemaMarkupTemplate, SEOSchemaMarkupTemplateRequestBody, AnnouncementPageSchema, EditorMeta, AnnouncementAuthorSchema, AdminAnnouncementSchema, DefaultSchemaComponent, DefaultSEOSchemaMarkupTemplate, ScheduleSchema, NextSchedule, BlogGetResponse, BlogFilters, ResourceContent, Asset, Author, BlogSchema, SEO, SEOImage, SEOMetaItem, SEOMetaItems, SEOSitemap, SEObreadcrumb, DateMeta, BlogRequest, GetAnnouncementListSchema, CreateAnnouncementSchema, DataLoaderResponseSchema, DataLoaderResetResponseSchema, LocaleLanguage, Language, Action, NavigationReference, CronBasedScheduleSchema, ConfigurationSchema, SlideshowMedia, UpdateHandpickedSchema, HandpickedTagSchema, RemoveHandpickedSchema, CreateTagSchema, CreateTagRequestSchema, DataLoaderSchema, DataLoaderSourceSchema, DataLoadersSchema, TagDeleteSuccessResponse, ContentAPIError, CommonError, CategorySchema, ChildrenSchema, CategoryRequestSchema, FAQCategorySchema, FaqSchema, FAQ, CreateFaqResponseSchema, CreateFaqSchema, GetFaqSchema, UpdateFaqCategoryRequestSchema, CreateFaqCategoryRequestSchema, CreateFaqCategorySchema, GetFaqCategoriesSchema, GetFaqCategoryBySlugSchema, Page, LandingPageGetResponse, LandingPageSchema, DefaultNavigationResponse, NavigationGetResponse, Orientation, NavigationSchema, NavigationRequest, PageGetResponse, PageSpec, PageSpecParam, PageSpecItem, PageSchema, CreatedBySchema, PageRequest, CronSchedule, PagePublishRequest, PageMetaSchema, SlideshowGetResponse, SlideshowSchema, SlideshowRequest, Support, PhoneProperties, PhoneSchema, EmailProperties, EmailSchema, ContactSchema, TagsSchema, TagSchema, TagSourceSchema, ResourcesSchema, ResourceSchema, FieldValidations, FieldDefinitionSchema, CustomFieldDefinitionsSchema, CustomFieldDefinitionRequestSchema, CustomObjectCustomFieldDefinitions, CustomObjectDefinitionUpdateRequestSchema, CustomFieldDefinitionDetailResSchema, CustomDataDeleteSchema, CustomFieldValue, CustomFieldSchema, CustomFieldsResponseSchema, CustomFieldsResponseByResourceIdSchema, CustomField, CustomFieldRequestSchema, CustomObjectSchema, CustomObjectDefinitionRequestSchema, CustomObjectCustomFieldDefinitionResSchema, CustomObjectDefinitionSchema, CustomObjectDefinitionDeleteResponseSchema, CustomObjectEntryBulkUploadResponse, CustomObjectListItemDefinationSchema, CustomObjectListItemSchema, CustomObjectsSchema, CustomObjectFieldSchema, CustomObjectByIdSchema, CustomObjectBulkEntryInitiateDownload, CustomObjectMetaSchema, CustomObjectJobSchema, CustomObjectBulkEntry, CustomFieldTypeSchema, SupportedValidationsMetaExampleSchema, SupportedValidationsMetaSchema, SupportedValidationsSchema, StringSingleLine, StringMultiLine, Dropdown, Integer, FloatType, BooleanType, Date, Datetime, Json, File, Url, Metaobject, Product, CustomObjectEntry, CustomObjectDefinitionsSchema, CustomObjectEntryFieldSchema, CustomObjectRequestSchema, CustomObjectBulkSchema, ActionPage, GenerationEntityType, PageType };
1235
1239
  }
1236
1240
  /** @returns {GenerateSEOContent} */
1237
1241
  declare function GenerateSEOContent(): GenerateSEOContent;
@@ -1415,7 +1419,12 @@ declare function BlogGetResponse(): BlogGetResponse;
1415
1419
  type BlogGetResponse = {
1416
1420
  items?: BlogSchema[];
1417
1421
  page?: Page;
1418
- filters?: string[];
1422
+ filters?: BlogFilters;
1423
+ };
1424
+ /** @returns {BlogFilters} */
1425
+ declare function BlogFilters(): BlogFilters;
1426
+ type BlogFilters = {
1427
+ tags?: string[];
1419
1428
  };
1420
1429
  /** @returns {ResourceContent} */
1421
1430
  declare function ResourceContent(): ResourceContent;
@@ -1565,6 +1574,9 @@ type Language = {
1565
1574
  /** @returns {Action} */
1566
1575
  declare function Action(): Action;
1567
1576
  type Action = {
1577
+ /**
1578
+ * - Type of action to be taken e.g, page.
1579
+ */
1568
1580
  type?: string;
1569
1581
  page?: ActionPage;
1570
1582
  popup?: ActionPage;
@@ -1795,12 +1807,33 @@ type GetFaqCategoryBySlugSchema = {
1795
1807
  /** @returns {Page} */
1796
1808
  declare function Page(): Page;
1797
1809
  type Page = {
1810
+ /**
1811
+ * - The total number of items on the page.
1812
+ */
1798
1813
  item_total?: number;
1814
+ /**
1815
+ * - The identifier for the next page.
1816
+ */
1799
1817
  next_id?: string;
1818
+ /**
1819
+ * - Indicates whether there is a previous page.
1820
+ */
1800
1821
  has_previous?: boolean;
1822
+ /**
1823
+ * - Indicates whether there is a next page.
1824
+ */
1801
1825
  has_next?: boolean;
1826
+ /**
1827
+ * - The current page number.
1828
+ */
1802
1829
  current?: number;
1830
+ /**
1831
+ * - The type of the page, such as 'PageType'.
1832
+ */
1803
1833
  type: string;
1834
+ /**
1835
+ * - The number of items per page.
1836
+ */
1804
1837
  size?: number;
1805
1838
  };
1806
1839
  /** @returns {LandingPageGetResponse} */
@@ -1994,7 +2027,6 @@ declare function Support(): Support;
1994
2027
  type Support = {
1995
2028
  created?: boolean;
1996
2029
  _id?: string;
1997
- config_type?: string;
1998
2030
  application?: string;
1999
2031
  created_at?: string;
2000
2032
  updated_at?: string;
@@ -2574,8 +2606,17 @@ type CustomObjectBulkSchema = {
2574
2606
  /** @returns {ActionPage} */
2575
2607
  declare function ActionPage(): ActionPage;
2576
2608
  type ActionPage = {
2609
+ /**
2610
+ * - Parameters that should be considered in path.
2611
+ */
2577
2612
  params?: any;
2613
+ /**
2614
+ * - Query parameter if any to be added to the action.
2615
+ */
2578
2616
  query?: any;
2617
+ /**
2618
+ * - The URL for the action.
2619
+ */
2579
2620
  url?: string;
2580
2621
  type: PageType;
2581
2622
  };
@@ -2592,4 +2633,4 @@ type GenerationEntityType = "title" | "description";
2592
2633
  * @returns {PageType}
2593
2634
  */
2594
2635
  declare function PageType(): PageType;
2595
- type PageType = "about-us" | "addresses" | "blog" | "brands" | "cards" | "cart" | "categories" | "brand" | "category" | "collection" | "collections" | "contact-us" | "external" | "faq" | "freshchat" | "home" | "notification-settings" | "orders" | "page" | "policy" | "product" | "product-request" | "products" | "profile" | "profile-order-shipment" | "profile-basic" | "profile-company" | "profile-emails" | "profile-phones" | "rate-us" | "refer-earn" | "settings" | "shared-cart" | "tnc" | "track-order" | "wishlist" | "sections" | "form" | "cart-delivery" | "cart-payment" | "cart-review" | "login" | "register" | "shipping-policy" | "return-policy" | "order-status";
2636
+ type PageType = "about-us" | "addresses" | "blog" | "brands" | "cards" | "cart" | "categories" | "brand" | "category" | "collection" | "collections" | "custom" | "contact-us" | "external" | "faq" | "freshchat" | "home" | "notification-settings" | "orders" | "page" | "policy" | "product" | "product-request" | "products" | "profile" | "profile-order-shipment" | "profile-basic" | "profile-company" | "profile-emails" | "profile-phones" | "rate-us" | "refer-earn" | "settings" | "shared-cart" | "tnc" | "track-order" | "wishlist" | "sections" | "form" | "cart-delivery" | "cart-payment" | "cart-review" | "login" | "register" | "shipping-policy" | "return-policy" | "order-status";
@@ -181,7 +181,12 @@ const Joi = require("joi");
181
181
  * @typedef BlogGetResponse
182
182
  * @property {BlogSchema[]} [items]
183
183
  * @property {Page} [page]
184
- * @property {string[]} [filters]
184
+ * @property {BlogFilters} [filters]
185
+ */
186
+
187
+ /**
188
+ * @typedef BlogFilters
189
+ * @property {string[]} [tags]
185
190
  */
186
191
 
187
192
  /**
@@ -331,7 +336,7 @@ const Joi = require("joi");
331
336
 
332
337
  /**
333
338
  * @typedef Action
334
- * @property {string} [type]
339
+ * @property {string} [type] - Type of action to be taken e.g, page.
335
340
  * @property {ActionPage} [page]
336
341
  * @property {ActionPage} [popup]
337
342
  */
@@ -561,13 +566,13 @@ const Joi = require("joi");
561
566
 
562
567
  /**
563
568
  * @typedef Page
564
- * @property {number} [item_total]
565
- * @property {string} [next_id]
566
- * @property {boolean} [has_previous]
567
- * @property {boolean} [has_next]
568
- * @property {number} [current]
569
- * @property {string} type
570
- * @property {number} [size]
569
+ * @property {number} [item_total] - The total number of items on the page.
570
+ * @property {string} [next_id] - The identifier for the next page.
571
+ * @property {boolean} [has_previous] - Indicates whether there is a previous page.
572
+ * @property {boolean} [has_next] - Indicates whether there is a next page.
573
+ * @property {number} [current] - The current page number.
574
+ * @property {string} type - The type of the page, such as 'PageType'.
575
+ * @property {number} [size] - The number of items per page.
571
576
  */
572
577
 
573
578
  /**
@@ -757,7 +762,6 @@ const Joi = require("joi");
757
762
  * @typedef Support
758
763
  * @property {boolean} [created]
759
764
  * @property {string} [_id]
760
- * @property {string} [config_type]
761
765
  * @property {string} [application]
762
766
  * @property {string} [created_at]
763
767
  * @property {string} [updated_at]
@@ -1328,9 +1332,9 @@ const Joi = require("joi");
1328
1332
 
1329
1333
  /**
1330
1334
  * @typedef ActionPage
1331
- * @property {Object} [params]
1332
- * @property {Object} [query]
1333
- * @property {string} [url]
1335
+ * @property {Object} [params] - Parameters that should be considered in path.
1336
+ * @property {Object} [query] - Query parameter if any to be added to the action.
1337
+ * @property {string} [url] - The URL for the action.
1334
1338
  * @property {PageType} type
1335
1339
  */
1336
1340
 
@@ -1348,6 +1352,7 @@ const Joi = require("joi");
1348
1352
  * | "category"
1349
1353
  * | "collection"
1350
1354
  * | "collections"
1355
+ * | "custom"
1351
1356
  * | "contact-us"
1352
1357
  * | "external"
1353
1358
  * | "faq"
@@ -1612,7 +1617,14 @@ class ContentPlatformModel {
1612
1617
  return Joi.object({
1613
1618
  items: Joi.array().items(ContentPlatformModel.BlogSchema()),
1614
1619
  page: ContentPlatformModel.Page(),
1615
- filters: Joi.array().items(Joi.string().allow("")),
1620
+ filters: ContentPlatformModel.BlogFilters(),
1621
+ });
1622
+ }
1623
+
1624
+ /** @returns {BlogFilters} */
1625
+ static BlogFilters() {
1626
+ return Joi.object({
1627
+ tags: Joi.array().items(Joi.string().allow("")),
1616
1628
  });
1617
1629
  }
1618
1630
 
@@ -2327,7 +2339,6 @@ class ContentPlatformModel {
2327
2339
  return Joi.object({
2328
2340
  created: Joi.boolean(),
2329
2341
  _id: Joi.string().allow(""),
2330
- config_type: Joi.string().allow(""),
2331
2342
  application: Joi.string().allow(""),
2332
2343
  created_at: Joi.string().allow(""),
2333
2344
  updated_at: Joi.string().allow(""),
@@ -3115,6 +3126,8 @@ class ContentPlatformModel {
3115
3126
 
3116
3127
  "collections",
3117
3128
 
3129
+ "custom",
3130
+
3118
3131
  "contact-us",
3119
3132
 
3120
3133
  "external",
@@ -140,13 +140,13 @@ export = DiscountPlatformModel;
140
140
  */
141
141
  /**
142
142
  * @typedef Page
143
- * @property {number} [item_total]
144
- * @property {string} [next_id]
145
- * @property {boolean} [has_previous]
146
- * @property {boolean} [has_next]
147
- * @property {number} [current]
148
- * @property {string} type
149
- * @property {number} [size]
143
+ * @property {number} [item_total] - The total number of items on the page.
144
+ * @property {string} [next_id] - The identifier for the next page.
145
+ * @property {boolean} [has_previous] - Indicates whether there is a previous page.
146
+ * @property {boolean} [has_next] - Indicates whether there is a next page.
147
+ * @property {number} [current] - The current page number.
148
+ * @property {string} type - The type of the page, such as 'PageType'.
149
+ * @property {number} [size] - The number of items per page.
150
150
  */
151
151
  /**
152
152
  * @typedef UserDetails
@@ -338,12 +338,33 @@ type CancelJobResponse = {
338
338
  /** @returns {Page} */
339
339
  declare function Page(): Page;
340
340
  type Page = {
341
+ /**
342
+ * - The total number of items on the page.
343
+ */
341
344
  item_total?: number;
345
+ /**
346
+ * - The identifier for the next page.
347
+ */
342
348
  next_id?: string;
349
+ /**
350
+ * - Indicates whether there is a previous page.
351
+ */
343
352
  has_previous?: boolean;
353
+ /**
354
+ * - Indicates whether there is a next page.
355
+ */
344
356
  has_next?: boolean;
357
+ /**
358
+ * - The current page number.
359
+ */
345
360
  current?: number;
361
+ /**
362
+ * - The type of the page, such as 'PageType'.
363
+ */
346
364
  type: string;
365
+ /**
366
+ * - The number of items per page.
367
+ */
347
368
  size?: number;
348
369
  };
349
370
  /** @returns {UserDetails} */
@@ -153,13 +153,13 @@ const Joi = require("joi");
153
153
 
154
154
  /**
155
155
  * @typedef Page
156
- * @property {number} [item_total]
157
- * @property {string} [next_id]
158
- * @property {boolean} [has_previous]
159
- * @property {boolean} [has_next]
160
- * @property {number} [current]
161
- * @property {string} type
162
- * @property {number} [size]
156
+ * @property {number} [item_total] - The total number of items on the page.
157
+ * @property {string} [next_id] - The identifier for the next page.
158
+ * @property {boolean} [has_previous] - Indicates whether there is a previous page.
159
+ * @property {boolean} [has_next] - Indicates whether there is a next page.
160
+ * @property {number} [current] - The current page number.
161
+ * @property {string} type - The type of the page, such as 'PageType'.
162
+ * @property {number} [size] - The number of items per page.
163
163
  */
164
164
 
165
165
  /**
@@ -152,27 +152,33 @@ export = FileStoragePlatformModel;
152
152
  */
153
153
  /**
154
154
  * @typedef CompanyDetail
155
- * @property {string} [name]
156
- * @property {string} [address]
157
- * @property {string} [city]
158
- * @property {string} [state]
159
- * @property {string} [country]
160
- * @property {number} [zip_code]
161
- * @property {string} [state_code]
162
- * @property {string} [country_code]
163
- * @property {string} [gstin]
164
- * @property {string} [pan]
165
- * @property {string} [phone_no]
166
- * @property {string} [cin]
167
- * @property {string} [website_url]
168
- * @property {string} [email]
169
- * @property {string} [display_address]
170
- * @property {string} [sector]
171
- * @property {Object} [phone]
172
- * @property {string} [trn]
173
- * @property {string} [vat]
174
- * @property {string} [business_country_timezone]
175
- * @property {Object} [business_country_currency]
155
+ * @property {string} [name] - The official name of the company.
156
+ * @property {string} [address] - The physical street address of the company.
157
+ * @property {string} [city] - The city where the company is located.
158
+ * @property {string} [state] - The state or province where the company is located.
159
+ * @property {string} [country] - The country where the company is based.
160
+ * @property {number} [zip_code] - The postal code for the company's location.
161
+ * @property {string} [state_code] - A code representing the state, often used
162
+ * in official documents and forms.
163
+ * @property {string} [country_code] - The code of the country.
164
+ * @property {string} [gstin] - The Goods and Services Tax Identification
165
+ * Number, unique to each business in India.
166
+ * @property {string} [pan] - The Permanent Account Number, unique to each
167
+ * taxpayer in India.
168
+ * @property {string} [phone_no] - The primary contact phone number for the company.
169
+ * @property {string} [cin] - The Corporate Identification Number, unique to
170
+ * each company registered in India.
171
+ * @property {string} [website_url] - The URL to the company's official website.
172
+ * @property {string} [email] - The company's official email address.
173
+ * @property {string} [display_address] - The display address of the company.
174
+ * @property {string} [sector] - The sector in which company is located.
175
+ * @property {Object} [phone] - The provided phone no of country.
176
+ * @property {string} [trn] - The trn no of the company.
177
+ * @property {string} [vat] - The vat no of the company.
178
+ * @property {string} [business_country_timezone] - The bussiness country timezone.
179
+ * @property {Object} [business_country_currency] - This object represents the
180
+ * bussiness country currency.
181
+ * @property {Object} [meta] - This object represents the meta fields for company.
176
182
  */
177
183
  /**
178
184
  * @typedef StoreDetail
@@ -412,6 +418,8 @@ export = FileStoragePlatformModel;
412
418
  * @property {boolean} [is_self_ship]
413
419
  * @property {string} [mode]
414
420
  * @property {boolean} [is_self_pickup]
421
+ * @property {Object} [shipment_meta] - This field represents the shipment meta details
422
+ * @property {Object} [order_meta] - This field represents the order meta details
415
423
  * @property {string} [platform_name]
416
424
  * @property {number} [amount_to_be_collected]
417
425
  * @property {number} [amount_paid]
@@ -427,11 +435,12 @@ export = FileStoragePlatformModel;
427
435
  */
428
436
  /**
429
437
  * @typedef DummyTemplateData
430
- * @property {string} [_id]
431
- * @property {number} [pdf_type_id]
438
+ * @property {string} [_id] - This field contains the unique identifier for the
439
+ * PDF payload.
440
+ * @property {number} [pdf_type_id] - This is invoice unique id
432
441
  * @property {DummyTemplateDataPayload} payload
433
- * @property {string} [country_code]
434
- * @property {number} [__v]
442
+ * @property {string} [country_code] - This field represents the country code.
443
+ * @property {number} [__v] - This field holds the version number.
435
444
  */
436
445
  /**
437
446
  * @typedef DummyTemplateDataItems
@@ -741,27 +750,99 @@ type InvoiceDetail = {
741
750
  /** @returns {CompanyDetail} */
742
751
  declare function CompanyDetail(): CompanyDetail;
743
752
  type CompanyDetail = {
753
+ /**
754
+ * - The official name of the company.
755
+ */
744
756
  name?: string;
757
+ /**
758
+ * - The physical street address of the company.
759
+ */
745
760
  address?: string;
761
+ /**
762
+ * - The city where the company is located.
763
+ */
746
764
  city?: string;
765
+ /**
766
+ * - The state or province where the company is located.
767
+ */
747
768
  state?: string;
769
+ /**
770
+ * - The country where the company is based.
771
+ */
748
772
  country?: string;
773
+ /**
774
+ * - The postal code for the company's location.
775
+ */
749
776
  zip_code?: number;
777
+ /**
778
+ * - A code representing the state, often used
779
+ * in official documents and forms.
780
+ */
750
781
  state_code?: string;
782
+ /**
783
+ * - The code of the country.
784
+ */
751
785
  country_code?: string;
786
+ /**
787
+ * - The Goods and Services Tax Identification
788
+ * Number, unique to each business in India.
789
+ */
752
790
  gstin?: string;
791
+ /**
792
+ * - The Permanent Account Number, unique to each
793
+ * taxpayer in India.
794
+ */
753
795
  pan?: string;
796
+ /**
797
+ * - The primary contact phone number for the company.
798
+ */
754
799
  phone_no?: string;
800
+ /**
801
+ * - The Corporate Identification Number, unique to
802
+ * each company registered in India.
803
+ */
755
804
  cin?: string;
805
+ /**
806
+ * - The URL to the company's official website.
807
+ */
756
808
  website_url?: string;
809
+ /**
810
+ * - The company's official email address.
811
+ */
757
812
  email?: string;
813
+ /**
814
+ * - The display address of the company.
815
+ */
758
816
  display_address?: string;
817
+ /**
818
+ * - The sector in which company is located.
819
+ */
759
820
  sector?: string;
821
+ /**
822
+ * - The provided phone no of country.
823
+ */
760
824
  phone?: any;
825
+ /**
826
+ * - The trn no of the company.
827
+ */
761
828
  trn?: string;
829
+ /**
830
+ * - The vat no of the company.
831
+ */
762
832
  vat?: string;
833
+ /**
834
+ * - The bussiness country timezone.
835
+ */
763
836
  business_country_timezone?: string;
837
+ /**
838
+ * - This object represents the
839
+ * bussiness country currency.
840
+ */
764
841
  business_country_currency?: any;
842
+ /**
843
+ * - This object represents the meta fields for company.
844
+ */
845
+ meta?: any;
765
846
  };
766
847
  /** @returns {StoreDetail} */
767
848
  declare function StoreDetail(): StoreDetail;
@@ -1027,6 +1108,14 @@ type DummyTemplateDataPayload = {
1027
1108
  is_self_ship?: boolean;
1028
1109
  mode?: string;
1029
1110
  is_self_pickup?: boolean;
1111
+ /**
1112
+ * - This field represents the shipment meta details
1113
+ */
1114
+ shipment_meta?: any;
1115
+ /**
1116
+ * - This field represents the order meta details
1117
+ */
1118
+ order_meta?: any;
1030
1119
  platform_name?: string;
1031
1120
  amount_to_be_collected?: number;
1032
1121
  amount_paid?: number;
@@ -1043,10 +1132,23 @@ type DummyTemplateDataPayload = {
1043
1132
  /** @returns {DummyTemplateData} */
1044
1133
  declare function DummyTemplateData(): DummyTemplateData;
1045
1134
  type DummyTemplateData = {
1135
+ /**
1136
+ * - This field contains the unique identifier for the
1137
+ * PDF payload.
1138
+ */
1046
1139
  _id?: string;
1140
+ /**
1141
+ * - This is invoice unique id
1142
+ */
1047
1143
  pdf_type_id?: number;
1048
1144
  payload: DummyTemplateDataPayload;
1145
+ /**
1146
+ * - This field represents the country code.
1147
+ */
1049
1148
  country_code?: string;
1149
+ /**
1150
+ * - This field holds the version number.
1151
+ */
1050
1152
  __v?: number;
1051
1153
  };
1052
1154
  /** @returns {DummyTemplateDataItems} */
@@ -174,27 +174,33 @@ const Joi = require("joi");
174
174
 
175
175
  /**
176
176
  * @typedef CompanyDetail
177
- * @property {string} [name]
178
- * @property {string} [address]
179
- * @property {string} [city]
180
- * @property {string} [state]
181
- * @property {string} [country]
182
- * @property {number} [zip_code]
183
- * @property {string} [state_code]
184
- * @property {string} [country_code]
185
- * @property {string} [gstin]
186
- * @property {string} [pan]
187
- * @property {string} [phone_no]
188
- * @property {string} [cin]
189
- * @property {string} [website_url]
190
- * @property {string} [email]
191
- * @property {string} [display_address]
192
- * @property {string} [sector]
193
- * @property {Object} [phone]
194
- * @property {string} [trn]
195
- * @property {string} [vat]
196
- * @property {string} [business_country_timezone]
197
- * @property {Object} [business_country_currency]
177
+ * @property {string} [name] - The official name of the company.
178
+ * @property {string} [address] - The physical street address of the company.
179
+ * @property {string} [city] - The city where the company is located.
180
+ * @property {string} [state] - The state or province where the company is located.
181
+ * @property {string} [country] - The country where the company is based.
182
+ * @property {number} [zip_code] - The postal code for the company's location.
183
+ * @property {string} [state_code] - A code representing the state, often used
184
+ * in official documents and forms.
185
+ * @property {string} [country_code] - The code of the country.
186
+ * @property {string} [gstin] - The Goods and Services Tax Identification
187
+ * Number, unique to each business in India.
188
+ * @property {string} [pan] - The Permanent Account Number, unique to each
189
+ * taxpayer in India.
190
+ * @property {string} [phone_no] - The primary contact phone number for the company.
191
+ * @property {string} [cin] - The Corporate Identification Number, unique to
192
+ * each company registered in India.
193
+ * @property {string} [website_url] - The URL to the company's official website.
194
+ * @property {string} [email] - The company's official email address.
195
+ * @property {string} [display_address] - The display address of the company.
196
+ * @property {string} [sector] - The sector in which company is located.
197
+ * @property {Object} [phone] - The provided phone no of country.
198
+ * @property {string} [trn] - The trn no of the company.
199
+ * @property {string} [vat] - The vat no of the company.
200
+ * @property {string} [business_country_timezone] - The bussiness country timezone.
201
+ * @property {Object} [business_country_currency] - This object represents the
202
+ * bussiness country currency.
203
+ * @property {Object} [meta] - This object represents the meta fields for company.
198
204
  */
199
205
 
200
206
  /**
@@ -460,6 +466,8 @@ const Joi = require("joi");
460
466
  * @property {boolean} [is_self_ship]
461
467
  * @property {string} [mode]
462
468
  * @property {boolean} [is_self_pickup]
469
+ * @property {Object} [shipment_meta] - This field represents the shipment meta details
470
+ * @property {Object} [order_meta] - This field represents the order meta details
463
471
  * @property {string} [platform_name]
464
472
  * @property {number} [amount_to_be_collected]
465
473
  * @property {number} [amount_paid]
@@ -476,11 +484,12 @@ const Joi = require("joi");
476
484
 
477
485
  /**
478
486
  * @typedef DummyTemplateData
479
- * @property {string} [_id]
480
- * @property {number} [pdf_type_id]
487
+ * @property {string} [_id] - This field contains the unique identifier for the
488
+ * PDF payload.
489
+ * @property {number} [pdf_type_id] - This is invoice unique id
481
490
  * @property {DummyTemplateDataPayload} payload
482
- * @property {string} [country_code]
483
- * @property {number} [__v]
491
+ * @property {string} [country_code] - This field represents the country code.
492
+ * @property {number} [__v] - This field holds the version number.
484
493
  */
485
494
 
486
495
  /**
@@ -867,6 +876,7 @@ class FileStoragePlatformModel {
867
876
  vat: Joi.string().allow(""),
868
877
  business_country_timezone: Joi.string().allow(""),
869
878
  business_country_currency: Joi.object().pattern(/\S/, Joi.any()),
879
+ meta: Joi.object().pattern(/\S/, Joi.any()),
870
880
  });
871
881
  }
872
882
 
@@ -1184,6 +1194,8 @@ class FileStoragePlatformModel {
1184
1194
  is_self_ship: Joi.boolean(),
1185
1195
  mode: Joi.string().allow(""),
1186
1196
  is_self_pickup: Joi.boolean(),
1197
+ shipment_meta: Joi.object().pattern(/\S/, Joi.any()),
1198
+ order_meta: Joi.object().pattern(/\S/, Joi.any()),
1187
1199
  platform_name: Joi.string().allow(""),
1188
1200
  amount_to_be_collected: Joi.number(),
1189
1201
  amount_paid: Joi.number(),