@digital8/lighting-illusions-ts-sdk 0.0.534 → 0.0.535

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 (39) hide show
  1. package/.openapi-generator/FILES +4 -4
  2. package/README.md +4 -4
  3. package/dist/models/ProductCategoryResource.d.ts +14 -0
  4. package/dist/models/ProductCategoryResource.js +10 -0
  5. package/dist/models/StoreProductCategoryRequest.d.ts +14 -0
  6. package/dist/models/StoreProductCategoryRequest.js +6 -0
  7. package/dist/models/StoreProductCategoryRequestDescriptionsInner.d.ts +44 -0
  8. package/dist/models/StoreProductCategoryRequestDescriptionsInner.js +55 -0
  9. package/dist/models/StoreProductCategoryRequestSeoInner.d.ts +44 -0
  10. package/dist/models/StoreProductCategoryRequestSeoInner.js +55 -0
  11. package/dist/models/StoreSupplierRequest.d.ts +6 -6
  12. package/dist/models/StoreSupplierRequest.js +6 -6
  13. package/dist/models/UpdateProductCategoryRequest.d.ts +15 -1
  14. package/dist/models/UpdateProductCategoryRequest.js +9 -1
  15. package/dist/models/UpdateSupplierRequest.d.ts +6 -6
  16. package/dist/models/UpdateSupplierRequest.js +6 -6
  17. package/dist/models/index.d.ts +2 -2
  18. package/dist/models/index.js +2 -2
  19. package/docs/ProductCategoryResource.md +4 -0
  20. package/docs/StoreProductCategoryRequest.md +4 -0
  21. package/docs/{StoreSupplierRequestDescriptionsInner.md → StoreProductCategoryRequestDescriptionsInner.md} +4 -4
  22. package/docs/{StoreSupplierRequestSeoInner.md → StoreProductCategoryRequestSeoInner.md} +4 -4
  23. package/docs/StoreSupplierRequest.md +2 -2
  24. package/docs/UpdateProductCategoryRequest.md +4 -0
  25. package/docs/UpdateSupplierRequest.md +2 -2
  26. package/package.json +1 -1
  27. package/src/models/ProductCategoryResource.ts +32 -0
  28. package/src/models/StoreProductCategoryRequest.ts +30 -0
  29. package/src/models/StoreProductCategoryRequestDescriptionsInner.ts +82 -0
  30. package/src/models/{StoreSupplierRequestSeoInner.ts → StoreProductCategoryRequestSeoInner.ts} +13 -13
  31. package/src/models/StoreSupplierRequest.ts +20 -20
  32. package/src/models/UpdateProductCategoryRequest.ts +33 -2
  33. package/src/models/UpdateSupplierRequest.ts +20 -20
  34. package/src/models/index.ts +2 -2
  35. package/dist/models/StoreSupplierRequestDescriptionsInner.d.ts +0 -44
  36. package/dist/models/StoreSupplierRequestDescriptionsInner.js +0 -55
  37. package/dist/models/StoreSupplierRequestSeoInner.d.ts +0 -44
  38. package/dist/models/StoreSupplierRequestSeoInner.js +0 -55
  39. package/src/models/StoreSupplierRequestDescriptionsInner.ts +0 -82
@@ -13,20 +13,20 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
- import type { StoreSupplierRequestSeoInner } from './StoreSupplierRequestSeoInner';
16
+ import type { StoreProductCategoryRequestSeoInner } from './StoreProductCategoryRequestSeoInner';
17
17
  import {
18
- StoreSupplierRequestSeoInnerFromJSON,
19
- StoreSupplierRequestSeoInnerFromJSONTyped,
20
- StoreSupplierRequestSeoInnerToJSON,
21
- StoreSupplierRequestSeoInnerToJSONTyped,
22
- } from './StoreSupplierRequestSeoInner';
23
- import type { StoreSupplierRequestDescriptionsInner } from './StoreSupplierRequestDescriptionsInner';
18
+ StoreProductCategoryRequestSeoInnerFromJSON,
19
+ StoreProductCategoryRequestSeoInnerFromJSONTyped,
20
+ StoreProductCategoryRequestSeoInnerToJSON,
21
+ StoreProductCategoryRequestSeoInnerToJSONTyped,
22
+ } from './StoreProductCategoryRequestSeoInner';
23
+ import type { StoreProductCategoryRequestDescriptionsInner } from './StoreProductCategoryRequestDescriptionsInner';
24
24
  import {
25
- StoreSupplierRequestDescriptionsInnerFromJSON,
26
- StoreSupplierRequestDescriptionsInnerFromJSONTyped,
27
- StoreSupplierRequestDescriptionsInnerToJSON,
28
- StoreSupplierRequestDescriptionsInnerToJSONTyped,
29
- } from './StoreSupplierRequestDescriptionsInner';
25
+ StoreProductCategoryRequestDescriptionsInnerFromJSON,
26
+ StoreProductCategoryRequestDescriptionsInnerFromJSONTyped,
27
+ StoreProductCategoryRequestDescriptionsInnerToJSON,
28
+ StoreProductCategoryRequestDescriptionsInnerToJSONTyped,
29
+ } from './StoreProductCategoryRequestDescriptionsInner';
30
30
 
31
31
  /**
32
32
  *
@@ -54,10 +54,10 @@ export interface UpdateSupplierRequest {
54
54
  supplierEta: number;
55
55
  /**
56
56
  *
57
- * @type {Array<StoreSupplierRequestSeoInner>}
57
+ * @type {Array<StoreProductCategoryRequestSeoInner>}
58
58
  * @memberof UpdateSupplierRequest
59
59
  */
60
- seo: Array<StoreSupplierRequestSeoInner>;
60
+ seo: Array<StoreProductCategoryRequestSeoInner>;
61
61
  /**
62
62
  *
63
63
  * @type {string}
@@ -78,10 +78,10 @@ export interface UpdateSupplierRequest {
78
78
  fileId: number;
79
79
  /**
80
80
  *
81
- * @type {Array<StoreSupplierRequestDescriptionsInner>}
81
+ * @type {Array<StoreProductCategoryRequestDescriptionsInner>}
82
82
  * @memberof UpdateSupplierRequest
83
83
  */
84
- descriptions: Array<StoreSupplierRequestDescriptionsInner>;
84
+ descriptions: Array<StoreProductCategoryRequestDescriptionsInner>;
85
85
  }
86
86
 
87
87
  /**
@@ -111,11 +111,11 @@ export function UpdateSupplierRequestFromJSONTyped(json: any, ignoreDiscriminato
111
111
  'name': json['name'],
112
112
  'slug': json['slug'],
113
113
  'supplierEta': json['supplier_eta'],
114
- 'seo': ((json['seo'] as Array<any>).map(StoreSupplierRequestSeoInnerFromJSON)),
114
+ 'seo': ((json['seo'] as Array<any>).map(StoreProductCategoryRequestSeoInnerFromJSON)),
115
115
  'altText': json['alt_text'] == null ? undefined : json['alt_text'],
116
116
  'mimeType': json['mime_type'],
117
117
  'fileId': json['file_id'],
118
- 'descriptions': ((json['descriptions'] as Array<any>).map(StoreSupplierRequestDescriptionsInnerFromJSON)),
118
+ 'descriptions': ((json['descriptions'] as Array<any>).map(StoreProductCategoryRequestDescriptionsInnerFromJSON)),
119
119
  };
120
120
  }
121
121
 
@@ -133,11 +133,11 @@ export function UpdateSupplierRequestToJSONTyped(value?: UpdateSupplierRequest |
133
133
  'name': value['name'],
134
134
  'slug': value['slug'],
135
135
  'supplier_eta': value['supplierEta'],
136
- 'seo': ((value['seo'] as Array<any>).map(StoreSupplierRequestSeoInnerToJSON)),
136
+ 'seo': ((value['seo'] as Array<any>).map(StoreProductCategoryRequestSeoInnerToJSON)),
137
137
  'alt_text': value['altText'],
138
138
  'mime_type': value['mimeType'],
139
139
  'file_id': value['fileId'],
140
- 'descriptions': ((value['descriptions'] as Array<any>).map(StoreSupplierRequestDescriptionsInnerToJSON)),
140
+ 'descriptions': ((value['descriptions'] as Array<any>).map(StoreProductCategoryRequestDescriptionsInnerToJSON)),
141
141
  };
142
142
  }
143
143
 
@@ -182,6 +182,8 @@ export * from './StoreOverlayTemplateAssetRequest';
182
182
  export * from './StoreOverlayTemplateRequest';
183
183
  export * from './StoreProductCategoryRequest';
184
184
  export * from './StoreProductCategoryRequestAutomationRulesInner';
185
+ export * from './StoreProductCategoryRequestDescriptionsInner';
186
+ export * from './StoreProductCategoryRequestSeoInner';
185
187
  export * from './StoreProductChildRequest';
186
188
  export * from './StoreProductChildRequestAssetsInner';
187
189
  export * from './StoreProductChildRequestAttributeValuesInner';
@@ -191,8 +193,6 @@ export * from './StoreProductRequestCategoriesInner';
191
193
  export * from './StoreProductTypeRequest';
192
194
  export * from './StoreSiteNotificationRequest';
193
195
  export * from './StoreSupplierRequest';
194
- export * from './StoreSupplierRequestDescriptionsInner';
195
- export * from './StoreSupplierRequestSeoInner';
196
196
  export * from './StoreTagRequest';
197
197
  export * from './SupplierFrontendResource';
198
198
  export * from './SupplierFrontendResourceArrayResponse';
@@ -1,44 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface StoreSupplierRequestDescriptionsInner
16
- */
17
- export interface StoreSupplierRequestDescriptionsInner {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof StoreSupplierRequestDescriptionsInner
22
- */
23
- headerDescription?: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof StoreSupplierRequestDescriptionsInner
28
- */
29
- footerDescription?: string;
30
- /**
31
- *
32
- * @type {number}
33
- * @memberof StoreSupplierRequestDescriptionsInner
34
- */
35
- siteId: number;
36
- }
37
- /**
38
- * Check if a given object implements the StoreSupplierRequestDescriptionsInner interface.
39
- */
40
- export declare function instanceOfStoreSupplierRequestDescriptionsInner(value: object): value is StoreSupplierRequestDescriptionsInner;
41
- export declare function StoreSupplierRequestDescriptionsInnerFromJSON(json: any): StoreSupplierRequestDescriptionsInner;
42
- export declare function StoreSupplierRequestDescriptionsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreSupplierRequestDescriptionsInner;
43
- export declare function StoreSupplierRequestDescriptionsInnerToJSON(json: any): StoreSupplierRequestDescriptionsInner;
44
- export declare function StoreSupplierRequestDescriptionsInnerToJSONTyped(value?: StoreSupplierRequestDescriptionsInner | null, ignoreDiscriminator?: boolean): any;
@@ -1,55 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfStoreSupplierRequestDescriptionsInner = instanceOfStoreSupplierRequestDescriptionsInner;
17
- exports.StoreSupplierRequestDescriptionsInnerFromJSON = StoreSupplierRequestDescriptionsInnerFromJSON;
18
- exports.StoreSupplierRequestDescriptionsInnerFromJSONTyped = StoreSupplierRequestDescriptionsInnerFromJSONTyped;
19
- exports.StoreSupplierRequestDescriptionsInnerToJSON = StoreSupplierRequestDescriptionsInnerToJSON;
20
- exports.StoreSupplierRequestDescriptionsInnerToJSONTyped = StoreSupplierRequestDescriptionsInnerToJSONTyped;
21
- /**
22
- * Check if a given object implements the StoreSupplierRequestDescriptionsInner interface.
23
- */
24
- function instanceOfStoreSupplierRequestDescriptionsInner(value) {
25
- if (!('siteId' in value) || value['siteId'] === undefined)
26
- return false;
27
- return true;
28
- }
29
- function StoreSupplierRequestDescriptionsInnerFromJSON(json) {
30
- return StoreSupplierRequestDescriptionsInnerFromJSONTyped(json, false);
31
- }
32
- function StoreSupplierRequestDescriptionsInnerFromJSONTyped(json, ignoreDiscriminator) {
33
- if (json == null) {
34
- return json;
35
- }
36
- return {
37
- 'headerDescription': json['header_description'] == null ? undefined : json['header_description'],
38
- 'footerDescription': json['footer_description'] == null ? undefined : json['footer_description'],
39
- 'siteId': json['site_id'],
40
- };
41
- }
42
- function StoreSupplierRequestDescriptionsInnerToJSON(json) {
43
- return StoreSupplierRequestDescriptionsInnerToJSONTyped(json, false);
44
- }
45
- function StoreSupplierRequestDescriptionsInnerToJSONTyped(value, ignoreDiscriminator) {
46
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
47
- if (value == null) {
48
- return value;
49
- }
50
- return {
51
- 'header_description': value['headerDescription'],
52
- 'footer_description': value['footerDescription'],
53
- 'site_id': value['siteId'],
54
- };
55
- }
@@ -1,44 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface StoreSupplierRequestSeoInner
16
- */
17
- export interface StoreSupplierRequestSeoInner {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof StoreSupplierRequestSeoInner
22
- */
23
- seoTitle?: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof StoreSupplierRequestSeoInner
28
- */
29
- seoDescription?: string;
30
- /**
31
- *
32
- * @type {number}
33
- * @memberof StoreSupplierRequestSeoInner
34
- */
35
- siteId: number;
36
- }
37
- /**
38
- * Check if a given object implements the StoreSupplierRequestSeoInner interface.
39
- */
40
- export declare function instanceOfStoreSupplierRequestSeoInner(value: object): value is StoreSupplierRequestSeoInner;
41
- export declare function StoreSupplierRequestSeoInnerFromJSON(json: any): StoreSupplierRequestSeoInner;
42
- export declare function StoreSupplierRequestSeoInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreSupplierRequestSeoInner;
43
- export declare function StoreSupplierRequestSeoInnerToJSON(json: any): StoreSupplierRequestSeoInner;
44
- export declare function StoreSupplierRequestSeoInnerToJSONTyped(value?: StoreSupplierRequestSeoInner | null, ignoreDiscriminator?: boolean): any;
@@ -1,55 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfStoreSupplierRequestSeoInner = instanceOfStoreSupplierRequestSeoInner;
17
- exports.StoreSupplierRequestSeoInnerFromJSON = StoreSupplierRequestSeoInnerFromJSON;
18
- exports.StoreSupplierRequestSeoInnerFromJSONTyped = StoreSupplierRequestSeoInnerFromJSONTyped;
19
- exports.StoreSupplierRequestSeoInnerToJSON = StoreSupplierRequestSeoInnerToJSON;
20
- exports.StoreSupplierRequestSeoInnerToJSONTyped = StoreSupplierRequestSeoInnerToJSONTyped;
21
- /**
22
- * Check if a given object implements the StoreSupplierRequestSeoInner interface.
23
- */
24
- function instanceOfStoreSupplierRequestSeoInner(value) {
25
- if (!('siteId' in value) || value['siteId'] === undefined)
26
- return false;
27
- return true;
28
- }
29
- function StoreSupplierRequestSeoInnerFromJSON(json) {
30
- return StoreSupplierRequestSeoInnerFromJSONTyped(json, false);
31
- }
32
- function StoreSupplierRequestSeoInnerFromJSONTyped(json, ignoreDiscriminator) {
33
- if (json == null) {
34
- return json;
35
- }
36
- return {
37
- 'seoTitle': json['seo_title'] == null ? undefined : json['seo_title'],
38
- 'seoDescription': json['seo_description'] == null ? undefined : json['seo_description'],
39
- 'siteId': json['site_id'],
40
- };
41
- }
42
- function StoreSupplierRequestSeoInnerToJSON(json) {
43
- return StoreSupplierRequestSeoInnerToJSONTyped(json, false);
44
- }
45
- function StoreSupplierRequestSeoInnerToJSONTyped(value, ignoreDiscriminator) {
46
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
47
- if (value == null) {
48
- return value;
49
- }
50
- return {
51
- 'seo_title': value['seoTitle'],
52
- 'seo_description': value['seoDescription'],
53
- 'site_id': value['siteId'],
54
- };
55
- }
@@ -1,82 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface StoreSupplierRequestDescriptionsInner
20
- */
21
- export interface StoreSupplierRequestDescriptionsInner {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof StoreSupplierRequestDescriptionsInner
26
- */
27
- headerDescription?: string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof StoreSupplierRequestDescriptionsInner
32
- */
33
- footerDescription?: string;
34
- /**
35
- *
36
- * @type {number}
37
- * @memberof StoreSupplierRequestDescriptionsInner
38
- */
39
- siteId: number;
40
- }
41
-
42
- /**
43
- * Check if a given object implements the StoreSupplierRequestDescriptionsInner interface.
44
- */
45
- export function instanceOfStoreSupplierRequestDescriptionsInner(value: object): value is StoreSupplierRequestDescriptionsInner {
46
- if (!('siteId' in value) || value['siteId'] === undefined) return false;
47
- return true;
48
- }
49
-
50
- export function StoreSupplierRequestDescriptionsInnerFromJSON(json: any): StoreSupplierRequestDescriptionsInner {
51
- return StoreSupplierRequestDescriptionsInnerFromJSONTyped(json, false);
52
- }
53
-
54
- export function StoreSupplierRequestDescriptionsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreSupplierRequestDescriptionsInner {
55
- if (json == null) {
56
- return json;
57
- }
58
- return {
59
-
60
- 'headerDescription': json['header_description'] == null ? undefined : json['header_description'],
61
- 'footerDescription': json['footer_description'] == null ? undefined : json['footer_description'],
62
- 'siteId': json['site_id'],
63
- };
64
- }
65
-
66
- export function StoreSupplierRequestDescriptionsInnerToJSON(json: any): StoreSupplierRequestDescriptionsInner {
67
- return StoreSupplierRequestDescriptionsInnerToJSONTyped(json, false);
68
- }
69
-
70
- export function StoreSupplierRequestDescriptionsInnerToJSONTyped(value?: StoreSupplierRequestDescriptionsInner | null, ignoreDiscriminator: boolean = false): any {
71
- if (value == null) {
72
- return value;
73
- }
74
-
75
- return {
76
-
77
- 'header_description': value['headerDescription'],
78
- 'footer_description': value['footerDescription'],
79
- 'site_id': value['siteId'],
80
- };
81
- }
82
-