@digital8/lighting-illusions-ts-sdk 0.0.2034 → 0.0.2036
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.
- package/.openapi-generator/FILES +18 -8
- package/README.md +12 -7
- package/dist/apis/OrdersApi.d.ts +15 -0
- package/dist/apis/OrdersApi.js +59 -0
- package/dist/apis/ProductApi.d.ts +0 -16
- package/dist/apis/ProductApi.js +0 -59
- package/dist/apis/TransactionsApi.d.ts +3 -3
- package/dist/apis/TransactionsApi.js +2 -2
- package/dist/models/AddressFrontendResource.d.ts +1 -1
- package/dist/models/AddressFrontendResource.js +3 -1
- package/dist/models/AddressResource.d.ts +1 -7
- package/dist/models/AddressResource.js +1 -5
- package/dist/models/AdminNoteResource.d.ts +12 -0
- package/dist/models/AdminNoteResource.js +8 -0
- package/dist/models/AdminOrderResource.d.ts +3 -3
- package/dist/models/AdminOrderResource.js +3 -3
- package/dist/models/CartCouponLiteResource.d.ts +56 -0
- package/dist/models/CartCouponLiteResource.js +67 -0
- package/dist/models/CartCouponLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/CartCouponLiteResourceArrayResponse.js +50 -0
- package/dist/models/CartResource.d.ts +3 -3
- package/dist/models/CartResource.js +3 -3
- package/dist/models/CreateTransactionRequest.d.ts +0 -6
- package/dist/models/CreateTransactionRequest.js +0 -2
- package/dist/models/CustomerListResource.d.ts +7 -0
- package/dist/models/CustomerListResource.js +5 -0
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/FrontendCartResource.d.ts +144 -0
- package/dist/models/FrontendCartResource.js +121 -0
- package/dist/models/FrontendCartResourceArrayResponse.d.ts +33 -0
- package/dist/models/FrontendCartResourceArrayResponse.js +50 -0
- package/dist/models/FrontendCartResourceCouponsInner.d.ts +56 -0
- package/dist/models/FrontendCartResourceCouponsInner.js +57 -0
- package/dist/models/FrontendLineItemResource.d.ts +81 -0
- package/dist/models/FrontendLineItemResource.js +82 -0
- package/dist/models/FrontendLineItemResourceArrayResponse.d.ts +33 -0
- package/dist/models/FrontendLineItemResourceArrayResponse.js +50 -0
- package/dist/models/FrontendOrderResource.d.ts +168 -0
- package/dist/models/FrontendOrderResource.js +137 -0
- package/dist/models/FrontendOrderResourceArrayResponse.d.ts +33 -0
- package/dist/models/FrontendOrderResourceArrayResponse.js +50 -0
- package/dist/models/PaymentSource.d.ts +1 -0
- package/dist/models/PaymentSource.js +2 -1
- package/dist/models/ProductChildLineItemLiteResource.d.ts +18 -0
- package/dist/models/ProductChildLineItemLiteResource.js +12 -0
- package/dist/models/StoreFrontendResource.d.ts +2 -2
- package/dist/models/StoreFrontendResource.js +6 -2
- package/dist/models/StoreListResource.d.ts +2 -2
- package/dist/models/StoreListResource.js +6 -2
- package/dist/models/StoreResource.d.ts +1 -1
- package/dist/models/StoreResource.js +1 -3
- package/dist/models/StoreSpecialDateResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateResource.js +3 -1
- package/dist/models/TransactionLiteResource.d.ts +0 -12
- package/dist/models/TransactionLiteResource.js +0 -4
- package/dist/models/UpdateOrderRequest.d.ts +0 -6
- package/dist/models/UpdateOrderRequest.js +0 -2
- package/dist/models/index.d.ts +9 -4
- package/dist/models/index.js +9 -4
- package/docs/AddressResource.md +0 -2
- package/docs/AdminNoteResource.md +4 -0
- package/docs/AdminOrderResource.md +1 -1
- package/docs/CartCouponLiteResource.md +42 -0
- package/docs/{TransactionListResourceArrayResponse.md → CartCouponLiteResourceArrayResponse.md} +5 -5
- package/docs/CartResource.md +1 -1
- package/docs/CreateTransactionRequest.md +0 -2
- package/docs/CustomerListResource.md +2 -0
- package/docs/FrontendCartResource.md +70 -0
- package/docs/{SkuSearchProductChildRequest.md → FrontendCartResourceArrayResponse.md} +6 -8
- package/docs/FrontendCartResourceCouponsInner.md +42 -0
- package/docs/FrontendLineItemResource.md +50 -0
- package/docs/{PaginatedTransactionListResourceResponse.md → FrontendLineItemResourceArrayResponse.md} +5 -7
- package/docs/FrontendOrderResource.md +78 -0
- package/docs/FrontendOrderResourceArrayResponse.md +34 -0
- package/docs/OrdersApi.md +66 -0
- package/docs/ProductApi.md +0 -66
- package/docs/ProductChildLineItemLiteResource.md +6 -0
- package/docs/StoreSpecialDateResource.md +1 -1
- package/docs/TransactionLiteResource.md +0 -4
- package/docs/TransactionsApi.md +3 -3
- package/docs/UpdateOrderRequest.md +0 -2
- package/package.json +1 -1
- package/src/apis/OrdersApi.ts +49 -0
- package/src/apis/ProductApi.ts +0 -49
- package/src/apis/TransactionsApi.ts +7 -7
- package/src/models/AddressFrontendResource.ts +3 -2
- package/src/models/AddressResource.ts +2 -11
- package/src/models/AdminNoteResource.ts +18 -0
- package/src/models/AdminOrderResource.ts +11 -11
- package/src/models/CartCouponLiteResource.ts +102 -0
- package/src/models/CartCouponLiteResourceArrayResponse.ts +73 -0
- package/src/models/CartResource.ts +11 -11
- package/src/models/CreateTransactionRequest.ts +0 -8
- package/src/models/CustomerListResource.ts +16 -0
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/FrontendCartResource.ts +254 -0
- package/src/models/FrontendCartResourceArrayResponse.ts +73 -0
- package/src/models/FrontendCartResourceCouponsInner.ts +97 -0
- package/src/models/FrontendLineItemResource.ts +145 -0
- package/src/models/FrontendLineItemResourceArrayResponse.ts +73 -0
- package/src/models/FrontendOrderResource.ts +290 -0
- package/src/models/FrontendOrderResourceArrayResponse.ts +73 -0
- package/src/models/PaymentSource.ts +2 -1
- package/src/models/ProductChildLineItemLiteResource.ts +27 -0
- package/src/models/StoreFrontendResource.ts +6 -4
- package/src/models/StoreListResource.ts +6 -4
- package/src/models/StoreResource.ts +2 -3
- package/src/models/StoreSpecialDateResource.ts +4 -3
- package/src/models/TransactionLiteResource.ts +0 -16
- package/src/models/UpdateOrderRequest.ts +0 -8
- package/src/models/index.ts +9 -4
- package/dist/models/PaginatedTransactionListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedTransactionListResourceResponse.js +0 -57
- package/dist/models/SkuSearchProductChildRequest.d.ts +0 -38
- package/dist/models/SkuSearchProductChildRequest.js +0 -55
- package/dist/models/TransactionListResource.d.ts +0 -116
- package/dist/models/TransactionListResource.js +0 -97
- package/dist/models/TransactionListResourceArrayResponse.d.ts +0 -33
- package/dist/models/TransactionListResourceArrayResponse.js +0 -50
- package/docs/TransactionListResource.md +0 -62
- package/src/models/PaginatedTransactionListResourceResponse.ts +0 -90
- package/src/models/SkuSearchProductChildRequest.ts +0 -75
- package/src/models/TransactionListResource.ts +0 -187
- package/src/models/TransactionListResourceArrayResponse.ts +0 -73
|
@@ -68,7 +68,7 @@ export interface StoreListResource {
|
|
|
68
68
|
* @type {string}
|
|
69
69
|
* @memberof StoreListResource
|
|
70
70
|
*/
|
|
71
|
-
tagLine
|
|
71
|
+
tagLine: string;
|
|
72
72
|
/**
|
|
73
73
|
*
|
|
74
74
|
* @type {string}
|
|
@@ -80,7 +80,7 @@ export interface StoreListResource {
|
|
|
80
80
|
* @type {string}
|
|
81
81
|
* @memberof StoreListResource
|
|
82
82
|
*/
|
|
83
|
-
website
|
|
83
|
+
website: string;
|
|
84
84
|
/**
|
|
85
85
|
*
|
|
86
86
|
* @type {number}
|
|
@@ -110,7 +110,9 @@ export function instanceOfStoreListResource(value: object): value is StoreListRe
|
|
|
110
110
|
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
111
111
|
if (!('longitude' in value) || value['longitude'] === undefined) return false;
|
|
112
112
|
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
113
|
+
if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
|
|
113
114
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
115
|
+
if (!('website' in value) || value['website'] === undefined) return false;
|
|
114
116
|
if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
|
|
115
117
|
if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined) return false;
|
|
116
118
|
return true;
|
|
@@ -132,9 +134,9 @@ export function StoreListResourceFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
132
134
|
'phone': json['phone'],
|
|
133
135
|
'longitude': json['longitude'],
|
|
134
136
|
'latitude': json['latitude'],
|
|
135
|
-
'tagLine': json['tagLine']
|
|
137
|
+
'tagLine': json['tagLine'],
|
|
136
138
|
'email': json['email'],
|
|
137
|
-
'website': json['website']
|
|
139
|
+
'website': json['website'],
|
|
138
140
|
'netsuiteId': json['netsuiteId'],
|
|
139
141
|
'displayNetsuiteId': json['displayNetsuiteId'],
|
|
140
142
|
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|
|
@@ -89,7 +89,7 @@ export interface StoreResource {
|
|
|
89
89
|
* @type {string}
|
|
90
90
|
* @memberof StoreResource
|
|
91
91
|
*/
|
|
92
|
-
tagLine
|
|
92
|
+
tagLine?: string | null;
|
|
93
93
|
/**
|
|
94
94
|
*
|
|
95
95
|
* @type {string}
|
|
@@ -149,7 +149,6 @@ export function instanceOfStoreResource(value: object): value is StoreResource {
|
|
|
149
149
|
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
150
150
|
if (!('longitude' in value) || value['longitude'] === undefined) return false;
|
|
151
151
|
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
152
|
-
if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
|
|
153
152
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
154
153
|
if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
|
|
155
154
|
if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined) return false;
|
|
@@ -175,7 +174,7 @@ export function StoreResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
175
174
|
'phone': json['phone'],
|
|
176
175
|
'longitude': json['longitude'],
|
|
177
176
|
'latitude': json['latitude'],
|
|
178
|
-
'tagLine': json['tagLine'],
|
|
177
|
+
'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
|
|
179
178
|
'email': json['email'],
|
|
180
179
|
'website': json['website'] == null ? undefined : json['website'],
|
|
181
180
|
'netsuiteId': json['netsuiteId'],
|
|
@@ -39,10 +39,10 @@ export interface StoreSpecialDateResource {
|
|
|
39
39
|
hours: string;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
|
-
* @type {
|
|
42
|
+
* @type {object}
|
|
43
43
|
* @memberof StoreSpecialDateResource
|
|
44
44
|
*/
|
|
45
|
-
date
|
|
45
|
+
date: object;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @type {boolean}
|
|
@@ -69,6 +69,7 @@ export interface StoreSpecialDateResource {
|
|
|
69
69
|
export function instanceOfStoreSpecialDateResource(value: object): value is StoreSpecialDateResource {
|
|
70
70
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
71
71
|
if (!('hours' in value) || value['hours'] === undefined) return false;
|
|
72
|
+
if (!('date' in value) || value['date'] === undefined) return false;
|
|
72
73
|
if (!('closed' in value) || value['closed'] === undefined) return false;
|
|
73
74
|
if (!('displayStartDate' in value) || value['displayStartDate'] === undefined) return false;
|
|
74
75
|
if (!('displayEndDate' in value) || value['displayEndDate'] === undefined) return false;
|
|
@@ -88,7 +89,7 @@ export function StoreSpecialDateResourceFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
88
89
|
'id': json['id'] == null ? undefined : json['id'],
|
|
89
90
|
'name': json['name'],
|
|
90
91
|
'hours': json['hours'],
|
|
91
|
-
'date': json['date']
|
|
92
|
+
'date': json['date'],
|
|
92
93
|
'closed': json['closed'],
|
|
93
94
|
'displayStartDate': json['displayStartDate'],
|
|
94
95
|
'displayEndDate': json['displayEndDate'],
|
|
@@ -19,12 +19,6 @@ import { mapValues } from '../runtime';
|
|
|
19
19
|
* @interface TransactionLiteResource
|
|
20
20
|
*/
|
|
21
21
|
export interface TransactionLiteResource {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof TransactionLiteResource
|
|
26
|
-
*/
|
|
27
|
-
id?: number | null;
|
|
28
22
|
/**
|
|
29
23
|
*
|
|
30
24
|
* @type {string}
|
|
@@ -79,12 +73,6 @@ export interface TransactionLiteResource {
|
|
|
79
73
|
* @memberof TransactionLiteResource
|
|
80
74
|
*/
|
|
81
75
|
reference: string;
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {string}
|
|
85
|
-
* @memberof TransactionLiteResource
|
|
86
|
-
*/
|
|
87
|
-
description?: string | null;
|
|
88
76
|
/**
|
|
89
77
|
*
|
|
90
78
|
* @type {Date}
|
|
@@ -119,7 +107,6 @@ export function TransactionLiteResourceFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
119
107
|
}
|
|
120
108
|
return {
|
|
121
109
|
|
|
122
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
123
110
|
'paymentSource': json['paymentSource'],
|
|
124
111
|
'paymentMethod': json['paymentMethod'],
|
|
125
112
|
'paymentMethodThumbnail': json['paymentMethodThumbnail'],
|
|
@@ -129,7 +116,6 @@ export function TransactionLiteResourceFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
129
116
|
'surcharge': json['surcharge'],
|
|
130
117
|
'totalAmount': json['totalAmount'],
|
|
131
118
|
'reference': json['reference'],
|
|
132
|
-
'description': json['description'] == null ? undefined : json['description'],
|
|
133
119
|
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
134
120
|
};
|
|
135
121
|
}
|
|
@@ -145,7 +131,6 @@ export function TransactionLiteResourceToJSONTyped(value?: TransactionLiteResour
|
|
|
145
131
|
|
|
146
132
|
return {
|
|
147
133
|
|
|
148
|
-
'id': value['id'],
|
|
149
134
|
'paymentSource': value['paymentSource'],
|
|
150
135
|
'paymentMethod': value['paymentMethod'],
|
|
151
136
|
'paymentMethodThumbnail': value['paymentMethodThumbnail'],
|
|
@@ -155,7 +140,6 @@ export function TransactionLiteResourceToJSONTyped(value?: TransactionLiteResour
|
|
|
155
140
|
'surcharge': value['surcharge'],
|
|
156
141
|
'totalAmount': value['totalAmount'],
|
|
157
142
|
'reference': value['reference'],
|
|
158
|
-
'description': value['description'],
|
|
159
143
|
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
160
144
|
};
|
|
161
145
|
}
|
|
@@ -81,12 +81,6 @@ export interface UpdateOrderRequest {
|
|
|
81
81
|
* @memberof UpdateOrderRequest
|
|
82
82
|
*/
|
|
83
83
|
overrideInsurance?: boolean;
|
|
84
|
-
/**
|
|
85
|
-
*
|
|
86
|
-
* @type {boolean}
|
|
87
|
-
* @memberof UpdateOrderRequest
|
|
88
|
-
*/
|
|
89
|
-
useAsBillingAddress?: boolean;
|
|
90
84
|
/**
|
|
91
85
|
*
|
|
92
86
|
* @type {number}
|
|
@@ -167,7 +161,6 @@ export function UpdateOrderRequestFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
167
161
|
'insuranceAmount': json['insurance_amount'],
|
|
168
162
|
'includeInsurance': json['include_insurance'] == null ? undefined : json['include_insurance'],
|
|
169
163
|
'overrideInsurance': json['override_insurance'] == null ? undefined : json['override_insurance'],
|
|
170
|
-
'useAsBillingAddress': json['use_as_billing_address'] == null ? undefined : json['use_as_billing_address'],
|
|
171
164
|
'shippingAddressId': json['shipping_address_id'] == null ? undefined : json['shipping_address_id'],
|
|
172
165
|
'billingAddressId': json['billing_address_id'] == null ? undefined : json['billing_address_id'],
|
|
173
166
|
'shippingAddress': json['shipping_address'] == null ? undefined : CreateCartRequestShippingAddressFromJSON(json['shipping_address']),
|
|
@@ -195,7 +188,6 @@ export function UpdateOrderRequestToJSONTyped(value?: UpdateOrderRequest | null,
|
|
|
195
188
|
'insurance_amount': value['insuranceAmount'],
|
|
196
189
|
'include_insurance': value['includeInsurance'],
|
|
197
190
|
'override_insurance': value['overrideInsurance'],
|
|
198
|
-
'use_as_billing_address': value['useAsBillingAddress'],
|
|
199
191
|
'shipping_address_id': value['shippingAddressId'],
|
|
200
192
|
'billing_address_id': value['billingAddressId'],
|
|
201
193
|
'shipping_address': CreateCartRequestShippingAddressToJSON(value['shippingAddress']),
|
package/src/models/index.ts
CHANGED
|
@@ -61,6 +61,8 @@ export * from './BlogFrontendResource';
|
|
|
61
61
|
export * from './BlogFrontendResourceArrayResponse';
|
|
62
62
|
export * from './BlogResource';
|
|
63
63
|
export * from './BlogResourceArrayResponse';
|
|
64
|
+
export * from './CartCouponLiteResource';
|
|
65
|
+
export * from './CartCouponLiteResourceArrayResponse';
|
|
64
66
|
export * from './CartCouponResource';
|
|
65
67
|
export * from './CartCouponResourceArrayResponse';
|
|
66
68
|
export * from './CartListResource';
|
|
@@ -167,10 +169,17 @@ export * from './ExternalApiLogResource';
|
|
|
167
169
|
export * from './ExternalApiLogResourceArrayResponse';
|
|
168
170
|
export * from './ExternalApiProvider';
|
|
169
171
|
export * from './ExternalApiSyncStatus';
|
|
172
|
+
export * from './FrontendCartResource';
|
|
173
|
+
export * from './FrontendCartResourceArrayResponse';
|
|
174
|
+
export * from './FrontendCartResourceCouponsInner';
|
|
170
175
|
export * from './FrontendComponentLiteResource';
|
|
171
176
|
export * from './FrontendComponentLiteResourceArrayResponse';
|
|
172
177
|
export * from './FrontendComponentResource';
|
|
173
178
|
export * from './FrontendComponentResourceArrayResponse';
|
|
179
|
+
export * from './FrontendLineItemResource';
|
|
180
|
+
export * from './FrontendLineItemResourceArrayResponse';
|
|
181
|
+
export * from './FrontendOrderResource';
|
|
182
|
+
export * from './FrontendOrderResourceArrayResponse';
|
|
174
183
|
export * from './GenericResponse';
|
|
175
184
|
export * from './GetUniqueEndpointsRequest';
|
|
176
185
|
export * from './GlobalSearchCategoryResource';
|
|
@@ -329,7 +338,6 @@ export * from './PaginatedSupplierResourceResponse';
|
|
|
329
338
|
export * from './PaginatedTagListResourceResponse';
|
|
330
339
|
export * from './PaginatedTagLiteResourceResponse';
|
|
331
340
|
export * from './PaginatedTagResourceResponse';
|
|
332
|
-
export * from './PaginatedTransactionListResourceResponse';
|
|
333
341
|
export * from './PaginatedTransactionResourceResponse';
|
|
334
342
|
export * from './PagingMetadata';
|
|
335
343
|
export * from './PaymentMethod';
|
|
@@ -531,7 +539,6 @@ export * from './SitePaymentConfigResource';
|
|
|
531
539
|
export * from './SitePaymentConfigResourceArrayResponse';
|
|
532
540
|
export * from './SiteResource';
|
|
533
541
|
export * from './SiteResourceArrayResponse';
|
|
534
|
-
export * from './SkuSearchProductChildRequest';
|
|
535
542
|
export * from './StoreFrontendResource';
|
|
536
543
|
export * from './StoreFrontendResourceArrayResponse';
|
|
537
544
|
export * from './StoreListResource';
|
|
@@ -566,8 +573,6 @@ export * from './TagResource';
|
|
|
566
573
|
export * from './TagResourceArrayResponse';
|
|
567
574
|
export * from './TagType';
|
|
568
575
|
export * from './Thumbnail';
|
|
569
|
-
export * from './TransactionListResource';
|
|
570
|
-
export * from './TransactionListResourceArrayResponse';
|
|
571
576
|
export * from './TransactionLiteResource';
|
|
572
577
|
export * from './TransactionLiteResourceArrayResponse';
|
|
573
578
|
export * from './TransactionResource';
|
|
@@ -1,40 +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
|
-
import type { PagingMetadata } from './PagingMetadata';
|
|
13
|
-
import type { TransactionListResource } from './TransactionListResource';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface PaginatedTransactionListResourceResponse
|
|
18
|
-
*/
|
|
19
|
-
export interface PaginatedTransactionListResourceResponse {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {Array<TransactionListResource>}
|
|
23
|
-
* @memberof PaginatedTransactionListResourceResponse
|
|
24
|
-
*/
|
|
25
|
-
data: Array<TransactionListResource>;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {PagingMetadata}
|
|
29
|
-
* @memberof PaginatedTransactionListResourceResponse
|
|
30
|
-
*/
|
|
31
|
-
meta: PagingMetadata;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Check if a given object implements the PaginatedTransactionListResourceResponse interface.
|
|
35
|
-
*/
|
|
36
|
-
export declare function instanceOfPaginatedTransactionListResourceResponse(value: object): value is PaginatedTransactionListResourceResponse;
|
|
37
|
-
export declare function PaginatedTransactionListResourceResponseFromJSON(json: any): PaginatedTransactionListResourceResponse;
|
|
38
|
-
export declare function PaginatedTransactionListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedTransactionListResourceResponse;
|
|
39
|
-
export declare function PaginatedTransactionListResourceResponseToJSON(json: any): PaginatedTransactionListResourceResponse;
|
|
40
|
-
export declare function PaginatedTransactionListResourceResponseToJSONTyped(value?: PaginatedTransactionListResourceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,57 +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.instanceOfPaginatedTransactionListResourceResponse = instanceOfPaginatedTransactionListResourceResponse;
|
|
17
|
-
exports.PaginatedTransactionListResourceResponseFromJSON = PaginatedTransactionListResourceResponseFromJSON;
|
|
18
|
-
exports.PaginatedTransactionListResourceResponseFromJSONTyped = PaginatedTransactionListResourceResponseFromJSONTyped;
|
|
19
|
-
exports.PaginatedTransactionListResourceResponseToJSON = PaginatedTransactionListResourceResponseToJSON;
|
|
20
|
-
exports.PaginatedTransactionListResourceResponseToJSONTyped = PaginatedTransactionListResourceResponseToJSONTyped;
|
|
21
|
-
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
-
var TransactionListResource_1 = require("./TransactionListResource");
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the PaginatedTransactionListResourceResponse interface.
|
|
25
|
-
*/
|
|
26
|
-
function instanceOfPaginatedTransactionListResourceResponse(value) {
|
|
27
|
-
if (!('data' in value) || value['data'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('meta' in value) || value['meta'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
function PaginatedTransactionListResourceResponseFromJSON(json) {
|
|
34
|
-
return PaginatedTransactionListResourceResponseFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
function PaginatedTransactionListResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'data': (json['data'].map(TransactionListResource_1.TransactionListResourceFromJSON)),
|
|
42
|
-
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
function PaginatedTransactionListResourceResponseToJSON(json) {
|
|
46
|
-
return PaginatedTransactionListResourceResponseToJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
function PaginatedTransactionListResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
-
if (value == null) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'data': (value['data'].map(TransactionListResource_1.TransactionListResourceToJSON)),
|
|
55
|
-
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
@@ -1,38 +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 SkuSearchProductChildRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface SkuSearchProductChildRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof SkuSearchProductChildRequest
|
|
22
|
-
*/
|
|
23
|
-
sku: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof SkuSearchProductChildRequest
|
|
28
|
-
*/
|
|
29
|
-
siteId: number;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the SkuSearchProductChildRequest interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfSkuSearchProductChildRequest(value: object): value is SkuSearchProductChildRequest;
|
|
35
|
-
export declare function SkuSearchProductChildRequestFromJSON(json: any): SkuSearchProductChildRequest;
|
|
36
|
-
export declare function SkuSearchProductChildRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SkuSearchProductChildRequest;
|
|
37
|
-
export declare function SkuSearchProductChildRequestToJSON(json: any): SkuSearchProductChildRequest;
|
|
38
|
-
export declare function SkuSearchProductChildRequestToJSONTyped(value?: SkuSearchProductChildRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,55 +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.instanceOfSkuSearchProductChildRequest = instanceOfSkuSearchProductChildRequest;
|
|
17
|
-
exports.SkuSearchProductChildRequestFromJSON = SkuSearchProductChildRequestFromJSON;
|
|
18
|
-
exports.SkuSearchProductChildRequestFromJSONTyped = SkuSearchProductChildRequestFromJSONTyped;
|
|
19
|
-
exports.SkuSearchProductChildRequestToJSON = SkuSearchProductChildRequestToJSON;
|
|
20
|
-
exports.SkuSearchProductChildRequestToJSONTyped = SkuSearchProductChildRequestToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the SkuSearchProductChildRequest interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfSkuSearchProductChildRequest(value) {
|
|
25
|
-
if (!('sku' in value) || value['sku'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
function SkuSearchProductChildRequestFromJSON(json) {
|
|
32
|
-
return SkuSearchProductChildRequestFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
function SkuSearchProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'sku': json['sku'],
|
|
40
|
-
'siteId': json['site_id'],
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
function SkuSearchProductChildRequestToJSON(json) {
|
|
44
|
-
return SkuSearchProductChildRequestToJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
function SkuSearchProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
-
if (value == null) {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
return {
|
|
52
|
-
'sku': value['sku'],
|
|
53
|
-
'site_id': value['siteId'],
|
|
54
|
-
};
|
|
55
|
-
}
|
|
@@ -1,116 +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 TransactionListResource
|
|
16
|
-
*/
|
|
17
|
-
export interface TransactionListResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof TransactionListResource
|
|
22
|
-
*/
|
|
23
|
-
id: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof TransactionListResource
|
|
28
|
-
*/
|
|
29
|
-
paymentSource: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof TransactionListResource
|
|
34
|
-
*/
|
|
35
|
-
paymentMethod: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof TransactionListResource
|
|
40
|
-
*/
|
|
41
|
-
type: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof TransactionListResource
|
|
46
|
-
*/
|
|
47
|
-
status: string;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof TransactionListResource
|
|
52
|
-
*/
|
|
53
|
-
totalAmount: number;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {number}
|
|
57
|
-
* @memberof TransactionListResource
|
|
58
|
-
*/
|
|
59
|
-
surcharge: number;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {number}
|
|
63
|
-
* @memberof TransactionListResource
|
|
64
|
-
*/
|
|
65
|
-
refundedAmount: number;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {number}
|
|
69
|
-
* @memberof TransactionListResource
|
|
70
|
-
*/
|
|
71
|
-
unrefundedAmount: number;
|
|
72
|
-
/**
|
|
73
|
-
*
|
|
74
|
-
* @type {string}
|
|
75
|
-
* @memberof TransactionListResource
|
|
76
|
-
*/
|
|
77
|
-
reference: string;
|
|
78
|
-
/**
|
|
79
|
-
*
|
|
80
|
-
* @type {string}
|
|
81
|
-
* @memberof TransactionListResource
|
|
82
|
-
*/
|
|
83
|
-
description?: string | null;
|
|
84
|
-
/**
|
|
85
|
-
*
|
|
86
|
-
* @type {string}
|
|
87
|
-
* @memberof TransactionListResource
|
|
88
|
-
*/
|
|
89
|
-
extendedData?: string | null;
|
|
90
|
-
/**
|
|
91
|
-
*
|
|
92
|
-
* @type {string}
|
|
93
|
-
* @memberof TransactionListResource
|
|
94
|
-
*/
|
|
95
|
-
riskScore?: string | null;
|
|
96
|
-
/**
|
|
97
|
-
*
|
|
98
|
-
* @type {string}
|
|
99
|
-
* @memberof TransactionListResource
|
|
100
|
-
*/
|
|
101
|
-
fraudDecision?: string | null;
|
|
102
|
-
/**
|
|
103
|
-
*
|
|
104
|
-
* @type {Date}
|
|
105
|
-
* @memberof TransactionListResource
|
|
106
|
-
*/
|
|
107
|
-
createdAt?: Date | null;
|
|
108
|
-
}
|
|
109
|
-
/**
|
|
110
|
-
* Check if a given object implements the TransactionListResource interface.
|
|
111
|
-
*/
|
|
112
|
-
export declare function instanceOfTransactionListResource(value: object): value is TransactionListResource;
|
|
113
|
-
export declare function TransactionListResourceFromJSON(json: any): TransactionListResource;
|
|
114
|
-
export declare function TransactionListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionListResource;
|
|
115
|
-
export declare function TransactionListResourceToJSON(json: any): TransactionListResource;
|
|
116
|
-
export declare function TransactionListResourceToJSONTyped(value?: TransactionListResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,97 +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.instanceOfTransactionListResource = instanceOfTransactionListResource;
|
|
17
|
-
exports.TransactionListResourceFromJSON = TransactionListResourceFromJSON;
|
|
18
|
-
exports.TransactionListResourceFromJSONTyped = TransactionListResourceFromJSONTyped;
|
|
19
|
-
exports.TransactionListResourceToJSON = TransactionListResourceToJSON;
|
|
20
|
-
exports.TransactionListResourceToJSONTyped = TransactionListResourceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the TransactionListResource interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfTransactionListResource(value) {
|
|
25
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('paymentSource' in value) || value['paymentSource'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('paymentMethod' in value) || value['paymentMethod'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('type' in value) || value['type'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
if (!('status' in value) || value['status'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
if (!('totalAmount' in value) || value['totalAmount'] === undefined)
|
|
36
|
-
return false;
|
|
37
|
-
if (!('surcharge' in value) || value['surcharge'] === undefined)
|
|
38
|
-
return false;
|
|
39
|
-
if (!('refundedAmount' in value) || value['refundedAmount'] === undefined)
|
|
40
|
-
return false;
|
|
41
|
-
if (!('unrefundedAmount' in value) || value['unrefundedAmount'] === undefined)
|
|
42
|
-
return false;
|
|
43
|
-
if (!('reference' in value) || value['reference'] === undefined)
|
|
44
|
-
return false;
|
|
45
|
-
return true;
|
|
46
|
-
}
|
|
47
|
-
function TransactionListResourceFromJSON(json) {
|
|
48
|
-
return TransactionListResourceFromJSONTyped(json, false);
|
|
49
|
-
}
|
|
50
|
-
function TransactionListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
51
|
-
if (json == null) {
|
|
52
|
-
return json;
|
|
53
|
-
}
|
|
54
|
-
return {
|
|
55
|
-
'id': json['id'],
|
|
56
|
-
'paymentSource': json['paymentSource'],
|
|
57
|
-
'paymentMethod': json['paymentMethod'],
|
|
58
|
-
'type': json['type'],
|
|
59
|
-
'status': json['status'],
|
|
60
|
-
'totalAmount': json['totalAmount'],
|
|
61
|
-
'surcharge': json['surcharge'],
|
|
62
|
-
'refundedAmount': json['refundedAmount'],
|
|
63
|
-
'unrefundedAmount': json['unrefundedAmount'],
|
|
64
|
-
'reference': json['reference'],
|
|
65
|
-
'description': json['description'] == null ? undefined : json['description'],
|
|
66
|
-
'extendedData': json['extendedData'] == null ? undefined : json['extendedData'],
|
|
67
|
-
'riskScore': json['riskScore'] == null ? undefined : json['riskScore'],
|
|
68
|
-
'fraudDecision': json['fraudDecision'] == null ? undefined : json['fraudDecision'],
|
|
69
|
-
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
function TransactionListResourceToJSON(json) {
|
|
73
|
-
return TransactionListResourceToJSONTyped(json, false);
|
|
74
|
-
}
|
|
75
|
-
function TransactionListResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
76
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
77
|
-
if (value == null) {
|
|
78
|
-
return value;
|
|
79
|
-
}
|
|
80
|
-
return {
|
|
81
|
-
'id': value['id'],
|
|
82
|
-
'paymentSource': value['paymentSource'],
|
|
83
|
-
'paymentMethod': value['paymentMethod'],
|
|
84
|
-
'type': value['type'],
|
|
85
|
-
'status': value['status'],
|
|
86
|
-
'totalAmount': value['totalAmount'],
|
|
87
|
-
'surcharge': value['surcharge'],
|
|
88
|
-
'refundedAmount': value['refundedAmount'],
|
|
89
|
-
'unrefundedAmount': value['unrefundedAmount'],
|
|
90
|
-
'reference': value['reference'],
|
|
91
|
-
'description': value['description'],
|
|
92
|
-
'extendedData': value['extendedData'],
|
|
93
|
-
'riskScore': value['riskScore'],
|
|
94
|
-
'fraudDecision': value['fraudDecision'],
|
|
95
|
-
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
96
|
-
};
|
|
97
|
-
}
|
|
@@ -1,33 +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
|
-
import type { TransactionListResource } from './TransactionListResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface TransactionListResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface TransactionListResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<TransactionListResource>}
|
|
22
|
-
* @memberof TransactionListResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<TransactionListResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the TransactionListResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfTransactionListResourceArrayResponse(value: object): value is TransactionListResourceArrayResponse;
|
|
30
|
-
export declare function TransactionListResourceArrayResponseFromJSON(json: any): TransactionListResourceArrayResponse;
|
|
31
|
-
export declare function TransactionListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionListResourceArrayResponse;
|
|
32
|
-
export declare function TransactionListResourceArrayResponseToJSON(json: any): TransactionListResourceArrayResponse;
|
|
33
|
-
export declare function TransactionListResourceArrayResponseToJSONTyped(value?: TransactionListResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|