@flowio/api-internal-prop-types 9.24.59 → 9.24.61

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.
@@ -10230,7 +10230,7 @@ declare namespace io.flow.billing.v0.enums {
10230
10230
  type PayoutAttachmentType = 'transactions';
10231
10231
  type PayoutStatusFailureCode = 'invalid_account_number' | 'could_not_process';
10232
10232
  type StatementAttachmentType = 'csv';
10233
- type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund';
10233
+ type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund';
10234
10234
  type WithholdingDeductionType = 'tax' | 'duty' | 'freight' | 'insurance';
10235
10235
  }
10236
10236
 
@@ -11697,6 +11697,7 @@ declare namespace io.flow.organization.onboarding.state.v0.models {
11697
11697
  }
11698
11698
 
11699
11699
  interface OrganizationOnboardingState {
11700
+ readonly 'id': string;
11700
11701
  readonly 'organization': io.flow.common.v0.models.OrganizationReference;
11701
11702
  readonly 'transitions': io.flow.organization.onboarding.state.v0.models.OnboardingStateTransition[];
11702
11703
  readonly 'current_state': io.flow.organization.onboarding.state.v0.unions.OnboardingState;
@@ -12237,8 +12238,10 @@ declare namespace io.flow.internal.v0.enums {
12237
12238
  type OnboardingAuditThemeKey = 'billing' | 'b2b_invoicing' | 'catalog' | 'currency' | 'checkout' | 'fraud' | 'logistics' | 'payments' | 'shopify_markets' | 'integration_partner' | 'dtce' | 'restrictions' | 'miscellaneous';
12238
12239
  type OnboardingAutomationProcessState = 'not_started' | 'in_progress' | 'success' | 'failed';
12239
12240
  type OnboardingAutomationTaskState = 'not_started' | 'in_progress' | 'success' | 'failed';
12241
+ type OnboardingStateSource = 'unknown' | 'unit_test' | 'api' | 'api_activation' | 'api_internal' | 'api_internal_block' | 'api_internal_unblock' | 'onboarding_application' | 'organization_state_change' | 'restriction_organization_status';
12240
12242
  type OrderAction = 'consumer_submit' | 'fraud_review_accept' | 'fraud_review_decline' | 'payment_fully_authorize' | 'payment_fully_capture';
12241
12243
  type OrderAttributeIntent = 'discount_code';
12244
+ type OrderCancellationInitiatedBy = 'flow' | 'organization';
12242
12245
  type OrderChargeTrigger = 'first_shipment' | 'last_shipment' | 'shipment_exhausted';
12243
12246
  type OrderLifecycleEvent = 'order_placed' | 'ready_to_fulfill';
12244
12247
  type OrderTransactionType = 'adjustment' | 'reversal' | 'order_service';
@@ -12375,6 +12378,7 @@ declare namespace io.flow.internal.v0.models {
12375
12378
  readonly 'payment_conditions'?: string;
12376
12379
  readonly 'deposit_rule'?: io.flow.internal.v0.models.AccountDepositRuleForm;
12377
12380
  readonly 'center_key'?: string;
12381
+ readonly 'bank_account_id'?: string;
12378
12382
  }
12379
12383
 
12380
12384
  interface AccountOrdersExportRequest {
@@ -13078,6 +13082,10 @@ declare namespace io.flow.internal.v0.models {
13078
13082
  readonly 'experiment_key'?: string;
13079
13083
  }
13080
13084
 
13085
+ interface BankAccountReference {
13086
+ readonly 'id': string;
13087
+ }
13088
+
13081
13089
  interface BankPayment {
13082
13090
  readonly 'id': string;
13083
13091
  readonly 'key': string;
@@ -13826,6 +13834,7 @@ declare namespace io.flow.internal.v0.models {
13826
13834
  readonly 'center_key'?: string;
13827
13835
  readonly 'statistics': io.flow.internal.v0.models.AccountStatistics;
13828
13836
  readonly 'next_statement': io.flow.internal.v0.models.NextBillingStatement;
13837
+ readonly 'bank_account'?: io.flow.internal.v0.models.BankAccountReference;
13829
13838
  readonly 'created_at': string;
13830
13839
  }
13831
13840
 
@@ -17874,7 +17883,7 @@ declare namespace io.flow.internal.v0.models {
17874
17883
 
17875
17884
  interface FinanceBankAccount {
17876
17885
  readonly 'id': string;
17877
- readonly 'account': io.flow.internal.v0.models.AccountSummary;
17886
+ readonly 'accounts': io.flow.internal.v0.models.AccountSummary[];
17878
17887
  readonly 'last4': string;
17879
17888
  readonly 'info': io.flow.billing.bank.account.v0.unions.BankAccountInfo;
17880
17889
  readonly 'owner'?: io.flow.internal.v0.models.FinanceBankAccountOwner;
@@ -18018,6 +18027,7 @@ declare namespace io.flow.internal.v0.models {
18018
18027
  readonly 'center_key'?: string;
18019
18028
  readonly 'statistics': io.flow.internal.v0.models.AccountStatistics;
18020
18029
  readonly 'next_statement': io.flow.internal.v0.models.NextBillingStatement;
18030
+ readonly 'bank_account'?: io.flow.internal.v0.models.BankAccountReference;
18021
18031
  readonly 'created_at': string;
18022
18032
  }
18023
18033
 
@@ -20664,11 +20674,12 @@ declare namespace io.flow.internal.v0.models {
20664
20674
  readonly 'setup_completed_at'?: string;
20665
20675
  readonly 'gmv': number;
20666
20676
  readonly 'health_score': number;
20677
+ readonly 'blocked_since'?: string;
20667
20678
  }
20668
20679
 
20669
20680
  interface OnboardingStateForm {
20670
20681
  readonly 'onboarding_state': io.flow.organization.onboarding.state.v0.unions.OnboardingState;
20671
- readonly 'transitioned_at': string;
20682
+ readonly 'transitioned_at'?: string;
20672
20683
  }
20673
20684
 
20674
20685
  interface OneTimeTokenRedemptionForm {
@@ -20798,8 +20809,13 @@ declare namespace io.flow.internal.v0.models {
20798
20809
  readonly 'description': string;
20799
20810
  }
20800
20811
 
20812
+ interface OrderCancellationEvidenceReturnToSender {
20813
+ readonly 'discriminator': 'return_to_sender';
20814
+ readonly 'initiated_by': io.flow.internal.v0.enums.OrderCancellationInitiatedBy;
20815
+ }
20816
+
20801
20817
  interface OrderCancellationForm {
20802
- readonly 'evidence': io.flow.internal.v0.models.OrderCancellationEvidenceManual;
20818
+ readonly 'evidence': io.flow.internal.v0.unions.OrderCancellationEvidence;
20803
20819
  }
20804
20820
 
20805
20821
  interface OrderDetail {
@@ -20968,6 +20984,7 @@ declare namespace io.flow.internal.v0.models {
20968
20984
  readonly 'center_key'?: string;
20969
20985
  readonly 'statistics': io.flow.internal.v0.models.AccountStatistics;
20970
20986
  readonly 'next_statement': io.flow.internal.v0.models.NextBillingStatement;
20987
+ readonly 'bank_account'?: io.flow.internal.v0.models.BankAccountReference;
20971
20988
  readonly 'created_at': string;
20972
20989
  }
20973
20990
 
@@ -22543,6 +22560,7 @@ declare namespace io.flow.internal.v0.models {
22543
22560
  interface RestrictionRuleDecisionForm {
22544
22561
  readonly 'rule_id': string;
22545
22562
  readonly 'decision': io.flow.internal.v0.enums.RestrictionDecision;
22563
+ readonly 'product_id'?: string;
22546
22564
  }
22547
22565
 
22548
22566
  interface RestrictionRuleForm {
@@ -24494,7 +24512,7 @@ declare namespace io.flow.internal.v0.unions {
24494
24512
  type MarketingGatewaySourceSummary = (io.flow.internal.v0.models.MarketingGatewayGoogleSourceSummary | io.flow.internal.v0.models.MarketingGatewayFacebookSourceSummary | io.flow.internal.v0.models.MarketingGatewayFlowSourceSummary);
24495
24513
  type OptinPromptDisplay = (io.flow.internal.v0.models.OptinPromptCheckoutDisplay);
24496
24514
  type OrderActionForm = (io.flow.internal.v0.models.WholeOrderActionForm | io.flow.internal.v0.models.LineActionForm | io.flow.internal.v0.models.FulfillmentActionForm);
24497
- type OrderCancellationEvidence = (io.flow.internal.v0.models.OrderCancellationEvidenceManual | io.flow.internal.v0.models.OrderCancellationEvidenceFullyRefundedNotFulfilled);
24515
+ type OrderCancellationEvidence = (io.flow.internal.v0.models.OrderCancellationEvidenceManual | io.flow.internal.v0.models.OrderCancellationEvidenceFullyRefundedNotFulfilled | io.flow.internal.v0.models.OrderCancellationEvidenceReturnToSender);
24498
24516
  type PaymentRedirect = (io.flow.internal.v0.models.OnlineAuthorizationCompleted | io.flow.internal.v0.models.RedirectActionCompleted);
24499
24517
  type PaymentSummaryDetails = (io.flow.internal.v0.models.SearchAuthorization);
24500
24518
  type PlatformFee = (io.flow.internal.v0.models.PlatformFeePause | io.flow.internal.v0.models.PlatformFeeFlat | io.flow.internal.v0.models.PlatformFeePercentage | io.flow.internal.v0.models.PlatformFeeDisabled);
@@ -24709,8 +24727,10 @@ export const onboardingAuditResult: PropTypes.Requireable<io.flow.internal.v0.en
24709
24727
  export const onboardingAuditThemeKey: PropTypes.Requireable<io.flow.internal.v0.enums.OnboardingAuditThemeKey>;
24710
24728
  export const onboardingAutomationProcessState: PropTypes.Requireable<io.flow.internal.v0.enums.OnboardingAutomationProcessState>;
24711
24729
  export const onboardingAutomationTaskState: PropTypes.Requireable<io.flow.internal.v0.enums.OnboardingAutomationTaskState>;
24730
+ export const onboardingStateSource: PropTypes.Requireable<io.flow.internal.v0.enums.OnboardingStateSource>;
24712
24731
  export const orderAction: PropTypes.Requireable<io.flow.internal.v0.enums.OrderAction>;
24713
24732
  export const orderAttributeIntent: PropTypes.Requireable<io.flow.internal.v0.enums.OrderAttributeIntent>;
24733
+ export const orderCancellationInitiatedBy: PropTypes.Requireable<io.flow.internal.v0.enums.OrderCancellationInitiatedBy>;
24714
24734
  export const orderChargeTrigger: PropTypes.Requireable<io.flow.internal.v0.enums.OrderChargeTrigger>;
24715
24735
  export const orderLifecycleEvent: PropTypes.Requireable<io.flow.internal.v0.enums.OrderLifecycleEvent>;
24716
24736
  export const orderTransactionType: PropTypes.Requireable<io.flow.internal.v0.enums.OrderTransactionType>;
@@ -24887,6 +24907,7 @@ export const authorizedLineItemCharge: PropTypes.Requireable<io.flow.internal.v0
24887
24907
  export const authorizedShippingCharge: PropTypes.Requireable<io.flow.internal.v0.models.AuthorizedShippingCharge>;
24888
24908
  export const backfill: PropTypes.Requireable<io.flow.internal.v0.models.Backfill>;
24889
24909
  export const backfillForm: PropTypes.Requireable<io.flow.internal.v0.models.BackfillForm>;
24910
+ export const bankAccountReference: PropTypes.Requireable<io.flow.internal.v0.models.BankAccountReference>;
24890
24911
  export const bankPayment: PropTypes.Requireable<io.flow.internal.v0.models.BankPayment>;
24891
24912
  export const bankPaymentDeleted: PropTypes.Requireable<io.flow.internal.v0.models.BankPaymentDeleted>;
24892
24913
  export const bankPaymentDeletedV2: PropTypes.Requireable<io.flow.internal.v0.models.BankPaymentDeletedV2>;
@@ -25999,6 +26020,7 @@ export const orderAttributeUpserted: PropTypes.Requireable<io.flow.internal.v0.m
25999
26020
  export const orderCancellation: PropTypes.Requireable<io.flow.internal.v0.models.OrderCancellation>;
26000
26021
  export const orderCancellationEvidenceFullyRefundedNotFulfilled: PropTypes.Requireable<io.flow.internal.v0.models.OrderCancellationEvidenceFullyRefundedNotFulfilled>;
26001
26022
  export const orderCancellationEvidenceManual: PropTypes.Requireable<io.flow.internal.v0.models.OrderCancellationEvidenceManual>;
26023
+ export const orderCancellationEvidenceReturnToSender: PropTypes.Requireable<io.flow.internal.v0.models.OrderCancellationEvidenceReturnToSender>;
26002
26024
  export const orderCancellationForm: PropTypes.Requireable<io.flow.internal.v0.models.OrderCancellationForm>;
26003
26025
  export const orderDetail: PropTypes.Requireable<io.flow.internal.v0.models.OrderDetail>;
26004
26026
  export const orderFulfillmentDeleted: PropTypes.Requireable<io.flow.internal.v0.models.OrderFulfillmentDeleted>;