@digital8/lighting-illusions-ts-sdk 0.0.448 → 0.0.449
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 +0 -30
- package/README.md +2 -22
- package/dist/apis/AttributeApi.d.ts +3 -14
- package/dist/apis/AttributeApi.js +1 -46
- package/dist/apis/ProductTypeApi.d.ts +3 -14
- package/dist/apis/ProductTypeApi.js +1 -46
- package/dist/apis/SiteApi.d.ts +3 -14
- package/dist/apis/SiteApi.js +1 -46
- package/dist/apis/SupplierApi.d.ts +3 -14
- package/dist/apis/SupplierApi.js +1 -46
- package/dist/apis/TagApi.d.ts +3 -14
- package/dist/apis/TagApi.js +1 -46
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/GetAllAttributeRequest.d.ts +9 -9
- package/dist/models/GetAllAttributeRequest.js +4 -4
- package/dist/models/GetAllOverlayTemplateRequest.d.ts +6 -6
- package/dist/models/GetAllOverlayTemplateRequest.js +2 -2
- package/dist/models/GetAllProductRequest.d.ts +0 -30
- package/dist/models/GetAllProductRequest.js +0 -10
- package/dist/models/IndexAttributeRequest.d.ts +0 -19
- package/dist/models/IndexAttributeRequest.js +1 -11
- package/dist/models/IndexExternalApiLogRequest.d.ts +3 -15
- package/dist/models/IndexExternalApiLogRequest.js +4 -8
- package/dist/models/IndexOverlayTemplateRequest.d.ts +0 -12
- package/dist/models/IndexOverlayTemplateRequest.js +0 -4
- package/dist/models/IndexProductTypeRequest.d.ts +0 -19
- package/dist/models/IndexProductTypeRequest.js +1 -11
- package/dist/models/IndexSiteNotificationRequest.d.ts +0 -12
- package/dist/models/IndexSiteNotificationRequest.js +0 -4
- package/dist/models/IndexSiteRequest.d.ts +0 -12
- package/dist/models/IndexSiteRequest.js +0 -4
- package/dist/models/IndexSupplierRequest.d.ts +0 -19
- package/dist/models/IndexSupplierRequest.js +1 -11
- package/dist/models/IndexTagRequest.d.ts +0 -19
- package/dist/models/IndexTagRequest.js +1 -11
- package/dist/models/index.d.ts +0 -15
- package/dist/models/index.js +0 -15
- package/docs/AttributeApi.md +3 -69
- package/docs/GetAllAttributeRequest.md +4 -4
- package/docs/GetAllOverlayTemplateRequest.md +2 -2
- package/docs/GetAllProductRequest.md +0 -10
- package/docs/IndexAttributeRequest.md +0 -4
- package/docs/IndexExternalApiLogRequest.md +4 -8
- package/docs/IndexOverlayTemplateRequest.md +0 -4
- package/docs/IndexProductTypeRequest.md +0 -4
- package/docs/IndexSiteNotificationRequest.md +0 -4
- package/docs/IndexSiteRequest.md +0 -4
- package/docs/IndexSupplierRequest.md +0 -4
- package/docs/IndexTagRequest.md +0 -4
- package/docs/ProductTypeApi.md +3 -69
- package/docs/SiteApi.md +3 -69
- package/docs/SupplierApi.md +3 -69
- package/docs/TagApi.md +3 -69
- package/package.json +1 -1
- package/src/apis/AttributeApi.ts +6 -42
- package/src/apis/ProductTypeApi.ts +6 -42
- package/src/apis/SiteApi.ts +6 -42
- package/src/apis/SupplierApi.ts +6 -42
- package/src/apis/TagApi.ts +6 -42
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/GetAllAttributeRequest.ts +13 -13
- package/src/models/GetAllOverlayTemplateRequest.ts +8 -8
- package/src/models/GetAllProductRequest.ts +0 -40
- package/src/models/IndexAttributeRequest.ts +0 -24
- package/src/models/IndexExternalApiLogRequest.ts +7 -23
- package/src/models/IndexOverlayTemplateRequest.ts +0 -16
- package/src/models/IndexProductTypeRequest.ts +0 -24
- package/src/models/IndexSiteNotificationRequest.ts +0 -16
- package/src/models/IndexSiteRequest.ts +0 -16
- package/src/models/IndexSupplierRequest.ts +0 -24
- package/src/models/IndexTagRequest.ts +0 -24
- package/src/models/index.ts +0 -15
- package/dist/models/AttributeListResource.d.ts +0 -56
- package/dist/models/AttributeListResource.js +0 -67
- package/dist/models/AttributeListResourceArrayResponse.d.ts +0 -33
- package/dist/models/AttributeListResourceArrayResponse.js +0 -50
- package/dist/models/PaginatedAttributeListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedAttributeListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductTypeListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductTypeListResourceResponse.js +0 -57
- package/dist/models/PaginatedSiteListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedSiteListResourceResponse.js +0 -57
- package/dist/models/PaginatedSupplierListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedSupplierListResourceResponse.js +0 -57
- package/dist/models/PaginatedTagListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedTagListResourceResponse.js +0 -57
- package/dist/models/ProductTypeListResource.d.ts +0 -38
- package/dist/models/ProductTypeListResource.js +0 -55
- package/dist/models/ProductTypeListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductTypeListResourceArrayResponse.js +0 -50
- package/dist/models/SiteListResource.d.ts +0 -50
- package/dist/models/SiteListResource.js +0 -63
- package/dist/models/SiteListResourceArrayResponse.d.ts +0 -33
- package/dist/models/SiteListResourceArrayResponse.js +0 -50
- package/dist/models/SupplierListResource.d.ts +0 -57
- package/dist/models/SupplierListResource.js +0 -68
- package/dist/models/SupplierListResourceArrayResponse.d.ts +0 -33
- package/dist/models/SupplierListResourceArrayResponse.js +0 -50
- package/dist/models/TagListResource.d.ts +0 -57
- package/dist/models/TagListResource.js +0 -68
- package/dist/models/TagListResourceArrayResponse.d.ts +0 -33
- package/dist/models/TagListResourceArrayResponse.js +0 -50
- package/docs/AttributeListResource.md +0 -42
- package/docs/AttributeListResourceArrayResponse.md +0 -34
- package/docs/PaginatedAttributeListResourceResponse.md +0 -36
- package/docs/PaginatedProductTypeListResourceResponse.md +0 -36
- package/docs/PaginatedSiteListResourceResponse.md +0 -36
- package/docs/PaginatedSupplierListResourceResponse.md +0 -36
- package/docs/PaginatedTagListResourceResponse.md +0 -36
- package/docs/ProductTypeListResource.md +0 -36
- package/docs/ProductTypeListResourceArrayResponse.md +0 -34
- package/docs/SiteListResource.md +0 -40
- package/docs/SiteListResourceArrayResponse.md +0 -34
- package/docs/SupplierListResource.md +0 -42
- package/docs/SupplierListResourceArrayResponse.md +0 -34
- package/docs/TagListResource.md +0 -42
- package/docs/TagListResourceArrayResponse.md +0 -34
- package/src/models/AttributeListResource.ts +0 -102
- package/src/models/AttributeListResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedAttributeListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductTypeListResourceResponse.ts +0 -90
- package/src/models/PaginatedSiteListResourceResponse.ts +0 -90
- package/src/models/PaginatedSupplierListResourceResponse.ts +0 -90
- package/src/models/PaginatedTagListResourceResponse.ts +0 -90
- package/src/models/ProductTypeListResource.ts +0 -75
- package/src/models/ProductTypeListResourceArrayResponse.ts +0 -73
- package/src/models/SiteListResource.ts +0 -93
- package/src/models/SiteListResourceArrayResponse.ts +0 -73
- package/src/models/SupplierListResource.ts +0 -110
- package/src/models/SupplierListResourceArrayResponse.ts +0 -73
- package/src/models/TagListResource.ts +0 -110
- package/src/models/TagListResourceArrayResponse.ts +0 -73
|
@@ -1,36 +0,0 @@
|
|
|
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
|
-
|
|
@@ -1,36 +0,0 @@
|
|
|
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
|
-
|
|
@@ -1,36 +0,0 @@
|
|
|
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
|
-
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# ProductTypeListResource
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`id` | number
|
|
10
|
-
`name` | string
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import type { ProductTypeListResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
16
|
-
|
|
17
|
-
// TODO: Update the object below with actual values
|
|
18
|
-
const example = {
|
|
19
|
-
"id": null,
|
|
20
|
-
"name": null,
|
|
21
|
-
} satisfies ProductTypeListResource
|
|
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 ProductTypeListResource
|
|
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
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# ProductTypeListResourceArrayResponse
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`data` | [Array<ProductTypeListResource>](ProductTypeListResource.md)
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { ProductTypeListResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
"data": null,
|
|
19
|
-
} satisfies ProductTypeListResourceArrayResponse
|
|
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 ProductTypeListResourceArrayResponse
|
|
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
|
-
|
package/docs/SiteListResource.md
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
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
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
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
|
-
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# SupplierListResource
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`id` | number
|
|
10
|
-
`name` | string
|
|
11
|
-
`slug` | string
|
|
12
|
-
`thumbnail` | [AssetLiteResource](AssetLiteResource.md)
|
|
13
|
-
`supplierEta` | number
|
|
14
|
-
|
|
15
|
-
## Example
|
|
16
|
-
|
|
17
|
-
```typescript
|
|
18
|
-
import type { SupplierListResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
19
|
-
|
|
20
|
-
// TODO: Update the object below with actual values
|
|
21
|
-
const example = {
|
|
22
|
-
"id": null,
|
|
23
|
-
"name": null,
|
|
24
|
-
"slug": null,
|
|
25
|
-
"thumbnail": null,
|
|
26
|
-
"supplierEta": null,
|
|
27
|
-
} satisfies SupplierListResource
|
|
28
|
-
|
|
29
|
-
console.log(example)
|
|
30
|
-
|
|
31
|
-
// Convert the instance to a JSON string
|
|
32
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
33
|
-
console.log(exampleJSON)
|
|
34
|
-
|
|
35
|
-
// Parse the JSON string back to an object
|
|
36
|
-
const exampleParsed = JSON.parse(exampleJSON) as SupplierListResource
|
|
37
|
-
console.log(exampleParsed)
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
41
|
-
|
|
42
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# SupplierListResourceArrayResponse
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`data` | [Array<SupplierListResource>](SupplierListResource.md)
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { SupplierListResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
"data": null,
|
|
19
|
-
} satisfies SupplierListResourceArrayResponse
|
|
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 SupplierListResourceArrayResponse
|
|
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
|
-
|
package/docs/TagListResource.md
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# TagListResource
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`id` | number
|
|
10
|
-
`name` | string
|
|
11
|
-
`slug` | string
|
|
12
|
-
`type` | string
|
|
13
|
-
`site` | [SiteLiteResource](SiteLiteResource.md)
|
|
14
|
-
|
|
15
|
-
## Example
|
|
16
|
-
|
|
17
|
-
```typescript
|
|
18
|
-
import type { TagListResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
19
|
-
|
|
20
|
-
// TODO: Update the object below with actual values
|
|
21
|
-
const example = {
|
|
22
|
-
"id": null,
|
|
23
|
-
"name": null,
|
|
24
|
-
"slug": null,
|
|
25
|
-
"type": null,
|
|
26
|
-
"site": null,
|
|
27
|
-
} satisfies TagListResource
|
|
28
|
-
|
|
29
|
-
console.log(example)
|
|
30
|
-
|
|
31
|
-
// Convert the instance to a JSON string
|
|
32
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
33
|
-
console.log(exampleJSON)
|
|
34
|
-
|
|
35
|
-
// Parse the JSON string back to an object
|
|
36
|
-
const exampleParsed = JSON.parse(exampleJSON) as TagListResource
|
|
37
|
-
console.log(exampleParsed)
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
41
|
-
|
|
42
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# TagListResourceArrayResponse
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`data` | [Array<TagListResource>](TagListResource.md)
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { TagListResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
"data": null,
|
|
19
|
-
} satisfies TagListResourceArrayResponse
|
|
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 TagListResourceArrayResponse
|
|
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
|
-
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface AttributeListResource
|
|
20
|
-
*/
|
|
21
|
-
export interface AttributeListResource {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof AttributeListResource
|
|
26
|
-
*/
|
|
27
|
-
id: number;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof AttributeListResource
|
|
32
|
-
*/
|
|
33
|
-
name: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof AttributeListResource
|
|
38
|
-
*/
|
|
39
|
-
type: string;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {boolean}
|
|
43
|
-
* @memberof AttributeListResource
|
|
44
|
-
*/
|
|
45
|
-
isFilterable: boolean;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {number}
|
|
49
|
-
* @memberof AttributeListResource
|
|
50
|
-
*/
|
|
51
|
-
filterIndex: number;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Check if a given object implements the AttributeListResource interface.
|
|
56
|
-
*/
|
|
57
|
-
export function instanceOfAttributeListResource(value: object): value is AttributeListResource {
|
|
58
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
59
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
60
|
-
if (!('type' in value) || value['type'] === undefined) return false;
|
|
61
|
-
if (!('isFilterable' in value) || value['isFilterable'] === undefined) return false;
|
|
62
|
-
if (!('filterIndex' in value) || value['filterIndex'] === undefined) return false;
|
|
63
|
-
return true;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export function AttributeListResourceFromJSON(json: any): AttributeListResource {
|
|
67
|
-
return AttributeListResourceFromJSONTyped(json, false);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export function AttributeListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttributeListResource {
|
|
71
|
-
if (json == null) {
|
|
72
|
-
return json;
|
|
73
|
-
}
|
|
74
|
-
return {
|
|
75
|
-
|
|
76
|
-
'id': json['id'],
|
|
77
|
-
'name': json['name'],
|
|
78
|
-
'type': json['type'],
|
|
79
|
-
'isFilterable': json['isFilterable'],
|
|
80
|
-
'filterIndex': json['filterIndex'],
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export function AttributeListResourceToJSON(json: any): AttributeListResource {
|
|
85
|
-
return AttributeListResourceToJSONTyped(json, false);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export function AttributeListResourceToJSONTyped(value?: AttributeListResource | null, ignoreDiscriminator: boolean = false): any {
|
|
89
|
-
if (value == null) {
|
|
90
|
-
return value;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
return {
|
|
94
|
-
|
|
95
|
-
'id': value['id'],
|
|
96
|
-
'name': value['name'],
|
|
97
|
-
'type': value['type'],
|
|
98
|
-
'isFilterable': value['isFilterable'],
|
|
99
|
-
'filterIndex': value['filterIndex'],
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
|
-
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { AttributeListResource } from './AttributeListResource';
|
|
17
|
-
import {
|
|
18
|
-
AttributeListResourceFromJSON,
|
|
19
|
-
AttributeListResourceFromJSONTyped,
|
|
20
|
-
AttributeListResourceToJSON,
|
|
21
|
-
AttributeListResourceToJSONTyped,
|
|
22
|
-
} from './AttributeListResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface AttributeListResourceArrayResponse
|
|
28
|
-
*/
|
|
29
|
-
export interface AttributeListResourceArrayResponse {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<AttributeListResource>}
|
|
33
|
-
* @memberof AttributeListResourceArrayResponse
|
|
34
|
-
*/
|
|
35
|
-
data?: Array<AttributeListResource>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the AttributeListResourceArrayResponse interface.
|
|
40
|
-
*/
|
|
41
|
-
export function instanceOfAttributeListResourceArrayResponse(value: object): value is AttributeListResourceArrayResponse {
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function AttributeListResourceArrayResponseFromJSON(json: any): AttributeListResourceArrayResponse {
|
|
46
|
-
return AttributeListResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function AttributeListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttributeListResourceArrayResponse {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(AttributeListResourceFromJSON)),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function AttributeListResourceArrayResponseToJSON(json: any): AttributeListResourceArrayResponse {
|
|
60
|
-
return AttributeListResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function AttributeListResourceArrayResponseToJSONTyped(value?: AttributeListResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
-
if (value == null) {
|
|
65
|
-
return value;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
return {
|
|
69
|
-
|
|
70
|
-
'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(AttributeListResourceToJSON)),
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { PagingMetadata } from './PagingMetadata';
|
|
17
|
-
import {
|
|
18
|
-
PagingMetadataFromJSON,
|
|
19
|
-
PagingMetadataFromJSONTyped,
|
|
20
|
-
PagingMetadataToJSON,
|
|
21
|
-
PagingMetadataToJSONTyped,
|
|
22
|
-
} from './PagingMetadata';
|
|
23
|
-
import type { AttributeListResource } from './AttributeListResource';
|
|
24
|
-
import {
|
|
25
|
-
AttributeListResourceFromJSON,
|
|
26
|
-
AttributeListResourceFromJSONTyped,
|
|
27
|
-
AttributeListResourceToJSON,
|
|
28
|
-
AttributeListResourceToJSONTyped,
|
|
29
|
-
} from './AttributeListResource';
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @export
|
|
34
|
-
* @interface PaginatedAttributeListResourceResponse
|
|
35
|
-
*/
|
|
36
|
-
export interface PaginatedAttributeListResourceResponse {
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {Array<AttributeListResource>}
|
|
40
|
-
* @memberof PaginatedAttributeListResourceResponse
|
|
41
|
-
*/
|
|
42
|
-
data: Array<AttributeListResource>;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {PagingMetadata}
|
|
46
|
-
* @memberof PaginatedAttributeListResourceResponse
|
|
47
|
-
*/
|
|
48
|
-
meta: PagingMetadata;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Check if a given object implements the PaginatedAttributeListResourceResponse interface.
|
|
53
|
-
*/
|
|
54
|
-
export function instanceOfPaginatedAttributeListResourceResponse(value: object): value is PaginatedAttributeListResourceResponse {
|
|
55
|
-
if (!('data' in value) || value['data'] === undefined) return false;
|
|
56
|
-
if (!('meta' in value) || value['meta'] === undefined) return false;
|
|
57
|
-
return true;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function PaginatedAttributeListResourceResponseFromJSON(json: any): PaginatedAttributeListResourceResponse {
|
|
61
|
-
return PaginatedAttributeListResourceResponseFromJSONTyped(json, false);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function PaginatedAttributeListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedAttributeListResourceResponse {
|
|
65
|
-
if (json == null) {
|
|
66
|
-
return json;
|
|
67
|
-
}
|
|
68
|
-
return {
|
|
69
|
-
|
|
70
|
-
'data': ((json['data'] as Array<any>).map(AttributeListResourceFromJSON)),
|
|
71
|
-
'meta': PagingMetadataFromJSON(json['meta']),
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export function PaginatedAttributeListResourceResponseToJSON(json: any): PaginatedAttributeListResourceResponse {
|
|
76
|
-
return PaginatedAttributeListResourceResponseToJSONTyped(json, false);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
export function PaginatedAttributeListResourceResponseToJSONTyped(value?: PaginatedAttributeListResourceResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
80
|
-
if (value == null) {
|
|
81
|
-
return value;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
return {
|
|
85
|
-
|
|
86
|
-
'data': ((value['data'] as Array<any>).map(AttributeListResourceToJSON)),
|
|
87
|
-
'meta': PagingMetadataToJSON(value['meta']),
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
|