@digital8/lighting-illusions-ts-sdk 0.0.1775 → 0.0.1776

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 (137) hide show
  1. package/.openapi-generator/FILES +50 -0
  2. package/README.md +32 -2
  3. package/dist/apis/CartsApi.d.ts +94 -0
  4. package/dist/apis/CartsApi.js +375 -0
  5. package/dist/apis/CustomersApi.d.ts +48 -0
  6. package/dist/apis/CustomersApi.js +196 -0
  7. package/dist/apis/index.d.ts +2 -0
  8. package/dist/apis/index.js +2 -0
  9. package/dist/models/AddressFrontendResource.d.ts +2 -2
  10. package/dist/models/AddressFrontendResource.js +4 -4
  11. package/dist/models/AddressResource.d.ts +1 -1
  12. package/dist/models/AddressResource.js +3 -1
  13. package/dist/models/CartAddressType.d.ts +25 -0
  14. package/dist/models/CartAddressType.js +51 -0
  15. package/dist/models/CartItemListResource.d.ts +51 -0
  16. package/dist/models/CartItemListResource.js +62 -0
  17. package/dist/models/CartItemListResourceArrayResponse.d.ts +33 -0
  18. package/dist/models/CartItemListResourceArrayResponse.js +50 -0
  19. package/dist/models/CartListResource.d.ts +101 -0
  20. package/dist/models/CartListResource.js +90 -0
  21. package/dist/models/CartListResourceArrayResponse.d.ts +33 -0
  22. package/dist/models/CartListResourceArrayResponse.js +50 -0
  23. package/dist/models/CartOrderSource.d.ts +29 -0
  24. package/dist/models/CartOrderSource.js +55 -0
  25. package/dist/models/CartResource.d.ts +155 -0
  26. package/dist/models/CartResource.js +116 -0
  27. package/dist/models/CartResourceArrayResponse.d.ts +33 -0
  28. package/dist/models/CartResourceArrayResponse.js +50 -0
  29. package/dist/models/CartStatus.d.ts +26 -0
  30. package/dist/models/CartStatus.js +52 -0
  31. package/dist/models/CustomerListResource.d.ts +69 -0
  32. package/dist/models/CustomerListResource.js +72 -0
  33. package/dist/models/CustomerListResourceArrayResponse.d.ts +33 -0
  34. package/dist/models/CustomerListResourceArrayResponse.js +50 -0
  35. package/dist/models/CustomerResource.d.ts +69 -0
  36. package/dist/models/CustomerResource.js +72 -0
  37. package/dist/models/CustomerResourceArrayResponse.d.ts +33 -0
  38. package/dist/models/CustomerResourceArrayResponse.js +50 -0
  39. package/dist/models/IndexCartRequest.d.ts +154 -0
  40. package/dist/models/IndexCartRequest.js +105 -0
  41. package/dist/models/IndexCustomerRequest.d.ts +99 -0
  42. package/dist/models/IndexCustomerRequest.js +83 -0
  43. package/dist/models/PaginatedCartListResourceResponse.d.ts +40 -0
  44. package/dist/models/PaginatedCartListResourceResponse.js +57 -0
  45. package/dist/models/PaginatedCustomerListResourceResponse.d.ts +40 -0
  46. package/dist/models/PaginatedCustomerListResourceResponse.js +57 -0
  47. package/dist/models/SitePaymentConfigResource.d.ts +6 -0
  48. package/dist/models/SitePaymentConfigResource.js +4 -0
  49. package/dist/models/StoreCartRequest.d.ts +95 -0
  50. package/dist/models/StoreCartRequest.js +90 -0
  51. package/dist/models/StoreCartRequestCustomer.d.ts +50 -0
  52. package/dist/models/StoreCartRequestCustomer.js +55 -0
  53. package/dist/models/StoreCartRequestItemsInner.d.ts +44 -0
  54. package/dist/models/StoreCartRequestItemsInner.js +57 -0
  55. package/dist/models/StoreCartRequestShippingAddress.d.ts +74 -0
  56. package/dist/models/StoreCartRequestShippingAddress.js +63 -0
  57. package/dist/models/StoreCustomerRequest.d.ts +56 -0
  58. package/dist/models/StoreCustomerRequest.js +65 -0
  59. package/dist/models/StoreListResource.d.ts +1 -1
  60. package/dist/models/StoreListResource.js +1 -3
  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 +3 -1
  65. package/dist/models/StoreSpecialDateResource.d.ts +2 -2
  66. package/dist/models/StoreSpecialDateResource.js +3 -1
  67. package/dist/models/UpdateCartRequest.d.ts +70 -0
  68. package/dist/models/UpdateCartRequest.js +75 -0
  69. package/dist/models/UpdateSiteRequest.d.ts +6 -0
  70. package/dist/models/UpdateSiteRequest.js +4 -0
  71. package/dist/models/index.d.ts +23 -0
  72. package/dist/models/index.js +23 -0
  73. package/docs/CartAddressType.md +32 -0
  74. package/docs/CartItemListResource.md +40 -0
  75. package/docs/CartItemListResourceArrayResponse.md +34 -0
  76. package/docs/CartListResource.md +56 -0
  77. package/docs/CartListResourceArrayResponse.md +34 -0
  78. package/docs/CartOrderSource.md +32 -0
  79. package/docs/CartResource.md +74 -0
  80. package/docs/CartResourceArrayResponse.md +34 -0
  81. package/docs/CartStatus.md +32 -0
  82. package/docs/CartsApi.md +341 -0
  83. package/docs/CustomerListResource.md +46 -0
  84. package/docs/CustomerListResourceArrayResponse.md +34 -0
  85. package/docs/CustomerResource.md +46 -0
  86. package/docs/CustomerResourceArrayResponse.md +34 -0
  87. package/docs/CustomersApi.md +140 -0
  88. package/docs/IndexCartRequest.md +66 -0
  89. package/docs/IndexCustomerRequest.md +50 -0
  90. package/docs/PaginatedCartListResourceResponse.md +36 -0
  91. package/docs/PaginatedCustomerListResourceResponse.md +36 -0
  92. package/docs/SitePaymentConfigResource.md +2 -0
  93. package/docs/StoreCartRequest.md +50 -0
  94. package/docs/StoreCartRequestCustomer.md +40 -0
  95. package/docs/StoreCartRequestItemsInner.md +38 -0
  96. package/docs/StoreCartRequestShippingAddress.md +48 -0
  97. package/docs/StoreCustomerRequest.md +42 -0
  98. package/docs/StoreSpecialDateFrontendResource.md +1 -1
  99. package/docs/StoreSpecialDateResource.md +1 -1
  100. package/docs/UpdateCartRequest.md +42 -0
  101. package/docs/UpdateSiteRequest.md +2 -0
  102. package/package.json +1 -1
  103. package/src/apis/CartsApi.ts +284 -0
  104. package/src/apis/CustomersApi.ts +127 -0
  105. package/src/apis/index.ts +2 -0
  106. package/src/models/AddressFrontendResource.ts +5 -5
  107. package/src/models/AddressResource.ts +3 -2
  108. package/src/models/CartAddressType.ts +53 -0
  109. package/src/models/CartItemListResource.ts +100 -0
  110. package/src/models/CartItemListResourceArrayResponse.ts +73 -0
  111. package/src/models/CartListResource.ts +183 -0
  112. package/src/models/CartListResourceArrayResponse.ts +73 -0
  113. package/src/models/CartOrderSource.ts +57 -0
  114. package/src/models/CartResource.ts +259 -0
  115. package/src/models/CartResourceArrayResponse.ts +73 -0
  116. package/src/models/CartStatus.ts +54 -0
  117. package/src/models/CustomerListResource.ts +126 -0
  118. package/src/models/CustomerListResourceArrayResponse.ts +73 -0
  119. package/src/models/CustomerResource.ts +126 -0
  120. package/src/models/CustomerResourceArrayResponse.ts +73 -0
  121. package/src/models/IndexCartRequest.ts +224 -0
  122. package/src/models/IndexCustomerRequest.ts +152 -0
  123. package/src/models/PaginatedCartListResourceResponse.ts +90 -0
  124. package/src/models/PaginatedCustomerListResourceResponse.ts +90 -0
  125. package/src/models/SitePaymentConfigResource.ts +9 -0
  126. package/src/models/StoreCartRequest.ts +171 -0
  127. package/src/models/StoreCartRequestCustomer.ts +89 -0
  128. package/src/models/StoreCartRequestItemsInner.ts +83 -0
  129. package/src/models/StoreCartRequestShippingAddress.ts +121 -0
  130. package/src/models/StoreCustomerRequest.ts +101 -0
  131. package/src/models/StoreListResource.ts +2 -3
  132. package/src/models/StoreResource.ts +3 -2
  133. package/src/models/StoreSpecialDateFrontendResource.ts +4 -3
  134. package/src/models/StoreSpecialDateResource.ts +4 -3
  135. package/src/models/UpdateCartRequest.ts +129 -0
  136. package/src/models/UpdateSiteRequest.ts +9 -0
  137. package/src/models/index.ts +23 -0
@@ -39,6 +39,15 @@ export * from './AttributeResourceArrayResponse';
39
39
  export * from './AttributeType';
40
40
  export * from './AttributeValueResource';
41
41
  export * from './AttributeValueResourceArrayResponse';
42
+ export * from './CartAddressType';
43
+ export * from './CartItemListResource';
44
+ export * from './CartItemListResourceArrayResponse';
45
+ export * from './CartListResource';
46
+ export * from './CartListResourceArrayResponse';
47
+ export * from './CartOrderSource';
48
+ export * from './CartResource';
49
+ export * from './CartResourceArrayResponse';
50
+ export * from './CartStatus';
42
51
  export * from './CategoryAutomationComparisonType';
43
52
  export * from './CategoryAutomationConditionType';
44
53
  export * from './CategoryAutomationFieldType';
@@ -49,6 +58,10 @@ export * from './CategoryFrontendResourceArrayResponse';
49
58
  export * from './CategoryWithChildrenFrontendResource';
50
59
  export * from './CategoryWithChildrenFrontendResourceArrayResponse';
51
60
  export * from './CouponDiscountType';
61
+ export * from './CustomerListResource';
62
+ export * from './CustomerListResourceArrayResponse';
63
+ export * from './CustomerResource';
64
+ export * from './CustomerResourceArrayResponse';
52
65
  export * from './DefinitionListResource';
53
66
  export * from './DefinitionListResourceArrayResponse';
54
67
  export * from './DefinitionResource';
@@ -112,6 +125,8 @@ export * from './GoogleCategoryResource';
112
125
  export * from './GoogleCategoryResourceArrayResponse';
113
126
  export * from './IndexAttributeRequest';
114
127
  export * from './IndexAttributeValueRequest';
128
+ export * from './IndexCartRequest';
129
+ export * from './IndexCustomerRequest';
115
130
  export * from './IndexDefinitionRequest';
116
131
  export * from './IndexDocumentRequest';
117
132
  export * from './IndexExternalApiLogRequest';
@@ -174,7 +189,9 @@ export * from './PaginatedAttributeLiteResourceResponse';
174
189
  export * from './PaginatedAttributeProductTypeRelationResourceResponse';
175
190
  export * from './PaginatedAttributeResourceResponse';
176
191
  export * from './PaginatedAttributeValueResourceResponse';
192
+ export * from './PaginatedCartListResourceResponse';
177
193
  export * from './PaginatedCategoryFrontendResourceResponse';
194
+ export * from './PaginatedCustomerListResourceResponse';
178
195
  export * from './PaginatedDefinitionListResourceResponse';
179
196
  export * from './PaginatedDefinitionResourceResponse';
180
197
  export * from './PaginatedDocumentResourceResponse';
@@ -344,6 +361,11 @@ export * from './StoreAssetFileRequest';
344
361
  export * from './StoreAssetForAssetableRequest';
345
362
  export * from './StoreAttributeRequest';
346
363
  export * from './StoreAttributeValueRequest';
364
+ export * from './StoreCartRequest';
365
+ export * from './StoreCartRequestCustomer';
366
+ export * from './StoreCartRequestItemsInner';
367
+ export * from './StoreCartRequestShippingAddress';
368
+ export * from './StoreCustomerRequest';
347
369
  export * from './StoreDefinitionRequest';
348
370
  export * from './StoreDocumentFileRequest';
349
371
  export * from './StoreDocumentRequest';
@@ -405,6 +427,7 @@ export * from './TagType';
405
427
  export * from './UpdateAssetForAssetableRequest';
406
428
  export * from './UpdateAttributeRequest';
407
429
  export * from './UpdateAttributeValueRequest';
430
+ export * from './UpdateCartRequest';
408
431
  export * from './UpdateDefinitionRequest';
409
432
  export * from './UpdateDocumentRequest';
410
433
  export * from './UpdateFilterOrderAttributeRequest';
@@ -57,6 +57,15 @@ __exportStar(require("./AttributeResourceArrayResponse"), exports);
57
57
  __exportStar(require("./AttributeType"), exports);
58
58
  __exportStar(require("./AttributeValueResource"), exports);
59
59
  __exportStar(require("./AttributeValueResourceArrayResponse"), exports);
60
+ __exportStar(require("./CartAddressType"), exports);
61
+ __exportStar(require("./CartItemListResource"), exports);
62
+ __exportStar(require("./CartItemListResourceArrayResponse"), exports);
63
+ __exportStar(require("./CartListResource"), exports);
64
+ __exportStar(require("./CartListResourceArrayResponse"), exports);
65
+ __exportStar(require("./CartOrderSource"), exports);
66
+ __exportStar(require("./CartResource"), exports);
67
+ __exportStar(require("./CartResourceArrayResponse"), exports);
68
+ __exportStar(require("./CartStatus"), exports);
60
69
  __exportStar(require("./CategoryAutomationComparisonType"), exports);
61
70
  __exportStar(require("./CategoryAutomationConditionType"), exports);
62
71
  __exportStar(require("./CategoryAutomationFieldType"), exports);
@@ -67,6 +76,10 @@ __exportStar(require("./CategoryFrontendResourceArrayResponse"), exports);
67
76
  __exportStar(require("./CategoryWithChildrenFrontendResource"), exports);
68
77
  __exportStar(require("./CategoryWithChildrenFrontendResourceArrayResponse"), exports);
69
78
  __exportStar(require("./CouponDiscountType"), exports);
79
+ __exportStar(require("./CustomerListResource"), exports);
80
+ __exportStar(require("./CustomerListResourceArrayResponse"), exports);
81
+ __exportStar(require("./CustomerResource"), exports);
82
+ __exportStar(require("./CustomerResourceArrayResponse"), exports);
70
83
  __exportStar(require("./DefinitionListResource"), exports);
71
84
  __exportStar(require("./DefinitionListResourceArrayResponse"), exports);
72
85
  __exportStar(require("./DefinitionResource"), exports);
@@ -130,6 +143,8 @@ __exportStar(require("./GoogleCategoryResource"), exports);
130
143
  __exportStar(require("./GoogleCategoryResourceArrayResponse"), exports);
131
144
  __exportStar(require("./IndexAttributeRequest"), exports);
132
145
  __exportStar(require("./IndexAttributeValueRequest"), exports);
146
+ __exportStar(require("./IndexCartRequest"), exports);
147
+ __exportStar(require("./IndexCustomerRequest"), exports);
133
148
  __exportStar(require("./IndexDefinitionRequest"), exports);
134
149
  __exportStar(require("./IndexDocumentRequest"), exports);
135
150
  __exportStar(require("./IndexExternalApiLogRequest"), exports);
@@ -192,7 +207,9 @@ __exportStar(require("./PaginatedAttributeLiteResourceResponse"), exports);
192
207
  __exportStar(require("./PaginatedAttributeProductTypeRelationResourceResponse"), exports);
193
208
  __exportStar(require("./PaginatedAttributeResourceResponse"), exports);
194
209
  __exportStar(require("./PaginatedAttributeValueResourceResponse"), exports);
210
+ __exportStar(require("./PaginatedCartListResourceResponse"), exports);
195
211
  __exportStar(require("./PaginatedCategoryFrontendResourceResponse"), exports);
212
+ __exportStar(require("./PaginatedCustomerListResourceResponse"), exports);
196
213
  __exportStar(require("./PaginatedDefinitionListResourceResponse"), exports);
197
214
  __exportStar(require("./PaginatedDefinitionResourceResponse"), exports);
198
215
  __exportStar(require("./PaginatedDocumentResourceResponse"), exports);
@@ -362,6 +379,11 @@ __exportStar(require("./StoreAssetFileRequest"), exports);
362
379
  __exportStar(require("./StoreAssetForAssetableRequest"), exports);
363
380
  __exportStar(require("./StoreAttributeRequest"), exports);
364
381
  __exportStar(require("./StoreAttributeValueRequest"), exports);
382
+ __exportStar(require("./StoreCartRequest"), exports);
383
+ __exportStar(require("./StoreCartRequestCustomer"), exports);
384
+ __exportStar(require("./StoreCartRequestItemsInner"), exports);
385
+ __exportStar(require("./StoreCartRequestShippingAddress"), exports);
386
+ __exportStar(require("./StoreCustomerRequest"), exports);
365
387
  __exportStar(require("./StoreDefinitionRequest"), exports);
366
388
  __exportStar(require("./StoreDocumentFileRequest"), exports);
367
389
  __exportStar(require("./StoreDocumentRequest"), exports);
@@ -423,6 +445,7 @@ __exportStar(require("./TagType"), exports);
423
445
  __exportStar(require("./UpdateAssetForAssetableRequest"), exports);
424
446
  __exportStar(require("./UpdateAttributeRequest"), exports);
425
447
  __exportStar(require("./UpdateAttributeValueRequest"), exports);
448
+ __exportStar(require("./UpdateCartRequest"), exports);
426
449
  __exportStar(require("./UpdateDefinitionRequest"), exports);
427
450
  __exportStar(require("./UpdateDocumentRequest"), exports);
428
451
  __exportStar(require("./UpdateFilterOrderAttributeRequest"), exports);
@@ -0,0 +1,32 @@
1
+
2
+ # CartAddressType
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import type { CartAddressType } from '@digital8/lighting-illusions-ts-sdk'
14
+
15
+ // TODO: Update the object below with actual values
16
+ const example = {
17
+ } satisfies CartAddressType
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 CartAddressType
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
+
@@ -0,0 +1,40 @@
1
+
2
+ # CartItemListResource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | number
10
+ `quantity` | number
11
+ `productPrice` | number
12
+ `productChild` | [ProductChildListResource](ProductChildListResource.md)
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { CartItemListResource } from '@digital8/lighting-illusions-ts-sdk'
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "id": null,
22
+ "quantity": null,
23
+ "productPrice": null,
24
+ "productChild": null,
25
+ } satisfies CartItemListResource
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 CartItemListResource
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
+
@@ -0,0 +1,34 @@
1
+
2
+ # CartItemListResourceArrayResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<CartItemListResource>](CartItemListResource.md)
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { CartItemListResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "data": null,
19
+ } satisfies CartItemListResourceArrayResponse
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 CartItemListResourceArrayResponse
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
+
@@ -0,0 +1,56 @@
1
+
2
+ # CartListResource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | number
10
+ `siteId` | number
11
+ `customerId` | number
12
+ `source` | string
13
+ `expiryDate` | Date
14
+ `checkoutCompletedAt` | Date
15
+ `createdAt` | Date
16
+ `site` | [SiteLiteResource](SiteLiteResource.md)
17
+ `customer` | [CustomerListResource](CustomerListResource.md)
18
+ `cartItems` | [Array<CartItemListResource>](CartItemListResource.md)
19
+ `subtotal` | number
20
+ `status` | string
21
+
22
+ ## Example
23
+
24
+ ```typescript
25
+ import type { CartListResource } from '@digital8/lighting-illusions-ts-sdk'
26
+
27
+ // TODO: Update the object below with actual values
28
+ const example = {
29
+ "id": null,
30
+ "siteId": null,
31
+ "customerId": null,
32
+ "source": null,
33
+ "expiryDate": null,
34
+ "checkoutCompletedAt": null,
35
+ "createdAt": null,
36
+ "site": null,
37
+ "customer": null,
38
+ "cartItems": null,
39
+ "subtotal": null,
40
+ "status": null,
41
+ } satisfies CartListResource
42
+
43
+ console.log(example)
44
+
45
+ // Convert the instance to a JSON string
46
+ const exampleJSON: string = JSON.stringify(example)
47
+ console.log(exampleJSON)
48
+
49
+ // Parse the JSON string back to an object
50
+ const exampleParsed = JSON.parse(exampleJSON) as CartListResource
51
+ console.log(exampleParsed)
52
+ ```
53
+
54
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
55
+
56
+
@@ -0,0 +1,34 @@
1
+
2
+ # CartListResourceArrayResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<CartListResource>](CartListResource.md)
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { CartListResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "data": null,
19
+ } satisfies CartListResourceArrayResponse
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 CartListResourceArrayResponse
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
+
@@ -0,0 +1,32 @@
1
+
2
+ # CartOrderSource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import type { CartOrderSource } from '@digital8/lighting-illusions-ts-sdk'
14
+
15
+ // TODO: Update the object below with actual values
16
+ const example = {
17
+ } satisfies CartOrderSource
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 CartOrderSource
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
+
@@ -0,0 +1,74 @@
1
+
2
+ # CartResource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | number
10
+ `siteId` | number
11
+ `customerId` | number
12
+ `source` | string
13
+ `sessionToken` | string
14
+ `paymentToken` | string
15
+ `expiryDate` | Date
16
+ `checkoutCompletedAt` | Date
17
+ `createdAt` | Date
18
+ `updatedAt` | Date
19
+ `site` | [SiteLiteResource](SiteLiteResource.md)
20
+ `customer` | [CustomerListResource](CustomerListResource.md)
21
+ `cartItems` | [Array<CartItemListResource>](CartItemListResource.md)
22
+ `coupons` | object
23
+ `shippingAddress` | Array<string | null>
24
+ `billingAddress` | string
25
+ `subtotal` | number
26
+ `discountPreview` | string
27
+ `shippingEstimate` | number
28
+ `insuranceEstimate` | number
29
+ `status` | string
30
+
31
+ ## Example
32
+
33
+ ```typescript
34
+ import type { CartResource } from '@digital8/lighting-illusions-ts-sdk'
35
+
36
+ // TODO: Update the object below with actual values
37
+ const example = {
38
+ "id": null,
39
+ "siteId": null,
40
+ "customerId": null,
41
+ "source": null,
42
+ "sessionToken": null,
43
+ "paymentToken": null,
44
+ "expiryDate": null,
45
+ "checkoutCompletedAt": null,
46
+ "createdAt": null,
47
+ "updatedAt": null,
48
+ "site": null,
49
+ "customer": null,
50
+ "cartItems": null,
51
+ "coupons": null,
52
+ "shippingAddress": null,
53
+ "billingAddress": null,
54
+ "subtotal": null,
55
+ "discountPreview": null,
56
+ "shippingEstimate": null,
57
+ "insuranceEstimate": null,
58
+ "status": null,
59
+ } satisfies CartResource
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 CartResource
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
+
@@ -0,0 +1,34 @@
1
+
2
+ # CartResourceArrayResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<CartResource>](CartResource.md)
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { CartResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "data": null,
19
+ } satisfies CartResourceArrayResponse
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 CartResourceArrayResponse
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
+
@@ -0,0 +1,32 @@
1
+
2
+ # CartStatus
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import type { CartStatus } from '@digital8/lighting-illusions-ts-sdk'
14
+
15
+ // TODO: Update the object below with actual values
16
+ const example = {
17
+ } satisfies CartStatus
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 CartStatus
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
+