@schally/node-akeneo-api-client 1.0.9
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/LICENSE +20 -0
- package/README.md +186 -0
- package/dist/akeneo-client.d.ts +28 -0
- package/dist/akeneo-client.d.ts.map +1 -0
- package/dist/akeneo-client.js +33 -0
- package/dist/akeneo-client.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +23 -0
- package/dist/index.js.map +1 -0
- package/dist/services/akeneo-api-client.d.ts +11 -0
- package/dist/services/akeneo-api-client.d.ts.map +1 -0
- package/dist/services/akeneo-api-client.js +91 -0
- package/dist/services/akeneo-api-client.js.map +1 -0
- package/dist/services/api/asset-manager/asset-attributes-api.service.d.ts +21 -0
- package/dist/services/api/asset-manager/asset-attributes-api.service.d.ts.map +1 -0
- package/dist/services/api/asset-manager/asset-attributes-api.service.js +44 -0
- package/dist/services/api/asset-manager/asset-attributes-api.service.js.map +1 -0
- package/dist/services/api/asset-manager/asset-families-api.service.d.ts +15 -0
- package/dist/services/api/asset-manager/asset-families-api.service.d.ts.map +1 -0
- package/dist/services/api/asset-manager/asset-families-api.service.js +20 -0
- package/dist/services/api/asset-manager/asset-families-api.service.js.map +1 -0
- package/dist/services/api/asset-manager/asset-media-files-api.service.d.ts +13 -0
- package/dist/services/api/asset-manager/asset-media-files-api.service.d.ts.map +1 -0
- package/dist/services/api/asset-manager/asset-media-files-api.service.js +26 -0
- package/dist/services/api/asset-manager/asset-media-files-api.service.js.map +1 -0
- package/dist/services/api/asset-manager/assets-api.service.d.ts +28 -0
- package/dist/services/api/asset-manager/assets-api.service.d.ts.map +1 -0
- package/dist/services/api/asset-manager/assets-api.service.js +35 -0
- package/dist/services/api/asset-manager/assets-api.service.js.map +1 -0
- package/dist/services/api/asset-manager/index.d.ts +5 -0
- package/dist/services/api/asset-manager/index.d.ts.map +1 -0
- package/dist/services/api/asset-manager/index.js +21 -0
- package/dist/services/api/asset-manager/index.js.map +1 -0
- package/dist/services/api/asset-manager-api.service.d.ts +11 -0
- package/dist/services/api/asset-manager-api.service.d.ts.map +1 -0
- package/dist/services/api/asset-manager-api.service.js +15 -0
- package/dist/services/api/asset-manager-api.service.js.map +1 -0
- package/dist/services/api/association-types-api.service.d.ts +21 -0
- package/dist/services/api/association-types-api.service.d.ts.map +1 -0
- package/dist/services/api/association-types-api.service.js +28 -0
- package/dist/services/api/association-types-api.service.js.map +1 -0
- package/dist/services/api/attribute-groups-api.service.d.ts +26 -0
- package/dist/services/api/attribute-groups-api.service.d.ts.map +1 -0
- package/dist/services/api/attribute-groups-api.service.js +28 -0
- package/dist/services/api/attribute-groups-api.service.js.map +1 -0
- package/dist/services/api/attributes-api.service.d.ts +43 -0
- package/dist/services/api/attributes-api.service.d.ts.map +1 -0
- package/dist/services/api/attributes-api.service.js +60 -0
- package/dist/services/api/attributes-api.service.js.map +1 -0
- package/dist/services/api/base-api.service.d.ts +13 -0
- package/dist/services/api/base-api.service.d.ts.map +1 -0
- package/dist/services/api/base-api.service.js +26 -0
- package/dist/services/api/base-api.service.js.map +1 -0
- package/dist/services/api/catalog-for-apps/catalog-products-api.service.d.ts +28 -0
- package/dist/services/api/catalog-for-apps/catalog-products-api.service.d.ts.map +1 -0
- package/dist/services/api/catalog-for-apps/catalog-products-api.service.js +44 -0
- package/dist/services/api/catalog-for-apps/catalog-products-api.service.js.map +1 -0
- package/dist/services/api/catalog-for-apps/catalogs-api.service.d.ts +13 -0
- package/dist/services/api/catalog-for-apps/catalogs-api.service.d.ts.map +1 -0
- package/dist/services/api/catalog-for-apps/catalogs-api.service.js +14 -0
- package/dist/services/api/catalog-for-apps/catalogs-api.service.js.map +1 -0
- package/dist/services/api/catalog-for-apps/index.d.ts +4 -0
- package/dist/services/api/catalog-for-apps/index.d.ts.map +1 -0
- package/dist/services/api/catalog-for-apps/index.js +20 -0
- package/dist/services/api/catalog-for-apps/index.js.map +1 -0
- package/dist/services/api/catalog-for-apps/mapping-schemas-api.service.d.ts +13 -0
- package/dist/services/api/catalog-for-apps/mapping-schemas-api.service.d.ts.map +1 -0
- package/dist/services/api/catalog-for-apps/mapping-schemas-api.service.js +23 -0
- package/dist/services/api/catalog-for-apps/mapping-schemas-api.service.js.map +1 -0
- package/dist/services/api/catalog-for-apps-api.service.d.ts +10 -0
- package/dist/services/api/catalog-for-apps-api.service.d.ts.map +1 -0
- package/dist/services/api/catalog-for-apps-api.service.js +14 -0
- package/dist/services/api/catalog-for-apps-api.service.js.map +1 -0
- package/dist/services/api/categories-api.service.d.ts +39 -0
- package/dist/services/api/categories-api.service.d.ts.map +1 -0
- package/dist/services/api/categories-api.service.js +40 -0
- package/dist/services/api/categories-api.service.js.map +1 -0
- package/dist/services/api/channels-api.service.d.ts +21 -0
- package/dist/services/api/channels-api.service.d.ts.map +1 -0
- package/dist/services/api/channels-api.service.js +28 -0
- package/dist/services/api/channels-api.service.js.map +1 -0
- package/dist/services/api/currencies-api.service.d.ts +16 -0
- package/dist/services/api/currencies-api.service.d.ts.map +1 -0
- package/dist/services/api/currencies-api.service.js +17 -0
- package/dist/services/api/currencies-api.service.js.map +1 -0
- package/dist/services/api/families-api.service.d.ts +38 -0
- package/dist/services/api/families-api.service.d.ts.map +1 -0
- package/dist/services/api/families-api.service.js +53 -0
- package/dist/services/api/families-api.service.js.map +1 -0
- package/dist/services/api/index.d.ts +21 -0
- package/dist/services/api/index.d.ts.map +1 -0
- package/dist/services/api/index.js +37 -0
- package/dist/services/api/index.js.map +1 -0
- package/dist/services/api/jobs-api.service.d.ts +12 -0
- package/dist/services/api/jobs-api.service.d.ts.map +1 -0
- package/dist/services/api/jobs-api.service.js +17 -0
- package/dist/services/api/jobs-api.service.js.map +1 -0
- package/dist/services/api/locales-api.service.d.ts +16 -0
- package/dist/services/api/locales-api.service.d.ts.map +1 -0
- package/dist/services/api/locales-api.service.js +17 -0
- package/dist/services/api/locales-api.service.js.map +1 -0
- package/dist/services/api/measurement-families-api.service.d.ts +20 -0
- package/dist/services/api/measurement-families-api.service.d.ts.map +1 -0
- package/dist/services/api/measurement-families-api.service.js +19 -0
- package/dist/services/api/measurement-families-api.service.js.map +1 -0
- package/dist/services/api/product-media-files-api.service.d.ts +32 -0
- package/dist/services/api/product-media-files-api.service.d.ts.map +1 -0
- package/dist/services/api/product-media-files-api.service.js +25 -0
- package/dist/services/api/product-media-files-api.service.js.map +1 -0
- package/dist/services/api/product-models-api.service.d.ts +39 -0
- package/dist/services/api/product-models-api.service.d.ts.map +1 -0
- package/dist/services/api/product-models-api.service.js +31 -0
- package/dist/services/api/product-models-api.service.js.map +1 -0
- package/dist/services/api/product-uuid-api.service.d.ts +22 -0
- package/dist/services/api/product-uuid-api.service.d.ts.map +1 -0
- package/dist/services/api/product-uuid-api.service.js +31 -0
- package/dist/services/api/product-uuid-api.service.js.map +1 -0
- package/dist/services/api/products-api.service.d.ts +42 -0
- package/dist/services/api/products-api.service.d.ts.map +1 -0
- package/dist/services/api/products-api.service.js +31 -0
- package/dist/services/api/products-api.service.js.map +1 -0
- package/dist/services/api/reference-entities/index.d.ts +4 -0
- package/dist/services/api/reference-entities/index.d.ts.map +1 -0
- package/dist/services/api/reference-entities/index.js +20 -0
- package/dist/services/api/reference-entities/index.js.map +1 -0
- package/dist/services/api/reference-entities/reference-entities-attribute-api.service.d.ts +21 -0
- package/dist/services/api/reference-entities/reference-entities-attribute-api.service.d.ts.map +1 -0
- package/dist/services/api/reference-entities/reference-entities-attribute-api.service.js +46 -0
- package/dist/services/api/reference-entities/reference-entities-attribute-api.service.js.map +1 -0
- package/dist/services/api/reference-entities/reference-entities-media-files-api.service.d.ts +13 -0
- package/dist/services/api/reference-entities/reference-entities-media-files-api.service.d.ts.map +1 -0
- package/dist/services/api/reference-entities/reference-entities-media-files-api.service.js +26 -0
- package/dist/services/api/reference-entities/reference-entities-media-files-api.service.js.map +1 -0
- package/dist/services/api/reference-entities/reference-entities-records-api.service.d.ts +27 -0
- package/dist/services/api/reference-entities/reference-entities-records-api.service.d.ts.map +1 -0
- package/dist/services/api/reference-entities/reference-entities-records-api.service.js +34 -0
- package/dist/services/api/reference-entities/reference-entities-records-api.service.js.map +1 -0
- package/dist/services/api/reference-entities-api.service.d.ts +19 -0
- package/dist/services/api/reference-entities-api.service.d.ts.map +1 -0
- package/dist/services/api/reference-entities-api.service.js +24 -0
- package/dist/services/api/reference-entities-api.service.js.map +1 -0
- package/dist/services/api/ui-extensions-api.service.d.ts +14 -0
- package/dist/services/api/ui-extensions-api.service.d.ts.map +1 -0
- package/dist/services/api/ui-extensions-api.service.js +23 -0
- package/dist/services/api/ui-extensions-api.service.js.map +1 -0
- package/dist/services/api/utilities-api.service.d.ts +11 -0
- package/dist/services/api/utilities-api.service.d.ts.map +1 -0
- package/dist/services/api/utilities-api.service.js +13 -0
- package/dist/services/api/utilities-api.service.js.map +1 -0
- package/dist/services/index.d.ts +2 -0
- package/dist/services/index.d.ts.map +1 -0
- package/dist/services/index.js +18 -0
- package/dist/services/index.js.map +1 -0
- package/dist/types/api.type.d.ts +22 -0
- package/dist/types/api.type.d.ts.map +1 -0
- package/dist/types/api.type.js +3 -0
- package/dist/types/api.type.js.map +1 -0
- package/dist/types/assets.type.d.ts +109 -0
- package/dist/types/assets.type.d.ts.map +1 -0
- package/dist/types/assets.type.js +16 -0
- package/dist/types/assets.type.js.map +1 -0
- package/dist/types/association-type.type.d.ts +9 -0
- package/dist/types/association-type.type.d.ts.map +1 -0
- package/dist/types/association-type.type.js +3 -0
- package/dist/types/association-type.type.js.map +1 -0
- package/dist/types/attribute-group.type.d.ts +9 -0
- package/dist/types/attribute-group.type.d.ts.map +1 -0
- package/dist/types/attribute-group.type.js +3 -0
- package/dist/types/attribute-group.type.js.map +1 -0
- package/dist/types/attribute.type.d.ts +74 -0
- package/dist/types/attribute.type.d.ts.map +1 -0
- package/dist/types/attribute.type.js +24 -0
- package/dist/types/attribute.type.js.map +1 -0
- package/dist/types/auth.type.d.ts +13 -0
- package/dist/types/auth.type.d.ts.map +1 -0
- package/dist/types/auth.type.js +3 -0
- package/dist/types/auth.type.js.map +1 -0
- package/dist/types/catalog-for-apps.type.d.ts +49 -0
- package/dist/types/catalog-for-apps.type.d.ts.map +1 -0
- package/dist/types/catalog-for-apps.type.js +3 -0
- package/dist/types/catalog-for-apps.type.js.map +1 -0
- package/dist/types/category.type.d.ts +21 -0
- package/dist/types/category.type.d.ts.map +1 -0
- package/dist/types/category.type.js +3 -0
- package/dist/types/category.type.js.map +1 -0
- package/dist/types/channel.type.d.ts +13 -0
- package/dist/types/channel.type.d.ts.map +1 -0
- package/dist/types/channel.type.js +3 -0
- package/dist/types/channel.type.js.map +1 -0
- package/dist/types/currency.type.d.ts +6 -0
- package/dist/types/currency.type.d.ts.map +1 -0
- package/dist/types/currency.type.js +3 -0
- package/dist/types/currency.type.js.map +1 -0
- package/dist/types/family.type.d.ts +24 -0
- package/dist/types/family.type.d.ts.map +1 -0
- package/dist/types/family.type.js +3 -0
- package/dist/types/family.type.js.map +1 -0
- package/dist/types/index.d.ts +19 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +35 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/locale.type.d.ts +5 -0
- package/dist/types/locale.type.d.ts.map +1 -0
- package/dist/types/locale.type.js +3 -0
- package/dist/types/locale.type.js.map +1 -0
- package/dist/types/measurement-family.type.d.ts +22 -0
- package/dist/types/measurement-family.type.d.ts.map +1 -0
- package/dist/types/measurement-family.type.js +3 -0
- package/dist/types/measurement-family.type.js.map +1 -0
- package/dist/types/product-media-file.type.d.ts +13 -0
- package/dist/types/product-media-file.type.d.ts.map +1 -0
- package/dist/types/product-media-file.type.js +3 -0
- package/dist/types/product-media-file.type.js.map +1 -0
- package/dist/types/product-model.type.d.ts +54 -0
- package/dist/types/product-model.type.d.ts.map +1 -0
- package/dist/types/product-model.type.js +3 -0
- package/dist/types/product-model.type.js.map +1 -0
- package/dist/types/product.type.d.ts +62 -0
- package/dist/types/product.type.d.ts.map +1 -0
- package/dist/types/product.type.js +3 -0
- package/dist/types/product.type.js.map +1 -0
- package/dist/types/reference-entities.type.d.ts +64 -0
- package/dist/types/reference-entities.type.d.ts.map +1 -0
- package/dist/types/reference-entities.type.js +15 -0
- package/dist/types/reference-entities.type.js.map +1 -0
- package/dist/types/ui-extension.type.d.ts +35 -0
- package/dist/types/ui-extension.type.d.ts.map +1 -0
- package/dist/types/ui-extension.type.js +22 -0
- package/dist/types/ui-extension.type.js.map +1 -0
- package/package.json +70 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AkeneoApiClient } from '../akeneo-api-client';
|
|
2
|
+
export type SystemInfo = {
|
|
3
|
+
version: string;
|
|
4
|
+
edition: string;
|
|
5
|
+
};
|
|
6
|
+
export declare class UtilitiesApi {
|
|
7
|
+
private client;
|
|
8
|
+
constructor(client: AkeneoApiClient);
|
|
9
|
+
getSystemInformation(): Promise<SystemInfo>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=utilities-api.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utilities-api.service.d.ts","sourceRoot":"","sources":["../../../src/services/api/utilities-api.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD,MAAM,MAAM,UAAU,GAAG;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,qBAAa,YAAY;IACX,OAAO,CAAC,MAAM;gBAAN,MAAM,EAAE,eAAe;IAE9B,oBAAoB,IAAI,OAAO,CAAC,UAAU,CAAC;CAGzD"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UtilitiesApi = void 0;
|
|
4
|
+
class UtilitiesApi {
|
|
5
|
+
constructor(client) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
}
|
|
8
|
+
async getSystemInformation() {
|
|
9
|
+
return this.client.httpClient.get('/api/rest/v1/system-information').then((response) => response.data);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.UtilitiesApi = UtilitiesApi;
|
|
13
|
+
//# sourceMappingURL=utilities-api.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utilities-api.service.js","sourceRoot":"","sources":["../../../src/services/api/utilities-api.service.ts"],"names":[],"mappings":";;;AAOA,MAAa,YAAY;IACvB,YAAoB,MAAuB;QAAvB,WAAM,GAAN,MAAM,CAAiB;IAAG,CAAC;IAExC,KAAK,CAAC,oBAAoB;QAC/B,OAAO,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,iCAAiC,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IACzG,CAAC;CACF;AAND,oCAMC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./akeneo-api-client"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export type PaginatedResponse<T> = {
|
|
2
|
+
_links: {
|
|
3
|
+
self: {
|
|
4
|
+
href: string;
|
|
5
|
+
};
|
|
6
|
+
first: {
|
|
7
|
+
href: string;
|
|
8
|
+
};
|
|
9
|
+
previous?: {
|
|
10
|
+
href: string;
|
|
11
|
+
};
|
|
12
|
+
next?: {
|
|
13
|
+
href: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
current_page: number;
|
|
17
|
+
_embedded: {
|
|
18
|
+
items: T[];
|
|
19
|
+
};
|
|
20
|
+
items_count?: number;
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=api.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.type.d.ts","sourceRoot":"","sources":["../../src/types/api.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,CAAC,CAAC,IAAI;IACjC,MAAM,EAAE;QACN,IAAI,EAAE;YAAE,IAAI,EAAE,MAAM,CAAA;SAAE,CAAC;QACvB,KAAK,EAAE;YAAE,IAAI,EAAE,MAAM,CAAA;SAAE,CAAC;QACxB,QAAQ,CAAC,EAAE;YAAE,IAAI,EAAE,MAAM,CAAA;SAAE,CAAC;QAC5B,IAAI,CAAC,EAAE;YAAE,IAAI,EAAE,MAAM,CAAA;SAAE,CAAC;KACzB,CAAC;IACF,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE;QACT,KAAK,EAAE,CAAC,EAAE,CAAC;KACZ,CAAC;IACF,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.type.js","sourceRoot":"","sources":["../../src/types/api.type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
export type AssetFamily = {
|
|
2
|
+
code: string;
|
|
3
|
+
labels?: {
|
|
4
|
+
[localeCode: string]: string;
|
|
5
|
+
};
|
|
6
|
+
attribute_as_main_media?: string;
|
|
7
|
+
naming_convention?: AssetFamilyNamingConvention;
|
|
8
|
+
product_link_rules?: AssetFamilyProductLinkRule[];
|
|
9
|
+
transformations?: AssetFamilyTransformation[];
|
|
10
|
+
sharing_enabled?: boolean;
|
|
11
|
+
};
|
|
12
|
+
export type AssetAttribute = {
|
|
13
|
+
code: string;
|
|
14
|
+
labels: {
|
|
15
|
+
[localeCode: string]: string;
|
|
16
|
+
};
|
|
17
|
+
type: AssetAttributeType;
|
|
18
|
+
value_per_locale: boolean;
|
|
19
|
+
value_per_channel: boolean;
|
|
20
|
+
is_required_for_completeness: boolean;
|
|
21
|
+
is_read_only: boolean;
|
|
22
|
+
max_characters?: number;
|
|
23
|
+
is_textarea?: boolean;
|
|
24
|
+
is_rich_text_editor?: boolean;
|
|
25
|
+
validation_rule?: string;
|
|
26
|
+
validation_regexp?: string;
|
|
27
|
+
allowed_extensions?: string[];
|
|
28
|
+
max_file_size?: string;
|
|
29
|
+
decimals_allowed?: boolean;
|
|
30
|
+
min_value?: string;
|
|
31
|
+
max_value?: string;
|
|
32
|
+
media_type?: string;
|
|
33
|
+
prefix?: string;
|
|
34
|
+
suffix?: string;
|
|
35
|
+
reference_entity?: string;
|
|
36
|
+
};
|
|
37
|
+
export type AssetAttributeOption = {
|
|
38
|
+
code: string;
|
|
39
|
+
labels?: {
|
|
40
|
+
[localeCode: string]: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
export type Asset = {
|
|
44
|
+
code: string;
|
|
45
|
+
values: {
|
|
46
|
+
[attributeCode: string]: AssetValue[];
|
|
47
|
+
};
|
|
48
|
+
created: string;
|
|
49
|
+
updated: string;
|
|
50
|
+
};
|
|
51
|
+
export type AssetValue = {
|
|
52
|
+
locale: string | null;
|
|
53
|
+
channel: string | null;
|
|
54
|
+
data: string | number | boolean | object | string[];
|
|
55
|
+
};
|
|
56
|
+
export type AssetFamilyNamingConvention = {
|
|
57
|
+
source: AssetFamilyAttributeDefinition;
|
|
58
|
+
pattern: string;
|
|
59
|
+
abort_asset_creation_on_error: boolean;
|
|
60
|
+
};
|
|
61
|
+
export type AssetFamilyAttributeDefinition = {
|
|
62
|
+
property?: string;
|
|
63
|
+
attribute?: string;
|
|
64
|
+
locale: string | null;
|
|
65
|
+
channel: string | null;
|
|
66
|
+
};
|
|
67
|
+
export type AssetFamilyProductLinkRule = {
|
|
68
|
+
product_selections: AssetFamilyProductSelection[];
|
|
69
|
+
assign_assets_to: AssetFamilyProductValueAssignment[];
|
|
70
|
+
};
|
|
71
|
+
export type AssetFamilyProductSelection = {
|
|
72
|
+
field: string;
|
|
73
|
+
operator: string;
|
|
74
|
+
value: string;
|
|
75
|
+
locale?: string | null;
|
|
76
|
+
channel?: string | null;
|
|
77
|
+
};
|
|
78
|
+
export type AssetFamilyProductValueAssignment = {
|
|
79
|
+
mode: string;
|
|
80
|
+
attribute: string;
|
|
81
|
+
locale?: string | null;
|
|
82
|
+
channel?: string | null;
|
|
83
|
+
};
|
|
84
|
+
export type AssetFamilyTransformation = {
|
|
85
|
+
label: string;
|
|
86
|
+
filename_suffix?: string;
|
|
87
|
+
filename_prefix?: string;
|
|
88
|
+
source: AssetFamilyAttributeDefinition;
|
|
89
|
+
target: AssetFamilyAttributeDefinition;
|
|
90
|
+
operations?: AssetFamilyTransformationOperation[];
|
|
91
|
+
};
|
|
92
|
+
export type AssetFamilyTransformationOperation = {
|
|
93
|
+
type: string;
|
|
94
|
+
parameters: {
|
|
95
|
+
[key: string]: any;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
export declare enum AssetAttributeType {
|
|
99
|
+
MEDIA_FILE = "media_file",
|
|
100
|
+
TEXT = "text",
|
|
101
|
+
NUMBER = "number",
|
|
102
|
+
SINGLE_OPTION = "single_option",
|
|
103
|
+
MULTIPLE_OPTIONS = "multiple_options",
|
|
104
|
+
MEDIA_LINK = "media_link",
|
|
105
|
+
BOOLEAN = "boolean",
|
|
106
|
+
DATE = "date",
|
|
107
|
+
RECORD = "record"
|
|
108
|
+
}
|
|
109
|
+
//# sourceMappingURL=assets.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assets.type.d.ts","sourceRoot":"","sources":["../../src/types/assets.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE;QAAE,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAC1C,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,iBAAiB,CAAC,EAAE,2BAA2B,CAAC;IAChD,kBAAkB,CAAC,EAAE,0BAA0B,EAAE,CAAC;IAClD,eAAe,CAAC,EAAE,yBAAyB,EAAE,CAAC;IAC9C,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE;QAAE,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACzC,IAAI,EAAE,kBAAkB,CAAC;IACzB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,4BAA4B,EAAE,OAAO,CAAC;IACtC,YAAY,EAAE,OAAO,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAA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MAAM,WAAW;IACjB,aAAa,kBAAkB;IAC/B,gBAAgB,qBAAqB;IACrC,UAAU,eAAe;IACzB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,MAAM,WAAW;CAClB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AssetAttributeType = void 0;
|
|
4
|
+
var AssetAttributeType;
|
|
5
|
+
(function (AssetAttributeType) {
|
|
6
|
+
AssetAttributeType["MEDIA_FILE"] = "media_file";
|
|
7
|
+
AssetAttributeType["TEXT"] = "text";
|
|
8
|
+
AssetAttributeType["NUMBER"] = "number";
|
|
9
|
+
AssetAttributeType["SINGLE_OPTION"] = "single_option";
|
|
10
|
+
AssetAttributeType["MULTIPLE_OPTIONS"] = "multiple_options";
|
|
11
|
+
AssetAttributeType["MEDIA_LINK"] = "media_link";
|
|
12
|
+
AssetAttributeType["BOOLEAN"] = "boolean";
|
|
13
|
+
AssetAttributeType["DATE"] = "date";
|
|
14
|
+
AssetAttributeType["RECORD"] = "record";
|
|
15
|
+
})(AssetAttributeType || (exports.AssetAttributeType = AssetAttributeType = {}));
|
|
16
|
+
//# sourceMappingURL=assets.type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assets.type.js","sourceRoot":"","sources":["../../src/types/assets.type.ts"],"names":[],"mappings":";;;AAmGA,IAAY,kBAUX;AAVD,WAAY,kBAAkB;IAC5B,+CAAyB,CAAA;IACzB,mCAAa,CAAA;IACb,uCAAiB,CAAA;IACjB,qDAA+B,CAAA;IAC/B,2DAAqC,CAAA;IACrC,+CAAyB,CAAA;IACzB,yCAAmB,CAAA;IACnB,mCAAa,CAAA;IACb,uCAAiB,CAAA;AACnB,CAAC,EAVW,kBAAkB,kCAAlB,kBAAkB,QAU7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"association-type.type.d.ts","sourceRoot":"","sources":["../../src/types/association-type.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE;QAAE,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACzC,aAAa,EAAE,OAAO,CAAC;IACvB,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"association-type.type.js","sourceRoot":"","sources":["../../src/types/association-type.type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attribute-group.type.d.ts","sourceRoot":"","sources":["../../src/types/attribute-group.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,MAAM,EAAE;QAAE,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CAC1C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attribute-group.type.js","sourceRoot":"","sources":["../../src/types/attribute-group.type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
export type Attribute = {
|
|
2
|
+
code: string;
|
|
3
|
+
type: AttributeTypes;
|
|
4
|
+
labels: {
|
|
5
|
+
[localCode: string]: string;
|
|
6
|
+
};
|
|
7
|
+
group: string;
|
|
8
|
+
group_labels: {
|
|
9
|
+
[localCode: string]: string;
|
|
10
|
+
};
|
|
11
|
+
sort_order: number;
|
|
12
|
+
localizable: boolean;
|
|
13
|
+
scopable: boolean;
|
|
14
|
+
available_locales?: string[];
|
|
15
|
+
unique?: boolean;
|
|
16
|
+
useable_as_grid_filter?: boolean;
|
|
17
|
+
max_characters?: number;
|
|
18
|
+
validation_rule?: string;
|
|
19
|
+
validation_regexp?: string;
|
|
20
|
+
wysiwyg_enabled?: boolean;
|
|
21
|
+
number_min?: string;
|
|
22
|
+
number_max?: string;
|
|
23
|
+
decimals_allowed?: boolean;
|
|
24
|
+
negative_allowed?: boolean;
|
|
25
|
+
metric_family?: string;
|
|
26
|
+
default_metric_unit?: string;
|
|
27
|
+
date_min?: string;
|
|
28
|
+
date_max?: string;
|
|
29
|
+
allowed_extensions?: string[];
|
|
30
|
+
max_file_size?: string;
|
|
31
|
+
reference_data_name?: string;
|
|
32
|
+
default_value?: boolean;
|
|
33
|
+
table_configuration?: Array<{
|
|
34
|
+
code: string;
|
|
35
|
+
data_type: string;
|
|
36
|
+
validations: Record<string, any>;
|
|
37
|
+
labels: {
|
|
38
|
+
[localCode: string]: string;
|
|
39
|
+
};
|
|
40
|
+
is_required_for_completeness: boolean;
|
|
41
|
+
}>;
|
|
42
|
+
is_main_identifier?: boolean;
|
|
43
|
+
is_mandatory?: boolean;
|
|
44
|
+
decimal_places_strategy?: 'round' | 'forbid' | 'trim';
|
|
45
|
+
decimal_places?: number;
|
|
46
|
+
};
|
|
47
|
+
export declare enum AttributeTypes {
|
|
48
|
+
TEXT = "pim_catalog_text",
|
|
49
|
+
TEXTAREA = "pim_catalog_textarea",
|
|
50
|
+
NUMBER = "pim_catalog_number",
|
|
51
|
+
BOOLEAN = "pim_catalog_boolean",
|
|
52
|
+
DATE = "pim_catalog_date",
|
|
53
|
+
IDENTIFIER = "pim_catalog_identifier",
|
|
54
|
+
SIMPLE_SELECT = "pim_catalog_simpleselect",
|
|
55
|
+
MULTI_SELECT = "pim_catalog_multiselect",
|
|
56
|
+
FILE = "pim_catalog_file",
|
|
57
|
+
IMAGE = "pim_catalog_image",
|
|
58
|
+
METRIC = "pim_catalog_metric",
|
|
59
|
+
REFERENCE_ENTITY = "akeneo_reference_entity",
|
|
60
|
+
REFERENCE_ENTITY_COLLECTION = "akeneo_reference_entity_collection",
|
|
61
|
+
TABLE = "pim_catalog_table",
|
|
62
|
+
ASSET_COLLECTION = "pim_catalog_asset_collection",
|
|
63
|
+
PRICE = "pim_catalog_price_collection",
|
|
64
|
+
PRODUCT_LINK = "pim_catalog_product_link"
|
|
65
|
+
}
|
|
66
|
+
export type AttributeOption = {
|
|
67
|
+
code: string;
|
|
68
|
+
attribute: string;
|
|
69
|
+
sort_order: number;
|
|
70
|
+
labels: {
|
|
71
|
+
[localeCode: string]: string;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
//# sourceMappingURL=attribute.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attribute.type.d.ts","sourceRoot":"","sources":["../../src/types/attribute.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,cAAc,CAAC;IACrB,MAAM,EAAE;QAAE,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE;QAAE,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAC9C,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;IAClB,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC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ACb,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE;QAAE,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CAC1C,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AttributeTypes = void 0;
|
|
4
|
+
var AttributeTypes;
|
|
5
|
+
(function (AttributeTypes) {
|
|
6
|
+
AttributeTypes["TEXT"] = "pim_catalog_text";
|
|
7
|
+
AttributeTypes["TEXTAREA"] = "pim_catalog_textarea";
|
|
8
|
+
AttributeTypes["NUMBER"] = "pim_catalog_number";
|
|
9
|
+
AttributeTypes["BOOLEAN"] = "pim_catalog_boolean";
|
|
10
|
+
AttributeTypes["DATE"] = "pim_catalog_date";
|
|
11
|
+
AttributeTypes["IDENTIFIER"] = "pim_catalog_identifier";
|
|
12
|
+
AttributeTypes["SIMPLE_SELECT"] = "pim_catalog_simpleselect";
|
|
13
|
+
AttributeTypes["MULTI_SELECT"] = "pim_catalog_multiselect";
|
|
14
|
+
AttributeTypes["FILE"] = "pim_catalog_file";
|
|
15
|
+
AttributeTypes["IMAGE"] = "pim_catalog_image";
|
|
16
|
+
AttributeTypes["METRIC"] = "pim_catalog_metric";
|
|
17
|
+
AttributeTypes["REFERENCE_ENTITY"] = "akeneo_reference_entity";
|
|
18
|
+
AttributeTypes["REFERENCE_ENTITY_COLLECTION"] = "akeneo_reference_entity_collection";
|
|
19
|
+
AttributeTypes["TABLE"] = "pim_catalog_table";
|
|
20
|
+
AttributeTypes["ASSET_COLLECTION"] = "pim_catalog_asset_collection";
|
|
21
|
+
AttributeTypes["PRICE"] = "pim_catalog_price_collection";
|
|
22
|
+
AttributeTypes["PRODUCT_LINK"] = "pim_catalog_product_link";
|
|
23
|
+
})(AttributeTypes || (exports.AttributeTypes = AttributeTypes = {}));
|
|
24
|
+
//# sourceMappingURL=attribute.type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attribute.type.js","sourceRoot":"","sources":["../../src/types/attribute.type.ts"],"names":[],"mappings":";;;AAyCA,IAAY,cAkBX;AAlBD,WAAY,cAAc;IACxB,2CAAyB,CAAA;IACzB,mDAAiC,CAAA;IACjC,+CAA6B,CAAA;IAC7B,iDAA+B,CAAA;IAC/B,2CAAyB,CAAA;IACzB,uDAAqC,CAAA;IACrC,4DAA0C,CAAA;IAC1C,0DAAwC,CAAA;IACxC,2CAAyB,CAAA;IACzB,6CAA2B,CAAA;IAC3B,+CAA6B,CAAA;IAC7B,8DAA4C,CAAA;IAC5C,oFAAkE,CAAA;IAClE,6CAA2B,CAAA;IAC3B,mEAAiD,CAAA;IACjD,wDAAsC,CAAA;IACtC,2DAAyC,CAAA;AAC3C,CAAC,EAlBW,cAAc,8BAAd,cAAc,QAkBzB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type AkeneoAuthConnectionConfig = {
|
|
2
|
+
baseUrl: string;
|
|
3
|
+
clientId: string;
|
|
4
|
+
secret: string;
|
|
5
|
+
username: string;
|
|
6
|
+
password: string;
|
|
7
|
+
};
|
|
8
|
+
export type AkeneoAuthAppConfig = {
|
|
9
|
+
baseUrl: string;
|
|
10
|
+
accessToken: string;
|
|
11
|
+
clientId: string;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=auth.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.type.d.ts","sourceRoot":"","sources":["../../src/types/auth.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,0BAA0B,GAAG;IACvC,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.type.js","sourceRoot":"","sources":["../../src/types/auth.type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export type Catalog = {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
enabled: boolean;
|
|
5
|
+
managed_currencies: string[];
|
|
6
|
+
managed_locales: string[];
|
|
7
|
+
};
|
|
8
|
+
export type MappedProduct = {
|
|
9
|
+
uuid: string;
|
|
10
|
+
title: string;
|
|
11
|
+
code: string;
|
|
12
|
+
};
|
|
13
|
+
export type MappedProductModel = {
|
|
14
|
+
code: string;
|
|
15
|
+
title: string;
|
|
16
|
+
variants: string;
|
|
17
|
+
variation_axes: {
|
|
18
|
+
code: string;
|
|
19
|
+
label: {
|
|
20
|
+
locale: string;
|
|
21
|
+
value: string;
|
|
22
|
+
}[];
|
|
23
|
+
}[];
|
|
24
|
+
};
|
|
25
|
+
export type MappedProductModelVariant = {
|
|
26
|
+
is_published: boolean;
|
|
27
|
+
sku: string;
|
|
28
|
+
uuid: string;
|
|
29
|
+
variant_axes_values: {
|
|
30
|
+
code: string;
|
|
31
|
+
label: {
|
|
32
|
+
locale: string;
|
|
33
|
+
value: string;
|
|
34
|
+
}[];
|
|
35
|
+
value: string;
|
|
36
|
+
}[];
|
|
37
|
+
};
|
|
38
|
+
export type MappingSchemaForProducts = {
|
|
39
|
+
$id: string;
|
|
40
|
+
$schema: string;
|
|
41
|
+
$comment?: string;
|
|
42
|
+
title?: string;
|
|
43
|
+
description?: string;
|
|
44
|
+
type: 'object';
|
|
45
|
+
properties: {
|
|
46
|
+
[key: string]: any;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
//# sourceMappingURL=catalog-for-apps.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog-for-apps.type.d.ts","sourceRoot":"","sources":["../../src/types/catalog-for-apps.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,GAAG;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,kBAAkB,EAAE,MAAM,EAAE,CAAC;IAC7B,eAAe,EAAE,MAAM,EAAE,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE;QACd,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE;YACL,MAAM,EAAE,MAAM,CAAC;YACf,KAAK,EAAE,MAAM,CAAC;SACf,EAAE,CAAC;KACL,EAAE,CAAC;CACL,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC,YAAY,EAAE,OAAO,CAAC;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,mBAAmB,EAAE;QACnB,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE;YACL,MAAM,EAAE,MAAM,CAAC;YACf,KAAK,EAAE,MAAM,CAAC;SACf,EAAE,CAAC;QACJ,KAAK,EAAE,MAAM,CAAC;KACf,EAAE,CAAC;CACL,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,QAAQ,CAAC;IACf,UAAU,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;CACpC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog-for-apps.type.js","sourceRoot":"","sources":["../../src/types/catalog-for-apps.type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type Category = {
|
|
2
|
+
code: string;
|
|
3
|
+
parent?: string;
|
|
4
|
+
updated: string;
|
|
5
|
+
position?: number;
|
|
6
|
+
labels: {
|
|
7
|
+
[localeCode: string]: string;
|
|
8
|
+
};
|
|
9
|
+
values: {
|
|
10
|
+
[key: string]: CategoryValue[];
|
|
11
|
+
};
|
|
12
|
+
channel_requirements?: string[];
|
|
13
|
+
};
|
|
14
|
+
export type CategoryValue = {
|
|
15
|
+
data: string | number | boolean | object;
|
|
16
|
+
type: string;
|
|
17
|
+
locale?: string | null;
|
|
18
|
+
channel?: string | null;
|
|
19
|
+
attribute_code?: string;
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=category.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"category.type.d.ts","sourceRoot":"","sources":["../../src/types/category.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE;QAAE,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACzC,MAAM,EAAE;QACN,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,EAAE,CAAC;KAChC,CAAC;IACF,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"category.type.js","sourceRoot":"","sources":["../../src/types/category.type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type Channel = {
|
|
2
|
+
code: string;
|
|
3
|
+
locales: string[];
|
|
4
|
+
currencies: string[];
|
|
5
|
+
category_tree: string;
|
|
6
|
+
conversion_units?: {
|
|
7
|
+
[attributeCode: string]: string;
|
|
8
|
+
};
|
|
9
|
+
labels?: {
|
|
10
|
+
[localeCode: string]: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=channel.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"channel.type.d.ts","sourceRoot":"","sources":["../../src/types/channel.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,GAAG;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE;QACjB,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,CAAC;KACjC,CAAC;IACF,MAAM,CAAC,EAAE;QACP,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAAC;KAC9B,CAAC;CACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"channel.type.js","sourceRoot":"","sources":["../../src/types/channel.type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"currency.type.d.ts","sourceRoot":"","sources":["../../src/types/currency.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"currency.type.js","sourceRoot":"","sources":["../../src/types/currency.type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export type Family = {
|
|
2
|
+
code: string;
|
|
3
|
+
labels: {
|
|
4
|
+
[localCode: string]: string;
|
|
5
|
+
};
|
|
6
|
+
attributes: string[];
|
|
7
|
+
attribute_as_label?: string;
|
|
8
|
+
attribute_as_image?: string;
|
|
9
|
+
attribute_requirements?: {
|
|
10
|
+
[channelCode: string]: string[];
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export type VariantFamily = {
|
|
14
|
+
code: string;
|
|
15
|
+
variant_attribute_sets: {
|
|
16
|
+
level: number;
|
|
17
|
+
axes: string[];
|
|
18
|
+
attributes: string[];
|
|
19
|
+
}[];
|
|
20
|
+
labels: {
|
|
21
|
+
[localeCode: string]: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=family.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"family.type.d.ts","sourceRoot":"","sources":["../../src/types/family.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,MAAM,GAAG;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE;QAAE,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACxC,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,sBAAsB,CAAC,EAAE;QAAE,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;KAAE,CAAC;CAC9D,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,sBAAsB,EAAE;QACtB,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,EAAE,CAAC;QACf,UAAU,EAAE,MAAM,EAAE,CAAC;KACtB,EAAE,CAAC;IACJ,MAAM,EAAE;QAAE,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CAC1C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"family.type.js","sourceRoot":"","sources":["../../src/types/family.type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export * from './auth.type';
|
|
2
|
+
export * from './api.type';
|
|
3
|
+
export * from './product.type';
|
|
4
|
+
export * from './product-model.type';
|
|
5
|
+
export * from './product-media-file.type';
|
|
6
|
+
export * from './family.type';
|
|
7
|
+
export * from './attribute.type';
|
|
8
|
+
export * from './attribute-group.type';
|
|
9
|
+
export * from './association-type.type';
|
|
10
|
+
export * from './category.type';
|
|
11
|
+
export * from './channel.type';
|
|
12
|
+
export * from './locale.type';
|
|
13
|
+
export * from './currency.type';
|
|
14
|
+
export * from './measurement-family.type';
|
|
15
|
+
export * from './reference-entities.type';
|
|
16
|
+
export * from './assets.type';
|
|
17
|
+
export * from './catalog-for-apps.type';
|
|
18
|
+
export * from './ui-extension.type';
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC"}
|