@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/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';
@@ -1028,7 +1029,21 @@ declare namespace io.flow.v0.models {
1028
1029
  interface AddressConfiguration {
1029
1030
  readonly country: string;
1030
1031
  readonly field_validation: io.flow.v0.models.AddressFieldValidation;
1031
- readonly provinces: io.flow.v0.models.Province[];
1032
+ readonly provinces: io.flow.v0.models.AddressConfigurationProvince[];
1033
+ }
1034
+ interface AddressConfigurationProvince {
1035
+ readonly value: string;
1036
+ readonly name: string;
1037
+ readonly translations?: io.flow.v0.models.AddressConfigurationProvinceTranslation[];
1038
+ }
1039
+ interface AddressConfigurationProvinceTranslation {
1040
+ readonly locale: io.flow.v0.models.AddressConfigurationProvinceTranslationLocale;
1041
+ readonly name: string;
1042
+ }
1043
+ interface AddressConfigurationProvinceTranslationLocale {
1044
+ readonly id: string;
1045
+ readonly name: string;
1046
+ readonly language: string;
1032
1047
  }
1033
1048
  interface AddressFieldValidation {
1034
1049
  readonly first_name: io.flow.v0.unions.FieldValidationRule[];
@@ -1806,6 +1821,7 @@ declare namespace io.flow.v0.models {
1806
1821
  interface CenterSummary {
1807
1822
  readonly id: string;
1808
1823
  readonly key: string;
1824
+ readonly address?: io.flow.v0.models.ShippingAddress;
1809
1825
  }
1810
1826
  interface CenterUpserted {
1811
1827
  readonly event_id: string;
@@ -1897,10 +1913,12 @@ declare namespace io.flow.v0.models {
1897
1913
  interface CheckoutUrls {
1898
1914
  readonly continue_shopping?: string;
1899
1915
  readonly confirmation?: string;
1916
+ readonly invalid_checkout?: string;
1900
1917
  }
1901
1918
  interface CheckoutUrlsForm {
1902
1919
  readonly continue_shopping?: string;
1903
1920
  readonly confirmation?: string;
1921
+ readonly invalid_checkout?: string;
1904
1922
  }
1905
1923
  interface Cleartext {
1906
1924
  readonly value: string;
@@ -4860,6 +4878,7 @@ declare namespace io.flow.v0.models {
4860
4878
  readonly special_services?: io.flow.v0.enums.PhysicalDeliverySpecialSerivce[];
4861
4879
  readonly prices?: io.flow.v0.models.OrderPriceDetail[];
4862
4880
  readonly total?: io.flow.v0.models.LocalizedTotal;
4881
+ readonly goods_supply?: io.flow.v0.enums.GoodsSupply;
4863
4882
  }
4864
4883
  interface PostPaymentRedirectUrls {
4865
4884
  readonly success: string;
@@ -5546,6 +5565,9 @@ declare namespace io.flow.v0.models {
5546
5565
  interface RepeatDaily {
5547
5566
  readonly interval: number;
5548
5567
  }
5568
+ interface RepeatHourly {
5569
+ readonly interval: number;
5570
+ }
5549
5571
  interface RepeatMonthly {
5550
5572
  readonly interval: number;
5551
5573
  readonly days: number[];
@@ -7603,6 +7625,8 @@ declare namespace io.flow.v0.unions {
7603
7625
  discriminator: 'remote_area_ratecard_fee';
7604
7626
  } & io.flow.v0.models.RemoteAreaRatecardFee;
7605
7627
  type RepeatSchedule = {
7628
+ discriminator: 'repeat_hourly';
7629
+ } & io.flow.v0.models.RepeatHourly | {
7606
7630
  discriminator: 'repeat_daily';
7607
7631
  } & io.flow.v0.models.RepeatDaily | {
7608
7632
  discriminator: 'repeat_weekly';
@@ -7684,6 +7708,9 @@ export declare type AccountTransactionsExportType = io.flow.v0.models.AccountTra
7684
7708
  export declare type AchAuthorizationForm = io.flow.v0.models.AchAuthorizationForm;
7685
7709
  export declare type Address = io.flow.v0.models.Address;
7686
7710
  export declare type AddressConfiguration = io.flow.v0.models.AddressConfiguration;
7711
+ export declare type AddressConfigurationProvince = io.flow.v0.models.AddressConfigurationProvince;
7712
+ export declare type AddressConfigurationProvinceTranslation = io.flow.v0.models.AddressConfigurationProvinceTranslation;
7713
+ export declare type AddressConfigurationProvinceTranslationLocale = io.flow.v0.models.AddressConfigurationProvinceTranslationLocale;
7687
7714
  export declare type AddressFieldValidation = io.flow.v0.models.AddressFieldValidation;
7688
7715
  export declare type AddressSuggestion = io.flow.v0.models.AddressSuggestion;
7689
7716
  export declare type AddressVerification = io.flow.v0.models.AddressVerification;
@@ -8101,6 +8128,7 @@ export declare type GenericError = io.flow.v0.models.GenericError;
8101
8128
  export declare type GenericErrorCode = io.flow.v0.enums.GenericErrorCode;
8102
8129
  export declare type GenericReservationError = io.flow.v0.models.GenericReservationError;
8103
8130
  export declare type GeoForm = io.flow.v0.models.GeoForm;
8131
+ export declare type GoodsSupply = io.flow.v0.enums.GoodsSupply;
8104
8132
  export declare type GooglePayAuthorizationPayload = io.flow.v0.models.GooglePayAuthorizationPayload;
8105
8133
  export declare type HarmonizationDocument = io.flow.v0.models.HarmonizationDocument;
8106
8134
  export declare type HarmonizationHs10ExportType = io.flow.v0.models.HarmonizationHs10ExportType;
@@ -8575,6 +8603,7 @@ export declare type RegionSettingForm = io.flow.v0.models.RegionSettingForm;
8575
8603
  export declare type RemoteAreaRatecardFee = io.flow.v0.models.RemoteAreaRatecardFee;
8576
8604
  export declare type RemoteAreaServiceFee = io.flow.v0.models.RemoteAreaServiceFee;
8577
8605
  export declare type RepeatDaily = io.flow.v0.models.RepeatDaily;
8606
+ export declare type RepeatHourly = io.flow.v0.models.RepeatHourly;
8578
8607
  export declare type RepeatMonthly = io.flow.v0.models.RepeatMonthly;
8579
8608
  export declare type RepeatSchedule = io.flow.v0.unions.RepeatSchedule;
8580
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": "1.0.0",
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",
@@ -26,5 +26,6 @@
26
26
  "devDependencies": {
27
27
  "prettier": "^1.18.2",
28
28
  "typescript": "^3.2.2"
29
- }
29
+ },
30
+ "gitHead": "b14e279c40a45cb8aa4087422e3853e514f5b34a"
30
31
  }