@digital8/lighting-illusions-ts-sdk 0.0.1951 → 0.0.1952
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 +26 -0
- package/README.md +17 -2
- package/dist/apis/TransactionsApi.d.ts +69 -0
- package/dist/apis/TransactionsApi.js +262 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AddressFrontendResource.d.ts +1 -1
- package/dist/models/AddressFrontendResource.js +3 -1
- package/dist/models/AddressResource.d.ts +2 -2
- package/dist/models/AddressResource.js +6 -2
- package/dist/models/IndexTransactionRequest.d.ts +127 -0
- package/dist/models/IndexTransactionRequest.js +91 -0
- package/dist/models/OrderListResource.d.ts +7 -0
- package/dist/models/OrderListResource.js +5 -0
- package/dist/models/PaginatedTransactionResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedTransactionResourceResponse.js +57 -0
- package/dist/models/PaymentMethod.d.ts +30 -0
- package/dist/models/PaymentMethod.js +56 -0
- package/dist/models/PaymentSource.d.ts +26 -0
- package/dist/models/PaymentSource.js +52 -0
- package/dist/models/PaymentStatus.d.ts +25 -0
- package/dist/models/PaymentStatus.js +51 -0
- package/dist/models/RefundTransactionRequest.d.ts +38 -0
- package/dist/models/RefundTransactionRequest.js +53 -0
- package/dist/models/StoreListResource.d.ts +1 -1
- package/dist/models/StoreListResource.js +1 -3
- package/dist/models/StoreTransactionRequest.d.ts +81 -0
- package/dist/models/StoreTransactionRequest.js +78 -0
- package/dist/models/TransactionLiteResource.d.ts +74 -0
- package/dist/models/TransactionLiteResource.js +77 -0
- package/dist/models/TransactionLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/TransactionLiteResourceArrayResponse.js +50 -0
- package/dist/models/TransactionResource.d.ts +128 -0
- package/dist/models/TransactionResource.js +101 -0
- package/dist/models/TransactionResourceArrayResponse.d.ts +33 -0
- package/dist/models/TransactionResourceArrayResponse.js +50 -0
- package/dist/models/TransactionType.d.ts +25 -0
- package/dist/models/TransactionType.js +51 -0
- package/dist/models/UpdateOrderRequestBillingAddress.d.ts +6 -0
- package/dist/models/UpdateOrderRequestBillingAddress.js +2 -0
- package/dist/models/UpdateOrderRequestShippingAddress.d.ts +7 -1
- package/dist/models/UpdateOrderRequestShippingAddress.js +5 -1
- package/dist/models/index.d.ts +12 -0
- package/dist/models/index.js +12 -0
- package/docs/IndexTransactionRequest.md +60 -0
- package/docs/OrderListResource.md +2 -0
- package/docs/PaginatedTransactionResourceResponse.md +36 -0
- package/docs/PaymentMethod.md +32 -0
- package/docs/PaymentSource.md +32 -0
- package/docs/PaymentStatus.md +32 -0
- package/docs/RefundTransactionRequest.md +36 -0
- package/docs/StoreTransactionRequest.md +46 -0
- package/docs/TransactionLiteResource.md +48 -0
- package/docs/TransactionLiteResourceArrayResponse.md +34 -0
- package/docs/TransactionResource.md +66 -0
- package/docs/TransactionResourceArrayResponse.md +34 -0
- package/docs/TransactionType.md +32 -0
- package/docs/TransactionsApi.md +209 -0
- package/docs/UpdateOrderRequestBillingAddress.md +2 -0
- package/docs/UpdateOrderRequestShippingAddress.md +2 -0
- package/package.json +1 -1
- package/src/apis/TransactionsApi.ts +193 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AddressFrontendResource.ts +3 -2
- package/src/models/AddressResource.ts +6 -4
- package/src/models/IndexTransactionRequest.ts +190 -0
- package/src/models/OrderListResource.ts +16 -0
- package/src/models/PaginatedTransactionResourceResponse.ts +90 -0
- package/src/models/PaymentMethod.ts +58 -0
- package/src/models/PaymentSource.ts +54 -0
- package/src/models/PaymentStatus.ts +53 -0
- package/src/models/RefundTransactionRequest.ts +74 -0
- package/src/models/StoreListResource.ts +2 -3
- package/src/models/StoreTransactionRequest.ts +131 -0
- package/src/models/TransactionLiteResource.ts +128 -0
- package/src/models/TransactionLiteResourceArrayResponse.ts +73 -0
- package/src/models/TransactionResource.ts +203 -0
- package/src/models/TransactionResourceArrayResponse.ts +73 -0
- package/src/models/TransactionType.ts +53 -0
- package/src/models/UpdateOrderRequestBillingAddress.ts +8 -0
- package/src/models/UpdateOrderRequestShippingAddress.ts +11 -2
- package/src/models/index.ts +12 -0
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* My API
|
|
5
|
+
* API documentation for my Laravel app
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface TransactionResource
|
|
20
|
+
*/
|
|
21
|
+
export interface TransactionResource {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof TransactionResource
|
|
26
|
+
*/
|
|
27
|
+
id?: number | null;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof TransactionResource
|
|
32
|
+
*/
|
|
33
|
+
paymentSource: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof TransactionResource
|
|
38
|
+
*/
|
|
39
|
+
paymentMethod: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof TransactionResource
|
|
44
|
+
*/
|
|
45
|
+
type: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof TransactionResource
|
|
50
|
+
*/
|
|
51
|
+
status: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof TransactionResource
|
|
56
|
+
*/
|
|
57
|
+
amount: number;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof TransactionResource
|
|
62
|
+
*/
|
|
63
|
+
surcharge: number;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {number}
|
|
67
|
+
* @memberof TransactionResource
|
|
68
|
+
*/
|
|
69
|
+
totalAmount: number;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {number}
|
|
73
|
+
* @memberof TransactionResource
|
|
74
|
+
*/
|
|
75
|
+
refundedAmount: number;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {number}
|
|
79
|
+
* @memberof TransactionResource
|
|
80
|
+
*/
|
|
81
|
+
unrefundedAmount: number;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof TransactionResource
|
|
86
|
+
*/
|
|
87
|
+
reference: string;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof TransactionResource
|
|
92
|
+
*/
|
|
93
|
+
description?: string | null;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {string}
|
|
97
|
+
* @memberof TransactionResource
|
|
98
|
+
*/
|
|
99
|
+
extendedData?: string | null;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {string}
|
|
103
|
+
* @memberof TransactionResource
|
|
104
|
+
*/
|
|
105
|
+
riskScore?: string | null;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {string}
|
|
109
|
+
* @memberof TransactionResource
|
|
110
|
+
*/
|
|
111
|
+
fraudDecision?: string | null;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @type {number}
|
|
115
|
+
* @memberof TransactionResource
|
|
116
|
+
*/
|
|
117
|
+
refundedTransactionId?: number | null;
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* @type {Date}
|
|
121
|
+
* @memberof TransactionResource
|
|
122
|
+
*/
|
|
123
|
+
createdAt?: Date | null;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Check if a given object implements the TransactionResource interface.
|
|
128
|
+
*/
|
|
129
|
+
export function instanceOfTransactionResource(value: object): value is TransactionResource {
|
|
130
|
+
if (!('paymentSource' in value) || value['paymentSource'] === undefined) return false;
|
|
131
|
+
if (!('paymentMethod' in value) || value['paymentMethod'] === undefined) return false;
|
|
132
|
+
if (!('type' in value) || value['type'] === undefined) return false;
|
|
133
|
+
if (!('status' in value) || value['status'] === undefined) return false;
|
|
134
|
+
if (!('amount' in value) || value['amount'] === undefined) return false;
|
|
135
|
+
if (!('surcharge' in value) || value['surcharge'] === undefined) return false;
|
|
136
|
+
if (!('totalAmount' in value) || value['totalAmount'] === undefined) return false;
|
|
137
|
+
if (!('refundedAmount' in value) || value['refundedAmount'] === undefined) return false;
|
|
138
|
+
if (!('unrefundedAmount' in value) || value['unrefundedAmount'] === undefined) return false;
|
|
139
|
+
if (!('reference' in value) || value['reference'] === undefined) return false;
|
|
140
|
+
return true;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export function TransactionResourceFromJSON(json: any): TransactionResource {
|
|
144
|
+
return TransactionResourceFromJSONTyped(json, false);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export function TransactionResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionResource {
|
|
148
|
+
if (json == null) {
|
|
149
|
+
return json;
|
|
150
|
+
}
|
|
151
|
+
return {
|
|
152
|
+
|
|
153
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
154
|
+
'paymentSource': json['payment_source'],
|
|
155
|
+
'paymentMethod': json['payment_method'],
|
|
156
|
+
'type': json['type'],
|
|
157
|
+
'status': json['status'],
|
|
158
|
+
'amount': json['amount'],
|
|
159
|
+
'surcharge': json['surcharge'],
|
|
160
|
+
'totalAmount': json['total_amount'],
|
|
161
|
+
'refundedAmount': json['refunded_amount'],
|
|
162
|
+
'unrefundedAmount': json['unrefunded_amount'],
|
|
163
|
+
'reference': json['reference'],
|
|
164
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
165
|
+
'extendedData': json['extended_data'] == null ? undefined : json['extended_data'],
|
|
166
|
+
'riskScore': json['risk_score'] == null ? undefined : json['risk_score'],
|
|
167
|
+
'fraudDecision': json['fraud_decision'] == null ? undefined : json['fraud_decision'],
|
|
168
|
+
'refundedTransactionId': json['refunded_transaction_id'] == null ? undefined : json['refunded_transaction_id'],
|
|
169
|
+
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
export function TransactionResourceToJSON(json: any): TransactionResource {
|
|
174
|
+
return TransactionResourceToJSONTyped(json, false);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
export function TransactionResourceToJSONTyped(value?: TransactionResource | null, ignoreDiscriminator: boolean = false): any {
|
|
178
|
+
if (value == null) {
|
|
179
|
+
return value;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
return {
|
|
183
|
+
|
|
184
|
+
'id': value['id'],
|
|
185
|
+
'payment_source': value['paymentSource'],
|
|
186
|
+
'payment_method': value['paymentMethod'],
|
|
187
|
+
'type': value['type'],
|
|
188
|
+
'status': value['status'],
|
|
189
|
+
'amount': value['amount'],
|
|
190
|
+
'surcharge': value['surcharge'],
|
|
191
|
+
'total_amount': value['totalAmount'],
|
|
192
|
+
'refunded_amount': value['refundedAmount'],
|
|
193
|
+
'unrefunded_amount': value['unrefundedAmount'],
|
|
194
|
+
'reference': value['reference'],
|
|
195
|
+
'description': value['description'],
|
|
196
|
+
'extended_data': value['extendedData'],
|
|
197
|
+
'risk_score': value['riskScore'],
|
|
198
|
+
'fraud_decision': value['fraudDecision'],
|
|
199
|
+
'refunded_transaction_id': value['refundedTransactionId'],
|
|
200
|
+
'created_at': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
201
|
+
};
|
|
202
|
+
}
|
|
203
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* My API
|
|
5
|
+
* API documentation for my Laravel app
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { TransactionResource } from './TransactionResource';
|
|
17
|
+
import {
|
|
18
|
+
TransactionResourceFromJSON,
|
|
19
|
+
TransactionResourceFromJSONTyped,
|
|
20
|
+
TransactionResourceToJSON,
|
|
21
|
+
TransactionResourceToJSONTyped,
|
|
22
|
+
} from './TransactionResource';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface TransactionResourceArrayResponse
|
|
28
|
+
*/
|
|
29
|
+
export interface TransactionResourceArrayResponse {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<TransactionResource>}
|
|
33
|
+
* @memberof TransactionResourceArrayResponse
|
|
34
|
+
*/
|
|
35
|
+
data?: Array<TransactionResource>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the TransactionResourceArrayResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfTransactionResourceArrayResponse(value: object): value is TransactionResourceArrayResponse {
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function TransactionResourceArrayResponseFromJSON(json: any): TransactionResourceArrayResponse {
|
|
46
|
+
return TransactionResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function TransactionResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionResourceArrayResponse {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(TransactionResourceFromJSON)),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function TransactionResourceArrayResponseToJSON(json: any): TransactionResourceArrayResponse {
|
|
60
|
+
return TransactionResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function TransactionResourceArrayResponseToJSONTyped(value?: TransactionResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(TransactionResourceToJSON)),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* My API
|
|
5
|
+
* API documentation for my Laravel app
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const TransactionType = {
|
|
21
|
+
Transaction: 'transaction',
|
|
22
|
+
Refund: 'refund'
|
|
23
|
+
} as const;
|
|
24
|
+
export type TransactionType = typeof TransactionType[keyof typeof TransactionType];
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
export function instanceOfTransactionType(value: any): boolean {
|
|
28
|
+
for (const key in TransactionType) {
|
|
29
|
+
if (Object.prototype.hasOwnProperty.call(TransactionType, key)) {
|
|
30
|
+
if (TransactionType[key as keyof typeof TransactionType] === value) {
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
return false;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function TransactionTypeFromJSON(json: any): TransactionType {
|
|
39
|
+
return TransactionTypeFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function TransactionTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionType {
|
|
43
|
+
return json as TransactionType;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function TransactionTypeToJSON(value?: TransactionType | null): any {
|
|
47
|
+
return value as any;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function TransactionTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): TransactionType {
|
|
51
|
+
return value as TransactionType;
|
|
52
|
+
}
|
|
53
|
+
|
|
@@ -25,6 +25,12 @@ export interface UpdateOrderRequestBillingAddress {
|
|
|
25
25
|
* @memberof UpdateOrderRequestBillingAddress
|
|
26
26
|
*/
|
|
27
27
|
addresseeName: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof UpdateOrderRequestBillingAddress
|
|
32
|
+
*/
|
|
33
|
+
addressee?: string | null;
|
|
28
34
|
/**
|
|
29
35
|
*
|
|
30
36
|
* @type {string}
|
|
@@ -88,6 +94,7 @@ export function UpdateOrderRequestBillingAddressFromJSONTyped(json: any, ignoreD
|
|
|
88
94
|
return {
|
|
89
95
|
|
|
90
96
|
'addresseeName': json['addressee_name'],
|
|
97
|
+
'addressee': json['addressee'] == null ? undefined : json['addressee'],
|
|
91
98
|
'company': json['company'] == null ? undefined : json['company'],
|
|
92
99
|
'line1': json['line_1'] == null ? undefined : json['line_1'],
|
|
93
100
|
'line2': json['line_2'] == null ? undefined : json['line_2'],
|
|
@@ -110,6 +117,7 @@ export function UpdateOrderRequestBillingAddressToJSONTyped(value?: UpdateOrderR
|
|
|
110
117
|
return {
|
|
111
118
|
|
|
112
119
|
'addressee_name': value['addresseeName'],
|
|
120
|
+
'addressee': value['addressee'],
|
|
113
121
|
'company': value['company'],
|
|
114
122
|
'line_1': value['line1'],
|
|
115
123
|
'line_2': value['line2'],
|
|
@@ -24,7 +24,13 @@ export interface UpdateOrderRequestShippingAddress {
|
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof UpdateOrderRequestShippingAddress
|
|
26
26
|
*/
|
|
27
|
-
addresseeName
|
|
27
|
+
addresseeName: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof UpdateOrderRequestShippingAddress
|
|
32
|
+
*/
|
|
33
|
+
addressee?: string | null;
|
|
28
34
|
/**
|
|
29
35
|
*
|
|
30
36
|
* @type {string}
|
|
@@ -73,6 +79,7 @@ export interface UpdateOrderRequestShippingAddress {
|
|
|
73
79
|
* Check if a given object implements the UpdateOrderRequestShippingAddress interface.
|
|
74
80
|
*/
|
|
75
81
|
export function instanceOfUpdateOrderRequestShippingAddress(value: object): value is UpdateOrderRequestShippingAddress {
|
|
82
|
+
if (!('addresseeName' in value) || value['addresseeName'] === undefined) return false;
|
|
76
83
|
return true;
|
|
77
84
|
}
|
|
78
85
|
|
|
@@ -86,7 +93,8 @@ export function UpdateOrderRequestShippingAddressFromJSONTyped(json: any, ignore
|
|
|
86
93
|
}
|
|
87
94
|
return {
|
|
88
95
|
|
|
89
|
-
'addresseeName': json['addressee_name']
|
|
96
|
+
'addresseeName': json['addressee_name'],
|
|
97
|
+
'addressee': json['addressee'] == null ? undefined : json['addressee'],
|
|
90
98
|
'company': json['company'] == null ? undefined : json['company'],
|
|
91
99
|
'line1': json['line_1'] == null ? undefined : json['line_1'],
|
|
92
100
|
'line2': json['line_2'] == null ? undefined : json['line_2'],
|
|
@@ -109,6 +117,7 @@ export function UpdateOrderRequestShippingAddressToJSONTyped(value?: UpdateOrder
|
|
|
109
117
|
return {
|
|
110
118
|
|
|
111
119
|
'addressee_name': value['addresseeName'],
|
|
120
|
+
'addressee': value['addressee'],
|
|
112
121
|
'company': value['company'],
|
|
113
122
|
'line_1': value['line1'],
|
|
114
123
|
'line_2': value['line2'],
|
package/src/models/index.ts
CHANGED
|
@@ -160,6 +160,7 @@ export * from './IndexSiteRequest';
|
|
|
160
160
|
export * from './IndexStoreRequest';
|
|
161
161
|
export * from './IndexSupplierRequest';
|
|
162
162
|
export * from './IndexTagRequest';
|
|
163
|
+
export * from './IndexTransactionRequest';
|
|
163
164
|
export * from './LabelListResource';
|
|
164
165
|
export * from './LabelListResourceArrayResponse';
|
|
165
166
|
export * from './LabelLiteResource';
|
|
@@ -267,7 +268,11 @@ export * from './PaginatedSupplierResourceResponse';
|
|
|
267
268
|
export * from './PaginatedTagListResourceResponse';
|
|
268
269
|
export * from './PaginatedTagLiteResourceResponse';
|
|
269
270
|
export * from './PaginatedTagResourceResponse';
|
|
271
|
+
export * from './PaginatedTransactionResourceResponse';
|
|
270
272
|
export * from './PagingMetadata';
|
|
273
|
+
export * from './PaymentMethod';
|
|
274
|
+
export * from './PaymentSource';
|
|
275
|
+
export * from './PaymentStatus';
|
|
271
276
|
export * from './PreviewAutomationRulesProductCategoryRequest';
|
|
272
277
|
export * from './PreviewAutomationRulesResource';
|
|
273
278
|
export * from './PreviewAutomationRulesResourceArrayResponse';
|
|
@@ -367,6 +372,7 @@ export * from './RedirectFrontendResource';
|
|
|
367
372
|
export * from './RedirectFrontendResourceArrayResponse';
|
|
368
373
|
export * from './RedirectListResource';
|
|
369
374
|
export * from './RedirectListResourceArrayResponse';
|
|
375
|
+
export * from './RefundTransactionRequest';
|
|
370
376
|
export * from './SEOResource';
|
|
371
377
|
export * from './SEOResourceArrayResponse';
|
|
372
378
|
export * from './SearchLinkablesMenuItemRequest';
|
|
@@ -437,6 +443,7 @@ export * from './StoreStoreRequestSpecialDatesInner';
|
|
|
437
443
|
export * from './StoreStoreSpecialDateRequest';
|
|
438
444
|
export * from './StoreSupplierRequest';
|
|
439
445
|
export * from './StoreTagRequest';
|
|
446
|
+
export * from './StoreTransactionRequest';
|
|
440
447
|
export * from './SupplierFrontendResource';
|
|
441
448
|
export * from './SupplierFrontendResourceArrayResponse';
|
|
442
449
|
export * from './SupplierListResource';
|
|
@@ -454,6 +461,11 @@ export * from './TagLiteResourceArrayResponse';
|
|
|
454
461
|
export * from './TagResource';
|
|
455
462
|
export * from './TagResourceArrayResponse';
|
|
456
463
|
export * from './TagType';
|
|
464
|
+
export * from './TransactionLiteResource';
|
|
465
|
+
export * from './TransactionLiteResourceArrayResponse';
|
|
466
|
+
export * from './TransactionResource';
|
|
467
|
+
export * from './TransactionResourceArrayResponse';
|
|
468
|
+
export * from './TransactionType';
|
|
457
469
|
export * from './UpdateAssetForAssetableRequest';
|
|
458
470
|
export * from './UpdateAttributeRequest';
|
|
459
471
|
export * from './UpdateAttributeValueRequest';
|