@flowio/types 11.8.0 → 11.9.0
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-internal.d.ts +32 -35
- package/dist/api.d.ts +19 -1
- package/package.json +2 -2
- package/src/api-internal.ts +37 -41
- package/src/api.ts +22 -1
package/dist/api-internal.d.ts
CHANGED
|
@@ -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:
|
|
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';
|
|
@@ -6316,6 +6318,7 @@ declare namespace io.flow.common.v0.enums {
|
|
|
6316
6318
|
type DayOfWeek = 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday';
|
|
6317
6319
|
type DeliveredDuty = 'paid' | 'unpaid';
|
|
6318
6320
|
type DiscountTarget = 'item' | 'shipping';
|
|
6321
|
+
type EntityIdentifierType = 'ioss';
|
|
6319
6322
|
type Environment = 'sandbox' | 'production';
|
|
6320
6323
|
type ExceptionType = 'open' | 'closed';
|
|
6321
6324
|
type GoodsSupply = 'export' | 'intra_community' | 'local';
|
|
@@ -6420,6 +6423,10 @@ declare namespace io.flow.common.v0.models {
|
|
|
6420
6423
|
readonly unit: io.flow.common.v0.enums.UnitOfTime;
|
|
6421
6424
|
readonly value: number;
|
|
6422
6425
|
}
|
|
6426
|
+
interface EntityIdentifier {
|
|
6427
|
+
readonly name: io.flow.common.v0.enums.EntityIdentifierType;
|
|
6428
|
+
readonly number: string;
|
|
6429
|
+
}
|
|
6423
6430
|
interface Exception {
|
|
6424
6431
|
readonly type: io.flow.common.v0.enums.ExceptionType;
|
|
6425
6432
|
readonly datetime_range: io.flow.common.v0.models.DatetimeRange;
|
|
@@ -6493,7 +6500,8 @@ declare namespace io.flow.common.v0.models {
|
|
|
6493
6500
|
interface MerchantOfRecordEntity {
|
|
6494
6501
|
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
6495
6502
|
readonly name: string;
|
|
6496
|
-
readonly vat
|
|
6503
|
+
readonly vat?: io.flow.common.v0.models.MerchantOfRecordEntityRegistration;
|
|
6504
|
+
readonly identifiers?: io.flow.common.v0.models.EntityIdentifier[];
|
|
6497
6505
|
readonly streets: string[];
|
|
6498
6506
|
readonly city: string;
|
|
6499
6507
|
readonly province?: string;
|
|
@@ -7531,13 +7539,6 @@ declare namespace io.flow.currency.internal.v0.models {
|
|
|
7531
7539
|
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
7532
7540
|
readonly flow_currency_setting: io.flow.currency.internal.v0.models.FlowCurrencySetting;
|
|
7533
7541
|
}
|
|
7534
|
-
interface OrganizationCurrencySettings {
|
|
7535
|
-
readonly id: string;
|
|
7536
|
-
readonly organization: string;
|
|
7537
|
-
readonly base: string;
|
|
7538
|
-
readonly target: string;
|
|
7539
|
-
readonly margin: number;
|
|
7540
|
-
}
|
|
7541
7542
|
interface RateData {
|
|
7542
7543
|
readonly base: string;
|
|
7543
7544
|
readonly target: string;
|
|
@@ -9212,7 +9213,7 @@ declare namespace io.flow.billing.internal.v0.models {
|
|
|
9212
9213
|
readonly discriminator: 'platform_fee_flat';
|
|
9213
9214
|
readonly amount: number;
|
|
9214
9215
|
readonly currency: string;
|
|
9215
|
-
readonly frequency:
|
|
9216
|
+
readonly frequency: io.flow.billing.v0.enums.SubscriptionFrequency;
|
|
9216
9217
|
}
|
|
9217
9218
|
interface PlatformFeePause {
|
|
9218
9219
|
readonly discriminator: 'platform_fee_pause';
|
|
@@ -13120,7 +13121,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13120
13121
|
type DutyRateUnitOfMeasure = 'kg' | 'sq m' | 'item' | 'pair';
|
|
13121
13122
|
type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
|
|
13122
13123
|
type EmptyAttribute = 'irrelevant';
|
|
13123
|
-
type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'main_transaction_upserted' | 'main_transaction_deleted' | 'transfer_transaction_upserted' | 'transfer_transaction_deleted' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'carrier_account_upserted' | 'catalog_import_request' | 'exclusion_rule_upserted' | 'exclusion_rule_deleted' | 'catalog_item_region_availabilities_published' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | '
|
|
13124
|
+
type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'main_transaction_upserted' | 'main_transaction_deleted' | 'transfer_transaction_upserted' | 'transfer_transaction_deleted' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'carrier_account_upserted' | 'catalog_import_request' | 'exclusion_rule_upserted' | 'exclusion_rule_deleted' | 'catalog_item_region_availabilities_published' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'customer_purge_upserted' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'experiment_results_upserted' | 'experiment_results_deleted' | 'daily_experiment_results_upserted' | 'daily_experiment_results_deleted' | 'experiment_milestone_upserted' | 'experiment_milestone_deleted' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_deleted' | 'organization_boolean_value_upserted' | 'organization_boolean_value_deleted' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'pregenerated_request_event' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'tariff_codes_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'item_classification_created' | 'harmonize_fully_request_v2' | 'import_completed' | 'import_failed' | 'time_to_classify_upserted' | 'time_to_classify_deleted' | 'time_to_classify_aggregated_upserted' | 'time_to_classify_aggregated_deleted' | 'rate_source_summary_upserted' | 'rate_source_summary_deleted' | 'rate_freshness_summary_upserted' | 'rate_freshness_summary_deleted' | 'issuer_upserted' | 'issuer_deleted' | 'item_form_import_request' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'feed_upserted' | 'feed_deleted' | 'feeds_export' | 'localized_item_prices_export_request' | 'optin_prompt_upserted' | 'optin_prompt_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'internal_authorization_upserted' | 'internal_authorization_deleted' | 'afterpay_authorization_upserted' | 'afterpay_authorization_deleted' | 'afterpay_capture_upserted' | 'afterpay_capture_deleted' | 'afterpay_refund_upserted' | 'afterpay_refund_deleted' | 'adyen_merchant_account_upserted' | 'adyen_merchant_account_deleted' | 'chargeback_upserted' | 'chargeback_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'order_rates_published_v3' | 'ratecard_dimension_estimate_upserted' | 'ratecard_dimension_estimate_deleted' | 'ratecard_lanes_import_request' | 'ratecard_standard_configuration_upserted' | 'ratecard_standard_configuration_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'liability_remittance_plan_upserted' | 'liability_remittance_plan_deleted' | 'tracking_label_event_upserted_v2' | 'tracking_label_event_deleted_v2' | 'tracking_label_upserted' | 'tracking_label_deleted' | 'tracking_upserted' | 'tracking_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted_v2' | 'user_deleted_v2';
|
|
13124
13125
|
type ExperienceImportType = 'experience_with_settings';
|
|
13125
13126
|
type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
|
|
13126
13127
|
type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
|
|
@@ -13675,6 +13676,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13675
13676
|
readonly currency: string;
|
|
13676
13677
|
readonly billing_address?: io.flow.common.v0.models.BillingAddress;
|
|
13677
13678
|
readonly ip?: string;
|
|
13679
|
+
readonly origin_url?: string;
|
|
13678
13680
|
}
|
|
13679
13681
|
interface AuthorizedChargeStatus {
|
|
13680
13682
|
readonly line_item_charges: io.flow.internal.v0.models.AuthorizedLineItemCharge[];
|
|
@@ -15203,6 +15205,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15203
15205
|
}
|
|
15204
15206
|
interface CheckoutSequencedInitiatePaymentResponseSuccess {
|
|
15205
15207
|
readonly discriminator: 'checkout_sequenced_initiate_payment_response_success';
|
|
15208
|
+
readonly authorization_key?: string;
|
|
15206
15209
|
readonly action_requirement: io.flow.checkout.backend.v0.unions.CheckoutPaymentActionRequirement;
|
|
15207
15210
|
}
|
|
15208
15211
|
interface CheckoutSequencedSetAddressCityRequestForm {
|
|
@@ -16152,10 +16155,24 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16152
16155
|
readonly timestamp: string;
|
|
16153
16156
|
readonly description: string;
|
|
16154
16157
|
}
|
|
16158
|
+
interface ExperimentMilestoneDeleted {
|
|
16159
|
+
readonly discriminator: 'experiment_milestone_deleted';
|
|
16160
|
+
readonly event_id: string;
|
|
16161
|
+
readonly timestamp: string;
|
|
16162
|
+
readonly organization: string;
|
|
16163
|
+
readonly id: string;
|
|
16164
|
+
}
|
|
16155
16165
|
interface ExperimentMilestoneForm {
|
|
16156
16166
|
readonly timestamp?: string;
|
|
16157
16167
|
readonly description: string;
|
|
16158
16168
|
}
|
|
16169
|
+
interface ExperimentMilestoneUpserted {
|
|
16170
|
+
readonly discriminator: 'experiment_milestone_upserted';
|
|
16171
|
+
readonly event_id: string;
|
|
16172
|
+
readonly timestamp: string;
|
|
16173
|
+
readonly organization: string;
|
|
16174
|
+
readonly experiment_milestone: io.flow.experiment.internal.v0.models.ExperimentMilestone;
|
|
16175
|
+
}
|
|
16159
16176
|
interface ExperimentReference {
|
|
16160
16177
|
readonly key: string;
|
|
16161
16178
|
}
|
|
@@ -18467,25 +18484,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18467
18484
|
readonly timestamp: string;
|
|
18468
18485
|
readonly value: io.flow.internal.v0.models.OrganizationBooleanValue;
|
|
18469
18486
|
}
|
|
18470
|
-
interface OrganizationCurrencySettings {
|
|
18471
|
-
readonly id: string;
|
|
18472
|
-
readonly organization: string;
|
|
18473
|
-
readonly base: string;
|
|
18474
|
-
readonly target: string;
|
|
18475
|
-
readonly margin: number;
|
|
18476
|
-
}
|
|
18477
|
-
interface OrganizationCurrencySettingsDeleted {
|
|
18478
|
-
readonly discriminator: 'organization_currency_settings_deleted';
|
|
18479
|
-
readonly event_id: string;
|
|
18480
|
-
readonly timestamp: string;
|
|
18481
|
-
readonly organization_currency_settings: io.flow.currency.internal.v0.models.OrganizationCurrencySettings;
|
|
18482
|
-
}
|
|
18483
|
-
interface OrganizationCurrencySettingsUpserted {
|
|
18484
|
-
readonly discriminator: 'organization_currency_settings_upserted';
|
|
18485
|
-
readonly event_id: string;
|
|
18486
|
-
readonly timestamp: string;
|
|
18487
|
-
readonly organization_currency_settings: io.flow.currency.internal.v0.models.OrganizationCurrencySettings;
|
|
18488
|
-
}
|
|
18489
18487
|
interface OrganizationMembershipCopy {
|
|
18490
18488
|
readonly from: string;
|
|
18491
18489
|
readonly to: string;
|
|
@@ -18816,7 +18814,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18816
18814
|
readonly discriminator: 'platform_fee_flat';
|
|
18817
18815
|
readonly amount: number;
|
|
18818
18816
|
readonly currency: string;
|
|
18819
|
-
readonly frequency:
|
|
18817
|
+
readonly frequency: io.flow.billing.v0.enums.SubscriptionFrequency;
|
|
18820
18818
|
}
|
|
18821
18819
|
interface PlatformFeePause {
|
|
18822
18820
|
readonly discriminator: 'platform_fee_pause';
|
|
@@ -20388,7 +20386,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
20388
20386
|
type ContentItem = io.flow.internal.v0.models.Dict | io.flow.internal.v0.models.Href | io.flow.internal.v0.models.ContentLabel | io.flow.internal.v0.models.Load;
|
|
20389
20387
|
type DiscountRequestOfferForm = io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm;
|
|
20390
20388
|
type DutyExpression = io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression;
|
|
20391
|
-
type Event = io.flow.internal.v0.models.AdyenAuthorizationDeleted | io.flow.internal.v0.models.AdyenAuthorizationUpserted | io.flow.internal.v0.models.AdyenCancelDeleted | io.flow.internal.v0.models.AdyenCancelUpserted | io.flow.internal.v0.models.AdyenCaptureDeleted | io.flow.internal.v0.models.AdyenCaptureUpserted | io.flow.internal.v0.models.AdyenRefundDeleted | io.flow.internal.v0.models.AdyenRefundUpserted | io.flow.internal.v0.models.BillingStatementUpserted | io.flow.internal.v0.models.BillingStatementDeleted | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted | io.flow.internal.v0.models.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.MainTransactionUpserted | io.flow.internal.v0.models.MainTransactionDeleted | io.flow.internal.v0.models.TransferTransactionUpserted | io.flow.internal.v0.models.TransferTransactionDeleted | io.flow.internal.v0.models.ProcessingTransactionUpserted | io.flow.internal.v0.models.ProcessingTransactionDeleted | io.flow.internal.v0.models.BankPaymentUpserted | io.flow.internal.v0.models.BankPaymentDeleted | io.flow.internal.v0.models.CarrierAccountUpserted | io.flow.internal.v0.models.CatalogImportRequest | io.flow.internal.v0.models.ExclusionRuleUpserted | io.flow.internal.v0.models.ExclusionRuleDeleted | io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished | io.flow.internal.v0.models.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | io.flow.internal.v0.models.RateDeleted | io.flow.internal.v0.models.RateUpserted | io.flow.internal.v0.models.SpotRateDeleted | io.flow.internal.v0.models.SpotRateUpserted | io.flow.internal.v0.models.
|
|
20389
|
+
type Event = io.flow.internal.v0.models.AdyenAuthorizationDeleted | io.flow.internal.v0.models.AdyenAuthorizationUpserted | io.flow.internal.v0.models.AdyenCancelDeleted | io.flow.internal.v0.models.AdyenCancelUpserted | io.flow.internal.v0.models.AdyenCaptureDeleted | io.flow.internal.v0.models.AdyenCaptureUpserted | io.flow.internal.v0.models.AdyenRefundDeleted | io.flow.internal.v0.models.AdyenRefundUpserted | io.flow.internal.v0.models.BillingStatementUpserted | io.flow.internal.v0.models.BillingStatementDeleted | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted | io.flow.internal.v0.models.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.MainTransactionUpserted | io.flow.internal.v0.models.MainTransactionDeleted | io.flow.internal.v0.models.TransferTransactionUpserted | io.flow.internal.v0.models.TransferTransactionDeleted | io.flow.internal.v0.models.ProcessingTransactionUpserted | io.flow.internal.v0.models.ProcessingTransactionDeleted | io.flow.internal.v0.models.BankPaymentUpserted | io.flow.internal.v0.models.BankPaymentDeleted | io.flow.internal.v0.models.CarrierAccountUpserted | io.flow.internal.v0.models.CatalogImportRequest | io.flow.internal.v0.models.ExclusionRuleUpserted | io.flow.internal.v0.models.ExclusionRuleDeleted | io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished | io.flow.internal.v0.models.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | io.flow.internal.v0.models.RateDeleted | io.flow.internal.v0.models.RateUpserted | io.flow.internal.v0.models.SpotRateDeleted | io.flow.internal.v0.models.SpotRateUpserted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.CustomerPurgeUpserted | io.flow.internal.v0.models.CustomsDescriptionImport | io.flow.internal.v0.models.CustomsDescriptionTariffsImport | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2 | io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2 | io.flow.internal.v0.models.DutyRateRequest | io.flow.internal.v0.models.DutyRateBulkRequest | io.flow.internal.v0.models.DutyRawUpserted | io.flow.internal.v0.models.DutyRawBulkUpserted | io.flow.internal.v0.models.DutyRateUpserted | io.flow.internal.v0.models.DutyRateResponse | io.flow.internal.v0.models.DutyRateBulkResponse | io.flow.internal.v0.models.ItemSalesMarginDeleted | io.flow.internal.v0.models.ItemSalesMarginUpserted | io.flow.internal.v0.models.OrderAttributeDeleted | io.flow.internal.v0.models.OrderAttributeUpserted | io.flow.internal.v0.models.ExperienceExportRequest | io.flow.internal.v0.models.ExperienceImportRequest | io.flow.internal.v0.models.SubmittedOrderUpserted | io.flow.internal.v0.models.ExperimentUpserted | io.flow.internal.v0.models.ExperimentDeleted | io.flow.internal.v0.models.ExperimentResultsUpserted | io.flow.internal.v0.models.ExperimentResultsDeleted | io.flow.internal.v0.models.DailyExperimentResultsUpserted | io.flow.internal.v0.models.DailyExperimentResultsDeleted | io.flow.internal.v0.models.ExperimentMilestoneUpserted | io.flow.internal.v0.models.ExperimentMilestoneDeleted | io.flow.internal.v0.models.ExportCompleted | io.flow.internal.v0.models.ExportFailed | io.flow.internal.v0.models.FeatureUpserted | io.flow.internal.v0.models.FeatureDeleted | io.flow.internal.v0.models.OrganizationBooleanValueUpserted | io.flow.internal.v0.models.OrganizationBooleanValueDeleted | io.flow.internal.v0.models.FraudReviewUpserted | io.flow.internal.v0.models.FraudReviewDeleted | io.flow.internal.v0.models.FraudPendingReviewUpserted | io.flow.internal.v0.models.FraudPendingReviewDeleted | io.flow.internal.v0.models.FraudReviewDecisionUpserted | io.flow.internal.v0.models.FraudReviewDecisionDeleted | io.flow.internal.v0.models.FtpFileUpserted | io.flow.internal.v0.models.FtpFileDeleted | io.flow.internal.v0.models.FtpFileToProcessUploaded | io.flow.internal.v0.models.PregeneratedRequestEvent | io.flow.internal.v0.models.AllItemsExport | io.flow.internal.v0.models.HarmonizedItemsHs6Export | io.flow.internal.v0.models.UnharmonizedItemsExport | io.flow.internal.v0.models.DutiedItemsExport | io.flow.internal.v0.models.TariffCodesExport | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport | io.flow.internal.v0.models.HarmonizationCodesImport | io.flow.internal.v0.models.ItemClassificationCreated | io.flow.internal.v0.models.HarmonizeFullyRequestV2 | io.flow.internal.v0.models.ImportCompleted | io.flow.internal.v0.models.ImportFailed | io.flow.internal.v0.models.TimeToClassifyUpserted | io.flow.internal.v0.models.TimeToClassifyDeleted | io.flow.internal.v0.models.TimeToClassifyAggregatedUpserted | io.flow.internal.v0.models.TimeToClassifyAggregatedDeleted | io.flow.internal.v0.models.RateSourceSummaryUpserted | io.flow.internal.v0.models.RateSourceSummaryDeleted | io.flow.internal.v0.models.RateFreshnessSummaryUpserted | io.flow.internal.v0.models.RateFreshnessSummaryDeleted | io.flow.internal.v0.models.IssuerUpserted | io.flow.internal.v0.models.IssuerDeleted | io.flow.internal.v0.models.ItemFormImportRequest | io.flow.internal.v0.models.LocalizedItemUpsertedV2 | io.flow.internal.v0.models.LocalizedItemDeleted | io.flow.internal.v0.models.LocalizedItemDeletedV2 | io.flow.internal.v0.models.LocalizedItemSnapshot | io.flow.internal.v0.models.FeedUpserted | io.flow.internal.v0.models.FeedDeleted | io.flow.internal.v0.models.FeedsExport | io.flow.internal.v0.models.LocalizedItemPricesExportRequest | io.flow.internal.v0.models.OptinPromptUpserted | io.flow.internal.v0.models.OptinPromptDeleted | io.flow.internal.v0.models.OrderFulfillmentDeleted | io.flow.internal.v0.models.OrderFulfillmentUpserted | io.flow.internal.v0.models.OrderPlaced | io.flow.internal.v0.models.ReadyToFulfill | io.flow.internal.v0.models.FulfillmentCancel | io.flow.internal.v0.models.OrderShipped | io.flow.internal.v0.models.ItemsShipped | io.flow.internal.v0.models.InternalAuthorizationUpserted | io.flow.internal.v0.models.InternalAuthorizationDeleted | io.flow.internal.v0.models.AfterpayAuthorizationUpserted | io.flow.internal.v0.models.AfterpayAuthorizationDeleted | io.flow.internal.v0.models.AfterpayCaptureUpserted | io.flow.internal.v0.models.AfterpayCaptureDeleted | io.flow.internal.v0.models.AfterpayRefundUpserted | io.flow.internal.v0.models.AfterpayRefundDeleted | io.flow.internal.v0.models.AdyenMerchantAccountUpserted | io.flow.internal.v0.models.AdyenMerchantAccountDeleted | io.flow.internal.v0.models.ChargebackUpserted | io.flow.internal.v0.models.ChargebackDeleted | io.flow.internal.v0.models.PaypalPaymentDeleted | io.flow.internal.v0.models.PaypalPaymentUpserted | io.flow.internal.v0.models.PaypalExecutionDeleted | io.flow.internal.v0.models.PaypalExecutionUpserted | io.flow.internal.v0.models.PaypalRefundDeleted | io.flow.internal.v0.models.PaypalRefundUpserted | io.flow.internal.v0.models.OrderRatesPublishedV3 | io.flow.internal.v0.models.RatecardDimensionEstimateUpserted | io.flow.internal.v0.models.RatecardDimensionEstimateDeleted | io.flow.internal.v0.models.RatecardLanesImportRequest | io.flow.internal.v0.models.RatecardStandardConfigurationUpserted | io.flow.internal.v0.models.RatecardStandardConfigurationDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.ShopifyShopUpserted | io.flow.internal.v0.models.ShopifyShopDeleted | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted | io.flow.internal.v0.models.StripeAuthorizationDeleted | io.flow.internal.v0.models.StripeAuthorizationUpserted | io.flow.internal.v0.models.StripeReversalDeleted | io.flow.internal.v0.models.StripeReversalUpserted | io.flow.internal.v0.models.StripeCaptureDeleted | io.flow.internal.v0.models.StripeCaptureUpserted | io.flow.internal.v0.models.StripeRefundDeleted | io.flow.internal.v0.models.StripeRefundUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingDeleted | io.flow.internal.v0.models.LiabilityRemittancePlanUpserted | io.flow.internal.v0.models.LiabilityRemittancePlanDeleted | io.flow.internal.v0.models.TrackingLabelEventUpsertedV2 | io.flow.internal.v0.models.TrackingLabelEventDeletedV2 | io.flow.internal.v0.models.TrackingLabelUpserted | io.flow.internal.v0.models.TrackingLabelDeleted | io.flow.internal.v0.models.TrackingUpserted | io.flow.internal.v0.models.TrackingDeleted | io.flow.internal.v0.models.TrackingRequestUpserted | io.flow.internal.v0.models.TrackingResponseUpserted | io.flow.internal.v0.models.UserUpsertedV2 | io.flow.internal.v0.models.UserDeletedV2;
|
|
20392
20390
|
type Experiment = io.flow.internal.v0.models.ExperienceExperiment | io.flow.internal.v0.models.FeatureExperiment;
|
|
20393
20391
|
type ExportSchedule = io.flow.internal.v0.models.ExportScheduleDaily | io.flow.internal.v0.models.ExportScheduleRepeated;
|
|
20394
20392
|
type FeatureDefaultValue = io.flow.internal.v0.models.BooleanFeatureDefaultValue | io.flow.internal.v0.models.StringFeatureDefaultValue;
|
|
@@ -21148,7 +21146,9 @@ export declare type ExperimentFormDefaultDiscriminator = io.flow.internal.v0.mod
|
|
|
21148
21146
|
export declare type ExperimentFormDefaultDiscriminatorValue = io.flow.internal.v0.models.ExperimentFormDefaultDiscriminatorValue;
|
|
21149
21147
|
export declare type ExperimentFormDefaultVariant = io.flow.internal.v0.models.ExperimentFormDefaultVariant;
|
|
21150
21148
|
export declare type ExperimentMilestone = io.flow.internal.v0.models.ExperimentMilestone;
|
|
21149
|
+
export declare type ExperimentMilestoneDeleted = io.flow.internal.v0.models.ExperimentMilestoneDeleted;
|
|
21151
21150
|
export declare type ExperimentMilestoneForm = io.flow.internal.v0.models.ExperimentMilestoneForm;
|
|
21151
|
+
export declare type ExperimentMilestoneUpserted = io.flow.internal.v0.models.ExperimentMilestoneUpserted;
|
|
21152
21152
|
export declare type ExperimentReference = io.flow.internal.v0.models.ExperimentReference;
|
|
21153
21153
|
export declare type ExperimentResults = io.flow.internal.v0.models.ExperimentResults;
|
|
21154
21154
|
export declare type ExperimentResultsDeleted = io.flow.internal.v0.models.ExperimentResultsDeleted;
|
|
@@ -21533,9 +21533,6 @@ export declare type OrderSubmissionForm = io.flow.internal.v0.models.OrderSubmis
|
|
|
21533
21533
|
export declare type OrganizationBooleanValue = io.flow.internal.v0.models.OrganizationBooleanValue;
|
|
21534
21534
|
export declare type OrganizationBooleanValueDeleted = io.flow.internal.v0.models.OrganizationBooleanValueDeleted;
|
|
21535
21535
|
export declare type OrganizationBooleanValueUpserted = io.flow.internal.v0.models.OrganizationBooleanValueUpserted;
|
|
21536
|
-
export declare type OrganizationCurrencySettings = io.flow.internal.v0.models.OrganizationCurrencySettings;
|
|
21537
|
-
export declare type OrganizationCurrencySettingsDeleted = io.flow.internal.v0.models.OrganizationCurrencySettingsDeleted;
|
|
21538
|
-
export declare type OrganizationCurrencySettingsUpserted = io.flow.internal.v0.models.OrganizationCurrencySettingsUpserted;
|
|
21539
21536
|
export declare type OrganizationMembershipCopy = io.flow.internal.v0.models.OrganizationMembershipCopy;
|
|
21540
21537
|
export declare type OrganizationMembershipCopyForm = io.flow.internal.v0.models.OrganizationMembershipCopyForm;
|
|
21541
21538
|
export declare type OrganizationSettings = io.flow.internal.v0.models.OrganizationSettings;
|
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
|
|
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.
|
|
3
|
+
"version": "11.9.0",
|
|
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": "
|
|
28
|
+
"gitHead": "9da131fe8536ec8b18dc745de741ebe545c5bc12"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -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:
|
|
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 {
|
|
@@ -8527,6 +8529,7 @@ declare namespace io.flow.common.v0.enums {
|
|
|
8527
8529
|
| 'saturday';
|
|
8528
8530
|
type DeliveredDuty = 'paid' | 'unpaid';
|
|
8529
8531
|
type DiscountTarget = 'item' | 'shipping';
|
|
8532
|
+
type EntityIdentifierType = 'ioss';
|
|
8530
8533
|
type Environment = 'sandbox' | 'production';
|
|
8531
8534
|
type ExceptionType = 'open' | 'closed';
|
|
8532
8535
|
type GoodsSupply = 'export' | 'intra_community' | 'local';
|
|
@@ -8674,6 +8677,11 @@ declare namespace io.flow.common.v0.models {
|
|
|
8674
8677
|
readonly value: number;
|
|
8675
8678
|
}
|
|
8676
8679
|
|
|
8680
|
+
interface EntityIdentifier {
|
|
8681
|
+
readonly name: io.flow.common.v0.enums.EntityIdentifierType;
|
|
8682
|
+
readonly number: string;
|
|
8683
|
+
}
|
|
8684
|
+
|
|
8677
8685
|
interface Exception {
|
|
8678
8686
|
readonly type: io.flow.common.v0.enums.ExceptionType;
|
|
8679
8687
|
readonly datetime_range: io.flow.common.v0.models.DatetimeRange;
|
|
@@ -8762,7 +8770,8 @@ declare namespace io.flow.common.v0.models {
|
|
|
8762
8770
|
interface MerchantOfRecordEntity {
|
|
8763
8771
|
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
8764
8772
|
readonly name: string;
|
|
8765
|
-
readonly vat
|
|
8773
|
+
readonly vat?: io.flow.common.v0.models.MerchantOfRecordEntityRegistration;
|
|
8774
|
+
readonly identifiers?: io.flow.common.v0.models.EntityIdentifier[];
|
|
8766
8775
|
readonly streets: string[];
|
|
8767
8776
|
readonly city: string;
|
|
8768
8777
|
readonly province?: string;
|
|
@@ -10007,14 +10016,6 @@ declare namespace io.flow.currency.internal.v0.models {
|
|
|
10007
10016
|
readonly flow_currency_setting: io.flow.currency.internal.v0.models.FlowCurrencySetting;
|
|
10008
10017
|
}
|
|
10009
10018
|
|
|
10010
|
-
interface OrganizationCurrencySettings {
|
|
10011
|
-
readonly id: string;
|
|
10012
|
-
readonly organization: string;
|
|
10013
|
-
readonly base: string;
|
|
10014
|
-
readonly target: string;
|
|
10015
|
-
readonly margin: number;
|
|
10016
|
-
}
|
|
10017
|
-
|
|
10018
10019
|
interface RateData {
|
|
10019
10020
|
readonly base: string;
|
|
10020
10021
|
readonly target: string;
|
|
@@ -12189,7 +12190,7 @@ declare namespace io.flow.billing.internal.v0.models {
|
|
|
12189
12190
|
readonly discriminator: 'platform_fee_flat';
|
|
12190
12191
|
readonly amount: number;
|
|
12191
12192
|
readonly currency: string;
|
|
12192
|
-
readonly frequency:
|
|
12193
|
+
readonly frequency: io.flow.billing.v0.enums.SubscriptionFrequency;
|
|
12193
12194
|
}
|
|
12194
12195
|
|
|
12195
12196
|
interface PlatformFeePause {
|
|
@@ -17303,8 +17304,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
17303
17304
|
| 'rate_upserted'
|
|
17304
17305
|
| 'spot_rate_deleted'
|
|
17305
17306
|
| 'spot_rate_upserted'
|
|
17306
|
-
| 'organization_currency_settings_upserted'
|
|
17307
|
-
| 'organization_currency_settings_deleted'
|
|
17308
17307
|
| 'rate_deleted_v2'
|
|
17309
17308
|
| 'rate_upserted_v2'
|
|
17310
17309
|
| 'customer_purge_upserted'
|
|
@@ -17332,6 +17331,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
17332
17331
|
| 'experiment_results_deleted'
|
|
17333
17332
|
| 'daily_experiment_results_upserted'
|
|
17334
17333
|
| 'daily_experiment_results_deleted'
|
|
17334
|
+
| 'experiment_milestone_upserted'
|
|
17335
|
+
| 'experiment_milestone_deleted'
|
|
17335
17336
|
| 'export_completed'
|
|
17336
17337
|
| 'export_failed'
|
|
17337
17338
|
| 'feature_upserted'
|
|
@@ -18205,6 +18206,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18205
18206
|
readonly currency: string;
|
|
18206
18207
|
readonly billing_address?: io.flow.common.v0.models.BillingAddress;
|
|
18207
18208
|
readonly ip?: string;
|
|
18209
|
+
readonly origin_url?: string;
|
|
18208
18210
|
}
|
|
18209
18211
|
|
|
18210
18212
|
interface AuthorizedChargeStatus {
|
|
@@ -20044,6 +20046,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20044
20046
|
|
|
20045
20047
|
interface CheckoutSequencedInitiatePaymentResponseSuccess {
|
|
20046
20048
|
readonly discriminator: 'checkout_sequenced_initiate_payment_response_success';
|
|
20049
|
+
readonly authorization_key?: string;
|
|
20047
20050
|
readonly action_requirement: io.flow.checkout.backend.v0.unions.CheckoutPaymentActionRequirement;
|
|
20048
20051
|
}
|
|
20049
20052
|
|
|
@@ -21177,11 +21180,27 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21177
21180
|
readonly description: string;
|
|
21178
21181
|
}
|
|
21179
21182
|
|
|
21183
|
+
interface ExperimentMilestoneDeleted {
|
|
21184
|
+
readonly discriminator: 'experiment_milestone_deleted';
|
|
21185
|
+
readonly event_id: string;
|
|
21186
|
+
readonly timestamp: string;
|
|
21187
|
+
readonly organization: string;
|
|
21188
|
+
readonly id: string;
|
|
21189
|
+
}
|
|
21190
|
+
|
|
21180
21191
|
interface ExperimentMilestoneForm {
|
|
21181
21192
|
readonly timestamp?: string;
|
|
21182
21193
|
readonly description: string;
|
|
21183
21194
|
}
|
|
21184
21195
|
|
|
21196
|
+
interface ExperimentMilestoneUpserted {
|
|
21197
|
+
readonly discriminator: 'experiment_milestone_upserted';
|
|
21198
|
+
readonly event_id: string;
|
|
21199
|
+
readonly timestamp: string;
|
|
21200
|
+
readonly organization: string;
|
|
21201
|
+
readonly experiment_milestone: io.flow.experiment.internal.v0.models.ExperimentMilestone;
|
|
21202
|
+
}
|
|
21203
|
+
|
|
21185
21204
|
interface ExperimentReference {
|
|
21186
21205
|
readonly key: string;
|
|
21187
21206
|
}
|
|
@@ -23828,28 +23847,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23828
23847
|
readonly value: io.flow.internal.v0.models.OrganizationBooleanValue;
|
|
23829
23848
|
}
|
|
23830
23849
|
|
|
23831
|
-
interface OrganizationCurrencySettings {
|
|
23832
|
-
readonly id: string;
|
|
23833
|
-
readonly organization: string;
|
|
23834
|
-
readonly base: string;
|
|
23835
|
-
readonly target: string;
|
|
23836
|
-
readonly margin: number;
|
|
23837
|
-
}
|
|
23838
|
-
|
|
23839
|
-
interface OrganizationCurrencySettingsDeleted {
|
|
23840
|
-
readonly discriminator: 'organization_currency_settings_deleted';
|
|
23841
|
-
readonly event_id: string;
|
|
23842
|
-
readonly timestamp: string;
|
|
23843
|
-
readonly organization_currency_settings: io.flow.currency.internal.v0.models.OrganizationCurrencySettings;
|
|
23844
|
-
}
|
|
23845
|
-
|
|
23846
|
-
interface OrganizationCurrencySettingsUpserted {
|
|
23847
|
-
readonly discriminator: 'organization_currency_settings_upserted';
|
|
23848
|
-
readonly event_id: string;
|
|
23849
|
-
readonly timestamp: string;
|
|
23850
|
-
readonly organization_currency_settings: io.flow.currency.internal.v0.models.OrganizationCurrencySettings;
|
|
23851
|
-
}
|
|
23852
|
-
|
|
23853
23850
|
interface OrganizationMembershipCopy {
|
|
23854
23851
|
readonly from: string;
|
|
23855
23852
|
readonly to: string;
|
|
@@ -24230,7 +24227,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
24230
24227
|
readonly discriminator: 'platform_fee_flat';
|
|
24231
24228
|
readonly amount: number;
|
|
24232
24229
|
readonly currency: string;
|
|
24233
|
-
readonly frequency:
|
|
24230
|
+
readonly frequency: io.flow.billing.v0.enums.SubscriptionFrequency;
|
|
24234
24231
|
}
|
|
24235
24232
|
|
|
24236
24233
|
interface PlatformFeePause {
|
|
@@ -26281,8 +26278,6 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
26281
26278
|
| io.flow.internal.v0.models.RateUpserted
|
|
26282
26279
|
| io.flow.internal.v0.models.SpotRateDeleted
|
|
26283
26280
|
| io.flow.internal.v0.models.SpotRateUpserted
|
|
26284
|
-
| io.flow.internal.v0.models.OrganizationCurrencySettingsUpserted
|
|
26285
|
-
| io.flow.internal.v0.models.OrganizationCurrencySettingsDeleted
|
|
26286
26281
|
| io.flow.internal.v0.models.RateDeletedV2
|
|
26287
26282
|
| io.flow.internal.v0.models.RateUpsertedV2
|
|
26288
26283
|
| io.flow.internal.v0.models.CustomerPurgeUpserted
|
|
@@ -26310,6 +26305,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
26310
26305
|
| io.flow.internal.v0.models.ExperimentResultsDeleted
|
|
26311
26306
|
| io.flow.internal.v0.models.DailyExperimentResultsUpserted
|
|
26312
26307
|
| io.flow.internal.v0.models.DailyExperimentResultsDeleted
|
|
26308
|
+
| io.flow.internal.v0.models.ExperimentMilestoneUpserted
|
|
26309
|
+
| io.flow.internal.v0.models.ExperimentMilestoneDeleted
|
|
26313
26310
|
| io.flow.internal.v0.models.ExportCompleted
|
|
26314
26311
|
| io.flow.internal.v0.models.ExportFailed
|
|
26315
26312
|
| io.flow.internal.v0.models.FeatureUpserted
|
|
@@ -27346,7 +27343,9 @@ export type ExperimentFormDefaultDiscriminator = io.flow.internal.v0.models.Expe
|
|
|
27346
27343
|
export type ExperimentFormDefaultDiscriminatorValue = io.flow.internal.v0.models.ExperimentFormDefaultDiscriminatorValue;
|
|
27347
27344
|
export type ExperimentFormDefaultVariant = io.flow.internal.v0.models.ExperimentFormDefaultVariant;
|
|
27348
27345
|
export type ExperimentMilestone = io.flow.internal.v0.models.ExperimentMilestone;
|
|
27346
|
+
export type ExperimentMilestoneDeleted = io.flow.internal.v0.models.ExperimentMilestoneDeleted;
|
|
27349
27347
|
export type ExperimentMilestoneForm = io.flow.internal.v0.models.ExperimentMilestoneForm;
|
|
27348
|
+
export type ExperimentMilestoneUpserted = io.flow.internal.v0.models.ExperimentMilestoneUpserted;
|
|
27350
27349
|
export type ExperimentReference = io.flow.internal.v0.models.ExperimentReference;
|
|
27351
27350
|
export type ExperimentResults = io.flow.internal.v0.models.ExperimentResults;
|
|
27352
27351
|
export type ExperimentResultsDeleted = io.flow.internal.v0.models.ExperimentResultsDeleted;
|
|
@@ -27731,9 +27730,6 @@ export type OrderSubmissionForm = io.flow.internal.v0.models.OrderSubmissionForm
|
|
|
27731
27730
|
export type OrganizationBooleanValue = io.flow.internal.v0.models.OrganizationBooleanValue;
|
|
27732
27731
|
export type OrganizationBooleanValueDeleted = io.flow.internal.v0.models.OrganizationBooleanValueDeleted;
|
|
27733
27732
|
export type OrganizationBooleanValueUpserted = io.flow.internal.v0.models.OrganizationBooleanValueUpserted;
|
|
27734
|
-
export type OrganizationCurrencySettings = io.flow.internal.v0.models.OrganizationCurrencySettings;
|
|
27735
|
-
export type OrganizationCurrencySettingsDeleted = io.flow.internal.v0.models.OrganizationCurrencySettingsDeleted;
|
|
27736
|
-
export type OrganizationCurrencySettingsUpserted = io.flow.internal.v0.models.OrganizationCurrencySettingsUpserted;
|
|
27737
27733
|
export type OrganizationMembershipCopy = io.flow.internal.v0.models.OrganizationMembershipCopy;
|
|
27738
27734
|
export type OrganizationMembershipCopyForm = io.flow.internal.v0.models.OrganizationMembershipCopyForm;
|
|
27739
27735
|
export type OrganizationSettings = io.flow.internal.v0.models.OrganizationSettings;
|
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
|
|
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;
|