@digital8/lighting-illusions-ts-sdk 0.0.2355 → 0.0.2357

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (297) hide show
  1. package/.openapi-generator/FILES +68 -10
  2. package/README.md +56 -7
  3. package/dist/apis/AdminsApi.d.ts +33 -0
  4. package/dist/apis/AdminsApi.js +125 -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 +52 -0
  8. package/dist/apis/CustomersApi.js +192 -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 +182 -0
  12. package/dist/apis/RolesApi.js +690 -0
  13. package/dist/apis/index.d.ts +3 -1
  14. package/dist/apis/index.js +3 -1
  15. package/dist/models/AddressFrontendResource.d.ts +1 -1
  16. package/dist/models/AddressFrontendResource.js +3 -1
  17. package/dist/models/AddressResource.d.ts +2 -2
  18. package/dist/models/AddressResource.js +3 -3
  19. package/dist/models/AdminListResource.d.ts +1 -1
  20. package/dist/models/AdminListResource.js +3 -1
  21. package/dist/models/AdminLiteResource.d.ts +1 -1
  22. package/dist/models/AdminLiteResource.js +3 -1
  23. package/dist/models/AdminLoginResponseResource.d.ts +39 -0
  24. package/dist/models/AdminLoginResponseResource.js +56 -0
  25. package/dist/models/AdminLoginResponseResourceArrayResponse.d.ts +33 -0
  26. package/dist/models/AdminLoginResponseResourceArrayResponse.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 +7 -1
  32. package/dist/models/AdminResource.js +7 -1
  33. package/dist/models/AdminUserLiteResource.d.ts +1 -1
  34. package/dist/models/AdminUserLiteResource.js +3 -1
  35. package/dist/models/AttachAdminsToRoleRequest.d.ts +32 -0
  36. package/dist/models/AttachAdminsToRoleRequest.js +51 -0
  37. package/dist/models/AttachPermissionsToRoleRequest.d.ts +32 -0
  38. package/dist/models/AttachPermissionsToRoleRequest.js +51 -0
  39. package/dist/models/AttachRolesToAdminRequest.d.ts +32 -0
  40. package/dist/models/AttachRolesToAdminRequest.js +51 -0
  41. package/dist/models/CartListResource.d.ts +0 -6
  42. package/dist/models/CartListResource.js +0 -4
  43. package/dist/models/CartResource.d.ts +3 -3
  44. package/dist/models/CartResource.js +3 -3
  45. package/dist/models/CategoryAutomationFieldType.d.ts +0 -2
  46. package/dist/models/CategoryAutomationFieldType.js +1 -3
  47. package/dist/models/CreateAdminUserRequest.d.ts +0 -6
  48. package/dist/models/CreateAdminUserRequest.js +0 -4
  49. package/dist/models/CreateCustomerAddressRequest.d.ts +90 -0
  50. package/dist/models/CreateCustomerAddressRequest.js +83 -0
  51. package/dist/models/CreateCustomerRequest.d.ts +7 -1
  52. package/dist/models/CreateCustomerRequest.js +3 -3
  53. package/dist/models/CreatePageComponentRequest.d.ts +4 -4
  54. package/dist/models/CreatePageComponentRequest.js +4 -4
  55. package/dist/models/CreateProductCategoryRequestAutomationRulesInner.d.ts +0 -2
  56. package/dist/models/CreateProductCategoryRequestAutomationRulesInner.js +1 -3
  57. package/dist/models/CreateRoleRequest.d.ts +38 -0
  58. package/dist/models/CreateRoleRequest.js +55 -0
  59. package/dist/models/CreateSupplierRequest.d.ts +0 -6
  60. package/dist/models/CreateSupplierRequest.js +0 -2
  61. package/dist/models/CustomerListResource.d.ts +6 -0
  62. package/dist/models/CustomerListResource.js +4 -0
  63. package/dist/models/CustomerResource.d.ts +10 -2
  64. package/dist/models/CustomerResource.js +9 -3
  65. package/dist/models/ForgotPasswordAdminRequest.d.ts +32 -0
  66. package/dist/models/ForgotPasswordAdminRequest.js +51 -0
  67. package/dist/models/FrontendCartResource.d.ts +0 -18
  68. package/dist/models/FrontendCartResource.js +0 -12
  69. package/dist/models/LoginAdminRequest.d.ts +38 -0
  70. package/dist/models/LoginAdminRequest.js +55 -0
  71. package/dist/models/NetsuiteSyncLiteResource.d.ts +44 -0
  72. package/dist/models/NetsuiteSyncLiteResource.js +59 -0
  73. package/dist/models/NetsuiteSyncLiteResourceArrayResponse.d.ts +33 -0
  74. package/dist/models/NetsuiteSyncLiteResourceArrayResponse.js +50 -0
  75. package/dist/models/OrderStatusWithCountResource.d.ts +0 -12
  76. package/dist/models/OrderStatusWithCountResource.js +0 -8
  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/PermissionListResource.d.ts +44 -0
  84. package/dist/models/PermissionListResource.js +55 -0
  85. package/dist/models/PermissionListResourceArrayResponse.d.ts +33 -0
  86. package/dist/models/PermissionListResourceArrayResponse.js +50 -0
  87. package/dist/models/PermissionLiteResource.d.ts +38 -0
  88. package/dist/models/PermissionLiteResource.js +53 -0
  89. package/dist/models/PermissionLiteResourceArrayResponse.d.ts +33 -0
  90. package/dist/models/PermissionLiteResourceArrayResponse.js +50 -0
  91. package/dist/models/PermissionResource.d.ts +56 -0
  92. package/dist/models/PermissionResource.js +61 -0
  93. package/dist/models/PermissionResourceArrayResponse.d.ts +33 -0
  94. package/dist/models/PermissionResourceArrayResponse.js +50 -0
  95. package/dist/models/ProductClassResource.d.ts +2 -2
  96. package/dist/models/ResetPasswordAdminRequest.d.ts +44 -0
  97. package/dist/models/ResetPasswordAdminRequest.js +59 -0
  98. package/dist/models/RoleListResource.d.ts +74 -0
  99. package/dist/models/RoleListResource.js +73 -0
  100. package/dist/models/RoleListResourceArrayResponse.d.ts +33 -0
  101. package/dist/models/RoleListResourceArrayResponse.js +50 -0
  102. package/dist/models/RoleLiteResource.d.ts +6 -0
  103. package/dist/models/RoleLiteResource.js +4 -0
  104. package/dist/models/RoleResource.d.ts +82 -0
  105. package/dist/models/RoleResource.js +79 -0
  106. package/dist/models/RoleResourceArrayResponse.d.ts +33 -0
  107. package/dist/models/RoleResourceArrayResponse.js +50 -0
  108. package/dist/models/SearchAdminUsersRequest.d.ts +6 -6
  109. package/dist/models/SearchAdminUsersRequest.js +2 -2
  110. package/dist/models/SearchAllAdminUsersRequest.d.ts +6 -0
  111. package/dist/models/SearchAllAdminUsersRequest.js +2 -0
  112. package/dist/models/SearchAllOrdersRequest.d.ts +0 -6
  113. package/dist/models/SearchAllOrdersRequest.js +0 -2
  114. package/dist/models/SearchAllPermissionsRequest.d.ts +85 -0
  115. package/dist/models/{SearchAllProductClassesRequest.js → SearchAllPermissionsRequest.js} +20 -17
  116. package/dist/models/SearchAllRolesRequest.d.ts +92 -0
  117. package/dist/models/SearchAllRolesRequest.js +80 -0
  118. package/dist/models/SearchOrdersRequest.d.ts +0 -6
  119. package/dist/models/SearchOrdersRequest.js +0 -2
  120. package/dist/models/SearchPermissionsRequest.d.ts +97 -0
  121. package/dist/models/SearchPermissionsRequest.js +81 -0
  122. package/dist/models/SearchRolesRequest.d.ts +104 -0
  123. package/dist/models/SearchRolesRequest.js +84 -0
  124. package/dist/models/StoreFrontendResource.d.ts +2 -2
  125. package/dist/models/StoreFrontendResource.js +4 -4
  126. package/dist/models/StoreListResource.d.ts +1 -1
  127. package/dist/models/StoreListResource.js +3 -1
  128. package/dist/models/StoreResource.d.ts +1 -1
  129. package/dist/models/StoreResource.js +3 -1
  130. package/dist/models/SupplierFrontendResource.d.ts +0 -6
  131. package/dist/models/SupplierFrontendResource.js +0 -4
  132. package/dist/models/SupplierResource.d.ts +0 -6
  133. package/dist/models/SupplierResource.js +0 -4
  134. package/dist/models/UpdateAdminUserRequest.d.ts +0 -6
  135. package/dist/models/UpdateAdminUserRequest.js +0 -4
  136. package/dist/models/UpdateCustomerAddressRequest.d.ts +90 -0
  137. package/dist/models/UpdateCustomerAddressRequest.js +83 -0
  138. package/dist/models/UpdateCustomerRequest.d.ts +6 -0
  139. package/dist/models/UpdateCustomerRequest.js +2 -0
  140. package/dist/models/UpdatePageComponentRequest.d.ts +4 -4
  141. package/dist/models/UpdatePageComponentRequest.js +4 -4
  142. package/dist/models/UpdateRoleRequest.d.ts +38 -0
  143. package/dist/models/UpdateRoleRequest.js +55 -0
  144. package/dist/models/UpdateSupplierRequest.d.ts +0 -6
  145. package/dist/models/UpdateSupplierRequest.js +0 -2
  146. package/dist/models/index.d.ts +31 -4
  147. package/dist/models/index.js +31 -4
  148. package/docs/AdminLoginResponseResource.md +36 -0
  149. package/docs/AdminLoginResponseResourceArrayResponse.md +34 -0
  150. package/docs/AdminNoteResource.md +1 -1
  151. package/docs/AdminOrderResource.md +1 -1
  152. package/docs/AdminResource.md +2 -0
  153. package/docs/AdminsApi.md +138 -0
  154. package/docs/AttachAdminsToRoleRequest.md +34 -0
  155. package/docs/AttachPermissionsToRoleRequest.md +34 -0
  156. package/docs/AttachRolesToAdminRequest.md +34 -0
  157. package/docs/AuthApi.md +322 -0
  158. package/docs/CartListResource.md +0 -2
  159. package/docs/CartResource.md +1 -1
  160. package/docs/CreateAdminUserRequest.md +0 -2
  161. package/docs/CreateCustomerAddressRequest.md +50 -0
  162. package/docs/CreateCustomerRequest.md +2 -0
  163. package/docs/CreatePageComponentRequest.md +2 -2
  164. package/docs/CreateRoleRequest.md +36 -0
  165. package/docs/CreateSupplierRequest.md +0 -2
  166. package/docs/CustomerListResource.md +2 -0
  167. package/docs/CustomerResource.md +4 -2
  168. package/docs/CustomersApi.md +210 -0
  169. package/docs/ForgotPasswordAdminRequest.md +34 -0
  170. package/docs/FrontendCartResource.md +0 -6
  171. package/docs/LoginAdminRequest.md +36 -0
  172. package/docs/NetsuiteSyncLiteResource.md +38 -0
  173. package/docs/{ProductClassLiteResourceArrayResponse.md → NetsuiteSyncLiteResourceArrayResponse.md} +5 -5
  174. package/docs/OrderStatusWithCountResource.md +0 -4
  175. package/docs/{PaginatedProductClassLiteResourceResponse.md → PaginatedPermissionListResourceResponse.md} +5 -5
  176. package/docs/PaginatedPermissionLiteResourceResponse.md +36 -0
  177. package/docs/PaginatedRoleListResourceResponse.md +36 -0
  178. package/docs/{ProductClassLiteResource.md → PermissionListResource.md} +6 -6
  179. package/docs/PermissionListResourceArrayResponse.md +34 -0
  180. package/docs/PermissionLiteResource.md +36 -0
  181. package/docs/PermissionLiteResourceArrayResponse.md +34 -0
  182. package/docs/PermissionResource.md +42 -0
  183. package/docs/PermissionResourceArrayResponse.md +34 -0
  184. package/docs/PermissionsApi.md +206 -0
  185. package/docs/ProductClassResource.md +1 -1
  186. package/docs/ResetPasswordAdminRequest.md +38 -0
  187. package/docs/RoleListResource.md +48 -0
  188. package/docs/RoleListResourceArrayResponse.md +34 -0
  189. package/docs/RoleLiteResource.md +2 -0
  190. package/docs/RoleResource.md +50 -0
  191. package/docs/RoleResourceArrayResponse.md +34 -0
  192. package/docs/RolesApi.md +683 -0
  193. package/docs/SearchAdminUsersRequest.md +2 -2
  194. package/docs/SearchAllAdminUsersRequest.md +2 -0
  195. package/docs/SearchAllOrdersRequest.md +0 -2
  196. package/docs/{SearchAllProductClassesRequest.md → SearchAllPermissionsRequest.md} +6 -4
  197. package/docs/SearchAllRolesRequest.md +48 -0
  198. package/docs/SearchOrdersRequest.md +0 -2
  199. package/docs/SearchPermissionsRequest.md +50 -0
  200. package/docs/SearchRolesRequest.md +52 -0
  201. package/docs/SupplierFrontendResource.md +0 -2
  202. package/docs/SupplierResource.md +0 -2
  203. package/docs/UpdateAdminUserRequest.md +0 -2
  204. package/docs/UpdateCustomerAddressRequest.md +50 -0
  205. package/docs/UpdateCustomerRequest.md +2 -0
  206. package/docs/UpdatePageComponentRequest.md +2 -2
  207. package/docs/UpdateRoleRequest.md +36 -0
  208. package/docs/UpdateSupplierRequest.md +0 -2
  209. package/package.json +1 -1
  210. package/src/apis/AdminsApi.ts +116 -0
  211. package/src/apis/AuthApi.ts +258 -0
  212. package/src/apis/CustomersApi.ts +188 -0
  213. package/src/apis/PermissionsApi.ts +184 -0
  214. package/src/apis/RolesApi.ts +577 -0
  215. package/src/apis/index.ts +3 -1
  216. package/src/models/AddressFrontendResource.ts +3 -2
  217. package/src/models/AddressResource.ts +5 -5
  218. package/src/models/AdminListResource.ts +3 -2
  219. package/src/models/AdminLiteResource.ts +3 -2
  220. package/src/models/AdminLoginResponseResource.ts +83 -0
  221. package/src/models/AdminLoginResponseResourceArrayResponse.ts +73 -0
  222. package/src/models/AdminNoteResource.ts +10 -10
  223. package/src/models/AdminOrderResource.ts +11 -11
  224. package/src/models/AdminResource.ts +12 -2
  225. package/src/models/AdminUserLiteResource.ts +3 -2
  226. package/src/models/AttachAdminsToRoleRequest.ts +66 -0
  227. package/src/models/AttachPermissionsToRoleRequest.ts +66 -0
  228. package/src/models/AttachRolesToAdminRequest.ts +66 -0
  229. package/src/models/CartListResource.ts +0 -9
  230. package/src/models/CartResource.ts +10 -10
  231. package/src/models/CategoryAutomationFieldType.ts +1 -3
  232. package/src/models/CreateAdminUserRequest.ts +0 -9
  233. package/src/models/CreateCustomerAddressRequest.ts +146 -0
  234. package/src/models/CreateCustomerRequest.ts +10 -3
  235. package/src/models/CreatePageComponentRequest.ts +8 -8
  236. package/src/models/CreateProductCategoryRequestAutomationRulesInner.ts +1 -3
  237. package/src/models/CreateRoleRequest.ts +75 -0
  238. package/src/models/CreateSupplierRequest.ts +0 -8
  239. package/src/models/CustomerListResource.ts +9 -0
  240. package/src/models/CustomerResource.ts +28 -5
  241. package/src/models/ForgotPasswordAdminRequest.ts +66 -0
  242. package/src/models/FrontendCartResource.ts +0 -27
  243. package/src/models/LoginAdminRequest.ts +75 -0
  244. package/src/models/NetsuiteSyncLiteResource.ts +84 -0
  245. package/src/models/NetsuiteSyncLiteResourceArrayResponse.ts +73 -0
  246. package/src/models/OrderStatusWithCountResource.ts +0 -18
  247. package/src/models/PaginatedPermissionListResourceResponse.ts +90 -0
  248. package/src/models/PaginatedPermissionLiteResourceResponse.ts +90 -0
  249. package/src/models/PaginatedRoleListResourceResponse.ts +90 -0
  250. package/src/models/PermissionListResource.ts +82 -0
  251. package/src/models/PermissionListResourceArrayResponse.ts +73 -0
  252. package/src/models/PermissionLiteResource.ts +74 -0
  253. package/src/models/PermissionLiteResourceArrayResponse.ts +73 -0
  254. package/src/models/PermissionResource.ts +99 -0
  255. package/src/models/PermissionResourceArrayResponse.ts +73 -0
  256. package/src/models/ProductClassResource.ts +2 -2
  257. package/src/models/ResetPasswordAdminRequest.ts +84 -0
  258. package/src/models/RoleListResource.ts +126 -0
  259. package/src/models/RoleListResourceArrayResponse.ts +73 -0
  260. package/src/models/RoleLiteResource.ts +9 -0
  261. package/src/models/RoleResource.ts +150 -0
  262. package/src/models/RoleResourceArrayResponse.ts +73 -0
  263. package/src/models/SearchAdminUsersRequest.ts +8 -8
  264. package/src/models/SearchAllAdminUsersRequest.ts +8 -0
  265. package/src/models/SearchAllOrdersRequest.ts +0 -8
  266. package/src/models/SearchAllPermissionsRequest.ts +134 -0
  267. package/src/models/SearchAllRolesRequest.ts +143 -0
  268. package/src/models/SearchOrdersRequest.ts +0 -8
  269. package/src/models/SearchPermissionsRequest.ts +150 -0
  270. package/src/models/SearchRolesRequest.ts +159 -0
  271. package/src/models/StoreFrontendResource.ts +5 -5
  272. package/src/models/StoreListResource.ts +3 -2
  273. package/src/models/StoreResource.ts +3 -2
  274. package/src/models/SupplierFrontendResource.ts +0 -9
  275. package/src/models/SupplierResource.ts +0 -9
  276. package/src/models/UpdateAdminUserRequest.ts +0 -9
  277. package/src/models/UpdateCustomerAddressRequest.ts +146 -0
  278. package/src/models/UpdateCustomerRequest.ts +8 -0
  279. package/src/models/UpdatePageComponentRequest.ts +8 -8
  280. package/src/models/UpdateRoleRequest.ts +75 -0
  281. package/src/models/UpdateSupplierRequest.ts +0 -8
  282. package/src/models/index.ts +31 -4
  283. package/dist/apis/ProductClassApi.d.ts +0 -34
  284. package/dist/apis/ProductClassApi.js +0 -139
  285. package/dist/models/PaginatedProductClassLiteResourceResponse.d.ts +0 -40
  286. package/dist/models/PaginatedProductClassLiteResourceResponse.js +0 -57
  287. package/dist/models/ProductClassLiteResource.d.ts +0 -44
  288. package/dist/models/ProductClassLiteResource.js +0 -57
  289. package/dist/models/ProductClassLiteResourceArrayResponse.d.ts +0 -33
  290. package/dist/models/ProductClassLiteResourceArrayResponse.js +0 -50
  291. package/dist/models/SearchAllProductClassesRequest.d.ts +0 -78
  292. package/docs/ProductClassApi.md +0 -74
  293. package/src/apis/ProductClassApi.ts +0 -76
  294. package/src/models/PaginatedProductClassLiteResourceResponse.ts +0 -90
  295. package/src/models/ProductClassLiteResource.ts +0 -83
  296. package/src/models/ProductClassLiteResourceArrayResponse.ts +0 -73
  297. package/src/models/SearchAllProductClassesRequest.ts +0 -125
@@ -5,11 +5,14 @@ All URIs are relative to *http://localhost/api*
5
5
  | Method | HTTP request | Description |
6
6
  |------------- | ------------- | -------------|
7
7
  | [**destroyCustomer**](CustomersApi.md#destroycustomer) | **DELETE** /admin-api/customers/{customer}/delete | Auto-generated: destroyCustomer |
8
+ | [**destroyCustomerAddress**](CustomersApi.md#destroycustomeraddress) | **DELETE** /admin-api/customers/{customer}/addresses/{address} | Auto-generated: destroyCustomerAddress |
8
9
  | [**getAllCustomer**](CustomersApi.md#getallcustomer) | **POST** /admin-api/customers/all | Auto-generated: getAllCustomer |
9
10
  | [**indexCustomer**](CustomersApi.md#indexcustomer) | **POST** /admin-api/customers/list | Auto-generated: indexCustomer |
10
11
  | [**showCustomer**](CustomersApi.md#showcustomer) | **GET** /admin-api/customers/{customer} | Auto-generated: showCustomer |
11
12
  | [**storeCustomer**](CustomersApi.md#storecustomer) | **POST** /admin-api/customers/create | Auto-generated: storeCustomer |
13
+ | [**storeCustomerAddress**](CustomersApi.md#storecustomeraddress) | **POST** /admin-api/customers/{customer}/addresses | Auto-generated: storeCustomerAddress |
12
14
  | [**updateCustomer**](CustomersApi.md#updatecustomeroperation) | **PUT** /admin-api/customers/{customer}/update | Auto-generated: updateCustomer |
15
+ | [**updateCustomerAddress**](CustomersApi.md#updatecustomeraddressoperation) | **PUT** /admin-api/customers/{customer}/addresses/{address} | Auto-generated: updateCustomerAddress |
13
16
 
14
17
 
15
18
 
@@ -70,6 +73,74 @@ No authorization required
70
73
  - **Accept**: `application/json`
71
74
 
72
75
 
76
+ ### HTTP response details
77
+ | Status code | Description | Response headers |
78
+ |-------------|-------------|------------------|
79
+ | **200** | Generic JSON success | - |
80
+
81
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
82
+
83
+
84
+ ## destroyCustomerAddress
85
+
86
+ > GenericResponse destroyCustomerAddress(customer, address)
87
+
88
+ Auto-generated: destroyCustomerAddress
89
+
90
+ ### Example
91
+
92
+ ```ts
93
+ import {
94
+ Configuration,
95
+ CustomersApi,
96
+ } from '@digital8/lighting-illusions-ts-sdk';
97
+ import type { DestroyCustomerAddressRequest } from '@digital8/lighting-illusions-ts-sdk';
98
+
99
+ async function example() {
100
+ console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
101
+ const api = new CustomersApi();
102
+
103
+ const body = {
104
+ // number | The id of the customer
105
+ customer: 56,
106
+ // number | The id of the address
107
+ address: 56,
108
+ } satisfies DestroyCustomerAddressRequest;
109
+
110
+ try {
111
+ const data = await api.destroyCustomerAddress(body);
112
+ console.log(data);
113
+ } catch (error) {
114
+ console.error(error);
115
+ }
116
+ }
117
+
118
+ // Run the test
119
+ example().catch(console.error);
120
+ ```
121
+
122
+ ### Parameters
123
+
124
+
125
+ | Name | Type | Description | Notes |
126
+ |------------- | ------------- | ------------- | -------------|
127
+ | **customer** | `number` | The id of the customer | [Defaults to `undefined`] |
128
+ | **address** | `number` | The id of the address | [Defaults to `undefined`] |
129
+
130
+ ### Return type
131
+
132
+ [**GenericResponse**](GenericResponse.md)
133
+
134
+ ### Authorization
135
+
136
+ No authorization required
137
+
138
+ ### HTTP request headers
139
+
140
+ - **Content-Type**: Not defined
141
+ - **Accept**: `application/json`
142
+
143
+
73
144
  ### HTTP response details
74
145
  | Status code | Description | Response headers |
75
146
  |-------------|-------------|------------------|
@@ -338,6 +409,74 @@ No authorization required
338
409
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
339
410
 
340
411
 
412
+ ## storeCustomerAddress
413
+
414
+ > AddressResource storeCustomerAddress(customer, createCustomerAddressRequest)
415
+
416
+ Auto-generated: storeCustomerAddress
417
+
418
+ ### Example
419
+
420
+ ```ts
421
+ import {
422
+ Configuration,
423
+ CustomersApi,
424
+ } from '@digital8/lighting-illusions-ts-sdk';
425
+ import type { StoreCustomerAddressRequest } from '@digital8/lighting-illusions-ts-sdk';
426
+
427
+ async function example() {
428
+ console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
429
+ const api = new CustomersApi();
430
+
431
+ const body = {
432
+ // number | The id of the customer
433
+ customer: 56,
434
+ // CreateCustomerAddressRequest (optional)
435
+ createCustomerAddressRequest: ...,
436
+ } satisfies StoreCustomerAddressRequest;
437
+
438
+ try {
439
+ const data = await api.storeCustomerAddress(body);
440
+ console.log(data);
441
+ } catch (error) {
442
+ console.error(error);
443
+ }
444
+ }
445
+
446
+ // Run the test
447
+ example().catch(console.error);
448
+ ```
449
+
450
+ ### Parameters
451
+
452
+
453
+ | Name | Type | Description | Notes |
454
+ |------------- | ------------- | ------------- | -------------|
455
+ | **customer** | `number` | The id of the customer | [Defaults to `undefined`] |
456
+ | **createCustomerAddressRequest** | [CreateCustomerAddressRequest](CreateCustomerAddressRequest.md) | | [Optional] |
457
+
458
+ ### Return type
459
+
460
+ [**AddressResource**](AddressResource.md)
461
+
462
+ ### Authorization
463
+
464
+ No authorization required
465
+
466
+ ### HTTP request headers
467
+
468
+ - **Content-Type**: `application/json`
469
+ - **Accept**: `application/json`
470
+
471
+
472
+ ### HTTP response details
473
+ | Status code | Description | Response headers |
474
+ |-------------|-------------|------------------|
475
+ | **200** | Successful resource response | - |
476
+
477
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
478
+
479
+
341
480
  ## updateCustomer
342
481
 
343
482
  > CustomerResource updateCustomer(customer, updateCustomerRequest)
@@ -405,3 +544,74 @@ No authorization required
405
544
 
406
545
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
407
546
 
547
+
548
+ ## updateCustomerAddress
549
+
550
+ > AddressResource updateCustomerAddress(customer, address, updateCustomerAddressRequest)
551
+
552
+ Auto-generated: updateCustomerAddress
553
+
554
+ ### Example
555
+
556
+ ```ts
557
+ import {
558
+ Configuration,
559
+ CustomersApi,
560
+ } from '@digital8/lighting-illusions-ts-sdk';
561
+ import type { UpdateCustomerAddressOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
562
+
563
+ async function example() {
564
+ console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
565
+ const api = new CustomersApi();
566
+
567
+ const body = {
568
+ // number | The id of the customer
569
+ customer: 56,
570
+ // number | The id of the address
571
+ address: 56,
572
+ // UpdateCustomerAddressRequest (optional)
573
+ updateCustomerAddressRequest: ...,
574
+ } satisfies UpdateCustomerAddressOperationRequest;
575
+
576
+ try {
577
+ const data = await api.updateCustomerAddress(body);
578
+ console.log(data);
579
+ } catch (error) {
580
+ console.error(error);
581
+ }
582
+ }
583
+
584
+ // Run the test
585
+ example().catch(console.error);
586
+ ```
587
+
588
+ ### Parameters
589
+
590
+
591
+ | Name | Type | Description | Notes |
592
+ |------------- | ------------- | ------------- | -------------|
593
+ | **customer** | `number` | The id of the customer | [Defaults to `undefined`] |
594
+ | **address** | `number` | The id of the address | [Defaults to `undefined`] |
595
+ | **updateCustomerAddressRequest** | [UpdateCustomerAddressRequest](UpdateCustomerAddressRequest.md) | | [Optional] |
596
+
597
+ ### Return type
598
+
599
+ [**AddressResource**](AddressResource.md)
600
+
601
+ ### Authorization
602
+
603
+ No authorization required
604
+
605
+ ### HTTP request headers
606
+
607
+ - **Content-Type**: `application/json`
608
+ - **Accept**: `application/json`
609
+
610
+
611
+ ### HTTP response details
612
+ | Status code | Description | Response headers |
613
+ |-------------|-------------|------------------|
614
+ | **200** | Successful resource response | - |
615
+
616
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
617
+
@@ -0,0 +1,34 @@
1
+
2
+ # ForgotPasswordAdminRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `email` | string
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { ForgotPasswordAdminRequest } from '@digital8/lighting-illusions-ts-sdk'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "email": null,
19
+ } satisfies ForgotPasswordAdminRequest
20
+
21
+ console.log(example)
22
+
23
+ // Convert the instance to a JSON string
24
+ const exampleJSON: string = JSON.stringify(example)
25
+ console.log(exampleJSON)
26
+
27
+ // Parse the JSON string back to an object
28
+ const exampleParsed = JSON.parse(exampleJSON) as ForgotPasswordAdminRequest
29
+ console.log(exampleParsed)
30
+ ```
31
+
32
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
+
34
+
@@ -18,14 +18,11 @@ Name | Type
18
18
  `lineItems` | [Array<FrontendLineItemResource>](FrontendLineItemResource.md)
19
19
  `coupons` | [Array<FrontendCartResourceCouponsInner>](FrontendCartResourceCouponsInner.md)
20
20
  `subtotal` | number
21
- `subtotalAfterDiscounts` | number
22
21
  `promotionalDiscount` | number
23
22
  `couponSubtotalDiscount` | number
24
23
  `couponShippingDiscount` | number
25
24
  `shipping` | number
26
25
  `transitInsurance` | number
27
- `deliveryShippingQuote` | number
28
- `transitInsuranceQuote` | number
29
26
  `gst` | number
30
27
  `grandTotal` | number
31
28
 
@@ -48,14 +45,11 @@ const example = {
48
45
  "lineItems": null,
49
46
  "coupons": null,
50
47
  "subtotal": null,
51
- "subtotalAfterDiscounts": null,
52
48
  "promotionalDiscount": null,
53
49
  "couponSubtotalDiscount": null,
54
50
  "couponShippingDiscount": null,
55
51
  "shipping": null,
56
52
  "transitInsurance": null,
57
- "deliveryShippingQuote": null,
58
- "transitInsuranceQuote": null,
59
53
  "gst": null,
60
54
  "grandTotal": null,
61
55
  } satisfies FrontendCartResource
@@ -0,0 +1,36 @@
1
+
2
+ # LoginAdminRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `email` | string
10
+ `password` | string
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { LoginAdminRequest } from '@digital8/lighting-illusions-ts-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "email": null,
20
+ "password": null,
21
+ } satisfies LoginAdminRequest
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as LoginAdminRequest
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,38 @@
1
+
2
+ # NetsuiteSyncLiteResource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | number
10
+ `netsuiteId` | string
11
+ `syncStatus` | string
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import type { NetsuiteSyncLiteResource } from '@digital8/lighting-illusions-ts-sdk'
17
+
18
+ // TODO: Update the object below with actual values
19
+ const example = {
20
+ "id": null,
21
+ "netsuiteId": null,
22
+ "syncStatus": null,
23
+ } satisfies NetsuiteSyncLiteResource
24
+
25
+ console.log(example)
26
+
27
+ // Convert the instance to a JSON string
28
+ const exampleJSON: string = JSON.stringify(example)
29
+ console.log(exampleJSON)
30
+
31
+ // Parse the JSON string back to an object
32
+ const exampleParsed = JSON.parse(exampleJSON) as NetsuiteSyncLiteResource
33
+ console.log(exampleParsed)
34
+ ```
35
+
36
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
37
+
38
+
@@ -1,22 +1,22 @@
1
1
 
2
- # ProductClassLiteResourceArrayResponse
2
+ # NetsuiteSyncLiteResourceArrayResponse
3
3
 
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `data` | [Array<ProductClassLiteResource>](ProductClassLiteResource.md)
9
+ `data` | [Array<NetsuiteSyncLiteResource>](NetsuiteSyncLiteResource.md)
10
10
 
11
11
  ## Example
12
12
 
13
13
  ```typescript
14
- import type { ProductClassLiteResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
14
+ import type { NetsuiteSyncLiteResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
15
 
16
16
  // TODO: Update the object below with actual values
17
17
  const example = {
18
18
  "data": null,
19
- } satisfies ProductClassLiteResourceArrayResponse
19
+ } satisfies NetsuiteSyncLiteResourceArrayResponse
20
20
 
21
21
  console.log(example)
22
22
 
@@ -25,7 +25,7 @@ const exampleJSON: string = JSON.stringify(example)
25
25
  console.log(exampleJSON)
26
26
 
27
27
  // Parse the JSON string back to an object
28
- const exampleParsed = JSON.parse(exampleJSON) as ProductClassLiteResourceArrayResponse
28
+ const exampleParsed = JSON.parse(exampleJSON) as NetsuiteSyncLiteResourceArrayResponse
29
29
  console.log(exampleParsed)
30
30
  ```
31
31
 
@@ -8,8 +8,6 @@ Name | Type
8
8
  ------------ | -------------
9
9
  `id` | number
10
10
  `name` | string
11
- `shortName` | string
12
- `displayOrder` | number
13
11
  `isOrderNetsuiteSyncable` | boolean
14
12
  `ordersCount` | number
15
13
 
@@ -22,8 +20,6 @@ import type { OrderStatusWithCountResource } from '@digital8/lighting-illusions-
22
20
  const example = {
23
21
  "id": null,
24
22
  "name": null,
25
- "shortName": null,
26
- "displayOrder": null,
27
23
  "isOrderNetsuiteSyncable": null,
28
24
  "ordersCount": null,
29
25
  } satisfies OrderStatusWithCountResource
@@ -1,24 +1,24 @@
1
1
 
2
- # PaginatedProductClassLiteResourceResponse
2
+ # PaginatedPermissionListResourceResponse
3
3
 
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `data` | [Array<ProductClassLiteResource>](ProductClassLiteResource.md)
9
+ `data` | [Array<PermissionListResource>](PermissionListResource.md)
10
10
  `meta` | [PagingMetadata](PagingMetadata.md)
11
11
 
12
12
  ## Example
13
13
 
14
14
  ```typescript
15
- import type { PaginatedProductClassLiteResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
15
+ import type { PaginatedPermissionListResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
16
16
 
17
17
  // TODO: Update the object below with actual values
18
18
  const example = {
19
19
  "data": null,
20
20
  "meta": null,
21
- } satisfies PaginatedProductClassLiteResourceResponse
21
+ } satisfies PaginatedPermissionListResourceResponse
22
22
 
23
23
  console.log(example)
24
24
 
@@ -27,7 +27,7 @@ const exampleJSON: string = JSON.stringify(example)
27
27
  console.log(exampleJSON)
28
28
 
29
29
  // Parse the JSON string back to an object
30
- const exampleParsed = JSON.parse(exampleJSON) as PaginatedProductClassLiteResourceResponse
30
+ const exampleParsed = JSON.parse(exampleJSON) as PaginatedPermissionListResourceResponse
31
31
  console.log(exampleParsed)
32
32
  ```
33
33
 
@@ -0,0 +1,36 @@
1
+
2
+ # PaginatedPermissionLiteResourceResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<PermissionLiteResource>](PermissionLiteResource.md)
10
+ `meta` | [PagingMetadata](PagingMetadata.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { PaginatedPermissionLiteResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "data": null,
20
+ "meta": null,
21
+ } satisfies PaginatedPermissionLiteResourceResponse
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as PaginatedPermissionLiteResourceResponse
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,36 @@
1
+
2
+ # PaginatedRoleListResourceResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<RoleListResource>](RoleListResource.md)
10
+ `meta` | [PagingMetadata](PagingMetadata.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { PaginatedRoleListResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "data": null,
20
+ "meta": null,
21
+ } satisfies PaginatedRoleListResourceResponse
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as PaginatedRoleListResourceResponse
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -1,5 +1,5 @@
1
1
 
2
- # ProductClassLiteResource
2
+ # PermissionListResource
3
3
 
4
4
 
5
5
  ## Properties
@@ -8,19 +8,19 @@ Name | Type
8
8
  ------------ | -------------
9
9
  `id` | number
10
10
  `name` | string
11
- `pathString` | string
11
+ `createdAt` | Date
12
12
 
13
13
  ## Example
14
14
 
15
15
  ```typescript
16
- import type { ProductClassLiteResource } from '@digital8/lighting-illusions-ts-sdk'
16
+ import type { PermissionListResource } from '@digital8/lighting-illusions-ts-sdk'
17
17
 
18
18
  // TODO: Update the object below with actual values
19
19
  const example = {
20
20
  "id": null,
21
21
  "name": null,
22
- "pathString": null,
23
- } satisfies ProductClassLiteResource
22
+ "createdAt": null,
23
+ } satisfies PermissionListResource
24
24
 
25
25
  console.log(example)
26
26
 
@@ -29,7 +29,7 @@ const exampleJSON: string = JSON.stringify(example)
29
29
  console.log(exampleJSON)
30
30
 
31
31
  // Parse the JSON string back to an object
32
- const exampleParsed = JSON.parse(exampleJSON) as ProductClassLiteResource
32
+ const exampleParsed = JSON.parse(exampleJSON) as PermissionListResource
33
33
  console.log(exampleParsed)
34
34
  ```
35
35
 
@@ -0,0 +1,34 @@
1
+
2
+ # PermissionListResourceArrayResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<PermissionListResource>](PermissionListResource.md)
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { PermissionListResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "data": null,
19
+ } satisfies PermissionListResourceArrayResponse
20
+
21
+ console.log(example)
22
+
23
+ // Convert the instance to a JSON string
24
+ const exampleJSON: string = JSON.stringify(example)
25
+ console.log(exampleJSON)
26
+
27
+ // Parse the JSON string back to an object
28
+ const exampleParsed = JSON.parse(exampleJSON) as PermissionListResourceArrayResponse
29
+ console.log(exampleParsed)
30
+ ```
31
+
32
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
+
34
+
@@ -0,0 +1,36 @@
1
+
2
+ # PermissionLiteResource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | number
10
+ `name` | string
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { PermissionLiteResource } from '@digital8/lighting-illusions-ts-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "id": null,
20
+ "name": null,
21
+ } satisfies PermissionLiteResource
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as PermissionLiteResource
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,34 @@
1
+
2
+ # PermissionLiteResourceArrayResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<PermissionLiteResource>](PermissionLiteResource.md)
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { PermissionLiteResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "data": null,
19
+ } satisfies PermissionLiteResourceArrayResponse
20
+
21
+ console.log(example)
22
+
23
+ // Convert the instance to a JSON string
24
+ const exampleJSON: string = JSON.stringify(example)
25
+ console.log(exampleJSON)
26
+
27
+ // Parse the JSON string back to an object
28
+ const exampleParsed = JSON.parse(exampleJSON) as PermissionLiteResourceArrayResponse
29
+ console.log(exampleParsed)
30
+ ```
31
+
32
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
+
34
+