@flowio/types 11.19.5 → 11.19.7

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
@@ -2456,7 +2456,8 @@ declare namespace io.flow.v0.enums {
2456
2456
  | 'organization_fulfillment'
2457
2457
  | 'organization_marketing'
2458
2458
  | 'organization_finance'
2459
- | 'flow_operations';
2459
+ | 'flow_operations'
2460
+ | 'channel_admin';
2460
2461
  type FraudEmailRuleDecision = 'approved' | 'declined';
2461
2462
  type FraudLiability = 'flow' | 'organization';
2462
2463
  type FraudStatus = 'pending' | 'approved' | 'declined' | 'review';
@@ -2550,6 +2551,7 @@ declare namespace io.flow.v0.enums {
2550
2551
  | 'card'
2551
2552
  | 'online'
2552
2553
  | 'credit'
2554
+ | 'replacement_order'
2553
2555
  | 'installment_plan'
2554
2556
  | 'cash_on_delivery';
2555
2557
  type OrderPriceDetailComponentKey =
@@ -2601,6 +2603,17 @@ declare namespace io.flow.v0.enums {
2601
2603
  type OrderType = 'standard' | 'replacement';
2602
2604
  type OrganizationPaymentMethodTag = 'deny';
2603
2605
  type OrganizationStatus = 'active' | 'inactive' | 'deactivated';
2606
+ type PaymentActionType =
2607
+ | 'redirect'
2608
+ | 'use_sdk_klarna_v1'
2609
+ | 'use_sdk_applepay_js'
2610
+ | 'use_sdk_googlepay'
2611
+ | 'use_sdk_paypal'
2612
+ | 'use_sdk_stripe_v3'
2613
+ | 'use_sdk_adyen_v3'
2614
+ | 'use_sdk_adyen_v4'
2615
+ | 'execute_script'
2616
+ | 'display_inline_window';
2604
2617
  type PaymentErrorCode =
2605
2618
  | 'duplicate'
2606
2619
  | 'invalid_amount'
@@ -2765,17 +2778,6 @@ declare namespace io.flow.v0.enums {
2765
2778
  type SortDirection = 'ascending' | 'descending';
2766
2779
  type Strategy = 'range' | 'from' | 'to';
2767
2780
  type SubcatalogItemStatus = 'excluded' | 'included' | 'restricted';
2768
- type SupportedActionType =
2769
- | 'redirect'
2770
- | 'use_sdk_klarna_v1'
2771
- | 'use_sdk_applepay_js'
2772
- | 'use_sdk_googlepay'
2773
- | 'use_sdk_paypal'
2774
- | 'use_sdk_stripe_v3'
2775
- | 'use_sdk_adyen_v3'
2776
- | 'use_sdk_adyen_v4'
2777
- | 'execute_script'
2778
- | 'display_inline_window';
2779
2781
  type SurchargeResponsibleParty = 'organization' | 'customer';
2780
2782
  type SyncRecordFailureReason =
2781
2783
  | 'inventory'
@@ -4064,6 +4066,27 @@ declare namespace io.flow.v0.models {
4064
4066
  readonly center: io.flow.v0.models.Center;
4065
4067
  }
4066
4068
 
4069
+ interface Channel {
4070
+ readonly id: string;
4071
+ readonly key: string;
4072
+ readonly name: string;
4073
+ }
4074
+
4075
+ interface ChannelForm {
4076
+ readonly name: string;
4077
+ }
4078
+
4079
+ interface ChannelOrganization {
4080
+ readonly id: string;
4081
+ readonly organization: io.flow.v0.models.OrganizationReference;
4082
+ readonly key: string;
4083
+ readonly channel: io.flow.v0.models.ChannelReference;
4084
+ }
4085
+
4086
+ interface ChannelReference {
4087
+ readonly key: string;
4088
+ }
4089
+
4067
4090
  interface CheckoutAttribute {
4068
4091
  readonly id: string;
4069
4092
  readonly experience: io.flow.v0.models.ExperienceReference;
@@ -5511,6 +5534,11 @@ declare namespace io.flow.v0.models {
5511
5534
  readonly messages: string[];
5512
5535
  }
5513
5536
 
5537
+ interface FeeWeight {
5538
+ readonly weight: number;
5539
+ readonly unit: io.flow.v0.enums.UnitOfMeasurement;
5540
+ }
5541
+
5514
5542
  interface FieldValidationMax {
5515
5543
  readonly discriminator: 'max';
5516
5544
  readonly length: number;
@@ -8234,7 +8262,7 @@ declare namespace io.flow.v0.models {
8234
8262
  readonly brands: io.flow.v0.models.PaymentMethodBrand[];
8235
8263
  readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
8236
8264
  readonly images: io.flow.v0.models.PaymentMethodImages;
8237
- readonly possible_actions: io.flow.v0.enums.SupportedActionType[];
8265
+ readonly possible_actions: io.flow.v0.enums.PaymentActionType[];
8238
8266
  }
8239
8267
 
8240
8268
  interface PaymentPaypal {
@@ -8313,7 +8341,7 @@ declare namespace io.flow.v0.models {
8313
8341
  readonly attributes?: Record<string, string>;
8314
8342
  readonly reference?: string;
8315
8343
  readonly payment_information: io.flow.v0.models.PaymentInformation;
8316
- readonly supported_actions: io.flow.v0.enums.SupportedActionType[];
8344
+ readonly supported_actions: io.flow.v0.enums.PaymentActionType[];
8317
8345
  }
8318
8346
 
8319
8347
  interface PaymentRequestForm {
@@ -8326,7 +8354,7 @@ declare namespace io.flow.v0.models {
8326
8354
  readonly attributes?: Record<string, string>;
8327
8355
  readonly reference?: string;
8328
8356
  readonly payment_method_data?: io.flow.v0.unions.PaymentMethodData;
8329
- readonly supported_actions?: io.flow.v0.enums.SupportedActionType[];
8357
+ readonly supported_actions?: io.flow.v0.enums.PaymentActionType[];
8330
8358
  }
8331
8359
 
8332
8360
  interface PaymentRequestUpserted {
@@ -8398,6 +8426,15 @@ declare namespace io.flow.v0.models {
8398
8426
  readonly ip?: string;
8399
8427
  }
8400
8428
 
8429
+ interface PeakSurchargeByWeightServiceFee {
8430
+ readonly discriminator: 'peak_surcharge_by_weight_service_fee';
8431
+ readonly amount: io.flow.v0.models.Money;
8432
+ readonly weight: io.flow.v0.models.FeeWeight;
8433
+ readonly regions?: string[];
8434
+ readonly starts_at?: string;
8435
+ readonly ends_at?: string;
8436
+ }
8437
+
8401
8438
  interface PeakSurchargeRatecardFee {
8402
8439
  readonly discriminator: 'peak_surcharge_ratecard_fee';
8403
8440
  readonly amount: io.flow.v0.models.Money;
@@ -11481,7 +11518,8 @@ declare namespace io.flow.v0.unions {
11481
11518
  | io.flow.v0.models.FuelSurchargeServiceFee
11482
11519
  | io.flow.v0.models.RemoteAreaServiceFee
11483
11520
  | io.flow.v0.models.EmergencySituationSurchargeServiceFee
11484
- | io.flow.v0.models.PeakSurchargeServiceFee;
11521
+ | io.flow.v0.models.PeakSurchargeServiceFee
11522
+ | io.flow.v0.models.PeakSurchargeByWeightServiceFee;
11485
11523
  type Session = io.flow.v0.models.OrganizationSession;
11486
11524
  type SessionAuthorization = io.flow.v0.models.OrganizationSessionAuthorization;
11487
11525
  type ShippingLabelForm =
@@ -11713,6 +11751,10 @@ export type CenterSummary = io.flow.v0.models.CenterSummary;
11713
11751
  export type CenterUpserted = io.flow.v0.models.CenterUpserted;
11714
11752
  export type CenterVersion = io.flow.v0.models.CenterVersion;
11715
11753
  export type ChangeType = io.flow.v0.enums.ChangeType;
11754
+ export type Channel = io.flow.v0.models.Channel;
11755
+ export type ChannelForm = io.flow.v0.models.ChannelForm;
11756
+ export type ChannelOrganization = io.flow.v0.models.ChannelOrganization;
11757
+ export type ChannelReference = io.flow.v0.models.ChannelReference;
11716
11758
  export type CheckoutAttribute = io.flow.v0.models.CheckoutAttribute;
11717
11759
  export type CheckoutAttributeForm = io.flow.v0.models.CheckoutAttributeForm;
11718
11760
  export type CheckoutItemContent = io.flow.v0.models.CheckoutItemContent;
@@ -11977,6 +12019,7 @@ export type ExportStatus = io.flow.v0.enums.ExportStatus;
11977
12019
  export type ExportType = io.flow.v0.unions.ExportType;
11978
12020
  export type ExportVersion = io.flow.v0.models.ExportVersion;
11979
12021
  export type ExternalApiTimeoutReservationError = io.flow.v0.models.ExternalApiTimeoutReservationError;
12022
+ export type FeeWeight = io.flow.v0.models.FeeWeight;
11980
12023
  export type FieldValidationMax = io.flow.v0.models.FieldValidationMax;
11981
12024
  export type FieldValidationMin = io.flow.v0.models.FieldValidationMin;
11982
12025
  export type FieldValidationPattern = io.flow.v0.models.FieldValidationPattern;
@@ -12375,6 +12418,7 @@ export type PasswordChangeForm = io.flow.v0.models.PasswordChangeForm;
12375
12418
  export type PasswordResetForm = io.flow.v0.models.PasswordResetForm;
12376
12419
  export type PasswordResetRequestForm = io.flow.v0.models.PasswordResetRequestForm;
12377
12420
  export type Payment = io.flow.v0.unions.Payment;
12421
+ export type PaymentActionType = io.flow.v0.enums.PaymentActionType;
12378
12422
  export type PaymentAddress = io.flow.v0.models.PaymentAddress;
12379
12423
  export type PaymentAuthorization = io.flow.v0.models.PaymentAuthorization;
12380
12424
  export type PaymentAuthorizationStatus = io.flow.v0.models.PaymentAuthorizationStatus;
@@ -12457,6 +12501,7 @@ export type PaymentUpserted = io.flow.v0.models.PaymentUpserted;
12457
12501
  export type PaymentVersion = io.flow.v0.models.PaymentVersion;
12458
12502
  export type PaypalAuthorizationDetails = io.flow.v0.models.PaypalAuthorizationDetails;
12459
12503
  export type PaypalAuthorizationForm = io.flow.v0.models.PaypalAuthorizationForm;
12504
+ export type PeakSurchargeByWeightServiceFee = io.flow.v0.models.PeakSurchargeByWeightServiceFee;
12460
12505
  export type PeakSurchargeRatecardFee = io.flow.v0.models.PeakSurchargeRatecardFee;
12461
12506
  export type PeakSurchargeServiceFee = io.flow.v0.models.PeakSurchargeServiceFee;
12462
12507
  export type PercentMargin = io.flow.v0.models.PercentMargin;
@@ -12789,7 +12834,6 @@ export type SubcatalogUpserted = io.flow.v0.models.SubcatalogUpserted;
12789
12834
  export type SubcatalogVersion = io.flow.v0.models.SubcatalogVersion;
12790
12835
  export type Suggestion = io.flow.v0.models.Suggestion;
12791
12836
  export type SummaryShippingLabelForm = io.flow.v0.models.SummaryShippingLabelForm;
12792
- export type SupportedActionType = io.flow.v0.enums.SupportedActionType;
12793
12837
  export type SurchargeResponsibleParty = io.flow.v0.enums.SurchargeResponsibleParty;
12794
12838
  export type SurchargeResponsiblePartyDisplay = io.flow.v0.models.SurchargeResponsiblePartyDisplay;
12795
12839
  export type SurchargeSetting = io.flow.v0.models.SurchargeSetting;