@gofynd/fdk-client-javascript 1.4.15-beta.3 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/Cart/CartApplicationClient.d.ts +11 -11
  4. package/sdk/application/Cart/CartApplicationClient.js +48 -50
  5. package/sdk/application/Content/ContentApplicationClient.d.ts +0 -20
  6. package/sdk/application/Content/ContentApplicationClient.js +0 -78
  7. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +1 -1
  8. package/sdk/application/Logistic/LogisticApplicationClient.js +2 -0
  9. package/sdk/application/Payment/PaymentApplicationClient.d.ts +10 -0
  10. package/sdk/application/Payment/PaymentApplicationClient.js +39 -0
  11. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +33 -12
  12. package/sdk/partner/Logistics/LogisticsPartnerClient.js +209 -38
  13. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +399 -19
  14. package/sdk/partner/Logistics/LogisticsPartnerModel.js +212 -11
  15. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +3 -1
  16. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +22 -7
  17. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +1 -1
  18. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +1 -1
  19. package/sdk/platform/Cart/CartPlatformApplicationClient.js +3 -12
  20. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +0 -7
  21. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +0 -3
  22. package/sdk/platform/Cart/CartPlatformModel.d.ts +28 -14
  23. package/sdk/platform/Cart/CartPlatformModel.js +12 -6
  24. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +24 -0
  25. package/sdk/platform/Catalog/CatalogPlatformClient.js +176 -0
  26. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +80 -29
  27. package/sdk/platform/Catalog/CatalogPlatformModel.js +72 -32
  28. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +45 -1
  29. package/sdk/platform/Catalog/CatalogPlatformValidator.js +35 -0
  30. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -52
  31. package/sdk/platform/Content/ContentPlatformApplicationClient.js +0 -411
  32. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -85
  33. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +0 -73
  34. package/sdk/platform/Content/ContentPlatformModel.d.ts +1 -90
  35. package/sdk/platform/Content/ContentPlatformModel.js +0 -104
  36. package/sdk/platform/Order/OrderPlatformClient.d.ts +2 -2
  37. package/sdk/platform/Order/OrderPlatformClient.js +8 -0
  38. package/sdk/platform/Order/OrderPlatformModel.d.ts +73 -1
  39. package/sdk/platform/Order/OrderPlatformModel.js +39 -0
  40. package/sdk/platform/Order/OrderPlatformValidator.d.ts +22 -0
  41. package/sdk/platform/Order/OrderPlatformValidator.js +10 -0
  42. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +94 -0
  43. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +699 -76
  44. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +598 -23
  45. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +382 -20
  46. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +134 -1
  47. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +108 -0
@@ -62,10 +62,6 @@ export = ContentPlatformApplicationValidator;
62
62
  * @typedef CreateSEOMarkupSchemaParam
63
63
  * @property {ContentPlatformModel.SEOSchemaMarkupTemplateRequestBody} body
64
64
  */
65
- /**
66
- * @typedef CreateSlideshowParam
67
- * @property {ContentPlatformModel.SlideshowPayload} body
68
- */
69
65
  /**
70
66
  * @typedef DeleteAnnouncementParam
71
67
  * @property {string} announcementId - ID allotted to the announcement.
@@ -123,10 +119,6 @@ export = ContentPlatformApplicationValidator;
123
119
  * @property {string} id - Alphanumeric ID allotted to a SEO Markup Schema
124
120
  * Template created within a business.
125
121
  */
126
- /**
127
- * @typedef DeleteSlideshowParam
128
- * @property {string} id - ID allotted to the slideshow.
129
- */
130
122
  /**
131
123
  * @typedef EditDataLoaderParam
132
124
  * @property {string} dataLoaderId - ID allotted to the data loader.
@@ -340,22 +332,6 @@ export = ContentPlatformApplicationValidator;
340
332
  * @property {number} [pageSize] - The number of items to retrieve in each page.
341
333
  * Default value is 10.
342
334
  */
343
- /**
344
- * @typedef GetSlideshowBySlugParam
345
- * @property {string} slug - A short, human-readable, URL-friendly identifier of
346
- * a slideshow. You can get slug value of a page from `getSlideshows` API.
347
- * @property {string} devicePlatform - Filter slideshows by platform. Acceptable
348
- * values are: web, android, ios and all
349
- */
350
- /**
351
- * @typedef GetSlideshowsParam
352
- * @property {string} devicePlatform - Filter slideshows by platform. Acceptable
353
- * values are: web, android, ios and all
354
- * @property {number} [pageNo] - The page number to navigate through the given
355
- * set of results. Default value is 1.
356
- * @property {number} [pageSize] - The number of items to retrieve in each page.
357
- * Default value is 10.
358
- */
359
335
  /** @typedef GetSupportInformationParam */
360
336
  /**
361
337
  * @typedef ImportAppCustomObjectEntriesBySlugParam
@@ -467,11 +443,6 @@ export = ContentPlatformApplicationValidator;
467
443
  * @typedef UpdateSEOConfigurationParam
468
444
  * @property {ContentPlatformModel.SeoComponent} body
469
445
  */
470
- /**
471
- * @typedef UpdateSlideshowParam
472
- * @property {string} id - ID allotted to the slideshow.
473
- * @property {ContentPlatformModel.SlideshowPayload} body
474
- */
475
446
  /**
476
447
  * @typedef UpdateSupportInformationParam
477
448
  * @property {ContentPlatformModel.Support} body
@@ -507,8 +478,6 @@ declare class ContentPlatformApplicationValidator {
507
478
  static createPagePreview(): CreatePagePreviewParam;
508
479
  /** @returns {CreateSEOMarkupSchemaParam} */
509
480
  static createSEOMarkupSchema(): CreateSEOMarkupSchemaParam;
510
- /** @returns {CreateSlideshowParam} */
511
- static createSlideshow(): CreateSlideshowParam;
512
481
  /** @returns {DeleteAnnouncementParam} */
513
482
  static deleteAnnouncement(): DeleteAnnouncementParam;
514
483
  /** @returns {DeleteAppCustomFieldDefinitionBySlugParam} */
@@ -535,8 +504,6 @@ declare class ContentPlatformApplicationValidator {
535
504
  static deletePathRedirectionRules(): DeletePathRedirectionRulesParam;
536
505
  /** @returns {DeleteSEOMarkupSchemaParam} */
537
506
  static deleteSEOMarkupSchema(): DeleteSEOMarkupSchemaParam;
538
- /** @returns {DeleteSlideshowParam} */
539
- static deleteSlideshow(): DeleteSlideshowParam;
540
507
  /** @returns {EditDataLoaderParam} */
541
508
  static editDataLoader(): EditDataLoaderParam;
542
509
  /** @returns {EditInjectableTagParam} */
@@ -621,10 +588,6 @@ declare class ContentPlatformApplicationValidator {
621
588
  static getSEOMarkupSchema(): GetSEOMarkupSchemaParam;
622
589
  /** @returns {GetSEOMarkupSchemasParam} */
623
590
  static getSEOMarkupSchemas(): GetSEOMarkupSchemasParam;
624
- /** @returns {GetSlideshowBySlugParam} */
625
- static getSlideshowBySlug(): GetSlideshowBySlugParam;
626
- /** @returns {GetSlideshowsParam} */
627
- static getSlideshows(): GetSlideshowsParam;
628
591
  /** @returns {GetSupportInformationParam} */
629
592
  static getSupportInformation(): any;
630
593
  /** @returns {ImportAppCustomObjectEntriesBySlugParam} */
@@ -671,13 +634,11 @@ declare class ContentPlatformApplicationValidator {
671
634
  static updatePathRedirectionRules(): UpdatePathRedirectionRulesParam;
672
635
  /** @returns {UpdateSEOConfigurationParam} */
673
636
  static updateSEOConfiguration(): UpdateSEOConfigurationParam;
674
- /** @returns {UpdateSlideshowParam} */
675
- static updateSlideshow(): UpdateSlideshowParam;
676
637
  /** @returns {UpdateSupportInformationParam} */
677
638
  static updateSupportInformation(): UpdateSupportInformationParam;
678
639
  }
679
640
  declare namespace ContentPlatformApplicationValidator {
680
- export { AddDataLoaderParam, AddFaqParam, AddInjectableTagParam, AddPathRedirectionRulesParam, CreateAnnouncementParam, CreateAppCustomFieldDefinitionParam, CreateAppCustomObjectBySlugParam, CreateAppCustomObjectDefinitionParam, CreateBlogParam, CreateFaqCategoryParam, CreateLandingPageParam, CreateNavigationParam, CreatePageParam, CreatePagePreviewParam, CreateSEOMarkupSchemaParam, CreateSlideshowParam, DeleteAnnouncementParam, DeleteAppCustomFieldDefinitionBySlugParam, DeleteAppCustomObjectBySlugParam, DeleteAppCustomObjectDefinitionBySlugParam, DeleteBlogParam, DeleteDataLoaderParam, DeleteFaqParam, DeleteFaqCategoryParam, DeleteLandingPageParam, DeleteNavigationParam, DeletePageParam, DeletePathRedirectionRulesParam, DeleteSEOMarkupSchemaParam, DeleteSlideshowParam, EditDataLoaderParam, EditInjectableTagParam, EditSEOMarkupSchemaParam, ExportAppCustomObjectEntriesBySlugParam, GenerateSEOTitleParam, GetAnnouncementByIdParam, GetAnnouncementsListParam, GetAppCustomFieldDefinitionByResourceParam, GetAppCustomFieldDefinitionBySlugParam, GetAppCustomFieldDefinitionsParam, GetAppCustomFieldTypesParam, GetAppCustomFieldsByResourceSlugParam, GetAppCustomObjectBySlugParam, GetAppCustomObjectDefinitionBySlugParam, GetAppCustomObjectDefinitionsParam, GetAppCustomObjectsBySlugParam, GetAppJobsParam, GetAppResourcesParam, GetBlogBySlugParam, GetBlogsParam, GetDataLoadersParam, GetDataLoadersByServiceParam, GetDefaultNavigationsParam, GetDefaultSEOMarkupSchemaParam, GetFaqByIdOrSlugParam, GetFaqCategoriesParam, GetFaqCategoryBySlugOrIdParam, GetFaqsByCategoryIdOrSlugParam, GetInjectableTagsParam, GetLandingPagesParam, GetLegalInformationParam, GetNavigationBySlugParam, GetNavigationsParam, GetPageBySlugParam, GetPageMetaParam, GetPageSpecParam, GetPagesParam, GetPathRedirectionRuleParam, GetPathRedirectionRulesParam, GetSEOConfigurationParam, GetSEOMarkupSchemaParam, GetSEOMarkupSchemasParam, GetSlideshowBySlugParam, GetSlideshowsParam, GetSupportInformationParam, ImportAppCustomObjectEntriesBySlugParam, RemoveInjectableTagParam, ResetDataLoaderParam, SampleAppCustomObjectBulkEntryBySlugParam, SelectDataLoaderParam, UpdateAnnouncementParam, UpdateAnnouncementScheduleParam, UpdateAppCustomFieldByResourceSlugParam, UpdateAppCustomFieldDefinitionBySlugParam, UpdateAppCustomObjectBySlugParam, UpdateAppCustomObjectDefinitionBySlugParam, UpdateBlogParam, UpdateFaqParam, UpdateFaqCategoryParam, UpdateInjectableTagParam, UpdateLandingPageParam, UpdateLegalInformationParam, UpdateNavigationParam, UpdatePageParam, UpdatePagePreviewParam, UpdatePathRedirectionRulesParam, UpdateSEOConfigurationParam, UpdateSlideshowParam, UpdateSupportInformationParam };
641
+ export { AddDataLoaderParam, AddFaqParam, AddInjectableTagParam, AddPathRedirectionRulesParam, CreateAnnouncementParam, CreateAppCustomFieldDefinitionParam, CreateAppCustomObjectBySlugParam, CreateAppCustomObjectDefinitionParam, CreateBlogParam, CreateFaqCategoryParam, CreateLandingPageParam, CreateNavigationParam, CreatePageParam, CreatePagePreviewParam, CreateSEOMarkupSchemaParam, DeleteAnnouncementParam, DeleteAppCustomFieldDefinitionBySlugParam, DeleteAppCustomObjectBySlugParam, DeleteAppCustomObjectDefinitionBySlugParam, DeleteBlogParam, DeleteDataLoaderParam, DeleteFaqParam, DeleteFaqCategoryParam, DeleteLandingPageParam, DeleteNavigationParam, DeletePageParam, DeletePathRedirectionRulesParam, DeleteSEOMarkupSchemaParam, EditDataLoaderParam, EditInjectableTagParam, EditSEOMarkupSchemaParam, ExportAppCustomObjectEntriesBySlugParam, GenerateSEOTitleParam, GetAnnouncementByIdParam, GetAnnouncementsListParam, GetAppCustomFieldDefinitionByResourceParam, GetAppCustomFieldDefinitionBySlugParam, GetAppCustomFieldDefinitionsParam, GetAppCustomFieldTypesParam, GetAppCustomFieldsByResourceSlugParam, GetAppCustomObjectBySlugParam, GetAppCustomObjectDefinitionBySlugParam, GetAppCustomObjectDefinitionsParam, GetAppCustomObjectsBySlugParam, GetAppJobsParam, GetAppResourcesParam, GetBlogBySlugParam, GetBlogsParam, GetDataLoadersParam, GetDataLoadersByServiceParam, GetDefaultNavigationsParam, GetDefaultSEOMarkupSchemaParam, GetFaqByIdOrSlugParam, GetFaqCategoriesParam, GetFaqCategoryBySlugOrIdParam, GetFaqsByCategoryIdOrSlugParam, GetInjectableTagsParam, GetLandingPagesParam, GetLegalInformationParam, GetNavigationBySlugParam, GetNavigationsParam, GetPageBySlugParam, GetPageMetaParam, GetPageSpecParam, GetPagesParam, GetPathRedirectionRuleParam, GetPathRedirectionRulesParam, GetSEOConfigurationParam, GetSEOMarkupSchemaParam, GetSEOMarkupSchemasParam, GetSupportInformationParam, ImportAppCustomObjectEntriesBySlugParam, RemoveInjectableTagParam, ResetDataLoaderParam, SampleAppCustomObjectBulkEntryBySlugParam, SelectDataLoaderParam, UpdateAnnouncementParam, UpdateAnnouncementScheduleParam, UpdateAppCustomFieldByResourceSlugParam, UpdateAppCustomFieldDefinitionBySlugParam, UpdateAppCustomObjectBySlugParam, UpdateAppCustomObjectDefinitionBySlugParam, UpdateBlogParam, UpdateFaqParam, UpdateFaqCategoryParam, UpdateInjectableTagParam, UpdateLandingPageParam, UpdateLegalInformationParam, UpdateNavigationParam, UpdatePageParam, UpdatePagePreviewParam, UpdatePathRedirectionRulesParam, UpdateSEOConfigurationParam, UpdateSupportInformationParam };
681
642
  }
682
643
  type AddDataLoaderParam = {
683
644
  body: ContentPlatformModel.DataLoaderSchema;
@@ -730,9 +691,6 @@ type CreatePagePreviewParam = {
730
691
  type CreateSEOMarkupSchemaParam = {
731
692
  body: ContentPlatformModel.SEOSchemaMarkupTemplateRequestBody;
732
693
  };
733
- type CreateSlideshowParam = {
734
- body: ContentPlatformModel.SlideshowPayload;
735
- };
736
694
  type DeleteAnnouncementParam = {
737
695
  /**
738
696
  * - ID allotted to the announcement.
@@ -810,12 +768,6 @@ type DeleteSEOMarkupSchemaParam = {
810
768
  */
811
769
  id: string;
812
770
  };
813
- type DeleteSlideshowParam = {
814
- /**
815
- * - ID allotted to the slideshow.
816
- */
817
- id: string;
818
- };
819
771
  type EditDataLoaderParam = {
820
772
  /**
821
773
  * - ID allotted to the data loader.
@@ -1104,35 +1056,6 @@ type GetSEOMarkupSchemasParam = {
1104
1056
  */
1105
1057
  pageSize?: number;
1106
1058
  };
1107
- type GetSlideshowBySlugParam = {
1108
- /**
1109
- * - A short, human-readable, URL-friendly identifier of
1110
- * a slideshow. You can get slug value of a page from `getSlideshows` API.
1111
- */
1112
- slug: string;
1113
- /**
1114
- * - Filter slideshows by platform. Acceptable
1115
- * values are: web, android, ios and all
1116
- */
1117
- devicePlatform: string;
1118
- };
1119
- type GetSlideshowsParam = {
1120
- /**
1121
- * - Filter slideshows by platform. Acceptable
1122
- * values are: web, android, ios and all
1123
- */
1124
- devicePlatform: string;
1125
- /**
1126
- * - The page number to navigate through the given
1127
- * set of results. Default value is 1.
1128
- */
1129
- pageNo?: number;
1130
- /**
1131
- * - The number of items to retrieve in each page.
1132
- * Default value is 10.
1133
- */
1134
- pageSize?: number;
1135
- };
1136
1059
  type ImportAppCustomObjectEntriesBySlugParam = {
1137
1060
  slug: string;
1138
1061
  body: ContentPlatformModel.CustomObjectBulkSchema;
@@ -1263,13 +1186,6 @@ type UpdatePathRedirectionRulesParam = {
1263
1186
  type UpdateSEOConfigurationParam = {
1264
1187
  body: ContentPlatformModel.SeoComponent;
1265
1188
  };
1266
- type UpdateSlideshowParam = {
1267
- /**
1268
- * - ID allotted to the slideshow.
1269
- */
1270
- id: string;
1271
- body: ContentPlatformModel.SlideshowPayload;
1272
- };
1273
1189
  type UpdateSupportInformationParam = {
1274
1190
  body: ContentPlatformModel.Support;
1275
1191
  };
@@ -80,11 +80,6 @@ const ContentPlatformModel = require("./ContentPlatformModel");
80
80
  * @property {ContentPlatformModel.SEOSchemaMarkupTemplateRequestBody} body
81
81
  */
82
82
 
83
- /**
84
- * @typedef CreateSlideshowParam
85
- * @property {ContentPlatformModel.SlideshowPayload} body
86
- */
87
-
88
83
  /**
89
84
  * @typedef DeleteAnnouncementParam
90
85
  * @property {string} announcementId - ID allotted to the announcement.
@@ -155,11 +150,6 @@ const ContentPlatformModel = require("./ContentPlatformModel");
155
150
  * Template created within a business.
156
151
  */
157
152
 
158
- /**
159
- * @typedef DeleteSlideshowParam
160
- * @property {string} id - ID allotted to the slideshow.
161
- */
162
-
163
153
  /**
164
154
  * @typedef EditDataLoaderParam
165
155
  * @property {string} dataLoaderId - ID allotted to the data loader.
@@ -415,24 +405,6 @@ const ContentPlatformModel = require("./ContentPlatformModel");
415
405
  * Default value is 10.
416
406
  */
417
407
 
418
- /**
419
- * @typedef GetSlideshowBySlugParam
420
- * @property {string} slug - A short, human-readable, URL-friendly identifier of
421
- * a slideshow. You can get slug value of a page from `getSlideshows` API.
422
- * @property {string} devicePlatform - Filter slideshows by platform. Acceptable
423
- * values are: web, android, ios and all
424
- */
425
-
426
- /**
427
- * @typedef GetSlideshowsParam
428
- * @property {string} devicePlatform - Filter slideshows by platform. Acceptable
429
- * values are: web, android, ios and all
430
- * @property {number} [pageNo] - The page number to navigate through the given
431
- * set of results. Default value is 1.
432
- * @property {number} [pageSize] - The number of items to retrieve in each page.
433
- * Default value is 10.
434
- */
435
-
436
408
  /** @typedef GetSupportInformationParam */
437
409
 
438
410
  /**
@@ -567,12 +539,6 @@ const ContentPlatformModel = require("./ContentPlatformModel");
567
539
  * @property {ContentPlatformModel.SeoComponent} body
568
540
  */
569
541
 
570
- /**
571
- * @typedef UpdateSlideshowParam
572
- * @property {string} id - ID allotted to the slideshow.
573
- * @property {ContentPlatformModel.SlideshowPayload} body
574
- */
575
-
576
542
  /**
577
543
  * @typedef UpdateSupportInformationParam
578
544
  * @property {ContentPlatformModel.Support} body
@@ -687,13 +653,6 @@ class ContentPlatformApplicationValidator {
687
653
  }).required();
688
654
  }
689
655
 
690
- /** @returns {CreateSlideshowParam} */
691
- static createSlideshow() {
692
- return Joi.object({
693
- body: ContentPlatformModel.SlideshowPayload().required(),
694
- }).required();
695
- }
696
-
697
656
  /** @returns {DeleteAnnouncementParam} */
698
657
  static deleteAnnouncement() {
699
658
  return Joi.object({
@@ -789,13 +748,6 @@ class ContentPlatformApplicationValidator {
789
748
  }).required();
790
749
  }
791
750
 
792
- /** @returns {DeleteSlideshowParam} */
793
- static deleteSlideshow() {
794
- return Joi.object({
795
- id: Joi.string().allow("").required(),
796
- }).required();
797
- }
798
-
799
751
  /** @returns {EditDataLoaderParam} */
800
752
  static editDataLoader() {
801
753
  return Joi.object({
@@ -1114,23 +1066,6 @@ class ContentPlatformApplicationValidator {
1114
1066
  }).required();
1115
1067
  }
1116
1068
 
1117
- /** @returns {GetSlideshowBySlugParam} */
1118
- static getSlideshowBySlug() {
1119
- return Joi.object({
1120
- slug: Joi.string().allow("").required(),
1121
- devicePlatform: Joi.string().allow("").required(),
1122
- }).required();
1123
- }
1124
-
1125
- /** @returns {GetSlideshowsParam} */
1126
- static getSlideshows() {
1127
- return Joi.object({
1128
- devicePlatform: Joi.string().allow("").required(),
1129
- pageNo: Joi.number(),
1130
- pageSize: Joi.number(),
1131
- }).required();
1132
- }
1133
-
1134
1069
  /** @returns {GetSupportInformationParam} */
1135
1070
  static getSupportInformation() {
1136
1071
  return Joi.object({}).required();
@@ -1311,14 +1246,6 @@ class ContentPlatformApplicationValidator {
1311
1246
  }).required();
1312
1247
  }
1313
1248
 
1314
- /** @returns {UpdateSlideshowParam} */
1315
- static updateSlideshow() {
1316
- return Joi.object({
1317
- id: Joi.string().allow("").required(),
1318
- body: ContentPlatformModel.SlideshowPayload().required(),
1319
- }).required();
1320
- }
1321
-
1322
1249
  /** @returns {UpdateSupportInformationParam} */
1323
1250
  static updateSupportInformation() {
1324
1251
  return Joi.object({
@@ -324,22 +324,6 @@ export = ContentPlatformModel;
324
324
  * @property {string} [start]
325
325
  * @property {string} [end]
326
326
  */
327
- /**
328
- * @typedef ConfigurationSchema
329
- * @property {number} [sleep_time]
330
- * @property {boolean} [start_on_launch]
331
- * @property {number} [duration]
332
- * @property {string} [slide_direction]
333
- */
334
- /**
335
- * @typedef SlideshowMedia
336
- * @property {string} [type]
337
- * @property {string} [url]
338
- * @property {string} [bg_color]
339
- * @property {number} [duration]
340
- * @property {boolean} [auto_decide_duration]
341
- * @property {Action} [action]
342
- */
343
327
  /**
344
328
  * @typedef UpdateHandpickedSchema
345
329
  * @property {HandpickedTagSchema} [tag]
@@ -644,32 +628,6 @@ export = ContentPlatformModel;
644
628
  * @property {PageSchema[]} [custom_pages]
645
629
  * @property {string} [application_id]
646
630
  */
647
- /**
648
- * @typedef SlideshowGetDetails
649
- * @property {SlideshowSchema[]} [items]
650
- * @property {Page} [page]
651
- */
652
- /**
653
- * @typedef SlideshowSchema
654
- * @property {string} [_id]
655
- * @property {string} [slug]
656
- * @property {DateMeta} [date_meta]
657
- * @property {string} [application]
658
- * @property {string} [platform]
659
- * @property {ConfigurationSchema} [configuration]
660
- * @property {SlideshowMedia[]} [media]
661
- * @property {boolean} [active]
662
- * @property {boolean} [archived]
663
- * @property {Object} [_custom_json]
664
- */
665
- /**
666
- * @typedef SlideshowPayload
667
- * @property {string} [slug]
668
- * @property {string} [platform]
669
- * @property {ConfigurationSchema} [configuration]
670
- * @property {SlideshowMedia} [media]
671
- * @property {boolean} [active]
672
- */
673
631
  /**
674
632
  * @typedef Support
675
633
  * @property {boolean} [created]
@@ -1298,7 +1256,7 @@ export = ContentPlatformModel;
1298
1256
  declare class ContentPlatformModel {
1299
1257
  }
1300
1258
  declare namespace ContentPlatformModel {
1301
- 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, ConfigurationSchema, SlideshowMedia, 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, SlideshowGetDetails, SlideshowSchema, SlideshowPayload, 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, GenerationEntityType, PageType };
1259
+ 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, GenerationEntityType, PageType };
1302
1260
  }
1303
1261
  /** @returns {ValidationError} */
1304
1262
  declare function ValidationError(): ValidationError;
@@ -1679,24 +1637,6 @@ type CronBasedScheduleSchema = {
1679
1637
  start?: string;
1680
1638
  end?: string;
1681
1639
  };
1682
- /** @returns {ConfigurationSchema} */
1683
- declare function ConfigurationSchema(): ConfigurationSchema;
1684
- type ConfigurationSchema = {
1685
- sleep_time?: number;
1686
- start_on_launch?: boolean;
1687
- duration?: number;
1688
- slide_direction?: string;
1689
- };
1690
- /** @returns {SlideshowMedia} */
1691
- declare function SlideshowMedia(): SlideshowMedia;
1692
- type SlideshowMedia = {
1693
- type?: string;
1694
- url?: string;
1695
- bg_color?: string;
1696
- duration?: number;
1697
- auto_decide_duration?: boolean;
1698
- action?: Action;
1699
- };
1700
1640
  /** @returns {UpdateHandpickedSchema} */
1701
1641
  declare function UpdateHandpickedSchema(): UpdateHandpickedSchema;
1702
1642
  type UpdateHandpickedSchema = {
@@ -2068,35 +2008,6 @@ type PageMetaSchema = {
2068
2008
  custom_pages?: PageSchema[];
2069
2009
  application_id?: string;
2070
2010
  };
2071
- /** @returns {SlideshowGetDetails} */
2072
- declare function SlideshowGetDetails(): SlideshowGetDetails;
2073
- type SlideshowGetDetails = {
2074
- items?: SlideshowSchema[];
2075
- page?: Page;
2076
- };
2077
- /** @returns {SlideshowSchema} */
2078
- declare function SlideshowSchema(): SlideshowSchema;
2079
- type SlideshowSchema = {
2080
- _id?: string;
2081
- slug?: string;
2082
- date_meta?: DateMeta;
2083
- application?: string;
2084
- platform?: string;
2085
- configuration?: ConfigurationSchema;
2086
- media?: SlideshowMedia[];
2087
- active?: boolean;
2088
- archived?: boolean;
2089
- _custom_json?: any;
2090
- };
2091
- /** @returns {SlideshowPayload} */
2092
- declare function SlideshowPayload(): SlideshowPayload;
2093
- type SlideshowPayload = {
2094
- slug?: string;
2095
- platform?: string;
2096
- configuration?: ConfigurationSchema;
2097
- media?: SlideshowMedia;
2098
- active?: boolean;
2099
- };
2100
2011
  /** @returns {Support} */
2101
2012
  declare function Support(): Support;
2102
2013
  type Support = {
@@ -370,24 +370,6 @@ const Joi = require("joi");
370
370
  * @property {string} [end]
371
371
  */
372
372
 
373
- /**
374
- * @typedef ConfigurationSchema
375
- * @property {number} [sleep_time]
376
- * @property {boolean} [start_on_launch]
377
- * @property {number} [duration]
378
- * @property {string} [slide_direction]
379
- */
380
-
381
- /**
382
- * @typedef SlideshowMedia
383
- * @property {string} [type]
384
- * @property {string} [url]
385
- * @property {string} [bg_color]
386
- * @property {number} [duration]
387
- * @property {boolean} [auto_decide_duration]
388
- * @property {Action} [action]
389
- */
390
-
391
373
  /**
392
374
  * @typedef UpdateHandpickedSchema
393
375
  * @property {HandpickedTagSchema} [tag]
@@ -735,35 +717,6 @@ const Joi = require("joi");
735
717
  * @property {string} [application_id]
736
718
  */
737
719
 
738
- /**
739
- * @typedef SlideshowGetDetails
740
- * @property {SlideshowSchema[]} [items]
741
- * @property {Page} [page]
742
- */
743
-
744
- /**
745
- * @typedef SlideshowSchema
746
- * @property {string} [_id]
747
- * @property {string} [slug]
748
- * @property {DateMeta} [date_meta]
749
- * @property {string} [application]
750
- * @property {string} [platform]
751
- * @property {ConfigurationSchema} [configuration]
752
- * @property {SlideshowMedia[]} [media]
753
- * @property {boolean} [active]
754
- * @property {boolean} [archived]
755
- * @property {Object} [_custom_json]
756
- */
757
-
758
- /**
759
- * @typedef SlideshowPayload
760
- * @property {string} [slug]
761
- * @property {string} [platform]
762
- * @property {ConfigurationSchema} [configuration]
763
- * @property {SlideshowMedia} [media]
764
- * @property {boolean} [active]
765
- */
766
-
767
720
  /**
768
721
  * @typedef Support
769
722
  * @property {boolean} [created]
@@ -1924,28 +1877,6 @@ class ContentPlatformModel {
1924
1877
  });
1925
1878
  }
1926
1879
 
1927
- /** @returns {ConfigurationSchema} */
1928
- static ConfigurationSchema() {
1929
- return Joi.object({
1930
- sleep_time: Joi.number(),
1931
- start_on_launch: Joi.boolean(),
1932
- duration: Joi.number(),
1933
- slide_direction: Joi.string().allow(""),
1934
- });
1935
- }
1936
-
1937
- /** @returns {SlideshowMedia} */
1938
- static SlideshowMedia() {
1939
- return Joi.object({
1940
- type: Joi.string().allow(""),
1941
- url: Joi.string().allow(""),
1942
- bg_color: Joi.string().allow(""),
1943
- duration: Joi.number(),
1944
- auto_decide_duration: Joi.boolean(),
1945
- action: ContentPlatformModel.Action(),
1946
- });
1947
- }
1948
-
1949
1880
  /** @returns {UpdateHandpickedSchema} */
1950
1881
  static UpdateHandpickedSchema() {
1951
1882
  return Joi.object({
@@ -2378,41 +2309,6 @@ class ContentPlatformModel {
2378
2309
  });
2379
2310
  }
2380
2311
 
2381
- /** @returns {SlideshowGetDetails} */
2382
- static SlideshowGetDetails() {
2383
- return Joi.object({
2384
- items: Joi.array().items(ContentPlatformModel.SlideshowSchema()),
2385
- page: ContentPlatformModel.Page(),
2386
- });
2387
- }
2388
-
2389
- /** @returns {SlideshowSchema} */
2390
- static SlideshowSchema() {
2391
- return Joi.object({
2392
- _id: Joi.string().allow(""),
2393
- slug: Joi.string().allow(""),
2394
- date_meta: ContentPlatformModel.DateMeta(),
2395
- application: Joi.string().allow(""),
2396
- platform: Joi.string().allow(""),
2397
- configuration: ContentPlatformModel.ConfigurationSchema(),
2398
- media: Joi.array().items(ContentPlatformModel.SlideshowMedia()),
2399
- active: Joi.boolean(),
2400
- archived: Joi.boolean(),
2401
- _custom_json: Joi.object().pattern(/\S/, Joi.any()),
2402
- });
2403
- }
2404
-
2405
- /** @returns {SlideshowPayload} */
2406
- static SlideshowPayload() {
2407
- return Joi.object({
2408
- slug: Joi.string().allow(""),
2409
- platform: Joi.string().allow(""),
2410
- configuration: ContentPlatformModel.ConfigurationSchema(),
2411
- media: ContentPlatformModel.SlideshowMedia(),
2412
- active: Joi.boolean(),
2413
- });
2414
- }
2415
-
2416
2312
  /** @returns {Support} */
2417
2313
  static Support() {
2418
2314
  return Joi.object({
@@ -345,7 +345,7 @@ declare class Order {
345
345
  * @summary: List orders
346
346
  * @description: Get a list of orders based on the filters provided. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getOrders/).
347
347
  */
348
- getOrders({ lane, searchType, bagStatus, timeToDispatch, paymentMethods, tags, searchValue, fromDate, toDate, startDate, endDate, dpIds, stores, salesChannels, pageNo, pageSize, isPrioritySort, customMeta, myOrders, showCrossCompanyData, customerId, orderType, allowInactive, groupEntity, enforceDateFilter, requestHeaders, }?: OrderPlatformValidator.GetOrdersParam, { responseHeaders }?: object): Promise<OrderPlatformModel.OrderListingResponseSchema>;
348
+ getOrders({ lane, searchType, bagStatus, timeToDispatch, paymentMethods, tags, searchValue, fromDate, toDate, startDate, endDate, dpIds, stores, salesChannels, pageNo, pageSize, isPrioritySort, customMeta, myOrders, showCrossCompanyData, customerId, orderType, allowInactive, groupEntity, enforceDateFilter, fulfillmentType, requestHeaders, }?: OrderPlatformValidator.GetOrdersParam, { responseHeaders }?: object): Promise<OrderPlatformModel.OrderListingResponseSchema>;
349
349
  /**
350
350
  * @param {OrderPlatformValidator.GetRoleBasedActionsParam} arg - Arg object
351
351
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -401,7 +401,7 @@ declare class Order {
401
401
  * @summary: List shipments
402
402
  * @description: Get a list of shipments based on the filters provided - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getShipments/).
403
403
  */
404
- getShipments({ lane, bagStatus, statusOverrideLane, timeToDispatch, searchType, searchValue, fromDate, toDate, startDate, endDate, dpIds, stores, salesChannels, pageNo, pageSize, fetchActiveShipment, allowInactive, excludeLockedShipments, paymentMethods, channelShipmentId, channelOrderId, customMeta, orderingChannel, companyAffiliateTag, myOrders, platformUserId, sortType, showCrossCompanyData, tags, customerId, orderType, groupEntity, enforceDateFilter, requestHeaders, }?: OrderPlatformValidator.GetShipmentsParam, { responseHeaders }?: object): Promise<OrderPlatformModel.ShipmentInternalPlatformViewResponseSchema>;
404
+ getShipments({ lane, bagStatus, statusOverrideLane, timeToDispatch, searchType, searchValue, fromDate, toDate, startDate, endDate, dpIds, stores, salesChannels, pageNo, pageSize, fetchActiveShipment, allowInactive, excludeLockedShipments, paymentMethods, channelShipmentId, channelOrderId, customMeta, orderingChannel, companyAffiliateTag, myOrders, platformUserId, sortType, showCrossCompanyData, tags, customerId, orderType, groupEntity, enforceDateFilter, fulfillmentType, requestHeaders, }?: OrderPlatformValidator.GetShipmentsParam, { responseHeaders }?: object): Promise<OrderPlatformModel.ShipmentInternalPlatformViewResponseSchema>;
405
405
  /**
406
406
  * @param {OrderPlatformValidator.GetStateManagerConfigParam} arg - Arg object
407
407
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -2837,6 +2837,7 @@ class Order {
2837
2837
  allowInactive,
2838
2838
  groupEntity,
2839
2839
  enforceDateFilter,
2840
+ fulfillmentType,
2840
2841
  requestHeaders,
2841
2842
  } = { requestHeaders: {} },
2842
2843
  { responseHeaders } = { responseHeaders: false }
@@ -2868,6 +2869,7 @@ class Order {
2868
2869
  allowInactive,
2869
2870
  groupEntity,
2870
2871
  enforceDateFilter,
2872
+ fulfillmentType,
2871
2873
  },
2872
2874
  { abortEarly: false, allowUnknown: true }
2873
2875
  );
@@ -2903,6 +2905,7 @@ class Order {
2903
2905
  allowInactive,
2904
2906
  groupEntity,
2905
2907
  enforceDateFilter,
2908
+ fulfillmentType,
2906
2909
  },
2907
2910
  { abortEarly: false, allowUnknown: false }
2908
2911
  );
@@ -2939,6 +2942,7 @@ class Order {
2939
2942
  query_params["allow_inactive"] = allowInactive;
2940
2943
  query_params["group_entity"] = groupEntity;
2941
2944
  query_params["enforce_date_filter"] = enforceDateFilter;
2945
+ query_params["fulfillment_type"] = fulfillmentType;
2942
2946
 
2943
2947
  const xHeaders = {};
2944
2948
 
@@ -3364,6 +3368,7 @@ class Order {
3364
3368
  orderType,
3365
3369
  groupEntity,
3366
3370
  enforceDateFilter,
3371
+ fulfillmentType,
3367
3372
  requestHeaders,
3368
3373
  } = { requestHeaders: {} },
3369
3374
  { responseHeaders } = { responseHeaders: false }
@@ -3403,6 +3408,7 @@ class Order {
3403
3408
  orderType,
3404
3409
  groupEntity,
3405
3410
  enforceDateFilter,
3411
+ fulfillmentType,
3406
3412
  },
3407
3413
  { abortEarly: false, allowUnknown: true }
3408
3414
  );
@@ -3446,6 +3452,7 @@ class Order {
3446
3452
  orderType,
3447
3453
  groupEntity,
3448
3454
  enforceDateFilter,
3455
+ fulfillmentType,
3449
3456
  },
3450
3457
  { abortEarly: false, allowUnknown: false }
3451
3458
  );
@@ -3490,6 +3497,7 @@ class Order {
3490
3497
  query_params["order_type"] = orderType;
3491
3498
  query_params["group_entity"] = groupEntity;
3492
3499
  query_params["enforce_date_filter"] = enforceDateFilter;
3500
+ query_params["fulfillment_type"] = fulfillmentType;
3493
3501
 
3494
3502
  const xHeaders = {};
3495
3503