@flowio/types 11.24.106 → 11.24.107
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 +217 -669
- package/dist/api.d.ts +29 -39
- package/package.json +2 -2
- package/src/api-internal.ts +301 -875
- package/src/api.ts +37 -50
package/src/api.ts
CHANGED
|
@@ -339,6 +339,15 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
339
339
|
| 'under_review'
|
|
340
340
|
| 'won'
|
|
341
341
|
| 'lost';
|
|
342
|
+
type EarlyFraudWarningEventType = 'radar.early_fraud_warning';
|
|
343
|
+
type EarlyFraudWarningType =
|
|
344
|
+
| 'card_never_received'
|
|
345
|
+
| 'fraudulent_card_application'
|
|
346
|
+
| 'made_with_counterfeit_card'
|
|
347
|
+
| 'made_with_lost_card'
|
|
348
|
+
| 'made_with_stolen_card'
|
|
349
|
+
| 'unauthorized_use_of_card'
|
|
350
|
+
| 'misc';
|
|
342
351
|
type ErrorCode =
|
|
343
352
|
| 'invalid_number'
|
|
344
353
|
| 'invalid_expiry_month'
|
|
@@ -1626,6 +1635,17 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
1626
1635
|
readonly previous_attributes?: any /*object*/;
|
|
1627
1636
|
}
|
|
1628
1637
|
|
|
1638
|
+
interface StripeEarlyFraudWarningEvent {
|
|
1639
|
+
readonly id: string;
|
|
1640
|
+
readonly object: io.flow.stripe.v0.enums.EarlyFraudWarningEventType;
|
|
1641
|
+
readonly actionable: boolean;
|
|
1642
|
+
readonly charge: string;
|
|
1643
|
+
readonly created: number;
|
|
1644
|
+
readonly fraud_type: io.flow.stripe.v0.enums.EarlyFraudWarningType;
|
|
1645
|
+
readonly livemode: boolean;
|
|
1646
|
+
readonly payment_intent?: string;
|
|
1647
|
+
}
|
|
1648
|
+
|
|
1629
1649
|
interface StripeError {
|
|
1630
1650
|
readonly type: io.flow.stripe.v0.enums.ErrorType;
|
|
1631
1651
|
readonly charge?: string;
|
|
@@ -3782,10 +3802,6 @@ declare namespace io.flow.ben.test.internal.v0.models {
|
|
|
3782
3802
|
readonly num_events: number;
|
|
3783
3803
|
}
|
|
3784
3804
|
|
|
3785
|
-
interface SvitlanaTest {
|
|
3786
|
-
readonly name: string;
|
|
3787
|
-
}
|
|
3788
|
-
|
|
3789
3805
|
interface Test {
|
|
3790
3806
|
readonly id: string;
|
|
3791
3807
|
readonly name: string;
|
|
@@ -5773,10 +5789,6 @@ declare namespace io.flow.v0.enums {
|
|
|
5773
5789
|
| 'fully_harmonized_item_upserted'
|
|
5774
5790
|
| 'import_completed_v2'
|
|
5775
5791
|
| 'import_failed_v2'
|
|
5776
|
-
| 'rule_upserted'
|
|
5777
|
-
| 'rule_deleted'
|
|
5778
|
-
| 'snapshot_upserted'
|
|
5779
|
-
| 'snapshot_deleted'
|
|
5780
5792
|
| 'label_upserted'
|
|
5781
5793
|
| 'label_deleted_v2'
|
|
5782
5794
|
| 'label_upserted_v2'
|
|
@@ -5927,6 +5939,7 @@ declare namespace io.flow.v0.enums {
|
|
|
5927
5939
|
| 'DES'
|
|
5928
5940
|
| 'DEQ'
|
|
5929
5941
|
| 'DDU';
|
|
5942
|
+
type IncotermConfiguration = 'DDP' | 'DAP' | 'DDU' | 'UNSUPPORTED';
|
|
5930
5943
|
type InlineWindowViewportSize =
|
|
5931
5944
|
| 'xxx_small'
|
|
5932
5945
|
| 'xx_small'
|
|
@@ -10497,6 +10510,17 @@ declare namespace io.flow.v0.models {
|
|
|
10497
10510
|
readonly label: string;
|
|
10498
10511
|
}
|
|
10499
10512
|
|
|
10513
|
+
interface IncotermIncludes {
|
|
10514
|
+
readonly duties: boolean;
|
|
10515
|
+
readonly taxes: boolean;
|
|
10516
|
+
}
|
|
10517
|
+
|
|
10518
|
+
interface IncotermSummary {
|
|
10519
|
+
readonly configuration: io.flow.v0.enums.IncotermConfiguration;
|
|
10520
|
+
readonly includes: io.flow.v0.models.IncotermIncludes;
|
|
10521
|
+
readonly reason?: string;
|
|
10522
|
+
}
|
|
10523
|
+
|
|
10500
10524
|
interface IndirectTax {
|
|
10501
10525
|
readonly number?: string;
|
|
10502
10526
|
readonly id?: string;
|
|
@@ -11732,6 +11756,7 @@ declare namespace io.flow.v0.models {
|
|
|
11732
11756
|
readonly geo?: io.flow.v0.models.OrderGeo;
|
|
11733
11757
|
readonly device_details?: io.flow.v0.unions.DeviceDetails;
|
|
11734
11758
|
readonly destination_contact_details?: io.flow.v0.models.DestinationContactDetail[];
|
|
11759
|
+
readonly incoterm_summary?: io.flow.v0.models.IncotermSummary;
|
|
11735
11760
|
}
|
|
11736
11761
|
|
|
11737
11762
|
interface OrderAddress {
|
|
@@ -14765,21 +14790,6 @@ declare namespace io.flow.v0.models {
|
|
|
14765
14790
|
readonly roles: io.flow.v0.enums.FlowRole[];
|
|
14766
14791
|
}
|
|
14767
14792
|
|
|
14768
|
-
interface RuleDeleted {
|
|
14769
|
-
readonly discriminator: 'rule_deleted';
|
|
14770
|
-
readonly event_id: string;
|
|
14771
|
-
readonly timestamp: string;
|
|
14772
|
-
readonly id: string;
|
|
14773
|
-
}
|
|
14774
|
-
|
|
14775
|
-
interface RuleUpserted {
|
|
14776
|
-
readonly discriminator: 'rule_upserted';
|
|
14777
|
-
readonly event_id: string;
|
|
14778
|
-
readonly timestamp: string;
|
|
14779
|
-
readonly organization_id: string;
|
|
14780
|
-
readonly rule: io.flow.inventory.v0.models.InventoryRule;
|
|
14781
|
-
}
|
|
14782
|
-
|
|
14783
14793
|
interface Schedule {
|
|
14784
14794
|
readonly calendar?: io.flow.v0.enums.Calendar;
|
|
14785
14795
|
readonly holiday: io.flow.v0.enums.HolidayCalendar;
|
|
@@ -15614,25 +15624,6 @@ declare namespace io.flow.v0.models {
|
|
|
15614
15624
|
readonly shipment_recipient?: io.flow.v0.enums.ShipmentRecipient;
|
|
15615
15625
|
}
|
|
15616
15626
|
|
|
15617
|
-
interface SnapshotDeleted {
|
|
15618
|
-
readonly discriminator: 'snapshot_deleted';
|
|
15619
|
-
readonly event_id: string;
|
|
15620
|
-
readonly timestamp: string;
|
|
15621
|
-
readonly snapshot_id: string;
|
|
15622
|
-
}
|
|
15623
|
-
|
|
15624
|
-
interface SnapshotUpserted {
|
|
15625
|
-
readonly discriminator: 'snapshot_upserted';
|
|
15626
|
-
readonly event_id: string;
|
|
15627
|
-
readonly timestamp: string;
|
|
15628
|
-
readonly organization: string;
|
|
15629
|
-
readonly snapshot_id: string;
|
|
15630
|
-
readonly available: number;
|
|
15631
|
-
readonly center_key: string;
|
|
15632
|
-
readonly item_number: string;
|
|
15633
|
-
readonly quantity: number;
|
|
15634
|
-
}
|
|
15635
|
-
|
|
15636
15627
|
interface SolidusProductExportType {
|
|
15637
15628
|
readonly discriminator: 'solidus_product_export_type';
|
|
15638
15629
|
readonly numbers?: string[];
|
|
@@ -16227,6 +16218,7 @@ declare namespace io.flow.v0.models {
|
|
|
16227
16218
|
readonly status: io.flow.v0.enums.TrackingStatus;
|
|
16228
16219
|
readonly timestamp: string;
|
|
16229
16220
|
readonly description?: string;
|
|
16221
|
+
readonly aggregator_status_code?: string;
|
|
16230
16222
|
}
|
|
16231
16223
|
|
|
16232
16224
|
interface TrackingEventForm {
|
|
@@ -17017,10 +17009,6 @@ declare namespace io.flow.v0.unions {
|
|
|
17017
17009
|
| io.flow.v0.models.FullyHarmonizedItemUpserted
|
|
17018
17010
|
| io.flow.v0.models.ImportCompletedV2
|
|
17019
17011
|
| io.flow.v0.models.ImportFailedV2
|
|
17020
|
-
| io.flow.v0.models.RuleUpserted
|
|
17021
|
-
| io.flow.v0.models.RuleDeleted
|
|
17022
|
-
| io.flow.v0.models.SnapshotUpserted
|
|
17023
|
-
| io.flow.v0.models.SnapshotDeleted
|
|
17024
17012
|
| io.flow.v0.models.LabelUpserted
|
|
17025
17013
|
| io.flow.v0.models.LabelDeletedV2
|
|
17026
17014
|
| io.flow.v0.models.LabelUpsertedV2
|
|
@@ -18298,6 +18286,9 @@ export type InboundCartonFee = io.flow.v0.models.InboundCartonFee;
|
|
|
18298
18286
|
export type IncludedLevies = io.flow.v0.models.IncludedLevies;
|
|
18299
18287
|
export type IncludedLevyKey = io.flow.v0.enums.IncludedLevyKey;
|
|
18300
18288
|
export type Incoterm = io.flow.v0.enums.Incoterm;
|
|
18289
|
+
export type IncotermConfiguration = io.flow.v0.enums.IncotermConfiguration;
|
|
18290
|
+
export type IncotermIncludes = io.flow.v0.models.IncotermIncludes;
|
|
18291
|
+
export type IncotermSummary = io.flow.v0.models.IncotermSummary;
|
|
18301
18292
|
export type IndirectTax = io.flow.v0.models.IndirectTax;
|
|
18302
18293
|
export type Individual = io.flow.v0.models.Individual;
|
|
18303
18294
|
export type InlineActionConfiguration =
|
|
@@ -19216,8 +19207,6 @@ export type Rounding = io.flow.v0.models.Rounding;
|
|
|
19216
19207
|
export type RoundingMethod = io.flow.v0.enums.RoundingMethod;
|
|
19217
19208
|
export type RoundingType = io.flow.v0.enums.RoundingType;
|
|
19218
19209
|
export type RouteAudit = io.flow.v0.models.RouteAudit;
|
|
19219
|
-
export type RuleDeleted = io.flow.v0.models.RuleDeleted;
|
|
19220
|
-
export type RuleUpserted = io.flow.v0.models.RuleUpserted;
|
|
19221
19210
|
export type Schedule = io.flow.v0.models.Schedule;
|
|
19222
19211
|
export type ScheduleExceptionStatus = io.flow.v0.enums.ScheduleExceptionStatus;
|
|
19223
19212
|
export type ScheduledExport = io.flow.v0.models.ScheduledExport;
|
|
@@ -19401,8 +19390,6 @@ export type ShopifyVariantInventoryMetafield =
|
|
|
19401
19390
|
export type SimplePermissionCheck = io.flow.v0.models.SimplePermissionCheck;
|
|
19402
19391
|
export type SinglePackageShippingNotificationForm =
|
|
19403
19392
|
io.flow.v0.models.SinglePackageShippingNotificationForm;
|
|
19404
|
-
export type SnapshotDeleted = io.flow.v0.models.SnapshotDeleted;
|
|
19405
|
-
export type SnapshotUpserted = io.flow.v0.models.SnapshotUpserted;
|
|
19406
19393
|
export type SolidusProductExportType =
|
|
19407
19394
|
io.flow.v0.models.SolidusProductExportType;
|
|
19408
19395
|
export type SolidusVariantExportType =
|