@teemill/product-catalog 1.58.0 → 1.59.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.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/product-catalog@1.58.0
1
+ ## @teemill/product-catalog@1.59.0
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @teemill/product-catalog@1.58.0 --save
39
+ npm install @teemill/product-catalog@1.59.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -80,6 +80,7 @@ Class | Method | HTTP request | Description
80
80
  - [ApplicationMockup](docs/ApplicationMockup.md)
81
81
  - [ApplicationProperties](docs/ApplicationProperties.md)
82
82
  - [ApplicationPropertiesPosition](docs/ApplicationPropertiesPosition.md)
83
+ - [ApplicationPropertiesPositionInference](docs/ApplicationPropertiesPositionInference.md)
83
84
  - [ApplicationSet](docs/ApplicationSet.md)
84
85
  - [ApplicationSet1](docs/ApplicationSet1.md)
85
86
  - [ApplicationSetRecord](docs/ApplicationSetRecord.md)
@@ -91,6 +92,8 @@ Class | Method | HTTP request | Description
91
92
  - [AttributeThumbnail](docs/AttributeThumbnail.md)
92
93
  - [Attributes1Inner](docs/Attributes1Inner.md)
93
94
  - [CreateApplication](docs/CreateApplication.md)
95
+ - [CreateApplicationProperties](docs/CreateApplicationProperties.md)
96
+ - [CreateApplicationPropertiesPosition](docs/CreateApplicationPropertiesPosition.md)
94
97
  - [CreateApplicationSetRequest](docs/CreateApplicationSetRequest.md)
95
98
  - [CreateApplicationSetRequestRecordsInner](docs/CreateApplicationSetRequestRecordsInner.md)
96
99
  - [CreateApplicationSetRequestRecordsInnerAttributesInner](docs/CreateApplicationSetRequestRecordsInnerAttributesInner.md)
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.58.0
7
+ * The version of the OpenAPI document: 1.59.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -86,7 +86,7 @@ export interface Application {
86
86
  */
87
87
  'additionalInstructions'?: string | null;
88
88
  /**
89
- * Publicly available design file URL. This will fill the design area of the warehouse product. It will be centered horizontally and aligned to the top of the design area. Accepts PNG and JPEG files.
89
+ * Publicly available design file URL. This will fill the design area of the warehouse product. It will be centered horizontally and aligned to the top of the design area.
90
90
  * @type {string}
91
91
  * @memberof Application
92
92
  */
@@ -177,26 +177,51 @@ export interface ApplicationProperties {
177
177
  * @memberof ApplicationProperties
178
178
  */
179
179
  'position'?: ApplicationPropertiesPosition | null;
180
+ /**
181
+ *
182
+ * @type {ApplicationPropertiesPositionInference}
183
+ * @memberof ApplicationProperties
184
+ */
185
+ 'positionInference'?: ApplicationPropertiesPositionInference | null;
180
186
  }
181
187
  /**
182
- * Position of the application
188
+ * Position of the application relative to the bounding box of the product
183
189
  * @export
184
190
  * @interface ApplicationPropertiesPosition
185
191
  */
186
192
  export interface ApplicationPropertiesPosition {
187
193
  /**
188
- * X coordinate of the application in pixels relative to the bounding box of the product
194
+ * X coordinate of the application in pixels
189
195
  * @type {number}
190
196
  * @memberof ApplicationPropertiesPosition
191
197
  */
192
198
  'x': number;
193
199
  /**
194
- * Y coordinate of the application in pixels relative to the bounding box of the product
200
+ * Y coordinate of the application in pixels
195
201
  * @type {number}
196
202
  * @memberof ApplicationPropertiesPosition
197
203
  */
198
204
  'y': number;
199
205
  }
206
+ /**
207
+ * Set these properties when you don\'t have position information for the application. We will use the mockup and baseFlat to calculate the position of the application relative to the bounding box of the warehouse product.
208
+ * @export
209
+ * @interface ApplicationPropertiesPositionInference
210
+ */
211
+ export interface ApplicationPropertiesPositionInference {
212
+ /**
213
+ * Old mockup with applications. This is used to infer the position of the application.
214
+ * @type {string}
215
+ * @memberof ApplicationPropertiesPositionInference
216
+ */
217
+ 'mockup': string;
218
+ /**
219
+ * Base flat image. This is used to infer the position of the application.
220
+ * @type {string}
221
+ * @memberof ApplicationPropertiesPositionInference
222
+ */
223
+ 'baseFlat': string;
224
+ }
200
225
  /**
201
226
  *
202
227
  * @export
@@ -499,7 +524,7 @@ export interface CreateApplication {
499
524
  */
500
525
  'additionalInstructions'?: string | null;
501
526
  /**
502
- * Publicly available design file URL. This will fill the design area of the warehouse product. It will be centered horizontally and aligned to the top of the design area. Accepts PNG and JPEG files.
527
+ * Publicly available design file URL. This will fill the design area of the warehouse product. It will be centered horizontally and aligned to the top of the design area.
503
528
  * @type {string}
504
529
  * @memberof CreateApplication
505
530
  */
@@ -512,10 +537,10 @@ export interface CreateApplication {
512
537
  'stockedOnly'?: boolean;
513
538
  /**
514
539
  *
515
- * @type {ApplicationProperties}
540
+ * @type {CreateApplicationProperties}
516
541
  * @memberof CreateApplication
517
542
  */
518
- 'properties'?: ApplicationProperties | null;
543
+ 'properties'?: CreateApplicationProperties | null;
519
544
  }
520
545
 
521
546
  export const CreateApplicationTechnologyEnum = {
@@ -541,6 +566,56 @@ export const CreateApplicationPlacementEnum = {
541
566
 
542
567
  export type CreateApplicationPlacementEnum = typeof CreateApplicationPlacementEnum[keyof typeof CreateApplicationPlacementEnum];
543
568
 
569
+ /**
570
+ * Optional properties for the application. Leave width, height and position empty and the system will automatically calculate the size for the application.
571
+ * @export
572
+ * @interface CreateApplicationProperties
573
+ */
574
+ export interface CreateApplicationProperties {
575
+ /**
576
+ * Width of the application in pixels
577
+ * @type {number}
578
+ * @memberof CreateApplicationProperties
579
+ */
580
+ 'width'?: number | null;
581
+ /**
582
+ * Height of the application in pixels
583
+ * @type {number}
584
+ * @memberof CreateApplicationProperties
585
+ */
586
+ 'height'?: number | null;
587
+ /**
588
+ *
589
+ * @type {CreateApplicationPropertiesPosition}
590
+ * @memberof CreateApplicationProperties
591
+ */
592
+ 'position'?: CreateApplicationPropertiesPosition | null;
593
+ /**
594
+ *
595
+ * @type {ApplicationPropertiesPositionInference}
596
+ * @memberof CreateApplicationProperties
597
+ */
598
+ 'positionInference'?: ApplicationPropertiesPositionInference | null;
599
+ }
600
+ /**
601
+ * Position of the application
602
+ * @export
603
+ * @interface CreateApplicationPropertiesPosition
604
+ */
605
+ export interface CreateApplicationPropertiesPosition {
606
+ /**
607
+ * X coordinate of the application in pixels relative to the bounding box of the product
608
+ * @type {number}
609
+ * @memberof CreateApplicationPropertiesPosition
610
+ */
611
+ 'x': number;
612
+ /**
613
+ * Y coordinate of the application in pixels relative to the bounding box of the product
614
+ * @type {number}
615
+ * @memberof CreateApplicationPropertiesPosition
616
+ */
617
+ 'y': number;
618
+ }
544
619
  /**
545
620
  *
546
621
  * @export
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.58.0
7
+ * The version of the OpenAPI document: 1.59.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.58.0
7
+ * The version of the OpenAPI document: 1.59.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.58.0
7
+ * The version of the OpenAPI document: 1.59.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.58.0
5
+ * The version of the OpenAPI document: 1.59.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -76,7 +76,7 @@ export interface Application {
76
76
  */
77
77
  'additionalInstructions'?: string | null;
78
78
  /**
79
- * Publicly available design file URL. This will fill the design area of the warehouse product. It will be centered horizontally and aligned to the top of the design area. Accepts PNG and JPEG files.
79
+ * Publicly available design file URL. This will fill the design area of the warehouse product. It will be centered horizontally and aligned to the top of the design area.
80
80
  * @type {string}
81
81
  * @memberof Application
82
82
  */
@@ -163,26 +163,51 @@ export interface ApplicationProperties {
163
163
  * @memberof ApplicationProperties
164
164
  */
165
165
  'position'?: ApplicationPropertiesPosition | null;
166
+ /**
167
+ *
168
+ * @type {ApplicationPropertiesPositionInference}
169
+ * @memberof ApplicationProperties
170
+ */
171
+ 'positionInference'?: ApplicationPropertiesPositionInference | null;
166
172
  }
167
173
  /**
168
- * Position of the application
174
+ * Position of the application relative to the bounding box of the product
169
175
  * @export
170
176
  * @interface ApplicationPropertiesPosition
171
177
  */
172
178
  export interface ApplicationPropertiesPosition {
173
179
  /**
174
- * X coordinate of the application in pixels relative to the bounding box of the product
180
+ * X coordinate of the application in pixels
175
181
  * @type {number}
176
182
  * @memberof ApplicationPropertiesPosition
177
183
  */
178
184
  'x': number;
179
185
  /**
180
- * Y coordinate of the application in pixels relative to the bounding box of the product
186
+ * Y coordinate of the application in pixels
181
187
  * @type {number}
182
188
  * @memberof ApplicationPropertiesPosition
183
189
  */
184
190
  'y': number;
185
191
  }
192
+ /**
193
+ * Set these properties when you don\'t have position information for the application. We will use the mockup and baseFlat to calculate the position of the application relative to the bounding box of the warehouse product.
194
+ * @export
195
+ * @interface ApplicationPropertiesPositionInference
196
+ */
197
+ export interface ApplicationPropertiesPositionInference {
198
+ /**
199
+ * Old mockup with applications. This is used to infer the position of the application.
200
+ * @type {string}
201
+ * @memberof ApplicationPropertiesPositionInference
202
+ */
203
+ 'mockup': string;
204
+ /**
205
+ * Base flat image. This is used to infer the position of the application.
206
+ * @type {string}
207
+ * @memberof ApplicationPropertiesPositionInference
208
+ */
209
+ 'baseFlat': string;
210
+ }
186
211
  /**
187
212
  *
188
213
  * @export
@@ -482,7 +507,7 @@ export interface CreateApplication {
482
507
  */
483
508
  'additionalInstructions'?: string | null;
484
509
  /**
485
- * Publicly available design file URL. This will fill the design area of the warehouse product. It will be centered horizontally and aligned to the top of the design area. Accepts PNG and JPEG files.
510
+ * Publicly available design file URL. This will fill the design area of the warehouse product. It will be centered horizontally and aligned to the top of the design area.
486
511
  * @type {string}
487
512
  * @memberof CreateApplication
488
513
  */
@@ -495,10 +520,10 @@ export interface CreateApplication {
495
520
  'stockedOnly'?: boolean;
496
521
  /**
497
522
  *
498
- * @type {ApplicationProperties}
523
+ * @type {CreateApplicationProperties}
499
524
  * @memberof CreateApplication
500
525
  */
501
- 'properties'?: ApplicationProperties | null;
526
+ 'properties'?: CreateApplicationProperties | null;
502
527
  }
503
528
  export declare const CreateApplicationTechnologyEnum: {
504
529
  readonly Dtg: "dtg";
@@ -520,6 +545,56 @@ export declare const CreateApplicationPlacementEnum: {
520
545
  readonly Neck: "neck";
521
546
  };
522
547
  export type CreateApplicationPlacementEnum = typeof CreateApplicationPlacementEnum[keyof typeof CreateApplicationPlacementEnum];
548
+ /**
549
+ * Optional properties for the application. Leave width, height and position empty and the system will automatically calculate the size for the application.
550
+ * @export
551
+ * @interface CreateApplicationProperties
552
+ */
553
+ export interface CreateApplicationProperties {
554
+ /**
555
+ * Width of the application in pixels
556
+ * @type {number}
557
+ * @memberof CreateApplicationProperties
558
+ */
559
+ 'width'?: number | null;
560
+ /**
561
+ * Height of the application in pixels
562
+ * @type {number}
563
+ * @memberof CreateApplicationProperties
564
+ */
565
+ 'height'?: number | null;
566
+ /**
567
+ *
568
+ * @type {CreateApplicationPropertiesPosition}
569
+ * @memberof CreateApplicationProperties
570
+ */
571
+ 'position'?: CreateApplicationPropertiesPosition | null;
572
+ /**
573
+ *
574
+ * @type {ApplicationPropertiesPositionInference}
575
+ * @memberof CreateApplicationProperties
576
+ */
577
+ 'positionInference'?: ApplicationPropertiesPositionInference | null;
578
+ }
579
+ /**
580
+ * Position of the application
581
+ * @export
582
+ * @interface CreateApplicationPropertiesPosition
583
+ */
584
+ export interface CreateApplicationPropertiesPosition {
585
+ /**
586
+ * X coordinate of the application in pixels relative to the bounding box of the product
587
+ * @type {number}
588
+ * @memberof CreateApplicationPropertiesPosition
589
+ */
590
+ 'x': number;
591
+ /**
592
+ * Y coordinate of the application in pixels relative to the bounding box of the product
593
+ * @type {number}
594
+ * @memberof CreateApplicationPropertiesPosition
595
+ */
596
+ 'y': number;
597
+ }
523
598
  /**
524
599
  *
525
600
  * @export
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Product Catalog API
6
6
  * Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.58.0
8
+ * The version of the OpenAPI document: 1.59.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.58.0
5
+ * The version of the OpenAPI document: 1.59.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Product Catalog API
6
6
  * Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.58.0
8
+ * The version of the OpenAPI document: 1.59.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.58.0
5
+ * The version of the OpenAPI document: 1.59.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Product Catalog API
6
6
  * Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.58.0
8
+ * The version of the OpenAPI document: 1.59.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.58.0
5
+ * The version of the OpenAPI document: 1.59.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Product Catalog API
6
6
  * Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.58.0
8
+ * The version of the OpenAPI document: 1.59.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.58.0
5
+ * The version of the OpenAPI document: 1.59.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -76,7 +76,7 @@ export interface Application {
76
76
  */
77
77
  'additionalInstructions'?: string | null;
78
78
  /**
79
- * Publicly available design file URL. This will fill the design area of the warehouse product. It will be centered horizontally and aligned to the top of the design area. Accepts PNG and JPEG files.
79
+ * Publicly available design file URL. This will fill the design area of the warehouse product. It will be centered horizontally and aligned to the top of the design area.
80
80
  * @type {string}
81
81
  * @memberof Application
82
82
  */
@@ -163,26 +163,51 @@ export interface ApplicationProperties {
163
163
  * @memberof ApplicationProperties
164
164
  */
165
165
  'position'?: ApplicationPropertiesPosition | null;
166
+ /**
167
+ *
168
+ * @type {ApplicationPropertiesPositionInference}
169
+ * @memberof ApplicationProperties
170
+ */
171
+ 'positionInference'?: ApplicationPropertiesPositionInference | null;
166
172
  }
167
173
  /**
168
- * Position of the application
174
+ * Position of the application relative to the bounding box of the product
169
175
  * @export
170
176
  * @interface ApplicationPropertiesPosition
171
177
  */
172
178
  export interface ApplicationPropertiesPosition {
173
179
  /**
174
- * X coordinate of the application in pixels relative to the bounding box of the product
180
+ * X coordinate of the application in pixels
175
181
  * @type {number}
176
182
  * @memberof ApplicationPropertiesPosition
177
183
  */
178
184
  'x': number;
179
185
  /**
180
- * Y coordinate of the application in pixels relative to the bounding box of the product
186
+ * Y coordinate of the application in pixels
181
187
  * @type {number}
182
188
  * @memberof ApplicationPropertiesPosition
183
189
  */
184
190
  'y': number;
185
191
  }
192
+ /**
193
+ * Set these properties when you don\'t have position information for the application. We will use the mockup and baseFlat to calculate the position of the application relative to the bounding box of the warehouse product.
194
+ * @export
195
+ * @interface ApplicationPropertiesPositionInference
196
+ */
197
+ export interface ApplicationPropertiesPositionInference {
198
+ /**
199
+ * Old mockup with applications. This is used to infer the position of the application.
200
+ * @type {string}
201
+ * @memberof ApplicationPropertiesPositionInference
202
+ */
203
+ 'mockup': string;
204
+ /**
205
+ * Base flat image. This is used to infer the position of the application.
206
+ * @type {string}
207
+ * @memberof ApplicationPropertiesPositionInference
208
+ */
209
+ 'baseFlat': string;
210
+ }
186
211
  /**
187
212
  *
188
213
  * @export
@@ -482,7 +507,7 @@ export interface CreateApplication {
482
507
  */
483
508
  'additionalInstructions'?: string | null;
484
509
  /**
485
- * Publicly available design file URL. This will fill the design area of the warehouse product. It will be centered horizontally and aligned to the top of the design area. Accepts PNG and JPEG files.
510
+ * Publicly available design file URL. This will fill the design area of the warehouse product. It will be centered horizontally and aligned to the top of the design area.
486
511
  * @type {string}
487
512
  * @memberof CreateApplication
488
513
  */
@@ -495,10 +520,10 @@ export interface CreateApplication {
495
520
  'stockedOnly'?: boolean;
496
521
  /**
497
522
  *
498
- * @type {ApplicationProperties}
523
+ * @type {CreateApplicationProperties}
499
524
  * @memberof CreateApplication
500
525
  */
501
- 'properties'?: ApplicationProperties | null;
526
+ 'properties'?: CreateApplicationProperties | null;
502
527
  }
503
528
  export declare const CreateApplicationTechnologyEnum: {
504
529
  readonly Dtg: "dtg";
@@ -520,6 +545,56 @@ export declare const CreateApplicationPlacementEnum: {
520
545
  readonly Neck: "neck";
521
546
  };
522
547
  export type CreateApplicationPlacementEnum = typeof CreateApplicationPlacementEnum[keyof typeof CreateApplicationPlacementEnum];
548
+ /**
549
+ * Optional properties for the application. Leave width, height and position empty and the system will automatically calculate the size for the application.
550
+ * @export
551
+ * @interface CreateApplicationProperties
552
+ */
553
+ export interface CreateApplicationProperties {
554
+ /**
555
+ * Width of the application in pixels
556
+ * @type {number}
557
+ * @memberof CreateApplicationProperties
558
+ */
559
+ 'width'?: number | null;
560
+ /**
561
+ * Height of the application in pixels
562
+ * @type {number}
563
+ * @memberof CreateApplicationProperties
564
+ */
565
+ 'height'?: number | null;
566
+ /**
567
+ *
568
+ * @type {CreateApplicationPropertiesPosition}
569
+ * @memberof CreateApplicationProperties
570
+ */
571
+ 'position'?: CreateApplicationPropertiesPosition | null;
572
+ /**
573
+ *
574
+ * @type {ApplicationPropertiesPositionInference}
575
+ * @memberof CreateApplicationProperties
576
+ */
577
+ 'positionInference'?: ApplicationPropertiesPositionInference | null;
578
+ }
579
+ /**
580
+ * Position of the application
581
+ * @export
582
+ * @interface CreateApplicationPropertiesPosition
583
+ */
584
+ export interface CreateApplicationPropertiesPosition {
585
+ /**
586
+ * X coordinate of the application in pixels relative to the bounding box of the product
587
+ * @type {number}
588
+ * @memberof CreateApplicationPropertiesPosition
589
+ */
590
+ 'x': number;
591
+ /**
592
+ * Y coordinate of the application in pixels relative to the bounding box of the product
593
+ * @type {number}
594
+ * @memberof CreateApplicationPropertiesPosition
595
+ */
596
+ 'y': number;
597
+ }
523
598
  /**
524
599
  *
525
600
  * @export
package/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.58.0
7
+ * The version of the OpenAPI document: 1.59.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.58.0
5
+ * The version of the OpenAPI document: 1.59.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.58.0
7
+ * The version of the OpenAPI document: 1.59.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.58.0
5
+ * The version of the OpenAPI document: 1.59.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.58.0
7
+ * The version of the OpenAPI document: 1.59.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.58.0
5
+ * The version of the OpenAPI document: 1.59.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.58.0
7
+ * The version of the OpenAPI document: 1.59.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.58.0
5
+ * The version of the OpenAPI document: 1.59.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.58.0
7
+ * The version of the OpenAPI document: 1.59.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.58.0
5
+ * The version of the OpenAPI document: 1.59.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Product Catalog API
6
6
  * Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.58.0
8
+ * The version of the OpenAPI document: 1.59.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
9
9
  **technology** | **string** | Technology to use for the application. | [default to undefined]
10
10
  **placement** | **string** | Placement of the application. Available placements depend on the chosen product and technology. | [default to undefined]
11
11
  **additionalInstructions** | **string** | Any additional instructions for the application | [optional] [default to undefined]
12
- **src** | **string** | Publicly available design file URL. This will fill the design area of the warehouse product. It will be centered horizontally and aligned to the top of the design area. Accepts PNG and JPEG files. | [default to undefined]
12
+ **src** | **string** | Publicly available design file URL. This will fill the design area of the warehouse product. It will be centered horizontally and aligned to the top of the design area. | [default to undefined]
13
13
  **mockup** | [**ApplicationMockup**](ApplicationMockup.md) | | [optional] [default to undefined]
14
14
  **stockedOnly** | **boolean** | If set to true, transfers for this application will not be printed on demand, and will need to be stocked in trays in the factory. Note that this can only be set if the technology is stockable, such as DTF. | [optional] [default to undefined]
15
15
  **properties** | [**ApplicationProperties**](ApplicationProperties.md) | | [optional] [default to undefined]
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **width** | **number** | Width of the application in pixels | [optional] [default to undefined]
10
10
  **height** | **number** | Height of the application in pixels | [optional] [default to undefined]
11
11
  **position** | [**ApplicationPropertiesPosition**](ApplicationPropertiesPosition.md) | | [optional] [default to undefined]
12
+ **positionInference** | [**ApplicationPropertiesPositionInference**](ApplicationPropertiesPositionInference.md) | | [optional] [default to undefined]
12
13
 
13
14
  ## Example
14
15
 
@@ -19,6 +20,7 @@ const instance: ApplicationProperties = {
19
20
  width,
20
21
  height,
21
22
  position,
23
+ positionInference,
22
24
  };
23
25
  ```
24
26
 
@@ -1,13 +1,13 @@
1
1
  # ApplicationPropertiesPosition
2
2
 
3
- Position of the application
3
+ Position of the application relative to the bounding box of the product
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **x** | **number** | X coordinate of the application in pixels relative to the bounding box of the product | [default to undefined]
10
- **y** | **number** | Y coordinate of the application in pixels relative to the bounding box of the product | [default to undefined]
9
+ **x** | **number** | X coordinate of the application in pixels | [default to undefined]
10
+ **y** | **number** | Y coordinate of the application in pixels | [default to undefined]
11
11
 
12
12
  ## Example
13
13
 
@@ -0,0 +1,23 @@
1
+ # ApplicationPropertiesPositionInference
2
+
3
+ Set these properties when you don\'t have position information for the application. We will use the mockup and baseFlat to calculate the position of the application relative to the bounding box of the warehouse product.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **mockup** | **string** | Old mockup with applications. This is used to infer the position of the application. | [default to undefined]
10
+ **baseFlat** | **string** | Base flat image. This is used to infer the position of the application. | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { ApplicationPropertiesPositionInference } from '@teemill/product-catalog';
16
+
17
+ const instance: ApplicationPropertiesPositionInference = {
18
+ mockup,
19
+ baseFlat,
20
+ };
21
+ ```
22
+
23
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -8,9 +8,9 @@ Name | Type | Description | Notes
8
8
  **technology** | **string** | Technology to use for the application. | [default to undefined]
9
9
  **placement** | **string** | Placement of the application. Available placements depend on the chosen product and technology. | [default to undefined]
10
10
  **additionalInstructions** | **string** | Any additional instructions for the application | [optional] [default to undefined]
11
- **src** | **string** | Publicly available design file URL. This will fill the design area of the warehouse product. It will be centered horizontally and aligned to the top of the design area. Accepts PNG and JPEG files. | [default to undefined]
11
+ **src** | **string** | Publicly available design file URL. This will fill the design area of the warehouse product. It will be centered horizontally and aligned to the top of the design area. | [default to undefined]
12
12
  **stockedOnly** | **boolean** | If set to true, transfers for this application will not be printed on demand, and will need to be stocked in trays in the factory. Note that this can only be set if the technology is stockable, such as DTF. | [optional] [default to undefined]
13
- **properties** | [**ApplicationProperties**](ApplicationProperties.md) | | [optional] [default to undefined]
13
+ **properties** | [**CreateApplicationProperties**](CreateApplicationProperties.md) | | [optional] [default to undefined]
14
14
 
15
15
  ## Example
16
16
 
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **width** | **number** | Width of the application in pixels | [optional] [default to undefined]
10
10
  **height** | **number** | Height of the application in pixels | [optional] [default to undefined]
11
11
  **position** | [**CreateApplicationPropertiesPosition**](CreateApplicationPropertiesPosition.md) | | [optional] [default to undefined]
12
+ **positionInference** | [**ApplicationPropertiesPositionInference**](ApplicationPropertiesPositionInference.md) | | [optional] [default to undefined]
12
13
 
13
14
  ## Example
14
15
 
@@ -19,6 +20,7 @@ const instance: CreateApplicationProperties = {
19
20
  width,
20
21
  height,
21
22
  position,
23
+ positionInference,
22
24
  };
23
25
  ```
24
26
 
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.58.0
7
+ * The version of the OpenAPI document: 1.59.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/product-catalog",
3
- "version": "1.58.0",
3
+ "version": "1.59.0",
4
4
  "description": "OpenAPI client for @teemill/product-catalog",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {