@flowio/types 11.23.5 → 11.23.7

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.
@@ -3516,6 +3516,7 @@ declare namespace io.flow.payment.v0.models {
3516
3516
  readonly order?: io.flow.payment.v0.models.AuthorizationOrderReference;
3517
3517
  readonly amount: number;
3518
3518
  readonly currency: string;
3519
+ readonly created_at?: string;
3519
3520
  readonly cryptopay: io.flow.payment.v0.unions.OnlineAuthorizationDetails;
3520
3521
  }
3521
3522
 
@@ -3536,6 +3537,7 @@ declare namespace io.flow.payment.v0.models {
3536
3537
  readonly order?: io.flow.payment.v0.models.AuthorizationOrderReference;
3537
3538
  readonly amount: number;
3538
3539
  readonly currency: string;
3540
+ readonly created_at?: string;
3539
3541
  readonly paypal: io.flow.payment.v0.unions.OnlineAuthorizationDetails;
3540
3542
  }
3541
3543
 
@@ -4237,7 +4239,7 @@ declare namespace io.flow.stripe.v0.models {
4237
4239
  readonly created: number;
4238
4240
  readonly currency: string;
4239
4241
  readonly customer?: string;
4240
- readonly outcome: io.flow.stripe.v0.models.PaymentOutcome;
4242
+ readonly outcome?: io.flow.stripe.v0.models.PaymentOutcome;
4241
4243
  readonly paid: boolean;
4242
4244
  readonly refunded: boolean;
4243
4245
  readonly refunds?: io.flow.stripe.v0.models.Refunds;
@@ -4287,7 +4289,7 @@ declare namespace io.flow.stripe.v0.models {
4287
4289
  readonly created: number;
4288
4290
  readonly currency: string;
4289
4291
  readonly customer?: string;
4290
- readonly outcome: io.flow.stripe.v0.models.PaymentOutcome;
4292
+ readonly outcome?: io.flow.stripe.v0.models.PaymentOutcome;
4291
4293
  readonly paid: boolean;
4292
4294
  readonly refunded: boolean;
4293
4295
  readonly refunds?: io.flow.stripe.v0.models.Refunds;
@@ -6263,7 +6265,7 @@ declare namespace io.flow.adyen.v0.enums {
6263
6265
  | 'SECOND_CHARGEBACK'
6264
6266
  | 'PREARBITRATION_WON'
6265
6267
  | 'PREARBITRATION_LOST';
6266
- type HttpRedirectMethod = 'GET' | 'POST';
6268
+ type Method = 'GET' | 'POST';
6267
6269
  type Operation = 'cancel' | 'capture' | 'refund';
6268
6270
  type PaymentMethod =
6269
6271
  | 'ach'
@@ -6334,11 +6336,6 @@ declare namespace io.flow.adyen.v0.models {
6334
6336
  readonly currency: string;
6335
6337
  }
6336
6338
 
6337
- interface Applepay {
6338
- readonly type: 'applepay';
6339
- readonly applePayToken: string;
6340
- }
6341
-
6342
6339
  interface Authentication {
6343
6340
  readonly 'threeds2.fingerprintToken'?: string;
6344
6341
  readonly 'threeds2.challengeToken'?: string;
@@ -6366,8 +6363,6 @@ declare namespace io.flow.adyen.v0.models {
6366
6363
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
6367
6364
  readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
6368
6365
  readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
6369
- readonly mcc?: string;
6370
- readonly metadata?: any /*object*/;
6371
6366
  }
6372
6367
 
6373
6368
  interface AuthorizeRequest3D {
@@ -6524,14 +6519,6 @@ declare namespace io.flow.adyen.v0.models {
6524
6519
  readonly paymentData?: string;
6525
6520
  }
6526
6521
 
6527
- interface PaymentDetailsV663Ds2Challenge {
6528
- readonly 'threeds2.challengeResult': string;
6529
- }
6530
-
6531
- interface PaymentDetailsV663Ds2Fingerprint {
6532
- readonly 'threeds2.fingerprint': string;
6533
- }
6534
-
6535
6522
  interface PaymentRequest {
6536
6523
  readonly reference: string;
6537
6524
  readonly merchantAccount: string;
@@ -6553,11 +6540,7 @@ declare namespace io.flow.adyen.v0.models {
6553
6540
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
6554
6541
  readonly origin?: string;
6555
6542
  readonly channel?: io.flow.adyen.v0.enums.Channel;
6556
- readonly returnUrl?: string;
6557
- readonly mcc?: string;
6558
- readonly metadata?: any /*object*/;
6559
- readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
6560
- readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
6543
+ readonly returnURL?: string;
6561
6544
  }
6562
6545
 
6563
6546
  interface PaymentResponse {
@@ -6588,7 +6571,7 @@ declare namespace io.flow.adyen.v0.models {
6588
6571
 
6589
6572
  interface Redirect {
6590
6573
  readonly data?: io.flow.adyen.v0.models.RedirectData;
6591
- readonly method?: io.flow.adyen.v0.enums.HttpRedirectMethod;
6574
+ readonly method?: io.flow.adyen.v0.enums.Method;
6592
6575
  readonly url?: string;
6593
6576
  }
6594
6577
 
@@ -6613,15 +6596,6 @@ declare namespace io.flow.adyen.v0.models {
6613
6596
  readonly cvc?: string;
6614
6597
  }
6615
6598
 
6616
- interface SdkV3OnCompleteData {
6617
- readonly details: any /*object*/;
6618
- readonly payment_data?: string;
6619
- }
6620
-
6621
- interface SdkV3OnCompleteResult {
6622
- readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
6623
- }
6624
-
6625
6599
  interface ThreeDSecureData {
6626
6600
  readonly authenticationResponse?: string;
6627
6601
  readonly cavv?: string;
@@ -6653,9 +6627,7 @@ declare namespace io.flow.adyen.v0.unions {
6653
6627
  type BrowserInfo =
6654
6628
  | io.flow.adyen.v0.models.BrowserInfo3Ds1
6655
6629
  | io.flow.adyen.v0.models.BrowserInfo3Ds2;
6656
- type PaymentMethodData =
6657
- | io.flow.adyen.v0.models.Scheme
6658
- | io.flow.adyen.v0.models.Applepay;
6630
+ type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
6659
6631
  }
6660
6632
 
6661
6633
  declare namespace io.flow.order.management.v0.enums {
@@ -8686,7 +8658,7 @@ declare namespace io.flow.payment.gateway.v0.enums {
8686
8658
  | 'redirect'
8687
8659
  | 'redirect_get'
8688
8660
  | 'redirect_post'
8689
- | 'ideal_select_issuer'
8661
+ | 'select_payment_option'
8690
8662
  | 'use_sdk_klarna_v1'
8691
8663
  | 'use_sdk_applepay_js'
8692
8664
  | 'use_sdk_googlepay'
@@ -8705,6 +8677,7 @@ declare namespace io.flow.payment.gateway.v0.enums {
8705
8677
  | 'fraudulent'
8706
8678
  | 'error'
8707
8679
  | 'payment_checks_declined';
8680
+ type PaymentMethodDataOptionType = 'ideal_issuer_option';
8708
8681
  type PaymentStatus =
8709
8682
  | 'requires_payment_method'
8710
8683
  | 'requires_action'
@@ -8725,7 +8698,8 @@ declare namespace io.flow.payment.gateway.v0.enums {
8725
8698
  | 'applepay'
8726
8699
  | 'ideal'
8727
8700
  | 'sofort'
8728
- | 'afterpay';
8701
+ | 'afterpay'
8702
+ | 'bancontact';
8729
8703
  }
8730
8704
 
8731
8705
  declare namespace io.flow.payment.gateway.v0.models {
@@ -8744,11 +8718,6 @@ declare namespace io.flow.payment.gateway.v0.models {
8744
8718
  readonly script: string;
8745
8719
  }
8746
8720
 
8747
- interface ActionIdealSelectIssuer {
8748
- readonly type: 'select_ideal_issuer';
8749
- readonly issuers: io.flow.payment.gateway.v0.models.IdealIssuer[];
8750
- }
8751
-
8752
8721
  interface ActionRedirect {
8753
8722
  readonly type: 'redirect';
8754
8723
  readonly expires_at?: string;
@@ -8757,6 +8726,13 @@ declare namespace io.flow.payment.gateway.v0.models {
8757
8726
  readonly data?: any /*object*/;
8758
8727
  }
8759
8728
 
8729
+ interface ActionSelectPaymentOption {
8730
+ readonly type: 'select_payment_option';
8731
+ readonly expires_at?: string;
8732
+ readonly options: io.flow.payment.gateway.v0.models.PaymentMethodDataPaymentOption[];
8733
+ readonly option_type: io.flow.payment.gateway.v0.enums.PaymentMethodDataOptionType;
8734
+ }
8735
+
8760
8736
  interface ActionUseSdkAdyenV3 {
8761
8737
  readonly type: 'use_sdk_adyen_v3';
8762
8738
  readonly expires_at?: string;
@@ -8853,12 +8829,6 @@ declare namespace io.flow.payment.gateway.v0.models {
8853
8829
  readonly time_zone_offset: number;
8854
8830
  }
8855
8831
 
8856
- interface IdealIssuer {
8857
- readonly id: string;
8858
- readonly name: string;
8859
- readonly images?: io.flow.reference.v0.models.PaymentMethodImages;
8860
- }
8861
-
8862
8832
  interface KlarnaPaymentCategory {
8863
8833
  readonly id: string;
8864
8834
  readonly name: string;
@@ -9077,6 +9047,11 @@ declare namespace io.flow.payment.gateway.v0.models {
9077
9047
  readonly placeholder?: string;
9078
9048
  }
9079
9049
 
9050
+ interface PaymentMethodDataInitBancontact {
9051
+ readonly type: 'init_bancontact';
9052
+ readonly placeholder?: string;
9053
+ }
9054
+
9080
9055
  interface PaymentMethodDataInitGooglepay {
9081
9056
  readonly type: 'init_googlepay';
9082
9057
  readonly placeholder?: string;
@@ -9102,6 +9077,22 @@ declare namespace io.flow.payment.gateway.v0.models {
9102
9077
  readonly placeholder?: string;
9103
9078
  }
9104
9079
 
9080
+ interface PaymentMethodDataOptionLogoSvg {
9081
+ readonly type: 'svg';
9082
+ readonly url: string;
9083
+ }
9084
+
9085
+ interface PaymentMethodDataPaymentOption {
9086
+ readonly id: string;
9087
+ readonly name: string;
9088
+ readonly logo?: io.flow.payment.gateway.v0.unions.PaymentMethodDataOptionLogo[];
9089
+ }
9090
+
9091
+ interface PaymentMethodDataSelectedPaymentOption {
9092
+ readonly type: 'select_option';
9093
+ readonly option_id: string;
9094
+ }
9095
+
9105
9096
  interface PaymentMethodDataValidateApplepay {
9106
9097
  readonly type: 'validate_applepay';
9107
9098
  readonly validation_url: string;
@@ -9117,6 +9108,11 @@ declare namespace io.flow.payment.gateway.v0.models {
9117
9108
  readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
9118
9109
  }
9119
9110
 
9111
+ interface PaymentMethodSummaryBancontact {
9112
+ readonly type: 'bancontact';
9113
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
9114
+ }
9115
+
9120
9116
  interface PaymentMethodSummaryCard {
9121
9117
  readonly type: 'card';
9122
9118
  readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
@@ -9133,7 +9129,7 @@ declare namespace io.flow.payment.gateway.v0.models {
9133
9129
  interface PaymentMethodSummaryIdeal {
9134
9130
  readonly type: 'ideal';
9135
9131
  readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
9136
- readonly issuer: string;
9132
+ readonly issuer?: string;
9137
9133
  }
9138
9134
 
9139
9135
  interface PaymentMethodSummaryKlarna {
@@ -9277,7 +9273,7 @@ declare namespace io.flow.payment.gateway.v0.unions {
9277
9273
  | io.flow.payment.gateway.v0.models.ActionUseSdkStripeV3
9278
9274
  | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV3
9279
9275
  | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV4
9280
- | io.flow.payment.gateway.v0.models.ActionIdealSelectIssuer
9276
+ | io.flow.payment.gateway.v0.models.ActionSelectPaymentOption
9281
9277
  | io.flow.payment.gateway.v0.models.ActionExecuteScript
9282
9278
  | io.flow.payment.gateway.v0.models.ActionDisplayInlineWindow
9283
9279
  | io.flow.payment.gateway.v0.models.ActionWait;
@@ -9307,16 +9303,20 @@ declare namespace io.flow.payment.gateway.v0.unions {
9307
9303
  | io.flow.payment.gateway.v0.models.PaymentMethodDataInitPaypal
9308
9304
  | io.flow.payment.gateway.v0.models.PaymentMethodDataInitIdeal
9309
9305
  | io.flow.payment.gateway.v0.models.PaymentMethodDataInitSofort
9306
+ | io.flow.payment.gateway.v0.models.PaymentMethodDataInitBancontact
9310
9307
  | io.flow.payment.gateway.v0.models.PaymentMethodDataValidateApplepay
9311
9308
  | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeCard
9312
9309
  | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeGooglepay
9313
9310
  | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepay
9314
9311
  | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizePaypal
9315
9312
  | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarna
9313
+ | io.flow.payment.gateway.v0.models.PaymentMethodDataSelectedPaymentOption
9316
9314
  | io.flow.payment.gateway.v0.models.PaymentMethodDataCompleteAuthorizationCard;
9317
9315
  type PaymentMethodDataAuthorizeKlarnaResult =
9318
9316
  | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess
9319
9317
  | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure;
9318
+ type PaymentMethodDataOptionLogo =
9319
+ io.flow.payment.gateway.v0.models.PaymentMethodDataOptionLogoSvg;
9320
9320
  type PaymentMethodSummary =
9321
9321
  | io.flow.payment.gateway.v0.models.PaymentMethodSummaryCard
9322
9322
  | io.flow.payment.gateway.v0.models.PaymentMethodSummaryKlarna
@@ -9325,7 +9325,8 @@ declare namespace io.flow.payment.gateway.v0.unions {
9325
9325
  | io.flow.payment.gateway.v0.models.PaymentMethodSummaryGooglepay
9326
9326
  | io.flow.payment.gateway.v0.models.PaymentMethodSummaryPaypal
9327
9327
  | io.flow.payment.gateway.v0.models.PaymentMethodSummaryIdeal
9328
- | io.flow.payment.gateway.v0.models.PaymentMethodSummarySofort;
9328
+ | io.flow.payment.gateway.v0.models.PaymentMethodSummarySofort
9329
+ | io.flow.payment.gateway.v0.models.PaymentMethodSummaryBancontact;
9329
9330
  type SdkAdyenV3AuthenticationToken =
9330
9331
  | io.flow.payment.gateway.v0.models.AdyenV3FingerprintToken
9331
9332
  | io.flow.payment.gateway.v0.models.AdyenV3ChallengeToken;
@@ -13377,6 +13378,7 @@ declare namespace io.flow.internal.v0.enums {
13377
13378
  | 'shipment_exhausted';
13378
13379
  type OrderLifecycleEvent = 'order_placed' | 'ready_to_fulfill';
13379
13380
  type OrganizationCapability = 'organization' | 'flow' | 'dynamic';
13381
+ type OrganizationPaymentStatus = 'active' | 'archived';
13380
13382
  type OutputStyle = 'flow' | 'shopify_p1';
13381
13383
  type Owner = 'flow' | 'organization';
13382
13384
  type PaymentSummaryStatus =
@@ -18518,6 +18520,14 @@ declare namespace io.flow.internal.v0.models {
18518
18520
  readonly order_service?: io.flow.internal.v0.models.Fee;
18519
18521
  }
18520
18522
 
18523
+ interface FinancialMerchantCategory {
18524
+ readonly id: string;
18525
+ readonly iso_18245_4: string;
18526
+ readonly title: string;
18527
+ readonly category_group: string;
18528
+ readonly description?: string;
18529
+ }
18530
+
18521
18531
  interface FinancialReportingStatement {
18522
18532
  readonly id: string;
18523
18533
  readonly statement_number: string;
@@ -21379,6 +21389,33 @@ declare namespace io.flow.internal.v0.models {
21379
21389
  readonly to: string;
21380
21390
  }
21381
21391
 
21392
+ interface OrganizationPaymentSetting {
21393
+ readonly organization_id: string;
21394
+ readonly default_capture_option: io.flow.payment.gateway.v0.unions.PaymentCaptureOption;
21395
+ readonly status: io.flow.internal.v0.enums.OrganizationPaymentStatus;
21396
+ readonly checkout_domain?: string;
21397
+ readonly merchant_category_code?: string;
21398
+ readonly payment_statement_suffix?: string;
21399
+ readonly payment_statement_condensed?: string;
21400
+ readonly created_at: string;
21401
+ readonly updated_at: string;
21402
+ }
21403
+
21404
+ interface OrganizationPaymentSettingForm {
21405
+ readonly default_capture_option: io.flow.payment.gateway.v0.unions.PaymentCaptureOption;
21406
+ readonly status: io.flow.internal.v0.enums.OrganizationPaymentStatus;
21407
+ readonly checkout_domain?: string;
21408
+ readonly merchant_category_code?: string;
21409
+ readonly payment_statement_suffix?: string;
21410
+ }
21411
+
21412
+ interface OrganizationPaymentSettingVersion {
21413
+ readonly id: string;
21414
+ readonly timestamp: string;
21415
+ readonly type: io.flow.common.v0.enums.ChangeType;
21416
+ readonly organization_payment_setting: io.flow.internal.v0.models.OrganizationPaymentSetting;
21417
+ }
21418
+
21382
21419
  interface OrganizationSettings {
21383
21420
  readonly default_currency_format_symbol: io.flow.common.v0.enums.CurrencySymbolFormat;
21384
21421
  readonly default_currency_label_formatters: io.flow.common.v0.enums.CurrencyLabelFormatter[];
@@ -26656,6 +26693,8 @@ export type FeedDeleted = io.flow.internal.v0.models.FeedDeleted;
26656
26693
  export type FeedUpserted = io.flow.internal.v0.models.FeedUpserted;
26657
26694
  export type FeedsExport = io.flow.internal.v0.models.FeedsExport;
26658
26695
  export type Fees = io.flow.internal.v0.models.Fees;
26696
+ export type FinancialMerchantCategory =
26697
+ io.flow.internal.v0.models.FinancialMerchantCategory;
26659
26698
  export type FinancialReportingResponsibleParty =
26660
26699
  io.flow.internal.v0.enums.FinancialReportingResponsibleParty;
26661
26700
  export type FinancialReportingStatement =
@@ -27325,6 +27364,14 @@ export type OrganizationMembershipCopy =
27325
27364
  io.flow.internal.v0.models.OrganizationMembershipCopy;
27326
27365
  export type OrganizationMembershipCopyForm =
27327
27366
  io.flow.internal.v0.models.OrganizationMembershipCopyForm;
27367
+ export type OrganizationPaymentSetting =
27368
+ io.flow.internal.v0.models.OrganizationPaymentSetting;
27369
+ export type OrganizationPaymentSettingForm =
27370
+ io.flow.internal.v0.models.OrganizationPaymentSettingForm;
27371
+ export type OrganizationPaymentSettingVersion =
27372
+ io.flow.internal.v0.models.OrganizationPaymentSettingVersion;
27373
+ export type OrganizationPaymentStatus =
27374
+ io.flow.internal.v0.enums.OrganizationPaymentStatus;
27328
27375
  export type OrganizationSettings =
27329
27376
  io.flow.internal.v0.models.OrganizationSettings;
27330
27377
  export type OrganizationSettingsForm =