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

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 (59) hide show
  1. package/README.md +2 -2
  2. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  3. package/dist/models/ExternalApiLogResource.js +1 -3
  4. package/dist/models/GetAllAttributeRequest.d.ts +10 -1
  5. package/dist/models/GetAllAttributeRequest.js +9 -1
  6. package/dist/models/GetAllOverlayTemplateRequest.d.ts +8 -1
  7. package/dist/models/GetAllOverlayTemplateRequest.js +7 -1
  8. package/dist/models/GetAllProductChildRequest.d.ts +10 -1
  9. package/dist/models/GetAllProductChildRequest.js +9 -1
  10. package/dist/models/GetAllProductRequest.d.ts +9 -1
  11. package/dist/models/GetAllProductRequest.js +8 -1
  12. package/dist/models/GetAllProductTypeRequest.d.ts +9 -1
  13. package/dist/models/GetAllProductTypeRequest.js +8 -1
  14. package/dist/models/GetAllSupplierRequest.d.ts +8 -1
  15. package/dist/models/GetAllSupplierRequest.js +7 -1
  16. package/dist/models/IndexAttributeRequest.d.ts +12 -0
  17. package/dist/models/IndexAttributeRequest.js +4 -0
  18. package/dist/models/IndexExternalApiLogRequest.d.ts +12 -0
  19. package/dist/models/IndexExternalApiLogRequest.js +4 -0
  20. package/dist/models/IndexOverlayTemplateRequest.d.ts +12 -0
  21. package/dist/models/IndexOverlayTemplateRequest.js +4 -0
  22. package/dist/models/IndexProductChildRequest.d.ts +4 -4
  23. package/dist/models/IndexProductChildRequest.js +2 -2
  24. package/dist/models/IndexProductTypeRequest.d.ts +19 -0
  25. package/dist/models/IndexProductTypeRequest.js +11 -1
  26. package/dist/models/IndexSiteNotificationRequest.d.ts +12 -0
  27. package/dist/models/IndexSiteNotificationRequest.js +4 -0
  28. package/dist/models/IndexSiteRequest.d.ts +12 -0
  29. package/dist/models/IndexSiteRequest.js +4 -0
  30. package/dist/models/IndexSupplierRequest.d.ts +12 -0
  31. package/dist/models/IndexSupplierRequest.js +4 -0
  32. package/dist/models/IndexTagRequest.d.ts +12 -0
  33. package/dist/models/IndexTagRequest.js +4 -0
  34. package/docs/IndexAttributeRequest.md +4 -0
  35. package/docs/IndexExternalApiLogRequest.md +4 -0
  36. package/docs/IndexOverlayTemplateRequest.md +4 -0
  37. package/docs/IndexProductChildRequest.md +2 -2
  38. package/docs/IndexProductTypeRequest.md +4 -0
  39. package/docs/IndexSiteNotificationRequest.md +4 -0
  40. package/docs/IndexSiteRequest.md +4 -0
  41. package/docs/IndexSupplierRequest.md +4 -0
  42. package/docs/IndexTagRequest.md +4 -0
  43. package/package.json +1 -1
  44. package/src/models/ExternalApiLogResource.ts +2 -3
  45. package/src/models/GetAllAttributeRequest.ts +11 -1
  46. package/src/models/GetAllOverlayTemplateRequest.ts +9 -1
  47. package/src/models/GetAllProductChildRequest.ts +11 -1
  48. package/src/models/GetAllProductRequest.ts +10 -1
  49. package/src/models/GetAllProductTypeRequest.ts +10 -1
  50. package/src/models/GetAllSupplierRequest.ts +9 -1
  51. package/src/models/IndexAttributeRequest.ts +16 -0
  52. package/src/models/IndexExternalApiLogRequest.ts +16 -0
  53. package/src/models/IndexOverlayTemplateRequest.ts +16 -0
  54. package/src/models/IndexProductChildRequest.ts +6 -6
  55. package/src/models/IndexProductTypeRequest.ts +24 -0
  56. package/src/models/IndexSiteNotificationRequest.ts +16 -0
  57. package/src/models/IndexSiteRequest.ts +16 -0
  58. package/src/models/IndexSupplierRequest.ts +16 -0
  59. package/src/models/IndexTagRequest.ts +16 -0
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @digital8/lighting-illusions-ts-sdk@0.0.444
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.445
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.444`
296
+ - Package version: `0.0.445`
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;
66
+ requestPayload?: string | null;
67
67
  /**
68
68
  *
69
69
  * @type {string}
@@ -37,8 +37,6 @@ 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;
42
40
  if (!('responsePayload' in value) || value['responsePayload'] === undefined)
43
41
  return false;
44
42
  if (!('site' in value) || value['site'] === undefined)
@@ -60,7 +58,7 @@ function ExternalApiLogResourceFromJSONTyped(json, ignoreDiscriminator) {
60
58
  'exteranlApiLoggableId': json['exteranlApiLoggableId'],
61
59
  'endpoint': json['endpoint'],
62
60
  'responseCode': json['responseCode'],
63
- 'requestPayload': json['requestPayload'],
61
+ 'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
64
62
  'responsePayload': json['responsePayload'],
65
63
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
66
64
  'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
@@ -44,7 +44,7 @@ export interface GetAllAttributeRequest {
44
44
  * @type {string}
45
45
  * @memberof GetAllAttributeRequest
46
46
  */
47
- relatedType?: string;
47
+ relatedType?: GetAllAttributeRequestRelatedTypeEnum;
48
48
  /**
49
49
  *
50
50
  * @type {Array<string>}
@@ -82,6 +82,15 @@ 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];
85
94
  /**
86
95
  * Check if a given object implements the GetAllAttributeRequest interface.
87
96
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.GetAllAttributeRequestSortDirectionEnum = exports.GetAllAttributeRequestSortByEnum = void 0;
16
+ exports.GetAllAttributeRequestRelatedTypeEnum = exports.GetAllAttributeRequestSortDirectionEnum = exports.GetAllAttributeRequestSortByEnum = void 0;
17
17
  exports.instanceOfGetAllAttributeRequest = instanceOfGetAllAttributeRequest;
18
18
  exports.GetAllAttributeRequestFromJSON = GetAllAttributeRequestFromJSON;
19
19
  exports.GetAllAttributeRequestFromJSONTyped = GetAllAttributeRequestFromJSONTyped;
@@ -35,6 +35,14 @@ 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
+ };
38
46
  /**
39
47
  * Check if a given object implements the GetAllAttributeRequest interface.
40
48
  */
@@ -44,7 +44,7 @@ export interface GetAllOverlayTemplateRequest {
44
44
  * @type {string}
45
45
  * @memberof GetAllOverlayTemplateRequest
46
46
  */
47
- relatedType?: string;
47
+ relatedType?: GetAllOverlayTemplateRequestRelatedTypeEnum;
48
48
  /**
49
49
  *
50
50
  * @type {Array<string>}
@@ -70,6 +70,13 @@ 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];
73
80
  /**
74
81
  * Check if a given object implements the GetAllOverlayTemplateRequest interface.
75
82
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.GetAllOverlayTemplateRequestSortDirectionEnum = exports.GetAllOverlayTemplateRequestSortByEnum = void 0;
16
+ exports.GetAllOverlayTemplateRequestRelatedTypeEnum = exports.GetAllOverlayTemplateRequestSortDirectionEnum = exports.GetAllOverlayTemplateRequestSortByEnum = void 0;
17
17
  exports.instanceOfGetAllOverlayTemplateRequest = instanceOfGetAllOverlayTemplateRequest;
18
18
  exports.GetAllOverlayTemplateRequestFromJSON = GetAllOverlayTemplateRequestFromJSON;
19
19
  exports.GetAllOverlayTemplateRequestFromJSONTyped = GetAllOverlayTemplateRequestFromJSONTyped;
@@ -35,6 +35,12 @@ exports.GetAllOverlayTemplateRequestSortDirectionEnum = {
35
35
  Asc: 'asc',
36
36
  Desc: 'desc'
37
37
  };
38
+ /**
39
+ * @export
40
+ */
41
+ exports.GetAllOverlayTemplateRequestRelatedTypeEnum = {
42
+ Asset: 'asset'
43
+ };
38
44
  /**
39
45
  * Check if a given object implements the GetAllOverlayTemplateRequest interface.
40
46
  */
@@ -44,7 +44,7 @@ export interface GetAllProductChildRequest {
44
44
  * @type {string}
45
45
  * @memberof GetAllProductChildRequest
46
46
  */
47
- relatedType?: string;
47
+ relatedType?: GetAllProductChildRequestRelatedTypeEnum;
48
48
  /**
49
49
  *
50
50
  * @type {Array<string>}
@@ -103,6 +103,15 @@ 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];
106
115
  /**
107
116
  * Check if a given object implements the GetAllProductChildRequest interface.
108
117
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.GetAllProductChildRequestSortDirectionEnum = exports.GetAllProductChildRequestSortByEnum = void 0;
16
+ exports.GetAllProductChildRequestRelatedTypeEnum = exports.GetAllProductChildRequestSortDirectionEnum = exports.GetAllProductChildRequestSortByEnum = void 0;
17
17
  exports.instanceOfGetAllProductChildRequest = instanceOfGetAllProductChildRequest;
18
18
  exports.GetAllProductChildRequestFromJSON = GetAllProductChildRequestFromJSON;
19
19
  exports.GetAllProductChildRequestFromJSONTyped = GetAllProductChildRequestFromJSONTyped;
@@ -44,6 +44,14 @@ 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
+ };
47
55
  /**
48
56
  * Check if a given object implements the GetAllProductChildRequest interface.
49
57
  */
@@ -44,7 +44,7 @@ export interface GetAllProductRequest {
44
44
  * @type {string}
45
45
  * @memberof GetAllProductRequest
46
46
  */
47
- relatedType?: string;
47
+ relatedType?: GetAllProductRequestRelatedTypeEnum;
48
48
  /**
49
49
  *
50
50
  * @type {Array<string>}
@@ -95,6 +95,14 @@ export declare const GetAllProductRequestSortDirectionEnum: {
95
95
  readonly Desc: "desc";
96
96
  };
97
97
  export type GetAllProductRequestSortDirectionEnum = typeof GetAllProductRequestSortDirectionEnum[keyof typeof GetAllProductRequestSortDirectionEnum];
98
+ /**
99
+ * @export
100
+ */
101
+ export declare const GetAllProductRequestRelatedTypeEnum: {
102
+ readonly Supplier: "supplier";
103
+ readonly ProductType: "productType";
104
+ };
105
+ export type GetAllProductRequestRelatedTypeEnum = typeof GetAllProductRequestRelatedTypeEnum[keyof typeof GetAllProductRequestRelatedTypeEnum];
98
106
  /**
99
107
  * Check if a given object implements the GetAllProductRequest interface.
100
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.GetAllProductRequestSortDirectionEnum = exports.GetAllProductRequestSortByEnum = void 0;
16
+ exports.GetAllProductRequestRelatedTypeEnum = exports.GetAllProductRequestSortDirectionEnum = exports.GetAllProductRequestSortByEnum = void 0;
17
17
  exports.instanceOfGetAllProductRequest = instanceOfGetAllProductRequest;
18
18
  exports.GetAllProductRequestFromJSON = GetAllProductRequestFromJSON;
19
19
  exports.GetAllProductRequestFromJSONTyped = GetAllProductRequestFromJSONTyped;
@@ -36,6 +36,13 @@ 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
+ };
39
46
  /**
40
47
  * Check if a given object implements the GetAllProductRequest interface.
41
48
  */
@@ -44,7 +44,7 @@ export interface GetAllProductTypeRequest {
44
44
  * @type {string}
45
45
  * @memberof GetAllProductTypeRequest
46
46
  */
47
- relatedType?: string;
47
+ relatedType?: GetAllProductTypeRequestRelatedTypeEnum;
48
48
  }
49
49
  /**
50
50
  * @export
@@ -64,6 +64,14 @@ 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];
67
75
  /**
68
76
  * Check if a given object implements the GetAllProductTypeRequest interface.
69
77
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.GetAllProductTypeRequestSortDirectionEnum = exports.GetAllProductTypeRequestSortByEnum = void 0;
16
+ exports.GetAllProductTypeRequestRelatedTypeEnum = exports.GetAllProductTypeRequestSortDirectionEnum = exports.GetAllProductTypeRequestSortByEnum = void 0;
17
17
  exports.instanceOfGetAllProductTypeRequest = instanceOfGetAllProductTypeRequest;
18
18
  exports.GetAllProductTypeRequestFromJSON = GetAllProductTypeRequestFromJSON;
19
19
  exports.GetAllProductTypeRequestFromJSONTyped = GetAllProductTypeRequestFromJSONTyped;
@@ -35,6 +35,13 @@ 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
+ };
38
45
  /**
39
46
  * Check if a given object implements the GetAllProductTypeRequest interface.
40
47
  */
@@ -44,7 +44,7 @@ export interface GetAllSupplierRequest {
44
44
  * @type {string}
45
45
  * @memberof GetAllSupplierRequest
46
46
  */
47
- relatedType?: string;
47
+ relatedType?: GetAllSupplierRequestRelatedTypeEnum;
48
48
  }
49
49
  /**
50
50
  * @export
@@ -66,6 +66,13 @@ 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];
69
76
  /**
70
77
  * Check if a given object implements the GetAllSupplierRequest interface.
71
78
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.GetAllSupplierRequestSortDirectionEnum = exports.GetAllSupplierRequestSortByEnum = void 0;
16
+ exports.GetAllSupplierRequestRelatedTypeEnum = exports.GetAllSupplierRequestSortDirectionEnum = exports.GetAllSupplierRequestSortByEnum = void 0;
17
17
  exports.instanceOfGetAllSupplierRequest = instanceOfGetAllSupplierRequest;
18
18
  exports.GetAllSupplierRequestFromJSON = GetAllSupplierRequestFromJSON;
19
19
  exports.GetAllSupplierRequestFromJSONTyped = GetAllSupplierRequestFromJSONTyped;
@@ -37,6 +37,12 @@ exports.GetAllSupplierRequestSortDirectionEnum = {
37
37
  Asc: 'asc',
38
38
  Desc: 'desc'
39
39
  };
40
+ /**
41
+ * @export
42
+ */
43
+ exports.GetAllSupplierRequestRelatedTypeEnum = {
44
+ Product: 'product'
45
+ };
40
46
  /**
41
47
  * Check if a given object implements the GetAllSupplierRequest interface.
42
48
  */
@@ -63,6 +63,18 @@ export interface IndexAttributeRequest {
63
63
  * @memberof IndexAttributeRequest
64
64
  */
65
65
  isExpandedByDefault?: Array<string>;
66
+ /**
67
+ *
68
+ * @type {number}
69
+ * @memberof IndexAttributeRequest
70
+ */
71
+ relatedId?: number;
72
+ /**
73
+ *
74
+ * @type {string}
75
+ * @memberof IndexAttributeRequest
76
+ */
77
+ relatedType?: string;
66
78
  }
67
79
  /**
68
80
  * @export
@@ -57,6 +57,8 @@ function IndexAttributeRequestFromJSONTyped(json, ignoreDiscriminator) {
57
57
  'type': json['type'] == null ? undefined : json['type'],
58
58
  'isFilterable': json['is_filterable'] == null ? undefined : json['is_filterable'],
59
59
  'isExpandedByDefault': json['is_expanded_by_default'] == null ? undefined : json['is_expanded_by_default'],
60
+ 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
61
+ 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
60
62
  };
61
63
  }
62
64
  function IndexAttributeRequestToJSON(json) {
@@ -76,5 +78,7 @@ function IndexAttributeRequestToJSONTyped(value, ignoreDiscriminator) {
76
78
  'type': value['type'],
77
79
  'is_filterable': value['isFilterable'],
78
80
  'is_expanded_by_default': value['isExpandedByDefault'],
81
+ 'related_id': value['relatedId'],
82
+ 'related_type': value['relatedType'],
79
83
  };
80
84
  }
@@ -81,6 +81,18 @@ export interface IndexExternalApiLogRequest {
81
81
  * @memberof IndexExternalApiLogRequest
82
82
  */
83
83
  siteId?: Array<string>;
84
+ /**
85
+ *
86
+ * @type {number}
87
+ * @memberof IndexExternalApiLogRequest
88
+ */
89
+ relatedId?: number;
90
+ /**
91
+ *
92
+ * @type {string}
93
+ * @memberof IndexExternalApiLogRequest
94
+ */
95
+ relatedType?: string;
84
96
  }
85
97
  /**
86
98
  * @export
@@ -63,6 +63,8 @@ function IndexExternalApiLogRequestFromJSONTyped(json, ignoreDiscriminator) {
63
63
  'externalApiLoggableType': json['external_api_loggable_type'] == null ? undefined : json['external_api_loggable_type'],
64
64
  'externalApiLoggableId': json['external_api_loggable_id'] == null ? undefined : json['external_api_loggable_id'],
65
65
  'siteId': json['site_id'] == null ? undefined : json['site_id'],
66
+ 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
67
+ 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
66
68
  };
67
69
  }
68
70
  function IndexExternalApiLogRequestToJSON(json) {
@@ -85,5 +87,7 @@ function IndexExternalApiLogRequestToJSONTyped(value, ignoreDiscriminator) {
85
87
  'external_api_loggable_type': value['externalApiLoggableType'],
86
88
  'external_api_loggable_id': value['externalApiLoggableId'],
87
89
  'site_id': value['siteId'],
90
+ 'related_id': value['relatedId'],
91
+ 'related_type': value['relatedType'],
88
92
  };
89
93
  }
@@ -51,6 +51,18 @@ export interface IndexOverlayTemplateRequest {
51
51
  * @memberof IndexOverlayTemplateRequest
52
52
  */
53
53
  sitesId?: Array<string>;
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof IndexOverlayTemplateRequest
58
+ */
59
+ relatedId?: number;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof IndexOverlayTemplateRequest
64
+ */
65
+ relatedType?: string;
54
66
  }
55
67
  /**
56
68
  * @export
@@ -55,6 +55,8 @@ function IndexOverlayTemplateRequestFromJSONTyped(json, ignoreDiscriminator) {
55
55
  'perPage': json['per_page'] == null ? undefined : json['per_page'],
56
56
  'page': json['page'] == null ? undefined : json['page'],
57
57
  'sitesId': json['sites-id'] == null ? undefined : json['sites-id'],
58
+ 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
59
+ 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
58
60
  };
59
61
  }
60
62
  function IndexOverlayTemplateRequestToJSON(json) {
@@ -72,5 +74,7 @@ function IndexOverlayTemplateRequestToJSONTyped(value, ignoreDiscriminator) {
72
74
  'per_page': value['perPage'],
73
75
  'page': value['page'],
74
76
  'sites-id': value['sitesId'],
77
+ 'related_id': value['relatedId'],
78
+ 'related_type': value['relatedType'],
75
79
  };
76
80
  }
@@ -77,16 +77,16 @@ export interface IndexProductChildRequest {
77
77
  hasNetsuiteId?: Array<string>;
78
78
  /**
79
79
  *
80
- * @type {string}
80
+ * @type {number}
81
81
  * @memberof IndexProductChildRequest
82
82
  */
83
- relatedType?: IndexProductChildRequestRelatedTypeEnum;
83
+ relatedId?: number;
84
84
  /**
85
85
  *
86
- * @type {number}
86
+ * @type {string}
87
87
  * @memberof IndexProductChildRequest
88
88
  */
89
- relatedId?: number;
89
+ relatedType?: IndexProductChildRequestRelatedTypeEnum;
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
- 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
80
79
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
80
+ 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
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_type': value['relatedType'],
103
102
  'related_id': value['relatedId'],
103
+ 'related_type': value['relatedType'],
104
104
  };
105
105
  }
@@ -45,6 +45,18 @@ export interface IndexProductTypeRequest {
45
45
  * @memberof IndexProductTypeRequest
46
46
  */
47
47
  page?: number;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof IndexProductTypeRequest
52
+ */
53
+ relatedId?: number;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof IndexProductTypeRequest
58
+ */
59
+ relatedType?: IndexProductTypeRequestRelatedTypeEnum;
48
60
  }
49
61
  /**
50
62
  * @export
@@ -64,6 +76,13 @@ export declare const IndexProductTypeRequestSortDirectionEnum: {
64
76
  readonly Desc: "desc";
65
77
  };
66
78
  export type IndexProductTypeRequestSortDirectionEnum = typeof IndexProductTypeRequestSortDirectionEnum[keyof typeof IndexProductTypeRequestSortDirectionEnum];
79
+ /**
80
+ * @export
81
+ */
82
+ export declare const IndexProductTypeRequestRelatedTypeEnum: {
83
+ readonly Attribute: "attribute";
84
+ };
85
+ export type IndexProductTypeRequestRelatedTypeEnum = typeof IndexProductTypeRequestRelatedTypeEnum[keyof typeof IndexProductTypeRequestRelatedTypeEnum];
67
86
  /**
68
87
  * Check if a given object implements the IndexProductTypeRequest interface.
69
88
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.IndexProductTypeRequestSortDirectionEnum = exports.IndexProductTypeRequestSortByEnum = void 0;
16
+ exports.IndexProductTypeRequestRelatedTypeEnum = exports.IndexProductTypeRequestSortDirectionEnum = exports.IndexProductTypeRequestSortByEnum = void 0;
17
17
  exports.instanceOfIndexProductTypeRequest = instanceOfIndexProductTypeRequest;
18
18
  exports.IndexProductTypeRequestFromJSON = IndexProductTypeRequestFromJSON;
19
19
  exports.IndexProductTypeRequestFromJSONTyped = IndexProductTypeRequestFromJSONTyped;
@@ -35,6 +35,12 @@ exports.IndexProductTypeRequestSortDirectionEnum = {
35
35
  Asc: 'asc',
36
36
  Desc: 'desc'
37
37
  };
38
+ /**
39
+ * @export
40
+ */
41
+ exports.IndexProductTypeRequestRelatedTypeEnum = {
42
+ Attribute: 'attribute'
43
+ };
38
44
  /**
39
45
  * Check if a given object implements the IndexProductTypeRequest interface.
40
46
  */
@@ -54,6 +60,8 @@ function IndexProductTypeRequestFromJSONTyped(json, ignoreDiscriminator) {
54
60
  'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
55
61
  'perPage': json['per_page'] == null ? undefined : json['per_page'],
56
62
  'page': json['page'] == null ? undefined : json['page'],
63
+ 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
64
+ 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
57
65
  };
58
66
  }
59
67
  function IndexProductTypeRequestToJSON(json) {
@@ -70,5 +78,7 @@ function IndexProductTypeRequestToJSONTyped(value, ignoreDiscriminator) {
70
78
  'sortDirection': value['sortDirection'],
71
79
  'per_page': value['perPage'],
72
80
  'page': value['page'],
81
+ 'related_id': value['relatedId'],
82
+ 'related_type': value['relatedType'],
73
83
  };
74
84
  }
@@ -51,6 +51,18 @@ export interface IndexSiteNotificationRequest {
51
51
  * @memberof IndexSiteNotificationRequest
52
52
  */
53
53
  siteId?: Array<string>;
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof IndexSiteNotificationRequest
58
+ */
59
+ relatedId?: number;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof IndexSiteNotificationRequest
64
+ */
65
+ relatedType?: string;
54
66
  }
55
67
  /**
56
68
  * @export
@@ -56,6 +56,8 @@ function IndexSiteNotificationRequestFromJSONTyped(json, ignoreDiscriminator) {
56
56
  'perPage': json['per_page'] == null ? undefined : json['per_page'],
57
57
  'page': json['page'] == null ? undefined : json['page'],
58
58
  'siteId': json['site_id'] == null ? undefined : json['site_id'],
59
+ 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
60
+ 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
59
61
  };
60
62
  }
61
63
  function IndexSiteNotificationRequestToJSON(json) {
@@ -73,5 +75,7 @@ function IndexSiteNotificationRequestToJSONTyped(value, ignoreDiscriminator) {
73
75
  'per_page': value['perPage'],
74
76
  'page': value['page'],
75
77
  'site_id': value['siteId'],
78
+ 'related_id': value['relatedId'],
79
+ 'related_type': value['relatedType'],
76
80
  };
77
81
  }
@@ -45,6 +45,18 @@ export interface IndexSiteRequest {
45
45
  * @memberof IndexSiteRequest
46
46
  */
47
47
  page?: number;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof IndexSiteRequest
52
+ */
53
+ relatedId?: number;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof IndexSiteRequest
58
+ */
59
+ relatedType?: string;
48
60
  }
49
61
  /**
50
62
  * @export
@@ -55,6 +55,8 @@ function IndexSiteRequestFromJSONTyped(json, ignoreDiscriminator) {
55
55
  'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
56
56
  'perPage': json['per_page'] == null ? undefined : json['per_page'],
57
57
  'page': json['page'] == null ? undefined : json['page'],
58
+ 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
59
+ 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
58
60
  };
59
61
  }
60
62
  function IndexSiteRequestToJSON(json) {
@@ -71,5 +73,7 @@ function IndexSiteRequestToJSONTyped(value, ignoreDiscriminator) {
71
73
  'sortDirection': value['sortDirection'],
72
74
  'per_page': value['perPage'],
73
75
  'page': value['page'],
76
+ 'related_id': value['relatedId'],
77
+ 'related_type': value['relatedType'],
74
78
  };
75
79
  }
@@ -45,6 +45,18 @@ export interface IndexSupplierRequest {
45
45
  * @memberof IndexSupplierRequest
46
46
  */
47
47
  page?: number;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof IndexSupplierRequest
52
+ */
53
+ relatedId?: number;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof IndexSupplierRequest
58
+ */
59
+ relatedType?: string;
48
60
  }
49
61
  /**
50
62
  * @export