@gofynd/fdk-client-javascript 2.0.2 → 3.0.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 (37) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +4 -1
  4. package/sdk/partner/Logistics/LogisticsPartnerModel.js +1 -1
  5. package/sdk/partner/Theme/ThemePartnerClient.js +4 -4
  6. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +2 -2
  7. package/sdk/partner/Webhook/WebhookPartnerModel.js +1 -1
  8. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +1 -1
  9. package/sdk/platform/Catalog/CatalogPlatformClient.js +2 -4
  10. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +227 -35
  11. package/sdk/platform/Catalog/CatalogPlatformModel.js +110 -23
  12. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +6 -8
  13. package/sdk/platform/Catalog/CatalogPlatformValidator.js +5 -7
  14. package/sdk/platform/Common/CommonPlatformModel.d.ts +10 -16
  15. package/sdk/platform/Common/CommonPlatformModel.js +5 -8
  16. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +2 -2
  17. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +1 -1
  18. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +62 -99
  19. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +30 -50
  20. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +4 -4
  21. package/sdk/platform/Content/ContentPlatformApplicationClient.js +9 -6
  22. package/sdk/platform/Content/ContentPlatformClient.d.ts +5 -5
  23. package/sdk/platform/Content/ContentPlatformClient.js +14 -9
  24. package/sdk/platform/Content/ContentPlatformModel.d.ts +22 -17
  25. package/sdk/platform/Content/ContentPlatformModel.js +19 -17
  26. package/sdk/platform/Content/ContentPlatformValidator.d.ts +2 -0
  27. package/sdk/platform/Content/ContentPlatformValidator.js +2 -0
  28. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +1 -1
  29. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +1 -1
  30. package/sdk/platform/User/UserPlatformModel.d.ts +2 -2
  31. package/sdk/platform/User/UserPlatformModel.js +1 -1
  32. package/sdk/public/Catalog/CatalogPublicModel.d.ts +4 -1
  33. package/sdk/public/Catalog/CatalogPublicModel.js +1 -1
  34. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +6 -12
  35. package/sdk/public/Configuration/ConfigurationPublicModel.js +3 -6
  36. package/sdk/public/Content/ContentPublicModel.d.ts +4 -8
  37. package/sdk/public/Content/ContentPublicModel.js +2 -4
@@ -9,7 +9,7 @@ const Joi = require("joi");
9
9
 
10
10
  /**
11
11
  * @typedef ValidationErrors
12
- * @property {ValidationError[]} errors
12
+ * @property {ValidationError[]} errors - A list of validation errors in the request.
13
13
  */
14
14
 
15
15
  /**
@@ -1253,15 +1253,6 @@ const Joi = require("joi");
1253
1253
  * @property {number[]} category_ids - List of category_ids to be deleted.
1254
1254
  */
1255
1255
 
1256
- /**
1257
- * @typedef DeleteProductRequestBody
1258
- * @property {number} [brand_uid] - The brand identifier for the product.
1259
- * @property {string} [item_code] - The code of the item to be deleted.
1260
- * @property {string} [company_id] - The ID of the company. (Optional if already
1261
- * provided in the path)
1262
- * @property {number} [item_id] - The ID of the product.
1263
- */
1264
-
1265
1256
  /**
1266
1257
  * @typedef DeleteResponseSchema
1267
1258
  * @property {string} [message]
@@ -3235,7 +3226,7 @@ const Joi = require("joi");
3235
3226
  */
3236
3227
 
3237
3228
  /**
3238
- * @typedef ProductCreateUpdateSchemaV2
3229
+ * @typedef ProductUpdateSchemaV2
3239
3230
  * @property {Object} [_custom_json] - Custom JSON data that can be used for
3240
3231
  * additional product properties.
3241
3232
  * @property {string} [action] - The action to perform wrt to the product (e.g.,
@@ -3292,6 +3283,63 @@ const Joi = require("joi");
3292
3283
  * @property {Object} [variants] - Variants information for the product.
3293
3284
  */
3294
3285
 
3286
+ /**
3287
+ * @typedef ProductCreateSchemaV2
3288
+ * @property {Object} [_custom_json] - Custom JSON data that can be used for
3289
+ * additional product properties.
3290
+ * @property {string} [action] - The action to perform wrt to the product (e.g.,
3291
+ * upsert, update, delete).
3292
+ * @property {Object} [attributes] - Additional attributes related to the product.
3293
+ * @property {number} brand_uid - Unique identifier for the product's brand.
3294
+ * @property {string} [bulk_job_id] - Job ID associated with bulk operations.
3295
+ * @property {string} category_slug - The category to which the product belongs.
3296
+ * @property {string} [change_request_id] - Change request identifier for product updates.
3297
+ * @property {number} company_id - Unique identifier for the company associated
3298
+ * with the product.
3299
+ * @property {string} country_of_origin - The country where the product was
3300
+ * manufactured or sourced.
3301
+ * @property {string} currency - The currency in which the product's price is listed.
3302
+ * @property {CustomOrder} [custom_order]
3303
+ * @property {number[]} departments - List of department IDs associated with the product.
3304
+ * @property {string} [description] - A detailed description of the product.
3305
+ * @property {string[]} [highlights] - Product highlights or key features.
3306
+ * @property {boolean} [is_active] - Flag to indicate if the product is active.
3307
+ * @property {boolean} [is_dependent] - Flag to indicate if the product is
3308
+ * dependent on other products.
3309
+ * @property {boolean} [is_image_less_product] - Flag to indicate if the product
3310
+ * does not have associated images.
3311
+ * @property {boolean} [is_set] - Flag to indicate if the product is part of a set.
3312
+ * @property {string} item_code - Unique item code or SKU of the product.
3313
+ * @property {string} item_type - Type of the product (e.g., standard, set,
3314
+ * composite, digital).
3315
+ * @property {Media[]} [media] - List of media URLs (images, videos) associated
3316
+ * with the product.
3317
+ * @property {boolean} [multi_size] - Indicates if the product supports multiple sizes.
3318
+ * @property {string} name - The name of the product.
3319
+ * @property {NetQuantity} [net_quantity]
3320
+ * @property {number} [no_of_boxes] - Number of boxes required to package the product.
3321
+ * @property {string[]} [product_group_tag] - Tags to group products together
3322
+ * for classification.
3323
+ * @property {ProductPublish} [product_publish]
3324
+ * @property {string} [requester] - The role requesting the product operation
3325
+ * (admin or user).
3326
+ * @property {ReturnConfig} return_config
3327
+ * @property {string} [short_description] - A short description of the product,
3328
+ * up to 50 characters.
3329
+ * @property {string} [size_guide] - Identifier for the product's size guide.
3330
+ * @property {Object[]} sizes - List of sizes available for the product.
3331
+ * @property {string} slug - URL-friendly identifier for the product.
3332
+ * @property {string[]} [tags] - List of tags associated with the product.
3333
+ * @property {TaxIdentifier} tax_identifier
3334
+ * @property {TeaserTag} [teaser_tag]
3335
+ * @property {string} template_tag - Template tag for the product, used for
3336
+ * classification.
3337
+ * @property {Trader[]} trader - List of traders associated with the product.
3338
+ * @property {Object} [variant_group] - Variant group information for the product.
3339
+ * @property {Object} [variant_media] - Media related to product variants.
3340
+ * @property {Object} [variants] - Variants information for the product.
3341
+ */
3342
+
3295
3343
  /**
3296
3344
  * @typedef ProductDetail
3297
3345
  * @property {Object} [attributes] - Key-value pairs representing various
@@ -6105,16 +6153,6 @@ class CatalogPlatformModel {
6105
6153
  });
6106
6154
  }
6107
6155
 
6108
- /** @returns {DeleteProductRequestBody} */
6109
- static DeleteProductRequestBody() {
6110
- return Joi.object({
6111
- brand_uid: Joi.number(),
6112
- item_code: Joi.string().allow(""),
6113
- company_id: Joi.string().allow(""),
6114
- item_id: Joi.number(),
6115
- });
6116
- }
6117
-
6118
6156
  /** @returns {DeleteResponseSchema} */
6119
6157
  static DeleteResponseSchema() {
6120
6158
  return Joi.object({
@@ -8224,8 +8262,8 @@ class CatalogPlatformModel {
8224
8262
  });
8225
8263
  }
8226
8264
 
8227
- /** @returns {ProductCreateUpdateSchemaV2} */
8228
- static ProductCreateUpdateSchemaV2() {
8265
+ /** @returns {ProductUpdateSchemaV2} */
8266
+ static ProductUpdateSchemaV2() {
8229
8267
  return Joi.object({
8230
8268
  _custom_json: Joi.object().pattern(/\S/, Joi.any()),
8231
8269
  action: Joi.string().allow(""),
@@ -8274,6 +8312,55 @@ class CatalogPlatformModel {
8274
8312
  });
8275
8313
  }
8276
8314
 
8315
+ /** @returns {ProductCreateSchemaV2} */
8316
+ static ProductCreateSchemaV2() {
8317
+ return Joi.object({
8318
+ _custom_json: Joi.object().pattern(/\S/, Joi.any()),
8319
+ action: Joi.string().allow(""),
8320
+ attributes: Joi.object().pattern(/\S/, Joi.any()),
8321
+ brand_uid: Joi.number().required(),
8322
+ bulk_job_id: Joi.string().allow(""),
8323
+ category_slug: Joi.string().allow("").required(),
8324
+ change_request_id: Joi.string().allow("").allow(null),
8325
+ company_id: Joi.number().required(),
8326
+ country_of_origin: Joi.string().allow("").required(),
8327
+ currency: Joi.string().allow("").required(),
8328
+ custom_order: CatalogPlatformModel.CustomOrder(),
8329
+ departments: Joi.array().items(Joi.number()).required(),
8330
+ description: Joi.string().allow(""),
8331
+ highlights: Joi.array().items(Joi.string().allow("")).allow(null, ""),
8332
+ is_active: Joi.boolean(),
8333
+ is_dependent: Joi.boolean(),
8334
+ is_image_less_product: Joi.boolean(),
8335
+ is_set: Joi.boolean(),
8336
+ item_code: Joi.string().allow("").required(),
8337
+ item_type: Joi.string().allow("").required(),
8338
+ media: Joi.array().items(CatalogPlatformModel.Media()).allow(null, ""),
8339
+ multi_size: Joi.boolean(),
8340
+ name: Joi.string().allow("").required(),
8341
+ net_quantity: CatalogPlatformModel.NetQuantity(),
8342
+ no_of_boxes: Joi.number(),
8343
+ product_group_tag: Joi.array().items(Joi.string().allow("")),
8344
+ product_publish: CatalogPlatformModel.ProductPublish(),
8345
+ requester: Joi.string().allow(""),
8346
+ return_config: CatalogPlatformModel.ReturnConfig().required(),
8347
+ short_description: Joi.string().allow(""),
8348
+ size_guide: Joi.string().allow(""),
8349
+ sizes: Joi.array()
8350
+ .items(Joi.object().pattern(/\S/, Joi.any()))
8351
+ .required(),
8352
+ slug: Joi.string().allow("").required(),
8353
+ tags: Joi.array().items(Joi.string().allow("")),
8354
+ tax_identifier: CatalogPlatformModel.TaxIdentifier().required(),
8355
+ teaser_tag: CatalogPlatformModel.TeaserTag(),
8356
+ template_tag: Joi.string().allow("").required(),
8357
+ trader: Joi.array().items(CatalogPlatformModel.Trader()).required(),
8358
+ variant_group: Joi.object().pattern(/\S/, Joi.any()),
8359
+ variant_media: Joi.object().pattern(/\S/, Joi.any()),
8360
+ variants: Joi.object().pattern(/\S/, Joi.any()),
8361
+ });
8362
+ }
8363
+
8277
8364
  /** @returns {ProductDetail} */
8278
8365
  static ProductDetail() {
8279
8366
  return Joi.object({
@@ -42,7 +42,7 @@ export = CatalogPlatformValidator;
42
42
  */
43
43
  /**
44
44
  * @typedef CreateProductParam
45
- * @property {CatalogPlatformModel.ProductCreateUpdateSchemaV2} body
45
+ * @property {CatalogPlatformModel.ProductCreateSchemaV2} body
46
46
  */
47
47
  /**
48
48
  * @typedef CreateProductAssetsInBulkParam
@@ -72,7 +72,6 @@ export = CatalogPlatformValidator;
72
72
  /**
73
73
  * @typedef DeleteProductParam
74
74
  * @property {number} itemId - Id of the product to be deleted.
75
- * @property {CatalogPlatformModel.DeleteProductRequestBody} body
76
75
  */
77
76
  /**
78
77
  * @typedef DeleteProductBulkJobParam
@@ -104,7 +103,7 @@ export = CatalogPlatformValidator;
104
103
  /**
105
104
  * @typedef EditProductParam
106
105
  * @property {number} itemId - Id of the product to be updated.
107
- * @property {CatalogPlatformModel.ProductCreateUpdateSchemaV2} body
106
+ * @property {CatalogPlatformModel.ProductUpdateSchemaV2} body
108
107
  */
109
108
  /**
110
109
  * @typedef ExportInventoryConfigParam
@@ -450,7 +449,7 @@ export = CatalogPlatformValidator;
450
449
  */
451
450
  /**
452
451
  * @typedef UpdateSizeGuideParam
453
- * @property {string} id - Mongo id of the size guide to be edited
452
+ * @property {string} id - Identifier of the size guide to be edited
454
453
  * @property {CatalogPlatformModel.ValidateSizeGuide} body
455
454
  */
456
455
  /**
@@ -691,7 +690,7 @@ type CreateMarketplaceOptinParam = {
691
690
  body: CatalogPlatformModel.OptInPostRequestSchema;
692
691
  };
693
692
  type CreateProductParam = {
694
- body: CatalogPlatformModel.ProductCreateUpdateSchemaV2;
693
+ body: CatalogPlatformModel.ProductCreateSchemaV2;
695
694
  };
696
695
  type CreateProductAssetsInBulkParam = {
697
696
  body: CatalogPlatformModel.ProductBulkAssets;
@@ -723,7 +722,6 @@ type DeleteProductParam = {
723
722
  * - Id of the product to be deleted.
724
723
  */
725
724
  itemId: number;
726
- body: CatalogPlatformModel.DeleteProductRequestBody;
727
725
  };
728
726
  type DeleteProductBulkJobParam = {
729
727
  /**
@@ -779,7 +777,7 @@ type EditProductParam = {
779
777
  * - Id of the product to be updated.
780
778
  */
781
779
  itemId: number;
782
- body: CatalogPlatformModel.ProductCreateUpdateSchemaV2;
780
+ body: CatalogPlatformModel.ProductUpdateSchemaV2;
783
781
  };
784
782
  type ExportInventoryConfigParam = {
785
783
  /**
@@ -1487,7 +1485,7 @@ type UpdateRealtimeInventoryParam = {
1487
1485
  };
1488
1486
  type UpdateSizeGuideParam = {
1489
1487
  /**
1490
- * - Mongo id of the size guide to be edited
1488
+ * - Identifier of the size guide to be edited
1491
1489
  */
1492
1490
  id: string;
1493
1491
  body: CatalogPlatformModel.ValidateSizeGuide;
@@ -54,7 +54,7 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
54
54
 
55
55
  /**
56
56
  * @typedef CreateProductParam
57
- * @property {CatalogPlatformModel.ProductCreateUpdateSchemaV2} body
57
+ * @property {CatalogPlatformModel.ProductCreateSchemaV2} body
58
58
  */
59
59
 
60
60
  /**
@@ -91,7 +91,6 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
91
91
  /**
92
92
  * @typedef DeleteProductParam
93
93
  * @property {number} itemId - Id of the product to be deleted.
94
- * @property {CatalogPlatformModel.DeleteProductRequestBody} body
95
94
  */
96
95
 
97
96
  /**
@@ -129,7 +128,7 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
129
128
  /**
130
129
  * @typedef EditProductParam
131
130
  * @property {number} itemId - Id of the product to be updated.
132
- * @property {CatalogPlatformModel.ProductCreateUpdateSchemaV2} body
131
+ * @property {CatalogPlatformModel.ProductUpdateSchemaV2} body
133
132
  */
134
133
 
135
134
  /**
@@ -525,7 +524,7 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
525
524
 
526
525
  /**
527
526
  * @typedef UpdateSizeGuideParam
528
- * @property {string} id - Mongo id of the size guide to be edited
527
+ * @property {string} id - Identifier of the size guide to be edited
529
528
  * @property {CatalogPlatformModel.ValidateSizeGuide} body
530
529
  */
531
530
 
@@ -635,7 +634,7 @@ class CatalogPlatformValidator {
635
634
  /** @returns {CreateProductParam} */
636
635
  static createProduct() {
637
636
  return Joi.object({
638
- body: CatalogPlatformModel.ProductCreateUpdateSchemaV2().required(),
637
+ body: CatalogPlatformModel.ProductCreateSchemaV2().required(),
639
638
  }).required();
640
639
  }
641
640
 
@@ -686,7 +685,6 @@ class CatalogPlatformValidator {
686
685
  static deleteProduct() {
687
686
  return Joi.object({
688
687
  itemId: Joi.number().required(),
689
- body: CatalogPlatformModel.DeleteProductRequestBody().required(),
690
688
  }).required();
691
689
  }
692
690
 
@@ -734,7 +732,7 @@ class CatalogPlatformValidator {
734
732
  static editProduct() {
735
733
  return Joi.object({
736
734
  itemId: Joi.number().required(),
737
- body: CatalogPlatformModel.ProductCreateUpdateSchemaV2().required(),
735
+ body: CatalogPlatformModel.ProductUpdateSchemaV2().required(),
738
736
  }).required();
739
737
  }
740
738
 
@@ -2,8 +2,8 @@ export = CommonPlatformModel;
2
2
  /**
3
3
  * @typedef ApplicationResponseSchema
4
4
  * @property {Application} [application]
5
- * @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
6
- * of the current sales channel supported currency
5
+ * @property {string} [_id] - The unique identifier of the current sales channel
6
+ * supported currency
7
7
  * @property {boolean} [is_active] - Shows currency is enabled or not in current
8
8
  * sales channel
9
9
  * @property {string} [name] - Name of the currency, e.g. Indian Rupee
@@ -24,8 +24,7 @@ export = CommonPlatformModel;
24
24
  * @property {boolean} [is_primary] - Indicates domain is primary or not.
25
25
  * Primary domain is the default/main domain.
26
26
  * @property {boolean} [is_shortlink] - Shortlink is present or not for the domain
27
- * @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
28
- * of the domain
27
+ * @property {string} [_id] - The unique identifier of the domain
29
28
  * @property {string} [name]
30
29
  * @property {boolean} [is_predefined] - Domain is hosting domain or not
31
30
  */
@@ -76,11 +75,9 @@ export = CommonPlatformModel;
76
75
  * internal or not
77
76
  * @property {boolean} [is_active] - Indicates whether a sales channel is active
78
77
  * or not active
79
- * @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
80
- * of the sales channel
78
+ * @property {string} [_id] - The unique identifier of the sales channel
81
79
  * @property {string} [name] - Name of the sales channel, e.g. Zenz Fashion
82
- * @property {string} [owner] - The unique identifier (24-digit Mongo Object ID)
83
- * of owner who owns the application
80
+ * @property {string} [owner] - The unique identifier of owner who owns the application
84
81
  * @property {number} [company_id] - Numeric ID allotted to a business account
85
82
  * where the sales channel exists
86
83
  * @property {string} [token] - Randomly generated fixed-length string for sales
@@ -152,8 +149,8 @@ declare function ApplicationResponseSchema(): ApplicationResponseSchema;
152
149
  type ApplicationResponseSchema = {
153
150
  application?: Application;
154
151
  /**
155
- * - The unique identifier (24-digit Mongo Object ID)
156
- * of the current sales channel supported currency
152
+ * - The unique identifier of the current sales channel
153
+ * supported currency
157
154
  */
158
155
  _id?: string;
159
156
  /**
@@ -208,8 +205,7 @@ type Domain = {
208
205
  */
209
206
  is_shortlink?: boolean;
210
207
  /**
211
- * - The unique identifier (24-digit Mongo Object ID)
212
- * of the domain
208
+ * - The unique identifier of the domain
213
209
  */
214
210
  _id?: string;
215
211
  name?: string;
@@ -315,8 +311,7 @@ type Application = {
315
311
  */
316
312
  is_active?: boolean;
317
313
  /**
318
- * - The unique identifier (24-digit Mongo Object ID)
319
- * of the sales channel
314
+ * - The unique identifier of the sales channel
320
315
  */
321
316
  _id?: string;
322
317
  /**
@@ -324,8 +319,7 @@ type Application = {
324
319
  */
325
320
  name?: string;
326
321
  /**
327
- * - The unique identifier (24-digit Mongo Object ID)
328
- * of owner who owns the application
322
+ * - The unique identifier of owner who owns the application
329
323
  */
330
324
  owner?: string;
331
325
  /**
@@ -3,8 +3,8 @@ const Joi = require("joi");
3
3
  /**
4
4
  * @typedef ApplicationResponseSchema
5
5
  * @property {Application} [application]
6
- * @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
7
- * of the current sales channel supported currency
6
+ * @property {string} [_id] - The unique identifier of the current sales channel
7
+ * supported currency
8
8
  * @property {boolean} [is_active] - Shows currency is enabled or not in current
9
9
  * sales channel
10
10
  * @property {string} [name] - Name of the currency, e.g. Indian Rupee
@@ -26,8 +26,7 @@ const Joi = require("joi");
26
26
  * @property {boolean} [is_primary] - Indicates domain is primary or not.
27
27
  * Primary domain is the default/main domain.
28
28
  * @property {boolean} [is_shortlink] - Shortlink is present or not for the domain
29
- * @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
30
- * of the domain
29
+ * @property {string} [_id] - The unique identifier of the domain
31
30
  * @property {string} [name]
32
31
  * @property {boolean} [is_predefined] - Domain is hosting domain or not
33
32
  */
@@ -85,11 +84,9 @@ const Joi = require("joi");
85
84
  * internal or not
86
85
  * @property {boolean} [is_active] - Indicates whether a sales channel is active
87
86
  * or not active
88
- * @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
89
- * of the sales channel
87
+ * @property {string} [_id] - The unique identifier of the sales channel
90
88
  * @property {string} [name] - Name of the sales channel, e.g. Zenz Fashion
91
- * @property {string} [owner] - The unique identifier (24-digit Mongo Object ID)
92
- * of owner who owns the application
89
+ * @property {string} [owner] - The unique identifier of owner who owns the application
93
90
  * @property {number} [company_id] - Numeric ID allotted to a business account
94
91
  * where the sales channel exists
95
92
  * @property {string} [token] - Randomly generated fixed-length string for sales
@@ -76,7 +76,7 @@ export = ConfigurationPlatformApplicationValidator;
76
76
  */
77
77
  /**
78
78
  * @typedef RemoveDomainByIdParam
79
- * @property {string} id - The unique identifier (24-digit Mongo Object ID) of the domain
79
+ * @property {string} id - The unique identifier of the domain
80
80
  */
81
81
  /** @typedef RemoveOrderingStoreCookieParam */
82
82
  /**
@@ -273,7 +273,7 @@ type PartiallyUpdateInventoryConfigParam = {
273
273
  };
274
274
  type RemoveDomainByIdParam = {
275
275
  /**
276
- * - The unique identifier (24-digit Mongo Object ID) of the domain
276
+ * - The unique identifier of the domain
277
277
  */
278
278
  id: string;
279
279
  };
@@ -101,7 +101,7 @@ const ConfigurationPlatformModel = require("./ConfigurationPlatformModel");
101
101
 
102
102
  /**
103
103
  * @typedef RemoveDomainByIdParam
104
- * @property {string} id - The unique identifier (24-digit Mongo Object ID) of the domain
104
+ * @property {string} id - The unique identifier of the domain
105
105
  */
106
106
 
107
107
  /** @typedef RemoveOrderingStoreCookieParam */