@flowio/types 11.4.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.
@@ -1965,16 +1965,23 @@ declare namespace io.flow.RESERVED_WORD_export.v0.models {
1965
1965
  readonly q?: string;
1966
1966
  readonly sort?: string;
1967
1967
  }
1968
- interface CsvPriceBookItemExportRow {
1968
+ interface CsvPriceBookItemExportRowByItemNumber {
1969
+ readonly item_number: string;
1969
1970
  readonly price_book_key: string;
1970
1971
  readonly price_book_item_key: string;
1971
- readonly item_number: string;
1972
+ readonly item_name: string;
1973
+ readonly amount: number;
1974
+ readonly item_attributes?: Record<string, string>;
1975
+ readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
1976
+ }
1977
+ interface CsvPriceBookItemExportRowBySku {
1972
1978
  readonly sku: string;
1979
+ readonly price_book_key: string;
1980
+ readonly price_book_item_key: string;
1973
1981
  readonly item_name: string;
1974
1982
  readonly amount: number;
1975
1983
  readonly item_attributes?: Record<string, string>;
1976
- readonly starts_at: string;
1977
- readonly ends_at?: string;
1984
+ readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
1978
1985
  }
1979
1986
  interface ExperienceExportType {
1980
1987
  readonly discriminator: 'experience_export_type';
@@ -5436,6 +5443,9 @@ declare namespace io.flow.search.v0.models {
5436
5443
  readonly q: string;
5437
5444
  readonly count?: number;
5438
5445
  }
5446
+ interface PriceBookItemExportOptions {
5447
+ readonly available_identifiers: io.flow.RESERVED_WORD_export.v0.enums.ItemIdentifier[];
5448
+ }
5439
5449
  interface Suggestion {
5440
5450
  readonly label: string;
5441
5451
  readonly count: number;
@@ -11703,7 +11713,11 @@ declare namespace io.flow.payment.v0.models {
11703
11713
  readonly organization: string;
11704
11714
  readonly key: string;
11705
11715
  readonly identifier: io.flow.payment.v0.models.PaymentProcessorIdentifier;
11706
- readonly parent_account?: io.flow.payment.v0.models.PaymentProcessorAccount;
11716
+ readonly parent_account?: io.flow.payment.v0.models.PaymentProcessorAccountReference;
11717
+ }
11718
+ interface PaymentProcessorAccountReference {
11719
+ readonly organization: string;
11720
+ readonly key: string;
11707
11721
  }
11708
11722
  interface PaymentProcessorIdentifier {
11709
11723
  readonly id: string;
@@ -12603,11 +12617,16 @@ declare namespace io.flow.checkout.configuration.v0.models {
12603
12617
  readonly name?: string;
12604
12618
  readonly tracker_id: string;
12605
12619
  readonly plugins: io.flow.checkout.configuration.v0.enums.GoogleAnalyticsPlugin[];
12620
+ readonly linker?: io.flow.checkout.configuration.v0.models.GoogleLinker;
12606
12621
  }
12607
12622
  interface GoogleGlobalSiteTag {
12608
12623
  readonly discriminator: 'google_global_site_tag';
12609
12624
  readonly name?: string;
12610
12625
  readonly tracker_id: string;
12626
+ readonly linker?: io.flow.checkout.configuration.v0.models.GoogleLinker;
12627
+ }
12628
+ interface GoogleLinker {
12629
+ readonly domains: string[];
12611
12630
  }
12612
12631
  interface GoogleTagManager {
12613
12632
  readonly discriminator: 'google_tag_manager';
@@ -16333,11 +16352,16 @@ declare namespace io.flow.internal.v0.models {
16333
16352
  readonly name?: string;
16334
16353
  readonly tracker_id: string;
16335
16354
  readonly plugins: io.flow.internal.v0.enums.GoogleAnalyticsPlugin[];
16355
+ readonly linker?: io.flow.internal.v0.models.GoogleLinker;
16336
16356
  }
16337
16357
  interface GoogleGlobalSiteTag {
16338
16358
  readonly discriminator: 'google_global_site_tag';
16339
16359
  readonly name?: string;
16340
16360
  readonly tracker_id: string;
16361
+ readonly linker?: io.flow.internal.v0.models.GoogleLinker;
16362
+ }
16363
+ interface GoogleLinker {
16364
+ readonly domains: string[];
16341
16365
  }
16342
16366
  interface GoogleShoppingAccountParameters {
16343
16367
  readonly website_url: string;
@@ -17825,6 +17849,29 @@ declare namespace io.flow.internal.v0.models {
17825
17849
  readonly organization: string;
17826
17850
  readonly master_transaction: io.flow.billing.internal.v0.models.MasterTransaction;
17827
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
+ }
17828
17875
  interface NextBillingStatement {
17829
17876
  readonly date: string;
17830
17877
  readonly amount: io.flow.common.v0.models.Price;
@@ -18385,6 +18432,31 @@ declare namespace io.flow.internal.v0.models {
18385
18432
  interface PingRequestForm {
18386
18433
  readonly placeholder?: string;
18387
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
+ }
18388
18460
  interface Prediction {
18389
18461
  readonly main_material: string;
18390
18462
  readonly gender: string;
@@ -19959,6 +20031,7 @@ declare namespace io.flow.internal.v0.unions {
19959
20031
  type OrderActionForm = io.flow.internal.v0.models.WholeOrderActionForm | io.flow.internal.v0.models.LineActionForm | io.flow.internal.v0.models.FulfillmentActionForm;
19960
20032
  type PaymentRedirect = io.flow.internal.v0.models.OnlineAuthorizationCompleted | io.flow.internal.v0.models.RedirectActionCompleted;
19961
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;
19962
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;
19963
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;
19964
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;
@@ -20746,6 +20819,7 @@ export declare type GlobalSearchResult = io.flow.internal.v0.unions.GlobalSearch
20746
20819
  export declare type GoogleAnalytics = io.flow.internal.v0.models.GoogleAnalytics;
20747
20820
  export declare type GoogleAnalyticsPlugin = io.flow.internal.v0.enums.GoogleAnalyticsPlugin;
20748
20821
  export declare type GoogleGlobalSiteTag = io.flow.internal.v0.models.GoogleGlobalSiteTag;
20822
+ export declare type GoogleLinker = io.flow.internal.v0.models.GoogleLinker;
20749
20823
  export declare type GoogleShoppingAccountParameters = io.flow.internal.v0.models.GoogleShoppingAccountParameters;
20750
20824
  export declare type GoogleShoppingSetting = io.flow.internal.v0.models.GoogleShoppingSetting;
20751
20825
  export declare type GoogleTagManager = io.flow.internal.v0.models.GoogleTagManager;
@@ -20977,6 +21051,8 @@ export declare type MarketingGatewaySupportedChannelDetails = io.flow.internal.v
20977
21051
  export declare type MasterTransaction = io.flow.internal.v0.models.MasterTransaction;
20978
21052
  export declare type MasterTransactionDeleted = io.flow.internal.v0.models.MasterTransactionDeleted;
20979
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;
20980
21056
  export declare type NatureOfSale = io.flow.internal.v0.enums.NatureOfSale;
20981
21057
  export declare type NextBillingStatement = io.flow.internal.v0.models.NextBillingStatement;
20982
21058
  export declare type NoCalculatedTaxAmount = io.flow.internal.v0.models.NoCalculatedTaxAmount;
@@ -21078,6 +21154,12 @@ export declare type PendingBankPaymentDetail = io.flow.internal.v0.models.Pendin
21078
21154
  export declare type PhraseClassified = io.flow.internal.v0.models.PhraseClassified;
21079
21155
  export declare type PhrasePropagated = io.flow.internal.v0.models.PhrasePropagated;
21080
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;
21081
21163
  export declare type Prediction = io.flow.internal.v0.models.Prediction;
21082
21164
  export declare type PregenDataKeyField = io.flow.internal.v0.enums.PregenDataKeyField;
21083
21165
  export declare type PregeneratedQuote = io.flow.internal.v0.models.PregeneratedQuote;
package/dist/api.d.ts CHANGED
@@ -2271,16 +2271,23 @@ declare namespace io.flow.v0.models {
2271
2271
  readonly discriminator: 'cryptopay_authorization_details';
2272
2272
  readonly payment_id: string;
2273
2273
  }
2274
- interface CsvPriceBookItemExportRow {
2274
+ interface CsvPriceBookItemExportRowByItemNumber {
2275
+ readonly item_number: string;
2275
2276
  readonly price_book_key: string;
2276
2277
  readonly price_book_item_key: string;
2277
- readonly item_number: string;
2278
+ readonly item_name: string;
2279
+ readonly amount: number;
2280
+ readonly item_attributes?: Record<string, string>;
2281
+ readonly schedule: io.flow.v0.models.PriceBookItemSchedule;
2282
+ }
2283
+ interface CsvPriceBookItemExportRowBySku {
2278
2284
  readonly sku: string;
2285
+ readonly price_book_key: string;
2286
+ readonly price_book_item_key: string;
2279
2287
  readonly item_name: string;
2280
2288
  readonly amount: number;
2281
2289
  readonly item_attributes?: Record<string, string>;
2282
- readonly starts_at: string;
2283
- readonly ends_at?: string;
2290
+ readonly schedule: io.flow.v0.models.PriceBookItemSchedule;
2284
2291
  }
2285
2292
  interface Currency {
2286
2293
  readonly name: string;
@@ -5233,7 +5240,11 @@ declare namespace io.flow.v0.models {
5233
5240
  readonly organization: string;
5234
5241
  readonly key: string;
5235
5242
  readonly identifier: io.flow.v0.models.PaymentProcessorIdentifier;
5236
- readonly parent_account?: io.flow.v0.models.PaymentProcessorAccount;
5243
+ readonly parent_account?: io.flow.v0.models.PaymentProcessorAccountReference;
5244
+ }
5245
+ interface PaymentProcessorAccountReference {
5246
+ readonly organization: string;
5247
+ readonly key: string;
5237
5248
  }
5238
5249
  interface PaymentProcessorIdentifier {
5239
5250
  readonly id: string;
@@ -5374,6 +5385,9 @@ declare namespace io.flow.v0.models {
5374
5385
  readonly organization: string;
5375
5386
  readonly id: string;
5376
5387
  }
5388
+ interface PriceBookItemExportOptions {
5389
+ readonly available_identifiers: io.flow.v0.enums.ItemIdentifier[];
5390
+ }
5377
5391
  interface PriceBookItemExportType {
5378
5392
  readonly discriminator: 'price_book_item_export_type';
5379
5393
  readonly price_book_key?: string;
@@ -7798,7 +7812,8 @@ export declare type CrossdockRatecardFee = io.flow.v0.models.CrossdockRatecardFe
7798
7812
  export declare type CrossdockShipment = io.flow.v0.models.CrossdockShipment;
7799
7813
  export declare type CrossdockShipmentUpserted = io.flow.v0.models.CrossdockShipmentUpserted;
7800
7814
  export declare type CryptopayAuthorizationDetails = io.flow.v0.models.CryptopayAuthorizationDetails;
7801
- export declare type CsvPriceBookItemExportRow = io.flow.v0.models.CsvPriceBookItemExportRow;
7815
+ export declare type CsvPriceBookItemExportRowByItemNumber = io.flow.v0.models.CsvPriceBookItemExportRowByItemNumber;
7816
+ export declare type CsvPriceBookItemExportRowBySku = io.flow.v0.models.CsvPriceBookItemExportRowBySku;
7802
7817
  export declare type Currency = io.flow.v0.models.Currency;
7803
7818
  export declare type CurrencyFormat = io.flow.v0.models.CurrencyFormat;
7804
7819
  export declare type CurrencyFormatDeleted = io.flow.v0.models.CurrencyFormatDeleted;
@@ -8386,6 +8401,7 @@ export declare type PaymentMethodType = io.flow.v0.enums.PaymentMethodType;
8386
8401
  export declare type PaymentPaypal = io.flow.v0.models.PaymentPaypal;
8387
8402
  export declare type PaymentProcessor = io.flow.v0.models.PaymentProcessor;
8388
8403
  export declare type PaymentProcessorAccount = io.flow.v0.models.PaymentProcessorAccount;
8404
+ export declare type PaymentProcessorAccountReference = io.flow.v0.models.PaymentProcessorAccountReference;
8389
8405
  export declare type PaymentProcessorIdentifier = io.flow.v0.models.PaymentProcessorIdentifier;
8390
8406
  export declare type PaymentProcessorReference = io.flow.v0.models.PaymentProcessorReference;
8391
8407
  export declare type PaymentReference = io.flow.v0.models.PaymentReference;
@@ -8416,6 +8432,7 @@ export declare type PriceBookDeleted = io.flow.v0.models.PriceBookDeleted;
8416
8432
  export declare type PriceBookForm = io.flow.v0.models.PriceBookForm;
8417
8433
  export declare type PriceBookItem = io.flow.v0.models.PriceBookItem;
8418
8434
  export declare type PriceBookItemDeleted = io.flow.v0.models.PriceBookItemDeleted;
8435
+ export declare type PriceBookItemExportOptions = io.flow.v0.models.PriceBookItemExportOptions;
8419
8436
  export declare type PriceBookItemExportType = io.flow.v0.models.PriceBookItemExportType;
8420
8437
  export declare type PriceBookItemForm = io.flow.v0.models.PriceBookItemForm;
8421
8438
  export declare type PriceBookItemQueryForm = io.flow.v0.models.PriceBookItemQueryForm;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.4.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": "8b4a9585c061f8fe0336c6128174b5cdd34a710f"
28
+ "gitHead": "6c1f76731fb3dd083295b51064520bc7142cdace"
29
29
  }
@@ -2699,16 +2699,24 @@ declare namespace io.flow.RESERVED_WORD_export.v0.models {
2699
2699
  readonly sort?: string;
2700
2700
  }
2701
2701
 
2702
- interface CsvPriceBookItemExportRow {
2702
+ interface CsvPriceBookItemExportRowByItemNumber {
2703
+ readonly item_number: string;
2703
2704
  readonly price_book_key: string;
2704
2705
  readonly price_book_item_key: string;
2705
- readonly item_number: string;
2706
+ readonly item_name: string;
2707
+ readonly amount: number;
2708
+ readonly item_attributes?: Record<string, string>;
2709
+ readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
2710
+ }
2711
+
2712
+ interface CsvPriceBookItemExportRowBySku {
2706
2713
  readonly sku: string;
2714
+ readonly price_book_key: string;
2715
+ readonly price_book_item_key: string;
2707
2716
  readonly item_name: string;
2708
2717
  readonly amount: number;
2709
2718
  readonly item_attributes?: Record<string, string>;
2710
- readonly starts_at: string;
2711
- readonly ends_at?: string;
2719
+ readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
2712
2720
  }
2713
2721
 
2714
2722
  interface ExperienceExportType {
@@ -7390,6 +7398,10 @@ declare namespace io.flow.search.v0.models {
7390
7398
  readonly count?: number;
7391
7399
  }
7392
7400
 
7401
+ interface PriceBookItemExportOptions {
7402
+ readonly available_identifiers: io.flow.RESERVED_WORD_export.v0.enums.ItemIdentifier[];
7403
+ }
7404
+
7393
7405
  interface Suggestion {
7394
7406
  readonly label: string;
7395
7407
  readonly count: number;
@@ -15237,7 +15249,12 @@ declare namespace io.flow.payment.v0.models {
15237
15249
  readonly organization: string;
15238
15250
  readonly key: string;
15239
15251
  readonly identifier: io.flow.payment.v0.models.PaymentProcessorIdentifier;
15240
- readonly parent_account?: io.flow.payment.v0.models.PaymentProcessorAccount;
15252
+ readonly parent_account?: io.flow.payment.v0.models.PaymentProcessorAccountReference;
15253
+ }
15254
+
15255
+ interface PaymentProcessorAccountReference {
15256
+ readonly organization: string;
15257
+ readonly key: string;
15241
15258
  }
15242
15259
 
15243
15260
  interface PaymentProcessorIdentifier {
@@ -16366,12 +16383,18 @@ declare namespace io.flow.checkout.configuration.v0.models {
16366
16383
  readonly name?: string;
16367
16384
  readonly tracker_id: string;
16368
16385
  readonly plugins: io.flow.checkout.configuration.v0.enums.GoogleAnalyticsPlugin[];
16386
+ readonly linker?: io.flow.checkout.configuration.v0.models.GoogleLinker;
16369
16387
  }
16370
16388
 
16371
16389
  interface GoogleGlobalSiteTag {
16372
16390
  readonly discriminator: 'google_global_site_tag';
16373
16391
  readonly name?: string;
16374
16392
  readonly tracker_id: string;
16393
+ readonly linker?: io.flow.checkout.configuration.v0.models.GoogleLinker;
16394
+ }
16395
+
16396
+ interface GoogleLinker {
16397
+ readonly domains: string[];
16375
16398
  }
16376
16399
 
16377
16400
  interface GoogleTagManager {
@@ -21283,12 +21306,18 @@ declare namespace io.flow.internal.v0.models {
21283
21306
  readonly name?: string;
21284
21307
  readonly tracker_id: string;
21285
21308
  readonly plugins: io.flow.internal.v0.enums.GoogleAnalyticsPlugin[];
21309
+ readonly linker?: io.flow.internal.v0.models.GoogleLinker;
21286
21310
  }
21287
21311
 
21288
21312
  interface GoogleGlobalSiteTag {
21289
21313
  readonly discriminator: 'google_global_site_tag';
21290
21314
  readonly name?: string;
21291
21315
  readonly tracker_id: string;
21316
+ readonly linker?: io.flow.internal.v0.models.GoogleLinker;
21317
+ }
21318
+
21319
+ interface GoogleLinker {
21320
+ readonly domains: string[];
21292
21321
  }
21293
21322
 
21294
21323
  interface GoogleShoppingAccountParameters {
@@ -22984,6 +23013,31 @@ declare namespace io.flow.internal.v0.models {
22984
23013
  readonly master_transaction: io.flow.billing.internal.v0.models.MasterTransaction;
22985
23014
  }
22986
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
+
22987
23041
  interface NextBillingStatement {
22988
23042
  readonly date: string;
22989
23043
  readonly amount: io.flow.common.v0.models.Price;
@@ -23631,6 +23685,36 @@ declare namespace io.flow.internal.v0.models {
23631
23685
  readonly placeholder?: string;
23632
23686
  }
23633
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
+
23634
23718
  interface Prediction {
23635
23719
  readonly main_material: string;
23636
23720
  readonly gender: string;
@@ -25881,6 +25965,10 @@ declare namespace io.flow.internal.v0.unions {
25881
25965
  | io.flow.internal.v0.models.OnlineAuthorizationCompleted
25882
25966
  | io.flow.internal.v0.models.RedirectActionCompleted;
25883
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;
25884
25972
  type ProcessorAccount =
25885
25973
  | io.flow.internal.v0.models.StripeAccount
25886
25974
  | io.flow.internal.v0.models.AdyenAccount
@@ -26739,6 +26827,7 @@ export type GlobalSearchResult = io.flow.internal.v0.unions.GlobalSearchResult;
26739
26827
  export type GoogleAnalytics = io.flow.internal.v0.models.GoogleAnalytics;
26740
26828
  export type GoogleAnalyticsPlugin = io.flow.internal.v0.enums.GoogleAnalyticsPlugin;
26741
26829
  export type GoogleGlobalSiteTag = io.flow.internal.v0.models.GoogleGlobalSiteTag;
26830
+ export type GoogleLinker = io.flow.internal.v0.models.GoogleLinker;
26742
26831
  export type GoogleShoppingAccountParameters = io.flow.internal.v0.models.GoogleShoppingAccountParameters;
26743
26832
  export type GoogleShoppingSetting = io.flow.internal.v0.models.GoogleShoppingSetting;
26744
26833
  export type GoogleTagManager = io.flow.internal.v0.models.GoogleTagManager;
@@ -26970,6 +27059,8 @@ export type MarketingGatewaySupportedChannelDetails = io.flow.internal.v0.models
26970
27059
  export type MasterTransaction = io.flow.internal.v0.models.MasterTransaction;
26971
27060
  export type MasterTransactionDeleted = io.flow.internal.v0.models.MasterTransactionDeleted;
26972
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;
26973
27064
  export type NatureOfSale = io.flow.internal.v0.enums.NatureOfSale;
26974
27065
  export type NextBillingStatement = io.flow.internal.v0.models.NextBillingStatement;
26975
27066
  export type NoCalculatedTaxAmount = io.flow.internal.v0.models.NoCalculatedTaxAmount;
@@ -27071,6 +27162,12 @@ export type PendingBankPaymentDetail = io.flow.internal.v0.models.PendingBankPay
27071
27162
  export type PhraseClassified = io.flow.internal.v0.models.PhraseClassified;
27072
27163
  export type PhrasePropagated = io.flow.internal.v0.models.PhrasePropagated;
27073
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;
27074
27171
  export type Prediction = io.flow.internal.v0.models.Prediction;
27075
27172
  export type PregenDataKeyField = io.flow.internal.v0.enums.PregenDataKeyField;
27076
27173
  export type PregeneratedQuote = io.flow.internal.v0.models.PregeneratedQuote;
package/src/api.ts CHANGED
@@ -3171,16 +3171,24 @@ declare namespace io.flow.v0.models {
3171
3171
  readonly payment_id: string;
3172
3172
  }
3173
3173
 
3174
- interface CsvPriceBookItemExportRow {
3174
+ interface CsvPriceBookItemExportRowByItemNumber {
3175
+ readonly item_number: string;
3175
3176
  readonly price_book_key: string;
3176
3177
  readonly price_book_item_key: string;
3177
- readonly item_number: string;
3178
+ readonly item_name: string;
3179
+ readonly amount: number;
3180
+ readonly item_attributes?: Record<string, string>;
3181
+ readonly schedule: io.flow.v0.models.PriceBookItemSchedule;
3182
+ }
3183
+
3184
+ interface CsvPriceBookItemExportRowBySku {
3178
3185
  readonly sku: string;
3186
+ readonly price_book_key: string;
3187
+ readonly price_book_item_key: string;
3179
3188
  readonly item_name: string;
3180
3189
  readonly amount: number;
3181
3190
  readonly item_attributes?: Record<string, string>;
3182
- readonly starts_at: string;
3183
- readonly ends_at?: string;
3191
+ readonly schedule: io.flow.v0.models.PriceBookItemSchedule;
3184
3192
  }
3185
3193
 
3186
3194
  interface Currency {
@@ -6617,7 +6625,12 @@ declare namespace io.flow.v0.models {
6617
6625
  readonly organization: string;
6618
6626
  readonly key: string;
6619
6627
  readonly identifier: io.flow.v0.models.PaymentProcessorIdentifier;
6620
- readonly parent_account?: io.flow.v0.models.PaymentProcessorAccount;
6628
+ readonly parent_account?: io.flow.v0.models.PaymentProcessorAccountReference;
6629
+ }
6630
+
6631
+ interface PaymentProcessorAccountReference {
6632
+ readonly organization: string;
6633
+ readonly key: string;
6621
6634
  }
6622
6635
 
6623
6636
  interface PaymentProcessorIdentifier {
@@ -6786,6 +6799,10 @@ declare namespace io.flow.v0.models {
6786
6799
  readonly id: string;
6787
6800
  }
6788
6801
 
6802
+ interface PriceBookItemExportOptions {
6803
+ readonly available_identifiers: io.flow.v0.enums.ItemIdentifier[];
6804
+ }
6805
+
6789
6806
  interface PriceBookItemExportType {
6790
6807
  readonly discriminator: 'price_book_item_export_type';
6791
6808
  readonly price_book_key?: string;
@@ -9867,7 +9884,8 @@ export type CrossdockRatecardFee = io.flow.v0.models.CrossdockRatecardFee;
9867
9884
  export type CrossdockShipment = io.flow.v0.models.CrossdockShipment;
9868
9885
  export type CrossdockShipmentUpserted = io.flow.v0.models.CrossdockShipmentUpserted;
9869
9886
  export type CryptopayAuthorizationDetails = io.flow.v0.models.CryptopayAuthorizationDetails;
9870
- export type CsvPriceBookItemExportRow = io.flow.v0.models.CsvPriceBookItemExportRow;
9887
+ export type CsvPriceBookItemExportRowByItemNumber = io.flow.v0.models.CsvPriceBookItemExportRowByItemNumber;
9888
+ export type CsvPriceBookItemExportRowBySku = io.flow.v0.models.CsvPriceBookItemExportRowBySku;
9871
9889
  export type Currency = io.flow.v0.models.Currency;
9872
9890
  export type CurrencyFormat = io.flow.v0.models.CurrencyFormat;
9873
9891
  export type CurrencyFormatDeleted = io.flow.v0.models.CurrencyFormatDeleted;
@@ -10455,6 +10473,7 @@ export type PaymentMethodType = io.flow.v0.enums.PaymentMethodType;
10455
10473
  export type PaymentPaypal = io.flow.v0.models.PaymentPaypal;
10456
10474
  export type PaymentProcessor = io.flow.v0.models.PaymentProcessor;
10457
10475
  export type PaymentProcessorAccount = io.flow.v0.models.PaymentProcessorAccount;
10476
+ export type PaymentProcessorAccountReference = io.flow.v0.models.PaymentProcessorAccountReference;
10458
10477
  export type PaymentProcessorIdentifier = io.flow.v0.models.PaymentProcessorIdentifier;
10459
10478
  export type PaymentProcessorReference = io.flow.v0.models.PaymentProcessorReference;
10460
10479
  export type PaymentReference = io.flow.v0.models.PaymentReference;
@@ -10485,6 +10504,7 @@ export type PriceBookDeleted = io.flow.v0.models.PriceBookDeleted;
10485
10504
  export type PriceBookForm = io.flow.v0.models.PriceBookForm;
10486
10505
  export type PriceBookItem = io.flow.v0.models.PriceBookItem;
10487
10506
  export type PriceBookItemDeleted = io.flow.v0.models.PriceBookItemDeleted;
10507
+ export type PriceBookItemExportOptions = io.flow.v0.models.PriceBookItemExportOptions;
10488
10508
  export type PriceBookItemExportType = io.flow.v0.models.PriceBookItemExportType;
10489
10509
  export type PriceBookItemForm = io.flow.v0.models.PriceBookItemForm;
10490
10510
  export type PriceBookItemQueryForm = io.flow.v0.models.PriceBookItemQueryForm;