@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/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.
|
|
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).
|
|
@@ -76,11 +76,11 @@ export interface Application {
|
|
|
76
76
|
*/
|
|
77
77
|
'additionalInstructions'?: string | null;
|
|
78
78
|
/**
|
|
79
|
-
* Publicly available design file URL. This will fill the design area of the warehouse product. It will be centered horizontally and aligned to the top of the design area.
|
|
79
|
+
* Publicly available design file URL. This will fill the design area of the warehouse product. It will be centered horizontally and aligned to the top of the design area.
|
|
80
80
|
* @type {string}
|
|
81
81
|
* @memberof Application
|
|
82
82
|
*/
|
|
83
|
-
'src'
|
|
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 {
|
|
98
|
+
* @type {ApplicationPropertiesProperties}
|
|
99
99
|
* @memberof Application
|
|
100
100
|
*/
|
|
101
|
-
'properties'?:
|
|
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
|
-
*
|
|
143
|
+
*
|
|
144
144
|
* @export
|
|
145
145
|
* @interface ApplicationProperties
|
|
146
146
|
*/
|
|
@@ -163,26 +163,125 @@ export interface ApplicationProperties {
|
|
|
163
163
|
* @memberof ApplicationProperties
|
|
164
164
|
*/
|
|
165
165
|
'position'?: ApplicationPropertiesPosition | null;
|
|
166
|
+
/**
|
|
167
|
+
*
|
|
168
|
+
* @type {ApplicationPropertiesPositionInference}
|
|
169
|
+
* @memberof ApplicationProperties
|
|
170
|
+
*/
|
|
171
|
+
'positionInference'?: ApplicationPropertiesPositionInference | null;
|
|
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;
|
|
166
191
|
}
|
|
167
192
|
/**
|
|
168
|
-
*
|
|
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];
|
|
236
|
+
/**
|
|
237
|
+
* Position of the application relative to the bounding box of the product
|
|
169
238
|
* @export
|
|
170
239
|
* @interface ApplicationPropertiesPosition
|
|
171
240
|
*/
|
|
172
241
|
export interface ApplicationPropertiesPosition {
|
|
173
242
|
/**
|
|
174
|
-
* X coordinate of the application in pixels
|
|
243
|
+
* X coordinate of the application in pixels
|
|
175
244
|
* @type {number}
|
|
176
245
|
* @memberof ApplicationPropertiesPosition
|
|
177
246
|
*/
|
|
178
247
|
'x': number;
|
|
179
248
|
/**
|
|
180
|
-
* Y coordinate of the application in pixels
|
|
249
|
+
* Y coordinate of the application in pixels
|
|
181
250
|
* @type {number}
|
|
182
251
|
* @memberof ApplicationPropertiesPosition
|
|
183
252
|
*/
|
|
184
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;
|
|
185
260
|
}
|
|
261
|
+
/**
|
|
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.
|
|
263
|
+
* @export
|
|
264
|
+
* @interface ApplicationPropertiesPositionInference
|
|
265
|
+
*/
|
|
266
|
+
export interface ApplicationPropertiesPositionInference {
|
|
267
|
+
/**
|
|
268
|
+
* Old mockup with applications. This is used to infer the position of the application.
|
|
269
|
+
* @type {string}
|
|
270
|
+
* @memberof ApplicationPropertiesPositionInference
|
|
271
|
+
*/
|
|
272
|
+
'mockup': string;
|
|
273
|
+
/**
|
|
274
|
+
* Base flat image. This is used to infer the position of the application.
|
|
275
|
+
* @type {string}
|
|
276
|
+
* @memberof ApplicationPropertiesPositionInference
|
|
277
|
+
*/
|
|
278
|
+
'baseFlat': string;
|
|
279
|
+
}
|
|
280
|
+
/**
|
|
281
|
+
* @type ApplicationPropertiesProperties
|
|
282
|
+
* @export
|
|
283
|
+
*/
|
|
284
|
+
export type ApplicationPropertiesProperties = ApplicationProperties | TextApplicationProperties;
|
|
186
285
|
/**
|
|
187
286
|
*
|
|
188
287
|
* @export
|
|
@@ -482,7 +581,7 @@ export interface CreateApplication {
|
|
|
482
581
|
*/
|
|
483
582
|
'additionalInstructions'?: string | null;
|
|
484
583
|
/**
|
|
485
|
-
* Publicly available design file URL. This will fill the design area of the warehouse product. It will be centered horizontally and aligned to the top of the design area.
|
|
584
|
+
* Publicly available design file URL. This will fill the design area of the warehouse product. It will be centered horizontally and aligned to the top of the design area.
|
|
486
585
|
* @type {string}
|
|
487
586
|
* @memberof CreateApplication
|
|
488
587
|
*/
|
|
@@ -495,10 +594,10 @@ export interface CreateApplication {
|
|
|
495
594
|
'stockedOnly'?: boolean;
|
|
496
595
|
/**
|
|
497
596
|
*
|
|
498
|
-
* @type {
|
|
597
|
+
* @type {CreateApplicationProperties}
|
|
499
598
|
* @memberof CreateApplication
|
|
500
599
|
*/
|
|
501
|
-
'properties'?:
|
|
600
|
+
'properties'?: CreateApplicationProperties | null;
|
|
502
601
|
}
|
|
503
602
|
export declare const CreateApplicationTechnologyEnum: {
|
|
504
603
|
readonly Dtg: "dtg";
|
|
@@ -520,6 +619,11 @@ export declare const CreateApplicationPlacementEnum: {
|
|
|
520
619
|
readonly Neck: "neck";
|
|
521
620
|
};
|
|
522
621
|
export type CreateApplicationPlacementEnum = typeof CreateApplicationPlacementEnum[keyof typeof CreateApplicationPlacementEnum];
|
|
622
|
+
/**
|
|
623
|
+
* @type CreateApplicationProperties
|
|
624
|
+
* @export
|
|
625
|
+
*/
|
|
626
|
+
export type CreateApplicationProperties = ApplicationProperties | TextApplicationProperties;
|
|
523
627
|
/**
|
|
524
628
|
*
|
|
525
629
|
* @export
|
|
@@ -684,7 +788,7 @@ export interface CreateBundleProduct {
|
|
|
684
788
|
* @type {number}
|
|
685
789
|
* @memberof CreateBundleProduct
|
|
686
790
|
*/
|
|
687
|
-
'shopifyId'?: number;
|
|
791
|
+
'shopifyId'?: number | null;
|
|
688
792
|
/**
|
|
689
793
|
* Key/value pairs that can be used to store additional information about the product
|
|
690
794
|
* @type {Array<MetaField>}
|
|
@@ -823,7 +927,7 @@ export interface CreateProduct {
|
|
|
823
927
|
* @type {number}
|
|
824
928
|
* @memberof CreateProduct
|
|
825
929
|
*/
|
|
826
|
-
'shopifyId'?: number;
|
|
930
|
+
'shopifyId'?: number | null;
|
|
827
931
|
/**
|
|
828
932
|
* Key/value pairs that can be used to store additional information about the product
|
|
829
933
|
* @type {Array<MetaField>}
|
|
@@ -927,7 +1031,7 @@ export interface CreateProductVariant {
|
|
|
927
1031
|
* @type {number}
|
|
928
1032
|
* @memberof CreateProductVariant
|
|
929
1033
|
*/
|
|
930
|
-
'shopifyId'?: number;
|
|
1034
|
+
'shopifyId'?: number | null;
|
|
931
1035
|
/**
|
|
932
1036
|
*
|
|
933
1037
|
* @type {Array<UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner>}
|
|
@@ -1591,6 +1695,172 @@ export interface TargetSearchPhraseData {
|
|
|
1591
1695
|
*/
|
|
1592
1696
|
'targetSearchPhraseSynonyms'?: Array<string>;
|
|
1593
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
|
+
}
|
|
1594
1864
|
/**
|
|
1595
1865
|
*
|
|
1596
1866
|
* @export
|
|
@@ -1797,7 +2067,7 @@ export interface UpdateProductRequest {
|
|
|
1797
2067
|
* @type {number}
|
|
1798
2068
|
* @memberof UpdateProductRequest
|
|
1799
2069
|
*/
|
|
1800
|
-
'shopifyId'?: number;
|
|
2070
|
+
'shopifyId'?: number | null;
|
|
1801
2071
|
/**
|
|
1802
2072
|
* Key/value pairs that can be used to store additional information about the product
|
|
1803
2073
|
* @type {Array<MetaField>}
|
|
@@ -1920,7 +2190,7 @@ export interface UpdateProductsRequestProductsInner {
|
|
|
1920
2190
|
* @type {number}
|
|
1921
2191
|
* @memberof UpdateProductsRequestProductsInner
|
|
1922
2192
|
*/
|
|
1923
|
-
'shopifyId'?: number;
|
|
2193
|
+
'shopifyId'?: number | null;
|
|
1924
2194
|
/**
|
|
1925
2195
|
*
|
|
1926
2196
|
* @type {Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>}
|
|
@@ -2001,7 +2271,7 @@ export interface UpdateProductsRequestProductsInnerVariantsInner {
|
|
|
2001
2271
|
* @type {number}
|
|
2002
2272
|
* @memberof UpdateProductsRequestProductsInnerVariantsInner
|
|
2003
2273
|
*/
|
|
2004
|
-
'shopifyId'?: number;
|
|
2274
|
+
'shopifyId'?: number | null;
|
|
2005
2275
|
/**
|
|
2006
2276
|
*
|
|
2007
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.
|
|
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'
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Product Catalog API
|
|
3
3
|
* Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
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.
|
|
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/esm/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Product Catalog API
|
|
3
3
|
* Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
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/common.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.
|
|
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.
|
|
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.
|
|
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/esm/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.
|
|
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.
|
|
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.
|
|
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.
|
|
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).
|
package/docs/Application.md
CHANGED
|
@@ -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.
|
|
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** | [**
|
|
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
|
|
|
@@ -9,6 +8,8 @@ Name | Type | Description | Notes
|
|
|
9
8
|
**width** | **number** | Width of the application in pixels | [optional] [default to undefined]
|
|
10
9
|
**height** | **number** | Height of the application in pixels | [optional] [default to undefined]
|
|
11
10
|
**position** | [**ApplicationPropertiesPosition**](ApplicationPropertiesPosition.md) | | [optional] [default to undefined]
|
|
11
|
+
**positionInference** | [**ApplicationPropertiesPositionInference**](ApplicationPropertiesPositionInference.md) | | [optional] [default to undefined]
|
|
12
|
+
**metadata** | [**ApplicationPropertiesMetadata**](ApplicationPropertiesMetadata.md) | | [optional] [default to undefined]
|
|
12
13
|
|
|
13
14
|
## Example
|
|
14
15
|
|
|
@@ -19,6 +20,8 @@ const instance: ApplicationProperties = {
|
|
|
19
20
|
width,
|
|
20
21
|
height,
|
|
21
22
|
position,
|
|
23
|
+
positionInference,
|
|
24
|
+
metadata,
|
|
22
25
|
};
|
|
23
26
|
```
|
|
24
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)
|