@digital8/lighting-illusions-ts-sdk 0.0.2201 → 0.0.2202

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 (186) hide show
  1. package/.openapi-generator/FILES +0 -64
  2. package/README.md +2 -42
  3. package/dist/apis/CustomersApi.d.ts +0 -50
  4. package/dist/apis/CustomersApi.js +0 -182
  5. package/dist/apis/index.d.ts +0 -1
  6. package/dist/apis/index.js +0 -1
  7. package/dist/models/AddressResource.d.ts +1 -1
  8. package/dist/models/AddressResource.js +1 -3
  9. package/dist/models/AddressType.d.ts +0 -2
  10. package/dist/models/AddressType.js +1 -3
  11. package/dist/models/CreateCustomerRequest.d.ts +6 -18
  12. package/dist/models/CreateCustomerRequest.js +6 -12
  13. package/dist/models/CreateSupplierRequest.d.ts +6 -0
  14. package/dist/models/CreateSupplierRequest.js +2 -0
  15. package/dist/models/CustomerListResource.d.ts +8 -21
  16. package/dist/models/CustomerListResource.js +13 -20
  17. package/dist/models/CustomerResource.d.ts +9 -34
  18. package/dist/models/CustomerResource.js +16 -27
  19. package/dist/models/SearchCustomersRequest.d.ts +3 -31
  20. package/dist/models/SearchCustomersRequest.js +3 -15
  21. package/dist/models/StoreListResource.d.ts +1 -1
  22. package/dist/models/StoreListResource.js +3 -1
  23. package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
  24. package/dist/models/StoreSpecialDateFrontendResource.js +3 -1
  25. package/dist/models/SupplierFrontendResource.d.ts +6 -0
  26. package/dist/models/SupplierFrontendResource.js +4 -0
  27. package/dist/models/SupplierResource.d.ts +6 -0
  28. package/dist/models/SupplierResource.js +4 -0
  29. package/dist/models/UpdateSupplierRequest.d.ts +6 -0
  30. package/dist/models/UpdateSupplierRequest.js +2 -0
  31. package/dist/models/index.d.ts +0 -31
  32. package/dist/models/index.js +0 -31
  33. package/docs/CreateCustomerRequest.md +4 -8
  34. package/docs/CreateSupplierRequest.md +2 -0
  35. package/docs/CustomerListResource.md +8 -12
  36. package/docs/CustomerResource.md +9 -17
  37. package/docs/CustomersApi.md +0 -201
  38. package/docs/SearchCustomersRequest.md +0 -8
  39. package/docs/StoreSpecialDateFrontendResource.md +1 -1
  40. package/docs/SupplierFrontendResource.md +2 -0
  41. package/docs/SupplierResource.md +2 -0
  42. package/docs/UpdateSupplierRequest.md +2 -0
  43. package/package.json +1 -1
  44. package/src/apis/CustomersApi.ts +0 -166
  45. package/src/apis/index.ts +0 -1
  46. package/src/models/AddressResource.ts +2 -3
  47. package/src/models/AddressType.ts +1 -3
  48. package/src/models/CreateCustomerRequest.ts +11 -28
  49. package/src/models/CreateSupplierRequest.ts +8 -0
  50. package/src/models/CustomerListResource.ts +20 -44
  51. package/src/models/CustomerResource.ts +28 -68
  52. package/src/models/SearchCustomersRequest.ts +3 -39
  53. package/src/models/StoreListResource.ts +3 -2
  54. package/src/models/StoreSpecialDateFrontendResource.ts +4 -3
  55. package/src/models/SupplierFrontendResource.ts +9 -0
  56. package/src/models/SupplierResource.ts +9 -0
  57. package/src/models/UpdateSupplierRequest.ts +8 -0
  58. package/src/models/index.ts +0 -31
  59. package/dist/apis/AdminsApi.d.ts +0 -116
  60. package/dist/apis/AdminsApi.js +0 -440
  61. package/dist/models/AdminListResource.d.ts +0 -52
  62. package/dist/models/AdminListResource.js +0 -61
  63. package/dist/models/AdminListResourceArrayResponse.d.ts +0 -33
  64. package/dist/models/AdminListResourceArrayResponse.js +0 -50
  65. package/dist/models/AdminLiteResource.d.ts +0 -39
  66. package/dist/models/AdminLiteResource.js +0 -54
  67. package/dist/models/AdminLiteResourceArrayResponse.d.ts +0 -33
  68. package/dist/models/AdminLiteResourceArrayResponse.js +0 -50
  69. package/dist/models/AdminResource.d.ts +0 -58
  70. package/dist/models/AdminResource.js +0 -63
  71. package/dist/models/AdminResourceArrayResponse.d.ts +0 -33
  72. package/dist/models/AdminResourceArrayResponse.js +0 -50
  73. package/dist/models/CheckEmailFrontendResource.d.ts +0 -38
  74. package/dist/models/CheckEmailFrontendResource.js +0 -53
  75. package/dist/models/CheckEmailFrontendResourceArrayResponse.d.ts +0 -33
  76. package/dist/models/CheckEmailFrontendResourceArrayResponse.js +0 -50
  77. package/dist/models/CreateAdminUserRequest.d.ts +0 -62
  78. package/dist/models/CreateAdminUserRequest.js +0 -69
  79. package/dist/models/CustomerAuthResponseResource.d.ts +0 -39
  80. package/dist/models/CustomerAuthResponseResource.js +0 -56
  81. package/dist/models/CustomerAuthResponseResourceArrayResponse.d.ts +0 -33
  82. package/dist/models/CustomerAuthResponseResourceArrayResponse.js +0 -50
  83. package/dist/models/CustomerFrontendResource.d.ts +0 -70
  84. package/dist/models/CustomerFrontendResource.js +0 -75
  85. package/dist/models/CustomerFrontendResourceArrayResponse.d.ts +0 -33
  86. package/dist/models/CustomerFrontendResourceArrayResponse.js +0 -50
  87. package/dist/models/CustomerSocialLinkableResource.d.ts +0 -38
  88. package/dist/models/CustomerSocialLinkableResource.js +0 -55
  89. package/dist/models/CustomerSocialLinkableResourceArrayResponse.d.ts +0 -33
  90. package/dist/models/CustomerSocialLinkableResourceArrayResponse.js +0 -50
  91. package/dist/models/CustomerType.d.ts +0 -25
  92. package/dist/models/CustomerType.js +0 -51
  93. package/dist/models/PaginatedAdminListResourceResponse.d.ts +0 -40
  94. package/dist/models/PaginatedAdminListResourceResponse.js +0 -57
  95. package/dist/models/PaginatedAdminLiteResourceResponse.d.ts +0 -40
  96. package/dist/models/PaginatedAdminLiteResourceResponse.js +0 -57
  97. package/dist/models/PaginatedRoleLiteResourceResponse.d.ts +0 -40
  98. package/dist/models/PaginatedRoleLiteResourceResponse.js +0 -57
  99. package/dist/models/RoleLiteResource.d.ts +0 -38
  100. package/dist/models/RoleLiteResource.js +0 -53
  101. package/dist/models/RoleLiteResourceArrayResponse.d.ts +0 -33
  102. package/dist/models/RoleLiteResourceArrayResponse.js +0 -50
  103. package/dist/models/SearchAdminUsersRequest.d.ts +0 -112
  104. package/dist/models/SearchAdminUsersRequest.js +0 -88
  105. package/dist/models/SearchAllAdminUsersRequest.d.ts +0 -82
  106. package/dist/models/SearchAllAdminUsersRequest.js +0 -78
  107. package/dist/models/SearchAllCustomersRequest.d.ts +0 -103
  108. package/dist/models/SearchAllCustomersRequest.js +0 -87
  109. package/dist/models/SignUpType.d.ts +0 -29
  110. package/dist/models/SignUpType.js +0 -55
  111. package/dist/models/SocialProvider.d.ts +0 -26
  112. package/dist/models/SocialProvider.js +0 -52
  113. package/dist/models/UpdateAdminUserRequest.d.ts +0 -62
  114. package/dist/models/UpdateAdminUserRequest.js +0 -67
  115. package/dist/models/UpdateCustomerRequest.d.ts +0 -62
  116. package/dist/models/UpdateCustomerRequest.js +0 -65
  117. package/dist/models/UserLiteResource.d.ts +0 -62
  118. package/dist/models/UserLiteResource.js +0 -69
  119. package/dist/models/UserLiteResourceArrayResponse.d.ts +0 -33
  120. package/dist/models/UserLiteResourceArrayResponse.js +0 -50
  121. package/dist/models/UserType.d.ts +0 -25
  122. package/dist/models/UserType.js +0 -51
  123. package/docs/AdminListResource.md +0 -40
  124. package/docs/AdminListResourceArrayResponse.md +0 -34
  125. package/docs/AdminLiteResource.md +0 -36
  126. package/docs/AdminLiteResourceArrayResponse.md +0 -34
  127. package/docs/AdminResource.md +0 -42
  128. package/docs/AdminResourceArrayResponse.md +0 -34
  129. package/docs/AdminsApi.md +0 -407
  130. package/docs/CheckEmailFrontendResource.md +0 -36
  131. package/docs/CheckEmailFrontendResourceArrayResponse.md +0 -34
  132. package/docs/CreateAdminUserRequest.md +0 -44
  133. package/docs/CustomerAuthResponseResource.md +0 -36
  134. package/docs/CustomerAuthResponseResourceArrayResponse.md +0 -34
  135. package/docs/CustomerFrontendResource.md +0 -46
  136. package/docs/CustomerFrontendResourceArrayResponse.md +0 -34
  137. package/docs/CustomerSocialLinkableResource.md +0 -36
  138. package/docs/CustomerSocialLinkableResourceArrayResponse.md +0 -34
  139. package/docs/CustomerType.md +0 -32
  140. package/docs/PaginatedAdminListResourceResponse.md +0 -36
  141. package/docs/PaginatedAdminLiteResourceResponse.md +0 -36
  142. package/docs/PaginatedRoleLiteResourceResponse.md +0 -36
  143. package/docs/RoleLiteResource.md +0 -36
  144. package/docs/RoleLiteResourceArrayResponse.md +0 -34
  145. package/docs/SearchAdminUsersRequest.md +0 -54
  146. package/docs/SearchAllAdminUsersRequest.md +0 -44
  147. package/docs/SearchAllCustomersRequest.md +0 -50
  148. package/docs/SignUpType.md +0 -32
  149. package/docs/SocialProvider.md +0 -32
  150. package/docs/UpdateAdminUserRequest.md +0 -44
  151. package/docs/UpdateCustomerRequest.md +0 -44
  152. package/docs/UserLiteResource.md +0 -44
  153. package/docs/UserLiteResourceArrayResponse.md +0 -34
  154. package/docs/UserType.md +0 -32
  155. package/src/apis/AdminsApi.ts +0 -345
  156. package/src/models/AdminListResource.ts +0 -106
  157. package/src/models/AdminListResourceArrayResponse.ts +0 -73
  158. package/src/models/AdminLiteResource.ts +0 -82
  159. package/src/models/AdminLiteResourceArrayResponse.ts +0 -73
  160. package/src/models/AdminResource.ts +0 -114
  161. package/src/models/AdminResourceArrayResponse.ts +0 -73
  162. package/src/models/CheckEmailFrontendResource.ts +0 -74
  163. package/src/models/CheckEmailFrontendResourceArrayResponse.ts +0 -73
  164. package/src/models/CreateAdminUserRequest.ts +0 -110
  165. package/src/models/CustomerAuthResponseResource.ts +0 -83
  166. package/src/models/CustomerAuthResponseResourceArrayResponse.ts +0 -73
  167. package/src/models/CustomerFrontendResource.ts +0 -134
  168. package/src/models/CustomerFrontendResourceArrayResponse.ts +0 -73
  169. package/src/models/CustomerSocialLinkableResource.ts +0 -75
  170. package/src/models/CustomerSocialLinkableResourceArrayResponse.ts +0 -73
  171. package/src/models/CustomerType.ts +0 -53
  172. package/src/models/PaginatedAdminListResourceResponse.ts +0 -90
  173. package/src/models/PaginatedAdminLiteResourceResponse.ts +0 -90
  174. package/src/models/PaginatedRoleLiteResourceResponse.ts +0 -90
  175. package/src/models/RoleLiteResource.ts +0 -74
  176. package/src/models/RoleLiteResourceArrayResponse.ts +0 -73
  177. package/src/models/SearchAdminUsersRequest.ts +0 -169
  178. package/src/models/SearchAllAdminUsersRequest.ts +0 -129
  179. package/src/models/SearchAllCustomersRequest.ts +0 -156
  180. package/src/models/SignUpType.ts +0 -57
  181. package/src/models/SocialProvider.ts +0 -54
  182. package/src/models/UpdateAdminUserRequest.ts +0 -109
  183. package/src/models/UpdateCustomerRequest.ts +0 -108
  184. package/src/models/UserLiteResource.ts +0 -110
  185. package/src/models/UserLiteResourceArrayResponse.ts +0 -73
  186. package/src/models/UserType.ts +0 -53
@@ -1,34 +0,0 @@
1
-
2
- # AdminListResourceArrayResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `data` | [Array<AdminListResource>](AdminListResource.md)
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import type { AdminListResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
-
16
- // TODO: Update the object below with actual values
17
- const example = {
18
- "data": null,
19
- } satisfies AdminListResourceArrayResponse
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 AdminListResourceArrayResponse
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
-
@@ -1,36 +0,0 @@
1
-
2
- # AdminLiteResource
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `id` | number
10
- `user` | [UserLiteResource](UserLiteResource.md)
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import type { AdminLiteResource } from '@digital8/lighting-illusions-ts-sdk'
16
-
17
- // TODO: Update the object below with actual values
18
- const example = {
19
- "id": null,
20
- "user": null,
21
- } satisfies AdminLiteResource
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 AdminLiteResource
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,34 +0,0 @@
1
-
2
- # AdminLiteResourceArrayResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `data` | [Array<AdminLiteResource>](AdminLiteResource.md)
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import type { AdminLiteResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
-
16
- // TODO: Update the object below with actual values
17
- const example = {
18
- "data": null,
19
- } satisfies AdminLiteResourceArrayResponse
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 AdminLiteResourceArrayResponse
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
-
@@ -1,42 +0,0 @@
1
-
2
- # AdminResource
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `id` | number
10
- `user` | [UserLiteResource](UserLiteResource.md)
11
- `roles` | [Array<RoleLiteResource>](RoleLiteResource.md)
12
- `createdAt` | Date
13
- `updatedAt` | Date
14
-
15
- ## Example
16
-
17
- ```typescript
18
- import type { AdminResource } from '@digital8/lighting-illusions-ts-sdk'
19
-
20
- // TODO: Update the object below with actual values
21
- const example = {
22
- "id": null,
23
- "user": null,
24
- "roles": null,
25
- "createdAt": null,
26
- "updatedAt": null,
27
- } satisfies AdminResource
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 AdminResource
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
-
@@ -1,34 +0,0 @@
1
-
2
- # AdminResourceArrayResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `data` | [Array<AdminResource>](AdminResource.md)
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import type { AdminResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
-
16
- // TODO: Update the object below with actual values
17
- const example = {
18
- "data": null,
19
- } satisfies AdminResourceArrayResponse
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 AdminResourceArrayResponse
29
- console.log(exampleParsed)
30
- ```
31
-
32
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
-
34
-
package/docs/AdminsApi.md DELETED
@@ -1,407 +0,0 @@
1
- # AdminsApi
2
-
3
- All URIs are relative to *http://localhost/api*
4
-
5
- | Method | HTTP request | Description |
6
- |------------- | ------------- | -------------|
7
- | [**destroyAdminUser**](AdminsApi.md#destroyadminuser) | **DELETE** /admin-api/admins/{admin}/delete | Auto-generated: destroyAdminUser |
8
- | [**getAllAdminUser**](AdminsApi.md#getalladminuser) | **POST** /admin-api/admins/all | Auto-generated: getAllAdminUser |
9
- | [**indexAdminUser**](AdminsApi.md#indexadminuser) | **POST** /admin-api/admins/list | Auto-generated: indexAdminUser |
10
- | [**showAdminUser**](AdminsApi.md#showadminuser) | **GET** /admin-api/admins/{admin} | Auto-generated: showAdminUser |
11
- | [**storeAdminUser**](AdminsApi.md#storeadminuser) | **POST** /admin-api/admins/create | Auto-generated: storeAdminUser |
12
- | [**updateAdminUser**](AdminsApi.md#updateadminuseroperation) | **PUT** /admin-api/admins/{admin}/update | Auto-generated: updateAdminUser |
13
-
14
-
15
-
16
- ## destroyAdminUser
17
-
18
- > GenericResponse destroyAdminUser(admin)
19
-
20
- Auto-generated: destroyAdminUser
21
-
22
- ### Example
23
-
24
- ```ts
25
- import {
26
- Configuration,
27
- AdminsApi,
28
- } from '@digital8/lighting-illusions-ts-sdk';
29
- import type { DestroyAdminUserRequest } 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 AdminsApi();
34
-
35
- const body = {
36
- // number | The id of the admin
37
- admin: 56,
38
- } satisfies DestroyAdminUserRequest;
39
-
40
- try {
41
- const data = await api.destroyAdminUser(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
- | **admin** | `number` | The id of the admin | [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** | \\JsonResponse | - |
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
- ## getAllAdminUser
82
-
83
- > AdminLiteResourceArrayResponse getAllAdminUser(searchAllAdminUsersRequest)
84
-
85
- Auto-generated: getAllAdminUser
86
-
87
- ### Example
88
-
89
- ```ts
90
- import {
91
- Configuration,
92
- AdminsApi,
93
- } from '@digital8/lighting-illusions-ts-sdk';
94
- import type { GetAllAdminUserRequest } 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 AdminsApi();
99
-
100
- const body = {
101
- // SearchAllAdminUsersRequest (optional)
102
- searchAllAdminUsersRequest: ...,
103
- } satisfies GetAllAdminUserRequest;
104
-
105
- try {
106
- const data = await api.getAllAdminUser(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
- | **searchAllAdminUsersRequest** | [SearchAllAdminUsersRequest](SearchAllAdminUsersRequest.md) | | [Optional] |
123
-
124
- ### Return type
125
-
126
- [**AdminLiteResourceArrayResponse**](AdminLiteResourceArrayResponse.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
-
146
- ## indexAdminUser
147
-
148
- > PaginatedAdminListResourceResponse indexAdminUser(searchAdminUsersRequest)
149
-
150
- Auto-generated: indexAdminUser
151
-
152
- ### Example
153
-
154
- ```ts
155
- import {
156
- Configuration,
157
- AdminsApi,
158
- } from '@digital8/lighting-illusions-ts-sdk';
159
- import type { IndexAdminUserRequest } from '@digital8/lighting-illusions-ts-sdk';
160
-
161
- async function example() {
162
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
163
- const api = new AdminsApi();
164
-
165
- const body = {
166
- // SearchAdminUsersRequest (optional)
167
- searchAdminUsersRequest: ...,
168
- } satisfies IndexAdminUserRequest;
169
-
170
- try {
171
- const data = await api.indexAdminUser(body);
172
- console.log(data);
173
- } catch (error) {
174
- console.error(error);
175
- }
176
- }
177
-
178
- // Run the test
179
- example().catch(console.error);
180
- ```
181
-
182
- ### Parameters
183
-
184
-
185
- | Name | Type | Description | Notes |
186
- |------------- | ------------- | ------------- | -------------|
187
- | **searchAdminUsersRequest** | [SearchAdminUsersRequest](SearchAdminUsersRequest.md) | | [Optional] |
188
-
189
- ### Return type
190
-
191
- [**PaginatedAdminListResourceResponse**](PaginatedAdminListResourceResponse.md)
192
-
193
- ### Authorization
194
-
195
- No authorization required
196
-
197
- ### HTTP request headers
198
-
199
- - **Content-Type**: `application/json`
200
- - **Accept**: `application/json`
201
-
202
-
203
- ### HTTP response details
204
- | Status code | Description | Response headers |
205
- |-------------|-------------|------------------|
206
- | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\AdminListResource[]>> | - |
207
-
208
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
209
-
210
-
211
- ## showAdminUser
212
-
213
- > AdminResource showAdminUser(admin)
214
-
215
- Auto-generated: showAdminUser
216
-
217
- ### Example
218
-
219
- ```ts
220
- import {
221
- Configuration,
222
- AdminsApi,
223
- } from '@digital8/lighting-illusions-ts-sdk';
224
- import type { ShowAdminUserRequest } from '@digital8/lighting-illusions-ts-sdk';
225
-
226
- async function example() {
227
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
228
- const api = new AdminsApi();
229
-
230
- const body = {
231
- // number | The id of the admin
232
- admin: 56,
233
- } satisfies ShowAdminUserRequest;
234
-
235
- try {
236
- const data = await api.showAdminUser(body);
237
- console.log(data);
238
- } catch (error) {
239
- console.error(error);
240
- }
241
- }
242
-
243
- // Run the test
244
- example().catch(console.error);
245
- ```
246
-
247
- ### Parameters
248
-
249
-
250
- | Name | Type | Description | Notes |
251
- |------------- | ------------- | ------------- | -------------|
252
- | **admin** | `number` | The id of the admin | [Defaults to `undefined`] |
253
-
254
- ### Return type
255
-
256
- [**AdminResource**](AdminResource.md)
257
-
258
- ### Authorization
259
-
260
- No authorization required
261
-
262
- ### HTTP request headers
263
-
264
- - **Content-Type**: Not defined
265
- - **Accept**: `application/json`
266
-
267
-
268
- ### HTTP response details
269
- | Status code | Description | Response headers |
270
- |-------------|-------------|------------------|
271
- | **200** | Successful resource response | - |
272
-
273
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
274
-
275
-
276
- ## storeAdminUser
277
-
278
- > AdminResource storeAdminUser(createAdminUserRequest)
279
-
280
- Auto-generated: storeAdminUser
281
-
282
- ### Example
283
-
284
- ```ts
285
- import {
286
- Configuration,
287
- AdminsApi,
288
- } from '@digital8/lighting-illusions-ts-sdk';
289
- import type { StoreAdminUserRequest } from '@digital8/lighting-illusions-ts-sdk';
290
-
291
- async function example() {
292
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
293
- const api = new AdminsApi();
294
-
295
- const body = {
296
- // CreateAdminUserRequest (optional)
297
- createAdminUserRequest: ...,
298
- } satisfies StoreAdminUserRequest;
299
-
300
- try {
301
- const data = await api.storeAdminUser(body);
302
- console.log(data);
303
- } catch (error) {
304
- console.error(error);
305
- }
306
- }
307
-
308
- // Run the test
309
- example().catch(console.error);
310
- ```
311
-
312
- ### Parameters
313
-
314
-
315
- | Name | Type | Description | Notes |
316
- |------------- | ------------- | ------------- | -------------|
317
- | **createAdminUserRequest** | [CreateAdminUserRequest](CreateAdminUserRequest.md) | | [Optional] |
318
-
319
- ### Return type
320
-
321
- [**AdminResource**](AdminResource.md)
322
-
323
- ### Authorization
324
-
325
- No authorization required
326
-
327
- ### HTTP request headers
328
-
329
- - **Content-Type**: `application/json`
330
- - **Accept**: `application/json`
331
-
332
-
333
- ### HTTP response details
334
- | Status code | Description | Response headers |
335
- |-------------|-------------|------------------|
336
- | **200** | Successful resource response | - |
337
-
338
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
339
-
340
-
341
- ## updateAdminUser
342
-
343
- > AdminResource updateAdminUser(admin, updateAdminUserRequest)
344
-
345
- Auto-generated: updateAdminUser
346
-
347
- ### Example
348
-
349
- ```ts
350
- import {
351
- Configuration,
352
- AdminsApi,
353
- } from '@digital8/lighting-illusions-ts-sdk';
354
- import type { UpdateAdminUserOperationRequest } 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 AdminsApi();
359
-
360
- const body = {
361
- // number | The id of the admin
362
- admin: 56,
363
- // UpdateAdminUserRequest (optional)
364
- updateAdminUserRequest: ...,
365
- } satisfies UpdateAdminUserOperationRequest;
366
-
367
- try {
368
- const data = await api.updateAdminUser(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
- | **admin** | `number` | The id of the admin | [Defaults to `undefined`] |
385
- | **updateAdminUserRequest** | [UpdateAdminUserRequest](UpdateAdminUserRequest.md) | | [Optional] |
386
-
387
- ### Return type
388
-
389
- [**AdminResource**](AdminResource.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
-
@@ -1,36 +0,0 @@
1
-
2
- # CheckEmailFrontendResource
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `_exists` | boolean
10
- `name` | string
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import type { CheckEmailFrontendResource } from '@digital8/lighting-illusions-ts-sdk'
16
-
17
- // TODO: Update the object below with actual values
18
- const example = {
19
- "_exists": null,
20
- "name": null,
21
- } satisfies CheckEmailFrontendResource
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 CheckEmailFrontendResource
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,34 +0,0 @@
1
-
2
- # CheckEmailFrontendResourceArrayResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `data` | [Array<CheckEmailFrontendResource>](CheckEmailFrontendResource.md)
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import type { CheckEmailFrontendResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
-
16
- // TODO: Update the object below with actual values
17
- const example = {
18
- "data": null,
19
- } satisfies CheckEmailFrontendResourceArrayResponse
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 CheckEmailFrontendResourceArrayResponse
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
-
@@ -1,44 +0,0 @@
1
-
2
- # CreateAdminUserRequest
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `firstName` | string
10
- `lastName` | string
11
- `phone` | string
12
- `password` | string
13
- `email` | string
14
- `roleIds` | Array<number>
15
-
16
- ## Example
17
-
18
- ```typescript
19
- import type { CreateAdminUserRequest } from '@digital8/lighting-illusions-ts-sdk'
20
-
21
- // TODO: Update the object below with actual values
22
- const example = {
23
- "firstName": null,
24
- "lastName": null,
25
- "phone": null,
26
- "password": null,
27
- "email": null,
28
- "roleIds": null,
29
- } satisfies CreateAdminUserRequest
30
-
31
- console.log(example)
32
-
33
- // Convert the instance to a JSON string
34
- const exampleJSON: string = JSON.stringify(example)
35
- console.log(exampleJSON)
36
-
37
- // Parse the JSON string back to an object
38
- const exampleParsed = JSON.parse(exampleJSON) as CreateAdminUserRequest
39
- console.log(exampleParsed)
40
- ```
41
-
42
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
43
-
44
-