@flowio/types 11.24.33 → 11.24.34

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.
@@ -381,6 +381,7 @@ declare namespace io.flow.common.v0.enums {
381
381
  | 'inactive'
382
382
  | 'deactivated'
383
383
  | 'provisioned';
384
+ type OrganizationType = 'standalone' | 'channel';
384
385
  type PriceBookStatus = 'draft' | 'published' | 'archived';
385
386
  type Role = 'admin' | 'member';
386
387
  type RoundingMethod = 'up' | 'down' | 'nearest';
@@ -682,6 +683,7 @@ declare namespace io.flow.common.v0.models {
682
683
  readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
683
684
  readonly created_at?: string;
684
685
  readonly status?: io.flow.common.v0.enums.OrganizationStatus;
686
+ readonly type?: io.flow.common.v0.enums.OrganizationType;
685
687
  }
686
688
 
687
689
  interface OrganizationDefaults {
@@ -1844,7 +1846,12 @@ declare namespace io.flow.payment.v0.enums {
1844
1846
  | 'reversed';
1845
1847
  type AvsCode = 'match' | 'partial' | 'unsupported' | 'no_match';
1846
1848
  type CaptureDeclineCode = 'expired' | 'insufficient_funds' | 'unknown';
1847
- type CaptureStatus = 'pending' | 'succeeded' | 'failed' | 'canceled';
1849
+ type CaptureStatus =
1850
+ | 'initiated'
1851
+ | 'pending'
1852
+ | 'succeeded'
1853
+ | 'failed'
1854
+ | 'canceled';
1848
1855
  type CardErrorCode =
1849
1856
  | 'invalid_address'
1850
1857
  | 'invalid_currency'
@@ -3805,6 +3812,7 @@ declare namespace io.flow.customer.v0.models {
3805
3812
  }
3806
3813
 
3807
3814
  declare namespace io.flow.label.v0.enums {
3815
+ type CostEstimateSource = 'flow' | 'channel';
3808
3816
  type Direction = 'outbound' | 'return';
3809
3817
  type ShipmentRecipient = 'customer' | 'return' | 'crossdock';
3810
3818
  type TrackingNumberType = 'flow' | 'carrier';
@@ -3877,9 +3885,11 @@ declare namespace io.flow.label.v0.models {
3877
3885
  interface ShippingLabel {
3878
3886
  readonly id: string;
3879
3887
  readonly hop?: io.flow.label.v0.models.ShippingLabelHopSummary;
3888
+ readonly reference_id: string;
3880
3889
  readonly attributes: Record<string, string>;
3881
3890
  readonly carrier_tracking_number: string;
3882
3891
  readonly carrier_tracking_number_url: string;
3892
+ readonly cost_estimate_source: io.flow.label.v0.enums.CostEstimateSource;
3883
3893
  readonly cost?: io.flow.common.v0.models.Price;
3884
3894
  readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
3885
3895
  readonly flow_tracking_number: string;
@@ -5186,7 +5196,7 @@ declare namespace io.flow.adyen.v0.enums {
5186
5196
  | 'SECOND_CHARGEBACK'
5187
5197
  | 'PREARBITRATION_WON'
5188
5198
  | 'PREARBITRATION_LOST';
5189
- type Method = 'GET' | 'POST';
5199
+ type HttpRedirectMethod = 'GET' | 'POST';
5190
5200
  type Operation = 'cancel' | 'capture' | 'refund';
5191
5201
  type PaymentMethod =
5192
5202
  | 'ach'
@@ -5195,6 +5205,7 @@ declare namespace io.flow.adyen.v0.enums {
5195
5205
  | 'amex'
5196
5206
  | 'bankTransfer_IBAN'
5197
5207
  | 'bcmc'
5208
+ | 'bcmc_mobile'
5198
5209
  | 'cartebancaire'
5199
5210
  | 'cup'
5200
5211
  | 'diners'
@@ -5257,6 +5268,11 @@ declare namespace io.flow.adyen.v0.models {
5257
5268
  readonly currency: string;
5258
5269
  }
5259
5270
 
5271
+ interface Applepay {
5272
+ readonly type: 'applepay';
5273
+ readonly applePayToken: string;
5274
+ }
5275
+
5260
5276
  interface Authentication {
5261
5277
  readonly 'threeds2.fingerprintToken'?: string;
5262
5278
  readonly 'threeds2.challengeToken'?: string;
@@ -5284,6 +5300,8 @@ declare namespace io.flow.adyen.v0.models {
5284
5300
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
5285
5301
  readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
5286
5302
  readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
5303
+ readonly mcc?: string;
5304
+ readonly metadata?: any /*object*/;
5287
5305
  }
5288
5306
 
5289
5307
  interface AuthorizeRequest3D {
@@ -5440,6 +5458,14 @@ declare namespace io.flow.adyen.v0.models {
5440
5458
  readonly paymentData?: string;
5441
5459
  }
5442
5460
 
5461
+ interface PaymentDetailsV663Ds2Challenge {
5462
+ readonly 'threeds2.challengeResult': string;
5463
+ }
5464
+
5465
+ interface PaymentDetailsV663Ds2Fingerprint {
5466
+ readonly 'threeds2.fingerprint': string;
5467
+ }
5468
+
5443
5469
  interface PaymentRequest {
5444
5470
  readonly reference: string;
5445
5471
  readonly merchantAccount: string;
@@ -5461,7 +5487,11 @@ declare namespace io.flow.adyen.v0.models {
5461
5487
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
5462
5488
  readonly origin?: string;
5463
5489
  readonly channel?: io.flow.adyen.v0.enums.Channel;
5464
- readonly returnURL?: string;
5490
+ readonly returnUrl?: string;
5491
+ readonly mcc?: string;
5492
+ readonly metadata?: any /*object*/;
5493
+ readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5494
+ readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5465
5495
  }
5466
5496
 
5467
5497
  interface PaymentResponse {
@@ -5478,12 +5508,43 @@ declare namespace io.flow.adyen.v0.models {
5478
5508
  interface PaymentResponseAdditionalData {
5479
5509
  readonly authCode?: string;
5480
5510
  readonly avsResultRaw?: string;
5511
+ readonly avsResult?: string;
5481
5512
  readonly cvcResultRaw?: string;
5513
+ readonly cvcResult?: string;
5514
+ readonly refusalReasonRaw?: string;
5482
5515
  readonly liabilityShift?: string;
5483
5516
  readonly threeDAuthenticated?: string;
5484
5517
  readonly threeDAuthenticatedResponse?: string;
5485
5518
  readonly threeDOffered?: string;
5486
5519
  readonly threeDOfferedResponse?: string;
5520
+ readonly threeDSVersion?: string;
5521
+ readonly eci?: string;
5522
+ readonly scaExemptionRequested?: string;
5523
+ readonly paymentMethod?: string;
5524
+ readonly paymentMethodVariant?: string;
5525
+ readonly tokenTxVariant?: string;
5526
+ readonly acquirerCode?: string;
5527
+ readonly acquirerAccountCode?: string;
5528
+ readonly cardPaymentMethod?: string;
5529
+ readonly coBrandedWith?: string;
5530
+ readonly cardIssuingCountry?: string;
5531
+ readonly cardIssuingCurrency?: string;
5532
+ readonly cardIssuingBank?: string;
5533
+ readonly cardBin?: string;
5534
+ readonly issuerBin?: string;
5535
+ readonly cardSummary?: string;
5536
+ readonly untokenisedCardSummary?: string;
5537
+ readonly ownerName?: string;
5538
+ readonly bankName?: string;
5539
+ readonly issuerCountry?: string;
5540
+ readonly iban?: string;
5541
+ readonly bic?: string;
5542
+ readonly iDealConsumerAccountNumber?: string;
5543
+ readonly iDealConsumerBIC?: string;
5544
+ readonly iDealConsumerCity?: string;
5545
+ readonly iDealConsumerIBAN?: string;
5546
+ readonly iDealConsumerName?: string;
5547
+ readonly iDealTransactionId?: string;
5487
5548
  }
5488
5549
 
5489
5550
  interface Recurring {
@@ -5492,7 +5553,7 @@ declare namespace io.flow.adyen.v0.models {
5492
5553
 
5493
5554
  interface Redirect {
5494
5555
  readonly data?: io.flow.adyen.v0.models.RedirectData;
5495
- readonly method?: io.flow.adyen.v0.enums.Method;
5556
+ readonly method?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5496
5557
  readonly url?: string;
5497
5558
  }
5498
5559
 
@@ -5517,6 +5578,15 @@ declare namespace io.flow.adyen.v0.models {
5517
5578
  readonly cvc?: string;
5518
5579
  }
5519
5580
 
5581
+ interface SdkV3OnCompleteData {
5582
+ readonly details: any /*object*/;
5583
+ readonly payment_data?: string;
5584
+ }
5585
+
5586
+ interface SdkV3OnCompleteResult {
5587
+ readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
5588
+ }
5589
+
5520
5590
  interface ThreeDSecureData {
5521
5591
  readonly authenticationResponse?: string;
5522
5592
  readonly cavv?: string;
@@ -5548,7 +5618,9 @@ declare namespace io.flow.adyen.v0.unions {
5548
5618
  type BrowserInfo =
5549
5619
  | io.flow.adyen.v0.models.BrowserInfo3Ds1
5550
5620
  | io.flow.adyen.v0.models.BrowserInfo3Ds2;
5551
- type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
5621
+ type PaymentMethodData =
5622
+ | io.flow.adyen.v0.models.Scheme
5623
+ | io.flow.adyen.v0.models.Applepay;
5552
5624
  }
5553
5625
 
5554
5626
  declare namespace io.flow.order.management.v0.enums {
@@ -7831,6 +7903,7 @@ declare namespace io.flow.payment.gateway.v0.models {
7831
7903
  interface PaymentCaptureForm {
7832
7904
  readonly amount?: number;
7833
7905
  readonly currency?: string;
7906
+ readonly attributes?: Record<string, string>;
7834
7907
  }
7835
7908
 
7836
7909
  interface PaymentCaptureOptionAutomaticImmediate {
@@ -11259,11 +11332,21 @@ declare namespace io.flow.billing.v0.models {
11259
11332
  readonly url: string;
11260
11333
  }
11261
11334
 
11335
+ interface BankAccountForm {
11336
+ readonly last4: string;
11337
+ readonly info: io.flow.billing.bank.account.v0.unions.BankAccountInfo;
11338
+ }
11339
+
11262
11340
  interface BillingChannelOrderSummary {
11341
+ readonly organization: io.flow.billing.v0.models.BillingChannelOrganizationSummary;
11263
11342
  readonly number: string;
11264
11343
  readonly identifiers?: Record<string, string>;
11265
11344
  }
11266
11345
 
11346
+ interface BillingChannelOrganizationSummary {
11347
+ readonly id: string;
11348
+ }
11349
+
11267
11350
  interface BillingChannelPaymentRequestReference {
11268
11351
  readonly id: string;
11269
11352
  readonly reference?: string;
@@ -11307,6 +11390,11 @@ declare namespace io.flow.billing.v0.models {
11307
11390
  readonly placeholder?: string;
11308
11391
  }
11309
11392
 
11393
+ interface OrganizationBankAccount {
11394
+ readonly id: string;
11395
+ readonly last4: string;
11396
+ }
11397
+
11310
11398
  interface Payout {
11311
11399
  readonly discriminator: 'payout';
11312
11400
  readonly status: io.flow.billing.v0.models.PayoutStatus;
@@ -12956,6 +13044,19 @@ declare namespace io.flow.session.v0.unions {
12956
13044
  io.flow.session.v0.models.OrganizationSessionAuthorization;
12957
13045
  }
12958
13046
 
13047
+ declare namespace io.flow.billing.bank.account.v0.models {
13048
+ interface BankAccountInfoUsa {
13049
+ readonly discriminator: 'usa';
13050
+ readonly routing_number: string;
13051
+ readonly account_number: string;
13052
+ }
13053
+ }
13054
+
13055
+ declare namespace io.flow.billing.bank.account.v0.unions {
13056
+ type BankAccountInfo =
13057
+ io.flow.billing.bank.account.v0.models.BankAccountInfoUsa;
13058
+ }
13059
+
12959
13060
  declare namespace io.flow.internal.v0.enums {
12960
13061
  type AccountType = 'channel' | 'organization';
12961
13062
  type AddressConfigurationSettingProvinceCode = 'iso_3166_2' | 'name';
@@ -13010,10 +13111,7 @@ declare namespace io.flow.internal.v0.enums {
13010
13111
  | 'all';
13011
13112
  type BillingStatementBatchFileKey = 'archive' | 'summary';
13012
13113
  type BillingStatementReviewStatus = 'approved' | 'pending';
13013
- type BillingTransactionStatus =
13014
- | 'pending'
13015
- | 'pending_fulfillment_proof'
13016
- | 'posted';
13114
+ type BillingTransactionStatus = 'pending' | 'pending_proof' | 'posted';
13017
13115
  type BillingTransactionType =
13018
13116
  | 'manual'
13019
13117
  | 'subscription'
@@ -13509,10 +13607,12 @@ declare namespace io.flow.internal.v0.enums {
13509
13607
  | 'billing_organization_processing_rates_deleted'
13510
13608
  | 'billing_organization_settings_upserted'
13511
13609
  | 'billing_organization_settings_deleted'
13610
+ | 'billing_statement_batch_upserted'
13611
+ | 'billing_statement_batch_deleted'
13612
+ | 'billing_statement_batch_statement_upserted'
13613
+ | 'billing_statement_batch_statement_deleted'
13512
13614
  | 'platform_fee_change_upserted'
13513
13615
  | 'platform_fee_change_deleted'
13514
- | 'fx_revenue_recognition_upserted'
13515
- | 'fx_revenue_recognition_deleted'
13516
13616
  | 'fraud_review_upserted'
13517
13617
  | 'fraud_review_deleted'
13518
13618
  | 'fraud_pending_review_upserted'
@@ -13569,6 +13669,7 @@ declare namespace io.flow.internal.v0.enums {
13569
13669
  | 'fulfillment_cancel'
13570
13670
  | 'order_shipped'
13571
13671
  | 'items_shipped'
13672
+ | 'organization_restriction_approval_upserted'
13572
13673
  | 'organization_restriction_snapshot_upserted'
13573
13674
  | 'organization_restriction_snapshot_deleted'
13574
13675
  | 'internal_authorization_upserted'
@@ -13702,7 +13803,7 @@ declare namespace io.flow.internal.v0.enums {
13702
13803
  | 'low_value_goods_tax'
13703
13804
  | 'high_value_goods_tax'
13704
13805
  | 'duties';
13705
- type MainTransactionStatus = 'scheduled' | 'pending_fulfillment_proof';
13806
+ type MainTransactionStatus = 'scheduled' | 'pending_proof';
13706
13807
  type ManualReviewRuleStatus = 'active' | 'archived';
13707
13808
  type ManualTransactionCategory =
13708
13809
  | 'cancelled_order_refund'
@@ -13821,6 +13922,7 @@ declare namespace io.flow.internal.v0.enums {
13821
13922
  type OrderTransactionType = 'adjustment' | 'order_service';
13822
13923
  type OrganizationCapability = 'organization' | 'flow' | 'dynamic';
13823
13924
  type OrganizationPaymentStatus = 'active' | 'archived';
13925
+ type OrganizationRestrictionApprovalStatus = 'ready' | 'not-ready';
13824
13926
  type OutputStyle = 'flow' | 'shopify_p1';
13825
13927
  type Owner = 'flow' | 'organization';
13826
13928
  type PaymentSummaryStatus =
@@ -13978,13 +14080,15 @@ declare namespace io.flow.internal.v0.enums {
13978
14080
  | 'billing_account'
13979
14081
  | 'order_messenger'
13980
14082
  | 'harmonization'
14083
+ | 'fraud_review'
13981
14084
  | 'carrier_account'
14085
+ | 'payment'
13982
14086
  | 'label_generation_settings';
13983
14087
  type TaxCalculationErrorCode = 'generic_error' | 'outside_of_jurisdiction';
13984
14088
  type TaxParty = 'consumer' | 'organization' | 'flow' | 'carrier';
13985
14089
  type TimeseriesType = 'daily' | 'weekly' | 'monthly' | 'yearly';
13986
14090
  type TrackingIntegrationType = 'api' | 'bulk' | 'aftership';
13987
- type TransactionPostingMethod = 'time' | 'fulfillment_proof';
14091
+ type TransactionPostingMethod = 'time' | 'proof';
13988
14092
  type TransferMethod = 'ach';
13989
14093
  type UnclassifiedProductStatus =
13990
14094
  | 'ignored'
@@ -14021,6 +14125,7 @@ declare namespace io.flow.internal.v0.models {
14021
14125
  readonly first_name?: string;
14022
14126
  readonly last_name?: string;
14023
14127
  readonly phone?: string;
14128
+ readonly account?: io.flow.internal.v0.models.SimpleAccountReference;
14024
14129
  }
14025
14130
 
14026
14131
  interface AccountContactDeleted {
@@ -14935,6 +15040,49 @@ declare namespace io.flow.internal.v0.models {
14935
15040
  interface BillingStatementBatch {
14936
15041
  readonly id: string;
14937
15042
  readonly period: io.flow.common.v0.models.DatetimeRange;
15043
+ readonly reconciliation: io.flow.internal.v0.models.BillingStatementBatchReconciliation;
15044
+ }
15045
+
15046
+ interface BillingStatementBatchDeleted {
15047
+ readonly discriminator: 'billing_statement_batch_deleted';
15048
+ readonly event_id: string;
15049
+ readonly timestamp: string;
15050
+ readonly id: string;
15051
+ }
15052
+
15053
+ interface BillingStatementBatchReconciliation {
15054
+ readonly month: string;
15055
+ }
15056
+
15057
+ interface BillingStatementBatchReference {
15058
+ readonly id: string;
15059
+ }
15060
+
15061
+ interface BillingStatementBatchStatement {
15062
+ readonly id: string;
15063
+ readonly batch: io.flow.internal.v0.models.BillingStatementBatchReference;
15064
+ readonly statement: io.flow.internal.v0.models.BillingStatementReference;
15065
+ }
15066
+
15067
+ interface BillingStatementBatchStatementDeleted {
15068
+ readonly discriminator: 'billing_statement_batch_statement_deleted';
15069
+ readonly event_id: string;
15070
+ readonly timestamp: string;
15071
+ readonly id: string;
15072
+ }
15073
+
15074
+ interface BillingStatementBatchStatementUpserted {
15075
+ readonly discriminator: 'billing_statement_batch_statement_upserted';
15076
+ readonly event_id: string;
15077
+ readonly timestamp: string;
15078
+ readonly billing_statement_batch_statement: io.flow.internal.v0.models.BillingStatementBatchStatement;
15079
+ }
15080
+
15081
+ interface BillingStatementBatchUpserted {
15082
+ readonly discriminator: 'billing_statement_batch_upserted';
15083
+ readonly event_id: string;
15084
+ readonly timestamp: string;
15085
+ readonly billing_statement_batch: io.flow.internal.v0.models.BillingStatementBatch;
14938
15086
  }
14939
15087
 
14940
15088
  interface BillingStatementDeleted {
@@ -18250,6 +18398,7 @@ declare namespace io.flow.internal.v0.models {
18250
18398
  readonly capture_id?: string;
18251
18399
  readonly refund_id?: string;
18252
18400
  readonly order_identifier?: io.flow.internal.v0.models.DebugOrderTransactionFormOrderIdentifier;
18401
+ readonly authorization_id?: string;
18253
18402
  }
18254
18403
 
18255
18404
  interface DebugOrderTransactionFormOrderIdentifier {
@@ -18270,7 +18419,6 @@ declare namespace io.flow.internal.v0.models {
18270
18419
  readonly id: string;
18271
18420
  readonly status: io.flow.internal.v0.models.DebugTransactionDetailsStatus;
18272
18421
  readonly fx?: io.flow.internal.v0.models.DebugTransactionFx;
18273
- readonly queue?: io.flow.internal.v0.models.DebugTransactionQueued;
18274
18422
  }
18275
18423
 
18276
18424
  interface DebugTransactionDetailsStatus {
@@ -18278,6 +18426,12 @@ declare namespace io.flow.internal.v0.models {
18278
18426
  readonly description: string;
18279
18427
  }
18280
18428
 
18429
+ interface DebugTransactionForm {
18430
+ readonly transaction_id?: string;
18431
+ readonly capture_id?: string;
18432
+ readonly refund_id?: string;
18433
+ }
18434
+
18281
18435
  interface DebugTransactionFx {
18282
18436
  readonly timestamp?: string;
18283
18437
  readonly market: io.flow.internal.v0.models.DebugTransactionFxRate[];
@@ -19560,13 +19714,6 @@ declare namespace io.flow.internal.v0.models {
19560
19714
  readonly value: number;
19561
19715
  }
19562
19716
 
19563
- interface FxRevenueRecognitionDeleted {
19564
- readonly discriminator: 'fx_revenue_recognition_deleted';
19565
- readonly event_id: string;
19566
- readonly timestamp: string;
19567
- readonly id: string;
19568
- }
19569
-
19570
19717
  interface FxRevenueRecognitionOrder {
19571
19718
  readonly number: string;
19572
19719
  readonly submitted_at: string;
@@ -19588,13 +19735,6 @@ declare namespace io.flow.internal.v0.models {
19588
19735
  readonly transaction_created_at: string;
19589
19736
  }
19590
19737
 
19591
- interface FxRevenueRecognitionUpserted {
19592
- readonly discriminator: 'fx_revenue_recognition_upserted';
19593
- readonly event_id: string;
19594
- readonly timestamp: string;
19595
- readonly fx_revenue_recognition: io.flow.internal.v0.models.FxRevenueRecognition;
19596
- }
19597
-
19598
19738
  interface GiftCard {
19599
19739
  readonly id: string;
19600
19740
  readonly number: string;
@@ -20536,8 +20676,9 @@ declare namespace io.flow.internal.v0.models {
20536
20676
  }
20537
20677
 
20538
20678
  interface InternalDebugTransaction {
20539
- readonly debug: io.flow.internal.v0.models.DebugTransactionDetails;
20679
+ readonly debug?: io.flow.internal.v0.models.DebugTransactionDetails;
20540
20680
  readonly order?: io.flow.internal.v0.models.DebugOrder;
20681
+ readonly queue?: io.flow.internal.v0.models.DebugTransactionQueued;
20541
20682
  }
20542
20683
 
20543
20684
  interface InternalExclusionRuleForm {
@@ -22123,8 +22264,9 @@ declare namespace io.flow.internal.v0.models {
22123
22264
  }
22124
22265
 
22125
22266
  interface OrganizationDebugTransaction {
22126
- readonly debug: io.flow.internal.v0.models.DebugTransactionDetails;
22267
+ readonly debug?: io.flow.internal.v0.models.DebugTransactionDetails;
22127
22268
  readonly order?: io.flow.internal.v0.models.DebugOrder;
22269
+ readonly queue?: io.flow.internal.v0.models.DebugTransactionQueued;
22128
22270
  }
22129
22271
 
22130
22272
  interface OrganizationInvitationAcceptForm {
@@ -22185,6 +22327,20 @@ declare namespace io.flow.internal.v0.models {
22185
22327
  readonly organization_payment_setting: io.flow.internal.v0.models.OrganizationPaymentSetting;
22186
22328
  }
22187
22329
 
22330
+ interface OrganizationRestrictionApproval {
22331
+ readonly status: io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus;
22332
+ readonly reason?: string;
22333
+ readonly updated_at: string;
22334
+ }
22335
+
22336
+ interface OrganizationRestrictionApprovalUpserted {
22337
+ readonly discriminator: 'organization_restriction_approval_upserted';
22338
+ readonly event_id: string;
22339
+ readonly timestamp: string;
22340
+ readonly organization: string;
22341
+ readonly organization_restriction_approval: io.flow.internal.v0.models.OrganizationRestrictionApproval;
22342
+ }
22343
+
22188
22344
  interface OrganizationRestrictionSnapshot {
22189
22345
  readonly id: string;
22190
22346
  readonly organization_id: string;
@@ -22869,6 +23025,17 @@ declare namespace io.flow.internal.v0.models {
22869
23025
  readonly reviews: io.flow.internal.v0.models.RestrictionHistoryItemReviewDecision[];
22870
23026
  }
22871
23027
 
23028
+ interface ProofOfPostingFulfilled {
23029
+ readonly discriminator: 'fulfilled';
23030
+ readonly billable_label_id: string;
23031
+ }
23032
+
23033
+ interface ProofOfPostingFullyRefunded {
23034
+ readonly discriminator: 'fully_refunded';
23035
+ readonly capture_id: string;
23036
+ readonly refund_ids: string[];
23037
+ }
23038
+
22872
23039
  interface QuoteRequest {
22873
23040
  readonly id: string;
22874
23041
  readonly request_type: io.flow.internal.v0.enums.QuoteRequestType;
@@ -25499,10 +25666,12 @@ declare namespace io.flow.internal.v0.unions {
25499
25666
  | io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted
25500
25667
  | io.flow.internal.v0.models.BillingOrganizationSettingsUpserted
25501
25668
  | io.flow.internal.v0.models.BillingOrganizationSettingsDeleted
25669
+ | io.flow.internal.v0.models.BillingStatementBatchUpserted
25670
+ | io.flow.internal.v0.models.BillingStatementBatchDeleted
25671
+ | io.flow.internal.v0.models.BillingStatementBatchStatementUpserted
25672
+ | io.flow.internal.v0.models.BillingStatementBatchStatementDeleted
25502
25673
  | io.flow.internal.v0.models.PlatformFeeChangeUpserted
25503
25674
  | io.flow.internal.v0.models.PlatformFeeChangeDeleted
25504
- | io.flow.internal.v0.models.FxRevenueRecognitionUpserted
25505
- | io.flow.internal.v0.models.FxRevenueRecognitionDeleted
25506
25675
  | io.flow.internal.v0.models.FraudReviewUpserted
25507
25676
  | io.flow.internal.v0.models.FraudReviewDeleted
25508
25677
  | io.flow.internal.v0.models.FraudPendingReviewUpserted
@@ -25559,6 +25728,7 @@ declare namespace io.flow.internal.v0.unions {
25559
25728
  | io.flow.internal.v0.models.FulfillmentCancel
25560
25729
  | io.flow.internal.v0.models.OrderShipped
25561
25730
  | io.flow.internal.v0.models.ItemsShipped
25731
+ | io.flow.internal.v0.models.OrganizationRestrictionApprovalUpserted
25562
25732
  | io.flow.internal.v0.models.OrganizationRestrictionSnapshotUpserted
25563
25733
  | io.flow.internal.v0.models.OrganizationRestrictionSnapshotDeleted
25564
25734
  | io.flow.internal.v0.models.InternalAuthorizationUpserted
@@ -25807,6 +25977,9 @@ declare namespace io.flow.internal.v0.unions {
25807
25977
  | io.flow.internal.v0.models.AdyenMerchantPutForm
25808
25978
  | io.flow.internal.v0.models.FiservMerchantPutForm
25809
25979
  | io.flow.internal.v0.models.PaypalMerchantPutForm;
25980
+ type ProofOfPosting =
25981
+ | io.flow.internal.v0.models.ProofOfPostingFulfilled
25982
+ | io.flow.internal.v0.models.ProofOfPostingFullyRefunded;
25810
25983
  type RoutingEntity =
25811
25984
  | io.flow.internal.v0.models.RoutingProcessor
25812
25985
  | io.flow.internal.v0.models.RoutingAccount
@@ -26098,8 +26271,22 @@ export type BillingStatementAttachmentKey =
26098
26271
  io.flow.internal.v0.enums.BillingStatementAttachmentKey;
26099
26272
  export type BillingStatementBatch =
26100
26273
  io.flow.internal.v0.models.BillingStatementBatch;
26274
+ export type BillingStatementBatchDeleted =
26275
+ io.flow.internal.v0.models.BillingStatementBatchDeleted;
26101
26276
  export type BillingStatementBatchFileKey =
26102
26277
  io.flow.internal.v0.enums.BillingStatementBatchFileKey;
26278
+ export type BillingStatementBatchReconciliation =
26279
+ io.flow.internal.v0.models.BillingStatementBatchReconciliation;
26280
+ export type BillingStatementBatchReference =
26281
+ io.flow.internal.v0.models.BillingStatementBatchReference;
26282
+ export type BillingStatementBatchStatement =
26283
+ io.flow.internal.v0.models.BillingStatementBatchStatement;
26284
+ export type BillingStatementBatchStatementDeleted =
26285
+ io.flow.internal.v0.models.BillingStatementBatchStatementDeleted;
26286
+ export type BillingStatementBatchStatementUpserted =
26287
+ io.flow.internal.v0.models.BillingStatementBatchStatementUpserted;
26288
+ export type BillingStatementBatchUpserted =
26289
+ io.flow.internal.v0.models.BillingStatementBatchUpserted;
26103
26290
  export type BillingStatementDeleted =
26104
26291
  io.flow.internal.v0.models.BillingStatementDeleted;
26105
26292
  export type BillingStatementPendingReview =
@@ -27478,6 +27665,8 @@ export type DebugTransactionDetails =
27478
27665
  io.flow.internal.v0.models.DebugTransactionDetails;
27479
27666
  export type DebugTransactionDetailsStatus =
27480
27667
  io.flow.internal.v0.models.DebugTransactionDetailsStatus;
27668
+ export type DebugTransactionForm =
27669
+ io.flow.internal.v0.models.DebugTransactionForm;
27481
27670
  export type DebugTransactionFx = io.flow.internal.v0.models.DebugTransactionFx;
27482
27671
  export type DebugTransactionFxRate =
27483
27672
  io.flow.internal.v0.models.DebugTransactionFxRate;
@@ -27814,8 +28003,6 @@ export type FxRevenueRecognitionAccount =
27814
28003
  io.flow.internal.v0.models.FxRevenueRecognitionAccount;
27815
28004
  export type FxRevenueRecognitionAccountRate =
27816
28005
  io.flow.internal.v0.models.FxRevenueRecognitionAccountRate;
27817
- export type FxRevenueRecognitionDeleted =
27818
- io.flow.internal.v0.models.FxRevenueRecognitionDeleted;
27819
28006
  export type FxRevenueRecognitionOrder =
27820
28007
  io.flow.internal.v0.models.FxRevenueRecognitionOrder;
27821
28008
  export type FxRevenueRecognitionOrganization =
@@ -27824,8 +28011,6 @@ export type FxRevenueRecognitionRate =
27824
28011
  io.flow.internal.v0.models.FxRevenueRecognitionRate;
27825
28012
  export type FxRevenueRecognitionSource =
27826
28013
  io.flow.internal.v0.models.FxRevenueRecognitionSource;
27827
- export type FxRevenueRecognitionUpserted =
27828
- io.flow.internal.v0.models.FxRevenueRecognitionUpserted;
27829
28014
  export type GiftCard = io.flow.internal.v0.models.GiftCard;
27830
28015
  export type GiftCardAuthorizationError =
27831
28016
  io.flow.internal.v0.models.GiftCardAuthorizationError;
@@ -28448,6 +28633,12 @@ export type OrganizationPaymentSettingVersion =
28448
28633
  io.flow.internal.v0.models.OrganizationPaymentSettingVersion;
28449
28634
  export type OrganizationPaymentStatus =
28450
28635
  io.flow.internal.v0.enums.OrganizationPaymentStatus;
28636
+ export type OrganizationRestrictionApproval =
28637
+ io.flow.internal.v0.models.OrganizationRestrictionApproval;
28638
+ export type OrganizationRestrictionApprovalStatus =
28639
+ io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus;
28640
+ export type OrganizationRestrictionApprovalUpserted =
28641
+ io.flow.internal.v0.models.OrganizationRestrictionApprovalUpserted;
28451
28642
  export type OrganizationRestrictionSnapshot =
28452
28643
  io.flow.internal.v0.models.OrganizationRestrictionSnapshot;
28453
28644
  export type OrganizationRestrictionSnapshotDeleted =
@@ -28638,6 +28829,11 @@ export type PromptCheckoutDisplayPosition =
28638
28829
  io.flow.internal.v0.enums.PromptCheckoutDisplayPosition;
28639
28830
  export type PromptOptions = io.flow.internal.v0.enums.PromptOptions;
28640
28831
  export type PromptTarget = io.flow.internal.v0.enums.PromptTarget;
28832
+ export type ProofOfPosting = io.flow.internal.v0.unions.ProofOfPosting;
28833
+ export type ProofOfPostingFulfilled =
28834
+ io.flow.internal.v0.models.ProofOfPostingFulfilled;
28835
+ export type ProofOfPostingFullyRefunded =
28836
+ io.flow.internal.v0.models.ProofOfPostingFullyRefunded;
28641
28837
  export type QuoteRequest = io.flow.internal.v0.models.QuoteRequest;
28642
28838
  export type QuoteRequestType = io.flow.internal.v0.enums.QuoteRequestType;
28643
28839
  export type RateAndRuleItem = io.flow.internal.v0.models.RateAndRuleItem;