@digital8/lighting-illusions-ts-sdk 0.0.2311 → 0.0.2313

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 (239) hide show
  1. package/.openapi-generator/FILES +32 -64
  2. package/README.md +23 -42
  3. package/dist/apis/CouponsApi.d.ts +116 -0
  4. package/dist/apis/{AdminsApi.js → CouponsApi.js} +85 -85
  5. package/dist/apis/CustomersApi.d.ts +0 -50
  6. package/dist/apis/CustomersApi.js +0 -182
  7. package/dist/apis/index.d.ts +1 -1
  8. package/dist/apis/index.js +1 -1
  9. package/dist/models/AddressFrontendResource.d.ts +1 -1
  10. package/dist/models/AddressFrontendResource.js +1 -3
  11. package/dist/models/AddressResource.d.ts +1 -1
  12. package/dist/models/AddressResource.js +3 -1
  13. package/dist/models/AddressType.d.ts +0 -2
  14. package/dist/models/AddressType.js +1 -3
  15. package/dist/models/CouponListResource.d.ts +99 -0
  16. package/dist/models/CouponListResource.js +90 -0
  17. package/dist/models/CouponListResourceArrayResponse.d.ts +33 -0
  18. package/dist/models/CouponListResourceArrayResponse.js +50 -0
  19. package/dist/models/CouponLiteResource.d.ts +44 -0
  20. package/dist/models/CouponLiteResource.js +57 -0
  21. package/dist/models/CouponLiteResourceArrayResponse.d.ts +33 -0
  22. package/dist/models/CouponLiteResourceArrayResponse.js +50 -0
  23. package/dist/models/CouponResource.d.ts +169 -0
  24. package/dist/models/CouponResource.js +138 -0
  25. package/dist/models/CouponResourceArrayResponse.d.ts +33 -0
  26. package/dist/models/CouponResourceArrayResponse.js +50 -0
  27. package/dist/models/CouponType.d.ts +26 -0
  28. package/dist/models/CouponType.js +52 -0
  29. package/dist/models/CreateCouponRequest.d.ts +134 -0
  30. package/dist/models/CreateCouponRequest.js +114 -0
  31. package/dist/models/CreateCouponRequestCouponablesInner.d.ts +48 -0
  32. package/dist/models/CreateCouponRequestCouponablesInner.js +61 -0
  33. package/dist/models/CreateCustomerRequest.d.ts +6 -18
  34. package/dist/models/CreateCustomerRequest.js +6 -12
  35. package/dist/models/CustomerListResource.d.ts +8 -21
  36. package/dist/models/CustomerListResource.js +13 -20
  37. package/dist/models/CustomerResource.d.ts +9 -34
  38. package/dist/models/CustomerResource.js +16 -27
  39. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  40. package/dist/models/ExternalApiLogResource.js +3 -1
  41. package/dist/models/OrderFulfillmentResource.d.ts +2 -2
  42. package/dist/models/OrderFulfillmentResource.js +3 -3
  43. package/dist/models/PaginatedCouponListResourceResponse.d.ts +40 -0
  44. package/dist/models/PaginatedCouponListResourceResponse.js +57 -0
  45. package/dist/models/PaginatedCouponLiteResourceResponse.d.ts +40 -0
  46. package/dist/models/PaginatedCouponLiteResourceResponse.js +57 -0
  47. package/dist/models/PaginatedCouponResourceResponse.d.ts +40 -0
  48. package/dist/models/PaginatedCouponResourceResponse.js +57 -0
  49. package/dist/models/SearchAllCouponsRequest.d.ts +101 -0
  50. package/dist/models/{SearchAllCustomersRequest.js → SearchAllCouponsRequest.js} +25 -27
  51. package/dist/models/SearchCartsRequest.d.ts +6 -0
  52. package/dist/models/SearchCartsRequest.js +2 -0
  53. package/dist/models/SearchCouponsRequest.d.ts +137 -0
  54. package/dist/models/SearchCouponsRequest.js +97 -0
  55. package/dist/models/SearchCustomersRequest.d.ts +3 -31
  56. package/dist/models/SearchCustomersRequest.js +3 -15
  57. package/dist/models/SearchOrdersRequest.d.ts +6 -0
  58. package/dist/models/SearchOrdersRequest.js +2 -0
  59. package/dist/models/StoreFrontendResource.d.ts +1 -1
  60. package/dist/models/StoreFrontendResource.js +3 -1
  61. package/dist/models/StoreResource.d.ts +1 -1
  62. package/dist/models/StoreResource.js +3 -1
  63. package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
  64. package/dist/models/StoreSpecialDateFrontendResource.js +1 -3
  65. package/dist/models/UpdateCouponRequest.d.ts +128 -0
  66. package/dist/models/UpdateCouponRequest.js +110 -0
  67. package/dist/models/index.d.ts +15 -31
  68. package/dist/models/index.js +15 -31
  69. package/docs/{CustomerFrontendResource.md → CouponListResource.md} +22 -12
  70. package/docs/{AdminListResourceArrayResponse.md → CouponListResourceArrayResponse.md} +5 -5
  71. package/docs/{RoleLiteResource.md → CouponLiteResource.md} +6 -4
  72. package/docs/{RoleLiteResourceArrayResponse.md → CouponLiteResourceArrayResponse.md} +5 -5
  73. package/docs/CouponResource.md +78 -0
  74. package/docs/{AdminResourceArrayResponse.md → CouponResourceArrayResponse.md} +5 -5
  75. package/docs/{SignUpType.md → CouponType.md} +4 -4
  76. package/docs/{AdminsApi.md → CouponsApi.md} +82 -82
  77. package/docs/CreateCouponRequest.md +62 -0
  78. package/docs/{AdminLiteResource.md → CreateCouponRequestCouponablesInner.md} +6 -6
  79. package/docs/CreateCustomerRequest.md +4 -8
  80. package/docs/CustomerListResource.md +8 -12
  81. package/docs/CustomerResource.md +9 -17
  82. package/docs/CustomersApi.md +0 -201
  83. package/docs/{PaginatedAdminListResourceResponse.md → PaginatedCouponListResourceResponse.md} +5 -5
  84. package/docs/{PaginatedAdminLiteResourceResponse.md → PaginatedCouponLiteResourceResponse.md} +5 -5
  85. package/docs/{PaginatedRoleLiteResourceResponse.md → PaginatedCouponResourceResponse.md} +5 -5
  86. package/docs/{SearchAllCustomersRequest.md → SearchAllCouponsRequest.md} +8 -8
  87. package/docs/SearchCartsRequest.md +2 -0
  88. package/docs/{SearchAdminUsersRequest.md → SearchCouponsRequest.md} +18 -10
  89. package/docs/SearchCustomersRequest.md +0 -8
  90. package/docs/SearchOrdersRequest.md +2 -0
  91. package/docs/StoreSpecialDateFrontendResource.md +1 -1
  92. package/docs/UpdateCouponRequest.md +60 -0
  93. package/package.json +1 -1
  94. package/src/apis/CouponsApi.ts +345 -0
  95. package/src/apis/CustomersApi.ts +0 -166
  96. package/src/apis/index.ts +1 -1
  97. package/src/models/AddressFrontendResource.ts +2 -3
  98. package/src/models/AddressResource.ts +3 -2
  99. package/src/models/AddressType.ts +1 -3
  100. package/src/models/CouponListResource.ts +170 -0
  101. package/src/models/CouponListResourceArrayResponse.ts +73 -0
  102. package/src/models/CouponLiteResource.ts +83 -0
  103. package/src/models/CouponLiteResourceArrayResponse.ts +73 -0
  104. package/src/models/CouponResource.ts +297 -0
  105. package/src/models/CouponResourceArrayResponse.ts +73 -0
  106. package/src/models/CouponType.ts +54 -0
  107. package/src/models/CreateCouponRequest.ts +216 -0
  108. package/src/models/CreateCouponRequestCouponablesInner.ts +86 -0
  109. package/src/models/CreateCustomerRequest.ts +11 -28
  110. package/src/models/CustomerListResource.ts +20 -44
  111. package/src/models/CustomerResource.ts +28 -68
  112. package/src/models/ExternalApiLogResource.ts +3 -2
  113. package/src/models/OrderFulfillmentResource.ts +5 -5
  114. package/src/models/PaginatedCouponListResourceResponse.ts +90 -0
  115. package/src/models/PaginatedCouponLiteResourceResponse.ts +90 -0
  116. package/src/models/PaginatedCouponResourceResponse.ts +90 -0
  117. package/src/models/SearchAllCouponsRequest.ts +154 -0
  118. package/src/models/SearchCartsRequest.ts +8 -0
  119. package/src/models/SearchCouponsRequest.ts +202 -0
  120. package/src/models/SearchCustomersRequest.ts +3 -39
  121. package/src/models/SearchOrdersRequest.ts +8 -0
  122. package/src/models/StoreFrontendResource.ts +3 -2
  123. package/src/models/StoreResource.ts +3 -2
  124. package/src/models/StoreSpecialDateFrontendResource.ts +3 -4
  125. package/src/models/UpdateCouponRequest.ts +207 -0
  126. package/src/models/index.ts +15 -31
  127. package/dist/apis/AdminsApi.d.ts +0 -116
  128. package/dist/models/AdminListResource.d.ts +0 -52
  129. package/dist/models/AdminListResource.js +0 -61
  130. package/dist/models/AdminListResourceArrayResponse.d.ts +0 -33
  131. package/dist/models/AdminListResourceArrayResponse.js +0 -50
  132. package/dist/models/AdminLiteResource.d.ts +0 -39
  133. package/dist/models/AdminLiteResource.js +0 -54
  134. package/dist/models/AdminLiteResourceArrayResponse.d.ts +0 -33
  135. package/dist/models/AdminLiteResourceArrayResponse.js +0 -50
  136. package/dist/models/AdminResource.d.ts +0 -58
  137. package/dist/models/AdminResource.js +0 -63
  138. package/dist/models/AdminResourceArrayResponse.d.ts +0 -33
  139. package/dist/models/AdminResourceArrayResponse.js +0 -50
  140. package/dist/models/CheckEmailFrontendResource.d.ts +0 -38
  141. package/dist/models/CheckEmailFrontendResource.js +0 -53
  142. package/dist/models/CheckEmailFrontendResourceArrayResponse.d.ts +0 -33
  143. package/dist/models/CheckEmailFrontendResourceArrayResponse.js +0 -50
  144. package/dist/models/CreateAdminUserRequest.d.ts +0 -62
  145. package/dist/models/CreateAdminUserRequest.js +0 -69
  146. package/dist/models/CustomerAuthResponseResource.d.ts +0 -39
  147. package/dist/models/CustomerAuthResponseResource.js +0 -56
  148. package/dist/models/CustomerAuthResponseResourceArrayResponse.d.ts +0 -33
  149. package/dist/models/CustomerAuthResponseResourceArrayResponse.js +0 -50
  150. package/dist/models/CustomerFrontendResource.d.ts +0 -70
  151. package/dist/models/CustomerFrontendResource.js +0 -75
  152. package/dist/models/CustomerFrontendResourceArrayResponse.d.ts +0 -33
  153. package/dist/models/CustomerFrontendResourceArrayResponse.js +0 -50
  154. package/dist/models/CustomerSocialLinkableResource.d.ts +0 -38
  155. package/dist/models/CustomerSocialLinkableResource.js +0 -55
  156. package/dist/models/CustomerSocialLinkableResourceArrayResponse.d.ts +0 -33
  157. package/dist/models/CustomerSocialLinkableResourceArrayResponse.js +0 -50
  158. package/dist/models/CustomerType.d.ts +0 -25
  159. package/dist/models/CustomerType.js +0 -51
  160. package/dist/models/PaginatedAdminListResourceResponse.d.ts +0 -40
  161. package/dist/models/PaginatedAdminListResourceResponse.js +0 -57
  162. package/dist/models/PaginatedAdminLiteResourceResponse.d.ts +0 -40
  163. package/dist/models/PaginatedAdminLiteResourceResponse.js +0 -57
  164. package/dist/models/PaginatedRoleLiteResourceResponse.d.ts +0 -40
  165. package/dist/models/PaginatedRoleLiteResourceResponse.js +0 -57
  166. package/dist/models/RoleLiteResource.d.ts +0 -38
  167. package/dist/models/RoleLiteResource.js +0 -53
  168. package/dist/models/RoleLiteResourceArrayResponse.d.ts +0 -33
  169. package/dist/models/RoleLiteResourceArrayResponse.js +0 -50
  170. package/dist/models/SearchAdminUsersRequest.d.ts +0 -112
  171. package/dist/models/SearchAdminUsersRequest.js +0 -88
  172. package/dist/models/SearchAllAdminUsersRequest.d.ts +0 -82
  173. package/dist/models/SearchAllAdminUsersRequest.js +0 -78
  174. package/dist/models/SearchAllCustomersRequest.d.ts +0 -103
  175. package/dist/models/SignUpType.d.ts +0 -29
  176. package/dist/models/SignUpType.js +0 -55
  177. package/dist/models/SocialProvider.d.ts +0 -26
  178. package/dist/models/SocialProvider.js +0 -52
  179. package/dist/models/UpdateAdminUserRequest.d.ts +0 -62
  180. package/dist/models/UpdateAdminUserRequest.js +0 -67
  181. package/dist/models/UpdateCustomerRequest.d.ts +0 -62
  182. package/dist/models/UpdateCustomerRequest.js +0 -65
  183. package/dist/models/UserLiteResource.d.ts +0 -62
  184. package/dist/models/UserLiteResource.js +0 -69
  185. package/dist/models/UserLiteResourceArrayResponse.d.ts +0 -33
  186. package/dist/models/UserLiteResourceArrayResponse.js +0 -50
  187. package/dist/models/UserType.d.ts +0 -25
  188. package/dist/models/UserType.js +0 -51
  189. package/docs/AdminListResource.md +0 -40
  190. package/docs/AdminLiteResourceArrayResponse.md +0 -34
  191. package/docs/AdminResource.md +0 -42
  192. package/docs/CheckEmailFrontendResource.md +0 -36
  193. package/docs/CheckEmailFrontendResourceArrayResponse.md +0 -34
  194. package/docs/CreateAdminUserRequest.md +0 -44
  195. package/docs/CustomerAuthResponseResource.md +0 -36
  196. package/docs/CustomerAuthResponseResourceArrayResponse.md +0 -34
  197. package/docs/CustomerFrontendResourceArrayResponse.md +0 -34
  198. package/docs/CustomerSocialLinkableResource.md +0 -36
  199. package/docs/CustomerSocialLinkableResourceArrayResponse.md +0 -34
  200. package/docs/CustomerType.md +0 -32
  201. package/docs/SearchAllAdminUsersRequest.md +0 -44
  202. package/docs/SocialProvider.md +0 -32
  203. package/docs/UpdateAdminUserRequest.md +0 -44
  204. package/docs/UpdateCustomerRequest.md +0 -44
  205. package/docs/UserLiteResource.md +0 -44
  206. package/docs/UserLiteResourceArrayResponse.md +0 -34
  207. package/docs/UserType.md +0 -32
  208. package/src/apis/AdminsApi.ts +0 -345
  209. package/src/models/AdminListResource.ts +0 -106
  210. package/src/models/AdminListResourceArrayResponse.ts +0 -73
  211. package/src/models/AdminLiteResource.ts +0 -82
  212. package/src/models/AdminLiteResourceArrayResponse.ts +0 -73
  213. package/src/models/AdminResource.ts +0 -114
  214. package/src/models/AdminResourceArrayResponse.ts +0 -73
  215. package/src/models/CheckEmailFrontendResource.ts +0 -74
  216. package/src/models/CheckEmailFrontendResourceArrayResponse.ts +0 -73
  217. package/src/models/CreateAdminUserRequest.ts +0 -110
  218. package/src/models/CustomerAuthResponseResource.ts +0 -83
  219. package/src/models/CustomerAuthResponseResourceArrayResponse.ts +0 -73
  220. package/src/models/CustomerFrontendResource.ts +0 -134
  221. package/src/models/CustomerFrontendResourceArrayResponse.ts +0 -73
  222. package/src/models/CustomerSocialLinkableResource.ts +0 -75
  223. package/src/models/CustomerSocialLinkableResourceArrayResponse.ts +0 -73
  224. package/src/models/CustomerType.ts +0 -53
  225. package/src/models/PaginatedAdminListResourceResponse.ts +0 -90
  226. package/src/models/PaginatedAdminLiteResourceResponse.ts +0 -90
  227. package/src/models/PaginatedRoleLiteResourceResponse.ts +0 -90
  228. package/src/models/RoleLiteResource.ts +0 -74
  229. package/src/models/RoleLiteResourceArrayResponse.ts +0 -73
  230. package/src/models/SearchAdminUsersRequest.ts +0 -169
  231. package/src/models/SearchAllAdminUsersRequest.ts +0 -129
  232. package/src/models/SearchAllCustomersRequest.ts +0 -156
  233. package/src/models/SignUpType.ts +0 -57
  234. package/src/models/SocialProvider.ts +0 -54
  235. package/src/models/UpdateAdminUserRequest.ts +0 -109
  236. package/src/models/UpdateCustomerRequest.ts +0 -108
  237. package/src/models/UserLiteResource.ts +0 -110
  238. package/src/models/UserLiteResourceArrayResponse.ts +0 -73
  239. package/src/models/UserType.ts +0 -53
@@ -1,69 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfUserLiteResource = instanceOfUserLiteResource;
17
- exports.UserLiteResourceFromJSON = UserLiteResourceFromJSON;
18
- exports.UserLiteResourceFromJSONTyped = UserLiteResourceFromJSONTyped;
19
- exports.UserLiteResourceToJSON = UserLiteResourceToJSON;
20
- exports.UserLiteResourceToJSONTyped = UserLiteResourceToJSONTyped;
21
- /**
22
- * Check if a given object implements the UserLiteResource interface.
23
- */
24
- function instanceOfUserLiteResource(value) {
25
- if (!('firstName' in value) || value['firstName'] === undefined)
26
- return false;
27
- if (!('lastName' in value) || value['lastName'] === undefined)
28
- return false;
29
- if (!('email' in value) || value['email'] === undefined)
30
- return false;
31
- if (!('phone' in value) || value['phone'] === undefined)
32
- return false;
33
- if (!('fullName' in value) || value['fullName'] === undefined)
34
- return false;
35
- return true;
36
- }
37
- function UserLiteResourceFromJSON(json) {
38
- return UserLiteResourceFromJSONTyped(json, false);
39
- }
40
- function UserLiteResourceFromJSONTyped(json, ignoreDiscriminator) {
41
- if (json == null) {
42
- return json;
43
- }
44
- return {
45
- 'id': json['id'] == null ? undefined : json['id'],
46
- 'firstName': json['firstName'],
47
- 'lastName': json['lastName'],
48
- 'email': json['email'],
49
- 'phone': json['phone'],
50
- 'fullName': json['fullName'],
51
- };
52
- }
53
- function UserLiteResourceToJSON(json) {
54
- return UserLiteResourceToJSONTyped(json, false);
55
- }
56
- function UserLiteResourceToJSONTyped(value, ignoreDiscriminator) {
57
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
58
- if (value == null) {
59
- return value;
60
- }
61
- return {
62
- 'id': value['id'],
63
- 'firstName': value['firstName'],
64
- 'lastName': value['lastName'],
65
- 'email': value['email'],
66
- 'phone': value['phone'],
67
- 'fullName': value['fullName'],
68
- };
69
- }
@@ -1,33 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { UserLiteResource } from './UserLiteResource';
13
- /**
14
- *
15
- * @export
16
- * @interface UserLiteResourceArrayResponse
17
- */
18
- export interface UserLiteResourceArrayResponse {
19
- /**
20
- *
21
- * @type {Array<UserLiteResource>}
22
- * @memberof UserLiteResourceArrayResponse
23
- */
24
- data?: Array<UserLiteResource>;
25
- }
26
- /**
27
- * Check if a given object implements the UserLiteResourceArrayResponse interface.
28
- */
29
- export declare function instanceOfUserLiteResourceArrayResponse(value: object): value is UserLiteResourceArrayResponse;
30
- export declare function UserLiteResourceArrayResponseFromJSON(json: any): UserLiteResourceArrayResponse;
31
- export declare function UserLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserLiteResourceArrayResponse;
32
- export declare function UserLiteResourceArrayResponseToJSON(json: any): UserLiteResourceArrayResponse;
33
- export declare function UserLiteResourceArrayResponseToJSONTyped(value?: UserLiteResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,50 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfUserLiteResourceArrayResponse = instanceOfUserLiteResourceArrayResponse;
17
- exports.UserLiteResourceArrayResponseFromJSON = UserLiteResourceArrayResponseFromJSON;
18
- exports.UserLiteResourceArrayResponseFromJSONTyped = UserLiteResourceArrayResponseFromJSONTyped;
19
- exports.UserLiteResourceArrayResponseToJSON = UserLiteResourceArrayResponseToJSON;
20
- exports.UserLiteResourceArrayResponseToJSONTyped = UserLiteResourceArrayResponseToJSONTyped;
21
- var UserLiteResource_1 = require("./UserLiteResource");
22
- /**
23
- * Check if a given object implements the UserLiteResourceArrayResponse interface.
24
- */
25
- function instanceOfUserLiteResourceArrayResponse(value) {
26
- return true;
27
- }
28
- function UserLiteResourceArrayResponseFromJSON(json) {
29
- return UserLiteResourceArrayResponseFromJSONTyped(json, false);
30
- }
31
- function UserLiteResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'data': json['data'] == null ? undefined : (json['data'].map(UserLiteResource_1.UserLiteResourceFromJSON)),
37
- };
38
- }
39
- function UserLiteResourceArrayResponseToJSON(json) {
40
- return UserLiteResourceArrayResponseToJSONTyped(json, false);
41
- }
42
- function UserLiteResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
43
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
44
- if (value == null) {
45
- return value;
46
- }
47
- return {
48
- 'data': value['data'] == null ? undefined : (value['data'].map(UserLiteResource_1.UserLiteResourceToJSON)),
49
- };
50
- }
@@ -1,25 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- */
16
- export declare const UserType: {
17
- readonly Admin: "admin";
18
- readonly Customer: "customer";
19
- };
20
- export type UserType = typeof UserType[keyof typeof UserType];
21
- export declare function instanceOfUserType(value: any): boolean;
22
- export declare function UserTypeFromJSON(json: any): UserType;
23
- export declare function UserTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserType;
24
- export declare function UserTypeToJSON(value?: UserType | null): any;
25
- export declare function UserTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): UserType;
@@ -1,51 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.UserType = void 0;
17
- exports.instanceOfUserType = instanceOfUserType;
18
- exports.UserTypeFromJSON = UserTypeFromJSON;
19
- exports.UserTypeFromJSONTyped = UserTypeFromJSONTyped;
20
- exports.UserTypeToJSON = UserTypeToJSON;
21
- exports.UserTypeToJSONTyped = UserTypeToJSONTyped;
22
- /**
23
- *
24
- * @export
25
- */
26
- exports.UserType = {
27
- Admin: 'admin',
28
- Customer: 'customer'
29
- };
30
- function instanceOfUserType(value) {
31
- for (var key in exports.UserType) {
32
- if (Object.prototype.hasOwnProperty.call(exports.UserType, key)) {
33
- if (exports.UserType[key] === value) {
34
- return true;
35
- }
36
- }
37
- }
38
- return false;
39
- }
40
- function UserTypeFromJSON(json) {
41
- return UserTypeFromJSONTyped(json, false);
42
- }
43
- function UserTypeFromJSONTyped(json, ignoreDiscriminator) {
44
- return json;
45
- }
46
- function UserTypeToJSON(value) {
47
- return value;
48
- }
49
- function UserTypeToJSONTyped(value, ignoreDiscriminator) {
50
- return value;
51
- }
@@ -1,40 +0,0 @@
1
-
2
- # AdminListResource
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `id` | number
10
- `user` | [UserLiteResource](UserLiteResource.md)
11
- `roles` | [Array&lt;RoleLiteResource&gt;](RoleLiteResource.md)
12
- `createdAt` | Date
13
-
14
- ## Example
15
-
16
- ```typescript
17
- import type { AdminListResource } from '@digital8/lighting-illusions-ts-sdk'
18
-
19
- // TODO: Update the object below with actual values
20
- const example = {
21
- "id": null,
22
- "user": null,
23
- "roles": null,
24
- "createdAt": null,
25
- } satisfies AdminListResource
26
-
27
- console.log(example)
28
-
29
- // Convert the instance to a JSON string
30
- const exampleJSON: string = JSON.stringify(example)
31
- console.log(exampleJSON)
32
-
33
- // Parse the JSON string back to an object
34
- const exampleParsed = JSON.parse(exampleJSON) as AdminListResource
35
- console.log(exampleParsed)
36
- ```
37
-
38
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
39
-
40
-
@@ -1,34 +0,0 @@
1
-
2
- # AdminLiteResourceArrayResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `data` | [Array&lt;AdminLiteResource&gt;](AdminLiteResource.md)
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import type { AdminLiteResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
-
16
- // TODO: Update the object below with actual values
17
- const example = {
18
- "data": null,
19
- } satisfies AdminLiteResourceArrayResponse
20
-
21
- console.log(example)
22
-
23
- // Convert the instance to a JSON string
24
- const exampleJSON: string = JSON.stringify(example)
25
- console.log(exampleJSON)
26
-
27
- // Parse the JSON string back to an object
28
- const exampleParsed = JSON.parse(exampleJSON) as AdminLiteResourceArrayResponse
29
- console.log(exampleParsed)
30
- ```
31
-
32
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
-
34
-
@@ -1,42 +0,0 @@
1
-
2
- # AdminResource
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `id` | number
10
- `user` | [UserLiteResource](UserLiteResource.md)
11
- `roles` | [Array&lt;RoleLiteResource&gt;](RoleLiteResource.md)
12
- `createdAt` | Date
13
- `updatedAt` | Date
14
-
15
- ## Example
16
-
17
- ```typescript
18
- import type { AdminResource } from '@digital8/lighting-illusions-ts-sdk'
19
-
20
- // TODO: Update the object below with actual values
21
- const example = {
22
- "id": null,
23
- "user": null,
24
- "roles": null,
25
- "createdAt": null,
26
- "updatedAt": null,
27
- } satisfies AdminResource
28
-
29
- console.log(example)
30
-
31
- // Convert the instance to a JSON string
32
- const exampleJSON: string = JSON.stringify(example)
33
- console.log(exampleJSON)
34
-
35
- // Parse the JSON string back to an object
36
- const exampleParsed = JSON.parse(exampleJSON) as AdminResource
37
- console.log(exampleParsed)
38
- ```
39
-
40
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
41
-
42
-
@@ -1,36 +0,0 @@
1
-
2
- # CheckEmailFrontendResource
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `_exists` | boolean
10
- `name` | string
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import type { CheckEmailFrontendResource } from '@digital8/lighting-illusions-ts-sdk'
16
-
17
- // TODO: Update the object below with actual values
18
- const example = {
19
- "_exists": null,
20
- "name": null,
21
- } satisfies CheckEmailFrontendResource
22
-
23
- console.log(example)
24
-
25
- // Convert the instance to a JSON string
26
- const exampleJSON: string = JSON.stringify(example)
27
- console.log(exampleJSON)
28
-
29
- // Parse the JSON string back to an object
30
- const exampleParsed = JSON.parse(exampleJSON) as CheckEmailFrontendResource
31
- console.log(exampleParsed)
32
- ```
33
-
34
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
-
36
-
@@ -1,34 +0,0 @@
1
-
2
- # CheckEmailFrontendResourceArrayResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `data` | [Array&lt;CheckEmailFrontendResource&gt;](CheckEmailFrontendResource.md)
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import type { CheckEmailFrontendResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
-
16
- // TODO: Update the object below with actual values
17
- const example = {
18
- "data": null,
19
- } satisfies CheckEmailFrontendResourceArrayResponse
20
-
21
- console.log(example)
22
-
23
- // Convert the instance to a JSON string
24
- const exampleJSON: string = JSON.stringify(example)
25
- console.log(exampleJSON)
26
-
27
- // Parse the JSON string back to an object
28
- const exampleParsed = JSON.parse(exampleJSON) as CheckEmailFrontendResourceArrayResponse
29
- console.log(exampleParsed)
30
- ```
31
-
32
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
-
34
-
@@ -1,44 +0,0 @@
1
-
2
- # CreateAdminUserRequest
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `firstName` | string
10
- `lastName` | string
11
- `phone` | string
12
- `password` | string
13
- `email` | string
14
- `roleIds` | Array&lt;number&gt;
15
-
16
- ## Example
17
-
18
- ```typescript
19
- import type { CreateAdminUserRequest } from '@digital8/lighting-illusions-ts-sdk'
20
-
21
- // TODO: Update the object below with actual values
22
- const example = {
23
- "firstName": null,
24
- "lastName": null,
25
- "phone": null,
26
- "password": null,
27
- "email": null,
28
- "roleIds": null,
29
- } satisfies CreateAdminUserRequest
30
-
31
- console.log(example)
32
-
33
- // Convert the instance to a JSON string
34
- const exampleJSON: string = JSON.stringify(example)
35
- console.log(exampleJSON)
36
-
37
- // Parse the JSON string back to an object
38
- const exampleParsed = JSON.parse(exampleJSON) as CreateAdminUserRequest
39
- console.log(exampleParsed)
40
- ```
41
-
42
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
43
-
44
-
@@ -1,36 +0,0 @@
1
-
2
- # CustomerAuthResponseResource
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `token` | string
10
- `customer` | [CustomerFrontendResource](CustomerFrontendResource.md)
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import type { CustomerAuthResponseResource } from '@digital8/lighting-illusions-ts-sdk'
16
-
17
- // TODO: Update the object below with actual values
18
- const example = {
19
- "token": null,
20
- "customer": null,
21
- } satisfies CustomerAuthResponseResource
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 CustomerAuthResponseResource
31
- console.log(exampleParsed)
32
- ```
33
-
34
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
-
36
-
@@ -1,34 +0,0 @@
1
-
2
- # CustomerAuthResponseResourceArrayResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `data` | [Array&lt;CustomerAuthResponseResource&gt;](CustomerAuthResponseResource.md)
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import type { CustomerAuthResponseResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
-
16
- // TODO: Update the object below with actual values
17
- const example = {
18
- "data": null,
19
- } satisfies CustomerAuthResponseResourceArrayResponse
20
-
21
- console.log(example)
22
-
23
- // Convert the instance to a JSON string
24
- const exampleJSON: string = JSON.stringify(example)
25
- console.log(exampleJSON)
26
-
27
- // Parse the JSON string back to an object
28
- const exampleParsed = JSON.parse(exampleJSON) as CustomerAuthResponseResourceArrayResponse
29
- console.log(exampleParsed)
30
- ```
31
-
32
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
-
34
-
@@ -1,34 +0,0 @@
1
-
2
- # CustomerFrontendResourceArrayResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `data` | [Array&lt;CustomerFrontendResource&gt;](CustomerFrontendResource.md)
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import type { CustomerFrontendResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
-
16
- // TODO: Update the object below with actual values
17
- const example = {
18
- "data": null,
19
- } satisfies CustomerFrontendResourceArrayResponse
20
-
21
- console.log(example)
22
-
23
- // Convert the instance to a JSON string
24
- const exampleJSON: string = JSON.stringify(example)
25
- console.log(exampleJSON)
26
-
27
- // Parse the JSON string back to an object
28
- const exampleParsed = JSON.parse(exampleJSON) as CustomerFrontendResourceArrayResponse
29
- console.log(exampleParsed)
30
- ```
31
-
32
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
-
34
-
@@ -1,36 +0,0 @@
1
-
2
- # CustomerSocialLinkableResource
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `linkable` | boolean
10
- `customer` | object
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import type { CustomerSocialLinkableResource } from '@digital8/lighting-illusions-ts-sdk'
16
-
17
- // TODO: Update the object below with actual values
18
- const example = {
19
- "linkable": null,
20
- "customer": null,
21
- } satisfies CustomerSocialLinkableResource
22
-
23
- console.log(example)
24
-
25
- // Convert the instance to a JSON string
26
- const exampleJSON: string = JSON.stringify(example)
27
- console.log(exampleJSON)
28
-
29
- // Parse the JSON string back to an object
30
- const exampleParsed = JSON.parse(exampleJSON) as CustomerSocialLinkableResource
31
- console.log(exampleParsed)
32
- ```
33
-
34
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
-
36
-
@@ -1,34 +0,0 @@
1
-
2
- # CustomerSocialLinkableResourceArrayResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `data` | [Array&lt;CustomerSocialLinkableResource&gt;](CustomerSocialLinkableResource.md)
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import type { CustomerSocialLinkableResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
-
16
- // TODO: Update the object below with actual values
17
- const example = {
18
- "data": null,
19
- } satisfies CustomerSocialLinkableResourceArrayResponse
20
-
21
- console.log(example)
22
-
23
- // Convert the instance to a JSON string
24
- const exampleJSON: string = JSON.stringify(example)
25
- console.log(exampleJSON)
26
-
27
- // Parse the JSON string back to an object
28
- const exampleParsed = JSON.parse(exampleJSON) as CustomerSocialLinkableResourceArrayResponse
29
- console.log(exampleParsed)
30
- ```
31
-
32
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
-
34
-
@@ -1,32 +0,0 @@
1
-
2
- # CustomerType
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
-
10
- ## Example
11
-
12
- ```typescript
13
- import type { CustomerType } from '@digital8/lighting-illusions-ts-sdk'
14
-
15
- // TODO: Update the object below with actual values
16
- const example = {
17
- } satisfies CustomerType
18
-
19
- console.log(example)
20
-
21
- // Convert the instance to a JSON string
22
- const exampleJSON: string = JSON.stringify(example)
23
- console.log(exampleJSON)
24
-
25
- // Parse the JSON string back to an object
26
- const exampleParsed = JSON.parse(exampleJSON) as CustomerType
27
- console.log(exampleParsed)
28
- ```
29
-
30
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
31
-
32
-