@flowio/api-types 0.0.226 → 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 (34) hide show
  1. package/generated/io.flow.billing.accounting.v0.billing-accounting.d.ts +13 -0
  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 +1 -1
  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 +15 -16
  6. package/generated/io.flow.billing.v0.billing.d.ts +6 -1
  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 +585 -324
  10. package/generated/io.flow.organization.onboarding.state.v0.organization-onboarding-state.d.ts +6 -1
  11. package/generated/io.flow.payment.gateway.v0.payment-gateway.d.ts +7 -1
  12. package/generated/io.flow.payment.v0.payment.d.ts +11 -1
  13. package/generated/io.flow.shopify.external.v0.shopify-external.d.ts +1 -0
  14. package/generated/io.flow.shopify.markets.internal.event.v0.shopify-markets-internal-event.d.ts +16 -1
  15. package/generated/io.flow.shopify.markets.internal.v0.shopify-markets-internal.d.ts +11 -0
  16. package/generated/io.flow.shopify.markets.v0.shopify-markets.d.ts +1 -1
  17. package/generated/io.flow.stripe.v0.stripe.d.ts +162 -5
  18. package/generated/io.flow.v0.api.d.ts +29 -3
  19. package/index.d.ts +1 -14
  20. package/package.json +2 -2
  21. package/generated/io.flow.billing.csv.v0.billing-csv.d.ts +0 -454
  22. package/generated/io.flow.checkout.analytics.v0.checkout-analytics.d.ts +0 -137
  23. package/generated/io.flow.checkout.backend.v0.checkout-backend.d.ts +0 -539
  24. package/generated/io.flow.checkout.common.v0.checkout-common.d.ts +0 -57
  25. package/generated/io.flow.checkout.configuration.v0.checkout-configuration.d.ts +0 -113
  26. package/generated/io.flow.checkout.protocol.v0.checkout-protocol.d.ts +0 -1347
  27. package/generated/io.flow.consumer.invoice.v0.consumer-invoice.d.ts +0 -204
  28. package/generated/io.flow.content.internal.v0.content-internal.d.ts +0 -168
  29. package/generated/io.flow.currency.internal.v0.currency-internal.d.ts +0 -119
  30. package/generated/io.flow.experience.internal.v0.experience-internal.d.ts +0 -247
  31. package/generated/io.flow.feature.v0.feature.d.ts +0 -121
  32. package/generated/io.flow.optin.internal.v0.optin-internal.d.ts +0 -73
  33. package/generated/io.flow.price.internal.v0.price-internal.d.ts +0 -4
  34. package/generated/io.flow.svb.v0.svb.d.ts +0 -166
@@ -1,454 +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 BillingCsvMerchantReference {
186
- readonly 'id': string;
187
- }
188
-
189
- interface BillingCsvOrder {
190
- readonly 'number': string;
191
- readonly 'primary_identifier'?: string;
192
- readonly 'submitted_at'?: string;
193
- readonly 'timezone': string;
194
- readonly 'local': io.flow.billing.csv.v0.models.BillingCsvOrderDetail;
195
- readonly 'base': io.flow.billing.csv.v0.models.BillingCsvOrderDetail;
196
- readonly 'transaction_amount': number;
197
- readonly 'deliveries': io.flow.billing.csv.v0.models.BillingCsvDelivery[];
198
- readonly 'exchange_rate'?: io.flow.billing.csv.v0.models.BillingCsvExchangeRate;
199
- }
200
-
201
- interface BillingCsvOrderDestination {
202
- readonly 'city'?: string;
203
- readonly 'province'?: string;
204
- readonly 'postal'?: string;
205
- readonly 'country'?: string;
206
- }
207
-
208
- interface BillingCsvOrderDetail {
209
- readonly 'currency': string;
210
- readonly 'adjustment': number;
211
- readonly 'subtotal': number;
212
- readonly 'vat': number;
213
- readonly 'duty': number;
214
- readonly 'shipping': number;
215
- readonly 'insurance': number;
216
- readonly 'discount': number;
217
- readonly 'total': number;
218
- readonly 'freight': number;
219
- }
220
-
221
- interface BillingCsvOrderSummary {
222
- readonly 'number': string;
223
- readonly 'identifiers': Record<string, string>;
224
- }
225
-
226
- interface BillingCsvOrderTransaction {
227
- readonly 'id': string;
228
- readonly 'type': string;
229
- readonly 'amount': number;
230
- readonly 'description'?: string;
231
- readonly 'account': io.flow.billing.csv.v0.models.AccountSummary;
232
- readonly 'organization': io.flow.common.v0.models.OrganizationReference;
233
- readonly 'order': io.flow.billing.csv.v0.models.BillingCsvOrderWithMorSummary;
234
- }
235
-
236
- interface BillingCsvOrderWithMorSummary {
237
- readonly 'number': string;
238
- readonly 'merchant_of_record': io.flow.common.v0.enums.MerchantOfRecord;
239
- readonly 'identifiers': Record<string, string>;
240
- }
241
-
242
- interface BillingCsvProcessingTransaction {
243
- readonly 'id': string;
244
- readonly 'reference': string;
245
- readonly 'primary_identifier'?: string;
246
- readonly 'parent_id'?: string;
247
- readonly 'created_at'?: string;
248
- readonly 'merchant_of_record': io.flow.common.v0.enums.MerchantOfRecord;
249
- readonly 'posted_at'?: string;
250
- readonly 'type': io.flow.billing.internal.v0.enums.BillingTransactionType;
251
- readonly 'timezone': string;
252
- readonly 'order_number'?: string;
253
- readonly 'order_primary_identifier'?: string;
254
- readonly 'order_identifiers'?: Record<string, string>;
255
- readonly 'order_submitted_at'?: string;
256
- readonly 'order'?: io.flow.billing.internal.v0.models.BillingOrderSummary;
257
- readonly 'payment_method': string;
258
- readonly 'local_amount': number;
259
- readonly 'local_currency': string;
260
- readonly 'base_amount': number;
261
- readonly 'base_currency': string;
262
- readonly 'processing_fee'?: number;
263
- readonly 'processing_fee_description'?: string;
264
- readonly 'rate_lock_fee': number;
265
- readonly 'rate_lock_fee_description'?: string;
266
- readonly 'vat_withholding': number;
267
- readonly 'duty_withholding': number;
268
- readonly 'freight_withholding'?: number;
269
- readonly 'insurance_withholding': number;
270
- readonly 'revenue_share'?: number;
271
- readonly 'revenue_share_currency'?: string;
272
- readonly 'amount': number;
273
- readonly 'order_detail'?: io.flow.billing.csv.v0.models.BillingCsvProcessingTransactionOrderDetail;
274
- readonly 'mor_fee'?: number;
275
- readonly 'mor_fee_description'?: string;
276
- readonly 'fx_fee'?: number;
277
- readonly 'fx_fee_description'?: string;
278
- readonly 'duty_guarantee_fee'?: number;
279
- readonly 'duty_guarantee_fee_description'?: string;
280
- readonly 'negative_balance_fee'?: number;
281
- readonly 'negative_balance_fee_description'?: string;
282
- }
283
-
284
- interface BillingCsvProcessingTransactionDelivery {
285
- readonly 'delivery_option_id': string;
286
- readonly 'ratecard_owner': io.flow.billing.internal.v0.enums.ResponsibleParty;
287
- readonly 'service': io.flow.billing.csv.v0.models.BillingCsvService;
288
- readonly 'center': io.flow.billing.csv.v0.models.BillingCsvCenter;
289
- readonly 'ship_from_country': string;
290
- readonly 'delivered_duty': string;
291
- }
292
-
293
- interface BillingCsvProcessingTransactionOrderDetail {
294
- readonly 'total': number;
295
- readonly 'subtotal': number;
296
- readonly 'discount': number;
297
- readonly 'vat': number;
298
- readonly 'duty': number;
299
- readonly 'shipping': number;
300
- readonly 'vat_subsidy'?: number;
301
- readonly 'duty_subsidy'?: number;
302
- readonly 'estimated_freight': number;
303
- readonly 'selected_deliveries': io.flow.billing.csv.v0.models.BillingCsvProcessingTransactionDelivery[];
304
- }
305
-
306
- interface BillingCsvService {
307
- readonly 'id': string;
308
- }
309
-
310
- interface BillingCsvTier {
311
- readonly 'name': string;
312
- }
313
-
314
- interface BillingCsvTransaction {
315
- readonly 'id': string;
316
- readonly 'type': io.flow.billing.internal.v0.enums.BillingTransactionType;
317
- readonly 'account': io.flow.billing.csv.v0.models.BillingCsvTransactionAccount;
318
- readonly 'metadata'?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadata;
319
- readonly 'order'?: io.flow.billing.csv.v0.models.BillingCsvTransactionOrderSummary;
320
- readonly 'currency': string;
321
- readonly 'source': io.flow.billing.v0.enums.TransactionSource;
322
- readonly 'parent'?: io.flow.billing.v0.models.ParentTransactionSummary;
323
- readonly 'gross': number;
324
- readonly 'fees': io.flow.billing.csv.v0.models.BillingCsvTransactionFees;
325
- readonly 'withholdings': io.flow.billing.csv.v0.models.BillingCsvTransactionWithholdings;
326
- readonly 'discount': io.flow.billing.csv.v0.models.BillingCsvTransactionDiscount;
327
- readonly 'net': number;
328
- readonly 'identifiers': io.flow.billing.csv.v0.models.BillingCsvTransactionIdentifiers;
329
- readonly 'created_at': string;
330
- readonly 'updated_at': string;
331
- }
332
-
333
- interface BillingCsvTransactionAccount {
334
- readonly 'id': string;
335
- readonly 'merchant'?: io.flow.billing.csv.v0.models.BillingCsvMerchantReference;
336
- readonly 'environment': io.flow.common.v0.enums.Environment;
337
- readonly 'source': io.flow.billing.csv.v0.models.BillingCsvTransactionAccountSourceSummary;
338
- }
339
-
340
- interface BillingCsvTransactionAccountSourceSummary {
341
- readonly 'id': string;
342
- readonly 'type': io.flow.billing.internal.v0.enums.AccountType;
343
- }
344
-
345
- interface BillingCsvTransactionDiscount {
346
- readonly 'amount': number;
347
- readonly 'description'?: string;
348
- }
349
-
350
- interface BillingCsvTransactionFees {
351
- readonly 'duty_guarantee': number;
352
- readonly 'mor': number;
353
- readonly 'fraud': number;
354
- readonly 'fx': number;
355
- readonly 'processing': number;
356
- readonly 'rate_lock': number;
357
- readonly 'transfer': number;
358
- readonly 'negative_balance': number;
359
- }
360
-
361
- interface BillingCsvTransactionIdentifiers {
362
- readonly 'reference_id'?: string;
363
- }
364
-
365
- interface BillingCsvTransactionMetadata {
366
- readonly 'channel'?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataChannel;
367
- readonly 'shipping_label'?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataShippingLabel;
368
- readonly 'shipping_label_revenue_share'?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataShippingLabelRevenueShare;
369
- readonly 'trueup'?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataTrueup;
370
- readonly 'carrier_charge'?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataCarrierCharge;
371
- readonly 'manual'?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataManual;
372
- readonly 'failed_payout'?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataFailedPayout;
373
- }
374
-
375
- interface BillingCsvTransactionMetadataCarrierCharge {
376
- readonly 'reason': io.flow.trueup.v0.enums.CarrierChargeReason;
377
- readonly 'label_created_at': string;
378
- readonly 'carrier_id': string;
379
- readonly 'carrier_tracking_number': string;
380
- readonly 'revenue_share_percentage': number;
381
- readonly 'outbound_transaction_id'?: string;
382
- }
383
-
384
- interface BillingCsvTransactionMetadataChannel {
385
- readonly 'method': string;
386
- readonly 'card'?: io.flow.billing.v0.models.TransactionMetadataChannelCardMetadata;
387
- }
388
-
389
- interface BillingCsvTransactionMetadataFailedPayout {
390
- readonly 'failed_payment': io.flow.billing.v0.models.TransactionMetadataFailedPayoutReference;
391
- }
392
-
393
- interface BillingCsvTransactionMetadataManual {
394
- readonly 'description': string;
395
- readonly 'original'?: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
396
- readonly 'category'?: io.flow.billing.internal.v0.enums.ManualTransactionCategory;
397
- readonly 'url'?: string;
398
- }
399
-
400
- interface BillingCsvTransactionMetadataShippingLabel {
401
- readonly 'request_method'?: io.flow.label.v0.enums.LabelRequestMethod;
402
- }
403
-
404
- interface BillingCsvTransactionMetadataShippingLabelRevenueShare {
405
- readonly 'label_id': string;
406
- readonly 'base_amount'?: number;
407
- readonly 'percentage'?: number;
408
- }
409
-
410
- interface BillingCsvTransactionMetadataTrueup {
411
- readonly 'original': io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
412
- readonly 'label_transaction_id': string;
413
- readonly 'label_invoice_request_id': string;
414
- readonly 'carrier_charge_id': string;
415
- }
416
-
417
- interface BillingCsvTransactionOrderSummary {
418
- readonly 'organization': io.flow.common.v0.models.OrganizationReference;
419
- readonly 'number': string;
420
- readonly 'identifiers': io.flow.billing.csv.v0.models.BillingCsvTransactionOrderSummaryIdentifiers;
421
- }
422
-
423
- interface BillingCsvTransactionOrderSummaryIdentifiers {
424
- readonly 'shopify_order_id'?: string;
425
- }
426
-
427
- interface BillingCsvTransactionWithholdings {
428
- readonly 'tax': number;
429
- readonly 'duty': number;
430
- readonly 'freight': number;
431
- readonly 'insurance': number;
432
- }
433
-
434
- interface FlowFinancePaymentSummary {
435
- readonly 'id': string;
436
- readonly 'status': io.flow.billing.internal.v0.enums.BankPaymentStatusCode;
437
- readonly 'amount': number;
438
- readonly 'bank_account_last4'?: string;
439
- }
440
-
441
- interface FlowFinanceStatementSummary {
442
- readonly 'account_id': string;
443
- readonly 'payment'?: io.flow.billing.csv.v0.models.FlowFinancePaymentSummary;
444
- readonly 'statement_id': string;
445
- readonly 'settlement_currency': string;
446
- readonly 'starting_balance': number;
447
- readonly 'balance_forward': number;
448
- readonly 'transactions_posted': number;
449
- readonly 'platform_fee': number;
450
- readonly 'account_balance': number;
451
- readonly 'dispute_balance': number;
452
- readonly 'one_time_adjustments': Record<string, number>;
453
- }
454
- }
@@ -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
- }