@flowio/types 11.24.140 → 11.24.142
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 +84 -2
- package/dist/api.d.ts +5776 -2359
- package/package.json +1 -1
- package/src/api-internal.ts +103 -0
- package/src/api.ts +7567 -3170
package/package.json
CHANGED
package/src/api-internal.ts
CHANGED
|
@@ -5494,6 +5494,8 @@ declare namespace io.flow.label.v0.models {
|
|
|
5494
5494
|
readonly updated_at?: string;
|
|
5495
5495
|
readonly direction?: io.flow.label.v0.enums.Direction;
|
|
5496
5496
|
readonly shipping_cost_guarantee?: io.flow.label.v0.enums.ShippingCostGuarantee;
|
|
5497
|
+
readonly delivery_window_days_from?: number;
|
|
5498
|
+
readonly delivery_window_days_to?: number;
|
|
5497
5499
|
}
|
|
5498
5500
|
|
|
5499
5501
|
interface ShippingLabelDocument {
|
|
@@ -10570,6 +10572,13 @@ declare namespace io.flow.channel.internal.v0.models {
|
|
|
10570
10572
|
readonly rejection_reason?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceRejectionReason;
|
|
10571
10573
|
}
|
|
10572
10574
|
|
|
10575
|
+
interface ChannelOrderTaxAndDutyInclusivitySetting {
|
|
10576
|
+
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
10577
|
+
readonly order_number: string;
|
|
10578
|
+
readonly channel: io.flow.common.v0.models.ChannelReference;
|
|
10579
|
+
readonly tax_and_duty_inclusivity_setting: io.flow.experience.v0.enums.TaxAndDutyInclusivitySetting;
|
|
10580
|
+
}
|
|
10581
|
+
|
|
10573
10582
|
interface ChannelOrganizationDomains {
|
|
10574
10583
|
readonly internal: string;
|
|
10575
10584
|
readonly external: string;
|
|
@@ -17438,6 +17447,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
17438
17447
|
| 'channel_order_acceptance_failed'
|
|
17439
17448
|
| 'channel_shop_statistics_upserted'
|
|
17440
17449
|
| 'channel_shop_statistics_deleted'
|
|
17450
|
+
| 'channel_order_tax_and_duty_inclusivity_setting_upserted'
|
|
17451
|
+
| 'channel_order_tax_and_duty_inclusivity_setting_deleted'
|
|
17441
17452
|
| 'commercial_invoice_internal_upserted'
|
|
17442
17453
|
| 'commercial_invoice_internal_deleted'
|
|
17443
17454
|
| 'internal_channel_rate_deleted'
|
|
@@ -17853,6 +17864,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
17853
17864
|
| 'fulfillment_cancel'
|
|
17854
17865
|
| 'fulfillment_generate_label';
|
|
17855
17866
|
type ItemType = 'standard' | 'multi_product';
|
|
17867
|
+
type JohnStrongItemType = 'physical' | 'digital';
|
|
17856
17868
|
type JournalOperation = 'insert' | 'update' | 'delete';
|
|
17857
17869
|
type KeywordType = 'positive' | 'negative';
|
|
17858
17870
|
type LabelBillingStrategy = 'quote' | 'carrier';
|
|
@@ -19437,6 +19449,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19437
19449
|
readonly source_type: io.flow.internal.v0.enums.AccountType;
|
|
19438
19450
|
readonly source_id: string;
|
|
19439
19451
|
readonly status: io.flow.internal.v0.enums.BankPaymentStatusCode;
|
|
19452
|
+
readonly processed: boolean;
|
|
19440
19453
|
readonly amount: number;
|
|
19441
19454
|
readonly currency: string;
|
|
19442
19455
|
readonly created_at: string;
|
|
@@ -19507,6 +19520,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19507
19520
|
readonly errors_url?: string;
|
|
19508
19521
|
}
|
|
19509
19522
|
|
|
19523
|
+
interface BankPaymentStatusProcessedImportForm {
|
|
19524
|
+
readonly payment_ids: string[];
|
|
19525
|
+
}
|
|
19526
|
+
|
|
19510
19527
|
interface BankPaymentStatusSentImportForm {
|
|
19511
19528
|
readonly payment_ids: string[];
|
|
19512
19529
|
}
|
|
@@ -20553,6 +20570,28 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20553
20570
|
readonly channel_order_summary: io.flow.internal.v0.models.ChannelOrderSummary;
|
|
20554
20571
|
}
|
|
20555
20572
|
|
|
20573
|
+
interface ChannelOrderTaxAndDutyInclusivitySetting {
|
|
20574
|
+
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
20575
|
+
readonly order_number: string;
|
|
20576
|
+
readonly channel: io.flow.common.v0.models.ChannelReference;
|
|
20577
|
+
readonly tax_and_duty_inclusivity_setting: io.flow.experience.v0.enums.TaxAndDutyInclusivitySetting;
|
|
20578
|
+
}
|
|
20579
|
+
|
|
20580
|
+
interface ChannelOrderTaxAndDutyInclusivitySettingDeleted {
|
|
20581
|
+
readonly discriminator: 'channel_order_tax_and_duty_inclusivity_setting_deleted';
|
|
20582
|
+
readonly event_id: string;
|
|
20583
|
+
readonly timestamp: string;
|
|
20584
|
+
readonly organization: string;
|
|
20585
|
+
readonly id: string;
|
|
20586
|
+
}
|
|
20587
|
+
|
|
20588
|
+
interface ChannelOrderTaxAndDutyInclusivitySettingUpserted {
|
|
20589
|
+
readonly discriminator: 'channel_order_tax_and_duty_inclusivity_setting_upserted';
|
|
20590
|
+
readonly event_id: string;
|
|
20591
|
+
readonly timestamp: string;
|
|
20592
|
+
readonly channel_order_tax_and_duty_inclusivity_setting: io.flow.internal.v0.models.ChannelOrderTaxAndDutyInclusivitySetting;
|
|
20593
|
+
}
|
|
20594
|
+
|
|
20556
20595
|
interface ChannelOrganizationDomains {
|
|
20557
20596
|
readonly internal: string;
|
|
20558
20597
|
readonly external: string;
|
|
@@ -23538,6 +23577,22 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23538
23577
|
readonly guaranteed_shipping_calibrated_output: io.flow.internal.v0.models.GuaranteedShippingCalibratedOutput;
|
|
23539
23578
|
}
|
|
23540
23579
|
|
|
23580
|
+
interface GuaranteedShippingCalibration {
|
|
23581
|
+
readonly channel_id: string;
|
|
23582
|
+
readonly organization_id: string;
|
|
23583
|
+
readonly destination_country: string;
|
|
23584
|
+
}
|
|
23585
|
+
|
|
23586
|
+
interface GuaranteedShippingCalibrationForm {
|
|
23587
|
+
readonly lanes: io.flow.internal.v0.models.GuaranteedShippingCalibrationLaneForm[];
|
|
23588
|
+
}
|
|
23589
|
+
|
|
23590
|
+
interface GuaranteedShippingCalibrationLaneForm {
|
|
23591
|
+
readonly channel_id: string;
|
|
23592
|
+
readonly organization_id: string;
|
|
23593
|
+
readonly destination_country?: string;
|
|
23594
|
+
}
|
|
23595
|
+
|
|
23541
23596
|
interface GuaranteedShippingPublishedOutput {
|
|
23542
23597
|
readonly id: string;
|
|
23543
23598
|
readonly organization_id: string;
|
|
@@ -23573,6 +23628,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23573
23628
|
readonly fees_coefficient: number;
|
|
23574
23629
|
readonly merchant_subsidy: io.flow.common.v0.models.Money;
|
|
23575
23630
|
readonly created_at: number;
|
|
23631
|
+
readonly guaranteed_pricing_enabled: boolean;
|
|
23632
|
+
readonly guaranteed_shipping_enabled: boolean;
|
|
23576
23633
|
}
|
|
23577
23634
|
|
|
23578
23635
|
interface GuaranteedShippingSettingsDeleted {
|
|
@@ -23590,6 +23647,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23590
23647
|
readonly tax_and_duty_coefficient: number;
|
|
23591
23648
|
readonly fees_coefficient: number;
|
|
23592
23649
|
readonly merchant_subsidy: io.flow.common.v0.models.Money;
|
|
23650
|
+
readonly guaranteed_pricing_enabled: boolean;
|
|
23651
|
+
readonly guaranteed_shipping_enabled: boolean;
|
|
23593
23652
|
}
|
|
23594
23653
|
|
|
23595
23654
|
interface GuaranteedShippingSettingsUpdate {
|
|
@@ -24150,6 +24209,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
24150
24209
|
>;
|
|
24151
24210
|
readonly decision_source?: io.flow.internal.v0.enums.HarmonizationDecisionSource;
|
|
24152
24211
|
readonly classification_scope?: io.flow.internal.v0.enums.ClassificationScope;
|
|
24212
|
+
readonly classification_resource_id?: string;
|
|
24153
24213
|
readonly taxonomy_category_classification_alignment?: io.flow.internal.v0.enums.TaxonomyCategoryClassificationAlignment;
|
|
24154
24214
|
readonly created_at?: string;
|
|
24155
24215
|
readonly updated_at?: string;
|
|
@@ -24293,6 +24353,23 @@ declare namespace io.flow.internal.v0.models {
|
|
|
24293
24353
|
readonly values: string[];
|
|
24294
24354
|
}
|
|
24295
24355
|
|
|
24356
|
+
interface JohnStrongItem {
|
|
24357
|
+
readonly id: string;
|
|
24358
|
+
readonly number: string;
|
|
24359
|
+
readonly amount: io.flow.common.v0.models.Price;
|
|
24360
|
+
readonly description?: string;
|
|
24361
|
+
readonly type: io.flow.internal.v0.enums.JohnStrongItemType;
|
|
24362
|
+
readonly added_on: string;
|
|
24363
|
+
}
|
|
24364
|
+
|
|
24365
|
+
interface JohnStrongItemForm {
|
|
24366
|
+
readonly number: string;
|
|
24367
|
+
readonly amount: io.flow.common.v0.models.Price;
|
|
24368
|
+
readonly description?: string;
|
|
24369
|
+
readonly type: io.flow.internal.v0.enums.JohnStrongItemType;
|
|
24370
|
+
readonly added_on: string;
|
|
24371
|
+
}
|
|
24372
|
+
|
|
24296
24373
|
interface Journal {
|
|
24297
24374
|
readonly name: string;
|
|
24298
24375
|
readonly queued: number;
|
|
@@ -25524,6 +25601,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
25524
25601
|
readonly organization_id: string;
|
|
25525
25602
|
readonly order_number: string;
|
|
25526
25603
|
readonly price: io.flow.common.v0.models.PriceWithBase;
|
|
25604
|
+
readonly refunded_at?: string;
|
|
25527
25605
|
}
|
|
25528
25606
|
|
|
25529
25607
|
interface OrderRefundTransactionDeleted {
|
|
@@ -26235,6 +26313,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
26235
26313
|
}
|
|
26236
26314
|
|
|
26237
26315
|
interface OutboundShippingCost {
|
|
26316
|
+
readonly id: string;
|
|
26238
26317
|
readonly channel_id: string;
|
|
26239
26318
|
readonly organization_id: string;
|
|
26240
26319
|
readonly destination_country: string;
|
|
@@ -28287,6 +28366,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
28287
28366
|
readonly hs_code?: string;
|
|
28288
28367
|
readonly hs_code_source?: io.flow.internal.v0.enums.HarmonizationDecisionSource;
|
|
28289
28368
|
readonly classification_scope?: io.flow.internal.v0.enums.ClassificationScope;
|
|
28369
|
+
readonly classification_resource_id?: string;
|
|
28290
28370
|
readonly description: string;
|
|
28291
28371
|
readonly category?: string;
|
|
28292
28372
|
readonly categories: string[];
|
|
@@ -28415,6 +28495,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
28415
28495
|
readonly hs_code?: string;
|
|
28416
28496
|
readonly hs_code_source?: io.flow.internal.v0.enums.HarmonizationDecisionSource;
|
|
28417
28497
|
readonly classification_scope?: io.flow.internal.v0.enums.ClassificationScope;
|
|
28498
|
+
readonly classification_resource_id?: string;
|
|
28499
|
+
readonly item_classification_resource_ids?: Record<string, string>;
|
|
28418
28500
|
readonly url?: string;
|
|
28419
28501
|
readonly reviews: io.flow.internal.v0.models.RestrictionItemReview[];
|
|
28420
28502
|
readonly created_at: string;
|
|
@@ -31503,6 +31585,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
31503
31585
|
readonly direction?: io.flow.label.v0.enums.Direction;
|
|
31504
31586
|
readonly package_dimensions_source: io.flow.label.v0.enums.PackageDimensionsSource;
|
|
31505
31587
|
readonly shipping_date_time?: string;
|
|
31588
|
+
readonly delivery_window_days_from?: number;
|
|
31589
|
+
readonly delivery_window_days_to?: number;
|
|
31506
31590
|
}
|
|
31507
31591
|
|
|
31508
31592
|
interface ViesResult {
|
|
@@ -31730,6 +31814,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
31730
31814
|
| io.flow.internal.v0.models.ChannelOrderAcceptanceFailed
|
|
31731
31815
|
| io.flow.internal.v0.models.ChannelShopStatisticsUpserted
|
|
31732
31816
|
| io.flow.internal.v0.models.ChannelShopStatisticsDeleted
|
|
31817
|
+
| io.flow.internal.v0.models.ChannelOrderTaxAndDutyInclusivitySettingUpserted
|
|
31818
|
+
| io.flow.internal.v0.models.ChannelOrderTaxAndDutyInclusivitySettingDeleted
|
|
31733
31819
|
| io.flow.internal.v0.models.CommercialInvoiceInternalUpserted
|
|
31734
31820
|
| io.flow.internal.v0.models.CommercialInvoiceInternalDeleted
|
|
31735
31821
|
| io.flow.internal.v0.models.InternalChannelRateDeleted
|
|
@@ -32552,6 +32638,8 @@ export type BankPaymentStatusImportForm =
|
|
|
32552
32638
|
io.flow.internal.v0.models.BankPaymentStatusImportForm;
|
|
32553
32639
|
export type BankPaymentStatusImportResult =
|
|
32554
32640
|
io.flow.internal.v0.models.BankPaymentStatusImportResult;
|
|
32641
|
+
export type BankPaymentStatusProcessedImportForm =
|
|
32642
|
+
io.flow.internal.v0.models.BankPaymentStatusProcessedImportForm;
|
|
32555
32643
|
export type BankPaymentStatusSentImportForm =
|
|
32556
32644
|
io.flow.internal.v0.models.BankPaymentStatusSentImportForm;
|
|
32557
32645
|
export type BankPaymentStatusSingleForm =
|
|
@@ -32829,6 +32917,12 @@ export type ChannelOrderSummaryFulfillmentDetails =
|
|
|
32829
32917
|
io.flow.internal.v0.models.ChannelOrderSummaryFulfillmentDetails;
|
|
32830
32918
|
export type ChannelOrderSummaryUpserted =
|
|
32831
32919
|
io.flow.internal.v0.models.ChannelOrderSummaryUpserted;
|
|
32920
|
+
export type ChannelOrderTaxAndDutyInclusivitySetting =
|
|
32921
|
+
io.flow.internal.v0.models.ChannelOrderTaxAndDutyInclusivitySetting;
|
|
32922
|
+
export type ChannelOrderTaxAndDutyInclusivitySettingDeleted =
|
|
32923
|
+
io.flow.internal.v0.models.ChannelOrderTaxAndDutyInclusivitySettingDeleted;
|
|
32924
|
+
export type ChannelOrderTaxAndDutyInclusivitySettingUpserted =
|
|
32925
|
+
io.flow.internal.v0.models.ChannelOrderTaxAndDutyInclusivitySettingUpserted;
|
|
32832
32926
|
export type ChannelOrganizationDomains =
|
|
32833
32927
|
io.flow.internal.v0.models.ChannelOrganizationDomains;
|
|
32834
32928
|
export type ChannelOrganizationIdentifier =
|
|
@@ -33601,6 +33695,12 @@ export type GuaranteedShippingCalibratedOutputDeleted =
|
|
|
33601
33695
|
io.flow.internal.v0.models.GuaranteedShippingCalibratedOutputDeleted;
|
|
33602
33696
|
export type GuaranteedShippingCalibratedOutputUpserted =
|
|
33603
33697
|
io.flow.internal.v0.models.GuaranteedShippingCalibratedOutputUpserted;
|
|
33698
|
+
export type GuaranteedShippingCalibration =
|
|
33699
|
+
io.flow.internal.v0.models.GuaranteedShippingCalibration;
|
|
33700
|
+
export type GuaranteedShippingCalibrationForm =
|
|
33701
|
+
io.flow.internal.v0.models.GuaranteedShippingCalibrationForm;
|
|
33702
|
+
export type GuaranteedShippingCalibrationLaneForm =
|
|
33703
|
+
io.flow.internal.v0.models.GuaranteedShippingCalibrationLaneForm;
|
|
33604
33704
|
export type GuaranteedShippingPublishedOutput =
|
|
33605
33705
|
io.flow.internal.v0.models.GuaranteedShippingPublishedOutput;
|
|
33606
33706
|
export type GuaranteedShippingPublishedOutputDeleted =
|
|
@@ -33778,6 +33878,9 @@ export type ItemSalesMarginVersion =
|
|
|
33778
33878
|
export type ItemSummary = io.flow.internal.v0.models.ItemSummary;
|
|
33779
33879
|
export type ItemType = io.flow.internal.v0.enums.ItemType;
|
|
33780
33880
|
export type ItemValuesForm = io.flow.internal.v0.models.ItemValuesForm;
|
|
33881
|
+
export type JohnStrongItem = io.flow.internal.v0.models.JohnStrongItem;
|
|
33882
|
+
export type JohnStrongItemForm = io.flow.internal.v0.models.JohnStrongItemForm;
|
|
33883
|
+
export type JohnStrongItemType = io.flow.internal.v0.enums.JohnStrongItemType;
|
|
33781
33884
|
export type Journal = io.flow.internal.v0.models.Journal;
|
|
33782
33885
|
export type JournalFailure = io.flow.internal.v0.models.JournalFailure;
|
|
33783
33886
|
export type JournalOperation = io.flow.internal.v0.enums.JournalOperation;
|