@gofynd/fdk-client-javascript 3.3.6 → 3.4.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.
Files changed (54) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +6 -3
  4. package/sdk/application/Catalog/CatalogApplicationClient.js +24 -5
  5. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +10 -0
  6. package/sdk/application/Logistic/LogisticApplicationClient.js +44 -0
  7. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +115 -47
  8. package/sdk/partner/Logistics/LogisticsPartnerModel.js +67 -35
  9. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +5 -0
  10. package/sdk/partner/Webhook/WebhookPartnerModel.js +2 -0
  11. package/sdk/platform/Cart/CartPlatformModel.d.ts +454 -12
  12. package/sdk/platform/Cart/CartPlatformModel.js +457 -10
  13. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +1 -1
  14. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +4 -1
  15. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +9 -0
  16. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +4 -0
  17. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +4 -2
  18. package/sdk/platform/Catalog/CatalogPlatformClient.js +16 -3
  19. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +33 -2
  20. package/sdk/platform/Catalog/CatalogPlatformModel.js +17 -2
  21. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +5 -0
  22. package/sdk/platform/Catalog/CatalogPlatformValidator.js +2 -0
  23. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +2 -0
  24. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +2 -0
  25. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +17 -1
  26. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +15 -0
  27. package/sdk/platform/Content/ContentPlatformModel.d.ts +14 -19
  28. package/sdk/platform/Content/ContentPlatformModel.js +6 -20
  29. package/sdk/platform/Order/OrderPlatformModel.d.ts +237 -17
  30. package/sdk/platform/Order/OrderPlatformModel.js +388 -14
  31. package/sdk/platform/Order/OrderPlatformValidator.d.ts +15 -15
  32. package/sdk/platform/Order/OrderPlatformValidator.js +9 -9
  33. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +7 -5
  34. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +4 -3
  35. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +97 -1
  36. package/sdk/platform/Payment/PaymentPlatformModel.js +273 -0
  37. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +124 -1
  38. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +800 -33
  39. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +139 -1
  40. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +125 -0
  41. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +2 -2
  42. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +8 -2
  43. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1033 -113
  44. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +613 -35
  45. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +12 -0
  46. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +5 -0
  47. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +36 -0
  48. package/sdk/platform/User/UserPlatformApplicationClient.js +251 -0
  49. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +38 -1
  50. package/sdk/platform/User/UserPlatformApplicationValidator.js +42 -0
  51. package/sdk/platform/User/UserPlatformModel.d.ts +430 -10
  52. package/sdk/platform/User/UserPlatformModel.js +276 -7
  53. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +10 -0
  54. package/sdk/platform/Webhook/WebhookPlatformModel.js +4 -0
@@ -303,6 +303,9 @@ export = CatalogPlatformApplicationValidator;
303
303
  /**
304
304
  * @typedef GetConfigurationByTypeParam
305
305
  * @property {string} type - Type can be brands, categories etc.
306
+ * @property {boolean} [includeInactive] - Pass the `include_inactive` parameter
307
+ * to retrieve inactive brand or category details. This flag enables fetching
308
+ * all brands or categories,including those that are inactive.
306
309
  */
307
310
  /**
308
311
  * @typedef GetConfigurationMetadataParam
@@ -1144,6 +1147,12 @@ type GetConfigurationByTypeParam = {
1144
1147
  * - Type can be brands, categories etc.
1145
1148
  */
1146
1149
  type: string;
1150
+ /**
1151
+ * - Pass the `include_inactive` parameter
1152
+ * to retrieve inactive brand or category details. This flag enables fetching
1153
+ * all brands or categories,including those that are inactive.
1154
+ */
1155
+ includeInactive?: boolean;
1147
1156
  };
1148
1157
  type GetConfigurationMetadataParam = {
1149
1158
  /**
@@ -346,6 +346,9 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
346
346
  /**
347
347
  * @typedef GetConfigurationByTypeParam
348
348
  * @property {string} type - Type can be brands, categories etc.
349
+ * @property {boolean} [includeInactive] - Pass the `include_inactive` parameter
350
+ * to retrieve inactive brand or category details. This flag enables fetching
351
+ * all brands or categories,including those that are inactive.
349
352
  */
350
353
 
351
354
  /**
@@ -864,6 +867,7 @@ class CatalogPlatformApplicationValidator {
864
867
  static getConfigurationByType() {
865
868
  return Joi.object({
866
869
  type: Joi.string().allow("").required(),
870
+ includeInactive: Joi.boolean(),
867
871
  }).required();
868
872
  }
869
873
 
@@ -411,7 +411,7 @@ declare class Catalog {
411
411
  * @summary: List bulk inventory upload history
412
412
  * @description: Helps to get bulk Inventory upload jobs status. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getInventoryBulkUploadHistory/).
413
413
  */
414
- getInventoryBulkUploadHistory({ pageNo, pageSize, search, startDate, endDate, stage, requestHeaders }?: CatalogPlatformValidator.GetInventoryBulkUploadHistoryParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.BulkInventoryGet>;
414
+ getInventoryBulkUploadHistory({ pageNo, pageSize, search, startDate, endDate, stage, tags, requestHeaders, }?: CatalogPlatformValidator.GetInventoryBulkUploadHistoryParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.BulkInventoryGet>;
415
415
  /**
416
416
  * @param {Object} arg - Arg object.
417
417
  * @param {number} [arg.pageSize] - Number of items to retrieve in each
@@ -421,16 +421,18 @@ declare class Catalog {
421
421
  * @param {string} [arg.endDate] - Filter results by the job's end date.
422
422
  * @param {string} [arg.stage] - Filter results by the current stage of the
423
423
  * import job.
424
+ * @param {string} [arg.tags] - Filter results by the tags of the import job.
424
425
  * @returns {Paginator<CatalogPlatformModel.BulkInventoryGet>}
425
426
  * @summary: List bulk inventory upload history
426
427
  * @description: Helps to get bulk Inventory upload jobs status.
427
428
  */
428
- getInventoryBulkUploadHistoryPaginator({ pageSize, search, startDate, endDate, stage, }?: {
429
+ getInventoryBulkUploadHistoryPaginator({ pageSize, search, startDate, endDate, stage, tags, }?: {
429
430
  pageSize?: number;
430
431
  search?: string;
431
432
  startDate?: string;
432
433
  endDate?: string;
433
434
  stage?: string;
435
+ tags?: string;
434
436
  }): Paginator<CatalogPlatformModel.BulkInventoryGet>;
435
437
  /**
436
438
  * @param {CatalogPlatformValidator.GetInventoryBySizeParam} arg - Arg object
@@ -2853,9 +2853,16 @@ class Catalog {
2853
2853
  * @description: Helps to get bulk Inventory upload jobs status. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getInventoryBulkUploadHistory/).
2854
2854
  */
2855
2855
  async getInventoryBulkUploadHistory(
2856
- { pageNo, pageSize, search, startDate, endDate, stage, requestHeaders } = {
2857
- requestHeaders: {},
2858
- },
2856
+ {
2857
+ pageNo,
2858
+ pageSize,
2859
+ search,
2860
+ startDate,
2861
+ endDate,
2862
+ stage,
2863
+ tags,
2864
+ requestHeaders,
2865
+ } = { requestHeaders: {} },
2859
2866
  { responseHeaders } = { responseHeaders: false }
2860
2867
  ) {
2861
2868
  const {
@@ -2868,6 +2875,7 @@ class Catalog {
2868
2875
  startDate,
2869
2876
  endDate,
2870
2877
  stage,
2878
+ tags,
2871
2879
  },
2872
2880
  { abortEarly: false, allowUnknown: true }
2873
2881
  );
@@ -2886,6 +2894,7 @@ class Catalog {
2886
2894
  startDate,
2887
2895
  endDate,
2888
2896
  stage,
2897
+ tags,
2889
2898
  },
2890
2899
  { abortEarly: false, allowUnknown: false }
2891
2900
  );
@@ -2903,6 +2912,7 @@ class Catalog {
2903
2912
  query_params["start_date"] = startDate;
2904
2913
  query_params["end_date"] = endDate;
2905
2914
  query_params["stage"] = stage;
2915
+ query_params["tags"] = tags;
2906
2916
 
2907
2917
  const xHeaders = {};
2908
2918
 
@@ -2951,6 +2961,7 @@ class Catalog {
2951
2961
  * @param {string} [arg.endDate] - Filter results by the job's end date.
2952
2962
  * @param {string} [arg.stage] - Filter results by the current stage of the
2953
2963
  * import job.
2964
+ * @param {string} [arg.tags] - Filter results by the tags of the import job.
2954
2965
  * @returns {Paginator<CatalogPlatformModel.BulkInventoryGet>}
2955
2966
  * @summary: List bulk inventory upload history
2956
2967
  * @description: Helps to get bulk Inventory upload jobs status.
@@ -2961,6 +2972,7 @@ class Catalog {
2961
2972
  startDate,
2962
2973
  endDate,
2963
2974
  stage,
2975
+ tags,
2964
2976
  } = {}) {
2965
2977
  const paginator = new Paginator();
2966
2978
  const callback = async () => {
@@ -2974,6 +2986,7 @@ class Catalog {
2974
2986
  startDate: startDate,
2975
2987
  endDate: endDate,
2976
2988
  stage: stage,
2989
+ tags: tags,
2977
2990
  });
2978
2991
  paginator.setPaginator({
2979
2992
  hasNext: data.page.has_next ? true : false,
@@ -589,6 +589,7 @@ export = CatalogPlatformModel;
589
589
  * @property {string} [stage]
590
590
  * @property {number} [succeed]
591
591
  * @property {number} [total]
592
+ * @property {string[]} [tags]
592
593
  * @property {BulkMeta} [meta]
593
594
  */
594
595
  /**
@@ -631,6 +632,7 @@ export = CatalogPlatformModel;
631
632
  * @property {string} [template_tag]
632
633
  * @property {number} [total]
633
634
  * @property {string} [tracking_url]
635
+ * @property {string[]} [tags]
634
636
  */
635
637
  /**
636
638
  * @typedef BulkProductRequestSchema
@@ -2200,7 +2202,11 @@ export = CatalogPlatformModel;
2200
2202
  * @property {string} seller_identifier - The identifier of the seller.
2201
2203
  * @property {number} store_id - The ID of the store.
2202
2204
  * @property {string[]} [tags] - The tags associated with the inventory item.
2205
+ * @property {string} [mode] - Indicates whether delta or replace operation for inventory
2203
2206
  * @property {number} [total_quantity] - The total quantity of the inventory item.
2207
+ * @property {number} [damaged_quantity] - The damaged quantity of the inventory item.
2208
+ * @property {number} [not_available_quantity] - The not available quantity of
2209
+ * the inventory item.
2204
2210
  * @property {string} [trace_id] - The trace ID of the inventory payload.
2205
2211
  */
2206
2212
  /**
@@ -2623,7 +2629,9 @@ export = CatalogPlatformModel;
2623
2629
  /**
2624
2630
  * @typedef LocationQuantityRequestSchema
2625
2631
  * @property {string} [expiration_date] - The expiration date of the inventory item.
2626
- * @property {number} total_quantity - The total quantity of the inventory item.
2632
+ * @property {number} [total_quantity] - The total quantity of the inventory item.
2633
+ * @property {number} [damaged_quantity] - The total quantity of the inventory item.
2634
+ * @property {number} [not_available_quantity] - The total quantity of the inventory item.
2627
2635
  */
2628
2636
  /**
2629
2637
  * @typedef LocationPriceQuantitySuccessResponseSchema
@@ -5645,6 +5653,7 @@ type BulkInventoryGetItems = {
5645
5653
  stage?: string;
5646
5654
  succeed?: number;
5647
5655
  total?: number;
5656
+ tags?: string[];
5648
5657
  meta?: BulkMeta;
5649
5658
  };
5650
5659
  /** @returns {BulkMeta} */
@@ -5729,6 +5738,7 @@ type BulkJob = {
5729
5738
  template_tag?: string;
5730
5739
  total?: number;
5731
5740
  tracking_url?: string;
5741
+ tags?: string[];
5732
5742
  };
5733
5743
  /** @returns {BulkProductRequestSchema} */
5734
5744
  declare function BulkProductRequestSchema(): BulkProductRequestSchema;
@@ -9073,10 +9083,23 @@ type InventoryPayload = {
9073
9083
  * - The tags associated with the inventory item.
9074
9084
  */
9075
9085
  tags?: string[];
9086
+ /**
9087
+ * - Indicates whether delta or replace operation for inventory
9088
+ */
9089
+ mode?: string;
9076
9090
  /**
9077
9091
  * - The total quantity of the inventory item.
9078
9092
  */
9079
9093
  total_quantity?: number;
9094
+ /**
9095
+ * - The damaged quantity of the inventory item.
9096
+ */
9097
+ damaged_quantity?: number;
9098
+ /**
9099
+ * - The not available quantity of
9100
+ * the inventory item.
9101
+ */
9102
+ not_available_quantity?: number;
9080
9103
  /**
9081
9104
  * - The trace ID of the inventory payload.
9082
9105
  */
@@ -10012,7 +10035,15 @@ type LocationQuantityRequestSchema = {
10012
10035
  /**
10013
10036
  * - The total quantity of the inventory item.
10014
10037
  */
10015
- total_quantity: number;
10038
+ total_quantity?: number;
10039
+ /**
10040
+ * - The total quantity of the inventory item.
10041
+ */
10042
+ damaged_quantity?: number;
10043
+ /**
10044
+ * - The total quantity of the inventory item.
10045
+ */
10046
+ not_available_quantity?: number;
10016
10047
  };
10017
10048
  /** @returns {LocationPriceQuantitySuccessResponseSchema} */
10018
10049
  declare function LocationPriceQuantitySuccessResponseSchema(): LocationPriceQuantitySuccessResponseSchema;
@@ -648,6 +648,7 @@ const Joi = require("joi");
648
648
  * @property {string} [stage]
649
649
  * @property {number} [succeed]
650
650
  * @property {number} [total]
651
+ * @property {string[]} [tags]
651
652
  * @property {BulkMeta} [meta]
652
653
  */
653
654
 
@@ -693,6 +694,7 @@ const Joi = require("joi");
693
694
  * @property {string} [template_tag]
694
695
  * @property {number} [total]
695
696
  * @property {string} [tracking_url]
697
+ * @property {string[]} [tags]
696
698
  */
697
699
 
698
700
  /**
@@ -2417,7 +2419,11 @@ const Joi = require("joi");
2417
2419
  * @property {string} seller_identifier - The identifier of the seller.
2418
2420
  * @property {number} store_id - The ID of the store.
2419
2421
  * @property {string[]} [tags] - The tags associated with the inventory item.
2422
+ * @property {string} [mode] - Indicates whether delta or replace operation for inventory
2420
2423
  * @property {number} [total_quantity] - The total quantity of the inventory item.
2424
+ * @property {number} [damaged_quantity] - The damaged quantity of the inventory item.
2425
+ * @property {number} [not_available_quantity] - The not available quantity of
2426
+ * the inventory item.
2421
2427
  * @property {string} [trace_id] - The trace ID of the inventory payload.
2422
2428
  */
2423
2429
 
@@ -2885,7 +2891,9 @@ const Joi = require("joi");
2885
2891
  /**
2886
2892
  * @typedef LocationQuantityRequestSchema
2887
2893
  * @property {string} [expiration_date] - The expiration date of the inventory item.
2888
- * @property {number} total_quantity - The total quantity of the inventory item.
2894
+ * @property {number} [total_quantity] - The total quantity of the inventory item.
2895
+ * @property {number} [damaged_quantity] - The total quantity of the inventory item.
2896
+ * @property {number} [not_available_quantity] - The total quantity of the inventory item.
2889
2897
  */
2890
2898
 
2891
2899
  /**
@@ -5507,6 +5515,7 @@ class CatalogPlatformModel {
5507
5515
  stage: Joi.string().allow(""),
5508
5516
  succeed: Joi.number(),
5509
5517
  total: Joi.number(),
5518
+ tags: Joi.array().items(Joi.string().allow("")),
5510
5519
  meta: CatalogPlatformModel.BulkMeta(),
5511
5520
  });
5512
5521
  }
@@ -5553,6 +5562,7 @@ class CatalogPlatformModel {
5553
5562
  template_tag: Joi.string().allow(""),
5554
5563
  total: Joi.number(),
5555
5564
  tracking_url: Joi.string().allow(""),
5565
+ tags: Joi.array().items(Joi.string().allow("")),
5556
5566
  });
5557
5567
  }
5558
5568
 
@@ -7414,7 +7424,10 @@ class CatalogPlatformModel {
7414
7424
  seller_identifier: Joi.string().allow("").required(),
7415
7425
  store_id: Joi.number().required(),
7416
7426
  tags: Joi.array().items(Joi.string().allow("")).allow(null, ""),
7427
+ mode: Joi.string().allow(""),
7417
7428
  total_quantity: Joi.number().allow(null),
7429
+ damaged_quantity: Joi.number().allow(null),
7430
+ not_available_quantity: Joi.number().allow(null),
7418
7431
  trace_id: Joi.string().allow(""),
7419
7432
  });
7420
7433
  }
@@ -7934,7 +7947,9 @@ class CatalogPlatformModel {
7934
7947
  static LocationQuantityRequestSchema() {
7935
7948
  return Joi.object({
7936
7949
  expiration_date: Joi.string().allow(""),
7937
- total_quantity: Joi.number().required(),
7950
+ total_quantity: Joi.number(),
7951
+ damaged_quantity: Joi.number(),
7952
+ not_available_quantity: Joi.number(),
7938
7953
  });
7939
7954
  }
7940
7955
 
@@ -188,6 +188,7 @@ export = CatalogPlatformValidator;
188
188
  * @property {string} [startDate] - Filter results by the job's start date.
189
189
  * @property {string} [endDate] - Filter results by the job's end date.
190
190
  * @property {string} [stage] - Filter results by the current stage of the import job.
191
+ * @property {string} [tags] - Filter results by the tags of the import job.
191
192
  */
192
193
  /**
193
194
  * @typedef GetInventoryBySizeParam
@@ -975,6 +976,10 @@ type GetInventoryBulkUploadHistoryParam = {
975
976
  * - Filter results by the current stage of the import job.
976
977
  */
977
978
  stage?: string;
979
+ /**
980
+ * - Filter results by the tags of the import job.
981
+ */
982
+ tags?: string;
978
983
  };
979
984
  type GetInventoryBySizeParam = {
980
985
  /**
@@ -224,6 +224,7 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
224
224
  * @property {string} [startDate] - Filter results by the job's start date.
225
225
  * @property {string} [endDate] - Filter results by the job's end date.
226
226
  * @property {string} [stage] - Filter results by the current stage of the import job.
227
+ * @property {string} [tags] - Filter results by the tags of the import job.
227
228
  */
228
229
 
229
230
  /**
@@ -845,6 +846,7 @@ class CatalogPlatformValidator {
845
846
  startDate: Joi.string().allow(""),
846
847
  endDate: Joi.string().allow(""),
847
848
  stage: Joi.string().allow(""),
849
+ tags: Joi.string().allow(""),
848
850
  }).required();
849
851
  }
850
852
 
@@ -375,6 +375,7 @@ export = CompanyProfilePlatformModel;
375
375
  * @property {AverageOrderProcessingTime} [avg_order_processing_time]
376
376
  * @property {boolean} [bulk_shipment]
377
377
  * @property {boolean} [auto_assign_courier_partner]
378
+ * @property {boolean} [qc_based_return_inventory_sync]
378
379
  */
379
380
  /**
380
381
  * @typedef LocationListSchema
@@ -892,6 +893,7 @@ type GetLocationSchema = {
892
893
  avg_order_processing_time?: AverageOrderProcessingTime;
893
894
  bulk_shipment?: boolean;
894
895
  auto_assign_courier_partner?: boolean;
896
+ qc_based_return_inventory_sync?: boolean;
895
897
  };
896
898
  /** @returns {LocationListSchema} */
897
899
  declare function LocationListSchema(): LocationListSchema;
@@ -414,6 +414,7 @@ const Joi = require("joi");
414
414
  * @property {AverageOrderProcessingTime} [avg_order_processing_time]
415
415
  * @property {boolean} [bulk_shipment]
416
416
  * @property {boolean} [auto_assign_courier_partner]
417
+ * @property {boolean} [qc_based_return_inventory_sync]
417
418
  */
418
419
 
419
420
  /**
@@ -1002,6 +1003,7 @@ class CompanyProfilePlatformModel {
1002
1003
  avg_order_processing_time: CompanyProfilePlatformModel.AverageOrderProcessingTime(),
1003
1004
  bulk_shipment: Joi.boolean(),
1004
1005
  auto_assign_courier_partner: Joi.boolean(),
1006
+ qc_based_return_inventory_sync: Joi.boolean(),
1005
1007
  });
1006
1008
  }
1007
1009
 
@@ -895,6 +895,11 @@ export = ConfigurationPlatformModel;
895
895
  * @typedef DeliveryStrategy
896
896
  * @property {string} [value] - Indicates the delivery strategy value.
897
897
  */
898
+ /**
899
+ * @typedef FulfillmentOption
900
+ * @property {number} [count] - Total count of available fulfillment options
901
+ * configured for a specific application.
902
+ */
898
903
  /**
899
904
  * @typedef AppFeature
900
905
  * @property {ProductDetailFeature} [product_detail]
@@ -908,6 +913,7 @@ export = ConfigurationPlatformModel;
908
913
  * @property {OrderFeature} [order]
909
914
  * @property {BuyboxFeature} [buybox]
910
915
  * @property {DeliveryStrategy} [delivery_strategy]
916
+ * @property {FulfillmentOption} [fulfillment_option]
911
917
  * @property {string} [_id] - The unique identifier for the sales channel features
912
918
  * @property {string} [app] - Application ID of the sales channel
913
919
  * @property {string} [created_at] - ISO 8601 timestamp showing the date when
@@ -1403,7 +1409,7 @@ export = ConfigurationPlatformModel;
1403
1409
  declare class ConfigurationPlatformModel {
1404
1410
  }
1405
1411
  declare namespace ConfigurationPlatformModel {
1406
- export { CurrencyExchangeResponseV2, CurrencyExchangeItem, ApplicationInventory, PiiMasking, FstIdentification, QuerySuggestions, SearchConfig, AppInventoryConfig, InventoryBrand, InventoryStore, AppStoreRules, InventoryCategory, InventoryPrice, InventoryDiscount, AuthenticationConfig, ArticleAssignmentConfig, ArticleAssignmentRules, StorePriority, AppCartConfig, InternationalDeliveryCharges, DeliveryCharges, Charges, AppPaymentConfig, CallbackUrl, Methods, PaymentModeConfig, PaymentSelectionLock, AppOrderConfig, ProcessingSchedule, StartAfter, AppLogisticsConfig, LoyaltyPointsConfig, AppInventoryPartialUpdate, BrandCompanyInfo, CompanyByBrandsRequestSchema, CompanyByBrandsResponseSchema, StoreByBrandsRequestSchema, StoreByBrandsResponseSchema, BrandStoreInfo, CompanyBrandInfo, BrandsByCompanyResponseSchema, ValidationFailedResponseSchema, NotFound, CommunicationConfig, CommsConfig, PanCardConfig, CreateApplicationRequestSchema, CreateAppResponseSchema, ApplicationsResponseSchema, MobileAppConfiguration, LandingImage, SplashImage, MobileAppConfigRequestSchema, BuildVersionHistory, BuildVersion, AppSupportedCurrency, DefaultCurrency, DomainAdd, DomainAddRequestSchema, Domain, DomainsResponseSchema, UpdateDomain, UpdateDomainTypeRequestSchema, DomainStatusRequestSchema, DomainStatus, DomainStatusResponseSchema, DomainSuggestionsRequestSchema, DomainSuggestion, DomainSuggestionsResponseSchema, SuccessMessageResponseSchema, App, AppDomain, CompaniesResponseSchema, AppInventoryCompanies, StoresResponseSchema, AppInventoryStores, FilterOrderingStoreRequestSchema, DeploymentMeta, OrderingStoreConfig, OrderingStoreSelectRequestSchema, OrderingStoreSelect, OtherSellerCompany, OtherSellerApplication, OtherSellerApplications, OptedApplicationResponseSchema, OptedCompany, OptedInventory, OptType, OptedStore, OptOutInventory, TokenResponseSchema, Tokens, Firebase, Credentials, Ios, Android, Moengage, MoengageCredentials, Segment, SegmentCredentials, Gtm, GtmCredentials, Freshchat, FreshchatCredentials, Safetynet, SafetynetCredentials, FyndRewards, FyndRewardsCredentials, GoogleMap, GoogleMapCredentials, RewardPointsConfig, Credit, Debit, ProductDetailFeature, LaunchPage, LandingPageFeature, ListingPageFeature, RegistrationPageFeature, BuyboxFeature, DeliveryStrategy, AppFeature, HomePageFeature, CommonFeature, InternationalShipping, CommunicationOptinDialogFeature, DeploymentStoreSelectionFeature, ListingPriceFeature, CurrencyFeature, RevenueEngineFeature, FeedbackFeature, CompareProductsFeature, CartFeature, QrFeature, PcrFeature, OrderFeature, AppFeatureRequestSchema, AppFeatureResponseSchema, Currency, ApplicationWebsite, ApplicationCors, ApplicationAuth, ApplicationRedirections, ApplicationMeta, SecureUrl, Application, ApplicationById, TokenSchemaID, TokenSchema, InvalidPayloadRequestSchema, Page, ApplicationInformation, InformationAddress, InformationPhone, InformationLoc, InformationSupport, InformationSupportPhone, InformationSupportEmail, SocialLinks, FacebookLink, InstagramLink, TwitterLink, PinterestLink, GooglePlusLink, YoutubeLink, LinkedInLink, VimeoLink, BlogLink, Links, BusinessHighlights, ApplicationDetail, CurrenciesResponseSchema, AppCurrencyResponseSchema, StoreLatLong, OptedStoreAddress, OrderingStore, OrderingStores, OrderingStoresResponseSchema, ValidationErrors, ValidationError };
1412
+ export { CurrencyExchangeResponseV2, CurrencyExchangeItem, ApplicationInventory, PiiMasking, FstIdentification, QuerySuggestions, SearchConfig, AppInventoryConfig, InventoryBrand, InventoryStore, AppStoreRules, InventoryCategory, InventoryPrice, InventoryDiscount, AuthenticationConfig, ArticleAssignmentConfig, ArticleAssignmentRules, StorePriority, AppCartConfig, InternationalDeliveryCharges, DeliveryCharges, Charges, AppPaymentConfig, CallbackUrl, Methods, PaymentModeConfig, PaymentSelectionLock, AppOrderConfig, ProcessingSchedule, StartAfter, AppLogisticsConfig, LoyaltyPointsConfig, AppInventoryPartialUpdate, BrandCompanyInfo, CompanyByBrandsRequestSchema, CompanyByBrandsResponseSchema, StoreByBrandsRequestSchema, StoreByBrandsResponseSchema, BrandStoreInfo, CompanyBrandInfo, BrandsByCompanyResponseSchema, ValidationFailedResponseSchema, NotFound, CommunicationConfig, CommsConfig, PanCardConfig, CreateApplicationRequestSchema, CreateAppResponseSchema, ApplicationsResponseSchema, MobileAppConfiguration, LandingImage, SplashImage, MobileAppConfigRequestSchema, BuildVersionHistory, BuildVersion, AppSupportedCurrency, DefaultCurrency, DomainAdd, DomainAddRequestSchema, Domain, DomainsResponseSchema, UpdateDomain, UpdateDomainTypeRequestSchema, DomainStatusRequestSchema, DomainStatus, DomainStatusResponseSchema, DomainSuggestionsRequestSchema, DomainSuggestion, DomainSuggestionsResponseSchema, SuccessMessageResponseSchema, App, AppDomain, CompaniesResponseSchema, AppInventoryCompanies, StoresResponseSchema, AppInventoryStores, FilterOrderingStoreRequestSchema, DeploymentMeta, OrderingStoreConfig, OrderingStoreSelectRequestSchema, OrderingStoreSelect, OtherSellerCompany, OtherSellerApplication, OtherSellerApplications, OptedApplicationResponseSchema, OptedCompany, OptedInventory, OptType, OptedStore, OptOutInventory, TokenResponseSchema, Tokens, Firebase, Credentials, Ios, Android, Moengage, MoengageCredentials, Segment, SegmentCredentials, Gtm, GtmCredentials, Freshchat, FreshchatCredentials, Safetynet, SafetynetCredentials, FyndRewards, FyndRewardsCredentials, GoogleMap, GoogleMapCredentials, RewardPointsConfig, Credit, Debit, ProductDetailFeature, LaunchPage, LandingPageFeature, ListingPageFeature, RegistrationPageFeature, BuyboxFeature, DeliveryStrategy, FulfillmentOption, AppFeature, HomePageFeature, CommonFeature, InternationalShipping, CommunicationOptinDialogFeature, DeploymentStoreSelectionFeature, ListingPriceFeature, CurrencyFeature, RevenueEngineFeature, FeedbackFeature, CompareProductsFeature, CartFeature, QrFeature, PcrFeature, OrderFeature, AppFeatureRequestSchema, AppFeatureResponseSchema, Currency, ApplicationWebsite, ApplicationCors, ApplicationAuth, ApplicationRedirections, ApplicationMeta, SecureUrl, Application, ApplicationById, TokenSchemaID, TokenSchema, InvalidPayloadRequestSchema, Page, ApplicationInformation, InformationAddress, InformationPhone, InformationLoc, InformationSupport, InformationSupportPhone, InformationSupportEmail, SocialLinks, FacebookLink, InstagramLink, TwitterLink, PinterestLink, GooglePlusLink, YoutubeLink, LinkedInLink, VimeoLink, BlogLink, Links, BusinessHighlights, ApplicationDetail, CurrenciesResponseSchema, AppCurrencyResponseSchema, StoreLatLong, OptedStoreAddress, OrderingStore, OrderingStores, OrderingStoresResponseSchema, ValidationErrors, ValidationError };
1407
1413
  }
1408
1414
  /** @returns {CurrencyExchangeResponseV2} */
1409
1415
  declare function CurrencyExchangeResponseV2(): CurrencyExchangeResponseV2;
@@ -3210,6 +3216,15 @@ type DeliveryStrategy = {
3210
3216
  */
3211
3217
  value?: string;
3212
3218
  };
3219
+ /** @returns {FulfillmentOption} */
3220
+ declare function FulfillmentOption(): FulfillmentOption;
3221
+ type FulfillmentOption = {
3222
+ /**
3223
+ * - Total count of available fulfillment options
3224
+ * configured for a specific application.
3225
+ */
3226
+ count?: number;
3227
+ };
3213
3228
  /** @returns {AppFeature} */
3214
3229
  declare function AppFeature(): AppFeature;
3215
3230
  type AppFeature = {
@@ -3224,6 +3239,7 @@ type AppFeature = {
3224
3239
  order?: OrderFeature;
3225
3240
  buybox?: BuyboxFeature;
3226
3241
  delivery_strategy?: DeliveryStrategy;
3242
+ fulfillment_option?: FulfillmentOption;
3227
3243
  /**
3228
3244
  * - The unique identifier for the sales channel features
3229
3245
  */
@@ -1016,6 +1016,12 @@ const Joi = require("joi");
1016
1016
  * @property {string} [value] - Indicates the delivery strategy value.
1017
1017
  */
1018
1018
 
1019
+ /**
1020
+ * @typedef FulfillmentOption
1021
+ * @property {number} [count] - Total count of available fulfillment options
1022
+ * configured for a specific application.
1023
+ */
1024
+
1019
1025
  /**
1020
1026
  * @typedef AppFeature
1021
1027
  * @property {ProductDetailFeature} [product_detail]
@@ -1029,6 +1035,7 @@ const Joi = require("joi");
1029
1035
  * @property {OrderFeature} [order]
1030
1036
  * @property {BuyboxFeature} [buybox]
1031
1037
  * @property {DeliveryStrategy} [delivery_strategy]
1038
+ * @property {FulfillmentOption} [fulfillment_option]
1032
1039
  * @property {string} [_id] - The unique identifier for the sales channel features
1033
1040
  * @property {string} [app] - Application ID of the sales channel
1034
1041
  * @property {string} [created_at] - ISO 8601 timestamp showing the date when
@@ -2714,6 +2721,13 @@ class ConfigurationPlatformModel {
2714
2721
  });
2715
2722
  }
2716
2723
 
2724
+ /** @returns {FulfillmentOption} */
2725
+ static FulfillmentOption() {
2726
+ return Joi.object({
2727
+ count: Joi.number(),
2728
+ });
2729
+ }
2730
+
2717
2731
  /** @returns {AppFeature} */
2718
2732
  static AppFeature() {
2719
2733
  return Joi.object({
@@ -2728,6 +2742,7 @@ class ConfigurationPlatformModel {
2728
2742
  order: ConfigurationPlatformModel.OrderFeature(),
2729
2743
  buybox: ConfigurationPlatformModel.BuyboxFeature(),
2730
2744
  delivery_strategy: ConfigurationPlatformModel.DeliveryStrategy(),
2745
+ fulfillment_option: ConfigurationPlatformModel.FulfillmentOption(),
2731
2746
  _id: Joi.string().allow(""),
2732
2747
  app: Joi.string().allow(""),
2733
2748
  created_at: Joi.string().allow(""),
@@ -1438,12 +1438,7 @@ export = ContentPlatformModel;
1438
1438
  * @typedef ResourceTranslation
1439
1439
  * @property {string} [_id] - Unique identifier for the translation entry
1440
1440
  * @property {string} [locale] - Language code for this translation
1441
- * @property {TranslationValue} [value]
1442
- */
1443
- /**
1444
- * @typedef TranslationValue
1445
- * @property {string} [name] - Translated name
1446
- * @property {TranslationSeo} [seo]
1441
+ * @property {Object} [value] - Translated content in key-value format
1447
1442
  */
1448
1443
  /**
1449
1444
  * @typedef TranslationSeo
@@ -1462,11 +1457,11 @@ export = ContentPlatformModel;
1462
1457
  * @property {string} [type] - Type of content being translated
1463
1458
  * @property {string} [resource_id] - Identifier of the resource requiring translation
1464
1459
  * @property {string} [locale] - Target language code for the translation
1465
- * @property {TranslationValue} [value]
1460
+ * @property {Object} [value] - Translated content in key-value format
1466
1461
  */
1467
1462
  /**
1468
1463
  * @typedef ResourceTranslationUpdate
1469
- * @property {TranslationValue} [value]
1464
+ * @property {Object} [value] - Translated content in key-value format
1470
1465
  */
1471
1466
  /**
1472
1467
  * @typedef TranslatableSection
@@ -1562,7 +1557,7 @@ export = ContentPlatformModel;
1562
1557
  declare class ContentPlatformModel {
1563
1558
  }
1564
1559
  declare namespace ContentPlatformModel {
1565
- 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, TranslationValue, TranslationSeo, ResourceTranslationList, ResourceTranslationCreate, ResourceTranslationUpdate, TranslatableSection, Metrics, ResourceTranslationUpsertItem, ResourceTranslationBulkUpsert, StandardError, OperationResponseSchema, GenerationEntityType, PageType };
1560
+ 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 };
1566
1561
  }
1567
1562
  /** @returns {ValidationError} */
1568
1563
  declare function ValidationError(): ValidationError;
@@ -4245,16 +4240,10 @@ type ResourceTranslation = {
4245
4240
  * - Language code for this translation
4246
4241
  */
4247
4242
  locale?: string;
4248
- value?: TranslationValue;
4249
- };
4250
- /** @returns {TranslationValue} */
4251
- declare function TranslationValue(): TranslationValue;
4252
- type TranslationValue = {
4253
4243
  /**
4254
- * - Translated name
4244
+ * - Translated content in key-value format
4255
4245
  */
4256
- name?: string;
4257
- seo?: TranslationSeo;
4246
+ value?: any;
4258
4247
  };
4259
4248
  /** @returns {TranslationSeo} */
4260
4249
  declare function TranslationSeo(): TranslationSeo;
@@ -4300,12 +4289,18 @@ type ResourceTranslationCreate = {
4300
4289
  * - Target language code for the translation
4301
4290
  */
4302
4291
  locale?: string;
4303
- value?: TranslationValue;
4292
+ /**
4293
+ * - Translated content in key-value format
4294
+ */
4295
+ value?: any;
4304
4296
  };
4305
4297
  /** @returns {ResourceTranslationUpdate} */
4306
4298
  declare function ResourceTranslationUpdate(): ResourceTranslationUpdate;
4307
4299
  type ResourceTranslationUpdate = {
4308
- value?: TranslationValue;
4300
+ /**
4301
+ * - Translated content in key-value format
4302
+ */
4303
+ value?: any;
4309
4304
  };
4310
4305
  /** @returns {TranslatableSection} */
4311
4306
  declare function TranslatableSection(): TranslatableSection;
@@ -1621,13 +1621,7 @@ const Joi = require("joi");
1621
1621
  * @typedef ResourceTranslation
1622
1622
  * @property {string} [_id] - Unique identifier for the translation entry
1623
1623
  * @property {string} [locale] - Language code for this translation
1624
- * @property {TranslationValue} [value]
1625
- */
1626
-
1627
- /**
1628
- * @typedef TranslationValue
1629
- * @property {string} [name] - Translated name
1630
- * @property {TranslationSeo} [seo]
1624
+ * @property {Object} [value] - Translated content in key-value format
1631
1625
  */
1632
1626
 
1633
1627
  /**
@@ -1649,12 +1643,12 @@ const Joi = require("joi");
1649
1643
  * @property {string} [type] - Type of content being translated
1650
1644
  * @property {string} [resource_id] - Identifier of the resource requiring translation
1651
1645
  * @property {string} [locale] - Target language code for the translation
1652
- * @property {TranslationValue} [value]
1646
+ * @property {Object} [value] - Translated content in key-value format
1653
1647
  */
1654
1648
 
1655
1649
  /**
1656
1650
  * @typedef ResourceTranslationUpdate
1657
- * @property {TranslationValue} [value]
1651
+ * @property {Object} [value] - Translated content in key-value format
1658
1652
  */
1659
1653
 
1660
1654
  /**
@@ -3690,15 +3684,7 @@ class ContentPlatformModel {
3690
3684
  return Joi.object({
3691
3685
  _id: Joi.string().allow(""),
3692
3686
  locale: Joi.string().allow(""),
3693
- value: ContentPlatformModel.TranslationValue(),
3694
- });
3695
- }
3696
-
3697
- /** @returns {TranslationValue} */
3698
- static TranslationValue() {
3699
- return Joi.object({
3700
- name: Joi.string().allow(""),
3701
- seo: ContentPlatformModel.TranslationSeo(),
3687
+ value: Joi.object().pattern(/\S/, Joi.any()),
3702
3688
  });
3703
3689
  }
3704
3690
 
@@ -3728,14 +3714,14 @@ class ContentPlatformModel {
3728
3714
  type: Joi.string().allow(""),
3729
3715
  resource_id: Joi.string().allow(""),
3730
3716
  locale: Joi.string().allow(""),
3731
- value: ContentPlatformModel.TranslationValue(),
3717
+ value: Joi.object().pattern(/\S/, Joi.any()),
3732
3718
  });
3733
3719
  }
3734
3720
 
3735
3721
  /** @returns {ResourceTranslationUpdate} */
3736
3722
  static ResourceTranslationUpdate() {
3737
3723
  return Joi.object({
3738
- value: ContentPlatformModel.TranslationValue(),
3724
+ value: Joi.object().pattern(/\S/, Joi.any()),
3739
3725
  });
3740
3726
  }
3741
3727