@teemill/product-catalog 1.98.0 → 1.100.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.98.0
1
+ ## @teemill/product-catalog@1.100.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.98.0 --save
39
+ npm install @teemill/product-catalog@1.100.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog
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 product from the GFN Catalog, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.98.0
7
+ * The version of the OpenAPI document: 1.100.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -301,6 +301,14 @@ export interface ApplicationPropertiesPositionInference {
301
301
  'baseFlat': string;
302
302
  }
303
303
  export interface ApplicationPropertiesProperties {
304
+ /**
305
+ * Width of the application in pixels
306
+ */
307
+ 'width'?: number | null;
308
+ /**
309
+ * Height of the application in pixels
310
+ */
311
+ 'height'?: number | null;
304
312
  'position'?: ApplicationPropertiesPosition | null;
305
313
  'positionInference'?: ApplicationPropertiesPositionInference | null;
306
314
  /**
@@ -332,14 +340,6 @@ export interface ApplicationPropertiesProperties {
332
340
  */
333
341
  'rotation'?: number;
334
342
  'metadata'?: ApplicationPropertiesMetadata | null;
335
- /**
336
- * Width of the application in pixels
337
- */
338
- 'width'?: number | null;
339
- /**
340
- * Height of the application in pixels
341
- */
342
- 'height'?: number | null;
343
343
  }
344
344
 
345
345
  export const ApplicationPropertiesPropertiesFontWeightEnum = {
@@ -700,6 +700,14 @@ export interface CreateApplicationGroupRequest {
700
700
  'name': string;
701
701
  }
702
702
  export interface CreateApplicationProperties {
703
+ /**
704
+ * Width of the application in pixels
705
+ */
706
+ 'width'?: number | null;
707
+ /**
708
+ * Height of the application in pixels
709
+ */
710
+ 'height'?: number | null;
703
711
  'position'?: ApplicationPropertiesPosition | null;
704
712
  'positionInference'?: ApplicationPropertiesPositionInference | null;
705
713
  /**
@@ -731,14 +739,6 @@ export interface CreateApplicationProperties {
731
739
  */
732
740
  'rotation'?: number;
733
741
  'metadata'?: ApplicationPropertiesMetadata | null;
734
- /**
735
- * Width of the application in pixels
736
- */
737
- 'width'?: number | null;
738
- /**
739
- * Height of the application in pixels
740
- */
741
- 'height'?: number | null;
742
742
  }
743
743
 
744
744
  export const CreateApplicationPropertiesFontWeightEnum = {
@@ -1824,6 +1824,14 @@ export interface TargetSearchPhraseData {
1824
1824
  * Properties for a text-based application including font, colour, position, and optional personalisation. Null when the application has no configurable properties.
1825
1825
  */
1826
1826
  export interface TextApplicationProperties {
1827
+ /**
1828
+ * Width of the text application in pixels. When omitted, the application is treated as garment-wide.
1829
+ */
1830
+ 'width'?: number;
1831
+ /**
1832
+ * Height of the text application in pixels. When omitted, the application is treated as garment-wide.
1833
+ */
1834
+ 'height'?: number;
1827
1835
  'position'?: TextApplicationPropertiesPosition;
1828
1836
  'positionInference'?: ApplicationPropertiesPositionInference | null;
1829
1837
  /**
@@ -1895,6 +1903,7 @@ export const TextApplicationPropertiesPersonalizationTypeEnum = {
1895
1903
  Text: 'text',
1896
1904
  Number: 'number',
1897
1905
  Textarea: 'textarea',
1906
+ Dropdown: 'dropdown',
1898
1907
  } as const;
1899
1908
 
1900
1909
  export type TextApplicationPropertiesPersonalizationTypeEnum = typeof TextApplicationPropertiesPersonalizationTypeEnum[keyof typeof TextApplicationPropertiesPersonalizationTypeEnum];
@@ -1902,11 +1911,11 @@ export type TextApplicationPropertiesPersonalizationTypeEnum = typeof TextApplic
1902
1911
  export interface TextApplicationPropertiesPersonalizationRules {
1903
1912
  'optional'?: PersonalizationOptional;
1904
1913
  /**
1905
- * The maximum length of the text, in characters.
1914
+ * The maximum length of the text, in characters. Only valid when metadata.personalization.type is \"text\"
1906
1915
  */
1907
1916
  'maxLength'?: number;
1908
1917
  /**
1909
- * If true, suspected profanities will be replaced by *. Only valid when metadata.personalization.type is \"text\" or \"textarea\"
1918
+ * If true, suspected profanities will be replaced by asterisks. Only valid when metadata.personalization.type is \"text\" or \"textarea\"
1910
1919
  */
1911
1920
  'profanityFilter'?: boolean;
1912
1921
  /**
@@ -1914,13 +1923,17 @@ export interface TextApplicationPropertiesPersonalizationRules {
1914
1923
  */
1915
1924
  'scaleToFit'?: boolean;
1916
1925
  /**
1917
- * If true, all text on this element will be formatted to uppercase.
1926
+ * If true, all text on this element will be formatted to uppercase. Only valid when metadata.personalization.type is \"text\" or \"textarea\"
1918
1927
  */
1919
1928
  'forceCapitalisation'?: boolean;
1920
1929
  /**
1921
1930
  * If true, customers can choose the colour of this element.
1922
1931
  */
1923
1932
  'enableColourPicker'?: boolean;
1933
+ /**
1934
+ * Pre-defined text options a customer can choose from. Only valid when metadata.personalization.type is \"dropdown\"
1935
+ */
1936
+ 'enums'?: Array<string>;
1924
1937
  /**
1925
1938
  * The maximum value of the number. Only valid when metadata.personalization.type is \"number\"
1926
1939
  */
@@ -1930,7 +1943,7 @@ export interface TextApplicationPropertiesPersonalizationRules {
1930
1943
  */
1931
1944
  'minValue'?: number;
1932
1945
  /**
1933
- * 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
1946
+ * 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\"
1934
1947
  */
1935
1948
  'pad'?: number;
1936
1949
  }
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog
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 product from the GFN Catalog, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.98.0
7
+ * The version of the OpenAPI document: 1.100.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
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 product from the GFN Catalog, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.98.0
7
+ * The version of the OpenAPI document: 1.100.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Product Catalog
4
4
  * 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 product from the GFN Catalog, plus listing information such as title, description and tags.
5
5
  *
6
- * The version of the OpenAPI document: 1.98.0
6
+ * The version of the OpenAPI document: 1.100.0
7
7
  *
8
8
  *
9
9
  * 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
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 product from the GFN Catalog, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.98.0
5
+ * The version of the OpenAPI document: 1.100.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -281,6 +281,14 @@ export interface ApplicationPropertiesPositionInference {
281
281
  'baseFlat': string;
282
282
  }
283
283
  export interface ApplicationPropertiesProperties {
284
+ /**
285
+ * Width of the application in pixels
286
+ */
287
+ 'width'?: number | null;
288
+ /**
289
+ * Height of the application in pixels
290
+ */
291
+ 'height'?: number | null;
284
292
  'position'?: ApplicationPropertiesPosition | null;
285
293
  'positionInference'?: ApplicationPropertiesPositionInference | null;
286
294
  /**
@@ -312,14 +320,6 @@ export interface ApplicationPropertiesProperties {
312
320
  */
313
321
  'rotation'?: number;
314
322
  'metadata'?: ApplicationPropertiesMetadata | null;
315
- /**
316
- * Width of the application in pixels
317
- */
318
- 'width'?: number | null;
319
- /**
320
- * Height of the application in pixels
321
- */
322
- 'height'?: number | null;
323
323
  }
324
324
  export declare const ApplicationPropertiesPropertiesFontWeightEnum: {
325
325
  readonly Lighter: "lighter";
@@ -666,6 +666,14 @@ export interface CreateApplicationGroupRequest {
666
666
  'name': string;
667
667
  }
668
668
  export interface CreateApplicationProperties {
669
+ /**
670
+ * Width of the application in pixels
671
+ */
672
+ 'width'?: number | null;
673
+ /**
674
+ * Height of the application in pixels
675
+ */
676
+ 'height'?: number | null;
669
677
  'position'?: ApplicationPropertiesPosition | null;
670
678
  'positionInference'?: ApplicationPropertiesPositionInference | null;
671
679
  /**
@@ -697,14 +705,6 @@ export interface CreateApplicationProperties {
697
705
  */
698
706
  'rotation'?: number;
699
707
  'metadata'?: ApplicationPropertiesMetadata | null;
700
- /**
701
- * Width of the application in pixels
702
- */
703
- 'width'?: number | null;
704
- /**
705
- * Height of the application in pixels
706
- */
707
- 'height'?: number | null;
708
708
  }
709
709
  export declare const CreateApplicationPropertiesFontWeightEnum: {
710
710
  readonly Lighter: "lighter";
@@ -1770,6 +1770,14 @@ export interface TargetSearchPhraseData {
1770
1770
  * Properties for a text-based application including font, colour, position, and optional personalisation. Null when the application has no configurable properties.
1771
1771
  */
1772
1772
  export interface TextApplicationProperties {
1773
+ /**
1774
+ * Width of the text application in pixels. When omitted, the application is treated as garment-wide.
1775
+ */
1776
+ 'width'?: number;
1777
+ /**
1778
+ * Height of the text application in pixels. When omitted, the application is treated as garment-wide.
1779
+ */
1780
+ 'height'?: number;
1773
1781
  'position'?: TextApplicationPropertiesPosition;
1774
1782
  'positionInference'?: ApplicationPropertiesPositionInference | null;
1775
1783
  /**
@@ -1836,16 +1844,17 @@ export declare const TextApplicationPropertiesPersonalizationTypeEnum: {
1836
1844
  readonly Text: "text";
1837
1845
  readonly Number: "number";
1838
1846
  readonly Textarea: "textarea";
1847
+ readonly Dropdown: "dropdown";
1839
1848
  };
1840
1849
  export type TextApplicationPropertiesPersonalizationTypeEnum = typeof TextApplicationPropertiesPersonalizationTypeEnum[keyof typeof TextApplicationPropertiesPersonalizationTypeEnum];
1841
1850
  export interface TextApplicationPropertiesPersonalizationRules {
1842
1851
  'optional'?: PersonalizationOptional;
1843
1852
  /**
1844
- * The maximum length of the text, in characters.
1853
+ * The maximum length of the text, in characters. Only valid when metadata.personalization.type is \"text\"
1845
1854
  */
1846
1855
  'maxLength'?: number;
1847
1856
  /**
1848
- * If true, suspected profanities will be replaced by *. Only valid when metadata.personalization.type is \"text\" or \"textarea\"
1857
+ * If true, suspected profanities will be replaced by asterisks. Only valid when metadata.personalization.type is \"text\" or \"textarea\"
1849
1858
  */
1850
1859
  'profanityFilter'?: boolean;
1851
1860
  /**
@@ -1853,13 +1862,17 @@ export interface TextApplicationPropertiesPersonalizationRules {
1853
1862
  */
1854
1863
  'scaleToFit'?: boolean;
1855
1864
  /**
1856
- * If true, all text on this element will be formatted to uppercase.
1865
+ * If true, all text on this element will be formatted to uppercase. Only valid when metadata.personalization.type is \"text\" or \"textarea\"
1857
1866
  */
1858
1867
  'forceCapitalisation'?: boolean;
1859
1868
  /**
1860
1869
  * If true, customers can choose the colour of this element.
1861
1870
  */
1862
1871
  'enableColourPicker'?: boolean;
1872
+ /**
1873
+ * Pre-defined text options a customer can choose from. Only valid when metadata.personalization.type is \"dropdown\"
1874
+ */
1875
+ 'enums'?: Array<string>;
1863
1876
  /**
1864
1877
  * The maximum value of the number. Only valid when metadata.personalization.type is \"number\"
1865
1878
  */
@@ -1869,7 +1882,7 @@ export interface TextApplicationPropertiesPersonalizationRules {
1869
1882
  */
1870
1883
  'minValue'?: number;
1871
1884
  /**
1872
- * 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
1885
+ * 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\"
1873
1886
  */
1874
1887
  'pad'?: number;
1875
1888
  }
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Product Catalog
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 product from the GFN Catalog, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.98.0
8
+ * The version of the OpenAPI document: 1.100.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -155,6 +155,7 @@ exports.TextApplicationPropertiesPersonalizationTypeEnum = {
155
155
  Text: 'text',
156
156
  Number: 'number',
157
157
  Textarea: 'textarea',
158
+ Dropdown: 'dropdown',
158
159
  };
159
160
  exports.UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum = {
160
161
  Size: 'Size',
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Product Catalog
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 product from the GFN Catalog, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.98.0
5
+ * The version of the OpenAPI document: 1.100.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
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 product from the GFN Catalog, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.98.0
8
+ * The version of the OpenAPI document: 1.100.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
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 product from the GFN Catalog, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.98.0
5
+ * The version of the OpenAPI document: 1.100.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
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 product from the GFN Catalog, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.98.0
8
+ * The version of the OpenAPI document: 1.100.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
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 product from the GFN Catalog, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.98.0
5
+ * The version of the OpenAPI document: 1.100.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
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 product from the GFN Catalog, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.98.0
7
+ * The version of the OpenAPI document: 1.100.0
8
8
  *
9
9
  *
10
10
  * 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
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 product from the GFN Catalog, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.98.0
5
+ * The version of the OpenAPI document: 1.100.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -281,6 +281,14 @@ export interface ApplicationPropertiesPositionInference {
281
281
  'baseFlat': string;
282
282
  }
283
283
  export interface ApplicationPropertiesProperties {
284
+ /**
285
+ * Width of the application in pixels
286
+ */
287
+ 'width'?: number | null;
288
+ /**
289
+ * Height of the application in pixels
290
+ */
291
+ 'height'?: number | null;
284
292
  'position'?: ApplicationPropertiesPosition | null;
285
293
  'positionInference'?: ApplicationPropertiesPositionInference | null;
286
294
  /**
@@ -312,14 +320,6 @@ export interface ApplicationPropertiesProperties {
312
320
  */
313
321
  'rotation'?: number;
314
322
  'metadata'?: ApplicationPropertiesMetadata | null;
315
- /**
316
- * Width of the application in pixels
317
- */
318
- 'width'?: number | null;
319
- /**
320
- * Height of the application in pixels
321
- */
322
- 'height'?: number | null;
323
323
  }
324
324
  export declare const ApplicationPropertiesPropertiesFontWeightEnum: {
325
325
  readonly Lighter: "lighter";
@@ -666,6 +666,14 @@ export interface CreateApplicationGroupRequest {
666
666
  'name': string;
667
667
  }
668
668
  export interface CreateApplicationProperties {
669
+ /**
670
+ * Width of the application in pixels
671
+ */
672
+ 'width'?: number | null;
673
+ /**
674
+ * Height of the application in pixels
675
+ */
676
+ 'height'?: number | null;
669
677
  'position'?: ApplicationPropertiesPosition | null;
670
678
  'positionInference'?: ApplicationPropertiesPositionInference | null;
671
679
  /**
@@ -697,14 +705,6 @@ export interface CreateApplicationProperties {
697
705
  */
698
706
  'rotation'?: number;
699
707
  'metadata'?: ApplicationPropertiesMetadata | null;
700
- /**
701
- * Width of the application in pixels
702
- */
703
- 'width'?: number | null;
704
- /**
705
- * Height of the application in pixels
706
- */
707
- 'height'?: number | null;
708
708
  }
709
709
  export declare const CreateApplicationPropertiesFontWeightEnum: {
710
710
  readonly Lighter: "lighter";
@@ -1770,6 +1770,14 @@ export interface TargetSearchPhraseData {
1770
1770
  * Properties for a text-based application including font, colour, position, and optional personalisation. Null when the application has no configurable properties.
1771
1771
  */
1772
1772
  export interface TextApplicationProperties {
1773
+ /**
1774
+ * Width of the text application in pixels. When omitted, the application is treated as garment-wide.
1775
+ */
1776
+ 'width'?: number;
1777
+ /**
1778
+ * Height of the text application in pixels. When omitted, the application is treated as garment-wide.
1779
+ */
1780
+ 'height'?: number;
1773
1781
  'position'?: TextApplicationPropertiesPosition;
1774
1782
  'positionInference'?: ApplicationPropertiesPositionInference | null;
1775
1783
  /**
@@ -1836,16 +1844,17 @@ export declare const TextApplicationPropertiesPersonalizationTypeEnum: {
1836
1844
  readonly Text: "text";
1837
1845
  readonly Number: "number";
1838
1846
  readonly Textarea: "textarea";
1847
+ readonly Dropdown: "dropdown";
1839
1848
  };
1840
1849
  export type TextApplicationPropertiesPersonalizationTypeEnum = typeof TextApplicationPropertiesPersonalizationTypeEnum[keyof typeof TextApplicationPropertiesPersonalizationTypeEnum];
1841
1850
  export interface TextApplicationPropertiesPersonalizationRules {
1842
1851
  'optional'?: PersonalizationOptional;
1843
1852
  /**
1844
- * The maximum length of the text, in characters.
1853
+ * The maximum length of the text, in characters. Only valid when metadata.personalization.type is \"text\"
1845
1854
  */
1846
1855
  'maxLength'?: number;
1847
1856
  /**
1848
- * If true, suspected profanities will be replaced by *. Only valid when metadata.personalization.type is \"text\" or \"textarea\"
1857
+ * If true, suspected profanities will be replaced by asterisks. Only valid when metadata.personalization.type is \"text\" or \"textarea\"
1849
1858
  */
1850
1859
  'profanityFilter'?: boolean;
1851
1860
  /**
@@ -1853,13 +1862,17 @@ export interface TextApplicationPropertiesPersonalizationRules {
1853
1862
  */
1854
1863
  'scaleToFit'?: boolean;
1855
1864
  /**
1856
- * If true, all text on this element will be formatted to uppercase.
1865
+ * If true, all text on this element will be formatted to uppercase. Only valid when metadata.personalization.type is \"text\" or \"textarea\"
1857
1866
  */
1858
1867
  'forceCapitalisation'?: boolean;
1859
1868
  /**
1860
1869
  * If true, customers can choose the colour of this element.
1861
1870
  */
1862
1871
  'enableColourPicker'?: boolean;
1872
+ /**
1873
+ * Pre-defined text options a customer can choose from. Only valid when metadata.personalization.type is \"dropdown\"
1874
+ */
1875
+ 'enums'?: Array<string>;
1863
1876
  /**
1864
1877
  * The maximum value of the number. Only valid when metadata.personalization.type is \"number\"
1865
1878
  */
@@ -1869,7 +1882,7 @@ export interface TextApplicationPropertiesPersonalizationRules {
1869
1882
  */
1870
1883
  'minValue'?: number;
1871
1884
  /**
1872
- * 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
1885
+ * 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\"
1873
1886
  */
1874
1887
  'pad'?: number;
1875
1888
  }
package/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog
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 product from the GFN Catalog, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.98.0
7
+ * The version of the OpenAPI document: 1.100.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -151,6 +151,7 @@ export const TextApplicationPropertiesPersonalizationTypeEnum = {
151
151
  Text: 'text',
152
152
  Number: 'number',
153
153
  Textarea: 'textarea',
154
+ Dropdown: 'dropdown',
154
155
  };
155
156
  export const UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum = {
156
157
  Size: 'Size',
@@ -2,7 +2,7 @@
2
2
  * Product Catalog
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 product from the GFN Catalog, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.98.0
5
+ * The version of the OpenAPI document: 1.100.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
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 product from the GFN Catalog, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.98.0
7
+ * The version of the OpenAPI document: 1.100.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
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 product from the GFN Catalog, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.98.0
5
+ * The version of the OpenAPI document: 1.100.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
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 product from the GFN Catalog, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.98.0
7
+ * The version of the OpenAPI document: 1.100.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
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 product from the GFN Catalog, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.98.0
5
+ * The version of the OpenAPI document: 1.100.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3,7 +3,7 @@
3
3
  * Product Catalog
4
4
  * 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 product from the GFN Catalog, plus listing information such as title, description and tags.
5
5
  *
6
- * The version of the OpenAPI document: 1.98.0
6
+ * The version of the OpenAPI document: 1.100.0
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Product Catalog
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 product from the GFN Catalog, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.98.0
5
+ * The version of the OpenAPI document: 1.100.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
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 product from the GFN Catalog, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.98.0
7
+ * The version of the OpenAPI document: 1.100.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
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 product from the GFN Catalog, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.98.0
5
+ * The version of the OpenAPI document: 1.100.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
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 product from the GFN Catalog, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.98.0
8
+ * The version of the OpenAPI document: 1.100.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,6 +5,8 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
+ **width** | **number** | Width of the application in pixels | [optional] [default to undefined]
9
+ **height** | **number** | Height of the application in pixels | [optional] [default to undefined]
8
10
  **position** | [**ApplicationPropertiesPosition**](ApplicationPropertiesPosition.md) | | [optional] [default to undefined]
9
11
  **positionInference** | [**ApplicationPropertiesPositionInference**](ApplicationPropertiesPositionInference.md) | | [optional] [default to undefined]
10
12
  **lines** | **Array&lt;string&gt;** | An array of text lines. | [optional] [default to undefined]
@@ -15,8 +17,6 @@ Name | Type | Description | Notes
15
17
  **color** | **string** | The colour of the text in hex format. | [optional] [default to undefined]
16
18
  **rotation** | **number** | The rotation of the text in degrees. | [optional] [default to undefined]
17
19
  **metadata** | [**ApplicationPropertiesMetadata**](ApplicationPropertiesMetadata.md) | | [optional] [default to undefined]
18
- **width** | **number** | Width of the application in pixels | [optional] [default to undefined]
19
- **height** | **number** | Height of the application in pixels | [optional] [default to undefined]
20
20
 
21
21
  ## Example
22
22
 
@@ -24,6 +24,8 @@ Name | Type | Description | Notes
24
24
  import { ApplicationPropertiesProperties } from '@teemill/product-catalog';
25
25
 
26
26
  const instance: ApplicationPropertiesProperties = {
27
+ width,
28
+ height,
27
29
  position,
28
30
  positionInference,
29
31
  lines,
@@ -34,8 +36,6 @@ const instance: ApplicationPropertiesProperties = {
34
36
  color,
35
37
  rotation,
36
38
  metadata,
37
- width,
38
- height,
39
39
  };
40
40
  ```
41
41
 
@@ -5,6 +5,8 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
+ **width** | **number** | Width of the application in pixels | [optional] [default to undefined]
9
+ **height** | **number** | Height of the application in pixels | [optional] [default to undefined]
8
10
  **position** | [**ApplicationPropertiesPosition**](ApplicationPropertiesPosition.md) | | [optional] [default to undefined]
9
11
  **positionInference** | [**ApplicationPropertiesPositionInference**](ApplicationPropertiesPositionInference.md) | | [optional] [default to undefined]
10
12
  **lines** | **Array&lt;string&gt;** | An array of text lines. | [optional] [default to undefined]
@@ -15,8 +17,6 @@ Name | Type | Description | Notes
15
17
  **color** | **string** | The colour of the text in hex format. | [optional] [default to undefined]
16
18
  **rotation** | **number** | The rotation of the text in degrees. | [optional] [default to undefined]
17
19
  **metadata** | [**ApplicationPropertiesMetadata**](ApplicationPropertiesMetadata.md) | | [optional] [default to undefined]
18
- **width** | **number** | Width of the application in pixels | [optional] [default to undefined]
19
- **height** | **number** | Height of the application in pixels | [optional] [default to undefined]
20
20
 
21
21
  ## Example
22
22
 
@@ -24,6 +24,8 @@ Name | Type | Description | Notes
24
24
  import { CreateApplicationProperties } from '@teemill/product-catalog';
25
25
 
26
26
  const instance: CreateApplicationProperties = {
27
+ width,
28
+ height,
27
29
  position,
28
30
  positionInference,
29
31
  lines,
@@ -34,8 +36,6 @@ const instance: CreateApplicationProperties = {
34
36
  color,
35
37
  rotation,
36
38
  metadata,
37
- width,
38
- height,
39
39
  };
40
40
  ```
41
41
 
@@ -6,6 +6,8 @@ Properties for a text-based application including font, colour, position, and op
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
+ **width** | **number** | Width of the text application in pixels. When omitted, the application is treated as garment-wide. | [optional] [default to undefined]
10
+ **height** | **number** | Height of the text application in pixels. When omitted, the application is treated as garment-wide. | [optional] [default to undefined]
9
11
  **position** | [**TextApplicationPropertiesPosition**](TextApplicationPropertiesPosition.md) | | [optional] [default to undefined]
10
12
  **positionInference** | [**ApplicationPropertiesPositionInference**](ApplicationPropertiesPositionInference.md) | | [optional] [default to undefined]
11
13
  **lines** | **Array&lt;string&gt;** | An array of text lines. | [optional] [default to undefined]
@@ -23,6 +25,8 @@ Name | Type | Description | Notes
23
25
  import { TextApplicationProperties } from '@teemill/product-catalog';
24
26
 
25
27
  const instance: TextApplicationProperties = {
28
+ width,
29
+ height,
26
30
  position,
27
31
  positionInference,
28
32
  lines,
@@ -6,14 +6,15 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **optional** | [**PersonalizationOptional**](PersonalizationOptional.md) | | [optional] [default to undefined]
9
- **maxLength** | **number** | The maximum length of the text, in characters. | [optional] [default to 100]
10
- **profanityFilter** | **boolean** | If true, suspected profanities will be replaced by *. Only valid when metadata.personalization.type is \&quot;text\&quot; or \&quot;textarea\&quot; | [optional] [default to false]
9
+ **maxLength** | **number** | The maximum length of the text, in characters. Only valid when metadata.personalization.type is \&quot;text\&quot; | [optional] [default to 100]
10
+ **profanityFilter** | **boolean** | If true, suspected profanities will be replaced by asterisks. Only valid when metadata.personalization.type is \&quot;text\&quot; or \&quot;textarea\&quot; | [optional] [default to false]
11
11
  **scaleToFit** | **boolean** | 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\&#39;s original bounds. | [optional] [default to false]
12
- **forceCapitalisation** | **boolean** | If true, all text on this element will be formatted to uppercase. | [optional] [default to false]
12
+ **forceCapitalisation** | **boolean** | If true, all text on this element will be formatted to uppercase. Only valid when metadata.personalization.type is \&quot;text\&quot; or \&quot;textarea\&quot; | [optional] [default to false]
13
13
  **enableColourPicker** | **boolean** | If true, customers can choose the colour of this element. | [optional] [default to false]
14
+ **enums** | **Array&lt;string&gt;** | Pre-defined text options a customer can choose from. Only valid when metadata.personalization.type is \&quot;dropdown\&quot; | [optional] [default to undefined]
14
15
  **maxValue** | **number** | The maximum value of the number. Only valid when metadata.personalization.type is \&quot;number\&quot; | [optional] [default to 100]
15
16
  **minValue** | **number** | The minimum value of the number. Only valid when metadata.personalization.type is \&quot;number\&quot; | [optional] [default to 0]
16
- **pad** | **number** | 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 | [optional] [default to 0]
17
+ **pad** | **number** | 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 \&quot;number\&quot; | [optional] [default to 0]
17
18
 
18
19
  ## Example
19
20
 
@@ -27,6 +28,7 @@ const instance: TextApplicationPropertiesPersonalizationRules = {
27
28
  scaleToFit,
28
29
  forceCapitalisation,
29
30
  enableColourPicker,
31
+ enums,
30
32
  maxValue,
31
33
  minValue,
32
34
  pad,
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog
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 product from the GFN Catalog, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.98.0
7
+ * The version of the OpenAPI document: 1.100.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.98.0",
3
+ "version": "1.100.0",
4
4
  "description": "OpenAPI client for @teemill/product-catalog",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {