@flowio/api-types 0.0.225 → 0.0.227

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/generated/io.flow.billing.accounting.v0.billing-accounting.d.ts +21 -1
  2. package/generated/io.flow.billing.bank.account.v0.billing-bank-account.d.ts +1 -1
  3. package/generated/io.flow.billing.internal.v0.billing-internal.d.ts +27 -24
  4. package/generated/io.flow.billing.reporting.csv.v0.billing-reporting-csv.d.ts +0 -1
  5. package/generated/io.flow.billing.reporting.v0.billing-reporting.d.ts +33 -21
  6. package/generated/io.flow.billing.v0.billing.d.ts +67 -14
  7. package/generated/io.flow.channel.internal.v0.channel-internal.d.ts +1 -1
  8. package/generated/io.flow.experiment.internal.v0.experiment-internal.d.ts +191 -0
  9. package/generated/io.flow.internal.v0.api-internal.d.ts +746 -399
  10. package/generated/io.flow.label.v0.label.d.ts +7 -0
  11. package/generated/io.flow.organization.onboarding.state.v0.organization-onboarding-state.d.ts +6 -1
  12. package/generated/io.flow.payment.gateway.v0.payment-gateway.d.ts +7 -1
  13. package/generated/io.flow.payment.v0.payment.d.ts +11 -1
  14. package/generated/io.flow.shopify.external.v0.shopify-external.d.ts +1 -0
  15. package/generated/io.flow.shopify.markets.internal.event.v0.shopify-markets-internal-event.d.ts +32 -1
  16. package/generated/io.flow.shopify.markets.internal.v0.shopify-markets-internal.d.ts +18 -0
  17. package/generated/io.flow.shopify.markets.v0.shopify-markets.d.ts +1 -1
  18. package/generated/io.flow.stripe.v0.stripe.d.ts +162 -5
  19. package/generated/io.flow.trueup.v0.trueup.d.ts +1 -1
  20. package/generated/io.flow.v0.api.d.ts +116 -19
  21. package/index.d.ts +1 -14
  22. package/package.json +2 -2
  23. package/generated/io.flow.billing.csv.v0.billing-csv.d.ts +0 -451
  24. package/generated/io.flow.checkout.analytics.v0.checkout-analytics.d.ts +0 -137
  25. package/generated/io.flow.checkout.backend.v0.checkout-backend.d.ts +0 -539
  26. package/generated/io.flow.checkout.common.v0.checkout-common.d.ts +0 -57
  27. package/generated/io.flow.checkout.configuration.v0.checkout-configuration.d.ts +0 -113
  28. package/generated/io.flow.checkout.protocol.v0.checkout-protocol.d.ts +0 -1347
  29. package/generated/io.flow.consumer.invoice.v0.consumer-invoice.d.ts +0 -204
  30. package/generated/io.flow.content.internal.v0.content-internal.d.ts +0 -168
  31. package/generated/io.flow.currency.internal.v0.currency-internal.d.ts +0 -119
  32. package/generated/io.flow.experience.internal.v0.experience-internal.d.ts +0 -247
  33. package/generated/io.flow.feature.v0.feature.d.ts +0 -121
  34. package/generated/io.flow.optin.internal.v0.optin-internal.d.ts +0 -73
  35. package/generated/io.flow.price.internal.v0.price-internal.d.ts +0 -4
  36. package/generated/io.flow.svb.v0.svb.d.ts +0 -166
@@ -1,451 +0,0 @@
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
- readonly 'negative_balance_fee'?: number;
277
- readonly 'negative_balance_fee_description'?: string;
278
- }
279
-
280
- interface BillingCsvProcessingTransactionDelivery {
281
- readonly 'delivery_option_id': string;
282
- readonly 'ratecard_owner': io.flow.billing.internal.v0.enums.ResponsibleParty;
283
- readonly 'service': io.flow.billing.csv.v0.models.BillingCsvService;
284
- readonly 'center': io.flow.billing.csv.v0.models.BillingCsvCenter;
285
- readonly 'ship_from_country': string;
286
- readonly 'delivered_duty': string;
287
- }
288
-
289
- interface BillingCsvProcessingTransactionOrderDetail {
290
- readonly 'total': number;
291
- readonly 'subtotal': number;
292
- readonly 'discount': number;
293
- readonly 'vat': number;
294
- readonly 'duty': number;
295
- readonly 'shipping': number;
296
- readonly 'vat_subsidy'?: number;
297
- readonly 'duty_subsidy'?: number;
298
- readonly 'estimated_freight': number;
299
- readonly 'selected_deliveries': io.flow.billing.csv.v0.models.BillingCsvProcessingTransactionDelivery[];
300
- }
301
-
302
- interface BillingCsvService {
303
- readonly 'id': string;
304
- }
305
-
306
- interface BillingCsvTier {
307
- readonly 'name': string;
308
- }
309
-
310
- interface BillingCsvTransaction {
311
- readonly 'id': string;
312
- readonly 'type': io.flow.billing.internal.v0.enums.BillingTransactionType;
313
- readonly 'account': io.flow.billing.csv.v0.models.BillingCsvTransactionAccount;
314
- readonly 'metadata'?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadata;
315
- readonly 'order'?: io.flow.billing.csv.v0.models.BillingCsvTransactionOrderSummary;
316
- readonly 'currency': string;
317
- readonly 'source': io.flow.billing.v0.enums.TransactionSource;
318
- readonly 'parent'?: io.flow.billing.v0.models.ParentTransactionSummary;
319
- readonly 'gross': number;
320
- readonly 'fees': io.flow.billing.csv.v0.models.BillingCsvTransactionFees;
321
- readonly 'withholdings': io.flow.billing.csv.v0.models.BillingCsvTransactionWithholdings;
322
- readonly 'discount': io.flow.billing.csv.v0.models.BillingCsvTransactionDiscount;
323
- readonly 'net': number;
324
- readonly 'identifiers': io.flow.billing.csv.v0.models.BillingCsvTransactionIdentifiers;
325
- readonly 'created_at': string;
326
- readonly 'updated_at': string;
327
- }
328
-
329
- interface BillingCsvTransactionAccount {
330
- readonly 'id': string;
331
- readonly 'environment': io.flow.common.v0.enums.Environment;
332
- readonly 'source': io.flow.billing.csv.v0.models.BillingCsvTransactionAccountSourceSummary;
333
- }
334
-
335
- interface BillingCsvTransactionAccountSourceSummary {
336
- readonly 'id': string;
337
- readonly 'type': io.flow.billing.internal.v0.enums.AccountType;
338
- }
339
-
340
- interface BillingCsvTransactionDiscount {
341
- readonly 'amount': number;
342
- readonly 'description'?: string;
343
- }
344
-
345
- interface BillingCsvTransactionFees {
346
- readonly 'duty_guarantee': number;
347
- readonly 'mor': number;
348
- readonly 'fraud': number;
349
- readonly 'fx': number;
350
- readonly 'processing': number;
351
- readonly 'rate_lock': number;
352
- readonly 'transfer': number;
353
- readonly 'negative_balance': number;
354
- }
355
-
356
- interface BillingCsvTransactionIdentifiers {
357
- readonly 'reference_id'?: string;
358
- }
359
-
360
- interface BillingCsvTransactionMetadata {
361
- readonly 'channel'?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataChannel;
362
- readonly 'shipping_label'?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataShippingLabel;
363
- readonly 'shipping_label_revenue_share'?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataShippingLabelRevenueShare;
364
- readonly 'trueup'?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataTrueup;
365
- readonly 'carrier_charge'?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataCarrierCharge;
366
- readonly 'carrier_fee'?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataCarrierFee;
367
- readonly 'manual'?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataManual;
368
- }
369
-
370
- interface BillingCsvTransactionMetadataCarrierCharge {
371
- readonly 'reason': io.flow.trueup.v0.enums.CarrierChargeReason;
372
- readonly 'label_created_at': string;
373
- readonly 'carrier_id': string;
374
- readonly 'carrier_tracking_number': string;
375
- readonly 'revenue_share_percentage': number;
376
- readonly 'outbound_transaction_id'?: string;
377
- }
378
-
379
- interface BillingCsvTransactionMetadataCarrierFee {
380
- readonly 'outbound_transaction_id': string;
381
- readonly 'estimate_fixed_ddp'?: number;
382
- readonly 'estimate_fixed_currency_conversion'?: number;
383
- readonly 'actual_fixed_ddp'?: number;
384
- readonly 'actual_fixed_currency_conversion'?: number;
385
- }
386
-
387
- interface BillingCsvTransactionMetadataChannel {
388
- readonly 'method': string;
389
- readonly 'card'?: io.flow.billing.v0.models.TransactionMetadataChannelCardMetadata;
390
- }
391
-
392
- interface BillingCsvTransactionMetadataManual {
393
- readonly 'original'?: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
394
- readonly 'url'?: string;
395
- }
396
-
397
- interface BillingCsvTransactionMetadataShippingLabel {
398
- readonly 'request_method'?: io.flow.label.v0.enums.LabelRequestMethod;
399
- }
400
-
401
- interface BillingCsvTransactionMetadataShippingLabelRevenueShare {
402
- readonly 'label_id': string;
403
- readonly 'base_amount'?: number;
404
- readonly 'percentage'?: number;
405
- }
406
-
407
- interface BillingCsvTransactionMetadataTrueup {
408
- readonly 'original': io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
409
- readonly 'label_transaction_id': string;
410
- readonly 'label_invoice_request_id': string;
411
- readonly 'carrier_charge_id': string;
412
- }
413
-
414
- interface BillingCsvTransactionOrderSummary {
415
- readonly 'organization': io.flow.common.v0.models.OrganizationReference;
416
- readonly 'number': string;
417
- readonly 'identifiers': io.flow.billing.csv.v0.models.BillingCsvTransactionOrderSummaryIdentifiers;
418
- }
419
-
420
- interface BillingCsvTransactionOrderSummaryIdentifiers {
421
- readonly 'shopify_order_id'?: string;
422
- }
423
-
424
- interface BillingCsvTransactionWithholdings {
425
- readonly 'tax': number;
426
- readonly 'duty': number;
427
- readonly 'freight': number;
428
- readonly 'insurance': number;
429
- }
430
-
431
- interface FlowFinancePaymentSummary {
432
- readonly 'id': string;
433
- readonly 'status': io.flow.billing.internal.v0.enums.BankPaymentStatusCode;
434
- readonly 'amount': number;
435
- readonly 'bank_account_last4'?: string;
436
- }
437
-
438
- interface FlowFinanceStatementSummary {
439
- readonly 'account_id': string;
440
- readonly 'payment'?: io.flow.billing.csv.v0.models.FlowFinancePaymentSummary;
441
- readonly 'statement_id': string;
442
- readonly 'settlement_currency': string;
443
- readonly 'starting_balance': number;
444
- readonly 'balance_forward': number;
445
- readonly 'transactions_posted': number;
446
- readonly 'platform_fee': number;
447
- readonly 'account_balance': number;
448
- readonly 'dispute_balance': number;
449
- readonly 'one_time_adjustments': Record<string, number>;
450
- }
451
- }
@@ -1,137 +0,0 @@
1
- declare namespace io.flow.checkout.analytics.v0.models {
2
- interface CheckoutAnalyticsDeliveries {
3
- readonly 'all': io.flow.checkout.analytics.v0.models.CheckoutAnalyticsDelivery[];
4
- }
5
-
6
- interface CheckoutAnalyticsDelivery {
7
- readonly 'items': io.flow.checkout.analytics.v0.models.CheckoutAnalyticsDeliveryItem[];
8
- readonly 'selected': io.flow.checkout.analytics.v0.unions.CheckoutAnalyticsDeliveryOption;
9
- }
10
-
11
- interface CheckoutAnalyticsDeliveryItem {
12
- readonly 'item': io.flow.checkout.analytics.v0.models.CheckoutAnalyticsItem;
13
- readonly 'quantity': number;
14
- }
15
-
16
- interface CheckoutAnalyticsDigitalDeliveryOption {
17
- readonly 'discriminator': 'digital';
18
- readonly 'duties': io.flow.common.v0.enums.DeliveredDuty;
19
- }
20
-
21
- interface CheckoutAnalyticsItem {
22
- readonly 'number': string;
23
- readonly 'name': string;
24
- readonly 'categories': string[];
25
- readonly 'brand'?: string;
26
- }
27
-
28
- interface CheckoutAnalyticsLine {
29
- readonly 'item': io.flow.checkout.analytics.v0.models.CheckoutAnalyticsItem;
30
- readonly 'quantity': number;
31
- readonly 'unit_price': io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPrices;
32
- }
33
-
34
- interface CheckoutAnalyticsOpenOrder {
35
- readonly 'discriminator': 'open';
36
- readonly 'summary': io.flow.checkout.analytics.v0.models.CheckoutAnalyticsSummary;
37
- readonly 'deliveries': io.flow.checkout.analytics.v0.models.CheckoutAnalyticsDeliveries;
38
- }
39
-
40
- interface CheckoutAnalyticsPaymentCard {
41
- readonly 'discriminator': 'card';
42
- readonly 'method': string;
43
- }
44
-
45
- interface CheckoutAnalyticsPaymentGiftCard {
46
- readonly 'discriminator': 'gift_card';
47
- readonly 'placeholder'?: string;
48
- }
49
-
50
- interface CheckoutAnalyticsPaymentOnline {
51
- readonly 'discriminator': 'online';
52
- readonly 'method': string;
53
- }
54
-
55
- interface CheckoutAnalyticsPayments {
56
- readonly 'applied': io.flow.checkout.analytics.v0.unions.CheckoutAnalyticsPayment[];
57
- }
58
-
59
- interface CheckoutAnalyticsPhysicalDeliveryOption {
60
- readonly 'discriminator': 'physical';
61
- readonly 'carrier_service_id': string;
62
- readonly 'duties': io.flow.common.v0.enums.DeliveredDuty;
63
- }
64
-
65
- interface CheckoutAnalyticsPrices {
66
- readonly 'organization': io.flow.common.v0.models.Money;
67
- readonly 'flow': io.flow.common.v0.models.Money;
68
- }
69
-
70
- interface CheckoutAnalyticsSession {
71
- readonly 'id': string;
72
- readonly 'organization': io.flow.checkout.analytics.v0.models.CheckoutAnalyticsSessionOrganization;
73
- readonly 'visitor': io.flow.checkout.analytics.v0.models.CheckoutAnalyticsSessionVisitor;
74
- readonly 'visit': io.flow.checkout.analytics.v0.models.CheckoutAnalyticsSessionVisit;
75
- readonly 'geo': io.flow.checkout.backend.v0.models.CheckoutGeoParameters;
76
- readonly 'experiment'?: io.flow.session.v0.models.SessionExperiment;
77
- }
78
-
79
- interface CheckoutAnalyticsSessionOrganization {
80
- readonly 'id': string;
81
- }
82
-
83
- interface CheckoutAnalyticsSessionVisit {
84
- readonly 'id': string;
85
- }
86
-
87
- interface CheckoutAnalyticsSessionVisitor {
88
- readonly 'id': string;
89
- }
90
-
91
- interface CheckoutAnalyticsSubmittedOrder {
92
- readonly 'discriminator': 'submitted';
93
- readonly 'number': string;
94
- readonly 'summary': io.flow.checkout.analytics.v0.models.CheckoutAnalyticsSummary;
95
- readonly 'deliveries': io.flow.checkout.analytics.v0.models.CheckoutAnalyticsDeliveries;
96
- }
97
-
98
- interface CheckoutAnalyticsSummary {
99
- readonly 'items': io.flow.checkout.analytics.v0.models.CheckoutAnalyticsSummaryItems;
100
- readonly 'shipping'?: io.flow.checkout.analytics.v0.models.CheckoutAnalyticsSummaryShipping;
101
- readonly 'tax'?: io.flow.checkout.analytics.v0.models.CheckoutAnalyticsSummaryTax;
102
- readonly 'duty'?: io.flow.checkout.analytics.v0.models.CheckoutAnalyticsSummaryDuty;
103
- readonly 'discount'?: io.flow.checkout.analytics.v0.models.CheckoutAnalyticsSummaryDiscount;
104
- readonly 'total': io.flow.checkout.analytics.v0.models.CheckoutAnalyticsSummaryTotal;
105
- readonly 'payments': io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPayments;
106
- }
107
-
108
- interface CheckoutAnalyticsSummaryDiscount {
109
- readonly 'total': io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPrices;
110
- }
111
-
112
- interface CheckoutAnalyticsSummaryDuty {
113
- readonly 'total': io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPrices;
114
- }
115
-
116
- interface CheckoutAnalyticsSummaryItems {
117
- readonly 'lines': io.flow.checkout.analytics.v0.models.CheckoutAnalyticsLine[];
118
- }
119
-
120
- interface CheckoutAnalyticsSummaryShipping {
121
- readonly 'total': io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPrices;
122
- }
123
-
124
- interface CheckoutAnalyticsSummaryTax {
125
- readonly 'total': io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPrices;
126
- }
127
-
128
- interface CheckoutAnalyticsSummaryTotal {
129
- readonly 'total': io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPrices;
130
- }
131
- }
132
-
133
- declare namespace io.flow.checkout.analytics.v0.unions {
134
- type CheckoutAnalyticsDeliveryOption = (io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPhysicalDeliveryOption | io.flow.checkout.analytics.v0.models.CheckoutAnalyticsDigitalDeliveryOption);
135
- type CheckoutAnalyticsOrder = (io.flow.checkout.analytics.v0.models.CheckoutAnalyticsOpenOrder | io.flow.checkout.analytics.v0.models.CheckoutAnalyticsSubmittedOrder);
136
- type CheckoutAnalyticsPayment = (io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPaymentCard | io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPaymentGiftCard | io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPaymentOnline);
137
- }