@digital8/lighting-illusions-ts-sdk 0.0.2308 → 0.0.2309

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 (395) hide show
  1. package/.openapi-generator/FILES +10 -132
  2. package/README.md +7 -96
  3. package/dist/apis/CustomersApi.d.ts +0 -102
  4. package/dist/apis/CustomersApi.js +0 -374
  5. package/dist/apis/ProductClassApi.d.ts +34 -0
  6. package/dist/apis/ProductClassApi.js +139 -0
  7. package/dist/apis/index.d.ts +1 -4
  8. package/dist/apis/index.js +1 -4
  9. package/dist/models/AddressResource.d.ts +2 -2
  10. package/dist/models/AddressResource.js +4 -4
  11. package/dist/models/AddressType.d.ts +0 -2
  12. package/dist/models/AddressType.js +1 -3
  13. package/dist/models/AdminNoteResource.d.ts +3 -3
  14. package/dist/models/AdminNoteResource.js +3 -3
  15. package/dist/models/AdminOrderResource.d.ts +3 -3
  16. package/dist/models/AdminOrderResource.js +3 -3
  17. package/dist/models/AdminUserLiteResource.d.ts +1 -1
  18. package/dist/models/AdminUserLiteResource.js +1 -3
  19. package/dist/models/CartListResource.d.ts +6 -0
  20. package/dist/models/CartListResource.js +4 -0
  21. package/dist/models/CartResource.d.ts +3 -3
  22. package/dist/models/CartResource.js +3 -3
  23. package/dist/models/CategoryAutomationFieldType.d.ts +2 -0
  24. package/dist/models/CategoryAutomationFieldType.js +3 -1
  25. package/dist/models/CreateCustomerRequest.d.ts +6 -24
  26. package/dist/models/CreateCustomerRequest.js +6 -12
  27. package/dist/models/CreatePageComponentRequest.d.ts +4 -4
  28. package/dist/models/CreatePageComponentRequest.js +4 -4
  29. package/dist/models/CreateProductCategoryRequestAutomationRulesInner.d.ts +2 -0
  30. package/dist/models/CreateProductCategoryRequestAutomationRulesInner.js +3 -1
  31. package/dist/models/CreateSupplierRequest.d.ts +6 -0
  32. package/dist/models/CreateSupplierRequest.js +2 -0
  33. package/dist/models/CustomerListResource.d.ts +8 -27
  34. package/dist/models/CustomerListResource.js +13 -24
  35. package/dist/models/CustomerResource.d.ts +10 -43
  36. package/dist/models/CustomerResource.js +16 -33
  37. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  38. package/dist/models/ExternalApiLogResource.js +1 -3
  39. package/dist/models/FrontendCartResource.d.ts +18 -0
  40. package/dist/models/FrontendCartResource.js +12 -0
  41. package/dist/models/OrderStatusWithCountResource.d.ts +12 -0
  42. package/dist/models/OrderStatusWithCountResource.js +8 -0
  43. package/dist/models/PaginatedProductClassLiteResourceResponse.d.ts +40 -0
  44. package/dist/models/PaginatedProductClassLiteResourceResponse.js +57 -0
  45. package/dist/models/ProductClassLiteResource.d.ts +44 -0
  46. package/dist/models/ProductClassLiteResource.js +57 -0
  47. package/dist/models/ProductClassLiteResourceArrayResponse.d.ts +33 -0
  48. package/dist/models/ProductClassLiteResourceArrayResponse.js +50 -0
  49. package/dist/models/ProductClassResource.d.ts +2 -2
  50. package/dist/models/SearchAllOrdersRequest.d.ts +6 -0
  51. package/dist/models/SearchAllOrdersRequest.js +2 -0
  52. package/dist/models/SearchAllProductClassesRequest.d.ts +78 -0
  53. package/dist/models/{SearchAllRolesRequest.js → SearchAllProductClassesRequest.js} +17 -21
  54. package/dist/models/SearchCustomersRequest.d.ts +3 -31
  55. package/dist/models/SearchCustomersRequest.js +3 -15
  56. package/dist/models/SearchOrdersRequest.d.ts +6 -0
  57. package/dist/models/SearchOrdersRequest.js +2 -0
  58. package/dist/models/StoreFrontendResource.d.ts +1 -1
  59. package/dist/models/StoreFrontendResource.js +3 -1
  60. package/dist/models/StoreListResource.d.ts +1 -1
  61. package/dist/models/StoreListResource.js +3 -1
  62. package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
  63. package/dist/models/StoreSpecialDateFrontendResource.js +3 -1
  64. package/dist/models/SupplierFrontendResource.d.ts +6 -0
  65. package/dist/models/SupplierFrontendResource.js +4 -0
  66. package/dist/models/SupplierResource.d.ts +6 -0
  67. package/dist/models/SupplierResource.js +4 -0
  68. package/dist/models/UpdatePageComponentRequest.d.ts +4 -4
  69. package/dist/models/UpdatePageComponentRequest.js +4 -4
  70. package/dist/models/UpdateSupplierRequest.d.ts +6 -0
  71. package/dist/models/UpdateSupplierRequest.js +2 -0
  72. package/dist/models/index.d.ts +4 -62
  73. package/dist/models/index.js +4 -62
  74. package/docs/AdminNoteResource.md +1 -1
  75. package/docs/AdminOrderResource.md +1 -1
  76. package/docs/CartListResource.md +2 -0
  77. package/docs/CartResource.md +1 -1
  78. package/docs/CreateCustomerRequest.md +4 -10
  79. package/docs/CreatePageComponentRequest.md +2 -2
  80. package/docs/CreateSupplierRequest.md +2 -0
  81. package/docs/CustomerListResource.md +8 -14
  82. package/docs/CustomerResource.md +9 -19
  83. package/docs/CustomersApi.md +0 -411
  84. package/docs/FrontendCartResource.md +6 -0
  85. package/docs/OrderStatusWithCountResource.md +4 -0
  86. package/docs/{PaginatedPermissionLiteResourceResponse.md → PaginatedProductClassLiteResourceResponse.md} +5 -5
  87. package/docs/ProductClassApi.md +74 -0
  88. package/docs/{PermissionLiteResource.md → ProductClassLiteResource.md} +6 -4
  89. package/docs/{NetsuiteSyncLiteResourceArrayResponse.md → ProductClassLiteResourceArrayResponse.md} +5 -5
  90. package/docs/ProductClassResource.md +1 -1
  91. package/docs/SearchAllOrdersRequest.md +2 -0
  92. package/docs/{SearchAllAdminUsersRequest.md → SearchAllProductClassesRequest.md} +4 -4
  93. package/docs/SearchCustomersRequest.md +0 -8
  94. package/docs/SearchOrdersRequest.md +2 -0
  95. package/docs/StoreSpecialDateFrontendResource.md +1 -1
  96. package/docs/SupplierFrontendResource.md +2 -0
  97. package/docs/SupplierResource.md +2 -0
  98. package/docs/UpdatePageComponentRequest.md +2 -2
  99. package/docs/UpdateSupplierRequest.md +2 -0
  100. package/package.json +1 -1
  101. package/src/apis/CustomersApi.ts +0 -354
  102. package/src/apis/ProductClassApi.ts +76 -0
  103. package/src/apis/index.ts +1 -4
  104. package/src/models/AddressResource.ts +5 -5
  105. package/src/models/AddressType.ts +1 -3
  106. package/src/models/AdminNoteResource.ts +10 -10
  107. package/src/models/AdminOrderResource.ts +11 -11
  108. package/src/models/AdminUserLiteResource.ts +2 -3
  109. package/src/models/CartListResource.ts +9 -0
  110. package/src/models/CartResource.ts +10 -10
  111. package/src/models/CategoryAutomationFieldType.ts +3 -1
  112. package/src/models/CreateCustomerRequest.ts +11 -35
  113. package/src/models/CreatePageComponentRequest.ts +8 -8
  114. package/src/models/CreateProductCategoryRequestAutomationRulesInner.ts +3 -1
  115. package/src/models/CreateSupplierRequest.ts +8 -0
  116. package/src/models/CustomerListResource.ts +20 -53
  117. package/src/models/CustomerResource.ts +29 -92
  118. package/src/models/ExternalApiLogResource.ts +2 -3
  119. package/src/models/FrontendCartResource.ts +27 -0
  120. package/src/models/OrderStatusWithCountResource.ts +18 -0
  121. package/src/models/PaginatedProductClassLiteResourceResponse.ts +90 -0
  122. package/src/models/ProductClassLiteResource.ts +83 -0
  123. package/src/models/ProductClassLiteResourceArrayResponse.ts +73 -0
  124. package/src/models/ProductClassResource.ts +2 -2
  125. package/src/models/SearchAllOrdersRequest.ts +8 -0
  126. package/src/models/SearchAllProductClassesRequest.ts +125 -0
  127. package/src/models/SearchCustomersRequest.ts +3 -39
  128. package/src/models/SearchOrdersRequest.ts +8 -0
  129. package/src/models/StoreFrontendResource.ts +3 -2
  130. package/src/models/StoreListResource.ts +3 -2
  131. package/src/models/StoreSpecialDateFrontendResource.ts +4 -3
  132. package/src/models/SupplierFrontendResource.ts +9 -0
  133. package/src/models/SupplierResource.ts +9 -0
  134. package/src/models/UpdatePageComponentRequest.ts +8 -8
  135. package/src/models/UpdateSupplierRequest.ts +8 -0
  136. package/src/models/index.ts +4 -62
  137. package/dist/apis/AdminsApi.d.ts +0 -149
  138. package/dist/apis/AdminsApi.js +0 -565
  139. package/dist/apis/AuthApi.d.ts +0 -92
  140. package/dist/apis/AuthApi.js +0 -369
  141. package/dist/apis/PermissionsApi.d.ts +0 -67
  142. package/dist/apis/PermissionsApi.js +0 -259
  143. package/dist/apis/RolesApi.d.ts +0 -182
  144. package/dist/apis/RolesApi.js +0 -690
  145. package/dist/models/AdminListResource.d.ts +0 -52
  146. package/dist/models/AdminListResource.js +0 -63
  147. package/dist/models/AdminListResourceArrayResponse.d.ts +0 -33
  148. package/dist/models/AdminListResourceArrayResponse.js +0 -50
  149. package/dist/models/AdminLiteResource.d.ts +0 -39
  150. package/dist/models/AdminLiteResource.js +0 -56
  151. package/dist/models/AdminLiteResourceArrayResponse.d.ts +0 -33
  152. package/dist/models/AdminLiteResourceArrayResponse.js +0 -50
  153. package/dist/models/AdminLoginResponseResource.d.ts +0 -39
  154. package/dist/models/AdminLoginResponseResource.js +0 -56
  155. package/dist/models/AdminLoginResponseResourceArrayResponse.d.ts +0 -33
  156. package/dist/models/AdminLoginResponseResourceArrayResponse.js +0 -50
  157. package/dist/models/AdminResource.d.ts +0 -64
  158. package/dist/models/AdminResource.js +0 -69
  159. package/dist/models/AdminResourceArrayResponse.d.ts +0 -33
  160. package/dist/models/AdminResourceArrayResponse.js +0 -50
  161. package/dist/models/AttachAdminsToRoleRequest.d.ts +0 -32
  162. package/dist/models/AttachAdminsToRoleRequest.js +0 -51
  163. package/dist/models/AttachPermissionsToRoleRequest.d.ts +0 -32
  164. package/dist/models/AttachPermissionsToRoleRequest.js +0 -51
  165. package/dist/models/AttachRolesToAdminRequest.d.ts +0 -32
  166. package/dist/models/AttachRolesToAdminRequest.js +0 -51
  167. package/dist/models/CheckEmailFrontendResource.d.ts +0 -38
  168. package/dist/models/CheckEmailFrontendResource.js +0 -53
  169. package/dist/models/CheckEmailFrontendResourceArrayResponse.d.ts +0 -33
  170. package/dist/models/CheckEmailFrontendResourceArrayResponse.js +0 -50
  171. package/dist/models/CreateAdminUserRequest.d.ts +0 -56
  172. package/dist/models/CreateAdminUserRequest.js +0 -65
  173. package/dist/models/CreateCustomerAddressRequest.d.ts +0 -90
  174. package/dist/models/CreateCustomerAddressRequest.js +0 -83
  175. package/dist/models/CreateRoleRequest.d.ts +0 -38
  176. package/dist/models/CreateRoleRequest.js +0 -55
  177. package/dist/models/CustomerAuthResponseResource.d.ts +0 -39
  178. package/dist/models/CustomerAuthResponseResource.js +0 -56
  179. package/dist/models/CustomerAuthResponseResourceArrayResponse.d.ts +0 -33
  180. package/dist/models/CustomerAuthResponseResourceArrayResponse.js +0 -50
  181. package/dist/models/CustomerFrontendResource.d.ts +0 -70
  182. package/dist/models/CustomerFrontendResource.js +0 -75
  183. package/dist/models/CustomerFrontendResourceArrayResponse.d.ts +0 -33
  184. package/dist/models/CustomerFrontendResourceArrayResponse.js +0 -50
  185. package/dist/models/CustomerSocialLinkableResource.d.ts +0 -38
  186. package/dist/models/CustomerSocialLinkableResource.js +0 -55
  187. package/dist/models/CustomerSocialLinkableResourceArrayResponse.d.ts +0 -33
  188. package/dist/models/CustomerSocialLinkableResourceArrayResponse.js +0 -50
  189. package/dist/models/CustomerType.d.ts +0 -25
  190. package/dist/models/CustomerType.js +0 -51
  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/PaginatedAdminListResourceResponse.d.ts +0 -40
  200. package/dist/models/PaginatedAdminListResourceResponse.js +0 -57
  201. package/dist/models/PaginatedAdminLiteResourceResponse.d.ts +0 -40
  202. package/dist/models/PaginatedAdminLiteResourceResponse.js +0 -57
  203. package/dist/models/PaginatedPermissionListResourceResponse.d.ts +0 -40
  204. package/dist/models/PaginatedPermissionListResourceResponse.js +0 -57
  205. package/dist/models/PaginatedPermissionLiteResourceResponse.d.ts +0 -40
  206. package/dist/models/PaginatedPermissionLiteResourceResponse.js +0 -57
  207. package/dist/models/PaginatedRoleListResourceResponse.d.ts +0 -40
  208. package/dist/models/PaginatedRoleListResourceResponse.js +0 -57
  209. package/dist/models/PaginatedRoleLiteResourceResponse.d.ts +0 -40
  210. package/dist/models/PaginatedRoleLiteResourceResponse.js +0 -57
  211. package/dist/models/PermissionListResource.d.ts +0 -44
  212. package/dist/models/PermissionListResource.js +0 -55
  213. package/dist/models/PermissionListResourceArrayResponse.d.ts +0 -33
  214. package/dist/models/PermissionListResourceArrayResponse.js +0 -50
  215. package/dist/models/PermissionLiteResource.d.ts +0 -38
  216. package/dist/models/PermissionLiteResource.js +0 -53
  217. package/dist/models/PermissionLiteResourceArrayResponse.d.ts +0 -33
  218. package/dist/models/PermissionLiteResourceArrayResponse.js +0 -50
  219. package/dist/models/PermissionResource.d.ts +0 -56
  220. package/dist/models/PermissionResource.js +0 -61
  221. package/dist/models/PermissionResourceArrayResponse.d.ts +0 -33
  222. package/dist/models/PermissionResourceArrayResponse.js +0 -50
  223. package/dist/models/ResetPasswordAdminRequest.d.ts +0 -44
  224. package/dist/models/ResetPasswordAdminRequest.js +0 -59
  225. package/dist/models/RoleListResource.d.ts +0 -74
  226. package/dist/models/RoleListResource.js +0 -73
  227. package/dist/models/RoleListResourceArrayResponse.d.ts +0 -33
  228. package/dist/models/RoleListResourceArrayResponse.js +0 -50
  229. package/dist/models/RoleLiteResource.d.ts +0 -44
  230. package/dist/models/RoleLiteResource.js +0 -57
  231. package/dist/models/RoleLiteResourceArrayResponse.d.ts +0 -33
  232. package/dist/models/RoleLiteResourceArrayResponse.js +0 -50
  233. package/dist/models/RoleResource.d.ts +0 -82
  234. package/dist/models/RoleResource.js +0 -79
  235. package/dist/models/RoleResourceArrayResponse.d.ts +0 -33
  236. package/dist/models/RoleResourceArrayResponse.js +0 -50
  237. package/dist/models/SearchAdminUsersRequest.d.ts +0 -112
  238. package/dist/models/SearchAdminUsersRequest.js +0 -88
  239. package/dist/models/SearchAllAdminUsersRequest.d.ts +0 -82
  240. package/dist/models/SearchAllAdminUsersRequest.js +0 -78
  241. package/dist/models/SearchAllCustomersRequest.d.ts +0 -103
  242. package/dist/models/SearchAllCustomersRequest.js +0 -87
  243. package/dist/models/SearchAllPermissionsRequest.d.ts +0 -79
  244. package/dist/models/SearchAllPermissionsRequest.js +0 -75
  245. package/dist/models/SearchAllRolesRequest.d.ts +0 -86
  246. package/dist/models/SearchPermissionsRequest.d.ts +0 -91
  247. package/dist/models/SearchPermissionsRequest.js +0 -79
  248. package/dist/models/SearchRolesRequest.d.ts +0 -98
  249. package/dist/models/SearchRolesRequest.js +0 -82
  250. package/dist/models/SignUpType.d.ts +0 -29
  251. package/dist/models/SignUpType.js +0 -55
  252. package/dist/models/SocialProvider.d.ts +0 -26
  253. package/dist/models/SocialProvider.js +0 -52
  254. package/dist/models/UpdateAdminUserRequest.d.ts +0 -56
  255. package/dist/models/UpdateAdminUserRequest.js +0 -63
  256. package/dist/models/UpdateCustomerAddressRequest.d.ts +0 -90
  257. package/dist/models/UpdateCustomerAddressRequest.js +0 -83
  258. package/dist/models/UpdateCustomerRequest.d.ts +0 -68
  259. package/dist/models/UpdateCustomerRequest.js +0 -67
  260. package/dist/models/UpdateRoleRequest.d.ts +0 -38
  261. package/dist/models/UpdateRoleRequest.js +0 -55
  262. package/dist/models/UserLiteResource.d.ts +0 -62
  263. package/dist/models/UserLiteResource.js +0 -69
  264. package/dist/models/UserLiteResourceArrayResponse.d.ts +0 -33
  265. package/dist/models/UserLiteResourceArrayResponse.js +0 -50
  266. package/dist/models/UserType.d.ts +0 -25
  267. package/dist/models/UserType.js +0 -51
  268. package/docs/AdminListResource.md +0 -40
  269. package/docs/AdminListResourceArrayResponse.md +0 -34
  270. package/docs/AdminLiteResource.md +0 -36
  271. package/docs/AdminLiteResourceArrayResponse.md +0 -34
  272. package/docs/AdminLoginResponseResource.md +0 -36
  273. package/docs/AdminLoginResponseResourceArrayResponse.md +0 -34
  274. package/docs/AdminResource.md +0 -44
  275. package/docs/AdminResourceArrayResponse.md +0 -34
  276. package/docs/AdminsApi.md +0 -545
  277. package/docs/AttachAdminsToRoleRequest.md +0 -34
  278. package/docs/AttachPermissionsToRoleRequest.md +0 -34
  279. package/docs/AttachRolesToAdminRequest.md +0 -34
  280. package/docs/AuthApi.md +0 -322
  281. package/docs/CheckEmailFrontendResource.md +0 -36
  282. package/docs/CheckEmailFrontendResourceArrayResponse.md +0 -34
  283. package/docs/CreateAdminUserRequest.md +0 -42
  284. package/docs/CreateCustomerAddressRequest.md +0 -50
  285. package/docs/CreateRoleRequest.md +0 -36
  286. package/docs/CustomerAuthResponseResource.md +0 -36
  287. package/docs/CustomerAuthResponseResourceArrayResponse.md +0 -34
  288. package/docs/CustomerFrontendResource.md +0 -46
  289. package/docs/CustomerFrontendResourceArrayResponse.md +0 -34
  290. package/docs/CustomerSocialLinkableResource.md +0 -36
  291. package/docs/CustomerSocialLinkableResourceArrayResponse.md +0 -34
  292. package/docs/CustomerType.md +0 -32
  293. package/docs/ForgotPasswordAdminRequest.md +0 -34
  294. package/docs/LoginAdminRequest.md +0 -36
  295. package/docs/NetsuiteSyncLiteResource.md +0 -38
  296. package/docs/PaginatedAdminListResourceResponse.md +0 -36
  297. package/docs/PaginatedAdminLiteResourceResponse.md +0 -36
  298. package/docs/PaginatedPermissionListResourceResponse.md +0 -36
  299. package/docs/PaginatedRoleListResourceResponse.md +0 -36
  300. package/docs/PaginatedRoleLiteResourceResponse.md +0 -36
  301. package/docs/PermissionListResource.md +0 -38
  302. package/docs/PermissionListResourceArrayResponse.md +0 -34
  303. package/docs/PermissionLiteResourceArrayResponse.md +0 -34
  304. package/docs/PermissionResource.md +0 -42
  305. package/docs/PermissionResourceArrayResponse.md +0 -34
  306. package/docs/PermissionsApi.md +0 -206
  307. package/docs/ResetPasswordAdminRequest.md +0 -38
  308. package/docs/RoleListResource.md +0 -48
  309. package/docs/RoleListResourceArrayResponse.md +0 -34
  310. package/docs/RoleLiteResource.md +0 -38
  311. package/docs/RoleLiteResourceArrayResponse.md +0 -34
  312. package/docs/RoleResource.md +0 -50
  313. package/docs/RoleResourceArrayResponse.md +0 -34
  314. package/docs/RolesApi.md +0 -683
  315. package/docs/SearchAdminUsersRequest.md +0 -54
  316. package/docs/SearchAllCustomersRequest.md +0 -50
  317. package/docs/SearchAllPermissionsRequest.md +0 -44
  318. package/docs/SearchAllRolesRequest.md +0 -46
  319. package/docs/SearchPermissionsRequest.md +0 -48
  320. package/docs/SearchRolesRequest.md +0 -50
  321. package/docs/SignUpType.md +0 -32
  322. package/docs/SocialProvider.md +0 -32
  323. package/docs/UpdateAdminUserRequest.md +0 -42
  324. package/docs/UpdateCustomerAddressRequest.md +0 -50
  325. package/docs/UpdateCustomerRequest.md +0 -46
  326. package/docs/UpdateRoleRequest.md +0 -36
  327. package/docs/UserLiteResource.md +0 -44
  328. package/docs/UserLiteResourceArrayResponse.md +0 -34
  329. package/docs/UserType.md +0 -32
  330. package/src/apis/AdminsApi.ts +0 -461
  331. package/src/apis/AuthApi.ts +0 -258
  332. package/src/apis/PermissionsApi.ts +0 -184
  333. package/src/apis/RolesApi.ts +0 -577
  334. package/src/models/AdminListResource.ts +0 -107
  335. package/src/models/AdminListResourceArrayResponse.ts +0 -73
  336. package/src/models/AdminLiteResource.ts +0 -83
  337. package/src/models/AdminLiteResourceArrayResponse.ts +0 -73
  338. package/src/models/AdminLoginResponseResource.ts +0 -83
  339. package/src/models/AdminLoginResponseResourceArrayResponse.ts +0 -73
  340. package/src/models/AdminResource.ts +0 -124
  341. package/src/models/AdminResourceArrayResponse.ts +0 -73
  342. package/src/models/AttachAdminsToRoleRequest.ts +0 -66
  343. package/src/models/AttachPermissionsToRoleRequest.ts +0 -66
  344. package/src/models/AttachRolesToAdminRequest.ts +0 -66
  345. package/src/models/CheckEmailFrontendResource.ts +0 -74
  346. package/src/models/CheckEmailFrontendResourceArrayResponse.ts +0 -73
  347. package/src/models/CreateAdminUserRequest.ts +0 -101
  348. package/src/models/CreateCustomerAddressRequest.ts +0 -146
  349. package/src/models/CreateRoleRequest.ts +0 -75
  350. package/src/models/CustomerAuthResponseResource.ts +0 -83
  351. package/src/models/CustomerAuthResponseResourceArrayResponse.ts +0 -73
  352. package/src/models/CustomerFrontendResource.ts +0 -134
  353. package/src/models/CustomerFrontendResourceArrayResponse.ts +0 -73
  354. package/src/models/CustomerSocialLinkableResource.ts +0 -75
  355. package/src/models/CustomerSocialLinkableResourceArrayResponse.ts +0 -73
  356. package/src/models/CustomerType.ts +0 -53
  357. package/src/models/ForgotPasswordAdminRequest.ts +0 -66
  358. package/src/models/LoginAdminRequest.ts +0 -75
  359. package/src/models/NetsuiteSyncLiteResource.ts +0 -84
  360. package/src/models/NetsuiteSyncLiteResourceArrayResponse.ts +0 -73
  361. package/src/models/PaginatedAdminListResourceResponse.ts +0 -90
  362. package/src/models/PaginatedAdminLiteResourceResponse.ts +0 -90
  363. package/src/models/PaginatedPermissionListResourceResponse.ts +0 -90
  364. package/src/models/PaginatedPermissionLiteResourceResponse.ts +0 -90
  365. package/src/models/PaginatedRoleListResourceResponse.ts +0 -90
  366. package/src/models/PaginatedRoleLiteResourceResponse.ts +0 -90
  367. package/src/models/PermissionListResource.ts +0 -82
  368. package/src/models/PermissionListResourceArrayResponse.ts +0 -73
  369. package/src/models/PermissionLiteResource.ts +0 -74
  370. package/src/models/PermissionLiteResourceArrayResponse.ts +0 -73
  371. package/src/models/PermissionResource.ts +0 -99
  372. package/src/models/PermissionResourceArrayResponse.ts +0 -73
  373. package/src/models/ResetPasswordAdminRequest.ts +0 -84
  374. package/src/models/RoleListResource.ts +0 -126
  375. package/src/models/RoleListResourceArrayResponse.ts +0 -73
  376. package/src/models/RoleLiteResource.ts +0 -83
  377. package/src/models/RoleLiteResourceArrayResponse.ts +0 -73
  378. package/src/models/RoleResource.ts +0 -150
  379. package/src/models/RoleResourceArrayResponse.ts +0 -73
  380. package/src/models/SearchAdminUsersRequest.ts +0 -169
  381. package/src/models/SearchAllAdminUsersRequest.ts +0 -129
  382. package/src/models/SearchAllCustomersRequest.ts +0 -156
  383. package/src/models/SearchAllPermissionsRequest.ts +0 -126
  384. package/src/models/SearchAllRolesRequest.ts +0 -135
  385. package/src/models/SearchPermissionsRequest.ts +0 -142
  386. package/src/models/SearchRolesRequest.ts +0 -151
  387. package/src/models/SignUpType.ts +0 -57
  388. package/src/models/SocialProvider.ts +0 -54
  389. package/src/models/UpdateAdminUserRequest.ts +0 -100
  390. package/src/models/UpdateCustomerAddressRequest.ts +0 -146
  391. package/src/models/UpdateCustomerRequest.ts +0 -116
  392. package/src/models/UpdateRoleRequest.ts +0 -75
  393. package/src/models/UserLiteResource.ts +0 -110
  394. package/src/models/UserLiteResourceArrayResponse.ts +0 -73
  395. package/src/models/UserType.ts +0 -53
@@ -9,6 +9,7 @@ Name | Type
9
9
  `name` | string
10
10
  `slug` | string
11
11
  `supplierEta` | number
12
+ `productEnquiriesOnly` | boolean
12
13
  `seo` | [Array<CreateBlogCategoryRequestSeoInner>](CreateBlogCategoryRequestSeoInner.md)
13
14
  `altText` | string
14
15
  `mimeType` | string
@@ -27,6 +28,7 @@ const example = {
27
28
  "name": null,
28
29
  "slug": null,
29
30
  "supplierEta": null,
31
+ "productEnquiriesOnly": null,
30
32
  "seo": null,
31
33
  "altText": null,
32
34
  "mimeType": null,
@@ -7,14 +7,11 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `id` | number
10
- `user` | [UserLiteResource](UserLiteResource.md)
10
+ `firstName` | string
11
+ `lastName` | string
12
+ `email` | string
13
+ `phone` | string
11
14
  `site` | [SiteLiteResource](SiteLiteResource.md)
12
- `type` | string
13
- `signUpType` | string
14
- `subscribedToNewsletter` | boolean
15
- `netsuiteId` | object
16
- `ordersCount` | number
17
- `createdAt` | Date
18
15
 
19
16
  ## Example
20
17
 
@@ -24,14 +21,11 @@ import type { CustomerListResource } from '@digital8/lighting-illusions-ts-sdk'
24
21
  // TODO: Update the object below with actual values
25
22
  const example = {
26
23
  "id": null,
27
- "user": null,
24
+ "firstName": null,
25
+ "lastName": null,
26
+ "email": null,
27
+ "phone": null,
28
28
  "site": null,
29
- "type": null,
30
- "signUpType": null,
31
- "subscribedToNewsletter": null,
32
- "netsuiteId": null,
33
- "ordersCount": null,
34
- "createdAt": null,
35
29
  } satisfies CustomerListResource
36
30
 
37
31
  console.log(example)
@@ -7,17 +7,12 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `id` | number
10
- `user` | [UserLiteResource](UserLiteResource.md)
10
+ `firstName` | string
11
+ `lastName` | string
12
+ `email` | string
13
+ `phone` | string
11
14
  `site` | [SiteLiteResource](SiteLiteResource.md)
12
- `type` | string
13
- `signUpType` | string
14
- `socialId` | string
15
- `subscribedToNewsletter` | boolean
16
- `netsuiteSync` | [NetsuiteSyncLiteResource](NetsuiteSyncLiteResource.md)
17
- `omnisendSync` | [OmnisendSyncLiteResource](OmnisendSyncLiteResource.md)
18
- `addresses` | [Array<AddressResource>](AddressResource.md)
19
- `createdAt` | Date
20
- `updatedAt` | Date
15
+ `addresses` | [Array<LiAddressResource>](LiAddressResource.md)
21
16
 
22
17
  ## Example
23
18
 
@@ -27,17 +22,12 @@ import type { CustomerResource } from '@digital8/lighting-illusions-ts-sdk'
27
22
  // TODO: Update the object below with actual values
28
23
  const example = {
29
24
  "id": null,
30
- "user": null,
25
+ "firstName": null,
26
+ "lastName": null,
27
+ "email": null,
28
+ "phone": null,
31
29
  "site": null,
32
- "type": null,
33
- "signUpType": null,
34
- "socialId": null,
35
- "subscribedToNewsletter": null,
36
- "netsuiteSync": null,
37
- "omnisendSync": null,
38
30
  "addresses": null,
39
- "createdAt": null,
40
- "updatedAt": null,
41
31
  } satisfies CustomerResource
42
32
 
43
33
  console.log(example)
@@ -4,216 +4,12 @@ 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
- | [**destroyCustomerAddress**](CustomersApi.md#destroycustomeraddress) | **DELETE** /admin-api/customers/{customer}/addresses/{address} | Auto-generated: destroyCustomerAddress |
9
- | [**getAllCustomer**](CustomersApi.md#getallcustomer) | **POST** /admin-api/customers/all | Auto-generated: getAllCustomer |
10
7
  | [**indexCustomer**](CustomersApi.md#indexcustomer) | **POST** /admin-api/customers/list | Auto-generated: indexCustomer |
11
8
  | [**showCustomer**](CustomersApi.md#showcustomer) | **GET** /admin-api/customers/{customer} | Auto-generated: showCustomer |
12
9
  | [**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
- | [**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
10
 
17
11
 
18
12
 
19
- ## destroyCustomer
20
-
21
- > GenericResponse destroyCustomer(customer)
22
-
23
- Auto-generated: destroyCustomer
24
-
25
- ### Example
26
-
27
- ```ts
28
- import {
29
- Configuration,
30
- CustomersApi,
31
- } from '@digital8/lighting-illusions-ts-sdk';
32
- import type { DestroyCustomerRequest } from '@digital8/lighting-illusions-ts-sdk';
33
-
34
- async function example() {
35
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
36
- const api = new CustomersApi();
37
-
38
- const body = {
39
- // number | The id of the customer
40
- customer: 56,
41
- } satisfies DestroyCustomerRequest;
42
-
43
- try {
44
- const data = await api.destroyCustomer(body);
45
- console.log(data);
46
- } catch (error) {
47
- console.error(error);
48
- }
49
- }
50
-
51
- // Run the test
52
- example().catch(console.error);
53
- ```
54
-
55
- ### Parameters
56
-
57
-
58
- | Name | Type | Description | Notes |
59
- |------------- | ------------- | ------------- | -------------|
60
- | **customer** | `number` | The id of the customer | [Defaults to `undefined`] |
61
-
62
- ### Return type
63
-
64
- [**GenericResponse**](GenericResponse.md)
65
-
66
- ### Authorization
67
-
68
- No authorization required
69
-
70
- ### HTTP request headers
71
-
72
- - **Content-Type**: Not defined
73
- - **Accept**: `application/json`
74
-
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
-
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
- ## getAllCustomer
153
-
154
- > CustomerLiteResourceArrayResponse getAllCustomer(searchAllCustomersRequest)
155
-
156
- Auto-generated: getAllCustomer
157
-
158
- ### Example
159
-
160
- ```ts
161
- import {
162
- Configuration,
163
- CustomersApi,
164
- } from '@digital8/lighting-illusions-ts-sdk';
165
- import type { GetAllCustomerRequest } from '@digital8/lighting-illusions-ts-sdk';
166
-
167
- async function example() {
168
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
169
- const api = new CustomersApi();
170
-
171
- const body = {
172
- // SearchAllCustomersRequest (optional)
173
- searchAllCustomersRequest: ...,
174
- } satisfies GetAllCustomerRequest;
175
-
176
- try {
177
- const data = await api.getAllCustomer(body);
178
- console.log(data);
179
- } catch (error) {
180
- console.error(error);
181
- }
182
- }
183
-
184
- // Run the test
185
- example().catch(console.error);
186
- ```
187
-
188
- ### Parameters
189
-
190
-
191
- | Name | Type | Description | Notes |
192
- |------------- | ------------- | ------------- | -------------|
193
- | **searchAllCustomersRequest** | [SearchAllCustomersRequest](SearchAllCustomersRequest.md) | | [Optional] |
194
-
195
- ### Return type
196
-
197
- [**CustomerLiteResourceArrayResponse**](CustomerLiteResourceArrayResponse.md)
198
-
199
- ### Authorization
200
-
201
- No authorization required
202
-
203
- ### HTTP request headers
204
-
205
- - **Content-Type**: `application/json`
206
- - **Accept**: `application/json`
207
-
208
-
209
- ### HTTP response details
210
- | Status code | Description | Response headers |
211
- |-------------|-------------|------------------|
212
- | **200** | Successful resource response | - |
213
-
214
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
215
-
216
-
217
13
  ## indexCustomer
218
14
 
219
15
  > PaginatedCustomerListResourceResponse indexCustomer(searchCustomersRequest)
@@ -408,210 +204,3 @@ No authorization required
408
204
 
409
205
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
410
206
 
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
-
480
- ## updateCustomer
481
-
482
- > CustomerResource updateCustomer(customer, updateCustomerRequest)
483
-
484
- Auto-generated: updateCustomer
485
-
486
- ### Example
487
-
488
- ```ts
489
- import {
490
- Configuration,
491
- CustomersApi,
492
- } from '@digital8/lighting-illusions-ts-sdk';
493
- import type { UpdateCustomerOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
494
-
495
- async function example() {
496
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
497
- const api = new CustomersApi();
498
-
499
- const body = {
500
- // number | The id of the customer
501
- customer: 56,
502
- // UpdateCustomerRequest (optional)
503
- updateCustomerRequest: ...,
504
- } satisfies UpdateCustomerOperationRequest;
505
-
506
- try {
507
- const data = await api.updateCustomer(body);
508
- console.log(data);
509
- } catch (error) {
510
- console.error(error);
511
- }
512
- }
513
-
514
- // Run the test
515
- example().catch(console.error);
516
- ```
517
-
518
- ### Parameters
519
-
520
-
521
- | Name | Type | Description | Notes |
522
- |------------- | ------------- | ------------- | -------------|
523
- | **customer** | `number` | The id of the customer | [Defaults to `undefined`] |
524
- | **updateCustomerRequest** | [UpdateCustomerRequest](UpdateCustomerRequest.md) | | [Optional] |
525
-
526
- ### Return type
527
-
528
- [**CustomerResource**](CustomerResource.md)
529
-
530
- ### Authorization
531
-
532
- No authorization required
533
-
534
- ### HTTP request headers
535
-
536
- - **Content-Type**: `application/json`
537
- - **Accept**: `application/json`
538
-
539
-
540
- ### HTTP response details
541
- | Status code | Description | Response headers |
542
- |-------------|-------------|------------------|
543
- | **200** | Successful resource response | - |
544
-
545
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
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
-
@@ -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
- # PaginatedPermissionLiteResourceResponse
2
+ # PaginatedProductClassLiteResourceResponse
3
3
 
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `data` | [Array<PermissionLiteResource>](PermissionLiteResource.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 { PaginatedPermissionLiteResourceResponse } 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 PaginatedPermissionLiteResourceResponse
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 PaginatedPermissionLiteResourceResponse
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
+