@digital8/lighting-illusions-ts-sdk 0.0.2200 → 0.0.2201
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 +64 -0
- package/README.md +42 -2
- package/dist/apis/AdminsApi.d.ts +116 -0
- package/dist/apis/AdminsApi.js +440 -0
- package/dist/apis/CustomersApi.d.ts +50 -0
- package/dist/apis/CustomersApi.js +182 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AddressFrontendResource.d.ts +1 -1
- package/dist/models/AddressFrontendResource.js +1 -3
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +1 -3
- package/dist/models/AddressType.d.ts +2 -0
- package/dist/models/AddressType.js +3 -1
- package/dist/models/AdminListResource.d.ts +52 -0
- package/dist/models/AdminListResource.js +61 -0
- package/dist/models/AdminListResourceArrayResponse.d.ts +33 -0
- package/dist/models/AdminListResourceArrayResponse.js +50 -0
- package/dist/models/AdminLiteResource.d.ts +39 -0
- package/dist/models/AdminLiteResource.js +54 -0
- package/dist/models/AdminLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/AdminLiteResourceArrayResponse.js +50 -0
- package/dist/models/AdminResource.d.ts +58 -0
- package/dist/models/AdminResource.js +63 -0
- package/dist/models/AdminResourceArrayResponse.d.ts +33 -0
- package/dist/models/AdminResourceArrayResponse.js +50 -0
- package/dist/models/CheckEmailFrontendResource.d.ts +38 -0
- package/dist/models/CheckEmailFrontendResource.js +53 -0
- package/dist/models/CheckEmailFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/CheckEmailFrontendResourceArrayResponse.js +50 -0
- package/dist/models/CreateAdminUserRequest.d.ts +62 -0
- package/dist/models/CreateAdminUserRequest.js +69 -0
- package/dist/models/CreateCustomerRequest.d.ts +18 -6
- package/dist/models/CreateCustomerRequest.js +12 -6
- package/dist/models/CreateSupplierRequest.d.ts +0 -6
- package/dist/models/CreateSupplierRequest.js +0 -2
- package/dist/models/CustomerAuthResponseResource.d.ts +39 -0
- package/dist/models/CustomerAuthResponseResource.js +56 -0
- package/dist/models/CustomerAuthResponseResourceArrayResponse.d.ts +33 -0
- package/dist/models/CustomerAuthResponseResourceArrayResponse.js +50 -0
- package/dist/models/CustomerFrontendResource.d.ts +70 -0
- package/dist/models/CustomerFrontendResource.js +75 -0
- package/dist/models/CustomerFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/CustomerFrontendResourceArrayResponse.js +50 -0
- package/dist/models/CustomerListResource.d.ts +21 -8
- package/dist/models/CustomerListResource.js +20 -13
- package/dist/models/CustomerResource.d.ts +34 -9
- package/dist/models/CustomerResource.js +27 -16
- package/dist/models/CustomerSocialLinkableResource.d.ts +38 -0
- package/dist/models/CustomerSocialLinkableResource.js +55 -0
- package/dist/models/CustomerSocialLinkableResourceArrayResponse.d.ts +33 -0
- package/dist/models/CustomerSocialLinkableResourceArrayResponse.js +50 -0
- package/dist/models/CustomerType.d.ts +25 -0
- package/dist/models/CustomerType.js +51 -0
- package/dist/models/OrderFulfillmentResource.d.ts +1 -1
- package/dist/models/OrderFulfillmentResource.js +3 -1
- package/dist/models/PaginatedAdminListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedAdminListResourceResponse.js +57 -0
- package/dist/models/PaginatedAdminLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedAdminLiteResourceResponse.js +57 -0
- package/dist/models/PaginatedRoleLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedRoleLiteResourceResponse.js +57 -0
- package/dist/models/RoleLiteResource.d.ts +38 -0
- package/dist/models/RoleLiteResource.js +53 -0
- package/dist/models/RoleLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/RoleLiteResourceArrayResponse.js +50 -0
- package/dist/models/SearchAdminUsersRequest.d.ts +112 -0
- package/dist/models/SearchAdminUsersRequest.js +88 -0
- package/dist/models/SearchAllAdminUsersRequest.d.ts +82 -0
- package/dist/models/SearchAllAdminUsersRequest.js +78 -0
- package/dist/models/SearchAllCustomersRequest.d.ts +103 -0
- package/dist/models/SearchAllCustomersRequest.js +87 -0
- package/dist/models/SearchCustomersRequest.d.ts +31 -3
- package/dist/models/SearchCustomersRequest.js +15 -3
- package/dist/models/SignUpType.d.ts +29 -0
- package/dist/models/SignUpType.js +55 -0
- package/dist/models/SocialProvider.d.ts +26 -0
- package/dist/models/SocialProvider.js +52 -0
- package/dist/models/StoreFrontendResource.d.ts +1 -1
- package/dist/models/StoreFrontendResource.js +1 -3
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateFrontendResource.js +1 -3
- package/dist/models/SupplierFrontendResource.d.ts +0 -6
- package/dist/models/SupplierFrontendResource.js +0 -4
- package/dist/models/SupplierResource.d.ts +0 -6
- package/dist/models/SupplierResource.js +0 -4
- package/dist/models/UpdateAdminUserRequest.d.ts +62 -0
- package/dist/models/UpdateAdminUserRequest.js +67 -0
- package/dist/models/UpdateCustomerRequest.d.ts +62 -0
- package/dist/models/UpdateCustomerRequest.js +65 -0
- package/dist/models/UpdateSupplierRequest.d.ts +0 -6
- package/dist/models/UpdateSupplierRequest.js +0 -2
- package/dist/models/UserLiteResource.d.ts +62 -0
- package/dist/models/UserLiteResource.js +69 -0
- package/dist/models/UserLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/UserLiteResourceArrayResponse.js +50 -0
- package/dist/models/UserType.d.ts +25 -0
- package/dist/models/UserType.js +51 -0
- package/dist/models/index.d.ts +31 -0
- package/dist/models/index.js +31 -0
- package/docs/AdminListResource.md +40 -0
- package/docs/AdminListResourceArrayResponse.md +34 -0
- package/docs/AdminLiteResource.md +36 -0
- package/docs/AdminLiteResourceArrayResponse.md +34 -0
- package/docs/AdminResource.md +42 -0
- package/docs/AdminResourceArrayResponse.md +34 -0
- package/docs/AdminsApi.md +407 -0
- package/docs/CheckEmailFrontendResource.md +36 -0
- package/docs/CheckEmailFrontendResourceArrayResponse.md +34 -0
- package/docs/CreateAdminUserRequest.md +44 -0
- package/docs/CreateCustomerRequest.md +8 -4
- package/docs/CreateSupplierRequest.md +0 -2
- package/docs/CustomerAuthResponseResource.md +36 -0
- package/docs/CustomerAuthResponseResourceArrayResponse.md +34 -0
- package/docs/CustomerFrontendResource.md +46 -0
- package/docs/CustomerFrontendResourceArrayResponse.md +34 -0
- package/docs/CustomerListResource.md +12 -8
- package/docs/CustomerResource.md +17 -9
- package/docs/CustomerSocialLinkableResource.md +36 -0
- package/docs/CustomerSocialLinkableResourceArrayResponse.md +34 -0
- package/docs/CustomerType.md +32 -0
- package/docs/CustomersApi.md +201 -0
- package/docs/PaginatedAdminListResourceResponse.md +36 -0
- package/docs/PaginatedAdminLiteResourceResponse.md +36 -0
- package/docs/PaginatedRoleLiteResourceResponse.md +36 -0
- package/docs/RoleLiteResource.md +36 -0
- package/docs/RoleLiteResourceArrayResponse.md +34 -0
- package/docs/SearchAdminUsersRequest.md +54 -0
- package/docs/SearchAllAdminUsersRequest.md +44 -0
- package/docs/SearchAllCustomersRequest.md +50 -0
- package/docs/SearchCustomersRequest.md +8 -0
- package/docs/SignUpType.md +32 -0
- package/docs/SocialProvider.md +32 -0
- package/docs/StoreSpecialDateFrontendResource.md +1 -1
- package/docs/SupplierFrontendResource.md +0 -2
- package/docs/SupplierResource.md +0 -2
- package/docs/UpdateAdminUserRequest.md +44 -0
- package/docs/UpdateCustomerRequest.md +44 -0
- package/docs/UpdateSupplierRequest.md +0 -2
- package/docs/UserLiteResource.md +44 -0
- package/docs/UserLiteResourceArrayResponse.md +34 -0
- package/docs/UserType.md +32 -0
- package/package.json +1 -1
- package/src/apis/AdminsApi.ts +345 -0
- package/src/apis/CustomersApi.ts +166 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AddressFrontendResource.ts +2 -3
- package/src/models/AddressResource.ts +2 -3
- package/src/models/AddressType.ts +3 -1
- package/src/models/AdminListResource.ts +106 -0
- package/src/models/AdminListResourceArrayResponse.ts +73 -0
- package/src/models/AdminLiteResource.ts +82 -0
- package/src/models/AdminLiteResourceArrayResponse.ts +73 -0
- package/src/models/AdminResource.ts +114 -0
- package/src/models/AdminResourceArrayResponse.ts +73 -0
- package/src/models/CheckEmailFrontendResource.ts +74 -0
- package/src/models/CheckEmailFrontendResourceArrayResponse.ts +73 -0
- package/src/models/CreateAdminUserRequest.ts +110 -0
- package/src/models/CreateCustomerRequest.ts +28 -11
- package/src/models/CreateSupplierRequest.ts +0 -8
- package/src/models/CustomerAuthResponseResource.ts +83 -0
- package/src/models/CustomerAuthResponseResourceArrayResponse.ts +73 -0
- package/src/models/CustomerFrontendResource.ts +134 -0
- package/src/models/CustomerFrontendResourceArrayResponse.ts +73 -0
- package/src/models/CustomerListResource.ts +44 -20
- package/src/models/CustomerResource.ts +68 -28
- package/src/models/CustomerSocialLinkableResource.ts +75 -0
- package/src/models/CustomerSocialLinkableResourceArrayResponse.ts +73 -0
- package/src/models/CustomerType.ts +53 -0
- package/src/models/OrderFulfillmentResource.ts +3 -2
- package/src/models/PaginatedAdminListResourceResponse.ts +90 -0
- package/src/models/PaginatedAdminLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedRoleLiteResourceResponse.ts +90 -0
- package/src/models/RoleLiteResource.ts +74 -0
- package/src/models/RoleLiteResourceArrayResponse.ts +73 -0
- package/src/models/SearchAdminUsersRequest.ts +169 -0
- package/src/models/SearchAllAdminUsersRequest.ts +129 -0
- package/src/models/SearchAllCustomersRequest.ts +156 -0
- package/src/models/SearchCustomersRequest.ts +39 -3
- package/src/models/SignUpType.ts +57 -0
- package/src/models/SocialProvider.ts +54 -0
- package/src/models/StoreFrontendResource.ts +2 -3
- package/src/models/StoreSpecialDateFrontendResource.ts +3 -4
- package/src/models/SupplierFrontendResource.ts +0 -9
- package/src/models/SupplierResource.ts +0 -9
- package/src/models/UpdateAdminUserRequest.ts +109 -0
- package/src/models/UpdateCustomerRequest.ts +108 -0
- package/src/models/UpdateSupplierRequest.ts +0 -8
- package/src/models/UserLiteResource.ts +110 -0
- package/src/models/UserLiteResourceArrayResponse.ts +73 -0
- package/src/models/UserType.ts +53 -0
- package/src/models/index.ts +31 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# PaginatedAdminLiteResourceResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<AdminLiteResource>](AdminLiteResource.md)
|
|
10
|
+
`meta` | [PagingMetadata](PagingMetadata.md)
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { PaginatedAdminLiteResourceResponse } 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 PaginatedAdminLiteResourceResponse
|
|
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 PaginatedAdminLiteResourceResponse
|
|
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
|
+
# PaginatedRoleLiteResourceResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<RoleLiteResource>](RoleLiteResource.md)
|
|
10
|
+
`meta` | [PagingMetadata](PagingMetadata.md)
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { PaginatedRoleLiteResourceResponse } 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 PaginatedRoleLiteResourceResponse
|
|
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 PaginatedRoleLiteResourceResponse
|
|
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
|
+
# RoleLiteResource
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | number
|
|
10
|
+
`name` | string
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { RoleLiteResource } 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 RoleLiteResource
|
|
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 RoleLiteResource
|
|
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,34 @@
|
|
|
1
|
+
|
|
2
|
+
# RoleLiteResourceArrayResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<RoleLiteResource>](RoleLiteResource.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { RoleLiteResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"data": null,
|
|
19
|
+
} satisfies RoleLiteResourceArrayResponse
|
|
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 RoleLiteResourceArrayResponse
|
|
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
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
|
|
2
|
+
# SearchAdminUsersRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`search` | string
|
|
10
|
+
`sortBy` | string
|
|
11
|
+
`sortDirection` | string
|
|
12
|
+
`perPage` | number
|
|
13
|
+
`page` | number
|
|
14
|
+
`roleId` | Array<string>
|
|
15
|
+
`beforeCreatedAt` | Date
|
|
16
|
+
`afterCreatedAt` | Date
|
|
17
|
+
`relatedId` | number
|
|
18
|
+
`relatedType` | string
|
|
19
|
+
`includesRelations` | boolean
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import type { SearchAdminUsersRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
25
|
+
|
|
26
|
+
// TODO: Update the object below with actual values
|
|
27
|
+
const example = {
|
|
28
|
+
"search": null,
|
|
29
|
+
"sortBy": null,
|
|
30
|
+
"sortDirection": null,
|
|
31
|
+
"perPage": null,
|
|
32
|
+
"page": null,
|
|
33
|
+
"roleId": null,
|
|
34
|
+
"beforeCreatedAt": null,
|
|
35
|
+
"afterCreatedAt": null,
|
|
36
|
+
"relatedId": null,
|
|
37
|
+
"relatedType": null,
|
|
38
|
+
"includesRelations": null,
|
|
39
|
+
} satisfies SearchAdminUsersRequest
|
|
40
|
+
|
|
41
|
+
console.log(example)
|
|
42
|
+
|
|
43
|
+
// Convert the instance to a JSON string
|
|
44
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
45
|
+
console.log(exampleJSON)
|
|
46
|
+
|
|
47
|
+
// Parse the JSON string back to an object
|
|
48
|
+
const exampleParsed = JSON.parse(exampleJSON) as SearchAdminUsersRequest
|
|
49
|
+
console.log(exampleParsed)
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
53
|
+
|
|
54
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
|
|
2
|
+
# SearchAllAdminUsersRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`search` | string
|
|
10
|
+
`sortBy` | string
|
|
11
|
+
`sortDirection` | string
|
|
12
|
+
`relatedId` | number
|
|
13
|
+
`relatedType` | string
|
|
14
|
+
`includesRelations` | boolean
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import type { SearchAllAdminUsersRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
20
|
+
|
|
21
|
+
// TODO: Update the object below with actual values
|
|
22
|
+
const example = {
|
|
23
|
+
"search": null,
|
|
24
|
+
"sortBy": null,
|
|
25
|
+
"sortDirection": null,
|
|
26
|
+
"relatedId": null,
|
|
27
|
+
"relatedType": null,
|
|
28
|
+
"includesRelations": null,
|
|
29
|
+
} satisfies SearchAllAdminUsersRequest
|
|
30
|
+
|
|
31
|
+
console.log(example)
|
|
32
|
+
|
|
33
|
+
// Convert the instance to a JSON string
|
|
34
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
35
|
+
console.log(exampleJSON)
|
|
36
|
+
|
|
37
|
+
// Parse the JSON string back to an object
|
|
38
|
+
const exampleParsed = JSON.parse(exampleJSON) as SearchAllAdminUsersRequest
|
|
39
|
+
console.log(exampleParsed)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
43
|
+
|
|
44
|
+
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
|
|
2
|
+
# SearchAllCustomersRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`search` | string
|
|
10
|
+
`sortBy` | string
|
|
11
|
+
`sortDirection` | string
|
|
12
|
+
`relatedId` | number
|
|
13
|
+
`relatedType` | string
|
|
14
|
+
`includesRelations` | boolean
|
|
15
|
+
`siteId` | Array<string>
|
|
16
|
+
`type` | Array<string>
|
|
17
|
+
`signUpType` | Array<string>
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import type { SearchAllCustomersRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
23
|
+
|
|
24
|
+
// TODO: Update the object below with actual values
|
|
25
|
+
const example = {
|
|
26
|
+
"search": null,
|
|
27
|
+
"sortBy": null,
|
|
28
|
+
"sortDirection": null,
|
|
29
|
+
"relatedId": null,
|
|
30
|
+
"relatedType": null,
|
|
31
|
+
"includesRelations": null,
|
|
32
|
+
"siteId": null,
|
|
33
|
+
"type": null,
|
|
34
|
+
"signUpType": null,
|
|
35
|
+
} satisfies SearchAllCustomersRequest
|
|
36
|
+
|
|
37
|
+
console.log(example)
|
|
38
|
+
|
|
39
|
+
// Convert the instance to a JSON string
|
|
40
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
41
|
+
console.log(exampleJSON)
|
|
42
|
+
|
|
43
|
+
// Parse the JSON string back to an object
|
|
44
|
+
const exampleParsed = JSON.parse(exampleJSON) as SearchAllCustomersRequest
|
|
45
|
+
console.log(exampleParsed)
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
49
|
+
|
|
50
|
+
|
|
@@ -12,6 +12,10 @@ Name | Type
|
|
|
12
12
|
`perPage` | number
|
|
13
13
|
`page` | number
|
|
14
14
|
`siteId` | Array<string>
|
|
15
|
+
`type` | Array<string>
|
|
16
|
+
`signUpType` | Array<string>
|
|
17
|
+
`beforeCreatedAt` | Date
|
|
18
|
+
`afterCreatedAt` | Date
|
|
15
19
|
`relatedId` | number
|
|
16
20
|
`relatedType` | string
|
|
17
21
|
`includesRelations` | boolean
|
|
@@ -29,6 +33,10 @@ const example = {
|
|
|
29
33
|
"perPage": null,
|
|
30
34
|
"page": null,
|
|
31
35
|
"siteId": null,
|
|
36
|
+
"type": null,
|
|
37
|
+
"signUpType": null,
|
|
38
|
+
"beforeCreatedAt": null,
|
|
39
|
+
"afterCreatedAt": null,
|
|
32
40
|
"relatedId": null,
|
|
33
41
|
"relatedType": null,
|
|
34
42
|
"includesRelations": null,
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
|
|
2
|
+
# SignUpType
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import type { SignUpType } from '@digital8/lighting-illusions-ts-sdk'
|
|
14
|
+
|
|
15
|
+
// TODO: Update the object below with actual values
|
|
16
|
+
const example = {
|
|
17
|
+
} satisfies SignUpType
|
|
18
|
+
|
|
19
|
+
console.log(example)
|
|
20
|
+
|
|
21
|
+
// Convert the instance to a JSON string
|
|
22
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
23
|
+
console.log(exampleJSON)
|
|
24
|
+
|
|
25
|
+
// Parse the JSON string back to an object
|
|
26
|
+
const exampleParsed = JSON.parse(exampleJSON) as SignUpType
|
|
27
|
+
console.log(exampleParsed)
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
31
|
+
|
|
32
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
|
|
2
|
+
# SocialProvider
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import type { SocialProvider } from '@digital8/lighting-illusions-ts-sdk'
|
|
14
|
+
|
|
15
|
+
// TODO: Update the object below with actual values
|
|
16
|
+
const example = {
|
|
17
|
+
} satisfies SocialProvider
|
|
18
|
+
|
|
19
|
+
console.log(example)
|
|
20
|
+
|
|
21
|
+
// Convert the instance to a JSON string
|
|
22
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
23
|
+
console.log(exampleJSON)
|
|
24
|
+
|
|
25
|
+
// Parse the JSON string back to an object
|
|
26
|
+
const exampleParsed = JSON.parse(exampleJSON) as SocialProvider
|
|
27
|
+
console.log(exampleParsed)
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
31
|
+
|
|
32
|
+
|
|
@@ -11,7 +11,6 @@ Name | Type
|
|
|
11
11
|
`slug` | string
|
|
12
12
|
`thumbnail` | [AssetLiteResource](AssetLiteResource.md)
|
|
13
13
|
`supplierEta` | number
|
|
14
|
-
`productEnquiriesOnly` | boolean
|
|
15
14
|
`seo` | object
|
|
16
15
|
`description` | [DescriptionResource](DescriptionResource.md)
|
|
17
16
|
|
|
@@ -27,7 +26,6 @@ const example = {
|
|
|
27
26
|
"slug": null,
|
|
28
27
|
"thumbnail": null,
|
|
29
28
|
"supplierEta": null,
|
|
30
|
-
"productEnquiriesOnly": null,
|
|
31
29
|
"seo": null,
|
|
32
30
|
"description": null,
|
|
33
31
|
} satisfies SupplierFrontendResource
|
package/docs/SupplierResource.md
CHANGED
|
@@ -11,7 +11,6 @@ Name | Type
|
|
|
11
11
|
`slug` | string
|
|
12
12
|
`thumbnail` | [AssetResource](AssetResource.md)
|
|
13
13
|
`supplierEta` | number
|
|
14
|
-
`productEnquiriesOnly` | boolean
|
|
15
14
|
`seo` | [Array<SEOResource>](SEOResource.md)
|
|
16
15
|
`descriptions` | [Array<DescriptionResource>](DescriptionResource.md)
|
|
17
16
|
|
|
@@ -27,7 +26,6 @@ const example = {
|
|
|
27
26
|
"slug": null,
|
|
28
27
|
"thumbnail": null,
|
|
29
28
|
"supplierEta": null,
|
|
30
|
-
"productEnquiriesOnly": null,
|
|
31
29
|
"seo": null,
|
|
32
30
|
"descriptions": null,
|
|
33
31
|
} satisfies SupplierResource
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
|
|
2
|
+
# UpdateAdminUserRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`firstName` | string
|
|
10
|
+
`lastName` | string
|
|
11
|
+
`phone` | string
|
|
12
|
+
`password` | string
|
|
13
|
+
`email` | string
|
|
14
|
+
`roleIds` | Array<number>
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import type { UpdateAdminUserRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
20
|
+
|
|
21
|
+
// TODO: Update the object below with actual values
|
|
22
|
+
const example = {
|
|
23
|
+
"firstName": null,
|
|
24
|
+
"lastName": null,
|
|
25
|
+
"phone": null,
|
|
26
|
+
"password": null,
|
|
27
|
+
"email": null,
|
|
28
|
+
"roleIds": null,
|
|
29
|
+
} satisfies UpdateAdminUserRequest
|
|
30
|
+
|
|
31
|
+
console.log(example)
|
|
32
|
+
|
|
33
|
+
// Convert the instance to a JSON string
|
|
34
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
35
|
+
console.log(exampleJSON)
|
|
36
|
+
|
|
37
|
+
// Parse the JSON string back to an object
|
|
38
|
+
const exampleParsed = JSON.parse(exampleJSON) as UpdateAdminUserRequest
|
|
39
|
+
console.log(exampleParsed)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
43
|
+
|
|
44
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
|
|
2
|
+
# UpdateCustomerRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`firstName` | string
|
|
10
|
+
`lastName` | string
|
|
11
|
+
`phone` | string
|
|
12
|
+
`password` | string
|
|
13
|
+
`email` | string
|
|
14
|
+
`subscribedToNewsletter` | boolean
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import type { UpdateCustomerRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
20
|
+
|
|
21
|
+
// TODO: Update the object below with actual values
|
|
22
|
+
const example = {
|
|
23
|
+
"firstName": null,
|
|
24
|
+
"lastName": null,
|
|
25
|
+
"phone": null,
|
|
26
|
+
"password": null,
|
|
27
|
+
"email": null,
|
|
28
|
+
"subscribedToNewsletter": null,
|
|
29
|
+
} satisfies UpdateCustomerRequest
|
|
30
|
+
|
|
31
|
+
console.log(example)
|
|
32
|
+
|
|
33
|
+
// Convert the instance to a JSON string
|
|
34
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
35
|
+
console.log(exampleJSON)
|
|
36
|
+
|
|
37
|
+
// Parse the JSON string back to an object
|
|
38
|
+
const exampleParsed = JSON.parse(exampleJSON) as UpdateCustomerRequest
|
|
39
|
+
console.log(exampleParsed)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
43
|
+
|
|
44
|
+
|
|
@@ -9,7 +9,6 @@ Name | Type
|
|
|
9
9
|
`name` | string
|
|
10
10
|
`slug` | string
|
|
11
11
|
`supplierEta` | number
|
|
12
|
-
`productEnquiriesOnly` | boolean
|
|
13
12
|
`seo` | [Array<CreateBlogCategoryRequestSeoInner>](CreateBlogCategoryRequestSeoInner.md)
|
|
14
13
|
`altText` | string
|
|
15
14
|
`mimeType` | string
|
|
@@ -28,7 +27,6 @@ const example = {
|
|
|
28
27
|
"name": null,
|
|
29
28
|
"slug": null,
|
|
30
29
|
"supplierEta": null,
|
|
31
|
-
"productEnquiriesOnly": null,
|
|
32
30
|
"seo": null,
|
|
33
31
|
"altText": null,
|
|
34
32
|
"mimeType": null,
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
|
|
2
|
+
# UserLiteResource
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | number
|
|
10
|
+
`firstName` | string
|
|
11
|
+
`lastName` | string
|
|
12
|
+
`email` | string
|
|
13
|
+
`phone` | string
|
|
14
|
+
`fullName` | string
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import type { UserLiteResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
20
|
+
|
|
21
|
+
// TODO: Update the object below with actual values
|
|
22
|
+
const example = {
|
|
23
|
+
"id": null,
|
|
24
|
+
"firstName": null,
|
|
25
|
+
"lastName": null,
|
|
26
|
+
"email": null,
|
|
27
|
+
"phone": null,
|
|
28
|
+
"fullName": null,
|
|
29
|
+
} satisfies UserLiteResource
|
|
30
|
+
|
|
31
|
+
console.log(example)
|
|
32
|
+
|
|
33
|
+
// Convert the instance to a JSON string
|
|
34
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
35
|
+
console.log(exampleJSON)
|
|
36
|
+
|
|
37
|
+
// Parse the JSON string back to an object
|
|
38
|
+
const exampleParsed = JSON.parse(exampleJSON) as UserLiteResource
|
|
39
|
+
console.log(exampleParsed)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
43
|
+
|
|
44
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# UserLiteResourceArrayResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<UserLiteResource>](UserLiteResource.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { UserLiteResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"data": null,
|
|
19
|
+
} satisfies UserLiteResourceArrayResponse
|
|
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 UserLiteResourceArrayResponse
|
|
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/UserType.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
|
|
2
|
+
# UserType
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import type { UserType } from '@digital8/lighting-illusions-ts-sdk'
|
|
14
|
+
|
|
15
|
+
// TODO: Update the object below with actual values
|
|
16
|
+
const example = {
|
|
17
|
+
} satisfies UserType
|
|
18
|
+
|
|
19
|
+
console.log(example)
|
|
20
|
+
|
|
21
|
+
// Convert the instance to a JSON string
|
|
22
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
23
|
+
console.log(exampleJSON)
|
|
24
|
+
|
|
25
|
+
// Parse the JSON string back to an object
|
|
26
|
+
const exampleParsed = JSON.parse(exampleJSON) as UserType
|
|
27
|
+
console.log(exampleParsed)
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
31
|
+
|
|
32
|
+
|