@flowio/types 11.24.3 → 11.24.5

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.d.ts CHANGED
@@ -2118,49 +2118,6 @@ declare namespace io.flow.error.v0.models {
2118
2118
  readonly messages: string[];
2119
2119
  }
2120
2120
  }
2121
- declare namespace io.flow.permission.v0.enums {
2122
- type AuthenticationTechnique = 'anonymous' | 'session' | 'token' | 'partner_token' | 'user';
2123
- type FlowBehavior = 'view_consumer_data';
2124
- type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'flow_operations' | 'channel_admin' | 'channel_organization_admin';
2125
- type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
2126
- }
2127
- declare namespace io.flow.permission.v0.models {
2128
- interface BehaviorAudit {
2129
- readonly behavior: io.flow.permission.v0.enums.FlowBehavior;
2130
- readonly authentication_techniques: io.flow.permission.v0.enums.AuthenticationTechnique[];
2131
- readonly roles: io.flow.permission.v0.enums.FlowRole[];
2132
- }
2133
- interface PermissionAudit {
2134
- readonly routes: io.flow.permission.v0.models.RouteAudit[];
2135
- readonly behaviors: io.flow.permission.v0.models.BehaviorAudit[];
2136
- }
2137
- interface PermissionCheck {
2138
- readonly authentication_technique: io.flow.permission.v0.enums.AuthenticationTechnique;
2139
- readonly user?: io.flow.common.v0.unions.ExpandableUser;
2140
- readonly roles: io.flow.permission.v0.enums.FlowRole[];
2141
- readonly behaviors: io.flow.permission.v0.enums.FlowBehavior[];
2142
- readonly routes: io.flow.permission.v0.models.PermittedRoute[];
2143
- }
2144
- interface PermissionError {
2145
- readonly code: io.flow.error.v0.enums.GenericErrorCode;
2146
- readonly messages: string[];
2147
- readonly granting_roles?: io.flow.permission.v0.enums.FlowRole[];
2148
- readonly admin_users?: io.flow.common.v0.models.User[];
2149
- }
2150
- interface PermittedRoute {
2151
- readonly method: io.flow.permission.v0.enums.PermittedHttpMethod;
2152
- readonly path: string;
2153
- }
2154
- interface RouteAudit {
2155
- readonly method: io.flow.permission.v0.enums.PermittedHttpMethod;
2156
- readonly path: string;
2157
- readonly authentication_techniques: io.flow.permission.v0.enums.AuthenticationTechnique[];
2158
- readonly roles: io.flow.permission.v0.enums.FlowRole[];
2159
- }
2160
- interface SimplePermissionCheck {
2161
- readonly behaviors: io.flow.permission.v0.enums.FlowBehavior[];
2162
- }
2163
- }
2164
2121
  declare namespace io.flow.token.internal.v0.models {
2165
2122
  interface ChannelTokenForm {
2166
2123
  readonly channel_id: string;
@@ -2355,7 +2312,7 @@ declare namespace io.flow.v0.enums {
2355
2312
  type PaymentSourceConfirmationActionType = 'cvv' | 'billing_address' | 'number';
2356
2313
  type PaymentStatus = 'requires_payment_method' | 'requires_action' | 'processing' | 'cancelled' | 'expired' | 'authorized' | 'reversed' | 'captured' | 'refunded' | 'in_dispute' | 'charged_back';
2357
2314
  type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'sofort' | 'afterpay' | 'bancontact';
2358
- type PayoutStatus = 'scheduled' | 'paid' | 'not_necessary';
2315
+ type PayoutStatusCode = 'scheduled' | 'sent' | 'cancelled' | 'not_necessary' | 'failed';
2359
2316
  type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
2360
2317
  type PhysicalDeliverySpecialSerivce = 'cold_storage' | 'hazardous' | 'perishable';
2361
2318
  type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
@@ -2411,6 +2368,7 @@ declare namespace io.flow.v0.enums {
2411
2368
  type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
2412
2369
  type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
2413
2370
  type TradeAgreementStatus = 'supported' | 'not_supported';
2371
+ type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'shipping_label';
2414
2372
  type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
2415
2373
  type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
2416
2374
  type UpdatePolicy = 'auto' | 'queue' | 'discard';
@@ -3624,6 +3582,21 @@ declare namespace io.flow.v0.models {
3624
3582
  readonly timestamp: string;
3625
3583
  readonly channel: io.flow.channel.internal.v0.models.Channel;
3626
3584
  }
3585
+ interface ChannelViesRegistration {
3586
+ readonly id: string;
3587
+ readonly key: string;
3588
+ readonly number: string;
3589
+ readonly timestamp: string;
3590
+ readonly result: io.flow.v0.enums.TaxVerificationResult;
3591
+ readonly result_reason?: string;
3592
+ readonly name?: string;
3593
+ readonly address?: string;
3594
+ readonly company_name?: string;
3595
+ }
3596
+ interface ChannelViesRegistrationForm {
3597
+ readonly number: string;
3598
+ readonly company_name?: string;
3599
+ }
3627
3600
  interface CheckoutAttribute {
3628
3601
  readonly id: string;
3629
3602
  readonly experience: io.flow.v0.models.ExperienceReference;
@@ -5067,6 +5040,14 @@ declare namespace io.flow.v0.models {
5067
5040
  readonly username: string;
5068
5041
  readonly password?: string;
5069
5042
  }
5043
+ interface FuelSurchargeAmountByWeightServiceFee {
5044
+ readonly discriminator: 'fuel_surcharge_amount_by_weight_service_fee';
5045
+ readonly amount: io.flow.v0.models.Money;
5046
+ readonly weight: io.flow.v0.models.FeeWeight;
5047
+ readonly regions?: string[];
5048
+ readonly starts_at?: string;
5049
+ readonly ends_at?: string;
5050
+ }
5070
5051
  interface FuelSurchargeRatecardFee {
5071
5052
  readonly discriminator: 'fuel_surcharge_ratecard_fee';
5072
5053
  readonly amount: io.flow.v0.models.Money;
@@ -7695,8 +7676,13 @@ declare namespace io.flow.v0.models {
7695
7676
  readonly payment: io.flow.v0.unions.Payment;
7696
7677
  }
7697
7678
  interface Payout {
7698
- readonly amount: number;
7699
- readonly sent_on: string;
7679
+ readonly status: io.flow.v0.models.PayoutStatus;
7680
+ readonly amount?: number;
7681
+ readonly sent_on?: string;
7682
+ }
7683
+ interface PayoutStatus {
7684
+ readonly code: io.flow.v0.enums.PayoutStatusCode;
7685
+ readonly reason?: string;
7700
7686
  }
7701
7687
  interface PaypalAuthorizationDetails {
7702
7688
  readonly discriminator: 'paypal_authorization_details';
@@ -7750,12 +7736,6 @@ declare namespace io.flow.v0.models {
7750
7736
  readonly behaviors: io.flow.v0.enums.FlowBehavior[];
7751
7737
  readonly routes: io.flow.v0.models.PermittedRoute[];
7752
7738
  }
7753
- interface PermissionError {
7754
- readonly code: io.flow.v0.enums.GenericErrorCode;
7755
- readonly messages: string[];
7756
- readonly granting_roles?: io.flow.v0.enums.FlowRole[];
7757
- readonly admin_users?: io.flow.v0.models.User[];
7758
- }
7759
7739
  interface PermittedRoute {
7760
7740
  readonly method: io.flow.v0.enums.PermittedHttpMethod;
7761
7741
  readonly path: string;
@@ -9287,6 +9267,7 @@ declare namespace io.flow.v0.models {
9287
9267
  readonly id: string;
9288
9268
  }
9289
9269
  interface ShopifyMerchantApplication {
9270
+ readonly discriminator: 'shopify_merchant_application';
9290
9271
  readonly id: string;
9291
9272
  readonly company?: io.flow.v0.models.MerchantInfo;
9292
9273
  readonly indirect_tax_number?: string;
@@ -9311,6 +9292,7 @@ declare namespace io.flow.v0.models {
9311
9292
  readonly created_at: string;
9312
9293
  }
9313
9294
  interface ShopifyMerchantApplicationForm {
9295
+ readonly discriminator: 'shopify_merchant_application_form';
9314
9296
  readonly company?: io.flow.v0.models.MerchantInfo;
9315
9297
  readonly indirect_tax_number?: string;
9316
9298
  readonly parent_company?: io.flow.v0.models.MerchantInfo;
@@ -9441,13 +9423,9 @@ declare namespace io.flow.v0.models {
9441
9423
  interface Statement {
9442
9424
  readonly id: string;
9443
9425
  readonly account: io.flow.v0.models.AccountReference;
9444
- readonly payout: io.flow.v0.models.StatementPayout;
9426
+ readonly payouts: io.flow.v0.models.Payout[];
9445
9427
  readonly attachments: io.flow.v0.models.Attachment[];
9446
9428
  }
9447
- interface StatementPayout {
9448
- readonly status: io.flow.v0.enums.PayoutStatus;
9449
- readonly payout?: io.flow.v0.models.Payout;
9450
- }
9451
9429
  interface StreetAddress {
9452
9430
  readonly streets?: string[];
9453
9431
  readonly city?: string;
@@ -10018,37 +9996,18 @@ declare namespace io.flow.v0.models {
10018
9996
  }
10019
9997
  interface Transaction {
10020
9998
  readonly id: string;
9999
+ readonly shopify_transaction_id: string;
10021
10000
  readonly order: io.flow.v0.models.BillingChannelOrderReference;
10022
10001
  readonly statement?: io.flow.v0.models.BillingChannelStatementReference;
10023
10002
  readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
10024
10003
  readonly currency: string;
10025
- readonly source: io.flow.v0.unions.TransactionSource;
10004
+ readonly source: io.flow.v0.enums.TransactionSource;
10026
10005
  readonly gross: number;
10027
10006
  readonly fees: io.flow.v0.models.Deduction[];
10028
10007
  readonly withholdings: io.flow.v0.models.Deduction[];
10029
10008
  readonly net: number;
10030
10009
  readonly created_at: string;
10031
10010
  }
10032
- interface TransactionSourceAdjustment {
10033
- readonly discriminator: 'transaction_source_adjustment';
10034
- readonly id: string;
10035
- }
10036
- interface TransactionSourceCapture {
10037
- readonly discriminator: 'transaction_source_capture';
10038
- readonly id: string;
10039
- }
10040
- interface TransactionSourceDispute {
10041
- readonly discriminator: 'transaction_source_dispute';
10042
- readonly id: string;
10043
- }
10044
- interface TransactionSourceRefund {
10045
- readonly discriminator: 'transaction_source_refund';
10046
- readonly id: string;
10047
- }
10048
- interface TransactionSourceShippingLabel {
10049
- readonly discriminator: 'transaction_source_shipping_label';
10050
- readonly id: string;
10051
- }
10052
10011
  interface TransitEstimate {
10053
10012
  readonly origin: io.flow.v0.enums.DeliveryWindowLocation;
10054
10013
  readonly destination: io.flow.v0.enums.DeliveryWindowLocation;
@@ -10289,6 +10248,8 @@ declare namespace io.flow.v0.unions {
10289
10248
  type InputSpecificationLimitation = io.flow.v0.models.InputSpecificationLimitationMax;
10290
10249
  type InventoryStrategy = io.flow.v0.models.InventoryBackorder | io.flow.v0.models.InventoryStock | io.flow.v0.models.InventoryUnlimited | io.flow.v0.models.InventoryFollowEcommercePlatform;
10291
10250
  type LocalizedPrice = io.flow.v0.models.LocalizedItemPrice | io.flow.v0.models.LocalizedItemVat | io.flow.v0.models.LocalizedItemDuty | io.flow.v0.models.LocalizedTotal;
10251
+ type MerchantApplication = io.flow.v0.models.ShopifyMerchantApplication;
10252
+ type MerchantApplicationForm = io.flow.v0.models.ShopifyMerchantApplicationForm;
10292
10253
  type OnlineAuthorizationDetails = io.flow.v0.models.CryptopayAuthorizationDetails | io.flow.v0.models.PaypalAuthorizationDetails | io.flow.v0.models.RedirectAuthorizationDetails | io.flow.v0.models.InlineAuthorizationDetails;
10293
10254
  type OrderInformation = io.flow.v0.models.OrderInformationFlow | io.flow.v0.models.OrderInformationDetails;
10294
10255
  type OrderNumberGenerator = io.flow.v0.models.OrderNumberGeneratorUuid | io.flow.v0.models.OrderNumberGeneratorHexadecimal | io.flow.v0.models.OrderNumberGeneratorPrefixSuffix;
@@ -10326,7 +10287,7 @@ declare namespace io.flow.v0.unions {
10326
10287
  type ReservationError = io.flow.v0.models.NoInventoryReservationError | io.flow.v0.models.ExternalApiTimeoutReservationError | io.flow.v0.models.GenericReservationError;
10327
10288
  type ReturnSource = io.flow.v0.models.ReturnSourceFlow | io.flow.v0.models.ReturnSourceExternalVendor;
10328
10289
  type SdkAdyenV3AuthenticationToken = io.flow.v0.models.AdyenV3FingerprintToken | io.flow.v0.models.AdyenV3ChallengeToken;
10329
- type ServiceFee = io.flow.v0.models.FuelSurchargeServiceFee | io.flow.v0.models.RemoteAreaServiceFee | io.flow.v0.models.EmergencySituationSurchargeServiceFee | io.flow.v0.models.PeakSurchargeServiceFee | io.flow.v0.models.PeakSurchargeByWeightServiceFee | io.flow.v0.models.DutiesTaxesPaidSurchargeServiceFee;
10290
+ type ServiceFee = io.flow.v0.models.FuelSurchargeServiceFee | io.flow.v0.models.FuelSurchargeAmountByWeightServiceFee | io.flow.v0.models.RemoteAreaServiceFee | io.flow.v0.models.EmergencySituationSurchargeServiceFee | io.flow.v0.models.PeakSurchargeServiceFee | io.flow.v0.models.PeakSurchargeByWeightServiceFee | io.flow.v0.models.DutiesTaxesPaidSurchargeServiceFee;
10330
10291
  type Session = io.flow.v0.models.OrganizationSession;
10331
10292
  type SessionAuthorization = io.flow.v0.models.OrganizationSessionAuthorization;
10332
10293
  type ShippingLabelForm = io.flow.v0.models.DetailedShippingLabelForm | io.flow.v0.models.SummaryShippingLabelForm;
@@ -10341,7 +10302,6 @@ declare namespace io.flow.v0.unions {
10341
10302
  type TierRuleOutcomeForm = io.flow.v0.models.AmountMarginForm | io.flow.v0.models.FlatRateForm | io.flow.v0.models.AtCost | io.flow.v0.models.PercentMargin;
10342
10303
  type Token = io.flow.v0.models.ChannelToken | io.flow.v0.models.OrganizationToken | io.flow.v0.models.OrganizationTokenV2 | io.flow.v0.models.PartnerToken;
10343
10304
  type TokenReference = io.flow.v0.models.ChannelTokenReference | io.flow.v0.models.OrganizationTokenReference | io.flow.v0.models.OrganizationTokenV2Reference | io.flow.v0.models.PartnerTokenReference;
10344
- type TransactionSource = io.flow.v0.models.TransactionSourceCapture | io.flow.v0.models.TransactionSourceRefund | io.flow.v0.models.TransactionSourceDispute | io.flow.v0.models.TransactionSourceAdjustment | io.flow.v0.models.TransactionSourceShippingLabel;
10345
10305
  }
10346
10306
  export declare type AbandonedOrderEmailSettings = io.flow.v0.models.AbandonedOrderEmailSettings;
10347
10307
  export declare type AbandonedOrderPromotion = io.flow.v0.models.AbandonedOrderPromotion;
@@ -10568,6 +10528,8 @@ export declare type ChannelToken = io.flow.v0.models.ChannelToken;
10568
10528
  export declare type ChannelTokenForm = io.flow.v0.models.ChannelTokenForm;
10569
10529
  export declare type ChannelTokenReference = io.flow.v0.models.ChannelTokenReference;
10570
10530
  export declare type ChannelUpserted = io.flow.v0.models.ChannelUpserted;
10531
+ export declare type ChannelViesRegistration = io.flow.v0.models.ChannelViesRegistration;
10532
+ export declare type ChannelViesRegistrationForm = io.flow.v0.models.ChannelViesRegistrationForm;
10571
10533
  export declare type CheckoutAttribute = io.flow.v0.models.CheckoutAttribute;
10572
10534
  export declare type CheckoutAttributeForm = io.flow.v0.models.CheckoutAttributeForm;
10573
10535
  export declare type CheckoutItemContent = io.flow.v0.models.CheckoutItemContent;
@@ -10883,6 +10845,7 @@ export declare type FtpOrganizationSettings = io.flow.v0.models.FtpOrganizationS
10883
10845
  export declare type FtpOrganizationSettingsForm = io.flow.v0.models.FtpOrganizationSettingsForm;
10884
10846
  export declare type FtpServer = io.flow.v0.models.FtpServer;
10885
10847
  export declare type FtpUser = io.flow.v0.models.FtpUser;
10848
+ export declare type FuelSurchargeAmountByWeightServiceFee = io.flow.v0.models.FuelSurchargeAmountByWeightServiceFee;
10886
10849
  export declare type FuelSurchargeRatecardFee = io.flow.v0.models.FuelSurchargeRatecardFee;
10887
10850
  export declare type FuelSurchargeServiceFee = io.flow.v0.models.FuelSurchargeServiceFee;
10888
10851
  export declare type Fulfillment = io.flow.v0.models.Fulfillment;
@@ -11086,6 +11049,8 @@ export declare type MembershipForm = io.flow.v0.models.MembershipForm;
11086
11049
  export declare type MembershipPutForm = io.flow.v0.models.MembershipPutForm;
11087
11050
  export declare type MembershipUpsertedV2 = io.flow.v0.models.MembershipUpsertedV2;
11088
11051
  export declare type MembershipVersion = io.flow.v0.models.MembershipVersion;
11052
+ export declare type MerchantApplication = io.flow.v0.unions.MerchantApplication;
11053
+ export declare type MerchantApplicationForm = io.flow.v0.unions.MerchantApplicationForm;
11089
11054
  export declare type MerchantGiftCardBalance = io.flow.v0.models.MerchantGiftCardBalance;
11090
11055
  export declare type MerchantGiftCardBalanceForm = io.flow.v0.models.MerchantGiftCardBalanceForm;
11091
11056
  export declare type MerchantGiftCardError = io.flow.v0.models.MerchantGiftCardError;
@@ -11401,7 +11366,8 @@ export declare type PaymentType = io.flow.v0.enums.PaymentType;
11401
11366
  export declare type PaymentUpserted = io.flow.v0.models.PaymentUpserted;
11402
11367
  export declare type PaymentVersion = io.flow.v0.models.PaymentVersion;
11403
11368
  export declare type Payout = io.flow.v0.models.Payout;
11404
- export declare type PayoutStatus = io.flow.v0.enums.PayoutStatus;
11369
+ export declare type PayoutStatus = io.flow.v0.models.PayoutStatus;
11370
+ export declare type PayoutStatusCode = io.flow.v0.enums.PayoutStatusCode;
11405
11371
  export declare type PaypalAuthorizationDetails = io.flow.v0.models.PaypalAuthorizationDetails;
11406
11372
  export declare type PaypalAuthorizationForm = io.flow.v0.models.PaypalAuthorizationForm;
11407
11373
  export declare type PeakSurchargeByWeightServiceFee = io.flow.v0.models.PeakSurchargeByWeightServiceFee;
@@ -11410,7 +11376,6 @@ export declare type PeakSurchargeServiceFee = io.flow.v0.models.PeakSurchargeSer
11410
11376
  export declare type PercentMargin = io.flow.v0.models.PercentMargin;
11411
11377
  export declare type PermissionAudit = io.flow.v0.models.PermissionAudit;
11412
11378
  export declare type PermissionCheck = io.flow.v0.models.PermissionCheck;
11413
- export declare type PermissionError = io.flow.v0.models.PermissionError;
11414
11379
  export declare type PermittedHttpMethod = io.flow.v0.enums.PermittedHttpMethod;
11415
11380
  export declare type PermittedRoute = io.flow.v0.models.PermittedRoute;
11416
11381
  export declare type PfsInventoryCheckResponse = io.flow.v0.models.PfsInventoryCheckResponse;
@@ -11725,7 +11690,6 @@ export declare type SolidusProductExportType = io.flow.v0.models.SolidusProductE
11725
11690
  export declare type SolidusVariantExportType = io.flow.v0.models.SolidusVariantExportType;
11726
11691
  export declare type SortDirection = io.flow.v0.enums.SortDirection;
11727
11692
  export declare type Statement = io.flow.v0.models.Statement;
11728
- export declare type StatementPayout = io.flow.v0.models.StatementPayout;
11729
11693
  export declare type Strategy = io.flow.v0.enums.Strategy;
11730
11694
  export declare type StreetAddress = io.flow.v0.models.StreetAddress;
11731
11695
  export declare type StripeAuthenticationData = io.flow.v0.models.StripeAuthenticationData;
@@ -11847,12 +11811,7 @@ export declare type TradeAgreementDuty = io.flow.v0.models.TradeAgreementDuty;
11847
11811
  export declare type TradeAgreementName = io.flow.v0.enums.TradeAgreementName;
11848
11812
  export declare type TradeAgreementStatus = io.flow.v0.enums.TradeAgreementStatus;
11849
11813
  export declare type Transaction = io.flow.v0.models.Transaction;
11850
- export declare type TransactionSource = io.flow.v0.unions.TransactionSource;
11851
- export declare type TransactionSourceAdjustment = io.flow.v0.models.TransactionSourceAdjustment;
11852
- export declare type TransactionSourceCapture = io.flow.v0.models.TransactionSourceCapture;
11853
- export declare type TransactionSourceDispute = io.flow.v0.models.TransactionSourceDispute;
11854
- export declare type TransactionSourceRefund = io.flow.v0.models.TransactionSourceRefund;
11855
- export declare type TransactionSourceShippingLabel = io.flow.v0.models.TransactionSourceShippingLabel;
11814
+ export declare type TransactionSource = io.flow.v0.enums.TransactionSource;
11856
11815
  export declare type TransitEstimate = io.flow.v0.models.TransitEstimate;
11857
11816
  export declare type TransitWindow = io.flow.v0.models.TransitWindow;
11858
11817
  export declare type UnharmonizedItemExportType = io.flow.v0.models.UnharmonizedItemExportType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.3",
3
+ "version": "11.24.5",
4
4
  "description": "TypeScript type definitions for custom types found in Flow API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -25,5 +25,5 @@
25
25
  "maintainers": [
26
26
  "Christian Muñoz <christian.munoz@flow.io>"
27
27
  ],
28
- "gitHead": "f902f05cda2ea4fb6a86396488a060cf91595a89"
28
+ "gitHead": "fd6cd7b13d84f3237b236a265153ac81ed13f91e"
29
29
  }