@teemill/product-catalog 1.59.0 → 1.61.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 (40) hide show
  1. package/README.md +11 -3
  2. package/api.ts +266 -58
  3. package/base.ts +1 -1
  4. package/common.ts +1 -1
  5. package/configuration.ts +1 -1
  6. package/dist/api.d.ts +253 -58
  7. package/dist/api.js +23 -2
  8. package/dist/base.d.ts +1 -1
  9. package/dist/base.js +1 -1
  10. package/dist/common.d.ts +1 -1
  11. package/dist/common.js +1 -1
  12. package/dist/configuration.d.ts +1 -1
  13. package/dist/configuration.js +1 -1
  14. package/dist/esm/api.d.ts +253 -58
  15. package/dist/esm/api.js +22 -1
  16. package/dist/esm/base.d.ts +1 -1
  17. package/dist/esm/base.js +1 -1
  18. package/dist/esm/common.d.ts +1 -1
  19. package/dist/esm/common.js +1 -1
  20. package/dist/esm/configuration.d.ts +1 -1
  21. package/dist/esm/configuration.js +1 -1
  22. package/dist/esm/index.d.ts +1 -1
  23. package/dist/esm/index.js +1 -1
  24. package/dist/index.d.ts +1 -1
  25. package/dist/index.js +1 -1
  26. package/docs/Application.md +2 -2
  27. package/docs/ApplicationProperties.md +2 -1
  28. package/docs/ApplicationPropertiesMetadata.md +20 -0
  29. package/docs/ApplicationPropertiesMetadataPersonalization.md +24 -0
  30. package/docs/ApplicationPropertiesPersonalization.md +22 -0
  31. package/docs/ApplicationPropertiesPersonalizationRules.md +20 -0
  32. package/docs/ApplicationPropertiesPosition.md +2 -0
  33. package/docs/ApplicationPropertiesProperties.md +40 -0
  34. package/docs/CreateApplicationProperties.md +18 -5
  35. package/docs/TextApplicationProperties.md +34 -0
  36. package/docs/TextApplicationPropertiesPersonalization.md +24 -0
  37. package/docs/TextApplicationPropertiesPersonalizationRules.md +30 -0
  38. package/docs/TextApplicationPropertiesPosition.md +24 -0
  39. package/index.ts +1 -1
  40. package/package.json +1 -1
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.59.0
5
+ * The version of the OpenAPI document: 1.61.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -80,7 +80,7 @@ export interface Application {
80
80
  * @type {string}
81
81
  * @memberof Application
82
82
  */
83
- 'src': string;
83
+ 'src'?: string;
84
84
  /**
85
85
  *
86
86
  * @type {ApplicationMockup}
@@ -95,10 +95,10 @@ export interface Application {
95
95
  'stockedOnly'?: boolean;
96
96
  /**
97
97
  *
98
- * @type {ApplicationProperties}
98
+ * @type {ApplicationPropertiesProperties}
99
99
  * @memberof Application
100
100
  */
101
- 'properties'?: ApplicationProperties | null;
101
+ 'properties'?: ApplicationPropertiesProperties | null;
102
102
  }
103
103
  export declare const ApplicationTechnologyEnum: {
104
104
  readonly Dtg: "dtg";
@@ -140,7 +140,7 @@ export interface ApplicationMockup {
140
140
  'preview'?: string;
141
141
  }
142
142
  /**
143
- * Optional properties for the application. Leave width, height and position empty and the system will automatically calculate the size for the application.
143
+ *
144
144
  * @export
145
145
  * @interface ApplicationProperties
146
146
  */
@@ -169,7 +169,70 @@ export interface ApplicationProperties {
169
169
  * @memberof ApplicationProperties
170
170
  */
171
171
  'positionInference'?: ApplicationPropertiesPositionInference | null;
172
+ /**
173
+ *
174
+ * @type {ApplicationPropertiesMetadata}
175
+ * @memberof ApplicationProperties
176
+ */
177
+ 'metadata'?: ApplicationPropertiesMetadata;
178
+ }
179
+ /**
180
+ *
181
+ * @export
182
+ * @interface ApplicationPropertiesMetadata
183
+ */
184
+ export interface ApplicationPropertiesMetadata {
185
+ /**
186
+ *
187
+ * @type {ApplicationPropertiesMetadataPersonalization}
188
+ * @memberof ApplicationPropertiesMetadata
189
+ */
190
+ 'personalization'?: ApplicationPropertiesMetadataPersonalization;
172
191
  }
192
+ /**
193
+ * @type ApplicationPropertiesMetadataPersonalization
194
+ * @export
195
+ */
196
+ export type ApplicationPropertiesMetadataPersonalization = ApplicationPropertiesPersonalization | TextApplicationPropertiesPersonalization;
197
+ /**
198
+ *
199
+ * @export
200
+ * @interface ApplicationPropertiesPersonalization
201
+ */
202
+ export interface ApplicationPropertiesPersonalization {
203
+ /**
204
+ * The label to be displayed on the personalization field.
205
+ * @type {string}
206
+ * @memberof ApplicationPropertiesPersonalization
207
+ */
208
+ 'label'?: string;
209
+ /**
210
+ *
211
+ * @type {ApplicationPropertiesPersonalizationRules}
212
+ * @memberof ApplicationPropertiesPersonalization
213
+ */
214
+ 'rules'?: ApplicationPropertiesPersonalizationRules;
215
+ }
216
+ /**
217
+ *
218
+ * @export
219
+ * @interface ApplicationPropertiesPersonalizationRules
220
+ */
221
+ export interface ApplicationPropertiesPersonalizationRules {
222
+ /**
223
+ * The fit of the image. This determines how an uploaded image will be resized to fit the application.
224
+ * @type {string}
225
+ * @memberof ApplicationPropertiesPersonalizationRules
226
+ */
227
+ 'fit'?: ApplicationPropertiesPersonalizationRulesFitEnum;
228
+ }
229
+ export declare const ApplicationPropertiesPersonalizationRulesFitEnum: {
230
+ readonly Contain: "contain";
231
+ readonly Cover: "cover";
232
+ readonly Stretch: "stretch";
233
+ readonly Crop: "crop";
234
+ };
235
+ export type ApplicationPropertiesPersonalizationRulesFitEnum = typeof ApplicationPropertiesPersonalizationRulesFitEnum[keyof typeof ApplicationPropertiesPersonalizationRulesFitEnum];
173
236
  /**
174
237
  * Position of the application relative to the bounding box of the product
175
238
  * @export
@@ -188,6 +251,12 @@ export interface ApplicationPropertiesPosition {
188
251
  * @memberof ApplicationPropertiesPosition
189
252
  */
190
253
  'y': number;
254
+ /**
255
+ * The z layer of the application. This doesn\'t affect printing, but is used for ordering the applications when displaying them in a mockup.
256
+ * @type {number}
257
+ * @memberof ApplicationPropertiesPosition
258
+ */
259
+ 'z'?: number;
191
260
  }
192
261
  /**
193
262
  * 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,6 +277,11 @@ export interface ApplicationPropertiesPositionInference {
208
277
  */
209
278
  'baseFlat': string;
210
279
  }
280
+ /**
281
+ * @type ApplicationPropertiesProperties
282
+ * @export
283
+ */
284
+ export type ApplicationPropertiesProperties = ApplicationProperties | TextApplicationProperties;
211
285
  /**
212
286
  *
213
287
  * @export
@@ -546,55 +620,10 @@ export declare const CreateApplicationPlacementEnum: {
546
620
  };
547
621
  export type CreateApplicationPlacementEnum = typeof CreateApplicationPlacementEnum[keyof typeof CreateApplicationPlacementEnum];
548
622
  /**
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
623
+ * @type CreateApplicationProperties
581
624
  * @export
582
- * @interface CreateApplicationPropertiesPosition
583
625
  */
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
- }
626
+ export type CreateApplicationProperties = ApplicationProperties | TextApplicationProperties;
598
627
  /**
599
628
  *
600
629
  * @export
@@ -759,7 +788,7 @@ export interface CreateBundleProduct {
759
788
  * @type {number}
760
789
  * @memberof CreateBundleProduct
761
790
  */
762
- 'shopifyId'?: number;
791
+ 'shopifyId'?: number | null;
763
792
  /**
764
793
  * Key/value pairs that can be used to store additional information about the product
765
794
  * @type {Array<MetaField>}
@@ -898,7 +927,7 @@ export interface CreateProduct {
898
927
  * @type {number}
899
928
  * @memberof CreateProduct
900
929
  */
901
- 'shopifyId'?: number;
930
+ 'shopifyId'?: number | null;
902
931
  /**
903
932
  * Key/value pairs that can be used to store additional information about the product
904
933
  * @type {Array<MetaField>}
@@ -1002,7 +1031,7 @@ export interface CreateProductVariant {
1002
1031
  * @type {number}
1003
1032
  * @memberof CreateProductVariant
1004
1033
  */
1005
- 'shopifyId'?: number;
1034
+ 'shopifyId'?: number | null;
1006
1035
  /**
1007
1036
  *
1008
1037
  * @type {Array<UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner>}
@@ -1666,6 +1695,172 @@ export interface TargetSearchPhraseData {
1666
1695
  */
1667
1696
  'targetSearchPhraseSynonyms'?: Array<string>;
1668
1697
  }
1698
+ /**
1699
+ *
1700
+ * @export
1701
+ * @interface TextApplicationProperties
1702
+ */
1703
+ export interface TextApplicationProperties {
1704
+ /**
1705
+ *
1706
+ * @type {TextApplicationPropertiesPosition}
1707
+ * @memberof TextApplicationProperties
1708
+ */
1709
+ 'position'?: TextApplicationPropertiesPosition;
1710
+ /**
1711
+ *
1712
+ * @type {ApplicationPropertiesPositionInference}
1713
+ * @memberof TextApplicationProperties
1714
+ */
1715
+ 'positionInference'?: ApplicationPropertiesPositionInference | null;
1716
+ /**
1717
+ * An array of text lines.
1718
+ * @type {Array<string>}
1719
+ * @memberof TextApplicationProperties
1720
+ */
1721
+ 'lines'?: Array<string>;
1722
+ /**
1723
+ * The font to be used for the text. This font must be available in the PodOS font library.
1724
+ * @type {string}
1725
+ * @memberof TextApplicationProperties
1726
+ */
1727
+ 'font'?: string;
1728
+ /**
1729
+ * The size of the text in pixels.
1730
+ * @type {number}
1731
+ * @memberof TextApplicationProperties
1732
+ */
1733
+ 'fontSize'?: number;
1734
+ /**
1735
+ * The weight of the text. This must be a valid CSS font-weight value.
1736
+ * @type {string}
1737
+ * @memberof TextApplicationProperties
1738
+ */
1739
+ 'fontWeight'?: TextApplicationPropertiesFontWeightEnum;
1740
+ /**
1741
+ * The style of the text. This must be a valid CSS font-style value.
1742
+ * @type {string}
1743
+ * @memberof TextApplicationProperties
1744
+ */
1745
+ 'fontStyle'?: TextApplicationPropertiesFontStyleEnum;
1746
+ /**
1747
+ * The colour of the text in hex format.
1748
+ * @type {string}
1749
+ * @memberof TextApplicationProperties
1750
+ */
1751
+ 'color'?: string;
1752
+ }
1753
+ export declare const TextApplicationPropertiesFontWeightEnum: {
1754
+ readonly Lighter: "lighter";
1755
+ readonly Normal: "normal";
1756
+ readonly Bold: "bold";
1757
+ readonly Bolder: "bolder";
1758
+ };
1759
+ export type TextApplicationPropertiesFontWeightEnum = typeof TextApplicationPropertiesFontWeightEnum[keyof typeof TextApplicationPropertiesFontWeightEnum];
1760
+ export declare const TextApplicationPropertiesFontStyleEnum: {
1761
+ readonly Normal: "normal";
1762
+ readonly Italic: "italic";
1763
+ readonly Oblique: "oblique";
1764
+ };
1765
+ export type TextApplicationPropertiesFontStyleEnum = typeof TextApplicationPropertiesFontStyleEnum[keyof typeof TextApplicationPropertiesFontStyleEnum];
1766
+ /**
1767
+ *
1768
+ * @export
1769
+ * @interface TextApplicationPropertiesPersonalization
1770
+ */
1771
+ export interface TextApplicationPropertiesPersonalization {
1772
+ /**
1773
+ * The label to be displayed on the personalization field.
1774
+ * @type {string}
1775
+ * @memberof TextApplicationPropertiesPersonalization
1776
+ */
1777
+ 'label'?: string;
1778
+ /**
1779
+ * The type of the personalization field
1780
+ * @type {string}
1781
+ * @memberof TextApplicationPropertiesPersonalization
1782
+ */
1783
+ 'type'?: TextApplicationPropertiesPersonalizationTypeEnum | null;
1784
+ /**
1785
+ *
1786
+ * @type {TextApplicationPropertiesPersonalizationRules}
1787
+ * @memberof TextApplicationPropertiesPersonalization
1788
+ */
1789
+ 'rules'?: TextApplicationPropertiesPersonalizationRules;
1790
+ }
1791
+ export declare const TextApplicationPropertiesPersonalizationTypeEnum: {
1792
+ readonly Text: "text";
1793
+ readonly Number: "number";
1794
+ };
1795
+ export type TextApplicationPropertiesPersonalizationTypeEnum = typeof TextApplicationPropertiesPersonalizationTypeEnum[keyof typeof TextApplicationPropertiesPersonalizationTypeEnum];
1796
+ /**
1797
+ *
1798
+ * @export
1799
+ * @interface TextApplicationPropertiesPersonalizationRules
1800
+ */
1801
+ export interface TextApplicationPropertiesPersonalizationRules {
1802
+ /**
1803
+ * The maximum length of the text, in characters.
1804
+ * @type {number}
1805
+ * @memberof TextApplicationPropertiesPersonalizationRules
1806
+ */
1807
+ 'maxLength'?: number;
1808
+ /**
1809
+ * If true, suspected profanities will be replaced by *. Only valid when metadata.personalization.type is \"text\"
1810
+ * @type {boolean}
1811
+ * @memberof TextApplicationPropertiesPersonalizationRules
1812
+ */
1813
+ 'profanityFilter'?: boolean;
1814
+ /**
1815
+ * If true, and the inputted text is longer than the original text, the font size will be reduced to keep the text within the application\'s original bounds.
1816
+ * @type {boolean}
1817
+ * @memberof TextApplicationPropertiesPersonalizationRules
1818
+ */
1819
+ 'scaleToFit'?: boolean;
1820
+ /**
1821
+ * The maximum value of the number. Only valid when metadata.personalization.type is \"number\"
1822
+ * @type {number}
1823
+ * @memberof TextApplicationPropertiesPersonalizationRules
1824
+ */
1825
+ 'maxValue'?: number;
1826
+ /**
1827
+ * The minimum value of the number. Only valid when metadata.personalization.type is \"number\"
1828
+ * @type {number}
1829
+ * @memberof TextApplicationPropertiesPersonalizationRules
1830
+ */
1831
+ 'minValue'?: number;
1832
+ /**
1833
+ * If the entered number is below the specified digits it will be padded with 0s. E.g. 7 will become 007 when pad is 3. Only valid when metadata.personalization.type is number
1834
+ * @type {number}
1835
+ * @memberof TextApplicationPropertiesPersonalizationRules
1836
+ */
1837
+ 'pad'?: number;
1838
+ }
1839
+ /**
1840
+ *
1841
+ * @export
1842
+ * @interface TextApplicationPropertiesPosition
1843
+ */
1844
+ export interface TextApplicationPropertiesPosition {
1845
+ /**
1846
+ * The x position of the application in pixels.
1847
+ * @type {number}
1848
+ * @memberof TextApplicationPropertiesPosition
1849
+ */
1850
+ 'x': number;
1851
+ /**
1852
+ * The y position of the application in pixels.
1853
+ * @type {number}
1854
+ * @memberof TextApplicationPropertiesPosition
1855
+ */
1856
+ 'y': number;
1857
+ /**
1858
+ * The z layer of the application. This doesn\'t affect printing, but is used for ordering the applications when displaying them in a mockup.
1859
+ * @type {number}
1860
+ * @memberof TextApplicationPropertiesPosition
1861
+ */
1862
+ 'z'?: number;
1863
+ }
1669
1864
  /**
1670
1865
  *
1671
1866
  * @export
@@ -1872,7 +2067,7 @@ export interface UpdateProductRequest {
1872
2067
  * @type {number}
1873
2068
  * @memberof UpdateProductRequest
1874
2069
  */
1875
- 'shopifyId'?: number;
2070
+ 'shopifyId'?: number | null;
1876
2071
  /**
1877
2072
  * Key/value pairs that can be used to store additional information about the product
1878
2073
  * @type {Array<MetaField>}
@@ -1995,7 +2190,7 @@ export interface UpdateProductsRequestProductsInner {
1995
2190
  * @type {number}
1996
2191
  * @memberof UpdateProductsRequestProductsInner
1997
2192
  */
1998
- 'shopifyId'?: number;
2193
+ 'shopifyId'?: number | null;
1999
2194
  /**
2000
2195
  *
2001
2196
  * @type {Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>}
@@ -2076,7 +2271,7 @@ export interface UpdateProductsRequestProductsInnerVariantsInner {
2076
2271
  * @type {number}
2077
2272
  * @memberof UpdateProductsRequestProductsInnerVariantsInner
2078
2273
  */
2079
- 'shopifyId'?: number;
2274
+ 'shopifyId'?: number | null;
2080
2275
  /**
2081
2276
  *
2082
2277
  * @type {Array<UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner>}
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.59.0
7
+ * The version of the OpenAPI document: 1.61.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -44,6 +44,12 @@ export const ApplicationPlacementEnum = {
44
44
  Right: 'right',
45
45
  Neck: 'neck'
46
46
  };
47
+ export const ApplicationPropertiesPersonalizationRulesFitEnum = {
48
+ Contain: 'contain',
49
+ Cover: 'cover',
50
+ Stretch: 'stretch',
51
+ Crop: 'crop'
52
+ };
47
53
  export const AttributeThumbnailTypeEnum = {
48
54
  Text: 'text',
49
55
  Color: 'color',
@@ -73,6 +79,21 @@ export const PriceCurrencyCodeEnum = {
73
79
  export const SalePriceCurrencyCodeEnum = {
74
80
  Gbp: 'GBP'
75
81
  };
82
+ export const TextApplicationPropertiesFontWeightEnum = {
83
+ Lighter: 'lighter',
84
+ Normal: 'normal',
85
+ Bold: 'bold',
86
+ Bolder: 'bolder'
87
+ };
88
+ export const TextApplicationPropertiesFontStyleEnum = {
89
+ Normal: 'normal',
90
+ Italic: 'italic',
91
+ Oblique: 'oblique'
92
+ };
93
+ export const TextApplicationPropertiesPersonalizationTypeEnum = {
94
+ Text: 'text',
95
+ Number: 'number'
96
+ };
76
97
  export const UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum = {
77
98
  Size: 'Size',
78
99
  Colour: 'Colour'
@@ -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.59.0
5
+ * The version of the OpenAPI document: 1.61.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.59.0
7
+ * The version of the OpenAPI document: 1.61.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.59.0
5
+ * The version of the OpenAPI document: 1.61.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.59.0
7
+ * The version of the OpenAPI document: 1.61.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.59.0
5
+ * The version of the OpenAPI document: 1.61.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.59.0
7
+ * The version of the OpenAPI document: 1.61.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.59.0
5
+ * The version of the OpenAPI document: 1.61.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.59.0
7
+ * The version of the OpenAPI document: 1.61.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.59.0
5
+ * The version of the OpenAPI document: 1.61.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.59.0
8
+ * The version of the OpenAPI document: 1.61.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -9,10 +9,10 @@ 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. | [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. | [optional] [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
- **properties** | [**ApplicationProperties**](ApplicationProperties.md) | | [optional] [default to undefined]
15
+ **properties** | [**ApplicationPropertiesProperties**](ApplicationPropertiesProperties.md) | | [optional] [default to undefined]
16
16
 
17
17
  ## Example
18
18
 
@@ -1,6 +1,5 @@
1
1
  # ApplicationProperties
2
2
 
3
- Optional properties for the application. Leave width, height and position empty and the system will automatically calculate the size for the application.
4
3
 
5
4
  ## Properties
6
5
 
@@ -10,6 +9,7 @@ Name | Type | Description | Notes
10
9
  **height** | **number** | Height of the application in pixels | [optional] [default to undefined]
11
10
  **position** | [**ApplicationPropertiesPosition**](ApplicationPropertiesPosition.md) | | [optional] [default to undefined]
12
11
  **positionInference** | [**ApplicationPropertiesPositionInference**](ApplicationPropertiesPositionInference.md) | | [optional] [default to undefined]
12
+ **metadata** | [**ApplicationPropertiesMetadata**](ApplicationPropertiesMetadata.md) | | [optional] [default to undefined]
13
13
 
14
14
  ## Example
15
15
 
@@ -21,6 +21,7 @@ const instance: ApplicationProperties = {
21
21
  height,
22
22
  position,
23
23
  positionInference,
24
+ metadata,
24
25
  };
25
26
  ```
26
27
 
@@ -0,0 +1,20 @@
1
+ # ApplicationPropertiesMetadata
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **personalization** | [**ApplicationPropertiesMetadataPersonalization**](ApplicationPropertiesMetadataPersonalization.md) | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { ApplicationPropertiesMetadata } from '@teemill/product-catalog';
14
+
15
+ const instance: ApplicationPropertiesMetadata = {
16
+ personalization,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,24 @@
1
+ # ApplicationPropertiesMetadataPersonalization
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **label** | **string** | The label to be displayed on the personalization field. | [optional] [default to undefined]
9
+ **rules** | [**TextApplicationPropertiesPersonalizationRules**](TextApplicationPropertiesPersonalizationRules.md) | | [optional] [default to undefined]
10
+ **type** | **string** | The type of the personalization field | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { ApplicationPropertiesMetadataPersonalization } from '@teemill/product-catalog';
16
+
17
+ const instance: ApplicationPropertiesMetadataPersonalization = {
18
+ label,
19
+ rules,
20
+ type,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # ApplicationPropertiesPersonalization
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **label** | **string** | The label to be displayed on the personalization field. | [optional] [default to undefined]
9
+ **rules** | [**ApplicationPropertiesPersonalizationRules**](ApplicationPropertiesPersonalizationRules.md) | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { ApplicationPropertiesPersonalization } from '@teemill/product-catalog';
15
+
16
+ const instance: ApplicationPropertiesPersonalization = {
17
+ label,
18
+ rules,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)