@digital8/lighting-illusions-ts-sdk 0.0.2314 → 0.0.2316

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 (157) hide show
  1. package/.openapi-generator/FILES +4 -52
  2. package/README.md +4 -36
  3. package/dist/apis/CustomersApi.d.ts +0 -50
  4. package/dist/apis/CustomersApi.js +0 -182
  5. package/dist/apis/index.d.ts +0 -1
  6. package/dist/apis/index.js +0 -1
  7. package/dist/models/AddressFrontendResource.d.ts +2 -2
  8. package/dist/models/AddressFrontendResource.js +2 -6
  9. package/dist/models/AdminOrderResource.d.ts +2 -3
  10. package/dist/models/AdminOrderResource.js +2 -3
  11. package/dist/models/AppliedCouponResource.d.ts +50 -0
  12. package/dist/models/{CartCouponResource.js → AppliedCouponResource.js} +13 -13
  13. package/dist/models/AppliedCouponResourceArrayResponse.d.ts +33 -0
  14. package/dist/models/AppliedCouponResourceArrayResponse.js +50 -0
  15. package/dist/models/CreateCustomerRequest.d.ts +6 -18
  16. package/dist/models/CreateCustomerRequest.js +6 -12
  17. package/dist/models/CustomerListResource.d.ts +8 -21
  18. package/dist/models/CustomerListResource.js +13 -20
  19. package/dist/models/CustomerResource.d.ts +9 -34
  20. package/dist/models/CustomerResource.js +16 -27
  21. package/dist/models/FrontendOrderResource.d.ts +3 -3
  22. package/dist/models/FrontendOrderResource.js +3 -3
  23. package/dist/models/OrderFulfillmentResource.d.ts +2 -2
  24. package/dist/models/OrderFulfillmentResource.js +4 -4
  25. package/dist/models/SearchCustomersRequest.d.ts +3 -31
  26. package/dist/models/SearchCustomersRequest.js +3 -15
  27. package/dist/models/StoreFrontendResource.d.ts +2 -2
  28. package/dist/models/StoreFrontendResource.js +2 -6
  29. package/dist/models/StoreListResource.d.ts +1 -1
  30. package/dist/models/StoreListResource.js +1 -3
  31. package/dist/models/index.d.ts +2 -25
  32. package/dist/models/index.js +2 -25
  33. package/docs/AdminOrderResource.md +1 -1
  34. package/docs/{CartCouponResource.md → AppliedCouponResource.md} +4 -4
  35. package/docs/{AdminListResourceArrayResponse.md → AppliedCouponResourceArrayResponse.md} +5 -5
  36. package/docs/CreateCustomerRequest.md +4 -8
  37. package/docs/CustomerListResource.md +8 -12
  38. package/docs/CustomerResource.md +9 -17
  39. package/docs/CustomersApi.md +0 -201
  40. package/docs/FrontendOrderResource.md +1 -1
  41. package/docs/SearchCustomersRequest.md +0 -8
  42. package/package.json +1 -1
  43. package/src/apis/CustomersApi.ts +0 -166
  44. package/src/apis/index.ts +0 -1
  45. package/src/models/AddressFrontendResource.ts +4 -6
  46. package/src/models/AdminOrderResource.ts +4 -11
  47. package/src/models/{CartCouponResource.ts → AppliedCouponResource.ts} +14 -14
  48. package/src/models/AppliedCouponResourceArrayResponse.ts +73 -0
  49. package/src/models/CreateCustomerRequest.ts +11 -28
  50. package/src/models/CustomerListResource.ts +20 -44
  51. package/src/models/CustomerResource.ts +28 -68
  52. package/src/models/FrontendOrderResource.ts +11 -11
  53. package/src/models/OrderFulfillmentResource.ts +5 -5
  54. package/src/models/SearchCustomersRequest.ts +3 -39
  55. package/src/models/StoreFrontendResource.ts +4 -6
  56. package/src/models/StoreListResource.ts +2 -3
  57. package/src/models/index.ts +2 -25
  58. package/dist/apis/AdminsApi.d.ts +0 -116
  59. package/dist/apis/AdminsApi.js +0 -440
  60. package/dist/models/AdminListResource.d.ts +0 -52
  61. package/dist/models/AdminListResource.js +0 -61
  62. package/dist/models/AdminListResourceArrayResponse.d.ts +0 -33
  63. package/dist/models/AdminListResourceArrayResponse.js +0 -50
  64. package/dist/models/AdminLiteResource.d.ts +0 -39
  65. package/dist/models/AdminLiteResource.js +0 -54
  66. package/dist/models/AdminLiteResourceArrayResponse.d.ts +0 -33
  67. package/dist/models/AdminLiteResourceArrayResponse.js +0 -50
  68. package/dist/models/AdminResource.d.ts +0 -58
  69. package/dist/models/AdminResource.js +0 -63
  70. package/dist/models/AdminResourceArrayResponse.d.ts +0 -33
  71. package/dist/models/AdminResourceArrayResponse.js +0 -50
  72. package/dist/models/CartCouponResource.d.ts +0 -50
  73. package/dist/models/CartCouponResourceArrayResponse.d.ts +0 -33
  74. package/dist/models/CartCouponResourceArrayResponse.js +0 -50
  75. package/dist/models/CreateAdminUserRequest.d.ts +0 -62
  76. package/dist/models/CreateAdminUserRequest.js +0 -69
  77. package/dist/models/CustomerType.d.ts +0 -25
  78. package/dist/models/CustomerType.js +0 -51
  79. package/dist/models/PaginatedAdminListResourceResponse.d.ts +0 -40
  80. package/dist/models/PaginatedAdminListResourceResponse.js +0 -57
  81. package/dist/models/PaginatedAdminLiteResourceResponse.d.ts +0 -40
  82. package/dist/models/PaginatedAdminLiteResourceResponse.js +0 -57
  83. package/dist/models/PaginatedRoleLiteResourceResponse.d.ts +0 -40
  84. package/dist/models/PaginatedRoleLiteResourceResponse.js +0 -57
  85. package/dist/models/RoleLiteResource.d.ts +0 -38
  86. package/dist/models/RoleLiteResource.js +0 -53
  87. package/dist/models/RoleLiteResourceArrayResponse.d.ts +0 -33
  88. package/dist/models/RoleLiteResourceArrayResponse.js +0 -50
  89. package/dist/models/SearchAdminUsersRequest.d.ts +0 -112
  90. package/dist/models/SearchAdminUsersRequest.js +0 -88
  91. package/dist/models/SearchAllAdminUsersRequest.d.ts +0 -82
  92. package/dist/models/SearchAllAdminUsersRequest.js +0 -78
  93. package/dist/models/SearchAllCustomersRequest.d.ts +0 -103
  94. package/dist/models/SearchAllCustomersRequest.js +0 -87
  95. package/dist/models/SignUpType.d.ts +0 -26
  96. package/dist/models/SignUpType.js +0 -52
  97. package/dist/models/SocialProvider.d.ts +0 -26
  98. package/dist/models/SocialProvider.js +0 -52
  99. package/dist/models/UpdateAdminUserRequest.d.ts +0 -62
  100. package/dist/models/UpdateAdminUserRequest.js +0 -67
  101. package/dist/models/UpdateCustomerRequest.d.ts +0 -62
  102. package/dist/models/UpdateCustomerRequest.js +0 -65
  103. package/dist/models/UserLiteResource.d.ts +0 -62
  104. package/dist/models/UserLiteResource.js +0 -69
  105. package/dist/models/UserLiteResourceArrayResponse.d.ts +0 -33
  106. package/dist/models/UserLiteResourceArrayResponse.js +0 -50
  107. package/dist/models/UserType.d.ts +0 -25
  108. package/dist/models/UserType.js +0 -51
  109. package/docs/AdminListResource.md +0 -40
  110. package/docs/AdminLiteResource.md +0 -36
  111. package/docs/AdminLiteResourceArrayResponse.md +0 -34
  112. package/docs/AdminResource.md +0 -42
  113. package/docs/AdminResourceArrayResponse.md +0 -34
  114. package/docs/AdminsApi.md +0 -407
  115. package/docs/CartCouponResourceArrayResponse.md +0 -34
  116. package/docs/CreateAdminUserRequest.md +0 -44
  117. package/docs/CustomerType.md +0 -32
  118. package/docs/PaginatedAdminListResourceResponse.md +0 -36
  119. package/docs/PaginatedAdminLiteResourceResponse.md +0 -36
  120. package/docs/PaginatedRoleLiteResourceResponse.md +0 -36
  121. package/docs/RoleLiteResource.md +0 -36
  122. package/docs/RoleLiteResourceArrayResponse.md +0 -34
  123. package/docs/SearchAdminUsersRequest.md +0 -54
  124. package/docs/SearchAllAdminUsersRequest.md +0 -44
  125. package/docs/SearchAllCustomersRequest.md +0 -50
  126. package/docs/SignUpType.md +0 -32
  127. package/docs/SocialProvider.md +0 -32
  128. package/docs/UpdateAdminUserRequest.md +0 -44
  129. package/docs/UpdateCustomerRequest.md +0 -44
  130. package/docs/UserLiteResource.md +0 -44
  131. package/docs/UserLiteResourceArrayResponse.md +0 -34
  132. package/docs/UserType.md +0 -32
  133. package/src/apis/AdminsApi.ts +0 -345
  134. package/src/models/AdminListResource.ts +0 -106
  135. package/src/models/AdminListResourceArrayResponse.ts +0 -73
  136. package/src/models/AdminLiteResource.ts +0 -82
  137. package/src/models/AdminLiteResourceArrayResponse.ts +0 -73
  138. package/src/models/AdminResource.ts +0 -114
  139. package/src/models/AdminResourceArrayResponse.ts +0 -73
  140. package/src/models/CartCouponResourceArrayResponse.ts +0 -73
  141. package/src/models/CreateAdminUserRequest.ts +0 -110
  142. package/src/models/CustomerType.ts +0 -53
  143. package/src/models/PaginatedAdminListResourceResponse.ts +0 -90
  144. package/src/models/PaginatedAdminLiteResourceResponse.ts +0 -90
  145. package/src/models/PaginatedRoleLiteResourceResponse.ts +0 -90
  146. package/src/models/RoleLiteResource.ts +0 -74
  147. package/src/models/RoleLiteResourceArrayResponse.ts +0 -73
  148. package/src/models/SearchAdminUsersRequest.ts +0 -169
  149. package/src/models/SearchAllAdminUsersRequest.ts +0 -129
  150. package/src/models/SearchAllCustomersRequest.ts +0 -156
  151. package/src/models/SignUpType.ts +0 -54
  152. package/src/models/SocialProvider.ts +0 -54
  153. package/src/models/UpdateAdminUserRequest.ts +0 -109
  154. package/src/models/UpdateCustomerRequest.ts +0 -108
  155. package/src/models/UserLiteResource.ts +0 -110
  156. package/src/models/UserLiteResourceArrayResponse.ts +0 -73
  157. package/src/models/UserType.ts +0 -53
@@ -1,54 +0,0 @@
1
-
2
- # SearchAdminUsersRequest
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `search` | string
10
- `sortBy` | string
11
- `sortDirection` | string
12
- `perPage` | number
13
- `page` | number
14
- `roleId` | Array<string>
15
- `beforeCreatedAt` | Date
16
- `afterCreatedAt` | Date
17
- `relatedId` | number
18
- `relatedType` | string
19
- `includesRelations` | boolean
20
-
21
- ## Example
22
-
23
- ```typescript
24
- import type { SearchAdminUsersRequest } from '@digital8/lighting-illusions-ts-sdk'
25
-
26
- // TODO: Update the object below with actual values
27
- const example = {
28
- "search": null,
29
- "sortBy": null,
30
- "sortDirection": null,
31
- "perPage": null,
32
- "page": null,
33
- "roleId": null,
34
- "beforeCreatedAt": null,
35
- "afterCreatedAt": null,
36
- "relatedId": null,
37
- "relatedType": null,
38
- "includesRelations": null,
39
- } satisfies SearchAdminUsersRequest
40
-
41
- console.log(example)
42
-
43
- // Convert the instance to a JSON string
44
- const exampleJSON: string = JSON.stringify(example)
45
- console.log(exampleJSON)
46
-
47
- // Parse the JSON string back to an object
48
- const exampleParsed = JSON.parse(exampleJSON) as SearchAdminUsersRequest
49
- console.log(exampleParsed)
50
- ```
51
-
52
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
53
-
54
-
@@ -1,44 +0,0 @@
1
-
2
- # SearchAllAdminUsersRequest
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `search` | string
10
- `sortBy` | string
11
- `sortDirection` | string
12
- `relatedId` | number
13
- `relatedType` | string
14
- `includesRelations` | boolean
15
-
16
- ## Example
17
-
18
- ```typescript
19
- import type { SearchAllAdminUsersRequest } from '@digital8/lighting-illusions-ts-sdk'
20
-
21
- // TODO: Update the object below with actual values
22
- const example = {
23
- "search": null,
24
- "sortBy": null,
25
- "sortDirection": null,
26
- "relatedId": null,
27
- "relatedType": null,
28
- "includesRelations": null,
29
- } satisfies SearchAllAdminUsersRequest
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 SearchAllAdminUsersRequest
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,50 +0,0 @@
1
-
2
- # SearchAllCustomersRequest
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `search` | string
10
- `sortBy` | string
11
- `sortDirection` | string
12
- `relatedId` | number
13
- `relatedType` | string
14
- `includesRelations` | boolean
15
- `siteId` | Array<string>
16
- `type` | Array<string>
17
- `signUpType` | Array<string>
18
-
19
- ## Example
20
-
21
- ```typescript
22
- import type { SearchAllCustomersRequest } from '@digital8/lighting-illusions-ts-sdk'
23
-
24
- // TODO: Update the object below with actual values
25
- const example = {
26
- "search": null,
27
- "sortBy": null,
28
- "sortDirection": null,
29
- "relatedId": null,
30
- "relatedType": null,
31
- "includesRelations": null,
32
- "siteId": null,
33
- "type": null,
34
- "signUpType": null,
35
- } satisfies SearchAllCustomersRequest
36
-
37
- console.log(example)
38
-
39
- // Convert the instance to a JSON string
40
- const exampleJSON: string = JSON.stringify(example)
41
- console.log(exampleJSON)
42
-
43
- // Parse the JSON string back to an object
44
- const exampleParsed = JSON.parse(exampleJSON) as SearchAllCustomersRequest
45
- console.log(exampleParsed)
46
- ```
47
-
48
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
49
-
50
-
@@ -1,32 +0,0 @@
1
-
2
- # SignUpType
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
-
10
- ## Example
11
-
12
- ```typescript
13
- import type { SignUpType } from '@digital8/lighting-illusions-ts-sdk'
14
-
15
- // TODO: Update the object below with actual values
16
- const example = {
17
- } satisfies SignUpType
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 SignUpType
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
-
@@ -1,32 +0,0 @@
1
-
2
- # SocialProvider
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
-
10
- ## Example
11
-
12
- ```typescript
13
- import type { SocialProvider } from '@digital8/lighting-illusions-ts-sdk'
14
-
15
- // TODO: Update the object below with actual values
16
- const example = {
17
- } satisfies SocialProvider
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 SocialProvider
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
-
@@ -1,44 +0,0 @@
1
-
2
- # UpdateAdminUserRequest
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<number>
15
-
16
- ## Example
17
-
18
- ```typescript
19
- import type { UpdateAdminUserRequest } 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 UpdateAdminUserRequest
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 UpdateAdminUserRequest
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,44 +0,0 @@
1
-
2
- # UpdateCustomerRequest
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
- `subscribedToNewsletter` | boolean
15
-
16
- ## Example
17
-
18
- ```typescript
19
- import type { UpdateCustomerRequest } 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
- "subscribedToNewsletter": null,
29
- } satisfies UpdateCustomerRequest
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 UpdateCustomerRequest
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,44 +0,0 @@
1
-
2
- # UserLiteResource
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `id` | number
10
- `firstName` | string
11
- `lastName` | string
12
- `email` | string
13
- `phone` | string
14
- `fullName` | string
15
-
16
- ## Example
17
-
18
- ```typescript
19
- import type { UserLiteResource } from '@digital8/lighting-illusions-ts-sdk'
20
-
21
- // TODO: Update the object below with actual values
22
- const example = {
23
- "id": null,
24
- "firstName": null,
25
- "lastName": null,
26
- "email": null,
27
- "phone": null,
28
- "fullName": null,
29
- } satisfies UserLiteResource
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 UserLiteResource
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,34 +0,0 @@
1
-
2
- # UserLiteResourceArrayResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `data` | [Array<UserLiteResource>](UserLiteResource.md)
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import type { UserLiteResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
-
16
- // TODO: Update the object below with actual values
17
- const example = {
18
- "data": null,
19
- } satisfies UserLiteResourceArrayResponse
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 UserLiteResourceArrayResponse
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
-
package/docs/UserType.md DELETED
@@ -1,32 +0,0 @@
1
-
2
- # UserType
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
-
10
- ## Example
11
-
12
- ```typescript
13
- import type { UserType } from '@digital8/lighting-illusions-ts-sdk'
14
-
15
- // TODO: Update the object below with actual values
16
- const example = {
17
- } satisfies UserType
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 UserType
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
-