@digital8/lighting-illusions-ts-sdk 0.0.2213 → 0.0.2215

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (301) hide show
  1. package/.openapi-generator/FILES +106 -0
  2. package/README.md +71 -2
  3. package/dist/apis/AdminsApi.d.ts +128 -0
  4. package/dist/apis/AdminsApi.js +495 -0
  5. package/dist/apis/CustomersApi.d.ts +50 -0
  6. package/dist/apis/CustomersApi.js +182 -0
  7. package/dist/apis/PermissionsApi.d.ts +67 -0
  8. package/dist/apis/PermissionsApi.js +259 -0
  9. package/dist/apis/RolesApi.d.ts +116 -0
  10. package/dist/apis/RolesApi.js +440 -0
  11. package/dist/apis/index.d.ts +3 -0
  12. package/dist/apis/index.js +3 -0
  13. package/dist/models/AddressFrontendResource.d.ts +1 -1
  14. package/dist/models/AddressFrontendResource.js +1 -3
  15. package/dist/models/AddressResource.d.ts +1 -1
  16. package/dist/models/AddressResource.js +3 -1
  17. package/dist/models/AddressType.d.ts +2 -0
  18. package/dist/models/AddressType.js +3 -1
  19. package/dist/models/AdminListResource.d.ts +52 -0
  20. package/dist/models/AdminListResource.js +63 -0
  21. package/dist/models/AdminListResourceArrayResponse.d.ts +33 -0
  22. package/dist/models/AdminListResourceArrayResponse.js +50 -0
  23. package/dist/models/AdminLiteResource.d.ts +39 -0
  24. package/dist/models/AdminLiteResource.js +56 -0
  25. package/dist/models/AdminLiteResourceArrayResponse.d.ts +33 -0
  26. package/dist/models/AdminLiteResourceArrayResponse.js +50 -0
  27. package/dist/models/AdminNoteResource.d.ts +3 -3
  28. package/dist/models/AdminNoteResource.js +3 -3
  29. package/dist/models/AdminOrderResource.d.ts +3 -3
  30. package/dist/models/AdminOrderResource.js +3 -3
  31. package/dist/models/AdminResource.d.ts +58 -0
  32. package/dist/models/AdminResource.js +65 -0
  33. package/dist/models/AdminResourceArrayResponse.d.ts +33 -0
  34. package/dist/models/AdminResourceArrayResponse.js +50 -0
  35. package/dist/models/AdminUserLiteResource.d.ts +1 -1
  36. package/dist/models/AdminUserLiteResource.js +3 -1
  37. package/dist/models/CartResource.d.ts +3 -3
  38. package/dist/models/CartResource.js +3 -3
  39. package/dist/models/CheckEmailFrontendResource.d.ts +38 -0
  40. package/dist/models/CheckEmailFrontendResource.js +53 -0
  41. package/dist/models/CheckEmailFrontendResourceArrayResponse.d.ts +33 -0
  42. package/dist/models/CheckEmailFrontendResourceArrayResponse.js +50 -0
  43. package/dist/models/CreateAdminUserRequest.d.ts +56 -0
  44. package/dist/models/CreateAdminUserRequest.js +65 -0
  45. package/dist/models/CreateCustomerRequest.d.ts +18 -6
  46. package/dist/models/CreateCustomerRequest.js +12 -6
  47. package/dist/models/CreateRoleRequest.d.ts +38 -0
  48. package/dist/models/CreateRoleRequest.js +55 -0
  49. package/dist/models/CreateSupplierRequest.d.ts +0 -6
  50. package/dist/models/CreateSupplierRequest.js +0 -2
  51. package/dist/models/CustomerAuthResponseResource.d.ts +39 -0
  52. package/dist/models/CustomerAuthResponseResource.js +56 -0
  53. package/dist/models/CustomerAuthResponseResourceArrayResponse.d.ts +33 -0
  54. package/dist/models/CustomerAuthResponseResourceArrayResponse.js +50 -0
  55. package/dist/models/CustomerFrontendResource.d.ts +70 -0
  56. package/dist/models/CustomerFrontendResource.js +75 -0
  57. package/dist/models/CustomerFrontendResourceArrayResponse.d.ts +33 -0
  58. package/dist/models/CustomerFrontendResourceArrayResponse.js +50 -0
  59. package/dist/models/CustomerListResource.d.ts +21 -8
  60. package/dist/models/CustomerListResource.js +20 -13
  61. package/dist/models/CustomerResource.d.ts +34 -9
  62. package/dist/models/CustomerResource.js +27 -16
  63. package/dist/models/CustomerSocialLinkableResource.d.ts +38 -0
  64. package/dist/models/CustomerSocialLinkableResource.js +55 -0
  65. package/dist/models/CustomerSocialLinkableResourceArrayResponse.d.ts +33 -0
  66. package/dist/models/CustomerSocialLinkableResourceArrayResponse.js +50 -0
  67. package/dist/models/CustomerType.d.ts +25 -0
  68. package/dist/models/CustomerType.js +51 -0
  69. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  70. package/dist/models/ExternalApiLogResource.js +1 -3
  71. package/dist/models/OrderFulfillmentResource.d.ts +1 -1
  72. package/dist/models/OrderFulfillmentResource.js +1 -3
  73. package/dist/models/PaginatedAdminListResourceResponse.d.ts +40 -0
  74. package/dist/models/PaginatedAdminListResourceResponse.js +57 -0
  75. package/dist/models/PaginatedAdminLiteResourceResponse.d.ts +40 -0
  76. package/dist/models/PaginatedAdminLiteResourceResponse.js +57 -0
  77. package/dist/models/PaginatedPermissionListResourceResponse.d.ts +40 -0
  78. package/dist/models/PaginatedPermissionListResourceResponse.js +57 -0
  79. package/dist/models/PaginatedPermissionLiteResourceResponse.d.ts +40 -0
  80. package/dist/models/PaginatedPermissionLiteResourceResponse.js +57 -0
  81. package/dist/models/PaginatedRoleListResourceResponse.d.ts +40 -0
  82. package/dist/models/PaginatedRoleListResourceResponse.js +57 -0
  83. package/dist/models/PaginatedRoleLiteResourceResponse.d.ts +40 -0
  84. package/dist/models/PaginatedRoleLiteResourceResponse.js +57 -0
  85. package/dist/models/PermissionListResource.d.ts +44 -0
  86. package/dist/models/PermissionListResource.js +55 -0
  87. package/dist/models/PermissionListResourceArrayResponse.d.ts +33 -0
  88. package/dist/models/PermissionListResourceArrayResponse.js +50 -0
  89. package/dist/models/PermissionLiteResource.d.ts +38 -0
  90. package/dist/models/PermissionLiteResource.js +53 -0
  91. package/dist/models/PermissionLiteResourceArrayResponse.d.ts +33 -0
  92. package/dist/models/PermissionLiteResourceArrayResponse.js +50 -0
  93. package/dist/models/PermissionResource.d.ts +56 -0
  94. package/dist/models/PermissionResource.js +61 -0
  95. package/dist/models/PermissionResourceArrayResponse.d.ts +33 -0
  96. package/dist/models/PermissionResourceArrayResponse.js +50 -0
  97. package/dist/models/RoleListResource.d.ts +68 -0
  98. package/dist/models/RoleListResource.js +69 -0
  99. package/dist/models/RoleListResourceArrayResponse.d.ts +33 -0
  100. package/dist/models/RoleListResourceArrayResponse.js +50 -0
  101. package/dist/models/RoleLiteResource.d.ts +44 -0
  102. package/dist/models/RoleLiteResource.js +57 -0
  103. package/dist/models/RoleLiteResourceArrayResponse.d.ts +33 -0
  104. package/dist/models/RoleLiteResourceArrayResponse.js +50 -0
  105. package/dist/models/RoleResource.d.ts +75 -0
  106. package/dist/models/RoleResource.js +74 -0
  107. package/dist/models/RoleResourceArrayResponse.d.ts +33 -0
  108. package/dist/models/RoleResourceArrayResponse.js +50 -0
  109. package/dist/models/SearchAdminUsersRequest.d.ts +112 -0
  110. package/dist/models/SearchAdminUsersRequest.js +88 -0
  111. package/dist/models/SearchAllAdminUsersRequest.d.ts +82 -0
  112. package/dist/models/SearchAllAdminUsersRequest.js +78 -0
  113. package/dist/models/SearchAllCustomersRequest.d.ts +103 -0
  114. package/dist/models/SearchAllCustomersRequest.js +87 -0
  115. package/dist/models/SearchAllPermissionsRequest.d.ts +79 -0
  116. package/dist/models/SearchAllPermissionsRequest.js +75 -0
  117. package/dist/models/SearchAllRolesRequest.d.ts +86 -0
  118. package/dist/models/SearchAllRolesRequest.js +78 -0
  119. package/dist/models/SearchCustomersRequest.d.ts +31 -3
  120. package/dist/models/SearchCustomersRequest.js +15 -3
  121. package/dist/models/SearchPermissionsRequest.d.ts +91 -0
  122. package/dist/models/SearchPermissionsRequest.js +79 -0
  123. package/dist/models/SearchRolesRequest.d.ts +98 -0
  124. package/dist/models/SearchRolesRequest.js +82 -0
  125. package/dist/models/SignUpType.d.ts +29 -0
  126. package/dist/models/SignUpType.js +55 -0
  127. package/dist/models/SocialProvider.d.ts +26 -0
  128. package/dist/models/SocialProvider.js +52 -0
  129. package/dist/models/StoreFrontendResource.d.ts +1 -1
  130. package/dist/models/StoreFrontendResource.js +3 -1
  131. package/dist/models/StoreResource.d.ts +1 -1
  132. package/dist/models/StoreResource.js +1 -3
  133. package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
  134. package/dist/models/StoreSpecialDateFrontendResource.js +3 -1
  135. package/dist/models/StoreSpecialDateResource.d.ts +2 -2
  136. package/dist/models/StoreSpecialDateResource.js +3 -1
  137. package/dist/models/SupplierFrontendResource.d.ts +0 -6
  138. package/dist/models/SupplierFrontendResource.js +0 -4
  139. package/dist/models/SupplierResource.d.ts +0 -6
  140. package/dist/models/SupplierResource.js +0 -4
  141. package/dist/models/UpdateAdminUserRequest.d.ts +56 -0
  142. package/dist/models/UpdateAdminUserRequest.js +63 -0
  143. package/dist/models/UpdateCustomerRequest.d.ts +62 -0
  144. package/dist/models/UpdateCustomerRequest.js +65 -0
  145. package/dist/models/UpdateRoleRequest.d.ts +38 -0
  146. package/dist/models/UpdateRoleRequest.js +55 -0
  147. package/dist/models/UpdateSupplierRequest.d.ts +0 -6
  148. package/dist/models/UpdateSupplierRequest.js +0 -2
  149. package/dist/models/UserLiteResource.d.ts +62 -0
  150. package/dist/models/UserLiteResource.js +69 -0
  151. package/dist/models/UserLiteResourceArrayResponse.d.ts +33 -0
  152. package/dist/models/UserLiteResourceArrayResponse.js +50 -0
  153. package/dist/models/UserType.d.ts +25 -0
  154. package/dist/models/UserType.js +51 -0
  155. package/dist/models/index.d.ts +50 -0
  156. package/dist/models/index.js +50 -0
  157. package/docs/AdminListResource.md +40 -0
  158. package/docs/AdminListResourceArrayResponse.md +34 -0
  159. package/docs/AdminLiteResource.md +36 -0
  160. package/docs/AdminLiteResourceArrayResponse.md +34 -0
  161. package/docs/AdminNoteResource.md +1 -1
  162. package/docs/AdminOrderResource.md +1 -1
  163. package/docs/AdminResource.md +42 -0
  164. package/docs/AdminResourceArrayResponse.md +34 -0
  165. package/docs/AdminsApi.md +465 -0
  166. package/docs/CartResource.md +1 -1
  167. package/docs/CheckEmailFrontendResource.md +36 -0
  168. package/docs/CheckEmailFrontendResourceArrayResponse.md +34 -0
  169. package/docs/CreateAdminUserRequest.md +42 -0
  170. package/docs/CreateCustomerRequest.md +8 -4
  171. package/docs/CreateRoleRequest.md +36 -0
  172. package/docs/CreateSupplierRequest.md +0 -2
  173. package/docs/CustomerAuthResponseResource.md +36 -0
  174. package/docs/CustomerAuthResponseResourceArrayResponse.md +34 -0
  175. package/docs/CustomerFrontendResource.md +46 -0
  176. package/docs/CustomerFrontendResourceArrayResponse.md +34 -0
  177. package/docs/CustomerListResource.md +12 -8
  178. package/docs/CustomerResource.md +17 -9
  179. package/docs/CustomerSocialLinkableResource.md +36 -0
  180. package/docs/CustomerSocialLinkableResourceArrayResponse.md +34 -0
  181. package/docs/CustomerType.md +32 -0
  182. package/docs/CustomersApi.md +201 -0
  183. package/docs/PaginatedAdminListResourceResponse.md +36 -0
  184. package/docs/PaginatedAdminLiteResourceResponse.md +36 -0
  185. package/docs/PaginatedPermissionListResourceResponse.md +36 -0
  186. package/docs/PaginatedPermissionLiteResourceResponse.md +36 -0
  187. package/docs/PaginatedRoleListResourceResponse.md +36 -0
  188. package/docs/PaginatedRoleLiteResourceResponse.md +36 -0
  189. package/docs/PermissionListResource.md +38 -0
  190. package/docs/PermissionListResourceArrayResponse.md +34 -0
  191. package/docs/PermissionLiteResource.md +36 -0
  192. package/docs/PermissionLiteResourceArrayResponse.md +34 -0
  193. package/docs/PermissionResource.md +42 -0
  194. package/docs/PermissionResourceArrayResponse.md +34 -0
  195. package/docs/PermissionsApi.md +206 -0
  196. package/docs/RoleListResource.md +46 -0
  197. package/docs/RoleListResourceArrayResponse.md +34 -0
  198. package/docs/RoleLiteResource.md +38 -0
  199. package/docs/RoleLiteResourceArrayResponse.md +34 -0
  200. package/docs/RoleResource.md +48 -0
  201. package/docs/RoleResourceArrayResponse.md +34 -0
  202. package/docs/RolesApi.md +407 -0
  203. package/docs/SearchAdminUsersRequest.md +54 -0
  204. package/docs/SearchAllAdminUsersRequest.md +44 -0
  205. package/docs/SearchAllCustomersRequest.md +50 -0
  206. package/docs/SearchAllPermissionsRequest.md +44 -0
  207. package/docs/SearchAllRolesRequest.md +46 -0
  208. package/docs/SearchCustomersRequest.md +8 -0
  209. package/docs/SearchPermissionsRequest.md +48 -0
  210. package/docs/SearchRolesRequest.md +50 -0
  211. package/docs/SignUpType.md +32 -0
  212. package/docs/SocialProvider.md +32 -0
  213. package/docs/StoreSpecialDateFrontendResource.md +1 -1
  214. package/docs/StoreSpecialDateResource.md +1 -1
  215. package/docs/SupplierFrontendResource.md +0 -2
  216. package/docs/SupplierResource.md +0 -2
  217. package/docs/UpdateAdminUserRequest.md +42 -0
  218. package/docs/UpdateCustomerRequest.md +44 -0
  219. package/docs/UpdateRoleRequest.md +36 -0
  220. package/docs/UpdateSupplierRequest.md +0 -2
  221. package/docs/UserLiteResource.md +44 -0
  222. package/docs/UserLiteResourceArrayResponse.md +34 -0
  223. package/docs/UserType.md +32 -0
  224. package/package.json +1 -1
  225. package/src/apis/AdminsApi.ts +382 -0
  226. package/src/apis/CustomersApi.ts +166 -0
  227. package/src/apis/PermissionsApi.ts +184 -0
  228. package/src/apis/RolesApi.ts +345 -0
  229. package/src/apis/index.ts +3 -0
  230. package/src/models/AddressFrontendResource.ts +2 -3
  231. package/src/models/AddressResource.ts +3 -2
  232. package/src/models/AddressType.ts +3 -1
  233. package/src/models/AdminListResource.ts +107 -0
  234. package/src/models/AdminListResourceArrayResponse.ts +73 -0
  235. package/src/models/AdminLiteResource.ts +83 -0
  236. package/src/models/AdminLiteResourceArrayResponse.ts +73 -0
  237. package/src/models/AdminNoteResource.ts +10 -10
  238. package/src/models/AdminOrderResource.ts +11 -11
  239. package/src/models/AdminResource.ts +115 -0
  240. package/src/models/AdminResourceArrayResponse.ts +73 -0
  241. package/src/models/AdminUserLiteResource.ts +3 -2
  242. package/src/models/CartResource.ts +10 -10
  243. package/src/models/CheckEmailFrontendResource.ts +74 -0
  244. package/src/models/CheckEmailFrontendResourceArrayResponse.ts +73 -0
  245. package/src/models/CreateAdminUserRequest.ts +101 -0
  246. package/src/models/CreateCustomerRequest.ts +28 -11
  247. package/src/models/CreateRoleRequest.ts +75 -0
  248. package/src/models/CreateSupplierRequest.ts +0 -8
  249. package/src/models/CustomerAuthResponseResource.ts +83 -0
  250. package/src/models/CustomerAuthResponseResourceArrayResponse.ts +73 -0
  251. package/src/models/CustomerFrontendResource.ts +134 -0
  252. package/src/models/CustomerFrontendResourceArrayResponse.ts +73 -0
  253. package/src/models/CustomerListResource.ts +44 -20
  254. package/src/models/CustomerResource.ts +68 -28
  255. package/src/models/CustomerSocialLinkableResource.ts +75 -0
  256. package/src/models/CustomerSocialLinkableResourceArrayResponse.ts +73 -0
  257. package/src/models/CustomerType.ts +53 -0
  258. package/src/models/ExternalApiLogResource.ts +2 -3
  259. package/src/models/OrderFulfillmentResource.ts +2 -3
  260. package/src/models/PaginatedAdminListResourceResponse.ts +90 -0
  261. package/src/models/PaginatedAdminLiteResourceResponse.ts +90 -0
  262. package/src/models/PaginatedPermissionListResourceResponse.ts +90 -0
  263. package/src/models/PaginatedPermissionLiteResourceResponse.ts +90 -0
  264. package/src/models/PaginatedRoleListResourceResponse.ts +90 -0
  265. package/src/models/PaginatedRoleLiteResourceResponse.ts +90 -0
  266. package/src/models/PermissionListResource.ts +82 -0
  267. package/src/models/PermissionListResourceArrayResponse.ts +73 -0
  268. package/src/models/PermissionLiteResource.ts +74 -0
  269. package/src/models/PermissionLiteResourceArrayResponse.ts +73 -0
  270. package/src/models/PermissionResource.ts +99 -0
  271. package/src/models/PermissionResourceArrayResponse.ts +73 -0
  272. package/src/models/RoleListResource.ts +117 -0
  273. package/src/models/RoleListResourceArrayResponse.ts +73 -0
  274. package/src/models/RoleLiteResource.ts +83 -0
  275. package/src/models/RoleLiteResourceArrayResponse.ts +73 -0
  276. package/src/models/RoleResource.ts +134 -0
  277. package/src/models/RoleResourceArrayResponse.ts +73 -0
  278. package/src/models/SearchAdminUsersRequest.ts +169 -0
  279. package/src/models/SearchAllAdminUsersRequest.ts +129 -0
  280. package/src/models/SearchAllCustomersRequest.ts +156 -0
  281. package/src/models/SearchAllPermissionsRequest.ts +126 -0
  282. package/src/models/SearchAllRolesRequest.ts +135 -0
  283. package/src/models/SearchCustomersRequest.ts +39 -3
  284. package/src/models/SearchPermissionsRequest.ts +142 -0
  285. package/src/models/SearchRolesRequest.ts +151 -0
  286. package/src/models/SignUpType.ts +57 -0
  287. package/src/models/SocialProvider.ts +54 -0
  288. package/src/models/StoreFrontendResource.ts +3 -2
  289. package/src/models/StoreResource.ts +2 -3
  290. package/src/models/StoreSpecialDateFrontendResource.ts +4 -3
  291. package/src/models/StoreSpecialDateResource.ts +4 -3
  292. package/src/models/SupplierFrontendResource.ts +0 -9
  293. package/src/models/SupplierResource.ts +0 -9
  294. package/src/models/UpdateAdminUserRequest.ts +100 -0
  295. package/src/models/UpdateCustomerRequest.ts +108 -0
  296. package/src/models/UpdateRoleRequest.ts +75 -0
  297. package/src/models/UpdateSupplierRequest.ts +0 -8
  298. package/src/models/UserLiteResource.ts +110 -0
  299. package/src/models/UserLiteResourceArrayResponse.ts +73 -0
  300. package/src/models/UserType.ts +53 -0
  301. package/src/models/index.ts +50 -0
@@ -0,0 +1,34 @@
1
+
2
+ # CustomerAuthResponseResourceArrayResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<CustomerAuthResponseResource>](CustomerAuthResponseResource.md)
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { CustomerAuthResponseResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "data": null,
19
+ } satisfies CustomerAuthResponseResourceArrayResponse
20
+
21
+ console.log(example)
22
+
23
+ // Convert the instance to a JSON string
24
+ const exampleJSON: string = JSON.stringify(example)
25
+ console.log(exampleJSON)
26
+
27
+ // Parse the JSON string back to an object
28
+ const exampleParsed = JSON.parse(exampleJSON) as CustomerAuthResponseResourceArrayResponse
29
+ console.log(exampleParsed)
30
+ ```
31
+
32
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
+
34
+
@@ -0,0 +1,46 @@
1
+
2
+ # CustomerFrontendResource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | number
10
+ `type` | string
11
+ `signUpType` | string
12
+ `subscribedToNewsletter` | boolean
13
+ `user` | [UserLiteResource](UserLiteResource.md)
14
+ `site` | [SiteLiteResource](SiteLiteResource.md)
15
+ `addresses` | object
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import type { CustomerFrontendResource } from '@digital8/lighting-illusions-ts-sdk'
21
+
22
+ // TODO: Update the object below with actual values
23
+ const example = {
24
+ "id": null,
25
+ "type": null,
26
+ "signUpType": null,
27
+ "subscribedToNewsletter": null,
28
+ "user": null,
29
+ "site": null,
30
+ "addresses": null,
31
+ } satisfies CustomerFrontendResource
32
+
33
+ console.log(example)
34
+
35
+ // Convert the instance to a JSON string
36
+ const exampleJSON: string = JSON.stringify(example)
37
+ console.log(exampleJSON)
38
+
39
+ // Parse the JSON string back to an object
40
+ const exampleParsed = JSON.parse(exampleJSON) as CustomerFrontendResource
41
+ console.log(exampleParsed)
42
+ ```
43
+
44
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
45
+
46
+
@@ -0,0 +1,34 @@
1
+
2
+ # CustomerFrontendResourceArrayResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<CustomerFrontendResource>](CustomerFrontendResource.md)
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { CustomerFrontendResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "data": null,
19
+ } satisfies CustomerFrontendResourceArrayResponse
20
+
21
+ console.log(example)
22
+
23
+ // Convert the instance to a JSON string
24
+ const exampleJSON: string = JSON.stringify(example)
25
+ console.log(exampleJSON)
26
+
27
+ // Parse the JSON string back to an object
28
+ const exampleParsed = JSON.parse(exampleJSON) as CustomerFrontendResourceArrayResponse
29
+ console.log(exampleParsed)
30
+ ```
31
+
32
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
+
34
+
@@ -7,11 +7,13 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `id` | number
10
- `firstName` | string
11
- `lastName` | string
12
- `email` | string
13
- `phone` | string
10
+ `user` | [UserLiteResource](UserLiteResource.md)
14
11
  `site` | [SiteLiteResource](SiteLiteResource.md)
12
+ `type` | string
13
+ `signUpType` | string
14
+ `subscribedToNewsletter` | boolean
15
+ `netsuiteId` | object
16
+ `createdAt` | Date
15
17
 
16
18
  ## Example
17
19
 
@@ -21,11 +23,13 @@ import type { CustomerListResource } from '@digital8/lighting-illusions-ts-sdk'
21
23
  // TODO: Update the object below with actual values
22
24
  const example = {
23
25
  "id": null,
24
- "firstName": null,
25
- "lastName": null,
26
- "email": null,
27
- "phone": null,
26
+ "user": null,
28
27
  "site": null,
28
+ "type": null,
29
+ "signUpType": null,
30
+ "subscribedToNewsletter": null,
31
+ "netsuiteId": null,
32
+ "createdAt": null,
29
33
  } satisfies CustomerListResource
30
34
 
31
35
  console.log(example)
@@ -7,12 +7,16 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `id` | number
10
- `firstName` | string
11
- `lastName` | string
12
- `email` | string
13
- `phone` | string
10
+ `user` | [UserLiteResource](UserLiteResource.md)
14
11
  `site` | [SiteLiteResource](SiteLiteResource.md)
15
- `addresses` | [Array<LiAddressResource>](LiAddressResource.md)
12
+ `type` | string
13
+ `signUpType` | string
14
+ `socialId` | string
15
+ `subscribedToNewsletter` | boolean
16
+ `netsuiteId` | string
17
+ `addresses` | [Array<AddressResource>](AddressResource.md)
18
+ `createdAt` | Date
19
+ `updatedAt` | Date
16
20
 
17
21
  ## Example
18
22
 
@@ -22,12 +26,16 @@ import type { CustomerResource } from '@digital8/lighting-illusions-ts-sdk'
22
26
  // TODO: Update the object below with actual values
23
27
  const example = {
24
28
  "id": null,
25
- "firstName": null,
26
- "lastName": null,
27
- "email": null,
28
- "phone": null,
29
+ "user": null,
29
30
  "site": null,
31
+ "type": null,
32
+ "signUpType": null,
33
+ "socialId": null,
34
+ "subscribedToNewsletter": null,
35
+ "netsuiteId": null,
30
36
  "addresses": null,
37
+ "createdAt": null,
38
+ "updatedAt": null,
31
39
  } satisfies CustomerResource
32
40
 
33
41
  console.log(example)
@@ -0,0 +1,36 @@
1
+
2
+ # CustomerSocialLinkableResource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `linkable` | boolean
10
+ `customer` | object
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { CustomerSocialLinkableResource } from '@digital8/lighting-illusions-ts-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "linkable": null,
20
+ "customer": null,
21
+ } satisfies CustomerSocialLinkableResource
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as CustomerSocialLinkableResource
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,34 @@
1
+
2
+ # CustomerSocialLinkableResourceArrayResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<CustomerSocialLinkableResource>](CustomerSocialLinkableResource.md)
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { CustomerSocialLinkableResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "data": null,
19
+ } satisfies CustomerSocialLinkableResourceArrayResponse
20
+
21
+ console.log(example)
22
+
23
+ // Convert the instance to a JSON string
24
+ const exampleJSON: string = JSON.stringify(example)
25
+ console.log(exampleJSON)
26
+
27
+ // Parse the JSON string back to an object
28
+ const exampleParsed = JSON.parse(exampleJSON) as CustomerSocialLinkableResourceArrayResponse
29
+ console.log(exampleParsed)
30
+ ```
31
+
32
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
+
34
+
@@ -0,0 +1,32 @@
1
+
2
+ # CustomerType
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import type { CustomerType } from '@digital8/lighting-illusions-ts-sdk'
14
+
15
+ // TODO: Update the object below with actual values
16
+ const example = {
17
+ } satisfies CustomerType
18
+
19
+ console.log(example)
20
+
21
+ // Convert the instance to a JSON string
22
+ const exampleJSON: string = JSON.stringify(example)
23
+ console.log(exampleJSON)
24
+
25
+ // Parse the JSON string back to an object
26
+ const exampleParsed = JSON.parse(exampleJSON) as CustomerType
27
+ console.log(exampleParsed)
28
+ ```
29
+
30
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
31
+
32
+
@@ -4,12 +4,145 @@ All URIs are relative to *http://localhost/api*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  |------------- | ------------- | -------------|
7
+ | [**destroyCustomer**](CustomersApi.md#destroycustomer) | **DELETE** /admin-api/customers/{customer}/delete | Auto-generated: destroyCustomer |
8
+ | [**getAllCustomer**](CustomersApi.md#getallcustomer) | **POST** /admin-api/customers/all | Auto-generated: getAllCustomer |
7
9
  | [**indexCustomer**](CustomersApi.md#indexcustomer) | **POST** /admin-api/customers/list | Auto-generated: indexCustomer |
8
10
  | [**showCustomer**](CustomersApi.md#showcustomer) | **GET** /admin-api/customers/{customer} | Auto-generated: showCustomer |
9
11
  | [**storeCustomer**](CustomersApi.md#storecustomer) | **POST** /admin-api/customers/create | Auto-generated: storeCustomer |
12
+ | [**updateCustomer**](CustomersApi.md#updatecustomeroperation) | **PUT** /admin-api/customers/{customer}/update | Auto-generated: updateCustomer |
10
13
 
11
14
 
12
15
 
16
+ ## destroyCustomer
17
+
18
+ > GenericResponse destroyCustomer(customer)
19
+
20
+ Auto-generated: destroyCustomer
21
+
22
+ ### Example
23
+
24
+ ```ts
25
+ import {
26
+ Configuration,
27
+ CustomersApi,
28
+ } from '@digital8/lighting-illusions-ts-sdk';
29
+ import type { DestroyCustomerRequest } from '@digital8/lighting-illusions-ts-sdk';
30
+
31
+ async function example() {
32
+ console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
33
+ const api = new CustomersApi();
34
+
35
+ const body = {
36
+ // number | The id of the customer
37
+ customer: 56,
38
+ } satisfies DestroyCustomerRequest;
39
+
40
+ try {
41
+ const data = await api.destroyCustomer(body);
42
+ console.log(data);
43
+ } catch (error) {
44
+ console.error(error);
45
+ }
46
+ }
47
+
48
+ // Run the test
49
+ example().catch(console.error);
50
+ ```
51
+
52
+ ### Parameters
53
+
54
+
55
+ | Name | Type | Description | Notes |
56
+ |------------- | ------------- | ------------- | -------------|
57
+ | **customer** | `number` | The id of the customer | [Defaults to `undefined`] |
58
+
59
+ ### Return type
60
+
61
+ [**GenericResponse**](GenericResponse.md)
62
+
63
+ ### Authorization
64
+
65
+ No authorization required
66
+
67
+ ### HTTP request headers
68
+
69
+ - **Content-Type**: Not defined
70
+ - **Accept**: `application/json`
71
+
72
+
73
+ ### HTTP response details
74
+ | Status code | Description | Response headers |
75
+ |-------------|-------------|------------------|
76
+ | **200** | Generic JSON success | - |
77
+
78
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
79
+
80
+
81
+ ## getAllCustomer
82
+
83
+ > CustomerLiteResourceArrayResponse getAllCustomer(searchAllCustomersRequest)
84
+
85
+ Auto-generated: getAllCustomer
86
+
87
+ ### Example
88
+
89
+ ```ts
90
+ import {
91
+ Configuration,
92
+ CustomersApi,
93
+ } from '@digital8/lighting-illusions-ts-sdk';
94
+ import type { GetAllCustomerRequest } from '@digital8/lighting-illusions-ts-sdk';
95
+
96
+ async function example() {
97
+ console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
98
+ const api = new CustomersApi();
99
+
100
+ const body = {
101
+ // SearchAllCustomersRequest (optional)
102
+ searchAllCustomersRequest: ...,
103
+ } satisfies GetAllCustomerRequest;
104
+
105
+ try {
106
+ const data = await api.getAllCustomer(body);
107
+ console.log(data);
108
+ } catch (error) {
109
+ console.error(error);
110
+ }
111
+ }
112
+
113
+ // Run the test
114
+ example().catch(console.error);
115
+ ```
116
+
117
+ ### Parameters
118
+
119
+
120
+ | Name | Type | Description | Notes |
121
+ |------------- | ------------- | ------------- | -------------|
122
+ | **searchAllCustomersRequest** | [SearchAllCustomersRequest](SearchAllCustomersRequest.md) | | [Optional] |
123
+
124
+ ### Return type
125
+
126
+ [**CustomerLiteResourceArrayResponse**](CustomerLiteResourceArrayResponse.md)
127
+
128
+ ### Authorization
129
+
130
+ No authorization required
131
+
132
+ ### HTTP request headers
133
+
134
+ - **Content-Type**: `application/json`
135
+ - **Accept**: `application/json`
136
+
137
+
138
+ ### HTTP response details
139
+ | Status code | Description | Response headers |
140
+ |-------------|-------------|------------------|
141
+ | **200** | Successful resource response | - |
142
+
143
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
144
+
145
+
13
146
  ## indexCustomer
14
147
 
15
148
  > PaginatedCustomerListResourceResponse indexCustomer(searchCustomersRequest)
@@ -204,3 +337,71 @@ No authorization required
204
337
 
205
338
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
206
339
 
340
+
341
+ ## updateCustomer
342
+
343
+ > CustomerResource updateCustomer(customer, updateCustomerRequest)
344
+
345
+ Auto-generated: updateCustomer
346
+
347
+ ### Example
348
+
349
+ ```ts
350
+ import {
351
+ Configuration,
352
+ CustomersApi,
353
+ } from '@digital8/lighting-illusions-ts-sdk';
354
+ import type { UpdateCustomerOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
355
+
356
+ async function example() {
357
+ console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
358
+ const api = new CustomersApi();
359
+
360
+ const body = {
361
+ // number | The id of the customer
362
+ customer: 56,
363
+ // UpdateCustomerRequest (optional)
364
+ updateCustomerRequest: ...,
365
+ } satisfies UpdateCustomerOperationRequest;
366
+
367
+ try {
368
+ const data = await api.updateCustomer(body);
369
+ console.log(data);
370
+ } catch (error) {
371
+ console.error(error);
372
+ }
373
+ }
374
+
375
+ // Run the test
376
+ example().catch(console.error);
377
+ ```
378
+
379
+ ### Parameters
380
+
381
+
382
+ | Name | Type | Description | Notes |
383
+ |------------- | ------------- | ------------- | -------------|
384
+ | **customer** | `number` | The id of the customer | [Defaults to `undefined`] |
385
+ | **updateCustomerRequest** | [UpdateCustomerRequest](UpdateCustomerRequest.md) | | [Optional] |
386
+
387
+ ### Return type
388
+
389
+ [**CustomerResource**](CustomerResource.md)
390
+
391
+ ### Authorization
392
+
393
+ No authorization required
394
+
395
+ ### HTTP request headers
396
+
397
+ - **Content-Type**: `application/json`
398
+ - **Accept**: `application/json`
399
+
400
+
401
+ ### HTTP response details
402
+ | Status code | Description | Response headers |
403
+ |-------------|-------------|------------------|
404
+ | **200** | Successful resource response | - |
405
+
406
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
407
+
@@ -0,0 +1,36 @@
1
+
2
+ # PaginatedAdminListResourceResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<AdminListResource>](AdminListResource.md)
10
+ `meta` | [PagingMetadata](PagingMetadata.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { PaginatedAdminListResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "data": null,
20
+ "meta": null,
21
+ } satisfies PaginatedAdminListResourceResponse
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as PaginatedAdminListResourceResponse
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,36 @@
1
+
2
+ # PaginatedAdminLiteResourceResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<AdminLiteResource>](AdminLiteResource.md)
10
+ `meta` | [PagingMetadata](PagingMetadata.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { PaginatedAdminLiteResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "data": null,
20
+ "meta": null,
21
+ } satisfies PaginatedAdminLiteResourceResponse
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as PaginatedAdminLiteResourceResponse
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,36 @@
1
+
2
+ # PaginatedPermissionListResourceResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<PermissionListResource>](PermissionListResource.md)
10
+ `meta` | [PagingMetadata](PagingMetadata.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { PaginatedPermissionListResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "data": null,
20
+ "meta": null,
21
+ } satisfies PaginatedPermissionListResourceResponse
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as PaginatedPermissionListResourceResponse
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,36 @@
1
+
2
+ # PaginatedPermissionLiteResourceResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<PermissionLiteResource>](PermissionLiteResource.md)
10
+ `meta` | [PagingMetadata](PagingMetadata.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { PaginatedPermissionLiteResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "data": null,
20
+ "meta": null,
21
+ } satisfies PaginatedPermissionLiteResourceResponse
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as PaginatedPermissionLiteResourceResponse
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,36 @@
1
+
2
+ # PaginatedRoleListResourceResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<RoleListResource>](RoleListResource.md)
10
+ `meta` | [PagingMetadata](PagingMetadata.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { PaginatedRoleListResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "data": null,
20
+ "meta": null,
21
+ } satisfies PaginatedRoleListResourceResponse
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as PaginatedRoleListResourceResponse
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+