@digital8/lighting-illusions-ts-sdk 0.0.2213 → 0.0.2215
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 +106 -0
- package/README.md +71 -2
- package/dist/apis/AdminsApi.d.ts +128 -0
- package/dist/apis/AdminsApi.js +495 -0
- package/dist/apis/CustomersApi.d.ts +50 -0
- package/dist/apis/CustomersApi.js +182 -0
- package/dist/apis/PermissionsApi.d.ts +67 -0
- package/dist/apis/PermissionsApi.js +259 -0
- package/dist/apis/RolesApi.d.ts +116 -0
- package/dist/apis/RolesApi.js +440 -0
- package/dist/apis/index.d.ts +3 -0
- package/dist/apis/index.js +3 -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 +3 -1
- 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 +63 -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 +56 -0
- package/dist/models/AdminLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/AdminLiteResourceArrayResponse.js +50 -0
- package/dist/models/AdminNoteResource.d.ts +3 -3
- package/dist/models/AdminNoteResource.js +3 -3
- package/dist/models/AdminOrderResource.d.ts +3 -3
- package/dist/models/AdminOrderResource.js +3 -3
- package/dist/models/AdminResource.d.ts +58 -0
- package/dist/models/AdminResource.js +65 -0
- package/dist/models/AdminResourceArrayResponse.d.ts +33 -0
- package/dist/models/AdminResourceArrayResponse.js +50 -0
- package/dist/models/AdminUserLiteResource.d.ts +1 -1
- package/dist/models/AdminUserLiteResource.js +3 -1
- package/dist/models/CartResource.d.ts +3 -3
- package/dist/models/CartResource.js +3 -3
- 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 +56 -0
- package/dist/models/CreateAdminUserRequest.js +65 -0
- package/dist/models/CreateCustomerRequest.d.ts +18 -6
- package/dist/models/CreateCustomerRequest.js +12 -6
- package/dist/models/CreateRoleRequest.d.ts +38 -0
- package/dist/models/CreateRoleRequest.js +55 -0
- 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/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/OrderFulfillmentResource.d.ts +1 -1
- package/dist/models/OrderFulfillmentResource.js +1 -3
- 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/PaginatedPermissionListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedPermissionListResourceResponse.js +57 -0
- package/dist/models/PaginatedPermissionLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedPermissionLiteResourceResponse.js +57 -0
- package/dist/models/PaginatedRoleListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedRoleListResourceResponse.js +57 -0
- package/dist/models/PaginatedRoleLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedRoleLiteResourceResponse.js +57 -0
- package/dist/models/PermissionListResource.d.ts +44 -0
- package/dist/models/PermissionListResource.js +55 -0
- package/dist/models/PermissionListResourceArrayResponse.d.ts +33 -0
- package/dist/models/PermissionListResourceArrayResponse.js +50 -0
- package/dist/models/PermissionLiteResource.d.ts +38 -0
- package/dist/models/PermissionLiteResource.js +53 -0
- package/dist/models/PermissionLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/PermissionLiteResourceArrayResponse.js +50 -0
- package/dist/models/PermissionResource.d.ts +56 -0
- package/dist/models/PermissionResource.js +61 -0
- package/dist/models/PermissionResourceArrayResponse.d.ts +33 -0
- package/dist/models/PermissionResourceArrayResponse.js +50 -0
- package/dist/models/RoleListResource.d.ts +68 -0
- package/dist/models/RoleListResource.js +69 -0
- package/dist/models/RoleListResourceArrayResponse.d.ts +33 -0
- package/dist/models/RoleListResourceArrayResponse.js +50 -0
- package/dist/models/RoleLiteResource.d.ts +44 -0
- package/dist/models/RoleLiteResource.js +57 -0
- package/dist/models/RoleLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/RoleLiteResourceArrayResponse.js +50 -0
- package/dist/models/RoleResource.d.ts +75 -0
- package/dist/models/RoleResource.js +74 -0
- package/dist/models/RoleResourceArrayResponse.d.ts +33 -0
- package/dist/models/RoleResourceArrayResponse.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/SearchAllPermissionsRequest.d.ts +79 -0
- package/dist/models/SearchAllPermissionsRequest.js +75 -0
- package/dist/models/SearchAllRolesRequest.d.ts +86 -0
- package/dist/models/SearchAllRolesRequest.js +78 -0
- package/dist/models/SearchCustomersRequest.d.ts +31 -3
- package/dist/models/SearchCustomersRequest.js +15 -3
- package/dist/models/SearchPermissionsRequest.d.ts +91 -0
- package/dist/models/SearchPermissionsRequest.js +79 -0
- package/dist/models/SearchRolesRequest.d.ts +98 -0
- package/dist/models/SearchRolesRequest.js +82 -0
- 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 +3 -1
- 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 +3 -1
- 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 +56 -0
- package/dist/models/UpdateAdminUserRequest.js +63 -0
- package/dist/models/UpdateCustomerRequest.d.ts +62 -0
- package/dist/models/UpdateCustomerRequest.js +65 -0
- package/dist/models/UpdateRoleRequest.d.ts +38 -0
- package/dist/models/UpdateRoleRequest.js +55 -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 +50 -0
- package/dist/models/index.js +50 -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/AdminNoteResource.md +1 -1
- package/docs/AdminOrderResource.md +1 -1
- package/docs/AdminResource.md +42 -0
- package/docs/AdminResourceArrayResponse.md +34 -0
- package/docs/AdminsApi.md +465 -0
- package/docs/CartResource.md +1 -1
- package/docs/CheckEmailFrontendResource.md +36 -0
- package/docs/CheckEmailFrontendResourceArrayResponse.md +34 -0
- package/docs/CreateAdminUserRequest.md +42 -0
- package/docs/CreateCustomerRequest.md +8 -4
- package/docs/CreateRoleRequest.md +36 -0
- 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/PaginatedPermissionListResourceResponse.md +36 -0
- package/docs/PaginatedPermissionLiteResourceResponse.md +36 -0
- package/docs/PaginatedRoleListResourceResponse.md +36 -0
- package/docs/PaginatedRoleLiteResourceResponse.md +36 -0
- package/docs/PermissionListResource.md +38 -0
- package/docs/PermissionListResourceArrayResponse.md +34 -0
- package/docs/PermissionLiteResource.md +36 -0
- package/docs/PermissionLiteResourceArrayResponse.md +34 -0
- package/docs/PermissionResource.md +42 -0
- package/docs/PermissionResourceArrayResponse.md +34 -0
- package/docs/PermissionsApi.md +206 -0
- package/docs/RoleListResource.md +46 -0
- package/docs/RoleListResourceArrayResponse.md +34 -0
- package/docs/RoleLiteResource.md +38 -0
- package/docs/RoleLiteResourceArrayResponse.md +34 -0
- package/docs/RoleResource.md +48 -0
- package/docs/RoleResourceArrayResponse.md +34 -0
- package/docs/RolesApi.md +407 -0
- package/docs/SearchAdminUsersRequest.md +54 -0
- package/docs/SearchAllAdminUsersRequest.md +44 -0
- package/docs/SearchAllCustomersRequest.md +50 -0
- package/docs/SearchAllPermissionsRequest.md +44 -0
- package/docs/SearchAllRolesRequest.md +46 -0
- package/docs/SearchCustomersRequest.md +8 -0
- package/docs/SearchPermissionsRequest.md +48 -0
- package/docs/SearchRolesRequest.md +50 -0
- package/docs/SignUpType.md +32 -0
- package/docs/SocialProvider.md +32 -0
- package/docs/StoreSpecialDateFrontendResource.md +1 -1
- package/docs/StoreSpecialDateResource.md +1 -1
- package/docs/SupplierFrontendResource.md +0 -2
- package/docs/SupplierResource.md +0 -2
- package/docs/UpdateAdminUserRequest.md +42 -0
- package/docs/UpdateCustomerRequest.md +44 -0
- package/docs/UpdateRoleRequest.md +36 -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 +382 -0
- package/src/apis/CustomersApi.ts +166 -0
- package/src/apis/PermissionsApi.ts +184 -0
- package/src/apis/RolesApi.ts +345 -0
- package/src/apis/index.ts +3 -0
- package/src/models/AddressFrontendResource.ts +2 -3
- package/src/models/AddressResource.ts +3 -2
- package/src/models/AddressType.ts +3 -1
- package/src/models/AdminListResource.ts +107 -0
- package/src/models/AdminListResourceArrayResponse.ts +73 -0
- package/src/models/AdminLiteResource.ts +83 -0
- package/src/models/AdminLiteResourceArrayResponse.ts +73 -0
- package/src/models/AdminNoteResource.ts +10 -10
- package/src/models/AdminOrderResource.ts +11 -11
- package/src/models/AdminResource.ts +115 -0
- package/src/models/AdminResourceArrayResponse.ts +73 -0
- package/src/models/AdminUserLiteResource.ts +3 -2
- package/src/models/CartResource.ts +10 -10
- package/src/models/CheckEmailFrontendResource.ts +74 -0
- package/src/models/CheckEmailFrontendResourceArrayResponse.ts +73 -0
- package/src/models/CreateAdminUserRequest.ts +101 -0
- package/src/models/CreateCustomerRequest.ts +28 -11
- package/src/models/CreateRoleRequest.ts +75 -0
- 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/ExternalApiLogResource.ts +2 -3
- package/src/models/OrderFulfillmentResource.ts +2 -3
- package/src/models/PaginatedAdminListResourceResponse.ts +90 -0
- package/src/models/PaginatedAdminLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedPermissionListResourceResponse.ts +90 -0
- package/src/models/PaginatedPermissionLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedRoleListResourceResponse.ts +90 -0
- package/src/models/PaginatedRoleLiteResourceResponse.ts +90 -0
- package/src/models/PermissionListResource.ts +82 -0
- package/src/models/PermissionListResourceArrayResponse.ts +73 -0
- package/src/models/PermissionLiteResource.ts +74 -0
- package/src/models/PermissionLiteResourceArrayResponse.ts +73 -0
- package/src/models/PermissionResource.ts +99 -0
- package/src/models/PermissionResourceArrayResponse.ts +73 -0
- package/src/models/RoleListResource.ts +117 -0
- package/src/models/RoleListResourceArrayResponse.ts +73 -0
- package/src/models/RoleLiteResource.ts +83 -0
- package/src/models/RoleLiteResourceArrayResponse.ts +73 -0
- package/src/models/RoleResource.ts +134 -0
- package/src/models/RoleResourceArrayResponse.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/SearchAllPermissionsRequest.ts +126 -0
- package/src/models/SearchAllRolesRequest.ts +135 -0
- package/src/models/SearchCustomersRequest.ts +39 -3
- package/src/models/SearchPermissionsRequest.ts +142 -0
- package/src/models/SearchRolesRequest.ts +151 -0
- package/src/models/SignUpType.ts +57 -0
- package/src/models/SocialProvider.ts +54 -0
- package/src/models/StoreFrontendResource.ts +3 -2
- package/src/models/StoreResource.ts +2 -3
- package/src/models/StoreSpecialDateFrontendResource.ts +4 -3
- package/src/models/StoreSpecialDateResource.ts +4 -3
- package/src/models/SupplierFrontendResource.ts +0 -9
- package/src/models/SupplierResource.ts +0 -9
- package/src/models/UpdateAdminUserRequest.ts +100 -0
- package/src/models/UpdateCustomerRequest.ts +108 -0
- package/src/models/UpdateRoleRequest.ts +75 -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 +50 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# CustomerAuthResponseResourceArrayResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<CustomerAuthResponseResource>](CustomerAuthResponseResource.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { CustomerAuthResponseResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"data": null,
|
|
19
|
+
} satisfies CustomerAuthResponseResourceArrayResponse
|
|
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 CustomerAuthResponseResourceArrayResponse
|
|
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,46 @@
|
|
|
1
|
+
|
|
2
|
+
# CustomerFrontendResource
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | number
|
|
10
|
+
`type` | string
|
|
11
|
+
`signUpType` | string
|
|
12
|
+
`subscribedToNewsletter` | boolean
|
|
13
|
+
`user` | [UserLiteResource](UserLiteResource.md)
|
|
14
|
+
`site` | [SiteLiteResource](SiteLiteResource.md)
|
|
15
|
+
`addresses` | object
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import type { CustomerFrontendResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
21
|
+
|
|
22
|
+
// TODO: Update the object below with actual values
|
|
23
|
+
const example = {
|
|
24
|
+
"id": null,
|
|
25
|
+
"type": null,
|
|
26
|
+
"signUpType": null,
|
|
27
|
+
"subscribedToNewsletter": null,
|
|
28
|
+
"user": null,
|
|
29
|
+
"site": null,
|
|
30
|
+
"addresses": null,
|
|
31
|
+
} satisfies CustomerFrontendResource
|
|
32
|
+
|
|
33
|
+
console.log(example)
|
|
34
|
+
|
|
35
|
+
// Convert the instance to a JSON string
|
|
36
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
37
|
+
console.log(exampleJSON)
|
|
38
|
+
|
|
39
|
+
// Parse the JSON string back to an object
|
|
40
|
+
const exampleParsed = JSON.parse(exampleJSON) as CustomerFrontendResource
|
|
41
|
+
console.log(exampleParsed)
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
45
|
+
|
|
46
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# CustomerFrontendResourceArrayResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<CustomerFrontendResource>](CustomerFrontendResource.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { CustomerFrontendResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"data": null,
|
|
19
|
+
} satisfies CustomerFrontendResourceArrayResponse
|
|
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 CustomerFrontendResourceArrayResponse
|
|
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
|
+
|
|
@@ -7,11 +7,13 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`id` | number
|
|
10
|
-
`
|
|
11
|
-
`lastName` | string
|
|
12
|
-
`email` | string
|
|
13
|
-
`phone` | string
|
|
10
|
+
`user` | [UserLiteResource](UserLiteResource.md)
|
|
14
11
|
`site` | [SiteLiteResource](SiteLiteResource.md)
|
|
12
|
+
`type` | string
|
|
13
|
+
`signUpType` | string
|
|
14
|
+
`subscribedToNewsletter` | boolean
|
|
15
|
+
`netsuiteId` | object
|
|
16
|
+
`createdAt` | Date
|
|
15
17
|
|
|
16
18
|
## Example
|
|
17
19
|
|
|
@@ -21,11 +23,13 @@ import type { CustomerListResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
|
21
23
|
// TODO: Update the object below with actual values
|
|
22
24
|
const example = {
|
|
23
25
|
"id": null,
|
|
24
|
-
"
|
|
25
|
-
"lastName": null,
|
|
26
|
-
"email": null,
|
|
27
|
-
"phone": null,
|
|
26
|
+
"user": null,
|
|
28
27
|
"site": null,
|
|
28
|
+
"type": null,
|
|
29
|
+
"signUpType": null,
|
|
30
|
+
"subscribedToNewsletter": null,
|
|
31
|
+
"netsuiteId": null,
|
|
32
|
+
"createdAt": null,
|
|
29
33
|
} satisfies CustomerListResource
|
|
30
34
|
|
|
31
35
|
console.log(example)
|
package/docs/CustomerResource.md
CHANGED
|
@@ -7,12 +7,16 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`id` | number
|
|
10
|
-
`
|
|
11
|
-
`lastName` | string
|
|
12
|
-
`email` | string
|
|
13
|
-
`phone` | string
|
|
10
|
+
`user` | [UserLiteResource](UserLiteResource.md)
|
|
14
11
|
`site` | [SiteLiteResource](SiteLiteResource.md)
|
|
15
|
-
`
|
|
12
|
+
`type` | string
|
|
13
|
+
`signUpType` | string
|
|
14
|
+
`socialId` | string
|
|
15
|
+
`subscribedToNewsletter` | boolean
|
|
16
|
+
`netsuiteId` | string
|
|
17
|
+
`addresses` | [Array<AddressResource>](AddressResource.md)
|
|
18
|
+
`createdAt` | Date
|
|
19
|
+
`updatedAt` | Date
|
|
16
20
|
|
|
17
21
|
## Example
|
|
18
22
|
|
|
@@ -22,12 +26,16 @@ import type { CustomerResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
|
22
26
|
// TODO: Update the object below with actual values
|
|
23
27
|
const example = {
|
|
24
28
|
"id": null,
|
|
25
|
-
"
|
|
26
|
-
"lastName": null,
|
|
27
|
-
"email": null,
|
|
28
|
-
"phone": null,
|
|
29
|
+
"user": null,
|
|
29
30
|
"site": null,
|
|
31
|
+
"type": null,
|
|
32
|
+
"signUpType": null,
|
|
33
|
+
"socialId": null,
|
|
34
|
+
"subscribedToNewsletter": null,
|
|
35
|
+
"netsuiteId": null,
|
|
30
36
|
"addresses": null,
|
|
37
|
+
"createdAt": null,
|
|
38
|
+
"updatedAt": null,
|
|
31
39
|
} satisfies CustomerResource
|
|
32
40
|
|
|
33
41
|
console.log(example)
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# CustomerSocialLinkableResource
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`linkable` | boolean
|
|
10
|
+
`customer` | object
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { CustomerSocialLinkableResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"linkable": null,
|
|
20
|
+
"customer": null,
|
|
21
|
+
} satisfies CustomerSocialLinkableResource
|
|
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 CustomerSocialLinkableResource
|
|
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
|
+
# CustomerSocialLinkableResourceArrayResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<CustomerSocialLinkableResource>](CustomerSocialLinkableResource.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { CustomerSocialLinkableResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"data": null,
|
|
19
|
+
} satisfies CustomerSocialLinkableResourceArrayResponse
|
|
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 CustomerSocialLinkableResourceArrayResponse
|
|
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,32 @@
|
|
|
1
|
+
|
|
2
|
+
# CustomerType
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import type { CustomerType } from '@digital8/lighting-illusions-ts-sdk'
|
|
14
|
+
|
|
15
|
+
// TODO: Update the object below with actual values
|
|
16
|
+
const example = {
|
|
17
|
+
} satisfies CustomerType
|
|
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 CustomerType
|
|
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
|
+
|
package/docs/CustomersApi.md
CHANGED
|
@@ -4,12 +4,145 @@ All URIs are relative to *http://localhost/api*
|
|
|
4
4
|
|
|
5
5
|
| Method | HTTP request | Description |
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
+
| [**destroyCustomer**](CustomersApi.md#destroycustomer) | **DELETE** /admin-api/customers/{customer}/delete | Auto-generated: destroyCustomer |
|
|
8
|
+
| [**getAllCustomer**](CustomersApi.md#getallcustomer) | **POST** /admin-api/customers/all | Auto-generated: getAllCustomer |
|
|
7
9
|
| [**indexCustomer**](CustomersApi.md#indexcustomer) | **POST** /admin-api/customers/list | Auto-generated: indexCustomer |
|
|
8
10
|
| [**showCustomer**](CustomersApi.md#showcustomer) | **GET** /admin-api/customers/{customer} | Auto-generated: showCustomer |
|
|
9
11
|
| [**storeCustomer**](CustomersApi.md#storecustomer) | **POST** /admin-api/customers/create | Auto-generated: storeCustomer |
|
|
12
|
+
| [**updateCustomer**](CustomersApi.md#updatecustomeroperation) | **PUT** /admin-api/customers/{customer}/update | Auto-generated: updateCustomer |
|
|
10
13
|
|
|
11
14
|
|
|
12
15
|
|
|
16
|
+
## destroyCustomer
|
|
17
|
+
|
|
18
|
+
> GenericResponse destroyCustomer(customer)
|
|
19
|
+
|
|
20
|
+
Auto-generated: destroyCustomer
|
|
21
|
+
|
|
22
|
+
### Example
|
|
23
|
+
|
|
24
|
+
```ts
|
|
25
|
+
import {
|
|
26
|
+
Configuration,
|
|
27
|
+
CustomersApi,
|
|
28
|
+
} from '@digital8/lighting-illusions-ts-sdk';
|
|
29
|
+
import type { DestroyCustomerRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
30
|
+
|
|
31
|
+
async function example() {
|
|
32
|
+
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
33
|
+
const api = new CustomersApi();
|
|
34
|
+
|
|
35
|
+
const body = {
|
|
36
|
+
// number | The id of the customer
|
|
37
|
+
customer: 56,
|
|
38
|
+
} satisfies DestroyCustomerRequest;
|
|
39
|
+
|
|
40
|
+
try {
|
|
41
|
+
const data = await api.destroyCustomer(body);
|
|
42
|
+
console.log(data);
|
|
43
|
+
} catch (error) {
|
|
44
|
+
console.error(error);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// Run the test
|
|
49
|
+
example().catch(console.error);
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### Parameters
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
| Name | Type | Description | Notes |
|
|
56
|
+
|------------- | ------------- | ------------- | -------------|
|
|
57
|
+
| **customer** | `number` | The id of the customer | [Defaults to `undefined`] |
|
|
58
|
+
|
|
59
|
+
### Return type
|
|
60
|
+
|
|
61
|
+
[**GenericResponse**](GenericResponse.md)
|
|
62
|
+
|
|
63
|
+
### Authorization
|
|
64
|
+
|
|
65
|
+
No authorization required
|
|
66
|
+
|
|
67
|
+
### HTTP request headers
|
|
68
|
+
|
|
69
|
+
- **Content-Type**: Not defined
|
|
70
|
+
- **Accept**: `application/json`
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
### HTTP response details
|
|
74
|
+
| Status code | Description | Response headers |
|
|
75
|
+
|-------------|-------------|------------------|
|
|
76
|
+
| **200** | Generic JSON success | - |
|
|
77
|
+
|
|
78
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
## getAllCustomer
|
|
82
|
+
|
|
83
|
+
> CustomerLiteResourceArrayResponse getAllCustomer(searchAllCustomersRequest)
|
|
84
|
+
|
|
85
|
+
Auto-generated: getAllCustomer
|
|
86
|
+
|
|
87
|
+
### Example
|
|
88
|
+
|
|
89
|
+
```ts
|
|
90
|
+
import {
|
|
91
|
+
Configuration,
|
|
92
|
+
CustomersApi,
|
|
93
|
+
} from '@digital8/lighting-illusions-ts-sdk';
|
|
94
|
+
import type { GetAllCustomerRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
95
|
+
|
|
96
|
+
async function example() {
|
|
97
|
+
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
98
|
+
const api = new CustomersApi();
|
|
99
|
+
|
|
100
|
+
const body = {
|
|
101
|
+
// SearchAllCustomersRequest (optional)
|
|
102
|
+
searchAllCustomersRequest: ...,
|
|
103
|
+
} satisfies GetAllCustomerRequest;
|
|
104
|
+
|
|
105
|
+
try {
|
|
106
|
+
const data = await api.getAllCustomer(body);
|
|
107
|
+
console.log(data);
|
|
108
|
+
} catch (error) {
|
|
109
|
+
console.error(error);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
// Run the test
|
|
114
|
+
example().catch(console.error);
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
### Parameters
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
| Name | Type | Description | Notes |
|
|
121
|
+
|------------- | ------------- | ------------- | -------------|
|
|
122
|
+
| **searchAllCustomersRequest** | [SearchAllCustomersRequest](SearchAllCustomersRequest.md) | | [Optional] |
|
|
123
|
+
|
|
124
|
+
### Return type
|
|
125
|
+
|
|
126
|
+
[**CustomerLiteResourceArrayResponse**](CustomerLiteResourceArrayResponse.md)
|
|
127
|
+
|
|
128
|
+
### Authorization
|
|
129
|
+
|
|
130
|
+
No authorization required
|
|
131
|
+
|
|
132
|
+
### HTTP request headers
|
|
133
|
+
|
|
134
|
+
- **Content-Type**: `application/json`
|
|
135
|
+
- **Accept**: `application/json`
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
### HTTP response details
|
|
139
|
+
| Status code | Description | Response headers |
|
|
140
|
+
|-------------|-------------|------------------|
|
|
141
|
+
| **200** | Successful resource response | - |
|
|
142
|
+
|
|
143
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
144
|
+
|
|
145
|
+
|
|
13
146
|
## indexCustomer
|
|
14
147
|
|
|
15
148
|
> PaginatedCustomerListResourceResponse indexCustomer(searchCustomersRequest)
|
|
@@ -204,3 +337,71 @@ No authorization required
|
|
|
204
337
|
|
|
205
338
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
206
339
|
|
|
340
|
+
|
|
341
|
+
## updateCustomer
|
|
342
|
+
|
|
343
|
+
> CustomerResource updateCustomer(customer, updateCustomerRequest)
|
|
344
|
+
|
|
345
|
+
Auto-generated: updateCustomer
|
|
346
|
+
|
|
347
|
+
### Example
|
|
348
|
+
|
|
349
|
+
```ts
|
|
350
|
+
import {
|
|
351
|
+
Configuration,
|
|
352
|
+
CustomersApi,
|
|
353
|
+
} from '@digital8/lighting-illusions-ts-sdk';
|
|
354
|
+
import type { UpdateCustomerOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
355
|
+
|
|
356
|
+
async function example() {
|
|
357
|
+
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
358
|
+
const api = new CustomersApi();
|
|
359
|
+
|
|
360
|
+
const body = {
|
|
361
|
+
// number | The id of the customer
|
|
362
|
+
customer: 56,
|
|
363
|
+
// UpdateCustomerRequest (optional)
|
|
364
|
+
updateCustomerRequest: ...,
|
|
365
|
+
} satisfies UpdateCustomerOperationRequest;
|
|
366
|
+
|
|
367
|
+
try {
|
|
368
|
+
const data = await api.updateCustomer(body);
|
|
369
|
+
console.log(data);
|
|
370
|
+
} catch (error) {
|
|
371
|
+
console.error(error);
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
// Run the test
|
|
376
|
+
example().catch(console.error);
|
|
377
|
+
```
|
|
378
|
+
|
|
379
|
+
### Parameters
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
| Name | Type | Description | Notes |
|
|
383
|
+
|------------- | ------------- | ------------- | -------------|
|
|
384
|
+
| **customer** | `number` | The id of the customer | [Defaults to `undefined`] |
|
|
385
|
+
| **updateCustomerRequest** | [UpdateCustomerRequest](UpdateCustomerRequest.md) | | [Optional] |
|
|
386
|
+
|
|
387
|
+
### Return type
|
|
388
|
+
|
|
389
|
+
[**CustomerResource**](CustomerResource.md)
|
|
390
|
+
|
|
391
|
+
### Authorization
|
|
392
|
+
|
|
393
|
+
No authorization required
|
|
394
|
+
|
|
395
|
+
### HTTP request headers
|
|
396
|
+
|
|
397
|
+
- **Content-Type**: `application/json`
|
|
398
|
+
- **Accept**: `application/json`
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
### HTTP response details
|
|
402
|
+
| Status code | Description | Response headers |
|
|
403
|
+
|-------------|-------------|------------------|
|
|
404
|
+
| **200** | Successful resource response | - |
|
|
405
|
+
|
|
406
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
407
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# PaginatedAdminListResourceResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<AdminListResource>](AdminListResource.md)
|
|
10
|
+
`meta` | [PagingMetadata](PagingMetadata.md)
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { PaginatedAdminListResourceResponse } 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 PaginatedAdminListResourceResponse
|
|
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 PaginatedAdminListResourceResponse
|
|
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
|
+
# 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
|
+
# PaginatedPermissionListResourceResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<PermissionListResource>](PermissionListResource.md)
|
|
10
|
+
`meta` | [PagingMetadata](PagingMetadata.md)
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { PaginatedPermissionListResourceResponse } 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 PaginatedPermissionListResourceResponse
|
|
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 PaginatedPermissionListResourceResponse
|
|
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
|
+
# PaginatedPermissionLiteResourceResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<PermissionLiteResource>](PermissionLiteResource.md)
|
|
10
|
+
`meta` | [PagingMetadata](PagingMetadata.md)
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { PaginatedPermissionLiteResourceResponse } 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 PaginatedPermissionLiteResourceResponse
|
|
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 PaginatedPermissionLiteResourceResponse
|
|
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
|
+
# PaginatedRoleListResourceResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<RoleListResource>](RoleListResource.md)
|
|
10
|
+
`meta` | [PagingMetadata](PagingMetadata.md)
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { PaginatedRoleListResourceResponse } 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 PaginatedRoleListResourceResponse
|
|
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 PaginatedRoleListResourceResponse
|
|
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
|
+
|