@teemill/product-catalog 1.45.3 → 1.48.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 CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/product-catalog@1.45.3
1
+ ## @teemill/product-catalog@1.48.0
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @teemill/product-catalog@1.45.3 --save
39
+ npm install @teemill/product-catalog@1.48.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.45.3
7
+ * The version of the OpenAPI document: 1.48.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -807,6 +807,12 @@ export interface CreateProductVariant {
807
807
  * @memberof CreateProductVariant
808
808
  */
809
809
  'shopifyId'?: number;
810
+ /**
811
+ *
812
+ * @type {Array<UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner>}
813
+ * @memberof CreateProductVariant
814
+ */
815
+ 'integrationConnections'?: Array<UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner>;
810
816
  }
811
817
  /**
812
818
  *
@@ -866,6 +872,19 @@ export interface DuplicateProductsRequest {
866
872
  */
867
873
  'projects': Array<string>;
868
874
  }
875
+ /**
876
+ *
877
+ * @export
878
+ * @interface ExportProducts202Response
879
+ */
880
+ export interface ExportProducts202Response {
881
+ /**
882
+ * A message describing the export status
883
+ * @type {string}
884
+ * @memberof ExportProducts202Response
885
+ */
886
+ 'message'?: string;
887
+ }
869
888
  /**
870
889
  * Image description
871
890
  * @export
@@ -1240,6 +1259,12 @@ export interface Product {
1240
1259
  * @memberof Product
1241
1260
  */
1242
1261
  'optimisationHistory'?: Array<OptimisationHistoryItem>;
1262
+ /**
1263
+ *
1264
+ * @type {Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>}
1265
+ * @memberof Product
1266
+ */
1267
+ 'integrationConnections'?: Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>;
1243
1268
  }
1244
1269
  /**
1245
1270
  *
@@ -1625,6 +1650,31 @@ export interface UpdateProductRequest {
1625
1650
  * @memberof UpdateProductRequest
1626
1651
  */
1627
1652
  'personalizationTemplate'?: string;
1653
+ /**
1654
+ * Integration connections for the product
1655
+ * @type {Array<UpdateProductRequestIntegrationConnectionsInner>}
1656
+ * @memberof UpdateProductRequest
1657
+ */
1658
+ 'integrationConnections'?: Array<UpdateProductRequestIntegrationConnectionsInner>;
1659
+ }
1660
+ /**
1661
+ *
1662
+ * @export
1663
+ * @interface UpdateProductRequestIntegrationConnectionsInner
1664
+ */
1665
+ export interface UpdateProductRequestIntegrationConnectionsInner {
1666
+ /**
1667
+ * Code identifying the integration
1668
+ * @type {string}
1669
+ * @memberof UpdateProductRequestIntegrationConnectionsInner
1670
+ */
1671
+ 'integrationCode': string;
1672
+ /**
1673
+ * The value of the identifying property on the foreign product
1674
+ * @type {string}
1675
+ * @memberof UpdateProductRequestIntegrationConnectionsInner
1676
+ */
1677
+ 'foreignKey': string;
1628
1678
  }
1629
1679
  /**
1630
1680
  *
@@ -1711,6 +1761,31 @@ export interface UpdateProductsRequestProductsInner {
1711
1761
  * @memberof UpdateProductsRequestProductsInner
1712
1762
  */
1713
1763
  'shopifyId'?: number;
1764
+ /**
1765
+ *
1766
+ * @type {Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>}
1767
+ * @memberof UpdateProductsRequestProductsInner
1768
+ */
1769
+ 'integrationConnections'?: Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>;
1770
+ }
1771
+ /**
1772
+ *
1773
+ * @export
1774
+ * @interface UpdateProductsRequestProductsInnerIntegrationConnectionsInner
1775
+ */
1776
+ export interface UpdateProductsRequestProductsInnerIntegrationConnectionsInner {
1777
+ /**
1778
+ *
1779
+ * @type {string}
1780
+ * @memberof UpdateProductsRequestProductsInnerIntegrationConnectionsInner
1781
+ */
1782
+ 'integrationCode': string;
1783
+ /**
1784
+ * The value of the identifying property on the foreign product
1785
+ * @type {string}
1786
+ * @memberof UpdateProductsRequestProductsInnerIntegrationConnectionsInner
1787
+ */
1788
+ 'foreignKey': string;
1714
1789
  }
1715
1790
  /**
1716
1791
  *
@@ -1767,6 +1842,12 @@ export interface UpdateProductsRequestProductsInnerVariantsInner {
1767
1842
  * @memberof UpdateProductsRequestProductsInnerVariantsInner
1768
1843
  */
1769
1844
  'shopifyId'?: number;
1845
+ /**
1846
+ *
1847
+ * @type {Array<UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner>}
1848
+ * @memberof UpdateProductsRequestProductsInnerVariantsInner
1849
+ */
1850
+ 'integrationConnections'?: Array<UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner>;
1770
1851
  }
1771
1852
  /**
1772
1853
  *
@@ -1795,6 +1876,25 @@ export const UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameE
1795
1876
 
1796
1877
  export type UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum = typeof UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum[keyof typeof UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum];
1797
1878
 
1879
+ /**
1880
+ *
1881
+ * @export
1882
+ * @interface UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner
1883
+ */
1884
+ export interface UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner {
1885
+ /**
1886
+ *
1887
+ * @type {string}
1888
+ * @memberof UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner
1889
+ */
1890
+ 'integrationCode': string;
1891
+ /**
1892
+ * The value of the identifying property on the foreign variant
1893
+ * @type {string}
1894
+ * @memberof UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner
1895
+ */
1896
+ 'foreignKey': string;
1897
+ }
1798
1898
  /**
1799
1899
  * Variant retail price including tax.
1800
1900
  * @export
@@ -1968,6 +2068,31 @@ export interface Variant {
1968
2068
  * @memberof Variant
1969
2069
  */
1970
2070
  'metafields'?: Array<MetaField>;
2071
+ /**
2072
+ *
2073
+ * @type {Array<VariantIntegrationConnectionsInner>}
2074
+ * @memberof Variant
2075
+ */
2076
+ 'integrationConnections'?: Array<VariantIntegrationConnectionsInner>;
2077
+ }
2078
+ /**
2079
+ *
2080
+ * @export
2081
+ * @interface VariantIntegrationConnectionsInner
2082
+ */
2083
+ export interface VariantIntegrationConnectionsInner {
2084
+ /**
2085
+ *
2086
+ * @type {string}
2087
+ * @memberof VariantIntegrationConnectionsInner
2088
+ */
2089
+ 'integrationCode': string;
2090
+ /**
2091
+ * The value of the identifying property on the foreign variant
2092
+ * @type {string}
2093
+ * @memberof VariantIntegrationConnectionsInner
2094
+ */
2095
+ 'foreignKey': string;
1971
2096
  }
1972
2097
  /**
1973
2098
  *
@@ -2817,6 +2942,50 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
2817
2942
  options: localVarRequestOptions,
2818
2943
  };
2819
2944
  },
2945
+ /**
2946
+ * Export the project\'s products and variants as a CSV file.
2947
+ * @summary Export products
2948
+ * @param {string} project What project it is
2949
+ * @param {*} [options] Override http request option.
2950
+ * @throws {RequiredError}
2951
+ */
2952
+ exportProducts: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2953
+ // verify required parameter 'project' is not null or undefined
2954
+ assertParamExists('exportProducts', 'project', project)
2955
+ const localVarPath = `/v1/catalog/products/export`;
2956
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2957
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2958
+ let baseOptions;
2959
+ if (configuration) {
2960
+ baseOptions = configuration.baseOptions;
2961
+ }
2962
+
2963
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2964
+ const localVarHeaderParameter = {} as any;
2965
+ const localVarQueryParameter = {} as any;
2966
+
2967
+ // authentication session-oauth required
2968
+ // oauth required
2969
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
2970
+
2971
+ // authentication api-key required
2972
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
2973
+
2974
+ if (project !== undefined) {
2975
+ localVarQueryParameter['project'] = project;
2976
+ }
2977
+
2978
+
2979
+
2980
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2981
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2982
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2983
+
2984
+ return {
2985
+ url: toPathString(localVarUrlObj),
2986
+ options: localVarRequestOptions,
2987
+ };
2988
+ },
2820
2989
  /**
2821
2990
  * Gets a product by a given ID.
2822
2991
  * @summary Get product
@@ -3189,6 +3358,19 @@ export const ProductsApiFp = function(configuration?: Configuration) {
3189
3358
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.duplicateProducts']?.[localVarOperationServerIndex]?.url;
3190
3359
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3191
3360
  },
3361
+ /**
3362
+ * Export the project\'s products and variants as a CSV file.
3363
+ * @summary Export products
3364
+ * @param {string} project What project it is
3365
+ * @param {*} [options] Override http request option.
3366
+ * @throws {RequiredError}
3367
+ */
3368
+ async exportProducts(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
3369
+ const localVarAxiosArgs = await localVarAxiosParamCreator.exportProducts(project, options);
3370
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3371
+ const localVarOperationServerBasePath = operationServerMap['ProductsApi.exportProducts']?.[localVarOperationServerIndex]?.url;
3372
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3373
+ },
3192
3374
  /**
3193
3375
  * Gets a product by a given ID.
3194
3376
  * @summary Get product
@@ -3319,6 +3501,16 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
3319
3501
  duplicateProducts(requestParameters: ProductsApiDuplicateProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DuplicateProducts202Response> {
3320
3502
  return localVarFp.duplicateProducts(requestParameters.project, requestParameters.duplicateProductsRequest, options).then((request) => request(axios, basePath));
3321
3503
  },
3504
+ /**
3505
+ * Export the project\'s products and variants as a CSV file.
3506
+ * @summary Export products
3507
+ * @param {ProductsApiExportProductsRequest} requestParameters Request parameters.
3508
+ * @param {*} [options] Override http request option.
3509
+ * @throws {RequiredError}
3510
+ */
3511
+ exportProducts(requestParameters: ProductsApiExportProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
3512
+ return localVarFp.exportProducts(requestParameters.project, options).then((request) => request(axios, basePath));
3513
+ },
3322
3514
  /**
3323
3515
  * Gets a product by a given ID.
3324
3516
  * @summary Get product
@@ -3445,6 +3637,20 @@ export interface ProductsApiDuplicateProductsRequest {
3445
3637
  readonly duplicateProductsRequest?: DuplicateProductsRequest
3446
3638
  }
3447
3639
 
3640
+ /**
3641
+ * Request parameters for exportProducts operation in ProductsApi.
3642
+ * @export
3643
+ * @interface ProductsApiExportProductsRequest
3644
+ */
3645
+ export interface ProductsApiExportProductsRequest {
3646
+ /**
3647
+ * What project it is
3648
+ * @type {string}
3649
+ * @memberof ProductsApiExportProducts
3650
+ */
3651
+ readonly project: string
3652
+ }
3653
+
3448
3654
  /**
3449
3655
  * Request parameters for getProduct operation in ProductsApi.
3450
3656
  * @export
@@ -3656,6 +3862,18 @@ export class ProductsApi extends BaseAPI {
3656
3862
  return ProductsApiFp(this.configuration).duplicateProducts(requestParameters.project, requestParameters.duplicateProductsRequest, options).then((request) => request(this.axios, this.basePath));
3657
3863
  }
3658
3864
 
3865
+ /**
3866
+ * Export the project\'s products and variants as a CSV file.
3867
+ * @summary Export products
3868
+ * @param {ProductsApiExportProductsRequest} requestParameters Request parameters.
3869
+ * @param {*} [options] Override http request option.
3870
+ * @throws {RequiredError}
3871
+ * @memberof ProductsApi
3872
+ */
3873
+ public exportProducts(requestParameters: ProductsApiExportProductsRequest, options?: RawAxiosRequestConfig) {
3874
+ return ProductsApiFp(this.configuration).exportProducts(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
3875
+ }
3876
+
3659
3877
  /**
3660
3878
  * Gets a product by a given ID.
3661
3879
  * @summary Get product
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.45.3
7
+ * The version of the OpenAPI document: 1.48.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.45.3
7
+ * The version of the OpenAPI document: 1.48.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.45.3
7
+ * The version of the OpenAPI document: 1.48.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/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.45.3
5
+ * The version of the OpenAPI document: 1.48.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -785,6 +785,12 @@ export interface CreateProductVariant {
785
785
  * @memberof CreateProductVariant
786
786
  */
787
787
  'shopifyId'?: number;
788
+ /**
789
+ *
790
+ * @type {Array<UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner>}
791
+ * @memberof CreateProductVariant
792
+ */
793
+ 'integrationConnections'?: Array<UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner>;
788
794
  }
789
795
  /**
790
796
  *
@@ -844,6 +850,19 @@ export interface DuplicateProductsRequest {
844
850
  */
845
851
  'projects': Array<string>;
846
852
  }
853
+ /**
854
+ *
855
+ * @export
856
+ * @interface ExportProducts202Response
857
+ */
858
+ export interface ExportProducts202Response {
859
+ /**
860
+ * A message describing the export status
861
+ * @type {string}
862
+ * @memberof ExportProducts202Response
863
+ */
864
+ 'message'?: string;
865
+ }
847
866
  /**
848
867
  * Image description
849
868
  * @export
@@ -1215,6 +1234,12 @@ export interface Product {
1215
1234
  * @memberof Product
1216
1235
  */
1217
1236
  'optimisationHistory'?: Array<OptimisationHistoryItem>;
1237
+ /**
1238
+ *
1239
+ * @type {Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>}
1240
+ * @memberof Product
1241
+ */
1242
+ 'integrationConnections'?: Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>;
1218
1243
  }
1219
1244
  /**
1220
1245
  *
@@ -1600,6 +1625,31 @@ export interface UpdateProductRequest {
1600
1625
  * @memberof UpdateProductRequest
1601
1626
  */
1602
1627
  'personalizationTemplate'?: string;
1628
+ /**
1629
+ * Integration connections for the product
1630
+ * @type {Array<UpdateProductRequestIntegrationConnectionsInner>}
1631
+ * @memberof UpdateProductRequest
1632
+ */
1633
+ 'integrationConnections'?: Array<UpdateProductRequestIntegrationConnectionsInner>;
1634
+ }
1635
+ /**
1636
+ *
1637
+ * @export
1638
+ * @interface UpdateProductRequestIntegrationConnectionsInner
1639
+ */
1640
+ export interface UpdateProductRequestIntegrationConnectionsInner {
1641
+ /**
1642
+ * Code identifying the integration
1643
+ * @type {string}
1644
+ * @memberof UpdateProductRequestIntegrationConnectionsInner
1645
+ */
1646
+ 'integrationCode': string;
1647
+ /**
1648
+ * The value of the identifying property on the foreign product
1649
+ * @type {string}
1650
+ * @memberof UpdateProductRequestIntegrationConnectionsInner
1651
+ */
1652
+ 'foreignKey': string;
1603
1653
  }
1604
1654
  /**
1605
1655
  *
@@ -1686,6 +1736,31 @@ export interface UpdateProductsRequestProductsInner {
1686
1736
  * @memberof UpdateProductsRequestProductsInner
1687
1737
  */
1688
1738
  'shopifyId'?: number;
1739
+ /**
1740
+ *
1741
+ * @type {Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>}
1742
+ * @memberof UpdateProductsRequestProductsInner
1743
+ */
1744
+ 'integrationConnections'?: Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>;
1745
+ }
1746
+ /**
1747
+ *
1748
+ * @export
1749
+ * @interface UpdateProductsRequestProductsInnerIntegrationConnectionsInner
1750
+ */
1751
+ export interface UpdateProductsRequestProductsInnerIntegrationConnectionsInner {
1752
+ /**
1753
+ *
1754
+ * @type {string}
1755
+ * @memberof UpdateProductsRequestProductsInnerIntegrationConnectionsInner
1756
+ */
1757
+ 'integrationCode': string;
1758
+ /**
1759
+ * The value of the identifying property on the foreign product
1760
+ * @type {string}
1761
+ * @memberof UpdateProductsRequestProductsInnerIntegrationConnectionsInner
1762
+ */
1763
+ 'foreignKey': string;
1689
1764
  }
1690
1765
  /**
1691
1766
  *
@@ -1742,6 +1817,12 @@ export interface UpdateProductsRequestProductsInnerVariantsInner {
1742
1817
  * @memberof UpdateProductsRequestProductsInnerVariantsInner
1743
1818
  */
1744
1819
  'shopifyId'?: number;
1820
+ /**
1821
+ *
1822
+ * @type {Array<UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner>}
1823
+ * @memberof UpdateProductsRequestProductsInnerVariantsInner
1824
+ */
1825
+ 'integrationConnections'?: Array<UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner>;
1745
1826
  }
1746
1827
  /**
1747
1828
  *
@@ -1767,6 +1848,25 @@ export declare const UpdateProductsRequestProductsInnerVariantsInnerAttributesIn
1767
1848
  readonly Colour: "Colour";
1768
1849
  };
1769
1850
  export type UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum = typeof UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum[keyof typeof UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum];
1851
+ /**
1852
+ *
1853
+ * @export
1854
+ * @interface UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner
1855
+ */
1856
+ export interface UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner {
1857
+ /**
1858
+ *
1859
+ * @type {string}
1860
+ * @memberof UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner
1861
+ */
1862
+ 'integrationCode': string;
1863
+ /**
1864
+ * The value of the identifying property on the foreign variant
1865
+ * @type {string}
1866
+ * @memberof UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner
1867
+ */
1868
+ 'foreignKey': string;
1869
+ }
1770
1870
  /**
1771
1871
  * Variant retail price including tax.
1772
1872
  * @export
@@ -1934,6 +2034,31 @@ export interface Variant {
1934
2034
  * @memberof Variant
1935
2035
  */
1936
2036
  'metafields'?: Array<MetaField>;
2037
+ /**
2038
+ *
2039
+ * @type {Array<VariantIntegrationConnectionsInner>}
2040
+ * @memberof Variant
2041
+ */
2042
+ 'integrationConnections'?: Array<VariantIntegrationConnectionsInner>;
2043
+ }
2044
+ /**
2045
+ *
2046
+ * @export
2047
+ * @interface VariantIntegrationConnectionsInner
2048
+ */
2049
+ export interface VariantIntegrationConnectionsInner {
2050
+ /**
2051
+ *
2052
+ * @type {string}
2053
+ * @memberof VariantIntegrationConnectionsInner
2054
+ */
2055
+ 'integrationCode': string;
2056
+ /**
2057
+ * The value of the identifying property on the foreign variant
2058
+ * @type {string}
2059
+ * @memberof VariantIntegrationConnectionsInner
2060
+ */
2061
+ 'foreignKey': string;
1937
2062
  }
1938
2063
  /**
1939
2064
  *
@@ -2381,6 +2506,14 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
2381
2506
  * @throws {RequiredError}
2382
2507
  */
2383
2508
  duplicateProducts: (project: string, duplicateProductsRequest?: DuplicateProductsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2509
+ /**
2510
+ * Export the project\'s products and variants as a CSV file.
2511
+ * @summary Export products
2512
+ * @param {string} project What project it is
2513
+ * @param {*} [options] Override http request option.
2514
+ * @throws {RequiredError}
2515
+ */
2516
+ exportProducts: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2384
2517
  /**
2385
2518
  * Gets a product by a given ID.
2386
2519
  * @summary Get product
@@ -2474,6 +2607,14 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
2474
2607
  * @throws {RequiredError}
2475
2608
  */
2476
2609
  duplicateProducts(project: string, duplicateProductsRequest?: DuplicateProductsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DuplicateProducts202Response>>;
2610
+ /**
2611
+ * Export the project\'s products and variants as a CSV file.
2612
+ * @summary Export products
2613
+ * @param {string} project What project it is
2614
+ * @param {*} [options] Override http request option.
2615
+ * @throws {RequiredError}
2616
+ */
2617
+ exportProducts(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
2477
2618
  /**
2478
2619
  * Gets a product by a given ID.
2479
2620
  * @summary Get product
@@ -2564,6 +2705,14 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
2564
2705
  * @throws {RequiredError}
2565
2706
  */
2566
2707
  duplicateProducts(requestParameters: ProductsApiDuplicateProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DuplicateProducts202Response>;
2708
+ /**
2709
+ * Export the project\'s products and variants as a CSV file.
2710
+ * @summary Export products
2711
+ * @param {ProductsApiExportProductsRequest} requestParameters Request parameters.
2712
+ * @param {*} [options] Override http request option.
2713
+ * @throws {RequiredError}
2714
+ */
2715
+ exportProducts(requestParameters: ProductsApiExportProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
2567
2716
  /**
2568
2717
  * Gets a product by a given ID.
2569
2718
  * @summary Get product
@@ -2670,6 +2819,19 @@ export interface ProductsApiDuplicateProductsRequest {
2670
2819
  */
2671
2820
  readonly duplicateProductsRequest?: DuplicateProductsRequest;
2672
2821
  }
2822
+ /**
2823
+ * Request parameters for exportProducts operation in ProductsApi.
2824
+ * @export
2825
+ * @interface ProductsApiExportProductsRequest
2826
+ */
2827
+ export interface ProductsApiExportProductsRequest {
2828
+ /**
2829
+ * What project it is
2830
+ * @type {string}
2831
+ * @memberof ProductsApiExportProducts
2832
+ */
2833
+ readonly project: string;
2834
+ }
2673
2835
  /**
2674
2836
  * Request parameters for getProduct operation in ProductsApi.
2675
2837
  * @export
@@ -2854,6 +3016,15 @@ export declare class ProductsApi extends BaseAPI {
2854
3016
  * @memberof ProductsApi
2855
3017
  */
2856
3018
  duplicateProducts(requestParameters: ProductsApiDuplicateProductsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DuplicateProducts202Response, any>>;
3019
+ /**
3020
+ * Export the project\'s products and variants as a CSV file.
3021
+ * @summary Export products
3022
+ * @param {ProductsApiExportProductsRequest} requestParameters Request parameters.
3023
+ * @param {*} [options] Override http request option.
3024
+ * @throws {RequiredError}
3025
+ * @memberof ProductsApi
3026
+ */
3027
+ exportProducts(requestParameters: ProductsApiExportProductsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
2857
3028
  /**
2858
3029
  * Gets a product by a given ID.
2859
3030
  * @summary Get product
package/dist/api.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.45.3
8
+ * The version of the OpenAPI document: 1.48.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -648,6 +648,42 @@ const ProductsApiAxiosParamCreator = function (configuration) {
648
648
  options: localVarRequestOptions,
649
649
  };
650
650
  }),
651
+ /**
652
+ * Export the project\'s products and variants as a CSV file.
653
+ * @summary Export products
654
+ * @param {string} project What project it is
655
+ * @param {*} [options] Override http request option.
656
+ * @throws {RequiredError}
657
+ */
658
+ exportProducts: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
659
+ // verify required parameter 'project' is not null or undefined
660
+ (0, common_1.assertParamExists)('exportProducts', 'project', project);
661
+ const localVarPath = `/v1/catalog/products/export`;
662
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
663
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
664
+ let baseOptions;
665
+ if (configuration) {
666
+ baseOptions = configuration.baseOptions;
667
+ }
668
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
669
+ const localVarHeaderParameter = {};
670
+ const localVarQueryParameter = {};
671
+ // authentication session-oauth required
672
+ // oauth required
673
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
674
+ // authentication api-key required
675
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
676
+ if (project !== undefined) {
677
+ localVarQueryParameter['project'] = project;
678
+ }
679
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
680
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
681
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
682
+ return {
683
+ url: (0, common_1.toPathString)(localVarUrlObj),
684
+ options: localVarRequestOptions,
685
+ };
686
+ }),
651
687
  /**
652
688
  * Gets a product by a given ID.
653
689
  * @summary Get product
@@ -971,6 +1007,22 @@ const ProductsApiFp = function (configuration) {
971
1007
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
972
1008
  });
973
1009
  },
1010
+ /**
1011
+ * Export the project\'s products and variants as a CSV file.
1012
+ * @summary Export products
1013
+ * @param {string} project What project it is
1014
+ * @param {*} [options] Override http request option.
1015
+ * @throws {RequiredError}
1016
+ */
1017
+ exportProducts(project, options) {
1018
+ return __awaiter(this, void 0, void 0, function* () {
1019
+ var _a, _b, _c;
1020
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.exportProducts(project, options);
1021
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1022
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductsApi.exportProducts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1023
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1024
+ });
1025
+ },
974
1026
  /**
975
1027
  * Gets a product by a given ID.
976
1028
  * @summary Get product
@@ -1119,6 +1171,16 @@ const ProductsApiFactory = function (configuration, basePath, axios) {
1119
1171
  duplicateProducts(requestParameters, options) {
1120
1172
  return localVarFp.duplicateProducts(requestParameters.project, requestParameters.duplicateProductsRequest, options).then((request) => request(axios, basePath));
1121
1173
  },
1174
+ /**
1175
+ * Export the project\'s products and variants as a CSV file.
1176
+ * @summary Export products
1177
+ * @param {ProductsApiExportProductsRequest} requestParameters Request parameters.
1178
+ * @param {*} [options] Override http request option.
1179
+ * @throws {RequiredError}
1180
+ */
1181
+ exportProducts(requestParameters, options) {
1182
+ return localVarFp.exportProducts(requestParameters.project, options).then((request) => request(axios, basePath));
1183
+ },
1122
1184
  /**
1123
1185
  * Gets a product by a given ID.
1124
1186
  * @summary Get product
@@ -1222,6 +1284,17 @@ class ProductsApi extends base_1.BaseAPI {
1222
1284
  duplicateProducts(requestParameters, options) {
1223
1285
  return (0, exports.ProductsApiFp)(this.configuration).duplicateProducts(requestParameters.project, requestParameters.duplicateProductsRequest, options).then((request) => request(this.axios, this.basePath));
1224
1286
  }
1287
+ /**
1288
+ * Export the project\'s products and variants as a CSV file.
1289
+ * @summary Export products
1290
+ * @param {ProductsApiExportProductsRequest} requestParameters Request parameters.
1291
+ * @param {*} [options] Override http request option.
1292
+ * @throws {RequiredError}
1293
+ * @memberof ProductsApi
1294
+ */
1295
+ exportProducts(requestParameters, options) {
1296
+ return (0, exports.ProductsApiFp)(this.configuration).exportProducts(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
1297
+ }
1225
1298
  /**
1226
1299
  * Gets a product by a given ID.
1227
1300
  * @summary Get product
package/dist/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.45.3
5
+ * The version of the OpenAPI document: 1.48.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
@@ -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.45.3
8
+ * The version of the OpenAPI document: 1.48.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
@@ -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.45.3
5
+ * The version of the OpenAPI document: 1.48.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
@@ -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.45.3
8
+ * The version of the OpenAPI document: 1.48.0
9
9
  *
10
10
  *
11
11
  * 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.45.3
5
+ * The version of the OpenAPI document: 1.48.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.45.3
8
+ * The version of the OpenAPI document: 1.48.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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.45.3
5
+ * The version of the OpenAPI document: 1.48.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -785,6 +785,12 @@ export interface CreateProductVariant {
785
785
  * @memberof CreateProductVariant
786
786
  */
787
787
  'shopifyId'?: number;
788
+ /**
789
+ *
790
+ * @type {Array<UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner>}
791
+ * @memberof CreateProductVariant
792
+ */
793
+ 'integrationConnections'?: Array<UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner>;
788
794
  }
789
795
  /**
790
796
  *
@@ -844,6 +850,19 @@ export interface DuplicateProductsRequest {
844
850
  */
845
851
  'projects': Array<string>;
846
852
  }
853
+ /**
854
+ *
855
+ * @export
856
+ * @interface ExportProducts202Response
857
+ */
858
+ export interface ExportProducts202Response {
859
+ /**
860
+ * A message describing the export status
861
+ * @type {string}
862
+ * @memberof ExportProducts202Response
863
+ */
864
+ 'message'?: string;
865
+ }
847
866
  /**
848
867
  * Image description
849
868
  * @export
@@ -1215,6 +1234,12 @@ export interface Product {
1215
1234
  * @memberof Product
1216
1235
  */
1217
1236
  'optimisationHistory'?: Array<OptimisationHistoryItem>;
1237
+ /**
1238
+ *
1239
+ * @type {Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>}
1240
+ * @memberof Product
1241
+ */
1242
+ 'integrationConnections'?: Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>;
1218
1243
  }
1219
1244
  /**
1220
1245
  *
@@ -1600,6 +1625,31 @@ export interface UpdateProductRequest {
1600
1625
  * @memberof UpdateProductRequest
1601
1626
  */
1602
1627
  'personalizationTemplate'?: string;
1628
+ /**
1629
+ * Integration connections for the product
1630
+ * @type {Array<UpdateProductRequestIntegrationConnectionsInner>}
1631
+ * @memberof UpdateProductRequest
1632
+ */
1633
+ 'integrationConnections'?: Array<UpdateProductRequestIntegrationConnectionsInner>;
1634
+ }
1635
+ /**
1636
+ *
1637
+ * @export
1638
+ * @interface UpdateProductRequestIntegrationConnectionsInner
1639
+ */
1640
+ export interface UpdateProductRequestIntegrationConnectionsInner {
1641
+ /**
1642
+ * Code identifying the integration
1643
+ * @type {string}
1644
+ * @memberof UpdateProductRequestIntegrationConnectionsInner
1645
+ */
1646
+ 'integrationCode': string;
1647
+ /**
1648
+ * The value of the identifying property on the foreign product
1649
+ * @type {string}
1650
+ * @memberof UpdateProductRequestIntegrationConnectionsInner
1651
+ */
1652
+ 'foreignKey': string;
1603
1653
  }
1604
1654
  /**
1605
1655
  *
@@ -1686,6 +1736,31 @@ export interface UpdateProductsRequestProductsInner {
1686
1736
  * @memberof UpdateProductsRequestProductsInner
1687
1737
  */
1688
1738
  'shopifyId'?: number;
1739
+ /**
1740
+ *
1741
+ * @type {Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>}
1742
+ * @memberof UpdateProductsRequestProductsInner
1743
+ */
1744
+ 'integrationConnections'?: Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>;
1745
+ }
1746
+ /**
1747
+ *
1748
+ * @export
1749
+ * @interface UpdateProductsRequestProductsInnerIntegrationConnectionsInner
1750
+ */
1751
+ export interface UpdateProductsRequestProductsInnerIntegrationConnectionsInner {
1752
+ /**
1753
+ *
1754
+ * @type {string}
1755
+ * @memberof UpdateProductsRequestProductsInnerIntegrationConnectionsInner
1756
+ */
1757
+ 'integrationCode': string;
1758
+ /**
1759
+ * The value of the identifying property on the foreign product
1760
+ * @type {string}
1761
+ * @memberof UpdateProductsRequestProductsInnerIntegrationConnectionsInner
1762
+ */
1763
+ 'foreignKey': string;
1689
1764
  }
1690
1765
  /**
1691
1766
  *
@@ -1742,6 +1817,12 @@ export interface UpdateProductsRequestProductsInnerVariantsInner {
1742
1817
  * @memberof UpdateProductsRequestProductsInnerVariantsInner
1743
1818
  */
1744
1819
  'shopifyId'?: number;
1820
+ /**
1821
+ *
1822
+ * @type {Array<UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner>}
1823
+ * @memberof UpdateProductsRequestProductsInnerVariantsInner
1824
+ */
1825
+ 'integrationConnections'?: Array<UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner>;
1745
1826
  }
1746
1827
  /**
1747
1828
  *
@@ -1767,6 +1848,25 @@ export declare const UpdateProductsRequestProductsInnerVariantsInnerAttributesIn
1767
1848
  readonly Colour: "Colour";
1768
1849
  };
1769
1850
  export type UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum = typeof UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum[keyof typeof UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum];
1851
+ /**
1852
+ *
1853
+ * @export
1854
+ * @interface UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner
1855
+ */
1856
+ export interface UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner {
1857
+ /**
1858
+ *
1859
+ * @type {string}
1860
+ * @memberof UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner
1861
+ */
1862
+ 'integrationCode': string;
1863
+ /**
1864
+ * The value of the identifying property on the foreign variant
1865
+ * @type {string}
1866
+ * @memberof UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner
1867
+ */
1868
+ 'foreignKey': string;
1869
+ }
1770
1870
  /**
1771
1871
  * Variant retail price including tax.
1772
1872
  * @export
@@ -1934,6 +2034,31 @@ export interface Variant {
1934
2034
  * @memberof Variant
1935
2035
  */
1936
2036
  'metafields'?: Array<MetaField>;
2037
+ /**
2038
+ *
2039
+ * @type {Array<VariantIntegrationConnectionsInner>}
2040
+ * @memberof Variant
2041
+ */
2042
+ 'integrationConnections'?: Array<VariantIntegrationConnectionsInner>;
2043
+ }
2044
+ /**
2045
+ *
2046
+ * @export
2047
+ * @interface VariantIntegrationConnectionsInner
2048
+ */
2049
+ export interface VariantIntegrationConnectionsInner {
2050
+ /**
2051
+ *
2052
+ * @type {string}
2053
+ * @memberof VariantIntegrationConnectionsInner
2054
+ */
2055
+ 'integrationCode': string;
2056
+ /**
2057
+ * The value of the identifying property on the foreign variant
2058
+ * @type {string}
2059
+ * @memberof VariantIntegrationConnectionsInner
2060
+ */
2061
+ 'foreignKey': string;
1937
2062
  }
1938
2063
  /**
1939
2064
  *
@@ -2381,6 +2506,14 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
2381
2506
  * @throws {RequiredError}
2382
2507
  */
2383
2508
  duplicateProducts: (project: string, duplicateProductsRequest?: DuplicateProductsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2509
+ /**
2510
+ * Export the project\'s products and variants as a CSV file.
2511
+ * @summary Export products
2512
+ * @param {string} project What project it is
2513
+ * @param {*} [options] Override http request option.
2514
+ * @throws {RequiredError}
2515
+ */
2516
+ exportProducts: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2384
2517
  /**
2385
2518
  * Gets a product by a given ID.
2386
2519
  * @summary Get product
@@ -2474,6 +2607,14 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
2474
2607
  * @throws {RequiredError}
2475
2608
  */
2476
2609
  duplicateProducts(project: string, duplicateProductsRequest?: DuplicateProductsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DuplicateProducts202Response>>;
2610
+ /**
2611
+ * Export the project\'s products and variants as a CSV file.
2612
+ * @summary Export products
2613
+ * @param {string} project What project it is
2614
+ * @param {*} [options] Override http request option.
2615
+ * @throws {RequiredError}
2616
+ */
2617
+ exportProducts(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
2477
2618
  /**
2478
2619
  * Gets a product by a given ID.
2479
2620
  * @summary Get product
@@ -2564,6 +2705,14 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
2564
2705
  * @throws {RequiredError}
2565
2706
  */
2566
2707
  duplicateProducts(requestParameters: ProductsApiDuplicateProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DuplicateProducts202Response>;
2708
+ /**
2709
+ * Export the project\'s products and variants as a CSV file.
2710
+ * @summary Export products
2711
+ * @param {ProductsApiExportProductsRequest} requestParameters Request parameters.
2712
+ * @param {*} [options] Override http request option.
2713
+ * @throws {RequiredError}
2714
+ */
2715
+ exportProducts(requestParameters: ProductsApiExportProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
2567
2716
  /**
2568
2717
  * Gets a product by a given ID.
2569
2718
  * @summary Get product
@@ -2670,6 +2819,19 @@ export interface ProductsApiDuplicateProductsRequest {
2670
2819
  */
2671
2820
  readonly duplicateProductsRequest?: DuplicateProductsRequest;
2672
2821
  }
2822
+ /**
2823
+ * Request parameters for exportProducts operation in ProductsApi.
2824
+ * @export
2825
+ * @interface ProductsApiExportProductsRequest
2826
+ */
2827
+ export interface ProductsApiExportProductsRequest {
2828
+ /**
2829
+ * What project it is
2830
+ * @type {string}
2831
+ * @memberof ProductsApiExportProducts
2832
+ */
2833
+ readonly project: string;
2834
+ }
2673
2835
  /**
2674
2836
  * Request parameters for getProduct operation in ProductsApi.
2675
2837
  * @export
@@ -2854,6 +3016,15 @@ export declare class ProductsApi extends BaseAPI {
2854
3016
  * @memberof ProductsApi
2855
3017
  */
2856
3018
  duplicateProducts(requestParameters: ProductsApiDuplicateProductsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DuplicateProducts202Response, any>>;
3019
+ /**
3020
+ * Export the project\'s products and variants as a CSV file.
3021
+ * @summary Export products
3022
+ * @param {ProductsApiExportProductsRequest} requestParameters Request parameters.
3023
+ * @param {*} [options] Override http request option.
3024
+ * @throws {RequiredError}
3025
+ * @memberof ProductsApi
3026
+ */
3027
+ exportProducts(requestParameters: ProductsApiExportProductsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
2857
3028
  /**
2858
3029
  * Gets a product by a given ID.
2859
3030
  * @summary Get product
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.45.3
7
+ * The version of the OpenAPI document: 1.48.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -641,6 +641,42 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
641
641
  options: localVarRequestOptions,
642
642
  };
643
643
  }),
644
+ /**
645
+ * Export the project\'s products and variants as a CSV file.
646
+ * @summary Export products
647
+ * @param {string} project What project it is
648
+ * @param {*} [options] Override http request option.
649
+ * @throws {RequiredError}
650
+ */
651
+ exportProducts: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
652
+ // verify required parameter 'project' is not null or undefined
653
+ assertParamExists('exportProducts', 'project', project);
654
+ const localVarPath = `/v1/catalog/products/export`;
655
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
656
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
657
+ let baseOptions;
658
+ if (configuration) {
659
+ baseOptions = configuration.baseOptions;
660
+ }
661
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
662
+ const localVarHeaderParameter = {};
663
+ const localVarQueryParameter = {};
664
+ // authentication session-oauth required
665
+ // oauth required
666
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
667
+ // authentication api-key required
668
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
669
+ if (project !== undefined) {
670
+ localVarQueryParameter['project'] = project;
671
+ }
672
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
673
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
674
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
675
+ return {
676
+ url: toPathString(localVarUrlObj),
677
+ options: localVarRequestOptions,
678
+ };
679
+ }),
644
680
  /**
645
681
  * Gets a product by a given ID.
646
682
  * @summary Get product
@@ -963,6 +999,22 @@ export const ProductsApiFp = function (configuration) {
963
999
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
964
1000
  });
965
1001
  },
1002
+ /**
1003
+ * Export the project\'s products and variants as a CSV file.
1004
+ * @summary Export products
1005
+ * @param {string} project What project it is
1006
+ * @param {*} [options] Override http request option.
1007
+ * @throws {RequiredError}
1008
+ */
1009
+ exportProducts(project, options) {
1010
+ return __awaiter(this, void 0, void 0, function* () {
1011
+ var _a, _b, _c;
1012
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.exportProducts(project, options);
1013
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1014
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProductsApi.exportProducts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1015
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1016
+ });
1017
+ },
966
1018
  /**
967
1019
  * Gets a product by a given ID.
968
1020
  * @summary Get product
@@ -1110,6 +1162,16 @@ export const ProductsApiFactory = function (configuration, basePath, axios) {
1110
1162
  duplicateProducts(requestParameters, options) {
1111
1163
  return localVarFp.duplicateProducts(requestParameters.project, requestParameters.duplicateProductsRequest, options).then((request) => request(axios, basePath));
1112
1164
  },
1165
+ /**
1166
+ * Export the project\'s products and variants as a CSV file.
1167
+ * @summary Export products
1168
+ * @param {ProductsApiExportProductsRequest} requestParameters Request parameters.
1169
+ * @param {*} [options] Override http request option.
1170
+ * @throws {RequiredError}
1171
+ */
1172
+ exportProducts(requestParameters, options) {
1173
+ return localVarFp.exportProducts(requestParameters.project, options).then((request) => request(axios, basePath));
1174
+ },
1113
1175
  /**
1114
1176
  * Gets a product by a given ID.
1115
1177
  * @summary Get product
@@ -1212,6 +1274,17 @@ export class ProductsApi extends BaseAPI {
1212
1274
  duplicateProducts(requestParameters, options) {
1213
1275
  return ProductsApiFp(this.configuration).duplicateProducts(requestParameters.project, requestParameters.duplicateProductsRequest, options).then((request) => request(this.axios, this.basePath));
1214
1276
  }
1277
+ /**
1278
+ * Export the project\'s products and variants as a CSV file.
1279
+ * @summary Export products
1280
+ * @param {ProductsApiExportProductsRequest} requestParameters Request parameters.
1281
+ * @param {*} [options] Override http request option.
1282
+ * @throws {RequiredError}
1283
+ * @memberof ProductsApi
1284
+ */
1285
+ exportProducts(requestParameters, options) {
1286
+ return ProductsApiFp(this.configuration).exportProducts(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
1287
+ }
1215
1288
  /**
1216
1289
  * Gets a product by a given ID.
1217
1290
  * @summary Get product
@@ -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.45.3
5
+ * The version of the OpenAPI document: 1.48.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.45.3
7
+ * The version of the OpenAPI document: 1.48.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.45.3
5
+ * The version of the OpenAPI document: 1.48.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.45.3
7
+ * The version of the OpenAPI document: 1.48.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.45.3
5
+ * The version of the OpenAPI document: 1.48.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.45.3
7
+ * The version of the OpenAPI document: 1.48.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.45.3
5
+ * The version of the OpenAPI document: 1.48.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.45.3
7
+ * The version of the OpenAPI document: 1.48.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.45.3
5
+ * The version of the OpenAPI document: 1.48.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.45.3
8
+ * The version of the OpenAPI document: 1.48.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.45.3
7
+ * The version of the OpenAPI document: 1.48.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/product-catalog",
3
- "version": "1.45.3",
3
+ "version": "1.48.0",
4
4
  "description": "OpenAPI client for @teemill/product-catalog",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {