@flowio/types 11.5.0 → 11.5.1

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.
@@ -12617,11 +12617,16 @@ declare namespace io.flow.checkout.configuration.v0.models {
12617
12617
  readonly name?: string;
12618
12618
  readonly tracker_id: string;
12619
12619
  readonly plugins: io.flow.checkout.configuration.v0.enums.GoogleAnalyticsPlugin[];
12620
+ readonly linker?: io.flow.checkout.configuration.v0.models.GoogleLinker;
12620
12621
  }
12621
12622
  interface GoogleGlobalSiteTag {
12622
12623
  readonly discriminator: 'google_global_site_tag';
12623
12624
  readonly name?: string;
12624
12625
  readonly tracker_id: string;
12626
+ readonly linker?: io.flow.checkout.configuration.v0.models.GoogleLinker;
12627
+ }
12628
+ interface GoogleLinker {
12629
+ readonly domains: string[];
12625
12630
  }
12626
12631
  interface GoogleTagManager {
12627
12632
  readonly discriminator: 'google_tag_manager';
@@ -16347,11 +16352,16 @@ declare namespace io.flow.internal.v0.models {
16347
16352
  readonly name?: string;
16348
16353
  readonly tracker_id: string;
16349
16354
  readonly plugins: io.flow.internal.v0.enums.GoogleAnalyticsPlugin[];
16355
+ readonly linker?: io.flow.internal.v0.models.GoogleLinker;
16350
16356
  }
16351
16357
  interface GoogleGlobalSiteTag {
16352
16358
  readonly discriminator: 'google_global_site_tag';
16353
16359
  readonly name?: string;
16354
16360
  readonly tracker_id: string;
16361
+ readonly linker?: io.flow.internal.v0.models.GoogleLinker;
16362
+ }
16363
+ interface GoogleLinker {
16364
+ readonly domains: string[];
16355
16365
  }
16356
16366
  interface GoogleShoppingAccountParameters {
16357
16367
  readonly website_url: string;
@@ -17839,6 +17849,29 @@ declare namespace io.flow.internal.v0.models {
17839
17849
  readonly organization: string;
17840
17850
  readonly master_transaction: io.flow.billing.internal.v0.models.MasterTransaction;
17841
17851
  }
17852
+ interface MerchantOfRecordEntitySettings {
17853
+ readonly id: string;
17854
+ readonly merchant_of_record_entity: io.flow.common.v0.models.MerchantOfRecordEntity;
17855
+ readonly starts_at: string;
17856
+ readonly ends_at?: string;
17857
+ readonly center?: string;
17858
+ readonly currency?: string;
17859
+ }
17860
+ interface MerchantOfRecordEntitySettingsForm {
17861
+ readonly name: string;
17862
+ readonly vat: io.flow.common.v0.models.MerchantOfRecordEntityRegistration;
17863
+ readonly streets: string[];
17864
+ readonly city: string;
17865
+ readonly province?: string;
17866
+ readonly postal?: string;
17867
+ readonly country: string;
17868
+ readonly phone?: string;
17869
+ readonly email?: string;
17870
+ readonly starts_at: string;
17871
+ readonly ends_at?: string;
17872
+ readonly center?: string;
17873
+ readonly currency?: string;
17874
+ }
17842
17875
  interface NextBillingStatement {
17843
17876
  readonly date: string;
17844
17877
  readonly amount: io.flow.common.v0.models.Price;
@@ -18399,6 +18432,31 @@ declare namespace io.flow.internal.v0.models {
18399
18432
  interface PingRequestForm {
18400
18433
  readonly placeholder?: string;
18401
18434
  }
18435
+ interface PlatformFeeChange {
18436
+ readonly organization_id: string;
18437
+ readonly key: string;
18438
+ readonly platform_fee: io.flow.internal.v0.unions.PlatformFee;
18439
+ readonly starts_at: string;
18440
+ readonly ends_at?: string;
18441
+ }
18442
+ interface PlatformFeeFlat {
18443
+ readonly discriminator: 'platform_fee_flat';
18444
+ readonly amount: number;
18445
+ readonly currency: string;
18446
+ readonly frequency: string;
18447
+ }
18448
+ interface PlatformFeeNoFee {
18449
+ readonly discriminator: 'platform_fee_no_fee';
18450
+ readonly attributes?: Record<string, string>;
18451
+ }
18452
+ interface PlatformFeePercentage {
18453
+ readonly discriminator: 'platform_fee_percentage';
18454
+ readonly tiers: io.flow.internal.v0.models.PlatformFeePercentageTier[];
18455
+ }
18456
+ interface PlatformFeePercentageTier {
18457
+ readonly minimum_amount_base: number;
18458
+ readonly rate: number;
18459
+ }
18402
18460
  interface Prediction {
18403
18461
  readonly main_material: string;
18404
18462
  readonly gender: string;
@@ -19973,6 +20031,7 @@ declare namespace io.flow.internal.v0.unions {
19973
20031
  type OrderActionForm = io.flow.internal.v0.models.WholeOrderActionForm | io.flow.internal.v0.models.LineActionForm | io.flow.internal.v0.models.FulfillmentActionForm;
19974
20032
  type PaymentRedirect = io.flow.internal.v0.models.OnlineAuthorizationCompleted | io.flow.internal.v0.models.RedirectActionCompleted;
19975
20033
  type PaymentSummaryDetails = io.flow.internal.v0.models.SearchAuthorization;
20034
+ type PlatformFee = io.flow.internal.v0.models.PlatformFeeNoFee | io.flow.internal.v0.models.PlatformFeeFlat | io.flow.internal.v0.models.PlatformFeePercentage;
19976
20035
  type ProcessorAccount = io.flow.internal.v0.models.StripeAccount | io.flow.internal.v0.models.AdyenAccount | io.flow.internal.v0.models.PaypalAccount | io.flow.internal.v0.models.AfterpayAccount | io.flow.internal.v0.models.BitpayAccount | io.flow.internal.v0.models.FiservAccount | io.flow.internal.v0.models.CryptoAccount;
19977
20036
  type ProcessorAccountModificationForm = io.flow.internal.v0.models.StripeAccountModificationForm | io.flow.internal.v0.models.AdyenAccountModificationForm | io.flow.internal.v0.models.PaypalAccountModificationForm | io.flow.internal.v0.models.AfterpayAccountModificationForm | io.flow.internal.v0.models.BitpayAccountModificationForm | io.flow.internal.v0.models.FiservAccountModificationForm | io.flow.internal.v0.models.CryptoAccountModificationForm;
19978
20037
  type ProcessorAccountPutForm = io.flow.internal.v0.models.StripeAccountPutForm | io.flow.internal.v0.models.AdyenAccountPutForm | io.flow.internal.v0.models.PaypalAccountPutForm | io.flow.internal.v0.models.AfterpayAccountPutForm | io.flow.internal.v0.models.BitpayAccountPutForm | io.flow.internal.v0.models.FiservAccountPutForm | io.flow.internal.v0.models.CryptoAccountPutForm;
@@ -20760,6 +20819,7 @@ export declare type GlobalSearchResult = io.flow.internal.v0.unions.GlobalSearch
20760
20819
  export declare type GoogleAnalytics = io.flow.internal.v0.models.GoogleAnalytics;
20761
20820
  export declare type GoogleAnalyticsPlugin = io.flow.internal.v0.enums.GoogleAnalyticsPlugin;
20762
20821
  export declare type GoogleGlobalSiteTag = io.flow.internal.v0.models.GoogleGlobalSiteTag;
20822
+ export declare type GoogleLinker = io.flow.internal.v0.models.GoogleLinker;
20763
20823
  export declare type GoogleShoppingAccountParameters = io.flow.internal.v0.models.GoogleShoppingAccountParameters;
20764
20824
  export declare type GoogleShoppingSetting = io.flow.internal.v0.models.GoogleShoppingSetting;
20765
20825
  export declare type GoogleTagManager = io.flow.internal.v0.models.GoogleTagManager;
@@ -20991,6 +21051,8 @@ export declare type MarketingGatewaySupportedChannelDetails = io.flow.internal.v
20991
21051
  export declare type MasterTransaction = io.flow.internal.v0.models.MasterTransaction;
20992
21052
  export declare type MasterTransactionDeleted = io.flow.internal.v0.models.MasterTransactionDeleted;
20993
21053
  export declare type MasterTransactionUpserted = io.flow.internal.v0.models.MasterTransactionUpserted;
21054
+ export declare type MerchantOfRecordEntitySettings = io.flow.internal.v0.models.MerchantOfRecordEntitySettings;
21055
+ export declare type MerchantOfRecordEntitySettingsForm = io.flow.internal.v0.models.MerchantOfRecordEntitySettingsForm;
20994
21056
  export declare type NatureOfSale = io.flow.internal.v0.enums.NatureOfSale;
20995
21057
  export declare type NextBillingStatement = io.flow.internal.v0.models.NextBillingStatement;
20996
21058
  export declare type NoCalculatedTaxAmount = io.flow.internal.v0.models.NoCalculatedTaxAmount;
@@ -21092,6 +21154,12 @@ export declare type PendingBankPaymentDetail = io.flow.internal.v0.models.Pendin
21092
21154
  export declare type PhraseClassified = io.flow.internal.v0.models.PhraseClassified;
21093
21155
  export declare type PhrasePropagated = io.flow.internal.v0.models.PhrasePropagated;
21094
21156
  export declare type PingRequestForm = io.flow.internal.v0.models.PingRequestForm;
21157
+ export declare type PlatformFee = io.flow.internal.v0.unions.PlatformFee;
21158
+ export declare type PlatformFeeChange = io.flow.internal.v0.models.PlatformFeeChange;
21159
+ export declare type PlatformFeeFlat = io.flow.internal.v0.models.PlatformFeeFlat;
21160
+ export declare type PlatformFeeNoFee = io.flow.internal.v0.models.PlatformFeeNoFee;
21161
+ export declare type PlatformFeePercentage = io.flow.internal.v0.models.PlatformFeePercentage;
21162
+ export declare type PlatformFeePercentageTier = io.flow.internal.v0.models.PlatformFeePercentageTier;
21095
21163
  export declare type Prediction = io.flow.internal.v0.models.Prediction;
21096
21164
  export declare type PregenDataKeyField = io.flow.internal.v0.enums.PregenDataKeyField;
21097
21165
  export declare type PregeneratedQuote = io.flow.internal.v0.models.PregeneratedQuote;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.5.0",
3
+ "version": "11.5.1",
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": "b074b7431789c52c4c75cd7719de08bb338ee973"
28
+ "gitHead": "6c1f76731fb3dd083295b51064520bc7142cdace"
29
29
  }
@@ -16383,12 +16383,18 @@ declare namespace io.flow.checkout.configuration.v0.models {
16383
16383
  readonly name?: string;
16384
16384
  readonly tracker_id: string;
16385
16385
  readonly plugins: io.flow.checkout.configuration.v0.enums.GoogleAnalyticsPlugin[];
16386
+ readonly linker?: io.flow.checkout.configuration.v0.models.GoogleLinker;
16386
16387
  }
16387
16388
 
16388
16389
  interface GoogleGlobalSiteTag {
16389
16390
  readonly discriminator: 'google_global_site_tag';
16390
16391
  readonly name?: string;
16391
16392
  readonly tracker_id: string;
16393
+ readonly linker?: io.flow.checkout.configuration.v0.models.GoogleLinker;
16394
+ }
16395
+
16396
+ interface GoogleLinker {
16397
+ readonly domains: string[];
16392
16398
  }
16393
16399
 
16394
16400
  interface GoogleTagManager {
@@ -21300,12 +21306,18 @@ declare namespace io.flow.internal.v0.models {
21300
21306
  readonly name?: string;
21301
21307
  readonly tracker_id: string;
21302
21308
  readonly plugins: io.flow.internal.v0.enums.GoogleAnalyticsPlugin[];
21309
+ readonly linker?: io.flow.internal.v0.models.GoogleLinker;
21303
21310
  }
21304
21311
 
21305
21312
  interface GoogleGlobalSiteTag {
21306
21313
  readonly discriminator: 'google_global_site_tag';
21307
21314
  readonly name?: string;
21308
21315
  readonly tracker_id: string;
21316
+ readonly linker?: io.flow.internal.v0.models.GoogleLinker;
21317
+ }
21318
+
21319
+ interface GoogleLinker {
21320
+ readonly domains: string[];
21309
21321
  }
21310
21322
 
21311
21323
  interface GoogleShoppingAccountParameters {
@@ -23001,6 +23013,31 @@ declare namespace io.flow.internal.v0.models {
23001
23013
  readonly master_transaction: io.flow.billing.internal.v0.models.MasterTransaction;
23002
23014
  }
23003
23015
 
23016
+ interface MerchantOfRecordEntitySettings {
23017
+ readonly id: string;
23018
+ readonly merchant_of_record_entity: io.flow.common.v0.models.MerchantOfRecordEntity;
23019
+ readonly starts_at: string;
23020
+ readonly ends_at?: string;
23021
+ readonly center?: string;
23022
+ readonly currency?: string;
23023
+ }
23024
+
23025
+ interface MerchantOfRecordEntitySettingsForm {
23026
+ readonly name: string;
23027
+ readonly vat: io.flow.common.v0.models.MerchantOfRecordEntityRegistration;
23028
+ readonly streets: string[];
23029
+ readonly city: string;
23030
+ readonly province?: string;
23031
+ readonly postal?: string;
23032
+ readonly country: string;
23033
+ readonly phone?: string;
23034
+ readonly email?: string;
23035
+ readonly starts_at: string;
23036
+ readonly ends_at?: string;
23037
+ readonly center?: string;
23038
+ readonly currency?: string;
23039
+ }
23040
+
23004
23041
  interface NextBillingStatement {
23005
23042
  readonly date: string;
23006
23043
  readonly amount: io.flow.common.v0.models.Price;
@@ -23648,6 +23685,36 @@ declare namespace io.flow.internal.v0.models {
23648
23685
  readonly placeholder?: string;
23649
23686
  }
23650
23687
 
23688
+ interface PlatformFeeChange {
23689
+ readonly organization_id: string;
23690
+ readonly key: string;
23691
+ readonly platform_fee: io.flow.internal.v0.unions.PlatformFee;
23692
+ readonly starts_at: string;
23693
+ readonly ends_at?: string;
23694
+ }
23695
+
23696
+ interface PlatformFeeFlat {
23697
+ readonly discriminator: 'platform_fee_flat';
23698
+ readonly amount: number;
23699
+ readonly currency: string;
23700
+ readonly frequency: string;
23701
+ }
23702
+
23703
+ interface PlatformFeeNoFee {
23704
+ readonly discriminator: 'platform_fee_no_fee';
23705
+ readonly attributes?: Record<string, string>;
23706
+ }
23707
+
23708
+ interface PlatformFeePercentage {
23709
+ readonly discriminator: 'platform_fee_percentage';
23710
+ readonly tiers: io.flow.internal.v0.models.PlatformFeePercentageTier[];
23711
+ }
23712
+
23713
+ interface PlatformFeePercentageTier {
23714
+ readonly minimum_amount_base: number;
23715
+ readonly rate: number;
23716
+ }
23717
+
23651
23718
  interface Prediction {
23652
23719
  readonly main_material: string;
23653
23720
  readonly gender: string;
@@ -25898,6 +25965,10 @@ declare namespace io.flow.internal.v0.unions {
25898
25965
  | io.flow.internal.v0.models.OnlineAuthorizationCompleted
25899
25966
  | io.flow.internal.v0.models.RedirectActionCompleted;
25900
25967
  type PaymentSummaryDetails = io.flow.internal.v0.models.SearchAuthorization;
25968
+ type PlatformFee =
25969
+ | io.flow.internal.v0.models.PlatformFeeNoFee
25970
+ | io.flow.internal.v0.models.PlatformFeeFlat
25971
+ | io.flow.internal.v0.models.PlatformFeePercentage;
25901
25972
  type ProcessorAccount =
25902
25973
  | io.flow.internal.v0.models.StripeAccount
25903
25974
  | io.flow.internal.v0.models.AdyenAccount
@@ -26756,6 +26827,7 @@ export type GlobalSearchResult = io.flow.internal.v0.unions.GlobalSearchResult;
26756
26827
  export type GoogleAnalytics = io.flow.internal.v0.models.GoogleAnalytics;
26757
26828
  export type GoogleAnalyticsPlugin = io.flow.internal.v0.enums.GoogleAnalyticsPlugin;
26758
26829
  export type GoogleGlobalSiteTag = io.flow.internal.v0.models.GoogleGlobalSiteTag;
26830
+ export type GoogleLinker = io.flow.internal.v0.models.GoogleLinker;
26759
26831
  export type GoogleShoppingAccountParameters = io.flow.internal.v0.models.GoogleShoppingAccountParameters;
26760
26832
  export type GoogleShoppingSetting = io.flow.internal.v0.models.GoogleShoppingSetting;
26761
26833
  export type GoogleTagManager = io.flow.internal.v0.models.GoogleTagManager;
@@ -26987,6 +27059,8 @@ export type MarketingGatewaySupportedChannelDetails = io.flow.internal.v0.models
26987
27059
  export type MasterTransaction = io.flow.internal.v0.models.MasterTransaction;
26988
27060
  export type MasterTransactionDeleted = io.flow.internal.v0.models.MasterTransactionDeleted;
26989
27061
  export type MasterTransactionUpserted = io.flow.internal.v0.models.MasterTransactionUpserted;
27062
+ export type MerchantOfRecordEntitySettings = io.flow.internal.v0.models.MerchantOfRecordEntitySettings;
27063
+ export type MerchantOfRecordEntitySettingsForm = io.flow.internal.v0.models.MerchantOfRecordEntitySettingsForm;
26990
27064
  export type NatureOfSale = io.flow.internal.v0.enums.NatureOfSale;
26991
27065
  export type NextBillingStatement = io.flow.internal.v0.models.NextBillingStatement;
26992
27066
  export type NoCalculatedTaxAmount = io.flow.internal.v0.models.NoCalculatedTaxAmount;
@@ -27088,6 +27162,12 @@ export type PendingBankPaymentDetail = io.flow.internal.v0.models.PendingBankPay
27088
27162
  export type PhraseClassified = io.flow.internal.v0.models.PhraseClassified;
27089
27163
  export type PhrasePropagated = io.flow.internal.v0.models.PhrasePropagated;
27090
27164
  export type PingRequestForm = io.flow.internal.v0.models.PingRequestForm;
27165
+ export type PlatformFee = io.flow.internal.v0.unions.PlatformFee;
27166
+ export type PlatformFeeChange = io.flow.internal.v0.models.PlatformFeeChange;
27167
+ export type PlatformFeeFlat = io.flow.internal.v0.models.PlatformFeeFlat;
27168
+ export type PlatformFeeNoFee = io.flow.internal.v0.models.PlatformFeeNoFee;
27169
+ export type PlatformFeePercentage = io.flow.internal.v0.models.PlatformFeePercentage;
27170
+ export type PlatformFeePercentageTier = io.flow.internal.v0.models.PlatformFeePercentageTier;
27091
27171
  export type Prediction = io.flow.internal.v0.models.Prediction;
27092
27172
  export type PregenDataKeyField = io.flow.internal.v0.enums.PregenDataKeyField;
27093
27173
  export type PregeneratedQuote = io.flow.internal.v0.models.PregeneratedQuote;