@digital8/lighting-illusions-ts-sdk 0.0.2214 → 0.0.2216

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.
Files changed (321) hide show
  1. package/.openapi-generator/FILES +118 -0
  2. package/README.md +80 -2
  3. package/dist/apis/AdminsApi.d.ts +116 -0
  4. package/dist/apis/AdminsApi.js +440 -0
  5. package/dist/apis/AuthApi.d.ts +92 -0
  6. package/dist/apis/AuthApi.js +369 -0
  7. package/dist/apis/CustomersApi.d.ts +50 -0
  8. package/dist/apis/CustomersApi.js +182 -0
  9. package/dist/apis/PermissionsApi.d.ts +67 -0
  10. package/dist/apis/PermissionsApi.js +259 -0
  11. package/dist/apis/RolesApi.d.ts +116 -0
  12. package/dist/apis/RolesApi.js +440 -0
  13. package/dist/apis/index.d.ts +4 -0
  14. package/dist/apis/index.js +4 -0
  15. package/dist/models/AddressFrontendResource.d.ts +2 -2
  16. package/dist/models/AddressFrontendResource.js +4 -4
  17. package/dist/models/AddressResource.d.ts +2 -2
  18. package/dist/models/AddressResource.js +4 -4
  19. package/dist/models/AddressType.d.ts +2 -0
  20. package/dist/models/AddressType.js +3 -1
  21. package/dist/models/AdminListResource.d.ts +52 -0
  22. package/dist/models/AdminListResource.js +63 -0
  23. package/dist/models/AdminListResourceArrayResponse.d.ts +33 -0
  24. package/dist/models/AdminListResourceArrayResponse.js +50 -0
  25. package/dist/models/AdminLiteResource.d.ts +39 -0
  26. package/dist/models/AdminLiteResource.js +56 -0
  27. package/dist/models/AdminLiteResourceArrayResponse.d.ts +33 -0
  28. package/dist/models/AdminLiteResourceArrayResponse.js +50 -0
  29. package/dist/models/AdminLoginResponseResource.d.ts +39 -0
  30. package/dist/models/AdminLoginResponseResource.js +56 -0
  31. package/dist/models/AdminLoginResponseResourceArrayResponse.d.ts +33 -0
  32. package/dist/models/AdminLoginResponseResourceArrayResponse.js +50 -0
  33. package/dist/models/AdminNoteResource.d.ts +3 -3
  34. package/dist/models/AdminNoteResource.js +3 -3
  35. package/dist/models/AdminOrderResource.d.ts +3 -3
  36. package/dist/models/AdminOrderResource.js +3 -3
  37. package/dist/models/AdminResource.d.ts +64 -0
  38. package/dist/models/AdminResource.js +69 -0
  39. package/dist/models/AdminResourceArrayResponse.d.ts +33 -0
  40. package/dist/models/AdminResourceArrayResponse.js +50 -0
  41. package/dist/models/AdminUserLiteResource.d.ts +1 -1
  42. package/dist/models/AdminUserLiteResource.js +3 -1
  43. package/dist/models/CartResource.d.ts +3 -3
  44. package/dist/models/CartResource.js +3 -3
  45. package/dist/models/CheckEmailFrontendResource.d.ts +38 -0
  46. package/dist/models/CheckEmailFrontendResource.js +53 -0
  47. package/dist/models/CheckEmailFrontendResourceArrayResponse.d.ts +33 -0
  48. package/dist/models/CheckEmailFrontendResourceArrayResponse.js +50 -0
  49. package/dist/models/CreateAdminUserRequest.d.ts +56 -0
  50. package/dist/models/CreateAdminUserRequest.js +65 -0
  51. package/dist/models/CreateCustomerRequest.d.ts +18 -6
  52. package/dist/models/CreateCustomerRequest.js +12 -6
  53. package/dist/models/CreateRoleRequest.d.ts +38 -0
  54. package/dist/models/CreateRoleRequest.js +55 -0
  55. package/dist/models/CreateSupplierRequest.d.ts +0 -6
  56. package/dist/models/CreateSupplierRequest.js +0 -2
  57. package/dist/models/CustomerAuthResponseResource.d.ts +39 -0
  58. package/dist/models/CustomerAuthResponseResource.js +56 -0
  59. package/dist/models/CustomerAuthResponseResourceArrayResponse.d.ts +33 -0
  60. package/dist/models/CustomerAuthResponseResourceArrayResponse.js +50 -0
  61. package/dist/models/CustomerFrontendResource.d.ts +70 -0
  62. package/dist/models/CustomerFrontendResource.js +75 -0
  63. package/dist/models/CustomerFrontendResourceArrayResponse.d.ts +33 -0
  64. package/dist/models/CustomerFrontendResourceArrayResponse.js +50 -0
  65. package/dist/models/CustomerListResource.d.ts +21 -8
  66. package/dist/models/CustomerListResource.js +20 -13
  67. package/dist/models/CustomerResource.d.ts +34 -9
  68. package/dist/models/CustomerResource.js +27 -16
  69. package/dist/models/CustomerSocialLinkableResource.d.ts +38 -0
  70. package/dist/models/CustomerSocialLinkableResource.js +55 -0
  71. package/dist/models/CustomerSocialLinkableResourceArrayResponse.d.ts +33 -0
  72. package/dist/models/CustomerSocialLinkableResourceArrayResponse.js +50 -0
  73. package/dist/models/CustomerType.d.ts +25 -0
  74. package/dist/models/CustomerType.js +51 -0
  75. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  76. package/dist/models/ExternalApiLogResource.js +3 -1
  77. package/dist/models/ForgotPasswordAdminRequest.d.ts +32 -0
  78. package/dist/models/ForgotPasswordAdminRequest.js +51 -0
  79. package/dist/models/LoginAdminRequest.d.ts +38 -0
  80. package/dist/models/LoginAdminRequest.js +55 -0
  81. package/dist/models/PaginatedAdminListResourceResponse.d.ts +40 -0
  82. package/dist/models/PaginatedAdminListResourceResponse.js +57 -0
  83. package/dist/models/PaginatedAdminLiteResourceResponse.d.ts +40 -0
  84. package/dist/models/PaginatedAdminLiteResourceResponse.js +57 -0
  85. package/dist/models/PaginatedPermissionListResourceResponse.d.ts +40 -0
  86. package/dist/models/PaginatedPermissionListResourceResponse.js +57 -0
  87. package/dist/models/PaginatedPermissionLiteResourceResponse.d.ts +40 -0
  88. package/dist/models/PaginatedPermissionLiteResourceResponse.js +57 -0
  89. package/dist/models/PaginatedRoleListResourceResponse.d.ts +40 -0
  90. package/dist/models/PaginatedRoleListResourceResponse.js +57 -0
  91. package/dist/models/PaginatedRoleLiteResourceResponse.d.ts +40 -0
  92. package/dist/models/PaginatedRoleLiteResourceResponse.js +57 -0
  93. package/dist/models/PermissionListResource.d.ts +44 -0
  94. package/dist/models/PermissionListResource.js +55 -0
  95. package/dist/models/PermissionListResourceArrayResponse.d.ts +33 -0
  96. package/dist/models/PermissionListResourceArrayResponse.js +50 -0
  97. package/dist/models/PermissionLiteResource.d.ts +38 -0
  98. package/dist/models/PermissionLiteResource.js +53 -0
  99. package/dist/models/PermissionLiteResourceArrayResponse.d.ts +33 -0
  100. package/dist/models/PermissionLiteResourceArrayResponse.js +50 -0
  101. package/dist/models/PermissionResource.d.ts +56 -0
  102. package/dist/models/PermissionResource.js +61 -0
  103. package/dist/models/PermissionResourceArrayResponse.d.ts +33 -0
  104. package/dist/models/PermissionResourceArrayResponse.js +50 -0
  105. package/dist/models/ResetPasswordAdminRequest.d.ts +44 -0
  106. package/dist/models/ResetPasswordAdminRequest.js +59 -0
  107. package/dist/models/RoleListResource.d.ts +68 -0
  108. package/dist/models/RoleListResource.js +69 -0
  109. package/dist/models/RoleListResourceArrayResponse.d.ts +33 -0
  110. package/dist/models/RoleListResourceArrayResponse.js +50 -0
  111. package/dist/models/RoleLiteResource.d.ts +44 -0
  112. package/dist/models/RoleLiteResource.js +57 -0
  113. package/dist/models/RoleLiteResourceArrayResponse.d.ts +33 -0
  114. package/dist/models/RoleLiteResourceArrayResponse.js +50 -0
  115. package/dist/models/RoleResource.d.ts +75 -0
  116. package/dist/models/RoleResource.js +74 -0
  117. package/dist/models/RoleResourceArrayResponse.d.ts +33 -0
  118. package/dist/models/RoleResourceArrayResponse.js +50 -0
  119. package/dist/models/SearchAdminUsersRequest.d.ts +112 -0
  120. package/dist/models/SearchAdminUsersRequest.js +88 -0
  121. package/dist/models/SearchAllAdminUsersRequest.d.ts +82 -0
  122. package/dist/models/SearchAllAdminUsersRequest.js +78 -0
  123. package/dist/models/SearchAllCustomersRequest.d.ts +103 -0
  124. package/dist/models/SearchAllCustomersRequest.js +87 -0
  125. package/dist/models/SearchAllPermissionsRequest.d.ts +79 -0
  126. package/dist/models/SearchAllPermissionsRequest.js +75 -0
  127. package/dist/models/SearchAllRolesRequest.d.ts +86 -0
  128. package/dist/models/SearchAllRolesRequest.js +78 -0
  129. package/dist/models/SearchCustomersRequest.d.ts +31 -3
  130. package/dist/models/SearchCustomersRequest.js +15 -3
  131. package/dist/models/SearchPermissionsRequest.d.ts +91 -0
  132. package/dist/models/SearchPermissionsRequest.js +79 -0
  133. package/dist/models/SearchRolesRequest.d.ts +98 -0
  134. package/dist/models/SearchRolesRequest.js +82 -0
  135. package/dist/models/SignUpType.d.ts +29 -0
  136. package/dist/models/SignUpType.js +55 -0
  137. package/dist/models/SocialProvider.d.ts +26 -0
  138. package/dist/models/SocialProvider.js +52 -0
  139. package/dist/models/StoreFrontendResource.d.ts +1 -1
  140. package/dist/models/StoreFrontendResource.js +3 -1
  141. package/dist/models/StoreListResource.d.ts +1 -1
  142. package/dist/models/StoreListResource.js +3 -1
  143. package/dist/models/StoreResource.d.ts +1 -1
  144. package/dist/models/StoreResource.js +1 -3
  145. package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
  146. package/dist/models/StoreSpecialDateFrontendResource.js +3 -1
  147. package/dist/models/SupplierFrontendResource.d.ts +0 -6
  148. package/dist/models/SupplierFrontendResource.js +0 -4
  149. package/dist/models/SupplierResource.d.ts +0 -6
  150. package/dist/models/SupplierResource.js +0 -4
  151. package/dist/models/UpdateAdminUserRequest.d.ts +56 -0
  152. package/dist/models/UpdateAdminUserRequest.js +63 -0
  153. package/dist/models/UpdateCustomerRequest.d.ts +62 -0
  154. package/dist/models/UpdateCustomerRequest.js +65 -0
  155. package/dist/models/UpdateRoleRequest.d.ts +38 -0
  156. package/dist/models/UpdateRoleRequest.js +55 -0
  157. package/dist/models/UpdateSupplierRequest.d.ts +0 -6
  158. package/dist/models/UpdateSupplierRequest.js +0 -2
  159. package/dist/models/UserLiteResource.d.ts +62 -0
  160. package/dist/models/UserLiteResource.js +69 -0
  161. package/dist/models/UserLiteResourceArrayResponse.d.ts +33 -0
  162. package/dist/models/UserLiteResourceArrayResponse.js +50 -0
  163. package/dist/models/UserType.d.ts +25 -0
  164. package/dist/models/UserType.js +51 -0
  165. package/dist/models/index.d.ts +55 -0
  166. package/dist/models/index.js +55 -0
  167. package/docs/AdminListResource.md +40 -0
  168. package/docs/AdminListResourceArrayResponse.md +34 -0
  169. package/docs/AdminLiteResource.md +36 -0
  170. package/docs/AdminLiteResourceArrayResponse.md +34 -0
  171. package/docs/AdminLoginResponseResource.md +36 -0
  172. package/docs/AdminLoginResponseResourceArrayResponse.md +34 -0
  173. package/docs/AdminNoteResource.md +1 -1
  174. package/docs/AdminOrderResource.md +1 -1
  175. package/docs/AdminResource.md +44 -0
  176. package/docs/AdminResourceArrayResponse.md +34 -0
  177. package/docs/AdminsApi.md +407 -0
  178. package/docs/AuthApi.md +322 -0
  179. package/docs/CartResource.md +1 -1
  180. package/docs/CheckEmailFrontendResource.md +36 -0
  181. package/docs/CheckEmailFrontendResourceArrayResponse.md +34 -0
  182. package/docs/CreateAdminUserRequest.md +42 -0
  183. package/docs/CreateCustomerRequest.md +8 -4
  184. package/docs/CreateRoleRequest.md +36 -0
  185. package/docs/CreateSupplierRequest.md +0 -2
  186. package/docs/CustomerAuthResponseResource.md +36 -0
  187. package/docs/CustomerAuthResponseResourceArrayResponse.md +34 -0
  188. package/docs/CustomerFrontendResource.md +46 -0
  189. package/docs/CustomerFrontendResourceArrayResponse.md +34 -0
  190. package/docs/CustomerListResource.md +12 -8
  191. package/docs/CustomerResource.md +17 -9
  192. package/docs/CustomerSocialLinkableResource.md +36 -0
  193. package/docs/CustomerSocialLinkableResourceArrayResponse.md +34 -0
  194. package/docs/CustomerType.md +32 -0
  195. package/docs/CustomersApi.md +201 -0
  196. package/docs/ForgotPasswordAdminRequest.md +34 -0
  197. package/docs/LoginAdminRequest.md +36 -0
  198. package/docs/PaginatedAdminListResourceResponse.md +36 -0
  199. package/docs/PaginatedAdminLiteResourceResponse.md +36 -0
  200. package/docs/PaginatedPermissionListResourceResponse.md +36 -0
  201. package/docs/PaginatedPermissionLiteResourceResponse.md +36 -0
  202. package/docs/PaginatedRoleListResourceResponse.md +36 -0
  203. package/docs/PaginatedRoleLiteResourceResponse.md +36 -0
  204. package/docs/PermissionListResource.md +38 -0
  205. package/docs/PermissionListResourceArrayResponse.md +34 -0
  206. package/docs/PermissionLiteResource.md +36 -0
  207. package/docs/PermissionLiteResourceArrayResponse.md +34 -0
  208. package/docs/PermissionResource.md +42 -0
  209. package/docs/PermissionResourceArrayResponse.md +34 -0
  210. package/docs/PermissionsApi.md +206 -0
  211. package/docs/ResetPasswordAdminRequest.md +38 -0
  212. package/docs/RoleListResource.md +46 -0
  213. package/docs/RoleListResourceArrayResponse.md +34 -0
  214. package/docs/RoleLiteResource.md +38 -0
  215. package/docs/RoleLiteResourceArrayResponse.md +34 -0
  216. package/docs/RoleResource.md +48 -0
  217. package/docs/RoleResourceArrayResponse.md +34 -0
  218. package/docs/RolesApi.md +407 -0
  219. package/docs/SearchAdminUsersRequest.md +54 -0
  220. package/docs/SearchAllAdminUsersRequest.md +44 -0
  221. package/docs/SearchAllCustomersRequest.md +50 -0
  222. package/docs/SearchAllPermissionsRequest.md +44 -0
  223. package/docs/SearchAllRolesRequest.md +46 -0
  224. package/docs/SearchCustomersRequest.md +8 -0
  225. package/docs/SearchPermissionsRequest.md +48 -0
  226. package/docs/SearchRolesRequest.md +50 -0
  227. package/docs/SignUpType.md +32 -0
  228. package/docs/SocialProvider.md +32 -0
  229. package/docs/StoreSpecialDateFrontendResource.md +1 -1
  230. package/docs/SupplierFrontendResource.md +0 -2
  231. package/docs/SupplierResource.md +0 -2
  232. package/docs/UpdateAdminUserRequest.md +42 -0
  233. package/docs/UpdateCustomerRequest.md +44 -0
  234. package/docs/UpdateRoleRequest.md +36 -0
  235. package/docs/UpdateSupplierRequest.md +0 -2
  236. package/docs/UserLiteResource.md +44 -0
  237. package/docs/UserLiteResourceArrayResponse.md +34 -0
  238. package/docs/UserType.md +32 -0
  239. package/package.json +1 -1
  240. package/src/apis/AdminsApi.ts +345 -0
  241. package/src/apis/AuthApi.ts +258 -0
  242. package/src/apis/CustomersApi.ts +166 -0
  243. package/src/apis/PermissionsApi.ts +184 -0
  244. package/src/apis/RolesApi.ts +345 -0
  245. package/src/apis/index.ts +4 -0
  246. package/src/models/AddressFrontendResource.ts +5 -5
  247. package/src/models/AddressResource.ts +5 -5
  248. package/src/models/AddressType.ts +3 -1
  249. package/src/models/AdminListResource.ts +107 -0
  250. package/src/models/AdminListResourceArrayResponse.ts +73 -0
  251. package/src/models/AdminLiteResource.ts +83 -0
  252. package/src/models/AdminLiteResourceArrayResponse.ts +73 -0
  253. package/src/models/AdminLoginResponseResource.ts +83 -0
  254. package/src/models/AdminLoginResponseResourceArrayResponse.ts +73 -0
  255. package/src/models/AdminNoteResource.ts +10 -10
  256. package/src/models/AdminOrderResource.ts +11 -11
  257. package/src/models/AdminResource.ts +124 -0
  258. package/src/models/AdminResourceArrayResponse.ts +73 -0
  259. package/src/models/AdminUserLiteResource.ts +3 -2
  260. package/src/models/CartResource.ts +10 -10
  261. package/src/models/CheckEmailFrontendResource.ts +74 -0
  262. package/src/models/CheckEmailFrontendResourceArrayResponse.ts +73 -0
  263. package/src/models/CreateAdminUserRequest.ts +101 -0
  264. package/src/models/CreateCustomerRequest.ts +28 -11
  265. package/src/models/CreateRoleRequest.ts +75 -0
  266. package/src/models/CreateSupplierRequest.ts +0 -8
  267. package/src/models/CustomerAuthResponseResource.ts +83 -0
  268. package/src/models/CustomerAuthResponseResourceArrayResponse.ts +73 -0
  269. package/src/models/CustomerFrontendResource.ts +134 -0
  270. package/src/models/CustomerFrontendResourceArrayResponse.ts +73 -0
  271. package/src/models/CustomerListResource.ts +44 -20
  272. package/src/models/CustomerResource.ts +68 -28
  273. package/src/models/CustomerSocialLinkableResource.ts +75 -0
  274. package/src/models/CustomerSocialLinkableResourceArrayResponse.ts +73 -0
  275. package/src/models/CustomerType.ts +53 -0
  276. package/src/models/ExternalApiLogResource.ts +3 -2
  277. package/src/models/ForgotPasswordAdminRequest.ts +66 -0
  278. package/src/models/LoginAdminRequest.ts +75 -0
  279. package/src/models/PaginatedAdminListResourceResponse.ts +90 -0
  280. package/src/models/PaginatedAdminLiteResourceResponse.ts +90 -0
  281. package/src/models/PaginatedPermissionListResourceResponse.ts +90 -0
  282. package/src/models/PaginatedPermissionLiteResourceResponse.ts +90 -0
  283. package/src/models/PaginatedRoleListResourceResponse.ts +90 -0
  284. package/src/models/PaginatedRoleLiteResourceResponse.ts +90 -0
  285. package/src/models/PermissionListResource.ts +82 -0
  286. package/src/models/PermissionListResourceArrayResponse.ts +73 -0
  287. package/src/models/PermissionLiteResource.ts +74 -0
  288. package/src/models/PermissionLiteResourceArrayResponse.ts +73 -0
  289. package/src/models/PermissionResource.ts +99 -0
  290. package/src/models/PermissionResourceArrayResponse.ts +73 -0
  291. package/src/models/ResetPasswordAdminRequest.ts +84 -0
  292. package/src/models/RoleListResource.ts +117 -0
  293. package/src/models/RoleListResourceArrayResponse.ts +73 -0
  294. package/src/models/RoleLiteResource.ts +83 -0
  295. package/src/models/RoleLiteResourceArrayResponse.ts +73 -0
  296. package/src/models/RoleResource.ts +134 -0
  297. package/src/models/RoleResourceArrayResponse.ts +73 -0
  298. package/src/models/SearchAdminUsersRequest.ts +169 -0
  299. package/src/models/SearchAllAdminUsersRequest.ts +129 -0
  300. package/src/models/SearchAllCustomersRequest.ts +156 -0
  301. package/src/models/SearchAllPermissionsRequest.ts +126 -0
  302. package/src/models/SearchAllRolesRequest.ts +135 -0
  303. package/src/models/SearchCustomersRequest.ts +39 -3
  304. package/src/models/SearchPermissionsRequest.ts +142 -0
  305. package/src/models/SearchRolesRequest.ts +151 -0
  306. package/src/models/SignUpType.ts +57 -0
  307. package/src/models/SocialProvider.ts +54 -0
  308. package/src/models/StoreFrontendResource.ts +3 -2
  309. package/src/models/StoreListResource.ts +3 -2
  310. package/src/models/StoreResource.ts +2 -3
  311. package/src/models/StoreSpecialDateFrontendResource.ts +4 -3
  312. package/src/models/SupplierFrontendResource.ts +0 -9
  313. package/src/models/SupplierResource.ts +0 -9
  314. package/src/models/UpdateAdminUserRequest.ts +100 -0
  315. package/src/models/UpdateCustomerRequest.ts +108 -0
  316. package/src/models/UpdateRoleRequest.ts +75 -0
  317. package/src/models/UpdateSupplierRequest.ts +0 -8
  318. package/src/models/UserLiteResource.ts +110 -0
  319. package/src/models/UserLiteResourceArrayResponse.ts +73 -0
  320. package/src/models/UserType.ts +53 -0
  321. package/src/models/index.ts +55 -0
@@ -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,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
+
@@ -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,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
+
@@ -0,0 +1,36 @@
1
+
2
+ # PaginatedRoleLiteResourceResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<RoleLiteResource>](RoleLiteResource.md)
10
+ `meta` | [PagingMetadata](PagingMetadata.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { PaginatedRoleLiteResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "data": null,
20
+ "meta": null,
21
+ } satisfies PaginatedRoleLiteResourceResponse
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as PaginatedRoleLiteResourceResponse
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,38 @@
1
+
2
+ # PermissionListResource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | number
10
+ `name` | string
11
+ `createdAt` | Date
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import type { PermissionListResource } from '@digital8/lighting-illusions-ts-sdk'
17
+
18
+ // TODO: Update the object below with actual values
19
+ const example = {
20
+ "id": null,
21
+ "name": null,
22
+ "createdAt": null,
23
+ } satisfies PermissionListResource
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 PermissionListResource
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
+
@@ -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
+
@@ -0,0 +1,42 @@
1
+
2
+ # PermissionResource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | number
10
+ `name` | string
11
+ `guardName` | string
12
+ `createdAt` | Date
13
+ `updatedAt` | Date
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import type { PermissionResource } from '@digital8/lighting-illusions-ts-sdk'
19
+
20
+ // TODO: Update the object below with actual values
21
+ const example = {
22
+ "id": null,
23
+ "name": null,
24
+ "guardName": null,
25
+ "createdAt": null,
26
+ "updatedAt": null,
27
+ } satisfies PermissionResource
28
+
29
+ console.log(example)
30
+
31
+ // Convert the instance to a JSON string
32
+ const exampleJSON: string = JSON.stringify(example)
33
+ console.log(exampleJSON)
34
+
35
+ // Parse the JSON string back to an object
36
+ const exampleParsed = JSON.parse(exampleJSON) as PermissionResource
37
+ console.log(exampleParsed)
38
+ ```
39
+
40
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
41
+
42
+