@flowio/types 9.4.4 → 10.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
@@ -52,22 +52,6 @@ declare namespace io.flow.shopify.external.v0.models {
52
52
  interface Count {
53
53
  readonly count: number;
54
54
  }
55
- interface Discount {
56
- readonly id: number;
57
- readonly discount_type: io.flow.shopify.external.v0.enums.DiscountType;
58
- readonly code: string;
59
- readonly value?: number;
60
- readonly status: io.flow.shopify.external.v0.enums.DiscountStatus;
61
- readonly usage_limit?: number;
62
- readonly applies_once: boolean;
63
- readonly applies_once_per_customer: boolean;
64
- readonly ends_at?: string;
65
- readonly starts_at?: string;
66
- readonly minimum_order_amount?: number;
67
- readonly applies_to_id?: number;
68
- readonly applies_to_resource?: string;
69
- readonly times_used: number;
70
- }
71
55
  interface Metafield {
72
56
  readonly id: number;
73
57
  readonly key: string;
@@ -218,12 +202,6 @@ declare namespace io.flow.shopify.external.v0.models {
218
202
  interface ResponseCollects {
219
203
  readonly collects: io.flow.shopify.external.v0.models.Collect[];
220
204
  }
221
- interface ResponseDiscount {
222
- readonly discount: io.flow.shopify.external.v0.models.Discount;
223
- }
224
- interface ResponseDiscounts {
225
- readonly discounts: io.flow.shopify.external.v0.models.Discount[];
226
- }
227
205
  interface ResponseMetafield {
228
206
  readonly metafield: io.flow.shopify.external.v0.models.Metafield;
229
207
  }
@@ -814,6 +792,7 @@ declare namespace io.flow.shopify.external.v0.models {
814
792
  }
815
793
  declare namespace io.flow.v0.enums {
816
794
  type AbandonedOrderSettingStatus = 'active' | 'inactive';
795
+ type AddressFieldName = 'first_name' | 'last_name' | 'street_1' | 'street_2' | 'city' | 'province' | 'postal' | 'country' | 'phone' | 'company';
817
796
  type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
818
797
  type Aggregate = 'maximum' | 'minimum';
819
798
  type AttributeDataType = 'boolean' | 'decimal' | 'string' | 'json_array';
@@ -1038,6 +1017,13 @@ declare namespace io.flow.v0.models {
1038
1017
  readonly country: string;
1039
1018
  readonly field_validation: io.flow.v0.models.AddressFieldValidation;
1040
1019
  readonly provinces: io.flow.v0.models.AddressConfigurationProvince[];
1020
+ readonly formats?: io.flow.v0.models.AddressConfigurationFormat[];
1021
+ }
1022
+ interface AddressConfigurationFieldPlacement {
1023
+ readonly name: io.flow.v0.enums.AddressFieldName;
1024
+ }
1025
+ interface AddressConfigurationFormat {
1026
+ readonly placements: io.flow.v0.models.AddressConfigurationFieldPlacement[];
1041
1027
  }
1042
1028
  interface AddressConfigurationProvince {
1043
1029
  readonly value: string;
@@ -2317,6 +2303,9 @@ declare namespace io.flow.v0.models {
2317
2303
  readonly customer: io.flow.v0.models.Customer;
2318
2304
  readonly last_used?: io.flow.v0.models.CustomerLastUsed;
2319
2305
  }
2306
+ interface CustomerClientToken {
2307
+ readonly token: string;
2308
+ }
2320
2309
  interface CustomerDeleted {
2321
2310
  readonly discriminator: 'customer_deleted';
2322
2311
  readonly event_id: string;
@@ -3280,6 +3269,10 @@ declare namespace io.flow.v0.models {
3280
3269
  readonly destination?: string;
3281
3270
  readonly sort?: string;
3282
3271
  }
3272
+ interface HarmonizationTariffCodesExportType {
3273
+ readonly discriminator: 'harmonization_tariff_codes_export_type';
3274
+ readonly sort?: string;
3275
+ }
3283
3276
  interface HarmonizedCategory {
3284
3277
  readonly id: string;
3285
3278
  readonly name: string;
@@ -7331,7 +7324,7 @@ declare namespace io.flow.v0.unions {
7331
7324
  type ExpandableSubcatalog = io.flow.v0.models.Subcatalog | io.flow.v0.models.SubcatalogReference;
7332
7325
  type ExpandableUser = io.flow.v0.models.User | io.flow.v0.models.UserReference;
7333
7326
  type ExportDelivery = io.flow.v0.models.ExportDeliveryEmail;
7334
- type ExportType = io.flow.v0.models.AccountTransactionsExportType | io.flow.v0.models.AccountOrdersExportType | io.flow.v0.models.AnalyticsExportType | io.flow.v0.models.CatalogItemExportType | io.flow.v0.models.ExperienceExportType | io.flow.v0.models.HarmonizationOverviewExportType | io.flow.v0.models.HarmonizationHs6ExportType | io.flow.v0.models.HarmonizationHs10ExportType | io.flow.v0.models.UnharmonizedItemExportType | io.flow.v0.models.OrderExportType | io.flow.v0.models.PriceBookItemExportType | io.flow.v0.models.SolidusProductExportType | io.flow.v0.models.SolidusVariantExportType | io.flow.v0.models.LocalizedItemPricesExportType | io.flow.v0.models.MarketingFeedsExportType;
7327
+ type ExportType = io.flow.v0.models.AccountTransactionsExportType | io.flow.v0.models.AccountOrdersExportType | io.flow.v0.models.AnalyticsExportType | io.flow.v0.models.CatalogItemExportType | io.flow.v0.models.ExperienceExportType | io.flow.v0.models.HarmonizationOverviewExportType | io.flow.v0.models.HarmonizationHs6ExportType | io.flow.v0.models.HarmonizationHs10ExportType | io.flow.v0.models.HarmonizationTariffCodesExportType | io.flow.v0.models.UnharmonizedItemExportType | io.flow.v0.models.OrderExportType | io.flow.v0.models.PriceBookItemExportType | io.flow.v0.models.SolidusProductExportType | io.flow.v0.models.SolidusVariantExportType | io.flow.v0.models.LocalizedItemPricesExportType | io.flow.v0.models.MarketingFeedsExportType;
7335
7328
  type FieldValidationRule = io.flow.v0.models.FieldValidationRequired | io.flow.v0.models.FieldValidationMin | io.flow.v0.models.FieldValidationMax | io.flow.v0.models.FieldValidationPattern;
7336
7329
  type GatewayAuthenticationData = io.flow.v0.models.StripeAuthenticationData;
7337
7330
  type GatewayAuthenticationDataForm = io.flow.v0.models.StripeAuthenticationDataForm;
@@ -7385,9 +7378,12 @@ export declare type AccountTransactionsExportType = io.flow.v0.models.AccountTra
7385
7378
  export declare type AchAuthorizationForm = io.flow.v0.models.AchAuthorizationForm;
7386
7379
  export declare type Address = io.flow.v0.models.Address;
7387
7380
  export declare type AddressConfiguration = io.flow.v0.models.AddressConfiguration;
7381
+ export declare type AddressConfigurationFieldPlacement = io.flow.v0.models.AddressConfigurationFieldPlacement;
7382
+ export declare type AddressConfigurationFormat = io.flow.v0.models.AddressConfigurationFormat;
7388
7383
  export declare type AddressConfigurationProvince = io.flow.v0.models.AddressConfigurationProvince;
7389
7384
  export declare type AddressConfigurationProvinceTranslation = io.flow.v0.models.AddressConfigurationProvinceTranslation;
7390
7385
  export declare type AddressConfigurationProvinceTranslationLocale = io.flow.v0.models.AddressConfigurationProvinceTranslationLocale;
7386
+ export declare type AddressFieldName = io.flow.v0.enums.AddressFieldName;
7391
7387
  export declare type AddressFieldValidation = io.flow.v0.models.AddressFieldValidation;
7392
7388
  export declare type AddressSuggestion = io.flow.v0.models.AddressSuggestion;
7393
7389
  export declare type AddressVerification = io.flow.v0.models.AddressVerification;
@@ -7625,6 +7621,7 @@ export declare type CustomerAddressBookForm = io.flow.v0.models.CustomerAddressB
7625
7621
  export declare type CustomerAddressPreference = io.flow.v0.models.CustomerAddressPreference;
7626
7622
  export declare type CustomerAddressType = io.flow.v0.enums.CustomerAddressType;
7627
7623
  export declare type CustomerBundle = io.flow.v0.models.CustomerBundle;
7624
+ export declare type CustomerClientToken = io.flow.v0.models.CustomerClientToken;
7628
7625
  export declare type CustomerDeleted = io.flow.v0.models.CustomerDeleted;
7629
7626
  export declare type CustomerForm = io.flow.v0.models.CustomerForm;
7630
7627
  export declare type CustomerInvoice = io.flow.v0.models.CustomerInvoice;
@@ -7850,6 +7847,7 @@ export declare type HarmonizationDocument = io.flow.v0.models.HarmonizationDocum
7850
7847
  export declare type HarmonizationHs10ExportType = io.flow.v0.models.HarmonizationHs10ExportType;
7851
7848
  export declare type HarmonizationHs6ExportType = io.flow.v0.models.HarmonizationHs6ExportType;
7852
7849
  export declare type HarmonizationOverviewExportType = io.flow.v0.models.HarmonizationOverviewExportType;
7850
+ export declare type HarmonizationTariffCodesExportType = io.flow.v0.models.HarmonizationTariffCodesExportType;
7853
7851
  export declare type HarmonizedCategory = io.flow.v0.models.HarmonizedCategory;
7854
7852
  export declare type HarmonizedCategoryReference = io.flow.v0.models.HarmonizedCategoryReference;
7855
7853
  export declare type HarmonizedItem = io.flow.v0.models.HarmonizedItem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "9.4.4",
3
+ "version": "10.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.8.3"
29
29
  },
30
- "gitHead": "9d60ce14b9c8f57cb03b5f827cfc80beedb3bed9"
30
+ "gitHead": "56776feef4dfb699db3a581bca2c6541c3fbe16c"
31
31
  }