@flowio/types 11.8.1 → 11.9.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.
@@ -1709,6 +1709,7 @@ declare namespace io.flow.checkout.protocol.v0.models {
1709
1709
  }
1710
1710
  interface CheckoutSequencedInitiatePaymentResponseSuccess {
1711
1711
  readonly discriminator: 'checkout_sequenced_initiate_payment_response_success';
1712
+ readonly authorization_key?: string;
1712
1713
  readonly action_requirement: io.flow.checkout.backend.v0.unions.CheckoutPaymentActionRequirement;
1713
1714
  }
1714
1715
  interface CheckoutSequencedSetAddressCityRequestForm {
@@ -3885,7 +3886,7 @@ declare namespace io.flow.brickftp.v0.models {
3885
3886
  readonly id: number;
3886
3887
  readonly path: string;
3887
3888
  readonly behavior: io.flow.brickftp.v0.enums.BehaviorType;
3888
- readonly value: string[];
3889
+ readonly value: any;
3889
3890
  }
3890
3891
  interface BehaviorForm {
3891
3892
  readonly path: string;
@@ -5752,6 +5753,7 @@ declare namespace io.flow.payment.internal.v0.models {
5752
5753
  readonly currency: string;
5753
5754
  readonly billing_address?: io.flow.common.v0.models.BillingAddress;
5754
5755
  readonly ip?: string;
5756
+ readonly origin_url?: string;
5755
5757
  }
5756
5758
  interface BitpayAccount {
5757
5759
  readonly discriminator: 'bitpay_account';
@@ -5819,6 +5821,7 @@ declare namespace io.flow.payment.internal.v0.models {
5819
5821
  interface CipherForm {
5820
5822
  readonly text: string;
5821
5823
  readonly attributes?: Record<string, string>;
5824
+ readonly password?: string;
5822
5825
  }
5823
5826
  interface CipherReference {
5824
5827
  readonly id: string;
@@ -5859,6 +5862,15 @@ declare namespace io.flow.payment.internal.v0.models {
5859
5862
  readonly secret_key: string;
5860
5863
  readonly signature_secret: string;
5861
5864
  }
5865
+ interface DecryptCipherForm {
5866
+ readonly id: string;
5867
+ readonly password: string;
5868
+ }
5869
+ interface DecryptedCipher {
5870
+ readonly id: string;
5871
+ readonly cleartext: string;
5872
+ readonly attributes: Record<string, string>;
5873
+ }
5862
5874
  interface Encryption {
5863
5875
  readonly id: string;
5864
5876
  readonly key: io.flow.payment.internal.v0.models.KeyReference;
@@ -6316,6 +6328,7 @@ declare namespace io.flow.common.v0.enums {
6316
6328
  type DayOfWeek = 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday';
6317
6329
  type DeliveredDuty = 'paid' | 'unpaid';
6318
6330
  type DiscountTarget = 'item' | 'shipping';
6331
+ type EntityIdentifierType = 'ioss';
6319
6332
  type Environment = 'sandbox' | 'production';
6320
6333
  type ExceptionType = 'open' | 'closed';
6321
6334
  type GoodsSupply = 'export' | 'intra_community' | 'local';
@@ -6420,6 +6433,10 @@ declare namespace io.flow.common.v0.models {
6420
6433
  readonly unit: io.flow.common.v0.enums.UnitOfTime;
6421
6434
  readonly value: number;
6422
6435
  }
6436
+ interface EntityIdentifier {
6437
+ readonly name: io.flow.common.v0.enums.EntityIdentifierType;
6438
+ readonly number: string;
6439
+ }
6423
6440
  interface Exception {
6424
6441
  readonly type: io.flow.common.v0.enums.ExceptionType;
6425
6442
  readonly datetime_range: io.flow.common.v0.models.DatetimeRange;
@@ -6493,7 +6510,8 @@ declare namespace io.flow.common.v0.models {
6493
6510
  interface MerchantOfRecordEntity {
6494
6511
  readonly organization: io.flow.common.v0.models.OrganizationReference;
6495
6512
  readonly name: string;
6496
- readonly vat: io.flow.common.v0.models.MerchantOfRecordEntityRegistration;
6513
+ readonly vat?: io.flow.common.v0.models.MerchantOfRecordEntityRegistration;
6514
+ readonly identifiers?: io.flow.common.v0.models.EntityIdentifier[];
6497
6515
  readonly streets: string[];
6498
6516
  readonly city: string;
6499
6517
  readonly province?: string;
@@ -6797,9 +6815,23 @@ declare namespace io.flow.order.management.event.v0.models {
6797
6815
  readonly fulfillments?: io.flow.order.management.v0.models.Fulfillment[];
6798
6816
  readonly fulfillment_item_allocation_details?: io.flow.order.management.event.v0.models.FulfillmentItemAllocationDetails[];
6799
6817
  }
6818
+ interface ReadyToFulfillDetails {
6819
+ readonly id: string;
6820
+ readonly order_number: string;
6821
+ readonly order: io.flow.experience.v0.models.Order;
6822
+ readonly fulfillments?: io.flow.order.management.v0.models.Fulfillment[];
6823
+ readonly fulfillment_item_allocation_details?: io.flow.order.management.event.v0.models.FulfillmentItemAllocationDetails[];
6824
+ }
6825
+ interface ReadyToFulfillV2 {
6826
+ readonly discriminator: 'ready_to_fulfill_v2';
6827
+ readonly event_id: string;
6828
+ readonly timestamp: string;
6829
+ readonly organization: string;
6830
+ readonly ready_to_fulfill: io.flow.order.management.event.v0.models.ReadyToFulfillDetails;
6831
+ }
6800
6832
  }
6801
6833
  declare namespace io.flow.order.management.event.v0.unions {
6802
- type OrderManagementEvent = io.flow.order.management.event.v0.models.OrderPlaced | io.flow.order.management.event.v0.models.OrderPlacedV2 | io.flow.order.management.event.v0.models.ReadyToFulfill;
6834
+ type OrderManagementEvent = io.flow.order.management.event.v0.models.OrderPlaced | io.flow.order.management.event.v0.models.OrderPlacedV2 | io.flow.order.management.event.v0.models.ReadyToFulfill | io.flow.order.management.event.v0.models.ReadyToFulfillV2;
6803
6835
  }
6804
6836
  declare namespace io.flow.ftp.v0.enums {
6805
6837
  type FtpFileSource = 'flow' | 'organization';
@@ -9098,6 +9130,9 @@ declare namespace io.flow.billing.internal.v0.models {
9098
9130
  readonly refund: number;
9099
9131
  readonly fraud: number;
9100
9132
  }
9133
+ interface BillingOrganizationProcessingRatesForm {
9134
+ readonly processing_rates: io.flow.billing.internal.v0.models.BillingOrganizationProcessingRates[];
9135
+ }
9101
9136
  interface BillingOrganizationSettings {
9102
9137
  readonly days_until_posted: number;
9103
9138
  readonly logistics: io.flow.billing.internal.v0.enums.ResponsibleParty;
@@ -9205,7 +9240,7 @@ declare namespace io.flow.billing.internal.v0.models {
9205
9240
  readonly discriminator: 'platform_fee_flat';
9206
9241
  readonly amount: number;
9207
9242
  readonly currency: string;
9208
- readonly frequency: string;
9243
+ readonly frequency: io.flow.billing.v0.enums.SubscriptionFrequency;
9209
9244
  }
9210
9245
  interface PlatformFeePause {
9211
9246
  readonly discriminator: 'platform_fee_pause';
@@ -13668,6 +13703,7 @@ declare namespace io.flow.internal.v0.models {
13668
13703
  readonly currency: string;
13669
13704
  readonly billing_address?: io.flow.common.v0.models.BillingAddress;
13670
13705
  readonly ip?: string;
13706
+ readonly origin_url?: string;
13671
13707
  }
13672
13708
  interface AuthorizedChargeStatus {
13673
13709
  readonly line_item_charges: io.flow.internal.v0.models.AuthorizedLineItemCharge[];
@@ -13765,6 +13801,9 @@ declare namespace io.flow.internal.v0.models {
13765
13801
  readonly refund: number;
13766
13802
  readonly fraud: number;
13767
13803
  }
13804
+ interface BillingOrganizationProcessingRatesForm {
13805
+ readonly processing_rates: io.flow.internal.v0.models.BillingOrganizationProcessingRates[];
13806
+ }
13768
13807
  interface BillingOrganizationSettings {
13769
13808
  readonly days_until_posted: number;
13770
13809
  readonly logistics: io.flow.internal.v0.enums.ResponsibleParty;
@@ -15196,6 +15235,7 @@ declare namespace io.flow.internal.v0.models {
15196
15235
  }
15197
15236
  interface CheckoutSequencedInitiatePaymentResponseSuccess {
15198
15237
  readonly discriminator: 'checkout_sequenced_initiate_payment_response_success';
15238
+ readonly authorization_key?: string;
15199
15239
  readonly action_requirement: io.flow.checkout.backend.v0.unions.CheckoutPaymentActionRequirement;
15200
15240
  }
15201
15241
  interface CheckoutSequencedSetAddressCityRequestForm {
@@ -15499,6 +15539,7 @@ declare namespace io.flow.internal.v0.models {
15499
15539
  interface CipherForm {
15500
15540
  readonly text: string;
15501
15541
  readonly attributes?: Record<string, string>;
15542
+ readonly password?: string;
15502
15543
  }
15503
15544
  interface CipherReference {
15504
15545
  readonly id: string;
@@ -15824,6 +15865,15 @@ declare namespace io.flow.internal.v0.models {
15824
15865
  readonly category?: string;
15825
15866
  readonly shop_url?: string;
15826
15867
  }
15868
+ interface DecryptCipherForm {
15869
+ readonly id: string;
15870
+ readonly password: string;
15871
+ }
15872
+ interface DecryptedCipher {
15873
+ readonly id: string;
15874
+ readonly cleartext: string;
15875
+ readonly attributes: Record<string, string>;
15876
+ }
15827
15877
  interface DeleteIndexTask {
15828
15878
  readonly discriminator: 'delete_index_task';
15829
15879
  readonly name: string;
@@ -18804,7 +18854,7 @@ declare namespace io.flow.internal.v0.models {
18804
18854
  readonly discriminator: 'platform_fee_flat';
18805
18855
  readonly amount: number;
18806
18856
  readonly currency: string;
18807
- readonly frequency: string;
18857
+ readonly frequency: io.flow.billing.v0.enums.SubscriptionFrequency;
18808
18858
  }
18809
18859
  interface PlatformFeePause {
18810
18860
  readonly discriminator: 'platform_fee_pause';
@@ -20515,6 +20565,7 @@ export declare type BillingInvoiceSummary = io.flow.internal.v0.models.BillingIn
20515
20565
  export declare type BillingOrderDestination = io.flow.internal.v0.models.BillingOrderDestination;
20516
20566
  export declare type BillingOrderSummary = io.flow.internal.v0.models.BillingOrderSummary;
20517
20567
  export declare type BillingOrganizationProcessingRates = io.flow.internal.v0.models.BillingOrganizationProcessingRates;
20568
+ export declare type BillingOrganizationProcessingRatesForm = io.flow.internal.v0.models.BillingOrganizationProcessingRatesForm;
20518
20569
  export declare type BillingOrganizationSettings = io.flow.internal.v0.models.BillingOrganizationSettings;
20519
20570
  export declare type BillingStatement = io.flow.internal.v0.models.BillingStatement;
20520
20571
  export declare type BillingStatementAttachment = io.flow.internal.v0.models.BillingStatementAttachment;
@@ -21065,6 +21116,8 @@ export declare type DailyExperimentResults = io.flow.internal.v0.models.DailyExp
21065
21116
  export declare type DailyExperimentResultsDeleted = io.flow.internal.v0.models.DailyExperimentResultsDeleted;
21066
21117
  export declare type DailyExperimentResultsUpserted = io.flow.internal.v0.models.DailyExperimentResultsUpserted;
21067
21118
  export declare type Decision = io.flow.internal.v0.models.Decision;
21119
+ export declare type DecryptCipherForm = io.flow.internal.v0.models.DecryptCipherForm;
21120
+ export declare type DecryptedCipher = io.flow.internal.v0.models.DecryptedCipher;
21068
21121
  export declare type DeleteIndexTask = io.flow.internal.v0.models.DeleteIndexTask;
21069
21122
  export declare type DeliveredDutyOption = io.flow.internal.v0.models.DeliveredDutyOption;
21070
21123
  export declare type DeliveredDutyOptionMessage = io.flow.internal.v0.models.DeliveredDutyOptionMessage;
package/dist/api.d.ts CHANGED
@@ -851,6 +851,7 @@ declare namespace io.flow.v0.enums {
851
851
  type DiscountTarget = 'item' | 'shipping';
852
852
  type EcommercePlatformType = 'commercetools' | 'custom' | 'magento' | 'shopify' | 'sfcc' | 'solidus' | 'workarea';
853
853
  type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
854
+ type EntityIdentifierType = 'ioss';
854
855
  type Environment = 'sandbox' | 'production';
855
856
  type EventType = 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'catalog_item_upserted' | 'catalog_item_deleted' | 'catalog_item_upserted_v2' | 'catalog_item_deleted_v2' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | 'b2b_credit_memo_upserted' | 'b2b_credit_memo_deleted' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | 'rate_deleted_v3' | 'rate_upserted_v3' | 'customer_upserted' | 'customer_deleted' | 'customer_address_book_contact_upserted' | 'customer_address_book_contact_deleted' | 'email_notification_upserted' | 'email_notification_deleted' | 'available_promotions_upserted' | 'available_promotions_deleted' | 'available_promotions_upserted_v2' | 'available_promotions_deleted_v2' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'currency_format_deleted' | 'currency_format_upserted' | 'experience_deleted' | 'experience_upserted' | 'experience_deleted_v2' | 'experience_upserted_v2' | 'country_status_upserted' | 'country_status_deleted' | 'experience_price_book_mapping_deleted' | 'experience_price_book_mapping_upserted' | 'experience_logistics_settings_upserted' | 'experience_logistics_settings_deleted' | 'item_margin_deleted_v2' | 'item_margin_upserted_v2' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'label_format_deleted' | 'label_format_upserted' | 'order_deleted' | 'order_upserted' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted' | 'order_identifier_upserted' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v2' | 'order_identifier_upserted_v3' | 'pricing_deleted' | 'pricing_upserted' | 'order_service_change_request' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'rule_upserted' | 'rule_deleted' | 'snapshot_upserted' | 'snapshot_deleted' | 'label_upserted' | 'label_deleted_v2' | 'label_upserted_v2' | 'notification_upserted' | 'notification_deleted' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'local_item_upserted' | 'local_item_deleted' | 'checkout_optin_responses_upserted' | 'checkout_optin_responses_deleted' | 'browse_optin_responses_upserted' | 'browse_optin_responses_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'organization_short_id_upserted' | 'organization_short_id_deleted' | 'organization_default_configurations_upserted' | 'organization_default_configurations_deleted' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'return_upserted' | 'return_deleted' | 'return_upserted_v2' | 'return_deleted_v2' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
856
857
  type ExceptionType = 'open' | 'closed';
@@ -2796,6 +2797,10 @@ declare namespace io.flow.v0.models {
2796
2797
  readonly destination_region?: io.flow.v0.models.RatecardRegionReference;
2797
2798
  readonly interval_unit?: io.flow.v0.enums.UnitOfMeasurement;
2798
2799
  }
2800
+ interface EntityIdentifier {
2801
+ readonly name: io.flow.v0.enums.EntityIdentifierType;
2802
+ readonly number: string;
2803
+ }
2799
2804
  interface EstimatedDimensions {
2800
2805
  readonly depth: io.flow.v0.models.Measurement;
2801
2806
  readonly length: io.flow.v0.models.Measurement;
@@ -4308,7 +4313,8 @@ declare namespace io.flow.v0.models {
4308
4313
  interface MerchantOfRecordEntity {
4309
4314
  readonly organization: io.flow.v0.models.OrganizationReference;
4310
4315
  readonly name: string;
4311
- readonly vat: io.flow.v0.models.MerchantOfRecordEntityRegistration;
4316
+ readonly vat?: io.flow.v0.models.MerchantOfRecordEntityRegistration;
4317
+ readonly identifiers?: io.flow.v0.models.EntityIdentifier[];
4312
4318
  readonly streets: string[];
4313
4319
  readonly city: string;
4314
4320
  readonly province?: string;
@@ -6233,6 +6239,14 @@ declare namespace io.flow.v0.models {
6233
6239
  readonly type: io.flow.v0.enums.ChangeType;
6234
6240
  readonly reversal: io.flow.v0.models.Reversal;
6235
6241
  }
6242
+ interface Romanization {
6243
+ readonly address?: io.flow.v0.models.Address;
6244
+ readonly contact?: io.flow.v0.models.Contact;
6245
+ }
6246
+ interface RomanizationForm {
6247
+ readonly address?: io.flow.v0.models.Address;
6248
+ readonly contact?: io.flow.v0.models.Contact;
6249
+ }
6236
6250
  interface Rounding {
6237
6251
  readonly type: io.flow.v0.enums.RoundingType;
6238
6252
  readonly method: io.flow.v0.enums.RoundingMethod;
@@ -7915,6 +7929,8 @@ export declare type EmailRecipient = io.flow.v0.models.EmailRecipient;
7915
7929
  export declare type EmailVerification = io.flow.v0.models.EmailVerification;
7916
7930
  export declare type EmergencySituationSurchargeRatecardFee = io.flow.v0.models.EmergencySituationSurchargeRatecardFee;
7917
7931
  export declare type EmergencySituationSurchargeServiceFee = io.flow.v0.models.EmergencySituationSurchargeServiceFee;
7932
+ export declare type EntityIdentifier = io.flow.v0.models.EntityIdentifier;
7933
+ export declare type EntityIdentifierType = io.flow.v0.enums.EntityIdentifierType;
7918
7934
  export declare type Environment = io.flow.v0.enums.Environment;
7919
7935
  export declare type EstimatedDimensions = io.flow.v0.models.EstimatedDimensions;
7920
7936
  export declare type EstimatedWindow = io.flow.v0.models.EstimatedWindow;
@@ -8580,6 +8596,8 @@ export declare type ReversalStatus = io.flow.v0.enums.ReversalStatus;
8580
8596
  export declare type ReversalUpserted = io.flow.v0.models.ReversalUpserted;
8581
8597
  export declare type ReversalVersion = io.flow.v0.models.ReversalVersion;
8582
8598
  export declare type Role = io.flow.v0.enums.Role;
8599
+ export declare type Romanization = io.flow.v0.models.Romanization;
8600
+ export declare type RomanizationForm = io.flow.v0.models.RomanizationForm;
8583
8601
  export declare type Rounding = io.flow.v0.models.Rounding;
8584
8602
  export declare type RoundingMethod = io.flow.v0.enums.RoundingMethod;
8585
8603
  export declare type RoundingType = io.flow.v0.enums.RoundingType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.8.1",
3
+ "version": "11.9.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": "6a4d208a7decfb7ca94217be09b284b5747f1a16"
28
+ "gitHead": "d790302c996c3888924adac7581326b0bd9242c3"
29
29
  }
@@ -2299,6 +2299,7 @@ declare namespace io.flow.checkout.protocol.v0.models {
2299
2299
 
2300
2300
  interface CheckoutSequencedInitiatePaymentResponseSuccess {
2301
2301
  readonly discriminator: 'checkout_sequenced_initiate_payment_response_success';
2302
+ readonly authorization_key?: string;
2302
2303
  readonly action_requirement: io.flow.checkout.backend.v0.unions.CheckoutPaymentActionRequirement;
2303
2304
  }
2304
2305
 
@@ -5446,7 +5447,7 @@ declare namespace io.flow.brickftp.v0.models {
5446
5447
  readonly id: number;
5447
5448
  readonly path: string;
5448
5449
  readonly behavior: io.flow.brickftp.v0.enums.BehaviorType;
5449
- readonly value: string[];
5450
+ readonly value: any /*object*/;
5450
5451
  }
5451
5452
 
5452
5453
  interface BehaviorForm {
@@ -7814,6 +7815,7 @@ declare namespace io.flow.payment.internal.v0.models {
7814
7815
  readonly currency: string;
7815
7816
  readonly billing_address?: io.flow.common.v0.models.BillingAddress;
7816
7817
  readonly ip?: string;
7818
+ readonly origin_url?: string;
7817
7819
  }
7818
7820
 
7819
7821
  interface BitpayAccount {
@@ -7891,6 +7893,7 @@ declare namespace io.flow.payment.internal.v0.models {
7891
7893
  interface CipherForm {
7892
7894
  readonly text: string;
7893
7895
  readonly attributes?: Record<string, string>;
7896
+ readonly password?: string;
7894
7897
  }
7895
7898
 
7896
7899
  interface CipherReference {
@@ -7939,6 +7942,17 @@ declare namespace io.flow.payment.internal.v0.models {
7939
7942
  readonly signature_secret: string;
7940
7943
  }
7941
7944
 
7945
+ interface DecryptCipherForm {
7946
+ readonly id: string;
7947
+ readonly password: string;
7948
+ }
7949
+
7950
+ interface DecryptedCipher {
7951
+ readonly id: string;
7952
+ readonly cleartext: string;
7953
+ readonly attributes: Record<string, string>;
7954
+ }
7955
+
7942
7956
  interface Encryption {
7943
7957
  readonly id: string;
7944
7958
  readonly key: io.flow.payment.internal.v0.models.KeyReference;
@@ -8527,6 +8541,7 @@ declare namespace io.flow.common.v0.enums {
8527
8541
  | 'saturday';
8528
8542
  type DeliveredDuty = 'paid' | 'unpaid';
8529
8543
  type DiscountTarget = 'item' | 'shipping';
8544
+ type EntityIdentifierType = 'ioss';
8530
8545
  type Environment = 'sandbox' | 'production';
8531
8546
  type ExceptionType = 'open' | 'closed';
8532
8547
  type GoodsSupply = 'export' | 'intra_community' | 'local';
@@ -8674,6 +8689,11 @@ declare namespace io.flow.common.v0.models {
8674
8689
  readonly value: number;
8675
8690
  }
8676
8691
 
8692
+ interface EntityIdentifier {
8693
+ readonly name: io.flow.common.v0.enums.EntityIdentifierType;
8694
+ readonly number: string;
8695
+ }
8696
+
8677
8697
  interface Exception {
8678
8698
  readonly type: io.flow.common.v0.enums.ExceptionType;
8679
8699
  readonly datetime_range: io.flow.common.v0.models.DatetimeRange;
@@ -8762,7 +8782,8 @@ declare namespace io.flow.common.v0.models {
8762
8782
  interface MerchantOfRecordEntity {
8763
8783
  readonly organization: io.flow.common.v0.models.OrganizationReference;
8764
8784
  readonly name: string;
8765
- readonly vat: io.flow.common.v0.models.MerchantOfRecordEntityRegistration;
8785
+ readonly vat?: io.flow.common.v0.models.MerchantOfRecordEntityRegistration;
8786
+ readonly identifiers?: io.flow.common.v0.models.EntityIdentifier[];
8766
8787
  readonly streets: string[];
8767
8788
  readonly city: string;
8768
8789
  readonly province?: string;
@@ -9140,13 +9161,30 @@ declare namespace io.flow.order.management.event.v0.models {
9140
9161
  readonly fulfillments?: io.flow.order.management.v0.models.Fulfillment[];
9141
9162
  readonly fulfillment_item_allocation_details?: io.flow.order.management.event.v0.models.FulfillmentItemAllocationDetails[];
9142
9163
  }
9164
+
9165
+ interface ReadyToFulfillDetails {
9166
+ readonly id: string;
9167
+ readonly order_number: string;
9168
+ readonly order: io.flow.experience.v0.models.Order;
9169
+ readonly fulfillments?: io.flow.order.management.v0.models.Fulfillment[];
9170
+ readonly fulfillment_item_allocation_details?: io.flow.order.management.event.v0.models.FulfillmentItemAllocationDetails[];
9171
+ }
9172
+
9173
+ interface ReadyToFulfillV2 {
9174
+ readonly discriminator: 'ready_to_fulfill_v2';
9175
+ readonly event_id: string;
9176
+ readonly timestamp: string;
9177
+ readonly organization: string;
9178
+ readonly ready_to_fulfill: io.flow.order.management.event.v0.models.ReadyToFulfillDetails;
9179
+ }
9143
9180
  }
9144
9181
 
9145
9182
  declare namespace io.flow.order.management.event.v0.unions {
9146
9183
  type OrderManagementEvent =
9147
9184
  | io.flow.order.management.event.v0.models.OrderPlaced
9148
9185
  | io.flow.order.management.event.v0.models.OrderPlacedV2
9149
- | io.flow.order.management.event.v0.models.ReadyToFulfill;
9186
+ | io.flow.order.management.event.v0.models.ReadyToFulfill
9187
+ | io.flow.order.management.event.v0.models.ReadyToFulfillV2;
9150
9188
  }
9151
9189
 
9152
9190
  declare namespace io.flow.ftp.v0.enums {
@@ -12057,6 +12095,10 @@ declare namespace io.flow.billing.internal.v0.models {
12057
12095
  readonly fraud: number;
12058
12096
  }
12059
12097
 
12098
+ interface BillingOrganizationProcessingRatesForm {
12099
+ readonly processing_rates: io.flow.billing.internal.v0.models.BillingOrganizationProcessingRates[];
12100
+ }
12101
+
12060
12102
  interface BillingOrganizationSettings {
12061
12103
  readonly days_until_posted: number;
12062
12104
  readonly logistics: io.flow.billing.internal.v0.enums.ResponsibleParty;
@@ -12181,7 +12223,7 @@ declare namespace io.flow.billing.internal.v0.models {
12181
12223
  readonly discriminator: 'platform_fee_flat';
12182
12224
  readonly amount: number;
12183
12225
  readonly currency: string;
12184
- readonly frequency: string;
12226
+ readonly frequency: io.flow.billing.v0.enums.SubscriptionFrequency;
12185
12227
  }
12186
12228
 
12187
12229
  interface PlatformFeePause {
@@ -18197,6 +18239,7 @@ declare namespace io.flow.internal.v0.models {
18197
18239
  readonly currency: string;
18198
18240
  readonly billing_address?: io.flow.common.v0.models.BillingAddress;
18199
18241
  readonly ip?: string;
18242
+ readonly origin_url?: string;
18200
18243
  }
18201
18244
 
18202
18245
  interface AuthorizedChargeStatus {
@@ -18310,6 +18353,10 @@ declare namespace io.flow.internal.v0.models {
18310
18353
  readonly fraud: number;
18311
18354
  }
18312
18355
 
18356
+ interface BillingOrganizationProcessingRatesForm {
18357
+ readonly processing_rates: io.flow.internal.v0.models.BillingOrganizationProcessingRates[];
18358
+ }
18359
+
18313
18360
  interface BillingOrganizationSettings {
18314
18361
  readonly days_until_posted: number;
18315
18362
  readonly logistics: io.flow.internal.v0.enums.ResponsibleParty;
@@ -20036,6 +20083,7 @@ declare namespace io.flow.internal.v0.models {
20036
20083
 
20037
20084
  interface CheckoutSequencedInitiatePaymentResponseSuccess {
20038
20085
  readonly discriminator: 'checkout_sequenced_initiate_payment_response_success';
20086
+ readonly authorization_key?: string;
20039
20087
  readonly action_requirement: io.flow.checkout.backend.v0.unions.CheckoutPaymentActionRequirement;
20040
20088
  }
20041
20089
 
@@ -20409,6 +20457,7 @@ declare namespace io.flow.internal.v0.models {
20409
20457
  interface CipherForm {
20410
20458
  readonly text: string;
20411
20459
  readonly attributes?: Record<string, string>;
20460
+ readonly password?: string;
20412
20461
  }
20413
20462
 
20414
20463
  interface CipherReference {
@@ -20796,6 +20845,17 @@ declare namespace io.flow.internal.v0.models {
20796
20845
  readonly shop_url?: string;
20797
20846
  }
20798
20847
 
20848
+ interface DecryptCipherForm {
20849
+ readonly id: string;
20850
+ readonly password: string;
20851
+ }
20852
+
20853
+ interface DecryptedCipher {
20854
+ readonly id: string;
20855
+ readonly cleartext: string;
20856
+ readonly attributes: Record<string, string>;
20857
+ }
20858
+
20799
20859
  interface DeleteIndexTask {
20800
20860
  readonly discriminator: 'delete_index_task';
20801
20861
  readonly name: string;
@@ -24216,7 +24276,7 @@ declare namespace io.flow.internal.v0.models {
24216
24276
  readonly discriminator: 'platform_fee_flat';
24217
24277
  readonly amount: number;
24218
24278
  readonly currency: string;
24219
- readonly frequency: string;
24279
+ readonly frequency: io.flow.billing.v0.enums.SubscriptionFrequency;
24220
24280
  }
24221
24281
 
24222
24282
  interface PlatformFeePause {
@@ -26711,6 +26771,7 @@ export type BillingInvoiceSummary = io.flow.internal.v0.models.BillingInvoiceSum
26711
26771
  export type BillingOrderDestination = io.flow.internal.v0.models.BillingOrderDestination;
26712
26772
  export type BillingOrderSummary = io.flow.internal.v0.models.BillingOrderSummary;
26713
26773
  export type BillingOrganizationProcessingRates = io.flow.internal.v0.models.BillingOrganizationProcessingRates;
26774
+ export type BillingOrganizationProcessingRatesForm = io.flow.internal.v0.models.BillingOrganizationProcessingRatesForm;
26714
26775
  export type BillingOrganizationSettings = io.flow.internal.v0.models.BillingOrganizationSettings;
26715
26776
  export type BillingStatement = io.flow.internal.v0.models.BillingStatement;
26716
26777
  export type BillingStatementAttachment = io.flow.internal.v0.models.BillingStatementAttachment;
@@ -27261,6 +27322,8 @@ export type DailyExperimentResults = io.flow.internal.v0.models.DailyExperimentR
27261
27322
  export type DailyExperimentResultsDeleted = io.flow.internal.v0.models.DailyExperimentResultsDeleted;
27262
27323
  export type DailyExperimentResultsUpserted = io.flow.internal.v0.models.DailyExperimentResultsUpserted;
27263
27324
  export type Decision = io.flow.internal.v0.models.Decision;
27325
+ export type DecryptCipherForm = io.flow.internal.v0.models.DecryptCipherForm;
27326
+ export type DecryptedCipher = io.flow.internal.v0.models.DecryptedCipher;
27264
27327
  export type DeleteIndexTask = io.flow.internal.v0.models.DeleteIndexTask;
27265
27328
  export type DeliveredDutyOption = io.flow.internal.v0.models.DeliveredDutyOption;
27266
27329
  export type DeliveredDutyOptionMessage = io.flow.internal.v0.models.DeliveredDutyOptionMessage;
package/src/api.ts CHANGED
@@ -1176,6 +1176,7 @@ declare namespace io.flow.v0.enums {
1176
1176
  | 'solidus'
1177
1177
  | 'workarea';
1178
1178
  type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
1179
+ type EntityIdentifierType = 'ioss';
1179
1180
  type Environment = 'sandbox' | 'production';
1180
1181
  type EventType =
1181
1182
  | 'attribute_upserted'
@@ -3794,6 +3795,11 @@ declare namespace io.flow.v0.models {
3794
3795
  readonly interval_unit?: io.flow.v0.enums.UnitOfMeasurement;
3795
3796
  }
3796
3797
 
3798
+ interface EntityIdentifier {
3799
+ readonly name: io.flow.v0.enums.EntityIdentifierType;
3800
+ readonly number: string;
3801
+ }
3802
+
3797
3803
  interface EstimatedDimensions {
3798
3804
  readonly depth: io.flow.v0.models.Measurement;
3799
3805
  readonly length: io.flow.v0.models.Measurement;
@@ -5563,7 +5569,8 @@ declare namespace io.flow.v0.models {
5563
5569
  interface MerchantOfRecordEntity {
5564
5570
  readonly organization: io.flow.v0.models.OrganizationReference;
5565
5571
  readonly name: string;
5566
- readonly vat: io.flow.v0.models.MerchantOfRecordEntityRegistration;
5572
+ readonly vat?: io.flow.v0.models.MerchantOfRecordEntityRegistration;
5573
+ readonly identifiers?: io.flow.v0.models.EntityIdentifier[];
5567
5574
  readonly streets: string[];
5568
5575
  readonly city: string;
5569
5576
  readonly province?: string;
@@ -7786,6 +7793,16 @@ declare namespace io.flow.v0.models {
7786
7793
  readonly reversal: io.flow.v0.models.Reversal;
7787
7794
  }
7788
7795
 
7796
+ interface Romanization {
7797
+ readonly address?: io.flow.v0.models.Address;
7798
+ readonly contact?: io.flow.v0.models.Contact;
7799
+ }
7800
+
7801
+ interface RomanizationForm {
7802
+ readonly address?: io.flow.v0.models.Address;
7803
+ readonly contact?: io.flow.v0.models.Contact;
7804
+ }
7805
+
7789
7806
  interface Rounding {
7790
7807
  readonly type: io.flow.v0.enums.RoundingType;
7791
7808
  readonly method: io.flow.v0.enums.RoundingMethod;
@@ -9995,6 +10012,8 @@ export type EmailRecipient = io.flow.v0.models.EmailRecipient;
9995
10012
  export type EmailVerification = io.flow.v0.models.EmailVerification;
9996
10013
  export type EmergencySituationSurchargeRatecardFee = io.flow.v0.models.EmergencySituationSurchargeRatecardFee;
9997
10014
  export type EmergencySituationSurchargeServiceFee = io.flow.v0.models.EmergencySituationSurchargeServiceFee;
10015
+ export type EntityIdentifier = io.flow.v0.models.EntityIdentifier;
10016
+ export type EntityIdentifierType = io.flow.v0.enums.EntityIdentifierType;
9998
10017
  export type Environment = io.flow.v0.enums.Environment;
9999
10018
  export type EstimatedDimensions = io.flow.v0.models.EstimatedDimensions;
10000
10019
  export type EstimatedWindow = io.flow.v0.models.EstimatedWindow;
@@ -10660,6 +10679,8 @@ export type ReversalStatus = io.flow.v0.enums.ReversalStatus;
10660
10679
  export type ReversalUpserted = io.flow.v0.models.ReversalUpserted;
10661
10680
  export type ReversalVersion = io.flow.v0.models.ReversalVersion;
10662
10681
  export type Role = io.flow.v0.enums.Role;
10682
+ export type Romanization = io.flow.v0.models.Romanization;
10683
+ export type RomanizationForm = io.flow.v0.models.RomanizationForm;
10663
10684
  export type Rounding = io.flow.v0.models.Rounding;
10664
10685
  export type RoundingMethod = io.flow.v0.enums.RoundingMethod;
10665
10686
  export type RoundingType = io.flow.v0.enums.RoundingType;