@digital8/lighting-illusions-ts-sdk 0.0.608 → 0.0.610
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.
- package/.openapi-generator/FILES +0 -12
- package/README.md +2 -8
- package/dist/models/index.d.ts +0 -6
- package/dist/models/index.js +0 -6
- package/package.json +1 -1
- package/src/models/index.ts +0 -6
- package/dist/models/WishlistCheckResource.d.ts +0 -32
- package/dist/models/WishlistCheckResource.js +0 -51
- package/dist/models/WishlistCheckResourceArrayResponse.d.ts +0 -33
- package/dist/models/WishlistCheckResourceArrayResponse.js +0 -50
- package/dist/models/WishlistListResource.d.ts +0 -45
- package/dist/models/WishlistListResource.js +0 -60
- package/dist/models/WishlistListResourceArrayResponse.d.ts +0 -33
- package/dist/models/WishlistListResourceArrayResponse.js +0 -50
- package/dist/models/WishlistToggleResource.d.ts +0 -38
- package/dist/models/WishlistToggleResource.js +0 -55
- package/dist/models/WishlistToggleResourceArrayResponse.d.ts +0 -33
- package/dist/models/WishlistToggleResourceArrayResponse.js +0 -50
- package/docs/WishlistCheckResource.md +0 -34
- package/docs/WishlistCheckResourceArrayResponse.md +0 -34
- package/docs/WishlistListResource.md +0 -38
- package/docs/WishlistListResourceArrayResponse.md +0 -34
- package/docs/WishlistToggleResource.md +0 -36
- package/docs/WishlistToggleResourceArrayResponse.md +0 -34
- package/src/models/WishlistCheckResource.ts +0 -66
- package/src/models/WishlistCheckResourceArrayResponse.ts +0 -73
- package/src/models/WishlistListResource.ts +0 -92
- package/src/models/WishlistListResourceArrayResponse.ts +0 -73
- package/src/models/WishlistToggleResource.ts +0 -75
- package/src/models/WishlistToggleResourceArrayResponse.ts +0 -73
package/.openapi-generator/FILES
CHANGED
|
@@ -267,12 +267,6 @@ 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
|
|
276
270
|
package.json
|
|
277
271
|
src/apis/AssetApi.ts
|
|
278
272
|
src/apis/AttributeApi.ts
|
|
@@ -541,12 +535,6 @@ src/models/UpdateSiteNotificationRequest.ts
|
|
|
541
535
|
src/models/UpdateSiteRequest.ts
|
|
542
536
|
src/models/UpdateSupplierRequest.ts
|
|
543
537
|
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
|
|
550
538
|
src/models/index.ts
|
|
551
539
|
src/runtime.ts
|
|
552
540
|
tsconfig.json
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @digital8/lighting-illusions-ts-sdk@0.0.
|
|
1
|
+
# @digital8/lighting-illusions-ts-sdk@0.0.610
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -410,12 +410,6 @@ 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)
|
|
419
413
|
|
|
420
414
|
### Authorization
|
|
421
415
|
|
|
@@ -429,7 +423,7 @@ and is automatically generated by the
|
|
|
429
423
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
430
424
|
|
|
431
425
|
- API version: `1.0.0`
|
|
432
|
-
- Package version: `0.0.
|
|
426
|
+
- Package version: `0.0.610`
|
|
433
427
|
- Generator version: `7.19.0`
|
|
434
428
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
435
429
|
|
package/dist/models/index.d.ts
CHANGED
|
@@ -250,9 +250,3 @@ 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';
|
package/dist/models/index.js
CHANGED
|
@@ -268,9 +268,3 @@ __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);
|
package/package.json
CHANGED
package/src/models/index.ts
CHANGED
|
@@ -252,9 +252,3 @@ export * from './UpdateSiteNotificationRequest';
|
|
|
252
252
|
export * from './UpdateSiteRequest';
|
|
253
253
|
export * from './UpdateSupplierRequest';
|
|
254
254
|
export * from './UpdateTagRequest';
|
|
255
|
-
export * from './WishlistCheckResource';
|
|
256
|
-
export * from './WishlistCheckResourceArrayResponse';
|
|
257
|
-
export * from './WishlistListResource';
|
|
258
|
-
export * from './WishlistListResourceArrayResponse';
|
|
259
|
-
export * from './WishlistToggleResource';
|
|
260
|
-
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,45 +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 { 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;
|
|
@@ -1,60 +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.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
|
-
}
|
|
@@ -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 { 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;
|
|
@@ -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.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
|
-
}
|
|
@@ -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<WishlistCheckResource>](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,38 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# WishlistListResource
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`data` | [Array<ProductSearchResultResource>](ProductSearchResultResource.md)
|
|
10
|
-
`meta` | Array<number>
|
|
11
|
-
`ids` | Array<number>
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import type { WishlistListResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
17
|
-
|
|
18
|
-
// TODO: Update the object below with actual values
|
|
19
|
-
const example = {
|
|
20
|
-
"data": null,
|
|
21
|
-
"meta": null,
|
|
22
|
-
"ids": null,
|
|
23
|
-
} satisfies WishlistListResource
|
|
24
|
-
|
|
25
|
-
console.log(example)
|
|
26
|
-
|
|
27
|
-
// Convert the instance to a JSON string
|
|
28
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
29
|
-
console.log(exampleJSON)
|
|
30
|
-
|
|
31
|
-
// Parse the JSON string back to an object
|
|
32
|
-
const exampleParsed = JSON.parse(exampleJSON) as WishlistListResource
|
|
33
|
-
console.log(exampleParsed)
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
37
|
-
|
|
38
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# WishlistListResourceArrayResponse
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`data` | [Array<WishlistListResource>](WishlistListResource.md)
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { WishlistListResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
"data": null,
|
|
19
|
-
} satisfies WishlistListResourceArrayResponse
|
|
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 WishlistListResourceArrayResponse
|
|
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<number>
|
|
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<WishlistToggleResource>](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,92 +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 { ProductSearchResultResource } from './ProductSearchResultResource';
|
|
17
|
-
import {
|
|
18
|
-
ProductSearchResultResourceFromJSON,
|
|
19
|
-
ProductSearchResultResourceFromJSONTyped,
|
|
20
|
-
ProductSearchResultResourceToJSON,
|
|
21
|
-
ProductSearchResultResourceToJSONTyped,
|
|
22
|
-
} from './ProductSearchResultResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface WishlistListResource
|
|
28
|
-
*/
|
|
29
|
-
export interface WishlistListResource {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<ProductSearchResultResource>}
|
|
33
|
-
* @memberof WishlistListResource
|
|
34
|
-
*/
|
|
35
|
-
data: Array<ProductSearchResultResource> | null;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {Array<number>}
|
|
39
|
-
* @memberof WishlistListResource
|
|
40
|
-
*/
|
|
41
|
-
meta: Array<number>;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {Array<number>}
|
|
45
|
-
* @memberof WishlistListResource
|
|
46
|
-
*/
|
|
47
|
-
ids: Array<number>;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* Check if a given object implements the WishlistListResource interface.
|
|
52
|
-
*/
|
|
53
|
-
export function instanceOfWishlistListResource(value: object): value is WishlistListResource {
|
|
54
|
-
if (!('data' in value) || value['data'] === undefined) return false;
|
|
55
|
-
if (!('meta' in value) || value['meta'] === undefined) return false;
|
|
56
|
-
if (!('ids' in value) || value['ids'] === undefined) return false;
|
|
57
|
-
return true;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function WishlistListResourceFromJSON(json: any): WishlistListResource {
|
|
61
|
-
return WishlistListResourceFromJSONTyped(json, false);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function WishlistListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): WishlistListResource {
|
|
65
|
-
if (json == null) {
|
|
66
|
-
return json;
|
|
67
|
-
}
|
|
68
|
-
return {
|
|
69
|
-
|
|
70
|
-
'data': (json['data'] == null ? null : (json['data'] as Array<any>).map(ProductSearchResultResourceFromJSON)),
|
|
71
|
-
'meta': json['meta'],
|
|
72
|
-
'ids': json['ids'],
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export function WishlistListResourceToJSON(json: any): WishlistListResource {
|
|
77
|
-
return WishlistListResourceToJSONTyped(json, false);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export function WishlistListResourceToJSONTyped(value?: WishlistListResource | null, ignoreDiscriminator: boolean = false): any {
|
|
81
|
-
if (value == null) {
|
|
82
|
-
return value;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
return {
|
|
86
|
-
|
|
87
|
-
'data': (value['data'] == null ? null : (value['data'] as Array<any>).map(ProductSearchResultResourceToJSON)),
|
|
88
|
-
'meta': value['meta'],
|
|
89
|
-
'ids': value['ids'],
|
|
90
|
-
};
|
|
91
|
-
}
|
|
92
|
-
|
|
@@ -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 { WishlistListResource } from './WishlistListResource';
|
|
17
|
-
import {
|
|
18
|
-
WishlistListResourceFromJSON,
|
|
19
|
-
WishlistListResourceFromJSONTyped,
|
|
20
|
-
WishlistListResourceToJSON,
|
|
21
|
-
WishlistListResourceToJSONTyped,
|
|
22
|
-
} from './WishlistListResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface WishlistListResourceArrayResponse
|
|
28
|
-
*/
|
|
29
|
-
export interface WishlistListResourceArrayResponse {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<WishlistListResource>}
|
|
33
|
-
* @memberof WishlistListResourceArrayResponse
|
|
34
|
-
*/
|
|
35
|
-
data?: Array<WishlistListResource>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the WishlistListResourceArrayResponse interface.
|
|
40
|
-
*/
|
|
41
|
-
export function instanceOfWishlistListResourceArrayResponse(value: object): value is WishlistListResourceArrayResponse {
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function WishlistListResourceArrayResponseFromJSON(json: any): WishlistListResourceArrayResponse {
|
|
46
|
-
return WishlistListResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function WishlistListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WishlistListResourceArrayResponse {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(WishlistListResourceFromJSON)),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function WishlistListResourceArrayResponseToJSON(json: any): WishlistListResourceArrayResponse {
|
|
60
|
-
return WishlistListResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function WishlistListResourceArrayResponseToJSONTyped(value?: WishlistListResourceArrayResponse | 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(WishlistListResourceToJSON)),
|
|
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
|
-
|