@teemill/product-catalog 1.92.0 → 1.92.1
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/.openapi-generator/FILES +0 -1
- package/README.md +2 -3
- package/api.ts +274 -47
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +248 -41
- package/dist/api.js +35 -15
- 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 +248 -41
- package/dist/esm/api.js +35 -15
- 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/Action.md +2 -1
- package/docs/AdditionalFile.md +1 -0
- package/docs/AnalyticsItem.md +1 -0
- package/docs/AnalyticsSummary.md +1 -0
- package/docs/ApiError.md +3 -2
- package/docs/Application.md +2 -1
- package/docs/ApplicationGroup.md +3 -2
- package/docs/ApplicationProperties.md +1 -0
- package/docs/ApplicationPropertiesPersonalization.md +1 -0
- package/docs/ApplicationSet.md +3 -2
- package/docs/ApplicationSetRecord.md +2 -1
- package/docs/ApplicationTechnologiesApi.md +7 -1
- package/docs/ApplicationTechnology.md +2 -1
- package/docs/BundleProduct.md +9 -8
- package/docs/CreateApplication.md +1 -0
- package/docs/CreateBundleProduct.md +2 -1
- package/docs/CreateProduct.md +1 -0
- package/docs/CreateProductRequest.md +1 -1
- package/docs/CreateProductVariant.md +1 -0
- package/docs/Image.md +2 -2
- package/docs/ImageFile.md +1 -0
- package/docs/Location.md +1 -0
- package/docs/NamedPrice.md +2 -1
- package/docs/OptimisationHistoryItem.md +3 -2
- package/docs/Product.md +9 -8
- package/docs/ProductAnalyticsApi.md +2 -2
- package/docs/ProductBundleItemsInner.md +8 -8
- package/docs/ProductCreatorsApi.md +7 -1
- package/docs/ProductType.md +2 -1
- package/docs/ProductsApi.md +6 -6
- package/docs/Recommendation.md +2 -1
- package/docs/Stock.md +3 -2
- package/docs/TargetSearchPhraseData.md +1 -0
- package/docs/TextApplicationProperties.md +1 -0
- package/docs/TextApplicationPropertiesPersonalization.md +1 -0
- package/docs/UpdateProductRequest.md +2 -2
- package/docs/UpdateProductRequestBundleItemsInner.md +1 -1
- package/docs/UserList.md +2 -1
- package/docs/Variant.md +5 -4
- package/docs/VariantWholesaleCost.md +2 -2
- package/docs/Video.md +2 -2
- package/docs/VideoFile.md +1 -0
- package/index.ts +1 -1
- package/package.json +2 -2
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.92.
|
|
5
|
+
* The version of the OpenAPI document: 1.92.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,9 +13,12 @@ import type { Configuration } from './configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import type { RequestArgs } from './base';
|
|
15
15
|
import { BaseAPI } from './base';
|
|
16
|
+
/**
|
|
17
|
+
* A specific action that can be taken to implement a recommendation.
|
|
18
|
+
*/
|
|
16
19
|
export interface Action {
|
|
17
20
|
/**
|
|
18
|
-
*
|
|
21
|
+
* The unique identifier of this action.
|
|
19
22
|
*/
|
|
20
23
|
'id': string;
|
|
21
24
|
/**
|
|
@@ -40,12 +43,18 @@ export declare const ActionImpactEnum: {
|
|
|
40
43
|
readonly Low: "low";
|
|
41
44
|
};
|
|
42
45
|
export type ActionImpactEnum = typeof ActionImpactEnum[keyof typeof ActionImpactEnum];
|
|
46
|
+
/**
|
|
47
|
+
* An additional file to attach to a product (e.g. size guide, care instructions).
|
|
48
|
+
*/
|
|
43
49
|
export interface AdditionalFile {
|
|
44
50
|
/**
|
|
45
51
|
* Publicly available file URL.
|
|
46
52
|
*/
|
|
47
53
|
'src'?: string;
|
|
48
54
|
}
|
|
55
|
+
/**
|
|
56
|
+
* Analytics data for a product including revenue, sales, traffic, and conversion metrics.
|
|
57
|
+
*/
|
|
49
58
|
export interface AnalyticsItem {
|
|
50
59
|
/**
|
|
51
60
|
* Unique object identifier
|
|
@@ -72,6 +81,9 @@ export interface AnalyticsItem {
|
|
|
72
81
|
*/
|
|
73
82
|
'revenue': number;
|
|
74
83
|
}
|
|
84
|
+
/**
|
|
85
|
+
* An AI-generated summary of product analytics with actionable recommendations.
|
|
86
|
+
*/
|
|
75
87
|
export interface AnalyticsSummary {
|
|
76
88
|
/**
|
|
77
89
|
* A summary of the recommendations
|
|
@@ -81,13 +93,25 @@ export interface AnalyticsSummary {
|
|
|
81
93
|
'createdAt': string;
|
|
82
94
|
'updatedAt': string;
|
|
83
95
|
}
|
|
96
|
+
/**
|
|
97
|
+
* Represents an error returned by the API.
|
|
98
|
+
*/
|
|
84
99
|
export interface ApiError {
|
|
100
|
+
/**
|
|
101
|
+
* A machine-readable error code identifying the type of error.
|
|
102
|
+
*/
|
|
85
103
|
'code'?: string;
|
|
104
|
+
/**
|
|
105
|
+
* A human-readable message providing more details about the error.
|
|
106
|
+
*/
|
|
86
107
|
'message': string;
|
|
87
108
|
}
|
|
109
|
+
/**
|
|
110
|
+
* A design application on a product variant, specifying the technology, placement, design file, and optional personalisation.
|
|
111
|
+
*/
|
|
88
112
|
export interface Application {
|
|
89
113
|
/**
|
|
90
|
-
*
|
|
114
|
+
* The unique identifier of this application.
|
|
91
115
|
*/
|
|
92
116
|
'id'?: string;
|
|
93
117
|
/**
|
|
@@ -139,13 +163,16 @@ export declare const ApplicationPlacementEnum: {
|
|
|
139
163
|
readonly Neck: "neck";
|
|
140
164
|
};
|
|
141
165
|
export type ApplicationPlacementEnum = typeof ApplicationPlacementEnum[keyof typeof ApplicationPlacementEnum];
|
|
166
|
+
/**
|
|
167
|
+
* A named group of design applications that can be reused across multiple products.
|
|
168
|
+
*/
|
|
142
169
|
export interface ApplicationGroup {
|
|
143
170
|
/**
|
|
144
|
-
*
|
|
171
|
+
* The unique identifier of the application group.
|
|
145
172
|
*/
|
|
146
173
|
'id': string;
|
|
147
174
|
/**
|
|
148
|
-
* A reference to
|
|
175
|
+
* A URI reference to this application group resource.
|
|
149
176
|
*/
|
|
150
177
|
'ref': string;
|
|
151
178
|
/**
|
|
@@ -172,6 +199,9 @@ export interface ApplicationMockup {
|
|
|
172
199
|
*/
|
|
173
200
|
'preview'?: string;
|
|
174
201
|
}
|
|
202
|
+
/**
|
|
203
|
+
* Properties of a design application including dimensions, position, and optional personalisation rules. Null when the application has no configurable properties.
|
|
204
|
+
*/
|
|
175
205
|
export interface ApplicationProperties {
|
|
176
206
|
/**
|
|
177
207
|
* Width of the application in pixels
|
|
@@ -192,6 +222,9 @@ export interface ApplicationPropertiesMetadata {
|
|
|
192
222
|
* @type ApplicationPropertiesMetadataPersonalization
|
|
193
223
|
*/
|
|
194
224
|
export type ApplicationPropertiesMetadataPersonalization = ApplicationPropertiesPersonalization | TextApplicationPropertiesPersonalization;
|
|
225
|
+
/**
|
|
226
|
+
* Personalisation configuration for a design application, allowing end-users to customise the design.
|
|
227
|
+
*/
|
|
195
228
|
export interface ApplicationPropertiesPersonalization {
|
|
196
229
|
/**
|
|
197
230
|
* The label to be displayed on the personalization field.
|
|
@@ -296,13 +329,16 @@ export declare const ApplicationPropertiesPropertiesFontStyleEnum: {
|
|
|
296
329
|
readonly Oblique: "oblique";
|
|
297
330
|
};
|
|
298
331
|
export type ApplicationPropertiesPropertiesFontStyleEnum = typeof ApplicationPropertiesPropertiesFontStyleEnum[keyof typeof ApplicationPropertiesPropertiesFontStyleEnum];
|
|
332
|
+
/**
|
|
333
|
+
* A set of application records that defines which design applications are applied to which variants.
|
|
334
|
+
*/
|
|
299
335
|
export interface ApplicationSet {
|
|
300
336
|
/**
|
|
301
|
-
*
|
|
337
|
+
* The unique identifier of the application set.
|
|
302
338
|
*/
|
|
303
339
|
'id': string;
|
|
304
340
|
/**
|
|
305
|
-
* A reference to
|
|
341
|
+
* A URI reference to this application set resource.
|
|
306
342
|
*/
|
|
307
343
|
'ref': string;
|
|
308
344
|
/**
|
|
@@ -342,9 +378,12 @@ export interface ApplicationSet1 {
|
|
|
342
378
|
*/
|
|
343
379
|
'ref'?: string;
|
|
344
380
|
}
|
|
381
|
+
/**
|
|
382
|
+
* A record within an application set, linking a specific application to a set.
|
|
383
|
+
*/
|
|
345
384
|
export interface ApplicationSetRecord {
|
|
346
385
|
/**
|
|
347
|
-
*
|
|
386
|
+
* The unique identifier of this record.
|
|
348
387
|
*/
|
|
349
388
|
'id'?: string;
|
|
350
389
|
'set'?: ApplicationSet1;
|
|
@@ -367,9 +406,12 @@ export interface ApplicationSetsResponse {
|
|
|
367
406
|
export interface ApplicationTechnologiesResponse {
|
|
368
407
|
'applicationTechnologies'?: Array<ApplicationTechnology>;
|
|
369
408
|
}
|
|
409
|
+
/**
|
|
410
|
+
* A print or application technology available for use on catalog products.
|
|
411
|
+
*/
|
|
370
412
|
export interface ApplicationTechnology {
|
|
371
413
|
/**
|
|
372
|
-
*
|
|
414
|
+
* The unique identifier of the technology.
|
|
373
415
|
*/
|
|
374
416
|
'id'?: string;
|
|
375
417
|
/**
|
|
@@ -424,15 +466,21 @@ export interface Attributes1Inner {
|
|
|
424
466
|
'name'?: string;
|
|
425
467
|
'value'?: string;
|
|
426
468
|
}
|
|
469
|
+
/**
|
|
470
|
+
* A bundle product that groups multiple items together at a combined price.
|
|
471
|
+
*/
|
|
427
472
|
export interface BundleProduct {
|
|
428
473
|
/**
|
|
429
|
-
*
|
|
474
|
+
* The unique identifier of the bundle product.
|
|
430
475
|
*/
|
|
431
476
|
'id'?: string;
|
|
432
477
|
/**
|
|
433
|
-
* A reference to
|
|
478
|
+
* A URI reference to this bundle product resource.
|
|
434
479
|
*/
|
|
435
480
|
'ref'?: string;
|
|
481
|
+
/**
|
|
482
|
+
* The display title of the bundle product.
|
|
483
|
+
*/
|
|
436
484
|
'title': string;
|
|
437
485
|
'description': string;
|
|
438
486
|
'slug'?: string;
|
|
@@ -457,7 +505,13 @@ export interface BundleProduct {
|
|
|
457
505
|
* Variants
|
|
458
506
|
*/
|
|
459
507
|
'variants'?: Array<Variant>;
|
|
508
|
+
/**
|
|
509
|
+
* The retail price of the product, including tax. Only provided if the product is a bundle.
|
|
510
|
+
*/
|
|
460
511
|
'retailPrice'?: Price;
|
|
512
|
+
/**
|
|
513
|
+
* The sale price of the product, including tax. Only provided if the product is a bundle.
|
|
514
|
+
*/
|
|
461
515
|
'salePrice'?: SalePrice | null;
|
|
462
516
|
/**
|
|
463
517
|
* Additional files attached to the product.
|
|
@@ -475,12 +529,21 @@ export interface BundleProduct {
|
|
|
475
529
|
* A count of reviews. This field is only present if included in the fields query parameter
|
|
476
530
|
*/
|
|
477
531
|
'reviewCount'?: number;
|
|
532
|
+
/**
|
|
533
|
+
* A unique identifier for a specific variant (product + colour + size).
|
|
534
|
+
*/
|
|
478
535
|
'sku'?: string;
|
|
479
536
|
/**
|
|
480
537
|
* A count of sales. This field is only present if included in the fields query parameter
|
|
481
538
|
*/
|
|
482
539
|
'sales'?: number;
|
|
540
|
+
/**
|
|
541
|
+
* The start of the window in which sales are counted
|
|
542
|
+
*/
|
|
483
543
|
'salesStart'?: string;
|
|
544
|
+
/**
|
|
545
|
+
* The end of the window in which sales are counted
|
|
546
|
+
*/
|
|
484
547
|
'salesEnd'?: string;
|
|
485
548
|
'includeInDataFeeds'?: boolean;
|
|
486
549
|
/**
|
|
@@ -511,6 +574,9 @@ export interface BundleProduct {
|
|
|
511
574
|
'showSaleBadge'?: boolean;
|
|
512
575
|
'license'?: License;
|
|
513
576
|
}
|
|
577
|
+
/**
|
|
578
|
+
* The payload for creating a new design application on a product variant.
|
|
579
|
+
*/
|
|
514
580
|
export interface CreateApplication {
|
|
515
581
|
/**
|
|
516
582
|
* The application technology used for this design application. `mug_sublimation` is deprecated. Use `sublimation_small` instead.
|
|
@@ -666,6 +732,9 @@ export interface CreateApplicationSetRequestRecordsInnerAttributesInner {
|
|
|
666
732
|
*/
|
|
667
733
|
'value': string;
|
|
668
734
|
}
|
|
735
|
+
/**
|
|
736
|
+
* The payload for creating a new bundle product that groups multiple items together.
|
|
737
|
+
*/
|
|
669
738
|
export interface CreateBundleProduct {
|
|
670
739
|
/**
|
|
671
740
|
* Product title
|
|
@@ -723,17 +792,11 @@ export interface CreateBundleProduct {
|
|
|
723
792
|
/**
|
|
724
793
|
* A list of product uuids to include in this bundle
|
|
725
794
|
*/
|
|
726
|
-
'bundleItems': Array<
|
|
795
|
+
'bundleItems': Array<UpdateProductRequestBundleItemsInner>;
|
|
727
796
|
'retailPrice'?: Price;
|
|
728
797
|
'salePrice'?: SalePrice | null;
|
|
729
798
|
'price'?: Price;
|
|
730
799
|
}
|
|
731
|
-
export interface CreateBundleProductBundleItemsInner {
|
|
732
|
-
/**
|
|
733
|
-
* Unique object identifier
|
|
734
|
-
*/
|
|
735
|
-
'id'?: string;
|
|
736
|
-
}
|
|
737
800
|
export interface CreateBundleProductSeoMetadata {
|
|
738
801
|
/**
|
|
739
802
|
* Meta title for the product. This appears in search engine results and social shares. If not provided, the product title will be used.
|
|
@@ -788,6 +851,9 @@ export interface CreateDigitalProductVariantsInnerImagesInner {
|
|
|
788
851
|
*/
|
|
789
852
|
'src': string;
|
|
790
853
|
}
|
|
854
|
+
/**
|
|
855
|
+
* The payload for creating a new catalog product from a GFN base product.
|
|
856
|
+
*/
|
|
791
857
|
export interface CreateProduct {
|
|
792
858
|
/**
|
|
793
859
|
* Reference to the product in the GFN catalog that will be used as a base for this product. A list of available products for the given project can be obtained from the GFN Catalog API.
|
|
@@ -892,6 +958,9 @@ export interface CreateProductImagesInner {
|
|
|
892
958
|
* @type CreateProductRequest
|
|
893
959
|
*/
|
|
894
960
|
export type CreateProductRequest = CreateBundleProduct | CreateDigitalProduct | CreateProduct;
|
|
961
|
+
/**
|
|
962
|
+
* The payload for creating a new variant on a catalog product.
|
|
963
|
+
*/
|
|
895
964
|
export interface CreateProductVariant {
|
|
896
965
|
/**
|
|
897
966
|
* One entry per attribute (e.g. Size, Colour). The name and value of each attribute must match the GFN Catalog API exactly — use the GFN Catalog API to list the product and its variants to get the exact strings (casing and spelling must match).
|
|
@@ -978,11 +1047,11 @@ export interface ExportProducts202Response {
|
|
|
978
1047
|
'message'?: string;
|
|
979
1048
|
}
|
|
980
1049
|
/**
|
|
981
|
-
*
|
|
1050
|
+
* An image associated with a product or variant.
|
|
982
1051
|
*/
|
|
983
1052
|
export interface Image {
|
|
984
1053
|
/**
|
|
985
|
-
*
|
|
1054
|
+
* The unique identifier of the image.
|
|
986
1055
|
*/
|
|
987
1056
|
'id'?: string;
|
|
988
1057
|
'src': string;
|
|
@@ -996,6 +1065,9 @@ export interface Image {
|
|
|
996
1065
|
'createdAt'?: string;
|
|
997
1066
|
'updatedAt'?: string;
|
|
998
1067
|
}
|
|
1068
|
+
/**
|
|
1069
|
+
* An image file to attach to a product, specified by a publicly available URL.
|
|
1070
|
+
*/
|
|
999
1071
|
export interface ImageFile {
|
|
1000
1072
|
/**
|
|
1001
1073
|
* Publicly available file URL.
|
|
@@ -1051,6 +1123,9 @@ export interface License {
|
|
|
1051
1123
|
*/
|
|
1052
1124
|
'expiresAt'?: string;
|
|
1053
1125
|
}
|
|
1126
|
+
/**
|
|
1127
|
+
* A stock location showing the number of units available at a specific warehouse location.
|
|
1128
|
+
*/
|
|
1054
1129
|
export interface Location {
|
|
1055
1130
|
/**
|
|
1056
1131
|
* The total number of units available at the location
|
|
@@ -1074,18 +1149,30 @@ export interface MetaField {
|
|
|
1074
1149
|
*/
|
|
1075
1150
|
'value': string;
|
|
1076
1151
|
}
|
|
1152
|
+
/**
|
|
1153
|
+
* A named price component (e.g. Fulfillment, Application) with its amount and currency.
|
|
1154
|
+
*/
|
|
1077
1155
|
export interface NamedPrice {
|
|
1078
1156
|
/**
|
|
1079
1157
|
* The name of the price
|
|
1080
1158
|
*/
|
|
1081
1159
|
'name': string;
|
|
1160
|
+
/**
|
|
1161
|
+
* The price amount and currency.
|
|
1162
|
+
*/
|
|
1082
1163
|
'price': RequiredPrice;
|
|
1083
1164
|
}
|
|
1165
|
+
/**
|
|
1166
|
+
* A record of an AI SEO optimisation performed on a product.
|
|
1167
|
+
*/
|
|
1084
1168
|
export interface OptimisationHistoryItem {
|
|
1085
1169
|
/**
|
|
1086
|
-
*
|
|
1170
|
+
* The unique identifier of this optimisation.
|
|
1087
1171
|
*/
|
|
1088
1172
|
'id'?: string;
|
|
1173
|
+
/**
|
|
1174
|
+
* The timestamp when this optimisation was performed.
|
|
1175
|
+
*/
|
|
1089
1176
|
'createdAt'?: string;
|
|
1090
1177
|
}
|
|
1091
1178
|
/**
|
|
@@ -1105,15 +1192,21 @@ export declare const PriceCurrencyCodeEnum: {
|
|
|
1105
1192
|
readonly Gbp: "GBP";
|
|
1106
1193
|
};
|
|
1107
1194
|
export type PriceCurrencyCodeEnum = typeof PriceCurrencyCodeEnum[keyof typeof PriceCurrencyCodeEnum];
|
|
1195
|
+
/**
|
|
1196
|
+
* A catalog product listing that can be purchased, containing design applications, pricing, variants, and SEO metadata.
|
|
1197
|
+
*/
|
|
1108
1198
|
export interface Product {
|
|
1109
1199
|
/**
|
|
1110
|
-
*
|
|
1200
|
+
* The unique identifier of the product.
|
|
1111
1201
|
*/
|
|
1112
1202
|
'id'?: string;
|
|
1113
1203
|
/**
|
|
1114
|
-
* A reference to
|
|
1204
|
+
* A URI reference to this product resource.
|
|
1115
1205
|
*/
|
|
1116
1206
|
'ref'?: string;
|
|
1207
|
+
/**
|
|
1208
|
+
* The display title of the product.
|
|
1209
|
+
*/
|
|
1117
1210
|
'title': string;
|
|
1118
1211
|
'description': string;
|
|
1119
1212
|
'slug'?: string;
|
|
@@ -1142,7 +1235,13 @@ export interface Product {
|
|
|
1142
1235
|
* Products in the bundle.
|
|
1143
1236
|
*/
|
|
1144
1237
|
'bundleItems'?: Array<ProductBundleItemsInner>;
|
|
1238
|
+
/**
|
|
1239
|
+
* The retail price of the product, including tax. Only provided if the product is a bundle.
|
|
1240
|
+
*/
|
|
1145
1241
|
'retailPrice'?: Price;
|
|
1242
|
+
/**
|
|
1243
|
+
* The sale price of the product, including tax. Only provided if the product is a bundle.
|
|
1244
|
+
*/
|
|
1146
1245
|
'salePrice'?: SalePrice | null;
|
|
1147
1246
|
/**
|
|
1148
1247
|
* Additional files attached to the product.
|
|
@@ -1160,12 +1259,21 @@ export interface Product {
|
|
|
1160
1259
|
* A count of reviews. This field is only present if included in the fields query parameter
|
|
1161
1260
|
*/
|
|
1162
1261
|
'reviewCount'?: number;
|
|
1262
|
+
/**
|
|
1263
|
+
* A unique identifier for a specific variant (product + colour + size).
|
|
1264
|
+
*/
|
|
1163
1265
|
'sku'?: string;
|
|
1164
1266
|
/**
|
|
1165
1267
|
* A count of sales. This field is only present if included in the fields query parameter
|
|
1166
1268
|
*/
|
|
1167
1269
|
'sales'?: number;
|
|
1270
|
+
/**
|
|
1271
|
+
* The start of the window in which sales are counted
|
|
1272
|
+
*/
|
|
1168
1273
|
'salesStart'?: string;
|
|
1274
|
+
/**
|
|
1275
|
+
* The end of the window in which sales are counted
|
|
1276
|
+
*/
|
|
1169
1277
|
'salesEnd'?: string;
|
|
1170
1278
|
'includeInDataFeeds'?: boolean;
|
|
1171
1279
|
/**
|
|
@@ -1263,13 +1371,16 @@ export interface ProductApplicationSetsInner {
|
|
|
1263
1371
|
}
|
|
1264
1372
|
export interface ProductBundleItemsInner {
|
|
1265
1373
|
/**
|
|
1266
|
-
*
|
|
1374
|
+
* The unique identifier of the bundle product.
|
|
1267
1375
|
*/
|
|
1268
1376
|
'id'?: string;
|
|
1269
1377
|
/**
|
|
1270
|
-
* A reference to
|
|
1378
|
+
* A URI reference to this bundle product resource.
|
|
1271
1379
|
*/
|
|
1272
1380
|
'ref'?: string;
|
|
1381
|
+
/**
|
|
1382
|
+
* The display title of the bundle product.
|
|
1383
|
+
*/
|
|
1273
1384
|
'title': string;
|
|
1274
1385
|
'description': string;
|
|
1275
1386
|
'slug'?: string;
|
|
@@ -1294,7 +1405,13 @@ export interface ProductBundleItemsInner {
|
|
|
1294
1405
|
* Variants
|
|
1295
1406
|
*/
|
|
1296
1407
|
'variants'?: Array<Variant>;
|
|
1408
|
+
/**
|
|
1409
|
+
* The retail price of the product, including tax. Only provided if the product is a bundle.
|
|
1410
|
+
*/
|
|
1297
1411
|
'retailPrice'?: Price;
|
|
1412
|
+
/**
|
|
1413
|
+
* The sale price of the product, including tax. Only provided if the product is a bundle.
|
|
1414
|
+
*/
|
|
1298
1415
|
'salePrice'?: SalePrice | null;
|
|
1299
1416
|
/**
|
|
1300
1417
|
* Additional files attached to the product.
|
|
@@ -1312,12 +1429,21 @@ export interface ProductBundleItemsInner {
|
|
|
1312
1429
|
* A count of reviews. This field is only present if included in the fields query parameter
|
|
1313
1430
|
*/
|
|
1314
1431
|
'reviewCount'?: number;
|
|
1432
|
+
/**
|
|
1433
|
+
* A unique identifier for a specific variant (product + colour + size).
|
|
1434
|
+
*/
|
|
1315
1435
|
'sku'?: string;
|
|
1316
1436
|
/**
|
|
1317
1437
|
* A count of sales. This field is only present if included in the fields query parameter
|
|
1318
1438
|
*/
|
|
1319
1439
|
'sales'?: number;
|
|
1440
|
+
/**
|
|
1441
|
+
* The start of the window in which sales are counted
|
|
1442
|
+
*/
|
|
1320
1443
|
'salesStart'?: string;
|
|
1444
|
+
/**
|
|
1445
|
+
* The end of the window in which sales are counted
|
|
1446
|
+
*/
|
|
1321
1447
|
'salesEnd'?: string;
|
|
1322
1448
|
'includeInDataFeeds'?: boolean;
|
|
1323
1449
|
/**
|
|
@@ -1370,9 +1496,12 @@ export interface ProductStaticCollectionsInner {
|
|
|
1370
1496
|
'id'?: string;
|
|
1371
1497
|
'title'?: string;
|
|
1372
1498
|
}
|
|
1499
|
+
/**
|
|
1500
|
+
* A type of product available in the catalog (e.g. Printed T-Shirt, Embroidered Hoodie).
|
|
1501
|
+
*/
|
|
1373
1502
|
export interface ProductType {
|
|
1374
1503
|
/**
|
|
1375
|
-
*
|
|
1504
|
+
* The unique identifier of the product type.
|
|
1376
1505
|
*/
|
|
1377
1506
|
'id': string;
|
|
1378
1507
|
/**
|
|
@@ -1411,9 +1540,12 @@ export interface ProductsResponse {
|
|
|
1411
1540
|
*/
|
|
1412
1541
|
'nextPageToken'?: number | null;
|
|
1413
1542
|
}
|
|
1543
|
+
/**
|
|
1544
|
+
* An AI-generated recommendation for improving product performance.
|
|
1545
|
+
*/
|
|
1414
1546
|
export interface Recommendation {
|
|
1415
1547
|
/**
|
|
1416
|
-
*
|
|
1548
|
+
* The unique identifier of this recommendation.
|
|
1417
1549
|
*/
|
|
1418
1550
|
'id': string;
|
|
1419
1551
|
/**
|
|
@@ -1519,10 +1651,22 @@ export interface SeoOptimiseProductsRequest {
|
|
|
1519
1651
|
*/
|
|
1520
1652
|
'fields'?: Array<string>;
|
|
1521
1653
|
}
|
|
1654
|
+
/**
|
|
1655
|
+
* Stock availability information including total level and per-location breakdown.
|
|
1656
|
+
*/
|
|
1522
1657
|
export interface Stock {
|
|
1658
|
+
/**
|
|
1659
|
+
* The current total stock level available for purchase.
|
|
1660
|
+
*/
|
|
1523
1661
|
'level'?: number;
|
|
1662
|
+
/**
|
|
1663
|
+
* Stock levels broken down by warehouse location.
|
|
1664
|
+
*/
|
|
1524
1665
|
'locations'?: Array<Location>;
|
|
1525
1666
|
}
|
|
1667
|
+
/**
|
|
1668
|
+
* Target search phrase configuration for SEO optimisation of a product.
|
|
1669
|
+
*/
|
|
1526
1670
|
export interface TargetSearchPhraseData {
|
|
1527
1671
|
/**
|
|
1528
1672
|
* The primary target search phrase for the product that you wish to rank for in search engine results.
|
|
@@ -1533,6 +1677,9 @@ export interface TargetSearchPhraseData {
|
|
|
1533
1677
|
*/
|
|
1534
1678
|
'targetSearchPhraseSynonyms'?: Array<string>;
|
|
1535
1679
|
}
|
|
1680
|
+
/**
|
|
1681
|
+
* Properties for a text-based application including font, colour, position, and optional personalisation. Null when the application has no configurable properties.
|
|
1682
|
+
*/
|
|
1536
1683
|
export interface TextApplicationProperties {
|
|
1537
1684
|
'position'?: TextApplicationPropertiesPosition;
|
|
1538
1685
|
'positionInference'?: ApplicationPropertiesPositionInference | null;
|
|
@@ -1578,6 +1725,9 @@ export declare const TextApplicationPropertiesFontStyleEnum: {
|
|
|
1578
1725
|
readonly Oblique: "oblique";
|
|
1579
1726
|
};
|
|
1580
1727
|
export type TextApplicationPropertiesFontStyleEnum = typeof TextApplicationPropertiesFontStyleEnum[keyof typeof TextApplicationPropertiesFontStyleEnum];
|
|
1728
|
+
/**
|
|
1729
|
+
* Personalisation configuration for a text application, allowing end-users to customise the text content.
|
|
1730
|
+
*/
|
|
1581
1731
|
export interface TextApplicationPropertiesPersonalization {
|
|
1582
1732
|
/**
|
|
1583
1733
|
* The label to be displayed on the personalization field.
|
|
@@ -1736,7 +1886,13 @@ export interface UpdateProductRequest {
|
|
|
1736
1886
|
* A list of products to be in this bundle. Only valid if the product is already a bundle.
|
|
1737
1887
|
*/
|
|
1738
1888
|
'bundleItems'?: Array<UpdateProductRequestBundleItemsInner>;
|
|
1889
|
+
/**
|
|
1890
|
+
* The retail price of the product, including tax. Only provided if the product is a bundle.
|
|
1891
|
+
*/
|
|
1739
1892
|
'retailPrice'?: Price;
|
|
1893
|
+
/**
|
|
1894
|
+
* The sale price of the product, including tax. Only provided if the product is a bundle.
|
|
1895
|
+
*/
|
|
1740
1896
|
'salePrice'?: SalePrice | null;
|
|
1741
1897
|
/**
|
|
1742
1898
|
* Images to attach to the product. For example, photos of models using/wearing the product.
|
|
@@ -1786,7 +1942,7 @@ export interface UpdateProductRequest {
|
|
|
1786
1942
|
}
|
|
1787
1943
|
export interface UpdateProductRequestBundleItemsInner {
|
|
1788
1944
|
/**
|
|
1789
|
-
*
|
|
1945
|
+
* The product UUID to include in the bundle
|
|
1790
1946
|
*/
|
|
1791
1947
|
'id'?: string;
|
|
1792
1948
|
'config'?: UpdateProductRequestBundleItemsInnerConfig;
|
|
@@ -1981,7 +2137,13 @@ export declare const UpdateProductsRequestProductsInnerVariantsInnerSalePriceCur
|
|
|
1981
2137
|
readonly Gbp: "GBP";
|
|
1982
2138
|
};
|
|
1983
2139
|
export type UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCodeEnum = typeof UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCodeEnum[keyof typeof UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCodeEnum];
|
|
2140
|
+
/**
|
|
2141
|
+
* A list of users who have created products for the project.
|
|
2142
|
+
*/
|
|
1984
2143
|
export interface UserList {
|
|
2144
|
+
/**
|
|
2145
|
+
* The list of product creators.
|
|
2146
|
+
*/
|
|
1985
2147
|
'creators': Array<UserListCreatorsInner>;
|
|
1986
2148
|
}
|
|
1987
2149
|
export interface UserListCreatorsInner {
|
|
@@ -2005,18 +2167,24 @@ export interface UserListCreatorsInnerAvatar {
|
|
|
2005
2167
|
*/
|
|
2006
2168
|
'original': string | null;
|
|
2007
2169
|
}
|
|
2170
|
+
/**
|
|
2171
|
+
* A specific colour/size combination of a catalog product with its own SKU, pricing, stock, and design applications.
|
|
2172
|
+
*/
|
|
2008
2173
|
export interface Variant {
|
|
2009
2174
|
/**
|
|
2010
|
-
*
|
|
2175
|
+
* The unique identifier of the variant.
|
|
2011
2176
|
*/
|
|
2012
2177
|
'id'?: string;
|
|
2013
2178
|
/**
|
|
2014
|
-
*
|
|
2179
|
+
* The attributes (e.g. Colour, Size) that define this variant.
|
|
2015
2180
|
*/
|
|
2016
2181
|
'attributes': Array<Attribute>;
|
|
2182
|
+
/**
|
|
2183
|
+
* The stock keeping unit code for this variant.
|
|
2184
|
+
*/
|
|
2017
2185
|
'sku': string;
|
|
2018
2186
|
/**
|
|
2019
|
-
* A reference to
|
|
2187
|
+
* A URI reference to this variant resource.
|
|
2020
2188
|
*/
|
|
2021
2189
|
'ref'?: string;
|
|
2022
2190
|
'product'?: VariantProduct;
|
|
@@ -2113,6 +2281,9 @@ export interface VariantWarehouseVariant {
|
|
|
2113
2281
|
'metafields'?: Array<MetaField>;
|
|
2114
2282
|
}
|
|
2115
2283
|
export interface VariantWholesaleCost {
|
|
2284
|
+
/**
|
|
2285
|
+
* The cost of the variant alone
|
|
2286
|
+
*/
|
|
2116
2287
|
'item': RequiredPrice;
|
|
2117
2288
|
/**
|
|
2118
2289
|
* A breakdown of the cost per application
|
|
@@ -2122,6 +2293,9 @@ export interface VariantWholesaleCost {
|
|
|
2122
2293
|
* a breakdown of the cost per handling fee
|
|
2123
2294
|
*/
|
|
2124
2295
|
'handling': Array<NamedPrice>;
|
|
2296
|
+
/**
|
|
2297
|
+
* The total cost of fulfillment for the variant. This includes the cost of the variant, the cost of the applications, and the cost of the handling fees.
|
|
2298
|
+
*/
|
|
2125
2299
|
'fulfillment': RequiredPrice;
|
|
2126
2300
|
}
|
|
2127
2301
|
export interface VariantsResponse {
|
|
@@ -2132,11 +2306,11 @@ export interface VariantsResponse {
|
|
|
2132
2306
|
'nextPageToken'?: number | null;
|
|
2133
2307
|
}
|
|
2134
2308
|
/**
|
|
2135
|
-
*
|
|
2309
|
+
* A video associated with a product.
|
|
2136
2310
|
*/
|
|
2137
2311
|
export interface Video {
|
|
2138
2312
|
/**
|
|
2139
|
-
*
|
|
2313
|
+
* The unique identifier of the video.
|
|
2140
2314
|
*/
|
|
2141
2315
|
'id'?: string;
|
|
2142
2316
|
'src'?: string;
|
|
@@ -2145,6 +2319,9 @@ export interface Video {
|
|
|
2145
2319
|
'createdAt'?: string;
|
|
2146
2320
|
'updatedAt'?: string;
|
|
2147
2321
|
}
|
|
2322
|
+
/**
|
|
2323
|
+
* A video file to attach to a product, specified by a publicly available URL.
|
|
2324
|
+
*/
|
|
2148
2325
|
export interface VideoFile {
|
|
2149
2326
|
/**
|
|
2150
2327
|
* Publicly available file URL.
|
|
@@ -2705,10 +2882,12 @@ export declare const ApplicationTechnologiesApiAxiosParamCreator: (configuration
|
|
|
2705
2882
|
* Lists all technologies available to this project.
|
|
2706
2883
|
* @summary List technologies available to this project
|
|
2707
2884
|
* @param {string} project What project it is
|
|
2885
|
+
* @param {number} [pageToken] Page reference token
|
|
2886
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
2708
2887
|
* @param {*} [options] Override http request option.
|
|
2709
2888
|
* @throws {RequiredError}
|
|
2710
2889
|
*/
|
|
2711
|
-
listTechnologies: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2890
|
+
listTechnologies: (project: string, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2712
2891
|
};
|
|
2713
2892
|
/**
|
|
2714
2893
|
* ApplicationTechnologiesApi - functional programming interface
|
|
@@ -2718,10 +2897,12 @@ export declare const ApplicationTechnologiesApiFp: (configuration?: Configuratio
|
|
|
2718
2897
|
* Lists all technologies available to this project.
|
|
2719
2898
|
* @summary List technologies available to this project
|
|
2720
2899
|
* @param {string} project What project it is
|
|
2900
|
+
* @param {number} [pageToken] Page reference token
|
|
2901
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
2721
2902
|
* @param {*} [options] Override http request option.
|
|
2722
2903
|
* @throws {RequiredError}
|
|
2723
2904
|
*/
|
|
2724
|
-
listTechnologies(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationTechnologiesResponse>>;
|
|
2905
|
+
listTechnologies(project: string, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationTechnologiesResponse>>;
|
|
2725
2906
|
};
|
|
2726
2907
|
/**
|
|
2727
2908
|
* ApplicationTechnologiesApi - factory interface
|
|
@@ -2744,6 +2925,14 @@ export interface ApplicationTechnologiesApiListTechnologiesRequest {
|
|
|
2744
2925
|
* What project it is
|
|
2745
2926
|
*/
|
|
2746
2927
|
readonly project: string;
|
|
2928
|
+
/**
|
|
2929
|
+
* Page reference token
|
|
2930
|
+
*/
|
|
2931
|
+
readonly pageToken?: number;
|
|
2932
|
+
/**
|
|
2933
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
2934
|
+
*/
|
|
2935
|
+
readonly pageSize?: number;
|
|
2747
2936
|
}
|
|
2748
2937
|
/**
|
|
2749
2938
|
* ApplicationTechnologiesApi - object-oriented interface
|
|
@@ -3113,10 +3302,12 @@ export declare const ProductCreatorsApiAxiosParamCreator: (configuration?: Confi
|
|
|
3113
3302
|
* Lists all the unique users that have created products for the given project.
|
|
3114
3303
|
* @summary List product creators
|
|
3115
3304
|
* @param {string} project What project it is
|
|
3305
|
+
* @param {number} [pageToken] Page reference token
|
|
3306
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
3116
3307
|
* @param {*} [options] Override http request option.
|
|
3117
3308
|
* @throws {RequiredError}
|
|
3118
3309
|
*/
|
|
3119
|
-
listProductCreators: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3310
|
+
listProductCreators: (project: string, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3120
3311
|
};
|
|
3121
3312
|
/**
|
|
3122
3313
|
* ProductCreatorsApi - functional programming interface
|
|
@@ -3126,10 +3317,12 @@ export declare const ProductCreatorsApiFp: (configuration?: Configuration) => {
|
|
|
3126
3317
|
* Lists all the unique users that have created products for the given project.
|
|
3127
3318
|
* @summary List product creators
|
|
3128
3319
|
* @param {string} project What project it is
|
|
3320
|
+
* @param {number} [pageToken] Page reference token
|
|
3321
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
3129
3322
|
* @param {*} [options] Override http request option.
|
|
3130
3323
|
* @throws {RequiredError}
|
|
3131
3324
|
*/
|
|
3132
|
-
listProductCreators(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserList>>;
|
|
3325
|
+
listProductCreators(project: string, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserList>>;
|
|
3133
3326
|
};
|
|
3134
3327
|
/**
|
|
3135
3328
|
* ProductCreatorsApi - factory interface
|
|
@@ -3152,6 +3345,14 @@ export interface ProductCreatorsApiListProductCreatorsRequest {
|
|
|
3152
3345
|
* What project it is
|
|
3153
3346
|
*/
|
|
3154
3347
|
readonly project: string;
|
|
3348
|
+
/**
|
|
3349
|
+
* Page reference token
|
|
3350
|
+
*/
|
|
3351
|
+
readonly pageToken?: number;
|
|
3352
|
+
/**
|
|
3353
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
3354
|
+
*/
|
|
3355
|
+
readonly pageSize?: number;
|
|
3155
3356
|
}
|
|
3156
3357
|
/**
|
|
3157
3358
|
* ProductCreatorsApi - object-oriented interface
|
|
@@ -3247,7 +3448,7 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
3247
3448
|
* Creates a new catalog product based on a product from the GFN Catalog, with the variants and design applications you provide. Use the [GFN Catalog API](/developer/api/gfn-catalog) to list available products and their variants (including exact attribute names and values) for the project.
|
|
3248
3449
|
* @summary Create product
|
|
3249
3450
|
* @param {string} project What project it is
|
|
3250
|
-
* @param {CreateProductRequest} [createProductRequest]
|
|
3451
|
+
* @param {CreateProductRequest} [createProductRequest] The product to create, including title, variants, design applications, and pricing.
|
|
3251
3452
|
* @param {*} [options] Override http request option.
|
|
3252
3453
|
* @throws {RequiredError}
|
|
3253
3454
|
*/
|
|
@@ -3358,7 +3559,7 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
3358
3559
|
* @summary Update product
|
|
3359
3560
|
* @param {string} project What project it is
|
|
3360
3561
|
* @param {string} productId Product\'s unique identifier
|
|
3361
|
-
* @param {UpdateProductRequest} [updateProductRequest]
|
|
3562
|
+
* @param {UpdateProductRequest} [updateProductRequest] The product fields to update. Only the fields provided will be modified.
|
|
3362
3563
|
* @param {*} [options] Override http request option.
|
|
3363
3564
|
* @throws {RequiredError}
|
|
3364
3565
|
*/
|
|
@@ -3381,7 +3582,7 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
3381
3582
|
* Creates a new catalog product based on a product from the GFN Catalog, with the variants and design applications you provide. Use the [GFN Catalog API](/developer/api/gfn-catalog) to list available products and their variants (including exact attribute names and values) for the project.
|
|
3382
3583
|
* @summary Create product
|
|
3383
3584
|
* @param {string} project What project it is
|
|
3384
|
-
* @param {CreateProductRequest} [createProductRequest]
|
|
3585
|
+
* @param {CreateProductRequest} [createProductRequest] The product to create, including title, variants, design applications, and pricing.
|
|
3385
3586
|
* @param {*} [options] Override http request option.
|
|
3386
3587
|
* @throws {RequiredError}
|
|
3387
3588
|
*/
|
|
@@ -3492,7 +3693,7 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
3492
3693
|
* @summary Update product
|
|
3493
3694
|
* @param {string} project What project it is
|
|
3494
3695
|
* @param {string} productId Product\'s unique identifier
|
|
3495
|
-
* @param {UpdateProductRequest} [updateProductRequest]
|
|
3696
|
+
* @param {UpdateProductRequest} [updateProductRequest] The product fields to update. Only the fields provided will be modified.
|
|
3496
3697
|
* @param {*} [options] Override http request option.
|
|
3497
3698
|
* @throws {RequiredError}
|
|
3498
3699
|
*/
|
|
@@ -3608,6 +3809,9 @@ export interface ProductsApiCreateProductRequest {
|
|
|
3608
3809
|
* What project it is
|
|
3609
3810
|
*/
|
|
3610
3811
|
readonly project: string;
|
|
3812
|
+
/**
|
|
3813
|
+
* The product to create, including title, variants, design applications, and pricing.
|
|
3814
|
+
*/
|
|
3611
3815
|
readonly createProductRequest?: CreateProductRequest;
|
|
3612
3816
|
}
|
|
3613
3817
|
/**
|
|
@@ -3842,6 +4046,9 @@ export interface ProductsApiUpdateProductRequest {
|
|
|
3842
4046
|
* Product\'s unique identifier
|
|
3843
4047
|
*/
|
|
3844
4048
|
readonly productId: string;
|
|
4049
|
+
/**
|
|
4050
|
+
* The product fields to update. Only the fields provided will be modified.
|
|
4051
|
+
*/
|
|
3845
4052
|
readonly updateProductRequest?: UpdateProductRequest;
|
|
3846
4053
|
}
|
|
3847
4054
|
/**
|