@teemill/product-catalog 1.88.0 → 1.89.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 +9 -2
- package/api.ts +135 -17
- package/base.ts +3 -3
- package/common.ts +3 -3
- package/configuration.ts +3 -3
- package/dist/api.d.ts +132 -17
- package/dist/api.js +13 -9
- package/dist/base.d.ts +3 -3
- package/dist/base.js +3 -3
- package/dist/common.d.ts +3 -3
- package/dist/common.js +3 -3
- package/dist/configuration.d.ts +3 -3
- package/dist/configuration.js +3 -3
- package/dist/esm/api.d.ts +132 -17
- package/dist/esm/api.js +11 -7
- package/dist/esm/base.d.ts +3 -3
- package/dist/esm/base.js +3 -3
- package/dist/esm/common.d.ts +3 -3
- package/dist/esm/common.js +3 -3
- package/dist/esm/configuration.d.ts +3 -3
- package/dist/esm/configuration.js +3 -3
- package/dist/esm/index.d.ts +3 -3
- package/dist/esm/index.js +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/docs/Application.md +1 -1
- package/docs/ApplicationPropertiesPositionInference.md +1 -1
- package/docs/BundleProduct.md +2 -0
- package/docs/CreateApplication.md +1 -1
- package/docs/CreateDigitalProduct.md +25 -0
- package/docs/CreateDigitalProductVariantsInner.md +24 -0
- package/docs/CreateDigitalProductVariantsInnerAttributesInner.md +22 -0
- package/docs/CreateDigitalProductVariantsInnerImagesInner.md +20 -0
- package/docs/CreateProduct.md +2 -2
- package/docs/CreateProductRequest.md +4 -2
- package/docs/CreateProductVariant.md +2 -2
- package/docs/CreateProductVariantAttributesInner.md +22 -0
- package/docs/Product.md +2 -0
- package/docs/ProductBundleItemsInner.md +2 -0
- package/docs/ProductGfnProduct.md +25 -0
- package/docs/ProductWarehouseProduct.md +2 -1
- package/docs/ProductsApi.md +1 -1
- package/docs/Variant.md +2 -0
- package/docs/VariantGfnVariant.md +25 -0
- package/docs/VariantWarehouseVariant.md +2 -1
- package/index.ts +3 -3
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Product Catalog
|
|
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
|
|
2
|
+
* Product Catalog
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.89.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -103,7 +103,7 @@ export interface Application {
|
|
|
103
103
|
*/
|
|
104
104
|
'additionalInstructions'?: string | null;
|
|
105
105
|
/**
|
|
106
|
-
* Publicly available design file URL. This will fill the design area of the
|
|
106
|
+
* Publicly available design file URL. This will fill the design area of the GFN Catalog product. It will be centered horizontally and aligned to the top of the design area.
|
|
107
107
|
*/
|
|
108
108
|
'src'?: string;
|
|
109
109
|
/**
|
|
@@ -229,7 +229,7 @@ export interface ApplicationPropertiesPosition {
|
|
|
229
229
|
'z'?: number;
|
|
230
230
|
}
|
|
231
231
|
/**
|
|
232
|
-
* 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
|
|
232
|
+
* 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 GFN Catalog product.
|
|
233
233
|
*/
|
|
234
234
|
export interface ApplicationPropertiesPositionInference {
|
|
235
235
|
/**
|
|
@@ -486,7 +486,11 @@ export interface BundleProduct {
|
|
|
486
486
|
* For use with the Shopify integration. The Shopify product ID that this product is linked to.
|
|
487
487
|
*/
|
|
488
488
|
'shopifyId'?: number | null;
|
|
489
|
+
/**
|
|
490
|
+
* @deprecated
|
|
491
|
+
*/
|
|
489
492
|
'warehouseProduct'?: ProductWarehouseProduct;
|
|
493
|
+
'gfnProduct'?: ProductGfnProduct;
|
|
490
494
|
/**
|
|
491
495
|
* Key/value pairs that can be used to store additional information about the product
|
|
492
496
|
*/
|
|
@@ -520,7 +524,7 @@ export interface CreateApplication {
|
|
|
520
524
|
*/
|
|
521
525
|
'additionalInstructions'?: string | null;
|
|
522
526
|
/**
|
|
523
|
-
* Publicly available design file URL. This will fill the design area of the
|
|
527
|
+
* Publicly available design file URL. This will fill the design area of the GFN Catalog product. It will be centered horizontally and aligned to the top of the design area.
|
|
524
528
|
*/
|
|
525
529
|
'src': string;
|
|
526
530
|
/**
|
|
@@ -738,6 +742,50 @@ export interface CreateBundleProductSeoMetadata {
|
|
|
738
742
|
*/
|
|
739
743
|
'description'?: string | null;
|
|
740
744
|
}
|
|
745
|
+
/**
|
|
746
|
+
* A digital product is a product that is not physical, it is a service that is sold.
|
|
747
|
+
*/
|
|
748
|
+
export interface CreateDigitalProduct {
|
|
749
|
+
/**
|
|
750
|
+
* The title of the product
|
|
751
|
+
*/
|
|
752
|
+
'title': string;
|
|
753
|
+
/**
|
|
754
|
+
* An explicit flag to indicate that the product is a digital product.
|
|
755
|
+
*/
|
|
756
|
+
'isDigital': boolean;
|
|
757
|
+
/**
|
|
758
|
+
* A list of variants to create for the product.
|
|
759
|
+
*/
|
|
760
|
+
'variants': Array<CreateDigitalProductVariantsInner>;
|
|
761
|
+
}
|
|
762
|
+
export interface CreateDigitalProductVariantsInner {
|
|
763
|
+
/**
|
|
764
|
+
* The attributes of the variant.
|
|
765
|
+
*/
|
|
766
|
+
'attributes': Array<CreateDigitalProductVariantsInnerAttributesInner>;
|
|
767
|
+
/**
|
|
768
|
+
* Images to attach to the product.
|
|
769
|
+
*/
|
|
770
|
+
'images': Array<CreateDigitalProductVariantsInnerImagesInner>;
|
|
771
|
+
'retailPrice': Price;
|
|
772
|
+
}
|
|
773
|
+
export interface CreateDigitalProductVariantsInnerAttributesInner {
|
|
774
|
+
/**
|
|
775
|
+
* The name of the attribute.
|
|
776
|
+
*/
|
|
777
|
+
'name': string;
|
|
778
|
+
/**
|
|
779
|
+
* The value of the attribute.
|
|
780
|
+
*/
|
|
781
|
+
'value': string;
|
|
782
|
+
}
|
|
783
|
+
export interface CreateDigitalProductVariantsInnerImagesInner {
|
|
784
|
+
/**
|
|
785
|
+
* Publicly available file URL.
|
|
786
|
+
*/
|
|
787
|
+
'src': string;
|
|
788
|
+
}
|
|
741
789
|
export interface CreateProduct {
|
|
742
790
|
/**
|
|
743
791
|
* 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.
|
|
@@ -781,7 +829,7 @@ export interface CreateProduct {
|
|
|
781
829
|
*/
|
|
782
830
|
'internalTags'?: Array<string>;
|
|
783
831
|
/**
|
|
784
|
-
*
|
|
832
|
+
* The variants to create for this product. Each variant must specify attributes that match a variant in the GFN Catalog for the product referenced by gfnProductRef. Use the GFN Catalog API to list products and variants (e.g. GET /v1/gfn/catalog/products/{productId} and GET /v1/gfn/catalog/variants) to get the exact attribute names and values — they must match exactly, including casing.
|
|
785
833
|
*/
|
|
786
834
|
'variants': Array<CreateProductVariant>;
|
|
787
835
|
/**
|
|
@@ -837,12 +885,12 @@ export interface CreateProductImagesInner {
|
|
|
837
885
|
/**
|
|
838
886
|
* @type CreateProductRequest
|
|
839
887
|
*/
|
|
840
|
-
export type CreateProductRequest = CreateBundleProduct | CreateProduct;
|
|
888
|
+
export type CreateProductRequest = CreateBundleProduct | CreateDigitalProduct | CreateProduct;
|
|
841
889
|
export interface CreateProductVariant {
|
|
842
890
|
/**
|
|
843
|
-
*
|
|
891
|
+
* 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).
|
|
844
892
|
*/
|
|
845
|
-
'attributes': Array<
|
|
893
|
+
'attributes': Array<CreateProductVariantAttributesInner>;
|
|
846
894
|
'retailPrice': UpdateProductsRequestProductsInnerVariantsInnerRetailPrice;
|
|
847
895
|
'salePrice'?: UpdateProductsRequestProductsInnerVariantsInnerSalePrice | null;
|
|
848
896
|
/**
|
|
@@ -854,7 +902,7 @@ export interface CreateProductVariant {
|
|
|
854
902
|
*/
|
|
855
903
|
'applications'?: Array<Application>;
|
|
856
904
|
/**
|
|
857
|
-
* Only use if you want to override the main product image. If not provided, mockups will be generated using the design applications and the
|
|
905
|
+
* Only use if you want to override the main product image. If not provided, mockups will be generated using the design applications and the GFN Catalog product. Accepts PNG and JPEG files.
|
|
858
906
|
*/
|
|
859
907
|
'images'?: Array<CreateProductVariantImagesInner>;
|
|
860
908
|
/**
|
|
@@ -867,6 +915,21 @@ export interface CreateProductVariant {
|
|
|
867
915
|
'shopifyId'?: number | null;
|
|
868
916
|
'integrationConnections'?: Array<UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner>;
|
|
869
917
|
}
|
|
918
|
+
export interface CreateProductVariantAttributesInner {
|
|
919
|
+
/**
|
|
920
|
+
* Attribute name as returned by the GFN Catalog API for this product (e.g. \"Size\", \"Colour\"). Must match exactly, including casing.
|
|
921
|
+
*/
|
|
922
|
+
'name': CreateProductVariantAttributesInnerNameEnum;
|
|
923
|
+
/**
|
|
924
|
+
* Attribute value as returned by the GFN Catalog API for this product (e.g. \"S\", \"White\"). Must match exactly, including casing.
|
|
925
|
+
*/
|
|
926
|
+
'value': string;
|
|
927
|
+
}
|
|
928
|
+
export declare const CreateProductVariantAttributesInnerNameEnum: {
|
|
929
|
+
readonly Size: "Size";
|
|
930
|
+
readonly Colour: "Colour";
|
|
931
|
+
};
|
|
932
|
+
export type CreateProductVariantAttributesInnerNameEnum = typeof CreateProductVariantAttributesInnerNameEnum[keyof typeof CreateProductVariantAttributesInnerNameEnum];
|
|
870
933
|
export interface CreateProductVariantImagesInner {
|
|
871
934
|
/**
|
|
872
935
|
* ID of the image if it already exists. A new image will be created if this is not provided.
|
|
@@ -1103,7 +1166,11 @@ export interface Product {
|
|
|
1103
1166
|
* For use with the Shopify integration. The Shopify product ID that this product is linked to.
|
|
1104
1167
|
*/
|
|
1105
1168
|
'shopifyId'?: number | null;
|
|
1169
|
+
/**
|
|
1170
|
+
* @deprecated
|
|
1171
|
+
*/
|
|
1106
1172
|
'warehouseProduct'?: ProductWarehouseProduct;
|
|
1173
|
+
'gfnProduct'?: ProductGfnProduct;
|
|
1107
1174
|
/**
|
|
1108
1175
|
* Key/value pairs that can be used to store additional information about the product
|
|
1109
1176
|
*/
|
|
@@ -1217,7 +1284,11 @@ export interface ProductBundleItemsInner {
|
|
|
1217
1284
|
* For use with the Shopify integration. The Shopify product ID that this product is linked to.
|
|
1218
1285
|
*/
|
|
1219
1286
|
'shopifyId'?: number | null;
|
|
1287
|
+
/**
|
|
1288
|
+
* @deprecated
|
|
1289
|
+
*/
|
|
1220
1290
|
'warehouseProduct'?: ProductWarehouseProduct;
|
|
1291
|
+
'gfnProduct'?: ProductGfnProduct;
|
|
1221
1292
|
/**
|
|
1222
1293
|
* Key/value pairs that can be used to store additional information about the product
|
|
1223
1294
|
*/
|
|
@@ -1238,6 +1309,23 @@ export interface ProductBundleItemsInner {
|
|
|
1238
1309
|
'license'?: License;
|
|
1239
1310
|
'config'?: UpdateProductRequestBundleItemsInnerConfig;
|
|
1240
1311
|
}
|
|
1312
|
+
/**
|
|
1313
|
+
* The GFN Catalog product this catalog product is based on. Use the GFN Catalog API to list available products.
|
|
1314
|
+
*/
|
|
1315
|
+
export interface ProductGfnProduct {
|
|
1316
|
+
/**
|
|
1317
|
+
* Unique object identifier
|
|
1318
|
+
*/
|
|
1319
|
+
'id'?: string;
|
|
1320
|
+
/**
|
|
1321
|
+
* Reference to the product in the Global Fulfillment Network (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.
|
|
1322
|
+
*/
|
|
1323
|
+
'gfnProductRef'?: string;
|
|
1324
|
+
/**
|
|
1325
|
+
* Meta fields from the GFN Catalog product
|
|
1326
|
+
*/
|
|
1327
|
+
'metafields'?: Array<MetaField>;
|
|
1328
|
+
}
|
|
1241
1329
|
export interface ProductType {
|
|
1242
1330
|
/**
|
|
1243
1331
|
* Unique object identifier
|
|
@@ -1255,6 +1343,9 @@ export interface ProductTypeListResponse {
|
|
|
1255
1343
|
*/
|
|
1256
1344
|
'nextPageToken': number | null;
|
|
1257
1345
|
}
|
|
1346
|
+
/**
|
|
1347
|
+
* The GFN Catalog product this catalog product is based on. Use the GFN Catalog API to list available products. (Deprecated Use `gfnProduct` instead)
|
|
1348
|
+
*/
|
|
1258
1349
|
export interface ProductWarehouseProduct {
|
|
1259
1350
|
/**
|
|
1260
1351
|
* Unique object identifier
|
|
@@ -1265,7 +1356,7 @@ export interface ProductWarehouseProduct {
|
|
|
1265
1356
|
*/
|
|
1266
1357
|
'gfnProductRef'?: string;
|
|
1267
1358
|
/**
|
|
1268
|
-
* Meta fields from the
|
|
1359
|
+
* Meta fields from the GFN Catalog product
|
|
1269
1360
|
*/
|
|
1270
1361
|
'metafields'?: Array<MetaField>;
|
|
1271
1362
|
}
|
|
@@ -1909,7 +2000,28 @@ export interface Variant {
|
|
|
1909
2000
|
'metafields'?: Array<MetaField>;
|
|
1910
2001
|
'integrationConnections'?: Array<VariantIntegrationConnectionsInner>;
|
|
1911
2002
|
'wholesaleCost'?: VariantWholesaleCost;
|
|
2003
|
+
/**
|
|
2004
|
+
* @deprecated
|
|
2005
|
+
*/
|
|
1912
2006
|
'warehouseVariant'?: VariantWarehouseVariant;
|
|
2007
|
+
'gfnVariant'?: VariantGfnVariant;
|
|
2008
|
+
}
|
|
2009
|
+
/**
|
|
2010
|
+
* The GFN Catalog variant this catalog variant corresponds to. Use the GFN Catalog API to list variants and their attributes.
|
|
2011
|
+
*/
|
|
2012
|
+
export interface VariantGfnVariant {
|
|
2013
|
+
/**
|
|
2014
|
+
* Unique object identifier
|
|
2015
|
+
*/
|
|
2016
|
+
'id'?: string;
|
|
2017
|
+
/**
|
|
2018
|
+
* Reference to the variant in the Global Fulfillment Network (GFN) catalog.
|
|
2019
|
+
*/
|
|
2020
|
+
'gfnVariantRef'?: string;
|
|
2021
|
+
/**
|
|
2022
|
+
* Meta fields from the GFN Catalog variant
|
|
2023
|
+
*/
|
|
2024
|
+
'metafields'?: Array<MetaField>;
|
|
1913
2025
|
}
|
|
1914
2026
|
export interface VariantIntegrationConnectionsInner {
|
|
1915
2027
|
'integrationCode': string;
|
|
@@ -1928,6 +2040,9 @@ export interface VariantProduct {
|
|
|
1928
2040
|
*/
|
|
1929
2041
|
'ref'?: string;
|
|
1930
2042
|
}
|
|
2043
|
+
/**
|
|
2044
|
+
* The GFN Catalog variant this catalog variant corresponds to. Use the GFN Catalog API to list variants and their attributes. (Deprecated Use `gfnVariant` instead)
|
|
2045
|
+
*/
|
|
1931
2046
|
export interface VariantWarehouseVariant {
|
|
1932
2047
|
/**
|
|
1933
2048
|
* Unique object identifier
|
|
@@ -1938,7 +2053,7 @@ export interface VariantWarehouseVariant {
|
|
|
1938
2053
|
*/
|
|
1939
2054
|
'gfnVariantRef'?: string;
|
|
1940
2055
|
/**
|
|
1941
|
-
* Meta fields from the
|
|
2056
|
+
* Meta fields from the GFN Catalog variant
|
|
1942
2057
|
*/
|
|
1943
2058
|
'metafields'?: Array<MetaField>;
|
|
1944
2059
|
}
|
|
@@ -3074,7 +3189,7 @@ export declare class ProductTypesApi extends BaseAPI {
|
|
|
3074
3189
|
*/
|
|
3075
3190
|
export declare const ProductsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3076
3191
|
/**
|
|
3077
|
-
* Creates a new catalog product based on a
|
|
3192
|
+
* 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.
|
|
3078
3193
|
* @summary Create product
|
|
3079
3194
|
* @param {string} project What project it is
|
|
3080
3195
|
* @param {CreateProductRequest} [createProductRequest]
|
|
@@ -3194,7 +3309,7 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
3194
3309
|
*/
|
|
3195
3310
|
export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
3196
3311
|
/**
|
|
3197
|
-
* Creates a new catalog product based on a
|
|
3312
|
+
* 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.
|
|
3198
3313
|
* @summary Create product
|
|
3199
3314
|
* @param {string} project What project it is
|
|
3200
3315
|
* @param {CreateProductRequest} [createProductRequest]
|
|
@@ -3314,7 +3429,7 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
3314
3429
|
*/
|
|
3315
3430
|
export declare const ProductsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3316
3431
|
/**
|
|
3317
|
-
* Creates a new catalog product based on a
|
|
3432
|
+
* 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.
|
|
3318
3433
|
* @summary Create product
|
|
3319
3434
|
* @param {ProductsApiCreateProductRequest} requestParameters Request parameters.
|
|
3320
3435
|
* @param {*} [options] Override http request option.
|
|
@@ -3608,7 +3723,7 @@ export interface ProductsApiUpdateProductsRequest {
|
|
|
3608
3723
|
*/
|
|
3609
3724
|
export declare class ProductsApi extends BaseAPI {
|
|
3610
3725
|
/**
|
|
3611
|
-
* Creates a new catalog product based on a
|
|
3726
|
+
* 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.
|
|
3612
3727
|
* @summary Create product
|
|
3613
3728
|
* @param {ProductsApiCreateProductRequest} requestParameters Request parameters.
|
|
3614
3729
|
* @param {*} [options] Override http request option.
|
package/dist/api.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Product Catalog
|
|
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
|
|
5
|
+
* Product Catalog
|
|
6
|
+
* Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a product from the GFN Catalog, plus listing information such as title, description and tags.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.89.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,8 +22,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.VariantsApi = exports.VariantsApiFactory = exports.VariantsApiFp = exports.VariantsApiAxiosParamCreator = exports.ListProductsDateFilterTypeEnum = void 0;
|
|
25
|
+
exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.ProductTypesApi = exports.ProductTypesApiFactory = exports.ProductTypesApiFp = exports.ProductTypesApiAxiosParamCreator = exports.ProductCreatorsApi = exports.ProductCreatorsApiFactory = exports.ProductCreatorsApiFp = exports.ProductCreatorsApiAxiosParamCreator = exports.ProductAnalyticsApi = exports.ProductAnalyticsApiFactory = exports.ProductAnalyticsApiFp = exports.ProductAnalyticsApiAxiosParamCreator = exports.ApplicationTechnologiesApi = exports.ApplicationTechnologiesApiFactory = exports.ApplicationTechnologiesApiFp = exports.ApplicationTechnologiesApiAxiosParamCreator = exports.ApplicationSetsApi = exports.ApplicationSetsApiFactory = exports.ApplicationSetsApiFp = exports.ApplicationSetsApiAxiosParamCreator = exports.ApplicationGroupsApi = exports.ApplicationGroupsApiFactory = exports.ApplicationGroupsApiFp = exports.ApplicationGroupsApiAxiosParamCreator = exports.UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCodeEnum = exports.UpdateProductsRequestProductsInnerVariantsInnerRetailPriceCurrencyCodeEnum = exports.UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum = exports.TextApplicationPropertiesPersonalizationTypeEnum = exports.TextApplicationPropertiesFontStyleEnum = exports.TextApplicationPropertiesFontWeightEnum = exports.SalePriceCurrencyCodeEnum = exports.RequiredPriceCurrencyCodeEnum = exports.RecommendationPriorityEnum = exports.PriceCurrencyCodeEnum = exports.CreateProductVariantAttributesInnerNameEnum = exports.CreateApplicationPropertiesFontStyleEnum = exports.CreateApplicationPropertiesFontWeightEnum = exports.CreateApplicationPlacementEnum = exports.CreateApplicationTechnologyEnum = exports.AttributeThumbnailTypeEnum = exports.ApplicationPropertiesPropertiesFontStyleEnum = exports.ApplicationPropertiesPropertiesFontWeightEnum = exports.ApplicationPropertiesPersonalizationRulesFitEnum = exports.ApplicationPlacementEnum = exports.ApplicationTechnologyEnum = exports.ActionImpactEnum = void 0;
|
|
26
|
+
exports.VariantsApi = exports.VariantsApiFactory = exports.VariantsApiFp = exports.VariantsApiAxiosParamCreator = exports.ListProductsDateFilterTypeEnum = exports.ExportProductsDateFilterTypeEnum = void 0;
|
|
27
27
|
const axios_1 = require("axios");
|
|
28
28
|
// Some imports not used depending on template conditions
|
|
29
29
|
// @ts-ignore
|
|
@@ -106,6 +106,10 @@ exports.CreateApplicationPropertiesFontStyleEnum = {
|
|
|
106
106
|
Italic: 'italic',
|
|
107
107
|
Oblique: 'oblique'
|
|
108
108
|
};
|
|
109
|
+
exports.CreateProductVariantAttributesInnerNameEnum = {
|
|
110
|
+
Size: 'Size',
|
|
111
|
+
Colour: 'Colour'
|
|
112
|
+
};
|
|
109
113
|
exports.PriceCurrencyCodeEnum = {
|
|
110
114
|
Gbp: 'GBP'
|
|
111
115
|
};
|
|
@@ -1791,7 +1795,7 @@ exports.ProductTypesApi = ProductTypesApi;
|
|
|
1791
1795
|
const ProductsApiAxiosParamCreator = function (configuration) {
|
|
1792
1796
|
return {
|
|
1793
1797
|
/**
|
|
1794
|
-
* Creates a new catalog product based on a
|
|
1798
|
+
* 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.
|
|
1795
1799
|
* @summary Create product
|
|
1796
1800
|
* @param {string} project What project it is
|
|
1797
1801
|
* @param {CreateProductRequest} [createProductRequest]
|
|
@@ -2320,7 +2324,7 @@ const ProductsApiFp = function (configuration) {
|
|
|
2320
2324
|
const localVarAxiosParamCreator = (0, exports.ProductsApiAxiosParamCreator)(configuration);
|
|
2321
2325
|
return {
|
|
2322
2326
|
/**
|
|
2323
|
-
* Creates a new catalog product based on a
|
|
2327
|
+
* 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.
|
|
2324
2328
|
* @summary Create product
|
|
2325
2329
|
* @param {string} project What project it is
|
|
2326
2330
|
* @param {CreateProductRequest} [createProductRequest]
|
|
@@ -2532,7 +2536,7 @@ const ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
2532
2536
|
const localVarFp = (0, exports.ProductsApiFp)(configuration);
|
|
2533
2537
|
return {
|
|
2534
2538
|
/**
|
|
2535
|
-
* Creates a new catalog product based on a
|
|
2539
|
+
* 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.
|
|
2536
2540
|
* @summary Create product
|
|
2537
2541
|
* @param {ProductsApiCreateProductRequest} requestParameters Request parameters.
|
|
2538
2542
|
* @param {*} [options] Override http request option.
|
|
@@ -2649,7 +2653,7 @@ exports.ProductsApiFactory = ProductsApiFactory;
|
|
|
2649
2653
|
*/
|
|
2650
2654
|
class ProductsApi extends base_1.BaseAPI {
|
|
2651
2655
|
/**
|
|
2652
|
-
* Creates a new catalog product based on a
|
|
2656
|
+
* 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.
|
|
2653
2657
|
* @summary Create product
|
|
2654
2658
|
* @param {ProductsApiCreateProductRequest} requestParameters Request parameters.
|
|
2655
2659
|
* @param {*} [options] Override http request option.
|
package/dist/base.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Product Catalog
|
|
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
|
|
2
|
+
* Product Catalog
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.89.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/base.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Product Catalog
|
|
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
|
|
5
|
+
* Product Catalog
|
|
6
|
+
* Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a product from the GFN Catalog, plus listing information such as title, description and tags.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.89.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Product Catalog
|
|
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
|
|
2
|
+
* Product Catalog
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.89.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Product Catalog
|
|
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
|
|
5
|
+
* Product Catalog
|
|
6
|
+
* Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a product from the GFN Catalog, plus listing information such as title, description and tags.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.89.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Product Catalog
|
|
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
|
|
2
|
+
* Product Catalog
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.89.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/**
|
|
4
|
-
* Product Catalog
|
|
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
|
|
4
|
+
* Product Catalog
|
|
5
|
+
* Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a product from the GFN Catalog, plus listing information such as title, description and tags.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.89.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|