@flowio/types 11.24.55 → 11.24.57

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
@@ -2310,6 +2310,10 @@ declare namespace io.flow.v0.enums {
2310
2310
  | 'channel_transaction_deleted_v2'
2311
2311
  | 'channel_statement_upserted'
2312
2312
  | 'channel_statement_deleted'
2313
+ | 'channel_payout_upserted'
2314
+ | 'channel_payout_deleted'
2315
+ | 'organization_payout_upserted'
2316
+ | 'organization_payout_deleted'
2313
2317
  | 'attribute_upserted'
2314
2318
  | 'attribute_deleted'
2315
2319
  | 'attribute_upserted_v2'
@@ -2524,6 +2528,7 @@ declare namespace io.flow.v0.enums {
2524
2528
  type FulfillmentItemQuantityStatus = 'new' | 'shipped' | 'cancelled';
2525
2529
  type FulfillmentMethodType = 'fulfillment_method';
2526
2530
  type FulfillmentMethodValue = 'digital' | 'physical';
2531
+ type FulfillmentRouting = 'fulfilled_from_center' | 'fulfillment_service';
2527
2532
  type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
2528
2533
  type GoodsSupply = 'export' | 'intra_community' | 'local';
2529
2534
  type HolidayCalendar = 'us_bank_holidays' | 'jewish_holidays';
@@ -3498,12 +3503,17 @@ declare namespace io.flow.v0.models {
3498
3503
  readonly display_name?: string;
3499
3504
  }
3500
3505
 
3501
- interface ApplepaySdkAuthorizationResultActionDetails {
3502
- readonly discriminator: 'applepay_sdk_authorization_result_action_details';
3506
+ interface ApplepaySdkCreateResultActionDetails {
3507
+ readonly discriminator: 'applepay_sdk_create_result_action_details';
3503
3508
  readonly merchant_identifier: string;
3504
3509
  readonly payment_data_request: any /*object*/;
3505
3510
  }
3506
3511
 
3512
+ interface ApplepaySdkValidateResultActionDetails {
3513
+ readonly discriminator: 'applepay_sdk_validate_result_action_details';
3514
+ readonly payment_session: any /*object*/;
3515
+ }
3516
+
3507
3517
  interface AtCost {
3508
3518
  readonly discriminator: 'at_cost';
3509
3519
  readonly ignore?: string;
@@ -4525,6 +4535,22 @@ declare namespace io.flow.v0.models {
4525
4535
  readonly updated_at: string;
4526
4536
  }
4527
4537
 
4538
+ interface ChannelPayoutDeleted {
4539
+ readonly discriminator: 'channel_payout_deleted';
4540
+ readonly event_id: string;
4541
+ readonly timestamp: string;
4542
+ readonly channel_id: string;
4543
+ readonly id: string;
4544
+ }
4545
+
4546
+ interface ChannelPayoutUpserted {
4547
+ readonly discriminator: 'channel_payout_upserted';
4548
+ readonly event_id: string;
4549
+ readonly timestamp: string;
4550
+ readonly channel_id: string;
4551
+ readonly payout: io.flow.v0.models.ChannelPayout;
4552
+ }
4553
+
4528
4554
  interface ChannelRate {
4529
4555
  readonly placeholder?: string;
4530
4556
  }
@@ -5463,8 +5489,15 @@ declare namespace io.flow.v0.models {
5463
5489
  readonly type: 'browser';
5464
5490
  readonly user_agent: string;
5465
5491
  readonly origin: string;
5466
- readonly accept_language: string;
5492
+ readonly accept_language?: string;
5467
5493
  readonly ip?: string;
5494
+ readonly time_zone_offset?: number;
5495
+ readonly date_string?: string;
5496
+ readonly navigator_language?: string;
5497
+ readonly navigator_hardware_concurrency?: number;
5498
+ readonly cookie_created_at?: number;
5499
+ readonly session_duration?: number;
5500
+ readonly fingerprint?: string;
5468
5501
  }
5469
5502
 
5470
5503
  interface DeviceFingerprintDetailsBrowser {
@@ -8842,6 +8875,22 @@ declare namespace io.flow.v0.models {
8842
8875
  readonly updated_at: string;
8843
8876
  }
8844
8877
 
8878
+ interface OrganizationPayoutDeleted {
8879
+ readonly discriminator: 'organization_payout_deleted';
8880
+ readonly event_id: string;
8881
+ readonly timestamp: string;
8882
+ readonly organization: string;
8883
+ readonly id: string;
8884
+ }
8885
+
8886
+ interface OrganizationPayoutUpserted {
8887
+ readonly discriminator: 'organization_payout_upserted';
8888
+ readonly event_id: string;
8889
+ readonly timestamp: string;
8890
+ readonly organization: string;
8891
+ readonly payout: io.flow.v0.models.OrganizationPayout;
8892
+ }
8893
+
8845
8894
  interface OrganizationPutForm {
8846
8895
  readonly name?: string;
8847
8896
  readonly environment?: io.flow.v0.enums.Environment;
@@ -9248,7 +9297,7 @@ declare namespace io.flow.v0.models {
9248
9297
 
9249
9298
  interface PaymentMethodDataAuthorizeApplepayResultFailure {
9250
9299
  readonly type: 'failure';
9251
- readonly placeholder?: string;
9300
+ readonly message: string;
9252
9301
  }
9253
9302
 
9254
9303
  interface PaymentMethodDataAuthorizeApplepayResultSuccess {
@@ -9789,6 +9838,8 @@ declare namespace io.flow.v0.models {
9789
9838
  readonly id: string;
9790
9839
  readonly key?: string;
9791
9840
  readonly center?: io.flow.v0.models.CenterSummary;
9841
+ readonly fulfillment_routing?: io.flow.v0.enums.FulfillmentRouting;
9842
+ readonly ship_from_country?: string;
9792
9843
  readonly items: io.flow.v0.models.DeliveryItem[];
9793
9844
  readonly options: io.flow.v0.models.DeliveryOption[];
9794
9845
  readonly special_services?: io.flow.v0.enums.PhysicalDeliverySpecialSerivce[];
@@ -11291,6 +11342,7 @@ declare namespace io.flow.v0.models {
11291
11342
 
11292
11343
  interface ShippingLabelDocument {
11293
11344
  readonly zpl?: string;
11345
+ readonly zpl_url?: string;
11294
11346
  readonly pdf?: string;
11295
11347
  readonly pdf_data?: string;
11296
11348
  readonly png?: string;
@@ -12834,7 +12886,8 @@ declare namespace io.flow.v0.unions {
12834
12886
  | io.flow.v0.models.StripeAuthorizationResultActionDetails
12835
12887
  | io.flow.v0.models.ThreedsIdentifyActionDetails
12836
12888
  | io.flow.v0.models.ThreedsChallengeActionDetails
12837
- | io.flow.v0.models.ApplepaySdkAuthorizationResultActionDetails
12889
+ | io.flow.v0.models.ApplepaySdkCreateResultActionDetails
12890
+ | io.flow.v0.models.ApplepaySdkValidateResultActionDetails
12838
12891
  | io.flow.v0.models.KlarnaSdkAuthorizationResultActionDetails
12839
12892
  | io.flow.v0.models.SelectIssuerOptionActionDetails;
12840
12893
  type AvailableFilter =
@@ -12893,6 +12946,10 @@ declare namespace io.flow.v0.unions {
12893
12946
  | io.flow.v0.models.ChannelTransactionDeletedV2
12894
12947
  | io.flow.v0.models.ChannelStatementUpserted
12895
12948
  | io.flow.v0.models.ChannelStatementDeleted
12949
+ | io.flow.v0.models.ChannelPayoutUpserted
12950
+ | io.flow.v0.models.ChannelPayoutDeleted
12951
+ | io.flow.v0.models.OrganizationPayoutUpserted
12952
+ | io.flow.v0.models.OrganizationPayoutDeleted
12896
12953
  | io.flow.v0.models.AttributeUpserted
12897
12954
  | io.flow.v0.models.AttributeDeleted
12898
12955
  | io.flow.v0.models.AttributeUpsertedV2
@@ -13447,8 +13504,10 @@ export type AmountMarginForm = io.flow.v0.models.AmountMarginForm;
13447
13504
  export type AnalyticsExportType = io.flow.v0.models.AnalyticsExportType;
13448
13505
  export type ApplePayMerchantValidationPayload =
13449
13506
  io.flow.v0.models.ApplePayMerchantValidationPayload;
13450
- export type ApplepaySdkAuthorizationResultActionDetails =
13451
- io.flow.v0.models.ApplepaySdkAuthorizationResultActionDetails;
13507
+ export type ApplepaySdkCreateResultActionDetails =
13508
+ io.flow.v0.models.ApplepaySdkCreateResultActionDetails;
13509
+ export type ApplepaySdkValidateResultActionDetails =
13510
+ io.flow.v0.models.ApplepaySdkValidateResultActionDetails;
13452
13511
  export type AtCost = io.flow.v0.models.AtCost;
13453
13512
  export type Attachment = io.flow.v0.models.Attachment;
13454
13513
  export type Attribute = io.flow.v0.models.Attribute;
@@ -13665,6 +13724,8 @@ export type ChannelOrganizationPutForm =
13665
13724
  export type ChannelOrganizationUpserted =
13666
13725
  io.flow.v0.models.ChannelOrganizationUpserted;
13667
13726
  export type ChannelPayout = io.flow.v0.models.ChannelPayout;
13727
+ export type ChannelPayoutDeleted = io.flow.v0.models.ChannelPayoutDeleted;
13728
+ export type ChannelPayoutUpserted = io.flow.v0.models.ChannelPayoutUpserted;
13668
13729
  export type ChannelRate = io.flow.v0.models.ChannelRate;
13669
13730
  export type ChannelReference = io.flow.v0.models.ChannelReference;
13670
13731
  export type ChannelStatement = io.flow.v0.models.ChannelStatement;
@@ -14115,6 +14176,7 @@ export type FulfillmentLineCancelForm =
14115
14176
  io.flow.v0.models.FulfillmentLineCancelForm;
14116
14177
  export type FulfillmentMethodType = io.flow.v0.enums.FulfillmentMethodType;
14117
14178
  export type FulfillmentMethodValue = io.flow.v0.enums.FulfillmentMethodValue;
14179
+ export type FulfillmentRouting = io.flow.v0.enums.FulfillmentRouting;
14118
14180
  export type FullyHarmonizedItemUpserted =
14119
14181
  io.flow.v0.models.FullyHarmonizedItemUpserted;
14120
14182
  export type GatewayAuthenticationData =
@@ -14620,6 +14682,10 @@ export type OrganizationOnboardingStateUpserted =
14620
14682
  export type OrganizationPaymentMethodTag =
14621
14683
  io.flow.v0.enums.OrganizationPaymentMethodTag;
14622
14684
  export type OrganizationPayout = io.flow.v0.models.OrganizationPayout;
14685
+ export type OrganizationPayoutDeleted =
14686
+ io.flow.v0.models.OrganizationPayoutDeleted;
14687
+ export type OrganizationPayoutUpserted =
14688
+ io.flow.v0.models.OrganizationPayoutUpserted;
14623
14689
  export type OrganizationPutForm = io.flow.v0.models.OrganizationPutForm;
14624
14690
  export type OrganizationRatesData = io.flow.v0.models.OrganizationRatesData;
14625
14691
  export type OrganizationRatesPublished =