@digital8/lighting-illusions-ts-sdk 0.0.649 → 0.0.650
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 +22 -8
- package/README.md +18 -6
- 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 +38 -0
- package/dist/models/DefinitionListResource.js +55 -0
- package/dist/models/DefinitionListResourceArrayResponse.d.ts +33 -0
- package/dist/models/DefinitionListResourceArrayResponse.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/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/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/UpdateDefinitionRequest.d.ts +38 -0
- package/dist/models/UpdateDefinitionRequest.js +55 -0
- package/dist/models/index.d.ts +10 -4
- package/dist/models/index.js +10 -4
- package/docs/DefinitionApi.md +407 -0
- package/docs/{WishlistToggleResource.md → DefinitionListResource.md} +8 -8
- package/docs/{WishlistToggleResourceArrayResponse.md → DefinitionListResourceArrayResponse.md} +5 -5
- package/docs/DefinitionResource.md +38 -0
- package/docs/{WishlistCheckResourceArrayResponse.md → DefinitionResourceArrayResponse.md} +5 -5
- package/docs/GetAllDefinitionRequest.md +44 -0
- package/docs/IndexDefinitionRequest.md +48 -0
- package/docs/PaginatedDefinitionListResourceResponse.md +36 -0
- package/docs/PaginatedDefinitionResourceResponse.md +36 -0
- package/docs/{WishlistCheckResource.md → StoreDefinitionRequest.md} +8 -6
- 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 +75 -0
- package/src/models/DefinitionListResourceArrayResponse.ts +73 -0
- package/src/models/DefinitionResource.ts +84 -0
- package/src/models/DefinitionResourceArrayResponse.ts +73 -0
- package/src/models/GetAllDefinitionRequest.ts +127 -0
- package/src/models/IndexDefinitionRequest.ts +143 -0
- package/src/models/PaginatedDefinitionListResourceResponse.ts +90 -0
- package/src/models/PaginatedDefinitionResourceResponse.ts +90 -0
- package/src/models/StoreDefinitionRequest.ts +75 -0
- package/src/models/UpdateDefinitionRequest.ts +75 -0
- package/src/models/index.ts +10 -4
- package/dist/models/WishlistCheckResource.d.ts +0 -32
- package/dist/models/WishlistCheckResource.js +0 -51
- package/dist/models/WishlistCheckResourceArrayResponse.d.ts +0 -33
- package/dist/models/WishlistCheckResourceArrayResponse.js +0 -50
- package/dist/models/WishlistToggleResource.d.ts +0 -38
- package/dist/models/WishlistToggleResource.js +0 -55
- package/dist/models/WishlistToggleResourceArrayResponse.d.ts +0 -33
- package/dist/models/WishlistToggleResourceArrayResponse.js +0 -50
- package/src/models/WishlistCheckResource.ts +0 -66
- package/src/models/WishlistCheckResourceArrayResponse.ts +0 -73
- package/src/models/WishlistToggleResource.ts +0 -75
- package/src/models/WishlistToggleResourceArrayResponse.ts +0 -73
|
@@ -0,0 +1,80 @@
|
|
|
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.IndexDefinitionRequestSortDirectionEnum = exports.IndexDefinitionRequestSortByEnum = void 0;
|
|
17
|
+
exports.instanceOfIndexDefinitionRequest = instanceOfIndexDefinitionRequest;
|
|
18
|
+
exports.IndexDefinitionRequestFromJSON = IndexDefinitionRequestFromJSON;
|
|
19
|
+
exports.IndexDefinitionRequestFromJSONTyped = IndexDefinitionRequestFromJSONTyped;
|
|
20
|
+
exports.IndexDefinitionRequestToJSON = IndexDefinitionRequestToJSON;
|
|
21
|
+
exports.IndexDefinitionRequestToJSONTyped = IndexDefinitionRequestToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.IndexDefinitionRequestSortByEnum = {
|
|
26
|
+
Id: 'id',
|
|
27
|
+
Name: 'name',
|
|
28
|
+
CreatedAt: 'created_at',
|
|
29
|
+
UpdatedAt: 'updated_at'
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
exports.IndexDefinitionRequestSortDirectionEnum = {
|
|
35
|
+
Asc: 'asc',
|
|
36
|
+
Desc: 'desc'
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the IndexDefinitionRequest interface.
|
|
40
|
+
*/
|
|
41
|
+
function instanceOfIndexDefinitionRequest(value) {
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
function IndexDefinitionRequestFromJSON(json) {
|
|
45
|
+
return IndexDefinitionRequestFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function IndexDefinitionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'search': json['search'] == null ? undefined : json['search'],
|
|
53
|
+
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
54
|
+
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
55
|
+
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
56
|
+
'page': json['page'] == null ? undefined : json['page'],
|
|
57
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
58
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
59
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
function IndexDefinitionRequestToJSON(json) {
|
|
63
|
+
return IndexDefinitionRequestToJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
function IndexDefinitionRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
66
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
'search': value['search'],
|
|
72
|
+
'sortBy': value['sortBy'],
|
|
73
|
+
'sortDirection': value['sortDirection'],
|
|
74
|
+
'per_page': value['perPage'],
|
|
75
|
+
'page': value['page'],
|
|
76
|
+
'related_id': value['relatedId'],
|
|
77
|
+
'related_type': value['relatedType'],
|
|
78
|
+
'includes_relations': value['includesRelations'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
@@ -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 { DefinitionListResource } from './DefinitionListResource';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedDefinitionListResourceResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedDefinitionListResourceResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<DefinitionListResource>}
|
|
23
|
+
* @memberof PaginatedDefinitionListResourceResponse
|
|
24
|
+
*/
|
|
25
|
+
data: Array<DefinitionListResource>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PagingMetadata}
|
|
29
|
+
* @memberof PaginatedDefinitionListResourceResponse
|
|
30
|
+
*/
|
|
31
|
+
meta: PagingMetadata;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedDefinitionListResourceResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedDefinitionListResourceResponse(value: object): value is PaginatedDefinitionListResourceResponse;
|
|
37
|
+
export declare function PaginatedDefinitionListResourceResponseFromJSON(json: any): PaginatedDefinitionListResourceResponse;
|
|
38
|
+
export declare function PaginatedDefinitionListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedDefinitionListResourceResponse;
|
|
39
|
+
export declare function PaginatedDefinitionListResourceResponseToJSON(json: any): PaginatedDefinitionListResourceResponse;
|
|
40
|
+
export declare function PaginatedDefinitionListResourceResponseToJSONTyped(value?: PaginatedDefinitionListResourceResponse | 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.instanceOfPaginatedDefinitionListResourceResponse = instanceOfPaginatedDefinitionListResourceResponse;
|
|
17
|
+
exports.PaginatedDefinitionListResourceResponseFromJSON = PaginatedDefinitionListResourceResponseFromJSON;
|
|
18
|
+
exports.PaginatedDefinitionListResourceResponseFromJSONTyped = PaginatedDefinitionListResourceResponseFromJSONTyped;
|
|
19
|
+
exports.PaginatedDefinitionListResourceResponseToJSON = PaginatedDefinitionListResourceResponseToJSON;
|
|
20
|
+
exports.PaginatedDefinitionListResourceResponseToJSONTyped = PaginatedDefinitionListResourceResponseToJSONTyped;
|
|
21
|
+
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
+
var DefinitionListResource_1 = require("./DefinitionListResource");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PaginatedDefinitionListResourceResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPaginatedDefinitionListResourceResponse(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 PaginatedDefinitionListResourceResponseFromJSON(json) {
|
|
34
|
+
return PaginatedDefinitionListResourceResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PaginatedDefinitionListResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'data': (json['data'].map(DefinitionListResource_1.DefinitionListResourceFromJSON)),
|
|
42
|
+
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PaginatedDefinitionListResourceResponseToJSON(json) {
|
|
46
|
+
return PaginatedDefinitionListResourceResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PaginatedDefinitionListResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'data': (value['data'].map(DefinitionListResource_1.DefinitionListResourceToJSON)),
|
|
55
|
+
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -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 { DefinitionResource } from './DefinitionResource';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedDefinitionResourceResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedDefinitionResourceResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<DefinitionResource>}
|
|
23
|
+
* @memberof PaginatedDefinitionResourceResponse
|
|
24
|
+
*/
|
|
25
|
+
data: Array<DefinitionResource>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PagingMetadata}
|
|
29
|
+
* @memberof PaginatedDefinitionResourceResponse
|
|
30
|
+
*/
|
|
31
|
+
meta: PagingMetadata;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedDefinitionResourceResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedDefinitionResourceResponse(value: object): value is PaginatedDefinitionResourceResponse;
|
|
37
|
+
export declare function PaginatedDefinitionResourceResponseFromJSON(json: any): PaginatedDefinitionResourceResponse;
|
|
38
|
+
export declare function PaginatedDefinitionResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedDefinitionResourceResponse;
|
|
39
|
+
export declare function PaginatedDefinitionResourceResponseToJSON(json: any): PaginatedDefinitionResourceResponse;
|
|
40
|
+
export declare function PaginatedDefinitionResourceResponseToJSONTyped(value?: PaginatedDefinitionResourceResponse | 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.instanceOfPaginatedDefinitionResourceResponse = instanceOfPaginatedDefinitionResourceResponse;
|
|
17
|
+
exports.PaginatedDefinitionResourceResponseFromJSON = PaginatedDefinitionResourceResponseFromJSON;
|
|
18
|
+
exports.PaginatedDefinitionResourceResponseFromJSONTyped = PaginatedDefinitionResourceResponseFromJSONTyped;
|
|
19
|
+
exports.PaginatedDefinitionResourceResponseToJSON = PaginatedDefinitionResourceResponseToJSON;
|
|
20
|
+
exports.PaginatedDefinitionResourceResponseToJSONTyped = PaginatedDefinitionResourceResponseToJSONTyped;
|
|
21
|
+
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
+
var DefinitionResource_1 = require("./DefinitionResource");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PaginatedDefinitionResourceResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPaginatedDefinitionResourceResponse(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 PaginatedDefinitionResourceResponseFromJSON(json) {
|
|
34
|
+
return PaginatedDefinitionResourceResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PaginatedDefinitionResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'data': (json['data'].map(DefinitionResource_1.DefinitionResourceFromJSON)),
|
|
42
|
+
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PaginatedDefinitionResourceResponseToJSON(json) {
|
|
46
|
+
return PaginatedDefinitionResourceResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PaginatedDefinitionResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'data': (value['data'].map(DefinitionResource_1.DefinitionResourceToJSON)),
|
|
55
|
+
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 StoreDefinitionRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface StoreDefinitionRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof StoreDefinitionRequest
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof StoreDefinitionRequest
|
|
28
|
+
*/
|
|
29
|
+
content: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the StoreDefinitionRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfStoreDefinitionRequest(value: object): value is StoreDefinitionRequest;
|
|
35
|
+
export declare function StoreDefinitionRequestFromJSON(json: any): StoreDefinitionRequest;
|
|
36
|
+
export declare function StoreDefinitionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreDefinitionRequest;
|
|
37
|
+
export declare function StoreDefinitionRequestToJSON(json: any): StoreDefinitionRequest;
|
|
38
|
+
export declare function StoreDefinitionRequestToJSONTyped(value?: StoreDefinitionRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfStoreDefinitionRequest = instanceOfStoreDefinitionRequest;
|
|
17
|
+
exports.StoreDefinitionRequestFromJSON = StoreDefinitionRequestFromJSON;
|
|
18
|
+
exports.StoreDefinitionRequestFromJSONTyped = StoreDefinitionRequestFromJSONTyped;
|
|
19
|
+
exports.StoreDefinitionRequestToJSON = StoreDefinitionRequestToJSON;
|
|
20
|
+
exports.StoreDefinitionRequestToJSONTyped = StoreDefinitionRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the StoreDefinitionRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfStoreDefinitionRequest(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('content' in value) || value['content'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function StoreDefinitionRequestFromJSON(json) {
|
|
32
|
+
return StoreDefinitionRequestFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function StoreDefinitionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'name': json['name'],
|
|
40
|
+
'content': json['content'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function StoreDefinitionRequestToJSON(json) {
|
|
44
|
+
return StoreDefinitionRequestToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function StoreDefinitionRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'name': value['name'],
|
|
53
|
+
'content': value['content'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 UpdateDefinitionRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateDefinitionRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateDefinitionRequest
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateDefinitionRequest
|
|
28
|
+
*/
|
|
29
|
+
content: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the UpdateDefinitionRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfUpdateDefinitionRequest(value: object): value is UpdateDefinitionRequest;
|
|
35
|
+
export declare function UpdateDefinitionRequestFromJSON(json: any): UpdateDefinitionRequest;
|
|
36
|
+
export declare function UpdateDefinitionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateDefinitionRequest;
|
|
37
|
+
export declare function UpdateDefinitionRequestToJSON(json: any): UpdateDefinitionRequest;
|
|
38
|
+
export declare function UpdateDefinitionRequestToJSONTyped(value?: UpdateDefinitionRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfUpdateDefinitionRequest = instanceOfUpdateDefinitionRequest;
|
|
17
|
+
exports.UpdateDefinitionRequestFromJSON = UpdateDefinitionRequestFromJSON;
|
|
18
|
+
exports.UpdateDefinitionRequestFromJSONTyped = UpdateDefinitionRequestFromJSONTyped;
|
|
19
|
+
exports.UpdateDefinitionRequestToJSON = UpdateDefinitionRequestToJSON;
|
|
20
|
+
exports.UpdateDefinitionRequestToJSONTyped = UpdateDefinitionRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UpdateDefinitionRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfUpdateDefinitionRequest(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('content' in value) || value['content'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function UpdateDefinitionRequestFromJSON(json) {
|
|
32
|
+
return UpdateDefinitionRequestFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function UpdateDefinitionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'name': json['name'],
|
|
40
|
+
'content': json['content'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function UpdateDefinitionRequestToJSON(json) {
|
|
44
|
+
return UpdateDefinitionRequestToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function UpdateDefinitionRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'name': value['name'],
|
|
53
|
+
'content': value['content'],
|
|
54
|
+
};
|
|
55
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -33,6 +33,10 @@ export * from './CategoryAutomationFieldType';
|
|
|
33
33
|
export * from './CategoryAutomationRuleResource';
|
|
34
34
|
export * from './CategoryAutomationRuleResourceArrayResponse';
|
|
35
35
|
export * from './CouponDiscountType';
|
|
36
|
+
export * from './DefinitionListResource';
|
|
37
|
+
export * from './DefinitionListResourceArrayResponse';
|
|
38
|
+
export * from './DefinitionResource';
|
|
39
|
+
export * from './DefinitionResourceArrayResponse';
|
|
36
40
|
export * from './DescriptionResource';
|
|
37
41
|
export * from './DescriptionResourceArrayResponse';
|
|
38
42
|
export * from './DestroyAttributeValueRequest';
|
|
@@ -57,6 +61,7 @@ export * from './ExternalApiProvider';
|
|
|
57
61
|
export * from './ExternalApiSyncStatus';
|
|
58
62
|
export * from './GenericResponse';
|
|
59
63
|
export * from './GetAllAttributeRequest';
|
|
64
|
+
export * from './GetAllDefinitionRequest';
|
|
60
65
|
export * from './GetAllDocumentRequest';
|
|
61
66
|
export * from './GetAllGoogleCategoryRequest';
|
|
62
67
|
export * from './GetAllOverlayTemplateRequest';
|
|
@@ -76,6 +81,7 @@ export * from './GlobalSearchResponseResourceArrayResponse';
|
|
|
76
81
|
export * from './GoogleCategoryResource';
|
|
77
82
|
export * from './GoogleCategoryResourceArrayResponse';
|
|
78
83
|
export * from './IndexAttributeRequest';
|
|
84
|
+
export * from './IndexDefinitionRequest';
|
|
79
85
|
export * from './IndexDocumentRequest';
|
|
80
86
|
export * from './IndexExternalApiLogRequest';
|
|
81
87
|
export * from './IndexOverlayTemplateRequest';
|
|
@@ -104,6 +110,8 @@ export * from './PaginatedAttributeListResourceResponse';
|
|
|
104
110
|
export * from './PaginatedAttributeLiteResourceResponse';
|
|
105
111
|
export * from './PaginatedAttributeProductTypeRelationResourceResponse';
|
|
106
112
|
export * from './PaginatedAttributeResourceResponse';
|
|
113
|
+
export * from './PaginatedDefinitionListResourceResponse';
|
|
114
|
+
export * from './PaginatedDefinitionResourceResponse';
|
|
107
115
|
export * from './PaginatedDocumentResourceResponse';
|
|
108
116
|
export * from './PaginatedExternalApiLogListResourceResponse';
|
|
109
117
|
export * from './PaginatedExternalApiLogResourceResponse';
|
|
@@ -207,6 +215,7 @@ export * from './SiteResourceArrayResponse';
|
|
|
207
215
|
export * from './StoreAssetFileRequest';
|
|
208
216
|
export * from './StoreAttributeRequest';
|
|
209
217
|
export * from './StoreAttributeValueRequest';
|
|
218
|
+
export * from './StoreDefinitionRequest';
|
|
210
219
|
export * from './StoreDocumentFileRequest';
|
|
211
220
|
export * from './StoreDocumentRequest';
|
|
212
221
|
export * from './StoreOverlayTemplateAssetRequest';
|
|
@@ -242,6 +251,7 @@ export * from './TagResourceArrayResponse';
|
|
|
242
251
|
export * from './TagType';
|
|
243
252
|
export * from './UpdateAttributeRequest';
|
|
244
253
|
export * from './UpdateAttributeValueRequest';
|
|
254
|
+
export * from './UpdateDefinitionRequest';
|
|
245
255
|
export * from './UpdateDocumentRequest';
|
|
246
256
|
export * from './UpdateFilterOrderAttributeRequest';
|
|
247
257
|
export * from './UpdateFilterOrderAttributeRequestValuesInner';
|
|
@@ -258,7 +268,3 @@ export * from './UpdateSiteNotificationRequest';
|
|
|
258
268
|
export * from './UpdateSiteRequest';
|
|
259
269
|
export * from './UpdateSupplierRequest';
|
|
260
270
|
export * from './UpdateTagRequest';
|
|
261
|
-
export * from './WishlistCheckResource';
|
|
262
|
-
export * from './WishlistCheckResourceArrayResponse';
|
|
263
|
-
export * from './WishlistToggleResource';
|
|
264
|
-
export * from './WishlistToggleResourceArrayResponse';
|
package/dist/models/index.js
CHANGED
|
@@ -51,6 +51,10 @@ __exportStar(require("./CategoryAutomationFieldType"), exports);
|
|
|
51
51
|
__exportStar(require("./CategoryAutomationRuleResource"), exports);
|
|
52
52
|
__exportStar(require("./CategoryAutomationRuleResourceArrayResponse"), exports);
|
|
53
53
|
__exportStar(require("./CouponDiscountType"), exports);
|
|
54
|
+
__exportStar(require("./DefinitionListResource"), exports);
|
|
55
|
+
__exportStar(require("./DefinitionListResourceArrayResponse"), exports);
|
|
56
|
+
__exportStar(require("./DefinitionResource"), exports);
|
|
57
|
+
__exportStar(require("./DefinitionResourceArrayResponse"), exports);
|
|
54
58
|
__exportStar(require("./DescriptionResource"), exports);
|
|
55
59
|
__exportStar(require("./DescriptionResourceArrayResponse"), exports);
|
|
56
60
|
__exportStar(require("./DestroyAttributeValueRequest"), exports);
|
|
@@ -75,6 +79,7 @@ __exportStar(require("./ExternalApiProvider"), exports);
|
|
|
75
79
|
__exportStar(require("./ExternalApiSyncStatus"), exports);
|
|
76
80
|
__exportStar(require("./GenericResponse"), exports);
|
|
77
81
|
__exportStar(require("./GetAllAttributeRequest"), exports);
|
|
82
|
+
__exportStar(require("./GetAllDefinitionRequest"), exports);
|
|
78
83
|
__exportStar(require("./GetAllDocumentRequest"), exports);
|
|
79
84
|
__exportStar(require("./GetAllGoogleCategoryRequest"), exports);
|
|
80
85
|
__exportStar(require("./GetAllOverlayTemplateRequest"), exports);
|
|
@@ -94,6 +99,7 @@ __exportStar(require("./GlobalSearchResponseResourceArrayResponse"), exports);
|
|
|
94
99
|
__exportStar(require("./GoogleCategoryResource"), exports);
|
|
95
100
|
__exportStar(require("./GoogleCategoryResourceArrayResponse"), exports);
|
|
96
101
|
__exportStar(require("./IndexAttributeRequest"), exports);
|
|
102
|
+
__exportStar(require("./IndexDefinitionRequest"), exports);
|
|
97
103
|
__exportStar(require("./IndexDocumentRequest"), exports);
|
|
98
104
|
__exportStar(require("./IndexExternalApiLogRequest"), exports);
|
|
99
105
|
__exportStar(require("./IndexOverlayTemplateRequest"), exports);
|
|
@@ -122,6 +128,8 @@ __exportStar(require("./PaginatedAttributeListResourceResponse"), exports);
|
|
|
122
128
|
__exportStar(require("./PaginatedAttributeLiteResourceResponse"), exports);
|
|
123
129
|
__exportStar(require("./PaginatedAttributeProductTypeRelationResourceResponse"), exports);
|
|
124
130
|
__exportStar(require("./PaginatedAttributeResourceResponse"), exports);
|
|
131
|
+
__exportStar(require("./PaginatedDefinitionListResourceResponse"), exports);
|
|
132
|
+
__exportStar(require("./PaginatedDefinitionResourceResponse"), exports);
|
|
125
133
|
__exportStar(require("./PaginatedDocumentResourceResponse"), exports);
|
|
126
134
|
__exportStar(require("./PaginatedExternalApiLogListResourceResponse"), exports);
|
|
127
135
|
__exportStar(require("./PaginatedExternalApiLogResourceResponse"), exports);
|
|
@@ -225,6 +233,7 @@ __exportStar(require("./SiteResourceArrayResponse"), exports);
|
|
|
225
233
|
__exportStar(require("./StoreAssetFileRequest"), exports);
|
|
226
234
|
__exportStar(require("./StoreAttributeRequest"), exports);
|
|
227
235
|
__exportStar(require("./StoreAttributeValueRequest"), exports);
|
|
236
|
+
__exportStar(require("./StoreDefinitionRequest"), exports);
|
|
228
237
|
__exportStar(require("./StoreDocumentFileRequest"), exports);
|
|
229
238
|
__exportStar(require("./StoreDocumentRequest"), exports);
|
|
230
239
|
__exportStar(require("./StoreOverlayTemplateAssetRequest"), exports);
|
|
@@ -260,6 +269,7 @@ __exportStar(require("./TagResourceArrayResponse"), exports);
|
|
|
260
269
|
__exportStar(require("./TagType"), exports);
|
|
261
270
|
__exportStar(require("./UpdateAttributeRequest"), exports);
|
|
262
271
|
__exportStar(require("./UpdateAttributeValueRequest"), exports);
|
|
272
|
+
__exportStar(require("./UpdateDefinitionRequest"), exports);
|
|
263
273
|
__exportStar(require("./UpdateDocumentRequest"), exports);
|
|
264
274
|
__exportStar(require("./UpdateFilterOrderAttributeRequest"), exports);
|
|
265
275
|
__exportStar(require("./UpdateFilterOrderAttributeRequestValuesInner"), exports);
|
|
@@ -276,7 +286,3 @@ __exportStar(require("./UpdateSiteNotificationRequest"), exports);
|
|
|
276
286
|
__exportStar(require("./UpdateSiteRequest"), exports);
|
|
277
287
|
__exportStar(require("./UpdateSupplierRequest"), exports);
|
|
278
288
|
__exportStar(require("./UpdateTagRequest"), exports);
|
|
279
|
-
__exportStar(require("./WishlistCheckResource"), exports);
|
|
280
|
-
__exportStar(require("./WishlistCheckResourceArrayResponse"), exports);
|
|
281
|
-
__exportStar(require("./WishlistToggleResource"), exports);
|
|
282
|
-
__exportStar(require("./WishlistToggleResourceArrayResponse"), exports);
|