@digital8/lighting-illusions-ts-sdk 0.0.443 → 0.0.444

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.
Files changed (38) hide show
  1. package/README.md +2 -2
  2. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  3. package/dist/models/ExternalApiLogResource.js +3 -1
  4. package/dist/models/GetAllAttributeRequest.d.ts +9 -18
  5. package/dist/models/GetAllAttributeRequest.js +5 -13
  6. package/dist/models/GetAllOverlayTemplateRequest.d.ts +6 -13
  7. package/dist/models/GetAllOverlayTemplateRequest.js +3 -9
  8. package/dist/models/GetAllProductChildRequest.d.ts +1 -10
  9. package/dist/models/GetAllProductChildRequest.js +1 -9
  10. package/dist/models/GetAllProductRequest.d.ts +31 -9
  11. package/dist/models/GetAllProductRequest.js +11 -8
  12. package/dist/models/GetAllProductTypeRequest.d.ts +1 -9
  13. package/dist/models/GetAllProductTypeRequest.js +1 -8
  14. package/dist/models/GetAllSupplierRequest.d.ts +1 -8
  15. package/dist/models/GetAllSupplierRequest.js +1 -7
  16. package/dist/models/IndexExternalApiLogRequest.d.ts +12 -12
  17. package/dist/models/IndexExternalApiLogRequest.js +4 -4
  18. package/dist/models/IndexProductChildRequest.d.ts +4 -4
  19. package/dist/models/IndexProductChildRequest.js +2 -2
  20. package/dist/models/TagLiteResource.d.ts +7 -0
  21. package/dist/models/TagLiteResource.js +5 -0
  22. package/docs/GetAllAttributeRequest.md +4 -4
  23. package/docs/GetAllOverlayTemplateRequest.md +2 -2
  24. package/docs/GetAllProductRequest.md +10 -0
  25. package/docs/IndexExternalApiLogRequest.md +4 -4
  26. package/docs/IndexProductChildRequest.md +2 -2
  27. package/docs/TagLiteResource.md +2 -0
  28. package/package.json +1 -1
  29. package/src/models/ExternalApiLogResource.ts +3 -2
  30. package/src/models/GetAllAttributeRequest.ts +13 -23
  31. package/src/models/GetAllOverlayTemplateRequest.ts +8 -16
  32. package/src/models/GetAllProductChildRequest.ts +1 -11
  33. package/src/models/GetAllProductRequest.ts +41 -10
  34. package/src/models/GetAllProductTypeRequest.ts +1 -10
  35. package/src/models/GetAllSupplierRequest.ts +1 -9
  36. package/src/models/IndexExternalApiLogRequest.ts +16 -16
  37. package/src/models/IndexProductChildRequest.ts +6 -6
  38. package/src/models/TagLiteResource.ts +17 -0
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @digital8/lighting-illusions-ts-sdk@0.0.443
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.444
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -293,7 +293,7 @@ and is automatically generated by the
293
293
  [OpenAPI Generator](https://openapi-generator.tech) project:
294
294
 
295
295
  - API version: `1.0.0`
296
- - Package version: `0.0.443`
296
+ - Package version: `0.0.444`
297
297
  - Generator version: `7.17.0`
298
298
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
299
299
 
@@ -63,7 +63,7 @@ export interface ExternalApiLogResource {
63
63
  * @type {string}
64
64
  * @memberof ExternalApiLogResource
65
65
  */
66
- requestPayload?: string | null;
66
+ requestPayload: string;
67
67
  /**
68
68
  *
69
69
  * @type {string}
@@ -37,6 +37,8 @@ function instanceOfExternalApiLogResource(value) {
37
37
  return false;
38
38
  if (!('responseCode' in value) || value['responseCode'] === undefined)
39
39
  return false;
40
+ if (!('requestPayload' in value) || value['requestPayload'] === undefined)
41
+ return false;
40
42
  if (!('responsePayload' in value) || value['responsePayload'] === undefined)
41
43
  return false;
42
44
  if (!('site' in value) || value['site'] === undefined)
@@ -58,7 +60,7 @@ function ExternalApiLogResourceFromJSONTyped(json, ignoreDiscriminator) {
58
60
  'exteranlApiLoggableId': json['exteranlApiLoggableId'],
59
61
  'endpoint': json['endpoint'],
60
62
  'responseCode': json['responseCode'],
61
- 'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
63
+ 'requestPayload': json['requestPayload'],
62
64
  'responsePayload': json['responsePayload'],
63
65
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
64
66
  'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
@@ -35,34 +35,34 @@ export interface GetAllAttributeRequest {
35
35
  sortDirection?: GetAllAttributeRequestSortDirectionEnum;
36
36
  /**
37
37
  *
38
- * @type {Array<string>}
38
+ * @type {number}
39
39
  * @memberof GetAllAttributeRequest
40
40
  */
41
- type?: Array<string>;
41
+ relatedId?: number;
42
42
  /**
43
43
  *
44
- * @type {Array<string>}
44
+ * @type {string}
45
45
  * @memberof GetAllAttributeRequest
46
46
  */
47
- isFilterable?: Array<string>;
47
+ relatedType?: string;
48
48
  /**
49
49
  *
50
50
  * @type {Array<string>}
51
51
  * @memberof GetAllAttributeRequest
52
52
  */
53
- isExpandedByDefault?: Array<string>;
53
+ type?: Array<string>;
54
54
  /**
55
55
  *
56
- * @type {number}
56
+ * @type {Array<string>}
57
57
  * @memberof GetAllAttributeRequest
58
58
  */
59
- relatedId?: number;
59
+ isFilterable?: Array<string>;
60
60
  /**
61
61
  *
62
- * @type {string}
62
+ * @type {Array<string>}
63
63
  * @memberof GetAllAttributeRequest
64
64
  */
65
- relatedType?: GetAllAttributeRequestRelatedTypeEnum;
65
+ isExpandedByDefault?: Array<string>;
66
66
  }
67
67
  /**
68
68
  * @export
@@ -82,15 +82,6 @@ export declare const GetAllAttributeRequestSortDirectionEnum: {
82
82
  readonly Desc: "desc";
83
83
  };
84
84
  export type GetAllAttributeRequestSortDirectionEnum = typeof GetAllAttributeRequestSortDirectionEnum[keyof typeof GetAllAttributeRequestSortDirectionEnum];
85
- /**
86
- * @export
87
- */
88
- export declare const GetAllAttributeRequestRelatedTypeEnum: {
89
- readonly ProductType: "productType";
90
- readonly Category: "category";
91
- readonly ProductRange: "productRange";
92
- };
93
- export type GetAllAttributeRequestRelatedTypeEnum = typeof GetAllAttributeRequestRelatedTypeEnum[keyof typeof GetAllAttributeRequestRelatedTypeEnum];
94
85
  /**
95
86
  * Check if a given object implements the GetAllAttributeRequest interface.
96
87
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.GetAllAttributeRequestRelatedTypeEnum = exports.GetAllAttributeRequestSortDirectionEnum = exports.GetAllAttributeRequestSortByEnum = void 0;
16
+ exports.GetAllAttributeRequestSortDirectionEnum = exports.GetAllAttributeRequestSortByEnum = void 0;
17
17
  exports.instanceOfGetAllAttributeRequest = instanceOfGetAllAttributeRequest;
18
18
  exports.GetAllAttributeRequestFromJSON = GetAllAttributeRequestFromJSON;
19
19
  exports.GetAllAttributeRequestFromJSONTyped = GetAllAttributeRequestFromJSONTyped;
@@ -35,14 +35,6 @@ exports.GetAllAttributeRequestSortDirectionEnum = {
35
35
  Asc: 'asc',
36
36
  Desc: 'desc'
37
37
  };
38
- /**
39
- * @export
40
- */
41
- exports.GetAllAttributeRequestRelatedTypeEnum = {
42
- ProductType: 'productType',
43
- Category: 'category',
44
- ProductRange: 'productRange'
45
- };
46
38
  /**
47
39
  * Check if a given object implements the GetAllAttributeRequest interface.
48
40
  */
@@ -60,11 +52,11 @@ function GetAllAttributeRequestFromJSONTyped(json, ignoreDiscriminator) {
60
52
  'search': json['search'] == null ? undefined : json['search'],
61
53
  'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
62
54
  'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
55
+ 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
56
+ 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
63
57
  'type': json['type'] == null ? undefined : json['type'],
64
58
  'isFilterable': json['is_filterable'] == null ? undefined : json['is_filterable'],
65
59
  'isExpandedByDefault': json['is_expanded_by_default'] == null ? undefined : json['is_expanded_by_default'],
66
- 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
67
- 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
68
60
  };
69
61
  }
70
62
  function GetAllAttributeRequestToJSON(json) {
@@ -79,10 +71,10 @@ function GetAllAttributeRequestToJSONTyped(value, ignoreDiscriminator) {
79
71
  'search': value['search'],
80
72
  'sortBy': value['sortBy'],
81
73
  'sortDirection': value['sortDirection'],
74
+ 'related_id': value['relatedId'],
75
+ 'related_type': value['relatedType'],
82
76
  'type': value['type'],
83
77
  'is_filterable': value['isFilterable'],
84
78
  'is_expanded_by_default': value['isExpandedByDefault'],
85
- 'related_id': value['relatedId'],
86
- 'related_type': value['relatedType'],
87
79
  };
88
80
  }
@@ -35,22 +35,22 @@ export interface GetAllOverlayTemplateRequest {
35
35
  sortDirection?: GetAllOverlayTemplateRequestSortDirectionEnum;
36
36
  /**
37
37
  *
38
- * @type {Array<string>}
38
+ * @type {number}
39
39
  * @memberof GetAllOverlayTemplateRequest
40
40
  */
41
- sitesId?: Array<string>;
41
+ relatedId?: number;
42
42
  /**
43
43
  *
44
- * @type {number}
44
+ * @type {string}
45
45
  * @memberof GetAllOverlayTemplateRequest
46
46
  */
47
- relatedId?: number;
47
+ relatedType?: string;
48
48
  /**
49
49
  *
50
- * @type {string}
50
+ * @type {Array<string>}
51
51
  * @memberof GetAllOverlayTemplateRequest
52
52
  */
53
- relatedType?: GetAllOverlayTemplateRequestRelatedTypeEnum;
53
+ sitesId?: Array<string>;
54
54
  }
55
55
  /**
56
56
  * @export
@@ -70,13 +70,6 @@ export declare const GetAllOverlayTemplateRequestSortDirectionEnum: {
70
70
  readonly Desc: "desc";
71
71
  };
72
72
  export type GetAllOverlayTemplateRequestSortDirectionEnum = typeof GetAllOverlayTemplateRequestSortDirectionEnum[keyof typeof GetAllOverlayTemplateRequestSortDirectionEnum];
73
- /**
74
- * @export
75
- */
76
- export declare const GetAllOverlayTemplateRequestRelatedTypeEnum: {
77
- readonly Asset: "asset";
78
- };
79
- export type GetAllOverlayTemplateRequestRelatedTypeEnum = typeof GetAllOverlayTemplateRequestRelatedTypeEnum[keyof typeof GetAllOverlayTemplateRequestRelatedTypeEnum];
80
73
  /**
81
74
  * Check if a given object implements the GetAllOverlayTemplateRequest interface.
82
75
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.GetAllOverlayTemplateRequestRelatedTypeEnum = exports.GetAllOverlayTemplateRequestSortDirectionEnum = exports.GetAllOverlayTemplateRequestSortByEnum = void 0;
16
+ exports.GetAllOverlayTemplateRequestSortDirectionEnum = exports.GetAllOverlayTemplateRequestSortByEnum = void 0;
17
17
  exports.instanceOfGetAllOverlayTemplateRequest = instanceOfGetAllOverlayTemplateRequest;
18
18
  exports.GetAllOverlayTemplateRequestFromJSON = GetAllOverlayTemplateRequestFromJSON;
19
19
  exports.GetAllOverlayTemplateRequestFromJSONTyped = GetAllOverlayTemplateRequestFromJSONTyped;
@@ -35,12 +35,6 @@ exports.GetAllOverlayTemplateRequestSortDirectionEnum = {
35
35
  Asc: 'asc',
36
36
  Desc: 'desc'
37
37
  };
38
- /**
39
- * @export
40
- */
41
- exports.GetAllOverlayTemplateRequestRelatedTypeEnum = {
42
- Asset: 'asset'
43
- };
44
38
  /**
45
39
  * Check if a given object implements the GetAllOverlayTemplateRequest interface.
46
40
  */
@@ -58,9 +52,9 @@ function GetAllOverlayTemplateRequestFromJSONTyped(json, ignoreDiscriminator) {
58
52
  'search': json['search'] == null ? undefined : json['search'],
59
53
  'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
60
54
  'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
61
- 'sitesId': json['sites-id'] == null ? undefined : json['sites-id'],
62
55
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
63
56
  'relatedType': json['related_type'] == null ? undefined : json['related_type'],
57
+ 'sitesId': json['sites-id'] == null ? undefined : json['sites-id'],
64
58
  };
65
59
  }
66
60
  function GetAllOverlayTemplateRequestToJSON(json) {
@@ -75,8 +69,8 @@ function GetAllOverlayTemplateRequestToJSONTyped(value, ignoreDiscriminator) {
75
69
  'search': value['search'],
76
70
  'sortBy': value['sortBy'],
77
71
  'sortDirection': value['sortDirection'],
78
- 'sites-id': value['sitesId'],
79
72
  'related_id': value['relatedId'],
80
73
  'related_type': value['relatedType'],
74
+ 'sites-id': value['sitesId'],
81
75
  };
82
76
  }
@@ -44,7 +44,7 @@ export interface GetAllProductChildRequest {
44
44
  * @type {string}
45
45
  * @memberof GetAllProductChildRequest
46
46
  */
47
- relatedType?: GetAllProductChildRequestRelatedTypeEnum;
47
+ relatedType?: string;
48
48
  /**
49
49
  *
50
50
  * @type {Array<string>}
@@ -103,15 +103,6 @@ export declare const GetAllProductChildRequestSortDirectionEnum: {
103
103
  readonly Desc: "desc";
104
104
  };
105
105
  export type GetAllProductChildRequestSortDirectionEnum = typeof GetAllProductChildRequestSortDirectionEnum[keyof typeof GetAllProductChildRequestSortDirectionEnum];
106
- /**
107
- * @export
108
- */
109
- export declare const GetAllProductChildRequestRelatedTypeEnum: {
110
- readonly OverlayTemplate: "overlayTemplate";
111
- readonly Supplier: "supplier";
112
- readonly Tag: "tag";
113
- };
114
- export type GetAllProductChildRequestRelatedTypeEnum = typeof GetAllProductChildRequestRelatedTypeEnum[keyof typeof GetAllProductChildRequestRelatedTypeEnum];
115
106
  /**
116
107
  * Check if a given object implements the GetAllProductChildRequest interface.
117
108
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.GetAllProductChildRequestRelatedTypeEnum = exports.GetAllProductChildRequestSortDirectionEnum = exports.GetAllProductChildRequestSortByEnum = void 0;
16
+ exports.GetAllProductChildRequestSortDirectionEnum = exports.GetAllProductChildRequestSortByEnum = void 0;
17
17
  exports.instanceOfGetAllProductChildRequest = instanceOfGetAllProductChildRequest;
18
18
  exports.GetAllProductChildRequestFromJSON = GetAllProductChildRequestFromJSON;
19
19
  exports.GetAllProductChildRequestFromJSONTyped = GetAllProductChildRequestFromJSONTyped;
@@ -44,14 +44,6 @@ exports.GetAllProductChildRequestSortDirectionEnum = {
44
44
  Asc: 'asc',
45
45
  Desc: 'desc'
46
46
  };
47
- /**
48
- * @export
49
- */
50
- exports.GetAllProductChildRequestRelatedTypeEnum = {
51
- OverlayTemplate: 'overlayTemplate',
52
- Supplier: 'supplier',
53
- Tag: 'tag'
54
- };
55
47
  /**
56
48
  * Check if a given object implements the GetAllProductChildRequest interface.
57
49
  */
@@ -44,7 +44,37 @@ export interface GetAllProductRequest {
44
44
  * @type {string}
45
45
  * @memberof GetAllProductRequest
46
46
  */
47
- relatedType?: GetAllProductRequestRelatedTypeEnum;
47
+ relatedType?: string;
48
+ /**
49
+ *
50
+ * @type {Array<string>}
51
+ * @memberof GetAllProductRequest
52
+ */
53
+ productTypeId?: Array<string>;
54
+ /**
55
+ *
56
+ * @type {Array<string>}
57
+ * @memberof GetAllProductRequest
58
+ */
59
+ supplierId?: Array<string>;
60
+ /**
61
+ *
62
+ * @type {Array<string>}
63
+ * @memberof GetAllProductRequest
64
+ */
65
+ isDisabled?: Array<string>;
66
+ /**
67
+ *
68
+ * @type {Array<string>}
69
+ * @memberof GetAllProductRequest
70
+ */
71
+ isAccessory?: Array<string>;
72
+ /**
73
+ *
74
+ * @type {Array<string>}
75
+ * @memberof GetAllProductRequest
76
+ */
77
+ categoriesId?: Array<string>;
48
78
  }
49
79
  /**
50
80
  * @export
@@ -65,14 +95,6 @@ export declare const GetAllProductRequestSortDirectionEnum: {
65
95
  readonly Desc: "desc";
66
96
  };
67
97
  export type GetAllProductRequestSortDirectionEnum = typeof GetAllProductRequestSortDirectionEnum[keyof typeof GetAllProductRequestSortDirectionEnum];
68
- /**
69
- * @export
70
- */
71
- export declare const GetAllProductRequestRelatedTypeEnum: {
72
- readonly Supplier: "supplier";
73
- readonly ProductType: "productType";
74
- };
75
- export type GetAllProductRequestRelatedTypeEnum = typeof GetAllProductRequestRelatedTypeEnum[keyof typeof GetAllProductRequestRelatedTypeEnum];
76
98
  /**
77
99
  * Check if a given object implements the GetAllProductRequest interface.
78
100
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.GetAllProductRequestRelatedTypeEnum = exports.GetAllProductRequestSortDirectionEnum = exports.GetAllProductRequestSortByEnum = void 0;
16
+ exports.GetAllProductRequestSortDirectionEnum = exports.GetAllProductRequestSortByEnum = void 0;
17
17
  exports.instanceOfGetAllProductRequest = instanceOfGetAllProductRequest;
18
18
  exports.GetAllProductRequestFromJSON = GetAllProductRequestFromJSON;
19
19
  exports.GetAllProductRequestFromJSONTyped = GetAllProductRequestFromJSONTyped;
@@ -36,13 +36,6 @@ exports.GetAllProductRequestSortDirectionEnum = {
36
36
  Asc: 'asc',
37
37
  Desc: 'desc'
38
38
  };
39
- /**
40
- * @export
41
- */
42
- exports.GetAllProductRequestRelatedTypeEnum = {
43
- Supplier: 'supplier',
44
- ProductType: 'productType'
45
- };
46
39
  /**
47
40
  * Check if a given object implements the GetAllProductRequest interface.
48
41
  */
@@ -62,6 +55,11 @@ function GetAllProductRequestFromJSONTyped(json, ignoreDiscriminator) {
62
55
  'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
63
56
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
64
57
  'relatedType': json['related_type'] == null ? undefined : json['related_type'],
58
+ 'productTypeId': json['product_type_id'] == null ? undefined : json['product_type_id'],
59
+ 'supplierId': json['supplier_id'] == null ? undefined : json['supplier_id'],
60
+ 'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
61
+ 'isAccessory': json['is_accessory'] == null ? undefined : json['is_accessory'],
62
+ 'categoriesId': json['categories-id'] == null ? undefined : json['categories-id'],
65
63
  };
66
64
  }
67
65
  function GetAllProductRequestToJSON(json) {
@@ -78,5 +76,10 @@ function GetAllProductRequestToJSONTyped(value, ignoreDiscriminator) {
78
76
  'sortDirection': value['sortDirection'],
79
77
  'related_id': value['relatedId'],
80
78
  'related_type': value['relatedType'],
79
+ 'product_type_id': value['productTypeId'],
80
+ 'supplier_id': value['supplierId'],
81
+ 'is_disabled': value['isDisabled'],
82
+ 'is_accessory': value['isAccessory'],
83
+ 'categories-id': value['categoriesId'],
81
84
  };
82
85
  }
@@ -44,7 +44,7 @@ export interface GetAllProductTypeRequest {
44
44
  * @type {string}
45
45
  * @memberof GetAllProductTypeRequest
46
46
  */
47
- relatedType?: GetAllProductTypeRequestRelatedTypeEnum;
47
+ relatedType?: string;
48
48
  }
49
49
  /**
50
50
  * @export
@@ -64,14 +64,6 @@ export declare const GetAllProductTypeRequestSortDirectionEnum: {
64
64
  readonly Desc: "desc";
65
65
  };
66
66
  export type GetAllProductTypeRequestSortDirectionEnum = typeof GetAllProductTypeRequestSortDirectionEnum[keyof typeof GetAllProductTypeRequestSortDirectionEnum];
67
- /**
68
- * @export
69
- */
70
- export declare const GetAllProductTypeRequestRelatedTypeEnum: {
71
- readonly Attribute: "attribute";
72
- readonly Product: "product";
73
- };
74
- export type GetAllProductTypeRequestRelatedTypeEnum = typeof GetAllProductTypeRequestRelatedTypeEnum[keyof typeof GetAllProductTypeRequestRelatedTypeEnum];
75
67
  /**
76
68
  * Check if a given object implements the GetAllProductTypeRequest interface.
77
69
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.GetAllProductTypeRequestRelatedTypeEnum = exports.GetAllProductTypeRequestSortDirectionEnum = exports.GetAllProductTypeRequestSortByEnum = void 0;
16
+ exports.GetAllProductTypeRequestSortDirectionEnum = exports.GetAllProductTypeRequestSortByEnum = void 0;
17
17
  exports.instanceOfGetAllProductTypeRequest = instanceOfGetAllProductTypeRequest;
18
18
  exports.GetAllProductTypeRequestFromJSON = GetAllProductTypeRequestFromJSON;
19
19
  exports.GetAllProductTypeRequestFromJSONTyped = GetAllProductTypeRequestFromJSONTyped;
@@ -35,13 +35,6 @@ exports.GetAllProductTypeRequestSortDirectionEnum = {
35
35
  Asc: 'asc',
36
36
  Desc: 'desc'
37
37
  };
38
- /**
39
- * @export
40
- */
41
- exports.GetAllProductTypeRequestRelatedTypeEnum = {
42
- Attribute: 'attribute',
43
- Product: 'product'
44
- };
45
38
  /**
46
39
  * Check if a given object implements the GetAllProductTypeRequest interface.
47
40
  */
@@ -44,7 +44,7 @@ export interface GetAllSupplierRequest {
44
44
  * @type {string}
45
45
  * @memberof GetAllSupplierRequest
46
46
  */
47
- relatedType?: GetAllSupplierRequestRelatedTypeEnum;
47
+ relatedType?: string;
48
48
  }
49
49
  /**
50
50
  * @export
@@ -66,13 +66,6 @@ export declare const GetAllSupplierRequestSortDirectionEnum: {
66
66
  readonly Desc: "desc";
67
67
  };
68
68
  export type GetAllSupplierRequestSortDirectionEnum = typeof GetAllSupplierRequestSortDirectionEnum[keyof typeof GetAllSupplierRequestSortDirectionEnum];
69
- /**
70
- * @export
71
- */
72
- export declare const GetAllSupplierRequestRelatedTypeEnum: {
73
- readonly Product: "product";
74
- };
75
- export type GetAllSupplierRequestRelatedTypeEnum = typeof GetAllSupplierRequestRelatedTypeEnum[keyof typeof GetAllSupplierRequestRelatedTypeEnum];
76
69
  /**
77
70
  * Check if a given object implements the GetAllSupplierRequest interface.
78
71
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.GetAllSupplierRequestRelatedTypeEnum = exports.GetAllSupplierRequestSortDirectionEnum = exports.GetAllSupplierRequestSortByEnum = void 0;
16
+ exports.GetAllSupplierRequestSortDirectionEnum = exports.GetAllSupplierRequestSortByEnum = void 0;
17
17
  exports.instanceOfGetAllSupplierRequest = instanceOfGetAllSupplierRequest;
18
18
  exports.GetAllSupplierRequestFromJSON = GetAllSupplierRequestFromJSON;
19
19
  exports.GetAllSupplierRequestFromJSONTyped = GetAllSupplierRequestFromJSONTyped;
@@ -37,12 +37,6 @@ exports.GetAllSupplierRequestSortDirectionEnum = {
37
37
  Asc: 'asc',
38
38
  Desc: 'desc'
39
39
  };
40
- /**
41
- * @export
42
- */
43
- exports.GetAllSupplierRequestRelatedTypeEnum = {
44
- Product: 'product'
45
- };
46
40
  /**
47
41
  * Check if a given object implements the GetAllSupplierRequest interface.
48
42
  */
@@ -35,52 +35,52 @@ export interface IndexExternalApiLogRequest {
35
35
  sortDirection?: IndexExternalApiLogRequestSortDirectionEnum;
36
36
  /**
37
37
  *
38
- * @type {Array<string>}
38
+ * @type {number}
39
39
  * @memberof IndexExternalApiLogRequest
40
40
  */
41
- provider?: Array<string>;
41
+ perPage?: number;
42
42
  /**
43
43
  *
44
- * @type {Array<string>}
44
+ * @type {number}
45
45
  * @memberof IndexExternalApiLogRequest
46
46
  */
47
- responseCode?: Array<string>;
47
+ page?: number;
48
48
  /**
49
49
  *
50
50
  * @type {Array<string>}
51
51
  * @memberof IndexExternalApiLogRequest
52
52
  */
53
- httpMethod?: Array<string>;
53
+ provider?: Array<string>;
54
54
  /**
55
55
  *
56
56
  * @type {Array<string>}
57
57
  * @memberof IndexExternalApiLogRequest
58
58
  */
59
- externalApiLoggableType?: Array<string>;
59
+ responseCode?: Array<string>;
60
60
  /**
61
61
  *
62
62
  * @type {Array<string>}
63
63
  * @memberof IndexExternalApiLogRequest
64
64
  */
65
- externalApiLoggableId?: Array<string>;
65
+ httpMethod?: Array<string>;
66
66
  /**
67
67
  *
68
68
  * @type {Array<string>}
69
69
  * @memberof IndexExternalApiLogRequest
70
70
  */
71
- siteId?: Array<string>;
71
+ externalApiLoggableType?: Array<string>;
72
72
  /**
73
73
  *
74
- * @type {number}
74
+ * @type {Array<string>}
75
75
  * @memberof IndexExternalApiLogRequest
76
76
  */
77
- perPage?: number;
77
+ externalApiLoggableId?: Array<string>;
78
78
  /**
79
79
  *
80
- * @type {number}
80
+ * @type {Array<string>}
81
81
  * @memberof IndexExternalApiLogRequest
82
82
  */
83
- page?: number;
83
+ siteId?: Array<string>;
84
84
  }
85
85
  /**
86
86
  * @export
@@ -55,14 +55,14 @@ function IndexExternalApiLogRequestFromJSONTyped(json, ignoreDiscriminator) {
55
55
  'search': json['search'] == null ? undefined : json['search'],
56
56
  'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
57
57
  'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
58
+ 'perPage': json['per_page'] == null ? undefined : json['per_page'],
59
+ 'page': json['page'] == null ? undefined : json['page'],
58
60
  'provider': json['provider'] == null ? undefined : json['provider'],
59
61
  'responseCode': json['response_code'] == null ? undefined : json['response_code'],
60
62
  'httpMethod': json['http_method'] == null ? undefined : json['http_method'],
61
63
  'externalApiLoggableType': json['external_api_loggable_type'] == null ? undefined : json['external_api_loggable_type'],
62
64
  'externalApiLoggableId': json['external_api_loggable_id'] == null ? undefined : json['external_api_loggable_id'],
63
65
  'siteId': json['site_id'] == null ? undefined : json['site_id'],
64
- 'perPage': json['per_page'] == null ? undefined : json['per_page'],
65
- 'page': json['page'] == null ? undefined : json['page'],
66
66
  };
67
67
  }
68
68
  function IndexExternalApiLogRequestToJSON(json) {
@@ -77,13 +77,13 @@ function IndexExternalApiLogRequestToJSONTyped(value, ignoreDiscriminator) {
77
77
  'search': value['search'],
78
78
  'sortBy': value['sortBy'],
79
79
  'sortDirection': value['sortDirection'],
80
+ 'per_page': value['perPage'],
81
+ 'page': value['page'],
80
82
  'provider': value['provider'],
81
83
  'response_code': value['responseCode'],
82
84
  'http_method': value['httpMethod'],
83
85
  'external_api_loggable_type': value['externalApiLoggableType'],
84
86
  'external_api_loggable_id': value['externalApiLoggableId'],
85
87
  'site_id': value['siteId'],
86
- 'per_page': value['perPage'],
87
- 'page': value['page'],
88
88
  };
89
89
  }
@@ -77,16 +77,16 @@ export interface IndexProductChildRequest {
77
77
  hasNetsuiteId?: Array<string>;
78
78
  /**
79
79
  *
80
- * @type {number}
80
+ * @type {string}
81
81
  * @memberof IndexProductChildRequest
82
82
  */
83
- relatedId?: number;
83
+ relatedType?: IndexProductChildRequestRelatedTypeEnum;
84
84
  /**
85
85
  *
86
- * @type {string}
86
+ * @type {number}
87
87
  * @memberof IndexProductChildRequest
88
88
  */
89
- relatedType?: IndexProductChildRequestRelatedTypeEnum;
89
+ relatedId?: number;
90
90
  }
91
91
  /**
92
92
  * @export
@@ -76,8 +76,8 @@ function IndexProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
76
76
  'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
77
77
  'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
78
78
  'hasNetsuiteId': json['has_netsuite_id'] == null ? undefined : json['has_netsuite_id'],
79
- 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
80
79
  'relatedType': json['related_type'] == null ? undefined : json['related_type'],
80
+ 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
81
81
  };
82
82
  }
83
83
  function IndexProductChildRequestToJSON(json) {
@@ -99,7 +99,7 @@ function IndexProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
99
99
  'siteDetails-site_id': value['siteDetailsSiteId'],
100
100
  'is_disabled': value['isDisabled'],
101
101
  'has_netsuite_id': value['hasNetsuiteId'],
102
- 'related_id': value['relatedId'],
103
102
  'related_type': value['relatedType'],
103
+ 'related_id': value['relatedId'],
104
104
  };
105
105
  }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { SiteLiteResource } from './SiteLiteResource';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -27,6 +28,12 @@ export interface TagLiteResource {
27
28
  * @memberof TagLiteResource
28
29
  */
29
30
  name: string;
31
+ /**
32
+ *
33
+ * @type {SiteLiteResource}
34
+ * @memberof TagLiteResource
35
+ */
36
+ site: SiteLiteResource | null;
30
37
  }
31
38
  /**
32
39
  * Check if a given object implements the TagLiteResource interface.