@flowio/types 9.4.3 → 9.5.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 +100 -11
- package/dist/api.d.ts +15 -0
- package/package.json +2 -2
- package/src/api-internal.ts +112 -12
- package/src/api.ts +18 -0
package/dist/api-internal.d.ts
CHANGED
|
@@ -84,6 +84,7 @@ declare namespace io.flow.order.price.v0.models {
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
declare namespace io.flow.experience.v0.enums {
|
|
87
|
+
type AddressFieldName = 'first_name' | 'last_name' | 'street_1' | 'street_2' | 'city' | 'province' | 'postal' | 'country' | 'phone' | 'company';
|
|
87
88
|
type CreditPaymentErrorCode = 'generic_error' | 'invalid_order_number' | 'invalid_currency' | 'invalid_description' | 'duplicate' | 'amount_must_be_positive' | 'amount_exceeds_balance' | 'insufficient_amount';
|
|
88
89
|
type DeliveredDutyDisplayType = 'all' | 'single';
|
|
89
90
|
type DiscountRuleStatus = 'active' | 'scheduled' | 'expired';
|
|
@@ -105,6 +106,13 @@ declare namespace io.flow.experience.v0.models {
|
|
|
105
106
|
readonly 'country': string;
|
|
106
107
|
readonly 'field_validation': io.flow.experience.v0.models.AddressFieldValidation;
|
|
107
108
|
readonly 'provinces': io.flow.experience.v0.models.AddressConfigurationProvince[];
|
|
109
|
+
readonly 'formats'?: io.flow.experience.v0.models.AddressConfigurationFormat[];
|
|
110
|
+
}
|
|
111
|
+
interface AddressConfigurationFieldPlacement {
|
|
112
|
+
readonly 'name': io.flow.experience.v0.enums.AddressFieldName;
|
|
113
|
+
}
|
|
114
|
+
interface AddressConfigurationFormat {
|
|
115
|
+
readonly 'placements': io.flow.experience.v0.models.AddressConfigurationFieldPlacement[];
|
|
108
116
|
}
|
|
109
117
|
interface AddressConfigurationProvince {
|
|
110
118
|
readonly 'value': string;
|
|
@@ -1218,10 +1226,6 @@ declare namespace io.flow.RESERVED_WORD_export.v0.models {
|
|
|
1218
1226
|
readonly 'has_codes'?: boolean;
|
|
1219
1227
|
readonly 'sort'?: string;
|
|
1220
1228
|
}
|
|
1221
|
-
interface HarmonizationLandedCostExportType {
|
|
1222
|
-
readonly 'discriminator': 'harmonization_landed_cost_export_type';
|
|
1223
|
-
readonly 'items': io.flow.RESERVED_WORD_export.v0.models.LandedCostItem[];
|
|
1224
|
-
}
|
|
1225
1229
|
interface HarmonizationOverviewExportType {
|
|
1226
1230
|
readonly 'discriminator': 'harmonization_overview_export_type';
|
|
1227
1231
|
readonly 'origin'?: string;
|
|
@@ -1294,7 +1298,7 @@ declare namespace io.flow.RESERVED_WORD_export.v0.models {
|
|
|
1294
1298
|
}
|
|
1295
1299
|
declare namespace io.flow.RESERVED_WORD_export.v0.unions {
|
|
1296
1300
|
type ExportDelivery = (io.flow.RESERVED_WORD_export.v0.models.ExportDeliveryEmail);
|
|
1297
|
-
type ExportType = (io.flow.RESERVED_WORD_export.v0.models.AccountTransactionsExportType | io.flow.RESERVED_WORD_export.v0.models.AccountOrdersExportType | io.flow.RESERVED_WORD_export.v0.models.AnalyticsExportType | io.flow.RESERVED_WORD_export.v0.models.CatalogItemExportType | io.flow.RESERVED_WORD_export.v0.models.ExperienceExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationOverviewExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs6ExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs10ExportType | io.flow.RESERVED_WORD_export.v0.models.UnharmonizedItemExportType | io.flow.RESERVED_WORD_export.v0.models.
|
|
1301
|
+
type ExportType = (io.flow.RESERVED_WORD_export.v0.models.AccountTransactionsExportType | io.flow.RESERVED_WORD_export.v0.models.AccountOrdersExportType | io.flow.RESERVED_WORD_export.v0.models.AnalyticsExportType | io.flow.RESERVED_WORD_export.v0.models.CatalogItemExportType | io.flow.RESERVED_WORD_export.v0.models.ExperienceExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationOverviewExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs6ExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs10ExportType | io.flow.RESERVED_WORD_export.v0.models.UnharmonizedItemExportType | io.flow.RESERVED_WORD_export.v0.models.OrderExportType | io.flow.RESERVED_WORD_export.v0.models.PriceBookItemExportType | io.flow.RESERVED_WORD_export.v0.models.SolidusProductExportType | io.flow.RESERVED_WORD_export.v0.models.SolidusVariantExportType | io.flow.RESERVED_WORD_export.v0.models.LocalizedItemPricesExportType | io.flow.RESERVED_WORD_export.v0.models.MarketingFeedsExportType);
|
|
1298
1302
|
}
|
|
1299
1303
|
declare namespace io.flow.flexe.v0.enums {
|
|
1300
1304
|
type FlexeAttachmentType = 'shipping_label' | 'packing_slip' | 'packing_slip_letter';
|
|
@@ -2889,7 +2893,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2889
2893
|
readonly 'payment_method_options'?: io.flow.stripe.v0.models.PaymentMethodOptions;
|
|
2890
2894
|
readonly 'payment_method_types'?: string[];
|
|
2891
2895
|
readonly 'receipt_email'?: string;
|
|
2892
|
-
readonly 'save_payment_method'
|
|
2896
|
+
readonly 'save_payment_method'?: boolean;
|
|
2893
2897
|
readonly 'setup_future_usage'?: io.flow.stripe.v0.enums.SetupFutureUsage;
|
|
2894
2898
|
}
|
|
2895
2899
|
interface PaymentIntentForm {
|
|
@@ -2909,7 +2913,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2909
2913
|
readonly 'payment_method_types'?: string[];
|
|
2910
2914
|
readonly 'receipt_email'?: string;
|
|
2911
2915
|
readonly 'return_url'?: string;
|
|
2912
|
-
readonly 'save_payment_method'
|
|
2916
|
+
readonly 'save_payment_method'?: boolean;
|
|
2913
2917
|
readonly 'setup_future_usage'?: io.flow.stripe.v0.enums.SetupFutureUsage;
|
|
2914
2918
|
readonly 'statement_descriptor'?: string;
|
|
2915
2919
|
readonly 'statement_descriptor_suffix'?: string;
|
|
@@ -2925,7 +2929,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2925
2929
|
readonly 'payment_method'?: string;
|
|
2926
2930
|
readonly 'payment_method_types'?: string[];
|
|
2927
2931
|
readonly 'receipt_email'?: string;
|
|
2928
|
-
readonly 'save_payment_method'
|
|
2932
|
+
readonly 'save_payment_method'?: boolean;
|
|
2929
2933
|
readonly 'statement_descriptor'?: string;
|
|
2930
2934
|
readonly 'statement_descriptor_suffix'?: string;
|
|
2931
2935
|
readonly 'transfer_data'?: io.flow.stripe.v0.models.TransferData;
|
|
@@ -2987,6 +2991,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2987
2991
|
readonly 'object': string;
|
|
2988
2992
|
readonly 'amount': number;
|
|
2989
2993
|
readonly 'charge': string;
|
|
2994
|
+
readonly 'payment_intent'?: string;
|
|
2990
2995
|
readonly 'created': number;
|
|
2991
2996
|
readonly 'currency': string;
|
|
2992
2997
|
readonly 'status': io.flow.stripe.v0.enums.RefundStatus;
|
|
@@ -2998,6 +3003,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2998
3003
|
}
|
|
2999
3004
|
interface RefundRequest {
|
|
3000
3005
|
readonly 'charge': string;
|
|
3006
|
+
readonly 'payment_intent'?: string;
|
|
3001
3007
|
readonly 'amount'?: number;
|
|
3002
3008
|
readonly 'reason'?: io.flow.stripe.v0.enums.RefundReason;
|
|
3003
3009
|
readonly 'refund_application_fee'?: boolean;
|
|
@@ -3100,6 +3106,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3100
3106
|
readonly 'code'?: io.flow.stripe.v0.enums.CardErrorCode;
|
|
3101
3107
|
readonly 'decline_code'?: string;
|
|
3102
3108
|
readonly 'param'?: string;
|
|
3109
|
+
readonly 'payment_intent'?: io.flow.stripe.v0.models.PaymentIntent;
|
|
3103
3110
|
}
|
|
3104
3111
|
interface StripeEvent {
|
|
3105
3112
|
readonly 'id': string;
|
|
@@ -3183,6 +3190,9 @@ declare namespace io.flow.customer.v0.models {
|
|
|
3183
3190
|
readonly 'customer': io.flow.customer.v0.models.Customer;
|
|
3184
3191
|
readonly 'last_used'?: io.flow.customer.v0.models.CustomerLastUsed;
|
|
3185
3192
|
}
|
|
3193
|
+
interface CustomerClientToken {
|
|
3194
|
+
readonly 'token': string;
|
|
3195
|
+
}
|
|
3186
3196
|
interface CustomerForm {
|
|
3187
3197
|
readonly 'number': string;
|
|
3188
3198
|
readonly 'email'?: string;
|
|
@@ -5126,6 +5136,13 @@ declare namespace io.flow.harmonization.internal.event.v0.models {
|
|
|
5126
5136
|
readonly 'discriminator': 'resync_fallback_rates';
|
|
5127
5137
|
readonly 'destinations': io.flow.reference.v0.models.Country[];
|
|
5128
5138
|
}
|
|
5139
|
+
interface TariffCodesExport {
|
|
5140
|
+
readonly 'discriminator': 'tariff_codes_export';
|
|
5141
|
+
readonly 'event_id': string;
|
|
5142
|
+
readonly 'timestamp': string;
|
|
5143
|
+
readonly 'organization': string;
|
|
5144
|
+
readonly 'export_id': string;
|
|
5145
|
+
}
|
|
5129
5146
|
interface UnharmonizedItemsExport {
|
|
5130
5147
|
readonly 'discriminator': 'unharmonized_items_export';
|
|
5131
5148
|
readonly 'event_id': string;
|
|
@@ -5137,7 +5154,7 @@ declare namespace io.flow.harmonization.internal.event.v0.models {
|
|
|
5137
5154
|
declare namespace io.flow.harmonization.internal.event.v0.unions {
|
|
5138
5155
|
type CustomsDescriptions = (io.flow.harmonization.internal.event.v0.models.CustomsDescriptionImport | io.flow.harmonization.internal.event.v0.models.CustomsDescriptionTariffsImport);
|
|
5139
5156
|
type HarmonizationEvent = (io.flow.harmonization.internal.event.v0.models.BlacklistedItemCreated | io.flow.harmonization.internal.event.v0.models.BlacklistedItemUpdated | io.flow.harmonization.internal.event.v0.models.BlacklistedItemDeleted);
|
|
5140
|
-
type HarmonizationExportRequest = (io.flow.harmonization.internal.event.v0.models.AllItemsExport | io.flow.harmonization.internal.event.v0.models.HarmonizedItemsHs6Export | io.flow.harmonization.internal.event.v0.models.UnharmonizedItemsExport | io.flow.harmonization.internal.event.v0.models.DutiedItemsExport);
|
|
5157
|
+
type HarmonizationExportRequest = (io.flow.harmonization.internal.event.v0.models.AllItemsExport | io.flow.harmonization.internal.event.v0.models.HarmonizedItemsHs6Export | io.flow.harmonization.internal.event.v0.models.UnharmonizedItemsExport | io.flow.harmonization.internal.event.v0.models.DutiedItemsExport | io.flow.harmonization.internal.event.v0.models.TariffCodesExport);
|
|
5141
5158
|
type HarmonizationImportPhraseSuggestionRequest = (io.flow.harmonization.internal.event.v0.models.HarmonizationPhraseSuggestionRequestImport);
|
|
5142
5159
|
type HarmonizationImportRequest = (io.flow.harmonization.internal.event.v0.models.HarmonizationCodesImport);
|
|
5143
5160
|
type HarmonizationSugestionEvent = (io.flow.harmonization.internal.event.v0.models.CustomsDescriptionSugestionCreated | io.flow.harmonization.internal.event.v0.models.ItemClassificationCreated);
|
|
@@ -5640,6 +5657,7 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
5640
5657
|
readonly 'external_id': string;
|
|
5641
5658
|
readonly 'processor_account_reference': io.flow.payment.internal.v0.models.ProcessorAccountReference;
|
|
5642
5659
|
readonly 'base_currency': string;
|
|
5660
|
+
readonly 'funding_currency': string;
|
|
5643
5661
|
readonly 'country': string;
|
|
5644
5662
|
}
|
|
5645
5663
|
interface FiservMerchantPutForm {
|
|
@@ -5647,6 +5665,7 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
5647
5665
|
readonly 'organization_id': string;
|
|
5648
5666
|
readonly 'external_id': string;
|
|
5649
5667
|
readonly 'base_currency': string;
|
|
5668
|
+
readonly 'funding_currency': string;
|
|
5650
5669
|
readonly 'country': string;
|
|
5651
5670
|
}
|
|
5652
5671
|
interface InternalAdyenAuthorizationDetails {
|
|
@@ -7749,14 +7768,16 @@ declare namespace io.flow.marketing.gateway.v0.models {
|
|
|
7749
7768
|
interface MarketingGatewayFeed {
|
|
7750
7769
|
readonly 'id': string;
|
|
7751
7770
|
readonly 'organization': io.flow.common.v0.models.OrganizationSummary;
|
|
7752
|
-
readonly 'experience'
|
|
7771
|
+
readonly 'experience'?: io.flow.common.v0.models.ExperienceSummary;
|
|
7753
7772
|
readonly 'schema': io.flow.marketing.gateway.v0.models.MarketingGatewaySchemaSummary;
|
|
7754
7773
|
readonly 'filter': io.flow.marketing.gateway.v0.models.MarketingGatewayFilterSummary;
|
|
7755
7774
|
readonly 'country': string;
|
|
7756
7775
|
readonly 'currency': string;
|
|
7757
7776
|
readonly 'language': string;
|
|
7758
7777
|
readonly 'feed_source': io.flow.marketing.gateway.v0.unions.MarketingGatewayFeedSource;
|
|
7778
|
+
readonly 'feed_state': io.flow.marketing.gateway.v0.enums.MarketingGatewayFeedState;
|
|
7759
7779
|
readonly 'tsv_download_url': string;
|
|
7780
|
+
readonly 'created_at': string;
|
|
7760
7781
|
}
|
|
7761
7782
|
interface MarketingGatewayFeedExportForm {
|
|
7762
7783
|
readonly 'feed_ids': string[];
|
|
@@ -8913,6 +8934,7 @@ declare namespace io.flow.billing.internal.v0.unions {
|
|
|
8913
8934
|
}
|
|
8914
8935
|
declare namespace io.flow.harmonization.internal.v0.enums {
|
|
8915
8936
|
type DutyExemptItemTypes = 'gift_card' | 'service' | 'digital_item';
|
|
8937
|
+
type DutyRateSource = 'tariff_code_rate' | 'compound_rate' | 'csv_fallback_rate' | 'hardcoded_rate';
|
|
8916
8938
|
type EmptyAttribute = 'irrelevant';
|
|
8917
8939
|
type ItemClassificationAction = 'ACCEPT' | 'MANUAL' | 'REJECT';
|
|
8918
8940
|
type ItemClassificationStatus = 'unknown' | 'manual' | 'manually_accepted' | 'manually_overridden' | 'automatically_accepted';
|
|
@@ -9009,6 +9031,7 @@ declare namespace io.flow.harmonization.internal.v0.models {
|
|
|
9009
9031
|
}
|
|
9010
9032
|
interface CustomsDetails {
|
|
9011
9033
|
readonly 'tariff_eligibility_data': io.flow.harmonization.internal.v0.unions.TariffEligibilityData[];
|
|
9034
|
+
readonly 'compliance_data': io.flow.harmonization.internal.v0.unions.ComplianceData[];
|
|
9012
9035
|
readonly 'item_customs_details': io.flow.harmonization.internal.v0.models.ItemCustomsDetails[];
|
|
9013
9036
|
}
|
|
9014
9037
|
interface CustomsDetailsForm {
|
|
@@ -9020,6 +9043,18 @@ declare namespace io.flow.harmonization.internal.v0.models {
|
|
|
9020
9043
|
readonly 'duty_rate': io.flow.price.v0.models.Duty;
|
|
9021
9044
|
readonly 'duty_rate_v2'?: io.flow.duty.internal.v0.models.DutyRate;
|
|
9022
9045
|
}
|
|
9046
|
+
interface DutyInternalRate {
|
|
9047
|
+
readonly 'id': string;
|
|
9048
|
+
readonly 'hs6': string;
|
|
9049
|
+
readonly 'origin': string;
|
|
9050
|
+
readonly 'destination': string;
|
|
9051
|
+
readonly 'tariff_code': string;
|
|
9052
|
+
readonly 'name': string;
|
|
9053
|
+
readonly 'long_name'?: string;
|
|
9054
|
+
readonly 'duty_expression': io.flow.duty.internal.v0.unions.DutyExpression;
|
|
9055
|
+
readonly 'source': io.flow.harmonization.internal.v0.enums.DutyRateSource;
|
|
9056
|
+
readonly 'position': number;
|
|
9057
|
+
}
|
|
9023
9058
|
interface HarmonizationCountries {
|
|
9024
9059
|
readonly 'origins': string[];
|
|
9025
9060
|
readonly 'destinations': string[];
|
|
@@ -9165,6 +9200,16 @@ declare namespace io.flow.harmonization.internal.v0.models {
|
|
|
9165
9200
|
readonly 'material'?: io.flow.harmonization.internal.v0.models.AttributeLabel;
|
|
9166
9201
|
readonly 'construction'?: io.flow.harmonization.internal.v0.models.AttributeLabel;
|
|
9167
9202
|
}
|
|
9203
|
+
interface RateNameSummary {
|
|
9204
|
+
readonly 'name': string;
|
|
9205
|
+
readonly 'long_name'?: string;
|
|
9206
|
+
readonly 'matching_rates_percentage': number;
|
|
9207
|
+
}
|
|
9208
|
+
interface RatesNamesSummary {
|
|
9209
|
+
readonly 'origin': io.flow.reference.v0.models.Country;
|
|
9210
|
+
readonly 'destination': io.flow.reference.v0.models.Country;
|
|
9211
|
+
readonly 'summaries': io.flow.harmonization.internal.v0.models.RateNameSummary[];
|
|
9212
|
+
}
|
|
9168
9213
|
interface RegisteredExporterTariffEligibilityData {
|
|
9169
9214
|
readonly 'discriminator': 'rex';
|
|
9170
9215
|
readonly 'number': string;
|
|
@@ -9226,6 +9271,11 @@ declare namespace io.flow.harmonization.internal.v0.models {
|
|
|
9226
9271
|
readonly 'name'?: string;
|
|
9227
9272
|
readonly 'address'?: string;
|
|
9228
9273
|
}
|
|
9274
|
+
interface WasteElectricalAndElectronicEquipmentComplianceData {
|
|
9275
|
+
readonly 'discriminator': 'weee';
|
|
9276
|
+
readonly 'label': string;
|
|
9277
|
+
readonly 'number': string;
|
|
9278
|
+
}
|
|
9229
9279
|
}
|
|
9230
9280
|
declare namespace io.flow.harmonization.internal.v0.unions {
|
|
9231
9281
|
type ClassificationJudgementForm = (io.flow.harmonization.internal.v0.models.ProductClassificationForm | io.flow.harmonization.internal.v0.models.NoClassificationForm);
|
|
@@ -9233,6 +9283,7 @@ declare namespace io.flow.harmonization.internal.v0.unions {
|
|
|
9233
9283
|
discriminator: 'empty_attribute';
|
|
9234
9284
|
value: io.flow.harmonization.internal.v0.enums.EmptyAttribute;
|
|
9235
9285
|
} | io.flow.harmonization.internal.v0.models.SupportedLabels);
|
|
9286
|
+
type ComplianceData = (io.flow.harmonization.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceData);
|
|
9236
9287
|
type TariffEligibilityData = (io.flow.harmonization.internal.v0.models.RegisteredExporterTariffEligibilityData);
|
|
9237
9288
|
type TariffEligibilityForm = (io.flow.harmonization.internal.v0.models.RegisteredExporterTariffEligibilityForm);
|
|
9238
9289
|
type TaskData = (io.flow.harmonization.internal.v0.models.TaskProcessQueuedEvent | io.flow.harmonization.internal.v0.models.TaskSummarizeCode | io.flow.harmonization.internal.v0.models.TaskItemUpserted | io.flow.harmonization.internal.v0.models.TaskImport);
|
|
@@ -11030,6 +11081,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
11030
11081
|
type DiscountRequestOrderEntitlementKey = 'subtotal';
|
|
11031
11082
|
type DutyCompoundExpressionType = 'sum' | 'max' | 'min';
|
|
11032
11083
|
type DutyExemptItemTypes = 'gift_card' | 'service' | 'digital_item';
|
|
11084
|
+
type DutyRateSource = 'tariff_code_rate' | 'compound_rate' | 'csv_fallback_rate' | 'hardcoded_rate';
|
|
11033
11085
|
type DutyRateUnitOfMeasure = 'kg' | 'sq m' | 'item' | 'pair';
|
|
11034
11086
|
type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
|
|
11035
11087
|
type EmptyAttribute = 'irrelevant';
|
|
@@ -12421,6 +12473,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12421
12473
|
}
|
|
12422
12474
|
interface CustomsDetails {
|
|
12423
12475
|
readonly 'tariff_eligibility_data': io.flow.internal.v0.unions.TariffEligibilityData[];
|
|
12476
|
+
readonly 'compliance_data': io.flow.internal.v0.unions.ComplianceData[];
|
|
12424
12477
|
readonly 'item_customs_details': io.flow.internal.v0.models.ItemCustomsDetails[];
|
|
12425
12478
|
}
|
|
12426
12479
|
interface CustomsDetailsForm {
|
|
@@ -12525,6 +12578,18 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12525
12578
|
readonly 'left': io.flow.internal.v0.unions.DutyExpression;
|
|
12526
12579
|
readonly 'right': io.flow.internal.v0.unions.DutyExpression;
|
|
12527
12580
|
}
|
|
12581
|
+
interface DutyInternalRate {
|
|
12582
|
+
readonly 'id': string;
|
|
12583
|
+
readonly 'hs6': string;
|
|
12584
|
+
readonly 'origin': string;
|
|
12585
|
+
readonly 'destination': string;
|
|
12586
|
+
readonly 'tariff_code': string;
|
|
12587
|
+
readonly 'name': string;
|
|
12588
|
+
readonly 'long_name'?: string;
|
|
12589
|
+
readonly 'duty_expression': io.flow.duty.internal.v0.unions.DutyExpression;
|
|
12590
|
+
readonly 'source': io.flow.internal.v0.enums.DutyRateSource;
|
|
12591
|
+
readonly 'position': number;
|
|
12592
|
+
}
|
|
12528
12593
|
interface DutyRate {
|
|
12529
12594
|
readonly 'id': string;
|
|
12530
12595
|
readonly 'raw_id': string;
|
|
@@ -12998,6 +13063,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12998
13063
|
readonly 'external_id': string;
|
|
12999
13064
|
readonly 'processor_account_reference': io.flow.internal.v0.models.ProcessorAccountReference;
|
|
13000
13065
|
readonly 'base_currency': string;
|
|
13066
|
+
readonly 'funding_currency': string;
|
|
13001
13067
|
readonly 'country': string;
|
|
13002
13068
|
}
|
|
13003
13069
|
interface FiservMerchantPutForm {
|
|
@@ -13005,6 +13071,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13005
13071
|
readonly 'organization_id': string;
|
|
13006
13072
|
readonly 'external_id': string;
|
|
13007
13073
|
readonly 'base_currency': string;
|
|
13074
|
+
readonly 'funding_currency': string;
|
|
13008
13075
|
readonly 'country': string;
|
|
13009
13076
|
}
|
|
13010
13077
|
interface FlowCurrencySetting {
|
|
@@ -13922,7 +13989,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13922
13989
|
interface MarketingGatewayFeed {
|
|
13923
13990
|
readonly 'id': string;
|
|
13924
13991
|
readonly 'organization': io.flow.common.v0.models.OrganizationSummary;
|
|
13925
|
-
readonly 'experience'
|
|
13992
|
+
readonly 'experience'?: io.flow.common.v0.models.ExperienceSummary;
|
|
13926
13993
|
readonly 'schema': io.flow.internal.v0.models.MarketingGatewaySchemaSummary;
|
|
13927
13994
|
readonly 'filter': io.flow.internal.v0.models.MarketingGatewayFilterSummary;
|
|
13928
13995
|
readonly 'country': string;
|
|
@@ -14972,6 +15039,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14972
15039
|
readonly 'timestamp': string;
|
|
14973
15040
|
readonly 'rate': io.flow.currency.internal.v0.models.Rate;
|
|
14974
15041
|
}
|
|
15042
|
+
interface RateNameSummary {
|
|
15043
|
+
readonly 'name': string;
|
|
15044
|
+
readonly 'long_name'?: string;
|
|
15045
|
+
readonly 'matching_rates_percentage': number;
|
|
15046
|
+
}
|
|
14975
15047
|
interface RateRefillRequest {
|
|
14976
15048
|
readonly 'discriminator': 'rate_refill_request';
|
|
14977
15049
|
readonly 'phrase_id': string;
|
|
@@ -15100,6 +15172,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15100
15172
|
readonly 'origin': io.flow.reference.v0.models.Country;
|
|
15101
15173
|
readonly 'destination': io.flow.reference.v0.models.Country;
|
|
15102
15174
|
}
|
|
15175
|
+
interface RatesNamesSummary {
|
|
15176
|
+
readonly 'origin': io.flow.reference.v0.models.Country;
|
|
15177
|
+
readonly 'destination': io.flow.reference.v0.models.Country;
|
|
15178
|
+
readonly 'summaries': io.flow.internal.v0.models.RateNameSummary[];
|
|
15179
|
+
}
|
|
15103
15180
|
interface ReadyToFulfill {
|
|
15104
15181
|
readonly 'discriminator': 'ready_to_fulfill';
|
|
15105
15182
|
readonly 'event_id': string;
|
|
@@ -16020,6 +16097,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16020
16097
|
readonly 'original': io.flow.common.v0.models.PriceWithBase;
|
|
16021
16098
|
readonly 'processing_fee': io.flow.internal.v0.models.Fee;
|
|
16022
16099
|
}
|
|
16100
|
+
interface WasteElectricalAndElectronicEquipmentComplianceData {
|
|
16101
|
+
readonly 'discriminator': 'weee';
|
|
16102
|
+
readonly 'label': string;
|
|
16103
|
+
readonly 'number': string;
|
|
16104
|
+
}
|
|
16023
16105
|
interface WholeOrderActionForm {
|
|
16024
16106
|
readonly 'discriminator': 'whole_order_action_form';
|
|
16025
16107
|
readonly 'action': io.flow.internal.v0.enums.OrderAction;
|
|
@@ -16037,6 +16119,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
16037
16119
|
discriminator: 'empty_attribute';
|
|
16038
16120
|
value: io.flow.internal.v0.enums.EmptyAttribute;
|
|
16039
16121
|
} | io.flow.internal.v0.models.SupportedLabels);
|
|
16122
|
+
type ComplianceData = (io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceData);
|
|
16040
16123
|
type ContentItem = (io.flow.internal.v0.models.Dict | io.flow.internal.v0.models.Href | io.flow.internal.v0.models.Label | io.flow.internal.v0.models.Load);
|
|
16041
16124
|
type DiscountRequestOfferForm = (io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm);
|
|
16042
16125
|
type DutyExpression = (io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression);
|
|
@@ -16297,6 +16380,7 @@ export declare type ClassificationProductSummary = io.flow.internal.v0.models.Cl
|
|
|
16297
16380
|
export declare type ClassificationProductSummaryPage = io.flow.internal.v0.models.ClassificationProductSummaryPage;
|
|
16298
16381
|
export declare type ClassifiedProduct = io.flow.internal.v0.models.ClassifiedProduct;
|
|
16299
16382
|
export declare type CompletePriceRule = io.flow.internal.v0.models.CompletePriceRule;
|
|
16383
|
+
export declare type ComplianceData = io.flow.internal.v0.unions.ComplianceData;
|
|
16300
16384
|
export declare type Components = io.flow.internal.v0.models.Components;
|
|
16301
16385
|
export declare type ConsumerOptinActivity = io.flow.internal.v0.models.ConsumerOptinActivity;
|
|
16302
16386
|
export declare type ContentElementType = io.flow.internal.v0.enums.ContentElementType;
|
|
@@ -16358,12 +16442,14 @@ export declare type DutyCompoundExpression = io.flow.internal.v0.models.DutyComp
|
|
|
16358
16442
|
export declare type DutyCompoundExpressionType = io.flow.internal.v0.enums.DutyCompoundExpressionType;
|
|
16359
16443
|
export declare type DutyExemptItemTypes = io.flow.internal.v0.enums.DutyExemptItemTypes;
|
|
16360
16444
|
export declare type DutyExpression = io.flow.internal.v0.unions.DutyExpression;
|
|
16445
|
+
export declare type DutyInternalRate = io.flow.internal.v0.models.DutyInternalRate;
|
|
16361
16446
|
export declare type DutyRate = io.flow.internal.v0.models.DutyRate;
|
|
16362
16447
|
export declare type DutyRateBulkRequest = io.flow.internal.v0.models.DutyRateBulkRequest;
|
|
16363
16448
|
export declare type DutyRateBulkResponse = io.flow.internal.v0.models.DutyRateBulkResponse;
|
|
16364
16449
|
export declare type DutyRateContext = io.flow.internal.v0.models.DutyRateContext;
|
|
16365
16450
|
export declare type DutyRateRequest = io.flow.internal.v0.models.DutyRateRequest;
|
|
16366
16451
|
export declare type DutyRateResponse = io.flow.internal.v0.models.DutyRateResponse;
|
|
16452
|
+
export declare type DutyRateSource = io.flow.internal.v0.enums.DutyRateSource;
|
|
16367
16453
|
export declare type DutyRateUnitOfMeasure = io.flow.internal.v0.enums.DutyRateUnitOfMeasure;
|
|
16368
16454
|
export declare type DutyRateUpserted = io.flow.internal.v0.models.DutyRateUpserted;
|
|
16369
16455
|
export declare type DutyRaw = io.flow.internal.v0.models.DutyRaw;
|
|
@@ -16822,6 +16908,7 @@ export declare type RateData = io.flow.internal.v0.models.RateData;
|
|
|
16822
16908
|
export declare type RateDataV3 = io.flow.internal.v0.models.RateDataV3;
|
|
16823
16909
|
export declare type RateDeleted = io.flow.internal.v0.models.RateDeleted;
|
|
16824
16910
|
export declare type RateDeletedV2 = io.flow.internal.v0.models.RateDeletedV2;
|
|
16911
|
+
export declare type RateNameSummary = io.flow.internal.v0.models.RateNameSummary;
|
|
16825
16912
|
export declare type RateRefillRequest = io.flow.internal.v0.models.RateRefillRequest;
|
|
16826
16913
|
export declare type RateSource = io.flow.internal.v0.enums.RateSource;
|
|
16827
16914
|
export declare type RateUpserted = io.flow.internal.v0.models.RateUpserted;
|
|
@@ -16840,6 +16927,7 @@ export declare type RatecardStandardConfigurationUpserted = io.flow.internal.v0.
|
|
|
16840
16927
|
export declare type RatecardStandardSettings = io.flow.internal.v0.models.RatecardStandardSettings;
|
|
16841
16928
|
export declare type RatecardSummary = io.flow.internal.v0.models.RatecardSummary;
|
|
16842
16929
|
export declare type RatesChanged = io.flow.internal.v0.models.RatesChanged;
|
|
16930
|
+
export declare type RatesNamesSummary = io.flow.internal.v0.models.RatesNamesSummary;
|
|
16843
16931
|
export declare type ReadyToFulfill = io.flow.internal.v0.models.ReadyToFulfill;
|
|
16844
16932
|
export declare type RedactedSecret = io.flow.internal.v0.models.RedactedSecret;
|
|
16845
16933
|
export declare type RedactedSecretConfig = io.flow.internal.v0.models.RedactedSecretConfig;
|
|
@@ -17034,5 +17122,6 @@ export declare type Variant = io.flow.internal.v0.unions.Variant;
|
|
|
17034
17122
|
export declare type VariantForm = io.flow.internal.v0.unions.VariantForm;
|
|
17035
17123
|
export declare type ViesResult = io.flow.internal.v0.models.ViesResult;
|
|
17036
17124
|
export declare type VirtualCardTransaction = io.flow.internal.v0.models.VirtualCardTransaction;
|
|
17125
|
+
export declare type WasteElectricalAndElectronicEquipmentComplianceData = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceData;
|
|
17037
17126
|
export declare type WholeOrderActionForm = io.flow.internal.v0.models.WholeOrderActionForm;
|
|
17038
17127
|
export {};
|
package/dist/api.d.ts
CHANGED
|
@@ -814,6 +814,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
814
814
|
}
|
|
815
815
|
declare namespace io.flow.v0.enums {
|
|
816
816
|
type AbandonedOrderSettingStatus = 'active' | 'inactive';
|
|
817
|
+
type AddressFieldName = 'first_name' | 'last_name' | 'street_1' | 'street_2' | 'city' | 'province' | 'postal' | 'country' | 'phone' | 'company';
|
|
817
818
|
type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
|
|
818
819
|
type Aggregate = 'maximum' | 'minimum';
|
|
819
820
|
type AttributeDataType = 'boolean' | 'decimal' | 'string' | 'json_array';
|
|
@@ -1038,6 +1039,13 @@ declare namespace io.flow.v0.models {
|
|
|
1038
1039
|
readonly 'country': string;
|
|
1039
1040
|
readonly 'field_validation': io.flow.v0.models.AddressFieldValidation;
|
|
1040
1041
|
readonly 'provinces': io.flow.v0.models.AddressConfigurationProvince[];
|
|
1042
|
+
readonly 'formats'?: io.flow.v0.models.AddressConfigurationFormat[];
|
|
1043
|
+
}
|
|
1044
|
+
interface AddressConfigurationFieldPlacement {
|
|
1045
|
+
readonly 'name': io.flow.v0.enums.AddressFieldName;
|
|
1046
|
+
}
|
|
1047
|
+
interface AddressConfigurationFormat {
|
|
1048
|
+
readonly 'placements': io.flow.v0.models.AddressConfigurationFieldPlacement[];
|
|
1041
1049
|
}
|
|
1042
1050
|
interface AddressConfigurationProvince {
|
|
1043
1051
|
readonly 'value': string;
|
|
@@ -2317,6 +2325,9 @@ declare namespace io.flow.v0.models {
|
|
|
2317
2325
|
readonly 'customer': io.flow.v0.models.Customer;
|
|
2318
2326
|
readonly 'last_used'?: io.flow.v0.models.CustomerLastUsed;
|
|
2319
2327
|
}
|
|
2328
|
+
interface CustomerClientToken {
|
|
2329
|
+
readonly 'token': string;
|
|
2330
|
+
}
|
|
2320
2331
|
interface CustomerDeleted {
|
|
2321
2332
|
readonly 'discriminator': 'customer_deleted';
|
|
2322
2333
|
readonly 'event_id': string;
|
|
@@ -7385,9 +7396,12 @@ export declare type AccountTransactionsExportType = io.flow.v0.models.AccountTra
|
|
|
7385
7396
|
export declare type AchAuthorizationForm = io.flow.v0.models.AchAuthorizationForm;
|
|
7386
7397
|
export declare type Address = io.flow.v0.models.Address;
|
|
7387
7398
|
export declare type AddressConfiguration = io.flow.v0.models.AddressConfiguration;
|
|
7399
|
+
export declare type AddressConfigurationFieldPlacement = io.flow.v0.models.AddressConfigurationFieldPlacement;
|
|
7400
|
+
export declare type AddressConfigurationFormat = io.flow.v0.models.AddressConfigurationFormat;
|
|
7388
7401
|
export declare type AddressConfigurationProvince = io.flow.v0.models.AddressConfigurationProvince;
|
|
7389
7402
|
export declare type AddressConfigurationProvinceTranslation = io.flow.v0.models.AddressConfigurationProvinceTranslation;
|
|
7390
7403
|
export declare type AddressConfigurationProvinceTranslationLocale = io.flow.v0.models.AddressConfigurationProvinceTranslationLocale;
|
|
7404
|
+
export declare type AddressFieldName = io.flow.v0.enums.AddressFieldName;
|
|
7391
7405
|
export declare type AddressFieldValidation = io.flow.v0.models.AddressFieldValidation;
|
|
7392
7406
|
export declare type AddressSuggestion = io.flow.v0.models.AddressSuggestion;
|
|
7393
7407
|
export declare type AddressVerification = io.flow.v0.models.AddressVerification;
|
|
@@ -7625,6 +7639,7 @@ export declare type CustomerAddressBookForm = io.flow.v0.models.CustomerAddressB
|
|
|
7625
7639
|
export declare type CustomerAddressPreference = io.flow.v0.models.CustomerAddressPreference;
|
|
7626
7640
|
export declare type CustomerAddressType = io.flow.v0.enums.CustomerAddressType;
|
|
7627
7641
|
export declare type CustomerBundle = io.flow.v0.models.CustomerBundle;
|
|
7642
|
+
export declare type CustomerClientToken = io.flow.v0.models.CustomerClientToken;
|
|
7628
7643
|
export declare type CustomerDeleted = io.flow.v0.models.CustomerDeleted;
|
|
7629
7644
|
export declare type CustomerForm = io.flow.v0.models.CustomerForm;
|
|
7630
7645
|
export declare type CustomerInvoice = io.flow.v0.models.CustomerInvoice;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.5.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",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"prettier": "^1.18.2",
|
|
28
28
|
"typescript": "3.8.3"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "43b3ec32f71367c5889a59f765989914fc8425cb"
|
|
31
31
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -98,6 +98,7 @@ declare namespace io.flow.order.price.v0.models {
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
declare namespace io.flow.experience.v0.enums {
|
|
101
|
+
type AddressFieldName = 'first_name' | 'last_name' | 'street_1' | 'street_2' | 'city' | 'province' | 'postal' | 'country' | 'phone' | 'company';
|
|
101
102
|
type CreditPaymentErrorCode = 'generic_error' | 'invalid_order_number' | 'invalid_currency' | 'invalid_description' | 'duplicate' | 'amount_must_be_positive' | 'amount_exceeds_balance' | 'insufficient_amount';
|
|
102
103
|
type DeliveredDutyDisplayType = 'all' | 'single';
|
|
103
104
|
type DiscountRuleStatus = 'active' | 'scheduled' | 'expired';
|
|
@@ -120,6 +121,15 @@ declare namespace io.flow.experience.v0.models {
|
|
|
120
121
|
readonly 'country': string;
|
|
121
122
|
readonly 'field_validation': io.flow.experience.v0.models.AddressFieldValidation;
|
|
122
123
|
readonly 'provinces': io.flow.experience.v0.models.AddressConfigurationProvince[];
|
|
124
|
+
readonly 'formats'?: io.flow.experience.v0.models.AddressConfigurationFormat[];
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
interface AddressConfigurationFieldPlacement {
|
|
128
|
+
readonly 'name': io.flow.experience.v0.enums.AddressFieldName;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
interface AddressConfigurationFormat {
|
|
132
|
+
readonly 'placements': io.flow.experience.v0.models.AddressConfigurationFieldPlacement[];
|
|
123
133
|
}
|
|
124
134
|
|
|
125
135
|
interface AddressConfigurationProvince {
|
|
@@ -1413,11 +1423,6 @@ declare namespace io.flow.RESERVED_WORD_export.v0.models {
|
|
|
1413
1423
|
readonly 'sort'?: string;
|
|
1414
1424
|
}
|
|
1415
1425
|
|
|
1416
|
-
interface HarmonizationLandedCostExportType {
|
|
1417
|
-
readonly 'discriminator': 'harmonization_landed_cost_export_type';
|
|
1418
|
-
readonly 'items': io.flow.RESERVED_WORD_export.v0.models.LandedCostItem[];
|
|
1419
|
-
}
|
|
1420
|
-
|
|
1421
1426
|
interface HarmonizationOverviewExportType {
|
|
1422
1427
|
readonly 'discriminator': 'harmonization_overview_export_type';
|
|
1423
1428
|
readonly 'origin'?: string;
|
|
@@ -1501,7 +1506,7 @@ declare namespace io.flow.RESERVED_WORD_export.v0.models {
|
|
|
1501
1506
|
|
|
1502
1507
|
declare namespace io.flow.RESERVED_WORD_export.v0.unions {
|
|
1503
1508
|
type ExportDelivery = (io.flow.RESERVED_WORD_export.v0.models.ExportDeliveryEmail);
|
|
1504
|
-
type ExportType = (io.flow.RESERVED_WORD_export.v0.models.AccountTransactionsExportType | io.flow.RESERVED_WORD_export.v0.models.AccountOrdersExportType | io.flow.RESERVED_WORD_export.v0.models.AnalyticsExportType | io.flow.RESERVED_WORD_export.v0.models.CatalogItemExportType | io.flow.RESERVED_WORD_export.v0.models.ExperienceExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationOverviewExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs6ExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs10ExportType | io.flow.RESERVED_WORD_export.v0.models.UnharmonizedItemExportType | io.flow.RESERVED_WORD_export.v0.models.
|
|
1509
|
+
type ExportType = (io.flow.RESERVED_WORD_export.v0.models.AccountTransactionsExportType | io.flow.RESERVED_WORD_export.v0.models.AccountOrdersExportType | io.flow.RESERVED_WORD_export.v0.models.AnalyticsExportType | io.flow.RESERVED_WORD_export.v0.models.CatalogItemExportType | io.flow.RESERVED_WORD_export.v0.models.ExperienceExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationOverviewExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs6ExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs10ExportType | io.flow.RESERVED_WORD_export.v0.models.UnharmonizedItemExportType | io.flow.RESERVED_WORD_export.v0.models.OrderExportType | io.flow.RESERVED_WORD_export.v0.models.PriceBookItemExportType | io.flow.RESERVED_WORD_export.v0.models.SolidusProductExportType | io.flow.RESERVED_WORD_export.v0.models.SolidusVariantExportType | io.flow.RESERVED_WORD_export.v0.models.LocalizedItemPricesExportType | io.flow.RESERVED_WORD_export.v0.models.MarketingFeedsExportType);
|
|
1505
1510
|
}
|
|
1506
1511
|
|
|
1507
1512
|
declare namespace io.flow.flexe.v0.enums {
|
|
@@ -3319,7 +3324,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3319
3324
|
readonly 'payment_method_options'?: io.flow.stripe.v0.models.PaymentMethodOptions;
|
|
3320
3325
|
readonly 'payment_method_types'?: string[];
|
|
3321
3326
|
readonly 'receipt_email'?: string;
|
|
3322
|
-
readonly 'save_payment_method'
|
|
3327
|
+
readonly 'save_payment_method'?: boolean;
|
|
3323
3328
|
readonly 'setup_future_usage'?: io.flow.stripe.v0.enums.SetupFutureUsage;
|
|
3324
3329
|
}
|
|
3325
3330
|
|
|
@@ -3340,7 +3345,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3340
3345
|
readonly 'payment_method_types'?: string[];
|
|
3341
3346
|
readonly 'receipt_email'?: string;
|
|
3342
3347
|
readonly 'return_url'?: string;
|
|
3343
|
-
readonly 'save_payment_method'
|
|
3348
|
+
readonly 'save_payment_method'?: boolean;
|
|
3344
3349
|
readonly 'setup_future_usage'?: io.flow.stripe.v0.enums.SetupFutureUsage;
|
|
3345
3350
|
readonly 'statement_descriptor'?: string;
|
|
3346
3351
|
readonly 'statement_descriptor_suffix'?: string;
|
|
@@ -3357,7 +3362,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3357
3362
|
readonly 'payment_method'?: string;
|
|
3358
3363
|
readonly 'payment_method_types'?: string[];
|
|
3359
3364
|
readonly 'receipt_email'?: string;
|
|
3360
|
-
readonly 'save_payment_method'
|
|
3365
|
+
readonly 'save_payment_method'?: boolean;
|
|
3361
3366
|
readonly 'statement_descriptor'?: string;
|
|
3362
3367
|
readonly 'statement_descriptor_suffix'?: string;
|
|
3363
3368
|
readonly 'transfer_data'?: io.flow.stripe.v0.models.TransferData;
|
|
@@ -3429,6 +3434,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3429
3434
|
readonly 'object': string;
|
|
3430
3435
|
readonly 'amount': number;
|
|
3431
3436
|
readonly 'charge': string;
|
|
3437
|
+
readonly 'payment_intent'?: string;
|
|
3432
3438
|
readonly 'created': number;
|
|
3433
3439
|
readonly 'currency': string;
|
|
3434
3440
|
readonly 'status': io.flow.stripe.v0.enums.RefundStatus;
|
|
@@ -3441,6 +3447,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3441
3447
|
|
|
3442
3448
|
interface RefundRequest {
|
|
3443
3449
|
readonly 'charge': string;
|
|
3450
|
+
readonly 'payment_intent'?: string;
|
|
3444
3451
|
readonly 'amount'?: number;
|
|
3445
3452
|
readonly 'reason'?: io.flow.stripe.v0.enums.RefundReason;
|
|
3446
3453
|
readonly 'refund_application_fee'?: boolean;
|
|
@@ -3553,6 +3560,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3553
3560
|
readonly 'code'?: io.flow.stripe.v0.enums.CardErrorCode;
|
|
3554
3561
|
readonly 'decline_code'?: string;
|
|
3555
3562
|
readonly 'param'?: string;
|
|
3563
|
+
readonly 'payment_intent'?: io.flow.stripe.v0.models.PaymentIntent;
|
|
3556
3564
|
}
|
|
3557
3565
|
|
|
3558
3566
|
interface StripeEvent {
|
|
@@ -3653,6 +3661,10 @@ declare namespace io.flow.customer.v0.models {
|
|
|
3653
3661
|
readonly 'last_used'?: io.flow.customer.v0.models.CustomerLastUsed;
|
|
3654
3662
|
}
|
|
3655
3663
|
|
|
3664
|
+
interface CustomerClientToken {
|
|
3665
|
+
readonly 'token': string;
|
|
3666
|
+
}
|
|
3667
|
+
|
|
3656
3668
|
interface CustomerForm {
|
|
3657
3669
|
readonly 'number': string;
|
|
3658
3670
|
readonly 'email'?: string;
|
|
@@ -5858,6 +5870,14 @@ declare namespace io.flow.harmonization.internal.event.v0.models {
|
|
|
5858
5870
|
readonly 'destinations': io.flow.reference.v0.models.Country[];
|
|
5859
5871
|
}
|
|
5860
5872
|
|
|
5873
|
+
interface TariffCodesExport {
|
|
5874
|
+
readonly 'discriminator': 'tariff_codes_export';
|
|
5875
|
+
readonly 'event_id': string;
|
|
5876
|
+
readonly 'timestamp': string;
|
|
5877
|
+
readonly 'organization': string;
|
|
5878
|
+
readonly 'export_id': string;
|
|
5879
|
+
}
|
|
5880
|
+
|
|
5861
5881
|
interface UnharmonizedItemsExport {
|
|
5862
5882
|
readonly 'discriminator': 'unharmonized_items_export';
|
|
5863
5883
|
readonly 'event_id': string;
|
|
@@ -5870,7 +5890,7 @@ declare namespace io.flow.harmonization.internal.event.v0.models {
|
|
|
5870
5890
|
declare namespace io.flow.harmonization.internal.event.v0.unions {
|
|
5871
5891
|
type CustomsDescriptions = (io.flow.harmonization.internal.event.v0.models.CustomsDescriptionImport | io.flow.harmonization.internal.event.v0.models.CustomsDescriptionTariffsImport);
|
|
5872
5892
|
type HarmonizationEvent = (io.flow.harmonization.internal.event.v0.models.BlacklistedItemCreated | io.flow.harmonization.internal.event.v0.models.BlacklistedItemUpdated | io.flow.harmonization.internal.event.v0.models.BlacklistedItemDeleted);
|
|
5873
|
-
type HarmonizationExportRequest = (io.flow.harmonization.internal.event.v0.models.AllItemsExport | io.flow.harmonization.internal.event.v0.models.HarmonizedItemsHs6Export | io.flow.harmonization.internal.event.v0.models.UnharmonizedItemsExport | io.flow.harmonization.internal.event.v0.models.DutiedItemsExport);
|
|
5893
|
+
type HarmonizationExportRequest = (io.flow.harmonization.internal.event.v0.models.AllItemsExport | io.flow.harmonization.internal.event.v0.models.HarmonizedItemsHs6Export | io.flow.harmonization.internal.event.v0.models.UnharmonizedItemsExport | io.flow.harmonization.internal.event.v0.models.DutiedItemsExport | io.flow.harmonization.internal.event.v0.models.TariffCodesExport);
|
|
5874
5894
|
type HarmonizationImportPhraseSuggestionRequest = (io.flow.harmonization.internal.event.v0.models.HarmonizationPhraseSuggestionRequestImport);
|
|
5875
5895
|
type HarmonizationImportRequest = (io.flow.harmonization.internal.event.v0.models.HarmonizationCodesImport);
|
|
5876
5896
|
type HarmonizationSugestionEvent = (io.flow.harmonization.internal.event.v0.models.CustomsDescriptionSugestionCreated | io.flow.harmonization.internal.event.v0.models.ItemClassificationCreated);
|
|
@@ -6450,6 +6470,7 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
6450
6470
|
readonly 'external_id': string;
|
|
6451
6471
|
readonly 'processor_account_reference': io.flow.payment.internal.v0.models.ProcessorAccountReference;
|
|
6452
6472
|
readonly 'base_currency': string;
|
|
6473
|
+
readonly 'funding_currency': string;
|
|
6453
6474
|
readonly 'country': string;
|
|
6454
6475
|
}
|
|
6455
6476
|
|
|
@@ -6458,6 +6479,7 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
6458
6479
|
readonly 'organization_id': string;
|
|
6459
6480
|
readonly 'external_id': string;
|
|
6460
6481
|
readonly 'base_currency': string;
|
|
6482
|
+
readonly 'funding_currency': string;
|
|
6461
6483
|
readonly 'country': string;
|
|
6462
6484
|
}
|
|
6463
6485
|
|
|
@@ -8902,14 +8924,16 @@ declare namespace io.flow.marketing.gateway.v0.models {
|
|
|
8902
8924
|
interface MarketingGatewayFeed {
|
|
8903
8925
|
readonly 'id': string;
|
|
8904
8926
|
readonly 'organization': io.flow.common.v0.models.OrganizationSummary;
|
|
8905
|
-
readonly 'experience'
|
|
8927
|
+
readonly 'experience'?: io.flow.common.v0.models.ExperienceSummary;
|
|
8906
8928
|
readonly 'schema': io.flow.marketing.gateway.v0.models.MarketingGatewaySchemaSummary;
|
|
8907
8929
|
readonly 'filter': io.flow.marketing.gateway.v0.models.MarketingGatewayFilterSummary;
|
|
8908
8930
|
readonly 'country': string;
|
|
8909
8931
|
readonly 'currency': string;
|
|
8910
8932
|
readonly 'language': string;
|
|
8911
8933
|
readonly 'feed_source': io.flow.marketing.gateway.v0.unions.MarketingGatewayFeedSource;
|
|
8934
|
+
readonly 'feed_state': io.flow.marketing.gateway.v0.enums.MarketingGatewayFeedState;
|
|
8912
8935
|
readonly 'tsv_download_url': string;
|
|
8936
|
+
readonly 'created_at': string;
|
|
8913
8937
|
}
|
|
8914
8938
|
|
|
8915
8939
|
interface MarketingGatewayFeedExportForm {
|
|
@@ -10253,6 +10277,7 @@ declare namespace io.flow.billing.internal.v0.unions {
|
|
|
10253
10277
|
|
|
10254
10278
|
declare namespace io.flow.harmonization.internal.v0.enums {
|
|
10255
10279
|
type DutyExemptItemTypes = 'gift_card' | 'service' | 'digital_item';
|
|
10280
|
+
type DutyRateSource = 'tariff_code_rate' | 'compound_rate' | 'csv_fallback_rate' | 'hardcoded_rate';
|
|
10256
10281
|
type EmptyAttribute = 'irrelevant';
|
|
10257
10282
|
type ItemClassificationAction = 'ACCEPT' | 'MANUAL' | 'REJECT';
|
|
10258
10283
|
type ItemClassificationStatus = 'unknown' | 'manual' | 'manually_accepted' | 'manually_overridden' | 'automatically_accepted';
|
|
@@ -10364,6 +10389,7 @@ declare namespace io.flow.harmonization.internal.v0.models {
|
|
|
10364
10389
|
|
|
10365
10390
|
interface CustomsDetails {
|
|
10366
10391
|
readonly 'tariff_eligibility_data': io.flow.harmonization.internal.v0.unions.TariffEligibilityData[];
|
|
10392
|
+
readonly 'compliance_data': io.flow.harmonization.internal.v0.unions.ComplianceData[];
|
|
10367
10393
|
readonly 'item_customs_details': io.flow.harmonization.internal.v0.models.ItemCustomsDetails[];
|
|
10368
10394
|
}
|
|
10369
10395
|
|
|
@@ -10378,6 +10404,19 @@ declare namespace io.flow.harmonization.internal.v0.models {
|
|
|
10378
10404
|
readonly 'duty_rate_v2'?: io.flow.duty.internal.v0.models.DutyRate;
|
|
10379
10405
|
}
|
|
10380
10406
|
|
|
10407
|
+
interface DutyInternalRate {
|
|
10408
|
+
readonly 'id': string;
|
|
10409
|
+
readonly 'hs6': string;
|
|
10410
|
+
readonly 'origin': string;
|
|
10411
|
+
readonly 'destination': string;
|
|
10412
|
+
readonly 'tariff_code': string;
|
|
10413
|
+
readonly 'name': string;
|
|
10414
|
+
readonly 'long_name'?: string;
|
|
10415
|
+
readonly 'duty_expression': io.flow.duty.internal.v0.unions.DutyExpression;
|
|
10416
|
+
readonly 'source': io.flow.harmonization.internal.v0.enums.DutyRateSource;
|
|
10417
|
+
readonly 'position': number;
|
|
10418
|
+
}
|
|
10419
|
+
|
|
10381
10420
|
interface HarmonizationCountries {
|
|
10382
10421
|
readonly 'origins': string[];
|
|
10383
10422
|
readonly 'destinations': string[];
|
|
@@ -10545,6 +10584,18 @@ declare namespace io.flow.harmonization.internal.v0.models {
|
|
|
10545
10584
|
readonly 'construction'?: io.flow.harmonization.internal.v0.models.AttributeLabel;
|
|
10546
10585
|
}
|
|
10547
10586
|
|
|
10587
|
+
interface RateNameSummary {
|
|
10588
|
+
readonly 'name': string;
|
|
10589
|
+
readonly 'long_name'?: string;
|
|
10590
|
+
readonly 'matching_rates_percentage': number;
|
|
10591
|
+
}
|
|
10592
|
+
|
|
10593
|
+
interface RatesNamesSummary {
|
|
10594
|
+
readonly 'origin': io.flow.reference.v0.models.Country;
|
|
10595
|
+
readonly 'destination': io.flow.reference.v0.models.Country;
|
|
10596
|
+
readonly 'summaries': io.flow.harmonization.internal.v0.models.RateNameSummary[];
|
|
10597
|
+
}
|
|
10598
|
+
|
|
10548
10599
|
interface RegisteredExporterTariffEligibilityData {
|
|
10549
10600
|
readonly 'discriminator': 'rex';
|
|
10550
10601
|
readonly 'number': string;
|
|
@@ -10618,6 +10669,12 @@ declare namespace io.flow.harmonization.internal.v0.models {
|
|
|
10618
10669
|
readonly 'name'?: string;
|
|
10619
10670
|
readonly 'address'?: string;
|
|
10620
10671
|
}
|
|
10672
|
+
|
|
10673
|
+
interface WasteElectricalAndElectronicEquipmentComplianceData {
|
|
10674
|
+
readonly 'discriminator': 'weee';
|
|
10675
|
+
readonly 'label': string;
|
|
10676
|
+
readonly 'number': string;
|
|
10677
|
+
}
|
|
10621
10678
|
}
|
|
10622
10679
|
|
|
10623
10680
|
declare namespace io.flow.harmonization.internal.v0.unions {
|
|
@@ -10628,6 +10685,7 @@ declare namespace io.flow.harmonization.internal.v0.unions {
|
|
|
10628
10685
|
value: io.flow.harmonization.internal.v0.enums.EmptyAttribute
|
|
10629
10686
|
} | io.flow.harmonization.internal.v0.models.SupportedLabels);
|
|
10630
10687
|
|
|
10688
|
+
type ComplianceData = (io.flow.harmonization.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceData);
|
|
10631
10689
|
type TariffEligibilityData = (io.flow.harmonization.internal.v0.models.RegisteredExporterTariffEligibilityData);
|
|
10632
10690
|
type TariffEligibilityForm = (io.flow.harmonization.internal.v0.models.RegisteredExporterTariffEligibilityForm);
|
|
10633
10691
|
type TaskData = (io.flow.harmonization.internal.v0.models.TaskProcessQueuedEvent | io.flow.harmonization.internal.v0.models.TaskSummarizeCode | io.flow.harmonization.internal.v0.models.TaskItemUpserted | io.flow.harmonization.internal.v0.models.TaskImport);
|
|
@@ -12729,6 +12787,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12729
12787
|
type DiscountRequestOrderEntitlementKey = 'subtotal';
|
|
12730
12788
|
type DutyCompoundExpressionType = 'sum' | 'max' | 'min';
|
|
12731
12789
|
type DutyExemptItemTypes = 'gift_card' | 'service' | 'digital_item';
|
|
12790
|
+
type DutyRateSource = 'tariff_code_rate' | 'compound_rate' | 'csv_fallback_rate' | 'hardcoded_rate';
|
|
12732
12791
|
type DutyRateUnitOfMeasure = 'kg' | 'sq m' | 'item' | 'pair';
|
|
12733
12792
|
type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
|
|
12734
12793
|
type EmptyAttribute = 'irrelevant';
|
|
@@ -14334,6 +14393,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14334
14393
|
|
|
14335
14394
|
interface CustomsDetails {
|
|
14336
14395
|
readonly 'tariff_eligibility_data': io.flow.internal.v0.unions.TariffEligibilityData[];
|
|
14396
|
+
readonly 'compliance_data': io.flow.internal.v0.unions.ComplianceData[];
|
|
14337
14397
|
readonly 'item_customs_details': io.flow.internal.v0.models.ItemCustomsDetails[];
|
|
14338
14398
|
}
|
|
14339
14399
|
|
|
@@ -14458,6 +14518,19 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14458
14518
|
readonly 'right': io.flow.internal.v0.unions.DutyExpression;
|
|
14459
14519
|
}
|
|
14460
14520
|
|
|
14521
|
+
interface DutyInternalRate {
|
|
14522
|
+
readonly 'id': string;
|
|
14523
|
+
readonly 'hs6': string;
|
|
14524
|
+
readonly 'origin': string;
|
|
14525
|
+
readonly 'destination': string;
|
|
14526
|
+
readonly 'tariff_code': string;
|
|
14527
|
+
readonly 'name': string;
|
|
14528
|
+
readonly 'long_name'?: string;
|
|
14529
|
+
readonly 'duty_expression': io.flow.duty.internal.v0.unions.DutyExpression;
|
|
14530
|
+
readonly 'source': io.flow.internal.v0.enums.DutyRateSource;
|
|
14531
|
+
readonly 'position': number;
|
|
14532
|
+
}
|
|
14533
|
+
|
|
14461
14534
|
interface DutyRate {
|
|
14462
14535
|
readonly 'id': string;
|
|
14463
14536
|
readonly 'raw_id': string;
|
|
@@ -15006,6 +15079,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15006
15079
|
readonly 'external_id': string;
|
|
15007
15080
|
readonly 'processor_account_reference': io.flow.internal.v0.models.ProcessorAccountReference;
|
|
15008
15081
|
readonly 'base_currency': string;
|
|
15082
|
+
readonly 'funding_currency': string;
|
|
15009
15083
|
readonly 'country': string;
|
|
15010
15084
|
}
|
|
15011
15085
|
|
|
@@ -15014,6 +15088,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15014
15088
|
readonly 'organization_id': string;
|
|
15015
15089
|
readonly 'external_id': string;
|
|
15016
15090
|
readonly 'base_currency': string;
|
|
15091
|
+
readonly 'funding_currency': string;
|
|
15017
15092
|
readonly 'country': string;
|
|
15018
15093
|
}
|
|
15019
15094
|
|
|
@@ -16079,7 +16154,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16079
16154
|
interface MarketingGatewayFeed {
|
|
16080
16155
|
readonly 'id': string;
|
|
16081
16156
|
readonly 'organization': io.flow.common.v0.models.OrganizationSummary;
|
|
16082
|
-
readonly 'experience'
|
|
16157
|
+
readonly 'experience'?: io.flow.common.v0.models.ExperienceSummary;
|
|
16083
16158
|
readonly 'schema': io.flow.internal.v0.models.MarketingGatewaySchemaSummary;
|
|
16084
16159
|
readonly 'filter': io.flow.internal.v0.models.MarketingGatewayFilterSummary;
|
|
16085
16160
|
readonly 'country': string;
|
|
@@ -17283,6 +17358,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17283
17358
|
readonly 'rate': io.flow.currency.internal.v0.models.Rate;
|
|
17284
17359
|
}
|
|
17285
17360
|
|
|
17361
|
+
interface RateNameSummary {
|
|
17362
|
+
readonly 'name': string;
|
|
17363
|
+
readonly 'long_name'?: string;
|
|
17364
|
+
readonly 'matching_rates_percentage': number;
|
|
17365
|
+
}
|
|
17366
|
+
|
|
17286
17367
|
interface RateRefillRequest {
|
|
17287
17368
|
readonly 'discriminator': 'rate_refill_request';
|
|
17288
17369
|
readonly 'phrase_id': string;
|
|
@@ -17428,6 +17509,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17428
17509
|
readonly 'destination': io.flow.reference.v0.models.Country;
|
|
17429
17510
|
}
|
|
17430
17511
|
|
|
17512
|
+
interface RatesNamesSummary {
|
|
17513
|
+
readonly 'origin': io.flow.reference.v0.models.Country;
|
|
17514
|
+
readonly 'destination': io.flow.reference.v0.models.Country;
|
|
17515
|
+
readonly 'summaries': io.flow.internal.v0.models.RateNameSummary[];
|
|
17516
|
+
}
|
|
17517
|
+
|
|
17431
17518
|
interface ReadyToFulfill {
|
|
17432
17519
|
readonly 'discriminator': 'ready_to_fulfill';
|
|
17433
17520
|
readonly 'event_id': string;
|
|
@@ -18503,6 +18590,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18503
18590
|
readonly 'processing_fee': io.flow.internal.v0.models.Fee;
|
|
18504
18591
|
}
|
|
18505
18592
|
|
|
18593
|
+
interface WasteElectricalAndElectronicEquipmentComplianceData {
|
|
18594
|
+
readonly 'discriminator': 'weee';
|
|
18595
|
+
readonly 'label': string;
|
|
18596
|
+
readonly 'number': string;
|
|
18597
|
+
}
|
|
18598
|
+
|
|
18506
18599
|
interface WholeOrderActionForm {
|
|
18507
18600
|
readonly 'discriminator': 'whole_order_action_form';
|
|
18508
18601
|
readonly 'action': io.flow.internal.v0.enums.OrderAction;
|
|
@@ -18523,6 +18616,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
18523
18616
|
value: io.flow.internal.v0.enums.EmptyAttribute
|
|
18524
18617
|
} | io.flow.internal.v0.models.SupportedLabels);
|
|
18525
18618
|
|
|
18619
|
+
type ComplianceData = (io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceData);
|
|
18526
18620
|
type ContentItem = (io.flow.internal.v0.models.Dict | io.flow.internal.v0.models.Href | io.flow.internal.v0.models.Label | io.flow.internal.v0.models.Load);
|
|
18527
18621
|
type DiscountRequestOfferForm = (io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm);
|
|
18528
18622
|
type DutyExpression = (io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression);
|
|
@@ -18784,6 +18878,7 @@ export type ClassificationProductSummary = io.flow.internal.v0.models.Classifica
|
|
|
18784
18878
|
export type ClassificationProductSummaryPage = io.flow.internal.v0.models.ClassificationProductSummaryPage;
|
|
18785
18879
|
export type ClassifiedProduct = io.flow.internal.v0.models.ClassifiedProduct;
|
|
18786
18880
|
export type CompletePriceRule = io.flow.internal.v0.models.CompletePriceRule;
|
|
18881
|
+
export type ComplianceData = io.flow.internal.v0.unions.ComplianceData;
|
|
18787
18882
|
export type Components = io.flow.internal.v0.models.Components;
|
|
18788
18883
|
export type ConsumerOptinActivity = io.flow.internal.v0.models.ConsumerOptinActivity;
|
|
18789
18884
|
export type ContentElementType = io.flow.internal.v0.enums.ContentElementType;
|
|
@@ -18845,12 +18940,14 @@ export type DutyCompoundExpression = io.flow.internal.v0.models.DutyCompoundExpr
|
|
|
18845
18940
|
export type DutyCompoundExpressionType = io.flow.internal.v0.enums.DutyCompoundExpressionType;
|
|
18846
18941
|
export type DutyExemptItemTypes = io.flow.internal.v0.enums.DutyExemptItemTypes;
|
|
18847
18942
|
export type DutyExpression = io.flow.internal.v0.unions.DutyExpression;
|
|
18943
|
+
export type DutyInternalRate = io.flow.internal.v0.models.DutyInternalRate;
|
|
18848
18944
|
export type DutyRate = io.flow.internal.v0.models.DutyRate;
|
|
18849
18945
|
export type DutyRateBulkRequest = io.flow.internal.v0.models.DutyRateBulkRequest;
|
|
18850
18946
|
export type DutyRateBulkResponse = io.flow.internal.v0.models.DutyRateBulkResponse;
|
|
18851
18947
|
export type DutyRateContext = io.flow.internal.v0.models.DutyRateContext;
|
|
18852
18948
|
export type DutyRateRequest = io.flow.internal.v0.models.DutyRateRequest;
|
|
18853
18949
|
export type DutyRateResponse = io.flow.internal.v0.models.DutyRateResponse;
|
|
18950
|
+
export type DutyRateSource = io.flow.internal.v0.enums.DutyRateSource;
|
|
18854
18951
|
export type DutyRateUnitOfMeasure = io.flow.internal.v0.enums.DutyRateUnitOfMeasure;
|
|
18855
18952
|
export type DutyRateUpserted = io.flow.internal.v0.models.DutyRateUpserted;
|
|
18856
18953
|
export type DutyRaw = io.flow.internal.v0.models.DutyRaw;
|
|
@@ -19309,6 +19406,7 @@ export type RateData = io.flow.internal.v0.models.RateData;
|
|
|
19309
19406
|
export type RateDataV3 = io.flow.internal.v0.models.RateDataV3;
|
|
19310
19407
|
export type RateDeleted = io.flow.internal.v0.models.RateDeleted;
|
|
19311
19408
|
export type RateDeletedV2 = io.flow.internal.v0.models.RateDeletedV2;
|
|
19409
|
+
export type RateNameSummary = io.flow.internal.v0.models.RateNameSummary;
|
|
19312
19410
|
export type RateRefillRequest = io.flow.internal.v0.models.RateRefillRequest;
|
|
19313
19411
|
export type RateSource = io.flow.internal.v0.enums.RateSource;
|
|
19314
19412
|
export type RateUpserted = io.flow.internal.v0.models.RateUpserted;
|
|
@@ -19327,6 +19425,7 @@ export type RatecardStandardConfigurationUpserted = io.flow.internal.v0.models.R
|
|
|
19327
19425
|
export type RatecardStandardSettings = io.flow.internal.v0.models.RatecardStandardSettings;
|
|
19328
19426
|
export type RatecardSummary = io.flow.internal.v0.models.RatecardSummary;
|
|
19329
19427
|
export type RatesChanged = io.flow.internal.v0.models.RatesChanged;
|
|
19428
|
+
export type RatesNamesSummary = io.flow.internal.v0.models.RatesNamesSummary;
|
|
19330
19429
|
export type ReadyToFulfill = io.flow.internal.v0.models.ReadyToFulfill;
|
|
19331
19430
|
export type RedactedSecret = io.flow.internal.v0.models.RedactedSecret;
|
|
19332
19431
|
export type RedactedSecretConfig = io.flow.internal.v0.models.RedactedSecretConfig;
|
|
@@ -19521,4 +19620,5 @@ export type Variant = io.flow.internal.v0.unions.Variant;
|
|
|
19521
19620
|
export type VariantForm = io.flow.internal.v0.unions.VariantForm;
|
|
19522
19621
|
export type ViesResult = io.flow.internal.v0.models.ViesResult;
|
|
19523
19622
|
export type VirtualCardTransaction = io.flow.internal.v0.models.VirtualCardTransaction;
|
|
19623
|
+
export type WasteElectricalAndElectronicEquipmentComplianceData = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceData;
|
|
19524
19624
|
export type WholeOrderActionForm = io.flow.internal.v0.models.WholeOrderActionForm;
|
package/src/api.ts
CHANGED
|
@@ -915,6 +915,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
915
915
|
|
|
916
916
|
declare namespace io.flow.v0.enums {
|
|
917
917
|
type AbandonedOrderSettingStatus = 'active' | 'inactive';
|
|
918
|
+
type AddressFieldName = 'first_name' | 'last_name' | 'street_1' | 'street_2' | 'city' | 'province' | 'postal' | 'country' | 'phone' | 'company';
|
|
918
919
|
type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
|
|
919
920
|
type Aggregate = 'maximum' | 'minimum';
|
|
920
921
|
type AttributeDataType = 'boolean' | 'decimal' | 'string' | 'json_array';
|
|
@@ -1146,6 +1147,15 @@ declare namespace io.flow.v0.models {
|
|
|
1146
1147
|
readonly 'country': string;
|
|
1147
1148
|
readonly 'field_validation': io.flow.v0.models.AddressFieldValidation;
|
|
1148
1149
|
readonly 'provinces': io.flow.v0.models.AddressConfigurationProvince[];
|
|
1150
|
+
readonly 'formats'?: io.flow.v0.models.AddressConfigurationFormat[];
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
interface AddressConfigurationFieldPlacement {
|
|
1154
|
+
readonly 'name': io.flow.v0.enums.AddressFieldName;
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
interface AddressConfigurationFormat {
|
|
1158
|
+
readonly 'placements': io.flow.v0.models.AddressConfigurationFieldPlacement[];
|
|
1149
1159
|
}
|
|
1150
1160
|
|
|
1151
1161
|
interface AddressConfigurationProvince {
|
|
@@ -2624,6 +2634,10 @@ declare namespace io.flow.v0.models {
|
|
|
2624
2634
|
readonly 'last_used'?: io.flow.v0.models.CustomerLastUsed;
|
|
2625
2635
|
}
|
|
2626
2636
|
|
|
2637
|
+
interface CustomerClientToken {
|
|
2638
|
+
readonly 'token': string;
|
|
2639
|
+
}
|
|
2640
|
+
|
|
2627
2641
|
interface CustomerDeleted {
|
|
2628
2642
|
readonly 'discriminator': 'customer_deleted';
|
|
2629
2643
|
readonly 'event_id': string;
|
|
@@ -8499,9 +8513,12 @@ export type AccountTransactionsExportType = io.flow.v0.models.AccountTransaction
|
|
|
8499
8513
|
export type AchAuthorizationForm = io.flow.v0.models.AchAuthorizationForm;
|
|
8500
8514
|
export type Address = io.flow.v0.models.Address;
|
|
8501
8515
|
export type AddressConfiguration = io.flow.v0.models.AddressConfiguration;
|
|
8516
|
+
export type AddressConfigurationFieldPlacement = io.flow.v0.models.AddressConfigurationFieldPlacement;
|
|
8517
|
+
export type AddressConfigurationFormat = io.flow.v0.models.AddressConfigurationFormat;
|
|
8502
8518
|
export type AddressConfigurationProvince = io.flow.v0.models.AddressConfigurationProvince;
|
|
8503
8519
|
export type AddressConfigurationProvinceTranslation = io.flow.v0.models.AddressConfigurationProvinceTranslation;
|
|
8504
8520
|
export type AddressConfigurationProvinceTranslationLocale = io.flow.v0.models.AddressConfigurationProvinceTranslationLocale;
|
|
8521
|
+
export type AddressFieldName = io.flow.v0.enums.AddressFieldName;
|
|
8505
8522
|
export type AddressFieldValidation = io.flow.v0.models.AddressFieldValidation;
|
|
8506
8523
|
export type AddressSuggestion = io.flow.v0.models.AddressSuggestion;
|
|
8507
8524
|
export type AddressVerification = io.flow.v0.models.AddressVerification;
|
|
@@ -8739,6 +8756,7 @@ export type CustomerAddressBookForm = io.flow.v0.models.CustomerAddressBookForm;
|
|
|
8739
8756
|
export type CustomerAddressPreference = io.flow.v0.models.CustomerAddressPreference;
|
|
8740
8757
|
export type CustomerAddressType = io.flow.v0.enums.CustomerAddressType;
|
|
8741
8758
|
export type CustomerBundle = io.flow.v0.models.CustomerBundle;
|
|
8759
|
+
export type CustomerClientToken = io.flow.v0.models.CustomerClientToken;
|
|
8742
8760
|
export type CustomerDeleted = io.flow.v0.models.CustomerDeleted;
|
|
8743
8761
|
export type CustomerForm = io.flow.v0.models.CustomerForm;
|
|
8744
8762
|
export type CustomerInvoice = io.flow.v0.models.CustomerInvoice;
|