@flowio/types 2.0.0 → 3.0.0
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 +313 -198
- package/dist/api.d.ts +12 -0
- package/package.json +2 -2
- package/src/api-internal.ts +378 -222
- package/src/api.ts +14 -0
package/src/api.ts
CHANGED
|
@@ -1351,6 +1351,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1351
1351
|
type FulfillmentMethodType = 'fulfillment_method';
|
|
1352
1352
|
type FulfillmentMethodValue = 'digital' | 'physical';
|
|
1353
1353
|
type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
|
|
1354
|
+
type GoodsSupply = 'export' | 'intra_community' | 'local';
|
|
1354
1355
|
type HolidayCalendar = 'us_bank_holidays' | 'jewish_holidays';
|
|
1355
1356
|
type ImageTag = 'thumbnail' | 'checkout';
|
|
1356
1357
|
type ImportType =
|
|
@@ -2609,6 +2610,7 @@ declare namespace io.flow.v0.models {
|
|
|
2609
2610
|
interface CenterSummary {
|
|
2610
2611
|
readonly id: string;
|
|
2611
2612
|
readonly key: string;
|
|
2613
|
+
readonly address?: io.flow.v0.models.ShippingAddress;
|
|
2612
2614
|
}
|
|
2613
2615
|
|
|
2614
2616
|
interface CenterUpserted {
|
|
@@ -2715,11 +2717,13 @@ declare namespace io.flow.v0.models {
|
|
|
2715
2717
|
interface CheckoutUrls {
|
|
2716
2718
|
readonly continue_shopping?: string;
|
|
2717
2719
|
readonly confirmation?: string;
|
|
2720
|
+
readonly invalid_checkout?: string;
|
|
2718
2721
|
}
|
|
2719
2722
|
|
|
2720
2723
|
interface CheckoutUrlsForm {
|
|
2721
2724
|
readonly continue_shopping?: string;
|
|
2722
2725
|
readonly confirmation?: string;
|
|
2726
|
+
readonly invalid_checkout?: string;
|
|
2723
2727
|
}
|
|
2724
2728
|
|
|
2725
2729
|
interface Cleartext {
|
|
@@ -6167,6 +6171,7 @@ declare namespace io.flow.v0.models {
|
|
|
6167
6171
|
readonly special_services?: io.flow.v0.enums.PhysicalDeliverySpecialSerivce[];
|
|
6168
6172
|
readonly prices?: io.flow.v0.models.OrderPriceDetail[];
|
|
6169
6173
|
readonly total?: io.flow.v0.models.LocalizedTotal;
|
|
6174
|
+
readonly goods_supply?: io.flow.v0.enums.GoodsSupply;
|
|
6170
6175
|
}
|
|
6171
6176
|
|
|
6172
6177
|
interface PostPaymentRedirectUrls {
|
|
@@ -6959,6 +6964,10 @@ declare namespace io.flow.v0.models {
|
|
|
6959
6964
|
readonly interval: number;
|
|
6960
6965
|
}
|
|
6961
6966
|
|
|
6967
|
+
interface RepeatHourly {
|
|
6968
|
+
readonly interval: number;
|
|
6969
|
+
}
|
|
6970
|
+
|
|
6962
6971
|
interface RepeatMonthly {
|
|
6963
6972
|
readonly interval: number;
|
|
6964
6973
|
readonly days: number[];
|
|
@@ -9580,6 +9589,9 @@ declare namespace io.flow.v0.unions {
|
|
|
9580
9589
|
} & io.flow.v0.models.RemoteAreaRatecardFee;
|
|
9581
9590
|
|
|
9582
9591
|
type RepeatSchedule =
|
|
9592
|
+
| {
|
|
9593
|
+
discriminator: 'repeat_hourly';
|
|
9594
|
+
} & io.flow.v0.models.RepeatHourly
|
|
9583
9595
|
| {
|
|
9584
9596
|
discriminator: 'repeat_daily';
|
|
9585
9597
|
} & io.flow.v0.models.RepeatDaily
|
|
@@ -10123,6 +10135,7 @@ export type GenericError = io.flow.v0.models.GenericError;
|
|
|
10123
10135
|
export type GenericErrorCode = io.flow.v0.enums.GenericErrorCode;
|
|
10124
10136
|
export type GenericReservationError = io.flow.v0.models.GenericReservationError;
|
|
10125
10137
|
export type GeoForm = io.flow.v0.models.GeoForm;
|
|
10138
|
+
export type GoodsSupply = io.flow.v0.enums.GoodsSupply;
|
|
10126
10139
|
export type GooglePayAuthorizationPayload = io.flow.v0.models.GooglePayAuthorizationPayload;
|
|
10127
10140
|
export type HarmonizationDocument = io.flow.v0.models.HarmonizationDocument;
|
|
10128
10141
|
export type HarmonizationHs10ExportType = io.flow.v0.models.HarmonizationHs10ExportType;
|
|
@@ -10597,6 +10610,7 @@ export type RegionSettingForm = io.flow.v0.models.RegionSettingForm;
|
|
|
10597
10610
|
export type RemoteAreaRatecardFee = io.flow.v0.models.RemoteAreaRatecardFee;
|
|
10598
10611
|
export type RemoteAreaServiceFee = io.flow.v0.models.RemoteAreaServiceFee;
|
|
10599
10612
|
export type RepeatDaily = io.flow.v0.models.RepeatDaily;
|
|
10613
|
+
export type RepeatHourly = io.flow.v0.models.RepeatHourly;
|
|
10600
10614
|
export type RepeatMonthly = io.flow.v0.models.RepeatMonthly;
|
|
10601
10615
|
export type RepeatSchedule = io.flow.v0.unions.RepeatSchedule;
|
|
10602
10616
|
export type RepeatWeekly = io.flow.v0.models.RepeatWeekly;
|