@digital8/lighting-illusions-ts-sdk 0.0.445 → 0.0.447
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 +18 -0
- package/README.md +14 -2
- package/dist/apis/SiteApi.d.ts +14 -3
- package/dist/apis/SiteApi.js +46 -1
- package/dist/apis/SupplierApi.d.ts +14 -3
- package/dist/apis/SupplierApi.js +46 -1
- package/dist/apis/TagApi.d.ts +14 -3
- package/dist/apis/TagApi.js +46 -1
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/IndexSupplierRequest.d.ts +8 -1
- package/dist/models/IndexSupplierRequest.js +7 -1
- package/dist/models/IndexTagRequest.d.ts +8 -1
- package/dist/models/IndexTagRequest.js +7 -1
- package/dist/models/PaginatedSiteListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedSiteListResourceResponse.js +57 -0
- package/dist/models/PaginatedSupplierListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedSupplierListResourceResponse.js +57 -0
- package/dist/models/PaginatedTagListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedTagListResourceResponse.js +57 -0
- package/dist/models/SiteListResource.d.ts +50 -0
- package/dist/models/SiteListResource.js +63 -0
- package/dist/models/SiteListResourceArrayResponse.d.ts +33 -0
- package/dist/models/SiteListResourceArrayResponse.js +50 -0
- package/dist/models/SupplierListResource.d.ts +57 -0
- package/dist/models/SupplierListResource.js +68 -0
- package/dist/models/SupplierListResourceArrayResponse.d.ts +33 -0
- package/dist/models/SupplierListResourceArrayResponse.js +50 -0
- package/dist/models/TagListResource.d.ts +57 -0
- package/dist/models/TagListResource.js +68 -0
- package/dist/models/TagListResourceArrayResponse.d.ts +33 -0
- package/dist/models/TagListResourceArrayResponse.js +50 -0
- package/dist/models/TagLiteResource.d.ts +0 -7
- package/dist/models/TagLiteResource.js +0 -5
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/docs/PaginatedSiteListResourceResponse.md +36 -0
- package/docs/PaginatedSupplierListResourceResponse.md +36 -0
- package/docs/PaginatedTagListResourceResponse.md +36 -0
- package/docs/SiteApi.md +69 -3
- package/docs/SiteListResource.md +40 -0
- package/docs/SiteListResourceArrayResponse.md +34 -0
- package/docs/SupplierApi.md +69 -3
- package/docs/SupplierListResource.md +42 -0
- package/docs/SupplierListResourceArrayResponse.md +34 -0
- package/docs/TagApi.md +69 -3
- package/docs/TagListResource.md +42 -0
- package/docs/TagListResourceArrayResponse.md +34 -0
- package/docs/TagLiteResource.md +0 -2
- package/package.json +1 -1
- package/src/apis/SiteApi.ts +42 -6
- package/src/apis/SupplierApi.ts +42 -6
- package/src/apis/TagApi.ts +42 -6
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/IndexSupplierRequest.ts +9 -1
- package/src/models/IndexTagRequest.ts +9 -1
- package/src/models/PaginatedSiteListResourceResponse.ts +90 -0
- package/src/models/PaginatedSupplierListResourceResponse.ts +90 -0
- package/src/models/PaginatedTagListResourceResponse.ts +90 -0
- package/src/models/SiteListResource.ts +93 -0
- package/src/models/SiteListResourceArrayResponse.ts +73 -0
- package/src/models/SupplierListResource.ts +110 -0
- package/src/models/SupplierListResourceArrayResponse.ts +73 -0
- package/src/models/TagListResource.ts +110 -0
- package/src/models/TagListResourceArrayResponse.ts +73 -0
- package/src/models/TagLiteResource.ts +0 -17
- package/src/models/index.ts +9 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SiteLiteResource } from './SiteLiteResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface TagListResource
|
|
17
|
+
*/
|
|
18
|
+
export interface TagListResource {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof TagListResource
|
|
23
|
+
*/
|
|
24
|
+
id: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof TagListResource
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof TagListResource
|
|
35
|
+
*/
|
|
36
|
+
slug: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof TagListResource
|
|
41
|
+
*/
|
|
42
|
+
type: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {SiteLiteResource}
|
|
46
|
+
* @memberof TagListResource
|
|
47
|
+
*/
|
|
48
|
+
site: SiteLiteResource | null;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the TagListResource interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfTagListResource(value: object): value is TagListResource;
|
|
54
|
+
export declare function TagListResourceFromJSON(json: any): TagListResource;
|
|
55
|
+
export declare function TagListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): TagListResource;
|
|
56
|
+
export declare function TagListResourceToJSON(json: any): TagListResource;
|
|
57
|
+
export declare function TagListResourceToJSONTyped(value?: TagListResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* My API
|
|
6
|
+
* API documentation for my Laravel app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfTagListResource = instanceOfTagListResource;
|
|
17
|
+
exports.TagListResourceFromJSON = TagListResourceFromJSON;
|
|
18
|
+
exports.TagListResourceFromJSONTyped = TagListResourceFromJSONTyped;
|
|
19
|
+
exports.TagListResourceToJSON = TagListResourceToJSON;
|
|
20
|
+
exports.TagListResourceToJSONTyped = TagListResourceToJSONTyped;
|
|
21
|
+
var SiteLiteResource_1 = require("./SiteLiteResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the TagListResource interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfTagListResource(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('slug' in value) || value['slug'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('site' in value) || value['site'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function TagListResourceFromJSON(json) {
|
|
39
|
+
return TagListResourceFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function TagListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'id': json['id'],
|
|
47
|
+
'name': json['name'],
|
|
48
|
+
'slug': json['slug'],
|
|
49
|
+
'type': json['type'],
|
|
50
|
+
'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
function TagListResourceToJSON(json) {
|
|
54
|
+
return TagListResourceToJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
function TagListResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
57
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'id': value['id'],
|
|
63
|
+
'name': value['name'],
|
|
64
|
+
'slug': value['slug'],
|
|
65
|
+
'type': value['type'],
|
|
66
|
+
'site': (0, SiteLiteResource_1.SiteLiteResourceToJSON)(value['site']),
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { TagListResource } from './TagListResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface TagListResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface TagListResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<TagListResource>}
|
|
22
|
+
* @memberof TagListResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<TagListResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the TagListResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfTagListResourceArrayResponse(value: object): value is TagListResourceArrayResponse;
|
|
30
|
+
export declare function TagListResourceArrayResponseFromJSON(json: any): TagListResourceArrayResponse;
|
|
31
|
+
export declare function TagListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): TagListResourceArrayResponse;
|
|
32
|
+
export declare function TagListResourceArrayResponseToJSON(json: any): TagListResourceArrayResponse;
|
|
33
|
+
export declare function TagListResourceArrayResponseToJSONTyped(value?: TagListResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* My API
|
|
6
|
+
* API documentation for my Laravel app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfTagListResourceArrayResponse = instanceOfTagListResourceArrayResponse;
|
|
17
|
+
exports.TagListResourceArrayResponseFromJSON = TagListResourceArrayResponseFromJSON;
|
|
18
|
+
exports.TagListResourceArrayResponseFromJSONTyped = TagListResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.TagListResourceArrayResponseToJSON = TagListResourceArrayResponseToJSON;
|
|
20
|
+
exports.TagListResourceArrayResponseToJSONTyped = TagListResourceArrayResponseToJSONTyped;
|
|
21
|
+
var TagListResource_1 = require("./TagListResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the TagListResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfTagListResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function TagListResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return TagListResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function TagListResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(TagListResource_1.TagListResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function TagListResourceArrayResponseToJSON(json) {
|
|
40
|
+
return TagListResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function TagListResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'data': value['data'] == null ? undefined : (value['data'].map(TagListResource_1.TagListResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { SiteLiteResource } from './SiteLiteResource';
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* @export
|
|
@@ -28,12 +27,6 @@ export interface TagLiteResource {
|
|
|
28
27
|
* @memberof TagLiteResource
|
|
29
28
|
*/
|
|
30
29
|
name: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {SiteLiteResource}
|
|
34
|
-
* @memberof TagLiteResource
|
|
35
|
-
*/
|
|
36
|
-
site: SiteLiteResource | null;
|
|
37
30
|
}
|
|
38
31
|
/**
|
|
39
32
|
* Check if a given object implements the TagLiteResource interface.
|
|
@@ -18,7 +18,6 @@ exports.TagLiteResourceFromJSON = TagLiteResourceFromJSON;
|
|
|
18
18
|
exports.TagLiteResourceFromJSONTyped = TagLiteResourceFromJSONTyped;
|
|
19
19
|
exports.TagLiteResourceToJSON = TagLiteResourceToJSON;
|
|
20
20
|
exports.TagLiteResourceToJSONTyped = TagLiteResourceToJSONTyped;
|
|
21
|
-
var SiteLiteResource_1 = require("./SiteLiteResource");
|
|
22
21
|
/**
|
|
23
22
|
* Check if a given object implements the TagLiteResource interface.
|
|
24
23
|
*/
|
|
@@ -27,8 +26,6 @@ function instanceOfTagLiteResource(value) {
|
|
|
27
26
|
return false;
|
|
28
27
|
if (!('name' in value) || value['name'] === undefined)
|
|
29
28
|
return false;
|
|
30
|
-
if (!('site' in value) || value['site'] === undefined)
|
|
31
|
-
return false;
|
|
32
29
|
return true;
|
|
33
30
|
}
|
|
34
31
|
function TagLiteResourceFromJSON(json) {
|
|
@@ -41,7 +38,6 @@ function TagLiteResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
38
|
return {
|
|
42
39
|
'id': json['id'],
|
|
43
40
|
'name': json['name'],
|
|
44
|
-
'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
|
|
45
41
|
};
|
|
46
42
|
}
|
|
47
43
|
function TagLiteResourceToJSON(json) {
|
|
@@ -55,6 +51,5 @@ function TagLiteResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
55
51
|
return {
|
|
56
52
|
'id': value['id'],
|
|
57
53
|
'name': value['name'],
|
|
58
|
-
'site': (0, SiteLiteResource_1.SiteLiteResourceToJSON)(value['site']),
|
|
59
54
|
};
|
|
60
55
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -63,12 +63,15 @@ export * from './PaginatedProductLiteResourceResponse';
|
|
|
63
63
|
export * from './PaginatedProductResourceResponse';
|
|
64
64
|
export * from './PaginatedProductTypeLiteResourceResponse';
|
|
65
65
|
export * from './PaginatedProductTypeResourceResponse';
|
|
66
|
+
export * from './PaginatedSiteListResourceResponse';
|
|
66
67
|
export * from './PaginatedSiteLiteResourceResponse';
|
|
67
68
|
export * from './PaginatedSiteNotificationResourceResponse';
|
|
68
69
|
export * from './PaginatedSiteResourceResponse';
|
|
69
70
|
export * from './PaginatedSupplierFrontendResourceResponse';
|
|
71
|
+
export * from './PaginatedSupplierListResourceResponse';
|
|
70
72
|
export * from './PaginatedSupplierLiteResourceResponse';
|
|
71
73
|
export * from './PaginatedSupplierResourceResponse';
|
|
74
|
+
export * from './PaginatedTagListResourceResponse';
|
|
72
75
|
export * from './PaginatedTagLiteResourceResponse';
|
|
73
76
|
export * from './PaginatedTagResourceResponse';
|
|
74
77
|
export * from './PagingMetadata';
|
|
@@ -94,6 +97,8 @@ export * from './SEOResource';
|
|
|
94
97
|
export * from './SEOResourceArrayResponse';
|
|
95
98
|
export * from './SiteConfigResource';
|
|
96
99
|
export * from './SiteConfigResourceArrayResponse';
|
|
100
|
+
export * from './SiteListResource';
|
|
101
|
+
export * from './SiteListResourceArrayResponse';
|
|
97
102
|
export * from './SiteLiteResource';
|
|
98
103
|
export * from './SiteLiteResourceArrayResponse';
|
|
99
104
|
export * from './SiteNotificationResource';
|
|
@@ -121,10 +126,14 @@ export * from './StoreSupplierRequestSeoInner';
|
|
|
121
126
|
export * from './StoreTagRequest';
|
|
122
127
|
export * from './SupplierFrontendResource';
|
|
123
128
|
export * from './SupplierFrontendResourceArrayResponse';
|
|
129
|
+
export * from './SupplierListResource';
|
|
130
|
+
export * from './SupplierListResourceArrayResponse';
|
|
124
131
|
export * from './SupplierLiteResource';
|
|
125
132
|
export * from './SupplierLiteResourceArrayResponse';
|
|
126
133
|
export * from './SupplierResource';
|
|
127
134
|
export * from './SupplierResourceArrayResponse';
|
|
135
|
+
export * from './TagListResource';
|
|
136
|
+
export * from './TagListResourceArrayResponse';
|
|
128
137
|
export * from './TagLiteResource';
|
|
129
138
|
export * from './TagLiteResourceArrayResponse';
|
|
130
139
|
export * from './TagResource';
|
package/dist/models/index.js
CHANGED
|
@@ -81,12 +81,15 @@ __exportStar(require("./PaginatedProductLiteResourceResponse"), exports);
|
|
|
81
81
|
__exportStar(require("./PaginatedProductResourceResponse"), exports);
|
|
82
82
|
__exportStar(require("./PaginatedProductTypeLiteResourceResponse"), exports);
|
|
83
83
|
__exportStar(require("./PaginatedProductTypeResourceResponse"), exports);
|
|
84
|
+
__exportStar(require("./PaginatedSiteListResourceResponse"), exports);
|
|
84
85
|
__exportStar(require("./PaginatedSiteLiteResourceResponse"), exports);
|
|
85
86
|
__exportStar(require("./PaginatedSiteNotificationResourceResponse"), exports);
|
|
86
87
|
__exportStar(require("./PaginatedSiteResourceResponse"), exports);
|
|
87
88
|
__exportStar(require("./PaginatedSupplierFrontendResourceResponse"), exports);
|
|
89
|
+
__exportStar(require("./PaginatedSupplierListResourceResponse"), exports);
|
|
88
90
|
__exportStar(require("./PaginatedSupplierLiteResourceResponse"), exports);
|
|
89
91
|
__exportStar(require("./PaginatedSupplierResourceResponse"), exports);
|
|
92
|
+
__exportStar(require("./PaginatedTagListResourceResponse"), exports);
|
|
90
93
|
__exportStar(require("./PaginatedTagLiteResourceResponse"), exports);
|
|
91
94
|
__exportStar(require("./PaginatedTagResourceResponse"), exports);
|
|
92
95
|
__exportStar(require("./PagingMetadata"), exports);
|
|
@@ -112,6 +115,8 @@ __exportStar(require("./SEOResource"), exports);
|
|
|
112
115
|
__exportStar(require("./SEOResourceArrayResponse"), exports);
|
|
113
116
|
__exportStar(require("./SiteConfigResource"), exports);
|
|
114
117
|
__exportStar(require("./SiteConfigResourceArrayResponse"), exports);
|
|
118
|
+
__exportStar(require("./SiteListResource"), exports);
|
|
119
|
+
__exportStar(require("./SiteListResourceArrayResponse"), exports);
|
|
115
120
|
__exportStar(require("./SiteLiteResource"), exports);
|
|
116
121
|
__exportStar(require("./SiteLiteResourceArrayResponse"), exports);
|
|
117
122
|
__exportStar(require("./SiteNotificationResource"), exports);
|
|
@@ -139,10 +144,14 @@ __exportStar(require("./StoreSupplierRequestSeoInner"), exports);
|
|
|
139
144
|
__exportStar(require("./StoreTagRequest"), exports);
|
|
140
145
|
__exportStar(require("./SupplierFrontendResource"), exports);
|
|
141
146
|
__exportStar(require("./SupplierFrontendResourceArrayResponse"), exports);
|
|
147
|
+
__exportStar(require("./SupplierListResource"), exports);
|
|
148
|
+
__exportStar(require("./SupplierListResourceArrayResponse"), exports);
|
|
142
149
|
__exportStar(require("./SupplierLiteResource"), exports);
|
|
143
150
|
__exportStar(require("./SupplierLiteResourceArrayResponse"), exports);
|
|
144
151
|
__exportStar(require("./SupplierResource"), exports);
|
|
145
152
|
__exportStar(require("./SupplierResourceArrayResponse"), exports);
|
|
153
|
+
__exportStar(require("./TagListResource"), exports);
|
|
154
|
+
__exportStar(require("./TagListResourceArrayResponse"), exports);
|
|
146
155
|
__exportStar(require("./TagLiteResource"), exports);
|
|
147
156
|
__exportStar(require("./TagLiteResourceArrayResponse"), exports);
|
|
148
157
|
__exportStar(require("./TagResource"), exports);
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# PaginatedSiteListResourceResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<SiteListResource>](SiteListResource.md)
|
|
10
|
+
`meta` | [PagingMetadata](PagingMetadata.md)
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { PaginatedSiteListResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"data": null,
|
|
20
|
+
"meta": null,
|
|
21
|
+
} satisfies PaginatedSiteListResourceResponse
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as PaginatedSiteListResourceResponse
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# PaginatedSupplierListResourceResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<SupplierListResource>](SupplierListResource.md)
|
|
10
|
+
`meta` | [PagingMetadata](PagingMetadata.md)
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { PaginatedSupplierListResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"data": null,
|
|
20
|
+
"meta": null,
|
|
21
|
+
} satisfies PaginatedSupplierListResourceResponse
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as PaginatedSupplierListResourceResponse
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# PaginatedTagListResourceResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<TagListResource>](TagListResource.md)
|
|
10
|
+
`meta` | [PagingMetadata](PagingMetadata.md)
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { PaginatedTagListResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"data": null,
|
|
20
|
+
"meta": null,
|
|
21
|
+
} satisfies PaginatedTagListResourceResponse
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as PaginatedTagListResourceResponse
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|
package/docs/SiteApi.md
CHANGED
|
@@ -8,6 +8,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
8
8
|
| [**getAllSite**](SiteApi.md#getallsite) | **POST** /admin-api/site/all | Auto-generated: getAllSite |
|
|
9
9
|
| [**indexSite**](SiteApi.md#indexsiteoperation) | **POST** /admin-api/site/list | Auto-generated: indexSite |
|
|
10
10
|
| [**indexSiteNotification**](SiteApi.md#indexsitenotificationoperation) | **POST** /admin-api/site/notification/list | Auto-generated: indexSiteNotification |
|
|
11
|
+
| [**searchExcludingRelationsSite**](SiteApi.md#searchexcludingrelationssite) | **POST** /admin-api/site/search-excluding-relations | Auto-generated: searchExcludingRelationsSite |
|
|
11
12
|
| [**showSite**](SiteApi.md#showsite) | **GET** /admin-api/site/{site} | Auto-generated: showSite |
|
|
12
13
|
| [**storeSiteNotification**](SiteApi.md#storesitenotificationoperation) | **POST** /admin-api/site/notification/create | Auto-generated: storeSiteNotification |
|
|
13
14
|
| [**updateSite**](SiteApi.md#updatesiteoperation) | **PUT** /admin-api/site/{site}/update | Auto-generated: updateSite |
|
|
@@ -147,7 +148,7 @@ No authorization required
|
|
|
147
148
|
|
|
148
149
|
## indexSite
|
|
149
150
|
|
|
150
|
-
>
|
|
151
|
+
> PaginatedSiteListResourceResponse indexSite(indexSiteRequest)
|
|
151
152
|
|
|
152
153
|
Auto-generated: indexSite
|
|
153
154
|
|
|
@@ -190,7 +191,7 @@ example().catch(console.error);
|
|
|
190
191
|
|
|
191
192
|
### Return type
|
|
192
193
|
|
|
193
|
-
[**
|
|
194
|
+
[**PaginatedSiteListResourceResponse**](PaginatedSiteListResourceResponse.md)
|
|
194
195
|
|
|
195
196
|
### Authorization
|
|
196
197
|
|
|
@@ -205,7 +206,7 @@ No authorization required
|
|
|
205
206
|
### HTTP response details
|
|
206
207
|
| Status code | Description | Response headers |
|
|
207
208
|
|-------------|-------------|------------------|
|
|
208
|
-
| **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\
|
|
209
|
+
| **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\SiteListResource[]>> | - |
|
|
209
210
|
|
|
210
211
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
211
212
|
|
|
@@ -275,6 +276,71 @@ No authorization required
|
|
|
275
276
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
276
277
|
|
|
277
278
|
|
|
279
|
+
## searchExcludingRelationsSite
|
|
280
|
+
|
|
281
|
+
> PaginatedSiteListResourceResponse searchExcludingRelationsSite(indexSiteRequest)
|
|
282
|
+
|
|
283
|
+
Auto-generated: searchExcludingRelationsSite
|
|
284
|
+
|
|
285
|
+
### Example
|
|
286
|
+
|
|
287
|
+
```ts
|
|
288
|
+
import {
|
|
289
|
+
Configuration,
|
|
290
|
+
SiteApi,
|
|
291
|
+
} from '@digital8/lighting-illusions-ts-sdk';
|
|
292
|
+
import type { SearchExcludingRelationsSiteRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
293
|
+
|
|
294
|
+
async function example() {
|
|
295
|
+
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
296
|
+
const api = new SiteApi();
|
|
297
|
+
|
|
298
|
+
const body = {
|
|
299
|
+
// IndexSiteRequest (optional)
|
|
300
|
+
indexSiteRequest: ...,
|
|
301
|
+
} satisfies SearchExcludingRelationsSiteRequest;
|
|
302
|
+
|
|
303
|
+
try {
|
|
304
|
+
const data = await api.searchExcludingRelationsSite(body);
|
|
305
|
+
console.log(data);
|
|
306
|
+
} catch (error) {
|
|
307
|
+
console.error(error);
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
// Run the test
|
|
312
|
+
example().catch(console.error);
|
|
313
|
+
```
|
|
314
|
+
|
|
315
|
+
### Parameters
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
| Name | Type | Description | Notes |
|
|
319
|
+
|------------- | ------------- | ------------- | -------------|
|
|
320
|
+
| **indexSiteRequest** | [IndexSiteRequest](IndexSiteRequest.md) | | [Optional] |
|
|
321
|
+
|
|
322
|
+
### Return type
|
|
323
|
+
|
|
324
|
+
[**PaginatedSiteListResourceResponse**](PaginatedSiteListResourceResponse.md)
|
|
325
|
+
|
|
326
|
+
### Authorization
|
|
327
|
+
|
|
328
|
+
No authorization required
|
|
329
|
+
|
|
330
|
+
### HTTP request headers
|
|
331
|
+
|
|
332
|
+
- **Content-Type**: `application/json`
|
|
333
|
+
- **Accept**: `application/json`
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
### HTTP response details
|
|
337
|
+
| Status code | Description | Response headers |
|
|
338
|
+
|-------------|-------------|------------------|
|
|
339
|
+
| **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\SiteListResource[]>> | - |
|
|
340
|
+
|
|
341
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
342
|
+
|
|
343
|
+
|
|
278
344
|
## showSite
|
|
279
345
|
|
|
280
346
|
> SiteResource showSite(site)
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
# SiteListResource
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | number
|
|
10
|
+
`name` | string
|
|
11
|
+
`abbreviation` | string
|
|
12
|
+
`domain` | string
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { SiteListResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"id": null,
|
|
22
|
+
"name": null,
|
|
23
|
+
"abbreviation": null,
|
|
24
|
+
"domain": null,
|
|
25
|
+
} satisfies SiteListResource
|
|
26
|
+
|
|
27
|
+
console.log(example)
|
|
28
|
+
|
|
29
|
+
// Convert the instance to a JSON string
|
|
30
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
31
|
+
console.log(exampleJSON)
|
|
32
|
+
|
|
33
|
+
// Parse the JSON string back to an object
|
|
34
|
+
const exampleParsed = JSON.parse(exampleJSON) as SiteListResource
|
|
35
|
+
console.log(exampleParsed)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
39
|
+
|
|
40
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# SiteListResourceArrayResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<SiteListResource>](SiteListResource.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { SiteListResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"data": null,
|
|
19
|
+
} satisfies SiteListResourceArrayResponse
|
|
20
|
+
|
|
21
|
+
console.log(example)
|
|
22
|
+
|
|
23
|
+
// Convert the instance to a JSON string
|
|
24
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
+
console.log(exampleJSON)
|
|
26
|
+
|
|
27
|
+
// Parse the JSON string back to an object
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as SiteListResourceArrayResponse
|
|
29
|
+
console.log(exampleParsed)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|