@digital8/lighting-illusions-ts-sdk 0.0.652 → 0.0.653
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 +8 -0
- package/README.md +6 -2
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/WishlistCheckResource.d.ts +32 -0
- package/dist/models/WishlistCheckResource.js +51 -0
- package/dist/models/WishlistCheckResourceArrayResponse.d.ts +33 -0
- package/dist/models/WishlistCheckResourceArrayResponse.js +50 -0
- package/dist/models/WishlistToggleResource.d.ts +38 -0
- package/dist/models/WishlistToggleResource.js +55 -0
- package/dist/models/WishlistToggleResourceArrayResponse.d.ts +33 -0
- package/dist/models/WishlistToggleResourceArrayResponse.js +50 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/docs/WishlistCheckResource.md +34 -0
- package/docs/WishlistCheckResourceArrayResponse.md +34 -0
- package/docs/WishlistToggleResource.md +36 -0
- package/docs/WishlistToggleResourceArrayResponse.md +34 -0
- package/package.json +1 -1
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/WishlistCheckResource.ts +66 -0
- package/src/models/WishlistCheckResourceArrayResponse.ts +73 -0
- package/src/models/WishlistToggleResource.ts +75 -0
- package/src/models/WishlistToggleResourceArrayResponse.ts +73 -0
- package/src/models/index.ts +4 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -293,6 +293,10 @@ docs/UpdateSiteNotificationRequest.md
|
|
|
293
293
|
docs/UpdateSiteRequest.md
|
|
294
294
|
docs/UpdateSupplierRequest.md
|
|
295
295
|
docs/UpdateTagRequest.md
|
|
296
|
+
docs/WishlistCheckResource.md
|
|
297
|
+
docs/WishlistCheckResourceArrayResponse.md
|
|
298
|
+
docs/WishlistToggleResource.md
|
|
299
|
+
docs/WishlistToggleResourceArrayResponse.md
|
|
296
300
|
package.json
|
|
297
301
|
src/apis/AssetApi.ts
|
|
298
302
|
src/apis/AttributeApi.ts
|
|
@@ -587,6 +591,10 @@ src/models/UpdateSiteNotificationRequest.ts
|
|
|
587
591
|
src/models/UpdateSiteRequest.ts
|
|
588
592
|
src/models/UpdateSupplierRequest.ts
|
|
589
593
|
src/models/UpdateTagRequest.ts
|
|
594
|
+
src/models/WishlistCheckResource.ts
|
|
595
|
+
src/models/WishlistCheckResourceArrayResponse.ts
|
|
596
|
+
src/models/WishlistToggleResource.ts
|
|
597
|
+
src/models/WishlistToggleResourceArrayResponse.ts
|
|
590
598
|
src/models/index.ts
|
|
591
599
|
src/runtime.ts
|
|
592
600
|
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.653
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -441,6 +441,10 @@ All URIs are relative to *http://localhost/api*
|
|
|
441
441
|
- [UpdateSiteRequest](docs/UpdateSiteRequest.md)
|
|
442
442
|
- [UpdateSupplierRequest](docs/UpdateSupplierRequest.md)
|
|
443
443
|
- [UpdateTagRequest](docs/UpdateTagRequest.md)
|
|
444
|
+
- [WishlistCheckResource](docs/WishlistCheckResource.md)
|
|
445
|
+
- [WishlistCheckResourceArrayResponse](docs/WishlistCheckResourceArrayResponse.md)
|
|
446
|
+
- [WishlistToggleResource](docs/WishlistToggleResource.md)
|
|
447
|
+
- [WishlistToggleResourceArrayResponse](docs/WishlistToggleResourceArrayResponse.md)
|
|
444
448
|
|
|
445
449
|
### Authorization
|
|
446
450
|
|
|
@@ -454,7 +458,7 @@ and is automatically generated by the
|
|
|
454
458
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
455
459
|
|
|
456
460
|
- API version: `1.0.0`
|
|
457
|
-
- Package version: `0.0.
|
|
461
|
+
- Package version: `0.0.653`
|
|
458
462
|
- Generator version: `7.19.0`
|
|
459
463
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
460
464
|
|
|
@@ -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']
|
|
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['inWishlist'],
|
|
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
|
+
'inWishlist': 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,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
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -275,3 +275,7 @@ export * from './UpdateSiteNotificationRequest';
|
|
|
275
275
|
export * from './UpdateSiteRequest';
|
|
276
276
|
export * from './UpdateSupplierRequest';
|
|
277
277
|
export * from './UpdateTagRequest';
|
|
278
|
+
export * from './WishlistCheckResource';
|
|
279
|
+
export * from './WishlistCheckResourceArrayResponse';
|
|
280
|
+
export * from './WishlistToggleResource';
|
|
281
|
+
export * from './WishlistToggleResourceArrayResponse';
|
package/dist/models/index.js
CHANGED
|
@@ -293,3 +293,7 @@ __exportStar(require("./UpdateSiteNotificationRequest"), exports);
|
|
|
293
293
|
__exportStar(require("./UpdateSiteRequest"), exports);
|
|
294
294
|
__exportStar(require("./UpdateSupplierRequest"), exports);
|
|
295
295
|
__exportStar(require("./UpdateTagRequest"), exports);
|
|
296
|
+
__exportStar(require("./WishlistCheckResource"), exports);
|
|
297
|
+
__exportStar(require("./WishlistCheckResourceArrayResponse"), exports);
|
|
298
|
+
__exportStar(require("./WishlistToggleResource"), exports);
|
|
299
|
+
__exportStar(require("./WishlistToggleResourceArrayResponse"), exports);
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
|
package/package.json
CHANGED
|
@@ -74,7 +74,7 @@ export interface ExternalApiLogResource {
|
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof ExternalApiLogResource
|
|
76
76
|
*/
|
|
77
|
-
requestPayload
|
|
77
|
+
requestPayload: string;
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
80
80
|
* @type {string}
|
|
@@ -106,6 +106,7 @@ export function instanceOfExternalApiLogResource(value: object): value is Extern
|
|
|
106
106
|
if (!('exteranlApiLoggableId' in value) || value['exteranlApiLoggableId'] === undefined) return false;
|
|
107
107
|
if (!('endpoint' in value) || value['endpoint'] === undefined) return false;
|
|
108
108
|
if (!('responseCode' in value) || value['responseCode'] === undefined) return false;
|
|
109
|
+
if (!('requestPayload' in value) || value['requestPayload'] === undefined) return false;
|
|
109
110
|
if (!('responsePayload' in value) || value['responsePayload'] === undefined) return false;
|
|
110
111
|
if (!('site' in value) || value['site'] === undefined) return false;
|
|
111
112
|
return true;
|
|
@@ -128,7 +129,7 @@ export function ExternalApiLogResourceFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
128
129
|
'exteranlApiLoggableId': json['exteranlApiLoggableId'],
|
|
129
130
|
'endpoint': json['endpoint'],
|
|
130
131
|
'responseCode': json['responseCode'],
|
|
131
|
-
'requestPayload': json['requestPayload']
|
|
132
|
+
'requestPayload': json['requestPayload'],
|
|
132
133
|
'responsePayload': json['responsePayload'],
|
|
133
134
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
134
135
|
'site': SiteLiteResourceFromJSON(json['site']),
|
|
@@ -0,0 +1,66 @@
|
|
|
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['inWishlist'],
|
|
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
|
+
'inWishlist': value['inWishlist'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
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
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -277,3 +277,7 @@ export * from './UpdateSiteNotificationRequest';
|
|
|
277
277
|
export * from './UpdateSiteRequest';
|
|
278
278
|
export * from './UpdateSupplierRequest';
|
|
279
279
|
export * from './UpdateTagRequest';
|
|
280
|
+
export * from './WishlistCheckResource';
|
|
281
|
+
export * from './WishlistCheckResourceArrayResponse';
|
|
282
|
+
export * from './WishlistToggleResource';
|
|
283
|
+
export * from './WishlistToggleResourceArrayResponse';
|