@flowio/types 11.24.22 → 11.24.23

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 {
@@ -7392,6 +7429,20 @@ declare namespace io.flow.v0.models {
7392
7429
  readonly membership: io.flow.v0.models.Membership;
7393
7430
  }
7394
7431
 
7432
+ interface MerchantApplicationDeleted {
7433
+ readonly discriminator: 'merchant_application_deleted';
7434
+ readonly event_id: string;
7435
+ readonly timestamp: string;
7436
+ readonly merchant_application: io.flow.v0.unions.MerchantApplication;
7437
+ }
7438
+
7439
+ interface MerchantApplicationUpserted {
7440
+ readonly discriminator: 'merchant_application_upserted';
7441
+ readonly event_id: string;
7442
+ readonly timestamp: string;
7443
+ readonly merchant_application: io.flow.v0.unions.MerchantApplication;
7444
+ }
7445
+
7395
7446
  interface MerchantGiftCardBalance {
7396
7447
  readonly amount: number;
7397
7448
  readonly currency: string;
@@ -7577,6 +7628,11 @@ declare namespace io.flow.v0.models {
7577
7628
  readonly timezone?: string;
7578
7629
  }
7579
7630
 
7631
+ interface OnboardingOrganizationReference {
7632
+ readonly id: string;
7633
+ readonly status: io.flow.v0.enums.OrganizationStatus;
7634
+ }
7635
+
7580
7636
  interface OnlineAuthorization {
7581
7637
  readonly discriminator: 'online_authorization';
7582
7638
  readonly id: string;
@@ -11123,11 +11179,13 @@ declare namespace io.flow.v0.models {
11123
11179
  readonly discriminator: 'shopify_merchant_application';
11124
11180
  readonly id: string;
11125
11181
  readonly organization_id: string;
11182
+ readonly organization_reference: io.flow.v0.models.OnboardingOrganizationReference;
11126
11183
  readonly status: io.flow.v0.enums.OnboardingApplicationStatus;
11127
11184
  readonly company?: io.flow.v0.models.MerchantInfo;
11128
11185
  readonly indirect_tax_number?: string;
11129
11186
  readonly parent_company?: io.flow.v0.models.MerchantInfo;
11130
11187
  readonly beneficiary?: string;
11188
+ readonly ultimate_beneficiary_owner?: io.flow.v0.models.UltimateBeneficiaryOwner;
11131
11189
  readonly business_url?: string;
11132
11190
  readonly business_description?: string;
11133
11191
  readonly business_address?: io.flow.v0.models.Address;
@@ -11155,6 +11213,7 @@ declare namespace io.flow.v0.models {
11155
11213
  readonly indirect_tax_number?: string;
11156
11214
  readonly parent_company?: io.flow.v0.models.MerchantInfo;
11157
11215
  readonly beneficiary?: string;
11216
+ readonly ultimate_beneficiary_owner?: io.flow.v0.models.UltimateBeneficiaryOwner;
11158
11217
  readonly business_url?: string;
11159
11218
  readonly business_description?: string;
11160
11219
  readonly business_address?: io.flow.v0.models.Address;
@@ -11313,6 +11372,7 @@ declare namespace io.flow.v0.models {
11313
11372
  readonly ending_balance: number;
11314
11373
  readonly settlement: io.flow.v0.unions.Settlement;
11315
11374
  readonly attachments: io.flow.v0.models.Attachment[];
11375
+ readonly created_at: string;
11316
11376
  }
11317
11377
 
11318
11378
  interface StatementDeleted {
@@ -11679,11 +11739,15 @@ declare namespace io.flow.v0.models {
11679
11739
  readonly location?: io.flow.v0.models.MerchantOnboardingAddress;
11680
11740
  readonly scheduled_pickups?: io.flow.v0.models.OnboardingMerchantScheduledPickup[];
11681
11741
  readonly operations_contact: io.flow.v0.models.OperationsContact;
11742
+ readonly center_id?: string;
11682
11743
  }
11683
11744
 
11684
11745
  interface ThreeDSecure {
11685
11746
  readonly code: io.flow.v0.enums.ThreeDSecureCode;
11686
11747
  readonly description?: string;
11748
+ readonly eci?: string;
11749
+ readonly liability_sift?: boolean;
11750
+ readonly version?: string;
11687
11751
  }
11688
11752
 
11689
11753
  interface ThreedsChallengeActionDetails {
@@ -12035,6 +12099,11 @@ declare namespace io.flow.v0.models {
12035
12099
  readonly to: number;
12036
12100
  }
12037
12101
 
12102
+ interface UltimateBeneficiaryOwner {
12103
+ readonly name: string;
12104
+ readonly dob: string;
12105
+ }
12106
+
12038
12107
  interface UnharmonizedItemExportType {
12039
12108
  readonly discriminator: 'unharmonized_item_export_type';
12040
12109
  readonly sort?: string;
@@ -12466,6 +12535,8 @@ declare namespace io.flow.v0.unions {
12466
12535
  | io.flow.v0.models.ManifestedLabelDeleted
12467
12536
  | io.flow.v0.models.LocalItemUpserted
12468
12537
  | io.flow.v0.models.LocalItemDeleted
12538
+ | io.flow.v0.models.MerchantApplicationUpserted
12539
+ | io.flow.v0.models.MerchantApplicationDeleted
12469
12540
  | io.flow.v0.models.CheckoutOptinResponsesUpserted
12470
12541
  | io.flow.v0.models.CheckoutOptinResponsesDeleted
12471
12542
  | io.flow.v0.models.BrowseOptinResponsesUpserted
@@ -12963,6 +13034,8 @@ export type BillingChannelPaymentRequestReference =
12963
13034
  io.flow.v0.models.BillingChannelPaymentRequestReference;
12964
13035
  export type BillingChannelStatementReference =
12965
13036
  io.flow.v0.models.BillingChannelStatementReference;
13037
+ export type BridgeManifest = io.flow.v0.models.BridgeManifest;
13038
+ export type BridgeManifestForm = io.flow.v0.models.BridgeManifestForm;
12966
13039
  export type BrowseOptinResponses = io.flow.v0.models.BrowseOptinResponses;
12967
13040
  export type BrowseOptinResponsesDeleted =
12968
13041
  io.flow.v0.models.BrowseOptinResponsesDeleted;
@@ -13077,9 +13150,11 @@ export type ChannelOrganizationUpserted =
13077
13150
  io.flow.v0.models.ChannelOrganizationUpserted;
13078
13151
  export type ChannelRate = io.flow.v0.models.ChannelRate;
13079
13152
  export type ChannelReference = io.flow.v0.models.ChannelReference;
13153
+ export type ChannelStatement = io.flow.v0.models.ChannelStatement;
13080
13154
  export type ChannelToken = io.flow.v0.models.ChannelToken;
13081
13155
  export type ChannelTokenForm = io.flow.v0.models.ChannelTokenForm;
13082
13156
  export type ChannelTokenReference = io.flow.v0.models.ChannelTokenReference;
13157
+ export type ChannelTransaction = io.flow.v0.models.ChannelTransaction;
13083
13158
  export type ChannelUpserted = io.flow.v0.models.ChannelUpserted;
13084
13159
  export type ChannelViesRegistration = io.flow.v0.models.ChannelViesRegistration;
13085
13160
  export type ChannelViesRegistrationForm =
@@ -13730,9 +13805,13 @@ export type MembershipPutForm = io.flow.v0.models.MembershipPutForm;
13730
13805
  export type MembershipUpsertedV2 = io.flow.v0.models.MembershipUpsertedV2;
13731
13806
  export type MembershipVersion = io.flow.v0.models.MembershipVersion;
13732
13807
  export type MerchantApplication = io.flow.v0.unions.MerchantApplication;
13808
+ export type MerchantApplicationDeleted =
13809
+ io.flow.v0.models.MerchantApplicationDeleted;
13733
13810
  export type MerchantApplicationForm = io.flow.v0.unions.MerchantApplicationForm;
13734
13811
  export type MerchantApplicationPutForm =
13735
13812
  io.flow.v0.unions.MerchantApplicationPutForm;
13813
+ export type MerchantApplicationUpserted =
13814
+ io.flow.v0.models.MerchantApplicationUpserted;
13736
13815
  export type MerchantApplicationsSummary =
13737
13816
  io.flow.v0.unions.MerchantApplicationsSummary;
13738
13817
  export type MerchantGiftCardBalance = io.flow.v0.models.MerchantGiftCardBalance;
@@ -13783,6 +13862,8 @@ export type OnboardingMerchantPickupWindow =
13783
13862
  export type OnboardingMerchantScheduledPickup =
13784
13863
  io.flow.v0.models.OnboardingMerchantScheduledPickup;
13785
13864
  export type OnboardingMerchantTime = io.flow.v0.models.OnboardingMerchantTime;
13865
+ export type OnboardingOrganizationReference =
13866
+ io.flow.v0.models.OnboardingOrganizationReference;
13786
13867
  export type OnboardingTradeSector = io.flow.v0.enums.OnboardingTradeSector;
13787
13868
  export type OnlineAuthorization = io.flow.v0.models.OnlineAuthorization;
13788
13869
  export type OnlineAuthorizationDeletedV2 =
@@ -14729,6 +14810,8 @@ export type TransactionSource = io.flow.v0.enums.TransactionSource;
14729
14810
  export type TransactionUpserted = io.flow.v0.models.TransactionUpserted;
14730
14811
  export type TransitEstimate = io.flow.v0.models.TransitEstimate;
14731
14812
  export type TransitWindow = io.flow.v0.models.TransitWindow;
14813
+ export type UltimateBeneficiaryOwner =
14814
+ io.flow.v0.models.UltimateBeneficiaryOwner;
14732
14815
  export type UnharmonizedItemExportType =
14733
14816
  io.flow.v0.models.UnharmonizedItemExportType;
14734
14817
  export type UnitOfMeasurement = io.flow.v0.enums.UnitOfMeasurement;