@digital8/lighting-illusions-ts-sdk 0.0.2352 → 0.0.2353

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 +10 -68
  2. package/README.md +7 -56
  3. package/dist/apis/AdminsApi.d.ts +0 -33
  4. package/dist/apis/AdminsApi.js +0 -125
  5. package/dist/apis/CustomersApi.d.ts +0 -52
  6. package/dist/apis/CustomersApi.js +0 -192
  7. package/dist/apis/ProductClassApi.d.ts +34 -0
  8. package/dist/apis/ProductClassApi.js +139 -0
  9. package/dist/apis/index.d.ts +1 -3
  10. package/dist/apis/index.js +1 -3
  11. package/dist/models/AddressFrontendResource.d.ts +1 -1
  12. package/dist/models/AddressFrontendResource.js +1 -3
  13. package/dist/models/AddressResource.d.ts +3 -3
  14. package/dist/models/AddressResource.js +4 -6
  15. package/dist/models/AdminListResource.d.ts +1 -1
  16. package/dist/models/AdminListResource.js +1 -3
  17. package/dist/models/AdminLiteResource.d.ts +1 -1
  18. package/dist/models/AdminLiteResource.js +1 -3
  19. package/dist/models/AdminNoteResource.d.ts +3 -3
  20. package/dist/models/AdminNoteResource.js +3 -3
  21. package/dist/models/AdminOrderResource.d.ts +3 -3
  22. package/dist/models/AdminOrderResource.js +3 -3
  23. package/dist/models/AdminResource.d.ts +1 -7
  24. package/dist/models/AdminResource.js +1 -7
  25. package/dist/models/AdminUserLiteResource.d.ts +1 -1
  26. package/dist/models/AdminUserLiteResource.js +1 -3
  27. package/dist/models/CartListResource.d.ts +6 -0
  28. package/dist/models/CartListResource.js +4 -0
  29. package/dist/models/CartResource.d.ts +3 -3
  30. package/dist/models/CartResource.js +3 -3
  31. package/dist/models/CategoryAutomationFieldType.d.ts +2 -0
  32. package/dist/models/CategoryAutomationFieldType.js +3 -1
  33. package/dist/models/CreateAdminUserRequest.d.ts +6 -0
  34. package/dist/models/CreateAdminUserRequest.js +4 -0
  35. package/dist/models/CreateCustomerRequest.d.ts +1 -7
  36. package/dist/models/CreateCustomerRequest.js +3 -3
  37. package/dist/models/CreatePageComponentRequest.d.ts +4 -4
  38. package/dist/models/CreatePageComponentRequest.js +4 -4
  39. package/dist/models/CreateProductCategoryRequestAutomationRulesInner.d.ts +2 -0
  40. package/dist/models/CreateProductCategoryRequestAutomationRulesInner.js +3 -1
  41. package/dist/models/CreateSupplierRequest.d.ts +6 -0
  42. package/dist/models/CreateSupplierRequest.js +2 -0
  43. package/dist/models/CustomerListResource.d.ts +0 -6
  44. package/dist/models/CustomerListResource.js +0 -4
  45. package/dist/models/CustomerResource.d.ts +2 -10
  46. package/dist/models/CustomerResource.js +3 -9
  47. package/dist/models/FrontendCartResource.d.ts +18 -0
  48. package/dist/models/FrontendCartResource.js +12 -0
  49. package/dist/models/OrderFulfillmentResource.d.ts +3 -3
  50. package/dist/models/OrderFulfillmentResource.js +4 -6
  51. package/dist/models/OrderStatusWithCountResource.d.ts +12 -0
  52. package/dist/models/OrderStatusWithCountResource.js +8 -0
  53. package/dist/models/PaginatedProductClassLiteResourceResponse.d.ts +40 -0
  54. package/dist/models/PaginatedProductClassLiteResourceResponse.js +57 -0
  55. package/dist/models/ProductClassLiteResource.d.ts +44 -0
  56. package/dist/models/ProductClassLiteResource.js +57 -0
  57. package/dist/models/ProductClassLiteResourceArrayResponse.d.ts +33 -0
  58. package/dist/models/ProductClassLiteResourceArrayResponse.js +50 -0
  59. package/dist/models/ProductClassResource.d.ts +2 -2
  60. package/dist/models/RoleLiteResource.d.ts +0 -6
  61. package/dist/models/RoleLiteResource.js +0 -4
  62. package/dist/models/SearchAdminUsersRequest.d.ts +6 -6
  63. package/dist/models/SearchAdminUsersRequest.js +2 -2
  64. package/dist/models/SearchAllAdminUsersRequest.d.ts +0 -6
  65. package/dist/models/SearchAllAdminUsersRequest.js +0 -2
  66. package/dist/models/SearchAllOrdersRequest.d.ts +6 -0
  67. package/dist/models/SearchAllOrdersRequest.js +2 -0
  68. package/dist/models/SearchAllProductClassesRequest.d.ts +78 -0
  69. package/dist/models/{SearchAllPermissionsRequest.js → SearchAllProductClassesRequest.js} +17 -20
  70. package/dist/models/SearchOrdersRequest.d.ts +6 -0
  71. package/dist/models/SearchOrdersRequest.js +2 -0
  72. package/dist/models/StoreFrontendResource.d.ts +2 -2
  73. package/dist/models/StoreFrontendResource.js +2 -6
  74. package/dist/models/StoreResource.d.ts +1 -1
  75. package/dist/models/StoreResource.js +1 -3
  76. package/dist/models/StoreSpecialDateResource.d.ts +2 -2
  77. package/dist/models/StoreSpecialDateResource.js +3 -1
  78. package/dist/models/SupplierFrontendResource.d.ts +6 -0
  79. package/dist/models/SupplierFrontendResource.js +4 -0
  80. package/dist/models/SupplierResource.d.ts +6 -0
  81. package/dist/models/SupplierResource.js +4 -0
  82. package/dist/models/UpdateAdminUserRequest.d.ts +6 -0
  83. package/dist/models/UpdateAdminUserRequest.js +4 -0
  84. package/dist/models/UpdateCustomerRequest.d.ts +0 -6
  85. package/dist/models/UpdateCustomerRequest.js +0 -2
  86. package/dist/models/UpdatePageComponentRequest.d.ts +4 -4
  87. package/dist/models/UpdatePageComponentRequest.js +4 -4
  88. package/dist/models/UpdateSupplierRequest.d.ts +6 -0
  89. package/dist/models/UpdateSupplierRequest.js +2 -0
  90. package/dist/models/index.d.ts +4 -31
  91. package/dist/models/index.js +4 -31
  92. package/docs/AdminNoteResource.md +1 -1
  93. package/docs/AdminOrderResource.md +1 -1
  94. package/docs/AdminResource.md +0 -2
  95. package/docs/AdminsApi.md +0 -138
  96. package/docs/CartListResource.md +2 -0
  97. package/docs/CartResource.md +1 -1
  98. package/docs/CreateAdminUserRequest.md +2 -0
  99. package/docs/CreateCustomerRequest.md +0 -2
  100. package/docs/CreatePageComponentRequest.md +2 -2
  101. package/docs/CreateSupplierRequest.md +2 -0
  102. package/docs/CustomerListResource.md +0 -2
  103. package/docs/CustomerResource.md +2 -4
  104. package/docs/CustomersApi.md +0 -210
  105. package/docs/FrontendCartResource.md +6 -0
  106. package/docs/OrderStatusWithCountResource.md +4 -0
  107. package/docs/{PaginatedPermissionListResourceResponse.md → PaginatedProductClassLiteResourceResponse.md} +5 -5
  108. package/docs/ProductClassApi.md +74 -0
  109. package/docs/{PermissionListResource.md → ProductClassLiteResource.md} +6 -6
  110. package/docs/{NetsuiteSyncLiteResourceArrayResponse.md → ProductClassLiteResourceArrayResponse.md} +5 -5
  111. package/docs/ProductClassResource.md +1 -1
  112. package/docs/RoleLiteResource.md +0 -2
  113. package/docs/SearchAdminUsersRequest.md +2 -2
  114. package/docs/SearchAllAdminUsersRequest.md +0 -2
  115. package/docs/SearchAllOrdersRequest.md +2 -0
  116. package/docs/{SearchAllPermissionsRequest.md → SearchAllProductClassesRequest.md} +4 -6
  117. package/docs/SearchOrdersRequest.md +2 -0
  118. package/docs/StoreSpecialDateResource.md +1 -1
  119. package/docs/SupplierFrontendResource.md +2 -0
  120. package/docs/SupplierResource.md +2 -0
  121. package/docs/UpdateAdminUserRequest.md +2 -0
  122. package/docs/UpdateCustomerRequest.md +0 -2
  123. package/docs/UpdatePageComponentRequest.md +2 -2
  124. package/docs/UpdateSupplierRequest.md +2 -0
  125. package/package.json +1 -1
  126. package/src/apis/AdminsApi.ts +0 -116
  127. package/src/apis/CustomersApi.ts +0 -188
  128. package/src/apis/ProductClassApi.ts +76 -0
  129. package/src/apis/index.ts +1 -3
  130. package/src/models/AddressFrontendResource.ts +2 -3
  131. package/src/models/AddressResource.ts +7 -8
  132. package/src/models/AdminListResource.ts +2 -3
  133. package/src/models/AdminLiteResource.ts +2 -3
  134. package/src/models/AdminNoteResource.ts +10 -10
  135. package/src/models/AdminOrderResource.ts +11 -11
  136. package/src/models/AdminResource.ts +2 -12
  137. package/src/models/AdminUserLiteResource.ts +2 -3
  138. package/src/models/CartListResource.ts +9 -0
  139. package/src/models/CartResource.ts +10 -10
  140. package/src/models/CategoryAutomationFieldType.ts +3 -1
  141. package/src/models/CreateAdminUserRequest.ts +9 -0
  142. package/src/models/CreateCustomerRequest.ts +3 -10
  143. package/src/models/CreatePageComponentRequest.ts +8 -8
  144. package/src/models/CreateProductCategoryRequestAutomationRulesInner.ts +3 -1
  145. package/src/models/CreateSupplierRequest.ts +8 -0
  146. package/src/models/CustomerListResource.ts +0 -9
  147. package/src/models/CustomerResource.ts +5 -28
  148. package/src/models/FrontendCartResource.ts +27 -0
  149. package/src/models/OrderFulfillmentResource.ts +7 -8
  150. package/src/models/OrderStatusWithCountResource.ts +18 -0
  151. package/src/models/PaginatedProductClassLiteResourceResponse.ts +90 -0
  152. package/src/models/ProductClassLiteResource.ts +83 -0
  153. package/src/models/ProductClassLiteResourceArrayResponse.ts +73 -0
  154. package/src/models/ProductClassResource.ts +2 -2
  155. package/src/models/RoleLiteResource.ts +0 -9
  156. package/src/models/SearchAdminUsersRequest.ts +8 -8
  157. package/src/models/SearchAllAdminUsersRequest.ts +0 -8
  158. package/src/models/SearchAllOrdersRequest.ts +8 -0
  159. package/src/models/SearchAllProductClassesRequest.ts +125 -0
  160. package/src/models/SearchOrdersRequest.ts +8 -0
  161. package/src/models/StoreFrontendResource.ts +4 -6
  162. package/src/models/StoreResource.ts +2 -3
  163. package/src/models/StoreSpecialDateResource.ts +4 -3
  164. package/src/models/SupplierFrontendResource.ts +9 -0
  165. package/src/models/SupplierResource.ts +9 -0
  166. package/src/models/UpdateAdminUserRequest.ts +9 -0
  167. package/src/models/UpdateCustomerRequest.ts +0 -8
  168. package/src/models/UpdatePageComponentRequest.ts +8 -8
  169. package/src/models/UpdateSupplierRequest.ts +8 -0
  170. package/src/models/index.ts +4 -31
  171. package/dist/apis/AuthApi.d.ts +0 -92
  172. package/dist/apis/AuthApi.js +0 -369
  173. package/dist/apis/PermissionsApi.d.ts +0 -67
  174. package/dist/apis/PermissionsApi.js +0 -259
  175. package/dist/apis/RolesApi.d.ts +0 -182
  176. package/dist/apis/RolesApi.js +0 -690
  177. package/dist/models/AdminLoginResponseResource.d.ts +0 -39
  178. package/dist/models/AdminLoginResponseResource.js +0 -56
  179. package/dist/models/AdminLoginResponseResourceArrayResponse.d.ts +0 -33
  180. package/dist/models/AdminLoginResponseResourceArrayResponse.js +0 -50
  181. package/dist/models/AttachAdminsToRoleRequest.d.ts +0 -32
  182. package/dist/models/AttachAdminsToRoleRequest.js +0 -51
  183. package/dist/models/AttachPermissionsToRoleRequest.d.ts +0 -32
  184. package/dist/models/AttachPermissionsToRoleRequest.js +0 -51
  185. package/dist/models/AttachRolesToAdminRequest.d.ts +0 -32
  186. package/dist/models/AttachRolesToAdminRequest.js +0 -51
  187. package/dist/models/CreateCustomerAddressRequest.d.ts +0 -90
  188. package/dist/models/CreateCustomerAddressRequest.js +0 -83
  189. package/dist/models/CreateRoleRequest.d.ts +0 -38
  190. package/dist/models/CreateRoleRequest.js +0 -55
  191. package/dist/models/ForgotPasswordAdminRequest.d.ts +0 -32
  192. package/dist/models/ForgotPasswordAdminRequest.js +0 -51
  193. package/dist/models/LoginAdminRequest.d.ts +0 -38
  194. package/dist/models/LoginAdminRequest.js +0 -55
  195. package/dist/models/NetsuiteSyncLiteResource.d.ts +0 -44
  196. package/dist/models/NetsuiteSyncLiteResource.js +0 -59
  197. package/dist/models/NetsuiteSyncLiteResourceArrayResponse.d.ts +0 -33
  198. package/dist/models/NetsuiteSyncLiteResourceArrayResponse.js +0 -50
  199. package/dist/models/PaginatedPermissionListResourceResponse.d.ts +0 -40
  200. package/dist/models/PaginatedPermissionListResourceResponse.js +0 -57
  201. package/dist/models/PaginatedPermissionLiteResourceResponse.d.ts +0 -40
  202. package/dist/models/PaginatedPermissionLiteResourceResponse.js +0 -57
  203. package/dist/models/PaginatedRoleListResourceResponse.d.ts +0 -40
  204. package/dist/models/PaginatedRoleListResourceResponse.js +0 -57
  205. package/dist/models/PermissionListResource.d.ts +0 -44
  206. package/dist/models/PermissionListResource.js +0 -55
  207. package/dist/models/PermissionListResourceArrayResponse.d.ts +0 -33
  208. package/dist/models/PermissionListResourceArrayResponse.js +0 -50
  209. package/dist/models/PermissionLiteResource.d.ts +0 -38
  210. package/dist/models/PermissionLiteResource.js +0 -53
  211. package/dist/models/PermissionLiteResourceArrayResponse.d.ts +0 -33
  212. package/dist/models/PermissionLiteResourceArrayResponse.js +0 -50
  213. package/dist/models/PermissionResource.d.ts +0 -56
  214. package/dist/models/PermissionResource.js +0 -61
  215. package/dist/models/PermissionResourceArrayResponse.d.ts +0 -33
  216. package/dist/models/PermissionResourceArrayResponse.js +0 -50
  217. package/dist/models/ResetPasswordAdminRequest.d.ts +0 -44
  218. package/dist/models/ResetPasswordAdminRequest.js +0 -59
  219. package/dist/models/RoleListResource.d.ts +0 -74
  220. package/dist/models/RoleListResource.js +0 -73
  221. package/dist/models/RoleListResourceArrayResponse.d.ts +0 -33
  222. package/dist/models/RoleListResourceArrayResponse.js +0 -50
  223. package/dist/models/RoleResource.d.ts +0 -82
  224. package/dist/models/RoleResource.js +0 -79
  225. package/dist/models/RoleResourceArrayResponse.d.ts +0 -33
  226. package/dist/models/RoleResourceArrayResponse.js +0 -50
  227. package/dist/models/SearchAllPermissionsRequest.d.ts +0 -85
  228. package/dist/models/SearchAllRolesRequest.d.ts +0 -92
  229. package/dist/models/SearchAllRolesRequest.js +0 -80
  230. package/dist/models/SearchPermissionsRequest.d.ts +0 -97
  231. package/dist/models/SearchPermissionsRequest.js +0 -81
  232. package/dist/models/SearchRolesRequest.d.ts +0 -104
  233. package/dist/models/SearchRolesRequest.js +0 -84
  234. package/dist/models/UpdateCustomerAddressRequest.d.ts +0 -90
  235. package/dist/models/UpdateCustomerAddressRequest.js +0 -83
  236. package/dist/models/UpdateRoleRequest.d.ts +0 -38
  237. package/dist/models/UpdateRoleRequest.js +0 -55
  238. package/docs/AdminLoginResponseResource.md +0 -36
  239. package/docs/AdminLoginResponseResourceArrayResponse.md +0 -34
  240. package/docs/AttachAdminsToRoleRequest.md +0 -34
  241. package/docs/AttachPermissionsToRoleRequest.md +0 -34
  242. package/docs/AttachRolesToAdminRequest.md +0 -34
  243. package/docs/AuthApi.md +0 -322
  244. package/docs/CreateCustomerAddressRequest.md +0 -50
  245. package/docs/CreateRoleRequest.md +0 -36
  246. package/docs/ForgotPasswordAdminRequest.md +0 -34
  247. package/docs/LoginAdminRequest.md +0 -36
  248. package/docs/NetsuiteSyncLiteResource.md +0 -38
  249. package/docs/PaginatedPermissionLiteResourceResponse.md +0 -36
  250. package/docs/PaginatedRoleListResourceResponse.md +0 -36
  251. package/docs/PermissionListResourceArrayResponse.md +0 -34
  252. package/docs/PermissionLiteResource.md +0 -36
  253. package/docs/PermissionLiteResourceArrayResponse.md +0 -34
  254. package/docs/PermissionResource.md +0 -42
  255. package/docs/PermissionResourceArrayResponse.md +0 -34
  256. package/docs/PermissionsApi.md +0 -206
  257. package/docs/ResetPasswordAdminRequest.md +0 -38
  258. package/docs/RoleListResource.md +0 -48
  259. package/docs/RoleListResourceArrayResponse.md +0 -34
  260. package/docs/RoleResource.md +0 -50
  261. package/docs/RoleResourceArrayResponse.md +0 -34
  262. package/docs/RolesApi.md +0 -683
  263. package/docs/SearchAllRolesRequest.md +0 -48
  264. package/docs/SearchPermissionsRequest.md +0 -50
  265. package/docs/SearchRolesRequest.md +0 -52
  266. package/docs/UpdateCustomerAddressRequest.md +0 -50
  267. package/docs/UpdateRoleRequest.md +0 -36
  268. package/src/apis/AuthApi.ts +0 -258
  269. package/src/apis/PermissionsApi.ts +0 -184
  270. package/src/apis/RolesApi.ts +0 -577
  271. package/src/models/AdminLoginResponseResource.ts +0 -83
  272. package/src/models/AdminLoginResponseResourceArrayResponse.ts +0 -73
  273. package/src/models/AttachAdminsToRoleRequest.ts +0 -66
  274. package/src/models/AttachPermissionsToRoleRequest.ts +0 -66
  275. package/src/models/AttachRolesToAdminRequest.ts +0 -66
  276. package/src/models/CreateCustomerAddressRequest.ts +0 -146
  277. package/src/models/CreateRoleRequest.ts +0 -75
  278. package/src/models/ForgotPasswordAdminRequest.ts +0 -66
  279. package/src/models/LoginAdminRequest.ts +0 -75
  280. package/src/models/NetsuiteSyncLiteResource.ts +0 -84
  281. package/src/models/NetsuiteSyncLiteResourceArrayResponse.ts +0 -73
  282. package/src/models/PaginatedPermissionListResourceResponse.ts +0 -90
  283. package/src/models/PaginatedPermissionLiteResourceResponse.ts +0 -90
  284. package/src/models/PaginatedRoleListResourceResponse.ts +0 -90
  285. package/src/models/PermissionListResource.ts +0 -82
  286. package/src/models/PermissionListResourceArrayResponse.ts +0 -73
  287. package/src/models/PermissionLiteResource.ts +0 -74
  288. package/src/models/PermissionLiteResourceArrayResponse.ts +0 -73
  289. package/src/models/PermissionResource.ts +0 -99
  290. package/src/models/PermissionResourceArrayResponse.ts +0 -73
  291. package/src/models/ResetPasswordAdminRequest.ts +0 -84
  292. package/src/models/RoleListResource.ts +0 -126
  293. package/src/models/RoleListResourceArrayResponse.ts +0 -73
  294. package/src/models/RoleResource.ts +0 -150
  295. package/src/models/RoleResourceArrayResponse.ts +0 -73
  296. package/src/models/SearchAllPermissionsRequest.ts +0 -134
  297. package/src/models/SearchAllRolesRequest.ts +0 -143
  298. package/src/models/SearchPermissionsRequest.ts +0 -150
  299. package/src/models/SearchRolesRequest.ts +0 -159
  300. package/src/models/UpdateCustomerAddressRequest.ts +0 -146
  301. package/src/models/UpdateRoleRequest.ts +0 -75
@@ -5,14 +5,11 @@ 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 |
9
8
  | [**getAllCustomer**](CustomersApi.md#getallcustomer) | **POST** /admin-api/customers/all | Auto-generated: getAllCustomer |
10
9
  | [**indexCustomer**](CustomersApi.md#indexcustomer) | **POST** /admin-api/customers/list | Auto-generated: indexCustomer |
11
10
  | [**showCustomer**](CustomersApi.md#showcustomer) | **GET** /admin-api/customers/{customer} | Auto-generated: showCustomer |
12
11
  | [**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 |
14
12
  | [**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 |
16
13
 
17
14
 
18
15
 
@@ -81,74 +78,6 @@ No authorization required
81
78
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
82
79
 
83
80
 
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
-
144
- ### HTTP response details
145
- | Status code | Description | Response headers |
146
- |-------------|-------------|------------------|
147
- | **200** | \\JsonResponse<array{message: string}> | - |
148
-
149
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
150
-
151
-
152
81
  ## getAllCustomer
153
82
 
154
83
  > CustomerLiteResourceArrayResponse getAllCustomer(searchAllCustomersRequest)
@@ -409,74 +338,6 @@ No authorization required
409
338
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
410
339
 
411
340
 
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
-
480
341
  ## updateCustomer
481
342
 
482
343
  > CustomerResource updateCustomer(customer, updateCustomerRequest)
@@ -544,74 +405,3 @@ No authorization required
544
405
 
545
406
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
546
407
 
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
-
@@ -18,11 +18,14 @@ Name | Type
18
18
  `lineItems` | [Array<FrontendLineItemResource>](FrontendLineItemResource.md)
19
19
  `coupons` | [Array<FrontendCartResourceCouponsInner>](FrontendCartResourceCouponsInner.md)
20
20
  `subtotal` | number
21
+ `subtotalAfterDiscounts` | number
21
22
  `promotionalDiscount` | number
22
23
  `couponSubtotalDiscount` | number
23
24
  `couponShippingDiscount` | number
24
25
  `shipping` | number
25
26
  `transitInsurance` | number
27
+ `deliveryShippingQuote` | number
28
+ `transitInsuranceQuote` | number
26
29
  `gst` | number
27
30
  `grandTotal` | number
28
31
 
@@ -45,11 +48,14 @@ const example = {
45
48
  "lineItems": null,
46
49
  "coupons": null,
47
50
  "subtotal": null,
51
+ "subtotalAfterDiscounts": null,
48
52
  "promotionalDiscount": null,
49
53
  "couponSubtotalDiscount": null,
50
54
  "couponShippingDiscount": null,
51
55
  "shipping": null,
52
56
  "transitInsurance": null,
57
+ "deliveryShippingQuote": null,
58
+ "transitInsuranceQuote": null,
53
59
  "gst": null,
54
60
  "grandTotal": null,
55
61
  } satisfies FrontendCartResource
@@ -8,6 +8,8 @@ Name | Type
8
8
  ------------ | -------------
9
9
  `id` | number
10
10
  `name` | string
11
+ `shortName` | string
12
+ `displayOrder` | number
11
13
  `isOrderNetsuiteSyncable` | boolean
12
14
  `ordersCount` | number
13
15
 
@@ -20,6 +22,8 @@ import type { OrderStatusWithCountResource } from '@digital8/lighting-illusions-
20
22
  const example = {
21
23
  "id": null,
22
24
  "name": null,
25
+ "shortName": null,
26
+ "displayOrder": null,
23
27
  "isOrderNetsuiteSyncable": null,
24
28
  "ordersCount": null,
25
29
  } satisfies OrderStatusWithCountResource
@@ -1,24 +1,24 @@
1
1
 
2
- # PaginatedPermissionListResourceResponse
2
+ # PaginatedProductClassLiteResourceResponse
3
3
 
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `data` | [Array<PermissionListResource>](PermissionListResource.md)
9
+ `data` | [Array<ProductClassLiteResource>](ProductClassLiteResource.md)
10
10
  `meta` | [PagingMetadata](PagingMetadata.md)
11
11
 
12
12
  ## Example
13
13
 
14
14
  ```typescript
15
- import type { PaginatedPermissionListResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
15
+ import type { PaginatedProductClassLiteResourceResponse } 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 PaginatedPermissionListResourceResponse
21
+ } satisfies PaginatedProductClassLiteResourceResponse
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 PaginatedPermissionListResourceResponse
30
+ const exampleParsed = JSON.parse(exampleJSON) as PaginatedProductClassLiteResourceResponse
31
31
  console.log(exampleParsed)
32
32
  ```
33
33
 
@@ -0,0 +1,74 @@
1
+ # ProductClassApi
2
+
3
+ All URIs are relative to *http://localhost/api*
4
+
5
+ | Method | HTTP request | Description |
6
+ |------------- | ------------- | -------------|
7
+ | [**getAllProductClass**](ProductClassApi.md#getallproductclass) | **POST** /admin-api/product-class/all | Auto-generated: getAllProductClass |
8
+
9
+
10
+
11
+ ## getAllProductClass
12
+
13
+ > ProductClassLiteResourceArrayResponse getAllProductClass(searchAllProductClassesRequest)
14
+
15
+ Auto-generated: getAllProductClass
16
+
17
+ ### Example
18
+
19
+ ```ts
20
+ import {
21
+ Configuration,
22
+ ProductClassApi,
23
+ } from '@digital8/lighting-illusions-ts-sdk';
24
+ import type { GetAllProductClassRequest } from '@digital8/lighting-illusions-ts-sdk';
25
+
26
+ async function example() {
27
+ console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
28
+ const api = new ProductClassApi();
29
+
30
+ const body = {
31
+ // SearchAllProductClassesRequest (optional)
32
+ searchAllProductClassesRequest: ...,
33
+ } satisfies GetAllProductClassRequest;
34
+
35
+ try {
36
+ const data = await api.getAllProductClass(body);
37
+ console.log(data);
38
+ } catch (error) {
39
+ console.error(error);
40
+ }
41
+ }
42
+
43
+ // Run the test
44
+ example().catch(console.error);
45
+ ```
46
+
47
+ ### Parameters
48
+
49
+
50
+ | Name | Type | Description | Notes |
51
+ |------------- | ------------- | ------------- | -------------|
52
+ | **searchAllProductClassesRequest** | [SearchAllProductClassesRequest](SearchAllProductClassesRequest.md) | | [Optional] |
53
+
54
+ ### Return type
55
+
56
+ [**ProductClassLiteResourceArrayResponse**](ProductClassLiteResourceArrayResponse.md)
57
+
58
+ ### Authorization
59
+
60
+ No authorization required
61
+
62
+ ### HTTP request headers
63
+
64
+ - **Content-Type**: `application/json`
65
+ - **Accept**: `application/json`
66
+
67
+
68
+ ### HTTP response details
69
+ | Status code | Description | Response headers |
70
+ |-------------|-------------|------------------|
71
+ | **200** | Successful resource response | - |
72
+
73
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
74
+
@@ -1,5 +1,5 @@
1
1
 
2
- # PermissionListResource
2
+ # ProductClassLiteResource
3
3
 
4
4
 
5
5
  ## Properties
@@ -8,19 +8,19 @@ Name | Type
8
8
  ------------ | -------------
9
9
  `id` | number
10
10
  `name` | string
11
- `createdAt` | Date
11
+ `pathString` | string
12
12
 
13
13
  ## Example
14
14
 
15
15
  ```typescript
16
- import type { PermissionListResource } from '@digital8/lighting-illusions-ts-sdk'
16
+ import type { ProductClassLiteResource } 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
- "createdAt": null,
23
- } satisfies PermissionListResource
22
+ "pathString": null,
23
+ } satisfies ProductClassLiteResource
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 PermissionListResource
32
+ const exampleParsed = JSON.parse(exampleJSON) as ProductClassLiteResource
33
33
  console.log(exampleParsed)
34
34
  ```
35
35
 
@@ -1,22 +1,22 @@
1
1
 
2
- # NetsuiteSyncLiteResourceArrayResponse
2
+ # ProductClassLiteResourceArrayResponse
3
3
 
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `data` | [Array<NetsuiteSyncLiteResource>](NetsuiteSyncLiteResource.md)
9
+ `data` | [Array<ProductClassLiteResource>](ProductClassLiteResource.md)
10
10
 
11
11
  ## Example
12
12
 
13
13
  ```typescript
14
- import type { NetsuiteSyncLiteResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
14
+ import type { ProductClassLiteResourceArrayResponse } 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 NetsuiteSyncLiteResourceArrayResponse
19
+ } satisfies ProductClassLiteResourceArrayResponse
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 NetsuiteSyncLiteResourceArrayResponse
28
+ const exampleParsed = JSON.parse(exampleJSON) as ProductClassLiteResourceArrayResponse
29
29
  console.log(exampleParsed)
30
30
  ```
31
31
 
@@ -9,7 +9,7 @@ Name | Type
9
9
  `id` | number
10
10
  `netsuiteId` | string
11
11
  `name` | string
12
- `parentId` | string
12
+ `parentId` | number
13
13
 
14
14
  ## Example
15
15
 
@@ -8,7 +8,6 @@ Name | Type
8
8
  ------------ | -------------
9
9
  `id` | number
10
10
  `name` | string
11
- `isLocked` | boolean
12
11
 
13
12
  ## Example
14
13
 
@@ -19,7 +18,6 @@ import type { RoleLiteResource } from '@digital8/lighting-illusions-ts-sdk'
19
18
  const example = {
20
19
  "id": null,
21
20
  "name": null,
22
- "isLocked": null,
23
21
  } satisfies RoleLiteResource
24
22
 
25
23
  console.log(example)
@@ -11,12 +11,12 @@ Name | Type
11
11
  `sortDirection` | string
12
12
  `perPage` | number
13
13
  `page` | number
14
+ `roleId` | Array<string>
14
15
  `beforeCreatedAt` | Date
15
16
  `afterCreatedAt` | Date
16
17
  `relatedId` | number
17
18
  `relatedType` | string
18
19
  `includesRelations` | boolean
19
- `roleIds` | Array<number>
20
20
 
21
21
  ## Example
22
22
 
@@ -30,12 +30,12 @@ const example = {
30
30
  "sortDirection": null,
31
31
  "perPage": null,
32
32
  "page": null,
33
+ "roleId": null,
33
34
  "beforeCreatedAt": null,
34
35
  "afterCreatedAt": null,
35
36
  "relatedId": null,
36
37
  "relatedType": null,
37
38
  "includesRelations": null,
38
- "roleIds": null,
39
39
  } satisfies SearchAdminUsersRequest
40
40
 
41
41
  console.log(example)
@@ -12,7 +12,6 @@ Name | Type
12
12
  `relatedId` | number
13
13
  `relatedType` | string
14
14
  `includesRelations` | boolean
15
- `roleIds` | Array<number>
16
15
 
17
16
  ## Example
18
17
 
@@ -27,7 +26,6 @@ const example = {
27
26
  "relatedId": null,
28
27
  "relatedType": null,
29
28
  "includesRelations": null,
30
- "roleIds": null,
31
29
  } satisfies SearchAllAdminUsersRequest
32
30
 
33
31
  console.log(example)
@@ -16,6 +16,7 @@ Name | Type
16
16
  `source` | Array<string>
17
17
  `statusId` | Array<string>
18
18
  `customerId` | Array<string>
19
+ `lineItemsLabelId` | Array<string>
19
20
 
20
21
  ## Example
21
22
 
@@ -34,6 +35,7 @@ const example = {
34
35
  "source": null,
35
36
  "statusId": null,
36
37
  "customerId": null,
38
+ "lineItemsLabelId": null,
37
39
  } satisfies SearchAllOrdersRequest
38
40
 
39
41
  console.log(example)
@@ -1,5 +1,5 @@
1
1
 
2
- # SearchAllPermissionsRequest
2
+ # SearchAllProductClassesRequest
3
3
 
4
4
 
5
5
  ## Properties
@@ -12,12 +12,11 @@ Name | Type
12
12
  `relatedId` | number
13
13
  `relatedType` | string
14
14
  `includesRelations` | boolean
15
- `roleIds` | Array<number>
16
15
 
17
16
  ## Example
18
17
 
19
18
  ```typescript
20
- import type { SearchAllPermissionsRequest } from '@digital8/lighting-illusions-ts-sdk'
19
+ import type { SearchAllProductClassesRequest } from '@digital8/lighting-illusions-ts-sdk'
21
20
 
22
21
  // TODO: Update the object below with actual values
23
22
  const example = {
@@ -27,8 +26,7 @@ const example = {
27
26
  "relatedId": null,
28
27
  "relatedType": null,
29
28
  "includesRelations": null,
30
- "roleIds": null,
31
- } satisfies SearchAllPermissionsRequest
29
+ } satisfies SearchAllProductClassesRequest
32
30
 
33
31
  console.log(example)
34
32
 
@@ -37,7 +35,7 @@ const exampleJSON: string = JSON.stringify(example)
37
35
  console.log(exampleJSON)
38
36
 
39
37
  // Parse the JSON string back to an object
40
- const exampleParsed = JSON.parse(exampleJSON) as SearchAllPermissionsRequest
38
+ const exampleParsed = JSON.parse(exampleJSON) as SearchAllProductClassesRequest
41
39
  console.log(exampleParsed)
42
40
  ```
43
41
 
@@ -15,6 +15,7 @@ Name | Type
15
15
  `source` | Array<string>
16
16
  `statusId` | Array<string>
17
17
  `customerId` | Array<string>
18
+ `lineItemsLabelId` | Array<string>
18
19
  `beforeCreatedAt` | Date
19
20
  `afterCreatedAt` | Date
20
21
  `beforePlacedAt` | Date
@@ -41,6 +42,7 @@ const example = {
41
42
  "source": null,
42
43
  "statusId": null,
43
44
  "customerId": null,
45
+ "lineItemsLabelId": null,
44
46
  "beforeCreatedAt": null,
45
47
  "afterCreatedAt": null,
46
48
  "beforePlacedAt": null,
@@ -9,7 +9,7 @@ Name | Type
9
9
  `id` | number
10
10
  `name` | string
11
11
  `hours` | string
12
- `date` | string
12
+ `date` | object
13
13
  `closed` | boolean
14
14
  `displayStartDate` | string
15
15
  `displayEndDate` | string
@@ -11,6 +11,7 @@ Name | Type
11
11
  `slug` | string
12
12
  `thumbnail` | [AssetLiteResource](AssetLiteResource.md)
13
13
  `supplierEta` | number
14
+ `productEnquiriesOnly` | boolean
14
15
  `seo` | object
15
16
  `description` | [DescriptionResource](DescriptionResource.md)
16
17
 
@@ -26,6 +27,7 @@ const example = {
26
27
  "slug": null,
27
28
  "thumbnail": null,
28
29
  "supplierEta": null,
30
+ "productEnquiriesOnly": null,
29
31
  "seo": null,
30
32
  "description": null,
31
33
  } satisfies SupplierFrontendResource
@@ -11,6 +11,7 @@ Name | Type
11
11
  `slug` | string
12
12
  `thumbnail` | [AssetResource](AssetResource.md)
13
13
  `supplierEta` | number
14
+ `productEnquiriesOnly` | boolean
14
15
  `seo` | [Array<SEOResource>](SEOResource.md)
15
16
  `descriptions` | [Array<DescriptionResource>](DescriptionResource.md)
16
17
 
@@ -26,6 +27,7 @@ const example = {
26
27
  "slug": null,
27
28
  "thumbnail": null,
28
29
  "supplierEta": null,
30
+ "productEnquiriesOnly": null,
29
31
  "seo": null,
30
32
  "descriptions": null,
31
33
  } satisfies SupplierResource
@@ -11,6 +11,7 @@ Name | Type
11
11
  `phone` | string
12
12
  `password` | string
13
13
  `email` | string
14
+ `roleIds` | Array<number>
14
15
 
15
16
  ## Example
16
17
 
@@ -24,6 +25,7 @@ const example = {
24
25
  "phone": null,
25
26
  "password": null,
26
27
  "email": null,
28
+ "roleIds": null,
27
29
  } satisfies UpdateAdminUserRequest
28
30
 
29
31
  console.log(example)