@digital8/lighting-illusions-ts-sdk 0.0.448 → 0.0.449
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 -30
- package/README.md +2 -22
- package/dist/apis/AttributeApi.d.ts +3 -14
- package/dist/apis/AttributeApi.js +1 -46
- package/dist/apis/ProductTypeApi.d.ts +3 -14
- package/dist/apis/ProductTypeApi.js +1 -46
- package/dist/apis/SiteApi.d.ts +3 -14
- package/dist/apis/SiteApi.js +1 -46
- package/dist/apis/SupplierApi.d.ts +3 -14
- package/dist/apis/SupplierApi.js +1 -46
- package/dist/apis/TagApi.d.ts +3 -14
- package/dist/apis/TagApi.js +1 -46
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/GetAllAttributeRequest.d.ts +9 -9
- package/dist/models/GetAllAttributeRequest.js +4 -4
- package/dist/models/GetAllOverlayTemplateRequest.d.ts +6 -6
- package/dist/models/GetAllOverlayTemplateRequest.js +2 -2
- package/dist/models/GetAllProductRequest.d.ts +0 -30
- package/dist/models/GetAllProductRequest.js +0 -10
- package/dist/models/IndexAttributeRequest.d.ts +0 -19
- package/dist/models/IndexAttributeRequest.js +1 -11
- package/dist/models/IndexExternalApiLogRequest.d.ts +3 -15
- package/dist/models/IndexExternalApiLogRequest.js +4 -8
- package/dist/models/IndexOverlayTemplateRequest.d.ts +0 -12
- package/dist/models/IndexOverlayTemplateRequest.js +0 -4
- package/dist/models/IndexProductTypeRequest.d.ts +0 -19
- package/dist/models/IndexProductTypeRequest.js +1 -11
- package/dist/models/IndexSiteNotificationRequest.d.ts +0 -12
- package/dist/models/IndexSiteNotificationRequest.js +0 -4
- package/dist/models/IndexSiteRequest.d.ts +0 -12
- package/dist/models/IndexSiteRequest.js +0 -4
- package/dist/models/IndexSupplierRequest.d.ts +0 -19
- package/dist/models/IndexSupplierRequest.js +1 -11
- package/dist/models/IndexTagRequest.d.ts +0 -19
- package/dist/models/IndexTagRequest.js +1 -11
- package/dist/models/index.d.ts +0 -15
- package/dist/models/index.js +0 -15
- package/docs/AttributeApi.md +3 -69
- package/docs/GetAllAttributeRequest.md +4 -4
- package/docs/GetAllOverlayTemplateRequest.md +2 -2
- package/docs/GetAllProductRequest.md +0 -10
- package/docs/IndexAttributeRequest.md +0 -4
- package/docs/IndexExternalApiLogRequest.md +4 -8
- package/docs/IndexOverlayTemplateRequest.md +0 -4
- package/docs/IndexProductTypeRequest.md +0 -4
- package/docs/IndexSiteNotificationRequest.md +0 -4
- package/docs/IndexSiteRequest.md +0 -4
- package/docs/IndexSupplierRequest.md +0 -4
- package/docs/IndexTagRequest.md +0 -4
- package/docs/ProductTypeApi.md +3 -69
- package/docs/SiteApi.md +3 -69
- package/docs/SupplierApi.md +3 -69
- package/docs/TagApi.md +3 -69
- package/package.json +1 -1
- package/src/apis/AttributeApi.ts +6 -42
- package/src/apis/ProductTypeApi.ts +6 -42
- package/src/apis/SiteApi.ts +6 -42
- package/src/apis/SupplierApi.ts +6 -42
- package/src/apis/TagApi.ts +6 -42
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/GetAllAttributeRequest.ts +13 -13
- package/src/models/GetAllOverlayTemplateRequest.ts +8 -8
- package/src/models/GetAllProductRequest.ts +0 -40
- package/src/models/IndexAttributeRequest.ts +0 -24
- package/src/models/IndexExternalApiLogRequest.ts +7 -23
- package/src/models/IndexOverlayTemplateRequest.ts +0 -16
- package/src/models/IndexProductTypeRequest.ts +0 -24
- package/src/models/IndexSiteNotificationRequest.ts +0 -16
- package/src/models/IndexSiteRequest.ts +0 -16
- package/src/models/IndexSupplierRequest.ts +0 -24
- package/src/models/IndexTagRequest.ts +0 -24
- package/src/models/index.ts +0 -15
- package/dist/models/AttributeListResource.d.ts +0 -56
- package/dist/models/AttributeListResource.js +0 -67
- package/dist/models/AttributeListResourceArrayResponse.d.ts +0 -33
- package/dist/models/AttributeListResourceArrayResponse.js +0 -50
- package/dist/models/PaginatedAttributeListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedAttributeListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductTypeListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductTypeListResourceResponse.js +0 -57
- package/dist/models/PaginatedSiteListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedSiteListResourceResponse.js +0 -57
- package/dist/models/PaginatedSupplierListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedSupplierListResourceResponse.js +0 -57
- package/dist/models/PaginatedTagListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedTagListResourceResponse.js +0 -57
- package/dist/models/ProductTypeListResource.d.ts +0 -38
- package/dist/models/ProductTypeListResource.js +0 -55
- package/dist/models/ProductTypeListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductTypeListResourceArrayResponse.js +0 -50
- package/dist/models/SiteListResource.d.ts +0 -50
- package/dist/models/SiteListResource.js +0 -63
- package/dist/models/SiteListResourceArrayResponse.d.ts +0 -33
- package/dist/models/SiteListResourceArrayResponse.js +0 -50
- package/dist/models/SupplierListResource.d.ts +0 -57
- package/dist/models/SupplierListResource.js +0 -68
- package/dist/models/SupplierListResourceArrayResponse.d.ts +0 -33
- package/dist/models/SupplierListResourceArrayResponse.js +0 -50
- package/dist/models/TagListResource.d.ts +0 -57
- package/dist/models/TagListResource.js +0 -68
- package/dist/models/TagListResourceArrayResponse.d.ts +0 -33
- package/dist/models/TagListResourceArrayResponse.js +0 -50
- package/docs/AttributeListResource.md +0 -42
- package/docs/AttributeListResourceArrayResponse.md +0 -34
- package/docs/PaginatedAttributeListResourceResponse.md +0 -36
- package/docs/PaginatedProductTypeListResourceResponse.md +0 -36
- package/docs/PaginatedSiteListResourceResponse.md +0 -36
- package/docs/PaginatedSupplierListResourceResponse.md +0 -36
- package/docs/PaginatedTagListResourceResponse.md +0 -36
- package/docs/ProductTypeListResource.md +0 -36
- package/docs/ProductTypeListResourceArrayResponse.md +0 -34
- package/docs/SiteListResource.md +0 -40
- package/docs/SiteListResourceArrayResponse.md +0 -34
- package/docs/SupplierListResource.md +0 -42
- package/docs/SupplierListResourceArrayResponse.md +0 -34
- package/docs/TagListResource.md +0 -42
- package/docs/TagListResourceArrayResponse.md +0 -34
- package/src/models/AttributeListResource.ts +0 -102
- package/src/models/AttributeListResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedAttributeListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductTypeListResourceResponse.ts +0 -90
- package/src/models/PaginatedSiteListResourceResponse.ts +0 -90
- package/src/models/PaginatedSupplierListResourceResponse.ts +0 -90
- package/src/models/PaginatedTagListResourceResponse.ts +0 -90
- package/src/models/ProductTypeListResource.ts +0 -75
- package/src/models/ProductTypeListResourceArrayResponse.ts +0 -73
- package/src/models/SiteListResource.ts +0 -93
- package/src/models/SiteListResourceArrayResponse.ts +0 -73
- package/src/models/SupplierListResource.ts +0 -110
- package/src/models/SupplierListResourceArrayResponse.ts +0 -73
- package/src/models/TagListResource.ts +0 -110
- package/src/models/TagListResourceArrayResponse.ts +0 -73
|
@@ -1,110 +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 { AssetLiteResource } from './AssetLiteResource';
|
|
17
|
-
import {
|
|
18
|
-
AssetLiteResourceFromJSON,
|
|
19
|
-
AssetLiteResourceFromJSONTyped,
|
|
20
|
-
AssetLiteResourceToJSON,
|
|
21
|
-
AssetLiteResourceToJSONTyped,
|
|
22
|
-
} from './AssetLiteResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface SupplierListResource
|
|
28
|
-
*/
|
|
29
|
-
export interface SupplierListResource {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof SupplierListResource
|
|
34
|
-
*/
|
|
35
|
-
id: number;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof SupplierListResource
|
|
40
|
-
*/
|
|
41
|
-
name: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof SupplierListResource
|
|
46
|
-
*/
|
|
47
|
-
slug: string;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {AssetLiteResource}
|
|
51
|
-
* @memberof SupplierListResource
|
|
52
|
-
*/
|
|
53
|
-
thumbnail: AssetLiteResource | null;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {number}
|
|
57
|
-
* @memberof SupplierListResource
|
|
58
|
-
*/
|
|
59
|
-
supplierEta: number;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* Check if a given object implements the SupplierListResource interface.
|
|
64
|
-
*/
|
|
65
|
-
export function instanceOfSupplierListResource(value: object): value is SupplierListResource {
|
|
66
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
67
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
68
|
-
if (!('slug' in value) || value['slug'] === undefined) return false;
|
|
69
|
-
if (!('thumbnail' in value) || value['thumbnail'] === undefined) return false;
|
|
70
|
-
if (!('supplierEta' in value) || value['supplierEta'] === undefined) return false;
|
|
71
|
-
return true;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export function SupplierListResourceFromJSON(json: any): SupplierListResource {
|
|
75
|
-
return SupplierListResourceFromJSONTyped(json, false);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
export function SupplierListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupplierListResource {
|
|
79
|
-
if (json == null) {
|
|
80
|
-
return json;
|
|
81
|
-
}
|
|
82
|
-
return {
|
|
83
|
-
|
|
84
|
-
'id': json['id'],
|
|
85
|
-
'name': json['name'],
|
|
86
|
-
'slug': json['slug'],
|
|
87
|
-
'thumbnail': AssetLiteResourceFromJSON(json['thumbnail']),
|
|
88
|
-
'supplierEta': json['supplierEta'],
|
|
89
|
-
};
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
export function SupplierListResourceToJSON(json: any): SupplierListResource {
|
|
93
|
-
return SupplierListResourceToJSONTyped(json, false);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
export function SupplierListResourceToJSONTyped(value?: SupplierListResource | null, ignoreDiscriminator: boolean = false): any {
|
|
97
|
-
if (value == null) {
|
|
98
|
-
return value;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
return {
|
|
102
|
-
|
|
103
|
-
'id': value['id'],
|
|
104
|
-
'name': value['name'],
|
|
105
|
-
'slug': value['slug'],
|
|
106
|
-
'thumbnail': AssetLiteResourceToJSON(value['thumbnail']),
|
|
107
|
-
'supplierEta': value['supplierEta'],
|
|
108
|
-
};
|
|
109
|
-
}
|
|
110
|
-
|
|
@@ -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 { SupplierListResource } from './SupplierListResource';
|
|
17
|
-
import {
|
|
18
|
-
SupplierListResourceFromJSON,
|
|
19
|
-
SupplierListResourceFromJSONTyped,
|
|
20
|
-
SupplierListResourceToJSON,
|
|
21
|
-
SupplierListResourceToJSONTyped,
|
|
22
|
-
} from './SupplierListResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface SupplierListResourceArrayResponse
|
|
28
|
-
*/
|
|
29
|
-
export interface SupplierListResourceArrayResponse {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<SupplierListResource>}
|
|
33
|
-
* @memberof SupplierListResourceArrayResponse
|
|
34
|
-
*/
|
|
35
|
-
data?: Array<SupplierListResource>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the SupplierListResourceArrayResponse interface.
|
|
40
|
-
*/
|
|
41
|
-
export function instanceOfSupplierListResourceArrayResponse(value: object): value is SupplierListResourceArrayResponse {
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function SupplierListResourceArrayResponseFromJSON(json: any): SupplierListResourceArrayResponse {
|
|
46
|
-
return SupplierListResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function SupplierListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupplierListResourceArrayResponse {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(SupplierListResourceFromJSON)),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function SupplierListResourceArrayResponseToJSON(json: any): SupplierListResourceArrayResponse {
|
|
60
|
-
return SupplierListResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function SupplierListResourceArrayResponseToJSONTyped(value?: SupplierListResourceArrayResponse | 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(SupplierListResourceToJSON)),
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|
|
@@ -1,110 +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 { SiteLiteResource } from './SiteLiteResource';
|
|
17
|
-
import {
|
|
18
|
-
SiteLiteResourceFromJSON,
|
|
19
|
-
SiteLiteResourceFromJSONTyped,
|
|
20
|
-
SiteLiteResourceToJSON,
|
|
21
|
-
SiteLiteResourceToJSONTyped,
|
|
22
|
-
} from './SiteLiteResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface TagListResource
|
|
28
|
-
*/
|
|
29
|
-
export interface TagListResource {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof TagListResource
|
|
34
|
-
*/
|
|
35
|
-
id: number;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof TagListResource
|
|
40
|
-
*/
|
|
41
|
-
name: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof TagListResource
|
|
46
|
-
*/
|
|
47
|
-
slug: string;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof TagListResource
|
|
52
|
-
*/
|
|
53
|
-
type: string;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {SiteLiteResource}
|
|
57
|
-
* @memberof TagListResource
|
|
58
|
-
*/
|
|
59
|
-
site: SiteLiteResource | null;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* Check if a given object implements the TagListResource interface.
|
|
64
|
-
*/
|
|
65
|
-
export function instanceOfTagListResource(value: object): value is TagListResource {
|
|
66
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
67
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
68
|
-
if (!('slug' in value) || value['slug'] === undefined) return false;
|
|
69
|
-
if (!('type' in value) || value['type'] === undefined) return false;
|
|
70
|
-
if (!('site' in value) || value['site'] === undefined) return false;
|
|
71
|
-
return true;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export function TagListResourceFromJSON(json: any): TagListResource {
|
|
75
|
-
return TagListResourceFromJSONTyped(json, false);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
export function TagListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): TagListResource {
|
|
79
|
-
if (json == null) {
|
|
80
|
-
return json;
|
|
81
|
-
}
|
|
82
|
-
return {
|
|
83
|
-
|
|
84
|
-
'id': json['id'],
|
|
85
|
-
'name': json['name'],
|
|
86
|
-
'slug': json['slug'],
|
|
87
|
-
'type': json['type'],
|
|
88
|
-
'site': SiteLiteResourceFromJSON(json['site']),
|
|
89
|
-
};
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
export function TagListResourceToJSON(json: any): TagListResource {
|
|
93
|
-
return TagListResourceToJSONTyped(json, false);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
export function TagListResourceToJSONTyped(value?: TagListResource | null, ignoreDiscriminator: boolean = false): any {
|
|
97
|
-
if (value == null) {
|
|
98
|
-
return value;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
return {
|
|
102
|
-
|
|
103
|
-
'id': value['id'],
|
|
104
|
-
'name': value['name'],
|
|
105
|
-
'slug': value['slug'],
|
|
106
|
-
'type': value['type'],
|
|
107
|
-
'site': SiteLiteResourceToJSON(value['site']),
|
|
108
|
-
};
|
|
109
|
-
}
|
|
110
|
-
|
|
@@ -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 { TagListResource } from './TagListResource';
|
|
17
|
-
import {
|
|
18
|
-
TagListResourceFromJSON,
|
|
19
|
-
TagListResourceFromJSONTyped,
|
|
20
|
-
TagListResourceToJSON,
|
|
21
|
-
TagListResourceToJSONTyped,
|
|
22
|
-
} from './TagListResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface TagListResourceArrayResponse
|
|
28
|
-
*/
|
|
29
|
-
export interface TagListResourceArrayResponse {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<TagListResource>}
|
|
33
|
-
* @memberof TagListResourceArrayResponse
|
|
34
|
-
*/
|
|
35
|
-
data?: Array<TagListResource>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the TagListResourceArrayResponse interface.
|
|
40
|
-
*/
|
|
41
|
-
export function instanceOfTagListResourceArrayResponse(value: object): value is TagListResourceArrayResponse {
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function TagListResourceArrayResponseFromJSON(json: any): TagListResourceArrayResponse {
|
|
46
|
-
return TagListResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function TagListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): TagListResourceArrayResponse {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(TagListResourceFromJSON)),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function TagListResourceArrayResponseToJSON(json: any): TagListResourceArrayResponse {
|
|
60
|
-
return TagListResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function TagListResourceArrayResponseToJSONTyped(value?: TagListResourceArrayResponse | 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(TagListResourceToJSON)),
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|