@digital8/lighting-illusions-ts-sdk 0.0.2313 → 0.0.2314
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 +58 -32
- package/README.md +39 -23
- package/dist/apis/AdminsApi.d.ts +116 -0
- package/dist/apis/{CouponsApi.js → AdminsApi.js} +85 -85
- package/dist/apis/CustomersApi.d.ts +50 -0
- package/dist/apis/CustomersApi.js +182 -0
- package/dist/apis/ProductClassApi.d.ts +34 -0
- package/dist/apis/ProductClassApi.js +139 -0
- package/dist/apis/index.d.ts +2 -1
- package/dist/apis/index.js +2 -1
- package/dist/models/AddressFrontendResource.d.ts +2 -2
- package/dist/models/AddressFrontendResource.js +6 -2
- 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/CartListResource.d.ts +6 -0
- package/dist/models/CartListResource.js +4 -0
- package/dist/models/CategoryAutomationFieldType.d.ts +2 -0
- package/dist/models/CategoryAutomationFieldType.js +3 -1
- 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/CreatePageComponentRequest.d.ts +4 -4
- package/dist/models/CreatePageComponentRequest.js +4 -4
- package/dist/models/CreateProductCategoryRequestAutomationRulesInner.d.ts +2 -0
- package/dist/models/CreateProductCategoryRequestAutomationRulesInner.js +3 -1
- package/dist/models/CreateSupplierRequest.d.ts +6 -0
- package/dist/models/CreateSupplierRequest.js +2 -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/CustomerType.d.ts +25 -0
- package/dist/models/CustomerType.js +51 -0
- package/dist/models/FrontendCartResource.d.ts +18 -0
- package/dist/models/FrontendCartResource.js +12 -0
- package/dist/models/OrderFulfillmentResource.d.ts +3 -3
- package/dist/models/OrderFulfillmentResource.js +6 -4
- package/dist/models/OrderStatusWithCountResource.d.ts +12 -0
- package/dist/models/OrderStatusWithCountResource.js +8 -0
- 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/PaginatedProductClassLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductClassLiteResourceResponse.js +57 -0
- package/dist/models/PaginatedRoleLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedRoleLiteResourceResponse.js +57 -0
- package/dist/models/ProductClassLiteResource.d.ts +44 -0
- package/dist/models/ProductClassLiteResource.js +57 -0
- package/dist/models/ProductClassLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductClassLiteResourceArrayResponse.js +50 -0
- package/dist/models/ProductClassResource.d.ts +2 -2
- 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/{SearchAllCouponsRequest.js → SearchAllCustomersRequest.js} +27 -25
- package/dist/models/SearchAllOrdersRequest.d.ts +6 -0
- package/dist/models/SearchAllOrdersRequest.js +2 -0
- package/dist/models/SearchAllProductClassesRequest.d.ts +78 -0
- package/dist/models/SearchAllProductClassesRequest.js +74 -0
- package/dist/models/SearchCartsRequest.d.ts +0 -6
- package/dist/models/SearchCartsRequest.js +0 -2
- package/dist/models/SearchCustomersRequest.d.ts +31 -3
- package/dist/models/SearchCustomersRequest.js +15 -3
- package/dist/models/SearchOrdersRequest.d.ts +6 -6
- package/dist/models/SearchOrdersRequest.js +2 -2
- package/dist/models/SignUpType.d.ts +26 -0
- package/dist/models/SignUpType.js +52 -0
- package/dist/models/SocialProvider.d.ts +26 -0
- package/dist/models/SocialProvider.js +52 -0
- package/dist/models/StoreListResource.d.ts +1 -1
- package/dist/models/StoreListResource.js +1 -3
- package/dist/models/StoreResource.d.ts +1 -1
- package/dist/models/StoreResource.js +1 -3
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateFrontendResource.js +3 -1
- package/dist/models/StoreSpecialDateResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateResource.js +1 -3
- package/dist/models/SupplierFrontendResource.d.ts +6 -0
- package/dist/models/SupplierFrontendResource.js +4 -0
- package/dist/models/SupplierResource.d.ts +6 -0
- package/dist/models/SupplierResource.js +4 -0
- 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/UpdatePageComponentRequest.d.ts +4 -4
- package/dist/models/UpdatePageComponentRequest.js +4 -4
- package/dist/models/UpdateSupplierRequest.d.ts +6 -0
- package/dist/models/UpdateSupplierRequest.js +2 -0
- 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 +27 -15
- package/dist/models/index.js +27 -15
- package/docs/AdminListResource.md +40 -0
- package/docs/{CouponListResourceArrayResponse.md → AdminListResourceArrayResponse.md} +5 -5
- package/docs/{CreateCouponRequestCouponablesInner.md → AdminLiteResource.md} +6 -6
- package/docs/{CouponLiteResourceArrayResponse.md → AdminLiteResourceArrayResponse.md} +5 -5
- package/docs/AdminResource.md +42 -0
- package/docs/{CouponResourceArrayResponse.md → AdminResourceArrayResponse.md} +5 -5
- package/docs/{CouponsApi.md → AdminsApi.md} +82 -82
- package/docs/CartListResource.md +2 -0
- package/docs/CreateAdminUserRequest.md +44 -0
- package/docs/CreateCustomerRequest.md +8 -4
- package/docs/CreatePageComponentRequest.md +2 -2
- package/docs/CreateSupplierRequest.md +2 -0
- package/docs/CustomerListResource.md +12 -8
- package/docs/CustomerResource.md +17 -9
- package/docs/CustomerType.md +32 -0
- package/docs/CustomersApi.md +201 -0
- package/docs/FrontendCartResource.md +6 -0
- package/docs/OrderStatusWithCountResource.md +4 -0
- package/docs/{PaginatedCouponListResourceResponse.md → PaginatedAdminListResourceResponse.md} +5 -5
- package/docs/{PaginatedCouponLiteResourceResponse.md → PaginatedAdminLiteResourceResponse.md} +5 -5
- package/docs/PaginatedProductClassLiteResourceResponse.md +36 -0
- package/docs/{PaginatedCouponResourceResponse.md → PaginatedRoleLiteResourceResponse.md} +5 -5
- package/docs/ProductClassApi.md +74 -0
- package/docs/ProductClassLiteResource.md +38 -0
- package/docs/ProductClassLiteResourceArrayResponse.md +34 -0
- package/docs/ProductClassResource.md +1 -1
- package/docs/{CouponLiteResource.md → RoleLiteResource.md} +4 -6
- package/docs/RoleLiteResourceArrayResponse.md +34 -0
- package/docs/{SearchCouponsRequest.md → SearchAdminUsersRequest.md} +10 -18
- package/docs/SearchAllAdminUsersRequest.md +44 -0
- package/docs/{SearchAllCouponsRequest.md → SearchAllCustomersRequest.md} +8 -8
- package/docs/SearchAllOrdersRequest.md +2 -0
- package/docs/SearchAllProductClassesRequest.md +44 -0
- package/docs/SearchCartsRequest.md +0 -2
- package/docs/SearchCustomersRequest.md +8 -0
- package/docs/SearchOrdersRequest.md +2 -2
- package/docs/{CouponType.md → SignUpType.md} +4 -4
- package/docs/SocialProvider.md +32 -0
- package/docs/StoreSpecialDateFrontendResource.md +1 -1
- package/docs/StoreSpecialDateResource.md +1 -1
- package/docs/SupplierFrontendResource.md +2 -0
- package/docs/SupplierResource.md +2 -0
- package/docs/UpdateAdminUserRequest.md +44 -0
- package/docs/UpdateCustomerRequest.md +44 -0
- package/docs/UpdatePageComponentRequest.md +2 -2
- package/docs/UpdateSupplierRequest.md +2 -0
- 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/ProductClassApi.ts +76 -0
- package/src/apis/index.ts +2 -1
- package/src/models/AddressFrontendResource.ts +6 -4
- 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/CartListResource.ts +9 -0
- package/src/models/CategoryAutomationFieldType.ts +3 -1
- package/src/models/CreateAdminUserRequest.ts +110 -0
- package/src/models/CreateCustomerRequest.ts +28 -11
- package/src/models/CreatePageComponentRequest.ts +8 -8
- package/src/models/CreateProductCategoryRequestAutomationRulesInner.ts +3 -1
- package/src/models/CreateSupplierRequest.ts +8 -0
- package/src/models/CustomerListResource.ts +44 -20
- package/src/models/CustomerResource.ts +68 -28
- package/src/models/CustomerType.ts +53 -0
- package/src/models/FrontendCartResource.ts +27 -0
- package/src/models/OrderFulfillmentResource.ts +8 -7
- package/src/models/OrderStatusWithCountResource.ts +18 -0
- package/src/models/PaginatedAdminListResourceResponse.ts +90 -0
- package/src/models/PaginatedAdminLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedProductClassLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedRoleLiteResourceResponse.ts +90 -0
- package/src/models/ProductClassLiteResource.ts +83 -0
- package/src/models/ProductClassLiteResourceArrayResponse.ts +73 -0
- package/src/models/ProductClassResource.ts +2 -2
- 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/SearchAllOrdersRequest.ts +8 -0
- package/src/models/SearchAllProductClassesRequest.ts +125 -0
- package/src/models/SearchCartsRequest.ts +0 -8
- package/src/models/SearchCustomersRequest.ts +39 -3
- package/src/models/SearchOrdersRequest.ts +8 -8
- package/src/models/SignUpType.ts +54 -0
- package/src/models/SocialProvider.ts +54 -0
- package/src/models/StoreListResource.ts +2 -3
- package/src/models/StoreResource.ts +2 -3
- package/src/models/StoreSpecialDateFrontendResource.ts +4 -3
- package/src/models/StoreSpecialDateResource.ts +3 -4
- package/src/models/SupplierFrontendResource.ts +9 -0
- package/src/models/SupplierResource.ts +9 -0
- package/src/models/UpdateAdminUserRequest.ts +109 -0
- package/src/models/UpdateCustomerRequest.ts +108 -0
- package/src/models/UpdatePageComponentRequest.ts +8 -8
- package/src/models/UpdateSupplierRequest.ts +8 -0
- 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 +27 -15
- package/dist/apis/CouponsApi.d.ts +0 -116
- package/dist/models/CouponListResource.d.ts +0 -99
- package/dist/models/CouponListResource.js +0 -90
- package/dist/models/CouponListResourceArrayResponse.d.ts +0 -33
- package/dist/models/CouponListResourceArrayResponse.js +0 -50
- package/dist/models/CouponLiteResource.d.ts +0 -44
- package/dist/models/CouponLiteResource.js +0 -57
- package/dist/models/CouponLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/CouponLiteResourceArrayResponse.js +0 -50
- package/dist/models/CouponResource.d.ts +0 -169
- package/dist/models/CouponResource.js +0 -138
- package/dist/models/CouponResourceArrayResponse.d.ts +0 -33
- package/dist/models/CouponResourceArrayResponse.js +0 -50
- package/dist/models/CouponType.d.ts +0 -26
- package/dist/models/CouponType.js +0 -52
- package/dist/models/CreateCouponRequest.d.ts +0 -134
- package/dist/models/CreateCouponRequest.js +0 -114
- package/dist/models/CreateCouponRequestCouponablesInner.d.ts +0 -48
- package/dist/models/CreateCouponRequestCouponablesInner.js +0 -61
- package/dist/models/PaginatedCouponListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedCouponListResourceResponse.js +0 -57
- package/dist/models/PaginatedCouponLiteResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedCouponLiteResourceResponse.js +0 -57
- package/dist/models/PaginatedCouponResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedCouponResourceResponse.js +0 -57
- package/dist/models/SearchAllCouponsRequest.d.ts +0 -101
- package/dist/models/SearchCouponsRequest.d.ts +0 -137
- package/dist/models/SearchCouponsRequest.js +0 -97
- package/dist/models/UpdateCouponRequest.d.ts +0 -128
- package/dist/models/UpdateCouponRequest.js +0 -110
- package/docs/CouponListResource.md +0 -56
- package/docs/CouponResource.md +0 -78
- package/docs/CreateCouponRequest.md +0 -62
- package/docs/UpdateCouponRequest.md +0 -60
- package/src/apis/CouponsApi.ts +0 -345
- package/src/models/CouponListResource.ts +0 -170
- package/src/models/CouponListResourceArrayResponse.ts +0 -73
- package/src/models/CouponLiteResource.ts +0 -83
- package/src/models/CouponLiteResourceArrayResponse.ts +0 -73
- package/src/models/CouponResource.ts +0 -297
- package/src/models/CouponResourceArrayResponse.ts +0 -73
- package/src/models/CouponType.ts +0 -54
- package/src/models/CreateCouponRequest.ts +0 -216
- package/src/models/CreateCouponRequestCouponablesInner.ts +0 -86
- package/src/models/PaginatedCouponListResourceResponse.ts +0 -90
- package/src/models/PaginatedCouponLiteResourceResponse.ts +0 -90
- package/src/models/PaginatedCouponResourceResponse.ts +0 -90
- package/src/models/SearchAllCouponsRequest.ts +0 -154
- package/src/models/SearchCouponsRequest.ts +0 -202
- package/src/models/UpdateCouponRequest.ts +0 -207
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# SearchAdminUsersRequest
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
@@ -11,13 +11,9 @@ Name | Type
|
|
|
11
11
|
`sortDirection` | string
|
|
12
12
|
`perPage` | number
|
|
13
13
|
`page` | number
|
|
14
|
-
`
|
|
15
|
-
`
|
|
16
|
-
`
|
|
17
|
-
`beforeStartDate` | Date
|
|
18
|
-
`afterStartDate` | Date
|
|
19
|
-
`beforeEndDate` | Date
|
|
20
|
-
`afterEndDate` | Date
|
|
14
|
+
`roleId` | Array<string>
|
|
15
|
+
`beforeCreatedAt` | Date
|
|
16
|
+
`afterCreatedAt` | Date
|
|
21
17
|
`relatedId` | number
|
|
22
18
|
`relatedType` | string
|
|
23
19
|
`includesRelations` | boolean
|
|
@@ -25,7 +21,7 @@ Name | Type
|
|
|
25
21
|
## Example
|
|
26
22
|
|
|
27
23
|
```typescript
|
|
28
|
-
import type {
|
|
24
|
+
import type { SearchAdminUsersRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
29
25
|
|
|
30
26
|
// TODO: Update the object below with actual values
|
|
31
27
|
const example = {
|
|
@@ -34,17 +30,13 @@ const example = {
|
|
|
34
30
|
"sortDirection": null,
|
|
35
31
|
"perPage": null,
|
|
36
32
|
"page": null,
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"beforeStartDate": null,
|
|
41
|
-
"afterStartDate": null,
|
|
42
|
-
"beforeEndDate": null,
|
|
43
|
-
"afterEndDate": null,
|
|
33
|
+
"roleId": null,
|
|
34
|
+
"beforeCreatedAt": null,
|
|
35
|
+
"afterCreatedAt": null,
|
|
44
36
|
"relatedId": null,
|
|
45
37
|
"relatedType": null,
|
|
46
38
|
"includesRelations": null,
|
|
47
|
-
} satisfies
|
|
39
|
+
} satisfies SearchAdminUsersRequest
|
|
48
40
|
|
|
49
41
|
console.log(example)
|
|
50
42
|
|
|
@@ -53,7 +45,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
53
45
|
console.log(exampleJSON)
|
|
54
46
|
|
|
55
47
|
// Parse the JSON string back to an object
|
|
56
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
48
|
+
const exampleParsed = JSON.parse(exampleJSON) as SearchAdminUsersRequest
|
|
57
49
|
console.log(exampleParsed)
|
|
58
50
|
```
|
|
59
51
|
|
|
@@ -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
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# SearchAllCustomersRequest
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
@@ -12,14 +12,14 @@ Name | Type
|
|
|
12
12
|
`relatedId` | number
|
|
13
13
|
`relatedType` | string
|
|
14
14
|
`includesRelations` | boolean
|
|
15
|
-
`type` | Array<string>
|
|
16
15
|
`siteId` | Array<string>
|
|
17
|
-
`
|
|
16
|
+
`type` | Array<string>
|
|
17
|
+
`signUpType` | Array<string>
|
|
18
18
|
|
|
19
19
|
## Example
|
|
20
20
|
|
|
21
21
|
```typescript
|
|
22
|
-
import type {
|
|
22
|
+
import type { SearchAllCustomersRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
23
23
|
|
|
24
24
|
// TODO: Update the object below with actual values
|
|
25
25
|
const example = {
|
|
@@ -29,10 +29,10 @@ const example = {
|
|
|
29
29
|
"relatedId": null,
|
|
30
30
|
"relatedType": null,
|
|
31
31
|
"includesRelations": null,
|
|
32
|
-
"type": null,
|
|
33
32
|
"siteId": null,
|
|
34
|
-
"
|
|
35
|
-
|
|
33
|
+
"type": null,
|
|
34
|
+
"signUpType": null,
|
|
35
|
+
} satisfies SearchAllCustomersRequest
|
|
36
36
|
|
|
37
37
|
console.log(example)
|
|
38
38
|
|
|
@@ -41,7 +41,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
41
41
|
console.log(exampleJSON)
|
|
42
42
|
|
|
43
43
|
// Parse the JSON string back to an object
|
|
44
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
44
|
+
const exampleParsed = JSON.parse(exampleJSON) as SearchAllCustomersRequest
|
|
45
45
|
console.log(exampleParsed)
|
|
46
46
|
```
|
|
47
47
|
|
|
@@ -16,6 +16,7 @@ Name | Type
|
|
|
16
16
|
`source` | Array<string>
|
|
17
17
|
`statusId` | Array<string>
|
|
18
18
|
`customerId` | Array<string>
|
|
19
|
+
`lineItemsLabelId` | Array<string>
|
|
19
20
|
|
|
20
21
|
## Example
|
|
21
22
|
|
|
@@ -34,6 +35,7 @@ const example = {
|
|
|
34
35
|
"source": null,
|
|
35
36
|
"statusId": null,
|
|
36
37
|
"customerId": null,
|
|
38
|
+
"lineItemsLabelId": null,
|
|
37
39
|
} satisfies SearchAllOrdersRequest
|
|
38
40
|
|
|
39
41
|
console.log(example)
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
|
|
2
|
+
# SearchAllProductClassesRequest
|
|
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 { SearchAllProductClassesRequest } 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 SearchAllProductClassesRequest
|
|
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 SearchAllProductClassesRequest
|
|
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
|
+
|
|
@@ -23,7 +23,6 @@ Name | Type
|
|
|
23
23
|
`relatedId` | number
|
|
24
24
|
`relatedType` | string
|
|
25
25
|
`includesRelations` | boolean
|
|
26
|
-
`couponId` | number
|
|
27
26
|
|
|
28
27
|
## Example
|
|
29
28
|
|
|
@@ -49,7 +48,6 @@ const example = {
|
|
|
49
48
|
"relatedId": null,
|
|
50
49
|
"relatedType": null,
|
|
51
50
|
"includesRelations": null,
|
|
52
|
-
"couponId": null,
|
|
53
51
|
} satisfies SearchCartsRequest
|
|
54
52
|
|
|
55
53
|
console.log(example)
|
|
@@ -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,
|
|
@@ -15,6 +15,7 @@ Name | Type
|
|
|
15
15
|
`source` | Array<string>
|
|
16
16
|
`statusId` | Array<string>
|
|
17
17
|
`customerId` | Array<string>
|
|
18
|
+
`lineItemsLabelId` | Array<string>
|
|
18
19
|
`beforeCreatedAt` | Date
|
|
19
20
|
`afterCreatedAt` | Date
|
|
20
21
|
`beforePlacedAt` | Date
|
|
@@ -24,7 +25,6 @@ Name | Type
|
|
|
24
25
|
`relatedId` | number
|
|
25
26
|
`relatedType` | string
|
|
26
27
|
`includesRelations` | boolean
|
|
27
|
-
`couponId` | number
|
|
28
28
|
|
|
29
29
|
## Example
|
|
30
30
|
|
|
@@ -42,6 +42,7 @@ const example = {
|
|
|
42
42
|
"source": null,
|
|
43
43
|
"statusId": null,
|
|
44
44
|
"customerId": null,
|
|
45
|
+
"lineItemsLabelId": null,
|
|
45
46
|
"beforeCreatedAt": null,
|
|
46
47
|
"afterCreatedAt": null,
|
|
47
48
|
"beforePlacedAt": null,
|
|
@@ -51,7 +52,6 @@ const example = {
|
|
|
51
52
|
"relatedId": null,
|
|
52
53
|
"relatedType": null,
|
|
53
54
|
"includesRelations": null,
|
|
54
|
-
"couponId": null,
|
|
55
55
|
} satisfies SearchOrdersRequest
|
|
56
56
|
|
|
57
57
|
console.log(example)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# SignUpType
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
@@ -10,11 +10,11 @@ Name | Type
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
12
12
|
```typescript
|
|
13
|
-
import type {
|
|
13
|
+
import type { SignUpType } from '@digital8/lighting-illusions-ts-sdk'
|
|
14
14
|
|
|
15
15
|
// TODO: Update the object below with actual values
|
|
16
16
|
const example = {
|
|
17
|
-
} satisfies
|
|
17
|
+
} satisfies SignUpType
|
|
18
18
|
|
|
19
19
|
console.log(example)
|
|
20
20
|
|
|
@@ -23,7 +23,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
23
23
|
console.log(exampleJSON)
|
|
24
24
|
|
|
25
25
|
// Parse the JSON string back to an object
|
|
26
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
26
|
+
const exampleParsed = JSON.parse(exampleJSON) as SignUpType
|
|
27
27
|
console.log(exampleParsed)
|
|
28
28
|
```
|
|
29
29
|
|
|
@@ -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,6 +11,7 @@ Name | Type
|
|
|
11
11
|
`slug` | string
|
|
12
12
|
`thumbnail` | [AssetLiteResource](AssetLiteResource.md)
|
|
13
13
|
`supplierEta` | number
|
|
14
|
+
`productEnquiriesOnly` | boolean
|
|
14
15
|
`seo` | object
|
|
15
16
|
`description` | [DescriptionResource](DescriptionResource.md)
|
|
16
17
|
|
|
@@ -26,6 +27,7 @@ const example = {
|
|
|
26
27
|
"slug": null,
|
|
27
28
|
"thumbnail": null,
|
|
28
29
|
"supplierEta": null,
|
|
30
|
+
"productEnquiriesOnly": null,
|
|
29
31
|
"seo": null,
|
|
30
32
|
"description": null,
|
|
31
33
|
} satisfies SupplierFrontendResource
|
package/docs/SupplierResource.md
CHANGED
|
@@ -11,6 +11,7 @@ Name | Type
|
|
|
11
11
|
`slug` | string
|
|
12
12
|
`thumbnail` | [AssetResource](AssetResource.md)
|
|
13
13
|
`supplierEta` | number
|
|
14
|
+
`productEnquiriesOnly` | boolean
|
|
14
15
|
`seo` | [Array<SEOResource>](SEOResource.md)
|
|
15
16
|
`descriptions` | [Array<DescriptionResource>](DescriptionResource.md)
|
|
16
17
|
|
|
@@ -26,6 +27,7 @@ const example = {
|
|
|
26
27
|
"slug": null,
|
|
27
28
|
"thumbnail": null,
|
|
28
29
|
"supplierEta": null,
|
|
30
|
+
"productEnquiriesOnly": null,
|
|
29
31
|
"seo": null,
|
|
30
32
|
"descriptions": null,
|
|
31
33
|
} 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,8 +9,8 @@ Name | Type
|
|
|
9
9
|
`type` | string
|
|
10
10
|
`disabled` | boolean
|
|
11
11
|
`order` | number
|
|
12
|
-
`startDate` |
|
|
13
|
-
`endDate` |
|
|
12
|
+
`startDate` | string
|
|
13
|
+
`endDate` | string
|
|
14
14
|
`componentData` | object
|
|
15
15
|
`relations` | [Array<CreatePageComponentRequestRelationsInner>](CreatePageComponentRequestRelationsInner.md)
|
|
16
16
|
|
|
@@ -9,6 +9,7 @@ Name | Type
|
|
|
9
9
|
`name` | string
|
|
10
10
|
`slug` | string
|
|
11
11
|
`supplierEta` | number
|
|
12
|
+
`productEnquiriesOnly` | boolean
|
|
12
13
|
`seo` | [Array<CreateBlogCategoryRequestSeoInner>](CreateBlogCategoryRequestSeoInner.md)
|
|
13
14
|
`altText` | string
|
|
14
15
|
`mimeType` | string
|
|
@@ -27,6 +28,7 @@ const example = {
|
|
|
27
28
|
"name": null,
|
|
28
29
|
"slug": null,
|
|
29
30
|
"supplierEta": null,
|
|
31
|
+
"productEnquiriesOnly": null,
|
|
30
32
|
"seo": null,
|
|
31
33
|
"altText": null,
|
|
32
34
|
"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
|
+
|