@flowio/api-types 0.0.203 → 0.0.204
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/generated/io.flow.apple.pay.v0.apple-pay.d.ts +4 -4
- package/generated/io.flow.billing.csv.v0.billing-csv.d.ts +381 -0
- package/generated/io.flow.billing.internal.v0.billing-internal.d.ts +1030 -0
- package/generated/io.flow.billing.reporting.csv.v0.billing-reporting-csv.d.ts +281 -0
- package/generated/io.flow.billing.true.up.v0.billing-true-up.d.ts +46 -30
- package/generated/io.flow.billing.v0.billing.d.ts +23 -15
- package/generated/io.flow.consumer.invoice.v0.consumer-invoice.d.ts +204 -0
- package/generated/io.flow.internal.v0.api-internal.d.ts +104 -24
- package/generated/io.flow.invoice.v0.invoice.d.ts +21 -0
- package/generated/io.flow.v0.api.d.ts +59 -19
- package/index.d.ts +5 -0
- package/package.json +2 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
declare namespace io.flow.apple.pay.v0.enums {
|
|
2
|
-
type ApplePayContactField = 'email' | 'name' | 'phone' | '
|
|
2
|
+
type ApplePayContactField = 'email' | 'name' | 'phone' | 'postalAddress' | 'phoneticName';
|
|
3
3
|
type ApplePayLineItemType = 'final' | 'pending';
|
|
4
4
|
type ApplePayMerchantCapability = 'supports3DS' | 'supportsCredit' | 'supportsDebit' | 'supportsEMV';
|
|
5
|
-
type ApplePayShippingType = 'shipping' | 'delivery' | '
|
|
5
|
+
type ApplePayShippingType = 'shipping' | 'delivery' | 'storePickup' | 'servicePickup';
|
|
6
6
|
type ApplePaySupportedNetworks = 'amex' | 'chinaUnionPay' | 'discover' | 'jcb' | 'masterCard' | 'privateLabel' | 'visa';
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ declare namespace io.flow.apple.pay.v0.models {
|
|
|
10
10
|
interface ApplePayLineItem {
|
|
11
11
|
readonly 'label': string;
|
|
12
12
|
readonly 'type': io.flow.apple.pay.v0.enums.ApplePayLineItemType;
|
|
13
|
-
readonly 'amount':
|
|
13
|
+
readonly 'amount': string;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
interface ApplePayPaymentContact {
|
|
@@ -61,7 +61,7 @@ declare namespace io.flow.apple.pay.v0.models {
|
|
|
61
61
|
interface ApplePayShippingMethod {
|
|
62
62
|
readonly 'label': string;
|
|
63
63
|
readonly 'detail': string;
|
|
64
|
-
readonly 'amount':
|
|
64
|
+
readonly 'amount': string;
|
|
65
65
|
readonly 'identifier': string;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
@@ -0,0 +1,381 @@
|
|
|
1
|
+
declare namespace io.flow.billing.csv.v0.models {
|
|
2
|
+
interface AccountSummary {
|
|
3
|
+
readonly 'id': string;
|
|
4
|
+
readonly 'currency': string;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
interface BillingChannelCsvOrder {
|
|
8
|
+
readonly 'number': string;
|
|
9
|
+
readonly 'submitted_at': string;
|
|
10
|
+
readonly 'local': io.flow.billing.csv.v0.models.BillingChannelCsvOrderDetail;
|
|
11
|
+
readonly 'deliveries': io.flow.billing.csv.v0.models.BillingChannelCsvOrderDelivery[];
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
interface BillingChannelCsvOrderDelivery {
|
|
15
|
+
readonly 'carrier': io.flow.billing.csv.v0.models.BillingCsvCarrier;
|
|
16
|
+
readonly 'service': io.flow.billing.csv.v0.models.BillingCsvService;
|
|
17
|
+
readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
|
|
18
|
+
readonly 'ratecard_owner': io.flow.billing.internal.v0.enums.ResponsibleParty;
|
|
19
|
+
readonly 'tier': io.flow.billing.csv.v0.models.BillingCsvTier;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
interface BillingChannelCsvOrderDetail {
|
|
23
|
+
readonly 'currency': string;
|
|
24
|
+
readonly 'freight': number;
|
|
25
|
+
readonly 'total': number;
|
|
26
|
+
readonly 'subtotal': number;
|
|
27
|
+
readonly 'vat': number;
|
|
28
|
+
readonly 'duty': number;
|
|
29
|
+
readonly 'discount': number;
|
|
30
|
+
readonly 'adjustment': number;
|
|
31
|
+
readonly 'insurance': number;
|
|
32
|
+
readonly 'shipping': number;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
interface BillingCsvCarrier {
|
|
36
|
+
readonly 'id': string;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
interface BillingCsvCenter {
|
|
40
|
+
readonly 'key': string;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
interface BillingCsvChannelBilledTransaction {
|
|
44
|
+
readonly 'id': string;
|
|
45
|
+
readonly 'type': string;
|
|
46
|
+
readonly 'net': number;
|
|
47
|
+
readonly 'description': string;
|
|
48
|
+
readonly 'account': io.flow.billing.csv.v0.models.AccountSummary;
|
|
49
|
+
readonly 'organization'?: io.flow.common.v0.models.OrganizationReference;
|
|
50
|
+
readonly 'order'?: io.flow.billing.csv.v0.models.BillingCsvOrderSummary;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
interface BillingCsvChannelTransaction {
|
|
54
|
+
readonly 'id': string;
|
|
55
|
+
readonly 'account': io.flow.billing.csv.v0.models.AccountSummary;
|
|
56
|
+
readonly 'type': string;
|
|
57
|
+
readonly 'description'?: string;
|
|
58
|
+
readonly 'organization': io.flow.common.v0.models.OrganizationReference;
|
|
59
|
+
readonly 'order': io.flow.billing.csv.v0.models.BillingCsvOrderWithMorSummary;
|
|
60
|
+
readonly 'processing_transaction': io.flow.billing.csv.v0.models.BillingCsvChannelTransactionProcessingTransaction;
|
|
61
|
+
readonly 'spot_rate': io.flow.billing.csv.v0.models.BillingCsvExchangeRate;
|
|
62
|
+
readonly 'processing_transaction_base_amount_in_channel_account_currency': number;
|
|
63
|
+
readonly 'processing_transaction_total_fees_in_channel_account_currency': number;
|
|
64
|
+
readonly 'processing_fee'?: io.flow.billing.csv.v0.models.BillingCsvFee;
|
|
65
|
+
readonly 'fraud_fee'?: io.flow.billing.csv.v0.models.BillingCsvFee;
|
|
66
|
+
readonly 'mor_fee'?: io.flow.billing.csv.v0.models.BillingCsvFee;
|
|
67
|
+
readonly 'fx_fee'?: io.flow.billing.csv.v0.models.BillingCsvFee;
|
|
68
|
+
readonly 'duty_guarantee_fee'?: io.flow.billing.csv.v0.models.BillingCsvFee;
|
|
69
|
+
readonly 'rate_lock_fee'?: io.flow.billing.csv.v0.models.BillingCsvFee;
|
|
70
|
+
readonly 'transfer_fee'?: io.flow.billing.csv.v0.models.BillingCsvFee;
|
|
71
|
+
readonly 'total_fees': number;
|
|
72
|
+
readonly 'amount': number;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
interface BillingCsvChannelTransactionProcessingTransaction {
|
|
76
|
+
readonly 'id': string;
|
|
77
|
+
readonly 'account': io.flow.billing.csv.v0.models.AccountSummary;
|
|
78
|
+
readonly 'local_currency': string;
|
|
79
|
+
readonly 'base_amount': number;
|
|
80
|
+
readonly 'total_fees': number;
|
|
81
|
+
readonly 'payment_method': string;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
interface BillingCsvConsumerInvoice {
|
|
85
|
+
readonly 'invoice': io.flow.billing.csv.v0.models.BillingCsvConsumerInvoiceSummary;
|
|
86
|
+
readonly 'order': io.flow.billing.internal.v0.models.BillingOrderSummary;
|
|
87
|
+
readonly 'lines': io.flow.billing.csv.v0.models.BillingCsvConsumerInvoiceLineDetail[];
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
interface BillingCsvConsumerInvoiceLine {
|
|
91
|
+
readonly 'invoice': io.flow.billing.csv.v0.models.BillingCsvConsumerInvoiceSummary;
|
|
92
|
+
readonly 'order': io.flow.billing.internal.v0.models.BillingOrderSummary;
|
|
93
|
+
readonly 'line': io.flow.billing.csv.v0.models.BillingCsvConsumerInvoiceLineDetail;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
interface BillingCsvConsumerInvoiceLineDetail {
|
|
97
|
+
readonly 'discriminator': string;
|
|
98
|
+
readonly 'item_number'?: string;
|
|
99
|
+
readonly 'quantity': number;
|
|
100
|
+
readonly 'unit_price': io.flow.common.v0.models.Price;
|
|
101
|
+
readonly 'unit_discount'?: io.flow.common.v0.models.Price;
|
|
102
|
+
readonly 'unit_tax'?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevy;
|
|
103
|
+
readonly 'unit_duty'?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevy;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
interface BillingCsvConsumerInvoiceSummary {
|
|
107
|
+
readonly 'id': string;
|
|
108
|
+
readonly 'number': string;
|
|
109
|
+
readonly 'date': string;
|
|
110
|
+
readonly 'key': string;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
interface BillingCsvDelivery {
|
|
114
|
+
readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
|
|
115
|
+
readonly 'carrier': io.flow.billing.csv.v0.models.BillingCsvCarrier;
|
|
116
|
+
readonly 'center': io.flow.billing.csv.v0.models.BillingCsvCenter;
|
|
117
|
+
readonly 'service': io.flow.billing.csv.v0.models.BillingCsvService;
|
|
118
|
+
readonly 'tier': io.flow.billing.csv.v0.models.BillingCsvTier;
|
|
119
|
+
readonly 'cost': io.flow.billing.csv.v0.models.BillingCsvDeliveryCostDetail;
|
|
120
|
+
readonly 'ratecard_owner': io.flow.billing.internal.v0.enums.ResponsibleParty;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
interface BillingCsvDeliveryCostDetail {
|
|
124
|
+
readonly 'ratecard_base_cost': number;
|
|
125
|
+
readonly 'ratecard_ddp_fee': number;
|
|
126
|
+
readonly 'ratecard_emergency_situation_surcharge': number;
|
|
127
|
+
readonly 'ratecard_peak_surcharge': number;
|
|
128
|
+
readonly 'ratecard_fuel_surcharge': number;
|
|
129
|
+
readonly 'ratecard_oversized_shipment_fee': number;
|
|
130
|
+
readonly 'ratecard_rural_shipment_fee': number;
|
|
131
|
+
readonly 'center_commercial_invoice_fee': number;
|
|
132
|
+
readonly 'center_inbound_carton_fee': number;
|
|
133
|
+
readonly 'center_outbound_carton_fee': number;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
interface BillingCsvExchangeRate {
|
|
137
|
+
readonly 'base_currency': string;
|
|
138
|
+
readonly 'local_currency': string;
|
|
139
|
+
readonly 'rate': number;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
interface BillingCsvFee {
|
|
143
|
+
readonly 'amount': number;
|
|
144
|
+
readonly 'description'?: string;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
interface BillingCsvGenericTransaction {
|
|
148
|
+
readonly 'id': string;
|
|
149
|
+
readonly 'posted_at'?: string;
|
|
150
|
+
readonly 'type': io.flow.billing.internal.v0.enums.BillingTransactionType;
|
|
151
|
+
readonly 'amount': number;
|
|
152
|
+
readonly 'description': string;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
interface BillingCsvLabelTransaction {
|
|
156
|
+
readonly 'id': string;
|
|
157
|
+
readonly 'type': string;
|
|
158
|
+
readonly 'gross': number;
|
|
159
|
+
readonly 'net': number;
|
|
160
|
+
readonly 'discounts': io.flow.billing.internal.v0.models.Discount[];
|
|
161
|
+
readonly 'description'?: string;
|
|
162
|
+
readonly 'account': io.flow.billing.csv.v0.models.AccountSummary;
|
|
163
|
+
readonly 'label': io.flow.billing.csv.v0.models.BillingCsvLabelTransactionBillableLabelSummary;
|
|
164
|
+
readonly 'organization': io.flow.common.v0.models.OrganizationReference;
|
|
165
|
+
readonly 'order'?: io.flow.billing.csv.v0.models.BillingCsvOrderWithMorSummary;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
interface BillingCsvLabelTransactionBillableLabelSummary {
|
|
169
|
+
readonly 'id': string;
|
|
170
|
+
readonly 'owner'?: io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
171
|
+
readonly 'carrier_id': string;
|
|
172
|
+
readonly 'carrier_tracking_number': string;
|
|
173
|
+
readonly 'cost': io.flow.billing.csv.v0.models.BillingCsvLabelTransactionBillableLabelSummaryCost;
|
|
174
|
+
readonly 'request_method'?: io.flow.label.v0.enums.LabelRequestMethod;
|
|
175
|
+
readonly 'trigger_method'?: io.flow.label.v0.enums.LabelTriggerMethod;
|
|
176
|
+
readonly 'identifiers'?: Record<string, string>;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
interface BillingCsvLabelTransactionBillableLabelSummaryCost {
|
|
180
|
+
readonly 'amount': number;
|
|
181
|
+
readonly 'currency': string;
|
|
182
|
+
readonly 'source'?: io.flow.label.v0.enums.CostEstimateSource;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
interface BillingCsvOrder {
|
|
186
|
+
readonly 'number': string;
|
|
187
|
+
readonly 'primary_identifier'?: string;
|
|
188
|
+
readonly 'submitted_at'?: string;
|
|
189
|
+
readonly 'timezone': string;
|
|
190
|
+
readonly 'local': io.flow.billing.csv.v0.models.BillingCsvOrderDetail;
|
|
191
|
+
readonly 'base': io.flow.billing.csv.v0.models.BillingCsvOrderDetail;
|
|
192
|
+
readonly 'transaction_amount': number;
|
|
193
|
+
readonly 'deliveries': io.flow.billing.csv.v0.models.BillingCsvDelivery[];
|
|
194
|
+
readonly 'exchange_rate'?: io.flow.billing.csv.v0.models.BillingCsvExchangeRate;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
interface BillingCsvOrderDestination {
|
|
198
|
+
readonly 'city'?: string;
|
|
199
|
+
readonly 'province'?: string;
|
|
200
|
+
readonly 'postal'?: string;
|
|
201
|
+
readonly 'country'?: string;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
interface BillingCsvOrderDetail {
|
|
205
|
+
readonly 'currency': string;
|
|
206
|
+
readonly 'adjustment': number;
|
|
207
|
+
readonly 'subtotal': number;
|
|
208
|
+
readonly 'vat': number;
|
|
209
|
+
readonly 'duty': number;
|
|
210
|
+
readonly 'shipping': number;
|
|
211
|
+
readonly 'insurance': number;
|
|
212
|
+
readonly 'discount': number;
|
|
213
|
+
readonly 'total': number;
|
|
214
|
+
readonly 'freight': number;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
interface BillingCsvOrderSummary {
|
|
218
|
+
readonly 'number': string;
|
|
219
|
+
readonly 'identifiers': Record<string, string>;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
interface BillingCsvOrderTransaction {
|
|
223
|
+
readonly 'id': string;
|
|
224
|
+
readonly 'type': string;
|
|
225
|
+
readonly 'amount': number;
|
|
226
|
+
readonly 'description'?: string;
|
|
227
|
+
readonly 'account': io.flow.billing.csv.v0.models.AccountSummary;
|
|
228
|
+
readonly 'organization': io.flow.common.v0.models.OrganizationReference;
|
|
229
|
+
readonly 'order': io.flow.billing.csv.v0.models.BillingCsvOrderWithMorSummary;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
interface BillingCsvOrderWithMorSummary {
|
|
233
|
+
readonly 'number': string;
|
|
234
|
+
readonly 'merchant_of_record': io.flow.common.v0.enums.MerchantOfRecord;
|
|
235
|
+
readonly 'identifiers': Record<string, string>;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
interface BillingCsvProcessingTransaction {
|
|
239
|
+
readonly 'id': string;
|
|
240
|
+
readonly 'reference': string;
|
|
241
|
+
readonly 'primary_identifier'?: string;
|
|
242
|
+
readonly 'parent_id'?: string;
|
|
243
|
+
readonly 'created_at'?: string;
|
|
244
|
+
readonly 'merchant_of_record': io.flow.common.v0.enums.MerchantOfRecord;
|
|
245
|
+
readonly 'posted_at'?: string;
|
|
246
|
+
readonly 'type': io.flow.billing.internal.v0.enums.BillingTransactionType;
|
|
247
|
+
readonly 'timezone': string;
|
|
248
|
+
readonly 'order_number'?: string;
|
|
249
|
+
readonly 'order_primary_identifier'?: string;
|
|
250
|
+
readonly 'order_identifiers'?: Record<string, string>;
|
|
251
|
+
readonly 'order_submitted_at'?: string;
|
|
252
|
+
readonly 'order'?: io.flow.billing.internal.v0.models.BillingOrderSummary;
|
|
253
|
+
readonly 'payment_method': string;
|
|
254
|
+
readonly 'local_amount': number;
|
|
255
|
+
readonly 'local_currency': string;
|
|
256
|
+
readonly 'base_amount': number;
|
|
257
|
+
readonly 'base_currency': string;
|
|
258
|
+
readonly 'processing_fee'?: number;
|
|
259
|
+
readonly 'processing_fee_description'?: string;
|
|
260
|
+
readonly 'rate_lock_fee': number;
|
|
261
|
+
readonly 'rate_lock_fee_description'?: string;
|
|
262
|
+
readonly 'vat_withholding': number;
|
|
263
|
+
readonly 'duty_withholding': number;
|
|
264
|
+
readonly 'freight_withholding'?: number;
|
|
265
|
+
readonly 'insurance_withholding': number;
|
|
266
|
+
readonly 'revenue_share'?: number;
|
|
267
|
+
readonly 'revenue_share_currency'?: string;
|
|
268
|
+
readonly 'amount': number;
|
|
269
|
+
readonly 'order_detail'?: io.flow.billing.csv.v0.models.BillingCsvProcessingTransactionOrderDetail;
|
|
270
|
+
readonly 'mor_fee'?: number;
|
|
271
|
+
readonly 'mor_fee_description'?: string;
|
|
272
|
+
readonly 'fx_fee'?: number;
|
|
273
|
+
readonly 'fx_fee_description'?: string;
|
|
274
|
+
readonly 'duty_guarantee_fee'?: number;
|
|
275
|
+
readonly 'duty_guarantee_fee_description'?: string;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
interface BillingCsvProcessingTransactionDelivery {
|
|
279
|
+
readonly 'delivery_option_id': string;
|
|
280
|
+
readonly 'ratecard_owner': io.flow.billing.internal.v0.enums.ResponsibleParty;
|
|
281
|
+
readonly 'service': io.flow.billing.csv.v0.models.BillingCsvService;
|
|
282
|
+
readonly 'center': io.flow.billing.csv.v0.models.BillingCsvCenter;
|
|
283
|
+
readonly 'ship_from_country': string;
|
|
284
|
+
readonly 'delivered_duty': string;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
interface BillingCsvProcessingTransactionOrderDetail {
|
|
288
|
+
readonly 'total': number;
|
|
289
|
+
readonly 'subtotal': number;
|
|
290
|
+
readonly 'discount': number;
|
|
291
|
+
readonly 'vat': number;
|
|
292
|
+
readonly 'duty': number;
|
|
293
|
+
readonly 'shipping': number;
|
|
294
|
+
readonly 'vat_subsidy'?: number;
|
|
295
|
+
readonly 'duty_subsidy'?: number;
|
|
296
|
+
readonly 'estimated_freight': number;
|
|
297
|
+
readonly 'selected_deliveries': io.flow.billing.csv.v0.models.BillingCsvProcessingTransactionDelivery[];
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
interface BillingCsvService {
|
|
301
|
+
readonly 'id': string;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
interface BillingCsvTier {
|
|
305
|
+
readonly 'name': string;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
interface BillingCsvTransaction {
|
|
309
|
+
readonly 'id': string;
|
|
310
|
+
readonly 'type': io.flow.billing.internal.v0.enums.BillingTransactionType;
|
|
311
|
+
readonly 'account': io.flow.billing.csv.v0.models.BillingCsvTransactionAccount;
|
|
312
|
+
readonly 'metadata'?: io.flow.billing.v0.unions.TransactionMetadata;
|
|
313
|
+
readonly 'order'?: io.flow.billing.v0.models.BillingChannelOrderSummary;
|
|
314
|
+
readonly 'payment_request'?: io.flow.billing.v0.models.BillingChannelPaymentRequestReference;
|
|
315
|
+
readonly 'currency': string;
|
|
316
|
+
readonly 'source': io.flow.billing.v0.enums.TransactionSource;
|
|
317
|
+
readonly 'parent'?: io.flow.billing.v0.models.ParentTransactionSummary;
|
|
318
|
+
readonly 'gross': number;
|
|
319
|
+
readonly 'fees': io.flow.billing.csv.v0.models.BillingCsvTransactionFees;
|
|
320
|
+
readonly 'withholdings': io.flow.billing.csv.v0.models.BillingCsvTransactionWithholdings;
|
|
321
|
+
readonly 'discount': io.flow.billing.csv.v0.models.BillingCsvTransactionDiscount;
|
|
322
|
+
readonly 'net': number;
|
|
323
|
+
readonly 'identifiers': Record<string, string>;
|
|
324
|
+
readonly 'created_at': string;
|
|
325
|
+
readonly 'updated_at': string;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
interface BillingCsvTransactionAccount {
|
|
329
|
+
readonly 'id': string;
|
|
330
|
+
readonly 'environment': io.flow.common.v0.enums.Environment;
|
|
331
|
+
readonly 'source': io.flow.billing.csv.v0.models.BillingCsvTransactionAccountSourceSummary;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
interface BillingCsvTransactionAccountSourceSummary {
|
|
335
|
+
readonly 'id': string;
|
|
336
|
+
readonly 'type': io.flow.billing.internal.v0.enums.AccountType;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
interface BillingCsvTransactionDiscount {
|
|
340
|
+
readonly 'amount': number;
|
|
341
|
+
readonly 'description'?: string;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
interface BillingCsvTransactionFees {
|
|
345
|
+
readonly 'duty_guarantee': number;
|
|
346
|
+
readonly 'mor': number;
|
|
347
|
+
readonly 'fraud': number;
|
|
348
|
+
readonly 'fx': number;
|
|
349
|
+
readonly 'processing': number;
|
|
350
|
+
readonly 'rate_lock': number;
|
|
351
|
+
readonly 'transfer': number;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
interface BillingCsvTransactionWithholdings {
|
|
355
|
+
readonly 'tax': number;
|
|
356
|
+
readonly 'duty': number;
|
|
357
|
+
readonly 'freight': number;
|
|
358
|
+
readonly 'insurance': number;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
interface FlowFinancePaymentSummary {
|
|
362
|
+
readonly 'id': string;
|
|
363
|
+
readonly 'status': io.flow.billing.internal.v0.enums.BankPaymentStatusCode;
|
|
364
|
+
readonly 'amount': number;
|
|
365
|
+
readonly 'bank_account_last4'?: string;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
interface FlowFinanceStatementSummary {
|
|
369
|
+
readonly 'account_id': string;
|
|
370
|
+
readonly 'payment'?: io.flow.billing.csv.v0.models.FlowFinancePaymentSummary;
|
|
371
|
+
readonly 'statement_id': string;
|
|
372
|
+
readonly 'settlement_currency': string;
|
|
373
|
+
readonly 'starting_balance': number;
|
|
374
|
+
readonly 'balance_forward': number;
|
|
375
|
+
readonly 'transactions_posted': number;
|
|
376
|
+
readonly 'platform_fee': number;
|
|
377
|
+
readonly 'account_balance': number;
|
|
378
|
+
readonly 'dispute_balance': number;
|
|
379
|
+
readonly 'one_time_adjustments': Record<string, number>;
|
|
380
|
+
}
|
|
381
|
+
}
|