@digital8/lighting-illusions-ts-sdk 0.0.2441 → 0.0.2443

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 (272) hide show
  1. package/.openapi-generator/FILES +0 -68
  2. package/README.md +2 -2
  3. package/dist/apis/CustomersApi.d.ts +1 -72
  4. package/dist/apis/CustomersApi.js +0 -289
  5. package/dist/apis/SupplierApi.js +1 -1
  6. package/dist/apis/index.d.ts +0 -4
  7. package/dist/apis/index.js +0 -4
  8. package/dist/models/AddressFrontendResource.d.ts +1 -1
  9. package/dist/models/AddressFrontendResource.js +3 -1
  10. package/dist/models/AddressResource.d.ts +2 -2
  11. package/dist/models/AddressResource.js +4 -4
  12. package/dist/models/AddressType.d.ts +0 -2
  13. package/dist/models/AddressType.js +1 -3
  14. package/dist/models/AdminNoteResource.d.ts +3 -3
  15. package/dist/models/AdminNoteResource.js +3 -3
  16. package/dist/models/AdminOrderResource.d.ts +3 -9
  17. package/dist/models/AdminOrderResource.js +3 -7
  18. package/dist/models/AdminUserLiteResource.d.ts +1 -1
  19. package/dist/models/AdminUserLiteResource.js +1 -3
  20. package/dist/models/AppliedCouponResource.d.ts +30 -0
  21. package/dist/models/AppliedCouponResource.js +20 -0
  22. package/dist/models/CartResource.d.ts +3 -3
  23. package/dist/models/CartResource.js +3 -3
  24. package/dist/models/CreateCustomerRequest.d.ts +6 -24
  25. package/dist/models/CreateCustomerRequest.js +6 -12
  26. package/dist/models/CustomerListResource.d.ts +8 -27
  27. package/dist/models/CustomerListResource.js +13 -25
  28. package/dist/models/CustomerResource.d.ts +11 -45
  29. package/dist/models/CustomerResource.js +16 -37
  30. package/dist/models/FrontendCartResource.d.ts +6 -0
  31. package/dist/models/FrontendCartResource.js +4 -0
  32. package/dist/models/OrderFulfillmentResource.d.ts +2 -2
  33. package/dist/models/OrderFulfillmentResource.js +3 -3
  34. package/dist/models/SearchCustomersRequest.d.ts +3 -31
  35. package/dist/models/SearchCustomersRequest.js +3 -15
  36. package/dist/models/StoreFrontendResource.d.ts +1 -1
  37. package/dist/models/StoreFrontendResource.js +3 -1
  38. package/dist/models/StoreListResource.d.ts +1 -1
  39. package/dist/models/StoreListResource.js +1 -3
  40. package/dist/models/StoreResource.d.ts +1 -1
  41. package/dist/models/StoreResource.js +1 -3
  42. package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
  43. package/dist/models/StoreSpecialDateFrontendResource.js +3 -1
  44. package/dist/models/index.d.ts +0 -64
  45. package/dist/models/index.js +0 -64
  46. package/package.json +1 -1
  47. package/src/apis/CustomersApi.ts +0 -292
  48. package/src/apis/SupplierApi.ts +1 -1
  49. package/src/apis/index.ts +0 -4
  50. package/src/models/AddressFrontendResource.ts +3 -2
  51. package/src/models/AddressResource.ts +5 -5
  52. package/src/models/AddressType.ts +1 -3
  53. package/src/models/AdminNoteResource.ts +10 -10
  54. package/src/models/AdminOrderResource.ts +11 -20
  55. package/src/models/AdminUserLiteResource.ts +2 -3
  56. package/src/models/AppliedCouponResource.ts +45 -0
  57. package/src/models/CartResource.ts +10 -10
  58. package/src/models/CreateCustomerRequest.ts +11 -35
  59. package/src/models/CustomerListResource.ts +20 -53
  60. package/src/models/CustomerResource.ts +30 -101
  61. package/src/models/FrontendCartResource.ts +9 -0
  62. package/src/models/OrderFulfillmentResource.ts +5 -5
  63. package/src/models/SearchCustomersRequest.ts +3 -39
  64. package/src/models/StoreFrontendResource.ts +3 -2
  65. package/src/models/StoreListResource.ts +2 -3
  66. package/src/models/StoreResource.ts +2 -3
  67. package/src/models/StoreSpecialDateFrontendResource.ts +4 -3
  68. package/src/models/index.ts +0 -64
  69. package/dist/apis/AdminsApi.d.ts +0 -109
  70. package/dist/apis/AdminsApi.js +0 -453
  71. package/dist/apis/AuthApi.d.ts +0 -67
  72. package/dist/apis/AuthApi.js +0 -299
  73. package/dist/apis/PermissionsApi.d.ts +0 -51
  74. package/dist/apis/PermissionsApi.js +0 -216
  75. package/dist/apis/RolesApi.d.ts +0 -133
  76. package/dist/apis/RolesApi.js +0 -551
  77. package/dist/models/AdminListResource.d.ts +0 -52
  78. package/dist/models/AdminListResource.js +0 -64
  79. package/dist/models/AdminListResourceArrayResponse.d.ts +0 -33
  80. package/dist/models/AdminListResourceArrayResponse.js +0 -50
  81. package/dist/models/AdminLiteResource.d.ts +0 -39
  82. package/dist/models/AdminLiteResource.js +0 -56
  83. package/dist/models/AdminLiteResourceArrayResponse.d.ts +0 -33
  84. package/dist/models/AdminLiteResourceArrayResponse.js +0 -50
  85. package/dist/models/AdminLoginResponseResource.d.ts +0 -39
  86. package/dist/models/AdminLoginResponseResource.js +0 -56
  87. package/dist/models/AdminLoginResponseResourceArrayResponse.d.ts +0 -33
  88. package/dist/models/AdminLoginResponseResourceArrayResponse.js +0 -50
  89. package/dist/models/AdminResource.d.ts +0 -64
  90. package/dist/models/AdminResource.js +0 -70
  91. package/dist/models/AdminResourceArrayResponse.d.ts +0 -33
  92. package/dist/models/AdminResourceArrayResponse.js +0 -50
  93. package/dist/models/AttachAdminsToRoleRequest.d.ts +0 -32
  94. package/dist/models/AttachAdminsToRoleRequest.js +0 -51
  95. package/dist/models/AttachPermissionsToRoleRequest.d.ts +0 -32
  96. package/dist/models/AttachPermissionsToRoleRequest.js +0 -51
  97. package/dist/models/AttachRolesToAdminRequest.d.ts +0 -32
  98. package/dist/models/AttachRolesToAdminRequest.js +0 -51
  99. package/dist/models/CheckEmailFrontendResource.d.ts +0 -32
  100. package/dist/models/CheckEmailFrontendResource.js +0 -51
  101. package/dist/models/CheckEmailFrontendResourceArrayResponse.d.ts +0 -33
  102. package/dist/models/CheckEmailFrontendResourceArrayResponse.js +0 -50
  103. package/dist/models/CreateAdminUserRequest.d.ts +0 -56
  104. package/dist/models/CreateAdminUserRequest.js +0 -65
  105. package/dist/models/CreateCustomerAddressRequest.d.ts +0 -90
  106. package/dist/models/CreateCustomerAddressRequest.js +0 -83
  107. package/dist/models/CreateRoleRequest.d.ts +0 -38
  108. package/dist/models/CreateRoleRequest.js +0 -55
  109. package/dist/models/CustomerAuthResponseResource.d.ts +0 -39
  110. package/dist/models/CustomerAuthResponseResource.js +0 -56
  111. package/dist/models/CustomerAuthResponseResourceArrayResponse.d.ts +0 -33
  112. package/dist/models/CustomerAuthResponseResourceArrayResponse.js +0 -50
  113. package/dist/models/CustomerFrontendResource.d.ts +0 -70
  114. package/dist/models/CustomerFrontendResource.js +0 -75
  115. package/dist/models/CustomerFrontendResourceArrayResponse.d.ts +0 -33
  116. package/dist/models/CustomerFrontendResourceArrayResponse.js +0 -50
  117. package/dist/models/CustomerSocialLinkableResource.d.ts +0 -38
  118. package/dist/models/CustomerSocialLinkableResource.js +0 -55
  119. package/dist/models/CustomerSocialLinkableResourceArrayResponse.d.ts +0 -33
  120. package/dist/models/CustomerSocialLinkableResourceArrayResponse.js +0 -50
  121. package/dist/models/CustomerSocialProviderLiteResource.d.ts +0 -50
  122. package/dist/models/CustomerSocialProviderLiteResource.js +0 -61
  123. package/dist/models/CustomerSocialProviderLiteResourceArrayResponse.d.ts +0 -33
  124. package/dist/models/CustomerSocialProviderLiteResourceArrayResponse.js +0 -50
  125. package/dist/models/CustomerType.d.ts +0 -25
  126. package/dist/models/CustomerType.js +0 -51
  127. package/dist/models/ForgotPasswordAdminRequest.d.ts +0 -32
  128. package/dist/models/ForgotPasswordAdminRequest.js +0 -51
  129. package/dist/models/LoginAdminRequest.d.ts +0 -38
  130. package/dist/models/LoginAdminRequest.js +0 -55
  131. package/dist/models/NetsuiteSyncLiteResource.d.ts +0 -44
  132. package/dist/models/NetsuiteSyncLiteResource.js +0 -59
  133. package/dist/models/NetsuiteSyncLiteResourceArrayResponse.d.ts +0 -33
  134. package/dist/models/NetsuiteSyncLiteResourceArrayResponse.js +0 -50
  135. package/dist/models/PaginatedAdminListResourceResponse.d.ts +0 -40
  136. package/dist/models/PaginatedAdminListResourceResponse.js +0 -57
  137. package/dist/models/PaginatedAdminLiteResourceResponse.d.ts +0 -40
  138. package/dist/models/PaginatedAdminLiteResourceResponse.js +0 -57
  139. package/dist/models/PaginatedPermissionListResourceResponse.d.ts +0 -40
  140. package/dist/models/PaginatedPermissionListResourceResponse.js +0 -57
  141. package/dist/models/PaginatedPermissionLiteResourceResponse.d.ts +0 -40
  142. package/dist/models/PaginatedPermissionLiteResourceResponse.js +0 -57
  143. package/dist/models/PaginatedRoleListResourceResponse.d.ts +0 -40
  144. package/dist/models/PaginatedRoleListResourceResponse.js +0 -57
  145. package/dist/models/PaginatedRoleLiteResourceResponse.d.ts +0 -40
  146. package/dist/models/PaginatedRoleLiteResourceResponse.js +0 -57
  147. package/dist/models/PermissionListResource.d.ts +0 -44
  148. package/dist/models/PermissionListResource.js +0 -56
  149. package/dist/models/PermissionListResourceArrayResponse.d.ts +0 -33
  150. package/dist/models/PermissionListResourceArrayResponse.js +0 -50
  151. package/dist/models/PermissionLiteResource.d.ts +0 -38
  152. package/dist/models/PermissionLiteResource.js +0 -53
  153. package/dist/models/PermissionLiteResourceArrayResponse.d.ts +0 -33
  154. package/dist/models/PermissionLiteResourceArrayResponse.js +0 -50
  155. package/dist/models/PermissionResource.d.ts +0 -56
  156. package/dist/models/PermissionResource.js +0 -62
  157. package/dist/models/PermissionResourceArrayResponse.d.ts +0 -33
  158. package/dist/models/PermissionResourceArrayResponse.js +0 -50
  159. package/dist/models/ResetPasswordAdminRequest.d.ts +0 -44
  160. package/dist/models/ResetPasswordAdminRequest.js +0 -59
  161. package/dist/models/RoleListResource.d.ts +0 -74
  162. package/dist/models/RoleListResource.js +0 -74
  163. package/dist/models/RoleListResourceArrayResponse.d.ts +0 -33
  164. package/dist/models/RoleListResourceArrayResponse.js +0 -50
  165. package/dist/models/RoleLiteResource.d.ts +0 -44
  166. package/dist/models/RoleLiteResource.js +0 -57
  167. package/dist/models/RoleLiteResourceArrayResponse.d.ts +0 -33
  168. package/dist/models/RoleLiteResourceArrayResponse.js +0 -50
  169. package/dist/models/RoleResource.d.ts +0 -82
  170. package/dist/models/RoleResource.js +0 -80
  171. package/dist/models/RoleResourceArrayResponse.d.ts +0 -33
  172. package/dist/models/RoleResourceArrayResponse.js +0 -50
  173. package/dist/models/SearchAdminUsersRequest.d.ts +0 -112
  174. package/dist/models/SearchAdminUsersRequest.js +0 -88
  175. package/dist/models/SearchAllAdminUsersRequest.d.ts +0 -88
  176. package/dist/models/SearchAllAdminUsersRequest.js +0 -80
  177. package/dist/models/SearchAllCustomersRequest.d.ts +0 -103
  178. package/dist/models/SearchAllCustomersRequest.js +0 -89
  179. package/dist/models/SearchAllPermissionsRequest.d.ts +0 -85
  180. package/dist/models/SearchAllPermissionsRequest.js +0 -77
  181. package/dist/models/SearchAllRolesRequest.d.ts +0 -94
  182. package/dist/models/SearchAllRolesRequest.js +0 -82
  183. package/dist/models/SearchPermissionsRequest.d.ts +0 -97
  184. package/dist/models/SearchPermissionsRequest.js +0 -81
  185. package/dist/models/SearchRolesRequest.d.ts +0 -106
  186. package/dist/models/SearchRolesRequest.js +0 -86
  187. package/dist/models/SignUpType.d.ts +0 -29
  188. package/dist/models/SignUpType.js +0 -55
  189. package/dist/models/SocialProvider.d.ts +0 -26
  190. package/dist/models/SocialProvider.js +0 -52
  191. package/dist/models/UpdateAdminUserRequest.d.ts +0 -56
  192. package/dist/models/UpdateAdminUserRequest.js +0 -63
  193. package/dist/models/UpdateCustomerAddressRequest.d.ts +0 -90
  194. package/dist/models/UpdateCustomerAddressRequest.js +0 -83
  195. package/dist/models/UpdateCustomerRequest.d.ts +0 -68
  196. package/dist/models/UpdateCustomerRequest.js +0 -67
  197. package/dist/models/UpdateRoleRequest.d.ts +0 -38
  198. package/dist/models/UpdateRoleRequest.js +0 -55
  199. package/dist/models/UserLiteResource.d.ts +0 -62
  200. package/dist/models/UserLiteResource.js +0 -69
  201. package/dist/models/UserLiteResourceArrayResponse.d.ts +0 -33
  202. package/dist/models/UserLiteResourceArrayResponse.js +0 -50
  203. package/dist/models/UserType.d.ts +0 -25
  204. package/dist/models/UserType.js +0 -51
  205. package/src/apis/AdminsApi.ts +0 -384
  206. package/src/apis/AuthApi.ts +0 -211
  207. package/src/apis/PermissionsApi.ts +0 -155
  208. package/src/apis/RolesApi.ts +0 -482
  209. package/src/models/AdminListResource.ts +0 -107
  210. package/src/models/AdminListResourceArrayResponse.ts +0 -73
  211. package/src/models/AdminLiteResource.ts +0 -83
  212. package/src/models/AdminLiteResourceArrayResponse.ts +0 -73
  213. package/src/models/AdminLoginResponseResource.ts +0 -83
  214. package/src/models/AdminLoginResponseResourceArrayResponse.ts +0 -73
  215. package/src/models/AdminResource.ts +0 -124
  216. package/src/models/AdminResourceArrayResponse.ts +0 -73
  217. package/src/models/AttachAdminsToRoleRequest.ts +0 -66
  218. package/src/models/AttachPermissionsToRoleRequest.ts +0 -66
  219. package/src/models/AttachRolesToAdminRequest.ts +0 -66
  220. package/src/models/CheckEmailFrontendResource.ts +0 -66
  221. package/src/models/CheckEmailFrontendResourceArrayResponse.ts +0 -73
  222. package/src/models/CreateAdminUserRequest.ts +0 -101
  223. package/src/models/CreateCustomerAddressRequest.ts +0 -146
  224. package/src/models/CreateRoleRequest.ts +0 -75
  225. package/src/models/CustomerAuthResponseResource.ts +0 -83
  226. package/src/models/CustomerAuthResponseResourceArrayResponse.ts +0 -73
  227. package/src/models/CustomerFrontendResource.ts +0 -134
  228. package/src/models/CustomerFrontendResourceArrayResponse.ts +0 -73
  229. package/src/models/CustomerSocialLinkableResource.ts +0 -75
  230. package/src/models/CustomerSocialLinkableResourceArrayResponse.ts +0 -73
  231. package/src/models/CustomerSocialProviderLiteResource.ts +0 -92
  232. package/src/models/CustomerSocialProviderLiteResourceArrayResponse.ts +0 -73
  233. package/src/models/CustomerType.ts +0 -53
  234. package/src/models/ForgotPasswordAdminRequest.ts +0 -66
  235. package/src/models/LoginAdminRequest.ts +0 -75
  236. package/src/models/NetsuiteSyncLiteResource.ts +0 -84
  237. package/src/models/NetsuiteSyncLiteResourceArrayResponse.ts +0 -73
  238. package/src/models/PaginatedAdminListResourceResponse.ts +0 -90
  239. package/src/models/PaginatedAdminLiteResourceResponse.ts +0 -90
  240. package/src/models/PaginatedPermissionListResourceResponse.ts +0 -90
  241. package/src/models/PaginatedPermissionLiteResourceResponse.ts +0 -90
  242. package/src/models/PaginatedRoleListResourceResponse.ts +0 -90
  243. package/src/models/PaginatedRoleLiteResourceResponse.ts +0 -90
  244. package/src/models/PermissionListResource.ts +0 -82
  245. package/src/models/PermissionListResourceArrayResponse.ts +0 -73
  246. package/src/models/PermissionLiteResource.ts +0 -74
  247. package/src/models/PermissionLiteResourceArrayResponse.ts +0 -73
  248. package/src/models/PermissionResource.ts +0 -99
  249. package/src/models/PermissionResourceArrayResponse.ts +0 -73
  250. package/src/models/ResetPasswordAdminRequest.ts +0 -84
  251. package/src/models/RoleListResource.ts +0 -126
  252. package/src/models/RoleListResourceArrayResponse.ts +0 -73
  253. package/src/models/RoleLiteResource.ts +0 -83
  254. package/src/models/RoleLiteResourceArrayResponse.ts +0 -73
  255. package/src/models/RoleResource.ts +0 -150
  256. package/src/models/RoleResourceArrayResponse.ts +0 -73
  257. package/src/models/SearchAdminUsersRequest.ts +0 -169
  258. package/src/models/SearchAllAdminUsersRequest.ts +0 -137
  259. package/src/models/SearchAllCustomersRequest.ts +0 -157
  260. package/src/models/SearchAllPermissionsRequest.ts +0 -134
  261. package/src/models/SearchAllRolesRequest.ts +0 -145
  262. package/src/models/SearchPermissionsRequest.ts +0 -150
  263. package/src/models/SearchRolesRequest.ts +0 -161
  264. package/src/models/SignUpType.ts +0 -57
  265. package/src/models/SocialProvider.ts +0 -54
  266. package/src/models/UpdateAdminUserRequest.ts +0 -100
  267. package/src/models/UpdateCustomerAddressRequest.ts +0 -146
  268. package/src/models/UpdateCustomerRequest.ts +0 -116
  269. package/src/models/UpdateRoleRequest.ts +0 -75
  270. package/src/models/UserLiteResource.ts +0 -110
  271. package/src/models/UserLiteResourceArrayResponse.ts +0 -73
  272. package/src/models/UserType.ts +0 -53
@@ -1,53 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- /**
17
- *
18
- * @export
19
- */
20
- export const CustomerType = {
21
- Guest: 'guest',
22
- Member: 'member'
23
- } as const;
24
- export type CustomerType = typeof CustomerType[keyof typeof CustomerType];
25
-
26
-
27
- export function instanceOfCustomerType(value: any): boolean {
28
- for (const key in CustomerType) {
29
- if (Object.prototype.hasOwnProperty.call(CustomerType, key)) {
30
- if (CustomerType[key as keyof typeof CustomerType] === value) {
31
- return true;
32
- }
33
- }
34
- }
35
- return false;
36
- }
37
-
38
- export function CustomerTypeFromJSON(json: any): CustomerType {
39
- return CustomerTypeFromJSONTyped(json, false);
40
- }
41
-
42
- export function CustomerTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerType {
43
- return json as CustomerType;
44
- }
45
-
46
- export function CustomerTypeToJSON(value?: CustomerType | null): any {
47
- return value as any;
48
- }
49
-
50
- export function CustomerTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): CustomerType {
51
- return value as CustomerType;
52
- }
53
-
@@ -1,66 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface ForgotPasswordAdminRequest
20
- */
21
- export interface ForgotPasswordAdminRequest {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof ForgotPasswordAdminRequest
26
- */
27
- email: string;
28
- }
29
-
30
- /**
31
- * Check if a given object implements the ForgotPasswordAdminRequest interface.
32
- */
33
- export function instanceOfForgotPasswordAdminRequest(value: object): value is ForgotPasswordAdminRequest {
34
- if (!('email' in value) || value['email'] === undefined) return false;
35
- return true;
36
- }
37
-
38
- export function ForgotPasswordAdminRequestFromJSON(json: any): ForgotPasswordAdminRequest {
39
- return ForgotPasswordAdminRequestFromJSONTyped(json, false);
40
- }
41
-
42
- export function ForgotPasswordAdminRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForgotPasswordAdminRequest {
43
- if (json == null) {
44
- return json;
45
- }
46
- return {
47
-
48
- 'email': json['email'],
49
- };
50
- }
51
-
52
- export function ForgotPasswordAdminRequestToJSON(json: any): ForgotPasswordAdminRequest {
53
- return ForgotPasswordAdminRequestToJSONTyped(json, false);
54
- }
55
-
56
- export function ForgotPasswordAdminRequestToJSONTyped(value?: ForgotPasswordAdminRequest | null, ignoreDiscriminator: boolean = false): any {
57
- if (value == null) {
58
- return value;
59
- }
60
-
61
- return {
62
-
63
- 'email': value['email'],
64
- };
65
- }
66
-
@@ -1,75 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface LoginAdminRequest
20
- */
21
- export interface LoginAdminRequest {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof LoginAdminRequest
26
- */
27
- email: string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof LoginAdminRequest
32
- */
33
- password: string;
34
- }
35
-
36
- /**
37
- * Check if a given object implements the LoginAdminRequest interface.
38
- */
39
- export function instanceOfLoginAdminRequest(value: object): value is LoginAdminRequest {
40
- if (!('email' in value) || value['email'] === undefined) return false;
41
- if (!('password' in value) || value['password'] === undefined) return false;
42
- return true;
43
- }
44
-
45
- export function LoginAdminRequestFromJSON(json: any): LoginAdminRequest {
46
- return LoginAdminRequestFromJSONTyped(json, false);
47
- }
48
-
49
- export function LoginAdminRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): LoginAdminRequest {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'email': json['email'],
56
- 'password': json['password'],
57
- };
58
- }
59
-
60
- export function LoginAdminRequestToJSON(json: any): LoginAdminRequest {
61
- return LoginAdminRequestToJSONTyped(json, false);
62
- }
63
-
64
- export function LoginAdminRequestToJSONTyped(value?: LoginAdminRequest | null, ignoreDiscriminator: boolean = false): any {
65
- if (value == null) {
66
- return value;
67
- }
68
-
69
- return {
70
-
71
- 'email': value['email'],
72
- 'password': value['password'],
73
- };
74
- }
75
-
@@ -1,84 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface NetsuiteSyncLiteResource
20
- */
21
- export interface NetsuiteSyncLiteResource {
22
- /**
23
- *
24
- * @type {number}
25
- * @memberof NetsuiteSyncLiteResource
26
- */
27
- id: number;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof NetsuiteSyncLiteResource
32
- */
33
- netsuiteId: string;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof NetsuiteSyncLiteResource
38
- */
39
- syncStatus: string;
40
- }
41
-
42
- /**
43
- * Check if a given object implements the NetsuiteSyncLiteResource interface.
44
- */
45
- export function instanceOfNetsuiteSyncLiteResource(value: object): value is NetsuiteSyncLiteResource {
46
- if (!('id' in value) || value['id'] === undefined) return false;
47
- if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
48
- if (!('syncStatus' in value) || value['syncStatus'] === undefined) return false;
49
- return true;
50
- }
51
-
52
- export function NetsuiteSyncLiteResourceFromJSON(json: any): NetsuiteSyncLiteResource {
53
- return NetsuiteSyncLiteResourceFromJSONTyped(json, false);
54
- }
55
-
56
- export function NetsuiteSyncLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): NetsuiteSyncLiteResource {
57
- if (json == null) {
58
- return json;
59
- }
60
- return {
61
-
62
- 'id': json['id'],
63
- 'netsuiteId': json['netsuiteId'],
64
- 'syncStatus': json['syncStatus'],
65
- };
66
- }
67
-
68
- export function NetsuiteSyncLiteResourceToJSON(json: any): NetsuiteSyncLiteResource {
69
- return NetsuiteSyncLiteResourceToJSONTyped(json, false);
70
- }
71
-
72
- export function NetsuiteSyncLiteResourceToJSONTyped(value?: NetsuiteSyncLiteResource | null, ignoreDiscriminator: boolean = false): any {
73
- if (value == null) {
74
- return value;
75
- }
76
-
77
- return {
78
-
79
- 'id': value['id'],
80
- 'netsuiteId': value['netsuiteId'],
81
- 'syncStatus': value['syncStatus'],
82
- };
83
- }
84
-
@@ -1,73 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { NetsuiteSyncLiteResource } from './NetsuiteSyncLiteResource';
17
- import {
18
- NetsuiteSyncLiteResourceFromJSON,
19
- NetsuiteSyncLiteResourceFromJSONTyped,
20
- NetsuiteSyncLiteResourceToJSON,
21
- NetsuiteSyncLiteResourceToJSONTyped,
22
- } from './NetsuiteSyncLiteResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface NetsuiteSyncLiteResourceArrayResponse
28
- */
29
- export interface NetsuiteSyncLiteResourceArrayResponse {
30
- /**
31
- *
32
- * @type {Array<NetsuiteSyncLiteResource>}
33
- * @memberof NetsuiteSyncLiteResourceArrayResponse
34
- */
35
- data?: Array<NetsuiteSyncLiteResource>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the NetsuiteSyncLiteResourceArrayResponse interface.
40
- */
41
- export function instanceOfNetsuiteSyncLiteResourceArrayResponse(value: object): value is NetsuiteSyncLiteResourceArrayResponse {
42
- return true;
43
- }
44
-
45
- export function NetsuiteSyncLiteResourceArrayResponseFromJSON(json: any): NetsuiteSyncLiteResourceArrayResponse {
46
- return NetsuiteSyncLiteResourceArrayResponseFromJSONTyped(json, false);
47
- }
48
-
49
- export function NetsuiteSyncLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): NetsuiteSyncLiteResourceArrayResponse {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(NetsuiteSyncLiteResourceFromJSON)),
56
- };
57
- }
58
-
59
- export function NetsuiteSyncLiteResourceArrayResponseToJSON(json: any): NetsuiteSyncLiteResourceArrayResponse {
60
- return NetsuiteSyncLiteResourceArrayResponseToJSONTyped(json, false);
61
- }
62
-
63
- export function NetsuiteSyncLiteResourceArrayResponseToJSONTyped(value?: NetsuiteSyncLiteResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
64
- if (value == null) {
65
- return value;
66
- }
67
-
68
- return {
69
-
70
- 'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(NetsuiteSyncLiteResourceToJSON)),
71
- };
72
- }
73
-
@@ -1,90 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { PagingMetadata } from './PagingMetadata';
17
- import {
18
- PagingMetadataFromJSON,
19
- PagingMetadataFromJSONTyped,
20
- PagingMetadataToJSON,
21
- PagingMetadataToJSONTyped,
22
- } from './PagingMetadata';
23
- import type { AdminListResource } from './AdminListResource';
24
- import {
25
- AdminListResourceFromJSON,
26
- AdminListResourceFromJSONTyped,
27
- AdminListResourceToJSON,
28
- AdminListResourceToJSONTyped,
29
- } from './AdminListResource';
30
-
31
- /**
32
- *
33
- * @export
34
- * @interface PaginatedAdminListResourceResponse
35
- */
36
- export interface PaginatedAdminListResourceResponse {
37
- /**
38
- *
39
- * @type {Array<AdminListResource>}
40
- * @memberof PaginatedAdminListResourceResponse
41
- */
42
- data: Array<AdminListResource>;
43
- /**
44
- *
45
- * @type {PagingMetadata}
46
- * @memberof PaginatedAdminListResourceResponse
47
- */
48
- meta: PagingMetadata;
49
- }
50
-
51
- /**
52
- * Check if a given object implements the PaginatedAdminListResourceResponse interface.
53
- */
54
- export function instanceOfPaginatedAdminListResourceResponse(value: object): value is PaginatedAdminListResourceResponse {
55
- if (!('data' in value) || value['data'] === undefined) return false;
56
- if (!('meta' in value) || value['meta'] === undefined) return false;
57
- return true;
58
- }
59
-
60
- export function PaginatedAdminListResourceResponseFromJSON(json: any): PaginatedAdminListResourceResponse {
61
- return PaginatedAdminListResourceResponseFromJSONTyped(json, false);
62
- }
63
-
64
- export function PaginatedAdminListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedAdminListResourceResponse {
65
- if (json == null) {
66
- return json;
67
- }
68
- return {
69
-
70
- 'data': ((json['data'] as Array<any>).map(AdminListResourceFromJSON)),
71
- 'meta': PagingMetadataFromJSON(json['meta']),
72
- };
73
- }
74
-
75
- export function PaginatedAdminListResourceResponseToJSON(json: any): PaginatedAdminListResourceResponse {
76
- return PaginatedAdminListResourceResponseToJSONTyped(json, false);
77
- }
78
-
79
- export function PaginatedAdminListResourceResponseToJSONTyped(value?: PaginatedAdminListResourceResponse | null, ignoreDiscriminator: boolean = false): any {
80
- if (value == null) {
81
- return value;
82
- }
83
-
84
- return {
85
-
86
- 'data': ((value['data'] as Array<any>).map(AdminListResourceToJSON)),
87
- 'meta': PagingMetadataToJSON(value['meta']),
88
- };
89
- }
90
-
@@ -1,90 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { PagingMetadata } from './PagingMetadata';
17
- import {
18
- PagingMetadataFromJSON,
19
- PagingMetadataFromJSONTyped,
20
- PagingMetadataToJSON,
21
- PagingMetadataToJSONTyped,
22
- } from './PagingMetadata';
23
- import type { AdminLiteResource } from './AdminLiteResource';
24
- import {
25
- AdminLiteResourceFromJSON,
26
- AdminLiteResourceFromJSONTyped,
27
- AdminLiteResourceToJSON,
28
- AdminLiteResourceToJSONTyped,
29
- } from './AdminLiteResource';
30
-
31
- /**
32
- *
33
- * @export
34
- * @interface PaginatedAdminLiteResourceResponse
35
- */
36
- export interface PaginatedAdminLiteResourceResponse {
37
- /**
38
- *
39
- * @type {Array<AdminLiteResource>}
40
- * @memberof PaginatedAdminLiteResourceResponse
41
- */
42
- data: Array<AdminLiteResource>;
43
- /**
44
- *
45
- * @type {PagingMetadata}
46
- * @memberof PaginatedAdminLiteResourceResponse
47
- */
48
- meta: PagingMetadata;
49
- }
50
-
51
- /**
52
- * Check if a given object implements the PaginatedAdminLiteResourceResponse interface.
53
- */
54
- export function instanceOfPaginatedAdminLiteResourceResponse(value: object): value is PaginatedAdminLiteResourceResponse {
55
- if (!('data' in value) || value['data'] === undefined) return false;
56
- if (!('meta' in value) || value['meta'] === undefined) return false;
57
- return true;
58
- }
59
-
60
- export function PaginatedAdminLiteResourceResponseFromJSON(json: any): PaginatedAdminLiteResourceResponse {
61
- return PaginatedAdminLiteResourceResponseFromJSONTyped(json, false);
62
- }
63
-
64
- export function PaginatedAdminLiteResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedAdminLiteResourceResponse {
65
- if (json == null) {
66
- return json;
67
- }
68
- return {
69
-
70
- 'data': ((json['data'] as Array<any>).map(AdminLiteResourceFromJSON)),
71
- 'meta': PagingMetadataFromJSON(json['meta']),
72
- };
73
- }
74
-
75
- export function PaginatedAdminLiteResourceResponseToJSON(json: any): PaginatedAdminLiteResourceResponse {
76
- return PaginatedAdminLiteResourceResponseToJSONTyped(json, false);
77
- }
78
-
79
- export function PaginatedAdminLiteResourceResponseToJSONTyped(value?: PaginatedAdminLiteResourceResponse | null, ignoreDiscriminator: boolean = false): any {
80
- if (value == null) {
81
- return value;
82
- }
83
-
84
- return {
85
-
86
- 'data': ((value['data'] as Array<any>).map(AdminLiteResourceToJSON)),
87
- 'meta': PagingMetadataToJSON(value['meta']),
88
- };
89
- }
90
-
@@ -1,90 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { PagingMetadata } from './PagingMetadata';
17
- import {
18
- PagingMetadataFromJSON,
19
- PagingMetadataFromJSONTyped,
20
- PagingMetadataToJSON,
21
- PagingMetadataToJSONTyped,
22
- } from './PagingMetadata';
23
- import type { PermissionListResource } from './PermissionListResource';
24
- import {
25
- PermissionListResourceFromJSON,
26
- PermissionListResourceFromJSONTyped,
27
- PermissionListResourceToJSON,
28
- PermissionListResourceToJSONTyped,
29
- } from './PermissionListResource';
30
-
31
- /**
32
- *
33
- * @export
34
- * @interface PaginatedPermissionListResourceResponse
35
- */
36
- export interface PaginatedPermissionListResourceResponse {
37
- /**
38
- *
39
- * @type {Array<PermissionListResource>}
40
- * @memberof PaginatedPermissionListResourceResponse
41
- */
42
- data: Array<PermissionListResource>;
43
- /**
44
- *
45
- * @type {PagingMetadata}
46
- * @memberof PaginatedPermissionListResourceResponse
47
- */
48
- meta: PagingMetadata;
49
- }
50
-
51
- /**
52
- * Check if a given object implements the PaginatedPermissionListResourceResponse interface.
53
- */
54
- export function instanceOfPaginatedPermissionListResourceResponse(value: object): value is PaginatedPermissionListResourceResponse {
55
- if (!('data' in value) || value['data'] === undefined) return false;
56
- if (!('meta' in value) || value['meta'] === undefined) return false;
57
- return true;
58
- }
59
-
60
- export function PaginatedPermissionListResourceResponseFromJSON(json: any): PaginatedPermissionListResourceResponse {
61
- return PaginatedPermissionListResourceResponseFromJSONTyped(json, false);
62
- }
63
-
64
- export function PaginatedPermissionListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedPermissionListResourceResponse {
65
- if (json == null) {
66
- return json;
67
- }
68
- return {
69
-
70
- 'data': ((json['data'] as Array<any>).map(PermissionListResourceFromJSON)),
71
- 'meta': PagingMetadataFromJSON(json['meta']),
72
- };
73
- }
74
-
75
- export function PaginatedPermissionListResourceResponseToJSON(json: any): PaginatedPermissionListResourceResponse {
76
- return PaginatedPermissionListResourceResponseToJSONTyped(json, false);
77
- }
78
-
79
- export function PaginatedPermissionListResourceResponseToJSONTyped(value?: PaginatedPermissionListResourceResponse | null, ignoreDiscriminator: boolean = false): any {
80
- if (value == null) {
81
- return value;
82
- }
83
-
84
- return {
85
-
86
- 'data': ((value['data'] as Array<any>).map(PermissionListResourceToJSON)),
87
- 'meta': PagingMetadataToJSON(value['meta']),
88
- };
89
- }
90
-