@digital8/lighting-illusions-ts-sdk 0.0.600 → 0.0.602
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/PaginatedWishlistListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedWishlistListResourceResponse.js +0 -57
- package/dist/models/PaginatedWishlistResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedWishlistResourceResponse.js +0 -57
- package/dist/models/WishlistListResource.d.ts +0 -57
- package/dist/models/WishlistListResource.js +0 -66
- package/dist/models/WishlistListResourceArrayResponse.d.ts +0 -33
- package/dist/models/WishlistListResourceArrayResponse.js +0 -50
- package/dist/models/WishlistResource.d.ts +0 -63
- package/dist/models/WishlistResource.js +0 -68
- package/dist/models/WishlistResourceArrayResponse.d.ts +0 -33
- package/dist/models/WishlistResourceArrayResponse.js +0 -50
- package/docs/PaginatedWishlistListResourceResponse.md +0 -36
- package/docs/PaginatedWishlistResourceResponse.md +0 -36
- package/docs/WishlistListResource.md +0 -42
- package/docs/WishlistListResourceArrayResponse.md +0 -34
- package/docs/WishlistResource.md +0 -44
- package/docs/WishlistResourceArrayResponse.md +0 -34
- package/src/models/PaginatedWishlistListResourceResponse.ts +0 -90
- package/src/models/PaginatedWishlistResourceResponse.ts +0 -90
- package/src/models/WishlistListResource.ts +0 -109
- package/src/models/WishlistListResourceArrayResponse.ts +0 -73
- package/src/models/WishlistResource.ts +0 -117
- package/src/models/WishlistResourceArrayResponse.ts +0 -73
package/.openapi-generator/FILES
CHANGED
|
@@ -141,8 +141,6 @@ docs/PaginatedSupplierResourceResponse.md
|
|
|
141
141
|
docs/PaginatedTagListResourceResponse.md
|
|
142
142
|
docs/PaginatedTagLiteResourceResponse.md
|
|
143
143
|
docs/PaginatedTagResourceResponse.md
|
|
144
|
-
docs/PaginatedWishlistListResourceResponse.md
|
|
145
|
-
docs/PaginatedWishlistResourceResponse.md
|
|
146
144
|
docs/PagingMetadata.md
|
|
147
145
|
docs/PreviewAutomationRulesProductCategoryRequest.md
|
|
148
146
|
docs/PreviewAutomationRulesResource.md
|
|
@@ -269,10 +267,6 @@ docs/UpdateSiteNotificationRequest.md
|
|
|
269
267
|
docs/UpdateSiteRequest.md
|
|
270
268
|
docs/UpdateSupplierRequest.md
|
|
271
269
|
docs/UpdateTagRequest.md
|
|
272
|
-
docs/WishlistListResource.md
|
|
273
|
-
docs/WishlistListResourceArrayResponse.md
|
|
274
|
-
docs/WishlistResource.md
|
|
275
|
-
docs/WishlistResourceArrayResponse.md
|
|
276
270
|
package.json
|
|
277
271
|
src/apis/AssetApi.ts
|
|
278
272
|
src/apis/AttributeApi.ts
|
|
@@ -422,8 +416,6 @@ src/models/PaginatedSupplierResourceResponse.ts
|
|
|
422
416
|
src/models/PaginatedTagListResourceResponse.ts
|
|
423
417
|
src/models/PaginatedTagLiteResourceResponse.ts
|
|
424
418
|
src/models/PaginatedTagResourceResponse.ts
|
|
425
|
-
src/models/PaginatedWishlistListResourceResponse.ts
|
|
426
|
-
src/models/PaginatedWishlistResourceResponse.ts
|
|
427
419
|
src/models/PagingMetadata.ts
|
|
428
420
|
src/models/PreviewAutomationRulesProductCategoryRequest.ts
|
|
429
421
|
src/models/PreviewAutomationRulesResource.ts
|
|
@@ -543,10 +535,6 @@ src/models/UpdateSiteNotificationRequest.ts
|
|
|
543
535
|
src/models/UpdateSiteRequest.ts
|
|
544
536
|
src/models/UpdateSupplierRequest.ts
|
|
545
537
|
src/models/UpdateTagRequest.ts
|
|
546
|
-
src/models/WishlistListResource.ts
|
|
547
|
-
src/models/WishlistListResourceArrayResponse.ts
|
|
548
|
-
src/models/WishlistResource.ts
|
|
549
|
-
src/models/WishlistResourceArrayResponse.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.602
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -291,8 +291,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
291
291
|
- [PaginatedTagListResourceResponse](docs/PaginatedTagListResourceResponse.md)
|
|
292
292
|
- [PaginatedTagLiteResourceResponse](docs/PaginatedTagLiteResourceResponse.md)
|
|
293
293
|
- [PaginatedTagResourceResponse](docs/PaginatedTagResourceResponse.md)
|
|
294
|
-
- [PaginatedWishlistListResourceResponse](docs/PaginatedWishlistListResourceResponse.md)
|
|
295
|
-
- [PaginatedWishlistResourceResponse](docs/PaginatedWishlistResourceResponse.md)
|
|
296
294
|
- [PagingMetadata](docs/PagingMetadata.md)
|
|
297
295
|
- [PreviewAutomationRulesProductCategoryRequest](docs/PreviewAutomationRulesProductCategoryRequest.md)
|
|
298
296
|
- [PreviewAutomationRulesResource](docs/PreviewAutomationRulesResource.md)
|
|
@@ -412,10 +410,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
412
410
|
- [UpdateSiteRequest](docs/UpdateSiteRequest.md)
|
|
413
411
|
- [UpdateSupplierRequest](docs/UpdateSupplierRequest.md)
|
|
414
412
|
- [UpdateTagRequest](docs/UpdateTagRequest.md)
|
|
415
|
-
- [WishlistListResource](docs/WishlistListResource.md)
|
|
416
|
-
- [WishlistListResourceArrayResponse](docs/WishlistListResourceArrayResponse.md)
|
|
417
|
-
- [WishlistResource](docs/WishlistResource.md)
|
|
418
|
-
- [WishlistResourceArrayResponse](docs/WishlistResourceArrayResponse.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.602`
|
|
433
427
|
- Generator version: `7.18.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
|
@@ -131,8 +131,6 @@ export * from './PaginatedSupplierResourceResponse';
|
|
|
131
131
|
export * from './PaginatedTagListResourceResponse';
|
|
132
132
|
export * from './PaginatedTagLiteResourceResponse';
|
|
133
133
|
export * from './PaginatedTagResourceResponse';
|
|
134
|
-
export * from './PaginatedWishlistListResourceResponse';
|
|
135
|
-
export * from './PaginatedWishlistResourceResponse';
|
|
136
134
|
export * from './PagingMetadata';
|
|
137
135
|
export * from './PreviewAutomationRulesProductCategoryRequest';
|
|
138
136
|
export * from './PreviewAutomationRulesResource';
|
|
@@ -252,7 +250,3 @@ export * from './UpdateSiteNotificationRequest';
|
|
|
252
250
|
export * from './UpdateSiteRequest';
|
|
253
251
|
export * from './UpdateSupplierRequest';
|
|
254
252
|
export * from './UpdateTagRequest';
|
|
255
|
-
export * from './WishlistListResource';
|
|
256
|
-
export * from './WishlistListResourceArrayResponse';
|
|
257
|
-
export * from './WishlistResource';
|
|
258
|
-
export * from './WishlistResourceArrayResponse';
|
package/dist/models/index.js
CHANGED
|
@@ -149,8 +149,6 @@ __exportStar(require("./PaginatedSupplierResourceResponse"), exports);
|
|
|
149
149
|
__exportStar(require("./PaginatedTagListResourceResponse"), exports);
|
|
150
150
|
__exportStar(require("./PaginatedTagLiteResourceResponse"), exports);
|
|
151
151
|
__exportStar(require("./PaginatedTagResourceResponse"), exports);
|
|
152
|
-
__exportStar(require("./PaginatedWishlistListResourceResponse"), exports);
|
|
153
|
-
__exportStar(require("./PaginatedWishlistResourceResponse"), exports);
|
|
154
152
|
__exportStar(require("./PagingMetadata"), exports);
|
|
155
153
|
__exportStar(require("./PreviewAutomationRulesProductCategoryRequest"), exports);
|
|
156
154
|
__exportStar(require("./PreviewAutomationRulesResource"), exports);
|
|
@@ -270,7 +268,3 @@ __exportStar(require("./UpdateSiteNotificationRequest"), exports);
|
|
|
270
268
|
__exportStar(require("./UpdateSiteRequest"), exports);
|
|
271
269
|
__exportStar(require("./UpdateSupplierRequest"), exports);
|
|
272
270
|
__exportStar(require("./UpdateTagRequest"), exports);
|
|
273
|
-
__exportStar(require("./WishlistListResource"), exports);
|
|
274
|
-
__exportStar(require("./WishlistListResourceArrayResponse"), exports);
|
|
275
|
-
__exportStar(require("./WishlistResource"), exports);
|
|
276
|
-
__exportStar(require("./WishlistResourceArrayResponse"), 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
|
@@ -133,8 +133,6 @@ export * from './PaginatedSupplierResourceResponse';
|
|
|
133
133
|
export * from './PaginatedTagListResourceResponse';
|
|
134
134
|
export * from './PaginatedTagLiteResourceResponse';
|
|
135
135
|
export * from './PaginatedTagResourceResponse';
|
|
136
|
-
export * from './PaginatedWishlistListResourceResponse';
|
|
137
|
-
export * from './PaginatedWishlistResourceResponse';
|
|
138
136
|
export * from './PagingMetadata';
|
|
139
137
|
export * from './PreviewAutomationRulesProductCategoryRequest';
|
|
140
138
|
export * from './PreviewAutomationRulesResource';
|
|
@@ -254,7 +252,3 @@ export * from './UpdateSiteNotificationRequest';
|
|
|
254
252
|
export * from './UpdateSiteRequest';
|
|
255
253
|
export * from './UpdateSupplierRequest';
|
|
256
254
|
export * from './UpdateTagRequest';
|
|
257
|
-
export * from './WishlistListResource';
|
|
258
|
-
export * from './WishlistListResourceArrayResponse';
|
|
259
|
-
export * from './WishlistResource';
|
|
260
|
-
export * from './WishlistResourceArrayResponse';
|
|
@@ -1,40 +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 { PagingMetadata } from './PagingMetadata';
|
|
13
|
-
import type { WishlistListResource } from './WishlistListResource';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface PaginatedWishlistListResourceResponse
|
|
18
|
-
*/
|
|
19
|
-
export interface PaginatedWishlistListResourceResponse {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {Array<WishlistListResource>}
|
|
23
|
-
* @memberof PaginatedWishlistListResourceResponse
|
|
24
|
-
*/
|
|
25
|
-
data: Array<WishlistListResource>;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {PagingMetadata}
|
|
29
|
-
* @memberof PaginatedWishlistListResourceResponse
|
|
30
|
-
*/
|
|
31
|
-
meta: PagingMetadata;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Check if a given object implements the PaginatedWishlistListResourceResponse interface.
|
|
35
|
-
*/
|
|
36
|
-
export declare function instanceOfPaginatedWishlistListResourceResponse(value: object): value is PaginatedWishlistListResourceResponse;
|
|
37
|
-
export declare function PaginatedWishlistListResourceResponseFromJSON(json: any): PaginatedWishlistListResourceResponse;
|
|
38
|
-
export declare function PaginatedWishlistListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedWishlistListResourceResponse;
|
|
39
|
-
export declare function PaginatedWishlistListResourceResponseToJSON(json: any): PaginatedWishlistListResourceResponse;
|
|
40
|
-
export declare function PaginatedWishlistListResourceResponseToJSONTyped(value?: PaginatedWishlistListResourceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,57 +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.instanceOfPaginatedWishlistListResourceResponse = instanceOfPaginatedWishlistListResourceResponse;
|
|
17
|
-
exports.PaginatedWishlistListResourceResponseFromJSON = PaginatedWishlistListResourceResponseFromJSON;
|
|
18
|
-
exports.PaginatedWishlistListResourceResponseFromJSONTyped = PaginatedWishlistListResourceResponseFromJSONTyped;
|
|
19
|
-
exports.PaginatedWishlistListResourceResponseToJSON = PaginatedWishlistListResourceResponseToJSON;
|
|
20
|
-
exports.PaginatedWishlistListResourceResponseToJSONTyped = PaginatedWishlistListResourceResponseToJSONTyped;
|
|
21
|
-
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
-
var WishlistListResource_1 = require("./WishlistListResource");
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the PaginatedWishlistListResourceResponse interface.
|
|
25
|
-
*/
|
|
26
|
-
function instanceOfPaginatedWishlistListResourceResponse(value) {
|
|
27
|
-
if (!('data' in value) || value['data'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('meta' in value) || value['meta'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
function PaginatedWishlistListResourceResponseFromJSON(json) {
|
|
34
|
-
return PaginatedWishlistListResourceResponseFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
function PaginatedWishlistListResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'data': (json['data'].map(WishlistListResource_1.WishlistListResourceFromJSON)),
|
|
42
|
-
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
function PaginatedWishlistListResourceResponseToJSON(json) {
|
|
46
|
-
return PaginatedWishlistListResourceResponseToJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
function PaginatedWishlistListResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
-
if (value == null) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'data': (value['data'].map(WishlistListResource_1.WishlistListResourceToJSON)),
|
|
55
|
-
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
@@ -1,40 +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 { PagingMetadata } from './PagingMetadata';
|
|
13
|
-
import type { WishlistResource } from './WishlistResource';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface PaginatedWishlistResourceResponse
|
|
18
|
-
*/
|
|
19
|
-
export interface PaginatedWishlistResourceResponse {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {Array<WishlistResource>}
|
|
23
|
-
* @memberof PaginatedWishlistResourceResponse
|
|
24
|
-
*/
|
|
25
|
-
data: Array<WishlistResource>;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {PagingMetadata}
|
|
29
|
-
* @memberof PaginatedWishlistResourceResponse
|
|
30
|
-
*/
|
|
31
|
-
meta: PagingMetadata;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Check if a given object implements the PaginatedWishlistResourceResponse interface.
|
|
35
|
-
*/
|
|
36
|
-
export declare function instanceOfPaginatedWishlistResourceResponse(value: object): value is PaginatedWishlistResourceResponse;
|
|
37
|
-
export declare function PaginatedWishlistResourceResponseFromJSON(json: any): PaginatedWishlistResourceResponse;
|
|
38
|
-
export declare function PaginatedWishlistResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedWishlistResourceResponse;
|
|
39
|
-
export declare function PaginatedWishlistResourceResponseToJSON(json: any): PaginatedWishlistResourceResponse;
|
|
40
|
-
export declare function PaginatedWishlistResourceResponseToJSONTyped(value?: PaginatedWishlistResourceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,57 +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.instanceOfPaginatedWishlistResourceResponse = instanceOfPaginatedWishlistResourceResponse;
|
|
17
|
-
exports.PaginatedWishlistResourceResponseFromJSON = PaginatedWishlistResourceResponseFromJSON;
|
|
18
|
-
exports.PaginatedWishlistResourceResponseFromJSONTyped = PaginatedWishlistResourceResponseFromJSONTyped;
|
|
19
|
-
exports.PaginatedWishlistResourceResponseToJSON = PaginatedWishlistResourceResponseToJSON;
|
|
20
|
-
exports.PaginatedWishlistResourceResponseToJSONTyped = PaginatedWishlistResourceResponseToJSONTyped;
|
|
21
|
-
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
-
var WishlistResource_1 = require("./WishlistResource");
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the PaginatedWishlistResourceResponse interface.
|
|
25
|
-
*/
|
|
26
|
-
function instanceOfPaginatedWishlistResourceResponse(value) {
|
|
27
|
-
if (!('data' in value) || value['data'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('meta' in value) || value['meta'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
function PaginatedWishlistResourceResponseFromJSON(json) {
|
|
34
|
-
return PaginatedWishlistResourceResponseFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
function PaginatedWishlistResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'data': (json['data'].map(WishlistResource_1.WishlistResourceFromJSON)),
|
|
42
|
-
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
function PaginatedWishlistResourceResponseToJSON(json) {
|
|
46
|
-
return PaginatedWishlistResourceResponseToJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
function PaginatedWishlistResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
-
if (value == null) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'data': (value['data'].map(WishlistResource_1.WishlistResourceToJSON)),
|
|
55
|
-
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
@@ -1,57 +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 { ProductChildLiteResource } from './ProductChildLiteResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface WishlistListResource
|
|
17
|
-
*/
|
|
18
|
-
export interface WishlistListResource {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof WishlistListResource
|
|
23
|
-
*/
|
|
24
|
-
id: number;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof WishlistListResource
|
|
29
|
-
*/
|
|
30
|
-
customerId: number;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof WishlistListResource
|
|
35
|
-
*/
|
|
36
|
-
productChildId: number;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {ProductChildLiteResource}
|
|
40
|
-
* @memberof WishlistListResource
|
|
41
|
-
*/
|
|
42
|
-
productChild: ProductChildLiteResource | null;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof WishlistListResource
|
|
47
|
-
*/
|
|
48
|
-
createdAt?: string | null;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Check if a given object implements the WishlistListResource interface.
|
|
52
|
-
*/
|
|
53
|
-
export declare function instanceOfWishlistListResource(value: object): value is WishlistListResource;
|
|
54
|
-
export declare function WishlistListResourceFromJSON(json: any): WishlistListResource;
|
|
55
|
-
export declare function WishlistListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): WishlistListResource;
|
|
56
|
-
export declare function WishlistListResourceToJSON(json: any): WishlistListResource;
|
|
57
|
-
export declare function WishlistListResourceToJSONTyped(value?: WishlistListResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,66 +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 ProductChildLiteResource_1 = require("./ProductChildLiteResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the WishlistListResource interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfWishlistListResource(value) {
|
|
26
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('customerId' in value) || value['customerId'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('productChildId' in value) || value['productChildId'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
if (!('productChild' in value) || value['productChild'] === undefined)
|
|
33
|
-
return false;
|
|
34
|
-
return true;
|
|
35
|
-
}
|
|
36
|
-
function WishlistListResourceFromJSON(json) {
|
|
37
|
-
return WishlistListResourceFromJSONTyped(json, false);
|
|
38
|
-
}
|
|
39
|
-
function WishlistListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
-
if (json == null) {
|
|
41
|
-
return json;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'id': json['id'],
|
|
45
|
-
'customerId': json['customer_id'],
|
|
46
|
-
'productChildId': json['product_child_id'],
|
|
47
|
-
'productChild': (0, ProductChildLiteResource_1.ProductChildLiteResourceFromJSON)(json['product_child']),
|
|
48
|
-
'createdAt': json['created_at'] == null ? undefined : json['created_at'],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
function WishlistListResourceToJSON(json) {
|
|
52
|
-
return WishlistListResourceToJSONTyped(json, false);
|
|
53
|
-
}
|
|
54
|
-
function WishlistListResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
55
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
56
|
-
if (value == null) {
|
|
57
|
-
return value;
|
|
58
|
-
}
|
|
59
|
-
return {
|
|
60
|
-
'id': value['id'],
|
|
61
|
-
'customer_id': value['customerId'],
|
|
62
|
-
'product_child_id': value['productChildId'],
|
|
63
|
-
'product_child': (0, ProductChildLiteResource_1.ProductChildLiteResourceToJSON)(value['productChild']),
|
|
64
|
-
'created_at': value['createdAt'],
|
|
65
|
-
};
|
|
66
|
-
}
|
|
@@ -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,63 +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 { ProductChildLiteResource } from './ProductChildLiteResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface WishlistResource
|
|
17
|
-
*/
|
|
18
|
-
export interface WishlistResource {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof WishlistResource
|
|
23
|
-
*/
|
|
24
|
-
id: number;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof WishlistResource
|
|
29
|
-
*/
|
|
30
|
-
customerId: number;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof WishlistResource
|
|
35
|
-
*/
|
|
36
|
-
productChildId: number;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {ProductChildLiteResource}
|
|
40
|
-
* @memberof WishlistResource
|
|
41
|
-
*/
|
|
42
|
-
productChild: ProductChildLiteResource | null;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof WishlistResource
|
|
47
|
-
*/
|
|
48
|
-
createdAt?: string | null;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof WishlistResource
|
|
53
|
-
*/
|
|
54
|
-
updatedAt?: string | null;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Check if a given object implements the WishlistResource interface.
|
|
58
|
-
*/
|
|
59
|
-
export declare function instanceOfWishlistResource(value: object): value is WishlistResource;
|
|
60
|
-
export declare function WishlistResourceFromJSON(json: any): WishlistResource;
|
|
61
|
-
export declare function WishlistResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): WishlistResource;
|
|
62
|
-
export declare function WishlistResourceToJSON(json: any): WishlistResource;
|
|
63
|
-
export declare function WishlistResourceToJSONTyped(value?: WishlistResource | null, ignoreDiscriminator?: boolean): any;
|