@digital8/lighting-illusions-ts-sdk 0.0.607 → 0.0.608

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 (33) hide show
  1. package/.openapi-generator/FILES +12 -0
  2. package/README.md +8 -2
  3. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  4. package/dist/models/ExternalApiLogResource.js +3 -1
  5. package/dist/models/WishlistCheckResource.d.ts +32 -0
  6. package/dist/models/WishlistCheckResource.js +51 -0
  7. package/dist/models/WishlistCheckResourceArrayResponse.d.ts +33 -0
  8. package/dist/models/WishlistCheckResourceArrayResponse.js +50 -0
  9. package/dist/models/WishlistListResource.d.ts +45 -0
  10. package/dist/models/WishlistListResource.js +60 -0
  11. package/dist/models/WishlistListResourceArrayResponse.d.ts +33 -0
  12. package/dist/models/WishlistListResourceArrayResponse.js +50 -0
  13. package/dist/models/WishlistToggleResource.d.ts +38 -0
  14. package/dist/models/WishlistToggleResource.js +55 -0
  15. package/dist/models/WishlistToggleResourceArrayResponse.d.ts +33 -0
  16. package/dist/models/WishlistToggleResourceArrayResponse.js +50 -0
  17. package/dist/models/index.d.ts +6 -0
  18. package/dist/models/index.js +6 -0
  19. package/docs/WishlistCheckResource.md +34 -0
  20. package/docs/WishlistCheckResourceArrayResponse.md +34 -0
  21. package/docs/WishlistListResource.md +38 -0
  22. package/docs/WishlistListResourceArrayResponse.md +34 -0
  23. package/docs/WishlistToggleResource.md +36 -0
  24. package/docs/WishlistToggleResourceArrayResponse.md +34 -0
  25. package/package.json +1 -1
  26. package/src/models/ExternalApiLogResource.ts +3 -2
  27. package/src/models/WishlistCheckResource.ts +66 -0
  28. package/src/models/WishlistCheckResourceArrayResponse.ts +73 -0
  29. package/src/models/WishlistListResource.ts +92 -0
  30. package/src/models/WishlistListResourceArrayResponse.ts +73 -0
  31. package/src/models/WishlistToggleResource.ts +75 -0
  32. package/src/models/WishlistToggleResourceArrayResponse.ts +73 -0
  33. package/src/models/index.ts +6 -0
@@ -267,6 +267,12 @@ docs/UpdateSiteNotificationRequest.md
267
267
  docs/UpdateSiteRequest.md
268
268
  docs/UpdateSupplierRequest.md
269
269
  docs/UpdateTagRequest.md
270
+ docs/WishlistCheckResource.md
271
+ docs/WishlistCheckResourceArrayResponse.md
272
+ docs/WishlistListResource.md
273
+ docs/WishlistListResourceArrayResponse.md
274
+ docs/WishlistToggleResource.md
275
+ docs/WishlistToggleResourceArrayResponse.md
270
276
  package.json
271
277
  src/apis/AssetApi.ts
272
278
  src/apis/AttributeApi.ts
@@ -535,6 +541,12 @@ src/models/UpdateSiteNotificationRequest.ts
535
541
  src/models/UpdateSiteRequest.ts
536
542
  src/models/UpdateSupplierRequest.ts
537
543
  src/models/UpdateTagRequest.ts
544
+ src/models/WishlistCheckResource.ts
545
+ src/models/WishlistCheckResourceArrayResponse.ts
546
+ src/models/WishlistListResource.ts
547
+ src/models/WishlistListResourceArrayResponse.ts
548
+ src/models/WishlistToggleResource.ts
549
+ src/models/WishlistToggleResourceArrayResponse.ts
538
550
  src/models/index.ts
539
551
  src/runtime.ts
540
552
  tsconfig.json
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @digital8/lighting-illusions-ts-sdk@0.0.607
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.608
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -410,6 +410,12 @@ All URIs are relative to *http://localhost/api*
410
410
  - [UpdateSiteRequest](docs/UpdateSiteRequest.md)
411
411
  - [UpdateSupplierRequest](docs/UpdateSupplierRequest.md)
412
412
  - [UpdateTagRequest](docs/UpdateTagRequest.md)
413
+ - [WishlistCheckResource](docs/WishlistCheckResource.md)
414
+ - [WishlistCheckResourceArrayResponse](docs/WishlistCheckResourceArrayResponse.md)
415
+ - [WishlistListResource](docs/WishlistListResource.md)
416
+ - [WishlistListResourceArrayResponse](docs/WishlistListResourceArrayResponse.md)
417
+ - [WishlistToggleResource](docs/WishlistToggleResource.md)
418
+ - [WishlistToggleResourceArrayResponse](docs/WishlistToggleResourceArrayResponse.md)
413
419
 
414
420
  ### Authorization
415
421
 
@@ -423,7 +429,7 @@ and is automatically generated by the
423
429
  [OpenAPI Generator](https://openapi-generator.tech) project:
424
430
 
425
431
  - API version: `1.0.0`
426
- - Package version: `0.0.607`
432
+ - Package version: `0.0.608`
427
433
  - Generator version: `7.19.0`
428
434
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
429
435
 
@@ -63,7 +63,7 @@ export interface ExternalApiLogResource {
63
63
  * @type {string}
64
64
  * @memberof ExternalApiLogResource
65
65
  */
66
- requestPayload?: string | null;
66
+ requestPayload: string;
67
67
  /**
68
68
  *
69
69
  * @type {string}
@@ -37,6 +37,8 @@ function instanceOfExternalApiLogResource(value) {
37
37
  return false;
38
38
  if (!('responseCode' in value) || value['responseCode'] === undefined)
39
39
  return false;
40
+ if (!('requestPayload' in value) || value['requestPayload'] === undefined)
41
+ return false;
40
42
  if (!('responsePayload' in value) || value['responsePayload'] === undefined)
41
43
  return false;
42
44
  if (!('site' in value) || value['site'] === undefined)
@@ -58,7 +60,7 @@ function ExternalApiLogResourceFromJSONTyped(json, ignoreDiscriminator) {
58
60
  'exteranlApiLoggableId': json['exteranlApiLoggableId'],
59
61
  'endpoint': json['endpoint'],
60
62
  'responseCode': json['responseCode'],
61
- 'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
63
+ 'requestPayload': json['requestPayload'],
62
64
  'responsePayload': json['responsePayload'],
63
65
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
64
66
  'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
@@ -0,0 +1,32 @@
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;
@@ -0,0 +1,51 @@
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
+ }
@@ -0,0 +1,33 @@
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;
@@ -0,0 +1,50 @@
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
+ }
@@ -0,0 +1,45 @@
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 { ProductSearchResultResource } from './ProductSearchResultResource';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface WishlistListResource
17
+ */
18
+ export interface WishlistListResource {
19
+ /**
20
+ *
21
+ * @type {Array<ProductSearchResultResource>}
22
+ * @memberof WishlistListResource
23
+ */
24
+ data: Array<ProductSearchResultResource> | null;
25
+ /**
26
+ *
27
+ * @type {Array<number>}
28
+ * @memberof WishlistListResource
29
+ */
30
+ meta: Array<number>;
31
+ /**
32
+ *
33
+ * @type {Array<number>}
34
+ * @memberof WishlistListResource
35
+ */
36
+ ids: Array<number>;
37
+ }
38
+ /**
39
+ * Check if a given object implements the WishlistListResource interface.
40
+ */
41
+ export declare function instanceOfWishlistListResource(value: object): value is WishlistListResource;
42
+ export declare function WishlistListResourceFromJSON(json: any): WishlistListResource;
43
+ export declare function WishlistListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): WishlistListResource;
44
+ export declare function WishlistListResourceToJSON(json: any): WishlistListResource;
45
+ export declare function WishlistListResourceToJSONTyped(value?: WishlistListResource | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,60 @@
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.instanceOfWishlistListResource = instanceOfWishlistListResource;
17
+ exports.WishlistListResourceFromJSON = WishlistListResourceFromJSON;
18
+ exports.WishlistListResourceFromJSONTyped = WishlistListResourceFromJSONTyped;
19
+ exports.WishlistListResourceToJSON = WishlistListResourceToJSON;
20
+ exports.WishlistListResourceToJSONTyped = WishlistListResourceToJSONTyped;
21
+ var ProductSearchResultResource_1 = require("./ProductSearchResultResource");
22
+ /**
23
+ * Check if a given object implements the WishlistListResource interface.
24
+ */
25
+ function instanceOfWishlistListResource(value) {
26
+ if (!('data' in value) || value['data'] === undefined)
27
+ return false;
28
+ if (!('meta' in value) || value['meta'] === undefined)
29
+ return false;
30
+ if (!('ids' in value) || value['ids'] === undefined)
31
+ return false;
32
+ return true;
33
+ }
34
+ function WishlistListResourceFromJSON(json) {
35
+ return WishlistListResourceFromJSONTyped(json, false);
36
+ }
37
+ function WishlistListResourceFromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'data': (json['data'] == null ? null : json['data'].map(ProductSearchResultResource_1.ProductSearchResultResourceFromJSON)),
43
+ 'meta': json['meta'],
44
+ 'ids': json['ids'],
45
+ };
46
+ }
47
+ function WishlistListResourceToJSON(json) {
48
+ return WishlistListResourceToJSONTyped(json, false);
49
+ }
50
+ function WishlistListResourceToJSONTyped(value, ignoreDiscriminator) {
51
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
52
+ if (value == null) {
53
+ return value;
54
+ }
55
+ return {
56
+ 'data': (value['data'] == null ? null : value['data'].map(ProductSearchResultResource_1.ProductSearchResultResourceToJSON)),
57
+ 'meta': value['meta'],
58
+ 'ids': value['ids'],
59
+ };
60
+ }
@@ -0,0 +1,33 @@
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 { WishlistListResource } from './WishlistListResource';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface WishlistListResourceArrayResponse
17
+ */
18
+ export interface WishlistListResourceArrayResponse {
19
+ /**
20
+ *
21
+ * @type {Array<WishlistListResource>}
22
+ * @memberof WishlistListResourceArrayResponse
23
+ */
24
+ data?: Array<WishlistListResource>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the WishlistListResourceArrayResponse interface.
28
+ */
29
+ export declare function instanceOfWishlistListResourceArrayResponse(value: object): value is WishlistListResourceArrayResponse;
30
+ export declare function WishlistListResourceArrayResponseFromJSON(json: any): WishlistListResourceArrayResponse;
31
+ export declare function WishlistListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WishlistListResourceArrayResponse;
32
+ export declare function WishlistListResourceArrayResponseToJSON(json: any): WishlistListResourceArrayResponse;
33
+ export declare function WishlistListResourceArrayResponseToJSONTyped(value?: WishlistListResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
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.instanceOfWishlistListResourceArrayResponse = instanceOfWishlistListResourceArrayResponse;
17
+ exports.WishlistListResourceArrayResponseFromJSON = WishlistListResourceArrayResponseFromJSON;
18
+ exports.WishlistListResourceArrayResponseFromJSONTyped = WishlistListResourceArrayResponseFromJSONTyped;
19
+ exports.WishlistListResourceArrayResponseToJSON = WishlistListResourceArrayResponseToJSON;
20
+ exports.WishlistListResourceArrayResponseToJSONTyped = WishlistListResourceArrayResponseToJSONTyped;
21
+ var WishlistListResource_1 = require("./WishlistListResource");
22
+ /**
23
+ * Check if a given object implements the WishlistListResourceArrayResponse interface.
24
+ */
25
+ function instanceOfWishlistListResourceArrayResponse(value) {
26
+ return true;
27
+ }
28
+ function WishlistListResourceArrayResponseFromJSON(json) {
29
+ return WishlistListResourceArrayResponseFromJSONTyped(json, false);
30
+ }
31
+ function WishlistListResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'data': json['data'] == null ? undefined : (json['data'].map(WishlistListResource_1.WishlistListResourceFromJSON)),
37
+ };
38
+ }
39
+ function WishlistListResourceArrayResponseToJSON(json) {
40
+ return WishlistListResourceArrayResponseToJSONTyped(json, false);
41
+ }
42
+ function WishlistListResourceArrayResponseToJSONTyped(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(WishlistListResource_1.WishlistListResourceToJSON)),
49
+ };
50
+ }
@@ -0,0 +1,38 @@
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 WishlistToggleResource
16
+ */
17
+ export interface WishlistToggleResource {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof WishlistToggleResource
22
+ */
23
+ action: string;
24
+ /**
25
+ *
26
+ * @type {Array<number>}
27
+ * @memberof WishlistToggleResource
28
+ */
29
+ product: Array<number>;
30
+ }
31
+ /**
32
+ * Check if a given object implements the WishlistToggleResource interface.
33
+ */
34
+ export declare function instanceOfWishlistToggleResource(value: object): value is WishlistToggleResource;
35
+ export declare function WishlistToggleResourceFromJSON(json: any): WishlistToggleResource;
36
+ export declare function WishlistToggleResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): WishlistToggleResource;
37
+ export declare function WishlistToggleResourceToJSON(json: any): WishlistToggleResource;
38
+ export declare function WishlistToggleResourceToJSONTyped(value?: WishlistToggleResource | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
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.instanceOfWishlistToggleResource = instanceOfWishlistToggleResource;
17
+ exports.WishlistToggleResourceFromJSON = WishlistToggleResourceFromJSON;
18
+ exports.WishlistToggleResourceFromJSONTyped = WishlistToggleResourceFromJSONTyped;
19
+ exports.WishlistToggleResourceToJSON = WishlistToggleResourceToJSON;
20
+ exports.WishlistToggleResourceToJSONTyped = WishlistToggleResourceToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the WishlistToggleResource interface.
23
+ */
24
+ function instanceOfWishlistToggleResource(value) {
25
+ if (!('action' in value) || value['action'] === undefined)
26
+ return false;
27
+ if (!('product' in value) || value['product'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function WishlistToggleResourceFromJSON(json) {
32
+ return WishlistToggleResourceFromJSONTyped(json, false);
33
+ }
34
+ function WishlistToggleResourceFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'action': json['action'],
40
+ 'product': json['product'],
41
+ };
42
+ }
43
+ function WishlistToggleResourceToJSON(json) {
44
+ return WishlistToggleResourceToJSONTyped(json, false);
45
+ }
46
+ function WishlistToggleResourceToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'action': value['action'],
53
+ 'product': value['product'],
54
+ };
55
+ }
@@ -0,0 +1,33 @@
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 { WishlistToggleResource } from './WishlistToggleResource';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface WishlistToggleResourceArrayResponse
17
+ */
18
+ export interface WishlistToggleResourceArrayResponse {
19
+ /**
20
+ *
21
+ * @type {Array<WishlistToggleResource>}
22
+ * @memberof WishlistToggleResourceArrayResponse
23
+ */
24
+ data?: Array<WishlistToggleResource>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the WishlistToggleResourceArrayResponse interface.
28
+ */
29
+ export declare function instanceOfWishlistToggleResourceArrayResponse(value: object): value is WishlistToggleResourceArrayResponse;
30
+ export declare function WishlistToggleResourceArrayResponseFromJSON(json: any): WishlistToggleResourceArrayResponse;
31
+ export declare function WishlistToggleResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WishlistToggleResourceArrayResponse;
32
+ export declare function WishlistToggleResourceArrayResponseToJSON(json: any): WishlistToggleResourceArrayResponse;
33
+ export declare function WishlistToggleResourceArrayResponseToJSONTyped(value?: WishlistToggleResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
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.instanceOfWishlistToggleResourceArrayResponse = instanceOfWishlistToggleResourceArrayResponse;
17
+ exports.WishlistToggleResourceArrayResponseFromJSON = WishlistToggleResourceArrayResponseFromJSON;
18
+ exports.WishlistToggleResourceArrayResponseFromJSONTyped = WishlistToggleResourceArrayResponseFromJSONTyped;
19
+ exports.WishlistToggleResourceArrayResponseToJSON = WishlistToggleResourceArrayResponseToJSON;
20
+ exports.WishlistToggleResourceArrayResponseToJSONTyped = WishlistToggleResourceArrayResponseToJSONTyped;
21
+ var WishlistToggleResource_1 = require("./WishlistToggleResource");
22
+ /**
23
+ * Check if a given object implements the WishlistToggleResourceArrayResponse interface.
24
+ */
25
+ function instanceOfWishlistToggleResourceArrayResponse(value) {
26
+ return true;
27
+ }
28
+ function WishlistToggleResourceArrayResponseFromJSON(json) {
29
+ return WishlistToggleResourceArrayResponseFromJSONTyped(json, false);
30
+ }
31
+ function WishlistToggleResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'data': json['data'] == null ? undefined : (json['data'].map(WishlistToggleResource_1.WishlistToggleResourceFromJSON)),
37
+ };
38
+ }
39
+ function WishlistToggleResourceArrayResponseToJSON(json) {
40
+ return WishlistToggleResourceArrayResponseToJSONTyped(json, false);
41
+ }
42
+ function WishlistToggleResourceArrayResponseToJSONTyped(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(WishlistToggleResource_1.WishlistToggleResourceToJSON)),
49
+ };
50
+ }
@@ -250,3 +250,9 @@ export * from './UpdateSiteNotificationRequest';
250
250
  export * from './UpdateSiteRequest';
251
251
  export * from './UpdateSupplierRequest';
252
252
  export * from './UpdateTagRequest';
253
+ export * from './WishlistCheckResource';
254
+ export * from './WishlistCheckResourceArrayResponse';
255
+ export * from './WishlistListResource';
256
+ export * from './WishlistListResourceArrayResponse';
257
+ export * from './WishlistToggleResource';
258
+ export * from './WishlistToggleResourceArrayResponse';
@@ -268,3 +268,9 @@ __exportStar(require("./UpdateSiteNotificationRequest"), exports);
268
268
  __exportStar(require("./UpdateSiteRequest"), exports);
269
269
  __exportStar(require("./UpdateSupplierRequest"), exports);
270
270
  __exportStar(require("./UpdateTagRequest"), exports);
271
+ __exportStar(require("./WishlistCheckResource"), exports);
272
+ __exportStar(require("./WishlistCheckResourceArrayResponse"), exports);
273
+ __exportStar(require("./WishlistListResource"), exports);
274
+ __exportStar(require("./WishlistListResourceArrayResponse"), exports);
275
+ __exportStar(require("./WishlistToggleResource"), exports);
276
+ __exportStar(require("./WishlistToggleResourceArrayResponse"), exports);