@flowio/types 8.0.7 → 9.0.1
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 +520 -384
- package/dist/api.d.ts +3 -57
- package/package.json +2 -2
- package/src/api-internal.ts +2512 -2340
- package/src/api.ts +1 -66
package/src/api.ts
CHANGED
|
@@ -240,8 +240,6 @@ declare namespace io.flow.v0.enums {
|
|
|
240
240
|
| 'fully_harmonized_item_upserted'
|
|
241
241
|
| 'rule_upserted'
|
|
242
242
|
| 'rule_deleted'
|
|
243
|
-
| 'serial_upserted'
|
|
244
|
-
| 'serial_deleted'
|
|
245
243
|
| 'snapshot_upserted'
|
|
246
244
|
| 'snapshot_deleted'
|
|
247
245
|
| 'label_upserted'
|
|
@@ -552,7 +550,6 @@ declare namespace io.flow.v0.enums {
|
|
|
552
550
|
type RoundingMethod = 'up' | 'down' | 'nearest';
|
|
553
551
|
type RoundingType = 'pattern' | 'multiple';
|
|
554
552
|
type ScheduleExceptionStatus = 'Open' | 'Closed';
|
|
555
|
-
type SerialStatus = 'available' | 'reserved' | 'sold';
|
|
556
553
|
type ShipmentIntegrationType = 'direct' | 'information' | 'preadvice';
|
|
557
554
|
type ShipmentRecipient = 'customer' | 'return' | 'crossdock';
|
|
558
555
|
type ShippingConfigurationType = 'default' | 'variant';
|
|
@@ -1911,7 +1908,7 @@ declare namespace io.flow.v0.models {
|
|
|
1911
1908
|
}
|
|
1912
1909
|
|
|
1913
1910
|
interface ContextForm {
|
|
1914
|
-
readonly experiments: io.flow.v0.models.
|
|
1911
|
+
readonly experiments: io.flow.v0.models.Experiment[];
|
|
1915
1912
|
}
|
|
1916
1913
|
|
|
1917
1914
|
interface ContextReference {
|
|
@@ -2891,18 +2888,8 @@ declare namespace io.flow.v0.models {
|
|
|
2891
2888
|
readonly variant?: io.flow.v0.models.ExperimentVariant;
|
|
2892
2889
|
}
|
|
2893
2890
|
|
|
2894
|
-
interface ExperimentForm {
|
|
2895
|
-
readonly key: string;
|
|
2896
|
-
readonly variant?: io.flow.v0.models.ExperimentVariantForm;
|
|
2897
|
-
}
|
|
2898
|
-
|
|
2899
2891
|
interface ExperimentVariant {
|
|
2900
2892
|
readonly key: string;
|
|
2901
|
-
readonly name: string;
|
|
2902
|
-
}
|
|
2903
|
-
|
|
2904
|
-
interface ExperimentVariantForm {
|
|
2905
|
-
readonly key: string;
|
|
2906
2893
|
}
|
|
2907
2894
|
|
|
2908
2895
|
interface Expiration {
|
|
@@ -6506,48 +6493,6 @@ declare namespace io.flow.v0.models {
|
|
|
6506
6493
|
readonly minute_of_hour: string;
|
|
6507
6494
|
}
|
|
6508
6495
|
|
|
6509
|
-
interface Serial {
|
|
6510
|
-
readonly id: string;
|
|
6511
|
-
readonly number: string;
|
|
6512
|
-
readonly item_number: string;
|
|
6513
|
-
readonly item_price: io.flow.v0.models.Price;
|
|
6514
|
-
readonly status: io.flow.v0.enums.SerialStatus;
|
|
6515
|
-
readonly center: io.flow.v0.models.CenterReference;
|
|
6516
|
-
readonly attributes: Record<string, string>;
|
|
6517
|
-
}
|
|
6518
|
-
|
|
6519
|
-
interface SerialDeleted {
|
|
6520
|
-
readonly discriminator: 'serial_deleted';
|
|
6521
|
-
readonly event_id: string;
|
|
6522
|
-
readonly timestamp: string;
|
|
6523
|
-
readonly id: string;
|
|
6524
|
-
}
|
|
6525
|
-
|
|
6526
|
-
interface SerialForm {
|
|
6527
|
-
readonly number: string;
|
|
6528
|
-
readonly item_number: string;
|
|
6529
|
-
readonly item_price: number;
|
|
6530
|
-
readonly item_currency: string;
|
|
6531
|
-
readonly status: io.flow.v0.enums.SerialStatus;
|
|
6532
|
-
readonly center_key?: string;
|
|
6533
|
-
readonly attributes?: Record<string, string>;
|
|
6534
|
-
}
|
|
6535
|
-
|
|
6536
|
-
interface SerialUpserted {
|
|
6537
|
-
readonly discriminator: 'serial_upserted';
|
|
6538
|
-
readonly event_id: string;
|
|
6539
|
-
readonly timestamp: string;
|
|
6540
|
-
readonly organization: string;
|
|
6541
|
-
readonly serial: io.flow.v0.models.Serial;
|
|
6542
|
-
}
|
|
6543
|
-
|
|
6544
|
-
interface SerialVersion {
|
|
6545
|
-
readonly id: string;
|
|
6546
|
-
readonly timestamp: string;
|
|
6547
|
-
readonly type: io.flow.v0.enums.ChangeType;
|
|
6548
|
-
readonly serial: io.flow.v0.models.Serial;
|
|
6549
|
-
}
|
|
6550
|
-
|
|
6551
6496
|
interface ServiceReference {
|
|
6552
6497
|
readonly id: string;
|
|
6553
6498
|
}
|
|
@@ -7992,8 +7937,6 @@ declare namespace io.flow.v0.unions {
|
|
|
7992
7937
|
| io.flow.v0.models.FullyHarmonizedItemUpserted
|
|
7993
7938
|
| io.flow.v0.models.RuleUpserted
|
|
7994
7939
|
| io.flow.v0.models.RuleDeleted
|
|
7995
|
-
| io.flow.v0.models.SerialUpserted
|
|
7996
|
-
| io.flow.v0.models.SerialDeleted
|
|
7997
7940
|
| io.flow.v0.models.SnapshotUpserted
|
|
7998
7941
|
| io.flow.v0.models.SnapshotDeleted
|
|
7999
7942
|
| io.flow.v0.models.LabelUpserted
|
|
@@ -8619,9 +8562,7 @@ export type ExperienceUpserted = io.flow.v0.models.ExperienceUpserted;
|
|
|
8619
8562
|
export type ExperienceUpsertedV2 = io.flow.v0.models.ExperienceUpsertedV2;
|
|
8620
8563
|
export type ExperienceVersion = io.flow.v0.models.ExperienceVersion;
|
|
8621
8564
|
export type Experiment = io.flow.v0.models.Experiment;
|
|
8622
|
-
export type ExperimentForm = io.flow.v0.models.ExperimentForm;
|
|
8623
8565
|
export type ExperimentVariant = io.flow.v0.models.ExperimentVariant;
|
|
8624
|
-
export type ExperimentVariantForm = io.flow.v0.models.ExperimentVariantForm;
|
|
8625
8566
|
export type Expiration = io.flow.v0.models.Expiration;
|
|
8626
8567
|
export type Export = io.flow.v0.models.Export;
|
|
8627
8568
|
export type ExportDelivery = io.flow.v0.unions.ExportDelivery;
|
|
@@ -9211,12 +9152,6 @@ export type ScheduleExceptionStatus = io.flow.v0.enums.ScheduleExceptionStatus;
|
|
|
9211
9152
|
export type ScheduledExport = io.flow.v0.models.ScheduledExport;
|
|
9212
9153
|
export type ScheduledExportForm = io.flow.v0.models.ScheduledExportForm;
|
|
9213
9154
|
export type ScheduledPickup = io.flow.v0.models.ScheduledPickup;
|
|
9214
|
-
export type Serial = io.flow.v0.models.Serial;
|
|
9215
|
-
export type SerialDeleted = io.flow.v0.models.SerialDeleted;
|
|
9216
|
-
export type SerialForm = io.flow.v0.models.SerialForm;
|
|
9217
|
-
export type SerialStatus = io.flow.v0.enums.SerialStatus;
|
|
9218
|
-
export type SerialUpserted = io.flow.v0.models.SerialUpserted;
|
|
9219
|
-
export type SerialVersion = io.flow.v0.models.SerialVersion;
|
|
9220
9155
|
export type ServiceFee = io.flow.v0.unions.ServiceFee;
|
|
9221
9156
|
export type ServiceReference = io.flow.v0.models.ServiceReference;
|
|
9222
9157
|
export type ServiceSummary = io.flow.v0.models.ServiceSummary;
|