@digital8/lighting-illusions-ts-sdk 0.0.442 → 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 (59) hide show
  1. package/.openapi-generator/FILES +4 -0
  2. package/README.md +6 -4
  3. package/dist/apis/ProductApi.d.ts +11 -0
  4. package/dist/apis/ProductApi.js +46 -1
  5. package/dist/apis/TagApi.d.ts +0 -11
  6. package/dist/apis/TagApi.js +0 -46
  7. package/dist/models/AssetLiteResource.d.ts +44 -0
  8. package/dist/models/AssetLiteResource.js +59 -0
  9. package/dist/models/AssetLiteResourceArrayResponse.d.ts +33 -0
  10. package/dist/models/AssetLiteResourceArrayResponse.js +50 -0
  11. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  12. package/dist/models/ExternalApiLogResource.js +3 -1
  13. package/dist/models/GetAllAttributeRequest.d.ts +9 -18
  14. package/dist/models/GetAllAttributeRequest.js +5 -13
  15. package/dist/models/GetAllOverlayTemplateRequest.d.ts +6 -13
  16. package/dist/models/GetAllOverlayTemplateRequest.js +3 -9
  17. package/dist/models/GetAllProductRequest.d.ts +31 -9
  18. package/dist/models/GetAllProductRequest.js +11 -8
  19. package/dist/models/GetAllProductTypeRequest.d.ts +1 -9
  20. package/dist/models/GetAllProductTypeRequest.js +1 -8
  21. package/dist/models/GetAllSupplierRequest.d.ts +1 -8
  22. package/dist/models/GetAllSupplierRequest.js +1 -7
  23. package/dist/models/IndexExternalApiLogRequest.d.ts +12 -12
  24. package/dist/models/IndexExternalApiLogRequest.js +4 -4
  25. package/dist/models/IndexProductChildRequest.d.ts +21 -0
  26. package/dist/models/IndexProductChildRequest.js +13 -1
  27. package/dist/models/ProductChildLiteResource.d.ts +3 -3
  28. package/dist/models/ProductChildLiteResource.js +3 -3
  29. package/dist/models/TagLiteResource.d.ts +7 -0
  30. package/dist/models/TagLiteResource.js +5 -0
  31. package/dist/models/index.d.ts +2 -0
  32. package/dist/models/index.js +2 -0
  33. package/docs/AssetLiteResource.md +38 -0
  34. package/docs/AssetLiteResourceArrayResponse.md +34 -0
  35. package/docs/GetAllAttributeRequest.md +4 -4
  36. package/docs/GetAllOverlayTemplateRequest.md +2 -2
  37. package/docs/GetAllProductRequest.md +10 -0
  38. package/docs/IndexExternalApiLogRequest.md +4 -4
  39. package/docs/IndexProductChildRequest.md +4 -0
  40. package/docs/ProductApi.md +67 -1
  41. package/docs/ProductChildLiteResource.md +1 -1
  42. package/docs/TagApi.md +0 -66
  43. package/docs/TagLiteResource.md +2 -0
  44. package/package.json +1 -1
  45. package/src/apis/ProductApi.ts +37 -1
  46. package/src/apis/TagApi.ts +0 -41
  47. package/src/models/AssetLiteResource.ts +84 -0
  48. package/src/models/AssetLiteResourceArrayResponse.ts +73 -0
  49. package/src/models/ExternalApiLogResource.ts +3 -2
  50. package/src/models/GetAllAttributeRequest.ts +13 -23
  51. package/src/models/GetAllOverlayTemplateRequest.ts +8 -16
  52. package/src/models/GetAllProductRequest.ts +41 -10
  53. package/src/models/GetAllProductTypeRequest.ts +1 -10
  54. package/src/models/GetAllSupplierRequest.ts +1 -9
  55. package/src/models/IndexExternalApiLogRequest.ts +16 -16
  56. package/src/models/IndexProductChildRequest.ts +26 -0
  57. package/src/models/ProductChildLiteResource.ts +10 -10
  58. package/src/models/TagLiteResource.ts +17 -0
  59. package/src/models/index.ts +2 -0
@@ -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
  }
@@ -75,6 +75,18 @@ export interface IndexProductChildRequest {
75
75
  * @memberof IndexProductChildRequest
76
76
  */
77
77
  hasNetsuiteId?: Array<string>;
78
+ /**
79
+ *
80
+ * @type {string}
81
+ * @memberof IndexProductChildRequest
82
+ */
83
+ relatedType?: IndexProductChildRequestRelatedTypeEnum;
84
+ /**
85
+ *
86
+ * @type {number}
87
+ * @memberof IndexProductChildRequest
88
+ */
89
+ relatedId?: number;
78
90
  }
79
91
  /**
80
92
  * @export
@@ -103,6 +115,15 @@ export declare const IndexProductChildRequestSortDirectionEnum: {
103
115
  readonly Desc: "desc";
104
116
  };
105
117
  export type IndexProductChildRequestSortDirectionEnum = typeof IndexProductChildRequestSortDirectionEnum[keyof typeof IndexProductChildRequestSortDirectionEnum];
118
+ /**
119
+ * @export
120
+ */
121
+ export declare const IndexProductChildRequestRelatedTypeEnum: {
122
+ readonly OverlayTemplate: "overlayTemplate";
123
+ readonly Supplier: "supplier";
124
+ readonly Tag: "tag";
125
+ };
126
+ export type IndexProductChildRequestRelatedTypeEnum = typeof IndexProductChildRequestRelatedTypeEnum[keyof typeof IndexProductChildRequestRelatedTypeEnum];
106
127
  /**
107
128
  * Check if a given object implements the IndexProductChildRequest interface.
108
129
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.IndexProductChildRequestSortDirectionEnum = exports.IndexProductChildRequestSortByEnum = void 0;
16
+ exports.IndexProductChildRequestRelatedTypeEnum = exports.IndexProductChildRequestSortDirectionEnum = exports.IndexProductChildRequestSortByEnum = void 0;
17
17
  exports.instanceOfIndexProductChildRequest = instanceOfIndexProductChildRequest;
18
18
  exports.IndexProductChildRequestFromJSON = IndexProductChildRequestFromJSON;
19
19
  exports.IndexProductChildRequestFromJSONTyped = IndexProductChildRequestFromJSONTyped;
@@ -44,6 +44,14 @@ exports.IndexProductChildRequestSortDirectionEnum = {
44
44
  Asc: 'asc',
45
45
  Desc: 'desc'
46
46
  };
47
+ /**
48
+ * @export
49
+ */
50
+ exports.IndexProductChildRequestRelatedTypeEnum = {
51
+ OverlayTemplate: 'overlayTemplate',
52
+ Supplier: 'supplier',
53
+ Tag: 'tag'
54
+ };
47
55
  /**
48
56
  * Check if a given object implements the IndexProductChildRequest interface.
49
57
  */
@@ -68,6 +76,8 @@ function IndexProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
68
76
  'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
69
77
  'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
70
78
  'hasNetsuiteId': json['has_netsuite_id'] == null ? undefined : json['has_netsuite_id'],
79
+ 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
80
+ 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
71
81
  };
72
82
  }
73
83
  function IndexProductChildRequestToJSON(json) {
@@ -89,5 +99,7 @@ function IndexProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
89
99
  'siteDetails-site_id': value['siteDetailsSiteId'],
90
100
  'is_disabled': value['isDisabled'],
91
101
  'has_netsuite_id': value['hasNetsuiteId'],
102
+ 'related_type': value['relatedType'],
103
+ 'related_id': value['relatedId'],
92
104
  };
93
105
  }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { AssetResource } from './AssetResource';
12
+ import type { AssetLiteResource } from './AssetLiteResource';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -60,10 +60,10 @@ export interface ProductChildLiteResource {
60
60
  netsuiteId: number;
61
61
  /**
62
62
  *
63
- * @type {AssetResource}
63
+ * @type {AssetLiteResource}
64
64
  * @memberof ProductChildLiteResource
65
65
  */
66
- thumbnail: AssetResource | null;
66
+ thumbnail: AssetLiteResource | null;
67
67
  }
68
68
  /**
69
69
  * Check if a given object implements the ProductChildLiteResource interface.
@@ -18,7 +18,7 @@ exports.ProductChildLiteResourceFromJSON = ProductChildLiteResourceFromJSON;
18
18
  exports.ProductChildLiteResourceFromJSONTyped = ProductChildLiteResourceFromJSONTyped;
19
19
  exports.ProductChildLiteResourceToJSON = ProductChildLiteResourceToJSON;
20
20
  exports.ProductChildLiteResourceToJSONTyped = ProductChildLiteResourceToJSONTyped;
21
- var AssetResource_1 = require("./AssetResource");
21
+ var AssetLiteResource_1 = require("./AssetLiteResource");
22
22
  /**
23
23
  * Check if a given object implements the ProductChildLiteResource interface.
24
24
  */
@@ -56,7 +56,7 @@ function ProductChildLiteResourceFromJSONTyped(json, ignoreDiscriminator) {
56
56
  'sku': json['sku'],
57
57
  'stock': json['stock'],
58
58
  'netsuiteId': json['netsuiteId'],
59
- 'thumbnail': (0, AssetResource_1.AssetResourceFromJSON)(json['thumbnail']),
59
+ 'thumbnail': (0, AssetLiteResource_1.AssetLiteResourceFromJSON)(json['thumbnail']),
60
60
  };
61
61
  }
62
62
  function ProductChildLiteResourceToJSON(json) {
@@ -75,6 +75,6 @@ function ProductChildLiteResourceToJSONTyped(value, ignoreDiscriminator) {
75
75
  'sku': value['sku'],
76
76
  'stock': value['stock'],
77
77
  'netsuiteId': value['netsuiteId'],
78
- 'thumbnail': (0, AssetResource_1.AssetResourceToJSON)(value['thumbnail']),
78
+ 'thumbnail': (0, AssetLiteResource_1.AssetLiteResourceToJSON)(value['thumbnail']),
79
79
  };
80
80
  }
@@ -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.
@@ -18,6 +18,7 @@ exports.TagLiteResourceFromJSON = TagLiteResourceFromJSON;
18
18
  exports.TagLiteResourceFromJSONTyped = TagLiteResourceFromJSONTyped;
19
19
  exports.TagLiteResourceToJSON = TagLiteResourceToJSON;
20
20
  exports.TagLiteResourceToJSONTyped = TagLiteResourceToJSONTyped;
21
+ var SiteLiteResource_1 = require("./SiteLiteResource");
21
22
  /**
22
23
  * Check if a given object implements the TagLiteResource interface.
23
24
  */
@@ -26,6 +27,8 @@ function instanceOfTagLiteResource(value) {
26
27
  return false;
27
28
  if (!('name' in value) || value['name'] === undefined)
28
29
  return false;
30
+ if (!('site' in value) || value['site'] === undefined)
31
+ return false;
29
32
  return true;
30
33
  }
31
34
  function TagLiteResourceFromJSON(json) {
@@ -38,6 +41,7 @@ function TagLiteResourceFromJSONTyped(json, ignoreDiscriminator) {
38
41
  return {
39
42
  'id': json['id'],
40
43
  'name': json['name'],
44
+ 'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
41
45
  };
42
46
  }
43
47
  function TagLiteResourceToJSON(json) {
@@ -51,5 +55,6 @@ function TagLiteResourceToJSONTyped(value, ignoreDiscriminator) {
51
55
  return {
52
56
  'id': value['id'],
53
57
  'name': value['name'],
58
+ 'site': (0, SiteLiteResource_1.SiteLiteResourceToJSON)(value['site']),
54
59
  };
55
60
  }
@@ -1,5 +1,7 @@
1
1
  export * from './AssetFileForUploadResource';
2
2
  export * from './AssetFileForUploadResourceArrayResponse';
3
+ export * from './AssetLiteResource';
4
+ export * from './AssetLiteResourceArrayResponse';
3
5
  export * from './AssetResource';
4
6
  export * from './AssetResourceArrayResponse';
5
7
  export * from './AttributeFieldType';
@@ -18,6 +18,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
18
18
  /* eslint-disable */
19
19
  __exportStar(require("./AssetFileForUploadResource"), exports);
20
20
  __exportStar(require("./AssetFileForUploadResourceArrayResponse"), exports);
21
+ __exportStar(require("./AssetLiteResource"), exports);
22
+ __exportStar(require("./AssetLiteResourceArrayResponse"), exports);
21
23
  __exportStar(require("./AssetResource"), exports);
22
24
  __exportStar(require("./AssetResourceArrayResponse"), exports);
23
25
  __exportStar(require("./AttributeFieldType"), exports);
@@ -0,0 +1,38 @@
1
+
2
+ # AssetLiteResource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | number
10
+ `filePath` | string
11
+ `fileName` | string
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import type { AssetLiteResource } from '@digital8/lighting-illusions-ts-sdk'
17
+
18
+ // TODO: Update the object below with actual values
19
+ const example = {
20
+ "id": null,
21
+ "filePath": null,
22
+ "fileName": null,
23
+ } satisfies AssetLiteResource
24
+
25
+ console.log(example)
26
+
27
+ // Convert the instance to a JSON string
28
+ const exampleJSON: string = JSON.stringify(example)
29
+ console.log(exampleJSON)
30
+
31
+ // Parse the JSON string back to an object
32
+ const exampleParsed = JSON.parse(exampleJSON) as AssetLiteResource
33
+ console.log(exampleParsed)
34
+ ```
35
+
36
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
37
+
38
+
@@ -0,0 +1,34 @@
1
+
2
+ # AssetLiteResourceArrayResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array&lt;AssetLiteResource&gt;](AssetLiteResource.md)
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { AssetLiteResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "data": null,
19
+ } satisfies AssetLiteResourceArrayResponse
20
+
21
+ console.log(example)
22
+
23
+ // Convert the instance to a JSON string
24
+ const exampleJSON: string = JSON.stringify(example)
25
+ console.log(exampleJSON)
26
+
27
+ // Parse the JSON string back to an object
28
+ const exampleParsed = JSON.parse(exampleJSON) as AssetLiteResourceArrayResponse
29
+ console.log(exampleParsed)
30
+ ```
31
+
32
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
+
34
+
@@ -9,11 +9,11 @@ Name | Type
9
9
  `search` | string
10
10
  `sortBy` | string
11
11
  `sortDirection` | string
12
+ `relatedId` | number
13
+ `relatedType` | string
12
14
  `type` | Array&lt;string&gt;
13
15
  `isFilterable` | Array&lt;string&gt;
14
16
  `isExpandedByDefault` | Array&lt;string&gt;
15
- `relatedId` | number
16
- `relatedType` | string
17
17
 
18
18
  ## Example
19
19
 
@@ -25,11 +25,11 @@ const example = {
25
25
  "search": null,
26
26
  "sortBy": null,
27
27
  "sortDirection": null,
28
+ "relatedId": null,
29
+ "relatedType": null,
28
30
  "type": null,
29
31
  "isFilterable": null,
30
32
  "isExpandedByDefault": null,
31
- "relatedId": null,
32
- "relatedType": null,
33
33
  } satisfies GetAllAttributeRequest
34
34
 
35
35
  console.log(example)
@@ -9,9 +9,9 @@ Name | Type
9
9
  `search` | string
10
10
  `sortBy` | string
11
11
  `sortDirection` | string
12
- `sitesId` | Array&lt;string&gt;
13
12
  `relatedId` | number
14
13
  `relatedType` | string
14
+ `sitesId` | Array&lt;string&gt;
15
15
 
16
16
  ## Example
17
17
 
@@ -23,9 +23,9 @@ const example = {
23
23
  "search": null,
24
24
  "sortBy": null,
25
25
  "sortDirection": null,
26
- "sitesId": null,
27
26
  "relatedId": null,
28
27
  "relatedType": null,
28
+ "sitesId": null,
29
29
  } satisfies GetAllOverlayTemplateRequest
30
30
 
31
31
  console.log(example)
@@ -11,6 +11,11 @@ Name | Type
11
11
  `sortDirection` | string
12
12
  `relatedId` | number
13
13
  `relatedType` | string
14
+ `productTypeId` | Array&lt;string&gt;
15
+ `supplierId` | Array&lt;string&gt;
16
+ `isDisabled` | Array&lt;string&gt;
17
+ `isAccessory` | Array&lt;string&gt;
18
+ `categoriesId` | Array&lt;string&gt;
14
19
 
15
20
  ## Example
16
21
 
@@ -24,6 +29,11 @@ const example = {
24
29
  "sortDirection": null,
25
30
  "relatedId": null,
26
31
  "relatedType": null,
32
+ "productTypeId": null,
33
+ "supplierId": null,
34
+ "isDisabled": null,
35
+ "isAccessory": null,
36
+ "categoriesId": null,
27
37
  } satisfies GetAllProductRequest
28
38
 
29
39
  console.log(example)
@@ -9,14 +9,14 @@ Name | Type
9
9
  `search` | string
10
10
  `sortBy` | string
11
11
  `sortDirection` | string
12
+ `perPage` | number
13
+ `page` | number
12
14
  `provider` | Array&lt;string&gt;
13
15
  `responseCode` | Array&lt;string&gt;
14
16
  `httpMethod` | Array&lt;string&gt;
15
17
  `externalApiLoggableType` | Array&lt;string&gt;
16
18
  `externalApiLoggableId` | Array&lt;string&gt;
17
19
  `siteId` | Array&lt;string&gt;
18
- `perPage` | number
19
- `page` | number
20
20
 
21
21
  ## Example
22
22
 
@@ -28,14 +28,14 @@ const example = {
28
28
  "search": null,
29
29
  "sortBy": null,
30
30
  "sortDirection": null,
31
+ "perPage": null,
32
+ "page": null,
31
33
  "provider": null,
32
34
  "responseCode": null,
33
35
  "httpMethod": null,
34
36
  "externalApiLoggableType": null,
35
37
  "externalApiLoggableId": null,
36
38
  "siteId": null,
37
- "perPage": null,
38
- "page": null,
39
39
  } satisfies IndexExternalApiLogRequest
40
40
 
41
41
  console.log(example)