@teemill/product-catalog 1.59.0 → 1.62.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 +11 -3
- package/api.ts +266 -58
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +253 -58
- package/dist/api.js +23 -2
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +253 -58
- package/dist/esm/api.js +22 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/Application.md +2 -2
- package/docs/ApplicationProperties.md +2 -1
- package/docs/ApplicationPropertiesMetadata.md +20 -0
- package/docs/ApplicationPropertiesMetadataPersonalization.md +24 -0
- package/docs/ApplicationPropertiesPersonalization.md +22 -0
- package/docs/ApplicationPropertiesPersonalizationRules.md +20 -0
- package/docs/ApplicationPropertiesPosition.md +2 -0
- package/docs/ApplicationPropertiesProperties.md +40 -0
- package/docs/CreateApplicationProperties.md +18 -5
- package/docs/TextApplicationProperties.md +34 -0
- package/docs/TextApplicationPropertiesPersonalization.md +24 -0
- package/docs/TextApplicationPropertiesPersonalizationRules.md +30 -0
- package/docs/TextApplicationPropertiesPosition.md +24 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/product-catalog@1.
|
|
1
|
+
## @teemill/product-catalog@1.62.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.
|
|
39
|
+
npm install @teemill/product-catalog@1.62.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -79,8 +79,13 @@ Class | Method | HTTP request | Description
|
|
|
79
79
|
- [Application](docs/Application.md)
|
|
80
80
|
- [ApplicationMockup](docs/ApplicationMockup.md)
|
|
81
81
|
- [ApplicationProperties](docs/ApplicationProperties.md)
|
|
82
|
+
- [ApplicationPropertiesMetadata](docs/ApplicationPropertiesMetadata.md)
|
|
83
|
+
- [ApplicationPropertiesMetadataPersonalization](docs/ApplicationPropertiesMetadataPersonalization.md)
|
|
84
|
+
- [ApplicationPropertiesPersonalization](docs/ApplicationPropertiesPersonalization.md)
|
|
85
|
+
- [ApplicationPropertiesPersonalizationRules](docs/ApplicationPropertiesPersonalizationRules.md)
|
|
82
86
|
- [ApplicationPropertiesPosition](docs/ApplicationPropertiesPosition.md)
|
|
83
87
|
- [ApplicationPropertiesPositionInference](docs/ApplicationPropertiesPositionInference.md)
|
|
88
|
+
- [ApplicationPropertiesProperties](docs/ApplicationPropertiesProperties.md)
|
|
84
89
|
- [ApplicationSet](docs/ApplicationSet.md)
|
|
85
90
|
- [ApplicationSet1](docs/ApplicationSet1.md)
|
|
86
91
|
- [ApplicationSetRecord](docs/ApplicationSetRecord.md)
|
|
@@ -93,7 +98,6 @@ Class | Method | HTTP request | Description
|
|
|
93
98
|
- [Attributes1Inner](docs/Attributes1Inner.md)
|
|
94
99
|
- [CreateApplication](docs/CreateApplication.md)
|
|
95
100
|
- [CreateApplicationProperties](docs/CreateApplicationProperties.md)
|
|
96
|
-
- [CreateApplicationPropertiesPosition](docs/CreateApplicationPropertiesPosition.md)
|
|
97
101
|
- [CreateApplicationSetRequest](docs/CreateApplicationSetRequest.md)
|
|
98
102
|
- [CreateApplicationSetRequestRecordsInner](docs/CreateApplicationSetRequestRecordsInner.md)
|
|
99
103
|
- [CreateApplicationSetRequestRecordsInnerAttributesInner](docs/CreateApplicationSetRequestRecordsInnerAttributesInner.md)
|
|
@@ -127,6 +131,10 @@ Class | Method | HTTP request | Description
|
|
|
127
131
|
- [SeoOptimiseProductsRequest](docs/SeoOptimiseProductsRequest.md)
|
|
128
132
|
- [Stock](docs/Stock.md)
|
|
129
133
|
- [TargetSearchPhraseData](docs/TargetSearchPhraseData.md)
|
|
134
|
+
- [TextApplicationProperties](docs/TextApplicationProperties.md)
|
|
135
|
+
- [TextApplicationPropertiesPersonalization](docs/TextApplicationPropertiesPersonalization.md)
|
|
136
|
+
- [TextApplicationPropertiesPersonalizationRules](docs/TextApplicationPropertiesPersonalizationRules.md)
|
|
137
|
+
- [TextApplicationPropertiesPosition](docs/TextApplicationPropertiesPosition.md)
|
|
130
138
|
- [UpdateApplicationSetRequest](docs/UpdateApplicationSetRequest.md)
|
|
131
139
|
- [UpdateApplicationSetRequestRecordsInner](docs/UpdateApplicationSetRequestRecordsInner.md)
|
|
132
140
|
- [UpdateApplicationSetRequestRecordsInnerAttributesInner](docs/UpdateApplicationSetRequestRecordsInnerAttributesInner.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.
|
|
7
|
+
* The version of the OpenAPI document: 1.62.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -90,7 +90,7 @@ export interface Application {
|
|
|
90
90
|
* @type {string}
|
|
91
91
|
* @memberof Application
|
|
92
92
|
*/
|
|
93
|
-
'src'
|
|
93
|
+
'src'?: string;
|
|
94
94
|
/**
|
|
95
95
|
*
|
|
96
96
|
* @type {ApplicationMockup}
|
|
@@ -105,10 +105,10 @@ export interface Application {
|
|
|
105
105
|
'stockedOnly'?: boolean;
|
|
106
106
|
/**
|
|
107
107
|
*
|
|
108
|
-
* @type {
|
|
108
|
+
* @type {ApplicationPropertiesProperties}
|
|
109
109
|
* @memberof Application
|
|
110
110
|
*/
|
|
111
|
-
'properties'?:
|
|
111
|
+
'properties'?: ApplicationPropertiesProperties | null;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
export const ApplicationTechnologyEnum = {
|
|
@@ -154,7 +154,7 @@ export interface ApplicationMockup {
|
|
|
154
154
|
'preview'?: string;
|
|
155
155
|
}
|
|
156
156
|
/**
|
|
157
|
-
*
|
|
157
|
+
*
|
|
158
158
|
* @export
|
|
159
159
|
* @interface ApplicationProperties
|
|
160
160
|
*/
|
|
@@ -183,7 +183,74 @@ export interface ApplicationProperties {
|
|
|
183
183
|
* @memberof ApplicationProperties
|
|
184
184
|
*/
|
|
185
185
|
'positionInference'?: ApplicationPropertiesPositionInference | null;
|
|
186
|
+
/**
|
|
187
|
+
*
|
|
188
|
+
* @type {ApplicationPropertiesMetadata}
|
|
189
|
+
* @memberof ApplicationProperties
|
|
190
|
+
*/
|
|
191
|
+
'metadata'?: ApplicationPropertiesMetadata | null;
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
*
|
|
195
|
+
* @export
|
|
196
|
+
* @interface ApplicationPropertiesMetadata
|
|
197
|
+
*/
|
|
198
|
+
export interface ApplicationPropertiesMetadata {
|
|
199
|
+
/**
|
|
200
|
+
*
|
|
201
|
+
* @type {ApplicationPropertiesMetadataPersonalization}
|
|
202
|
+
* @memberof ApplicationPropertiesMetadata
|
|
203
|
+
*/
|
|
204
|
+
'personalization'?: ApplicationPropertiesMetadataPersonalization;
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* @type ApplicationPropertiesMetadataPersonalization
|
|
208
|
+
* @export
|
|
209
|
+
*/
|
|
210
|
+
export type ApplicationPropertiesMetadataPersonalization = ApplicationPropertiesPersonalization | TextApplicationPropertiesPersonalization;
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
*
|
|
214
|
+
* @export
|
|
215
|
+
* @interface ApplicationPropertiesPersonalization
|
|
216
|
+
*/
|
|
217
|
+
export interface ApplicationPropertiesPersonalization {
|
|
218
|
+
/**
|
|
219
|
+
* The label to be displayed on the personalization field.
|
|
220
|
+
* @type {string}
|
|
221
|
+
* @memberof ApplicationPropertiesPersonalization
|
|
222
|
+
*/
|
|
223
|
+
'label'?: string;
|
|
224
|
+
/**
|
|
225
|
+
*
|
|
226
|
+
* @type {ApplicationPropertiesPersonalizationRules}
|
|
227
|
+
* @memberof ApplicationPropertiesPersonalization
|
|
228
|
+
*/
|
|
229
|
+
'rules'?: ApplicationPropertiesPersonalizationRules;
|
|
186
230
|
}
|
|
231
|
+
/**
|
|
232
|
+
*
|
|
233
|
+
* @export
|
|
234
|
+
* @interface ApplicationPropertiesPersonalizationRules
|
|
235
|
+
*/
|
|
236
|
+
export interface ApplicationPropertiesPersonalizationRules {
|
|
237
|
+
/**
|
|
238
|
+
* The fit of the image. This determines how an uploaded image will be resized to fit the application.
|
|
239
|
+
* @type {string}
|
|
240
|
+
* @memberof ApplicationPropertiesPersonalizationRules
|
|
241
|
+
*/
|
|
242
|
+
'fit'?: ApplicationPropertiesPersonalizationRulesFitEnum;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
export const ApplicationPropertiesPersonalizationRulesFitEnum = {
|
|
246
|
+
Contain: 'contain',
|
|
247
|
+
Cover: 'cover',
|
|
248
|
+
Stretch: 'stretch',
|
|
249
|
+
Crop: 'crop'
|
|
250
|
+
} as const;
|
|
251
|
+
|
|
252
|
+
export type ApplicationPropertiesPersonalizationRulesFitEnum = typeof ApplicationPropertiesPersonalizationRulesFitEnum[keyof typeof ApplicationPropertiesPersonalizationRulesFitEnum];
|
|
253
|
+
|
|
187
254
|
/**
|
|
188
255
|
* Position of the application relative to the bounding box of the product
|
|
189
256
|
* @export
|
|
@@ -202,6 +269,12 @@ export interface ApplicationPropertiesPosition {
|
|
|
202
269
|
* @memberof ApplicationPropertiesPosition
|
|
203
270
|
*/
|
|
204
271
|
'y': number;
|
|
272
|
+
/**
|
|
273
|
+
* The z layer of the application. This doesn\'t affect printing, but is used for ordering the applications when displaying them in a mockup.
|
|
274
|
+
* @type {number}
|
|
275
|
+
* @memberof ApplicationPropertiesPosition
|
|
276
|
+
*/
|
|
277
|
+
'z'?: number;
|
|
205
278
|
}
|
|
206
279
|
/**
|
|
207
280
|
* 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.
|
|
@@ -222,6 +295,12 @@ export interface ApplicationPropertiesPositionInference {
|
|
|
222
295
|
*/
|
|
223
296
|
'baseFlat': string;
|
|
224
297
|
}
|
|
298
|
+
/**
|
|
299
|
+
* @type ApplicationPropertiesProperties
|
|
300
|
+
* @export
|
|
301
|
+
*/
|
|
302
|
+
export type ApplicationPropertiesProperties = ApplicationProperties | TextApplicationProperties;
|
|
303
|
+
|
|
225
304
|
/**
|
|
226
305
|
*
|
|
227
306
|
* @export
|
|
@@ -567,55 +646,11 @@ export const CreateApplicationPlacementEnum = {
|
|
|
567
646
|
export type CreateApplicationPlacementEnum = typeof CreateApplicationPlacementEnum[keyof typeof CreateApplicationPlacementEnum];
|
|
568
647
|
|
|
569
648
|
/**
|
|
570
|
-
*
|
|
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
|
|
649
|
+
* @type CreateApplicationProperties
|
|
602
650
|
* @export
|
|
603
|
-
* @interface CreateApplicationPropertiesPosition
|
|
604
651
|
*/
|
|
605
|
-
export
|
|
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
|
-
}
|
|
652
|
+
export type CreateApplicationProperties = ApplicationProperties | TextApplicationProperties;
|
|
653
|
+
|
|
619
654
|
/**
|
|
620
655
|
*
|
|
621
656
|
* @export
|
|
@@ -780,7 +815,7 @@ export interface CreateBundleProduct {
|
|
|
780
815
|
* @type {number}
|
|
781
816
|
* @memberof CreateBundleProduct
|
|
782
817
|
*/
|
|
783
|
-
'shopifyId'?: number;
|
|
818
|
+
'shopifyId'?: number | null;
|
|
784
819
|
/**
|
|
785
820
|
* Key/value pairs that can be used to store additional information about the product
|
|
786
821
|
* @type {Array<MetaField>}
|
|
@@ -919,7 +954,7 @@ export interface CreateProduct {
|
|
|
919
954
|
* @type {number}
|
|
920
955
|
* @memberof CreateProduct
|
|
921
956
|
*/
|
|
922
|
-
'shopifyId'?: number;
|
|
957
|
+
'shopifyId'?: number | null;
|
|
923
958
|
/**
|
|
924
959
|
* Key/value pairs that can be used to store additional information about the product
|
|
925
960
|
* @type {Array<MetaField>}
|
|
@@ -1024,7 +1059,7 @@ export interface CreateProductVariant {
|
|
|
1024
1059
|
* @type {number}
|
|
1025
1060
|
* @memberof CreateProductVariant
|
|
1026
1061
|
*/
|
|
1027
|
-
'shopifyId'?: number;
|
|
1062
|
+
'shopifyId'?: number | null;
|
|
1028
1063
|
/**
|
|
1029
1064
|
*
|
|
1030
1065
|
* @type {Array<UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner>}
|
|
@@ -1694,6 +1729,179 @@ export interface TargetSearchPhraseData {
|
|
|
1694
1729
|
*/
|
|
1695
1730
|
'targetSearchPhraseSynonyms'?: Array<string>;
|
|
1696
1731
|
}
|
|
1732
|
+
/**
|
|
1733
|
+
*
|
|
1734
|
+
* @export
|
|
1735
|
+
* @interface TextApplicationProperties
|
|
1736
|
+
*/
|
|
1737
|
+
export interface TextApplicationProperties {
|
|
1738
|
+
/**
|
|
1739
|
+
*
|
|
1740
|
+
* @type {TextApplicationPropertiesPosition}
|
|
1741
|
+
* @memberof TextApplicationProperties
|
|
1742
|
+
*/
|
|
1743
|
+
'position'?: TextApplicationPropertiesPosition;
|
|
1744
|
+
/**
|
|
1745
|
+
*
|
|
1746
|
+
* @type {ApplicationPropertiesPositionInference}
|
|
1747
|
+
* @memberof TextApplicationProperties
|
|
1748
|
+
*/
|
|
1749
|
+
'positionInference'?: ApplicationPropertiesPositionInference | null;
|
|
1750
|
+
/**
|
|
1751
|
+
* An array of text lines.
|
|
1752
|
+
* @type {Array<string>}
|
|
1753
|
+
* @memberof TextApplicationProperties
|
|
1754
|
+
*/
|
|
1755
|
+
'lines'?: Array<string>;
|
|
1756
|
+
/**
|
|
1757
|
+
* The font to be used for the text. This font must be available in the PodOS font library.
|
|
1758
|
+
* @type {string}
|
|
1759
|
+
* @memberof TextApplicationProperties
|
|
1760
|
+
*/
|
|
1761
|
+
'font'?: string;
|
|
1762
|
+
/**
|
|
1763
|
+
* The size of the text in pixels.
|
|
1764
|
+
* @type {number}
|
|
1765
|
+
* @memberof TextApplicationProperties
|
|
1766
|
+
*/
|
|
1767
|
+
'fontSize'?: number;
|
|
1768
|
+
/**
|
|
1769
|
+
* The weight of the text. This must be a valid CSS font-weight value.
|
|
1770
|
+
* @type {string}
|
|
1771
|
+
* @memberof TextApplicationProperties
|
|
1772
|
+
*/
|
|
1773
|
+
'fontWeight'?: TextApplicationPropertiesFontWeightEnum;
|
|
1774
|
+
/**
|
|
1775
|
+
* The style of the text. This must be a valid CSS font-style value.
|
|
1776
|
+
* @type {string}
|
|
1777
|
+
* @memberof TextApplicationProperties
|
|
1778
|
+
*/
|
|
1779
|
+
'fontStyle'?: TextApplicationPropertiesFontStyleEnum;
|
|
1780
|
+
/**
|
|
1781
|
+
* The colour of the text in hex format.
|
|
1782
|
+
* @type {string}
|
|
1783
|
+
* @memberof TextApplicationProperties
|
|
1784
|
+
*/
|
|
1785
|
+
'color'?: string;
|
|
1786
|
+
}
|
|
1787
|
+
|
|
1788
|
+
export const TextApplicationPropertiesFontWeightEnum = {
|
|
1789
|
+
Lighter: 'lighter',
|
|
1790
|
+
Normal: 'normal',
|
|
1791
|
+
Bold: 'bold',
|
|
1792
|
+
Bolder: 'bolder'
|
|
1793
|
+
} as const;
|
|
1794
|
+
|
|
1795
|
+
export type TextApplicationPropertiesFontWeightEnum = typeof TextApplicationPropertiesFontWeightEnum[keyof typeof TextApplicationPropertiesFontWeightEnum];
|
|
1796
|
+
export const TextApplicationPropertiesFontStyleEnum = {
|
|
1797
|
+
Normal: 'normal',
|
|
1798
|
+
Italic: 'italic',
|
|
1799
|
+
Oblique: 'oblique'
|
|
1800
|
+
} as const;
|
|
1801
|
+
|
|
1802
|
+
export type TextApplicationPropertiesFontStyleEnum = typeof TextApplicationPropertiesFontStyleEnum[keyof typeof TextApplicationPropertiesFontStyleEnum];
|
|
1803
|
+
|
|
1804
|
+
/**
|
|
1805
|
+
*
|
|
1806
|
+
* @export
|
|
1807
|
+
* @interface TextApplicationPropertiesPersonalization
|
|
1808
|
+
*/
|
|
1809
|
+
export interface TextApplicationPropertiesPersonalization {
|
|
1810
|
+
/**
|
|
1811
|
+
* The label to be displayed on the personalization field.
|
|
1812
|
+
* @type {string}
|
|
1813
|
+
* @memberof TextApplicationPropertiesPersonalization
|
|
1814
|
+
*/
|
|
1815
|
+
'label'?: string;
|
|
1816
|
+
/**
|
|
1817
|
+
* The type of the personalization field
|
|
1818
|
+
* @type {string}
|
|
1819
|
+
* @memberof TextApplicationPropertiesPersonalization
|
|
1820
|
+
*/
|
|
1821
|
+
'type'?: TextApplicationPropertiesPersonalizationTypeEnum | null;
|
|
1822
|
+
/**
|
|
1823
|
+
*
|
|
1824
|
+
* @type {TextApplicationPropertiesPersonalizationRules}
|
|
1825
|
+
* @memberof TextApplicationPropertiesPersonalization
|
|
1826
|
+
*/
|
|
1827
|
+
'rules'?: TextApplicationPropertiesPersonalizationRules;
|
|
1828
|
+
}
|
|
1829
|
+
|
|
1830
|
+
export const TextApplicationPropertiesPersonalizationTypeEnum = {
|
|
1831
|
+
Text: 'text',
|
|
1832
|
+
Number: 'number'
|
|
1833
|
+
} as const;
|
|
1834
|
+
|
|
1835
|
+
export type TextApplicationPropertiesPersonalizationTypeEnum = typeof TextApplicationPropertiesPersonalizationTypeEnum[keyof typeof TextApplicationPropertiesPersonalizationTypeEnum];
|
|
1836
|
+
|
|
1837
|
+
/**
|
|
1838
|
+
*
|
|
1839
|
+
* @export
|
|
1840
|
+
* @interface TextApplicationPropertiesPersonalizationRules
|
|
1841
|
+
*/
|
|
1842
|
+
export interface TextApplicationPropertiesPersonalizationRules {
|
|
1843
|
+
/**
|
|
1844
|
+
* The maximum length of the text, in characters.
|
|
1845
|
+
* @type {number}
|
|
1846
|
+
* @memberof TextApplicationPropertiesPersonalizationRules
|
|
1847
|
+
*/
|
|
1848
|
+
'maxLength'?: number;
|
|
1849
|
+
/**
|
|
1850
|
+
* If true, suspected profanities will be replaced by *. Only valid when metadata.personalization.type is \"text\"
|
|
1851
|
+
* @type {boolean}
|
|
1852
|
+
* @memberof TextApplicationPropertiesPersonalizationRules
|
|
1853
|
+
*/
|
|
1854
|
+
'profanityFilter'?: boolean;
|
|
1855
|
+
/**
|
|
1856
|
+
* 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.
|
|
1857
|
+
* @type {boolean}
|
|
1858
|
+
* @memberof TextApplicationPropertiesPersonalizationRules
|
|
1859
|
+
*/
|
|
1860
|
+
'scaleToFit'?: boolean;
|
|
1861
|
+
/**
|
|
1862
|
+
* The maximum value of the number. Only valid when metadata.personalization.type is \"number\"
|
|
1863
|
+
* @type {number}
|
|
1864
|
+
* @memberof TextApplicationPropertiesPersonalizationRules
|
|
1865
|
+
*/
|
|
1866
|
+
'maxValue'?: number;
|
|
1867
|
+
/**
|
|
1868
|
+
* The minimum value of the number. Only valid when metadata.personalization.type is \"number\"
|
|
1869
|
+
* @type {number}
|
|
1870
|
+
* @memberof TextApplicationPropertiesPersonalizationRules
|
|
1871
|
+
*/
|
|
1872
|
+
'minValue'?: number;
|
|
1873
|
+
/**
|
|
1874
|
+
* 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
|
|
1875
|
+
* @type {number}
|
|
1876
|
+
* @memberof TextApplicationPropertiesPersonalizationRules
|
|
1877
|
+
*/
|
|
1878
|
+
'pad'?: number;
|
|
1879
|
+
}
|
|
1880
|
+
/**
|
|
1881
|
+
*
|
|
1882
|
+
* @export
|
|
1883
|
+
* @interface TextApplicationPropertiesPosition
|
|
1884
|
+
*/
|
|
1885
|
+
export interface TextApplicationPropertiesPosition {
|
|
1886
|
+
/**
|
|
1887
|
+
* The x position of the application in pixels.
|
|
1888
|
+
* @type {number}
|
|
1889
|
+
* @memberof TextApplicationPropertiesPosition
|
|
1890
|
+
*/
|
|
1891
|
+
'x': number;
|
|
1892
|
+
/**
|
|
1893
|
+
* The y position of the application in pixels.
|
|
1894
|
+
* @type {number}
|
|
1895
|
+
* @memberof TextApplicationPropertiesPosition
|
|
1896
|
+
*/
|
|
1897
|
+
'y': number;
|
|
1898
|
+
/**
|
|
1899
|
+
* The z layer of the application. This doesn\'t affect printing, but is used for ordering the applications when displaying them in a mockup.
|
|
1900
|
+
* @type {number}
|
|
1901
|
+
* @memberof TextApplicationPropertiesPosition
|
|
1902
|
+
*/
|
|
1903
|
+
'z'?: number;
|
|
1904
|
+
}
|
|
1697
1905
|
/**
|
|
1698
1906
|
*
|
|
1699
1907
|
* @export
|
|
@@ -1900,7 +2108,7 @@ export interface UpdateProductRequest {
|
|
|
1900
2108
|
* @type {number}
|
|
1901
2109
|
* @memberof UpdateProductRequest
|
|
1902
2110
|
*/
|
|
1903
|
-
'shopifyId'?: number;
|
|
2111
|
+
'shopifyId'?: number | null;
|
|
1904
2112
|
/**
|
|
1905
2113
|
* Key/value pairs that can be used to store additional information about the product
|
|
1906
2114
|
* @type {Array<MetaField>}
|
|
@@ -2023,7 +2231,7 @@ export interface UpdateProductsRequestProductsInner {
|
|
|
2023
2231
|
* @type {number}
|
|
2024
2232
|
* @memberof UpdateProductsRequestProductsInner
|
|
2025
2233
|
*/
|
|
2026
|
-
'shopifyId'?: number;
|
|
2234
|
+
'shopifyId'?: number | null;
|
|
2027
2235
|
/**
|
|
2028
2236
|
*
|
|
2029
2237
|
* @type {Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>}
|
|
@@ -2104,7 +2312,7 @@ export interface UpdateProductsRequestProductsInnerVariantsInner {
|
|
|
2104
2312
|
* @type {number}
|
|
2105
2313
|
* @memberof UpdateProductsRequestProductsInnerVariantsInner
|
|
2106
2314
|
*/
|
|
2107
|
-
'shopifyId'?: number;
|
|
2315
|
+
'shopifyId'?: number | null;
|
|
2108
2316
|
/**
|
|
2109
2317
|
*
|
|
2110
2318
|
* @type {Array<UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner>}
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 1.62.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.
|
|
7
|
+
* The version of the OpenAPI document: 1.62.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.
|
|
7
|
+
* The version of the OpenAPI document: 1.62.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|