@flowio/types 11.24.40 → 11.24.42
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 +165 -76
- package/dist/api.d.ts +11 -6
- package/package.json +2 -2
- package/src/api-internal.ts +198 -87
- package/src/api.ts +13 -5
package/src/api-internal.ts
CHANGED
|
@@ -3916,6 +3916,7 @@ declare namespace io.flow.label.v0.models {
|
|
|
3916
3916
|
interface ShippingLabelDocument {
|
|
3917
3917
|
readonly zpl?: string;
|
|
3918
3918
|
readonly pdf?: string;
|
|
3919
|
+
readonly pdf_data?: string;
|
|
3919
3920
|
readonly png?: string;
|
|
3920
3921
|
readonly html?: string;
|
|
3921
3922
|
readonly required: boolean;
|
|
@@ -11378,6 +11379,8 @@ declare namespace io.flow.billing.v0.enums {
|
|
|
11378
11379
|
| 'shipping_label_service'
|
|
11379
11380
|
| 'shipping_label_revenue_share'
|
|
11380
11381
|
| 'platform_fee'
|
|
11382
|
+
| 'tax'
|
|
11383
|
+
| 'duties'
|
|
11381
11384
|
| 'other_adjustment'
|
|
11382
11385
|
| 'tax_adjustment'
|
|
11383
11386
|
| 'channel'
|
|
@@ -13199,6 +13202,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13199
13202
|
| 'orders'
|
|
13200
13203
|
| 'label'
|
|
13201
13204
|
| 'order_service'
|
|
13205
|
+
| 'tax'
|
|
13202
13206
|
| 'all';
|
|
13203
13207
|
type BillingStatementBatchFileKey = 'archive' | 'summary';
|
|
13204
13208
|
type BillingStatementReviewStatus = 'approved' | 'pending';
|
|
@@ -13220,7 +13224,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13220
13224
|
| 'channel'
|
|
13221
13225
|
| 'label'
|
|
13222
13226
|
| 'order'
|
|
13223
|
-
| 'channel_billed'
|
|
13227
|
+
| 'channel_billed'
|
|
13228
|
+
| 'tax';
|
|
13224
13229
|
type BlazeCheckoutEvent =
|
|
13225
13230
|
| 'begin_checkout'
|
|
13226
13231
|
| 'select_promotion'
|
|
@@ -13591,8 +13596,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13591
13596
|
| 'adyen_capture_upserted'
|
|
13592
13597
|
| 'adyen_refund_deleted'
|
|
13593
13598
|
| 'adyen_refund_upserted'
|
|
13594
|
-
| 'billable_label_upserted'
|
|
13595
|
-
| 'billable_label_deleted'
|
|
13596
13599
|
| 'account_upserted'
|
|
13597
13600
|
| 'account_upserted_v2'
|
|
13598
13601
|
| 'account_deleted_v2'
|
|
@@ -13823,6 +13826,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13823
13826
|
| 'shopify_shop_deleted'
|
|
13824
13827
|
| 'shopify_experience_short_id_upserted'
|
|
13825
13828
|
| 'shopify_experience_short_id_deleted'
|
|
13829
|
+
| 'shopify_markets_order_upserted'
|
|
13830
|
+
| 'shopify_markets_order_deleted'
|
|
13826
13831
|
| 'stripe_authorization_deleted'
|
|
13827
13832
|
| 'stripe_authorization_upserted'
|
|
13828
13833
|
| 'stripe_reversal_deleted'
|
|
@@ -14036,7 +14041,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
14036
14041
|
type OrganizationRestrictionRiskLevel = '5' | '15';
|
|
14037
14042
|
type OrganizationRestrictionScreeningStatus =
|
|
14038
14043
|
| 'in_review'
|
|
14039
|
-
| '
|
|
14044
|
+
| 'fully_reviewed'
|
|
14040
14045
|
| 'rejected'
|
|
14041
14046
|
| 'unscreened';
|
|
14042
14047
|
type OutputStyle = 'flow' | 'shopify_p1';
|
|
@@ -14203,6 +14208,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
14203
14208
|
| 'ratecard';
|
|
14204
14209
|
type TaxCalculationErrorCode = 'generic_error' | 'outside_of_jurisdiction';
|
|
14205
14210
|
type TaxParty = 'consumer' | 'organization' | 'flow' | 'carrier';
|
|
14211
|
+
type TaxTransactionType = 'adjustment' | 'tax';
|
|
14206
14212
|
type TimeseriesType = 'daily' | 'weekly' | 'monthly' | 'yearly';
|
|
14207
14213
|
type TrackingIntegrationType = 'api' | 'bulk' | 'aftership';
|
|
14208
14214
|
type TransactionPostingMethod = 'time' | 'proof';
|
|
@@ -15021,46 +15027,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15021
15027
|
readonly bank_payment: io.flow.internal.v0.models.BankPayment;
|
|
15022
15028
|
}
|
|
15023
15029
|
|
|
15024
|
-
interface BillableLabel {
|
|
15025
|
-
readonly id: string;
|
|
15026
|
-
readonly timestamp: string;
|
|
15027
|
-
readonly label: io.flow.internal.v0.models.BillableLabelSummary;
|
|
15028
|
-
readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
15029
|
-
readonly order?: io.flow.internal.v0.models.BillableLabelOrderReference;
|
|
15030
|
-
readonly cost: io.flow.common.v0.models.Money;
|
|
15031
|
-
}
|
|
15032
|
-
|
|
15033
|
-
interface BillableLabelCarrierReference {
|
|
15034
|
-
readonly id: string;
|
|
15035
|
-
}
|
|
15036
|
-
|
|
15037
|
-
interface BillableLabelDeleted {
|
|
15038
|
-
readonly discriminator: 'billable_label_deleted';
|
|
15039
|
-
readonly event_id: string;
|
|
15040
|
-
readonly timestamp: string;
|
|
15041
|
-
readonly organization: string;
|
|
15042
|
-
readonly id: string;
|
|
15043
|
-
}
|
|
15044
|
-
|
|
15045
|
-
interface BillableLabelOrderReference {
|
|
15046
|
-
readonly number: string;
|
|
15047
|
-
}
|
|
15048
|
-
|
|
15049
|
-
interface BillableLabelSummary {
|
|
15050
|
-
readonly id: string;
|
|
15051
|
-
readonly flow_tracking_number: string;
|
|
15052
|
-
readonly carrier: io.flow.internal.v0.models.BillableLabelCarrierReference;
|
|
15053
|
-
readonly carrier_tracking_number: string;
|
|
15054
|
-
}
|
|
15055
|
-
|
|
15056
|
-
interface BillableLabelUpserted {
|
|
15057
|
-
readonly discriminator: 'billable_label_upserted';
|
|
15058
|
-
readonly event_id: string;
|
|
15059
|
-
readonly timestamp: string;
|
|
15060
|
-
readonly organization: string;
|
|
15061
|
-
readonly billable_label: io.flow.internal.v0.models.BillableLabel;
|
|
15062
|
-
}
|
|
15063
|
-
|
|
15064
15030
|
interface BillingAuthorizationReference {
|
|
15065
15031
|
readonly id: string;
|
|
15066
15032
|
}
|
|
@@ -15077,6 +15043,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15077
15043
|
readonly carrier_tracking_number: string;
|
|
15078
15044
|
}
|
|
15079
15045
|
|
|
15046
|
+
interface BillingLabelTrackingSummaryReference {
|
|
15047
|
+
readonly id: string;
|
|
15048
|
+
}
|
|
15049
|
+
|
|
15080
15050
|
interface BillingOrderDestination {
|
|
15081
15051
|
readonly city?: string;
|
|
15082
15052
|
readonly province?: string;
|
|
@@ -15740,9 +15710,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15740
15710
|
|
|
15741
15711
|
interface ChannelBilledTransaction {
|
|
15742
15712
|
readonly discriminator: 'channel_billed_transaction';
|
|
15713
|
+
readonly order?: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
|
|
15743
15714
|
readonly id: string;
|
|
15744
15715
|
readonly type: io.flow.internal.v0.enums.BillingTransactionType;
|
|
15745
|
-
readonly order?: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
|
|
15746
15716
|
readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
|
|
15747
15717
|
readonly posted_at?: string;
|
|
15748
15718
|
readonly value: io.flow.common.v0.models.Price;
|
|
@@ -15933,9 +15903,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15933
15903
|
|
|
15934
15904
|
interface ChannelTransaction {
|
|
15935
15905
|
readonly discriminator: 'channel_transaction';
|
|
15906
|
+
readonly transaction: io.flow.internal.v0.models.TransactionReference;
|
|
15936
15907
|
readonly id: string;
|
|
15937
15908
|
readonly type: io.flow.internal.v0.enums.BillingTransactionType;
|
|
15938
|
-
readonly transaction: io.flow.internal.v0.models.TransactionReference;
|
|
15939
15909
|
readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
|
|
15940
15910
|
readonly posted_at?: string;
|
|
15941
15911
|
readonly value: io.flow.common.v0.models.Price;
|
|
@@ -18166,6 +18136,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18166
18136
|
readonly discriminator: 'undo';
|
|
18167
18137
|
readonly organization_id: string;
|
|
18168
18138
|
readonly item_numbers: string[];
|
|
18139
|
+
readonly user: string;
|
|
18169
18140
|
}
|
|
18170
18141
|
|
|
18171
18142
|
interface ClassificationDetails {
|
|
@@ -18246,6 +18217,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18246
18217
|
readonly message: string;
|
|
18247
18218
|
}
|
|
18248
18219
|
|
|
18220
|
+
interface ClassificationSearch {
|
|
18221
|
+
readonly product_id: string;
|
|
18222
|
+
readonly organization_id: io.flow.common.v0.models.OrganizationSummary;
|
|
18223
|
+
readonly items: io.flow.common.v0.models.CatalogItemSummary[];
|
|
18224
|
+
readonly product_harmonization: io.flow.internal.v0.models.ClassificationProductHarmonization;
|
|
18225
|
+
}
|
|
18226
|
+
|
|
18249
18227
|
interface ClassificationStatistics {
|
|
18250
18228
|
readonly status: io.flow.internal.v0.enums.ItemHarmonizationStatus;
|
|
18251
18229
|
readonly number_of_items: number;
|
|
@@ -18581,7 +18559,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18581
18559
|
interface DebugLabel {
|
|
18582
18560
|
readonly carrier_id: string;
|
|
18583
18561
|
readonly carrier_tracking_number: string;
|
|
18584
|
-
readonly
|
|
18562
|
+
readonly label_tracking_summary_id?: string;
|
|
18563
|
+
readonly label_id?: string;
|
|
18585
18564
|
readonly transactions?: io.flow.internal.v0.models.DebugLabelTransactionSummary[];
|
|
18586
18565
|
}
|
|
18587
18566
|
|
|
@@ -18861,9 +18840,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18861
18840
|
|
|
18862
18841
|
interface DisputeTransaction {
|
|
18863
18842
|
readonly discriminator: 'dispute_transaction';
|
|
18843
|
+
readonly authorization: io.flow.payment.v0.models.AuthorizationReference;
|
|
18864
18844
|
readonly id: string;
|
|
18865
18845
|
readonly type: io.flow.internal.v0.enums.BillingTransactionType;
|
|
18866
|
-
readonly authorization: io.flow.payment.v0.models.AuthorizationReference;
|
|
18867
18846
|
readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
|
|
18868
18847
|
readonly posted_at?: string;
|
|
18869
18848
|
readonly value: io.flow.common.v0.models.Price;
|
|
@@ -19292,6 +19271,18 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19292
19271
|
readonly experiment: io.flow.internal.v0.unions.Experiment;
|
|
19293
19272
|
}
|
|
19294
19273
|
|
|
19274
|
+
interface ExplicitStatement {
|
|
19275
|
+
readonly id: string;
|
|
19276
|
+
readonly statement: io.flow.internal.v0.models.BillingStatementReference;
|
|
19277
|
+
readonly reason: string;
|
|
19278
|
+
}
|
|
19279
|
+
|
|
19280
|
+
interface ExplicitStatementForm {
|
|
19281
|
+
readonly account_id: string;
|
|
19282
|
+
readonly reason: string;
|
|
19283
|
+
readonly transaction_ids: string[];
|
|
19284
|
+
}
|
|
19285
|
+
|
|
19295
19286
|
interface ExportCompleted {
|
|
19296
19287
|
readonly discriminator: 'export_completed';
|
|
19297
19288
|
readonly event_id: string;
|
|
@@ -19554,6 +19545,33 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19554
19545
|
readonly transfer?: io.flow.internal.v0.models.Fee;
|
|
19555
19546
|
}
|
|
19556
19547
|
|
|
19548
|
+
interface File {
|
|
19549
|
+
readonly id: string;
|
|
19550
|
+
readonly stream: io.flow.internal.v0.models.StreamReference;
|
|
19551
|
+
readonly url: string;
|
|
19552
|
+
readonly created_at: string;
|
|
19553
|
+
readonly metadata: io.flow.internal.v0.models.FileMetadata;
|
|
19554
|
+
readonly confirmation?: io.flow.internal.v0.models.FileConfirmation;
|
|
19555
|
+
}
|
|
19556
|
+
|
|
19557
|
+
interface FileConfirmation {
|
|
19558
|
+
readonly counts: io.flow.internal.v0.models.FileMetadataCounts;
|
|
19559
|
+
}
|
|
19560
|
+
|
|
19561
|
+
interface FileConfirmationForm {
|
|
19562
|
+
readonly count_transactions: number;
|
|
19563
|
+
readonly count_statements: number;
|
|
19564
|
+
}
|
|
19565
|
+
|
|
19566
|
+
interface FileMetadata {
|
|
19567
|
+
readonly counts: io.flow.internal.v0.models.FileMetadataCounts;
|
|
19568
|
+
}
|
|
19569
|
+
|
|
19570
|
+
interface FileMetadataCounts {
|
|
19571
|
+
readonly transactions: number;
|
|
19572
|
+
readonly statements: number;
|
|
19573
|
+
}
|
|
19574
|
+
|
|
19557
19575
|
interface FinancialMerchantCategory {
|
|
19558
19576
|
readonly id: string;
|
|
19559
19577
|
readonly iso_18245_4: string;
|
|
@@ -21023,6 +21041,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21023
21041
|
|
|
21024
21042
|
interface InvoiceTransaction {
|
|
21025
21043
|
readonly discriminator: 'invoice_transaction';
|
|
21044
|
+
readonly invoice: io.flow.internal.v0.models.Invoice;
|
|
21026
21045
|
readonly id: string;
|
|
21027
21046
|
readonly type: io.flow.internal.v0.enums.BillingTransactionType;
|
|
21028
21047
|
readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
|
|
@@ -21031,7 +21050,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21031
21050
|
readonly description: string;
|
|
21032
21051
|
readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
|
|
21033
21052
|
readonly created_at: string;
|
|
21034
|
-
readonly invoice: io.flow.internal.v0.models.Invoice;
|
|
21035
21053
|
}
|
|
21036
21054
|
|
|
21037
21055
|
interface Issuer {
|
|
@@ -21439,10 +21457,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21439
21457
|
|
|
21440
21458
|
interface LabelTransaction {
|
|
21441
21459
|
readonly discriminator: 'label_transaction';
|
|
21442
|
-
readonly id: string;
|
|
21443
|
-
readonly type: io.flow.internal.v0.enums.BillingTransactionType;
|
|
21444
21460
|
readonly label: io.flow.internal.v0.models.BillingLabelSummary;
|
|
21445
21461
|
readonly order?: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
|
|
21462
|
+
readonly tracking: io.flow.internal.v0.models.BillingLabelTrackingSummaryReference;
|
|
21463
|
+
readonly id: string;
|
|
21464
|
+
readonly type: io.flow.internal.v0.enums.BillingTransactionType;
|
|
21446
21465
|
readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
|
|
21447
21466
|
readonly posted_at?: string;
|
|
21448
21467
|
readonly value: io.flow.common.v0.models.Price;
|
|
@@ -21845,16 +21864,16 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21845
21864
|
|
|
21846
21865
|
interface ManualTransaction {
|
|
21847
21866
|
readonly discriminator: 'manual_transaction';
|
|
21867
|
+
readonly category?: io.flow.internal.v0.enums.ManualTransactionCategory;
|
|
21868
|
+
readonly order?: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
|
|
21869
|
+
readonly attributes?: Record<string, string>;
|
|
21848
21870
|
readonly id: string;
|
|
21849
21871
|
readonly type: io.flow.internal.v0.enums.BillingTransactionType;
|
|
21850
21872
|
readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
|
|
21851
21873
|
readonly posted_at?: string;
|
|
21852
21874
|
readonly value: io.flow.common.v0.models.Price;
|
|
21853
21875
|
readonly description: string;
|
|
21854
|
-
readonly category?: io.flow.internal.v0.enums.ManualTransactionCategory;
|
|
21855
21876
|
readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
|
|
21856
|
-
readonly order?: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
|
|
21857
|
-
readonly attributes?: Record<string, string>;
|
|
21858
21877
|
readonly created_at: string;
|
|
21859
21878
|
}
|
|
21860
21879
|
|
|
@@ -22461,9 +22480,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22461
22480
|
|
|
22462
22481
|
interface OrderTransaction {
|
|
22463
22482
|
readonly discriminator: 'order_transaction';
|
|
22483
|
+
readonly order: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
|
|
22464
22484
|
readonly id: string;
|
|
22465
22485
|
readonly type: io.flow.internal.v0.enums.BillingTransactionType;
|
|
22466
|
-
readonly order: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
|
|
22467
22486
|
readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
|
|
22468
22487
|
readonly posted_at?: string;
|
|
22469
22488
|
readonly value: io.flow.common.v0.models.Price;
|
|
@@ -22645,6 +22664,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22645
22664
|
}
|
|
22646
22665
|
|
|
22647
22666
|
interface OrganizationRestrictionApproval {
|
|
22667
|
+
readonly id: string;
|
|
22648
22668
|
readonly status: io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus;
|
|
22649
22669
|
readonly reason?: string;
|
|
22650
22670
|
readonly updated_at: string;
|
|
@@ -23247,18 +23267,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23247
23267
|
|
|
23248
23268
|
interface ProcessingTransaction {
|
|
23249
23269
|
readonly discriminator: 'processing_transaction';
|
|
23250
|
-
readonly id: string;
|
|
23251
|
-
readonly type: io.flow.internal.v0.enums.BillingTransactionType;
|
|
23252
23270
|
readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
|
|
23253
23271
|
readonly logistics_responsibility: io.flow.internal.v0.enums.ResponsibleParty[];
|
|
23254
|
-
readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
|
|
23255
|
-
readonly posted_at?: string;
|
|
23256
|
-
readonly value: io.flow.common.v0.models.Price;
|
|
23257
|
-
readonly description: string;
|
|
23258
|
-
readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
|
|
23259
|
-
readonly created_at: string;
|
|
23260
23272
|
readonly original_at?: string;
|
|
23261
23273
|
readonly reference: string;
|
|
23274
|
+
readonly psp_reference_id: string;
|
|
23275
|
+
readonly reference_id: string;
|
|
23276
|
+
readonly reference_key: string;
|
|
23262
23277
|
readonly primary_identifier?: string;
|
|
23263
23278
|
readonly payment_method: string;
|
|
23264
23279
|
readonly original: io.flow.common.v0.models.PriceWithBase;
|
|
@@ -23273,6 +23288,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23273
23288
|
readonly flow_margin: number;
|
|
23274
23289
|
readonly revenue_share?: io.flow.common.v0.models.Price;
|
|
23275
23290
|
readonly disposition?: io.flow.internal.v0.enums.BillingStatementReviewStatus;
|
|
23291
|
+
readonly id: string;
|
|
23292
|
+
readonly type: io.flow.internal.v0.enums.BillingTransactionType;
|
|
23293
|
+
readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
|
|
23294
|
+
readonly posted_at?: string;
|
|
23295
|
+
readonly value: io.flow.common.v0.models.Price;
|
|
23296
|
+
readonly description: string;
|
|
23297
|
+
readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
|
|
23298
|
+
readonly created_at: string;
|
|
23276
23299
|
}
|
|
23277
23300
|
|
|
23278
23301
|
interface ProcessingTransactionDeleted {
|
|
@@ -23396,7 +23419,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23396
23419
|
|
|
23397
23420
|
interface ProofOfPostingFulfilled {
|
|
23398
23421
|
readonly discriminator: 'fulfilled';
|
|
23399
|
-
readonly
|
|
23422
|
+
readonly label_tracking_summary_id: string;
|
|
23400
23423
|
}
|
|
23401
23424
|
|
|
23402
23425
|
interface ProofOfPostingFullyRefunded {
|
|
@@ -23405,6 +23428,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23405
23428
|
readonly refund_ids: string[];
|
|
23406
23429
|
}
|
|
23407
23430
|
|
|
23431
|
+
interface ProofOfPostingShippingNotification {
|
|
23432
|
+
readonly discriminator: 'shipping_notification';
|
|
23433
|
+
readonly shipping_notification_id: string;
|
|
23434
|
+
}
|
|
23435
|
+
|
|
23408
23436
|
interface QuoteRequest {
|
|
23409
23437
|
readonly id: string;
|
|
23410
23438
|
readonly request_type: io.flow.internal.v0.enums.QuoteRequestType;
|
|
@@ -24249,6 +24277,27 @@ declare namespace io.flow.internal.v0.models {
|
|
|
24249
24277
|
readonly jurisdiction?: string;
|
|
24250
24278
|
}
|
|
24251
24279
|
|
|
24280
|
+
interface ShopifyMarketsOrder {
|
|
24281
|
+
readonly id: string;
|
|
24282
|
+
readonly model: io.flow.shopify.markets.v0.models.ShopifyOrder;
|
|
24283
|
+
}
|
|
24284
|
+
|
|
24285
|
+
interface ShopifyMarketsOrderDeleted {
|
|
24286
|
+
readonly discriminator: 'shopify_markets_order_deleted';
|
|
24287
|
+
readonly event_id: string;
|
|
24288
|
+
readonly timestamp: string;
|
|
24289
|
+
readonly organization: string;
|
|
24290
|
+
readonly shopify_markets_order: io.flow.internal.v0.models.ShopifyMarketsOrder;
|
|
24291
|
+
}
|
|
24292
|
+
|
|
24293
|
+
interface ShopifyMarketsOrderUpserted {
|
|
24294
|
+
readonly discriminator: 'shopify_markets_order_upserted';
|
|
24295
|
+
readonly event_id: string;
|
|
24296
|
+
readonly timestamp: string;
|
|
24297
|
+
readonly organization: string;
|
|
24298
|
+
readonly shopify_markets_order: io.flow.internal.v0.models.ShopifyMarketsOrder;
|
|
24299
|
+
}
|
|
24300
|
+
|
|
24252
24301
|
interface ShopifyMarketsShop {
|
|
24253
24302
|
readonly id: string;
|
|
24254
24303
|
readonly channel: io.flow.common.v0.models.ChannelReference;
|
|
@@ -24527,6 +24576,27 @@ declare namespace io.flow.internal.v0.models {
|
|
|
24527
24576
|
readonly initial_customs_description?: string;
|
|
24528
24577
|
}
|
|
24529
24578
|
|
|
24579
|
+
interface SmbTaxCalculation {
|
|
24580
|
+
readonly quote_reference: string;
|
|
24581
|
+
readonly target_currency_code: string;
|
|
24582
|
+
readonly total: number;
|
|
24583
|
+
readonly tax: io.flow.internal.v0.unions.TaxAmount;
|
|
24584
|
+
readonly lines: io.flow.internal.v0.models.TaxCalculationLineItem[];
|
|
24585
|
+
readonly shipping_total: number;
|
|
24586
|
+
readonly shipping_tax: io.flow.internal.v0.unions.TaxAmount;
|
|
24587
|
+
readonly customer_code?: string;
|
|
24588
|
+
}
|
|
24589
|
+
|
|
24590
|
+
interface SmbTaxCalculationForm {
|
|
24591
|
+
readonly quote_reference: string;
|
|
24592
|
+
readonly target_currency_code: string;
|
|
24593
|
+
readonly destination: io.flow.common.v0.models.Address;
|
|
24594
|
+
readonly order_date: string;
|
|
24595
|
+
readonly lines: io.flow.internal.v0.models.TaxCalculationLineItemForm[];
|
|
24596
|
+
readonly shipping_amount: number;
|
|
24597
|
+
readonly customer_code?: string;
|
|
24598
|
+
}
|
|
24599
|
+
|
|
24530
24600
|
interface SnapchatPixel {
|
|
24531
24601
|
readonly discriminator: 'snapchat_pixel';
|
|
24532
24602
|
readonly name?: string;
|
|
@@ -24588,6 +24658,15 @@ declare namespace io.flow.internal.v0.models {
|
|
|
24588
24658
|
readonly organization: string;
|
|
24589
24659
|
}
|
|
24590
24660
|
|
|
24661
|
+
interface Stream {
|
|
24662
|
+
readonly id: string;
|
|
24663
|
+
readonly key: string;
|
|
24664
|
+
}
|
|
24665
|
+
|
|
24666
|
+
interface StreamReference {
|
|
24667
|
+
readonly id: string;
|
|
24668
|
+
}
|
|
24669
|
+
|
|
24591
24670
|
interface StringFeatureDefaultValue {
|
|
24592
24671
|
readonly discriminator: 'string';
|
|
24593
24672
|
readonly value: string;
|
|
@@ -24829,6 +24908,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
24829
24908
|
|
|
24830
24909
|
interface SubscriptionTransaction {
|
|
24831
24910
|
readonly discriminator: 'subscription_transaction';
|
|
24911
|
+
readonly period: io.flow.common.v0.models.DatetimeRange;
|
|
24832
24912
|
readonly id: string;
|
|
24833
24913
|
readonly type: io.flow.internal.v0.enums.BillingTransactionType;
|
|
24834
24914
|
readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
|
|
@@ -24837,7 +24917,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
24837
24917
|
readonly description: string;
|
|
24838
24918
|
readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
|
|
24839
24919
|
readonly created_at: string;
|
|
24840
|
-
readonly period: io.flow.common.v0.models.DatetimeRange;
|
|
24841
24920
|
}
|
|
24842
24921
|
|
|
24843
24922
|
interface SupportedLabels {
|
|
@@ -24976,6 +25055,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
24976
25055
|
|
|
24977
25056
|
interface TaxRemittanceTransaction {
|
|
24978
25057
|
readonly discriminator: 'tax_remittance_transaction';
|
|
25058
|
+
readonly order: io.flow.internal.v0.models.BillingOrderSummary;
|
|
25059
|
+
readonly invoice: io.flow.internal.v0.models.BillingInvoiceSummary;
|
|
24979
25060
|
readonly id: string;
|
|
24980
25061
|
readonly type: io.flow.internal.v0.enums.BillingTransactionType;
|
|
24981
25062
|
readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
|
|
@@ -24984,8 +25065,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
24984
25065
|
readonly description: string;
|
|
24985
25066
|
readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
|
|
24986
25067
|
readonly created_at: string;
|
|
24987
|
-
readonly order: io.flow.internal.v0.models.BillingOrderSummary;
|
|
24988
|
-
readonly invoice: io.flow.internal.v0.models.BillingInvoiceSummary;
|
|
24989
25068
|
}
|
|
24990
25069
|
|
|
24991
25070
|
interface TaxRemittanceTransactionDeleted {
|
|
@@ -25004,6 +25083,19 @@ declare namespace io.flow.internal.v0.models {
|
|
|
25004
25083
|
readonly transaction: io.flow.internal.v0.models.TaxRemittanceTransaction;
|
|
25005
25084
|
}
|
|
25006
25085
|
|
|
25086
|
+
interface TaxTransaction {
|
|
25087
|
+
readonly discriminator: 'tax_transaction';
|
|
25088
|
+
readonly order?: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
|
|
25089
|
+
readonly id: string;
|
|
25090
|
+
readonly type: io.flow.internal.v0.enums.BillingTransactionType;
|
|
25091
|
+
readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
|
|
25092
|
+
readonly posted_at?: string;
|
|
25093
|
+
readonly value: io.flow.common.v0.models.Price;
|
|
25094
|
+
readonly description: string;
|
|
25095
|
+
readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
|
|
25096
|
+
readonly created_at: string;
|
|
25097
|
+
}
|
|
25098
|
+
|
|
25007
25099
|
interface TaxonomyCategory {
|
|
25008
25100
|
readonly discriminator: 'category';
|
|
25009
25101
|
readonly name: string;
|
|
@@ -25207,6 +25299,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
25207
25299
|
|
|
25208
25300
|
interface TransferTransaction {
|
|
25209
25301
|
readonly discriminator: 'transfer_transaction';
|
|
25302
|
+
readonly method: io.flow.internal.v0.enums.TransferMethod;
|
|
25210
25303
|
readonly id: string;
|
|
25211
25304
|
readonly type: io.flow.internal.v0.enums.BillingTransactionType;
|
|
25212
25305
|
readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
|
|
@@ -25215,7 +25308,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
25215
25308
|
readonly description: string;
|
|
25216
25309
|
readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
|
|
25217
25310
|
readonly created_at: string;
|
|
25218
|
-
readonly method: io.flow.internal.v0.enums.TransferMethod;
|
|
25219
25311
|
}
|
|
25220
25312
|
|
|
25221
25313
|
interface TransferTransactionDeleted {
|
|
@@ -25460,6 +25552,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
25460
25552
|
|
|
25461
25553
|
interface VirtualCardTransaction {
|
|
25462
25554
|
readonly discriminator: 'virtual_card_transaction';
|
|
25555
|
+
readonly virtual_card: io.flow.payment.v0.models.VirtualCardReference;
|
|
25556
|
+
readonly authorization: io.flow.payment.v0.models.AuthorizationReference;
|
|
25557
|
+
readonly original: io.flow.common.v0.models.PriceWithBase;
|
|
25558
|
+
readonly processing_fee: io.flow.internal.v0.models.Fee;
|
|
25463
25559
|
readonly id: string;
|
|
25464
25560
|
readonly type: io.flow.internal.v0.enums.BillingTransactionType;
|
|
25465
25561
|
readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
|
|
@@ -25468,10 +25564,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
25468
25564
|
readonly description: string;
|
|
25469
25565
|
readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
|
|
25470
25566
|
readonly created_at: string;
|
|
25471
|
-
readonly virtual_card: io.flow.payment.v0.models.VirtualCardReference;
|
|
25472
|
-
readonly authorization: io.flow.payment.v0.models.AuthorizationReference;
|
|
25473
|
-
readonly original: io.flow.common.v0.models.PriceWithBase;
|
|
25474
|
-
readonly processing_fee: io.flow.internal.v0.models.Fee;
|
|
25475
25567
|
}
|
|
25476
25568
|
|
|
25477
25569
|
interface WasteElectricalAndElectronicEquipmentComplianceData {
|
|
@@ -25947,8 +26039,6 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
25947
26039
|
| io.flow.internal.v0.models.AdyenCaptureUpserted
|
|
25948
26040
|
| io.flow.internal.v0.models.AdyenRefundDeleted
|
|
25949
26041
|
| io.flow.internal.v0.models.AdyenRefundUpserted
|
|
25950
|
-
| io.flow.internal.v0.models.BillableLabelUpserted
|
|
25951
|
-
| io.flow.internal.v0.models.BillableLabelDeleted
|
|
25952
26042
|
| io.flow.internal.v0.models.AccountUpserted
|
|
25953
26043
|
| io.flow.internal.v0.models.AccountUpsertedV2
|
|
25954
26044
|
| io.flow.internal.v0.models.AccountDeletedV2
|
|
@@ -26179,6 +26269,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
26179
26269
|
| io.flow.internal.v0.models.ShopifyShopDeleted
|
|
26180
26270
|
| io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted
|
|
26181
26271
|
| io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted
|
|
26272
|
+
| io.flow.internal.v0.models.ShopifyMarketsOrderUpserted
|
|
26273
|
+
| io.flow.internal.v0.models.ShopifyMarketsOrderDeleted
|
|
26182
26274
|
| io.flow.internal.v0.models.StripeAuthorizationDeleted
|
|
26183
26275
|
| io.flow.internal.v0.models.StripeAuthorizationUpserted
|
|
26184
26276
|
| io.flow.internal.v0.models.StripeReversalDeleted
|
|
@@ -26385,7 +26477,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
26385
26477
|
type ProofOfPosting =
|
|
26386
26478
|
| io.flow.internal.v0.models.ProofOfPostingFulfilled
|
|
26387
26479
|
| io.flow.internal.v0.models.ProofOfPostingExternallyFulfilled
|
|
26388
|
-
| io.flow.internal.v0.models.ProofOfPostingFullyRefunded
|
|
26480
|
+
| io.flow.internal.v0.models.ProofOfPostingFullyRefunded
|
|
26481
|
+
| io.flow.internal.v0.models.ProofOfPostingShippingNotification;
|
|
26389
26482
|
type RoutingEntity =
|
|
26390
26483
|
| io.flow.internal.v0.models.RoutingProcessor
|
|
26391
26484
|
| io.flow.internal.v0.models.RoutingAccount
|
|
@@ -26438,7 +26531,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
26438
26531
|
| io.flow.internal.v0.models.ChannelTransaction
|
|
26439
26532
|
| io.flow.internal.v0.models.LabelTransaction
|
|
26440
26533
|
| io.flow.internal.v0.models.OrderTransaction
|
|
26441
|
-
| io.flow.internal.v0.models.ChannelBilledTransaction
|
|
26534
|
+
| io.flow.internal.v0.models.ChannelBilledTransaction
|
|
26535
|
+
| io.flow.internal.v0.models.TaxTransaction;
|
|
26442
26536
|
type TransactionSummary =
|
|
26443
26537
|
| io.flow.internal.v0.models.PaymentSummaryV2
|
|
26444
26538
|
| io.flow.internal.v0.models.FraudSummary;
|
|
@@ -26637,17 +26731,6 @@ export type BankPaymentUpserted =
|
|
|
26637
26731
|
io.flow.internal.v0.models.BankPaymentUpserted;
|
|
26638
26732
|
export type BankPaymentUpsertedV2 =
|
|
26639
26733
|
io.flow.internal.v0.models.BankPaymentUpsertedV2;
|
|
26640
|
-
export type BillableLabel = io.flow.internal.v0.models.BillableLabel;
|
|
26641
|
-
export type BillableLabelCarrierReference =
|
|
26642
|
-
io.flow.internal.v0.models.BillableLabelCarrierReference;
|
|
26643
|
-
export type BillableLabelDeleted =
|
|
26644
|
-
io.flow.internal.v0.models.BillableLabelDeleted;
|
|
26645
|
-
export type BillableLabelOrderReference =
|
|
26646
|
-
io.flow.internal.v0.models.BillableLabelOrderReference;
|
|
26647
|
-
export type BillableLabelSummary =
|
|
26648
|
-
io.flow.internal.v0.models.BillableLabelSummary;
|
|
26649
|
-
export type BillableLabelUpserted =
|
|
26650
|
-
io.flow.internal.v0.models.BillableLabelUpserted;
|
|
26651
26734
|
export type BillingAllocationKey =
|
|
26652
26735
|
io.flow.internal.v0.enums.BillingAllocationKey;
|
|
26653
26736
|
export type BillingAuthorizationReference =
|
|
@@ -26656,6 +26739,8 @@ export type BillingInvoiceSummary =
|
|
|
26656
26739
|
io.flow.internal.v0.models.BillingInvoiceSummary;
|
|
26657
26740
|
export type BillingLabelSummary =
|
|
26658
26741
|
io.flow.internal.v0.models.BillingLabelSummary;
|
|
26742
|
+
export type BillingLabelTrackingSummaryReference =
|
|
26743
|
+
io.flow.internal.v0.models.BillingLabelTrackingSummaryReference;
|
|
26659
26744
|
export type BillingOrderDestination =
|
|
26660
26745
|
io.flow.internal.v0.models.BillingOrderDestination;
|
|
26661
26746
|
export type BillingOrderSummary =
|
|
@@ -28002,6 +28087,8 @@ export type ClassificationRequeueRequest =
|
|
|
28002
28087
|
io.flow.internal.v0.models.ClassificationRequeueRequest;
|
|
28003
28088
|
export type ClassificationResponse =
|
|
28004
28089
|
io.flow.internal.v0.unions.ClassificationResponse;
|
|
28090
|
+
export type ClassificationSearch =
|
|
28091
|
+
io.flow.internal.v0.models.ClassificationSearch;
|
|
28005
28092
|
export type ClassificationStatistics =
|
|
28006
28093
|
io.flow.internal.v0.models.ClassificationStatistics;
|
|
28007
28094
|
export type ClassificationTaxonomy =
|
|
@@ -28289,6 +28376,9 @@ export type ExperimentSessionQueryForm =
|
|
|
28289
28376
|
io.flow.internal.v0.models.ExperimentSessionQueryForm;
|
|
28290
28377
|
export type ExperimentUpserted = io.flow.internal.v0.models.ExperimentUpserted;
|
|
28291
28378
|
export type ExperimentVersion = io.flow.internal.v0.models.ExperimentVersion;
|
|
28379
|
+
export type ExplicitStatement = io.flow.internal.v0.models.ExplicitStatement;
|
|
28380
|
+
export type ExplicitStatementForm =
|
|
28381
|
+
io.flow.internal.v0.models.ExplicitStatementForm;
|
|
28292
28382
|
export type ExportCompleted = io.flow.internal.v0.models.ExportCompleted;
|
|
28293
28383
|
export type ExportContentType = io.flow.internal.v0.enums.ExportContentType;
|
|
28294
28384
|
export type ExportFailed = io.flow.internal.v0.models.ExportFailed;
|
|
@@ -28350,6 +28440,12 @@ export type FeedUpserted = io.flow.internal.v0.models.FeedUpserted;
|
|
|
28350
28440
|
export type FeedsExport = io.flow.internal.v0.models.FeedsExport;
|
|
28351
28441
|
export type Fees = io.flow.internal.v0.models.Fees;
|
|
28352
28442
|
export type FeesSource = io.flow.internal.v0.enums.FeesSource;
|
|
28443
|
+
export type File = io.flow.internal.v0.models.File;
|
|
28444
|
+
export type FileConfirmation = io.flow.internal.v0.models.FileConfirmation;
|
|
28445
|
+
export type FileConfirmationForm =
|
|
28446
|
+
io.flow.internal.v0.models.FileConfirmationForm;
|
|
28447
|
+
export type FileMetadata = io.flow.internal.v0.models.FileMetadata;
|
|
28448
|
+
export type FileMetadataCounts = io.flow.internal.v0.models.FileMetadataCounts;
|
|
28353
28449
|
export type FinancialMerchantCategory =
|
|
28354
28450
|
io.flow.internal.v0.models.FinancialMerchantCategory;
|
|
28355
28451
|
export type FinancialReportingResponsibleParty =
|
|
@@ -29318,6 +29414,8 @@ export type ProofOfPostingFulfilled =
|
|
|
29318
29414
|
io.flow.internal.v0.models.ProofOfPostingFulfilled;
|
|
29319
29415
|
export type ProofOfPostingFullyRefunded =
|
|
29320
29416
|
io.flow.internal.v0.models.ProofOfPostingFullyRefunded;
|
|
29417
|
+
export type ProofOfPostingShippingNotification =
|
|
29418
|
+
io.flow.internal.v0.models.ProofOfPostingShippingNotification;
|
|
29321
29419
|
export type QuoteRequest = io.flow.internal.v0.models.QuoteRequest;
|
|
29322
29420
|
export type QuoteRequestType = io.flow.internal.v0.enums.QuoteRequestType;
|
|
29323
29421
|
export type RateAndRuleItem = io.flow.internal.v0.models.RateAndRuleItem;
|
|
@@ -29536,6 +29634,12 @@ export type ShopifyMarketsHtsNumberAvailable =
|
|
|
29536
29634
|
io.flow.internal.v0.enums.ShopifyMarketsHtsNumberAvailable;
|
|
29537
29635
|
export type ShopifyMarketsIncorporationCountry =
|
|
29538
29636
|
io.flow.internal.v0.models.ShopifyMarketsIncorporationCountry;
|
|
29637
|
+
export type ShopifyMarketsOrder =
|
|
29638
|
+
io.flow.internal.v0.models.ShopifyMarketsOrder;
|
|
29639
|
+
export type ShopifyMarketsOrderDeleted =
|
|
29640
|
+
io.flow.internal.v0.models.ShopifyMarketsOrderDeleted;
|
|
29641
|
+
export type ShopifyMarketsOrderUpserted =
|
|
29642
|
+
io.flow.internal.v0.models.ShopifyMarketsOrderUpserted;
|
|
29539
29643
|
export type ShopifyMarketsShop = io.flow.internal.v0.models.ShopifyMarketsShop;
|
|
29540
29644
|
export type ShopifyMarketsShopForm =
|
|
29541
29645
|
io.flow.internal.v0.models.ShopifyMarketsShopForm;
|
|
@@ -29639,6 +29743,9 @@ export type SingleClassificationAction =
|
|
|
29639
29743
|
io.flow.internal.v0.models.SingleClassificationAction;
|
|
29640
29744
|
export type SingleClassificationForm =
|
|
29641
29745
|
io.flow.internal.v0.models.SingleClassificationForm;
|
|
29746
|
+
export type SmbTaxCalculation = io.flow.internal.v0.models.SmbTaxCalculation;
|
|
29747
|
+
export type SmbTaxCalculationForm =
|
|
29748
|
+
io.flow.internal.v0.models.SmbTaxCalculationForm;
|
|
29642
29749
|
export type SnapchatPixel = io.flow.internal.v0.models.SnapchatPixel;
|
|
29643
29750
|
export type SpotRate = io.flow.internal.v0.models.SpotRate;
|
|
29644
29751
|
export type SpotRateDeleted = io.flow.internal.v0.models.SpotRateDeleted;
|
|
@@ -29657,6 +29764,8 @@ export type Status = io.flow.internal.v0.enums.Status;
|
|
|
29657
29764
|
export type StoreConnection = io.flow.internal.v0.models.StoreConnection;
|
|
29658
29765
|
export type StoreConnectionForm =
|
|
29659
29766
|
io.flow.internal.v0.models.StoreConnectionForm;
|
|
29767
|
+
export type Stream = io.flow.internal.v0.models.Stream;
|
|
29768
|
+
export type StreamReference = io.flow.internal.v0.models.StreamReference;
|
|
29660
29769
|
export type StringFeatureDefaultValue =
|
|
29661
29770
|
io.flow.internal.v0.models.StringFeatureDefaultValue;
|
|
29662
29771
|
export type StringFeatureRule = io.flow.internal.v0.models.StringFeatureRule;
|
|
@@ -29756,6 +29865,8 @@ export type TaxRemittanceTransactionDeleted =
|
|
|
29756
29865
|
io.flow.internal.v0.models.TaxRemittanceTransactionDeleted;
|
|
29757
29866
|
export type TaxRemittanceTransactionUpserted =
|
|
29758
29867
|
io.flow.internal.v0.models.TaxRemittanceTransactionUpserted;
|
|
29868
|
+
export type TaxTransaction = io.flow.internal.v0.models.TaxTransaction;
|
|
29869
|
+
export type TaxTransactionType = io.flow.internal.v0.enums.TaxTransactionType;
|
|
29759
29870
|
export type TaxonomyCategory = io.flow.internal.v0.models.TaxonomyCategory;
|
|
29760
29871
|
export type TaxonomyNode = io.flow.internal.v0.models.TaxonomyNode;
|
|
29761
29872
|
export type Test = io.flow.internal.v0.models.Test;
|