@teemill/product-catalog 1.58.1 → 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.
- package/README.md +13 -2
- package/api.ts +301 -18
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +288 -18
- 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 +288 -18
- 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 +4 -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 +5 -3
- package/docs/ApplicationPropertiesPositionInference.md +23 -0
- package/docs/ApplicationPropertiesProperties.md +40 -0
- package/docs/CreateApplication.md +2 -2
- package/docs/CreateApplicationProperties.md +18 -3
- 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.61.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.61.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -79,7 +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)
|
|
87
|
+
- [ApplicationPropertiesPositionInference](docs/ApplicationPropertiesPositionInference.md)
|
|
88
|
+
- [ApplicationPropertiesProperties](docs/ApplicationPropertiesProperties.md)
|
|
83
89
|
- [ApplicationSet](docs/ApplicationSet.md)
|
|
84
90
|
- [ApplicationSet1](docs/ApplicationSet1.md)
|
|
85
91
|
- [ApplicationSetRecord](docs/ApplicationSetRecord.md)
|
|
@@ -91,6 +97,7 @@ Class | Method | HTTP request | Description
|
|
|
91
97
|
- [AttributeThumbnail](docs/AttributeThumbnail.md)
|
|
92
98
|
- [Attributes1Inner](docs/Attributes1Inner.md)
|
|
93
99
|
- [CreateApplication](docs/CreateApplication.md)
|
|
100
|
+
- [CreateApplicationProperties](docs/CreateApplicationProperties.md)
|
|
94
101
|
- [CreateApplicationSetRequest](docs/CreateApplicationSetRequest.md)
|
|
95
102
|
- [CreateApplicationSetRequestRecordsInner](docs/CreateApplicationSetRequestRecordsInner.md)
|
|
96
103
|
- [CreateApplicationSetRequestRecordsInnerAttributesInner](docs/CreateApplicationSetRequestRecordsInnerAttributesInner.md)
|
|
@@ -124,6 +131,10 @@ Class | Method | HTTP request | Description
|
|
|
124
131
|
- [SeoOptimiseProductsRequest](docs/SeoOptimiseProductsRequest.md)
|
|
125
132
|
- [Stock](docs/Stock.md)
|
|
126
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)
|
|
127
138
|
- [UpdateApplicationSetRequest](docs/UpdateApplicationSetRequest.md)
|
|
128
139
|
- [UpdateApplicationSetRequestRecordsInner](docs/UpdateApplicationSetRequestRecordsInner.md)
|
|
129
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.61.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -86,11 +86,11 @@ export interface Application {
|
|
|
86
86
|
*/
|
|
87
87
|
'additionalInstructions'?: string | null;
|
|
88
88
|
/**
|
|
89
|
-
* Publicly available design file URL. This will fill the design area of the warehouse product. It will be centered horizontally and aligned to the top of the design area.
|
|
89
|
+
* Publicly available design file URL. This will fill the design area of the warehouse product. It will be centered horizontally and aligned to the top of the design area.
|
|
90
90
|
* @type {string}
|
|
91
91
|
* @memberof Application
|
|
92
92
|
*/
|
|
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
|
*/
|
|
@@ -177,26 +177,130 @@ export interface ApplicationProperties {
|
|
|
177
177
|
* @memberof ApplicationProperties
|
|
178
178
|
*/
|
|
179
179
|
'position'?: ApplicationPropertiesPosition | null;
|
|
180
|
+
/**
|
|
181
|
+
*
|
|
182
|
+
* @type {ApplicationPropertiesPositionInference}
|
|
183
|
+
* @memberof ApplicationProperties
|
|
184
|
+
*/
|
|
185
|
+
'positionInference'?: ApplicationPropertiesPositionInference | null;
|
|
186
|
+
/**
|
|
187
|
+
*
|
|
188
|
+
* @type {ApplicationPropertiesMetadata}
|
|
189
|
+
* @memberof ApplicationProperties
|
|
190
|
+
*/
|
|
191
|
+
'metadata'?: ApplicationPropertiesMetadata;
|
|
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;
|
|
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;
|
|
180
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
|
+
|
|
181
254
|
/**
|
|
182
|
-
* Position of the application
|
|
255
|
+
* Position of the application relative to the bounding box of the product
|
|
183
256
|
* @export
|
|
184
257
|
* @interface ApplicationPropertiesPosition
|
|
185
258
|
*/
|
|
186
259
|
export interface ApplicationPropertiesPosition {
|
|
187
260
|
/**
|
|
188
|
-
* X coordinate of the application in pixels
|
|
261
|
+
* X coordinate of the application in pixels
|
|
189
262
|
* @type {number}
|
|
190
263
|
* @memberof ApplicationPropertiesPosition
|
|
191
264
|
*/
|
|
192
265
|
'x': number;
|
|
193
266
|
/**
|
|
194
|
-
* Y coordinate of the application in pixels
|
|
267
|
+
* Y coordinate of the application in pixels
|
|
195
268
|
* @type {number}
|
|
196
269
|
* @memberof ApplicationPropertiesPosition
|
|
197
270
|
*/
|
|
198
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;
|
|
199
278
|
}
|
|
279
|
+
/**
|
|
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.
|
|
281
|
+
* @export
|
|
282
|
+
* @interface ApplicationPropertiesPositionInference
|
|
283
|
+
*/
|
|
284
|
+
export interface ApplicationPropertiesPositionInference {
|
|
285
|
+
/**
|
|
286
|
+
* Old mockup with applications. This is used to infer the position of the application.
|
|
287
|
+
* @type {string}
|
|
288
|
+
* @memberof ApplicationPropertiesPositionInference
|
|
289
|
+
*/
|
|
290
|
+
'mockup': string;
|
|
291
|
+
/**
|
|
292
|
+
* Base flat image. This is used to infer the position of the application.
|
|
293
|
+
* @type {string}
|
|
294
|
+
* @memberof ApplicationPropertiesPositionInference
|
|
295
|
+
*/
|
|
296
|
+
'baseFlat': string;
|
|
297
|
+
}
|
|
298
|
+
/**
|
|
299
|
+
* @type ApplicationPropertiesProperties
|
|
300
|
+
* @export
|
|
301
|
+
*/
|
|
302
|
+
export type ApplicationPropertiesProperties = ApplicationProperties | TextApplicationProperties;
|
|
303
|
+
|
|
200
304
|
/**
|
|
201
305
|
*
|
|
202
306
|
* @export
|
|
@@ -499,7 +603,7 @@ export interface CreateApplication {
|
|
|
499
603
|
*/
|
|
500
604
|
'additionalInstructions'?: string | null;
|
|
501
605
|
/**
|
|
502
|
-
* Publicly available design file URL. This will fill the design area of the warehouse product. It will be centered horizontally and aligned to the top of the design area.
|
|
606
|
+
* Publicly available design file URL. This will fill the design area of the warehouse product. It will be centered horizontally and aligned to the top of the design area.
|
|
503
607
|
* @type {string}
|
|
504
608
|
* @memberof CreateApplication
|
|
505
609
|
*/
|
|
@@ -512,10 +616,10 @@ export interface CreateApplication {
|
|
|
512
616
|
'stockedOnly'?: boolean;
|
|
513
617
|
/**
|
|
514
618
|
*
|
|
515
|
-
* @type {
|
|
619
|
+
* @type {CreateApplicationProperties}
|
|
516
620
|
* @memberof CreateApplication
|
|
517
621
|
*/
|
|
518
|
-
'properties'?:
|
|
622
|
+
'properties'?: CreateApplicationProperties | null;
|
|
519
623
|
}
|
|
520
624
|
|
|
521
625
|
export const CreateApplicationTechnologyEnum = {
|
|
@@ -541,6 +645,12 @@ export const CreateApplicationPlacementEnum = {
|
|
|
541
645
|
|
|
542
646
|
export type CreateApplicationPlacementEnum = typeof CreateApplicationPlacementEnum[keyof typeof CreateApplicationPlacementEnum];
|
|
543
647
|
|
|
648
|
+
/**
|
|
649
|
+
* @type CreateApplicationProperties
|
|
650
|
+
* @export
|
|
651
|
+
*/
|
|
652
|
+
export type CreateApplicationProperties = ApplicationProperties | TextApplicationProperties;
|
|
653
|
+
|
|
544
654
|
/**
|
|
545
655
|
*
|
|
546
656
|
* @export
|
|
@@ -705,7 +815,7 @@ export interface CreateBundleProduct {
|
|
|
705
815
|
* @type {number}
|
|
706
816
|
* @memberof CreateBundleProduct
|
|
707
817
|
*/
|
|
708
|
-
'shopifyId'?: number;
|
|
818
|
+
'shopifyId'?: number | null;
|
|
709
819
|
/**
|
|
710
820
|
* Key/value pairs that can be used to store additional information about the product
|
|
711
821
|
* @type {Array<MetaField>}
|
|
@@ -844,7 +954,7 @@ export interface CreateProduct {
|
|
|
844
954
|
* @type {number}
|
|
845
955
|
* @memberof CreateProduct
|
|
846
956
|
*/
|
|
847
|
-
'shopifyId'?: number;
|
|
957
|
+
'shopifyId'?: number | null;
|
|
848
958
|
/**
|
|
849
959
|
* Key/value pairs that can be used to store additional information about the product
|
|
850
960
|
* @type {Array<MetaField>}
|
|
@@ -949,7 +1059,7 @@ export interface CreateProductVariant {
|
|
|
949
1059
|
* @type {number}
|
|
950
1060
|
* @memberof CreateProductVariant
|
|
951
1061
|
*/
|
|
952
|
-
'shopifyId'?: number;
|
|
1062
|
+
'shopifyId'?: number | null;
|
|
953
1063
|
/**
|
|
954
1064
|
*
|
|
955
1065
|
* @type {Array<UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner>}
|
|
@@ -1619,6 +1729,179 @@ export interface TargetSearchPhraseData {
|
|
|
1619
1729
|
*/
|
|
1620
1730
|
'targetSearchPhraseSynonyms'?: Array<string>;
|
|
1621
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
|
+
}
|
|
1622
1905
|
/**
|
|
1623
1906
|
*
|
|
1624
1907
|
* @export
|
|
@@ -1825,7 +2108,7 @@ export interface UpdateProductRequest {
|
|
|
1825
2108
|
* @type {number}
|
|
1826
2109
|
* @memberof UpdateProductRequest
|
|
1827
2110
|
*/
|
|
1828
|
-
'shopifyId'?: number;
|
|
2111
|
+
'shopifyId'?: number | null;
|
|
1829
2112
|
/**
|
|
1830
2113
|
* Key/value pairs that can be used to store additional information about the product
|
|
1831
2114
|
* @type {Array<MetaField>}
|
|
@@ -1948,7 +2231,7 @@ export interface UpdateProductsRequestProductsInner {
|
|
|
1948
2231
|
* @type {number}
|
|
1949
2232
|
* @memberof UpdateProductsRequestProductsInner
|
|
1950
2233
|
*/
|
|
1951
|
-
'shopifyId'?: number;
|
|
2234
|
+
'shopifyId'?: number | null;
|
|
1952
2235
|
/**
|
|
1953
2236
|
*
|
|
1954
2237
|
* @type {Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>}
|
|
@@ -2029,7 +2312,7 @@ export interface UpdateProductsRequestProductsInnerVariantsInner {
|
|
|
2029
2312
|
* @type {number}
|
|
2030
2313
|
* @memberof UpdateProductsRequestProductsInnerVariantsInner
|
|
2031
2314
|
*/
|
|
2032
|
-
'shopifyId'?: number;
|
|
2315
|
+
'shopifyId'?: number | null;
|
|
2033
2316
|
/**
|
|
2034
2317
|
*
|
|
2035
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.61.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.61.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.61.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|