@flowio/api-types 0.0.205 → 0.0.207
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/generated/io.flow.billing.csv.v0.billing-csv.d.ts +2 -1
- package/generated/io.flow.billing.internal.v0.billing-internal.d.ts +3 -2
- package/generated/io.flow.billing.v0.billing.d.ts +2 -1
- package/generated/io.flow.channel.internal.v0.channel-internal.d.ts +64 -0
- package/generated/io.flow.internal.v0.api-internal.d.ts +47 -19
- package/generated/io.flow.shopify.markets.internal.event.v0.shopify-markets-internal-event.d.ts +104 -0
- package/generated/io.flow.shopify.markets.internal.v0.shopify-markets-internal.d.ts +189 -0
- package/generated/io.flow.stripe.v0.stripe.d.ts +8 -0
- package/generated/io.flow.v0.api.d.ts +2 -1
- package/index.d.ts +3 -0
- package/package.json +2 -2
|
@@ -367,7 +367,8 @@ declare namespace io.flow.billing.csv.v0.models {
|
|
|
367
367
|
}
|
|
368
368
|
|
|
369
369
|
interface BillingCsvTransactionMetadataManual {
|
|
370
|
-
readonly 'original'
|
|
370
|
+
readonly 'original'?: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
|
|
371
|
+
readonly 'url'?: string;
|
|
371
372
|
}
|
|
372
373
|
|
|
373
374
|
interface BillingCsvTransactionMetadataShippingLabel {
|
|
@@ -15,12 +15,12 @@ declare namespace io.flow.billing.internal.v0.enums {
|
|
|
15
15
|
type FeesSource = 'settings' | 'authorization_bundle';
|
|
16
16
|
type LabelTransactionType = 'adjustment' | 'reversal' | 'billable_label' | 'fee' | 'revenue_share';
|
|
17
17
|
type MainTransactionStatus = 'scheduled' | 'pending_proof';
|
|
18
|
-
type ManualTransactionCategory = 'cancelled_order_refund' | 'channel_partner_initiated' | 'client_accepted_chargeback' | 'fee_reimbursement' | 'partial_refund' | 'platform_fee' | 'shipping_true_up' | 'tax_credit' | 'carrier_credit';
|
|
18
|
+
type ManualTransactionCategory = 'cancelled_order_refund' | 'channel_partner_initiated' | 'client_accepted_chargeback' | 'fee_reimbursement' | 'partial_refund' | 'platform_fee' | 'shipping_true_up' | 'tax_credit' | 'carrier_credit' | 'negative_balance_guarantee';
|
|
19
19
|
type OrderCancellationInitiatedBy = 'flow' | 'organization';
|
|
20
20
|
type OrderTransactionType = 'adjustment' | 'reversal' | 'order_service';
|
|
21
21
|
type PreferredBillingSchedule = 'monthly' | 'bi-monthly';
|
|
22
22
|
type ProcessingTransactionType = 'adjustment' | 'reversal' | 'capture' | 'refund' | 'fully_subsidized_order' | 'credit_payment';
|
|
23
|
-
type QueuedRecordType = 'capture' | 'channel_transaction' | 'consumer_invoice' | 'fulfillment_in_transit' | 'fulfillment_shipping_notification' | 'fulfillment_external' | '
|
|
23
|
+
type QueuedRecordType = 'capture' | 'channel_transaction' | 'consumer_invoice' | 'fulfillment_in_transit' | 'fulfillment_shipping_notification' | 'fulfillment_external' | 'fulfillment_order_combined_shipment' | 'fulfillment_order_time' | 'label_tracking_summary' | 'label_invoice_request' | 'carrier_charge' | 'carrier_charge_file' | 'order' | 'order_identifier' | 'organization_onboarding_state' | 'posting_proof' | 'refund' | 'refund_over_capture' | 'sales_record' | 'statement_batch' | 'statement_email' | 'statement_summary_email' | 'pending_payout_transaction_event' | 'credit_and_subsidy' | 'negative_balance_guarantee';
|
|
24
24
|
type ResponsibleParty = 'flow' | 'organization';
|
|
25
25
|
type StatementTransferTransactionLocation = 'transactions_file' | 'summary';
|
|
26
26
|
type SubscriptionFrequency = 'yearly' | 'monthly';
|
|
@@ -100,6 +100,7 @@ declare namespace io.flow.billing.internal.v0.models {
|
|
|
100
100
|
readonly 'merchant_of_record_fee'?: number;
|
|
101
101
|
readonly 'duty_guarantee_fee'?: number;
|
|
102
102
|
readonly 'transfer_fee'?: number;
|
|
103
|
+
readonly 'negative_balance_guarantee_fee'?: number;
|
|
103
104
|
readonly 'order_service_fee'?: io.flow.billing.internal.v0.models.TieredFee;
|
|
104
105
|
readonly 'label_fees'?: io.flow.billing.internal.v0.models.AccountSettingLabelFees;
|
|
105
106
|
readonly 'charge_label_cost_directly': boolean;
|
|
@@ -278,7 +278,8 @@ declare namespace io.flow.billing.v0.models {
|
|
|
278
278
|
|
|
279
279
|
interface TransactionMetadataManual {
|
|
280
280
|
readonly 'discriminator': 'manual';
|
|
281
|
-
readonly 'original'
|
|
281
|
+
readonly 'original'?: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
|
|
282
|
+
readonly 'url'?: string;
|
|
282
283
|
}
|
|
283
284
|
|
|
284
285
|
interface TransactionMetadataOriginalTransaction {
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
declare namespace io.flow.channel.internal.v0.enums {
|
|
2
|
+
type ChannelOrderAcceptanceErrorAction = 'auto_reject' | 'auto_accept';
|
|
3
|
+
type ChannelOrderAcceptanceNextActionFrom = 'cx_team' | 'core_team' | 'core_team_investigate' | 'mex_team' | 'payments_team' | 'tc_team' | 'logistics_team';
|
|
4
|
+
type ChannelOrderAcceptanceRejectionReason = 'unsupported_origin_country' | 'unsupported_destination_country' | 'domestic_order' | 'order_contains_gift_card' | 'order_contains_restricted_goods' | 'missing_order_information' | 'unsupported_payment_information' | 'unsupported_shop_currency' | 'unsupported_free_order' | 'extracting_distribution_info_failed' | 'shipping_estimation_failed' | 'payment_authorization_failed' | 'unsupported_subsidized_order' | 'unsupported_virtual_goods' | 'non_matching_currencies';
|
|
5
|
+
type ChannelOrderAcceptanceStatus = 'accepted' | 'rejected' | 'review';
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
declare namespace io.flow.channel.internal.v0.models {
|
|
9
|
+
interface ChannelCurrencyForm {
|
|
10
|
+
readonly 'currency': string;
|
|
11
|
+
readonly 'channel_id': string;
|
|
12
|
+
readonly 'capabilities': io.flow.channel.v0.enums.ChannelCurrencyCapability[];
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
interface ChannelForm {
|
|
16
|
+
readonly 'name': string;
|
|
17
|
+
readonly 'environment': io.flow.common.v0.enums.Environment;
|
|
18
|
+
readonly 'organization_id_prefix'?: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
interface ChannelMembership {
|
|
22
|
+
readonly 'id': string;
|
|
23
|
+
readonly 'channel': io.flow.common.v0.models.ChannelReference;
|
|
24
|
+
readonly 'user': io.flow.common.v0.unions.ExpandableUser;
|
|
25
|
+
readonly 'role'?: io.flow.common.v0.enums.Role;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
interface ChannelMembershipForm {
|
|
29
|
+
readonly 'channel_id': string;
|
|
30
|
+
readonly 'user_id': string;
|
|
31
|
+
readonly 'role'?: io.flow.common.v0.enums.Role;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
interface ChannelMembershipPutForm {
|
|
35
|
+
readonly 'role'?: io.flow.common.v0.enums.Role;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
interface ChannelOrderAcceptance {
|
|
39
|
+
readonly 'id': string;
|
|
40
|
+
readonly 'organization_id': string;
|
|
41
|
+
readonly 'order_number': string;
|
|
42
|
+
readonly 'channel_id': string;
|
|
43
|
+
readonly 'external_order_reference': string;
|
|
44
|
+
readonly 'payment_request_id'?: string;
|
|
45
|
+
readonly 'status': io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
|
|
46
|
+
readonly 'reasons': io.flow.channel.internal.v0.models.ChannelOrderAcceptanceReason[];
|
|
47
|
+
readonly 'next_action_from'?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
|
|
48
|
+
readonly 'order_created_at'?: string;
|
|
49
|
+
readonly 'order_updated_at'?: string;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
interface ChannelOrderAcceptanceForm {
|
|
53
|
+
readonly 'status': io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
interface ChannelOrderAcceptanceReason {
|
|
57
|
+
readonly 'description': string;
|
|
58
|
+
readonly 'rejection_reason'?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceRejectionReason;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
interface FlowChannelOrganization {
|
|
62
|
+
readonly 'placeholder'?: string;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -9,7 +9,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9
9
|
type AutoRestrictRule = 'prr-3ce7d556f2464314ab0a3e8eee33e0ce' | 'prr-599c6246a1a24752aeb85e8f79030781' | 'prr-79e41878ea564f9c81cc432a0e84703f' | 'prr-f29c26dc09e04536bc77f9c32786ed70' | 'prr-0522d426a5b741c791ba05496c35297a';
|
|
10
10
|
type BankPaymentStatusCode = 'scheduled' | 'sent' | 'failed';
|
|
11
11
|
type BillingAllocationKey = 'freight_cost' | 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'fuel_surcharge' | 'remote_area_surcharge';
|
|
12
|
-
type BillingMetricKey = 'adjustment_transactions_count' | 'adjustment_transactions_total' | 'capture_transactions_count' | 'capture_transactions_ignored_fraud_count' | 'capture_transactions_ignored_fully_refunded_count' | 'capture_transactions_ignored_other_count' | 'capture_transactions_ignored_previously_processed_count' | 'capture_transactions_total' | 'channel_transactions_processing_count' | 'channel_transactions_processing_total' | 'channel_transactions_adjustment_count' | 'channel_transactions_adjustment_total' | 'channel_transactions_reversal_count' | 'channel_transactions_reversal_total' | 'channel_billed_transactions_count' | 'channel_billed_transactions_total' | 'credit_payment_transactions_count' | 'credit_payment_transactions_total' | 'duty_transactions_count' | 'duty_transactions_total' | 'fully_subsidized_order_transactions_count' | 'fully_subsidized_order_transactions_total' | 'billable_label_transactions_count' | 'billable_label_transactions_count_for_unique_orders' | 'billable_label_transactions_total' | 'revenue_share_label_transactions_count' | 'revenue_share_label_transactions_count_for_unique_orders' | 'revenue_share_label_transactions_total' | 'manual_transactions_count' | 'manual_transactions_total' | 'order_transactions_count' | 'order_transactions_total' | 'refund_transactions_count' | 'refund_transactions_ignored_fraud_count' | 'refund_transactions_ignored_fully_refunded_count' | 'refund_transactions_ignored_other_count' | 'refund_transactions_ignored_previously_processed_count' | 'refund_transactions_total' | 'reversal_order_cancellations_transactions_count' | 'reversal_order_cancellations_transactions_total' | 'reversal_external_fulfillment_transactions_count' | 'reversal_external_fulfillment_transactions_total' | 'reversal_other_transactions_count' | 'reversal_other_transactions_total' | 'reversal_all_transactions_count' | 'reversal_all_transactions_total' | 'tax_transactions_count' | 'tax_transactions_total' | 'transfer_transactions_count' | 'transfer_transactions_total' | 'trueup_transactions_count' | 'trueup_transactions_total' | 'fulfillments_count' | 'fulfilled_via_replacement_order_count' | 'percentage_orders_with_fulfillment_proof_2_weeks' | 'percentage_orders_with_fulfillment_proof_4_weeks' | 'percentage_orders_with_fulfillment_proof_6_weeks' | 'percentage_orders_with_fulfillment_proof_all' | 'pending_payouts_max_age_in_millis' | 'shipping_notifications_count' | 'queued_capture_unprocessed_count' | 'queued_refund_unprocessed_count' | 'queued_label_invoice_request_unprocessed_count' | 'queued_other_unprocessed_count' | 'queued_record_snooze_count' | 'queued_record_snooze_ending_in_48_hours_count' | 'statements_no_payout_count' | 'statements_no_payout_total' | 'statements_pending_payout_count' | 'statements_pending_payout_total' | 'payouts_scheduled_count' | 'payouts_scheduled_total' | 'payouts_sent_count' | 'payouts_sent_total' | 'payouts_failed_count' | 'payouts_failed_total' | 'average_payout_amount' | 'capture_transaction_with_zero_fees_and_no_channel_transaction_count';
|
|
12
|
+
type BillingMetricKey = 'adjustment_transactions_count' | 'adjustment_transactions_total' | 'capture_transactions_count' | 'capture_transactions_ignored_fraud_count' | 'capture_transactions_ignored_fully_refunded_count' | 'capture_transactions_ignored_other_count' | 'capture_transactions_ignored_previously_processed_count' | 'capture_transactions_total' | 'channel_transactions_processing_count' | 'channel_transactions_processing_total' | 'channel_transactions_adjustment_count' | 'channel_transactions_adjustment_total' | 'channel_transactions_reversal_count' | 'channel_transactions_reversal_total' | 'channel_billed_transactions_count' | 'channel_billed_transactions_total' | 'credit_payment_transactions_count' | 'credit_payment_transactions_total' | 'duty_transactions_count' | 'duty_transactions_total' | 'fully_subsidized_order_transactions_count' | 'fully_subsidized_order_transactions_total' | 'billable_label_transactions_count' | 'billable_label_transactions_count_for_unique_orders' | 'billable_label_transactions_total' | 'revenue_share_label_transactions_count' | 'revenue_share_label_transactions_count_for_unique_orders' | 'revenue_share_label_transactions_total' | 'manual_transactions_count' | 'manual_transactions_total' | 'order_transactions_count' | 'order_transactions_total' | 'refund_transactions_count' | 'refund_transactions_ignored_fraud_count' | 'refund_transactions_ignored_fully_refunded_count' | 'refund_transactions_ignored_other_count' | 'refund_transactions_ignored_previously_processed_count' | 'refund_transactions_total' | 'reversal_order_cancellations_transactions_count' | 'reversal_order_cancellations_transactions_total' | 'reversal_external_fulfillment_transactions_count' | 'reversal_external_fulfillment_transactions_total' | 'reversal_other_transactions_count' | 'reversal_other_transactions_total' | 'reversal_all_transactions_count' | 'reversal_all_transactions_total' | 'tax_transactions_count' | 'tax_transactions_total' | 'transfer_transactions_count' | 'transfer_transactions_total' | 'trueup_transactions_count' | 'trueup_transactions_total' | 'fulfillments_count' | 'fulfilled_via_replacement_order_count' | 'percentage_orders_with_fulfillment_proof_2_weeks' | 'percentage_orders_with_fulfillment_proof_4_weeks' | 'percentage_orders_with_fulfillment_proof_6_weeks' | 'percentage_orders_with_fulfillment_proof_all' | 'pending_payouts_max_age_in_millis' | 'shipping_notifications_count' | 'queued_capture_unprocessed_count' | 'queued_refund_unprocessed_count' | 'queued_label_invoice_request_unprocessed_count' | 'queued_other_unprocessed_count' | 'queued_record_snooze_count' | 'queued_record_snooze_ending_in_48_hours_count' | 'statements_no_payout_count' | 'statements_no_payout_total' | 'statements_pending_payout_count' | 'statements_pending_payout_total' | 'payouts_scheduled_count' | 'payouts_scheduled_total' | 'payouts_sent_count' | 'payouts_sent_total' | 'payouts_failed_count' | 'payouts_failed_total' | 'average_payout_amount' | 'capture_transaction_with_zero_fees_and_no_channel_transaction_count' | 'percentage_billable_label_transactions_with_carrier_charge_10_days' | 'percentage_billable_label_transactions_with_carrier_charge_20_days' | 'percentage_billable_label_transactions_with_carrier_charge_30_days' | 'percentage_billable_label_transactions_with_carrier_charge_60_days' | 'percentage_billable_label_transactions_with_carrier_charge_90_days';
|
|
13
13
|
type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'channel_billed' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'label' | 'order_service' | 'tax' | 'duty' | 'trueup' | 'all';
|
|
14
14
|
type BillingStatementBatchFileKey = 'summary';
|
|
15
15
|
type BillingTransactionStatus = 'pending' | 'pending_proof' | 'posted';
|
|
@@ -18,6 +18,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
18
18
|
type BlazeCheckoutStep = 'customer_info' | 'delivery' | 'payment';
|
|
19
19
|
type BrowserBundleErrorCode = 'generic_error' | 'country_invalid';
|
|
20
20
|
type CalculatorEngine = 'flow_rate_and_rule' | 'dtce' | 'dtce_two_calls' | 'dtce_with_deminimis' | 'dtce_merged_with_tax';
|
|
21
|
+
type CarrierChargeOtherReason = 'return_to_origin' | 'other';
|
|
21
22
|
type CarrierLabelGenerationMethod = 'direct' | 'easypost';
|
|
22
23
|
type CarrierValidationStatus = 'success' | 'error';
|
|
23
24
|
type CatalogImportType = 'catalog_items' | 'item_form_overlays' | 'item_prices' | 'price_book_items_import' | 'price_book_items_query_import';
|
|
@@ -169,9 +170,10 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
169
170
|
type LabelRequestErrorHandlingResponsibility = 'merchant' | 'merchant_integration' | 'shopify_integration' | 'globale_cx' | 'globale_system';
|
|
170
171
|
type LabelTransactionType = 'adjustment' | 'reversal' | 'billable_label' | 'fee' | 'revenue_share';
|
|
171
172
|
type LiabilityType = 'full_value_tax' | 'low_value_goods_tax' | 'high_value_goods_tax' | 'duties';
|
|
173
|
+
type LogisticsResponsibility = 'organization' | 'flow';
|
|
172
174
|
type MainTransactionStatus = 'scheduled' | 'pending_proof';
|
|
173
175
|
type ManualReviewRuleStatus = 'active' | 'archived';
|
|
174
|
-
type ManualTransactionCategory = 'cancelled_order_refund' | 'channel_partner_initiated' | 'client_accepted_chargeback' | 'fee_reimbursement' | 'partial_refund' | 'platform_fee' | 'shipping_true_up' | 'tax_credit' | 'carrier_credit';
|
|
176
|
+
type ManualTransactionCategory = 'cancelled_order_refund' | 'channel_partner_initiated' | 'client_accepted_chargeback' | 'fee_reimbursement' | 'partial_refund' | 'platform_fee' | 'shipping_true_up' | 'tax_credit' | 'carrier_credit' | 'negative_balance_guarantee';
|
|
175
177
|
type MarketingGatewayAccountConnectionStatus = 'not_connected' | 'connecting' | 'connected' | 'disconnecting' | 'disconnected';
|
|
176
178
|
type MarketingGatewayChannelIntegrationType = 'automated' | 'manual';
|
|
177
179
|
type MarketingGatewayChannelStatus = 'not_connected' | 'connecting' | 'connected' | 'disconnecting' | 'disconnected' | 'unavailable';
|
|
@@ -221,7 +223,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
221
223
|
type PromptCheckoutDisplayPosition = 'email' | 'submission';
|
|
222
224
|
type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
|
|
223
225
|
type PromptTarget = 'browse' | 'checkout';
|
|
224
|
-
type QueuedRecordType = 'capture' | 'channel_transaction' | 'consumer_invoice' | 'fulfillment_in_transit' | 'fulfillment_shipping_notification' | 'fulfillment_external' | '
|
|
226
|
+
type QueuedRecordType = 'capture' | 'channel_transaction' | 'consumer_invoice' | 'fulfillment_in_transit' | 'fulfillment_shipping_notification' | 'fulfillment_external' | 'fulfillment_order_combined_shipment' | 'fulfillment_order_time' | 'label_tracking_summary' | 'label_invoice_request' | 'carrier_charge' | 'carrier_charge_file' | 'order' | 'order_identifier' | 'organization_onboarding_state' | 'posting_proof' | 'refund' | 'refund_over_capture' | 'sales_record' | 'statement_batch' | 'statement_email' | 'statement_summary_email' | 'pending_payout_transaction_event' | 'credit_and_subsidy' | 'negative_balance_guarantee';
|
|
225
227
|
type QuoteRequestType = 'generate' | 'delete' | 'update_currency_rate' | 'update_country';
|
|
226
228
|
type RateLevelKey = 'shopify_small_usa' | 'shopify_medium_usa' | 'shopify_enterprise_usa' | 'shopify_small_sdc_usa';
|
|
227
229
|
type RateSource = 'calculated' | 'market';
|
|
@@ -230,7 +232,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
230
232
|
type RejectionReason = 'merchant_policy' | 'previous_chargebacks' | 'restricted_party_screening' | 'risky_velocity' | 'suspicious_behavior' | 'suspicious_past_activity';
|
|
231
233
|
type ReportInterval = 'hourly' | 'daily' | 'weekly' | 'monthly';
|
|
232
234
|
type ReportStatus = 'created' | 'completed' | 'completed_no_records' | 'failed';
|
|
233
|
-
type ReportType = 'sales_record' | 'trueup_overview';
|
|
235
|
+
type ReportType = 'sales_record' | 'trueup_overview' | 'non_channel_payment_bank_account';
|
|
234
236
|
type ReportingScheme = 'immediate_reporting_to_tax_authority' | 'periodic_reporting_to_tax_authority' | 'paid_at_border' | 'paid_on_delivery';
|
|
235
237
|
type ResponsibleParty = 'flow' | 'organization';
|
|
236
238
|
type RestrictionAction = 'prohibited' | 'restricted';
|
|
@@ -416,6 +418,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
416
418
|
readonly 'merchant_of_record_fee'?: number;
|
|
417
419
|
readonly 'duty_guarantee_fee'?: number;
|
|
418
420
|
readonly 'transfer_fee'?: number;
|
|
421
|
+
readonly 'negative_balance_guarantee_fee'?: number;
|
|
419
422
|
readonly 'order_service_fee'?: io.flow.internal.v0.models.TieredFee;
|
|
420
423
|
readonly 'label_fees'?: io.flow.internal.v0.models.AccountSettingLabelFees;
|
|
421
424
|
readonly 'charge_label_cost_directly': boolean;
|
|
@@ -1755,9 +1758,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
1755
1758
|
readonly 'attributes'?: Record<string, string>;
|
|
1756
1759
|
}
|
|
1757
1760
|
|
|
1758
|
-
interface
|
|
1759
|
-
readonly 'discriminator': '
|
|
1761
|
+
interface CarrierChargeFormOther {
|
|
1762
|
+
readonly 'discriminator': 'other';
|
|
1760
1763
|
readonly 'id': string;
|
|
1764
|
+
readonly 'reason': io.flow.internal.v0.enums.CarrierChargeOtherReason;
|
|
1761
1765
|
readonly 'organization_id': string;
|
|
1762
1766
|
readonly 'order_number': string;
|
|
1763
1767
|
readonly 'carrier_id': string;
|
|
@@ -6492,6 +6496,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
6492
6496
|
interface Fulfillment {
|
|
6493
6497
|
readonly 'id': string;
|
|
6494
6498
|
readonly 'fulfilled_at': string;
|
|
6499
|
+
readonly 'owner': io.flow.internal.v0.enums.LogisticsResponsibility;
|
|
6495
6500
|
readonly 'currency': string;
|
|
6496
6501
|
readonly 'order': io.flow.internal.v0.models.OrderSummary;
|
|
6497
6502
|
readonly 'origin'?: io.flow.internal.v0.models.FulfillmentOrigin;
|
|
@@ -9149,6 +9154,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
9149
9154
|
readonly 'harmonization_status': io.flow.internal.v0.enums.ItemHarmonizationStatus;
|
|
9150
9155
|
}
|
|
9151
9156
|
|
|
9157
|
+
interface NonChannelPaymentBankAccount {
|
|
9158
|
+
readonly 'payment': io.flow.internal.v0.models.ReportPayment;
|
|
9159
|
+
readonly 'bank_account': io.flow.internal.v0.models.ReportBankAccount;
|
|
9160
|
+
readonly 'account': io.flow.internal.v0.models.ReportAccount;
|
|
9161
|
+
}
|
|
9162
|
+
|
|
9152
9163
|
interface Notification {
|
|
9153
9164
|
readonly 'order': io.flow.internal.v0.models.Decision;
|
|
9154
9165
|
}
|
|
@@ -10585,6 +10596,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10585
10596
|
readonly 'status': io.flow.internal.v0.enums.RestrictionStatus;
|
|
10586
10597
|
readonly 'matching_positive_keywords': string[];
|
|
10587
10598
|
readonly 'matching_negative_keywords': string[];
|
|
10599
|
+
readonly 'positive_search_matches'?: string[];
|
|
10600
|
+
readonly 'negative_search_matches'?: string[];
|
|
10588
10601
|
readonly 'updated_by_user_id': string;
|
|
10589
10602
|
}
|
|
10590
10603
|
|
|
@@ -11105,12 +11118,27 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11105
11118
|
readonly 'processed_at'?: string;
|
|
11106
11119
|
}
|
|
11107
11120
|
|
|
11121
|
+
interface ReportAccount {
|
|
11122
|
+
readonly 'id': string;
|
|
11123
|
+
readonly 'source': io.flow.internal.v0.models.AccountSource;
|
|
11124
|
+
}
|
|
11125
|
+
|
|
11126
|
+
interface ReportBankAccount {
|
|
11127
|
+
readonly 'id'?: string;
|
|
11128
|
+
readonly 'last4'?: string;
|
|
11129
|
+
}
|
|
11130
|
+
|
|
11108
11131
|
interface ReportForm {
|
|
11109
11132
|
readonly 'from': string;
|
|
11110
11133
|
readonly 'to': string;
|
|
11111
11134
|
readonly 'type': io.flow.internal.v0.enums.ReportType;
|
|
11112
11135
|
}
|
|
11113
11136
|
|
|
11137
|
+
interface ReportPayment {
|
|
11138
|
+
readonly 'id': string;
|
|
11139
|
+
readonly 'created_at': string;
|
|
11140
|
+
}
|
|
11141
|
+
|
|
11114
11142
|
interface ReportRuleDecision {
|
|
11115
11143
|
readonly 'rule_id': string;
|
|
11116
11144
|
readonly 'rule_name': string;
|
|
@@ -11306,6 +11334,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11306
11334
|
readonly 'accepted_rules'?: string[];
|
|
11307
11335
|
readonly 'positive_keywords'?: string[];
|
|
11308
11336
|
readonly 'negative_keywords'?: string[];
|
|
11337
|
+
readonly 'positive_search_matches'?: string[];
|
|
11338
|
+
readonly 'negative_search_matches'?: string[];
|
|
11309
11339
|
readonly 'user_ids'?: string[];
|
|
11310
11340
|
readonly 'categories'?: string[];
|
|
11311
11341
|
readonly 'product_name_query'?: string;
|
|
@@ -11589,14 +11619,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11589
11619
|
readonly 'total': io.flow.common.v0.models.PriceWithBase;
|
|
11590
11620
|
}
|
|
11591
11621
|
|
|
11592
|
-
interface ShipperAccountInfoForm {
|
|
11593
|
-
readonly 'account_name'?: string;
|
|
11594
|
-
readonly 'account_number': string;
|
|
11595
|
-
readonly 'postal': string;
|
|
11596
|
-
readonly 'country': string;
|
|
11597
|
-
readonly 'invoice_info'?: io.flow.internal.v0.models.InvoiceInfoForm;
|
|
11598
|
-
}
|
|
11599
|
-
|
|
11600
11622
|
interface ShippingLane {
|
|
11601
11623
|
readonly 'origin': string;
|
|
11602
11624
|
readonly 'destination': string;
|
|
@@ -11770,6 +11792,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11770
11792
|
readonly 'shopify_markets_order': io.flow.internal.v0.models.ShopifyMarketsOrder;
|
|
11771
11793
|
}
|
|
11772
11794
|
|
|
11795
|
+
interface ShopifyMarketsOrderVersion {
|
|
11796
|
+
readonly 'id': string;
|
|
11797
|
+
readonly 'timestamp': string;
|
|
11798
|
+
readonly 'type': io.flow.common.v0.enums.ChangeType;
|
|
11799
|
+
readonly 'shopify_markets_order': io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsOrder;
|
|
11800
|
+
}
|
|
11801
|
+
|
|
11773
11802
|
interface ShopifyMarketsOrdersMetrics {
|
|
11774
11803
|
readonly 'id': string;
|
|
11775
11804
|
readonly 'range': io.flow.common.v0.models.DatetimeRange;
|
|
@@ -13103,6 +13132,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13103
13132
|
interface TrueupLabelSummary {
|
|
13104
13133
|
readonly 'id': string;
|
|
13105
13134
|
readonly 'organization': io.flow.common.v0.models.OrganizationReference;
|
|
13135
|
+
readonly 'order_number': string;
|
|
13106
13136
|
readonly 'carrier_id': string;
|
|
13107
13137
|
readonly 'carrier_service_id': string;
|
|
13108
13138
|
readonly 'carrier_tracking_number': string;
|
|
@@ -13172,11 +13202,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13172
13202
|
|
|
13173
13203
|
interface Ups {
|
|
13174
13204
|
readonly 'discriminator': 'ups';
|
|
13175
|
-
readonly '
|
|
13176
|
-
readonly '
|
|
13177
|
-
readonly 'access_license_number': string;
|
|
13205
|
+
readonly 'client_id': string;
|
|
13206
|
+
readonly 'client_secret': string;
|
|
13178
13207
|
readonly 'account_number': string;
|
|
13179
|
-
readonly 'direct_feed_location_code'?: string;
|
|
13180
13208
|
}
|
|
13181
13209
|
|
|
13182
13210
|
interface UsdSpotRate {
|
|
@@ -13360,7 +13388,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
13360
13388
|
type AuthorizedOrderCharge = (io.flow.internal.v0.models.AuthorizedShippingCharge);
|
|
13361
13389
|
type BlazeConsumerMessage = (io.flow.internal.v0.models.BlazeAddOrderAttributesMessage | io.flow.internal.v0.models.BlazeAddToCartMessage | io.flow.internal.v0.models.BlazeCreateByCartToken | io.flow.internal.v0.models.BlazeInitializeByOrderQuoteMessage | io.flow.internal.v0.models.BlazeInitializeBySessionMessage | io.flow.internal.v0.models.BlazeInitializeMessage | io.flow.internal.v0.models.BlazeSetCartItemsMessage | io.flow.internal.v0.models.BlazeSetCheckoutIdMessage | io.flow.internal.v0.models.BlazeStartCheckoutMessage | io.flow.internal.v0.models.BlazeUpdateCartItemsMessage | io.flow.internal.v0.models.BlazeApplepayAvailabilityResponse | io.flow.internal.v0.models.BlazeSetPromotionCodeMessage);
|
|
13362
13390
|
type BlazeProviderMessage = (io.flow.internal.v0.models.BlazeCheckoutCompleteMessage | io.flow.internal.v0.models.BlazeCheckoutProgressMessage | io.flow.internal.v0.models.BlazeCheckoutEventMessage | io.flow.internal.v0.models.BlazeStartCheckoutMessage | io.flow.internal.v0.models.BlazeExitCheckoutMessage | io.flow.internal.v0.models.BlazeExitCheckoutConfirmationMessage | io.flow.internal.v0.models.BlazeRedirectConfirmationMessage | io.flow.internal.v0.models.BlazeSynInitializeMessage | io.flow.internal.v0.models.BlazeApplepayAvailabilityRequest | io.flow.internal.v0.models.BlazePaymentAuthStartMessage | io.flow.internal.v0.models.BlazePaymentAuthCompleteMessage);
|
|
13363
|
-
type CarrierChargeForm = (io.flow.internal.v0.models.CarrierChargeFormLabel | io.flow.internal.v0.models.
|
|
13391
|
+
type CarrierChargeForm = (io.flow.internal.v0.models.CarrierChargeFormLabel | io.flow.internal.v0.models.CarrierChargeFormOther);
|
|
13364
13392
|
type CarrierCredentials = (io.flow.internal.v0.models.SfExpress | io.flow.internal.v0.models.DhlEcommerce | io.flow.internal.v0.models.Landmark | io.flow.internal.v0.models.Dhl | io.flow.internal.v0.models.FedexCrossborder | io.flow.internal.v0.models.Ups | io.flow.internal.v0.models.Fedex);
|
|
13365
13393
|
type ChannelRateMetadata = (io.flow.internal.v0.models.ChannelRateMetadataIdentity | io.flow.internal.v0.models.ChannelRateMetadataRate);
|
|
13366
13394
|
type CheckoutAddressBookEdit = (io.flow.internal.v0.models.CheckoutAddressBookContactRemoved);
|
package/generated/io.flow.shopify.markets.internal.event.v0.shopify-markets-internal-event.d.ts
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
declare namespace io.flow.shopify.markets.internal.event.v0.models {
|
|
2
|
+
interface ChannelOrderSummaryDeleted {
|
|
3
|
+
readonly 'discriminator': 'channel_order_summary_deleted';
|
|
4
|
+
readonly 'event_id': string;
|
|
5
|
+
readonly 'timestamp': string;
|
|
6
|
+
readonly 'channel_id': string;
|
|
7
|
+
readonly 'id': string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
interface ChannelOrderSummaryUpserted {
|
|
11
|
+
readonly 'discriminator': 'channel_order_summary_upserted';
|
|
12
|
+
readonly 'event_id': string;
|
|
13
|
+
readonly 'timestamp': string;
|
|
14
|
+
readonly 'channel_id': string;
|
|
15
|
+
readonly 'channel_order_summary': io.flow.shopify.markets.internal.v0.models.ChannelOrderSummary;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
interface ShopifyMarketsMetricsDeleted {
|
|
19
|
+
readonly 'discriminator': 'shopify_markets_metrics_deleted';
|
|
20
|
+
readonly 'event_id': string;
|
|
21
|
+
readonly 'timestamp': string;
|
|
22
|
+
readonly 'id': string;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
interface ShopifyMarketsMetricsUpserted {
|
|
26
|
+
readonly 'discriminator': 'shopify_markets_metrics_upserted';
|
|
27
|
+
readonly 'event_id': string;
|
|
28
|
+
readonly 'timestamp': string;
|
|
29
|
+
readonly 'shopify_markets_metrics': io.flow.shopify.markets.internal.v0.models.ShopifyMarketsOrdersMetrics;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
interface ShopifyMarketsOrder {
|
|
33
|
+
readonly 'id': string;
|
|
34
|
+
readonly 'model': io.flow.shopify.markets.v0.models.ShopifyOrder;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
interface ShopifyMarketsOrderDeleted {
|
|
38
|
+
readonly 'discriminator': 'shopify_markets_order_deleted';
|
|
39
|
+
readonly 'event_id': string;
|
|
40
|
+
readonly 'timestamp': string;
|
|
41
|
+
readonly 'organization': string;
|
|
42
|
+
readonly 'shopify_markets_order': io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsOrder;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
interface ShopifyMarketsOrderUpserted {
|
|
46
|
+
readonly 'discriminator': 'shopify_markets_order_upserted';
|
|
47
|
+
readonly 'event_id': string;
|
|
48
|
+
readonly 'timestamp': string;
|
|
49
|
+
readonly 'organization': string;
|
|
50
|
+
readonly 'shopify_markets_order': io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsOrder;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
interface ShopifyMarketsShopDeleted {
|
|
54
|
+
readonly 'discriminator': 'shopify_markets_shop_deleted';
|
|
55
|
+
readonly 'event_id': string;
|
|
56
|
+
readonly 'timestamp': string;
|
|
57
|
+
readonly 'organization': string;
|
|
58
|
+
readonly 'id': string;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
interface ShopifyMarketsShopStatisticsDeleted {
|
|
62
|
+
readonly 'discriminator': 'shopify_markets_shop_statistics_deleted';
|
|
63
|
+
readonly 'event_id': string;
|
|
64
|
+
readonly 'timestamp': string;
|
|
65
|
+
readonly 'organization': string;
|
|
66
|
+
readonly 'id': string;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
interface ShopifyMarketsShopStatisticsUpserted {
|
|
70
|
+
readonly 'discriminator': 'shopify_markets_shop_statistics_upserted';
|
|
71
|
+
readonly 'event_id': string;
|
|
72
|
+
readonly 'timestamp': string;
|
|
73
|
+
readonly 'organization': string;
|
|
74
|
+
readonly 'shopify_markets_shop_statistics': io.flow.shopify.markets.internal.v0.models.ShopifyShopStatistics;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
interface ShopifyMarketsShopUpserted {
|
|
78
|
+
readonly 'discriminator': 'shopify_markets_shop_upserted';
|
|
79
|
+
readonly 'event_id': string;
|
|
80
|
+
readonly 'timestamp': string;
|
|
81
|
+
readonly 'organization': string;
|
|
82
|
+
readonly 'shopify_markets_shop': io.flow.shopify.markets.internal.v0.models.ShopifyMarketsShop;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
interface ShopifyMarketsWebhookRegistrationDeleted {
|
|
86
|
+
readonly 'discriminator': 'shopify_markets_webhook_registration_deleted';
|
|
87
|
+
readonly 'event_id': string;
|
|
88
|
+
readonly 'timestamp': string;
|
|
89
|
+
readonly 'organization': string;
|
|
90
|
+
readonly 'id': string;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
interface ShopifyMarketsWebhookRegistrationUpserted {
|
|
94
|
+
readonly 'discriminator': 'shopify_markets_webhook_registration_upserted';
|
|
95
|
+
readonly 'event_id': string;
|
|
96
|
+
readonly 'timestamp': string;
|
|
97
|
+
readonly 'organization': string;
|
|
98
|
+
readonly 'registration': io.flow.shopify.markets.internal.v0.models.ShopifyMarketsWebhookRegistration;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
declare namespace io.flow.shopify.markets.internal.event.v0.unions {
|
|
103
|
+
type ShopifyMarketsInternalEvent = (io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsOrderUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsOrderDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsShopUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsShopDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsWebhookRegistrationUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsWebhookRegistrationDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsShopStatisticsUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsShopStatisticsDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsMetricsUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsMetricsDeleted | io.flow.shopify.markets.internal.event.v0.models.ChannelOrderSummaryUpserted | io.flow.shopify.markets.internal.event.v0.models.ChannelOrderSummaryDeleted);
|
|
104
|
+
}
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
declare namespace io.flow.shopify.markets.internal.v0.enums {
|
|
2
|
+
type AnyDangerousGoods = 'yes' | 'no' | 'i_dont_know';
|
|
3
|
+
type ApiCallReferenceId = 'duty_rates_data_event' | 'integration_test' | 'unit_test';
|
|
4
|
+
type ChannelOrderFulfillmentStatusCode = 'unfulfilled' | 'fulfilled' | 'partial' | 'cancelled';
|
|
5
|
+
type ProductStatus = 'active' | 'archived' | 'draft';
|
|
6
|
+
type ShopifyMarketsDangerousGoods = 'aerosols' | 'air_bag_inflators_or_seat_belt_pretensioners' | 'alcoholic_beverages_containing_more_than_24_percent_alcohol_by_volume' | 'batteries' | 'carbon_dioxide_or_dry_ice' | 'corrosives' | 'cannabidiol_products' | 'cologne_or_perfume' | 'currency_or_gift_cards_or_monetary_instruments' | 'exotic_leather_goods' | 'environmental_waste' | 'explosives_or_ammunition' | 'flammable_liquids' | 'gases' | 'hazardous_or_combustible_materials' | 'infectious_or_biological_substances' | 'knives' | 'matches_or_lighter_or_lighter_refills' | 'nail_polish' | 'oxidizing_materials_or_organic_peroxides' | 'pornography' | 'prohibited_carriage' | 'pesticides_or_toxic_herbicides_or_insecticides_or_poisonous_toxic_substances';
|
|
7
|
+
type ShopifyMarketsHtsNumberAvailable = 'yes' | 'no' | 'i_dont_know';
|
|
8
|
+
type ShopifyMarketsTradeSector = 'apparel_and_accessories' | 'beauty_and_cosmetics' | 'electronics' | 'food_or_perishables' | 'jewellery_and_watches' | 'paper_and_art' | 'sports_and_fitness' | 'toys_hobbies_gifts' | 'other';
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare namespace io.flow.shopify.markets.internal.v0.models {
|
|
12
|
+
interface CatalogPublicationSyncValidationError {
|
|
13
|
+
readonly 'message': string;
|
|
14
|
+
readonly 'reason': string;
|
|
15
|
+
readonly 'next_action_from': io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
interface ChannelOrderSummary {
|
|
19
|
+
readonly 'id': string;
|
|
20
|
+
readonly 'organization': io.flow.common.v0.models.OrganizationReference;
|
|
21
|
+
readonly 'external_order_reference': string;
|
|
22
|
+
readonly 'order_number': string;
|
|
23
|
+
readonly 'fulfullment_details': io.flow.shopify.markets.internal.v0.models.ChannelOrderSummaryFulfillmentDetails;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
interface ChannelOrderSummaryFulfillmentDetails {
|
|
27
|
+
readonly 'fulfillment_status': io.flow.shopify.markets.internal.v0.enums.ChannelOrderFulfillmentStatusCode;
|
|
28
|
+
readonly 'timestamp': string;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
interface FlowShopValidationError {
|
|
32
|
+
readonly 'message': string;
|
|
33
|
+
readonly 'reason': string;
|
|
34
|
+
readonly 'next_action_from': io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
interface GenericValidationError {
|
|
38
|
+
readonly 'message': string;
|
|
39
|
+
readonly 'reason': string;
|
|
40
|
+
readonly 'next_action_from': io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
interface MarketsOrder {
|
|
44
|
+
readonly 'shopify_order': io.flow.shopify.markets.v0.models.ShopifyOrder;
|
|
45
|
+
readonly 'flow_authorization'?: io.flow.payment.v0.unions.Authorization;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
interface OrderValidationError {
|
|
49
|
+
readonly 'message': string;
|
|
50
|
+
readonly 'reason': io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceRejectionReason;
|
|
51
|
+
readonly 'action'?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceErrorAction;
|
|
52
|
+
readonly 'next_action_from': io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
interface ProductRestrictionResultValidationError {
|
|
56
|
+
readonly 'message': string;
|
|
57
|
+
readonly 'reason': string;
|
|
58
|
+
readonly 'next_action_from': io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
interface ShippingLane {
|
|
62
|
+
readonly 'origin': string;
|
|
63
|
+
readonly 'destination': string;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
interface ShopifyMarketsDiscrepancy {
|
|
67
|
+
readonly 'organization_id': string;
|
|
68
|
+
readonly 'count': number;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
interface ShopifyMarketsDiscrepancyData {
|
|
72
|
+
readonly 'total_count': number;
|
|
73
|
+
readonly 'discrepancies': io.flow.shopify.markets.internal.v0.models.ShopifyMarketsDiscrepancy[];
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
interface ShopifyMarketsIncorporationCountry {
|
|
77
|
+
readonly 'country': string;
|
|
78
|
+
readonly 'state'?: string;
|
|
79
|
+
readonly 'province'?: string;
|
|
80
|
+
readonly 'jurisdiction'?: string;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
interface ShopifyMarketsInternalOrderMetrics {
|
|
84
|
+
readonly 'total_order_count': number;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
interface ShopifyMarketsOrdersMetrics {
|
|
88
|
+
readonly 'id': string;
|
|
89
|
+
readonly 'range': io.flow.common.v0.models.DatetimeRange;
|
|
90
|
+
readonly 'shopify': io.flow.shopify.markets.internal.v0.models.ShopifyMarketsShopifyOrderMetrics;
|
|
91
|
+
readonly 'internal': io.flow.shopify.markets.internal.v0.models.ShopifyMarketsInternalOrderMetrics;
|
|
92
|
+
readonly 'discrepancy_data': io.flow.shopify.markets.internal.v0.models.ShopifyMarketsDiscrepancyData;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
interface ShopifyMarketsQueuedRecord {
|
|
96
|
+
readonly 'id': string;
|
|
97
|
+
readonly 'type': string;
|
|
98
|
+
readonly 'type_id': string;
|
|
99
|
+
readonly 'organization_id': string;
|
|
100
|
+
readonly 'environment'?: string;
|
|
101
|
+
readonly 'num_attempts': number;
|
|
102
|
+
readonly 'next_attempt_at': string;
|
|
103
|
+
readonly 'errors'?: string[];
|
|
104
|
+
readonly 'stacktrace'?: string;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
interface ShopifyMarketsShop {
|
|
108
|
+
readonly 'id': string;
|
|
109
|
+
readonly 'shopify_shop_id'?: string;
|
|
110
|
+
readonly 'channel': io.flow.common.v0.models.ChannelReference;
|
|
111
|
+
readonly 'domain': string;
|
|
112
|
+
readonly 'myshopify_domain': string;
|
|
113
|
+
readonly 'organization_id': string;
|
|
114
|
+
readonly 'shop': string;
|
|
115
|
+
readonly 'created_at': string;
|
|
116
|
+
readonly 'shared_secret_masked': string;
|
|
117
|
+
readonly 'api_key_masked'?: string;
|
|
118
|
+
readonly 'api_password_masked'?: string;
|
|
119
|
+
readonly 'access_token_masked'?: string;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
interface ShopifyMarketsShopForm {
|
|
123
|
+
readonly 'shop': string;
|
|
124
|
+
readonly 'domain': string;
|
|
125
|
+
readonly 'myshopify_domain': string;
|
|
126
|
+
readonly 'shared_secret': string;
|
|
127
|
+
readonly 'api_key'?: string;
|
|
128
|
+
readonly 'api_password'?: string;
|
|
129
|
+
readonly 'access_token'?: string;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
interface ShopifyMarketsShopSummary {
|
|
133
|
+
readonly 'organization': io.flow.common.v0.models.OrganizationSummary;
|
|
134
|
+
readonly 'channel': io.flow.common.v0.models.ChannelReference;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
interface ShopifyMarketsShopifyOrderMetrics {
|
|
138
|
+
readonly 'total_order_count': number;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
interface ShopifyMarketsSubsidiaryCompany {
|
|
142
|
+
readonly 'legal_name'?: string;
|
|
143
|
+
readonly 'incorporation_country'?: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsIncorporationCountry;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
interface ShopifyMarketsSync {
|
|
147
|
+
readonly 'force_resync'?: boolean;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
interface ShopifyMarketsWebhookRegistration {
|
|
151
|
+
readonly 'id': string;
|
|
152
|
+
readonly 'response': io.flow.shopify.markets.v0.models.ShopifyWebhookResponse;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
interface ShopifyOrderCancelForm {
|
|
156
|
+
readonly 'note'?: string;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
interface ShopifyOrderCancelResponse {
|
|
160
|
+
readonly 'shopify_order_cancellation_id': string;
|
|
161
|
+
readonly 'shopify_order_id': number;
|
|
162
|
+
readonly 'message': string;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
interface ShopifyOrderDestinationForm {
|
|
166
|
+
readonly 'destination': io.flow.common.v0.models.Address;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
interface ShopifyShopStatistics {
|
|
170
|
+
readonly 'id': string;
|
|
171
|
+
readonly 'initial_catalog_synced_at'?: string;
|
|
172
|
+
readonly 'catalog_sync_duration'?: number;
|
|
173
|
+
readonly 'catalog_products_count'?: number;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
interface ThirdPartyLogisticsPartner {
|
|
177
|
+
readonly 'warehouse_address': io.flow.common.v0.models.BillingAddress;
|
|
178
|
+
readonly 'warehouse_url'?: string;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
interface ThirdPartyLogisticsPickUpTimeWindow {
|
|
182
|
+
readonly 'from': string;
|
|
183
|
+
readonly 'to': string;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
interface Webhook {
|
|
187
|
+
readonly 'placeholder'?: any/*json*/;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
@@ -401,6 +401,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
401
401
|
readonly 'status': io.flow.stripe.v0.enums.PaymentIntentStatus;
|
|
402
402
|
readonly 'transfer_data'?: io.flow.stripe.v0.models.TransferData;
|
|
403
403
|
readonly 'transfer_group'?: string;
|
|
404
|
+
readonly 'shipping'?: io.flow.stripe.v0.models.PaymentIntentShipping;
|
|
404
405
|
}
|
|
405
406
|
|
|
406
407
|
interface PaymentIntentCancellationForm {
|
|
@@ -457,6 +458,13 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
457
458
|
readonly 'statement_descriptor_suffix'?: string;
|
|
458
459
|
readonly 'transfer_data'?: io.flow.stripe.v0.models.TransferData;
|
|
459
460
|
readonly 'transfer_group'?: string;
|
|
461
|
+
readonly 'shipping'?: io.flow.stripe.v0.models.PaymentIntentShipping;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
interface PaymentIntentShipping {
|
|
465
|
+
readonly 'address': io.flow.stripe.v0.models.Address;
|
|
466
|
+
readonly 'name': string;
|
|
467
|
+
readonly 'phone'?: string;
|
|
460
468
|
}
|
|
461
469
|
|
|
462
470
|
interface PaymentIntentUpdateForm {
|
|
@@ -10085,7 +10085,8 @@ declare namespace io.flow.v0.models {
|
|
|
10085
10085
|
|
|
10086
10086
|
interface TransactionMetadataManual {
|
|
10087
10087
|
readonly 'discriminator': 'manual';
|
|
10088
|
-
readonly 'original'
|
|
10088
|
+
readonly 'original'?: io.flow.v0.models.TransactionMetadataOriginalTransaction;
|
|
10089
|
+
readonly 'url'?: string;
|
|
10089
10090
|
}
|
|
10090
10091
|
|
|
10091
10092
|
interface TransactionMetadataOriginalTransaction {
|
package/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
/// <reference path="generated/io.flow.catalog.exclusion.v0.catalog-exclusion.d.ts" />
|
|
13
13
|
/// <reference path="generated/io.flow.catalog.return.v0.catalog-return.d.ts" />
|
|
14
14
|
/// <reference path="generated/io.flow.catalog.v0.catalog.d.ts" />
|
|
15
|
+
/// <reference path="generated/io.flow.channel.internal.v0.channel-internal.d.ts" />
|
|
15
16
|
/// <reference path="generated/io.flow.channel.v0.channel.d.ts" />
|
|
16
17
|
/// <reference path="generated/io.flow.checkout.analytics.v0.checkout-analytics.d.ts" />
|
|
17
18
|
/// <reference path="generated/io.flow.checkout.backend.v0.checkout-backend.d.ts" />
|
|
@@ -68,6 +69,8 @@
|
|
|
68
69
|
/// <reference path="generated/io.flow.session.context.v0.session-context.d.ts" />
|
|
69
70
|
/// <reference path="generated/io.flow.session.v0.session.d.ts" />
|
|
70
71
|
/// <reference path="generated/io.flow.shopify.external.v0.shopify-external.d.ts" />
|
|
72
|
+
/// <reference path="generated/io.flow.shopify.markets.internal.event.v0.shopify-markets-internal-event.d.ts" />
|
|
73
|
+
/// <reference path="generated/io.flow.shopify.markets.internal.v0.shopify-markets-internal.d.ts" />
|
|
71
74
|
/// <reference path="generated/io.flow.shopify.markets.v0.shopify-markets.d.ts" />
|
|
72
75
|
/// <reference path="generated/io.flow.shopify.merchant.config.v0.shopify-merchant-config.d.ts" />
|
|
73
76
|
/// <reference path="generated/io.flow.shopify.v0.shopify.d.ts" />
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-types",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.207",
|
|
4
4
|
"description": "Global TypeScript typings for Flow Commerce API",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
"scripts": {
|
|
15
15
|
"generate": "apibuilder update && node scripts/generate-index.js"
|
|
16
16
|
},
|
|
17
|
-
"gitHead": "
|
|
17
|
+
"gitHead": "f59548a63c0d54be400548738dd1771e26ae7462"
|
|
18
18
|
}
|