@digital8/lighting-illusions-ts-sdk 0.0.444 → 0.0.446
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 +6 -0
- package/README.md +6 -2
- package/dist/apis/TagApi.d.ts +14 -3
- package/dist/apis/TagApi.js +46 -1
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/GetAllAttributeRequest.d.ts +10 -1
- package/dist/models/GetAllAttributeRequest.js +9 -1
- package/dist/models/GetAllOverlayTemplateRequest.d.ts +8 -1
- package/dist/models/GetAllOverlayTemplateRequest.js +7 -1
- package/dist/models/GetAllProductChildRequest.d.ts +10 -1
- package/dist/models/GetAllProductChildRequest.js +9 -1
- package/dist/models/GetAllProductRequest.d.ts +9 -1
- package/dist/models/GetAllProductRequest.js +8 -1
- package/dist/models/GetAllProductTypeRequest.d.ts +9 -1
- package/dist/models/GetAllProductTypeRequest.js +8 -1
- package/dist/models/GetAllSupplierRequest.d.ts +8 -1
- package/dist/models/GetAllSupplierRequest.js +7 -1
- package/dist/models/IndexAttributeRequest.d.ts +12 -0
- package/dist/models/IndexAttributeRequest.js +4 -0
- package/dist/models/IndexExternalApiLogRequest.d.ts +12 -0
- package/dist/models/IndexExternalApiLogRequest.js +4 -0
- package/dist/models/IndexOverlayTemplateRequest.d.ts +12 -0
- package/dist/models/IndexOverlayTemplateRequest.js +4 -0
- package/dist/models/IndexProductChildRequest.d.ts +4 -4
- package/dist/models/IndexProductChildRequest.js +2 -2
- package/dist/models/IndexProductTypeRequest.d.ts +19 -0
- package/dist/models/IndexProductTypeRequest.js +11 -1
- package/dist/models/IndexSiteNotificationRequest.d.ts +12 -0
- package/dist/models/IndexSiteNotificationRequest.js +4 -0
- package/dist/models/IndexSiteRequest.d.ts +12 -0
- package/dist/models/IndexSiteRequest.js +4 -0
- package/dist/models/IndexSupplierRequest.d.ts +12 -0
- package/dist/models/IndexSupplierRequest.js +4 -0
- package/dist/models/IndexTagRequest.d.ts +19 -0
- package/dist/models/IndexTagRequest.js +11 -1
- package/dist/models/PaginatedTagListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedTagListResourceResponse.js +57 -0
- package/dist/models/TagListResource.d.ts +57 -0
- package/dist/models/TagListResource.js +68 -0
- package/dist/models/TagListResourceArrayResponse.d.ts +33 -0
- package/dist/models/TagListResourceArrayResponse.js +50 -0
- package/dist/models/TagLiteResource.d.ts +0 -7
- package/dist/models/TagLiteResource.js +0 -5
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/docs/IndexAttributeRequest.md +4 -0
- package/docs/IndexExternalApiLogRequest.md +4 -0
- package/docs/IndexOverlayTemplateRequest.md +4 -0
- package/docs/IndexProductChildRequest.md +2 -2
- package/docs/IndexProductTypeRequest.md +4 -0
- package/docs/IndexSiteNotificationRequest.md +4 -0
- package/docs/IndexSiteRequest.md +4 -0
- package/docs/IndexSupplierRequest.md +4 -0
- package/docs/IndexTagRequest.md +4 -0
- package/docs/PaginatedTagListResourceResponse.md +36 -0
- package/docs/TagApi.md +69 -3
- package/docs/TagListResource.md +42 -0
- package/docs/TagListResourceArrayResponse.md +34 -0
- package/docs/TagLiteResource.md +0 -2
- package/package.json +1 -1
- package/src/apis/TagApi.ts +42 -6
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/GetAllAttributeRequest.ts +11 -1
- package/src/models/GetAllOverlayTemplateRequest.ts +9 -1
- package/src/models/GetAllProductChildRequest.ts +11 -1
- package/src/models/GetAllProductRequest.ts +10 -1
- package/src/models/GetAllProductTypeRequest.ts +10 -1
- package/src/models/GetAllSupplierRequest.ts +9 -1
- package/src/models/IndexAttributeRequest.ts +16 -0
- package/src/models/IndexExternalApiLogRequest.ts +16 -0
- package/src/models/IndexOverlayTemplateRequest.ts +16 -0
- package/src/models/IndexProductChildRequest.ts +6 -6
- package/src/models/IndexProductTypeRequest.ts +24 -0
- package/src/models/IndexSiteNotificationRequest.ts +16 -0
- package/src/models/IndexSiteRequest.ts +16 -0
- package/src/models/IndexSupplierRequest.ts +16 -0
- package/src/models/IndexTagRequest.ts +24 -0
- package/src/models/PaginatedTagListResourceResponse.ts +90 -0
- package/src/models/TagListResource.ts +110 -0
- package/src/models/TagListResourceArrayResponse.ts +73 -0
- package/src/models/TagLiteResource.ts +0 -17
- package/src/models/index.ts +3 -0
|
@@ -45,6 +45,18 @@ export interface IndexProductTypeRequest {
|
|
|
45
45
|
* @memberof IndexProductTypeRequest
|
|
46
46
|
*/
|
|
47
47
|
page?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof IndexProductTypeRequest
|
|
52
|
+
*/
|
|
53
|
+
relatedId?: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof IndexProductTypeRequest
|
|
58
|
+
*/
|
|
59
|
+
relatedType?: IndexProductTypeRequestRelatedTypeEnum;
|
|
48
60
|
}
|
|
49
61
|
/**
|
|
50
62
|
* @export
|
|
@@ -64,6 +76,13 @@ export declare const IndexProductTypeRequestSortDirectionEnum: {
|
|
|
64
76
|
readonly Desc: "desc";
|
|
65
77
|
};
|
|
66
78
|
export type IndexProductTypeRequestSortDirectionEnum = typeof IndexProductTypeRequestSortDirectionEnum[keyof typeof IndexProductTypeRequestSortDirectionEnum];
|
|
79
|
+
/**
|
|
80
|
+
* @export
|
|
81
|
+
*/
|
|
82
|
+
export declare const IndexProductTypeRequestRelatedTypeEnum: {
|
|
83
|
+
readonly Attribute: "attribute";
|
|
84
|
+
};
|
|
85
|
+
export type IndexProductTypeRequestRelatedTypeEnum = typeof IndexProductTypeRequestRelatedTypeEnum[keyof typeof IndexProductTypeRequestRelatedTypeEnum];
|
|
67
86
|
/**
|
|
68
87
|
* Check if a given object implements the IndexProductTypeRequest interface.
|
|
69
88
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.IndexProductTypeRequestSortDirectionEnum = exports.IndexProductTypeRequestSortByEnum = void 0;
|
|
16
|
+
exports.IndexProductTypeRequestRelatedTypeEnum = exports.IndexProductTypeRequestSortDirectionEnum = exports.IndexProductTypeRequestSortByEnum = void 0;
|
|
17
17
|
exports.instanceOfIndexProductTypeRequest = instanceOfIndexProductTypeRequest;
|
|
18
18
|
exports.IndexProductTypeRequestFromJSON = IndexProductTypeRequestFromJSON;
|
|
19
19
|
exports.IndexProductTypeRequestFromJSONTyped = IndexProductTypeRequestFromJSONTyped;
|
|
@@ -35,6 +35,12 @@ exports.IndexProductTypeRequestSortDirectionEnum = {
|
|
|
35
35
|
Asc: 'asc',
|
|
36
36
|
Desc: 'desc'
|
|
37
37
|
};
|
|
38
|
+
/**
|
|
39
|
+
* @export
|
|
40
|
+
*/
|
|
41
|
+
exports.IndexProductTypeRequestRelatedTypeEnum = {
|
|
42
|
+
Attribute: 'attribute'
|
|
43
|
+
};
|
|
38
44
|
/**
|
|
39
45
|
* Check if a given object implements the IndexProductTypeRequest interface.
|
|
40
46
|
*/
|
|
@@ -54,6 +60,8 @@ function IndexProductTypeRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
54
60
|
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
55
61
|
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
56
62
|
'page': json['page'] == null ? undefined : json['page'],
|
|
63
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
64
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
57
65
|
};
|
|
58
66
|
}
|
|
59
67
|
function IndexProductTypeRequestToJSON(json) {
|
|
@@ -70,5 +78,7 @@ function IndexProductTypeRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
70
78
|
'sortDirection': value['sortDirection'],
|
|
71
79
|
'per_page': value['perPage'],
|
|
72
80
|
'page': value['page'],
|
|
81
|
+
'related_id': value['relatedId'],
|
|
82
|
+
'related_type': value['relatedType'],
|
|
73
83
|
};
|
|
74
84
|
}
|
|
@@ -51,6 +51,18 @@ export interface IndexSiteNotificationRequest {
|
|
|
51
51
|
* @memberof IndexSiteNotificationRequest
|
|
52
52
|
*/
|
|
53
53
|
siteId?: Array<string>;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof IndexSiteNotificationRequest
|
|
58
|
+
*/
|
|
59
|
+
relatedId?: number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof IndexSiteNotificationRequest
|
|
64
|
+
*/
|
|
65
|
+
relatedType?: string;
|
|
54
66
|
}
|
|
55
67
|
/**
|
|
56
68
|
* @export
|
|
@@ -56,6 +56,8 @@ function IndexSiteNotificationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
56
|
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
57
57
|
'page': json['page'] == null ? undefined : json['page'],
|
|
58
58
|
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
59
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
60
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
59
61
|
};
|
|
60
62
|
}
|
|
61
63
|
function IndexSiteNotificationRequestToJSON(json) {
|
|
@@ -73,5 +75,7 @@ function IndexSiteNotificationRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
73
75
|
'per_page': value['perPage'],
|
|
74
76
|
'page': value['page'],
|
|
75
77
|
'site_id': value['siteId'],
|
|
78
|
+
'related_id': value['relatedId'],
|
|
79
|
+
'related_type': value['relatedType'],
|
|
76
80
|
};
|
|
77
81
|
}
|
|
@@ -45,6 +45,18 @@ export interface IndexSiteRequest {
|
|
|
45
45
|
* @memberof IndexSiteRequest
|
|
46
46
|
*/
|
|
47
47
|
page?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof IndexSiteRequest
|
|
52
|
+
*/
|
|
53
|
+
relatedId?: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof IndexSiteRequest
|
|
58
|
+
*/
|
|
59
|
+
relatedType?: string;
|
|
48
60
|
}
|
|
49
61
|
/**
|
|
50
62
|
* @export
|
|
@@ -55,6 +55,8 @@ function IndexSiteRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
55
55
|
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
56
56
|
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
57
57
|
'page': json['page'] == null ? undefined : json['page'],
|
|
58
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
59
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
58
60
|
};
|
|
59
61
|
}
|
|
60
62
|
function IndexSiteRequestToJSON(json) {
|
|
@@ -71,5 +73,7 @@ function IndexSiteRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
71
73
|
'sortDirection': value['sortDirection'],
|
|
72
74
|
'per_page': value['perPage'],
|
|
73
75
|
'page': value['page'],
|
|
76
|
+
'related_id': value['relatedId'],
|
|
77
|
+
'related_type': value['relatedType'],
|
|
74
78
|
};
|
|
75
79
|
}
|
|
@@ -45,6 +45,18 @@ export interface IndexSupplierRequest {
|
|
|
45
45
|
* @memberof IndexSupplierRequest
|
|
46
46
|
*/
|
|
47
47
|
page?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof IndexSupplierRequest
|
|
52
|
+
*/
|
|
53
|
+
relatedId?: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof IndexSupplierRequest
|
|
58
|
+
*/
|
|
59
|
+
relatedType?: string;
|
|
48
60
|
}
|
|
49
61
|
/**
|
|
50
62
|
* @export
|
|
@@ -56,6 +56,8 @@ function IndexSupplierRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
56
|
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
57
57
|
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
58
58
|
'page': json['page'] == null ? undefined : json['page'],
|
|
59
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
60
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
59
61
|
};
|
|
60
62
|
}
|
|
61
63
|
function IndexSupplierRequestToJSON(json) {
|
|
@@ -72,5 +74,7 @@ function IndexSupplierRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
72
74
|
'sortDirection': value['sortDirection'],
|
|
73
75
|
'per_page': value['perPage'],
|
|
74
76
|
'page': value['page'],
|
|
77
|
+
'related_id': value['relatedId'],
|
|
78
|
+
'related_type': value['relatedType'],
|
|
75
79
|
};
|
|
76
80
|
}
|
|
@@ -57,6 +57,18 @@ export interface IndexTagRequest {
|
|
|
57
57
|
* @memberof IndexTagRequest
|
|
58
58
|
*/
|
|
59
59
|
type?: Array<string>;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof IndexTagRequest
|
|
64
|
+
*/
|
|
65
|
+
relatedId?: number;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof IndexTagRequest
|
|
70
|
+
*/
|
|
71
|
+
relatedType?: IndexTagRequestRelatedTypeEnum;
|
|
60
72
|
}
|
|
61
73
|
/**
|
|
62
74
|
* @export
|
|
@@ -77,6 +89,13 @@ export declare const IndexTagRequestSortDirectionEnum: {
|
|
|
77
89
|
readonly Desc: "desc";
|
|
78
90
|
};
|
|
79
91
|
export type IndexTagRequestSortDirectionEnum = typeof IndexTagRequestSortDirectionEnum[keyof typeof IndexTagRequestSortDirectionEnum];
|
|
92
|
+
/**
|
|
93
|
+
* @export
|
|
94
|
+
*/
|
|
95
|
+
export declare const IndexTagRequestRelatedTypeEnum: {
|
|
96
|
+
readonly ProductChild: "productChild";
|
|
97
|
+
};
|
|
98
|
+
export type IndexTagRequestRelatedTypeEnum = typeof IndexTagRequestRelatedTypeEnum[keyof typeof IndexTagRequestRelatedTypeEnum];
|
|
80
99
|
/**
|
|
81
100
|
* Check if a given object implements the IndexTagRequest interface.
|
|
82
101
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.IndexTagRequestSortDirectionEnum = exports.IndexTagRequestSortByEnum = void 0;
|
|
16
|
+
exports.IndexTagRequestRelatedTypeEnum = exports.IndexTagRequestSortDirectionEnum = exports.IndexTagRequestSortByEnum = void 0;
|
|
17
17
|
exports.instanceOfIndexTagRequest = instanceOfIndexTagRequest;
|
|
18
18
|
exports.IndexTagRequestFromJSON = IndexTagRequestFromJSON;
|
|
19
19
|
exports.IndexTagRequestFromJSONTyped = IndexTagRequestFromJSONTyped;
|
|
@@ -36,6 +36,12 @@ exports.IndexTagRequestSortDirectionEnum = {
|
|
|
36
36
|
Asc: 'asc',
|
|
37
37
|
Desc: 'desc'
|
|
38
38
|
};
|
|
39
|
+
/**
|
|
40
|
+
* @export
|
|
41
|
+
*/
|
|
42
|
+
exports.IndexTagRequestRelatedTypeEnum = {
|
|
43
|
+
ProductChild: 'productChild'
|
|
44
|
+
};
|
|
39
45
|
/**
|
|
40
46
|
* Check if a given object implements the IndexTagRequest interface.
|
|
41
47
|
*/
|
|
@@ -57,6 +63,8 @@ function IndexTagRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
57
63
|
'page': json['page'] == null ? undefined : json['page'],
|
|
58
64
|
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
59
65
|
'type': json['type'] == null ? undefined : json['type'],
|
|
66
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
67
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
60
68
|
};
|
|
61
69
|
}
|
|
62
70
|
function IndexTagRequestToJSON(json) {
|
|
@@ -75,5 +83,7 @@ function IndexTagRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
75
83
|
'page': value['page'],
|
|
76
84
|
'site_id': value['siteId'],
|
|
77
85
|
'type': value['type'],
|
|
86
|
+
'related_id': value['relatedId'],
|
|
87
|
+
'related_type': value['relatedType'],
|
|
78
88
|
};
|
|
79
89
|
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { TagListResource } from './TagListResource';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedTagListResourceResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedTagListResourceResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<TagListResource>}
|
|
23
|
+
* @memberof PaginatedTagListResourceResponse
|
|
24
|
+
*/
|
|
25
|
+
data: Array<TagListResource>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PagingMetadata}
|
|
29
|
+
* @memberof PaginatedTagListResourceResponse
|
|
30
|
+
*/
|
|
31
|
+
meta: PagingMetadata;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedTagListResourceResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedTagListResourceResponse(value: object): value is PaginatedTagListResourceResponse;
|
|
37
|
+
export declare function PaginatedTagListResourceResponseFromJSON(json: any): PaginatedTagListResourceResponse;
|
|
38
|
+
export declare function PaginatedTagListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedTagListResourceResponse;
|
|
39
|
+
export declare function PaginatedTagListResourceResponseToJSON(json: any): PaginatedTagListResourceResponse;
|
|
40
|
+
export declare function PaginatedTagListResourceResponseToJSONTyped(value?: PaginatedTagListResourceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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.instanceOfPaginatedTagListResourceResponse = instanceOfPaginatedTagListResourceResponse;
|
|
17
|
+
exports.PaginatedTagListResourceResponseFromJSON = PaginatedTagListResourceResponseFromJSON;
|
|
18
|
+
exports.PaginatedTagListResourceResponseFromJSONTyped = PaginatedTagListResourceResponseFromJSONTyped;
|
|
19
|
+
exports.PaginatedTagListResourceResponseToJSON = PaginatedTagListResourceResponseToJSON;
|
|
20
|
+
exports.PaginatedTagListResourceResponseToJSONTyped = PaginatedTagListResourceResponseToJSONTyped;
|
|
21
|
+
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
+
var TagListResource_1 = require("./TagListResource");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PaginatedTagListResourceResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPaginatedTagListResourceResponse(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 PaginatedTagListResourceResponseFromJSON(json) {
|
|
34
|
+
return PaginatedTagListResourceResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PaginatedTagListResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'data': (json['data'].map(TagListResource_1.TagListResourceFromJSON)),
|
|
42
|
+
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PaginatedTagListResourceResponseToJSON(json) {
|
|
46
|
+
return PaginatedTagListResourceResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PaginatedTagListResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'data': (value['data'].map(TagListResource_1.TagListResourceToJSON)),
|
|
55
|
+
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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 { SiteLiteResource } from './SiteLiteResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface TagListResource
|
|
17
|
+
*/
|
|
18
|
+
export interface TagListResource {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof TagListResource
|
|
23
|
+
*/
|
|
24
|
+
id: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof TagListResource
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof TagListResource
|
|
35
|
+
*/
|
|
36
|
+
slug: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof TagListResource
|
|
41
|
+
*/
|
|
42
|
+
type: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {SiteLiteResource}
|
|
46
|
+
* @memberof TagListResource
|
|
47
|
+
*/
|
|
48
|
+
site: SiteLiteResource | null;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the TagListResource interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfTagListResource(value: object): value is TagListResource;
|
|
54
|
+
export declare function TagListResourceFromJSON(json: any): TagListResource;
|
|
55
|
+
export declare function TagListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): TagListResource;
|
|
56
|
+
export declare function TagListResourceToJSON(json: any): TagListResource;
|
|
57
|
+
export declare function TagListResourceToJSONTyped(value?: TagListResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,68 @@
|
|
|
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.instanceOfTagListResource = instanceOfTagListResource;
|
|
17
|
+
exports.TagListResourceFromJSON = TagListResourceFromJSON;
|
|
18
|
+
exports.TagListResourceFromJSONTyped = TagListResourceFromJSONTyped;
|
|
19
|
+
exports.TagListResourceToJSON = TagListResourceToJSON;
|
|
20
|
+
exports.TagListResourceToJSONTyped = TagListResourceToJSONTyped;
|
|
21
|
+
var SiteLiteResource_1 = require("./SiteLiteResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the TagListResource interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfTagListResource(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('slug' in value) || value['slug'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('site' in value) || value['site'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function TagListResourceFromJSON(json) {
|
|
39
|
+
return TagListResourceFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function TagListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'id': json['id'],
|
|
47
|
+
'name': json['name'],
|
|
48
|
+
'slug': json['slug'],
|
|
49
|
+
'type': json['type'],
|
|
50
|
+
'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
function TagListResourceToJSON(json) {
|
|
54
|
+
return TagListResourceToJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
function TagListResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
57
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'id': value['id'],
|
|
63
|
+
'name': value['name'],
|
|
64
|
+
'slug': value['slug'],
|
|
65
|
+
'type': value['type'],
|
|
66
|
+
'site': (0, SiteLiteResource_1.SiteLiteResourceToJSON)(value['site']),
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { TagListResource } from './TagListResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface TagListResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface TagListResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<TagListResource>}
|
|
22
|
+
* @memberof TagListResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<TagListResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the TagListResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfTagListResourceArrayResponse(value: object): value is TagListResourceArrayResponse;
|
|
30
|
+
export declare function TagListResourceArrayResponseFromJSON(json: any): TagListResourceArrayResponse;
|
|
31
|
+
export declare function TagListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): TagListResourceArrayResponse;
|
|
32
|
+
export declare function TagListResourceArrayResponseToJSON(json: any): TagListResourceArrayResponse;
|
|
33
|
+
export declare function TagListResourceArrayResponseToJSONTyped(value?: TagListResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* My API
|
|
6
|
+
* API documentation for my Laravel app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfTagListResourceArrayResponse = instanceOfTagListResourceArrayResponse;
|
|
17
|
+
exports.TagListResourceArrayResponseFromJSON = TagListResourceArrayResponseFromJSON;
|
|
18
|
+
exports.TagListResourceArrayResponseFromJSONTyped = TagListResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.TagListResourceArrayResponseToJSON = TagListResourceArrayResponseToJSON;
|
|
20
|
+
exports.TagListResourceArrayResponseToJSONTyped = TagListResourceArrayResponseToJSONTyped;
|
|
21
|
+
var TagListResource_1 = require("./TagListResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the TagListResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfTagListResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function TagListResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return TagListResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function TagListResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(TagListResource_1.TagListResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function TagListResourceArrayResponseToJSON(json) {
|
|
40
|
+
return TagListResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function TagListResourceArrayResponseToJSONTyped(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(TagListResource_1.TagListResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { SiteLiteResource } from './SiteLiteResource';
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* @export
|
|
@@ -28,12 +27,6 @@ export interface TagLiteResource {
|
|
|
28
27
|
* @memberof TagLiteResource
|
|
29
28
|
*/
|
|
30
29
|
name: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {SiteLiteResource}
|
|
34
|
-
* @memberof TagLiteResource
|
|
35
|
-
*/
|
|
36
|
-
site: SiteLiteResource | null;
|
|
37
30
|
}
|
|
38
31
|
/**
|
|
39
32
|
* Check if a given object implements the TagLiteResource interface.
|
|
@@ -18,7 +18,6 @@ exports.TagLiteResourceFromJSON = TagLiteResourceFromJSON;
|
|
|
18
18
|
exports.TagLiteResourceFromJSONTyped = TagLiteResourceFromJSONTyped;
|
|
19
19
|
exports.TagLiteResourceToJSON = TagLiteResourceToJSON;
|
|
20
20
|
exports.TagLiteResourceToJSONTyped = TagLiteResourceToJSONTyped;
|
|
21
|
-
var SiteLiteResource_1 = require("./SiteLiteResource");
|
|
22
21
|
/**
|
|
23
22
|
* Check if a given object implements the TagLiteResource interface.
|
|
24
23
|
*/
|
|
@@ -27,8 +26,6 @@ function instanceOfTagLiteResource(value) {
|
|
|
27
26
|
return false;
|
|
28
27
|
if (!('name' in value) || value['name'] === undefined)
|
|
29
28
|
return false;
|
|
30
|
-
if (!('site' in value) || value['site'] === undefined)
|
|
31
|
-
return false;
|
|
32
29
|
return true;
|
|
33
30
|
}
|
|
34
31
|
function TagLiteResourceFromJSON(json) {
|
|
@@ -41,7 +38,6 @@ function TagLiteResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
38
|
return {
|
|
42
39
|
'id': json['id'],
|
|
43
40
|
'name': json['name'],
|
|
44
|
-
'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
|
|
45
41
|
};
|
|
46
42
|
}
|
|
47
43
|
function TagLiteResourceToJSON(json) {
|
|
@@ -55,6 +51,5 @@ function TagLiteResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
55
51
|
return {
|
|
56
52
|
'id': value['id'],
|
|
57
53
|
'name': value['name'],
|
|
58
|
-
'site': (0, SiteLiteResource_1.SiteLiteResourceToJSON)(value['site']),
|
|
59
54
|
};
|
|
60
55
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -69,6 +69,7 @@ export * from './PaginatedSiteResourceResponse';
|
|
|
69
69
|
export * from './PaginatedSupplierFrontendResourceResponse';
|
|
70
70
|
export * from './PaginatedSupplierLiteResourceResponse';
|
|
71
71
|
export * from './PaginatedSupplierResourceResponse';
|
|
72
|
+
export * from './PaginatedTagListResourceResponse';
|
|
72
73
|
export * from './PaginatedTagLiteResourceResponse';
|
|
73
74
|
export * from './PaginatedTagResourceResponse';
|
|
74
75
|
export * from './PagingMetadata';
|
|
@@ -125,6 +126,8 @@ export * from './SupplierLiteResource';
|
|
|
125
126
|
export * from './SupplierLiteResourceArrayResponse';
|
|
126
127
|
export * from './SupplierResource';
|
|
127
128
|
export * from './SupplierResourceArrayResponse';
|
|
129
|
+
export * from './TagListResource';
|
|
130
|
+
export * from './TagListResourceArrayResponse';
|
|
128
131
|
export * from './TagLiteResource';
|
|
129
132
|
export * from './TagLiteResourceArrayResponse';
|
|
130
133
|
export * from './TagResource';
|
package/dist/models/index.js
CHANGED
|
@@ -87,6 +87,7 @@ __exportStar(require("./PaginatedSiteResourceResponse"), exports);
|
|
|
87
87
|
__exportStar(require("./PaginatedSupplierFrontendResourceResponse"), exports);
|
|
88
88
|
__exportStar(require("./PaginatedSupplierLiteResourceResponse"), exports);
|
|
89
89
|
__exportStar(require("./PaginatedSupplierResourceResponse"), exports);
|
|
90
|
+
__exportStar(require("./PaginatedTagListResourceResponse"), exports);
|
|
90
91
|
__exportStar(require("./PaginatedTagLiteResourceResponse"), exports);
|
|
91
92
|
__exportStar(require("./PaginatedTagResourceResponse"), exports);
|
|
92
93
|
__exportStar(require("./PagingMetadata"), exports);
|
|
@@ -143,6 +144,8 @@ __exportStar(require("./SupplierLiteResource"), exports);
|
|
|
143
144
|
__exportStar(require("./SupplierLiteResourceArrayResponse"), exports);
|
|
144
145
|
__exportStar(require("./SupplierResource"), exports);
|
|
145
146
|
__exportStar(require("./SupplierResourceArrayResponse"), exports);
|
|
147
|
+
__exportStar(require("./TagListResource"), exports);
|
|
148
|
+
__exportStar(require("./TagListResourceArrayResponse"), exports);
|
|
146
149
|
__exportStar(require("./TagLiteResource"), exports);
|
|
147
150
|
__exportStar(require("./TagLiteResourceArrayResponse"), exports);
|
|
148
151
|
__exportStar(require("./TagResource"), exports);
|
|
@@ -14,6 +14,8 @@ Name | Type
|
|
|
14
14
|
`type` | Array<string>
|
|
15
15
|
`isFilterable` | Array<string>
|
|
16
16
|
`isExpandedByDefault` | Array<string>
|
|
17
|
+
`relatedId` | number
|
|
18
|
+
`relatedType` | string
|
|
17
19
|
|
|
18
20
|
## Example
|
|
19
21
|
|
|
@@ -30,6 +32,8 @@ const example = {
|
|
|
30
32
|
"type": null,
|
|
31
33
|
"isFilterable": null,
|
|
32
34
|
"isExpandedByDefault": null,
|
|
35
|
+
"relatedId": null,
|
|
36
|
+
"relatedType": null,
|
|
33
37
|
} satisfies IndexAttributeRequest
|
|
34
38
|
|
|
35
39
|
console.log(example)
|