@digital8/lighting-illusions-ts-sdk 0.0.620 → 0.0.621

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.
@@ -275,10 +275,6 @@ docs/UpdateSiteNotificationRequest.md
275
275
  docs/UpdateSiteRequest.md
276
276
  docs/UpdateSupplierRequest.md
277
277
  docs/UpdateTagRequest.md
278
- docs/WishlistCheckResource.md
279
- docs/WishlistCheckResourceArrayResponse.md
280
- docs/WishlistToggleResource.md
281
- docs/WishlistToggleResourceArrayResponse.md
282
278
  package.json
283
279
  src/apis/AssetApi.ts
284
280
  src/apis/AttributeApi.ts
@@ -555,10 +551,6 @@ src/models/UpdateSiteNotificationRequest.ts
555
551
  src/models/UpdateSiteRequest.ts
556
552
  src/models/UpdateSupplierRequest.ts
557
553
  src/models/UpdateTagRequest.ts
558
- src/models/WishlistCheckResource.ts
559
- src/models/WishlistCheckResourceArrayResponse.ts
560
- src/models/WishlistToggleResource.ts
561
- src/models/WishlistToggleResourceArrayResponse.ts
562
554
  src/models/index.ts
563
555
  src/runtime.ts
564
556
  tsconfig.json
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @digital8/lighting-illusions-ts-sdk@0.0.620
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.621
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -418,10 +418,6 @@ All URIs are relative to *http://localhost/api*
418
418
  - [UpdateSiteRequest](docs/UpdateSiteRequest.md)
419
419
  - [UpdateSupplierRequest](docs/UpdateSupplierRequest.md)
420
420
  - [UpdateTagRequest](docs/UpdateTagRequest.md)
421
- - [WishlistCheckResource](docs/WishlistCheckResource.md)
422
- - [WishlistCheckResourceArrayResponse](docs/WishlistCheckResourceArrayResponse.md)
423
- - [WishlistToggleResource](docs/WishlistToggleResource.md)
424
- - [WishlistToggleResourceArrayResponse](docs/WishlistToggleResourceArrayResponse.md)
425
421
 
426
422
  ### Authorization
427
423
 
@@ -435,7 +431,7 @@ and is automatically generated by the
435
431
  [OpenAPI Generator](https://openapi-generator.tech) project:
436
432
 
437
433
  - API version: `1.0.0`
438
- - Package version: `0.0.620`
434
+ - Package version: `0.0.621`
439
435
  - Generator version: `7.19.0`
440
436
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
441
437
 
@@ -258,7 +258,3 @@ export * from './UpdateSiteNotificationRequest';
258
258
  export * from './UpdateSiteRequest';
259
259
  export * from './UpdateSupplierRequest';
260
260
  export * from './UpdateTagRequest';
261
- export * from './WishlistCheckResource';
262
- export * from './WishlistCheckResourceArrayResponse';
263
- export * from './WishlistToggleResource';
264
- export * from './WishlistToggleResourceArrayResponse';
@@ -276,7 +276,3 @@ __exportStar(require("./UpdateSiteNotificationRequest"), exports);
276
276
  __exportStar(require("./UpdateSiteRequest"), exports);
277
277
  __exportStar(require("./UpdateSupplierRequest"), exports);
278
278
  __exportStar(require("./UpdateTagRequest"), exports);
279
- __exportStar(require("./WishlistCheckResource"), exports);
280
- __exportStar(require("./WishlistCheckResourceArrayResponse"), exports);
281
- __exportStar(require("./WishlistToggleResource"), exports);
282
- __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.620",
3
+ "version": "0.0.621",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -260,7 +260,3 @@ export * from './UpdateSiteNotificationRequest';
260
260
  export * from './UpdateSiteRequest';
261
261
  export * from './UpdateSupplierRequest';
262
262
  export * from './UpdateTagRequest';
263
- export * from './WishlistCheckResource';
264
- export * from './WishlistCheckResourceArrayResponse';
265
- export * from './WishlistToggleResource';
266
- export * from './WishlistToggleResourceArrayResponse';
@@ -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,38 +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 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;
@@ -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.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
- }
@@ -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 { 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;
@@ -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.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
- }
@@ -1,34 +0,0 @@
1
-
2
- # WishlistCheckResource
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `inWishlist` | boolean
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import type { WishlistCheckResource } from '@digital8/lighting-illusions-ts-sdk'
15
-
16
- // TODO: Update the object below with actual values
17
- const example = {
18
- "inWishlist": null,
19
- } satisfies WishlistCheckResource
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 WishlistCheckResource
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
-
@@ -1,34 +0,0 @@
1
-
2
- # WishlistCheckResourceArrayResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `data` | [Array&lt;WishlistCheckResource&gt;](WishlistCheckResource.md)
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import type { WishlistCheckResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
-
16
- // TODO: Update the object below with actual values
17
- const example = {
18
- "data": null,
19
- } satisfies WishlistCheckResourceArrayResponse
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 WishlistCheckResourceArrayResponse
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
-
@@ -1,36 +0,0 @@
1
-
2
- # WishlistToggleResource
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `action` | string
10
- `product` | Array&lt;number&gt;
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import type { WishlistToggleResource } from '@digital8/lighting-illusions-ts-sdk'
16
-
17
- // TODO: Update the object below with actual values
18
- const example = {
19
- "action": null,
20
- "product": null,
21
- } satisfies WishlistToggleResource
22
-
23
- console.log(example)
24
-
25
- // Convert the instance to a JSON string
26
- const exampleJSON: string = JSON.stringify(example)
27
- console.log(exampleJSON)
28
-
29
- // Parse the JSON string back to an object
30
- const exampleParsed = JSON.parse(exampleJSON) as WishlistToggleResource
31
- console.log(exampleParsed)
32
- ```
33
-
34
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
-
36
-
@@ -1,34 +0,0 @@
1
-
2
- # WishlistToggleResourceArrayResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `data` | [Array&lt;WishlistToggleResource&gt;](WishlistToggleResource.md)
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import type { WishlistToggleResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
-
16
- // TODO: Update the object below with actual values
17
- const example = {
18
- "data": null,
19
- } satisfies WishlistToggleResourceArrayResponse
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 WishlistToggleResourceArrayResponse
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
-
@@ -1,66 +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 WishlistCheckResource
20
- */
21
- export interface WishlistCheckResource {
22
- /**
23
- *
24
- * @type {boolean}
25
- * @memberof WishlistCheckResource
26
- */
27
- inWishlist: boolean;
28
- }
29
-
30
- /**
31
- * Check if a given object implements the WishlistCheckResource interface.
32
- */
33
- export function instanceOfWishlistCheckResource(value: object): value is WishlistCheckResource {
34
- if (!('inWishlist' in value) || value['inWishlist'] === undefined) return false;
35
- return true;
36
- }
37
-
38
- export function WishlistCheckResourceFromJSON(json: any): WishlistCheckResource {
39
- return WishlistCheckResourceFromJSONTyped(json, false);
40
- }
41
-
42
- export function WishlistCheckResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): WishlistCheckResource {
43
- if (json == null) {
44
- return json;
45
- }
46
- return {
47
-
48
- 'inWishlist': json['in_wishlist'],
49
- };
50
- }
51
-
52
- export function WishlistCheckResourceToJSON(json: any): WishlistCheckResource {
53
- return WishlistCheckResourceToJSONTyped(json, false);
54
- }
55
-
56
- export function WishlistCheckResourceToJSONTyped(value?: WishlistCheckResource | null, ignoreDiscriminator: boolean = false): any {
57
- if (value == null) {
58
- return value;
59
- }
60
-
61
- return {
62
-
63
- 'in_wishlist': value['inWishlist'],
64
- };
65
- }
66
-
@@ -1,73 +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
- import type { WishlistCheckResource } from './WishlistCheckResource';
17
- import {
18
- WishlistCheckResourceFromJSON,
19
- WishlistCheckResourceFromJSONTyped,
20
- WishlistCheckResourceToJSON,
21
- WishlistCheckResourceToJSONTyped,
22
- } from './WishlistCheckResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface WishlistCheckResourceArrayResponse
28
- */
29
- export interface WishlistCheckResourceArrayResponse {
30
- /**
31
- *
32
- * @type {Array<WishlistCheckResource>}
33
- * @memberof WishlistCheckResourceArrayResponse
34
- */
35
- data?: Array<WishlistCheckResource>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the WishlistCheckResourceArrayResponse interface.
40
- */
41
- export function instanceOfWishlistCheckResourceArrayResponse(value: object): value is WishlistCheckResourceArrayResponse {
42
- return true;
43
- }
44
-
45
- export function WishlistCheckResourceArrayResponseFromJSON(json: any): WishlistCheckResourceArrayResponse {
46
- return WishlistCheckResourceArrayResponseFromJSONTyped(json, false);
47
- }
48
-
49
- export function WishlistCheckResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WishlistCheckResourceArrayResponse {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(WishlistCheckResourceFromJSON)),
56
- };
57
- }
58
-
59
- export function WishlistCheckResourceArrayResponseToJSON(json: any): WishlistCheckResourceArrayResponse {
60
- return WishlistCheckResourceArrayResponseToJSONTyped(json, false);
61
- }
62
-
63
- export function WishlistCheckResourceArrayResponseToJSONTyped(value?: WishlistCheckResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
64
- if (value == null) {
65
- return value;
66
- }
67
-
68
- return {
69
-
70
- 'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(WishlistCheckResourceToJSON)),
71
- };
72
- }
73
-
@@ -1,75 +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 WishlistToggleResource
20
- */
21
- export interface WishlistToggleResource {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof WishlistToggleResource
26
- */
27
- action: string;
28
- /**
29
- *
30
- * @type {Array<number>}
31
- * @memberof WishlistToggleResource
32
- */
33
- product: Array<number>;
34
- }
35
-
36
- /**
37
- * Check if a given object implements the WishlistToggleResource interface.
38
- */
39
- export function instanceOfWishlistToggleResource(value: object): value is WishlistToggleResource {
40
- if (!('action' in value) || value['action'] === undefined) return false;
41
- if (!('product' in value) || value['product'] === undefined) return false;
42
- return true;
43
- }
44
-
45
- export function WishlistToggleResourceFromJSON(json: any): WishlistToggleResource {
46
- return WishlistToggleResourceFromJSONTyped(json, false);
47
- }
48
-
49
- export function WishlistToggleResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): WishlistToggleResource {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'action': json['action'],
56
- 'product': json['product'],
57
- };
58
- }
59
-
60
- export function WishlistToggleResourceToJSON(json: any): WishlistToggleResource {
61
- return WishlistToggleResourceToJSONTyped(json, false);
62
- }
63
-
64
- export function WishlistToggleResourceToJSONTyped(value?: WishlistToggleResource | null, ignoreDiscriminator: boolean = false): any {
65
- if (value == null) {
66
- return value;
67
- }
68
-
69
- return {
70
-
71
- 'action': value['action'],
72
- 'product': value['product'],
73
- };
74
- }
75
-
@@ -1,73 +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
- import type { WishlistToggleResource } from './WishlistToggleResource';
17
- import {
18
- WishlistToggleResourceFromJSON,
19
- WishlistToggleResourceFromJSONTyped,
20
- WishlistToggleResourceToJSON,
21
- WishlistToggleResourceToJSONTyped,
22
- } from './WishlistToggleResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface WishlistToggleResourceArrayResponse
28
- */
29
- export interface WishlistToggleResourceArrayResponse {
30
- /**
31
- *
32
- * @type {Array<WishlistToggleResource>}
33
- * @memberof WishlistToggleResourceArrayResponse
34
- */
35
- data?: Array<WishlistToggleResource>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the WishlistToggleResourceArrayResponse interface.
40
- */
41
- export function instanceOfWishlistToggleResourceArrayResponse(value: object): value is WishlistToggleResourceArrayResponse {
42
- return true;
43
- }
44
-
45
- export function WishlistToggleResourceArrayResponseFromJSON(json: any): WishlistToggleResourceArrayResponse {
46
- return WishlistToggleResourceArrayResponseFromJSONTyped(json, false);
47
- }
48
-
49
- export function WishlistToggleResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WishlistToggleResourceArrayResponse {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(WishlistToggleResourceFromJSON)),
56
- };
57
- }
58
-
59
- export function WishlistToggleResourceArrayResponseToJSON(json: any): WishlistToggleResourceArrayResponse {
60
- return WishlistToggleResourceArrayResponseToJSONTyped(json, false);
61
- }
62
-
63
- export function WishlistToggleResourceArrayResponseToJSONTyped(value?: WishlistToggleResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
64
- if (value == null) {
65
- return value;
66
- }
67
-
68
- return {
69
-
70
- 'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(WishlistToggleResourceToJSON)),
71
- };
72
- }
73
-