@commercetools/importapi-sdk 5.16.0 → 5.18.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 (31) hide show
  1. package/CHANGELOG.md +52 -0
  2. package/dist/commercetools-importapi-sdk.browser.cjs.js +1 -1
  3. package/dist/commercetools-importapi-sdk.browser.esm.js +1 -1
  4. package/dist/commercetools-importapi-sdk.cjs.dev.js +1 -1
  5. package/dist/commercetools-importapi-sdk.cjs.prod.js +1 -1
  6. package/dist/commercetools-importapi-sdk.esm.js +1 -1
  7. package/dist/declarations/src/generated/client/import-containers/by-project-key-product-variant-patches-import-containers-by-import-container-key-request-builder.d.ts +1 -1
  8. package/dist/declarations/src/generated/models/categories.d.ts +6 -4
  9. package/dist/declarations/src/generated/models/categories.d.ts.map +1 -1
  10. package/dist/declarations/src/generated/models/common.d.ts +7 -3
  11. package/dist/declarations/src/generated/models/common.d.ts.map +1 -1
  12. package/dist/declarations/src/generated/models/customers.d.ts +55 -11
  13. package/dist/declarations/src/generated/models/customers.d.ts.map +1 -1
  14. package/dist/declarations/src/generated/models/discount-codes.d.ts +1 -1
  15. package/dist/declarations/src/generated/models/errors.d.ts +37 -40
  16. package/dist/declarations/src/generated/models/errors.d.ts.map +1 -1
  17. package/dist/declarations/src/generated/models/importoperations.d.ts +3 -3
  18. package/dist/declarations/src/generated/models/importrequests.d.ts +11 -11
  19. package/dist/declarations/src/generated/models/importsummaries.d.ts +5 -5
  20. package/dist/declarations/src/generated/models/inventories.d.ts +2 -2
  21. package/dist/declarations/src/generated/models/order-patches.d.ts +2 -2
  22. package/dist/declarations/src/generated/models/orders.d.ts +7 -9
  23. package/dist/declarations/src/generated/models/orders.d.ts.map +1 -1
  24. package/dist/declarations/src/generated/models/prices.d.ts +10 -10
  25. package/dist/declarations/src/generated/models/productdrafts.d.ts +12 -12
  26. package/dist/declarations/src/generated/models/products.d.ts +14 -14
  27. package/dist/declarations/src/generated/models/producttypes.d.ts +3 -3
  28. package/dist/declarations/src/generated/models/productvariants.d.ts +15 -15
  29. package/dist/declarations/src/generated/models/standalone-prices.d.ts +8 -8
  30. package/dist/declarations/src/generated/models/types.d.ts +10 -10
  31. package/package.json +1 -1
@@ -13,15 +13,15 @@ import { Attribute } from "./productvariants.js";
13
13
  */
14
14
  export interface ProductDraftImport extends ImportResource {
15
15
  /**
16
- * User-defined unique identifier. If a [Product](/../api/projects/products#product) with this `key` exists, it will be updated with the imported data.
16
+ * User-defined unique identifier. If a [Product](ctp:api:type:Product) with this `key` exists, it will be updated with the imported data.
17
17
  *
18
18
  */
19
19
  readonly key: string;
20
20
  /**
21
- * The `productType` of a [Product](/../api/projects/products#product).
21
+ * The `productType` of a [Product](ctp:api:type:Product).
22
22
  * Maps to `Product.productType`.
23
- * The Reference to the [ProductType](/../api/projects/productTypes#producttype) with which the ProductDraft is associated.
24
- * If referenced ProductType does not exist, the `state` of the [ImportOperation](/import-operation#importoperation) will be set to `unresolved` until the necessary ProductType is created.
23
+ * The Reference to the [ProductType](ctp:api:type:ProductType) with which the ProductDraft is associated.
24
+ * If referenced ProductType does not exist, the `state` of the [ImportOperation](ctp:import:type:ImportOperation) will be set to `unresolved` until the necessary ProductType is created.
25
25
  *
26
26
  *
27
27
  */
@@ -44,8 +44,8 @@ export interface ProductDraftImport extends ImportResource {
44
44
  */
45
45
  readonly description?: LocalizedString;
46
46
  /**
47
- * The Reference to the [Categories](/../api/projects/categories#category) with which the ProductDraft is associated.
48
- * If referenced Categories do not exist, the `state` of the [ImportOperation](/import-operation#importoperation) will be set to `unresolved` until the necessary Categories are created.
47
+ * The Reference to the [Categories](ctp:api:type:Category) with which the ProductDraft is associated.
48
+ * If referenced Categories do not exist, the `state` of the [ImportOperation](ctp:import:type:ImportOperation) will be set to `unresolved` until the necessary Categories are created.
49
49
  *
50
50
  *
51
51
  */
@@ -99,8 +99,8 @@ export interface ProductDraftImport extends ImportResource {
99
99
  */
100
100
  readonly variants?: ProductVariantDraftImport[];
101
101
  /**
102
- * The Reference to the [TaxCategory](/../api/projects/taxCategories#taxcategory) with which the ProductDraft is associated.
103
- * If referenced TaxCategory does not exist, the `state` of the [ImportOperation](/import-operation#importoperation) will be set to `unresolved` until the necessary TaxCategory is created.
102
+ * The Reference to the [TaxCategory](/projects/taxCategories#taxcategory) with which the ProductDraft is associated.
103
+ * If referenced TaxCategory does not exist, the `state` of the [ImportOperation](ctp:import:type:ImportOperation) will be set to `unresolved` until the necessary TaxCategory is created.
104
104
  *
105
105
  *
106
106
  */
@@ -129,20 +129,20 @@ export interface ProductDraftImport extends ImportResource {
129
129
  */
130
130
  readonly searchKeywords?: SearchKeywords;
131
131
  /**
132
- * The Reference to the [State](/../api/projects/states#state) with which the ProductDraft is associated.
133
- * If referenced State does not exist, the `state` of the [ImportOperation](/import-operation#importoperation) will be set to `unresolved` until the necessary State is created.
132
+ * The Reference to the [State](/projects/states#state) with which the ProductDraft is associated.
133
+ * If referenced State does not exist, the `state` of the [ImportOperation](ctp:import:type:ImportOperation) will be set to `unresolved` until the necessary State is created.
134
134
  *
135
135
  *
136
136
  */
137
137
  readonly state?: StateKeyReference;
138
138
  /**
139
- * Determines the published status and current/staged projection of the Product. For more information, see [Managing the published state of Products](/best-practices#managing-the-published-state-of-products).
139
+ * Determines the published status and current/staged projection of the Product. For more information, see [Managing the published state of Products](/import-export/best-practices#managing-the-published-state-of-products).
140
140
  *
141
141
  *
142
142
  */
143
143
  readonly publish?: boolean;
144
144
  /**
145
- * Determines the type of Prices the API uses. See [ProductPriceMode](/../api/projects/products#productpricemode) for more details. If not provided, the existing `Product.priceMode` is not changed.
145
+ * Determines the type of Prices the API uses. If not provided, the existing `Product.priceMode` is not changed.
146
146
  *
147
147
  *
148
148
  */
@@ -55,14 +55,14 @@ export interface WhitespaceTokenizer {
55
55
  readonly type: 'whitespace';
56
56
  }
57
57
  /**
58
- * The data representation for a Product to be imported that is persisted as a [Product](/../api/projects/products#product) in the Project.
58
+ * The data representation for a Product to be imported that is persisted as a [Product](ctp:api:type:Product) in the Project.
59
59
  *
60
- * This is the minimal representation required for creating a [Product](/../api/projects/products#product) in commercetools.
60
+ * This is the minimal representation required for creating a [Product](ctp:api:type:Product) in commercetools.
61
61
  *
62
62
  */
63
63
  export interface ProductImport extends ImportResource {
64
64
  /**
65
- * User-defined unique identifier. If a [Product](/../api/projects/products#product) with this `key` exists, it will be updated with the imported data.
65
+ * User-defined unique identifier. If a [Product](ctp:api:type:Product) with this `key` exists, it will be updated with the imported data.
66
66
  *
67
67
  */
68
68
  readonly key: string;
@@ -73,10 +73,10 @@ export interface ProductImport extends ImportResource {
73
73
  */
74
74
  readonly name: LocalizedString;
75
75
  /**
76
- * The `productType` of a [Product](/../api/projects/products#product).
76
+ * The `productType` of a [Product](ctp:api:type:Product).
77
77
  * Maps to `Product.productType`.
78
- * The Reference to the [ProductType](/../api/projects/productTypes#producttype) with which the Product is associated.
79
- * If referenced ProductType does not exist, the `state` of the [ImportOperation](/import-operation#importoperation) will be set to `unresolved` until the necessary ProductType is created.
78
+ * The Reference to the [ProductType](ctp:api:type:ProductType) with which the Product is associated.
79
+ * If referenced ProductType does not exist, the `state` of the [ImportOperation](ctp:import:type:ImportOperation) will be set to `unresolved` until the necessary ProductType is created.
80
80
  *
81
81
  *
82
82
  */
@@ -96,8 +96,8 @@ export interface ProductImport extends ImportResource {
96
96
  readonly description?: LocalizedString;
97
97
  /**
98
98
  * Maps to `Product.categories`.
99
- * The References to the [Categories](/../api/projects/categories#category) with which the Product is associated.
100
- * If referenced Categories do not exist, the `state` of the [ImportOperation](/import-operation#importoperation) will be set to `unresolved` until the necessary Categories are created.
99
+ * The References to the [Categories](ctp:api:type:Category) with which the Product is associated.
100
+ * If referenced Categories do not exist, the `state` of the [ImportOperation](ctp:import:type:ImportOperation) will be set to `unresolved` until the necessary Categories are created.
101
101
  *
102
102
  *
103
103
  */
@@ -139,8 +139,8 @@ export interface ProductImport extends ImportResource {
139
139
  */
140
140
  readonly metaKeywords?: LocalizedString;
141
141
  /**
142
- * The Reference to the [TaxCategory](/../api/projects/taxCategories#taxcategory) with which the Product is associated.
143
- * If referenced TaxCategory does not exist, the `state` of the [ImportOperation](/import-operation#importoperation) will be set to `unresolved` until the necessary TaxCategory is created.
142
+ * The Reference to the [TaxCategory](/projects/taxCategories#taxcategory) with which the Product is associated.
143
+ * If referenced TaxCategory does not exist, the `state` of the [ImportOperation](ctp:import:type:ImportOperation) will be set to `unresolved` until the necessary TaxCategory is created.
144
144
  *
145
145
  *
146
146
  */
@@ -169,20 +169,20 @@ export interface ProductImport extends ImportResource {
169
169
  */
170
170
  readonly searchKeywords?: SearchKeywords;
171
171
  /**
172
- * The Reference to the [State](/../api/projects/states#state) with which the Product is associated.
173
- * If referenced State does not exist, the `state` of the [ImportOperation](/import-operation#importoperation) will be set to `unresolved` until the necessary State is created.
172
+ * The Reference to the [State](/projects/states#state) with which the Product is associated.
173
+ * If referenced State does not exist, the `state` of the [ImportOperation](ctp:import:type:ImportOperation) will be set to `unresolved` until the necessary State is created.
174
174
  *
175
175
  *
176
176
  */
177
177
  readonly state?: StateKeyReference;
178
178
  /**
179
- * Determines the published status and current/staged projection of the Product. For more information, see [Managing the published state of Products](/best-practices#managing-the-published-state-of-products).
179
+ * Determines the published status and current/staged projection of the Product. For more information, see [Managing the published state of Products](/import-export/best-practices#managing-the-published-state-of-products).
180
180
  *
181
181
  *
182
182
  */
183
183
  readonly publish?: boolean;
184
184
  /**
185
- * Determines the type of Prices the API uses. See [ProductPriceMode](/../api/projects/products#productpricemode) for more details. If not provided, the existing `Product.priceMode` is not changed.
185
+ * Determines the type of Prices the API uses. If not provided, the existing `Product.priceMode` is not changed.
186
186
  *
187
187
  *
188
188
  */
@@ -148,12 +148,12 @@ export interface AttributeTimeType {
148
148
  export type AttributeConstraintEnum = 'CombinationUnique' | 'None' | 'SameForAll' | 'Unique' | string;
149
149
  export type TextInputHint = 'MultiLine' | 'SingleLine' | string;
150
150
  /**
151
- * The data representation for a ProductType to be imported that is persisted as a [ProductType](/../api/projects/productTypes#producttype) in the Project.
151
+ * The data representation for a ProductType to be imported that is persisted as a [ProductType](ctp:api:type:ProductType) in the Project.
152
152
  *
153
153
  */
154
154
  export interface ProductTypeImport extends ImportResource {
155
155
  /**
156
- * User-defined unique identifier. If a [ProductType](/../api/projects/productTypes#producttype) with this `key` exists, it will be updated with the imported data.
156
+ * User-defined unique identifier. If a [ProductType](ctp:api:type:ProductType) with this `key` exists, it will be updated with the imported data.
157
157
  *
158
158
  */
159
159
  readonly key: string;
@@ -170,7 +170,7 @@ export interface ProductTypeImport extends ImportResource {
170
170
  */
171
171
  readonly description: string;
172
172
  /**
173
- * The `attributes` of [ProductType](/../api/projects/productTypes#producttype).
173
+ * The `attributes` of [ProductType](ctp:api:type:ProductType).
174
174
  *
175
175
  *
176
176
  */
@@ -442,12 +442,12 @@ export interface TimeSetAttribute {
442
442
  readonly value: string[];
443
443
  }
444
444
  /**
445
- * The data representation for a ProductVariant to be imported that is persisted as a [ProductVariant](/../api/projects/products#productvariant) in the Project.
445
+ * The data representation for a ProductVariant to be imported that is persisted as a [ProductVariant](ctp:api:type:ProductVariant) in the Project.
446
446
  *
447
447
  */
448
448
  export interface ProductVariantImport extends ImportResource {
449
449
  /**
450
- * User-defined unique identifier. If a [ProductVariant](/../api/projects/products#productvariant) with this `key` exists on the specified `product`, it will be updated with the imported data.
450
+ * User-defined unique identifier. If a [ProductVariant](ctp:api:type:ProductVariant) with this `key` exists on the specified `product`, it will be updated with the imported data.
451
451
  *
452
452
  */
453
453
  readonly key: string;
@@ -458,7 +458,7 @@ export interface ProductVariantImport extends ImportResource {
458
458
  */
459
459
  readonly sku?: string;
460
460
  /**
461
- * - When creating a new ProductVariant, set to `false`; otherwise, the import operation will fail with a [NewMasterVariantAdditionNotAllowed](/error#newmastervariantadditionnotallowederror) error.
461
+ * - When creating a new ProductVariant, set to `false`; otherwise, the import operation will fail with a [NewMasterVariantAdditionNotAllowed](ctp:import:type:NewMasterVariantAdditionNotAllowedError) error.
462
462
  * - Set to `true` if the ProductVariant exists and you want to set this ProductVariant as the Master Variant.
463
463
  *
464
464
  *
@@ -466,7 +466,7 @@ export interface ProductVariantImport extends ImportResource {
466
466
  readonly isMasterVariant: boolean;
467
467
  /**
468
468
  * Maps to `ProductVariant.attributes`.
469
- * The referenced attribute must be defined in an already existing ProductType in the project, or the `state` of the [ImportOperation](/import-operation#importoperation) will be `unresolved`.
469
+ * The referenced attribute must be defined in an already existing ProductType in the project, or the `state` of the [ImportOperation](ctp:import:type:ImportOperation) will be `unresolved`.
470
470
  *
471
471
  *
472
472
  */
@@ -491,39 +491,39 @@ export interface ProductVariantImport extends ImportResource {
491
491
  */
492
492
  readonly staged?: boolean;
493
493
  /**
494
- * The [Product](/../api/projects/products#productvariant) to which this Product Variant belongs. Maps to `ProductVariant.product`.
495
- * The Reference to the [Product](/../api/projects/products#product) with which the ProductVariant is associated.
496
- * If referenced Product does not exist, the `state` of the [ImportOperation](/import-operation#importoperation) will be set to `unresolved` until the necessary Product is created.
494
+ * The [Product](ctp:api:type:ProductVariant) to which this Product Variant belongs. Maps to `ProductVariant.product`.
495
+ * The Reference to the [Product](ctp:api:type:Product) with which the ProductVariant is associated.
496
+ * If referenced Product does not exist, the `state` of the [ImportOperation](ctp:import:type:ImportOperation) will be set to `unresolved` until the necessary Product is created.
497
497
  *
498
498
  *
499
499
  */
500
500
  readonly product: ProductKeyReference;
501
501
  }
502
502
  /**
503
- * Representation for an update of a [ProductVariant](/../api/projects/products#productvariant). Use this type to import updates for existing
504
- * [ProductVariants](/../api/projects/products#productvariant) in a Project.
503
+ * Representation for an update of a [ProductVariant](ctp:api:type:ProductVariant). Use this type to import updates for existing
504
+ * [ProductVariants](ctp:api:type:ProductVariant) in a Project.
505
505
  *
506
506
  */
507
507
  export interface ProductVariantPatch {
508
508
  /**
509
- * Reference to the [ProductVariant](/../api/projects/products#productvariant) to update.
510
- * If the referenced ProductVariant does not exist, the `state` of the [ImportOperation](/import-operation#importoperation) will be set to `unresolved` until the necessary ProductVariant is created.
509
+ * Reference to the [ProductVariant](ctp:api:type:ProductVariant) to update.
510
+ * If the referenced ProductVariant does not exist, the `state` of the [ImportOperation](ctp:import:type:ImportOperation) will be set to `unresolved` until the necessary ProductVariant is created.
511
511
  *
512
512
  *
513
513
  */
514
514
  readonly productVariant: ProductVariantKeyReference;
515
515
  /**
516
516
  * Maps to `ProductVariant.attributes`.
517
- * - The referenced Attribute must be defined in an existing [ProductType](/../api/projects/productTypes#producttype), or the `state` of the [ImportOperation](/import-operation#importoperation) will be `validationFailed`.
517
+ * - The referenced Attribute must be defined in an existing [ProductType](ctp:api:type:ProductType), or the `state` of the [ImportOperation](ctp:import:type:ImportOperation) will be `validationFailed`.
518
518
  * - Setting the value of a non-required Attribute to `null` will remove the Attribute.
519
- * - Attempting to set a `null` value to a required Attribute will make the import operation fail with an [InvalidOperation](/error#invalidoperation) error.
520
- * - Importing [LocalizableTextAttributes](/product-variant#localizabletextattribute) or [LocalizableTextSetAttributes](/product-variant#localizabletextsetattribute) follows an override pattern, meaning that omitted localized fields will be deleted, new fields will be created, and existing fields will be updated. You can also delete localized fields by setting their value to `null`.
519
+ * - Attempting to set a `null` value to a required Attribute will make the import operation fail with an [InvalidOperation](ctp:import:type:InvalidOperation) error.
520
+ * - Importing [LocalizableTextAttributes](ctp:import:type:LocalizableTextAttribute) or [LocalizableTextSetAttributes](ctp:import:type:LocalizableTextSetAttribute) follows an override pattern, meaning that omitted localized fields will be deleted, new fields will be created, and existing fields will be updated. You can also delete localized fields by setting their value to `null`.
521
521
  *
522
522
  *
523
523
  */
524
524
  readonly attributes?: Attributes;
525
525
  /**
526
- * If `false`, the attribute changes are applied to both [current and staged projected representations](/../api/projects/productProjections#current--staged) of the [Product](/../api/projects/products#product).
526
+ * If `false`, the attribute changes are applied to both [current and staged projected representations](/projects/productProjections#current--staged) of the [Product](ctp:api:type:Product).
527
527
  *
528
528
  *
529
529
  */
@@ -6,12 +6,12 @@
6
6
  import { ChannelKeyReference, CustomerGroupKeyReference, DiscountedPrice, ImportResource, PriceTier, TypedMoney } from "./common.js";
7
7
  import { Custom } from "./customfields.js";
8
8
  /**
9
- * The data representation for a Standalone Price to be imported that is persisted as a [Standalone Price](/../api/projects/standalone-prices#standaloneprice) in the Project.
9
+ * The data representation for a Standalone Price to be imported that is persisted as a [Standalone Price](ctp:api:type:StandalonePrice)) in the Project.
10
10
  *
11
11
  */
12
12
  export interface StandalonePriceImport extends ImportResource {
13
13
  /**
14
- * User-defined unique identifier for the Standalone Price. If a [StandalonePrice](/../api/projects/standalone-prices#standaloneprice) with this `key` exists, it will be updated with the imported data.
14
+ * User-defined unique identifier for the Standalone Price. If a [StandalonePrice](ctp:api:type:StandalonePrice)) with this `key` exists, it will be updated with the imported data.
15
15
  *
16
16
  *
17
17
  */
@@ -29,25 +29,25 @@ export interface StandalonePriceImport extends ImportResource {
29
29
  */
30
30
  readonly value: TypedMoney;
31
31
  /**
32
- * Sets the country for which this Price is valid.
32
+ * Sets the country for this Price, if the Price does not yet have a country.
33
33
  *
34
- * The value cannot be updated. Attempting to update the value will result in an [InvalidFieldsUpdate](/error#invalidfieldsupdateerror) error.
34
+ * The country cannot be updated. Attempting to update the an existing country will result in an [InvalidFieldsUpdate](/import-export/error#invalidfieldsupdateerror) error.
35
35
  *
36
36
  *
37
37
  */
38
38
  readonly country?: string;
39
39
  /**
40
- * Sets the CustomerGroup for which this Price is valid.
40
+ * Sets the CustomerGroup for this Price, if the Price does not yet have a CustomerGroup.
41
41
  *
42
- * The value cannot be updated. Attempting to update the value will result in an [InvalidFieldsUpdate](/error#invalidfieldsupdateerror) error.
42
+ * The CustomerGroup cannot be updated. Attempting to update an existing CustomerGroup will result in an [InvalidFieldsUpdate](/import-export/error#invalidfieldsupdateerror) error.
43
43
  *
44
44
  *
45
45
  */
46
46
  readonly customerGroup?: CustomerGroupKeyReference;
47
47
  /**
48
- * Sets the product distribution Channel for which this Price is valid.
48
+ * Sets the product distribution Channel for this Price, if the Price does not yet have a Channel.
49
49
  *
50
- * The value cannot be updated. Attempting to update the value will result in an [InvalidFieldsUpdate](/error#invalidfieldsupdateerror) error.
50
+ * The Channel cannot be updated. Attempting to update an existing Channel will result in an [InvalidFieldsUpdate](/import-export/error#invalidfieldsupdateerror) error.
51
51
  *
52
52
  *
53
53
  */
@@ -10,7 +10,7 @@ import { ImportResource, LocalizedString } from "./common.js";
10
10
  */
11
11
  export type TypeTextInputHint = 'MultiLine' | 'SingleLine' | string;
12
12
  /**
13
- * With Types, you can model your own Custom Fields on the following resources and data types. Maps to `Type.resourceTypeId`.
13
+ * IDs indicating the [type of resource](ctp:api:type:ResourceTypeId). Maps to `Type.resourceTypeIds`.
14
14
  *
15
15
  */
16
16
  export type ResourceTypeId = 'address' | 'asset' | 'business-unit' | 'cart-discount' | 'category' | 'channel' | 'custom-line-item' | 'customer' | 'customer-group' | 'discount-code' | 'inventory-entry' | 'line-item' | 'order' | 'order-delivery' | 'order-edit' | 'order-parcel' | 'order-return-item' | 'payment' | 'payment-interface-interaction' | 'product-price' | 'product-selection' | 'quote' | 'review' | 'shipping' | 'shipping-method' | 'shopping-list' | 'shopping-list-text-line-item' | 'standalone-price' | 'store' | 'transaction' | string;
@@ -22,13 +22,13 @@ export interface CustomFieldBooleanType {
22
22
  readonly name: 'Boolean';
23
23
  }
24
24
  /**
25
- * Field type for [DateTime](ctp:import:type:DateTime) values.
25
+ * Field type for [DateTime](ctp:api:type:DateTime) values.
26
26
  */
27
27
  export interface CustomFieldDateTimeType {
28
28
  readonly name: 'DateTime';
29
29
  }
30
30
  /**
31
- * Field type for [Date](ctp:import:type:Date) values.
31
+ * Field type for [Date](ctp:api:type:Date) values.
32
32
  */
33
33
  export interface CustomFieldDateType {
34
34
  readonly name: 'Date';
@@ -86,13 +86,13 @@ export interface CustomFieldLocalizedEnumValue {
86
86
  readonly label: LocalizedString;
87
87
  }
88
88
  /**
89
- * Field type for [LocalizedString](ctp:import:type:LocalizedString) values.
89
+ * Field type for [LocalizedString](ctp:api:type:LocalizedString) values.
90
90
  */
91
91
  export interface CustomFieldLocalizedStringType {
92
92
  readonly name: 'LocalizedString';
93
93
  }
94
94
  /**
95
- * Field type for [CentPrecisionMoney](ctp:import:type:CentPrecisionMoney) values.
95
+ * Field type for [CentPrecisionMoney](ctp:api:type:CentPrecisionMoney) values.
96
96
  */
97
97
  export interface CustomFieldMoneyType {
98
98
  readonly name: 'Money';
@@ -104,7 +104,7 @@ export interface CustomFieldNumberType {
104
104
  readonly name: 'Number';
105
105
  }
106
106
  /**
107
- * Field type for [Reference](ctp:import:type:Reference) values.
107
+ * Field type for [Reference](ctp:api:type:Reference) values.
108
108
  */
109
109
  export interface CustomFieldReferenceType {
110
110
  readonly name: 'Reference';
@@ -136,13 +136,13 @@ export interface CustomFieldStringType {
136
136
  readonly name: 'String';
137
137
  }
138
138
  /**
139
- * Field type for [Time](ctp:import:type:Time) values.
139
+ * Field type for [Time](ctp:api:type:Time) values.
140
140
  */
141
141
  export interface CustomFieldTimeType {
142
142
  readonly name: 'Time';
143
143
  }
144
144
  /**
145
- * Defines a [Custom Field](/../api/projects/custom-fields) and its meta-information. Maps to `Type.FieldDefinition`.
145
+ * Defines a [Custom Field](/projects/custom-fields) and its meta-information. Maps to `Type.FieldDefinition`.
146
146
  *
147
147
  */
148
148
  export interface FieldDefinition {
@@ -175,12 +175,12 @@ export interface FieldDefinition {
175
175
  readonly inputHint?: TypeTextInputHint;
176
176
  }
177
177
  /**
178
- * The data representation for a Type to be imported that is persisted as a [Type](/../api/projects/types#type) in the Project.
178
+ * The data representation for a Type to be imported that is persisted as a [Type](ctp:api:type:Type) in the Project.
179
179
  *
180
180
  */
181
181
  export interface TypeImport extends ImportResource {
182
182
  /**
183
- * User-defined unique identifier for the Type. If a [Type](/../api/projects/types#type) with this `key` exists, it will be updated with the imported data.
183
+ * User-defined unique identifier for the Type. If a [Type](ctp:api:type:Type) with this `key` exists, it will be updated with the imported data.
184
184
  *
185
185
  *
186
186
  */
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "name": "@commercetools/importapi-sdk",
7
- "version": "5.16.0",
7
+ "version": "5.18.0",
8
8
  "engines": {
9
9
  "node": ">=14"
10
10
  },