@digital8/lighting-illusions-ts-sdk 0.0.2355 → 0.0.2357
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 +68 -10
- package/README.md +56 -7
- package/dist/apis/AdminsApi.d.ts +33 -0
- package/dist/apis/AdminsApi.js +125 -0
- package/dist/apis/AuthApi.d.ts +92 -0
- package/dist/apis/AuthApi.js +369 -0
- package/dist/apis/CustomersApi.d.ts +52 -0
- package/dist/apis/CustomersApi.js +192 -0
- package/dist/apis/PermissionsApi.d.ts +67 -0
- package/dist/apis/PermissionsApi.js +259 -0
- package/dist/apis/RolesApi.d.ts +182 -0
- package/dist/apis/RolesApi.js +690 -0
- package/dist/apis/index.d.ts +3 -1
- package/dist/apis/index.js +3 -1
- package/dist/models/AddressFrontendResource.d.ts +1 -1
- package/dist/models/AddressFrontendResource.js +3 -1
- package/dist/models/AddressResource.d.ts +2 -2
- package/dist/models/AddressResource.js +3 -3
- package/dist/models/AdminListResource.d.ts +1 -1
- package/dist/models/AdminListResource.js +3 -1
- package/dist/models/AdminLiteResource.d.ts +1 -1
- package/dist/models/AdminLiteResource.js +3 -1
- package/dist/models/AdminLoginResponseResource.d.ts +39 -0
- package/dist/models/AdminLoginResponseResource.js +56 -0
- package/dist/models/AdminLoginResponseResourceArrayResponse.d.ts +33 -0
- package/dist/models/AdminLoginResponseResourceArrayResponse.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 +7 -1
- package/dist/models/AdminResource.js +7 -1
- package/dist/models/AdminUserLiteResource.d.ts +1 -1
- package/dist/models/AdminUserLiteResource.js +3 -1
- package/dist/models/AttachAdminsToRoleRequest.d.ts +32 -0
- package/dist/models/AttachAdminsToRoleRequest.js +51 -0
- package/dist/models/AttachPermissionsToRoleRequest.d.ts +32 -0
- package/dist/models/AttachPermissionsToRoleRequest.js +51 -0
- package/dist/models/AttachRolesToAdminRequest.d.ts +32 -0
- package/dist/models/AttachRolesToAdminRequest.js +51 -0
- package/dist/models/CartListResource.d.ts +0 -6
- package/dist/models/CartListResource.js +0 -4
- package/dist/models/CartResource.d.ts +3 -3
- package/dist/models/CartResource.js +3 -3
- package/dist/models/CategoryAutomationFieldType.d.ts +0 -2
- package/dist/models/CategoryAutomationFieldType.js +1 -3
- package/dist/models/CreateAdminUserRequest.d.ts +0 -6
- package/dist/models/CreateAdminUserRequest.js +0 -4
- package/dist/models/CreateCustomerAddressRequest.d.ts +90 -0
- package/dist/models/CreateCustomerAddressRequest.js +83 -0
- package/dist/models/CreateCustomerRequest.d.ts +7 -1
- package/dist/models/CreateCustomerRequest.js +3 -3
- package/dist/models/CreatePageComponentRequest.d.ts +4 -4
- package/dist/models/CreatePageComponentRequest.js +4 -4
- package/dist/models/CreateProductCategoryRequestAutomationRulesInner.d.ts +0 -2
- package/dist/models/CreateProductCategoryRequestAutomationRulesInner.js +1 -3
- 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/CustomerListResource.d.ts +6 -0
- package/dist/models/CustomerListResource.js +4 -0
- package/dist/models/CustomerResource.d.ts +10 -2
- package/dist/models/CustomerResource.js +9 -3
- package/dist/models/ForgotPasswordAdminRequest.d.ts +32 -0
- package/dist/models/ForgotPasswordAdminRequest.js +51 -0
- package/dist/models/FrontendCartResource.d.ts +0 -18
- package/dist/models/FrontendCartResource.js +0 -12
- package/dist/models/LoginAdminRequest.d.ts +38 -0
- package/dist/models/LoginAdminRequest.js +55 -0
- package/dist/models/NetsuiteSyncLiteResource.d.ts +44 -0
- package/dist/models/NetsuiteSyncLiteResource.js +59 -0
- package/dist/models/NetsuiteSyncLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/NetsuiteSyncLiteResourceArrayResponse.js +50 -0
- package/dist/models/OrderStatusWithCountResource.d.ts +0 -12
- package/dist/models/OrderStatusWithCountResource.js +0 -8
- 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/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/ProductClassResource.d.ts +2 -2
- package/dist/models/ResetPasswordAdminRequest.d.ts +44 -0
- package/dist/models/ResetPasswordAdminRequest.js +59 -0
- package/dist/models/RoleListResource.d.ts +74 -0
- package/dist/models/RoleListResource.js +73 -0
- package/dist/models/RoleListResourceArrayResponse.d.ts +33 -0
- package/dist/models/RoleListResourceArrayResponse.js +50 -0
- package/dist/models/RoleLiteResource.d.ts +6 -0
- package/dist/models/RoleLiteResource.js +4 -0
- package/dist/models/RoleResource.d.ts +82 -0
- package/dist/models/RoleResource.js +79 -0
- package/dist/models/RoleResourceArrayResponse.d.ts +33 -0
- package/dist/models/RoleResourceArrayResponse.js +50 -0
- package/dist/models/SearchAdminUsersRequest.d.ts +6 -6
- package/dist/models/SearchAdminUsersRequest.js +2 -2
- package/dist/models/SearchAllAdminUsersRequest.d.ts +6 -0
- package/dist/models/SearchAllAdminUsersRequest.js +2 -0
- package/dist/models/SearchAllOrdersRequest.d.ts +0 -6
- package/dist/models/SearchAllOrdersRequest.js +0 -2
- package/dist/models/SearchAllPermissionsRequest.d.ts +85 -0
- package/dist/models/{SearchAllProductClassesRequest.js → SearchAllPermissionsRequest.js} +20 -17
- package/dist/models/SearchAllRolesRequest.d.ts +92 -0
- package/dist/models/SearchAllRolesRequest.js +80 -0
- package/dist/models/SearchOrdersRequest.d.ts +0 -6
- package/dist/models/SearchOrdersRequest.js +0 -2
- package/dist/models/SearchPermissionsRequest.d.ts +97 -0
- package/dist/models/SearchPermissionsRequest.js +81 -0
- package/dist/models/SearchRolesRequest.d.ts +104 -0
- package/dist/models/SearchRolesRequest.js +84 -0
- package/dist/models/StoreFrontendResource.d.ts +2 -2
- package/dist/models/StoreFrontendResource.js +4 -4
- package/dist/models/StoreListResource.d.ts +1 -1
- package/dist/models/StoreListResource.js +3 -1
- package/dist/models/StoreResource.d.ts +1 -1
- package/dist/models/StoreResource.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 +0 -6
- package/dist/models/UpdateAdminUserRequest.js +0 -4
- package/dist/models/UpdateCustomerAddressRequest.d.ts +90 -0
- package/dist/models/UpdateCustomerAddressRequest.js +83 -0
- package/dist/models/UpdateCustomerRequest.d.ts +6 -0
- package/dist/models/UpdateCustomerRequest.js +2 -0
- package/dist/models/UpdatePageComponentRequest.d.ts +4 -4
- package/dist/models/UpdatePageComponentRequest.js +4 -4
- 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/index.d.ts +31 -4
- package/dist/models/index.js +31 -4
- package/docs/AdminLoginResponseResource.md +36 -0
- package/docs/AdminLoginResponseResourceArrayResponse.md +34 -0
- package/docs/AdminNoteResource.md +1 -1
- package/docs/AdminOrderResource.md +1 -1
- package/docs/AdminResource.md +2 -0
- package/docs/AdminsApi.md +138 -0
- package/docs/AttachAdminsToRoleRequest.md +34 -0
- package/docs/AttachPermissionsToRoleRequest.md +34 -0
- package/docs/AttachRolesToAdminRequest.md +34 -0
- package/docs/AuthApi.md +322 -0
- package/docs/CartListResource.md +0 -2
- package/docs/CartResource.md +1 -1
- package/docs/CreateAdminUserRequest.md +0 -2
- package/docs/CreateCustomerAddressRequest.md +50 -0
- package/docs/CreateCustomerRequest.md +2 -0
- package/docs/CreatePageComponentRequest.md +2 -2
- package/docs/CreateRoleRequest.md +36 -0
- package/docs/CreateSupplierRequest.md +0 -2
- package/docs/CustomerListResource.md +2 -0
- package/docs/CustomerResource.md +4 -2
- package/docs/CustomersApi.md +210 -0
- package/docs/ForgotPasswordAdminRequest.md +34 -0
- package/docs/FrontendCartResource.md +0 -6
- package/docs/LoginAdminRequest.md +36 -0
- package/docs/NetsuiteSyncLiteResource.md +38 -0
- package/docs/{ProductClassLiteResourceArrayResponse.md → NetsuiteSyncLiteResourceArrayResponse.md} +5 -5
- package/docs/OrderStatusWithCountResource.md +0 -4
- package/docs/{PaginatedProductClassLiteResourceResponse.md → PaginatedPermissionListResourceResponse.md} +5 -5
- package/docs/PaginatedPermissionLiteResourceResponse.md +36 -0
- package/docs/PaginatedRoleListResourceResponse.md +36 -0
- package/docs/{ProductClassLiteResource.md → PermissionListResource.md} +6 -6
- 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/ProductClassResource.md +1 -1
- package/docs/ResetPasswordAdminRequest.md +38 -0
- package/docs/RoleListResource.md +48 -0
- package/docs/RoleListResourceArrayResponse.md +34 -0
- package/docs/RoleLiteResource.md +2 -0
- package/docs/RoleResource.md +50 -0
- package/docs/RoleResourceArrayResponse.md +34 -0
- package/docs/RolesApi.md +683 -0
- package/docs/SearchAdminUsersRequest.md +2 -2
- package/docs/SearchAllAdminUsersRequest.md +2 -0
- package/docs/SearchAllOrdersRequest.md +0 -2
- package/docs/{SearchAllProductClassesRequest.md → SearchAllPermissionsRequest.md} +6 -4
- package/docs/SearchAllRolesRequest.md +48 -0
- package/docs/SearchOrdersRequest.md +0 -2
- package/docs/SearchPermissionsRequest.md +50 -0
- package/docs/SearchRolesRequest.md +52 -0
- package/docs/SupplierFrontendResource.md +0 -2
- package/docs/SupplierResource.md +0 -2
- package/docs/UpdateAdminUserRequest.md +0 -2
- package/docs/UpdateCustomerAddressRequest.md +50 -0
- package/docs/UpdateCustomerRequest.md +2 -0
- package/docs/UpdatePageComponentRequest.md +2 -2
- package/docs/UpdateRoleRequest.md +36 -0
- package/docs/UpdateSupplierRequest.md +0 -2
- package/package.json +1 -1
- package/src/apis/AdminsApi.ts +116 -0
- package/src/apis/AuthApi.ts +258 -0
- package/src/apis/CustomersApi.ts +188 -0
- package/src/apis/PermissionsApi.ts +184 -0
- package/src/apis/RolesApi.ts +577 -0
- package/src/apis/index.ts +3 -1
- package/src/models/AddressFrontendResource.ts +3 -2
- package/src/models/AddressResource.ts +5 -5
- package/src/models/AdminListResource.ts +3 -2
- package/src/models/AdminLiteResource.ts +3 -2
- package/src/models/AdminLoginResponseResource.ts +83 -0
- package/src/models/AdminLoginResponseResourceArrayResponse.ts +73 -0
- package/src/models/AdminNoteResource.ts +10 -10
- package/src/models/AdminOrderResource.ts +11 -11
- package/src/models/AdminResource.ts +12 -2
- package/src/models/AdminUserLiteResource.ts +3 -2
- package/src/models/AttachAdminsToRoleRequest.ts +66 -0
- package/src/models/AttachPermissionsToRoleRequest.ts +66 -0
- package/src/models/AttachRolesToAdminRequest.ts +66 -0
- package/src/models/CartListResource.ts +0 -9
- package/src/models/CartResource.ts +10 -10
- package/src/models/CategoryAutomationFieldType.ts +1 -3
- package/src/models/CreateAdminUserRequest.ts +0 -9
- package/src/models/CreateCustomerAddressRequest.ts +146 -0
- package/src/models/CreateCustomerRequest.ts +10 -3
- package/src/models/CreatePageComponentRequest.ts +8 -8
- package/src/models/CreateProductCategoryRequestAutomationRulesInner.ts +1 -3
- package/src/models/CreateRoleRequest.ts +75 -0
- package/src/models/CreateSupplierRequest.ts +0 -8
- package/src/models/CustomerListResource.ts +9 -0
- package/src/models/CustomerResource.ts +28 -5
- package/src/models/ForgotPasswordAdminRequest.ts +66 -0
- package/src/models/FrontendCartResource.ts +0 -27
- package/src/models/LoginAdminRequest.ts +75 -0
- package/src/models/NetsuiteSyncLiteResource.ts +84 -0
- package/src/models/NetsuiteSyncLiteResourceArrayResponse.ts +73 -0
- package/src/models/OrderStatusWithCountResource.ts +0 -18
- package/src/models/PaginatedPermissionListResourceResponse.ts +90 -0
- package/src/models/PaginatedPermissionLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedRoleListResourceResponse.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/ProductClassResource.ts +2 -2
- package/src/models/ResetPasswordAdminRequest.ts +84 -0
- package/src/models/RoleListResource.ts +126 -0
- package/src/models/RoleListResourceArrayResponse.ts +73 -0
- package/src/models/RoleLiteResource.ts +9 -0
- package/src/models/RoleResource.ts +150 -0
- package/src/models/RoleResourceArrayResponse.ts +73 -0
- package/src/models/SearchAdminUsersRequest.ts +8 -8
- package/src/models/SearchAllAdminUsersRequest.ts +8 -0
- package/src/models/SearchAllOrdersRequest.ts +0 -8
- package/src/models/SearchAllPermissionsRequest.ts +134 -0
- package/src/models/SearchAllRolesRequest.ts +143 -0
- package/src/models/SearchOrdersRequest.ts +0 -8
- package/src/models/SearchPermissionsRequest.ts +150 -0
- package/src/models/SearchRolesRequest.ts +159 -0
- package/src/models/StoreFrontendResource.ts +5 -5
- package/src/models/StoreListResource.ts +3 -2
- package/src/models/StoreResource.ts +3 -2
- package/src/models/SupplierFrontendResource.ts +0 -9
- package/src/models/SupplierResource.ts +0 -9
- package/src/models/UpdateAdminUserRequest.ts +0 -9
- package/src/models/UpdateCustomerAddressRequest.ts +146 -0
- package/src/models/UpdateCustomerRequest.ts +8 -0
- package/src/models/UpdatePageComponentRequest.ts +8 -8
- package/src/models/UpdateRoleRequest.ts +75 -0
- package/src/models/UpdateSupplierRequest.ts +0 -8
- package/src/models/index.ts +31 -4
- package/dist/apis/ProductClassApi.d.ts +0 -34
- package/dist/apis/ProductClassApi.js +0 -139
- package/dist/models/PaginatedProductClassLiteResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductClassLiteResourceResponse.js +0 -57
- package/dist/models/ProductClassLiteResource.d.ts +0 -44
- package/dist/models/ProductClassLiteResource.js +0 -57
- package/dist/models/ProductClassLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductClassLiteResourceArrayResponse.js +0 -50
- package/dist/models/SearchAllProductClassesRequest.d.ts +0 -78
- package/docs/ProductClassApi.md +0 -74
- package/src/apis/ProductClassApi.ts +0 -76
- package/src/models/PaginatedProductClassLiteResourceResponse.ts +0 -90
- package/src/models/ProductClassLiteResource.ts +0 -83
- package/src/models/ProductClassLiteResourceArrayResponse.ts +0 -73
- package/src/models/SearchAllProductClassesRequest.ts +0 -125
package/docs/CustomersApi.md
CHANGED
|
@@ -5,11 +5,14 @@ All URIs are relative to *http://localhost/api*
|
|
|
5
5
|
| Method | HTTP request | Description |
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
| [**destroyCustomer**](CustomersApi.md#destroycustomer) | **DELETE** /admin-api/customers/{customer}/delete | Auto-generated: destroyCustomer |
|
|
8
|
+
| [**destroyCustomerAddress**](CustomersApi.md#destroycustomeraddress) | **DELETE** /admin-api/customers/{customer}/addresses/{address} | Auto-generated: destroyCustomerAddress |
|
|
8
9
|
| [**getAllCustomer**](CustomersApi.md#getallcustomer) | **POST** /admin-api/customers/all | Auto-generated: getAllCustomer |
|
|
9
10
|
| [**indexCustomer**](CustomersApi.md#indexcustomer) | **POST** /admin-api/customers/list | Auto-generated: indexCustomer |
|
|
10
11
|
| [**showCustomer**](CustomersApi.md#showcustomer) | **GET** /admin-api/customers/{customer} | Auto-generated: showCustomer |
|
|
11
12
|
| [**storeCustomer**](CustomersApi.md#storecustomer) | **POST** /admin-api/customers/create | Auto-generated: storeCustomer |
|
|
13
|
+
| [**storeCustomerAddress**](CustomersApi.md#storecustomeraddress) | **POST** /admin-api/customers/{customer}/addresses | Auto-generated: storeCustomerAddress |
|
|
12
14
|
| [**updateCustomer**](CustomersApi.md#updatecustomeroperation) | **PUT** /admin-api/customers/{customer}/update | Auto-generated: updateCustomer |
|
|
15
|
+
| [**updateCustomerAddress**](CustomersApi.md#updatecustomeraddressoperation) | **PUT** /admin-api/customers/{customer}/addresses/{address} | Auto-generated: updateCustomerAddress |
|
|
13
16
|
|
|
14
17
|
|
|
15
18
|
|
|
@@ -70,6 +73,74 @@ No authorization required
|
|
|
70
73
|
- **Accept**: `application/json`
|
|
71
74
|
|
|
72
75
|
|
|
76
|
+
### HTTP response details
|
|
77
|
+
| Status code | Description | Response headers |
|
|
78
|
+
|-------------|-------------|------------------|
|
|
79
|
+
| **200** | Generic JSON success | - |
|
|
80
|
+
|
|
81
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
## destroyCustomerAddress
|
|
85
|
+
|
|
86
|
+
> GenericResponse destroyCustomerAddress(customer, address)
|
|
87
|
+
|
|
88
|
+
Auto-generated: destroyCustomerAddress
|
|
89
|
+
|
|
90
|
+
### Example
|
|
91
|
+
|
|
92
|
+
```ts
|
|
93
|
+
import {
|
|
94
|
+
Configuration,
|
|
95
|
+
CustomersApi,
|
|
96
|
+
} from '@digital8/lighting-illusions-ts-sdk';
|
|
97
|
+
import type { DestroyCustomerAddressRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
98
|
+
|
|
99
|
+
async function example() {
|
|
100
|
+
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
101
|
+
const api = new CustomersApi();
|
|
102
|
+
|
|
103
|
+
const body = {
|
|
104
|
+
// number | The id of the customer
|
|
105
|
+
customer: 56,
|
|
106
|
+
// number | The id of the address
|
|
107
|
+
address: 56,
|
|
108
|
+
} satisfies DestroyCustomerAddressRequest;
|
|
109
|
+
|
|
110
|
+
try {
|
|
111
|
+
const data = await api.destroyCustomerAddress(body);
|
|
112
|
+
console.log(data);
|
|
113
|
+
} catch (error) {
|
|
114
|
+
console.error(error);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
// Run the test
|
|
119
|
+
example().catch(console.error);
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
### Parameters
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
| Name | Type | Description | Notes |
|
|
126
|
+
|------------- | ------------- | ------------- | -------------|
|
|
127
|
+
| **customer** | `number` | The id of the customer | [Defaults to `undefined`] |
|
|
128
|
+
| **address** | `number` | The id of the address | [Defaults to `undefined`] |
|
|
129
|
+
|
|
130
|
+
### Return type
|
|
131
|
+
|
|
132
|
+
[**GenericResponse**](GenericResponse.md)
|
|
133
|
+
|
|
134
|
+
### Authorization
|
|
135
|
+
|
|
136
|
+
No authorization required
|
|
137
|
+
|
|
138
|
+
### HTTP request headers
|
|
139
|
+
|
|
140
|
+
- **Content-Type**: Not defined
|
|
141
|
+
- **Accept**: `application/json`
|
|
142
|
+
|
|
143
|
+
|
|
73
144
|
### HTTP response details
|
|
74
145
|
| Status code | Description | Response headers |
|
|
75
146
|
|-------------|-------------|------------------|
|
|
@@ -338,6 +409,74 @@ No authorization required
|
|
|
338
409
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
339
410
|
|
|
340
411
|
|
|
412
|
+
## storeCustomerAddress
|
|
413
|
+
|
|
414
|
+
> AddressResource storeCustomerAddress(customer, createCustomerAddressRequest)
|
|
415
|
+
|
|
416
|
+
Auto-generated: storeCustomerAddress
|
|
417
|
+
|
|
418
|
+
### Example
|
|
419
|
+
|
|
420
|
+
```ts
|
|
421
|
+
import {
|
|
422
|
+
Configuration,
|
|
423
|
+
CustomersApi,
|
|
424
|
+
} from '@digital8/lighting-illusions-ts-sdk';
|
|
425
|
+
import type { StoreCustomerAddressRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
426
|
+
|
|
427
|
+
async function example() {
|
|
428
|
+
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
429
|
+
const api = new CustomersApi();
|
|
430
|
+
|
|
431
|
+
const body = {
|
|
432
|
+
// number | The id of the customer
|
|
433
|
+
customer: 56,
|
|
434
|
+
// CreateCustomerAddressRequest (optional)
|
|
435
|
+
createCustomerAddressRequest: ...,
|
|
436
|
+
} satisfies StoreCustomerAddressRequest;
|
|
437
|
+
|
|
438
|
+
try {
|
|
439
|
+
const data = await api.storeCustomerAddress(body);
|
|
440
|
+
console.log(data);
|
|
441
|
+
} catch (error) {
|
|
442
|
+
console.error(error);
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
// Run the test
|
|
447
|
+
example().catch(console.error);
|
|
448
|
+
```
|
|
449
|
+
|
|
450
|
+
### Parameters
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
| Name | Type | Description | Notes |
|
|
454
|
+
|------------- | ------------- | ------------- | -------------|
|
|
455
|
+
| **customer** | `number` | The id of the customer | [Defaults to `undefined`] |
|
|
456
|
+
| **createCustomerAddressRequest** | [CreateCustomerAddressRequest](CreateCustomerAddressRequest.md) | | [Optional] |
|
|
457
|
+
|
|
458
|
+
### Return type
|
|
459
|
+
|
|
460
|
+
[**AddressResource**](AddressResource.md)
|
|
461
|
+
|
|
462
|
+
### Authorization
|
|
463
|
+
|
|
464
|
+
No authorization required
|
|
465
|
+
|
|
466
|
+
### HTTP request headers
|
|
467
|
+
|
|
468
|
+
- **Content-Type**: `application/json`
|
|
469
|
+
- **Accept**: `application/json`
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
### HTTP response details
|
|
473
|
+
| Status code | Description | Response headers |
|
|
474
|
+
|-------------|-------------|------------------|
|
|
475
|
+
| **200** | Successful resource response | - |
|
|
476
|
+
|
|
477
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
478
|
+
|
|
479
|
+
|
|
341
480
|
## updateCustomer
|
|
342
481
|
|
|
343
482
|
> CustomerResource updateCustomer(customer, updateCustomerRequest)
|
|
@@ -405,3 +544,74 @@ No authorization required
|
|
|
405
544
|
|
|
406
545
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
407
546
|
|
|
547
|
+
|
|
548
|
+
## updateCustomerAddress
|
|
549
|
+
|
|
550
|
+
> AddressResource updateCustomerAddress(customer, address, updateCustomerAddressRequest)
|
|
551
|
+
|
|
552
|
+
Auto-generated: updateCustomerAddress
|
|
553
|
+
|
|
554
|
+
### Example
|
|
555
|
+
|
|
556
|
+
```ts
|
|
557
|
+
import {
|
|
558
|
+
Configuration,
|
|
559
|
+
CustomersApi,
|
|
560
|
+
} from '@digital8/lighting-illusions-ts-sdk';
|
|
561
|
+
import type { UpdateCustomerAddressOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
562
|
+
|
|
563
|
+
async function example() {
|
|
564
|
+
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
565
|
+
const api = new CustomersApi();
|
|
566
|
+
|
|
567
|
+
const body = {
|
|
568
|
+
// number | The id of the customer
|
|
569
|
+
customer: 56,
|
|
570
|
+
// number | The id of the address
|
|
571
|
+
address: 56,
|
|
572
|
+
// UpdateCustomerAddressRequest (optional)
|
|
573
|
+
updateCustomerAddressRequest: ...,
|
|
574
|
+
} satisfies UpdateCustomerAddressOperationRequest;
|
|
575
|
+
|
|
576
|
+
try {
|
|
577
|
+
const data = await api.updateCustomerAddress(body);
|
|
578
|
+
console.log(data);
|
|
579
|
+
} catch (error) {
|
|
580
|
+
console.error(error);
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
// Run the test
|
|
585
|
+
example().catch(console.error);
|
|
586
|
+
```
|
|
587
|
+
|
|
588
|
+
### Parameters
|
|
589
|
+
|
|
590
|
+
|
|
591
|
+
| Name | Type | Description | Notes |
|
|
592
|
+
|------------- | ------------- | ------------- | -------------|
|
|
593
|
+
| **customer** | `number` | The id of the customer | [Defaults to `undefined`] |
|
|
594
|
+
| **address** | `number` | The id of the address | [Defaults to `undefined`] |
|
|
595
|
+
| **updateCustomerAddressRequest** | [UpdateCustomerAddressRequest](UpdateCustomerAddressRequest.md) | | [Optional] |
|
|
596
|
+
|
|
597
|
+
### Return type
|
|
598
|
+
|
|
599
|
+
[**AddressResource**](AddressResource.md)
|
|
600
|
+
|
|
601
|
+
### Authorization
|
|
602
|
+
|
|
603
|
+
No authorization required
|
|
604
|
+
|
|
605
|
+
### HTTP request headers
|
|
606
|
+
|
|
607
|
+
- **Content-Type**: `application/json`
|
|
608
|
+
- **Accept**: `application/json`
|
|
609
|
+
|
|
610
|
+
|
|
611
|
+
### HTTP response details
|
|
612
|
+
| Status code | Description | Response headers |
|
|
613
|
+
|-------------|-------------|------------------|
|
|
614
|
+
| **200** | Successful resource response | - |
|
|
615
|
+
|
|
616
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
617
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# ForgotPasswordAdminRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`email` | string
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { ForgotPasswordAdminRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"email": null,
|
|
19
|
+
} satisfies ForgotPasswordAdminRequest
|
|
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 ForgotPasswordAdminRequest
|
|
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
|
+
|
|
@@ -18,14 +18,11 @@ Name | Type
|
|
|
18
18
|
`lineItems` | [Array<FrontendLineItemResource>](FrontendLineItemResource.md)
|
|
19
19
|
`coupons` | [Array<FrontendCartResourceCouponsInner>](FrontendCartResourceCouponsInner.md)
|
|
20
20
|
`subtotal` | number
|
|
21
|
-
`subtotalAfterDiscounts` | number
|
|
22
21
|
`promotionalDiscount` | number
|
|
23
22
|
`couponSubtotalDiscount` | number
|
|
24
23
|
`couponShippingDiscount` | number
|
|
25
24
|
`shipping` | number
|
|
26
25
|
`transitInsurance` | number
|
|
27
|
-
`deliveryShippingQuote` | number
|
|
28
|
-
`transitInsuranceQuote` | number
|
|
29
26
|
`gst` | number
|
|
30
27
|
`grandTotal` | number
|
|
31
28
|
|
|
@@ -48,14 +45,11 @@ const example = {
|
|
|
48
45
|
"lineItems": null,
|
|
49
46
|
"coupons": null,
|
|
50
47
|
"subtotal": null,
|
|
51
|
-
"subtotalAfterDiscounts": null,
|
|
52
48
|
"promotionalDiscount": null,
|
|
53
49
|
"couponSubtotalDiscount": null,
|
|
54
50
|
"couponShippingDiscount": null,
|
|
55
51
|
"shipping": null,
|
|
56
52
|
"transitInsurance": null,
|
|
57
|
-
"deliveryShippingQuote": null,
|
|
58
|
-
"transitInsuranceQuote": null,
|
|
59
53
|
"gst": null,
|
|
60
54
|
"grandTotal": null,
|
|
61
55
|
} satisfies FrontendCartResource
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# LoginAdminRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`email` | string
|
|
10
|
+
`password` | string
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { LoginAdminRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"email": null,
|
|
20
|
+
"password": null,
|
|
21
|
+
} satisfies LoginAdminRequest
|
|
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 LoginAdminRequest
|
|
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,38 @@
|
|
|
1
|
+
|
|
2
|
+
# NetsuiteSyncLiteResource
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | number
|
|
10
|
+
`netsuiteId` | string
|
|
11
|
+
`syncStatus` | string
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import type { NetsuiteSyncLiteResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
17
|
+
|
|
18
|
+
// TODO: Update the object below with actual values
|
|
19
|
+
const example = {
|
|
20
|
+
"id": null,
|
|
21
|
+
"netsuiteId": null,
|
|
22
|
+
"syncStatus": null,
|
|
23
|
+
} satisfies NetsuiteSyncLiteResource
|
|
24
|
+
|
|
25
|
+
console.log(example)
|
|
26
|
+
|
|
27
|
+
// Convert the instance to a JSON string
|
|
28
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
29
|
+
console.log(exampleJSON)
|
|
30
|
+
|
|
31
|
+
// Parse the JSON string back to an object
|
|
32
|
+
const exampleParsed = JSON.parse(exampleJSON) as NetsuiteSyncLiteResource
|
|
33
|
+
console.log(exampleParsed)
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
37
|
+
|
|
38
|
+
|
package/docs/{ProductClassLiteResourceArrayResponse.md → NetsuiteSyncLiteResourceArrayResponse.md}
RENAMED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# NetsuiteSyncLiteResourceArrayResponse
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`data` | [Array<
|
|
9
|
+
`data` | [Array<NetsuiteSyncLiteResource>](NetsuiteSyncLiteResource.md)
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import type {
|
|
14
|
+
import type { NetsuiteSyncLiteResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
15
|
|
|
16
16
|
// TODO: Update the object below with actual values
|
|
17
17
|
const example = {
|
|
18
18
|
"data": null,
|
|
19
|
-
} satisfies
|
|
19
|
+
} satisfies NetsuiteSyncLiteResourceArrayResponse
|
|
20
20
|
|
|
21
21
|
console.log(example)
|
|
22
22
|
|
|
@@ -25,7 +25,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
25
25
|
console.log(exampleJSON)
|
|
26
26
|
|
|
27
27
|
// Parse the JSON string back to an object
|
|
28
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as NetsuiteSyncLiteResourceArrayResponse
|
|
29
29
|
console.log(exampleParsed)
|
|
30
30
|
```
|
|
31
31
|
|
|
@@ -8,8 +8,6 @@ Name | Type
|
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`id` | number
|
|
10
10
|
`name` | string
|
|
11
|
-
`shortName` | string
|
|
12
|
-
`displayOrder` | number
|
|
13
11
|
`isOrderNetsuiteSyncable` | boolean
|
|
14
12
|
`ordersCount` | number
|
|
15
13
|
|
|
@@ -22,8 +20,6 @@ import type { OrderStatusWithCountResource } from '@digital8/lighting-illusions-
|
|
|
22
20
|
const example = {
|
|
23
21
|
"id": null,
|
|
24
22
|
"name": null,
|
|
25
|
-
"shortName": null,
|
|
26
|
-
"displayOrder": null,
|
|
27
23
|
"isOrderNetsuiteSyncable": null,
|
|
28
24
|
"ordersCount": null,
|
|
29
25
|
} satisfies OrderStatusWithCountResource
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# PaginatedPermissionListResourceResponse
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`data` | [Array<
|
|
9
|
+
`data` | [Array<PermissionListResource>](PermissionListResource.md)
|
|
10
10
|
`meta` | [PagingMetadata](PagingMetadata.md)
|
|
11
11
|
|
|
12
12
|
## Example
|
|
13
13
|
|
|
14
14
|
```typescript
|
|
15
|
-
import type {
|
|
15
|
+
import type { PaginatedPermissionListResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
16
16
|
|
|
17
17
|
// TODO: Update the object below with actual values
|
|
18
18
|
const example = {
|
|
19
19
|
"data": null,
|
|
20
20
|
"meta": null,
|
|
21
|
-
} satisfies
|
|
21
|
+
} satisfies PaginatedPermissionListResourceResponse
|
|
22
22
|
|
|
23
23
|
console.log(example)
|
|
24
24
|
|
|
@@ -27,7 +27,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
27
27
|
console.log(exampleJSON)
|
|
28
28
|
|
|
29
29
|
// Parse the JSON string back to an object
|
|
30
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as PaginatedPermissionListResourceResponse
|
|
31
31
|
console.log(exampleParsed)
|
|
32
32
|
```
|
|
33
33
|
|
|
@@ -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
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# PermissionListResource
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
@@ -8,19 +8,19 @@ Name | Type
|
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`id` | number
|
|
10
10
|
`name` | string
|
|
11
|
-
`
|
|
11
|
+
`createdAt` | Date
|
|
12
12
|
|
|
13
13
|
## Example
|
|
14
14
|
|
|
15
15
|
```typescript
|
|
16
|
-
import type {
|
|
16
|
+
import type { PermissionListResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
17
17
|
|
|
18
18
|
// TODO: Update the object below with actual values
|
|
19
19
|
const example = {
|
|
20
20
|
"id": null,
|
|
21
21
|
"name": null,
|
|
22
|
-
"
|
|
23
|
-
} satisfies
|
|
22
|
+
"createdAt": null,
|
|
23
|
+
} satisfies PermissionListResource
|
|
24
24
|
|
|
25
25
|
console.log(example)
|
|
26
26
|
|
|
@@ -29,7 +29,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
29
29
|
console.log(exampleJSON)
|
|
30
30
|
|
|
31
31
|
// Parse the JSON string back to an object
|
|
32
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
32
|
+
const exampleParsed = JSON.parse(exampleJSON) as PermissionListResource
|
|
33
33
|
console.log(exampleParsed)
|
|
34
34
|
```
|
|
35
35
|
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# PermissionListResourceArrayResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<PermissionListResource>](PermissionListResource.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { PermissionListResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"data": null,
|
|
19
|
+
} satisfies PermissionListResourceArrayResponse
|
|
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 PermissionListResourceArrayResponse
|
|
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,36 @@
|
|
|
1
|
+
|
|
2
|
+
# PermissionLiteResource
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | number
|
|
10
|
+
`name` | string
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { PermissionLiteResource } 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 PermissionLiteResource
|
|
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 PermissionLiteResource
|
|
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
|
+
# PermissionLiteResourceArrayResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<PermissionLiteResource>](PermissionLiteResource.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { PermissionLiteResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"data": null,
|
|
19
|
+
} satisfies PermissionLiteResourceArrayResponse
|
|
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 PermissionLiteResourceArrayResponse
|
|
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
|
+
|