@digital8/lighting-illusions-ts-sdk 0.0.622 → 0.0.624

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 (34) hide show
  1. package/.openapi-generator/FILES +0 -14
  2. package/README.md +2 -9
  3. package/dist/models/index.d.ts +0 -7
  4. package/dist/models/index.js +0 -7
  5. package/package.json +1 -1
  6. package/src/models/index.ts +0 -7
  7. package/dist/models/PaginatedWishlistProductResourceResponse.d.ts +0 -40
  8. package/dist/models/PaginatedWishlistProductResourceResponse.js +0 -57
  9. package/dist/models/WishlistCheckResource.d.ts +0 -32
  10. package/dist/models/WishlistCheckResource.js +0 -51
  11. package/dist/models/WishlistCheckResourceArrayResponse.d.ts +0 -33
  12. package/dist/models/WishlistCheckResourceArrayResponse.js +0 -50
  13. package/dist/models/WishlistProductResource.d.ts +0 -122
  14. package/dist/models/WishlistProductResource.js +0 -105
  15. package/dist/models/WishlistProductResourceArrayResponse.d.ts +0 -33
  16. package/dist/models/WishlistProductResourceArrayResponse.js +0 -50
  17. package/dist/models/WishlistToggleResource.d.ts +0 -38
  18. package/dist/models/WishlistToggleResource.js +0 -55
  19. package/dist/models/WishlistToggleResourceArrayResponse.d.ts +0 -33
  20. package/dist/models/WishlistToggleResourceArrayResponse.js +0 -50
  21. package/docs/PaginatedWishlistProductResourceResponse.md +0 -36
  22. package/docs/WishlistCheckResource.md +0 -34
  23. package/docs/WishlistCheckResourceArrayResponse.md +0 -34
  24. package/docs/WishlistProductResource.md +0 -64
  25. package/docs/WishlistProductResourceArrayResponse.md +0 -34
  26. package/docs/WishlistToggleResource.md +0 -36
  27. package/docs/WishlistToggleResourceArrayResponse.md +0 -34
  28. package/src/models/PaginatedWishlistProductResourceResponse.ts +0 -90
  29. package/src/models/WishlistCheckResource.ts +0 -66
  30. package/src/models/WishlistCheckResourceArrayResponse.ts +0 -73
  31. package/src/models/WishlistProductResource.ts +0 -198
  32. package/src/models/WishlistProductResourceArrayResponse.ts +0 -73
  33. package/src/models/WishlistToggleResource.ts +0 -75
  34. package/src/models/WishlistToggleResourceArrayResponse.ts +0 -73
@@ -147,7 +147,6 @@ docs/PaginatedSupplierResourceResponse.md
147
147
  docs/PaginatedTagListResourceResponse.md
148
148
  docs/PaginatedTagLiteResourceResponse.md
149
149
  docs/PaginatedTagResourceResponse.md
150
- docs/PaginatedWishlistProductResourceResponse.md
151
150
  docs/PagingMetadata.md
152
151
  docs/PreviewAutomationRulesProductCategoryRequest.md
153
152
  docs/PreviewAutomationRulesResource.md
@@ -276,12 +275,6 @@ docs/UpdateSiteNotificationRequest.md
276
275
  docs/UpdateSiteRequest.md
277
276
  docs/UpdateSupplierRequest.md
278
277
  docs/UpdateTagRequest.md
279
- docs/WishlistCheckResource.md
280
- docs/WishlistCheckResourceArrayResponse.md
281
- docs/WishlistProductResource.md
282
- docs/WishlistProductResourceArrayResponse.md
283
- docs/WishlistToggleResource.md
284
- docs/WishlistToggleResourceArrayResponse.md
285
278
  package.json
286
279
  src/apis/AssetApi.ts
287
280
  src/apis/AttributeApi.ts
@@ -437,7 +430,6 @@ src/models/PaginatedSupplierResourceResponse.ts
437
430
  src/models/PaginatedTagListResourceResponse.ts
438
431
  src/models/PaginatedTagLiteResourceResponse.ts
439
432
  src/models/PaginatedTagResourceResponse.ts
440
- src/models/PaginatedWishlistProductResourceResponse.ts
441
433
  src/models/PagingMetadata.ts
442
434
  src/models/PreviewAutomationRulesProductCategoryRequest.ts
443
435
  src/models/PreviewAutomationRulesResource.ts
@@ -559,12 +551,6 @@ src/models/UpdateSiteNotificationRequest.ts
559
551
  src/models/UpdateSiteRequest.ts
560
552
  src/models/UpdateSupplierRequest.ts
561
553
  src/models/UpdateTagRequest.ts
562
- src/models/WishlistCheckResource.ts
563
- src/models/WishlistCheckResourceArrayResponse.ts
564
- src/models/WishlistProductResource.ts
565
- src/models/WishlistProductResourceArrayResponse.ts
566
- src/models/WishlistToggleResource.ts
567
- src/models/WishlistToggleResourceArrayResponse.ts
568
554
  src/models/index.ts
569
555
  src/runtime.ts
570
556
  tsconfig.json
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @digital8/lighting-illusions-ts-sdk@0.0.622
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.624
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -297,7 +297,6 @@ All URIs are relative to *http://localhost/api*
297
297
  - [PaginatedTagListResourceResponse](docs/PaginatedTagListResourceResponse.md)
298
298
  - [PaginatedTagLiteResourceResponse](docs/PaginatedTagLiteResourceResponse.md)
299
299
  - [PaginatedTagResourceResponse](docs/PaginatedTagResourceResponse.md)
300
- - [PaginatedWishlistProductResourceResponse](docs/PaginatedWishlistProductResourceResponse.md)
301
300
  - [PagingMetadata](docs/PagingMetadata.md)
302
301
  - [PreviewAutomationRulesProductCategoryRequest](docs/PreviewAutomationRulesProductCategoryRequest.md)
303
302
  - [PreviewAutomationRulesResource](docs/PreviewAutomationRulesResource.md)
@@ -419,12 +418,6 @@ All URIs are relative to *http://localhost/api*
419
418
  - [UpdateSiteRequest](docs/UpdateSiteRequest.md)
420
419
  - [UpdateSupplierRequest](docs/UpdateSupplierRequest.md)
421
420
  - [UpdateTagRequest](docs/UpdateTagRequest.md)
422
- - [WishlistCheckResource](docs/WishlistCheckResource.md)
423
- - [WishlistCheckResourceArrayResponse](docs/WishlistCheckResourceArrayResponse.md)
424
- - [WishlistProductResource](docs/WishlistProductResource.md)
425
- - [WishlistProductResourceArrayResponse](docs/WishlistProductResourceArrayResponse.md)
426
- - [WishlistToggleResource](docs/WishlistToggleResource.md)
427
- - [WishlistToggleResourceArrayResponse](docs/WishlistToggleResourceArrayResponse.md)
428
421
 
429
422
  ### Authorization
430
423
 
@@ -438,7 +431,7 @@ and is automatically generated by the
438
431
  [OpenAPI Generator](https://openapi-generator.tech) project:
439
432
 
440
433
  - API version: `1.0.0`
441
- - Package version: `0.0.622`
434
+ - Package version: `0.0.624`
442
435
  - Generator version: `7.19.0`
443
436
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
444
437
 
@@ -137,7 +137,6 @@ export * from './PaginatedSupplierResourceResponse';
137
137
  export * from './PaginatedTagListResourceResponse';
138
138
  export * from './PaginatedTagLiteResourceResponse';
139
139
  export * from './PaginatedTagResourceResponse';
140
- export * from './PaginatedWishlistProductResourceResponse';
141
140
  export * from './PagingMetadata';
142
141
  export * from './PreviewAutomationRulesProductCategoryRequest';
143
142
  export * from './PreviewAutomationRulesResource';
@@ -259,9 +258,3 @@ export * from './UpdateSiteNotificationRequest';
259
258
  export * from './UpdateSiteRequest';
260
259
  export * from './UpdateSupplierRequest';
261
260
  export * from './UpdateTagRequest';
262
- export * from './WishlistCheckResource';
263
- export * from './WishlistCheckResourceArrayResponse';
264
- export * from './WishlistProductResource';
265
- export * from './WishlistProductResourceArrayResponse';
266
- export * from './WishlistToggleResource';
267
- export * from './WishlistToggleResourceArrayResponse';
@@ -155,7 +155,6 @@ __exportStar(require("./PaginatedSupplierResourceResponse"), exports);
155
155
  __exportStar(require("./PaginatedTagListResourceResponse"), exports);
156
156
  __exportStar(require("./PaginatedTagLiteResourceResponse"), exports);
157
157
  __exportStar(require("./PaginatedTagResourceResponse"), exports);
158
- __exportStar(require("./PaginatedWishlistProductResourceResponse"), exports);
159
158
  __exportStar(require("./PagingMetadata"), exports);
160
159
  __exportStar(require("./PreviewAutomationRulesProductCategoryRequest"), exports);
161
160
  __exportStar(require("./PreviewAutomationRulesResource"), exports);
@@ -277,9 +276,3 @@ __exportStar(require("./UpdateSiteNotificationRequest"), exports);
277
276
  __exportStar(require("./UpdateSiteRequest"), exports);
278
277
  __exportStar(require("./UpdateSupplierRequest"), exports);
279
278
  __exportStar(require("./UpdateTagRequest"), exports);
280
- __exportStar(require("./WishlistCheckResource"), exports);
281
- __exportStar(require("./WishlistCheckResourceArrayResponse"), exports);
282
- __exportStar(require("./WishlistProductResource"), exports);
283
- __exportStar(require("./WishlistProductResourceArrayResponse"), exports);
284
- __exportStar(require("./WishlistToggleResource"), exports);
285
- __exportStar(require("./WishlistToggleResourceArrayResponse"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.622",
3
+ "version": "0.0.624",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -139,7 +139,6 @@ export * from './PaginatedSupplierResourceResponse';
139
139
  export * from './PaginatedTagListResourceResponse';
140
140
  export * from './PaginatedTagLiteResourceResponse';
141
141
  export * from './PaginatedTagResourceResponse';
142
- export * from './PaginatedWishlistProductResourceResponse';
143
142
  export * from './PagingMetadata';
144
143
  export * from './PreviewAutomationRulesProductCategoryRequest';
145
144
  export * from './PreviewAutomationRulesResource';
@@ -261,9 +260,3 @@ export * from './UpdateSiteNotificationRequest';
261
260
  export * from './UpdateSiteRequest';
262
261
  export * from './UpdateSupplierRequest';
263
262
  export * from './UpdateTagRequest';
264
- export * from './WishlistCheckResource';
265
- export * from './WishlistCheckResourceArrayResponse';
266
- export * from './WishlistProductResource';
267
- export * from './WishlistProductResourceArrayResponse';
268
- export * from './WishlistToggleResource';
269
- export * from './WishlistToggleResourceArrayResponse';
@@ -1,40 +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
- import type { PagingMetadata } from './PagingMetadata';
13
- import type { WishlistProductResource } from './WishlistProductResource';
14
- /**
15
- *
16
- * @export
17
- * @interface PaginatedWishlistProductResourceResponse
18
- */
19
- export interface PaginatedWishlistProductResourceResponse {
20
- /**
21
- *
22
- * @type {Array<WishlistProductResource>}
23
- * @memberof PaginatedWishlistProductResourceResponse
24
- */
25
- data: Array<WishlistProductResource>;
26
- /**
27
- *
28
- * @type {PagingMetadata}
29
- * @memberof PaginatedWishlistProductResourceResponse
30
- */
31
- meta: PagingMetadata;
32
- }
33
- /**
34
- * Check if a given object implements the PaginatedWishlistProductResourceResponse interface.
35
- */
36
- export declare function instanceOfPaginatedWishlistProductResourceResponse(value: object): value is PaginatedWishlistProductResourceResponse;
37
- export declare function PaginatedWishlistProductResourceResponseFromJSON(json: any): PaginatedWishlistProductResourceResponse;
38
- export declare function PaginatedWishlistProductResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedWishlistProductResourceResponse;
39
- export declare function PaginatedWishlistProductResourceResponseToJSON(json: any): PaginatedWishlistProductResourceResponse;
40
- export declare function PaginatedWishlistProductResourceResponseToJSONTyped(value?: PaginatedWishlistProductResourceResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,57 +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.instanceOfPaginatedWishlistProductResourceResponse = instanceOfPaginatedWishlistProductResourceResponse;
17
- exports.PaginatedWishlistProductResourceResponseFromJSON = PaginatedWishlistProductResourceResponseFromJSON;
18
- exports.PaginatedWishlistProductResourceResponseFromJSONTyped = PaginatedWishlistProductResourceResponseFromJSONTyped;
19
- exports.PaginatedWishlistProductResourceResponseToJSON = PaginatedWishlistProductResourceResponseToJSON;
20
- exports.PaginatedWishlistProductResourceResponseToJSONTyped = PaginatedWishlistProductResourceResponseToJSONTyped;
21
- var PagingMetadata_1 = require("./PagingMetadata");
22
- var WishlistProductResource_1 = require("./WishlistProductResource");
23
- /**
24
- * Check if a given object implements the PaginatedWishlistProductResourceResponse interface.
25
- */
26
- function instanceOfPaginatedWishlistProductResourceResponse(value) {
27
- if (!('data' in value) || value['data'] === undefined)
28
- return false;
29
- if (!('meta' in value) || value['meta'] === undefined)
30
- return false;
31
- return true;
32
- }
33
- function PaginatedWishlistProductResourceResponseFromJSON(json) {
34
- return PaginatedWishlistProductResourceResponseFromJSONTyped(json, false);
35
- }
36
- function PaginatedWishlistProductResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
37
- if (json == null) {
38
- return json;
39
- }
40
- return {
41
- 'data': (json['data'].map(WishlistProductResource_1.WishlistProductResourceFromJSON)),
42
- 'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
43
- };
44
- }
45
- function PaginatedWishlistProductResourceResponseToJSON(json) {
46
- return PaginatedWishlistProductResourceResponseToJSONTyped(json, false);
47
- }
48
- function PaginatedWishlistProductResourceResponseToJSONTyped(value, ignoreDiscriminator) {
49
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
50
- if (value == null) {
51
- return value;
52
- }
53
- return {
54
- 'data': (value['data'].map(WishlistProductResource_1.WishlistProductResourceToJSON)),
55
- 'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
56
- };
57
- }
@@ -1,32 +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 WishlistCheckResource
16
- */
17
- export interface WishlistCheckResource {
18
- /**
19
- *
20
- * @type {boolean}
21
- * @memberof WishlistCheckResource
22
- */
23
- inWishlist: boolean;
24
- }
25
- /**
26
- * Check if a given object implements the WishlistCheckResource interface.
27
- */
28
- export declare function instanceOfWishlistCheckResource(value: object): value is WishlistCheckResource;
29
- export declare function WishlistCheckResourceFromJSON(json: any): WishlistCheckResource;
30
- export declare function WishlistCheckResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): WishlistCheckResource;
31
- export declare function WishlistCheckResourceToJSON(json: any): WishlistCheckResource;
32
- export declare function WishlistCheckResourceToJSONTyped(value?: WishlistCheckResource | null, ignoreDiscriminator?: boolean): any;
@@ -1,51 +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.instanceOfWishlistCheckResource = instanceOfWishlistCheckResource;
17
- exports.WishlistCheckResourceFromJSON = WishlistCheckResourceFromJSON;
18
- exports.WishlistCheckResourceFromJSONTyped = WishlistCheckResourceFromJSONTyped;
19
- exports.WishlistCheckResourceToJSON = WishlistCheckResourceToJSON;
20
- exports.WishlistCheckResourceToJSONTyped = WishlistCheckResourceToJSONTyped;
21
- /**
22
- * Check if a given object implements the WishlistCheckResource interface.
23
- */
24
- function instanceOfWishlistCheckResource(value) {
25
- if (!('inWishlist' in value) || value['inWishlist'] === undefined)
26
- return false;
27
- return true;
28
- }
29
- function WishlistCheckResourceFromJSON(json) {
30
- return WishlistCheckResourceFromJSONTyped(json, false);
31
- }
32
- function WishlistCheckResourceFromJSONTyped(json, ignoreDiscriminator) {
33
- if (json == null) {
34
- return json;
35
- }
36
- return {
37
- 'inWishlist': json['in_wishlist'],
38
- };
39
- }
40
- function WishlistCheckResourceToJSON(json) {
41
- return WishlistCheckResourceToJSONTyped(json, false);
42
- }
43
- function WishlistCheckResourceToJSONTyped(value, ignoreDiscriminator) {
44
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
- if (value == null) {
46
- return value;
47
- }
48
- return {
49
- 'in_wishlist': value['inWishlist'],
50
- };
51
- }
@@ -1,33 +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
- import type { WishlistCheckResource } from './WishlistCheckResource';
13
- /**
14
- *
15
- * @export
16
- * @interface WishlistCheckResourceArrayResponse
17
- */
18
- export interface WishlistCheckResourceArrayResponse {
19
- /**
20
- *
21
- * @type {Array<WishlistCheckResource>}
22
- * @memberof WishlistCheckResourceArrayResponse
23
- */
24
- data?: Array<WishlistCheckResource>;
25
- }
26
- /**
27
- * Check if a given object implements the WishlistCheckResourceArrayResponse interface.
28
- */
29
- export declare function instanceOfWishlistCheckResourceArrayResponse(value: object): value is WishlistCheckResourceArrayResponse;
30
- export declare function WishlistCheckResourceArrayResponseFromJSON(json: any): WishlistCheckResourceArrayResponse;
31
- export declare function WishlistCheckResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WishlistCheckResourceArrayResponse;
32
- export declare function WishlistCheckResourceArrayResponseToJSON(json: any): WishlistCheckResourceArrayResponse;
33
- export declare function WishlistCheckResourceArrayResponseToJSONTyped(value?: WishlistCheckResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,50 +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.instanceOfWishlistCheckResourceArrayResponse = instanceOfWishlistCheckResourceArrayResponse;
17
- exports.WishlistCheckResourceArrayResponseFromJSON = WishlistCheckResourceArrayResponseFromJSON;
18
- exports.WishlistCheckResourceArrayResponseFromJSONTyped = WishlistCheckResourceArrayResponseFromJSONTyped;
19
- exports.WishlistCheckResourceArrayResponseToJSON = WishlistCheckResourceArrayResponseToJSON;
20
- exports.WishlistCheckResourceArrayResponseToJSONTyped = WishlistCheckResourceArrayResponseToJSONTyped;
21
- var WishlistCheckResource_1 = require("./WishlistCheckResource");
22
- /**
23
- * Check if a given object implements the WishlistCheckResourceArrayResponse interface.
24
- */
25
- function instanceOfWishlistCheckResourceArrayResponse(value) {
26
- return true;
27
- }
28
- function WishlistCheckResourceArrayResponseFromJSON(json) {
29
- return WishlistCheckResourceArrayResponseFromJSONTyped(json, false);
30
- }
31
- function WishlistCheckResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'data': json['data'] == null ? undefined : (json['data'].map(WishlistCheckResource_1.WishlistCheckResourceFromJSON)),
37
- };
38
- }
39
- function WishlistCheckResourceArrayResponseToJSON(json) {
40
- return WishlistCheckResourceArrayResponseToJSONTyped(json, false);
41
- }
42
- function WishlistCheckResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
43
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
44
- if (value == null) {
45
- return value;
46
- }
47
- return {
48
- 'data': value['data'] == null ? undefined : (value['data'].map(WishlistCheckResource_1.WishlistCheckResourceToJSON)),
49
- };
50
- }
@@ -1,122 +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 WishlistProductResource
16
- */
17
- export interface WishlistProductResource {
18
- /**
19
- *
20
- * @type {number}
21
- * @memberof WishlistProductResource
22
- */
23
- id: number;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof WishlistProductResource
28
- */
29
- sku: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof WishlistProductResource
34
- */
35
- model: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof WishlistProductResource
40
- */
41
- name: string;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof WishlistProductResource
46
- */
47
- slug: string;
48
- /**
49
- *
50
- * @type {number}
51
- * @memberof WishlistProductResource
52
- */
53
- price: number;
54
- /**
55
- *
56
- * @type {number}
57
- * @memberof WishlistProductResource
58
- */
59
- salePrice: number;
60
- /**
61
- *
62
- * @type {string}
63
- * @memberof WishlistProductResource
64
- */
65
- thumbnail?: string | null;
66
- /**
67
- *
68
- * @type {number}
69
- * @memberof WishlistProductResource
70
- */
71
- averageRating: number;
72
- /**
73
- *
74
- * @type {string}
75
- * @memberof WishlistProductResource
76
- */
77
- labelDetails?: string | null;
78
- /**
79
- *
80
- * @type {Array<boolean>}
81
- * @memberof WishlistProductResource
82
- */
83
- categories: Array<boolean>;
84
- /**
85
- *
86
- * @type {string}
87
- * @memberof WishlistProductResource
88
- */
89
- supplierName: string;
90
- /**
91
- *
92
- * @type {string}
93
- * @memberof WishlistProductResource
94
- */
95
- supplierLogo?: string | null;
96
- /**
97
- *
98
- * @type {number}
99
- * @memberof WishlistProductResource
100
- */
101
- supplierId: number;
102
- /**
103
- *
104
- * @type {string}
105
- * @memberof WishlistProductResource
106
- */
107
- availability: string;
108
- /**
109
- *
110
- * @type {boolean}
111
- * @memberof WishlistProductResource
112
- */
113
- wishlisted: boolean;
114
- }
115
- /**
116
- * Check if a given object implements the WishlistProductResource interface.
117
- */
118
- export declare function instanceOfWishlistProductResource(value: object): value is WishlistProductResource;
119
- export declare function WishlistProductResourceFromJSON(json: any): WishlistProductResource;
120
- export declare function WishlistProductResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): WishlistProductResource;
121
- export declare function WishlistProductResourceToJSON(json: any): WishlistProductResource;
122
- export declare function WishlistProductResourceToJSONTyped(value?: WishlistProductResource | null, ignoreDiscriminator?: boolean): any;
@@ -1,105 +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.instanceOfWishlistProductResource = instanceOfWishlistProductResource;
17
- exports.WishlistProductResourceFromJSON = WishlistProductResourceFromJSON;
18
- exports.WishlistProductResourceFromJSONTyped = WishlistProductResourceFromJSONTyped;
19
- exports.WishlistProductResourceToJSON = WishlistProductResourceToJSON;
20
- exports.WishlistProductResourceToJSONTyped = WishlistProductResourceToJSONTyped;
21
- /**
22
- * Check if a given object implements the WishlistProductResource interface.
23
- */
24
- function instanceOfWishlistProductResource(value) {
25
- if (!('id' in value) || value['id'] === undefined)
26
- return false;
27
- if (!('sku' in value) || value['sku'] === undefined)
28
- return false;
29
- if (!('model' in value) || value['model'] === undefined)
30
- return false;
31
- if (!('name' in value) || value['name'] === undefined)
32
- return false;
33
- if (!('slug' in value) || value['slug'] === undefined)
34
- return false;
35
- if (!('price' in value) || value['price'] === undefined)
36
- return false;
37
- if (!('salePrice' in value) || value['salePrice'] === undefined)
38
- return false;
39
- if (!('averageRating' in value) || value['averageRating'] === undefined)
40
- return false;
41
- if (!('categories' in value) || value['categories'] === undefined)
42
- return false;
43
- if (!('supplierName' in value) || value['supplierName'] === undefined)
44
- return false;
45
- if (!('supplierId' in value) || value['supplierId'] === undefined)
46
- return false;
47
- if (!('availability' in value) || value['availability'] === undefined)
48
- return false;
49
- if (!('wishlisted' in value) || value['wishlisted'] === undefined)
50
- return false;
51
- return true;
52
- }
53
- function WishlistProductResourceFromJSON(json) {
54
- return WishlistProductResourceFromJSONTyped(json, false);
55
- }
56
- function WishlistProductResourceFromJSONTyped(json, ignoreDiscriminator) {
57
- if (json == null) {
58
- return json;
59
- }
60
- return {
61
- 'id': json['id'],
62
- 'sku': json['sku'],
63
- 'model': json['model'],
64
- 'name': json['name'],
65
- 'slug': json['slug'],
66
- 'price': json['price'],
67
- 'salePrice': json['salePrice'],
68
- 'thumbnail': json['thumbnail'] == null ? undefined : json['thumbnail'],
69
- 'averageRating': json['averageRating'],
70
- 'labelDetails': json['labelDetails'] == null ? undefined : json['labelDetails'],
71
- 'categories': json['categories'],
72
- 'supplierName': json['supplierName'],
73
- 'supplierLogo': json['supplierLogo'] == null ? undefined : json['supplierLogo'],
74
- 'supplierId': json['supplierId'],
75
- 'availability': json['availability'],
76
- 'wishlisted': json['wishlisted'],
77
- };
78
- }
79
- function WishlistProductResourceToJSON(json) {
80
- return WishlistProductResourceToJSONTyped(json, false);
81
- }
82
- function WishlistProductResourceToJSONTyped(value, ignoreDiscriminator) {
83
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
84
- if (value == null) {
85
- return value;
86
- }
87
- return {
88
- 'id': value['id'],
89
- 'sku': value['sku'],
90
- 'model': value['model'],
91
- 'name': value['name'],
92
- 'slug': value['slug'],
93
- 'price': value['price'],
94
- 'salePrice': value['salePrice'],
95
- 'thumbnail': value['thumbnail'],
96
- 'averageRating': value['averageRating'],
97
- 'labelDetails': value['labelDetails'],
98
- 'categories': value['categories'],
99
- 'supplierName': value['supplierName'],
100
- 'supplierLogo': value['supplierLogo'],
101
- 'supplierId': value['supplierId'],
102
- 'availability': value['availability'],
103
- 'wishlisted': value['wishlisted'],
104
- };
105
- }
@@ -1,33 +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
- import type { WishlistProductResource } from './WishlistProductResource';
13
- /**
14
- *
15
- * @export
16
- * @interface WishlistProductResourceArrayResponse
17
- */
18
- export interface WishlistProductResourceArrayResponse {
19
- /**
20
- *
21
- * @type {Array<WishlistProductResource>}
22
- * @memberof WishlistProductResourceArrayResponse
23
- */
24
- data?: Array<WishlistProductResource>;
25
- }
26
- /**
27
- * Check if a given object implements the WishlistProductResourceArrayResponse interface.
28
- */
29
- export declare function instanceOfWishlistProductResourceArrayResponse(value: object): value is WishlistProductResourceArrayResponse;
30
- export declare function WishlistProductResourceArrayResponseFromJSON(json: any): WishlistProductResourceArrayResponse;
31
- export declare function WishlistProductResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WishlistProductResourceArrayResponse;
32
- export declare function WishlistProductResourceArrayResponseToJSON(json: any): WishlistProductResourceArrayResponse;
33
- export declare function WishlistProductResourceArrayResponseToJSONTyped(value?: WishlistProductResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;