@digital8/lighting-illusions-ts-sdk 0.0.2029 → 0.0.2030
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 +0 -8
- package/README.md +2 -7
- 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 +2 -2
- package/dist/models/AddressFrontendResource.js +2 -6
- package/dist/models/AddressResource.d.ts +2 -8
- package/dist/models/AddressResource.js +2 -8
- 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/CartResource.d.ts +3 -3
- package/dist/models/CartResource.js +3 -3
- package/dist/models/CustomerListResource.d.ts +7 -0
- package/dist/models/CustomerListResource.js +5 -0
- package/dist/models/StoreFrontendResource.d.ts +1 -1
- package/dist/models/StoreFrontendResource.js +3 -1
- package/dist/models/StoreListResource.d.ts +1 -1
- package/dist/models/StoreListResource.js +3 -1
- package/dist/models/StoreResource.d.ts +2 -2
- package/dist/models/StoreResource.js +4 -4
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateFrontendResource.js +1 -3
- package/dist/models/TransactionLiteResource.d.ts +0 -6
- package/dist/models/TransactionLiteResource.js +0 -2
- package/dist/models/index.d.ts +0 -4
- package/dist/models/index.js +0 -4
- package/docs/AddressResource.md +0 -2
- package/docs/AdminNoteResource.md +4 -0
- package/docs/AdminOrderResource.md +1 -1
- package/docs/CartResource.md +1 -1
- package/docs/CustomerListResource.md +2 -0
- package/docs/ProductApi.md +0 -66
- package/docs/StoreSpecialDateFrontendResource.md +1 -1
- package/docs/TransactionLiteResource.md +0 -2
- package/docs/TransactionsApi.md +3 -3
- package/package.json +1 -1
- package/src/apis/ProductApi.ts +0 -49
- package/src/apis/TransactionsApi.ts +7 -7
- package/src/models/AddressFrontendResource.ts +4 -6
- package/src/models/AddressResource.ts +4 -14
- package/src/models/AdminNoteResource.ts +18 -0
- package/src/models/AdminOrderResource.ts +11 -11
- package/src/models/CartResource.ts +11 -11
- package/src/models/CustomerListResource.ts +16 -0
- package/src/models/StoreFrontendResource.ts +3 -2
- package/src/models/StoreListResource.ts +3 -2
- package/src/models/StoreResource.ts +5 -5
- package/src/models/StoreSpecialDateFrontendResource.ts +3 -4
- package/src/models/TransactionLiteResource.ts +0 -8
- package/src/models/index.ts +0 -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 -80
- package/dist/models/TransactionListResource.js +0 -81
- package/dist/models/TransactionListResourceArrayResponse.d.ts +0 -33
- package/dist/models/TransactionListResourceArrayResponse.js +0 -50
- package/docs/PaginatedTransactionListResourceResponse.md +0 -36
- package/docs/SkuSearchProductChildRequest.md +0 -36
- package/docs/TransactionListResource.md +0 -50
- package/docs/TransactionListResourceArrayResponse.md +0 -34
- package/src/models/PaginatedTransactionListResourceResponse.ts +0 -90
- package/src/models/SkuSearchProductChildRequest.ts +0 -75
- package/src/models/TransactionListResource.ts +0 -137
- package/src/models/TransactionListResourceArrayResponse.ts +0 -73
|
@@ -55,13 +55,6 @@ import {
|
|
|
55
55
|
CartCouponResourceToJSON,
|
|
56
56
|
CartCouponResourceToJSONTyped,
|
|
57
57
|
} from './CartCouponResource';
|
|
58
|
-
import type { CustomerResource } from './CustomerResource';
|
|
59
|
-
import {
|
|
60
|
-
CustomerResourceFromJSON,
|
|
61
|
-
CustomerResourceFromJSONTyped,
|
|
62
|
-
CustomerResourceToJSON,
|
|
63
|
-
CustomerResourceToJSONTyped,
|
|
64
|
-
} from './CustomerResource';
|
|
65
58
|
import type { LiAdminUserLiteResource } from './LiAdminUserLiteResource';
|
|
66
59
|
import {
|
|
67
60
|
LiAdminUserLiteResourceFromJSON,
|
|
@@ -76,6 +69,13 @@ import {
|
|
|
76
69
|
OmnisendSyncLiteResourceToJSON,
|
|
77
70
|
OmnisendSyncLiteResourceToJSONTyped,
|
|
78
71
|
} from './OmnisendSyncLiteResource';
|
|
72
|
+
import type { CustomerListResource } from './CustomerListResource';
|
|
73
|
+
import {
|
|
74
|
+
CustomerListResourceFromJSON,
|
|
75
|
+
CustomerListResourceFromJSONTyped,
|
|
76
|
+
CustomerListResourceToJSON,
|
|
77
|
+
CustomerListResourceToJSONTyped,
|
|
78
|
+
} from './CustomerListResource';
|
|
79
79
|
import type { AddressResource } from './AddressResource';
|
|
80
80
|
import {
|
|
81
81
|
AddressResourceFromJSON,
|
|
@@ -296,10 +296,10 @@ export interface AdminOrderResource {
|
|
|
296
296
|
site: SiteLiteResource | null;
|
|
297
297
|
/**
|
|
298
298
|
*
|
|
299
|
-
* @type {
|
|
299
|
+
* @type {CustomerListResource}
|
|
300
300
|
* @memberof AdminOrderResource
|
|
301
301
|
*/
|
|
302
|
-
customer:
|
|
302
|
+
customer: CustomerListResource | null;
|
|
303
303
|
/**
|
|
304
304
|
*
|
|
305
305
|
* @type {LiAdminUserLiteResource}
|
|
@@ -446,7 +446,7 @@ export function AdminOrderResourceFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
446
446
|
'shippingEstimate': json['shippingEstimate'],
|
|
447
447
|
'insuranceEstimate': json['insuranceEstimate'],
|
|
448
448
|
'site': SiteLiteResourceFromJSON(json['site']),
|
|
449
|
-
'customer':
|
|
449
|
+
'customer': CustomerListResourceFromJSON(json['customer']),
|
|
450
450
|
'admin': LiAdminUserLiteResourceFromJSON(json['admin']),
|
|
451
451
|
'status': OrderStatusLiteResourceFromJSON(json['status']),
|
|
452
452
|
'lineItems': (json['lineItems'] == null ? null : (json['lineItems'] as Array<any>).map(LineItemListResourceFromJSON)),
|
|
@@ -504,7 +504,7 @@ export function AdminOrderResourceToJSONTyped(value?: AdminOrderResource | null,
|
|
|
504
504
|
'shippingEstimate': value['shippingEstimate'],
|
|
505
505
|
'insuranceEstimate': value['insuranceEstimate'],
|
|
506
506
|
'site': SiteLiteResourceToJSON(value['site']),
|
|
507
|
-
'customer':
|
|
507
|
+
'customer': CustomerListResourceToJSON(value['customer']),
|
|
508
508
|
'admin': LiAdminUserLiteResourceToJSON(value['admin']),
|
|
509
509
|
'status': OrderStatusLiteResourceToJSON(value['status']),
|
|
510
510
|
'lineItems': (value['lineItems'] == null ? null : (value['lineItems'] as Array<any>).map(LineItemListResourceToJSON)),
|
|
@@ -27,13 +27,6 @@ import {
|
|
|
27
27
|
LineItemListResourceToJSON,
|
|
28
28
|
LineItemListResourceToJSONTyped,
|
|
29
29
|
} from './LineItemListResource';
|
|
30
|
-
import type { CustomerResource } from './CustomerResource';
|
|
31
|
-
import {
|
|
32
|
-
CustomerResourceFromJSON,
|
|
33
|
-
CustomerResourceFromJSONTyped,
|
|
34
|
-
CustomerResourceToJSON,
|
|
35
|
-
CustomerResourceToJSONTyped,
|
|
36
|
-
} from './CustomerResource';
|
|
37
30
|
import type { LiAdminUserLiteResource } from './LiAdminUserLiteResource';
|
|
38
31
|
import {
|
|
39
32
|
LiAdminUserLiteResourceFromJSON,
|
|
@@ -41,6 +34,13 @@ import {
|
|
|
41
34
|
LiAdminUserLiteResourceToJSON,
|
|
42
35
|
LiAdminUserLiteResourceToJSONTyped,
|
|
43
36
|
} from './LiAdminUserLiteResource';
|
|
37
|
+
import type { CustomerListResource } from './CustomerListResource';
|
|
38
|
+
import {
|
|
39
|
+
CustomerListResourceFromJSON,
|
|
40
|
+
CustomerListResourceFromJSONTyped,
|
|
41
|
+
CustomerListResourceToJSON,
|
|
42
|
+
CustomerListResourceToJSONTyped,
|
|
43
|
+
} from './CustomerListResource';
|
|
44
44
|
import type { AddressResource } from './AddressResource';
|
|
45
45
|
import {
|
|
46
46
|
AddressResourceFromJSON,
|
|
@@ -165,10 +165,10 @@ export interface CartResource {
|
|
|
165
165
|
site: SiteLiteResource | null;
|
|
166
166
|
/**
|
|
167
167
|
*
|
|
168
|
-
* @type {
|
|
168
|
+
* @type {CustomerListResource}
|
|
169
169
|
* @memberof CartResource
|
|
170
170
|
*/
|
|
171
|
-
customer:
|
|
171
|
+
customer: CustomerListResource | null;
|
|
172
172
|
/**
|
|
173
173
|
*
|
|
174
174
|
* @type {Array<LineItemListResource>}
|
|
@@ -321,7 +321,7 @@ export function CartResourceFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
321
321
|
'useAsBillingAddress': json['useAsBillingAddress'],
|
|
322
322
|
'admin': LiAdminUserLiteResourceFromJSON(json['admin']),
|
|
323
323
|
'site': SiteLiteResourceFromJSON(json['site']),
|
|
324
|
-
'customer':
|
|
324
|
+
'customer': CustomerListResourceFromJSON(json['customer']),
|
|
325
325
|
'lineItems': (json['lineItems'] == null ? null : (json['lineItems'] as Array<any>).map(LineItemListResourceFromJSON)),
|
|
326
326
|
'coupons': json['coupons'],
|
|
327
327
|
'shippingAddress': AddressResourceFromJSON(json['shippingAddress']),
|
|
@@ -369,7 +369,7 @@ export function CartResourceToJSONTyped(value?: CartResource | null, ignoreDiscr
|
|
|
369
369
|
'useAsBillingAddress': value['useAsBillingAddress'],
|
|
370
370
|
'admin': LiAdminUserLiteResourceToJSON(value['admin']),
|
|
371
371
|
'site': SiteLiteResourceToJSON(value['site']),
|
|
372
|
-
'customer':
|
|
372
|
+
'customer': CustomerListResourceToJSON(value['customer']),
|
|
373
373
|
'lineItems': (value['lineItems'] == null ? null : (value['lineItems'] as Array<any>).map(LineItemListResourceToJSON)),
|
|
374
374
|
'coupons': value['coupons'],
|
|
375
375
|
'shippingAddress': AddressResourceToJSON(value['shippingAddress']),
|
|
@@ -20,6 +20,13 @@ import {
|
|
|
20
20
|
SiteLiteResourceToJSON,
|
|
21
21
|
SiteLiteResourceToJSONTyped,
|
|
22
22
|
} from './SiteLiteResource';
|
|
23
|
+
import type { LiAddressResource } from './LiAddressResource';
|
|
24
|
+
import {
|
|
25
|
+
LiAddressResourceFromJSON,
|
|
26
|
+
LiAddressResourceFromJSONTyped,
|
|
27
|
+
LiAddressResourceToJSON,
|
|
28
|
+
LiAddressResourceToJSONTyped,
|
|
29
|
+
} from './LiAddressResource';
|
|
23
30
|
|
|
24
31
|
/**
|
|
25
32
|
*
|
|
@@ -63,6 +70,12 @@ export interface CustomerListResource {
|
|
|
63
70
|
* @memberof CustomerListResource
|
|
64
71
|
*/
|
|
65
72
|
site: SiteLiteResource | null;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {Array<LiAddressResource>}
|
|
76
|
+
* @memberof CustomerListResource
|
|
77
|
+
*/
|
|
78
|
+
addresses: Array<LiAddressResource> | null;
|
|
66
79
|
}
|
|
67
80
|
|
|
68
81
|
/**
|
|
@@ -74,6 +87,7 @@ export function instanceOfCustomerListResource(value: object): value is Customer
|
|
|
74
87
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
75
88
|
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
76
89
|
if (!('site' in value) || value['site'] === undefined) return false;
|
|
90
|
+
if (!('addresses' in value) || value['addresses'] === undefined) return false;
|
|
77
91
|
return true;
|
|
78
92
|
}
|
|
79
93
|
|
|
@@ -93,6 +107,7 @@ export function CustomerListResourceFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
93
107
|
'email': json['email'],
|
|
94
108
|
'phone': json['phone'],
|
|
95
109
|
'site': SiteLiteResourceFromJSON(json['site']),
|
|
110
|
+
'addresses': (json['addresses'] == null ? null : (json['addresses'] as Array<any>).map(LiAddressResourceFromJSON)),
|
|
96
111
|
};
|
|
97
112
|
}
|
|
98
113
|
|
|
@@ -113,6 +128,7 @@ export function CustomerListResourceToJSONTyped(value?: CustomerListResource | n
|
|
|
113
128
|
'email': value['email'],
|
|
114
129
|
'phone': value['phone'],
|
|
115
130
|
'site': SiteLiteResourceToJSON(value['site']),
|
|
131
|
+
'addresses': (value['addresses'] == null ? null : (value['addresses'] as Array<any>).map(LiAddressResourceToJSON)),
|
|
116
132
|
};
|
|
117
133
|
}
|
|
118
134
|
|
|
@@ -78,7 +78,7 @@ export interface StoreFrontendResource {
|
|
|
78
78
|
* @type {string}
|
|
79
79
|
* @memberof StoreFrontendResource
|
|
80
80
|
*/
|
|
81
|
-
tagLine
|
|
81
|
+
tagLine: string;
|
|
82
82
|
/**
|
|
83
83
|
*
|
|
84
84
|
* @type {string}
|
|
@@ -110,6 +110,7 @@ export function instanceOfStoreFrontendResource(value: object): value is StoreFr
|
|
|
110
110
|
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
111
111
|
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
112
112
|
if (!('longitude' in value) || value['longitude'] === undefined) return false;
|
|
113
|
+
if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
|
|
113
114
|
if (!('specialDates' in value) || value['specialDates'] === undefined) return false;
|
|
114
115
|
if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
|
|
115
116
|
return true;
|
|
@@ -134,7 +135,7 @@ export function StoreFrontendResourceFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
134
135
|
'address': json['address'] == null ? undefined : json['address'],
|
|
135
136
|
'latitude': json['latitude'],
|
|
136
137
|
'longitude': json['longitude'],
|
|
137
|
-
'tagLine': json['tagLine']
|
|
138
|
+
'tagLine': json['tagLine'],
|
|
138
139
|
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|
|
139
140
|
'specialDates': json['specialDates'],
|
|
140
141
|
'suppliers': json['suppliers'],
|
|
@@ -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}
|
|
@@ -112,6 +112,7 @@ export function instanceOfStoreListResource(value: object): value is StoreListRe
|
|
|
112
112
|
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
113
113
|
if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
|
|
114
114
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
115
|
+
if (!('website' in value) || value['website'] === undefined) return false;
|
|
115
116
|
if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
|
|
116
117
|
if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined) return false;
|
|
117
118
|
return true;
|
|
@@ -135,7 +136,7 @@ export function StoreListResourceFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
135
136
|
'latitude': json['latitude'],
|
|
136
137
|
'tagLine': json['tagLine'],
|
|
137
138
|
'email': json['email'],
|
|
138
|
-
'website': json['website']
|
|
139
|
+
'website': json['website'],
|
|
139
140
|
'netsuiteId': json['netsuiteId'],
|
|
140
141
|
'displayNetsuiteId': json['displayNetsuiteId'],
|
|
141
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;
|
|
93
93
|
/**
|
|
94
94
|
*
|
|
95
95
|
* @type {string}
|
|
@@ -101,7 +101,7 @@ export interface StoreResource {
|
|
|
101
101
|
* @type {string}
|
|
102
102
|
* @memberof StoreResource
|
|
103
103
|
*/
|
|
104
|
-
website
|
|
104
|
+
website?: string | null;
|
|
105
105
|
/**
|
|
106
106
|
*
|
|
107
107
|
* @type {number}
|
|
@@ -149,8 +149,8 @@ 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;
|
|
152
153
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
153
|
-
if (!('website' in value) || value['website'] === undefined) return false;
|
|
154
154
|
if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
|
|
155
155
|
if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined) return false;
|
|
156
156
|
if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
|
|
@@ -175,9 +175,9 @@ export function StoreResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
175
175
|
'phone': json['phone'],
|
|
176
176
|
'longitude': json['longitude'],
|
|
177
177
|
'latitude': json['latitude'],
|
|
178
|
-
'tagLine': json['tagLine']
|
|
178
|
+
'tagLine': json['tagLine'],
|
|
179
179
|
'email': json['email'],
|
|
180
|
-
'website': json['website'],
|
|
180
|
+
'website': json['website'] == null ? undefined : json['website'],
|
|
181
181
|
'netsuiteId': json['netsuiteId'],
|
|
182
182
|
'displayNetsuiteId': json['displayNetsuiteId'],
|
|
183
183
|
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|
|
@@ -39,10 +39,10 @@ export interface StoreSpecialDateFrontendResource {
|
|
|
39
39
|
hours: string;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
|
-
* @type {
|
|
42
|
+
* @type {string}
|
|
43
43
|
* @memberof StoreSpecialDateFrontendResource
|
|
44
44
|
*/
|
|
45
|
-
date
|
|
45
|
+
date?: string | null;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @type {boolean}
|
|
@@ -69,7 +69,6 @@ export interface StoreSpecialDateFrontendResource {
|
|
|
69
69
|
export function instanceOfStoreSpecialDateFrontendResource(value: object): value is StoreSpecialDateFrontendResource {
|
|
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;
|
|
73
72
|
if (!('closed' in value) || value['closed'] === undefined) return false;
|
|
74
73
|
if (!('displayStartDate' in value) || value['displayStartDate'] === undefined) return false;
|
|
75
74
|
if (!('displayEndDate' in value) || value['displayEndDate'] === undefined) return false;
|
|
@@ -89,7 +88,7 @@ export function StoreSpecialDateFrontendResourceFromJSONTyped(json: any, ignoreD
|
|
|
89
88
|
'id': json['id'] == null ? undefined : json['id'],
|
|
90
89
|
'name': json['name'],
|
|
91
90
|
'hours': json['hours'],
|
|
92
|
-
'date': json['date'],
|
|
91
|
+
'date': json['date'] == null ? undefined : json['date'],
|
|
93
92
|
'closed': json['closed'],
|
|
94
93
|
'displayStartDate': json['displayStartDate'],
|
|
95
94
|
'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}
|
|
@@ -113,7 +107,6 @@ export function TransactionLiteResourceFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
113
107
|
}
|
|
114
108
|
return {
|
|
115
109
|
|
|
116
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
117
110
|
'paymentSource': json['paymentSource'],
|
|
118
111
|
'paymentMethod': json['paymentMethod'],
|
|
119
112
|
'paymentMethodThumbnail': json['paymentMethodThumbnail'],
|
|
@@ -138,7 +131,6 @@ export function TransactionLiteResourceToJSONTyped(value?: TransactionLiteResour
|
|
|
138
131
|
|
|
139
132
|
return {
|
|
140
133
|
|
|
141
|
-
'id': value['id'],
|
|
142
134
|
'paymentSource': value['paymentSource'],
|
|
143
135
|
'paymentMethod': value['paymentMethod'],
|
|
144
136
|
'paymentMethodThumbnail': value['paymentMethodThumbnail'],
|
package/src/models/index.ts
CHANGED
|
@@ -329,7 +329,6 @@ export * from './PaginatedSupplierResourceResponse';
|
|
|
329
329
|
export * from './PaginatedTagListResourceResponse';
|
|
330
330
|
export * from './PaginatedTagLiteResourceResponse';
|
|
331
331
|
export * from './PaginatedTagResourceResponse';
|
|
332
|
-
export * from './PaginatedTransactionListResourceResponse';
|
|
333
332
|
export * from './PaginatedTransactionResourceResponse';
|
|
334
333
|
export * from './PagingMetadata';
|
|
335
334
|
export * from './PaymentMethod';
|
|
@@ -531,7 +530,6 @@ export * from './SitePaymentConfigResource';
|
|
|
531
530
|
export * from './SitePaymentConfigResourceArrayResponse';
|
|
532
531
|
export * from './SiteResource';
|
|
533
532
|
export * from './SiteResourceArrayResponse';
|
|
534
|
-
export * from './SkuSearchProductChildRequest';
|
|
535
533
|
export * from './StoreFrontendResource';
|
|
536
534
|
export * from './StoreFrontendResourceArrayResponse';
|
|
537
535
|
export * from './StoreListResource';
|
|
@@ -566,8 +564,6 @@ export * from './TagResource';
|
|
|
566
564
|
export * from './TagResourceArrayResponse';
|
|
567
565
|
export * from './TagType';
|
|
568
566
|
export * from './Thumbnail';
|
|
569
|
-
export * from './TransactionListResource';
|
|
570
|
-
export * from './TransactionListResourceArrayResponse';
|
|
571
567
|
export * from './TransactionLiteResource';
|
|
572
568
|
export * from './TransactionLiteResourceArrayResponse';
|
|
573
569
|
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,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 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
|
-
refundedAmount: number;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {string}
|
|
63
|
-
* @memberof TransactionListResource
|
|
64
|
-
*/
|
|
65
|
-
reference: string;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {Date}
|
|
69
|
-
* @memberof TransactionListResource
|
|
70
|
-
*/
|
|
71
|
-
createdAt?: Date | null;
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* Check if a given object implements the TransactionListResource interface.
|
|
75
|
-
*/
|
|
76
|
-
export declare function instanceOfTransactionListResource(value: object): value is TransactionListResource;
|
|
77
|
-
export declare function TransactionListResourceFromJSON(json: any): TransactionListResource;
|
|
78
|
-
export declare function TransactionListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionListResource;
|
|
79
|
-
export declare function TransactionListResourceToJSON(json: any): TransactionListResource;
|
|
80
|
-
export declare function TransactionListResourceToJSONTyped(value?: TransactionListResource | null, ignoreDiscriminator?: boolean): any;
|