@commercetools/importapi-sdk 1.18.0 → 2.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 (111) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/README.md +100 -18
  3. package/dist/commercetools-importapi-sdk.browser.cjs.js +2390 -1516
  4. package/dist/commercetools-importapi-sdk.browser.esm.js +2390 -1516
  5. package/dist/commercetools-importapi-sdk.cjs.dev.js +2390 -1516
  6. package/dist/commercetools-importapi-sdk.cjs.prod.js +2390 -1516
  7. package/dist/commercetools-importapi-sdk.esm.js +2390 -1516
  8. package/dist/declarations/src/ctp/ctp-client.d.ts +2 -2
  9. package/dist/declarations/src/generated/client/api-root.d.ts +18 -25
  10. package/dist/declarations/src/generated/client/by-project-key-request-builder.d.ts +52 -55
  11. package/dist/declarations/src/generated/client/categories/by-project-key-categories-import-sink-key-by-import-sink-key-request-builder.d.ts +37 -44
  12. package/dist/declarations/src/generated/client/categories/by-project-key-categories-request-builder.d.ts +28 -33
  13. package/dist/declarations/src/generated/client/customers/by-project-key-customers-import-sink-key-by-import-sink-key-request-builder.d.ts +37 -44
  14. package/dist/declarations/src/generated/client/customers/by-project-key-customers-request-builder.d.ts +28 -33
  15. package/dist/declarations/src/generated/client/import-containers/by-project-key-categories-import-containers-by-import-container-key-request-builder.d.ts +35 -0
  16. package/dist/declarations/src/generated/client/import-containers/by-project-key-categories-import-containers-request-builder.d.ts +26 -0
  17. package/dist/declarations/src/generated/client/import-containers/by-project-key-customers-import-containers-by-import-container-key-request-builder.d.ts +35 -0
  18. package/dist/declarations/src/generated/client/import-containers/by-project-key-customers-import-containers-request-builder.d.ts +26 -0
  19. package/dist/declarations/src/generated/client/import-containers/by-project-key-import-containers-by-import-container-key-request-builder.d.ts +55 -0
  20. package/dist/declarations/src/generated/client/import-containers/by-project-key-import-containers-request-builder.d.ts +51 -0
  21. package/dist/declarations/src/generated/client/import-containers/by-project-key-inventories-import-containers-by-import-container-key-request-builder.d.ts +35 -0
  22. package/dist/declarations/src/generated/client/import-containers/by-project-key-inventories-import-containers-request-builder.d.ts +26 -0
  23. package/dist/declarations/src/generated/client/import-containers/by-project-key-order-patches-import-containers-by-import-container-key-request-builder.d.ts +35 -0
  24. package/dist/declarations/src/generated/client/import-containers/by-project-key-order-patches-import-containers-request-builder.d.ts +26 -0
  25. package/dist/declarations/src/generated/client/import-containers/by-project-key-orders-import-containers-by-import-container-key-request-builder.d.ts +35 -0
  26. package/dist/declarations/src/generated/client/import-containers/by-project-key-orders-import-containers-request-builder.d.ts +26 -0
  27. package/dist/declarations/src/generated/client/import-containers/by-project-key-prices-import-containers-by-import-container-key-request-builder.d.ts +35 -0
  28. package/dist/declarations/src/generated/client/import-containers/by-project-key-prices-import-containers-request-builder.d.ts +26 -0
  29. package/dist/declarations/src/generated/client/import-containers/by-project-key-product-drafts-import-containers-by-import-container-key-request-builder.d.ts +36 -0
  30. package/dist/declarations/src/generated/client/import-containers/by-project-key-product-drafts-import-containers-request-builder.d.ts +26 -0
  31. package/dist/declarations/src/generated/client/import-containers/by-project-key-product-types-import-containers-by-import-container-key-request-builder.d.ts +35 -0
  32. package/dist/declarations/src/generated/client/import-containers/by-project-key-product-types-import-containers-request-builder.d.ts +26 -0
  33. package/dist/declarations/src/generated/client/import-containers/by-project-key-product-variant-patches-import-containers-by-import-container-key-request-builder.d.ts +35 -0
  34. package/dist/declarations/src/generated/client/import-containers/by-project-key-product-variant-patches-import-containers-request-builder.d.ts +26 -0
  35. package/dist/declarations/src/generated/client/import-containers/by-project-key-product-variants-import-containers-by-import-container-key-request-builder.d.ts +35 -0
  36. package/dist/declarations/src/generated/client/import-containers/by-project-key-product-variants-import-containers-request-builder.d.ts +26 -0
  37. package/dist/declarations/src/generated/client/import-containers/by-project-key-products-import-containers-by-import-container-key-request-builder.d.ts +35 -0
  38. package/dist/declarations/src/generated/client/import-containers/by-project-key-products-import-containers-request-builder.d.ts +26 -0
  39. package/dist/declarations/src/generated/client/import-operations/by-project-key-categories-import-sink-key-by-import-sink-key-import-operations-by-id-request-builder.d.ts +37 -44
  40. package/dist/declarations/src/generated/client/import-operations/by-project-key-categories-import-sink-key-by-import-sink-key-import-operations-request-builder.d.ts +49 -56
  41. package/dist/declarations/src/generated/client/import-operations/by-project-key-customers-import-sink-key-by-import-sink-key-import-operations-by-id-request-builder.d.ts +37 -44
  42. package/dist/declarations/src/generated/client/import-operations/by-project-key-customers-import-sink-key-by-import-sink-key-import-operations-request-builder.d.ts +48 -56
  43. package/dist/declarations/src/generated/client/import-operations/by-project-key-import-containers-by-import-container-key-import-operations-request-builder.d.ts +45 -0
  44. package/dist/declarations/src/generated/client/import-operations/by-project-key-import-operations-by-id-request-builder.d.ts +35 -0
  45. package/dist/declarations/src/generated/client/import-operations/by-project-key-import-operations-request-builder.d.ts +26 -0
  46. package/dist/declarations/src/generated/client/import-operations/by-project-key-inventories-import-sink-key-by-import-sink-key-import-operations-by-id-request-builder.d.ts +37 -44
  47. package/dist/declarations/src/generated/client/import-operations/by-project-key-inventories-import-sink-key-by-import-sink-key-import-operations-request-builder.d.ts +48 -56
  48. package/dist/declarations/src/generated/client/import-operations/by-project-key-order-patches-import-sink-key-by-import-sink-key-import-operations-by-id-request-builder.d.ts +37 -44
  49. package/dist/declarations/src/generated/client/import-operations/by-project-key-order-patches-import-sink-key-by-import-sink-key-import-operations-request-builder.d.ts +48 -56
  50. package/dist/declarations/src/generated/client/import-operations/by-project-key-orders-import-sink-key-by-import-sink-key-import-operations-by-id-request-builder.d.ts +37 -44
  51. package/dist/declarations/src/generated/client/import-operations/by-project-key-orders-import-sink-key-by-import-sink-key-import-operations-request-builder.d.ts +48 -56
  52. package/dist/declarations/src/generated/client/import-operations/by-project-key-prices-import-sink-key-by-import-sink-key-import-operations-by-id-request-builder.d.ts +37 -44
  53. package/dist/declarations/src/generated/client/import-operations/by-project-key-prices-import-sink-key-by-import-sink-key-import-operations-request-builder.d.ts +48 -56
  54. package/dist/declarations/src/generated/client/import-operations/by-project-key-product-drafts-import-sink-key-by-import-sink-key-import-operations-by-id-request-builder.d.ts +37 -44
  55. package/dist/declarations/src/generated/client/import-operations/by-project-key-product-drafts-import-sink-key-by-import-sink-key-import-operations-request-builder.d.ts +48 -56
  56. package/dist/declarations/src/generated/client/import-operations/by-project-key-product-types-import-sink-key-by-import-sink-key-import-operations-by-id-request-builder.d.ts +37 -44
  57. package/dist/declarations/src/generated/client/import-operations/by-project-key-product-types-import-sink-key-by-import-sink-key-import-operations-request-builder.d.ts +48 -56
  58. package/dist/declarations/src/generated/client/import-operations/by-project-key-product-variant-patches-import-sink-key-by-import-sink-key-import-operations-by-id-request-builder.d.ts +37 -44
  59. package/dist/declarations/src/generated/client/import-operations/by-project-key-product-variant-patches-import-sink-key-by-import-sink-key-import-operations-request-builder.d.ts +48 -55
  60. package/dist/declarations/src/generated/client/import-operations/by-project-key-product-variants-import-sink-key-by-import-sink-key-import-operations-by-id-request-builder.d.ts +37 -44
  61. package/dist/declarations/src/generated/client/import-operations/by-project-key-product-variants-import-sink-key-by-import-sink-key-import-operations-request-builder.d.ts +48 -55
  62. package/dist/declarations/src/generated/client/import-operations/by-project-key-products-import-sink-key-by-import-sink-key-import-operations-by-id-request-builder.d.ts +37 -44
  63. package/dist/declarations/src/generated/client/import-operations/by-project-key-products-import-sink-key-by-import-sink-key-import-operations-request-builder.d.ts +48 -56
  64. package/dist/declarations/src/generated/client/import-sinks/by-project-key-import-sinks-by-import-sink-key-request-builder.d.ts +51 -58
  65. package/dist/declarations/src/generated/client/import-sinks/by-project-key-import-sinks-request-builder.d.ts +51 -58
  66. package/dist/declarations/src/generated/client/import-summaries/by-project-key-import-containers-by-import-container-key-import-summaries-request-builder.d.ts +35 -0
  67. package/dist/declarations/src/generated/client/import-summaries/by-project-key-import-summaries-import-sink-key-by-import-sink-key-request-builder.d.ts +37 -44
  68. package/dist/declarations/src/generated/client/import-summaries/by-project-key-import-summaries-request-builder.d.ts +26 -33
  69. package/dist/declarations/src/generated/client/inventories/by-project-key-inventories-import-sink-key-by-import-sink-key-request-builder.d.ts +37 -44
  70. package/dist/declarations/src/generated/client/inventories/by-project-key-inventories-request-builder.d.ts +28 -33
  71. package/dist/declarations/src/generated/client/order-patches/by-project-key-order-patches-import-sink-key-by-import-sink-key-request-builder.d.ts +37 -44
  72. package/dist/declarations/src/generated/client/order-patches/by-project-key-order-patches-request-builder.d.ts +28 -33
  73. package/dist/declarations/src/generated/client/orders/by-project-key-orders-import-sink-key-by-import-sink-key-request-builder.d.ts +37 -44
  74. package/dist/declarations/src/generated/client/orders/by-project-key-orders-request-builder.d.ts +28 -33
  75. package/dist/declarations/src/generated/client/prices/by-project-key-prices-import-sink-key-by-import-sink-key-request-builder.d.ts +37 -44
  76. package/dist/declarations/src/generated/client/prices/by-project-key-prices-request-builder.d.ts +28 -33
  77. package/dist/declarations/src/generated/client/product-drafts/by-project-key-product-drafts-import-sink-key-by-import-sink-key-request-builder.d.ts +38 -45
  78. package/dist/declarations/src/generated/client/product-drafts/by-project-key-product-drafts-request-builder.d.ts +28 -33
  79. package/dist/declarations/src/generated/client/product-types/by-project-key-product-types-import-sink-key-by-import-sink-key-request-builder.d.ts +37 -44
  80. package/dist/declarations/src/generated/client/product-types/by-project-key-product-types-request-builder.d.ts +28 -33
  81. package/dist/declarations/src/generated/client/product-variant-patches/by-project-key-product-variant-patches-import-sink-key-by-import-sink-key-request-builder.d.ts +37 -44
  82. package/dist/declarations/src/generated/client/product-variant-patches/by-project-key-product-variant-patches-request-builder.d.ts +28 -33
  83. package/dist/declarations/src/generated/client/product-variants/by-project-key-product-variants-import-sink-key-by-import-sink-key-request-builder.d.ts +37 -44
  84. package/dist/declarations/src/generated/client/product-variants/by-project-key-product-variants-request-builder.d.ts +28 -33
  85. package/dist/declarations/src/generated/client/products/by-project-key-products-import-sink-key-by-import-sink-key-request-builder.d.ts +37 -44
  86. package/dist/declarations/src/generated/client/products/by-project-key-products-request-builder.d.ts +28 -33
  87. package/dist/declarations/src/generated/index.d.ts +26 -32
  88. package/dist/declarations/src/generated/models/categories.d.ts +79 -86
  89. package/dist/declarations/src/generated/models/common.d.ts +570 -551
  90. package/dist/declarations/src/generated/models/customers.d.ts +252 -259
  91. package/dist/declarations/src/generated/models/customfields.d.ts +260 -267
  92. package/dist/declarations/src/generated/models/errors.d.ts +356 -359
  93. package/dist/declarations/src/generated/models/importcontainers.d.ts +114 -0
  94. package/dist/declarations/src/generated/models/importoperations.d.ts +128 -136
  95. package/dist/declarations/src/generated/models/importrequests.d.ts +175 -182
  96. package/dist/declarations/src/generated/models/importsinks.d.ts +113 -120
  97. package/dist/declarations/src/generated/models/importsummaries.d.ts +55 -57
  98. package/dist/declarations/src/generated/models/inventories.d.ts +44 -51
  99. package/dist/declarations/src/generated/models/order-patches.d.ts +227 -234
  100. package/dist/declarations/src/generated/models/orders.d.ts +778 -785
  101. package/dist/declarations/src/generated/models/prices.d.ts +130 -137
  102. package/dist/declarations/src/generated/models/productdrafts.d.ts +226 -231
  103. package/dist/declarations/src/generated/models/products.d.ts +181 -186
  104. package/dist/declarations/src/generated/models/producttypes.d.ts +173 -180
  105. package/dist/declarations/src/generated/models/productvariants.d.ts +529 -534
  106. package/dist/declarations/src/generated/shared/utils/common-types.d.ts +26 -33
  107. package/dist/declarations/src/generated/shared/utils/middleware.d.ts +8 -15
  108. package/dist/declarations/src/generated/shared/utils/requests-utils.d.ts +13 -20
  109. package/dist/declarations/src/generated/shared/utils/uri-utils.d.ts +7 -14
  110. package/dist/declarations/src/index.d.ts +2 -2
  111. package/package.json +8 -6
@@ -1,186 +1,181 @@
1
- /**
2
- *
3
- * Generated file, please do not change!!!
4
- * From http://www.commercetools.com/ with love
5
- *
6
- * ,d88b.d88b,
7
- * 88888888888
8
- * `Y8888888Y'
9
- * `Y888Y'
10
- * `Y'
11
- *
12
- */
13
- import { CategoryKeyReference, ImportResource, LocalizedString, ProductTypeKeyReference, StateKeyReference, TaxCategoryKeyReference } from './common';
14
- /**
15
- * Search keywords are primarily used by the suggester but are also considered for the full-text search. SearchKeywords is a JSON object where the keys are of [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag). The value to a language tag key is an array of SearchKeyword for the specific language.
16
- * ```json
17
- * {
18
- * "en": [
19
- * { "text": "Multi tool" },
20
- * { "text": "Swiss Army Knife", "suggestTokenizer": { "type": "whitespace" } }
21
- * ],
22
- * "de": [
23
- * {
24
- * "text": "Schweizer Messer",
25
- * "suggestTokenizer": {
26
- * "type": "custom",
27
- * "inputs": ["schweizer messer", "offiziersmesser", "sackmesser"]
28
- * }
29
- * }
30
- * ]
31
- * }
32
- * ```
33
- *
34
- */
35
- export interface SearchKeywords {
36
- [key: string]: SearchKeyword[];
37
- }
38
- export interface SearchKeyword {
39
- /**
40
- *
41
- */
42
- readonly text: string;
43
- /**
44
- * The tokenizer defines the tokens that are used to match against the [Suggest Query](/../products-suggestions#suggest-query) input.
45
- *
46
- */
47
- readonly suggestTokenizer?: SuggestTokenizer;
48
- }
49
- /**
50
- * The tokenizer defines the tokens that are used to match against the [Suggest Query](/../products-suggestions#suggest-query) input.
51
- *
52
- */
53
- export declare type SuggestTokenizer = CustomTokenizer | WhitespaceTokenizer;
54
- export interface CustomTokenizer {
55
- readonly type: 'custom';
56
- /**
57
- *
58
- */
59
- readonly inputs: string[];
60
- }
61
- export interface WhitespaceTokenizer {
62
- readonly type: 'whitespace';
63
- }
64
- /**
65
- * The data representation for a Product to be imported that is persisted as a [Product](/../api/projects/products#product) in the Project.
66
- *
67
- * This is the minimal representation required for creating a [Product](/../api/projects/products#product) in commercetools.
68
- *
69
- */
70
- export interface ProductImport extends ImportResource {
71
- /**
72
- * Maps to `Product.name`.
73
- *
74
- *
75
- */
76
- readonly name: LocalizedString;
77
- /**
78
- * The `productType` of a [Product](/../api/projects/products#product).
79
- * Maps to `Product.productType`.
80
- * The Reference to the [ProductType](/../api/projects/productTypes#producttype) with which the Product is associated.
81
- * 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.
82
- *
83
- *
84
- */
85
- readonly productType: ProductTypeKeyReference;
86
- /**
87
- * Human-readable identifiers usually used as deep-link URL to the related product. Each slug must be unique across a Project,
88
- * but a product can have the same slug for different languages. Allowed are alphabetic, numeric, underscore (_) and hyphen (-) characters.
89
- *
90
- *
91
- */
92
- readonly slug: LocalizedString;
93
- /**
94
- * Maps to `Product.description`.
95
- *
96
- *
97
- */
98
- readonly description?: LocalizedString;
99
- /**
100
- * Maps to `Product.categories`.
101
- * The References to the [Categories](/../api/projects/categories#category) with which the Product is associated.
102
- * 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.
103
- *
104
- *
105
- */
106
- readonly categories?: CategoryKeyReference[];
107
- /**
108
- * A localized string is a JSON object where the keys are of [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag), and the values the corresponding strings used for that language.
109
- * ```json
110
- * {
111
- * "de": "Hundefutter",
112
- * "en": "dog food"
113
- * }
114
- * ```
115
- *
116
- *
117
- */
118
- readonly metaTitle?: LocalizedString;
119
- /**
120
- * A localized string is a JSON object where the keys are of [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag), and the values the corresponding strings used for that language.
121
- * ```json
122
- * {
123
- * "de": "Hundefutter",
124
- * "en": "dog food"
125
- * }
126
- * ```
127
- *
128
- *
129
- */
130
- readonly metaDescription?: LocalizedString;
131
- /**
132
- * A localized string is a JSON object where the keys are of [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag), and the values the corresponding strings used for that language.
133
- * ```json
134
- * {
135
- * "de": "Hundefutter",
136
- * "en": "dog food"
137
- * }
138
- * ```
139
- *
140
- *
141
- */
142
- readonly metaKeywords?: LocalizedString;
143
- /**
144
- * The Reference to the [TaxCategory](/../api/projects/taxCategories#taxcategory) with which the Product is associated.
145
- * 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.
146
- *
147
- *
148
- */
149
- readonly taxCategory?: TaxCategoryKeyReference;
150
- /**
151
- * Search keywords are primarily used by the suggester but are also considered for the full-text search. SearchKeywords is a JSON object where the keys are of [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag). The value to a language tag key is an array of SearchKeyword for the specific language.
152
- * ```json
153
- * {
154
- * "en": [
155
- * { "text": "Multi tool" },
156
- * { "text": "Swiss Army Knife", "suggestTokenizer": { "type": "whitespace" } }
157
- * ],
158
- * "de": [
159
- * {
160
- * "text": "Schweizer Messer",
161
- * "suggestTokenizer": {
162
- * "type": "custom",
163
- * "inputs": ["schweizer messer", "offiziersmesser", "sackmesser"]
164
- * }
165
- * }
166
- * ]
167
- * }
168
- * ```
169
- *
170
- *
171
- */
172
- readonly searchKeywords?: SearchKeywords;
173
- /**
174
- * The Reference to the [State](/../api/projects/states#state) with which the Product is associated.
175
- * 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.
176
- *
177
- *
178
- */
179
- readonly state?: StateKeyReference;
180
- /**
181
- * If there were updates, only the updates will be published to `staged` and `current` projection.
182
- *
183
- *
184
- */
185
- readonly publish?: boolean;
186
- }
1
+ /**
2
+ * Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
3
+ * Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
4
+ * For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
5
+ */
6
+ import { CategoryKeyReference, ImportResource, LocalizedString, ProductTypeKeyReference, StateKeyReference, TaxCategoryKeyReference } from './common';
7
+ /**
8
+ * Search keywords are primarily used by the suggester but are also considered for the full-text search. SearchKeywords is a JSON object where the keys are of [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag). The value to a language tag key is an array of SearchKeyword for the specific language.
9
+ * ```json
10
+ * {
11
+ * "en": [
12
+ * { "text": "Multi tool" },
13
+ * { "text": "Swiss Army Knife", "suggestTokenizer": { "type": "whitespace" } }
14
+ * ],
15
+ * "de": [
16
+ * {
17
+ * "text": "Schweizer Messer",
18
+ * "suggestTokenizer": {
19
+ * "type": "custom",
20
+ * "inputs": ["schweizer messer", "offiziersmesser", "sackmesser"]
21
+ * }
22
+ * }
23
+ * ]
24
+ * }
25
+ * ```
26
+ *
27
+ */
28
+ export interface SearchKeywords {
29
+ [key: string]: SearchKeyword[];
30
+ }
31
+ export interface SearchKeyword {
32
+ /**
33
+ *
34
+ */
35
+ readonly text: string;
36
+ /**
37
+ * The tokenizer defines the tokens that are used to match against the [Suggest Query](/../products-suggestions#suggest-query) input.
38
+ *
39
+ */
40
+ readonly suggestTokenizer?: SuggestTokenizer;
41
+ }
42
+ /**
43
+ * The tokenizer defines the tokens that are used to match against the [Suggest Query](/../products-suggestions#suggest-query) input.
44
+ *
45
+ */
46
+ export declare type SuggestTokenizer = CustomTokenizer | WhitespaceTokenizer;
47
+ export interface CustomTokenizer {
48
+ readonly type: 'custom';
49
+ /**
50
+ *
51
+ */
52
+ readonly inputs: string[];
53
+ }
54
+ export interface WhitespaceTokenizer {
55
+ readonly type: 'whitespace';
56
+ }
57
+ /**
58
+ * The data representation for a Product to be imported that is persisted as a [Product](/../api/projects/products#product) in the Project.
59
+ *
60
+ * This is the minimal representation required for creating a [Product](/../api/projects/products#product) in commercetools.
61
+ *
62
+ */
63
+ export interface ProductImport extends ImportResource {
64
+ /**
65
+ * Maps to `Product.name`.
66
+ *
67
+ *
68
+ */
69
+ readonly name: LocalizedString;
70
+ /**
71
+ * The `productType` of a [Product](/../api/projects/products#product).
72
+ * Maps to `Product.productType`.
73
+ * The Reference to the [ProductType](/../api/projects/productTypes#producttype) with which the Product is associated.
74
+ * 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.
75
+ *
76
+ *
77
+ */
78
+ readonly productType: ProductTypeKeyReference;
79
+ /**
80
+ * Human-readable identifiers usually used as deep-link URL to the related product. Each slug must be unique across a Project,
81
+ * but a product can have the same slug for different languages. Allowed are alphabetic, numeric, underscore (_) and hyphen (-) characters.
82
+ *
83
+ *
84
+ */
85
+ readonly slug: LocalizedString;
86
+ /**
87
+ * Maps to `Product.description`.
88
+ *
89
+ *
90
+ */
91
+ readonly description?: LocalizedString;
92
+ /**
93
+ * Maps to `Product.categories`.
94
+ * The References to the [Categories](/../api/projects/categories#category) with which the Product is associated.
95
+ * 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.
96
+ *
97
+ *
98
+ */
99
+ readonly categories?: CategoryKeyReference[];
100
+ /**
101
+ * A localized string is a JSON object where the keys are of [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag), and the values the corresponding strings used for that language.
102
+ * ```json
103
+ * {
104
+ * "de": "Hundefutter",
105
+ * "en": "dog food"
106
+ * }
107
+ * ```
108
+ *
109
+ *
110
+ */
111
+ readonly metaTitle?: LocalizedString;
112
+ /**
113
+ * A localized string is a JSON object where the keys are of [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag), and the values the corresponding strings used for that language.
114
+ * ```json
115
+ * {
116
+ * "de": "Hundefutter",
117
+ * "en": "dog food"
118
+ * }
119
+ * ```
120
+ *
121
+ *
122
+ */
123
+ readonly metaDescription?: LocalizedString;
124
+ /**
125
+ * A localized string is a JSON object where the keys are of [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag), and the values the corresponding strings used for that language.
126
+ * ```json
127
+ * {
128
+ * "de": "Hundefutter",
129
+ * "en": "dog food"
130
+ * }
131
+ * ```
132
+ *
133
+ *
134
+ */
135
+ readonly metaKeywords?: LocalizedString;
136
+ /**
137
+ * The Reference to the [TaxCategory](/../api/projects/taxCategories#taxcategory) with which the Product is associated.
138
+ * 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.
139
+ *
140
+ *
141
+ */
142
+ readonly taxCategory?: TaxCategoryKeyReference;
143
+ /**
144
+ * Search keywords are primarily used by the suggester but are also considered for the full-text search. SearchKeywords is a JSON object where the keys are of [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag). The value to a language tag key is an array of SearchKeyword for the specific language.
145
+ * ```json
146
+ * {
147
+ * "en": [
148
+ * { "text": "Multi tool" },
149
+ * { "text": "Swiss Army Knife", "suggestTokenizer": { "type": "whitespace" } }
150
+ * ],
151
+ * "de": [
152
+ * {
153
+ * "text": "Schweizer Messer",
154
+ * "suggestTokenizer": {
155
+ * "type": "custom",
156
+ * "inputs": ["schweizer messer", "offiziersmesser", "sackmesser"]
157
+ * }
158
+ * }
159
+ * ]
160
+ * }
161
+ * ```
162
+ *
163
+ *
164
+ */
165
+ readonly searchKeywords?: SearchKeywords;
166
+ /**
167
+ * The Reference to the [State](/../api/projects/states#state) with which the Product is associated.
168
+ * 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.
169
+ *
170
+ *
171
+ */
172
+ readonly state?: StateKeyReference;
173
+ /**
174
+ * If `publish` is set to either `true` or `false`, both staged and current projections are set to the same value provided by the import data.
175
+ * If `publish` is not set, the staged projection is set to the provided import data, but the current projection stays unchanged.
176
+ * However, if the import data contains no update, that is, if it matches the staged projection of the existing Product in the platform, the import induces no change in the existing Product whether `publish` is set or not.
177
+ *
178
+ *
179
+ */
180
+ readonly publish?: boolean;
181
+ }