@digital8/lighting-illusions-ts-sdk 0.0.612 → 0.0.613
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 +28 -16
- package/README.md +21 -10
- package/dist/apis/DefinitionApi.d.ts +85 -0
- package/dist/apis/DefinitionApi.js +355 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/DefinitionListResource.d.ts +44 -0
- package/dist/models/DefinitionListResource.js +59 -0
- package/dist/models/DefinitionListResourceArrayResponse.d.ts +33 -0
- package/dist/models/DefinitionListResourceArrayResponse.js +50 -0
- package/dist/models/DefinitionLiteResource.d.ts +38 -0
- package/dist/models/DefinitionLiteResource.js +55 -0
- package/dist/models/DefinitionLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/DefinitionLiteResourceArrayResponse.js +50 -0
- package/dist/models/DefinitionResource.d.ts +44 -0
- package/dist/models/DefinitionResource.js +59 -0
- package/dist/models/DefinitionResourceArrayResponse.d.ts +33 -0
- package/dist/models/DefinitionResourceArrayResponse.js +50 -0
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/GetAllDefinitionRequest.d.ts +80 -0
- package/dist/models/GetAllDefinitionRequest.js +76 -0
- package/dist/models/IndexDefinitionRequest.d.ts +92 -0
- package/dist/models/IndexDefinitionRequest.js +80 -0
- package/dist/models/PaginatedDefinitionListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedDefinitionListResourceResponse.js +57 -0
- package/dist/models/PaginatedDefinitionLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedDefinitionLiteResourceResponse.js +57 -0
- package/dist/models/PaginatedDefinitionResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedDefinitionResourceResponse.js +57 -0
- package/dist/models/StoreDefinitionRequest.d.ts +38 -0
- package/dist/models/StoreDefinitionRequest.js +55 -0
- package/dist/models/StoreProductCategoryRequest.d.ts +2 -2
- package/dist/models/UpdateDefinitionRequest.d.ts +38 -0
- package/dist/models/UpdateDefinitionRequest.js +55 -0
- package/dist/models/index.d.ts +13 -8
- package/dist/models/index.js +13 -8
- package/docs/DefinitionApi.md +407 -0
- package/docs/{DocumentFrontendResource.md → DefinitionListResource.md} +6 -6
- package/docs/{ProductCompareResourceArrayResponse.md → DefinitionListResourceArrayResponse.md} +5 -5
- package/docs/DefinitionLiteResource.md +36 -0
- package/docs/{DocumentFrontendResourceArrayResponse.md → DefinitionLiteResourceArrayResponse.md} +5 -5
- package/docs/DefinitionResource.md +38 -0
- package/docs/{AssetFrontendResourceArrayResponse.md → DefinitionResourceArrayResponse.md} +5 -5
- package/docs/GetAllDefinitionRequest.md +44 -0
- package/docs/IndexDefinitionRequest.md +48 -0
- package/docs/{OverlayTemplateAssetFrontendResourceArrayResponse.md → PaginatedDefinitionListResourceResponse.md} +7 -5
- package/docs/PaginatedDefinitionLiteResourceResponse.md +36 -0
- package/docs/PaginatedDefinitionResourceResponse.md +36 -0
- package/docs/StoreDefinitionRequest.md +36 -0
- package/docs/StoreProductCategoryRequest.md +1 -1
- package/docs/UpdateDefinitionRequest.md +36 -0
- package/package.json +1 -1
- package/src/apis/DefinitionApi.ts +286 -0
- package/src/apis/index.ts +1 -0
- package/src/models/DefinitionListResource.ts +84 -0
- package/src/models/DefinitionListResourceArrayResponse.ts +73 -0
- package/src/models/DefinitionLiteResource.ts +75 -0
- package/src/models/DefinitionLiteResourceArrayResponse.ts +73 -0
- package/src/models/DefinitionResource.ts +84 -0
- package/src/models/DefinitionResourceArrayResponse.ts +73 -0
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/GetAllDefinitionRequest.ts +127 -0
- package/src/models/IndexDefinitionRequest.ts +143 -0
- package/src/models/PaginatedDefinitionListResourceResponse.ts +90 -0
- package/src/models/PaginatedDefinitionLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedDefinitionResourceResponse.ts +90 -0
- package/src/models/StoreDefinitionRequest.ts +75 -0
- package/src/models/StoreProductCategoryRequest.ts +2 -2
- package/src/models/UpdateDefinitionRequest.ts +75 -0
- package/src/models/index.ts +13 -8
- package/dist/models/AssetFrontendResource.d.ts +0 -74
- package/dist/models/AssetFrontendResource.js +0 -79
- package/dist/models/AssetFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/AssetFrontendResourceArrayResponse.js +0 -50
- package/dist/models/DocumentFrontendResource.d.ts +0 -44
- package/dist/models/DocumentFrontendResource.js +0 -57
- package/dist/models/DocumentFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/DocumentFrontendResourceArrayResponse.js +0 -50
- package/dist/models/OverlayTemplateAssetFrontendResource.d.ts +0 -62
- package/dist/models/OverlayTemplateAssetFrontendResource.js +0 -71
- package/dist/models/OverlayTemplateAssetFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/OverlayTemplateAssetFrontendResourceArrayResponse.js +0 -50
- package/dist/models/ProductCompareResource.d.ts +0 -141
- package/dist/models/ProductCompareResource.js +0 -124
- package/dist/models/ProductCompareResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductCompareResourceArrayResponse.js +0 -50
- package/docs/AssetFrontendResource.md +0 -48
- package/docs/OverlayTemplateAssetFrontendResource.md +0 -44
- package/docs/ProductCompareResource.md +0 -70
- package/src/models/AssetFrontendResource.ts +0 -129
- package/src/models/AssetFrontendResourceArrayResponse.ts +0 -73
- package/src/models/DocumentFrontendResource.ts +0 -83
- package/src/models/DocumentFrontendResourceArrayResponse.ts +0 -73
- package/src/models/OverlayTemplateAssetFrontendResource.ts +0 -111
- package/src/models/OverlayTemplateAssetFrontendResourceArrayResponse.ts +0 -73
- package/src/models/ProductCompareResource.ts +0 -236
- package/src/models/ProductCompareResourceArrayResponse.ts +0 -73
|
@@ -0,0 +1,90 @@
|
|
|
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 { DefinitionListResource } from './DefinitionListResource';
|
|
24
|
+
import {
|
|
25
|
+
DefinitionListResourceFromJSON,
|
|
26
|
+
DefinitionListResourceFromJSONTyped,
|
|
27
|
+
DefinitionListResourceToJSON,
|
|
28
|
+
DefinitionListResourceToJSONTyped,
|
|
29
|
+
} from './DefinitionListResource';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface PaginatedDefinitionListResourceResponse
|
|
35
|
+
*/
|
|
36
|
+
export interface PaginatedDefinitionListResourceResponse {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<DefinitionListResource>}
|
|
40
|
+
* @memberof PaginatedDefinitionListResourceResponse
|
|
41
|
+
*/
|
|
42
|
+
data: Array<DefinitionListResource>;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {PagingMetadata}
|
|
46
|
+
* @memberof PaginatedDefinitionListResourceResponse
|
|
47
|
+
*/
|
|
48
|
+
meta: PagingMetadata;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the PaginatedDefinitionListResourceResponse interface.
|
|
53
|
+
*/
|
|
54
|
+
export function instanceOfPaginatedDefinitionListResourceResponse(value: object): value is PaginatedDefinitionListResourceResponse {
|
|
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 PaginatedDefinitionListResourceResponseFromJSON(json: any): PaginatedDefinitionListResourceResponse {
|
|
61
|
+
return PaginatedDefinitionListResourceResponseFromJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function PaginatedDefinitionListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedDefinitionListResourceResponse {
|
|
65
|
+
if (json == null) {
|
|
66
|
+
return json;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'data': ((json['data'] as Array<any>).map(DefinitionListResourceFromJSON)),
|
|
71
|
+
'meta': PagingMetadataFromJSON(json['meta']),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function PaginatedDefinitionListResourceResponseToJSON(json: any): PaginatedDefinitionListResourceResponse {
|
|
76
|
+
return PaginatedDefinitionListResourceResponseToJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function PaginatedDefinitionListResourceResponseToJSONTyped(value?: PaginatedDefinitionListResourceResponse | 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(DefinitionListResourceToJSON)),
|
|
87
|
+
'meta': PagingMetadataToJSON(value['meta']),
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
|
|
@@ -0,0 +1,90 @@
|
|
|
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 { DefinitionLiteResource } from './DefinitionLiteResource';
|
|
24
|
+
import {
|
|
25
|
+
DefinitionLiteResourceFromJSON,
|
|
26
|
+
DefinitionLiteResourceFromJSONTyped,
|
|
27
|
+
DefinitionLiteResourceToJSON,
|
|
28
|
+
DefinitionLiteResourceToJSONTyped,
|
|
29
|
+
} from './DefinitionLiteResource';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface PaginatedDefinitionLiteResourceResponse
|
|
35
|
+
*/
|
|
36
|
+
export interface PaginatedDefinitionLiteResourceResponse {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<DefinitionLiteResource>}
|
|
40
|
+
* @memberof PaginatedDefinitionLiteResourceResponse
|
|
41
|
+
*/
|
|
42
|
+
data: Array<DefinitionLiteResource>;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {PagingMetadata}
|
|
46
|
+
* @memberof PaginatedDefinitionLiteResourceResponse
|
|
47
|
+
*/
|
|
48
|
+
meta: PagingMetadata;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the PaginatedDefinitionLiteResourceResponse interface.
|
|
53
|
+
*/
|
|
54
|
+
export function instanceOfPaginatedDefinitionLiteResourceResponse(value: object): value is PaginatedDefinitionLiteResourceResponse {
|
|
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 PaginatedDefinitionLiteResourceResponseFromJSON(json: any): PaginatedDefinitionLiteResourceResponse {
|
|
61
|
+
return PaginatedDefinitionLiteResourceResponseFromJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function PaginatedDefinitionLiteResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedDefinitionLiteResourceResponse {
|
|
65
|
+
if (json == null) {
|
|
66
|
+
return json;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'data': ((json['data'] as Array<any>).map(DefinitionLiteResourceFromJSON)),
|
|
71
|
+
'meta': PagingMetadataFromJSON(json['meta']),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function PaginatedDefinitionLiteResourceResponseToJSON(json: any): PaginatedDefinitionLiteResourceResponse {
|
|
76
|
+
return PaginatedDefinitionLiteResourceResponseToJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function PaginatedDefinitionLiteResourceResponseToJSONTyped(value?: PaginatedDefinitionLiteResourceResponse | 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(DefinitionLiteResourceToJSON)),
|
|
87
|
+
'meta': PagingMetadataToJSON(value['meta']),
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
|
|
@@ -0,0 +1,90 @@
|
|
|
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 { DefinitionResource } from './DefinitionResource';
|
|
24
|
+
import {
|
|
25
|
+
DefinitionResourceFromJSON,
|
|
26
|
+
DefinitionResourceFromJSONTyped,
|
|
27
|
+
DefinitionResourceToJSON,
|
|
28
|
+
DefinitionResourceToJSONTyped,
|
|
29
|
+
} from './DefinitionResource';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface PaginatedDefinitionResourceResponse
|
|
35
|
+
*/
|
|
36
|
+
export interface PaginatedDefinitionResourceResponse {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<DefinitionResource>}
|
|
40
|
+
* @memberof PaginatedDefinitionResourceResponse
|
|
41
|
+
*/
|
|
42
|
+
data: Array<DefinitionResource>;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {PagingMetadata}
|
|
46
|
+
* @memberof PaginatedDefinitionResourceResponse
|
|
47
|
+
*/
|
|
48
|
+
meta: PagingMetadata;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the PaginatedDefinitionResourceResponse interface.
|
|
53
|
+
*/
|
|
54
|
+
export function instanceOfPaginatedDefinitionResourceResponse(value: object): value is PaginatedDefinitionResourceResponse {
|
|
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 PaginatedDefinitionResourceResponseFromJSON(json: any): PaginatedDefinitionResourceResponse {
|
|
61
|
+
return PaginatedDefinitionResourceResponseFromJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function PaginatedDefinitionResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedDefinitionResourceResponse {
|
|
65
|
+
if (json == null) {
|
|
66
|
+
return json;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'data': ((json['data'] as Array<any>).map(DefinitionResourceFromJSON)),
|
|
71
|
+
'meta': PagingMetadataFromJSON(json['meta']),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function PaginatedDefinitionResourceResponseToJSON(json: any): PaginatedDefinitionResourceResponse {
|
|
76
|
+
return PaginatedDefinitionResourceResponseToJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function PaginatedDefinitionResourceResponseToJSONTyped(value?: PaginatedDefinitionResourceResponse | 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(DefinitionResourceToJSON)),
|
|
87
|
+
'meta': PagingMetadataToJSON(value['meta']),
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
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 StoreDefinitionRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface StoreDefinitionRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof StoreDefinitionRequest
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof StoreDefinitionRequest
|
|
32
|
+
*/
|
|
33
|
+
content: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the StoreDefinitionRequest interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfStoreDefinitionRequest(value: object): value is StoreDefinitionRequest {
|
|
40
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
41
|
+
if (!('content' in value) || value['content'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function StoreDefinitionRequestFromJSON(json: any): StoreDefinitionRequest {
|
|
46
|
+
return StoreDefinitionRequestFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function StoreDefinitionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreDefinitionRequest {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'name': json['name'],
|
|
56
|
+
'content': json['content'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function StoreDefinitionRequestToJSON(json: any): StoreDefinitionRequest {
|
|
61
|
+
return StoreDefinitionRequestToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function StoreDefinitionRequestToJSONTyped(value?: StoreDefinitionRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'name': value['name'],
|
|
72
|
+
'content': value['content'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
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 UpdateDefinitionRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateDefinitionRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof UpdateDefinitionRequest
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof UpdateDefinitionRequest
|
|
32
|
+
*/
|
|
33
|
+
content: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the UpdateDefinitionRequest interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfUpdateDefinitionRequest(value: object): value is UpdateDefinitionRequest {
|
|
40
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
41
|
+
if (!('content' in value) || value['content'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function UpdateDefinitionRequestFromJSON(json: any): UpdateDefinitionRequest {
|
|
46
|
+
return UpdateDefinitionRequestFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function UpdateDefinitionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateDefinitionRequest {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'name': json['name'],
|
|
56
|
+
'content': json['content'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function UpdateDefinitionRequestToJSON(json: any): UpdateDefinitionRequest {
|
|
61
|
+
return UpdateDefinitionRequestToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function UpdateDefinitionRequestToJSONTyped(value?: UpdateDefinitionRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'name': value['name'],
|
|
72
|
+
'content': value['content'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export * from './AssetFileForUploadResource';
|
|
4
4
|
export * from './AssetFileForUploadResourceArrayResponse';
|
|
5
|
-
export * from './AssetFrontendResource';
|
|
6
|
-
export * from './AssetFrontendResourceArrayResponse';
|
|
7
5
|
export * from './AssetLiteResource';
|
|
8
6
|
export * from './AssetLiteResourceArrayResponse';
|
|
9
7
|
export * from './AssetResource';
|
|
@@ -35,6 +33,12 @@ export * from './CategoryAutomationFieldType';
|
|
|
35
33
|
export * from './CategoryAutomationRuleResource';
|
|
36
34
|
export * from './CategoryAutomationRuleResourceArrayResponse';
|
|
37
35
|
export * from './CouponDiscountType';
|
|
36
|
+
export * from './DefinitionListResource';
|
|
37
|
+
export * from './DefinitionListResourceArrayResponse';
|
|
38
|
+
export * from './DefinitionLiteResource';
|
|
39
|
+
export * from './DefinitionLiteResourceArrayResponse';
|
|
40
|
+
export * from './DefinitionResource';
|
|
41
|
+
export * from './DefinitionResourceArrayResponse';
|
|
38
42
|
export * from './DescriptionResource';
|
|
39
43
|
export * from './DescriptionResourceArrayResponse';
|
|
40
44
|
export * from './DestroyAttributeValueRequest';
|
|
@@ -45,8 +49,6 @@ export * from './DetachDocumentsProductChildSiteDetailRequest';
|
|
|
45
49
|
export * from './DetachProductsProductCategoryRequest';
|
|
46
50
|
export * from './DocumentFileForUploadResource';
|
|
47
51
|
export * from './DocumentFileForUploadResourceArrayResponse';
|
|
48
|
-
export * from './DocumentFrontendResource';
|
|
49
|
-
export * from './DocumentFrontendResourceArrayResponse';
|
|
50
52
|
export * from './DocumentLiteResource';
|
|
51
53
|
export * from './DocumentLiteResourceArrayResponse';
|
|
52
54
|
export * from './DocumentResource';
|
|
@@ -59,6 +61,7 @@ export * from './ExternalApiProvider';
|
|
|
59
61
|
export * from './ExternalApiSyncStatus';
|
|
60
62
|
export * from './GenericResponse';
|
|
61
63
|
export * from './GetAllAttributeRequest';
|
|
64
|
+
export * from './GetAllDefinitionRequest';
|
|
62
65
|
export * from './GetAllDocumentRequest';
|
|
63
66
|
export * from './GetAllGoogleCategoryRequest';
|
|
64
67
|
export * from './GetAllOverlayTemplateRequest';
|
|
@@ -78,6 +81,7 @@ export * from './GlobalSearchResponseResourceArrayResponse';
|
|
|
78
81
|
export * from './GoogleCategoryResource';
|
|
79
82
|
export * from './GoogleCategoryResourceArrayResponse';
|
|
80
83
|
export * from './IndexAttributeRequest';
|
|
84
|
+
export * from './IndexDefinitionRequest';
|
|
81
85
|
export * from './IndexDocumentRequest';
|
|
82
86
|
export * from './IndexExternalApiLogRequest';
|
|
83
87
|
export * from './IndexOverlayTemplateRequest';
|
|
@@ -91,8 +95,6 @@ export * from './IndexSupplierRequest';
|
|
|
91
95
|
export * from './IndexTagRequest';
|
|
92
96
|
export * from './ModelAttributeResource';
|
|
93
97
|
export * from './ModelAttributeResourceArrayResponse';
|
|
94
|
-
export * from './OverlayTemplateAssetFrontendResource';
|
|
95
|
-
export * from './OverlayTemplateAssetFrontendResourceArrayResponse';
|
|
96
98
|
export * from './OverlayTemplateAssetPosition';
|
|
97
99
|
export * from './OverlayTemplateAssetResource';
|
|
98
100
|
export * from './OverlayTemplateAssetResourceArrayResponse';
|
|
@@ -106,6 +108,9 @@ export * from './PaginatedAttributeListResourceResponse';
|
|
|
106
108
|
export * from './PaginatedAttributeLiteResourceResponse';
|
|
107
109
|
export * from './PaginatedAttributeProductTypeRelationResourceResponse';
|
|
108
110
|
export * from './PaginatedAttributeResourceResponse';
|
|
111
|
+
export * from './PaginatedDefinitionListResourceResponse';
|
|
112
|
+
export * from './PaginatedDefinitionLiteResourceResponse';
|
|
113
|
+
export * from './PaginatedDefinitionResourceResponse';
|
|
109
114
|
export * from './PaginatedDocumentResourceResponse';
|
|
110
115
|
export * from './PaginatedExternalApiLogListResourceResponse';
|
|
111
116
|
export * from './PaginatedExternalApiLogResourceResponse';
|
|
@@ -167,8 +172,6 @@ export * from './ProductChildSiteDetailLiteResource';
|
|
|
167
172
|
export * from './ProductChildSiteDetailLiteResourceArrayResponse';
|
|
168
173
|
export * from './ProductChildSiteDetailResource';
|
|
169
174
|
export * from './ProductChildSiteDetailResourceArrayResponse';
|
|
170
|
-
export * from './ProductCompareResource';
|
|
171
|
-
export * from './ProductCompareResourceArrayResponse';
|
|
172
175
|
export * from './ProductListResource';
|
|
173
176
|
export * from './ProductListResourceArrayResponse';
|
|
174
177
|
export * from './ProductLiteResource';
|
|
@@ -209,6 +212,7 @@ export * from './SiteResourceArrayResponse';
|
|
|
209
212
|
export * from './StoreAssetFileRequest';
|
|
210
213
|
export * from './StoreAttributeRequest';
|
|
211
214
|
export * from './StoreAttributeValueRequest';
|
|
215
|
+
export * from './StoreDefinitionRequest';
|
|
212
216
|
export * from './StoreDocumentFileRequest';
|
|
213
217
|
export * from './StoreDocumentRequest';
|
|
214
218
|
export * from './StoreOverlayTemplateAssetRequest';
|
|
@@ -244,6 +248,7 @@ export * from './TagResourceArrayResponse';
|
|
|
244
248
|
export * from './TagType';
|
|
245
249
|
export * from './UpdateAttributeRequest';
|
|
246
250
|
export * from './UpdateAttributeValueRequest';
|
|
251
|
+
export * from './UpdateDefinitionRequest';
|
|
247
252
|
export * from './UpdateDocumentRequest';
|
|
248
253
|
export * from './UpdateFilterOrderAttributeRequest';
|
|
249
254
|
export * from './UpdateFilterOrderAttributeRequestValuesInner';
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface AssetFrontendResource
|
|
16
|
-
*/
|
|
17
|
-
export interface AssetFrontendResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof AssetFrontendResource
|
|
22
|
-
*/
|
|
23
|
-
id: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof AssetFrontendResource
|
|
28
|
-
*/
|
|
29
|
-
filePath: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof AssetFrontendResource
|
|
34
|
-
*/
|
|
35
|
-
fileName: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof AssetFrontendResource
|
|
40
|
-
*/
|
|
41
|
-
altText: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof AssetFrontendResource
|
|
46
|
-
*/
|
|
47
|
-
index: number;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {boolean}
|
|
51
|
-
* @memberof AssetFrontendResource
|
|
52
|
-
*/
|
|
53
|
-
isThumbnail: boolean;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {boolean}
|
|
57
|
-
* @memberof AssetFrontendResource
|
|
58
|
-
*/
|
|
59
|
-
isLifestyle: boolean;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {object}
|
|
63
|
-
* @memberof AssetFrontendResource
|
|
64
|
-
*/
|
|
65
|
-
overlays: object;
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Check if a given object implements the AssetFrontendResource interface.
|
|
69
|
-
*/
|
|
70
|
-
export declare function instanceOfAssetFrontendResource(value: object): value is AssetFrontendResource;
|
|
71
|
-
export declare function AssetFrontendResourceFromJSON(json: any): AssetFrontendResource;
|
|
72
|
-
export declare function AssetFrontendResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssetFrontendResource;
|
|
73
|
-
export declare function AssetFrontendResourceToJSON(json: any): AssetFrontendResource;
|
|
74
|
-
export declare function AssetFrontendResourceToJSONTyped(value?: AssetFrontendResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* My API
|
|
6
|
-
* API documentation for my Laravel app
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfAssetFrontendResource = instanceOfAssetFrontendResource;
|
|
17
|
-
exports.AssetFrontendResourceFromJSON = AssetFrontendResourceFromJSON;
|
|
18
|
-
exports.AssetFrontendResourceFromJSONTyped = AssetFrontendResourceFromJSONTyped;
|
|
19
|
-
exports.AssetFrontendResourceToJSON = AssetFrontendResourceToJSON;
|
|
20
|
-
exports.AssetFrontendResourceToJSONTyped = AssetFrontendResourceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the AssetFrontendResource interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfAssetFrontendResource(value) {
|
|
25
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('filePath' in value) || value['filePath'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('fileName' in value) || value['fileName'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('altText' in value) || value['altText'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
if (!('index' in value) || value['index'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
if (!('isThumbnail' in value) || value['isThumbnail'] === undefined)
|
|
36
|
-
return false;
|
|
37
|
-
if (!('isLifestyle' in value) || value['isLifestyle'] === undefined)
|
|
38
|
-
return false;
|
|
39
|
-
if (!('overlays' in value) || value['overlays'] === undefined)
|
|
40
|
-
return false;
|
|
41
|
-
return true;
|
|
42
|
-
}
|
|
43
|
-
function AssetFrontendResourceFromJSON(json) {
|
|
44
|
-
return AssetFrontendResourceFromJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
function AssetFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
-
if (json == null) {
|
|
48
|
-
return json;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'id': json['id'],
|
|
52
|
-
'filePath': json['filePath'],
|
|
53
|
-
'fileName': json['fileName'],
|
|
54
|
-
'altText': json['altText'],
|
|
55
|
-
'index': json['index'],
|
|
56
|
-
'isThumbnail': json['isThumbnail'],
|
|
57
|
-
'isLifestyle': json['isLifestyle'],
|
|
58
|
-
'overlays': json['overlays'],
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
function AssetFrontendResourceToJSON(json) {
|
|
62
|
-
return AssetFrontendResourceToJSONTyped(json, false);
|
|
63
|
-
}
|
|
64
|
-
function AssetFrontendResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
65
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
66
|
-
if (value == null) {
|
|
67
|
-
return value;
|
|
68
|
-
}
|
|
69
|
-
return {
|
|
70
|
-
'id': value['id'],
|
|
71
|
-
'filePath': value['filePath'],
|
|
72
|
-
'fileName': value['fileName'],
|
|
73
|
-
'altText': value['altText'],
|
|
74
|
-
'index': value['index'],
|
|
75
|
-
'isThumbnail': value['isThumbnail'],
|
|
76
|
-
'isLifestyle': value['isLifestyle'],
|
|
77
|
-
'overlays': value['overlays'],
|
|
78
|
-
};
|
|
79
|
-
}
|