@digital8/lighting-illusions-ts-sdk 0.0.374 → 0.0.376
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 +10 -6
- package/README.md +7 -5
- package/dist/apis/ProductApi.d.ts +3 -3
- package/dist/apis/ProductApi.js +1 -1
- package/dist/models/AssetResource.d.ts +12 -0
- package/dist/models/AssetResource.js +8 -0
- package/dist/models/GetAllProductChildRequest.d.ts +19 -11
- package/dist/models/GetAllProductChildRequest.js +11 -11
- package/dist/models/PaginatedProductChildSiteDetailsListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductChildSiteDetailsListResourceResponse.js +57 -0
- package/dist/models/ProductChildResource.d.ts +3 -2
- package/dist/models/ProductChildResource.js +3 -2
- package/dist/models/ProductChildSiteDetailResource.d.ts +88 -0
- package/dist/models/ProductChildSiteDetailResource.js +89 -0
- package/dist/models/ProductChildSiteDetailResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductChildSiteDetailResourceArrayResponse.js +50 -0
- package/dist/models/ProductChildSiteDetailsListResource.d.ts +100 -0
- package/dist/models/ProductChildSiteDetailsListResource.js +97 -0
- package/dist/models/ProductChildSiteDetailsListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductChildSiteDetailsListResourceArrayResponse.js +50 -0
- package/dist/models/index.d.ts +5 -3
- package/dist/models/index.js +5 -3
- package/docs/AssetResource.md +4 -0
- package/docs/GetAllProductChildRequest.md +4 -0
- package/docs/{PaginatedProductChildLiteResourceResponse.md → PaginatedProductChildSiteDetailsListResourceResponse.md} +5 -5
- package/docs/ProductApi.md +2 -2
- package/docs/ProductChildResource.md +1 -1
- package/docs/ProductChildSiteDetailResource.md +52 -0
- package/docs/{ProductChildLiteResourceArrayResponse.md → ProductChildSiteDetailResourceArrayResponse.md} +5 -5
- package/docs/{ProductChildLiteResource.md → ProductChildSiteDetailsListResource.md} +16 -4
- package/docs/ProductChildSiteDetailsListResourceArrayResponse.md +34 -0
- package/package.json +1 -1
- package/src/apis/ProductApi.ts +6 -6
- package/src/models/AssetResource.ts +18 -0
- package/src/models/GetAllProductChildRequest.ts +23 -11
- package/src/models/PaginatedProductChildSiteDetailsListResourceResponse.ts +90 -0
- package/src/models/ProductChildResource.ts +11 -4
- package/src/models/ProductChildSiteDetailResource.ts +162 -0
- package/src/models/ProductChildSiteDetailResourceArrayResponse.ts +73 -0
- package/src/models/ProductChildSiteDetailsListResource.ts +180 -0
- package/src/models/ProductChildSiteDetailsListResourceArrayResponse.ts +73 -0
- package/src/models/index.ts +5 -3
- package/dist/models/PaginatedProductChildLiteResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductChildLiteResourceResponse.js +0 -57
- package/dist/models/ProductChildLiteResource.d.ts +0 -63
- package/dist/models/ProductChildLiteResource.js +0 -72
- package/dist/models/ProductChildLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductChildLiteResourceArrayResponse.js +0 -50
- package/src/models/PaginatedProductChildLiteResourceResponse.ts +0 -90
- package/src/models/ProductChildLiteResource.ts +0 -119
- package/src/models/ProductChildLiteResourceArrayResponse.ts +0 -73
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { PagingMetadata } from './PagingMetadata';
|
|
17
|
-
import {
|
|
18
|
-
PagingMetadataFromJSON,
|
|
19
|
-
PagingMetadataFromJSONTyped,
|
|
20
|
-
PagingMetadataToJSON,
|
|
21
|
-
PagingMetadataToJSONTyped,
|
|
22
|
-
} from './PagingMetadata';
|
|
23
|
-
import type { ProductChildLiteResource } from './ProductChildLiteResource';
|
|
24
|
-
import {
|
|
25
|
-
ProductChildLiteResourceFromJSON,
|
|
26
|
-
ProductChildLiteResourceFromJSONTyped,
|
|
27
|
-
ProductChildLiteResourceToJSON,
|
|
28
|
-
ProductChildLiteResourceToJSONTyped,
|
|
29
|
-
} from './ProductChildLiteResource';
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @export
|
|
34
|
-
* @interface PaginatedProductChildLiteResourceResponse
|
|
35
|
-
*/
|
|
36
|
-
export interface PaginatedProductChildLiteResourceResponse {
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {Array<ProductChildLiteResource>}
|
|
40
|
-
* @memberof PaginatedProductChildLiteResourceResponse
|
|
41
|
-
*/
|
|
42
|
-
data: Array<ProductChildLiteResource>;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {PagingMetadata}
|
|
46
|
-
* @memberof PaginatedProductChildLiteResourceResponse
|
|
47
|
-
*/
|
|
48
|
-
meta: PagingMetadata;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Check if a given object implements the PaginatedProductChildLiteResourceResponse interface.
|
|
53
|
-
*/
|
|
54
|
-
export function instanceOfPaginatedProductChildLiteResourceResponse(value: object): value is PaginatedProductChildLiteResourceResponse {
|
|
55
|
-
if (!('data' in value) || value['data'] === undefined) return false;
|
|
56
|
-
if (!('meta' in value) || value['meta'] === undefined) return false;
|
|
57
|
-
return true;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function PaginatedProductChildLiteResourceResponseFromJSON(json: any): PaginatedProductChildLiteResourceResponse {
|
|
61
|
-
return PaginatedProductChildLiteResourceResponseFromJSONTyped(json, false);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function PaginatedProductChildLiteResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedProductChildLiteResourceResponse {
|
|
65
|
-
if (json == null) {
|
|
66
|
-
return json;
|
|
67
|
-
}
|
|
68
|
-
return {
|
|
69
|
-
|
|
70
|
-
'data': ((json['data'] as Array<any>).map(ProductChildLiteResourceFromJSON)),
|
|
71
|
-
'meta': PagingMetadataFromJSON(json['meta']),
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export function PaginatedProductChildLiteResourceResponseToJSON(json: any): PaginatedProductChildLiteResourceResponse {
|
|
76
|
-
return PaginatedProductChildLiteResourceResponseToJSONTyped(json, false);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
export function PaginatedProductChildLiteResourceResponseToJSONTyped(value?: PaginatedProductChildLiteResourceResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
80
|
-
if (value == null) {
|
|
81
|
-
return value;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
return {
|
|
85
|
-
|
|
86
|
-
'data': ((value['data'] as Array<any>).map(ProductChildLiteResourceToJSON)),
|
|
87
|
-
'meta': PagingMetadataToJSON(value['meta']),
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { AssetResource } from './AssetResource';
|
|
17
|
-
import {
|
|
18
|
-
AssetResourceFromJSON,
|
|
19
|
-
AssetResourceFromJSONTyped,
|
|
20
|
-
AssetResourceToJSON,
|
|
21
|
-
AssetResourceToJSONTyped,
|
|
22
|
-
} from './AssetResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface ProductChildLiteResource
|
|
28
|
-
*/
|
|
29
|
-
export interface ProductChildLiteResource {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof ProductChildLiteResource
|
|
34
|
-
*/
|
|
35
|
-
id: number;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof ProductChildLiteResource
|
|
40
|
-
*/
|
|
41
|
-
name: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof ProductChildLiteResource
|
|
46
|
-
*/
|
|
47
|
-
modelNumber: string;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof ProductChildLiteResource
|
|
52
|
-
*/
|
|
53
|
-
sku: number;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {number}
|
|
57
|
-
* @memberof ProductChildLiteResource
|
|
58
|
-
*/
|
|
59
|
-
netsuiteId: number;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {AssetResource}
|
|
63
|
-
* @memberof ProductChildLiteResource
|
|
64
|
-
*/
|
|
65
|
-
thumbnail: AssetResource | null;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* Check if a given object implements the ProductChildLiteResource interface.
|
|
70
|
-
*/
|
|
71
|
-
export function instanceOfProductChildLiteResource(value: object): value is ProductChildLiteResource {
|
|
72
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
73
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
74
|
-
if (!('modelNumber' in value) || value['modelNumber'] === undefined) return false;
|
|
75
|
-
if (!('sku' in value) || value['sku'] === undefined) return false;
|
|
76
|
-
if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
|
|
77
|
-
if (!('thumbnail' in value) || value['thumbnail'] === undefined) return false;
|
|
78
|
-
return true;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
export function ProductChildLiteResourceFromJSON(json: any): ProductChildLiteResource {
|
|
82
|
-
return ProductChildLiteResourceFromJSONTyped(json, false);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
export function ProductChildLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductChildLiteResource {
|
|
86
|
-
if (json == null) {
|
|
87
|
-
return json;
|
|
88
|
-
}
|
|
89
|
-
return {
|
|
90
|
-
|
|
91
|
-
'id': json['id'],
|
|
92
|
-
'name': json['name'],
|
|
93
|
-
'modelNumber': json['modelNumber'],
|
|
94
|
-
'sku': json['sku'],
|
|
95
|
-
'netsuiteId': json['netsuiteId'],
|
|
96
|
-
'thumbnail': AssetResourceFromJSON(json['thumbnail']),
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
export function ProductChildLiteResourceToJSON(json: any): ProductChildLiteResource {
|
|
101
|
-
return ProductChildLiteResourceToJSONTyped(json, false);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
export function ProductChildLiteResourceToJSONTyped(value?: ProductChildLiteResource | null, ignoreDiscriminator: boolean = false): any {
|
|
105
|
-
if (value == null) {
|
|
106
|
-
return value;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
return {
|
|
110
|
-
|
|
111
|
-
'id': value['id'],
|
|
112
|
-
'name': value['name'],
|
|
113
|
-
'modelNumber': value['modelNumber'],
|
|
114
|
-
'sku': value['sku'],
|
|
115
|
-
'netsuiteId': value['netsuiteId'],
|
|
116
|
-
'thumbnail': AssetResourceToJSON(value['thumbnail']),
|
|
117
|
-
};
|
|
118
|
-
}
|
|
119
|
-
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { ProductChildLiteResource } from './ProductChildLiteResource';
|
|
17
|
-
import {
|
|
18
|
-
ProductChildLiteResourceFromJSON,
|
|
19
|
-
ProductChildLiteResourceFromJSONTyped,
|
|
20
|
-
ProductChildLiteResourceToJSON,
|
|
21
|
-
ProductChildLiteResourceToJSONTyped,
|
|
22
|
-
} from './ProductChildLiteResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface ProductChildLiteResourceArrayResponse
|
|
28
|
-
*/
|
|
29
|
-
export interface ProductChildLiteResourceArrayResponse {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<ProductChildLiteResource>}
|
|
33
|
-
* @memberof ProductChildLiteResourceArrayResponse
|
|
34
|
-
*/
|
|
35
|
-
data?: Array<ProductChildLiteResource>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the ProductChildLiteResourceArrayResponse interface.
|
|
40
|
-
*/
|
|
41
|
-
export function instanceOfProductChildLiteResourceArrayResponse(value: object): value is ProductChildLiteResourceArrayResponse {
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function ProductChildLiteResourceArrayResponseFromJSON(json: any): ProductChildLiteResourceArrayResponse {
|
|
46
|
-
return ProductChildLiteResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function ProductChildLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductChildLiteResourceArrayResponse {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(ProductChildLiteResourceFromJSON)),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function ProductChildLiteResourceArrayResponseToJSON(json: any): ProductChildLiteResourceArrayResponse {
|
|
60
|
-
return ProductChildLiteResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function ProductChildLiteResourceArrayResponseToJSONTyped(value?: ProductChildLiteResourceArrayResponse | 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(ProductChildLiteResourceToJSON)),
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|