@digital8/lighting-illusions-ts-sdk 0.0.446 → 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.
Files changed (44) hide show
  1. package/.openapi-generator/FILES +12 -0
  2. package/README.md +10 -2
  3. package/dist/apis/SiteApi.d.ts +14 -3
  4. package/dist/apis/SiteApi.js +46 -1
  5. package/dist/apis/SupplierApi.d.ts +14 -3
  6. package/dist/apis/SupplierApi.js +46 -1
  7. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  8. package/dist/models/ExternalApiLogResource.js +3 -1
  9. package/dist/models/IndexSupplierRequest.d.ts +8 -1
  10. package/dist/models/IndexSupplierRequest.js +7 -1
  11. package/dist/models/PaginatedSiteListResourceResponse.d.ts +40 -0
  12. package/dist/models/PaginatedSiteListResourceResponse.js +57 -0
  13. package/dist/models/PaginatedSupplierListResourceResponse.d.ts +40 -0
  14. package/dist/models/PaginatedSupplierListResourceResponse.js +57 -0
  15. package/dist/models/SiteListResource.d.ts +50 -0
  16. package/dist/models/SiteListResource.js +63 -0
  17. package/dist/models/SiteListResourceArrayResponse.d.ts +33 -0
  18. package/dist/models/SiteListResourceArrayResponse.js +50 -0
  19. package/dist/models/SupplierListResource.d.ts +57 -0
  20. package/dist/models/SupplierListResource.js +68 -0
  21. package/dist/models/SupplierListResourceArrayResponse.d.ts +33 -0
  22. package/dist/models/SupplierListResourceArrayResponse.js +50 -0
  23. package/dist/models/index.d.ts +6 -0
  24. package/dist/models/index.js +6 -0
  25. package/docs/PaginatedSiteListResourceResponse.md +36 -0
  26. package/docs/PaginatedSupplierListResourceResponse.md +36 -0
  27. package/docs/SiteApi.md +69 -3
  28. package/docs/SiteListResource.md +40 -0
  29. package/docs/SiteListResourceArrayResponse.md +34 -0
  30. package/docs/SupplierApi.md +69 -3
  31. package/docs/SupplierListResource.md +42 -0
  32. package/docs/SupplierListResourceArrayResponse.md +34 -0
  33. package/package.json +1 -1
  34. package/src/apis/SiteApi.ts +42 -6
  35. package/src/apis/SupplierApi.ts +42 -6
  36. package/src/models/ExternalApiLogResource.ts +3 -2
  37. package/src/models/IndexSupplierRequest.ts +9 -1
  38. package/src/models/PaginatedSiteListResourceResponse.ts +90 -0
  39. package/src/models/PaginatedSupplierListResourceResponse.ts +90 -0
  40. package/src/models/SiteListResource.ts +93 -0
  41. package/src/models/SiteListResourceArrayResponse.ts +73 -0
  42. package/src/models/SupplierListResource.ts +110 -0
  43. package/src/models/SupplierListResourceArrayResponse.ts +73 -0
  44. package/src/models/index.ts +6 -0
@@ -0,0 +1,63 @@
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.instanceOfSiteListResource = instanceOfSiteListResource;
17
+ exports.SiteListResourceFromJSON = SiteListResourceFromJSON;
18
+ exports.SiteListResourceFromJSONTyped = SiteListResourceFromJSONTyped;
19
+ exports.SiteListResourceToJSON = SiteListResourceToJSON;
20
+ exports.SiteListResourceToJSONTyped = SiteListResourceToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SiteListResource interface.
23
+ */
24
+ function instanceOfSiteListResource(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 (!('abbreviation' in value) || value['abbreviation'] === undefined)
30
+ return false;
31
+ if (!('domain' in value) || value['domain'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function SiteListResourceFromJSON(json) {
36
+ return SiteListResourceFromJSONTyped(json, false);
37
+ }
38
+ function SiteListResourceFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'id': json['id'],
44
+ 'name': json['name'],
45
+ 'abbreviation': json['abbreviation'],
46
+ 'domain': json['domain'],
47
+ };
48
+ }
49
+ function SiteListResourceToJSON(json) {
50
+ return SiteListResourceToJSONTyped(json, false);
51
+ }
52
+ function SiteListResourceToJSONTyped(value, ignoreDiscriminator) {
53
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
54
+ if (value == null) {
55
+ return value;
56
+ }
57
+ return {
58
+ 'id': value['id'],
59
+ 'name': value['name'],
60
+ 'abbreviation': value['abbreviation'],
61
+ 'domain': value['domain'],
62
+ };
63
+ }
@@ -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 { SiteListResource } from './SiteListResource';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SiteListResourceArrayResponse
17
+ */
18
+ export interface SiteListResourceArrayResponse {
19
+ /**
20
+ *
21
+ * @type {Array<SiteListResource>}
22
+ * @memberof SiteListResourceArrayResponse
23
+ */
24
+ data?: Array<SiteListResource>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the SiteListResourceArrayResponse interface.
28
+ */
29
+ export declare function instanceOfSiteListResourceArrayResponse(value: object): value is SiteListResourceArrayResponse;
30
+ export declare function SiteListResourceArrayResponseFromJSON(json: any): SiteListResourceArrayResponse;
31
+ export declare function SiteListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SiteListResourceArrayResponse;
32
+ export declare function SiteListResourceArrayResponseToJSON(json: any): SiteListResourceArrayResponse;
33
+ export declare function SiteListResourceArrayResponseToJSONTyped(value?: SiteListResourceArrayResponse | 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.instanceOfSiteListResourceArrayResponse = instanceOfSiteListResourceArrayResponse;
17
+ exports.SiteListResourceArrayResponseFromJSON = SiteListResourceArrayResponseFromJSON;
18
+ exports.SiteListResourceArrayResponseFromJSONTyped = SiteListResourceArrayResponseFromJSONTyped;
19
+ exports.SiteListResourceArrayResponseToJSON = SiteListResourceArrayResponseToJSON;
20
+ exports.SiteListResourceArrayResponseToJSONTyped = SiteListResourceArrayResponseToJSONTyped;
21
+ var SiteListResource_1 = require("./SiteListResource");
22
+ /**
23
+ * Check if a given object implements the SiteListResourceArrayResponse interface.
24
+ */
25
+ function instanceOfSiteListResourceArrayResponse(value) {
26
+ return true;
27
+ }
28
+ function SiteListResourceArrayResponseFromJSON(json) {
29
+ return SiteListResourceArrayResponseFromJSONTyped(json, false);
30
+ }
31
+ function SiteListResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'data': json['data'] == null ? undefined : (json['data'].map(SiteListResource_1.SiteListResourceFromJSON)),
37
+ };
38
+ }
39
+ function SiteListResourceArrayResponseToJSON(json) {
40
+ return SiteListResourceArrayResponseToJSONTyped(json, false);
41
+ }
42
+ function SiteListResourceArrayResponseToJSONTyped(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(SiteListResource_1.SiteListResourceToJSON)),
49
+ };
50
+ }
@@ -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 { AssetLiteResource } from './AssetLiteResource';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SupplierListResource
17
+ */
18
+ export interface SupplierListResource {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof SupplierListResource
23
+ */
24
+ id: number;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof SupplierListResource
29
+ */
30
+ name: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof SupplierListResource
35
+ */
36
+ slug: string;
37
+ /**
38
+ *
39
+ * @type {AssetLiteResource}
40
+ * @memberof SupplierListResource
41
+ */
42
+ thumbnail: AssetLiteResource | null;
43
+ /**
44
+ *
45
+ * @type {number}
46
+ * @memberof SupplierListResource
47
+ */
48
+ supplierEta: number;
49
+ }
50
+ /**
51
+ * Check if a given object implements the SupplierListResource interface.
52
+ */
53
+ export declare function instanceOfSupplierListResource(value: object): value is SupplierListResource;
54
+ export declare function SupplierListResourceFromJSON(json: any): SupplierListResource;
55
+ export declare function SupplierListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupplierListResource;
56
+ export declare function SupplierListResourceToJSON(json: any): SupplierListResource;
57
+ export declare function SupplierListResourceToJSONTyped(value?: SupplierListResource | 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.instanceOfSupplierListResource = instanceOfSupplierListResource;
17
+ exports.SupplierListResourceFromJSON = SupplierListResourceFromJSON;
18
+ exports.SupplierListResourceFromJSONTyped = SupplierListResourceFromJSONTyped;
19
+ exports.SupplierListResourceToJSON = SupplierListResourceToJSON;
20
+ exports.SupplierListResourceToJSONTyped = SupplierListResourceToJSONTyped;
21
+ var AssetLiteResource_1 = require("./AssetLiteResource");
22
+ /**
23
+ * Check if a given object implements the SupplierListResource interface.
24
+ */
25
+ function instanceOfSupplierListResource(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 (!('thumbnail' in value) || value['thumbnail'] === undefined)
33
+ return false;
34
+ if (!('supplierEta' in value) || value['supplierEta'] === undefined)
35
+ return false;
36
+ return true;
37
+ }
38
+ function SupplierListResourceFromJSON(json) {
39
+ return SupplierListResourceFromJSONTyped(json, false);
40
+ }
41
+ function SupplierListResourceFromJSONTyped(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
+ 'thumbnail': (0, AssetLiteResource_1.AssetLiteResourceFromJSON)(json['thumbnail']),
50
+ 'supplierEta': json['supplierEta'],
51
+ };
52
+ }
53
+ function SupplierListResourceToJSON(json) {
54
+ return SupplierListResourceToJSONTyped(json, false);
55
+ }
56
+ function SupplierListResourceToJSONTyped(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
+ 'thumbnail': (0, AssetLiteResource_1.AssetLiteResourceToJSON)(value['thumbnail']),
66
+ 'supplierEta': value['supplierEta'],
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 { SupplierListResource } from './SupplierListResource';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SupplierListResourceArrayResponse
17
+ */
18
+ export interface SupplierListResourceArrayResponse {
19
+ /**
20
+ *
21
+ * @type {Array<SupplierListResource>}
22
+ * @memberof SupplierListResourceArrayResponse
23
+ */
24
+ data?: Array<SupplierListResource>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the SupplierListResourceArrayResponse interface.
28
+ */
29
+ export declare function instanceOfSupplierListResourceArrayResponse(value: object): value is SupplierListResourceArrayResponse;
30
+ export declare function SupplierListResourceArrayResponseFromJSON(json: any): SupplierListResourceArrayResponse;
31
+ export declare function SupplierListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupplierListResourceArrayResponse;
32
+ export declare function SupplierListResourceArrayResponseToJSON(json: any): SupplierListResourceArrayResponse;
33
+ export declare function SupplierListResourceArrayResponseToJSONTyped(value?: SupplierListResourceArrayResponse | 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.instanceOfSupplierListResourceArrayResponse = instanceOfSupplierListResourceArrayResponse;
17
+ exports.SupplierListResourceArrayResponseFromJSON = SupplierListResourceArrayResponseFromJSON;
18
+ exports.SupplierListResourceArrayResponseFromJSONTyped = SupplierListResourceArrayResponseFromJSONTyped;
19
+ exports.SupplierListResourceArrayResponseToJSON = SupplierListResourceArrayResponseToJSON;
20
+ exports.SupplierListResourceArrayResponseToJSONTyped = SupplierListResourceArrayResponseToJSONTyped;
21
+ var SupplierListResource_1 = require("./SupplierListResource");
22
+ /**
23
+ * Check if a given object implements the SupplierListResourceArrayResponse interface.
24
+ */
25
+ function instanceOfSupplierListResourceArrayResponse(value) {
26
+ return true;
27
+ }
28
+ function SupplierListResourceArrayResponseFromJSON(json) {
29
+ return SupplierListResourceArrayResponseFromJSONTyped(json, false);
30
+ }
31
+ function SupplierListResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'data': json['data'] == null ? undefined : (json['data'].map(SupplierListResource_1.SupplierListResourceFromJSON)),
37
+ };
38
+ }
39
+ function SupplierListResourceArrayResponseToJSON(json) {
40
+ return SupplierListResourceArrayResponseToJSONTyped(json, false);
41
+ }
42
+ function SupplierListResourceArrayResponseToJSONTyped(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(SupplierListResource_1.SupplierListResourceToJSON)),
49
+ };
50
+ }
@@ -63,10 +63,12 @@ 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';
72
74
  export * from './PaginatedTagListResourceResponse';
@@ -95,6 +97,8 @@ export * from './SEOResource';
95
97
  export * from './SEOResourceArrayResponse';
96
98
  export * from './SiteConfigResource';
97
99
  export * from './SiteConfigResourceArrayResponse';
100
+ export * from './SiteListResource';
101
+ export * from './SiteListResourceArrayResponse';
98
102
  export * from './SiteLiteResource';
99
103
  export * from './SiteLiteResourceArrayResponse';
100
104
  export * from './SiteNotificationResource';
@@ -122,6 +126,8 @@ export * from './StoreSupplierRequestSeoInner';
122
126
  export * from './StoreTagRequest';
123
127
  export * from './SupplierFrontendResource';
124
128
  export * from './SupplierFrontendResourceArrayResponse';
129
+ export * from './SupplierListResource';
130
+ export * from './SupplierListResourceArrayResponse';
125
131
  export * from './SupplierLiteResource';
126
132
  export * from './SupplierLiteResourceArrayResponse';
127
133
  export * from './SupplierResource';
@@ -81,10 +81,12 @@ __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);
90
92
  __exportStar(require("./PaginatedTagListResourceResponse"), exports);
@@ -113,6 +115,8 @@ __exportStar(require("./SEOResource"), exports);
113
115
  __exportStar(require("./SEOResourceArrayResponse"), exports);
114
116
  __exportStar(require("./SiteConfigResource"), exports);
115
117
  __exportStar(require("./SiteConfigResourceArrayResponse"), exports);
118
+ __exportStar(require("./SiteListResource"), exports);
119
+ __exportStar(require("./SiteListResourceArrayResponse"), exports);
116
120
  __exportStar(require("./SiteLiteResource"), exports);
117
121
  __exportStar(require("./SiteLiteResourceArrayResponse"), exports);
118
122
  __exportStar(require("./SiteNotificationResource"), exports);
@@ -140,6 +144,8 @@ __exportStar(require("./StoreSupplierRequestSeoInner"), exports);
140
144
  __exportStar(require("./StoreTagRequest"), exports);
141
145
  __exportStar(require("./SupplierFrontendResource"), exports);
142
146
  __exportStar(require("./SupplierFrontendResourceArrayResponse"), exports);
147
+ __exportStar(require("./SupplierListResource"), exports);
148
+ __exportStar(require("./SupplierListResourceArrayResponse"), exports);
143
149
  __exportStar(require("./SupplierLiteResource"), exports);
144
150
  __exportStar(require("./SupplierLiteResourceArrayResponse"), exports);
145
151
  __exportStar(require("./SupplierResource"), exports);
@@ -0,0 +1,36 @@
1
+
2
+ # PaginatedSiteListResourceResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array&lt;SiteListResource&gt;](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&lt;SupplierListResource&gt;](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
+
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
- > PaginatedSiteResourceResponse indexSite(indexSiteRequest)
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
- [**PaginatedSiteResourceResponse**](PaginatedSiteResourceResponse.md)
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&lt;\\ResourcePaginator&lt;\\SiteResource[]&gt;&gt; | - |
209
+ | **200** | Paginated response \\JsonResponse&lt;\\ResourcePaginator&lt;\\SiteListResource[]&gt;&gt; | - |
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&lt;\\ResourcePaginator&lt;\\SiteListResource[]&gt;&gt; | - |
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&lt;SiteListResource&gt;](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
+