@digital8/lighting-illusions-ts-sdk 0.0.647 → 0.0.649
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 -38
- package/README.md +7 -26
- package/dist/apis/index.d.ts +0 -1
- package/dist/apis/index.js +0 -1
- package/dist/models/OverlayTemplateAssetFrontendResource.d.ts +2 -3
- package/dist/models/OverlayTemplateAssetFrontendResource.js +2 -3
- package/dist/models/OverlayTemplateAssetResource.d.ts +3 -3
- package/dist/models/OverlayTemplateAssetResource.js +3 -3
- package/dist/models/ProductCompareResource.d.ts +2 -2
- package/dist/models/ProductSearchResultResource.d.ts +6 -12
- package/dist/models/ProductSearchResultResource.js +4 -8
- package/dist/models/ProductStatus.d.ts +24 -0
- package/dist/models/ProductStatus.js +50 -0
- package/dist/models/SupplierFrontendResource.d.ts +8 -7
- package/dist/models/SupplierFrontendResource.js +9 -8
- package/dist/models/WishlistCheckResource.d.ts +32 -0
- package/dist/models/WishlistCheckResource.js +51 -0
- package/dist/models/WishlistCheckResourceArrayResponse.d.ts +33 -0
- package/dist/models/WishlistCheckResourceArrayResponse.js +50 -0
- package/dist/models/WishlistToggleResource.d.ts +38 -0
- package/dist/models/WishlistToggleResource.js +55 -0
- package/dist/models/WishlistToggleResourceArrayResponse.d.ts +33 -0
- package/dist/models/WishlistToggleResourceArrayResponse.js +50 -0
- package/dist/models/index.d.ts +5 -18
- package/dist/models/index.js +5 -18
- package/docs/OverlayTemplateAssetFrontendResource.md +1 -1
- package/docs/OverlayTemplateAssetResource.md +1 -1
- package/docs/ProductCompareResource.md +1 -1
- package/docs/ProductSearchResultResource.md +2 -4
- package/docs/{ProductAvailability.md → ProductStatus.md} +4 -4
- package/docs/SupplierFrontendResource.md +4 -4
- package/docs/{StoreDefinitionRequest.md → WishlistCheckResource.md} +6 -8
- package/docs/{DefinitionResourceArrayResponse.md → WishlistCheckResourceArrayResponse.md} +5 -5
- package/docs/{DefinitionListResource.md → WishlistToggleResource.md} +8 -8
- package/docs/{DefinitionListResourceArrayResponse.md → WishlistToggleResourceArrayResponse.md} +5 -5
- package/package.json +1 -1
- package/src/apis/index.ts +0 -1
- package/src/models/OverlayTemplateAssetFrontendResource.ts +4 -12
- package/src/models/OverlayTemplateAssetResource.ts +10 -10
- package/src/models/ProductCompareResource.ts +2 -2
- package/src/models/ProductSearchResultResource.ts +9 -18
- package/src/models/ProductStatus.ts +52 -0
- package/src/models/SupplierFrontendResource.ts +27 -20
- package/src/models/WishlistCheckResource.ts +66 -0
- package/src/models/WishlistCheckResourceArrayResponse.ts +73 -0
- package/src/models/WishlistToggleResource.ts +75 -0
- package/src/models/WishlistToggleResourceArrayResponse.ts +73 -0
- package/src/models/index.ts +5 -18
- package/dist/apis/DefinitionApi.d.ts +0 -85
- package/dist/apis/DefinitionApi.js +0 -355
- package/dist/models/CategoryFrontendResource.d.ts +0 -70
- package/dist/models/CategoryFrontendResource.js +0 -73
- package/dist/models/CategoryFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/CategoryFrontendResourceArrayResponse.js +0 -50
- package/dist/models/CategoryWithChildrenFrontendResource.d.ts +0 -39
- package/dist/models/CategoryWithChildrenFrontendResource.js +0 -56
- package/dist/models/CategoryWithChildrenFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/CategoryWithChildrenFrontendResourceArrayResponse.js +0 -50
- package/dist/models/DefinitionListResource.d.ts +0 -38
- package/dist/models/DefinitionListResource.js +0 -55
- package/dist/models/DefinitionListResourceArrayResponse.d.ts +0 -33
- package/dist/models/DefinitionListResourceArrayResponse.js +0 -50
- package/dist/models/DefinitionResource.d.ts +0 -44
- package/dist/models/DefinitionResource.js +0 -59
- package/dist/models/DefinitionResourceArrayResponse.d.ts +0 -33
- package/dist/models/DefinitionResourceArrayResponse.js +0 -50
- package/dist/models/GetAllDefinitionRequest.d.ts +0 -80
- package/dist/models/GetAllDefinitionRequest.js +0 -76
- package/dist/models/IndexDefinitionRequest.d.ts +0 -92
- package/dist/models/IndexDefinitionRequest.js +0 -80
- package/dist/models/PaginatedCategoryFrontendResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedCategoryFrontendResourceResponse.js +0 -57
- package/dist/models/PaginatedDefinitionListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedDefinitionListResourceResponse.js +0 -57
- package/dist/models/PaginatedDefinitionResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedDefinitionResourceResponse.js +0 -57
- package/dist/models/ProductAvailability.d.ts +0 -26
- package/dist/models/ProductAvailability.js +0 -52
- package/dist/models/StoreDefinitionRequest.d.ts +0 -38
- package/dist/models/StoreDefinitionRequest.js +0 -55
- package/dist/models/TagFrontendResource.d.ts +0 -63
- package/dist/models/TagFrontendResource.js +0 -72
- package/dist/models/TagFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/TagFrontendResourceArrayResponse.js +0 -50
- package/dist/models/UpdateDefinitionRequest.d.ts +0 -38
- package/dist/models/UpdateDefinitionRequest.js +0 -55
- package/docs/CategoryFrontendResource.md +0 -46
- package/docs/CategoryFrontendResourceArrayResponse.md +0 -34
- package/docs/CategoryWithChildrenFrontendResource.md +0 -36
- package/docs/CategoryWithChildrenFrontendResourceArrayResponse.md +0 -34
- package/docs/DefinitionApi.md +0 -407
- package/docs/DefinitionResource.md +0 -38
- package/docs/GetAllDefinitionRequest.md +0 -44
- package/docs/IndexDefinitionRequest.md +0 -48
- package/docs/PaginatedCategoryFrontendResourceResponse.md +0 -36
- package/docs/PaginatedDefinitionListResourceResponse.md +0 -36
- package/docs/PaginatedDefinitionResourceResponse.md +0 -36
- package/docs/TagFrontendResource.md +0 -44
- package/docs/TagFrontendResourceArrayResponse.md +0 -34
- package/docs/UpdateDefinitionRequest.md +0 -36
- package/src/apis/DefinitionApi.ts +0 -286
- package/src/models/CategoryFrontendResource.ts +0 -133
- package/src/models/CategoryFrontendResourceArrayResponse.ts +0 -73
- package/src/models/CategoryWithChildrenFrontendResource.ts +0 -83
- package/src/models/CategoryWithChildrenFrontendResourceArrayResponse.ts +0 -73
- package/src/models/DefinitionListResource.ts +0 -75
- package/src/models/DefinitionListResourceArrayResponse.ts +0 -73
- package/src/models/DefinitionResource.ts +0 -84
- package/src/models/DefinitionResourceArrayResponse.ts +0 -73
- package/src/models/GetAllDefinitionRequest.ts +0 -127
- package/src/models/IndexDefinitionRequest.ts +0 -143
- package/src/models/PaginatedCategoryFrontendResourceResponse.ts +0 -90
- package/src/models/PaginatedDefinitionListResourceResponse.ts +0 -90
- package/src/models/PaginatedDefinitionResourceResponse.ts +0 -90
- package/src/models/ProductAvailability.ts +0 -54
- package/src/models/StoreDefinitionRequest.ts +0 -75
- package/src/models/TagFrontendResource.ts +0 -119
- package/src/models/TagFrontendResourceArrayResponse.ts +0 -73
- package/src/models/UpdateDefinitionRequest.ts +0 -75
|
@@ -1,83 +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 { CategoryFrontendResource } from './CategoryFrontendResource';
|
|
17
|
-
import {
|
|
18
|
-
CategoryFrontendResourceFromJSON,
|
|
19
|
-
CategoryFrontendResourceFromJSONTyped,
|
|
20
|
-
CategoryFrontendResourceToJSON,
|
|
21
|
-
CategoryFrontendResourceToJSONTyped,
|
|
22
|
-
} from './CategoryFrontendResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface CategoryWithChildrenFrontendResource
|
|
28
|
-
*/
|
|
29
|
-
export interface CategoryWithChildrenFrontendResource {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {CategoryFrontendResource}
|
|
33
|
-
* @memberof CategoryWithChildrenFrontendResource
|
|
34
|
-
*/
|
|
35
|
-
category: CategoryFrontendResource | null;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {Array<CategoryFrontendResource>}
|
|
39
|
-
* @memberof CategoryWithChildrenFrontendResource
|
|
40
|
-
*/
|
|
41
|
-
children: Array<CategoryFrontendResource> | null;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Check if a given object implements the CategoryWithChildrenFrontendResource interface.
|
|
46
|
-
*/
|
|
47
|
-
export function instanceOfCategoryWithChildrenFrontendResource(value: object): value is CategoryWithChildrenFrontendResource {
|
|
48
|
-
if (!('category' in value) || value['category'] === undefined) return false;
|
|
49
|
-
if (!('children' in value) || value['children'] === undefined) return false;
|
|
50
|
-
return true;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export function CategoryWithChildrenFrontendResourceFromJSON(json: any): CategoryWithChildrenFrontendResource {
|
|
54
|
-
return CategoryWithChildrenFrontendResourceFromJSONTyped(json, false);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
export function CategoryWithChildrenFrontendResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): CategoryWithChildrenFrontendResource {
|
|
58
|
-
if (json == null) {
|
|
59
|
-
return json;
|
|
60
|
-
}
|
|
61
|
-
return {
|
|
62
|
-
|
|
63
|
-
'category': CategoryFrontendResourceFromJSON(json['category']),
|
|
64
|
-
'children': (json['children'] == null ? null : (json['children'] as Array<any>).map(CategoryFrontendResourceFromJSON)),
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export function CategoryWithChildrenFrontendResourceToJSON(json: any): CategoryWithChildrenFrontendResource {
|
|
69
|
-
return CategoryWithChildrenFrontendResourceToJSONTyped(json, false);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export function CategoryWithChildrenFrontendResourceToJSONTyped(value?: CategoryWithChildrenFrontendResource | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
-
if (value == null) {
|
|
74
|
-
return value;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
return {
|
|
78
|
-
|
|
79
|
-
'category': CategoryFrontendResourceToJSON(value['category']),
|
|
80
|
-
'children': (value['children'] == null ? null : (value['children'] as Array<any>).map(CategoryFrontendResourceToJSON)),
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
|
|
@@ -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 { CategoryWithChildrenFrontendResource } from './CategoryWithChildrenFrontendResource';
|
|
17
|
-
import {
|
|
18
|
-
CategoryWithChildrenFrontendResourceFromJSON,
|
|
19
|
-
CategoryWithChildrenFrontendResourceFromJSONTyped,
|
|
20
|
-
CategoryWithChildrenFrontendResourceToJSON,
|
|
21
|
-
CategoryWithChildrenFrontendResourceToJSONTyped,
|
|
22
|
-
} from './CategoryWithChildrenFrontendResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface CategoryWithChildrenFrontendResourceArrayResponse
|
|
28
|
-
*/
|
|
29
|
-
export interface CategoryWithChildrenFrontendResourceArrayResponse {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<CategoryWithChildrenFrontendResource>}
|
|
33
|
-
* @memberof CategoryWithChildrenFrontendResourceArrayResponse
|
|
34
|
-
*/
|
|
35
|
-
data?: Array<CategoryWithChildrenFrontendResource>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the CategoryWithChildrenFrontendResourceArrayResponse interface.
|
|
40
|
-
*/
|
|
41
|
-
export function instanceOfCategoryWithChildrenFrontendResourceArrayResponse(value: object): value is CategoryWithChildrenFrontendResourceArrayResponse {
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function CategoryWithChildrenFrontendResourceArrayResponseFromJSON(json: any): CategoryWithChildrenFrontendResourceArrayResponse {
|
|
46
|
-
return CategoryWithChildrenFrontendResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function CategoryWithChildrenFrontendResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CategoryWithChildrenFrontendResourceArrayResponse {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(CategoryWithChildrenFrontendResourceFromJSON)),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function CategoryWithChildrenFrontendResourceArrayResponseToJSON(json: any): CategoryWithChildrenFrontendResourceArrayResponse {
|
|
60
|
-
return CategoryWithChildrenFrontendResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function CategoryWithChildrenFrontendResourceArrayResponseToJSONTyped(value?: CategoryWithChildrenFrontendResourceArrayResponse | 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(CategoryWithChildrenFrontendResourceToJSON)),
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|
|
@@ -1,75 +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
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface DefinitionListResource
|
|
20
|
-
*/
|
|
21
|
-
export interface DefinitionListResource {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof DefinitionListResource
|
|
26
|
-
*/
|
|
27
|
-
id: number;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof DefinitionListResource
|
|
32
|
-
*/
|
|
33
|
-
name: string;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Check if a given object implements the DefinitionListResource interface.
|
|
38
|
-
*/
|
|
39
|
-
export function instanceOfDefinitionListResource(value: object): value is DefinitionListResource {
|
|
40
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
41
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function DefinitionListResourceFromJSON(json: any): DefinitionListResource {
|
|
46
|
-
return DefinitionListResourceFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function DefinitionListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): DefinitionListResource {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'id': json['id'],
|
|
56
|
-
'name': json['name'],
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function DefinitionListResourceToJSON(json: any): DefinitionListResource {
|
|
61
|
-
return DefinitionListResourceToJSONTyped(json, false);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function DefinitionListResourceToJSONTyped(value?: DefinitionListResource | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
-
if (value == null) {
|
|
66
|
-
return value;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
return {
|
|
70
|
-
|
|
71
|
-
'id': value['id'],
|
|
72
|
-
'name': value['name'],
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
|
|
@@ -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 { DefinitionListResource } from './DefinitionListResource';
|
|
17
|
-
import {
|
|
18
|
-
DefinitionListResourceFromJSON,
|
|
19
|
-
DefinitionListResourceFromJSONTyped,
|
|
20
|
-
DefinitionListResourceToJSON,
|
|
21
|
-
DefinitionListResourceToJSONTyped,
|
|
22
|
-
} from './DefinitionListResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface DefinitionListResourceArrayResponse
|
|
28
|
-
*/
|
|
29
|
-
export interface DefinitionListResourceArrayResponse {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<DefinitionListResource>}
|
|
33
|
-
* @memberof DefinitionListResourceArrayResponse
|
|
34
|
-
*/
|
|
35
|
-
data?: Array<DefinitionListResource>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the DefinitionListResourceArrayResponse interface.
|
|
40
|
-
*/
|
|
41
|
-
export function instanceOfDefinitionListResourceArrayResponse(value: object): value is DefinitionListResourceArrayResponse {
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function DefinitionListResourceArrayResponseFromJSON(json: any): DefinitionListResourceArrayResponse {
|
|
46
|
-
return DefinitionListResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function DefinitionListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DefinitionListResourceArrayResponse {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(DefinitionListResourceFromJSON)),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function DefinitionListResourceArrayResponseToJSON(json: any): DefinitionListResourceArrayResponse {
|
|
60
|
-
return DefinitionListResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function DefinitionListResourceArrayResponseToJSONTyped(value?: DefinitionListResourceArrayResponse | 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(DefinitionListResourceToJSON)),
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|
|
@@ -1,84 +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
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface DefinitionResource
|
|
20
|
-
*/
|
|
21
|
-
export interface DefinitionResource {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof DefinitionResource
|
|
26
|
-
*/
|
|
27
|
-
id: number;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof DefinitionResource
|
|
32
|
-
*/
|
|
33
|
-
name: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof DefinitionResource
|
|
38
|
-
*/
|
|
39
|
-
content: string;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Check if a given object implements the DefinitionResource interface.
|
|
44
|
-
*/
|
|
45
|
-
export function instanceOfDefinitionResource(value: object): value is DefinitionResource {
|
|
46
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
47
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
48
|
-
if (!('content' in value) || value['content'] === undefined) return false;
|
|
49
|
-
return true;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export function DefinitionResourceFromJSON(json: any): DefinitionResource {
|
|
53
|
-
return DefinitionResourceFromJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function DefinitionResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): DefinitionResource {
|
|
57
|
-
if (json == null) {
|
|
58
|
-
return json;
|
|
59
|
-
}
|
|
60
|
-
return {
|
|
61
|
-
|
|
62
|
-
'id': json['id'],
|
|
63
|
-
'name': json['name'],
|
|
64
|
-
'content': json['content'],
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export function DefinitionResourceToJSON(json: any): DefinitionResource {
|
|
69
|
-
return DefinitionResourceToJSONTyped(json, false);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export function DefinitionResourceToJSONTyped(value?: DefinitionResource | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
-
if (value == null) {
|
|
74
|
-
return value;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
return {
|
|
78
|
-
|
|
79
|
-
'id': value['id'],
|
|
80
|
-
'name': value['name'],
|
|
81
|
-
'content': value['content'],
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
|
|
@@ -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 { DefinitionResource } from './DefinitionResource';
|
|
17
|
-
import {
|
|
18
|
-
DefinitionResourceFromJSON,
|
|
19
|
-
DefinitionResourceFromJSONTyped,
|
|
20
|
-
DefinitionResourceToJSON,
|
|
21
|
-
DefinitionResourceToJSONTyped,
|
|
22
|
-
} from './DefinitionResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface DefinitionResourceArrayResponse
|
|
28
|
-
*/
|
|
29
|
-
export interface DefinitionResourceArrayResponse {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<DefinitionResource>}
|
|
33
|
-
* @memberof DefinitionResourceArrayResponse
|
|
34
|
-
*/
|
|
35
|
-
data?: Array<DefinitionResource>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the DefinitionResourceArrayResponse interface.
|
|
40
|
-
*/
|
|
41
|
-
export function instanceOfDefinitionResourceArrayResponse(value: object): value is DefinitionResourceArrayResponse {
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function DefinitionResourceArrayResponseFromJSON(json: any): DefinitionResourceArrayResponse {
|
|
46
|
-
return DefinitionResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function DefinitionResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DefinitionResourceArrayResponse {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(DefinitionResourceFromJSON)),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function DefinitionResourceArrayResponseToJSON(json: any): DefinitionResourceArrayResponse {
|
|
60
|
-
return DefinitionResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function DefinitionResourceArrayResponseToJSONTyped(value?: DefinitionResourceArrayResponse | 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(DefinitionResourceToJSON)),
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|
|
@@ -1,127 +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
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface GetAllDefinitionRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface GetAllDefinitionRequest {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof GetAllDefinitionRequest
|
|
26
|
-
*/
|
|
27
|
-
search?: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof GetAllDefinitionRequest
|
|
32
|
-
*/
|
|
33
|
-
sortBy?: GetAllDefinitionRequestSortByEnum;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof GetAllDefinitionRequest
|
|
38
|
-
*/
|
|
39
|
-
sortDirection?: GetAllDefinitionRequestSortDirectionEnum;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {number}
|
|
43
|
-
* @memberof GetAllDefinitionRequest
|
|
44
|
-
*/
|
|
45
|
-
relatedId?: number;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof GetAllDefinitionRequest
|
|
50
|
-
*/
|
|
51
|
-
relatedType?: string;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {boolean}
|
|
55
|
-
* @memberof GetAllDefinitionRequest
|
|
56
|
-
*/
|
|
57
|
-
includesRelations?: boolean;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @export
|
|
63
|
-
*/
|
|
64
|
-
export const GetAllDefinitionRequestSortByEnum = {
|
|
65
|
-
Id: 'id',
|
|
66
|
-
Name: 'name',
|
|
67
|
-
CreatedAt: 'created_at',
|
|
68
|
-
UpdatedAt: 'updated_at'
|
|
69
|
-
} as const;
|
|
70
|
-
export type GetAllDefinitionRequestSortByEnum = typeof GetAllDefinitionRequestSortByEnum[keyof typeof GetAllDefinitionRequestSortByEnum];
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* @export
|
|
74
|
-
*/
|
|
75
|
-
export const GetAllDefinitionRequestSortDirectionEnum = {
|
|
76
|
-
Asc: 'asc',
|
|
77
|
-
Desc: 'desc'
|
|
78
|
-
} as const;
|
|
79
|
-
export type GetAllDefinitionRequestSortDirectionEnum = typeof GetAllDefinitionRequestSortDirectionEnum[keyof typeof GetAllDefinitionRequestSortDirectionEnum];
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* Check if a given object implements the GetAllDefinitionRequest interface.
|
|
84
|
-
*/
|
|
85
|
-
export function instanceOfGetAllDefinitionRequest(value: object): value is GetAllDefinitionRequest {
|
|
86
|
-
return true;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
export function GetAllDefinitionRequestFromJSON(json: any): GetAllDefinitionRequest {
|
|
90
|
-
return GetAllDefinitionRequestFromJSONTyped(json, false);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
export function GetAllDefinitionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllDefinitionRequest {
|
|
94
|
-
if (json == null) {
|
|
95
|
-
return json;
|
|
96
|
-
}
|
|
97
|
-
return {
|
|
98
|
-
|
|
99
|
-
'search': json['search'] == null ? undefined : json['search'],
|
|
100
|
-
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
101
|
-
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
102
|
-
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
103
|
-
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
104
|
-
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
export function GetAllDefinitionRequestToJSON(json: any): GetAllDefinitionRequest {
|
|
109
|
-
return GetAllDefinitionRequestToJSONTyped(json, false);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
export function GetAllDefinitionRequestToJSONTyped(value?: GetAllDefinitionRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
113
|
-
if (value == null) {
|
|
114
|
-
return value;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
return {
|
|
118
|
-
|
|
119
|
-
'search': value['search'],
|
|
120
|
-
'sortBy': value['sortBy'],
|
|
121
|
-
'sortDirection': value['sortDirection'],
|
|
122
|
-
'related_id': value['relatedId'],
|
|
123
|
-
'related_type': value['relatedType'],
|
|
124
|
-
'includes_relations': value['includesRelations'],
|
|
125
|
-
};
|
|
126
|
-
}
|
|
127
|
-
|