@digital8/lighting-illusions-ts-sdk 0.0.634 → 0.0.636
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 +50 -6
- package/README.md +32 -5
- package/dist/apis/DefinitionApi.d.ts +85 -0
- package/dist/apis/DefinitionApi.js +355 -0
- package/dist/apis/index.d.ts +1 -1
- package/dist/apis/index.js +1 -1
- package/dist/models/AssetFrontendResource.d.ts +74 -0
- package/dist/models/AssetFrontendResource.js +79 -0
- package/dist/models/AssetFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/AssetFrontendResourceArrayResponse.js +50 -0
- package/dist/models/CategoryFrontendResource.d.ts +70 -0
- package/dist/models/CategoryFrontendResource.js +73 -0
- package/dist/models/CategoryFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/CategoryFrontendResourceArrayResponse.js +50 -0
- package/dist/models/CategoryWithChildrenFrontendResource.d.ts +39 -0
- package/dist/models/CategoryWithChildrenFrontendResource.js +56 -0
- package/dist/models/CategoryWithChildrenFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/CategoryWithChildrenFrontendResourceArrayResponse.js +50 -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/DocumentFrontendResource.d.ts +44 -0
- package/dist/models/DocumentFrontendResource.js +57 -0
- package/dist/models/DocumentFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/DocumentFrontendResourceArrayResponse.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/OverlayTemplateAssetFrontendResource.d.ts +63 -0
- package/dist/models/OverlayTemplateAssetFrontendResource.js +72 -0
- package/dist/models/OverlayTemplateAssetFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/OverlayTemplateAssetFrontendResourceArrayResponse.js +50 -0
- package/dist/models/OverlayTemplateAssetResource.d.ts +3 -3
- package/dist/models/OverlayTemplateAssetResource.js +3 -3
- package/dist/models/PaginatedCategoryFrontendResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedCategoryFrontendResourceResponse.js +57 -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/ProductAvailability.d.ts +26 -0
- package/dist/models/ProductAvailability.js +52 -0
- package/dist/models/ProductCompareResource.d.ts +141 -0
- package/dist/models/ProductCompareResource.js +124 -0
- package/dist/models/ProductCompareResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductCompareResourceArrayResponse.js +50 -0
- package/dist/models/ProductSearchResultResource.d.ts +12 -6
- package/dist/models/ProductSearchResultResource.js +8 -4
- 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/SupplierFrontendResource.d.ts +7 -8
- package/dist/models/SupplierFrontendResource.js +8 -9
- package/dist/models/UpdateDefinitionRequest.d.ts +38 -0
- package/dist/models/UpdateDefinitionRequest.js +55 -0
- package/dist/models/index.d.ts +24 -2
- package/dist/models/index.js +24 -2
- package/docs/AssetFrontendResource.md +48 -0
- package/docs/AssetFrontendResourceArrayResponse.md +34 -0
- package/docs/CategoryFrontendResource.md +46 -0
- package/docs/CategoryFrontendResourceArrayResponse.md +34 -0
- package/docs/CategoryWithChildrenFrontendResource.md +36 -0
- package/docs/CategoryWithChildrenFrontendResourceArrayResponse.md +34 -0
- package/docs/DefinitionApi.md +407 -0
- package/docs/DefinitionListResource.md +36 -0
- package/docs/DefinitionListResourceArrayResponse.md +34 -0
- package/docs/DefinitionResource.md +38 -0
- package/docs/DefinitionResourceArrayResponse.md +34 -0
- package/docs/DocumentFrontendResource.md +38 -0
- package/docs/DocumentFrontendResourceArrayResponse.md +34 -0
- package/docs/GetAllDefinitionRequest.md +44 -0
- package/docs/IndexDefinitionRequest.md +48 -0
- package/docs/OverlayTemplateAssetFrontendResource.md +44 -0
- package/docs/OverlayTemplateAssetFrontendResourceArrayResponse.md +34 -0
- package/docs/OverlayTemplateAssetResource.md +1 -1
- package/docs/PaginatedCategoryFrontendResourceResponse.md +36 -0
- package/docs/PaginatedDefinitionListResourceResponse.md +36 -0
- package/docs/PaginatedDefinitionResourceResponse.md +36 -0
- package/docs/{ProductStatus.md → ProductAvailability.md} +4 -4
- package/docs/ProductCompareResource.md +70 -0
- package/docs/ProductCompareResourceArrayResponse.md +34 -0
- package/docs/ProductSearchResultResource.md +4 -2
- package/docs/StoreDefinitionRequest.md +36 -0
- package/docs/StoreProductCategoryRequest.md +1 -1
- package/docs/SupplierFrontendResource.md +4 -4
- package/docs/UpdateDefinitionRequest.md +36 -0
- package/package.json +1 -1
- package/src/apis/DefinitionApi.ts +286 -0
- package/src/apis/index.ts +1 -1
- package/src/models/AssetFrontendResource.ts +129 -0
- package/src/models/AssetFrontendResourceArrayResponse.ts +73 -0
- package/src/models/CategoryFrontendResource.ts +133 -0
- package/src/models/CategoryFrontendResourceArrayResponse.ts +73 -0
- package/src/models/CategoryWithChildrenFrontendResource.ts +83 -0
- package/src/models/CategoryWithChildrenFrontendResourceArrayResponse.ts +73 -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/DocumentFrontendResource.ts +83 -0
- package/src/models/DocumentFrontendResourceArrayResponse.ts +73 -0
- package/src/models/GetAllDefinitionRequest.ts +127 -0
- package/src/models/IndexDefinitionRequest.ts +143 -0
- package/src/models/OverlayTemplateAssetFrontendResource.ts +119 -0
- package/src/models/OverlayTemplateAssetFrontendResourceArrayResponse.ts +73 -0
- package/src/models/OverlayTemplateAssetResource.ts +10 -10
- package/src/models/PaginatedCategoryFrontendResourceResponse.ts +90 -0
- package/src/models/PaginatedDefinitionListResourceResponse.ts +90 -0
- package/src/models/PaginatedDefinitionResourceResponse.ts +90 -0
- package/src/models/ProductAvailability.ts +54 -0
- package/src/models/ProductCompareResource.ts +236 -0
- package/src/models/ProductCompareResourceArrayResponse.ts +73 -0
- package/src/models/ProductSearchResultResource.ts +18 -9
- package/src/models/StoreDefinitionRequest.ts +75 -0
- package/src/models/StoreProductCategoryRequest.ts +2 -2
- package/src/models/SupplierFrontendResource.ts +20 -27
- package/src/models/UpdateDefinitionRequest.ts +75 -0
- package/src/models/index.ts +24 -2
- package/dist/apis/NetsuiteApi.d.ts +0 -29
- package/dist/apis/NetsuiteApi.js +0 -125
- package/dist/models/ProductStatus.d.ts +0 -24
- package/dist/models/ProductStatus.js +0 -50
- package/dist/models/SyncProductNetsuiteProductRequest.d.ts +0 -182
- package/dist/models/SyncProductNetsuiteProductRequest.js +0 -101
- package/docs/NetsuiteApi.md +0 -74
- package/docs/SyncProductNetsuiteProductRequest.md +0 -84
- package/src/apis/NetsuiteApi.ts +0 -69
- package/src/models/ProductStatus.ts +0 -52
- package/src/models/SyncProductNetsuiteProductRequest.ts +0 -266
|
@@ -0,0 +1,59 @@
|
|
|
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.instanceOfDefinitionResource = instanceOfDefinitionResource;
|
|
17
|
+
exports.DefinitionResourceFromJSON = DefinitionResourceFromJSON;
|
|
18
|
+
exports.DefinitionResourceFromJSONTyped = DefinitionResourceFromJSONTyped;
|
|
19
|
+
exports.DefinitionResourceToJSON = DefinitionResourceToJSON;
|
|
20
|
+
exports.DefinitionResourceToJSONTyped = DefinitionResourceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the DefinitionResource interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfDefinitionResource(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('content' in value) || value['content'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function DefinitionResourceFromJSON(json) {
|
|
34
|
+
return DefinitionResourceFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function DefinitionResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'id': json['id'],
|
|
42
|
+
'name': json['name'],
|
|
43
|
+
'content': json['content'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function DefinitionResourceToJSON(json) {
|
|
47
|
+
return DefinitionResourceToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function DefinitionResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'id': value['id'],
|
|
56
|
+
'name': value['name'],
|
|
57
|
+
'content': value['content'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { DefinitionResource } from './DefinitionResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface DefinitionResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface DefinitionResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<DefinitionResource>}
|
|
22
|
+
* @memberof DefinitionResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<DefinitionResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the DefinitionResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfDefinitionResourceArrayResponse(value: object): value is DefinitionResourceArrayResponse;
|
|
30
|
+
export declare function DefinitionResourceArrayResponseFromJSON(json: any): DefinitionResourceArrayResponse;
|
|
31
|
+
export declare function DefinitionResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DefinitionResourceArrayResponse;
|
|
32
|
+
export declare function DefinitionResourceArrayResponseToJSON(json: any): DefinitionResourceArrayResponse;
|
|
33
|
+
export declare function DefinitionResourceArrayResponseToJSONTyped(value?: DefinitionResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* My API
|
|
6
|
+
* API documentation for my Laravel app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfDefinitionResourceArrayResponse = instanceOfDefinitionResourceArrayResponse;
|
|
17
|
+
exports.DefinitionResourceArrayResponseFromJSON = DefinitionResourceArrayResponseFromJSON;
|
|
18
|
+
exports.DefinitionResourceArrayResponseFromJSONTyped = DefinitionResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.DefinitionResourceArrayResponseToJSON = DefinitionResourceArrayResponseToJSON;
|
|
20
|
+
exports.DefinitionResourceArrayResponseToJSONTyped = DefinitionResourceArrayResponseToJSONTyped;
|
|
21
|
+
var DefinitionResource_1 = require("./DefinitionResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the DefinitionResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfDefinitionResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function DefinitionResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return DefinitionResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function DefinitionResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(DefinitionResource_1.DefinitionResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function DefinitionResourceArrayResponseToJSON(json) {
|
|
40
|
+
return DefinitionResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function DefinitionResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'data': value['data'] == null ? undefined : (value['data'].map(DefinitionResource_1.DefinitionResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 DocumentFrontendResource
|
|
16
|
+
*/
|
|
17
|
+
export interface DocumentFrontendResource {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof DocumentFrontendResource
|
|
22
|
+
*/
|
|
23
|
+
id?: number | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof DocumentFrontendResource
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof DocumentFrontendResource
|
|
34
|
+
*/
|
|
35
|
+
fileUrl: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the DocumentFrontendResource interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfDocumentFrontendResource(value: object): value is DocumentFrontendResource;
|
|
41
|
+
export declare function DocumentFrontendResourceFromJSON(json: any): DocumentFrontendResource;
|
|
42
|
+
export declare function DocumentFrontendResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): DocumentFrontendResource;
|
|
43
|
+
export declare function DocumentFrontendResourceToJSON(json: any): DocumentFrontendResource;
|
|
44
|
+
export declare function DocumentFrontendResourceToJSONTyped(value?: DocumentFrontendResource | 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.instanceOfDocumentFrontendResource = instanceOfDocumentFrontendResource;
|
|
17
|
+
exports.DocumentFrontendResourceFromJSON = DocumentFrontendResourceFromJSON;
|
|
18
|
+
exports.DocumentFrontendResourceFromJSONTyped = DocumentFrontendResourceFromJSONTyped;
|
|
19
|
+
exports.DocumentFrontendResourceToJSON = DocumentFrontendResourceToJSON;
|
|
20
|
+
exports.DocumentFrontendResourceToJSONTyped = DocumentFrontendResourceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the DocumentFrontendResource interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfDocumentFrontendResource(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('fileUrl' in value) || value['fileUrl'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function DocumentFrontendResourceFromJSON(json) {
|
|
32
|
+
return DocumentFrontendResourceFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function DocumentFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
40
|
+
'name': json['name'],
|
|
41
|
+
'fileUrl': json['fileUrl'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function DocumentFrontendResourceToJSON(json) {
|
|
45
|
+
return DocumentFrontendResourceToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function DocumentFrontendResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'id': value['id'],
|
|
54
|
+
'name': value['name'],
|
|
55
|
+
'fileUrl': value['fileUrl'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { DocumentFrontendResource } from './DocumentFrontendResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface DocumentFrontendResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface DocumentFrontendResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<DocumentFrontendResource>}
|
|
22
|
+
* @memberof DocumentFrontendResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<DocumentFrontendResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the DocumentFrontendResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfDocumentFrontendResourceArrayResponse(value: object): value is DocumentFrontendResourceArrayResponse;
|
|
30
|
+
export declare function DocumentFrontendResourceArrayResponseFromJSON(json: any): DocumentFrontendResourceArrayResponse;
|
|
31
|
+
export declare function DocumentFrontendResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DocumentFrontendResourceArrayResponse;
|
|
32
|
+
export declare function DocumentFrontendResourceArrayResponseToJSON(json: any): DocumentFrontendResourceArrayResponse;
|
|
33
|
+
export declare function DocumentFrontendResourceArrayResponseToJSONTyped(value?: DocumentFrontendResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* My API
|
|
6
|
+
* API documentation for my Laravel app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfDocumentFrontendResourceArrayResponse = instanceOfDocumentFrontendResourceArrayResponse;
|
|
17
|
+
exports.DocumentFrontendResourceArrayResponseFromJSON = DocumentFrontendResourceArrayResponseFromJSON;
|
|
18
|
+
exports.DocumentFrontendResourceArrayResponseFromJSONTyped = DocumentFrontendResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.DocumentFrontendResourceArrayResponseToJSON = DocumentFrontendResourceArrayResponseToJSON;
|
|
20
|
+
exports.DocumentFrontendResourceArrayResponseToJSONTyped = DocumentFrontendResourceArrayResponseToJSONTyped;
|
|
21
|
+
var DocumentFrontendResource_1 = require("./DocumentFrontendResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the DocumentFrontendResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfDocumentFrontendResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function DocumentFrontendResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return DocumentFrontendResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function DocumentFrontendResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(DocumentFrontendResource_1.DocumentFrontendResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function DocumentFrontendResourceArrayResponseToJSON(json) {
|
|
40
|
+
return DocumentFrontendResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function DocumentFrontendResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'data': value['data'] == null ? undefined : (value['data'].map(DocumentFrontendResource_1.DocumentFrontendResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
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 GetAllDefinitionRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface GetAllDefinitionRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetAllDefinitionRequest
|
|
22
|
+
*/
|
|
23
|
+
search?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GetAllDefinitionRequest
|
|
28
|
+
*/
|
|
29
|
+
sortBy?: GetAllDefinitionRequestSortByEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GetAllDefinitionRequest
|
|
34
|
+
*/
|
|
35
|
+
sortDirection?: GetAllDefinitionRequestSortDirectionEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof GetAllDefinitionRequest
|
|
40
|
+
*/
|
|
41
|
+
relatedId?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof GetAllDefinitionRequest
|
|
46
|
+
*/
|
|
47
|
+
relatedType?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof GetAllDefinitionRequest
|
|
52
|
+
*/
|
|
53
|
+
includesRelations?: boolean;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export declare const GetAllDefinitionRequestSortByEnum: {
|
|
59
|
+
readonly Id: "id";
|
|
60
|
+
readonly Name: "name";
|
|
61
|
+
readonly CreatedAt: "created_at";
|
|
62
|
+
readonly UpdatedAt: "updated_at";
|
|
63
|
+
};
|
|
64
|
+
export type GetAllDefinitionRequestSortByEnum = typeof GetAllDefinitionRequestSortByEnum[keyof typeof GetAllDefinitionRequestSortByEnum];
|
|
65
|
+
/**
|
|
66
|
+
* @export
|
|
67
|
+
*/
|
|
68
|
+
export declare const GetAllDefinitionRequestSortDirectionEnum: {
|
|
69
|
+
readonly Asc: "asc";
|
|
70
|
+
readonly Desc: "desc";
|
|
71
|
+
};
|
|
72
|
+
export type GetAllDefinitionRequestSortDirectionEnum = typeof GetAllDefinitionRequestSortDirectionEnum[keyof typeof GetAllDefinitionRequestSortDirectionEnum];
|
|
73
|
+
/**
|
|
74
|
+
* Check if a given object implements the GetAllDefinitionRequest interface.
|
|
75
|
+
*/
|
|
76
|
+
export declare function instanceOfGetAllDefinitionRequest(value: object): value is GetAllDefinitionRequest;
|
|
77
|
+
export declare function GetAllDefinitionRequestFromJSON(json: any): GetAllDefinitionRequest;
|
|
78
|
+
export declare function GetAllDefinitionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllDefinitionRequest;
|
|
79
|
+
export declare function GetAllDefinitionRequestToJSON(json: any): GetAllDefinitionRequest;
|
|
80
|
+
export declare function GetAllDefinitionRequestToJSONTyped(value?: GetAllDefinitionRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,76 @@
|
|
|
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.GetAllDefinitionRequestSortDirectionEnum = exports.GetAllDefinitionRequestSortByEnum = void 0;
|
|
17
|
+
exports.instanceOfGetAllDefinitionRequest = instanceOfGetAllDefinitionRequest;
|
|
18
|
+
exports.GetAllDefinitionRequestFromJSON = GetAllDefinitionRequestFromJSON;
|
|
19
|
+
exports.GetAllDefinitionRequestFromJSONTyped = GetAllDefinitionRequestFromJSONTyped;
|
|
20
|
+
exports.GetAllDefinitionRequestToJSON = GetAllDefinitionRequestToJSON;
|
|
21
|
+
exports.GetAllDefinitionRequestToJSONTyped = GetAllDefinitionRequestToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.GetAllDefinitionRequestSortByEnum = {
|
|
26
|
+
Id: 'id',
|
|
27
|
+
Name: 'name',
|
|
28
|
+
CreatedAt: 'created_at',
|
|
29
|
+
UpdatedAt: 'updated_at'
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
exports.GetAllDefinitionRequestSortDirectionEnum = {
|
|
35
|
+
Asc: 'asc',
|
|
36
|
+
Desc: 'desc'
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the GetAllDefinitionRequest interface.
|
|
40
|
+
*/
|
|
41
|
+
function instanceOfGetAllDefinitionRequest(value) {
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
function GetAllDefinitionRequestFromJSON(json) {
|
|
45
|
+
return GetAllDefinitionRequestFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function GetAllDefinitionRequestFromJSONTyped(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
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
56
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
57
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function GetAllDefinitionRequestToJSON(json) {
|
|
61
|
+
return GetAllDefinitionRequestToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
function GetAllDefinitionRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
64
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
'search': value['search'],
|
|
70
|
+
'sortBy': value['sortBy'],
|
|
71
|
+
'sortDirection': value['sortDirection'],
|
|
72
|
+
'related_id': value['relatedId'],
|
|
73
|
+
'related_type': value['relatedType'],
|
|
74
|
+
'includes_relations': value['includesRelations'],
|
|
75
|
+
};
|
|
76
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
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 IndexDefinitionRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface IndexDefinitionRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof IndexDefinitionRequest
|
|
22
|
+
*/
|
|
23
|
+
search?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof IndexDefinitionRequest
|
|
28
|
+
*/
|
|
29
|
+
sortBy?: IndexDefinitionRequestSortByEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof IndexDefinitionRequest
|
|
34
|
+
*/
|
|
35
|
+
sortDirection?: IndexDefinitionRequestSortDirectionEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof IndexDefinitionRequest
|
|
40
|
+
*/
|
|
41
|
+
perPage?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof IndexDefinitionRequest
|
|
46
|
+
*/
|
|
47
|
+
page?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof IndexDefinitionRequest
|
|
52
|
+
*/
|
|
53
|
+
relatedId?: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof IndexDefinitionRequest
|
|
58
|
+
*/
|
|
59
|
+
relatedType?: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {boolean}
|
|
63
|
+
* @memberof IndexDefinitionRequest
|
|
64
|
+
*/
|
|
65
|
+
includesRelations?: boolean;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* @export
|
|
69
|
+
*/
|
|
70
|
+
export declare const IndexDefinitionRequestSortByEnum: {
|
|
71
|
+
readonly Id: "id";
|
|
72
|
+
readonly Name: "name";
|
|
73
|
+
readonly CreatedAt: "created_at";
|
|
74
|
+
readonly UpdatedAt: "updated_at";
|
|
75
|
+
};
|
|
76
|
+
export type IndexDefinitionRequestSortByEnum = typeof IndexDefinitionRequestSortByEnum[keyof typeof IndexDefinitionRequestSortByEnum];
|
|
77
|
+
/**
|
|
78
|
+
* @export
|
|
79
|
+
*/
|
|
80
|
+
export declare const IndexDefinitionRequestSortDirectionEnum: {
|
|
81
|
+
readonly Asc: "asc";
|
|
82
|
+
readonly Desc: "desc";
|
|
83
|
+
};
|
|
84
|
+
export type IndexDefinitionRequestSortDirectionEnum = typeof IndexDefinitionRequestSortDirectionEnum[keyof typeof IndexDefinitionRequestSortDirectionEnum];
|
|
85
|
+
/**
|
|
86
|
+
* Check if a given object implements the IndexDefinitionRequest interface.
|
|
87
|
+
*/
|
|
88
|
+
export declare function instanceOfIndexDefinitionRequest(value: object): value is IndexDefinitionRequest;
|
|
89
|
+
export declare function IndexDefinitionRequestFromJSON(json: any): IndexDefinitionRequest;
|
|
90
|
+
export declare function IndexDefinitionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexDefinitionRequest;
|
|
91
|
+
export declare function IndexDefinitionRequestToJSON(json: any): IndexDefinitionRequest;
|
|
92
|
+
export declare function IndexDefinitionRequestToJSONTyped(value?: IndexDefinitionRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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
|
+
}
|