@flowio/types 11.24.22 → 11.24.24

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/src/api.ts CHANGED
@@ -2405,6 +2405,8 @@ declare namespace io.flow.v0.enums {
2405
2405
  | 'manifested_label_deleted'
2406
2406
  | 'local_item_upserted'
2407
2407
  | 'local_item_deleted'
2408
+ | 'merchant_application_upserted'
2409
+ | 'merchant_application_deleted'
2408
2410
  | 'checkout_optin_responses_upserted'
2409
2411
  | 'checkout_optin_responses_deleted'
2410
2412
  | 'browse_optin_responses_upserted'
@@ -3796,6 +3798,17 @@ declare namespace io.flow.v0.models {
3796
3798
  readonly id: string;
3797
3799
  }
3798
3800
 
3801
+ interface BridgeManifest {
3802
+ readonly id: string;
3803
+ readonly service: io.flow.v0.models.ServiceSummary;
3804
+ readonly pdf: string;
3805
+ readonly data: string;
3806
+ }
3807
+
3808
+ interface BridgeManifestForm {
3809
+ readonly order_numbers: string[];
3810
+ }
3811
+
3799
3812
  interface BrowseOptinResponses {
3800
3813
  readonly id: string;
3801
3814
  readonly session_id: string;
@@ -4395,6 +4408,15 @@ declare namespace io.flow.v0.models {
4395
4408
  readonly id: string;
4396
4409
  }
4397
4410
 
4411
+ interface ChannelStatement {
4412
+ readonly id: string;
4413
+ readonly account: io.flow.v0.models.AccountReference;
4414
+ readonly ending_balance: number;
4415
+ readonly settlement: io.flow.v0.unions.Settlement;
4416
+ readonly attachments: io.flow.v0.models.Attachment[];
4417
+ readonly created_at: string;
4418
+ }
4419
+
4398
4420
  interface ChannelToken {
4399
4421
  readonly discriminator: 'channel_token';
4400
4422
  readonly id: string;
@@ -4418,6 +4440,20 @@ declare namespace io.flow.v0.models {
4418
4440
  readonly user: io.flow.v0.models.UserReference;
4419
4441
  }
4420
4442
 
4443
+ interface ChannelTransaction {
4444
+ readonly id: string;
4445
+ readonly order?: io.flow.v0.models.BillingChannelOrderReference;
4446
+ readonly statement?: io.flow.v0.models.BillingChannelStatementReference;
4447
+ readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
4448
+ readonly currency: string;
4449
+ readonly source: io.flow.v0.enums.TransactionSource;
4450
+ readonly gross: number;
4451
+ readonly fees: io.flow.v0.models.FeeDeduction[];
4452
+ readonly withholdings: io.flow.v0.models.WithholdingDeduction[];
4453
+ readonly net: number;
4454
+ readonly created_at: string;
4455
+ }
4456
+
4421
4457
  interface ChannelUpserted {
4422
4458
  readonly discriminator: 'channel_upserted';
4423
4459
  readonly event_id: string;
@@ -5326,6 +5362,7 @@ declare namespace io.flow.v0.models {
5326
5362
  readonly discriminator: 'direct_debit';
5327
5363
  readonly routing_number: string;
5328
5364
  readonly last4: string;
5365
+ readonly additional_data?: Record<string, string>;
5329
5366
  }
5330
5367
 
5331
5368
  interface Discount {
@@ -6546,6 +6583,11 @@ declare namespace io.flow.v0.models {
6546
6583
  readonly label: string;
6547
6584
  }
6548
6585
 
6586
+ interface IndirectTax {
6587
+ readonly number?: string;
6588
+ readonly id?: string;
6589
+ }
6590
+
6549
6591
  interface InlineAuthorizationDetails {
6550
6592
  readonly discriminator: 'inline_authorization_details';
6551
6593
  readonly id: string;
@@ -7392,6 +7434,20 @@ declare namespace io.flow.v0.models {
7392
7434
  readonly membership: io.flow.v0.models.Membership;
7393
7435
  }
7394
7436
 
7437
+ interface MerchantApplicationDeleted {
7438
+ readonly discriminator: 'merchant_application_deleted';
7439
+ readonly event_id: string;
7440
+ readonly timestamp: string;
7441
+ readonly merchant_application: io.flow.v0.unions.MerchantApplication;
7442
+ }
7443
+
7444
+ interface MerchantApplicationUpserted {
7445
+ readonly discriminator: 'merchant_application_upserted';
7446
+ readonly event_id: string;
7447
+ readonly timestamp: string;
7448
+ readonly merchant_application: io.flow.v0.unions.MerchantApplication;
7449
+ }
7450
+
7395
7451
  interface MerchantGiftCardBalance {
7396
7452
  readonly amount: number;
7397
7453
  readonly currency: string;
@@ -7577,6 +7633,11 @@ declare namespace io.flow.v0.models {
7577
7633
  readonly timezone?: string;
7578
7634
  }
7579
7635
 
7636
+ interface OnboardingOrganizationReference {
7637
+ readonly id: string;
7638
+ readonly status: io.flow.v0.enums.OrganizationStatus;
7639
+ }
7640
+
7580
7641
  interface OnlineAuthorization {
7581
7642
  readonly discriminator: 'online_authorization';
7582
7643
  readonly id: string;
@@ -10824,7 +10885,7 @@ declare namespace io.flow.v0.models {
10824
10885
  }
10825
10886
 
10826
10887
  interface ShippingLabelLaneSummary {
10827
- readonly id: string;
10888
+ readonly id?: string;
10828
10889
  readonly ratecard: io.flow.v0.models.ShippingLabelRatecardSummary;
10829
10890
  }
10830
10891
 
@@ -10835,7 +10896,7 @@ declare namespace io.flow.v0.models {
10835
10896
  }
10836
10897
 
10837
10898
  interface ShippingLabelRatecardSummary {
10838
- readonly id: string;
10899
+ readonly id?: string;
10839
10900
  readonly ratecard_owner: io.flow.v0.enums.RatecardOwner;
10840
10901
  }
10841
10902
 
@@ -11123,11 +11184,14 @@ declare namespace io.flow.v0.models {
11123
11184
  readonly discriminator: 'shopify_merchant_application';
11124
11185
  readonly id: string;
11125
11186
  readonly organization_id: string;
11187
+ readonly organization_reference: io.flow.v0.models.OnboardingOrganizationReference;
11126
11188
  readonly status: io.flow.v0.enums.OnboardingApplicationStatus;
11127
11189
  readonly company?: io.flow.v0.models.MerchantInfo;
11128
11190
  readonly indirect_tax_number?: string;
11191
+ readonly indirect_tax?: io.flow.v0.models.IndirectTax;
11129
11192
  readonly parent_company?: io.flow.v0.models.MerchantInfo;
11130
11193
  readonly beneficiary?: string;
11194
+ readonly ultimate_beneficiary_owner?: io.flow.v0.models.UltimateBeneficiaryOwner;
11131
11195
  readonly business_url?: string;
11132
11196
  readonly business_description?: string;
11133
11197
  readonly business_address?: io.flow.v0.models.Address;
@@ -11147,14 +11211,17 @@ declare namespace io.flow.v0.models {
11147
11211
  readonly rate_card: string;
11148
11212
  readonly created_at: string;
11149
11213
  readonly activated_at?: string;
11214
+ readonly status_updated_at?: string;
11150
11215
  }
11151
11216
 
11152
11217
  interface ShopifyMerchantApplicationForm {
11153
11218
  readonly discriminator: 'shopify_merchant_application_form';
11154
11219
  readonly company?: io.flow.v0.models.MerchantInfo;
11155
11220
  readonly indirect_tax_number?: string;
11221
+ readonly indirect_tax?: io.flow.v0.models.IndirectTax;
11156
11222
  readonly parent_company?: io.flow.v0.models.MerchantInfo;
11157
11223
  readonly beneficiary?: string;
11224
+ readonly ultimate_beneficiary_owner?: io.flow.v0.models.UltimateBeneficiaryOwner;
11158
11225
  readonly business_url?: string;
11159
11226
  readonly business_description?: string;
11160
11227
  readonly business_address?: io.flow.v0.models.Address;
@@ -11313,6 +11380,7 @@ declare namespace io.flow.v0.models {
11313
11380
  readonly ending_balance: number;
11314
11381
  readonly settlement: io.flow.v0.unions.Settlement;
11315
11382
  readonly attachments: io.flow.v0.models.Attachment[];
11383
+ readonly created_at: string;
11316
11384
  }
11317
11385
 
11318
11386
  interface StatementDeleted {
@@ -11679,11 +11747,15 @@ declare namespace io.flow.v0.models {
11679
11747
  readonly location?: io.flow.v0.models.MerchantOnboardingAddress;
11680
11748
  readonly scheduled_pickups?: io.flow.v0.models.OnboardingMerchantScheduledPickup[];
11681
11749
  readonly operations_contact: io.flow.v0.models.OperationsContact;
11750
+ readonly center_id?: string;
11682
11751
  }
11683
11752
 
11684
11753
  interface ThreeDSecure {
11685
11754
  readonly code: io.flow.v0.enums.ThreeDSecureCode;
11686
11755
  readonly description?: string;
11756
+ readonly eci?: string;
11757
+ readonly liability_sift?: boolean;
11758
+ readonly version?: string;
11687
11759
  }
11688
11760
 
11689
11761
  interface ThreedsChallengeActionDetails {
@@ -12035,6 +12107,11 @@ declare namespace io.flow.v0.models {
12035
12107
  readonly to: number;
12036
12108
  }
12037
12109
 
12110
+ interface UltimateBeneficiaryOwner {
12111
+ readonly name: string;
12112
+ readonly dob: string;
12113
+ }
12114
+
12038
12115
  interface UnharmonizedItemExportType {
12039
12116
  readonly discriminator: 'unharmonized_item_export_type';
12040
12117
  readonly sort?: string;
@@ -12466,6 +12543,8 @@ declare namespace io.flow.v0.unions {
12466
12543
  | io.flow.v0.models.ManifestedLabelDeleted
12467
12544
  | io.flow.v0.models.LocalItemUpserted
12468
12545
  | io.flow.v0.models.LocalItemDeleted
12546
+ | io.flow.v0.models.MerchantApplicationUpserted
12547
+ | io.flow.v0.models.MerchantApplicationDeleted
12469
12548
  | io.flow.v0.models.CheckoutOptinResponsesUpserted
12470
12549
  | io.flow.v0.models.CheckoutOptinResponsesDeleted
12471
12550
  | io.flow.v0.models.BrowseOptinResponsesUpserted
@@ -12963,6 +13042,8 @@ export type BillingChannelPaymentRequestReference =
12963
13042
  io.flow.v0.models.BillingChannelPaymentRequestReference;
12964
13043
  export type BillingChannelStatementReference =
12965
13044
  io.flow.v0.models.BillingChannelStatementReference;
13045
+ export type BridgeManifest = io.flow.v0.models.BridgeManifest;
13046
+ export type BridgeManifestForm = io.flow.v0.models.BridgeManifestForm;
12966
13047
  export type BrowseOptinResponses = io.flow.v0.models.BrowseOptinResponses;
12967
13048
  export type BrowseOptinResponsesDeleted =
12968
13049
  io.flow.v0.models.BrowseOptinResponsesDeleted;
@@ -13077,9 +13158,11 @@ export type ChannelOrganizationUpserted =
13077
13158
  io.flow.v0.models.ChannelOrganizationUpserted;
13078
13159
  export type ChannelRate = io.flow.v0.models.ChannelRate;
13079
13160
  export type ChannelReference = io.flow.v0.models.ChannelReference;
13161
+ export type ChannelStatement = io.flow.v0.models.ChannelStatement;
13080
13162
  export type ChannelToken = io.flow.v0.models.ChannelToken;
13081
13163
  export type ChannelTokenForm = io.flow.v0.models.ChannelTokenForm;
13082
13164
  export type ChannelTokenReference = io.flow.v0.models.ChannelTokenReference;
13165
+ export type ChannelTransaction = io.flow.v0.models.ChannelTransaction;
13083
13166
  export type ChannelUpserted = io.flow.v0.models.ChannelUpserted;
13084
13167
  export type ChannelViesRegistration = io.flow.v0.models.ChannelViesRegistration;
13085
13168
  export type ChannelViesRegistrationForm =
@@ -13579,6 +13662,7 @@ export type InboundCartonFee = io.flow.v0.models.InboundCartonFee;
13579
13662
  export type IncludedLevies = io.flow.v0.models.IncludedLevies;
13580
13663
  export type IncludedLevyKey = io.flow.v0.enums.IncludedLevyKey;
13581
13664
  export type Incoterm = io.flow.v0.enums.Incoterm;
13665
+ export type IndirectTax = io.flow.v0.models.IndirectTax;
13582
13666
  export type InlineActionConfiguration =
13583
13667
  io.flow.v0.unions.InlineActionConfiguration;
13584
13668
  export type InlineAuthorizationDetails =
@@ -13730,9 +13814,13 @@ export type MembershipPutForm = io.flow.v0.models.MembershipPutForm;
13730
13814
  export type MembershipUpsertedV2 = io.flow.v0.models.MembershipUpsertedV2;
13731
13815
  export type MembershipVersion = io.flow.v0.models.MembershipVersion;
13732
13816
  export type MerchantApplication = io.flow.v0.unions.MerchantApplication;
13817
+ export type MerchantApplicationDeleted =
13818
+ io.flow.v0.models.MerchantApplicationDeleted;
13733
13819
  export type MerchantApplicationForm = io.flow.v0.unions.MerchantApplicationForm;
13734
13820
  export type MerchantApplicationPutForm =
13735
13821
  io.flow.v0.unions.MerchantApplicationPutForm;
13822
+ export type MerchantApplicationUpserted =
13823
+ io.flow.v0.models.MerchantApplicationUpserted;
13736
13824
  export type MerchantApplicationsSummary =
13737
13825
  io.flow.v0.unions.MerchantApplicationsSummary;
13738
13826
  export type MerchantGiftCardBalance = io.flow.v0.models.MerchantGiftCardBalance;
@@ -13783,6 +13871,8 @@ export type OnboardingMerchantPickupWindow =
13783
13871
  export type OnboardingMerchantScheduledPickup =
13784
13872
  io.flow.v0.models.OnboardingMerchantScheduledPickup;
13785
13873
  export type OnboardingMerchantTime = io.flow.v0.models.OnboardingMerchantTime;
13874
+ export type OnboardingOrganizationReference =
13875
+ io.flow.v0.models.OnboardingOrganizationReference;
13786
13876
  export type OnboardingTradeSector = io.flow.v0.enums.OnboardingTradeSector;
13787
13877
  export type OnlineAuthorization = io.flow.v0.models.OnlineAuthorization;
13788
13878
  export type OnlineAuthorizationDeletedV2 =
@@ -14729,6 +14819,8 @@ export type TransactionSource = io.flow.v0.enums.TransactionSource;
14729
14819
  export type TransactionUpserted = io.flow.v0.models.TransactionUpserted;
14730
14820
  export type TransitEstimate = io.flow.v0.models.TransitEstimate;
14731
14821
  export type TransitWindow = io.flow.v0.models.TransitWindow;
14822
+ export type UltimateBeneficiaryOwner =
14823
+ io.flow.v0.models.UltimateBeneficiaryOwner;
14732
14824
  export type UnharmonizedItemExportType =
14733
14825
  io.flow.v0.models.UnharmonizedItemExportType;
14734
14826
  export type UnitOfMeasurement = io.flow.v0.enums.UnitOfMeasurement;