@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/dist/api.d.ts
CHANGED
|
@@ -880,6 +880,7 @@ declare namespace io.flow.v0.enums {
|
|
|
880
880
|
type FulfillmentMethodType = 'fulfillment_method';
|
|
881
881
|
type FulfillmentMethodValue = 'digital' | 'physical';
|
|
882
882
|
type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
|
|
883
|
+
type GoodsSupply = 'export' | 'intra_community' | 'local';
|
|
883
884
|
type HolidayCalendar = 'us_bank_holidays' | 'jewish_holidays';
|
|
884
885
|
type ImageTag = 'thumbnail' | 'checkout';
|
|
885
886
|
type ImportType = 'catalog_items' | 'customs_descriptions' | 'customs_description_tariffs' | 'experiences_with_settings' | 'harmonization_codes' | 'item_form_overlays' | 'price_book_items' | 'price_book_items_query' | 'ratecard_lanes' | 'order_service_changes';
|
|
@@ -1820,6 +1821,7 @@ declare namespace io.flow.v0.models {
|
|
|
1820
1821
|
interface CenterSummary {
|
|
1821
1822
|
readonly id: string;
|
|
1822
1823
|
readonly key: string;
|
|
1824
|
+
readonly address?: io.flow.v0.models.ShippingAddress;
|
|
1823
1825
|
}
|
|
1824
1826
|
interface CenterUpserted {
|
|
1825
1827
|
readonly event_id: string;
|
|
@@ -1911,10 +1913,12 @@ declare namespace io.flow.v0.models {
|
|
|
1911
1913
|
interface CheckoutUrls {
|
|
1912
1914
|
readonly continue_shopping?: string;
|
|
1913
1915
|
readonly confirmation?: string;
|
|
1916
|
+
readonly invalid_checkout?: string;
|
|
1914
1917
|
}
|
|
1915
1918
|
interface CheckoutUrlsForm {
|
|
1916
1919
|
readonly continue_shopping?: string;
|
|
1917
1920
|
readonly confirmation?: string;
|
|
1921
|
+
readonly invalid_checkout?: string;
|
|
1918
1922
|
}
|
|
1919
1923
|
interface Cleartext {
|
|
1920
1924
|
readonly value: string;
|
|
@@ -4874,6 +4878,7 @@ declare namespace io.flow.v0.models {
|
|
|
4874
4878
|
readonly special_services?: io.flow.v0.enums.PhysicalDeliverySpecialSerivce[];
|
|
4875
4879
|
readonly prices?: io.flow.v0.models.OrderPriceDetail[];
|
|
4876
4880
|
readonly total?: io.flow.v0.models.LocalizedTotal;
|
|
4881
|
+
readonly goods_supply?: io.flow.v0.enums.GoodsSupply;
|
|
4877
4882
|
}
|
|
4878
4883
|
interface PostPaymentRedirectUrls {
|
|
4879
4884
|
readonly success: string;
|
|
@@ -5560,6 +5565,9 @@ declare namespace io.flow.v0.models {
|
|
|
5560
5565
|
interface RepeatDaily {
|
|
5561
5566
|
readonly interval: number;
|
|
5562
5567
|
}
|
|
5568
|
+
interface RepeatHourly {
|
|
5569
|
+
readonly interval: number;
|
|
5570
|
+
}
|
|
5563
5571
|
interface RepeatMonthly {
|
|
5564
5572
|
readonly interval: number;
|
|
5565
5573
|
readonly days: number[];
|
|
@@ -7617,6 +7625,8 @@ declare namespace io.flow.v0.unions {
|
|
|
7617
7625
|
discriminator: 'remote_area_ratecard_fee';
|
|
7618
7626
|
} & io.flow.v0.models.RemoteAreaRatecardFee;
|
|
7619
7627
|
type RepeatSchedule = {
|
|
7628
|
+
discriminator: 'repeat_hourly';
|
|
7629
|
+
} & io.flow.v0.models.RepeatHourly | {
|
|
7620
7630
|
discriminator: 'repeat_daily';
|
|
7621
7631
|
} & io.flow.v0.models.RepeatDaily | {
|
|
7622
7632
|
discriminator: 'repeat_weekly';
|
|
@@ -8118,6 +8128,7 @@ export declare type GenericError = io.flow.v0.models.GenericError;
|
|
|
8118
8128
|
export declare type GenericErrorCode = io.flow.v0.enums.GenericErrorCode;
|
|
8119
8129
|
export declare type GenericReservationError = io.flow.v0.models.GenericReservationError;
|
|
8120
8130
|
export declare type GeoForm = io.flow.v0.models.GeoForm;
|
|
8131
|
+
export declare type GoodsSupply = io.flow.v0.enums.GoodsSupply;
|
|
8121
8132
|
export declare type GooglePayAuthorizationPayload = io.flow.v0.models.GooglePayAuthorizationPayload;
|
|
8122
8133
|
export declare type HarmonizationDocument = io.flow.v0.models.HarmonizationDocument;
|
|
8123
8134
|
export declare type HarmonizationHs10ExportType = io.flow.v0.models.HarmonizationHs10ExportType;
|
|
@@ -8592,6 +8603,7 @@ export declare type RegionSettingForm = io.flow.v0.models.RegionSettingForm;
|
|
|
8592
8603
|
export declare type RemoteAreaRatecardFee = io.flow.v0.models.RemoteAreaRatecardFee;
|
|
8593
8604
|
export declare type RemoteAreaServiceFee = io.flow.v0.models.RemoteAreaServiceFee;
|
|
8594
8605
|
export declare type RepeatDaily = io.flow.v0.models.RepeatDaily;
|
|
8606
|
+
export declare type RepeatHourly = io.flow.v0.models.RepeatHourly;
|
|
8595
8607
|
export declare type RepeatMonthly = io.flow.v0.models.RepeatMonthly;
|
|
8596
8608
|
export declare type RepeatSchedule = io.flow.v0.unions.RepeatSchedule;
|
|
8597
8609
|
export declare type RepeatWeekly = io.flow.v0.models.RepeatWeekly;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "TypeScript type definitions for custom types found in Flow API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"prettier": "^1.18.2",
|
|
28
28
|
"typescript": "^3.2.2"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "b14e279c40a45cb8aa4087422e3853e514f5b34a"
|
|
31
31
|
}
|