@flowio/types 11.24.113 → 11.24.114
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.
- package/dist/api-internal.d.ts +138 -50
- package/dist/api.d.ts +70 -45
- package/package.json +2 -2
- package/src/api-internal.ts +223 -54
- package/src/api.ts +131 -51
package/src/api-internal.ts
CHANGED
|
@@ -1578,6 +1578,14 @@ declare namespace io.flow.payment.v0.enums {
|
|
|
1578
1578
|
| 'small'
|
|
1579
1579
|
| 'fullscreen';
|
|
1580
1580
|
type TokenType = 'permanent' | 'one_time';
|
|
1581
|
+
type TransferStatus = 'succeeded' | 'canceled';
|
|
1582
|
+
type TransferType =
|
|
1583
|
+
| 'payout_to_merchant'
|
|
1584
|
+
| 'disputed_amount_to_merchant'
|
|
1585
|
+
| 'duties_and_taxes_adjustment_to_merchant'
|
|
1586
|
+
| 'disputed_amount_from_merchant'
|
|
1587
|
+
| 'duties_and_taxes_adjustment_from_merchant'
|
|
1588
|
+
| 'refund_from_merchant';
|
|
1581
1589
|
}
|
|
1582
1590
|
|
|
1583
1591
|
declare namespace io.flow.payment.v0.models {
|
|
@@ -1792,6 +1800,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
1792
1800
|
}
|
|
1793
1801
|
|
|
1794
1802
|
interface CaptureReference {
|
|
1803
|
+
readonly discriminator: 'capture_reference';
|
|
1795
1804
|
readonly id: string;
|
|
1796
1805
|
readonly key: string;
|
|
1797
1806
|
}
|
|
@@ -2006,6 +2015,17 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2006
2015
|
readonly account_holder_name?: string;
|
|
2007
2016
|
}
|
|
2008
2017
|
|
|
2018
|
+
interface DisputeReference {
|
|
2019
|
+
readonly discriminator: 'dispute_reference';
|
|
2020
|
+
readonly id: string;
|
|
2021
|
+
readonly key: string;
|
|
2022
|
+
}
|
|
2023
|
+
|
|
2024
|
+
interface ExchangedMoney {
|
|
2025
|
+
readonly fx_rate: number;
|
|
2026
|
+
readonly money: io.flow.common.v0.models.Money;
|
|
2027
|
+
}
|
|
2028
|
+
|
|
2009
2029
|
interface Expiration {
|
|
2010
2030
|
readonly month: number;
|
|
2011
2031
|
readonly year: number;
|
|
@@ -2359,6 +2379,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2359
2379
|
}
|
|
2360
2380
|
|
|
2361
2381
|
interface RefundReference {
|
|
2382
|
+
readonly discriminator: 'refund_reference';
|
|
2362
2383
|
readonly id: string;
|
|
2363
2384
|
readonly key: string;
|
|
2364
2385
|
}
|
|
@@ -2484,6 +2505,17 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2484
2505
|
readonly network?: io.flow.payment.v0.enums.CardType;
|
|
2485
2506
|
}
|
|
2486
2507
|
|
|
2508
|
+
interface Transfer {
|
|
2509
|
+
readonly id: string;
|
|
2510
|
+
readonly type: io.flow.payment.v0.enums.TransferType;
|
|
2511
|
+
readonly money: io.flow.common.v0.models.Money;
|
|
2512
|
+
readonly transferred_money: io.flow.payment.v0.models.ExchangedMoney;
|
|
2513
|
+
readonly status: io.flow.payment.v0.enums.TransferStatus;
|
|
2514
|
+
readonly created_at: string;
|
|
2515
|
+
readonly reference: io.flow.payment.v0.unions.TransferReference;
|
|
2516
|
+
readonly transferred_at: string;
|
|
2517
|
+
}
|
|
2518
|
+
|
|
2487
2519
|
interface VirtualCard {
|
|
2488
2520
|
readonly id: string;
|
|
2489
2521
|
readonly key: string;
|
|
@@ -2619,6 +2651,10 @@ declare namespace io.flow.payment.v0.unions {
|
|
|
2619
2651
|
io.flow.payment.v0.models.ThreedsTwoChallengeRequest;
|
|
2620
2652
|
type ThreedsIdentifyAction = io.flow.payment.v0.models.ThreedsTwoMethod;
|
|
2621
2653
|
type TransactionDetails = io.flow.payment.v0.models.TransactionDetailsCard;
|
|
2654
|
+
type TransferReference =
|
|
2655
|
+
| io.flow.payment.v0.models.CaptureReference
|
|
2656
|
+
| io.flow.payment.v0.models.RefundReference
|
|
2657
|
+
| io.flow.payment.v0.models.DisputeReference;
|
|
2622
2658
|
}
|
|
2623
2659
|
|
|
2624
2660
|
declare namespace io.flow.field.validation.v0.models {
|
|
@@ -2774,17 +2810,52 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
2774
2810
|
type CheckOutcome = 'pass' | 'fail' | 'unavailable' | 'unchecked';
|
|
2775
2811
|
type CodeVerificationStatus = 'pending' | 'succeeded' | 'failed';
|
|
2776
2812
|
type ConfirmationMethod = 'automatic' | 'manual';
|
|
2777
|
-
type
|
|
2778
|
-
| '
|
|
2779
|
-
| '
|
|
2813
|
+
type ConnectReportBalanceReportingCategory =
|
|
2814
|
+
| 'anticipation_repayment'
|
|
2815
|
+
| 'climate_order_purchase'
|
|
2816
|
+
| 'climate_order_refund'
|
|
2817
|
+
| 'contribution'
|
|
2818
|
+
| 'currency_conversion'
|
|
2819
|
+
| 'fee'
|
|
2820
|
+
| 'other_adjustment'
|
|
2821
|
+
| 'payment_network_reserve_hold'
|
|
2822
|
+
| 'payment_network_reserve_release'
|
|
2823
|
+
| 'payout'
|
|
2824
|
+
| 'payout_minimum_balance_hold'
|
|
2825
|
+
| 'payout_minimum_balance_release'
|
|
2780
2826
|
| 'payout_reversal'
|
|
2827
|
+
| 'risk_reserved_funds'
|
|
2828
|
+
| 'stripe_balance_payment_debit'
|
|
2829
|
+
| 'stripe_balance_payment_debit_reversal'
|
|
2830
|
+
| 'topup'
|
|
2831
|
+
| 'topup_reversal'
|
|
2832
|
+
| 'unreconciled_customer_funds';
|
|
2833
|
+
type ConnectReportConnectReportingCategory =
|
|
2834
|
+
| 'advance'
|
|
2835
|
+
| 'advance_funding'
|
|
2836
|
+
| 'connect_collection_transfer'
|
|
2837
|
+
| 'connect_reserved_funds'
|
|
2838
|
+
| 'platform_earning'
|
|
2839
|
+
| 'platform_earning_refund'
|
|
2781
2840
|
| 'transfer'
|
|
2782
2841
|
| 'transfer_reversal';
|
|
2783
|
-
type
|
|
2784
|
-
|
|
2785
|
-
| '
|
|
2786
|
-
| '
|
|
2787
|
-
| '
|
|
2842
|
+
type ConnectReportIssuingReportingCategory =
|
|
2843
|
+
| 'issuing_authorization_hold'
|
|
2844
|
+
| 'issuing_authorization_release'
|
|
2845
|
+
| 'issuing_disbursement'
|
|
2846
|
+
| 'issuing_dispute'
|
|
2847
|
+
| 'issuing_dispute_fraud_liability_debit'
|
|
2848
|
+
| 'issuing_dispute_provisional_credit'
|
|
2849
|
+
| 'issuing_dispute_provisional_credit_reversal'
|
|
2850
|
+
| 'issuing_transaction';
|
|
2851
|
+
type ConnectReportPaymentReportingCategory =
|
|
2852
|
+
| 'charge'
|
|
2853
|
+
| 'charge_failure'
|
|
2854
|
+
| 'dispute'
|
|
2855
|
+
| 'dispute_reversal'
|
|
2856
|
+
| 'partial_capture_reversal'
|
|
2857
|
+
| 'refund'
|
|
2858
|
+
| 'refund_failure';
|
|
2788
2859
|
type DeclineCode =
|
|
2789
2860
|
| 'approve_with_id'
|
|
2790
2861
|
| 'call_issuer'
|
|
@@ -3393,46 +3464,6 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3393
3464
|
readonly status: io.flow.stripe.v0.enums.CodeVerificationStatus;
|
|
3394
3465
|
}
|
|
3395
3466
|
|
|
3396
|
-
interface ConnectReportRecord {
|
|
3397
|
-
readonly created_utc: string;
|
|
3398
|
-
readonly charge_id?: string;
|
|
3399
|
-
readonly payment_intent_id?: string;
|
|
3400
|
-
readonly gross: number;
|
|
3401
|
-
readonly fee: number;
|
|
3402
|
-
readonly net: number;
|
|
3403
|
-
readonly currency: string;
|
|
3404
|
-
readonly connected_account: string;
|
|
3405
|
-
readonly reporting_category: io.flow.stripe.v0.enums.ConnectReportReportingCategory;
|
|
3406
|
-
readonly dispute_reason?: io.flow.stripe.v0.enums.DisputeReason;
|
|
3407
|
-
readonly available_on_utc: string;
|
|
3408
|
-
readonly automatic_payout_effective_at_utc?: string;
|
|
3409
|
-
readonly source_id?: string;
|
|
3410
|
-
readonly customer_facing_amount?: number;
|
|
3411
|
-
readonly customer_facing_currency?: string;
|
|
3412
|
-
readonly payment_method_type?: string;
|
|
3413
|
-
readonly card_brand?: string;
|
|
3414
|
-
readonly statement_descriptor?: string;
|
|
3415
|
-
readonly payment_metadata?: io.flow.stripe.v0.models.ConnectReportRecordPaymentMetadata;
|
|
3416
|
-
readonly transfer_metadata?: any /*object*/;
|
|
3417
|
-
}
|
|
3418
|
-
|
|
3419
|
-
interface ConnectReportRecordPaymentMetadata {
|
|
3420
|
-
readonly shop_id?: number;
|
|
3421
|
-
readonly shop_plan?: io.flow.stripe.v0.enums.ConnectReportShopPlan;
|
|
3422
|
-
readonly checkout_id?: string;
|
|
3423
|
-
readonly order_id?: number;
|
|
3424
|
-
readonly order_transaction_id?: number;
|
|
3425
|
-
readonly transfer_type?: io.flow.stripe.v0.enums.ConnectReportTransferType;
|
|
3426
|
-
readonly transfer_exchange_rate?: number;
|
|
3427
|
-
readonly charge_total?: number;
|
|
3428
|
-
readonly charge_currency?: string;
|
|
3429
|
-
readonly charge_exchange_rate?: number;
|
|
3430
|
-
readonly duties?: number;
|
|
3431
|
-
readonly import_taxes?: number;
|
|
3432
|
-
readonly mor_fee?: number;
|
|
3433
|
-
readonly fx_fee?: number;
|
|
3434
|
-
}
|
|
3435
|
-
|
|
3436
3467
|
interface Customer {
|
|
3437
3468
|
readonly id: string;
|
|
3438
3469
|
readonly object: string;
|
|
@@ -4439,6 +4470,25 @@ declare namespace io.flow.stripe.v0.unions {
|
|
|
4439
4470
|
| io.flow.stripe.v0.models.Masterpass
|
|
4440
4471
|
| io.flow.stripe.v0.models.ApplePay
|
|
4441
4472
|
| io.flow.stripe.v0.models.VisaCheckout;
|
|
4473
|
+
|
|
4474
|
+
type ConnectReportReportingCategory =
|
|
4475
|
+
| {
|
|
4476
|
+
discriminator: 'connect_report_payment_reporting_category';
|
|
4477
|
+
value: io.flow.stripe.v0.enums.ConnectReportPaymentReportingCategory;
|
|
4478
|
+
}
|
|
4479
|
+
| {
|
|
4480
|
+
discriminator: 'connect_report_balance_reporting_category';
|
|
4481
|
+
value: io.flow.stripe.v0.enums.ConnectReportBalanceReportingCategory;
|
|
4482
|
+
}
|
|
4483
|
+
| {
|
|
4484
|
+
discriminator: 'connect_report_issuing_reporting_category';
|
|
4485
|
+
value: io.flow.stripe.v0.enums.ConnectReportIssuingReportingCategory;
|
|
4486
|
+
}
|
|
4487
|
+
| {
|
|
4488
|
+
discriminator: 'connect_report_connect_reporting_category';
|
|
4489
|
+
value: io.flow.stripe.v0.enums.ConnectReportConnectReportingCategory;
|
|
4490
|
+
};
|
|
4491
|
+
|
|
4442
4492
|
type PaymentMethodData =
|
|
4443
4493
|
| io.flow.stripe.v0.models.PaymentMethodDataCard
|
|
4444
4494
|
| io.flow.stripe.v0.models.PaymentMethodDataIdeal
|
|
@@ -11781,6 +11831,8 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
11781
11831
|
readonly discriminator: 'ratecard_estimate_v4';
|
|
11782
11832
|
readonly hops: io.flow.ratecard.v0.models.HopV2[];
|
|
11783
11833
|
readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
|
|
11834
|
+
readonly distance_unit_of_measurement?: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
11835
|
+
readonly weight_unit_of_measurement?: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
11784
11836
|
readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
|
|
11785
11837
|
readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
|
|
11786
11838
|
readonly ratecard_id?: string;
|
|
@@ -13901,6 +13953,7 @@ declare namespace io.flow.billing.v0.enums {
|
|
|
13901
13953
|
| 'virtual_card_refund'
|
|
13902
13954
|
| 'failed_payout'
|
|
13903
13955
|
| 'tax_refund'
|
|
13956
|
+
| 'duty_refund'
|
|
13904
13957
|
| 'non_l4l_tax_duty_fx'
|
|
13905
13958
|
| 'ge_revenue_share';
|
|
13906
13959
|
type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl' | 'ups';
|
|
@@ -16480,7 +16533,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
16480
16533
|
type ClassificationDecision = 'Accept' | 'Reject';
|
|
16481
16534
|
type ClassificationErrorCode = 'generic_error';
|
|
16482
16535
|
type ClassificationPlatform = 'GlobalE' | 'Flow' | 'Borderfree';
|
|
16483
|
-
type ClassificationType = 'None' | 'Manual' | 'ML';
|
|
16536
|
+
type ClassificationType = 'None' | 'Manual' | 'ML' | 'System';
|
|
16484
16537
|
type ClothingAgeClassification =
|
|
16485
16538
|
| 'None'
|
|
16486
16539
|
| 'AgeKidsGeneral'
|
|
@@ -16489,6 +16542,13 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
16489
16542
|
| 'Age13_14';
|
|
16490
16543
|
type Company = 'globale' | 'flow';
|
|
16491
16544
|
type ComplianceType = 'weee';
|
|
16545
|
+
type ConnectReportTransferType =
|
|
16546
|
+
| 'ManagedMarketsRefundDebit'
|
|
16547
|
+
| 'ManagedMarketsDutiesAndTaxesAdjustmentDebit'
|
|
16548
|
+
| 'ManagedMarketsDisputedAmountDebit'
|
|
16549
|
+
| 'ManagedMarketsChargeCredit'
|
|
16550
|
+
| 'ManagedMarketsDisputeWonAmountCredit'
|
|
16551
|
+
| 'ManagedMarketsDutiesAndTaxesAdjustmentCredit';
|
|
16492
16552
|
type ContentElementType = 'markdown' | 'html' | 'plain_text' | 'href';
|
|
16493
16553
|
type ContentStatus = 'draft' | 'live' | 'archived';
|
|
16494
16554
|
type ContentType = 'text' | 'html';
|
|
@@ -16538,7 +16598,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
16538
16598
|
| 'override'
|
|
16539
16599
|
| 'preferential_rate';
|
|
16540
16600
|
type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
|
|
16541
|
-
type DutyTransactionType = 'adjustment' | 'reversal' | 'duty';
|
|
16601
|
+
type DutyTransactionType = 'adjustment' | 'reversal' | 'duty' | 'refund';
|
|
16542
16602
|
type EmptyAttribute = 'irrelevant';
|
|
16543
16603
|
type ErpFileType = 'vendor';
|
|
16544
16604
|
type EventType =
|
|
@@ -16769,6 +16829,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
16769
16829
|
| 'partner_tracking_subscription_deleted'
|
|
16770
16830
|
| 'spp_tracker_update_request_upserted'
|
|
16771
16831
|
| 'spp_tracker_update_request_deleted'
|
|
16832
|
+
| 'partner_request_upserted'
|
|
16833
|
+
| 'partner_request_deleted'
|
|
16772
16834
|
| 'internal_authorization_upserted'
|
|
16773
16835
|
| 'internal_authorization_deleted'
|
|
16774
16836
|
| 'afterpay_authorization_upserted'
|
|
@@ -16868,6 +16930,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
16868
16930
|
| 'shopify_order_fulfillments_snapshot_deleted'
|
|
16869
16931
|
| 'shopify_merchant_plan_upserted'
|
|
16870
16932
|
| 'shopify_merchant_plan_deleted'
|
|
16933
|
+
| 'shopify_dispute_upserted'
|
|
16934
|
+
| 'shopify_dispute_deleted'
|
|
16871
16935
|
| 'stripe_authorization_deleted'
|
|
16872
16936
|
| 'stripe_authorization_upserted'
|
|
16873
16937
|
| 'stripe_reversal_deleted'
|
|
@@ -17020,6 +17084,11 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
17020
17084
|
| 'negative_balance_guarantee'
|
|
17021
17085
|
| 'bank_payment_failure'
|
|
17022
17086
|
| 'non_fraud_chargeback';
|
|
17087
|
+
type MerchantOfRecord =
|
|
17088
|
+
| 'global_e_united_states'
|
|
17089
|
+
| 'global_e_united_kingdom'
|
|
17090
|
+
| 'global_e_canada'
|
|
17091
|
+
| 'global_e_netherlands';
|
|
17023
17092
|
type MerchantOverrideStatus = 'in_review' | 'accepted' | 'rejected';
|
|
17024
17093
|
type MixedBagWeight = '0' | '1' | '2';
|
|
17025
17094
|
type NatureOfSale =
|
|
@@ -17055,7 +17124,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
17055
17124
|
| 'dtce'
|
|
17056
17125
|
| 'restrictions'
|
|
17057
17126
|
| 'organization_status'
|
|
17058
|
-
| 'category_constraints'
|
|
17059
17127
|
| 'miscellaneous';
|
|
17060
17128
|
type OnboardingAutomationProcessState =
|
|
17061
17129
|
| 'not_started'
|
|
@@ -23467,9 +23535,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23467
23535
|
readonly status: io.flow.internal.v0.enums.MerchantOverrideStatus;
|
|
23468
23536
|
readonly hs6_code: string;
|
|
23469
23537
|
readonly merchant_hs6_code: string;
|
|
23538
|
+
readonly created_at: string;
|
|
23539
|
+
readonly updated_at: string;
|
|
23540
|
+
readonly updated_by_user_id: string;
|
|
23470
23541
|
}
|
|
23471
23542
|
|
|
23472
23543
|
interface MerchantOverrideDecisionForm {
|
|
23544
|
+
readonly id: string;
|
|
23473
23545
|
readonly status: io.flow.internal.v0.enums.MerchantOverrideStatus;
|
|
23474
23546
|
}
|
|
23475
23547
|
|
|
@@ -24250,6 +24322,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
24250
24322
|
readonly last_order_submitted_at?: string;
|
|
24251
24323
|
readonly matching_positive_keywords: string[];
|
|
24252
24324
|
readonly product_categories: string[];
|
|
24325
|
+
readonly matching_negative_keywords: string[];
|
|
24326
|
+
readonly decisions_user_ids: string[];
|
|
24327
|
+
readonly restriction_rule_ids: string[];
|
|
24253
24328
|
}
|
|
24254
24329
|
|
|
24255
24330
|
interface OrganizationMetadataDeleted {
|
|
@@ -24659,6 +24734,33 @@ declare namespace io.flow.internal.v0.models {
|
|
|
24659
24734
|
readonly partner_organization_settings: io.flow.internal.v0.models.PartnerOrganizationSettings;
|
|
24660
24735
|
}
|
|
24661
24736
|
|
|
24737
|
+
interface PartnerRequest {
|
|
24738
|
+
readonly id: string;
|
|
24739
|
+
readonly partner_id: string;
|
|
24740
|
+
readonly organization_id: string;
|
|
24741
|
+
readonly method: string;
|
|
24742
|
+
readonly path: string;
|
|
24743
|
+
readonly request_id: string;
|
|
24744
|
+
readonly parameters?: Record<string, string>;
|
|
24745
|
+
readonly request_body?: any /*object*/;
|
|
24746
|
+
readonly response_body?: any /*object*/;
|
|
24747
|
+
readonly reference_id?: string;
|
|
24748
|
+
}
|
|
24749
|
+
|
|
24750
|
+
interface PartnerRequestDeleted {
|
|
24751
|
+
readonly discriminator: 'partner_request_deleted';
|
|
24752
|
+
readonly event_id: string;
|
|
24753
|
+
readonly timestamp: string;
|
|
24754
|
+
readonly id: string;
|
|
24755
|
+
}
|
|
24756
|
+
|
|
24757
|
+
interface PartnerRequestUpserted {
|
|
24758
|
+
readonly discriminator: 'partner_request_upserted';
|
|
24759
|
+
readonly event_id: string;
|
|
24760
|
+
readonly timestamp: string;
|
|
24761
|
+
readonly partner_request: io.flow.internal.v0.models.PartnerRequest;
|
|
24762
|
+
}
|
|
24763
|
+
|
|
24662
24764
|
interface PartnerTrackingSubscriptionDeleted {
|
|
24663
24765
|
readonly discriminator: 'partner_tracking_subscription_deleted';
|
|
24664
24766
|
readonly event_id: string;
|
|
@@ -25872,6 +25974,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
25872
25974
|
readonly id: string;
|
|
25873
25975
|
readonly processor: string;
|
|
25874
25976
|
readonly report_file_type: io.flow.internal.v0.enums.ReportFileType;
|
|
25977
|
+
readonly merchant_of_record_identifier: io.flow.internal.v0.enums.MerchantOfRecord;
|
|
25875
25978
|
readonly file_name: string;
|
|
25876
25979
|
readonly status: io.flow.internal.v0.enums.ReportFileStatus;
|
|
25877
25980
|
readonly failure_reason?: string;
|
|
@@ -26831,6 +26934,36 @@ declare namespace io.flow.internal.v0.models {
|
|
|
26831
26934
|
readonly code: string;
|
|
26832
26935
|
}
|
|
26833
26936
|
|
|
26937
|
+
interface ShopifyDispute {
|
|
26938
|
+
readonly id: string;
|
|
26939
|
+
readonly organization_id: string;
|
|
26940
|
+
readonly authorization_id: string;
|
|
26941
|
+
readonly amount: number;
|
|
26942
|
+
readonly currency: string;
|
|
26943
|
+
readonly status: string;
|
|
26944
|
+
readonly category: string;
|
|
26945
|
+
readonly attributes?: Record<string, string>;
|
|
26946
|
+
readonly external_reference_id: string;
|
|
26947
|
+
readonly issued_at: string;
|
|
26948
|
+
readonly updated_at: string;
|
|
26949
|
+
}
|
|
26950
|
+
|
|
26951
|
+
interface ShopifyDisputeDeleted {
|
|
26952
|
+
readonly discriminator: 'shopify_dispute_deleted';
|
|
26953
|
+
readonly event_id: string;
|
|
26954
|
+
readonly timestamp: string;
|
|
26955
|
+
readonly organization: string;
|
|
26956
|
+
readonly id: string;
|
|
26957
|
+
}
|
|
26958
|
+
|
|
26959
|
+
interface ShopifyDisputeUpserted {
|
|
26960
|
+
readonly discriminator: 'shopify_dispute_upserted';
|
|
26961
|
+
readonly event_id: string;
|
|
26962
|
+
readonly timestamp: string;
|
|
26963
|
+
readonly organization: string;
|
|
26964
|
+
readonly dispute: io.flow.internal.v0.models.ShopifyDispute;
|
|
26965
|
+
}
|
|
26966
|
+
|
|
26834
26967
|
interface ShopifyExperienceShortId {
|
|
26835
26968
|
readonly id: string;
|
|
26836
26969
|
readonly experience: io.flow.experience.v0.models.ExperienceReference;
|
|
@@ -27962,7 +28095,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
27962
28095
|
readonly net: number;
|
|
27963
28096
|
readonly currency: string;
|
|
27964
28097
|
readonly connected_account: string;
|
|
27965
|
-
readonly reporting_category: io.flow.stripe.v0.
|
|
28098
|
+
readonly reporting_category: io.flow.stripe.v0.unions.ConnectReportReportingCategory;
|
|
27966
28099
|
readonly dispute_reason?: string;
|
|
27967
28100
|
readonly available_on_utc: string;
|
|
27968
28101
|
readonly automatic_payout_effective_at_utc?: string;
|
|
@@ -27972,7 +28105,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
27972
28105
|
readonly payment_method_type?: string;
|
|
27973
28106
|
readonly card_brand?: string;
|
|
27974
28107
|
readonly statement_descriptor?: string;
|
|
27975
|
-
readonly payment_metadata?: io.flow.
|
|
28108
|
+
readonly payment_metadata?: io.flow.internal.v0.models.StripeConnectReportRecordPaymentMetadata;
|
|
27976
28109
|
readonly transfer_metadata?: any /*object*/;
|
|
27977
28110
|
}
|
|
27978
28111
|
|
|
@@ -27983,11 +28116,28 @@ declare namespace io.flow.internal.v0.models {
|
|
|
27983
28116
|
readonly id: string;
|
|
27984
28117
|
}
|
|
27985
28118
|
|
|
28119
|
+
interface StripeConnectReportRecordPaymentMetadata {
|
|
28120
|
+
readonly shop_id?: number;
|
|
28121
|
+
readonly shop_plan?: io.flow.internal.v0.enums.ShopifyPlanType;
|
|
28122
|
+
readonly checkout_id?: string;
|
|
28123
|
+
readonly order_id?: number;
|
|
28124
|
+
readonly order_transaction_id?: number;
|
|
28125
|
+
readonly transfer_type?: io.flow.internal.v0.enums.ConnectReportTransferType;
|
|
28126
|
+
readonly transfer_exchange_rate?: number;
|
|
28127
|
+
readonly charge_total?: number;
|
|
28128
|
+
readonly charge_currency?: string;
|
|
28129
|
+
readonly charge_exchange_rate?: number;
|
|
28130
|
+
readonly duties?: number;
|
|
28131
|
+
readonly import_taxes?: number;
|
|
28132
|
+
readonly mor_fee?: number;
|
|
28133
|
+
readonly fx_fee?: number;
|
|
28134
|
+
}
|
|
28135
|
+
|
|
27986
28136
|
interface StripeConnectReportRecordUpserted {
|
|
27987
28137
|
readonly discriminator: 'stripe_connect_report_record_upserted';
|
|
27988
28138
|
readonly event_id: string;
|
|
27989
28139
|
readonly timestamp: string;
|
|
27990
|
-
readonly record: io.flow.
|
|
28140
|
+
readonly record: io.flow.internal.v0.models.StripeConnectReportRecord;
|
|
27991
28141
|
}
|
|
27992
28142
|
|
|
27993
28143
|
interface StripeDisputeDeleted {
|
|
@@ -29314,6 +29464,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
29314
29464
|
| io.flow.internal.v0.models.PartnerTrackingSubscriptionDeleted
|
|
29315
29465
|
| io.flow.internal.v0.models.SppTrackerUpdateRequestUpserted
|
|
29316
29466
|
| io.flow.internal.v0.models.SppTrackerUpdateRequestDeleted
|
|
29467
|
+
| io.flow.internal.v0.models.PartnerRequestUpserted
|
|
29468
|
+
| io.flow.internal.v0.models.PartnerRequestDeleted
|
|
29317
29469
|
| io.flow.internal.v0.models.InternalAuthorizationUpserted
|
|
29318
29470
|
| io.flow.internal.v0.models.InternalAuthorizationDeleted
|
|
29319
29471
|
| io.flow.internal.v0.models.AfterpayAuthorizationUpserted
|
|
@@ -29413,6 +29565,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
29413
29565
|
| io.flow.internal.v0.models.ShopifyOrderFulfillmentsSnapshotDeleted
|
|
29414
29566
|
| io.flow.internal.v0.models.ShopifyMerchantPlanUpserted
|
|
29415
29567
|
| io.flow.internal.v0.models.ShopifyMerchantPlanDeleted
|
|
29568
|
+
| io.flow.internal.v0.models.ShopifyDisputeUpserted
|
|
29569
|
+
| io.flow.internal.v0.models.ShopifyDisputeDeleted
|
|
29416
29570
|
| io.flow.internal.v0.models.StripeAuthorizationDeleted
|
|
29417
29571
|
| io.flow.internal.v0.models.StripeAuthorizationUpserted
|
|
29418
29572
|
| io.flow.internal.v0.models.StripeReversalDeleted
|
|
@@ -30332,6 +30486,8 @@ export type ComplianceData = io.flow.internal.v0.unions.ComplianceData;
|
|
|
30332
30486
|
export type ComplianceForm = io.flow.internal.v0.unions.ComplianceForm;
|
|
30333
30487
|
export type ComplianceType = io.flow.internal.v0.enums.ComplianceType;
|
|
30334
30488
|
export type Components = io.flow.internal.v0.models.Components;
|
|
30489
|
+
export type ConnectReportTransferType =
|
|
30490
|
+
io.flow.internal.v0.enums.ConnectReportTransferType;
|
|
30335
30491
|
export type ConsoleLabelRequestForm =
|
|
30336
30492
|
io.flow.internal.v0.models.ConsoleLabelRequestForm;
|
|
30337
30493
|
export type ConsoleLabelValidationForm =
|
|
@@ -31207,6 +31363,7 @@ export type MerchantHubOverride =
|
|
|
31207
31363
|
io.flow.internal.v0.models.MerchantHubOverride;
|
|
31208
31364
|
export type MerchantHubOverrideForm =
|
|
31209
31365
|
io.flow.internal.v0.models.MerchantHubOverrideForm;
|
|
31366
|
+
export type MerchantOfRecord = io.flow.internal.v0.enums.MerchantOfRecord;
|
|
31210
31367
|
export type MerchantOfRecordEntitySettings =
|
|
31211
31368
|
io.flow.internal.v0.models.MerchantOfRecordEntitySettings;
|
|
31212
31369
|
export type MerchantOfRecordEntitySettingsForm =
|
|
@@ -31555,6 +31712,11 @@ export type PartnerOrganizationSettingsForm =
|
|
|
31555
31712
|
io.flow.internal.v0.models.PartnerOrganizationSettingsForm;
|
|
31556
31713
|
export type PartnerOrganizationSettingsUpserted =
|
|
31557
31714
|
io.flow.internal.v0.models.PartnerOrganizationSettingsUpserted;
|
|
31715
|
+
export type PartnerRequest = io.flow.internal.v0.models.PartnerRequest;
|
|
31716
|
+
export type PartnerRequestDeleted =
|
|
31717
|
+
io.flow.internal.v0.models.PartnerRequestDeleted;
|
|
31718
|
+
export type PartnerRequestUpserted =
|
|
31719
|
+
io.flow.internal.v0.models.PartnerRequestUpserted;
|
|
31558
31720
|
export type PartnerTrackingSubscriptionDeleted =
|
|
31559
31721
|
io.flow.internal.v0.models.PartnerTrackingSubscriptionDeleted;
|
|
31560
31722
|
export type PartnerTrackingSubscriptionUpserted =
|
|
@@ -32090,6 +32252,11 @@ export type ShopifyCheckInventoryError =
|
|
|
32090
32252
|
export type ShopifyCheckInventoryErrorCode =
|
|
32091
32253
|
io.flow.internal.v0.enums.ShopifyCheckInventoryErrorCode;
|
|
32092
32254
|
export type ShopifyCodeForm = io.flow.internal.v0.models.ShopifyCodeForm;
|
|
32255
|
+
export type ShopifyDispute = io.flow.internal.v0.models.ShopifyDispute;
|
|
32256
|
+
export type ShopifyDisputeDeleted =
|
|
32257
|
+
io.flow.internal.v0.models.ShopifyDisputeDeleted;
|
|
32258
|
+
export type ShopifyDisputeUpserted =
|
|
32259
|
+
io.flow.internal.v0.models.ShopifyDisputeUpserted;
|
|
32093
32260
|
export type ShopifyExperienceShortId =
|
|
32094
32261
|
io.flow.internal.v0.models.ShopifyExperienceShortId;
|
|
32095
32262
|
export type ShopifyExperienceShortIdDeleted =
|
|
@@ -32438,6 +32605,8 @@ export type StripeConnectReportRecord =
|
|
|
32438
32605
|
io.flow.internal.v0.models.StripeConnectReportRecord;
|
|
32439
32606
|
export type StripeConnectReportRecordDeleted =
|
|
32440
32607
|
io.flow.internal.v0.models.StripeConnectReportRecordDeleted;
|
|
32608
|
+
export type StripeConnectReportRecordPaymentMetadata =
|
|
32609
|
+
io.flow.internal.v0.models.StripeConnectReportRecordPaymentMetadata;
|
|
32441
32610
|
export type StripeConnectReportRecordUpserted =
|
|
32442
32611
|
io.flow.internal.v0.models.StripeConnectReportRecordUpserted;
|
|
32443
32612
|
export type StripeDisputeDeleted =
|