@flowio/types 1.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/LICENSE +21 -0
- package/dist/api-internal.d.ts +313 -198
- package/dist/api.d.ts +30 -1
- package/package.json +3 -2
- package/src/api-internal.ts +378 -222
- package/src/api.ts +35 -1
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 =
|
|
@@ -1692,7 +1693,24 @@ declare namespace io.flow.v0.models {
|
|
|
1692
1693
|
interface AddressConfiguration {
|
|
1693
1694
|
readonly country: string;
|
|
1694
1695
|
readonly field_validation: io.flow.v0.models.AddressFieldValidation;
|
|
1695
|
-
readonly provinces: io.flow.v0.models.
|
|
1696
|
+
readonly provinces: io.flow.v0.models.AddressConfigurationProvince[];
|
|
1697
|
+
}
|
|
1698
|
+
|
|
1699
|
+
interface AddressConfigurationProvince {
|
|
1700
|
+
readonly value: string;
|
|
1701
|
+
readonly name: string;
|
|
1702
|
+
readonly translations?: io.flow.v0.models.AddressConfigurationProvinceTranslation[];
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
interface AddressConfigurationProvinceTranslation {
|
|
1706
|
+
readonly locale: io.flow.v0.models.AddressConfigurationProvinceTranslationLocale;
|
|
1707
|
+
readonly name: string;
|
|
1708
|
+
}
|
|
1709
|
+
|
|
1710
|
+
interface AddressConfigurationProvinceTranslationLocale {
|
|
1711
|
+
readonly id: string;
|
|
1712
|
+
readonly name: string;
|
|
1713
|
+
readonly language: string;
|
|
1696
1714
|
}
|
|
1697
1715
|
|
|
1698
1716
|
interface AddressFieldValidation {
|
|
@@ -2592,6 +2610,7 @@ declare namespace io.flow.v0.models {
|
|
|
2592
2610
|
interface CenterSummary {
|
|
2593
2611
|
readonly id: string;
|
|
2594
2612
|
readonly key: string;
|
|
2613
|
+
readonly address?: io.flow.v0.models.ShippingAddress;
|
|
2595
2614
|
}
|
|
2596
2615
|
|
|
2597
2616
|
interface CenterUpserted {
|
|
@@ -2698,11 +2717,13 @@ declare namespace io.flow.v0.models {
|
|
|
2698
2717
|
interface CheckoutUrls {
|
|
2699
2718
|
readonly continue_shopping?: string;
|
|
2700
2719
|
readonly confirmation?: string;
|
|
2720
|
+
readonly invalid_checkout?: string;
|
|
2701
2721
|
}
|
|
2702
2722
|
|
|
2703
2723
|
interface CheckoutUrlsForm {
|
|
2704
2724
|
readonly continue_shopping?: string;
|
|
2705
2725
|
readonly confirmation?: string;
|
|
2726
|
+
readonly invalid_checkout?: string;
|
|
2706
2727
|
}
|
|
2707
2728
|
|
|
2708
2729
|
interface Cleartext {
|
|
@@ -6150,6 +6171,7 @@ declare namespace io.flow.v0.models {
|
|
|
6150
6171
|
readonly special_services?: io.flow.v0.enums.PhysicalDeliverySpecialSerivce[];
|
|
6151
6172
|
readonly prices?: io.flow.v0.models.OrderPriceDetail[];
|
|
6152
6173
|
readonly total?: io.flow.v0.models.LocalizedTotal;
|
|
6174
|
+
readonly goods_supply?: io.flow.v0.enums.GoodsSupply;
|
|
6153
6175
|
}
|
|
6154
6176
|
|
|
6155
6177
|
interface PostPaymentRedirectUrls {
|
|
@@ -6942,6 +6964,10 @@ declare namespace io.flow.v0.models {
|
|
|
6942
6964
|
readonly interval: number;
|
|
6943
6965
|
}
|
|
6944
6966
|
|
|
6967
|
+
interface RepeatHourly {
|
|
6968
|
+
readonly interval: number;
|
|
6969
|
+
}
|
|
6970
|
+
|
|
6945
6971
|
interface RepeatMonthly {
|
|
6946
6972
|
readonly interval: number;
|
|
6947
6973
|
readonly days: number[];
|
|
@@ -9563,6 +9589,9 @@ declare namespace io.flow.v0.unions {
|
|
|
9563
9589
|
} & io.flow.v0.models.RemoteAreaRatecardFee;
|
|
9564
9590
|
|
|
9565
9591
|
type RepeatSchedule =
|
|
9592
|
+
| {
|
|
9593
|
+
discriminator: 'repeat_hourly';
|
|
9594
|
+
} & io.flow.v0.models.RepeatHourly
|
|
9566
9595
|
| {
|
|
9567
9596
|
discriminator: 'repeat_daily';
|
|
9568
9597
|
} & io.flow.v0.models.RepeatDaily
|
|
@@ -9686,6 +9715,9 @@ export type AccountTransactionsExportType = io.flow.v0.models.AccountTransaction
|
|
|
9686
9715
|
export type AchAuthorizationForm = io.flow.v0.models.AchAuthorizationForm;
|
|
9687
9716
|
export type Address = io.flow.v0.models.Address;
|
|
9688
9717
|
export type AddressConfiguration = io.flow.v0.models.AddressConfiguration;
|
|
9718
|
+
export type AddressConfigurationProvince = io.flow.v0.models.AddressConfigurationProvince;
|
|
9719
|
+
export type AddressConfigurationProvinceTranslation = io.flow.v0.models.AddressConfigurationProvinceTranslation;
|
|
9720
|
+
export type AddressConfigurationProvinceTranslationLocale = io.flow.v0.models.AddressConfigurationProvinceTranslationLocale;
|
|
9689
9721
|
export type AddressFieldValidation = io.flow.v0.models.AddressFieldValidation;
|
|
9690
9722
|
export type AddressSuggestion = io.flow.v0.models.AddressSuggestion;
|
|
9691
9723
|
export type AddressVerification = io.flow.v0.models.AddressVerification;
|
|
@@ -10103,6 +10135,7 @@ export type GenericError = io.flow.v0.models.GenericError;
|
|
|
10103
10135
|
export type GenericErrorCode = io.flow.v0.enums.GenericErrorCode;
|
|
10104
10136
|
export type GenericReservationError = io.flow.v0.models.GenericReservationError;
|
|
10105
10137
|
export type GeoForm = io.flow.v0.models.GeoForm;
|
|
10138
|
+
export type GoodsSupply = io.flow.v0.enums.GoodsSupply;
|
|
10106
10139
|
export type GooglePayAuthorizationPayload = io.flow.v0.models.GooglePayAuthorizationPayload;
|
|
10107
10140
|
export type HarmonizationDocument = io.flow.v0.models.HarmonizationDocument;
|
|
10108
10141
|
export type HarmonizationHs10ExportType = io.flow.v0.models.HarmonizationHs10ExportType;
|
|
@@ -10577,6 +10610,7 @@ export type RegionSettingForm = io.flow.v0.models.RegionSettingForm;
|
|
|
10577
10610
|
export type RemoteAreaRatecardFee = io.flow.v0.models.RemoteAreaRatecardFee;
|
|
10578
10611
|
export type RemoteAreaServiceFee = io.flow.v0.models.RemoteAreaServiceFee;
|
|
10579
10612
|
export type RepeatDaily = io.flow.v0.models.RepeatDaily;
|
|
10613
|
+
export type RepeatHourly = io.flow.v0.models.RepeatHourly;
|
|
10580
10614
|
export type RepeatMonthly = io.flow.v0.models.RepeatMonthly;
|
|
10581
10615
|
export type RepeatSchedule = io.flow.v0.unions.RepeatSchedule;
|
|
10582
10616
|
export type RepeatWeekly = io.flow.v0.models.RepeatWeekly;
|