@digital8/lighting-illusions-ts-sdk 0.0.608 → 0.0.609
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/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/index.d.ts +0 -6
- package/dist/models/index.js +0 -6
- package/package.json +1 -1
- package/src/models/ExternalApiLogResource.ts +2 -3
- 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.609
|
|
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.609`
|
|
433
427
|
- Generator version: `7.19.0`
|
|
434
428
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
435
429
|
|
|
@@ -37,8 +37,6 @@ 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;
|
|
42
40
|
if (!('responsePayload' in value) || value['responsePayload'] === undefined)
|
|
43
41
|
return false;
|
|
44
42
|
if (!('site' in value) || value['site'] === undefined)
|
|
@@ -60,7 +58,7 @@ function ExternalApiLogResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
58
|
'exteranlApiLoggableId': json['exteranlApiLoggableId'],
|
|
61
59
|
'endpoint': json['endpoint'],
|
|
62
60
|
'responseCode': json['responseCode'],
|
|
63
|
-
'requestPayload': json['requestPayload'],
|
|
61
|
+
'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
|
|
64
62
|
'responsePayload': json['responsePayload'],
|
|
65
63
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
66
64
|
'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
|
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
|
@@ -74,7 +74,7 @@ export interface ExternalApiLogResource {
|
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof ExternalApiLogResource
|
|
76
76
|
*/
|
|
77
|
-
requestPayload
|
|
77
|
+
requestPayload?: string | null;
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
80
80
|
* @type {string}
|
|
@@ -106,7 +106,6 @@ 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;
|
|
110
109
|
if (!('responsePayload' in value) || value['responsePayload'] === undefined) return false;
|
|
111
110
|
if (!('site' in value) || value['site'] === undefined) return false;
|
|
112
111
|
return true;
|
|
@@ -129,7 +128,7 @@ export function ExternalApiLogResourceFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
129
128
|
'exteranlApiLoggableId': json['exteranlApiLoggableId'],
|
|
130
129
|
'endpoint': json['endpoint'],
|
|
131
130
|
'responseCode': json['responseCode'],
|
|
132
|
-
'requestPayload': json['requestPayload'],
|
|
131
|
+
'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
|
|
133
132
|
'responsePayload': json['responsePayload'],
|
|
134
133
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
135
134
|
'site': SiteLiteResourceFromJSON(json['site']),
|
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;
|