@digital8/lighting-illusions-ts-sdk 0.0.1938 → 0.0.1940

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 (159) hide show
  1. package/.openapi-generator/FILES +30 -16
  2. package/README.md +19 -10
  3. package/dist/apis/TransactionsApi.d.ts +69 -0
  4. package/dist/apis/TransactionsApi.js +262 -0
  5. package/dist/apis/index.d.ts +1 -0
  6. package/dist/apis/index.js +1 -0
  7. package/dist/models/AddressFrontendResource.d.ts +1 -1
  8. package/dist/models/AddressFrontendResource.js +1 -3
  9. package/dist/models/AddressResource.d.ts +9 -3
  10. package/dist/models/AddressResource.js +6 -8
  11. package/dist/models/AdminOrderResource.d.ts +0 -6
  12. package/dist/models/AdminOrderResource.js +0 -4
  13. package/dist/models/CartListResource.d.ts +0 -6
  14. package/dist/models/CartListResource.js +0 -4
  15. package/dist/models/CartResource.d.ts +0 -6
  16. package/dist/models/CartResource.js +0 -4
  17. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  18. package/dist/models/ExternalApiLogResource.js +1 -3
  19. package/dist/models/IndexTransactionRequest.d.ts +127 -0
  20. package/dist/models/IndexTransactionRequest.js +91 -0
  21. package/dist/models/PaginatedTransactionListResourceResponse.d.ts +40 -0
  22. package/dist/models/PaginatedTransactionListResourceResponse.js +57 -0
  23. package/dist/models/PaginatedTransactionResourceResponse.d.ts +40 -0
  24. package/dist/models/PaginatedTransactionResourceResponse.js +57 -0
  25. package/dist/models/PaymentMethod.d.ts +30 -0
  26. package/dist/models/PaymentMethod.js +56 -0
  27. package/dist/models/PaymentSource.d.ts +26 -0
  28. package/dist/models/PaymentSource.js +52 -0
  29. package/dist/models/PaymentStatus.d.ts +25 -0
  30. package/dist/models/PaymentStatus.js +51 -0
  31. package/dist/models/ProductChildCartLiteResource.d.ts +0 -6
  32. package/dist/models/ProductChildCartLiteResource.js +0 -4
  33. package/dist/models/RefundTransactionRequest.d.ts +38 -0
  34. package/dist/models/RefundTransactionRequest.js +53 -0
  35. package/dist/models/StoreCartRequest.d.ts +0 -6
  36. package/dist/models/StoreCartRequest.js +0 -2
  37. package/dist/models/StoreCartRequestShippingAddress.d.ts +6 -0
  38. package/dist/models/StoreCartRequestShippingAddress.js +2 -0
  39. package/dist/models/StoreFrontendResource.d.ts +1 -1
  40. package/dist/models/StoreFrontendResource.js +3 -1
  41. package/dist/models/StoreListResource.d.ts +2 -2
  42. package/dist/models/StoreListResource.js +4 -4
  43. package/dist/models/StoreResource.d.ts +1 -1
  44. package/dist/models/StoreResource.js +3 -1
  45. package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
  46. package/dist/models/StoreSpecialDateFrontendResource.js +1 -3
  47. package/dist/models/StoreSpecialDateResource.d.ts +2 -2
  48. package/dist/models/StoreSpecialDateResource.js +3 -1
  49. package/dist/models/StoreTransactionRequest.d.ts +81 -0
  50. package/dist/models/StoreTransactionRequest.js +78 -0
  51. package/dist/models/TransactionListResource.d.ts +152 -0
  52. package/dist/models/TransactionListResource.js +109 -0
  53. package/dist/models/TransactionListResourceArrayResponse.d.ts +33 -0
  54. package/dist/models/TransactionListResourceArrayResponse.js +50 -0
  55. package/dist/models/TransactionResource.d.ts +152 -0
  56. package/dist/models/TransactionResource.js +109 -0
  57. package/dist/models/TransactionResourceArrayResponse.d.ts +33 -0
  58. package/dist/models/TransactionResourceArrayResponse.js +50 -0
  59. package/dist/models/TransactionType.d.ts +25 -0
  60. package/dist/models/TransactionType.js +51 -0
  61. package/dist/models/UpdateCartRequest.d.ts +0 -6
  62. package/dist/models/UpdateCartRequest.js +0 -2
  63. package/dist/models/UpdateOrderRequest.d.ts +3 -9
  64. package/dist/models/UpdateOrderRequest.js +3 -5
  65. package/dist/models/UpdateOrderRequestBillingAddress.d.ts +6 -0
  66. package/dist/models/UpdateOrderRequestBillingAddress.js +2 -0
  67. package/dist/models/UpdateOrderRequestShippingAddress.d.ts +80 -0
  68. package/dist/models/UpdateOrderRequestShippingAddress.js +67 -0
  69. package/dist/models/index.d.ts +14 -8
  70. package/dist/models/index.js +14 -8
  71. package/docs/AddressResource.md +2 -0
  72. package/docs/AdminOrderResource.md +0 -2
  73. package/docs/CartListResource.md +0 -2
  74. package/docs/CartResource.md +0 -2
  75. package/docs/IndexTransactionRequest.md +60 -0
  76. package/docs/PaginatedTransactionListResourceResponse.md +36 -0
  77. package/docs/{FrontendLineItemResourceArrayResponse.md → PaginatedTransactionResourceResponse.md} +7 -5
  78. package/docs/{CartCouponLiteResource.md → PaymentMethod.md} +4 -10
  79. package/docs/{CartCouponLiteResourceArrayResponse.md → PaymentSource.md} +4 -6
  80. package/docs/PaymentStatus.md +32 -0
  81. package/docs/ProductChildCartLiteResource.md +0 -2
  82. package/docs/RefundTransactionRequest.md +36 -0
  83. package/docs/StoreCartRequest.md +0 -2
  84. package/docs/StoreCartRequestShippingAddress.md +2 -0
  85. package/docs/StoreSpecialDateFrontendResource.md +1 -1
  86. package/docs/StoreSpecialDateResource.md +1 -1
  87. package/docs/StoreTransactionRequest.md +46 -0
  88. package/docs/TransactionListResource.md +74 -0
  89. package/docs/{FrontendOrderResourceArrayResponse.md → TransactionListResourceArrayResponse.md} +5 -5
  90. package/docs/TransactionResource.md +74 -0
  91. package/docs/{FrontendCartResourceArrayResponse.md → TransactionResourceArrayResponse.md} +5 -5
  92. package/docs/TransactionType.md +32 -0
  93. package/docs/TransactionsApi.md +209 -0
  94. package/docs/UpdateCartRequest.md +0 -2
  95. package/docs/UpdateOrderRequest.md +1 -3
  96. package/docs/UpdateOrderRequestBillingAddress.md +2 -0
  97. package/docs/UpdateOrderRequestShippingAddress.md +50 -0
  98. package/package.json +1 -1
  99. package/src/apis/TransactionsApi.ts +193 -0
  100. package/src/apis/index.ts +1 -0
  101. package/src/models/AddressFrontendResource.ts +2 -3
  102. package/src/models/AddressResource.ts +15 -9
  103. package/src/models/AdminOrderResource.ts +0 -9
  104. package/src/models/CartListResource.ts +0 -9
  105. package/src/models/CartResource.ts +0 -9
  106. package/src/models/ExternalApiLogResource.ts +2 -3
  107. package/src/models/IndexTransactionRequest.ts +190 -0
  108. package/src/models/PaginatedTransactionListResourceResponse.ts +90 -0
  109. package/src/models/PaginatedTransactionResourceResponse.ts +90 -0
  110. package/src/models/PaymentMethod.ts +58 -0
  111. package/src/models/PaymentSource.ts +54 -0
  112. package/src/models/PaymentStatus.ts +53 -0
  113. package/src/models/ProductChildCartLiteResource.ts +0 -9
  114. package/src/models/RefundTransactionRequest.ts +74 -0
  115. package/src/models/StoreCartRequest.ts +0 -8
  116. package/src/models/StoreCartRequestShippingAddress.ts +8 -0
  117. package/src/models/StoreFrontendResource.ts +3 -2
  118. package/src/models/StoreListResource.ts +5 -5
  119. package/src/models/StoreResource.ts +3 -2
  120. package/src/models/StoreSpecialDateFrontendResource.ts +3 -4
  121. package/src/models/StoreSpecialDateResource.ts +4 -3
  122. package/src/models/StoreTransactionRequest.ts +131 -0
  123. package/src/models/TransactionListResource.ts +235 -0
  124. package/src/models/TransactionListResourceArrayResponse.ts +73 -0
  125. package/src/models/TransactionResource.ts +235 -0
  126. package/src/models/TransactionResourceArrayResponse.ts +73 -0
  127. package/src/models/TransactionType.ts +53 -0
  128. package/src/models/UpdateCartRequest.ts +0 -8
  129. package/src/models/UpdateOrderRequest.ts +10 -18
  130. package/src/models/UpdateOrderRequestBillingAddress.ts +8 -0
  131. package/src/models/UpdateOrderRequestShippingAddress.ts +130 -0
  132. package/src/models/index.ts +14 -8
  133. package/dist/models/CartCouponLiteResource.d.ts +0 -44
  134. package/dist/models/CartCouponLiteResource.js +0 -59
  135. package/dist/models/CartCouponLiteResourceArrayResponse.d.ts +0 -33
  136. package/dist/models/CartCouponLiteResourceArrayResponse.js +0 -50
  137. package/dist/models/FrontendCartResource.d.ts +0 -144
  138. package/dist/models/FrontendCartResource.js +0 -121
  139. package/dist/models/FrontendCartResourceArrayResponse.d.ts +0 -33
  140. package/dist/models/FrontendCartResourceArrayResponse.js +0 -50
  141. package/dist/models/FrontendLineItemResource.d.ts +0 -63
  142. package/dist/models/FrontendLineItemResource.js +0 -70
  143. package/dist/models/FrontendLineItemResourceArrayResponse.d.ts +0 -33
  144. package/dist/models/FrontendLineItemResourceArrayResponse.js +0 -50
  145. package/dist/models/FrontendOrderResource.d.ts +0 -168
  146. package/dist/models/FrontendOrderResource.js +0 -137
  147. package/dist/models/FrontendOrderResourceArrayResponse.d.ts +0 -33
  148. package/dist/models/FrontendOrderResourceArrayResponse.js +0 -50
  149. package/docs/FrontendCartResource.md +0 -70
  150. package/docs/FrontendLineItemResource.md +0 -44
  151. package/docs/FrontendOrderResource.md +0 -78
  152. package/src/models/CartCouponLiteResource.ts +0 -84
  153. package/src/models/CartCouponLiteResourceArrayResponse.ts +0 -73
  154. package/src/models/FrontendCartResource.ts +0 -254
  155. package/src/models/FrontendCartResourceArrayResponse.ts +0 -73
  156. package/src/models/FrontendLineItemResource.ts +0 -118
  157. package/src/models/FrontendLineItemResourceArrayResponse.ts +0 -73
  158. package/src/models/FrontendOrderResource.ts +0 -290
  159. package/src/models/FrontendOrderResourceArrayResponse.ts +0 -73
@@ -0,0 +1,60 @@
1
+
2
+ # IndexTransactionRequest
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
+ `paymentSource` | Array<string>
15
+ `type` | Array<string>
16
+ `paymentMethod` | Array<string>
17
+ `status` | Array<string>
18
+ `beforeCreatedAt` | Date
19
+ `afterCreatedAt` | Date
20
+ `relatedId` | number
21
+ `relatedType` | string
22
+ `includesRelations` | boolean
23
+
24
+ ## Example
25
+
26
+ ```typescript
27
+ import type { IndexTransactionRequest } from '@digital8/lighting-illusions-ts-sdk'
28
+
29
+ // TODO: Update the object below with actual values
30
+ const example = {
31
+ "search": null,
32
+ "sortBy": null,
33
+ "sortDirection": null,
34
+ "perPage": null,
35
+ "page": null,
36
+ "paymentSource": null,
37
+ "type": null,
38
+ "paymentMethod": null,
39
+ "status": null,
40
+ "beforeCreatedAt": null,
41
+ "afterCreatedAt": null,
42
+ "relatedId": null,
43
+ "relatedType": null,
44
+ "includesRelations": null,
45
+ } satisfies IndexTransactionRequest
46
+
47
+ console.log(example)
48
+
49
+ // Convert the instance to a JSON string
50
+ const exampleJSON: string = JSON.stringify(example)
51
+ console.log(exampleJSON)
52
+
53
+ // Parse the JSON string back to an object
54
+ const exampleParsed = JSON.parse(exampleJSON) as IndexTransactionRequest
55
+ console.log(exampleParsed)
56
+ ```
57
+
58
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
59
+
60
+
@@ -0,0 +1,36 @@
1
+
2
+ # PaginatedTransactionListResourceResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<TransactionListResource>](TransactionListResource.md)
10
+ `meta` | [PagingMetadata](PagingMetadata.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { PaginatedTransactionListResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "data": null,
20
+ "meta": null,
21
+ } satisfies PaginatedTransactionListResourceResponse
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 PaginatedTransactionListResourceResponse
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,22 +1,24 @@
1
1
 
2
- # FrontendLineItemResourceArrayResponse
2
+ # PaginatedTransactionResourceResponse
3
3
 
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `data` | [Array<FrontendLineItemResource>](FrontendLineItemResource.md)
9
+ `data` | [Array<TransactionResource>](TransactionResource.md)
10
+ `meta` | [PagingMetadata](PagingMetadata.md)
10
11
 
11
12
  ## Example
12
13
 
13
14
  ```typescript
14
- import type { FrontendLineItemResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
+ import type { PaginatedTransactionResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
15
16
 
16
17
  // TODO: Update the object below with actual values
17
18
  const example = {
18
19
  "data": null,
19
- } satisfies FrontendLineItemResourceArrayResponse
20
+ "meta": null,
21
+ } satisfies PaginatedTransactionResourceResponse
20
22
 
21
23
  console.log(example)
22
24
 
@@ -25,7 +27,7 @@ const exampleJSON: string = JSON.stringify(example)
25
27
  console.log(exampleJSON)
26
28
 
27
29
  // Parse the JSON string back to an object
28
- const exampleParsed = JSON.parse(exampleJSON) as FrontendLineItemResourceArrayResponse
30
+ const exampleParsed = JSON.parse(exampleJSON) as PaginatedTransactionResourceResponse
29
31
  console.log(exampleParsed)
30
32
  ```
31
33
 
@@ -1,26 +1,20 @@
1
1
 
2
- # CartCouponLiteResource
2
+ # PaymentMethod
3
3
 
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `id` | number
10
- `code` | string
11
- `name` | string
12
9
 
13
10
  ## Example
14
11
 
15
12
  ```typescript
16
- import type { CartCouponLiteResource } from '@digital8/lighting-illusions-ts-sdk'
13
+ import type { PaymentMethod } from '@digital8/lighting-illusions-ts-sdk'
17
14
 
18
15
  // TODO: Update the object below with actual values
19
16
  const example = {
20
- "id": null,
21
- "code": null,
22
- "name": null,
23
- } satisfies CartCouponLiteResource
17
+ } satisfies PaymentMethod
24
18
 
25
19
  console.log(example)
26
20
 
@@ -29,7 +23,7 @@ const exampleJSON: string = JSON.stringify(example)
29
23
  console.log(exampleJSON)
30
24
 
31
25
  // Parse the JSON string back to an object
32
- const exampleParsed = JSON.parse(exampleJSON) as CartCouponLiteResource
26
+ const exampleParsed = JSON.parse(exampleJSON) as PaymentMethod
33
27
  console.log(exampleParsed)
34
28
  ```
35
29
 
@@ -1,22 +1,20 @@
1
1
 
2
- # CartCouponLiteResourceArrayResponse
2
+ # PaymentSource
3
3
 
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `data` | [Array<CartCouponLiteResource>](CartCouponLiteResource.md)
10
9
 
11
10
  ## Example
12
11
 
13
12
  ```typescript
14
- import type { CartCouponLiteResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
13
+ import type { PaymentSource } from '@digital8/lighting-illusions-ts-sdk'
15
14
 
16
15
  // TODO: Update the object below with actual values
17
16
  const example = {
18
- "data": null,
19
- } satisfies CartCouponLiteResourceArrayResponse
17
+ } satisfies PaymentSource
20
18
 
21
19
  console.log(example)
22
20
 
@@ -25,7 +23,7 @@ const exampleJSON: string = JSON.stringify(example)
25
23
  console.log(exampleJSON)
26
24
 
27
25
  // Parse the JSON string back to an object
28
- const exampleParsed = JSON.parse(exampleJSON) as CartCouponLiteResourceArrayResponse
26
+ const exampleParsed = JSON.parse(exampleJSON) as PaymentSource
29
27
  console.log(exampleParsed)
30
28
  ```
31
29
 
@@ -0,0 +1,32 @@
1
+
2
+ # PaymentStatus
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import type { PaymentStatus } from '@digital8/lighting-illusions-ts-sdk'
14
+
15
+ // TODO: Update the object below with actual values
16
+ const example = {
17
+ } satisfies PaymentStatus
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 PaymentStatus
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
+
@@ -12,7 +12,6 @@ Name | Type
12
12
  `model` | string
13
13
  `modelNumber` | string
14
14
  `name` | string
15
- `slug` | string
16
15
  `stock` | number
17
16
  `salePrice` | number
18
17
  `thumbnail` | [AssetLiteResource](AssetLiteResource.md)
@@ -31,7 +30,6 @@ const example = {
31
30
  "model": null,
32
31
  "modelNumber": null,
33
32
  "name": null,
34
- "slug": null,
35
33
  "stock": null,
36
34
  "salePrice": null,
37
35
  "thumbnail": null,
@@ -0,0 +1,36 @@
1
+
2
+ # RefundTransactionRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `amount` | number
10
+ `description` | string
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { RefundTransactionRequest } from '@digital8/lighting-illusions-ts-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "amount": null,
20
+ "description": null,
21
+ } satisfies RefundTransactionRequest
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 RefundTransactionRequest
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
+
@@ -18,7 +18,6 @@ Name | Type
18
18
  `shippingSubtotal` | number
19
19
  `overrideShipping` | boolean
20
20
  `insuranceAmount` | number
21
- `includeInsurance` | boolean
22
21
  `overrideInsurance` | boolean
23
22
  `useAsBillingAddress` | boolean
24
23
  `shippingAddressId` | number
@@ -45,7 +44,6 @@ const example = {
45
44
  "shippingSubtotal": null,
46
45
  "overrideShipping": null,
47
46
  "insuranceAmount": null,
48
- "includeInsurance": null,
49
47
  "overrideInsurance": null,
50
48
  "useAsBillingAddress": null,
51
49
  "shippingAddressId": null,
@@ -8,6 +8,7 @@ Name | Type
8
8
  ------------ | -------------
9
9
  `addresseeName` | string
10
10
  `company` | string
11
+ `addressee` | string
11
12
  `line1` | string
12
13
  `line2` | string
13
14
  `suburb` | string
@@ -24,6 +25,7 @@ import type { StoreCartRequestShippingAddress } from '@digital8/lighting-illusio
24
25
  const example = {
25
26
  "addresseeName": null,
26
27
  "company": null,
28
+ "addressee": null,
27
29
  "line1": null,
28
30
  "line2": null,
29
31
  "suburb": null,
@@ -9,7 +9,7 @@ Name | Type
9
9
  `id` | number
10
10
  `name` | string
11
11
  `hours` | string
12
- `date` | object
12
+ `date` | string
13
13
  `closed` | boolean
14
14
  `displayStartDate` | object
15
15
  `displayEndDate` | object
@@ -9,7 +9,7 @@ Name | Type
9
9
  `id` | number
10
10
  `name` | string
11
11
  `hours` | string
12
- `date` | string
12
+ `date` | object
13
13
  `closed` | boolean
14
14
  `displayStartDate` | string
15
15
  `displayEndDate` | string
@@ -0,0 +1,46 @@
1
+
2
+ # StoreTransactionRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `cartId` | number
10
+ `orderId` | number
11
+ `amount` | number
12
+ `surcharge` | number
13
+ `paymentMethod` | string
14
+ `nonce` | string
15
+ `deviceData` | string
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import type { StoreTransactionRequest } from '@digital8/lighting-illusions-ts-sdk'
21
+
22
+ // TODO: Update the object below with actual values
23
+ const example = {
24
+ "cartId": null,
25
+ "orderId": null,
26
+ "amount": null,
27
+ "surcharge": null,
28
+ "paymentMethod": null,
29
+ "nonce": null,
30
+ "deviceData": null,
31
+ } satisfies StoreTransactionRequest
32
+
33
+ console.log(example)
34
+
35
+ // Convert the instance to a JSON string
36
+ const exampleJSON: string = JSON.stringify(example)
37
+ console.log(exampleJSON)
38
+
39
+ // Parse the JSON string back to an object
40
+ const exampleParsed = JSON.parse(exampleJSON) as StoreTransactionRequest
41
+ console.log(exampleParsed)
42
+ ```
43
+
44
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
45
+
46
+
@@ -0,0 +1,74 @@
1
+
2
+ # TransactionListResource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | number
10
+ `orderId` | number
11
+ `cartId` | number
12
+ `adminId` | number
13
+ `paymentSource` | string
14
+ `paymentMethod` | string
15
+ `type` | string
16
+ `status` | string
17
+ `amount` | number
18
+ `surcharge` | number
19
+ `totalAmount` | number
20
+ `refundedAmount` | number
21
+ `unrefundedAmount` | number
22
+ `reference` | string
23
+ `description` | string
24
+ `extendedData` | string
25
+ `riskScore` | string
26
+ `fraudDecision` | string
27
+ `refundedTransactionId` | number
28
+ `createdAt` | Date
29
+ `updatedAt` | Date
30
+
31
+ ## Example
32
+
33
+ ```typescript
34
+ import type { TransactionListResource } from '@digital8/lighting-illusions-ts-sdk'
35
+
36
+ // TODO: Update the object below with actual values
37
+ const example = {
38
+ "id": null,
39
+ "orderId": null,
40
+ "cartId": null,
41
+ "adminId": null,
42
+ "paymentSource": null,
43
+ "paymentMethod": null,
44
+ "type": null,
45
+ "status": null,
46
+ "amount": null,
47
+ "surcharge": null,
48
+ "totalAmount": null,
49
+ "refundedAmount": null,
50
+ "unrefundedAmount": null,
51
+ "reference": null,
52
+ "description": null,
53
+ "extendedData": null,
54
+ "riskScore": null,
55
+ "fraudDecision": null,
56
+ "refundedTransactionId": null,
57
+ "createdAt": null,
58
+ "updatedAt": null,
59
+ } satisfies TransactionListResource
60
+
61
+ console.log(example)
62
+
63
+ // Convert the instance to a JSON string
64
+ const exampleJSON: string = JSON.stringify(example)
65
+ console.log(exampleJSON)
66
+
67
+ // Parse the JSON string back to an object
68
+ const exampleParsed = JSON.parse(exampleJSON) as TransactionListResource
69
+ console.log(exampleParsed)
70
+ ```
71
+
72
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
73
+
74
+
@@ -1,22 +1,22 @@
1
1
 
2
- # FrontendOrderResourceArrayResponse
2
+ # TransactionListResourceArrayResponse
3
3
 
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `data` | [Array<FrontendOrderResource>](FrontendOrderResource.md)
9
+ `data` | [Array<TransactionListResource>](TransactionListResource.md)
10
10
 
11
11
  ## Example
12
12
 
13
13
  ```typescript
14
- import type { FrontendOrderResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
14
+ import type { TransactionListResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
15
 
16
16
  // TODO: Update the object below with actual values
17
17
  const example = {
18
18
  "data": null,
19
- } satisfies FrontendOrderResourceArrayResponse
19
+ } satisfies TransactionListResourceArrayResponse
20
20
 
21
21
  console.log(example)
22
22
 
@@ -25,7 +25,7 @@ const exampleJSON: string = JSON.stringify(example)
25
25
  console.log(exampleJSON)
26
26
 
27
27
  // Parse the JSON string back to an object
28
- const exampleParsed = JSON.parse(exampleJSON) as FrontendOrderResourceArrayResponse
28
+ const exampleParsed = JSON.parse(exampleJSON) as TransactionListResourceArrayResponse
29
29
  console.log(exampleParsed)
30
30
  ```
31
31
 
@@ -0,0 +1,74 @@
1
+
2
+ # TransactionResource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | number
10
+ `orderId` | number
11
+ `cartId` | number
12
+ `adminId` | number
13
+ `paymentSource` | string
14
+ `paymentMethod` | string
15
+ `type` | string
16
+ `status` | string
17
+ `amount` | number
18
+ `surcharge` | number
19
+ `totalAmount` | number
20
+ `refundedAmount` | number
21
+ `unrefundedAmount` | number
22
+ `reference` | string
23
+ `description` | string
24
+ `extendedData` | string
25
+ `riskScore` | string
26
+ `fraudDecision` | string
27
+ `refundedTransactionId` | number
28
+ `createdAt` | Date
29
+ `updatedAt` | Date
30
+
31
+ ## Example
32
+
33
+ ```typescript
34
+ import type { TransactionResource } from '@digital8/lighting-illusions-ts-sdk'
35
+
36
+ // TODO: Update the object below with actual values
37
+ const example = {
38
+ "id": null,
39
+ "orderId": null,
40
+ "cartId": null,
41
+ "adminId": null,
42
+ "paymentSource": null,
43
+ "paymentMethod": null,
44
+ "type": null,
45
+ "status": null,
46
+ "amount": null,
47
+ "surcharge": null,
48
+ "totalAmount": null,
49
+ "refundedAmount": null,
50
+ "unrefundedAmount": null,
51
+ "reference": null,
52
+ "description": null,
53
+ "extendedData": null,
54
+ "riskScore": null,
55
+ "fraudDecision": null,
56
+ "refundedTransactionId": null,
57
+ "createdAt": null,
58
+ "updatedAt": null,
59
+ } satisfies TransactionResource
60
+
61
+ console.log(example)
62
+
63
+ // Convert the instance to a JSON string
64
+ const exampleJSON: string = JSON.stringify(example)
65
+ console.log(exampleJSON)
66
+
67
+ // Parse the JSON string back to an object
68
+ const exampleParsed = JSON.parse(exampleJSON) as TransactionResource
69
+ console.log(exampleParsed)
70
+ ```
71
+
72
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
73
+
74
+
@@ -1,22 +1,22 @@
1
1
 
2
- # FrontendCartResourceArrayResponse
2
+ # TransactionResourceArrayResponse
3
3
 
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `data` | [Array<FrontendCartResource>](FrontendCartResource.md)
9
+ `data` | [Array<TransactionResource>](TransactionResource.md)
10
10
 
11
11
  ## Example
12
12
 
13
13
  ```typescript
14
- import type { FrontendCartResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
14
+ import type { TransactionResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
15
 
16
16
  // TODO: Update the object below with actual values
17
17
  const example = {
18
18
  "data": null,
19
- } satisfies FrontendCartResourceArrayResponse
19
+ } satisfies TransactionResourceArrayResponse
20
20
 
21
21
  console.log(example)
22
22
 
@@ -25,7 +25,7 @@ const exampleJSON: string = JSON.stringify(example)
25
25
  console.log(exampleJSON)
26
26
 
27
27
  // Parse the JSON string back to an object
28
- const exampleParsed = JSON.parse(exampleJSON) as FrontendCartResourceArrayResponse
28
+ const exampleParsed = JSON.parse(exampleJSON) as TransactionResourceArrayResponse
29
29
  console.log(exampleParsed)
30
30
  ```
31
31
 
@@ -0,0 +1,32 @@
1
+
2
+ # TransactionType
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import type { TransactionType } from '@digital8/lighting-illusions-ts-sdk'
14
+
15
+ // TODO: Update the object below with actual values
16
+ const example = {
17
+ } satisfies TransactionType
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 TransactionType
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
+