@digital8/lighting-illusions-ts-sdk 0.0.1896 → 0.0.1898

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 (106) hide show
  1. package/.openapi-generator/FILES +0 -30
  2. package/README.md +2 -27
  3. package/dist/apis/CartsApi.d.ts +1 -16
  4. package/dist/apis/CartsApi.js +0 -59
  5. package/dist/apis/index.d.ts +0 -1
  6. package/dist/apis/index.js +0 -1
  7. package/dist/models/AddressResource.d.ts +3 -3
  8. package/dist/models/AddressResource.js +5 -7
  9. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  10. package/dist/models/ExternalApiLogResource.js +3 -1
  11. package/dist/models/LineItemListResource.d.ts +0 -6
  12. package/dist/models/LineItemListResource.js +0 -2
  13. package/dist/models/ProductChildCartLiteResource.d.ts +0 -18
  14. package/dist/models/ProductChildCartLiteResource.js +0 -12
  15. package/dist/models/StoreCartRequestShippingAddress.d.ts +2 -2
  16. package/dist/models/StoreCartRequestShippingAddress.js +2 -2
  17. package/dist/models/StoreFrontendResource.d.ts +1 -1
  18. package/dist/models/StoreFrontendResource.js +3 -1
  19. package/dist/models/StoreResource.d.ts +1 -1
  20. package/dist/models/StoreResource.js +3 -1
  21. package/dist/models/StoreSpecialDateResource.d.ts +2 -2
  22. package/dist/models/StoreSpecialDateResource.js +1 -3
  23. package/dist/models/StoreStoreRequestAddress.d.ts +6 -0
  24. package/dist/models/StoreStoreRequestAddress.js +2 -0
  25. package/dist/models/index.d.ts +0 -14
  26. package/dist/models/index.js +0 -14
  27. package/docs/AddressResource.md +2 -2
  28. package/docs/CartsApi.md +0 -66
  29. package/docs/LineItemListResource.md +0 -2
  30. package/docs/ProductChildCartLiteResource.md +0 -6
  31. package/docs/StoreCartRequestShippingAddress.md +2 -2
  32. package/docs/StoreSpecialDateResource.md +1 -1
  33. package/docs/StoreStoreRequestAddress.md +2 -0
  34. package/package.json +1 -1
  35. package/src/apis/CartsApi.ts +0 -52
  36. package/src/apis/index.ts +0 -1
  37. package/src/models/AddressResource.ts +8 -9
  38. package/src/models/ExternalApiLogResource.ts +3 -2
  39. package/src/models/LineItemListResource.ts +0 -8
  40. package/src/models/ProductChildCartLiteResource.ts +0 -27
  41. package/src/models/StoreCartRequestShippingAddress.ts +4 -4
  42. package/src/models/StoreFrontendResource.ts +3 -2
  43. package/src/models/StoreResource.ts +3 -2
  44. package/src/models/StoreSpecialDateResource.ts +3 -4
  45. package/src/models/StoreStoreRequestAddress.ts +8 -0
  46. package/src/models/index.ts +0 -14
  47. package/dist/apis/OrdersApi.d.ts +0 -170
  48. package/dist/apis/OrdersApi.js +0 -678
  49. package/dist/models/AdminOrderResource.d.ts +0 -262
  50. package/dist/models/AdminOrderResource.js +0 -187
  51. package/dist/models/AdminOrderResourceArrayResponse.d.ts +0 -33
  52. package/dist/models/AdminOrderResourceArrayResponse.js +0 -50
  53. package/dist/models/AttachItemOrderRequest.d.ts +0 -44
  54. package/dist/models/AttachItemOrderRequest.js +0 -57
  55. package/dist/models/GetAllOrderRequest.d.ts +0 -104
  56. package/dist/models/GetAllOrderRequest.js +0 -84
  57. package/dist/models/IndexOrderRequest.d.ts +0 -140
  58. package/dist/models/IndexOrderRequest.js +0 -96
  59. package/dist/models/OrderListResource.d.ts +0 -101
  60. package/dist/models/OrderListResource.js +0 -90
  61. package/dist/models/OrderListResourceArrayResponse.d.ts +0 -33
  62. package/dist/models/OrderListResourceArrayResponse.js +0 -50
  63. package/dist/models/OrderLiteResource.d.ts +0 -62
  64. package/dist/models/OrderLiteResource.js +0 -67
  65. package/dist/models/OrderLiteResourceArrayResponse.d.ts +0 -33
  66. package/dist/models/OrderLiteResourceArrayResponse.js +0 -50
  67. package/dist/models/PaginatedOrderListResourceResponse.d.ts +0 -40
  68. package/dist/models/PaginatedOrderListResourceResponse.js +0 -57
  69. package/dist/models/UpdateItemOrderRequest.d.ts +0 -38
  70. package/dist/models/UpdateItemOrderRequest.js +0 -53
  71. package/dist/models/UpdateOrderRequest.d.ts +0 -111
  72. package/dist/models/UpdateOrderRequest.js +0 -99
  73. package/dist/models/UpdateOrderRequestBillingAddress.d.ts +0 -80
  74. package/dist/models/UpdateOrderRequestBillingAddress.js +0 -67
  75. package/dist/models/UpdateOrderRequestShippingAddress.d.ts +0 -80
  76. package/dist/models/UpdateOrderRequestShippingAddress.js +0 -67
  77. package/docs/AdminOrderResource.md +0 -110
  78. package/docs/AdminOrderResourceArrayResponse.md +0 -34
  79. package/docs/AttachItemOrderRequest.md +0 -38
  80. package/docs/GetAllOrderRequest.md +0 -52
  81. package/docs/IndexOrderRequest.md +0 -64
  82. package/docs/OrderListResource.md +0 -56
  83. package/docs/OrderListResourceArrayResponse.md +0 -34
  84. package/docs/OrderLiteResource.md +0 -44
  85. package/docs/OrderLiteResourceArrayResponse.md +0 -34
  86. package/docs/OrdersApi.md +0 -675
  87. package/docs/PaginatedOrderListResourceResponse.md +0 -36
  88. package/docs/UpdateItemOrderRequest.md +0 -36
  89. package/docs/UpdateOrderRequest.md +0 -52
  90. package/docs/UpdateOrderRequestBillingAddress.md +0 -50
  91. package/docs/UpdateOrderRequestShippingAddress.md +0 -50
  92. package/src/apis/OrdersApi.ts +0 -552
  93. package/src/models/AdminOrderResource.ts +0 -414
  94. package/src/models/AdminOrderResourceArrayResponse.ts +0 -73
  95. package/src/models/AttachItemOrderRequest.ts +0 -83
  96. package/src/models/GetAllOrderRequest.ts +0 -159
  97. package/src/models/IndexOrderRequest.ts +0 -207
  98. package/src/models/OrderListResource.ts +0 -183
  99. package/src/models/OrderListResourceArrayResponse.ts +0 -73
  100. package/src/models/OrderLiteResource.ts +0 -109
  101. package/src/models/OrderLiteResourceArrayResponse.ts +0 -73
  102. package/src/models/PaginatedOrderListResourceResponse.ts +0 -90
  103. package/src/models/UpdateItemOrderRequest.ts +0 -74
  104. package/src/models/UpdateOrderRequest.ts +0 -183
  105. package/src/models/UpdateOrderRequestBillingAddress.ts +0 -130
  106. package/src/models/UpdateOrderRequestShippingAddress.ts +0 -130
@@ -1,80 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface UpdateOrderRequestBillingAddress
16
- */
17
- export interface UpdateOrderRequestBillingAddress {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof UpdateOrderRequestBillingAddress
22
- */
23
- adresseeName: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof UpdateOrderRequestBillingAddress
28
- */
29
- addressee?: string | null;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof UpdateOrderRequestBillingAddress
34
- */
35
- company?: string | null;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof UpdateOrderRequestBillingAddress
40
- */
41
- line1?: string | null;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof UpdateOrderRequestBillingAddress
46
- */
47
- line2?: string | null;
48
- /**
49
- *
50
- * @type {string}
51
- * @memberof UpdateOrderRequestBillingAddress
52
- */
53
- suburb?: string | null;
54
- /**
55
- *
56
- * @type {string}
57
- * @memberof UpdateOrderRequestBillingAddress
58
- */
59
- state?: string | null;
60
- /**
61
- *
62
- * @type {string}
63
- * @memberof UpdateOrderRequestBillingAddress
64
- */
65
- postcode?: string | null;
66
- /**
67
- *
68
- * @type {string}
69
- * @memberof UpdateOrderRequestBillingAddress
70
- */
71
- country?: string | null;
72
- }
73
- /**
74
- * Check if a given object implements the UpdateOrderRequestBillingAddress interface.
75
- */
76
- export declare function instanceOfUpdateOrderRequestBillingAddress(value: object): value is UpdateOrderRequestBillingAddress;
77
- export declare function UpdateOrderRequestBillingAddressFromJSON(json: any): UpdateOrderRequestBillingAddress;
78
- export declare function UpdateOrderRequestBillingAddressFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateOrderRequestBillingAddress;
79
- export declare function UpdateOrderRequestBillingAddressToJSON(json: any): UpdateOrderRequestBillingAddress;
80
- export declare function UpdateOrderRequestBillingAddressToJSONTyped(value?: UpdateOrderRequestBillingAddress | null, ignoreDiscriminator?: boolean): any;
@@ -1,67 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfUpdateOrderRequestBillingAddress = instanceOfUpdateOrderRequestBillingAddress;
17
- exports.UpdateOrderRequestBillingAddressFromJSON = UpdateOrderRequestBillingAddressFromJSON;
18
- exports.UpdateOrderRequestBillingAddressFromJSONTyped = UpdateOrderRequestBillingAddressFromJSONTyped;
19
- exports.UpdateOrderRequestBillingAddressToJSON = UpdateOrderRequestBillingAddressToJSON;
20
- exports.UpdateOrderRequestBillingAddressToJSONTyped = UpdateOrderRequestBillingAddressToJSONTyped;
21
- /**
22
- * Check if a given object implements the UpdateOrderRequestBillingAddress interface.
23
- */
24
- function instanceOfUpdateOrderRequestBillingAddress(value) {
25
- if (!('adresseeName' in value) || value['adresseeName'] === undefined)
26
- return false;
27
- return true;
28
- }
29
- function UpdateOrderRequestBillingAddressFromJSON(json) {
30
- return UpdateOrderRequestBillingAddressFromJSONTyped(json, false);
31
- }
32
- function UpdateOrderRequestBillingAddressFromJSONTyped(json, ignoreDiscriminator) {
33
- if (json == null) {
34
- return json;
35
- }
36
- return {
37
- 'adresseeName': json['adressee_name'],
38
- 'addressee': json['addressee'] == null ? undefined : json['addressee'],
39
- 'company': json['company'] == null ? undefined : json['company'],
40
- 'line1': json['line_1'] == null ? undefined : json['line_1'],
41
- 'line2': json['line_2'] == null ? undefined : json['line_2'],
42
- 'suburb': json['suburb'] == null ? undefined : json['suburb'],
43
- 'state': json['state'] == null ? undefined : json['state'],
44
- 'postcode': json['postcode'] == null ? undefined : json['postcode'],
45
- 'country': json['country'] == null ? undefined : json['country'],
46
- };
47
- }
48
- function UpdateOrderRequestBillingAddressToJSON(json) {
49
- return UpdateOrderRequestBillingAddressToJSONTyped(json, false);
50
- }
51
- function UpdateOrderRequestBillingAddressToJSONTyped(value, ignoreDiscriminator) {
52
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
53
- if (value == null) {
54
- return value;
55
- }
56
- return {
57
- 'adressee_name': value['adresseeName'],
58
- 'addressee': value['addressee'],
59
- 'company': value['company'],
60
- 'line_1': value['line1'],
61
- 'line_2': value['line2'],
62
- 'suburb': value['suburb'],
63
- 'state': value['state'],
64
- 'postcode': value['postcode'],
65
- 'country': value['country'],
66
- };
67
- }
@@ -1,80 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface UpdateOrderRequestShippingAddress
16
- */
17
- export interface UpdateOrderRequestShippingAddress {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof UpdateOrderRequestShippingAddress
22
- */
23
- adresseeName: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof UpdateOrderRequestShippingAddress
28
- */
29
- addressee?: string | null;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof UpdateOrderRequestShippingAddress
34
- */
35
- company?: string | null;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof UpdateOrderRequestShippingAddress
40
- */
41
- line1?: string | null;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof UpdateOrderRequestShippingAddress
46
- */
47
- line2?: string | null;
48
- /**
49
- *
50
- * @type {string}
51
- * @memberof UpdateOrderRequestShippingAddress
52
- */
53
- suburb?: string | null;
54
- /**
55
- *
56
- * @type {string}
57
- * @memberof UpdateOrderRequestShippingAddress
58
- */
59
- state?: string | null;
60
- /**
61
- *
62
- * @type {string}
63
- * @memberof UpdateOrderRequestShippingAddress
64
- */
65
- postcode?: string | null;
66
- /**
67
- *
68
- * @type {string}
69
- * @memberof UpdateOrderRequestShippingAddress
70
- */
71
- country?: string | null;
72
- }
73
- /**
74
- * Check if a given object implements the UpdateOrderRequestShippingAddress interface.
75
- */
76
- export declare function instanceOfUpdateOrderRequestShippingAddress(value: object): value is UpdateOrderRequestShippingAddress;
77
- export declare function UpdateOrderRequestShippingAddressFromJSON(json: any): UpdateOrderRequestShippingAddress;
78
- export declare function UpdateOrderRequestShippingAddressFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateOrderRequestShippingAddress;
79
- export declare function UpdateOrderRequestShippingAddressToJSON(json: any): UpdateOrderRequestShippingAddress;
80
- export declare function UpdateOrderRequestShippingAddressToJSONTyped(value?: UpdateOrderRequestShippingAddress | null, ignoreDiscriminator?: boolean): any;
@@ -1,67 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfUpdateOrderRequestShippingAddress = instanceOfUpdateOrderRequestShippingAddress;
17
- exports.UpdateOrderRequestShippingAddressFromJSON = UpdateOrderRequestShippingAddressFromJSON;
18
- exports.UpdateOrderRequestShippingAddressFromJSONTyped = UpdateOrderRequestShippingAddressFromJSONTyped;
19
- exports.UpdateOrderRequestShippingAddressToJSON = UpdateOrderRequestShippingAddressToJSON;
20
- exports.UpdateOrderRequestShippingAddressToJSONTyped = UpdateOrderRequestShippingAddressToJSONTyped;
21
- /**
22
- * Check if a given object implements the UpdateOrderRequestShippingAddress interface.
23
- */
24
- function instanceOfUpdateOrderRequestShippingAddress(value) {
25
- if (!('adresseeName' in value) || value['adresseeName'] === undefined)
26
- return false;
27
- return true;
28
- }
29
- function UpdateOrderRequestShippingAddressFromJSON(json) {
30
- return UpdateOrderRequestShippingAddressFromJSONTyped(json, false);
31
- }
32
- function UpdateOrderRequestShippingAddressFromJSONTyped(json, ignoreDiscriminator) {
33
- if (json == null) {
34
- return json;
35
- }
36
- return {
37
- 'adresseeName': json['adressee_name'],
38
- 'addressee': json['addressee'] == null ? undefined : json['addressee'],
39
- 'company': json['company'] == null ? undefined : json['company'],
40
- 'line1': json['line_1'] == null ? undefined : json['line_1'],
41
- 'line2': json['line_2'] == null ? undefined : json['line_2'],
42
- 'suburb': json['suburb'] == null ? undefined : json['suburb'],
43
- 'state': json['state'] == null ? undefined : json['state'],
44
- 'postcode': json['postcode'] == null ? undefined : json['postcode'],
45
- 'country': json['country'] == null ? undefined : json['country'],
46
- };
47
- }
48
- function UpdateOrderRequestShippingAddressToJSON(json) {
49
- return UpdateOrderRequestShippingAddressToJSONTyped(json, false);
50
- }
51
- function UpdateOrderRequestShippingAddressToJSONTyped(value, ignoreDiscriminator) {
52
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
53
- if (value == null) {
54
- return value;
55
- }
56
- return {
57
- 'adressee_name': value['adresseeName'],
58
- 'addressee': value['addressee'],
59
- 'company': value['company'],
60
- 'line_1': value['line1'],
61
- 'line_2': value['line2'],
62
- 'suburb': value['suburb'],
63
- 'state': value['state'],
64
- 'postcode': value['postcode'],
65
- 'country': value['country'],
66
- };
67
- }
@@ -1,110 +0,0 @@
1
-
2
- # AdminOrderResource
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `id` | number
10
- `cartId` | number
11
- `placedAt` | Date
12
- `createdAt` | Date
13
- `updatedAt` | Date
14
- `source` | string
15
- `paymentToken` | string
16
- `shippingType` | string
17
- `shippingSubtotal` | number
18
- `overrideShipping` | boolean
19
- `insuranceAmount` | number
20
- `overrideInsurance` | boolean
21
- `useAsBillingAddress` | boolean
22
- `netsuiteId` | string
23
- `isNetsuiteLocked` | boolean
24
- `omnisendId` | string
25
- `subtotal` | number
26
- `productDiscountAmount` | number
27
- `cartDiscountAmount` | number
28
- `shippingDiscountAmount` | number
29
- `shippingAmount` | number
30
- `total` | number
31
- `discountAmount` | number
32
- `finalTotalAmount` | number
33
- `totalAmount` | number
34
- `totalShipping` | number
35
- `grandTotal` | number
36
- `discountPreview` | number
37
- `shippingEstimate` | number
38
- `insuranceEstimate` | number
39
- `site` | [SiteLiteResource](SiteLiteResource.md)
40
- `customer` | [CustomerListResource](CustomerListResource.md)
41
- `admin` | object
42
- `status` | Array<number>
43
- `lineItems` | object
44
- `coupons` | object
45
- `shippingAddress` | object
46
- `billingAddress` | object
47
- `omnisendSync` | object
48
-
49
- ## Example
50
-
51
- ```typescript
52
- import type { AdminOrderResource } from '@digital8/lighting-illusions-ts-sdk'
53
-
54
- // TODO: Update the object below with actual values
55
- const example = {
56
- "id": null,
57
- "cartId": null,
58
- "placedAt": null,
59
- "createdAt": null,
60
- "updatedAt": null,
61
- "source": null,
62
- "paymentToken": null,
63
- "shippingType": null,
64
- "shippingSubtotal": null,
65
- "overrideShipping": null,
66
- "insuranceAmount": null,
67
- "overrideInsurance": null,
68
- "useAsBillingAddress": null,
69
- "netsuiteId": null,
70
- "isNetsuiteLocked": null,
71
- "omnisendId": null,
72
- "subtotal": null,
73
- "productDiscountAmount": null,
74
- "cartDiscountAmount": null,
75
- "shippingDiscountAmount": null,
76
- "shippingAmount": null,
77
- "total": null,
78
- "discountAmount": null,
79
- "finalTotalAmount": null,
80
- "totalAmount": null,
81
- "totalShipping": null,
82
- "grandTotal": null,
83
- "discountPreview": null,
84
- "shippingEstimate": null,
85
- "insuranceEstimate": null,
86
- "site": null,
87
- "customer": null,
88
- "admin": null,
89
- "status": null,
90
- "lineItems": null,
91
- "coupons": null,
92
- "shippingAddress": null,
93
- "billingAddress": null,
94
- "omnisendSync": null,
95
- } satisfies AdminOrderResource
96
-
97
- console.log(example)
98
-
99
- // Convert the instance to a JSON string
100
- const exampleJSON: string = JSON.stringify(example)
101
- console.log(exampleJSON)
102
-
103
- // Parse the JSON string back to an object
104
- const exampleParsed = JSON.parse(exampleJSON) as AdminOrderResource
105
- console.log(exampleParsed)
106
- ```
107
-
108
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
109
-
110
-
@@ -1,34 +0,0 @@
1
-
2
- # AdminOrderResourceArrayResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `data` | [Array<AdminOrderResource>](AdminOrderResource.md)
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import type { AdminOrderResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
-
16
- // TODO: Update the object below with actual values
17
- const example = {
18
- "data": null,
19
- } satisfies AdminOrderResourceArrayResponse
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 AdminOrderResourceArrayResponse
29
- console.log(exampleParsed)
30
- ```
31
-
32
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
-
34
-
@@ -1,38 +0,0 @@
1
-
2
- # AttachItemOrderRequest
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `productChildId` | number
10
- `quantity` | number
11
- `productPrice` | number
12
-
13
- ## Example
14
-
15
- ```typescript
16
- import type { AttachItemOrderRequest } from '@digital8/lighting-illusions-ts-sdk'
17
-
18
- // TODO: Update the object below with actual values
19
- const example = {
20
- "productChildId": null,
21
- "quantity": null,
22
- "productPrice": null,
23
- } satisfies AttachItemOrderRequest
24
-
25
- console.log(example)
26
-
27
- // Convert the instance to a JSON string
28
- const exampleJSON: string = JSON.stringify(example)
29
- console.log(exampleJSON)
30
-
31
- // Parse the JSON string back to an object
32
- const exampleParsed = JSON.parse(exampleJSON) as AttachItemOrderRequest
33
- console.log(exampleParsed)
34
- ```
35
-
36
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
37
-
38
-
@@ -1,52 +0,0 @@
1
-
2
- # GetAllOrderRequest
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
- `source` | Array<string>
17
- `statusId` | Array<string>
18
- `customerId` | Array<string>
19
-
20
- ## Example
21
-
22
- ```typescript
23
- import type { GetAllOrderRequest } from '@digital8/lighting-illusions-ts-sdk'
24
-
25
- // TODO: Update the object below with actual values
26
- const example = {
27
- "search": null,
28
- "sortBy": null,
29
- "sortDirection": null,
30
- "relatedId": null,
31
- "relatedType": null,
32
- "includesRelations": null,
33
- "siteId": null,
34
- "source": null,
35
- "statusId": null,
36
- "customerId": null,
37
- } satisfies GetAllOrderRequest
38
-
39
- console.log(example)
40
-
41
- // Convert the instance to a JSON string
42
- const exampleJSON: string = JSON.stringify(example)
43
- console.log(exampleJSON)
44
-
45
- // Parse the JSON string back to an object
46
- const exampleParsed = JSON.parse(exampleJSON) as GetAllOrderRequest
47
- console.log(exampleParsed)
48
- ```
49
-
50
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
51
-
52
-
@@ -1,64 +0,0 @@
1
-
2
- # IndexOrderRequest
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
- `siteId` | Array<string>
15
- `source` | Array<string>
16
- `statusId` | Array<string>
17
- `customerId` | Array<string>
18
- `beforeCreatedAt` | Date
19
- `afterCreatedAt` | Date
20
- `beforePlacedAt` | Date
21
- `afterPlacedAt` | Date
22
- `relatedId` | number
23
- `relatedType` | string
24
- `includesRelations` | boolean
25
-
26
- ## Example
27
-
28
- ```typescript
29
- import type { IndexOrderRequest } from '@digital8/lighting-illusions-ts-sdk'
30
-
31
- // TODO: Update the object below with actual values
32
- const example = {
33
- "search": null,
34
- "sortBy": null,
35
- "sortDirection": null,
36
- "perPage": null,
37
- "page": null,
38
- "siteId": null,
39
- "source": null,
40
- "statusId": null,
41
- "customerId": null,
42
- "beforeCreatedAt": null,
43
- "afterCreatedAt": null,
44
- "beforePlacedAt": null,
45
- "afterPlacedAt": null,
46
- "relatedId": null,
47
- "relatedType": null,
48
- "includesRelations": null,
49
- } satisfies IndexOrderRequest
50
-
51
- console.log(example)
52
-
53
- // Convert the instance to a JSON string
54
- const exampleJSON: string = JSON.stringify(example)
55
- console.log(exampleJSON)
56
-
57
- // Parse the JSON string back to an object
58
- const exampleParsed = JSON.parse(exampleJSON) as IndexOrderRequest
59
- console.log(exampleParsed)
60
- ```
61
-
62
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
63
-
64
-
@@ -1,56 +0,0 @@
1
-
2
- # OrderListResource
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `id` | number
10
- `cartId` | number
11
- `placedAt` | Date
12
- `createdAt` | Date
13
- `updatedAt` | Date
14
- `subtotal` | number
15
- `finalTotalAmount` | number
16
- `cartStatusContext` | object
17
- `site` | [SiteLiteResource](SiteLiteResource.md)
18
- `customer` | [CustomerListResource](CustomerListResource.md)
19
- `status` | Array<number>
20
- `lineItems` | [Array<LineItemListResource>](LineItemListResource.md)
21
-
22
- ## Example
23
-
24
- ```typescript
25
- import type { OrderListResource } from '@digital8/lighting-illusions-ts-sdk'
26
-
27
- // TODO: Update the object below with actual values
28
- const example = {
29
- "id": null,
30
- "cartId": null,
31
- "placedAt": null,
32
- "createdAt": null,
33
- "updatedAt": null,
34
- "subtotal": null,
35
- "finalTotalAmount": null,
36
- "cartStatusContext": null,
37
- "site": null,
38
- "customer": null,
39
- "status": null,
40
- "lineItems": null,
41
- } satisfies OrderListResource
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 OrderListResource
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
-
@@ -1,34 +0,0 @@
1
-
2
- # OrderListResourceArrayResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `data` | [Array<OrderListResource>](OrderListResource.md)
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import type { OrderListResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
-
16
- // TODO: Update the object below with actual values
17
- const example = {
18
- "data": null,
19
- } satisfies OrderListResourceArrayResponse
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 OrderListResourceArrayResponse
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
-