@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/src/api.ts CHANGED
@@ -149,23 +149,6 @@ declare namespace io.flow.shopify.external.v0.models {
149
149
  readonly count: number;
150
150
  }
151
151
 
152
- interface Discount {
153
- readonly id: number;
154
- readonly discount_type: io.flow.shopify.external.v0.enums.DiscountType;
155
- readonly code: string;
156
- readonly value?: number;
157
- readonly status: io.flow.shopify.external.v0.enums.DiscountStatus;
158
- readonly usage_limit?: number;
159
- readonly applies_once: boolean;
160
- readonly applies_once_per_customer: boolean;
161
- readonly ends_at?: string;
162
- readonly starts_at?: string;
163
- readonly minimum_order_amount?: number;
164
- readonly applies_to_id?: number;
165
- readonly applies_to_resource?: string;
166
- readonly times_used: number;
167
- }
168
-
169
152
  interface Metafield {
170
153
  readonly id: number;
171
154
  readonly key: string;
@@ -335,14 +318,6 @@ declare namespace io.flow.shopify.external.v0.models {
335
318
  readonly collects: io.flow.shopify.external.v0.models.Collect[];
336
319
  }
337
320
 
338
- interface ResponseDiscount {
339
- readonly discount: io.flow.shopify.external.v0.models.Discount;
340
- }
341
-
342
- interface ResponseDiscounts {
343
- readonly discounts: io.flow.shopify.external.v0.models.Discount[];
344
- }
345
-
346
321
  interface ResponseMetafield {
347
322
  readonly metafield: io.flow.shopify.external.v0.models.Metafield;
348
323
  }
@@ -1008,6 +983,17 @@ declare namespace io.flow.shopify.external.v0.models {
1008
983
 
1009
984
  declare namespace io.flow.v0.enums {
1010
985
  type AbandonedOrderSettingStatus = 'active' | 'inactive';
986
+ type AddressFieldName =
987
+ | 'first_name'
988
+ | 'last_name'
989
+ | 'street_1'
990
+ | 'street_2'
991
+ | 'city'
992
+ | 'province'
993
+ | 'postal'
994
+ | 'country'
995
+ | 'phone'
996
+ | 'company';
1011
997
  type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
1012
998
  type Aggregate = 'maximum' | 'minimum';
1013
999
  type AttributeDataType = 'boolean' | 'decimal' | 'string' | 'json_array';
@@ -1704,6 +1690,15 @@ declare namespace io.flow.v0.models {
1704
1690
  readonly country: string;
1705
1691
  readonly field_validation: io.flow.v0.models.AddressFieldValidation;
1706
1692
  readonly provinces: io.flow.v0.models.AddressConfigurationProvince[];
1693
+ readonly formats?: io.flow.v0.models.AddressConfigurationFormat[];
1694
+ }
1695
+
1696
+ interface AddressConfigurationFieldPlacement {
1697
+ readonly name: io.flow.v0.enums.AddressFieldName;
1698
+ }
1699
+
1700
+ interface AddressConfigurationFormat {
1701
+ readonly placements: io.flow.v0.models.AddressConfigurationFieldPlacement[];
1707
1702
  }
1708
1703
 
1709
1704
  interface AddressConfigurationProvince {
@@ -3182,6 +3177,10 @@ declare namespace io.flow.v0.models {
3182
3177
  readonly last_used?: io.flow.v0.models.CustomerLastUsed;
3183
3178
  }
3184
3179
 
3180
+ interface CustomerClientToken {
3181
+ readonly token: string;
3182
+ }
3183
+
3185
3184
  interface CustomerDeleted {
3186
3185
  readonly discriminator: 'customer_deleted';
3187
3186
  readonly event_id: string;
@@ -4318,6 +4317,11 @@ declare namespace io.flow.v0.models {
4318
4317
  readonly sort?: string;
4319
4318
  }
4320
4319
 
4320
+ interface HarmonizationTariffCodesExportType {
4321
+ readonly discriminator: 'harmonization_tariff_codes_export_type';
4322
+ readonly sort?: string;
4323
+ }
4324
+
4321
4325
  interface HarmonizedCategory {
4322
4326
  readonly id: string;
4323
4327
  readonly name: string;
@@ -9231,6 +9235,7 @@ declare namespace io.flow.v0.unions {
9231
9235
  | io.flow.v0.models.HarmonizationOverviewExportType
9232
9236
  | io.flow.v0.models.HarmonizationHs6ExportType
9233
9237
  | io.flow.v0.models.HarmonizationHs10ExportType
9238
+ | io.flow.v0.models.HarmonizationTariffCodesExportType
9234
9239
  | io.flow.v0.models.UnharmonizedItemExportType
9235
9240
  | io.flow.v0.models.OrderExportType
9236
9241
  | io.flow.v0.models.PriceBookItemExportType
@@ -9369,9 +9374,12 @@ export type AccountTransactionsExportType = io.flow.v0.models.AccountTransaction
9369
9374
  export type AchAuthorizationForm = io.flow.v0.models.AchAuthorizationForm;
9370
9375
  export type Address = io.flow.v0.models.Address;
9371
9376
  export type AddressConfiguration = io.flow.v0.models.AddressConfiguration;
9377
+ export type AddressConfigurationFieldPlacement = io.flow.v0.models.AddressConfigurationFieldPlacement;
9378
+ export type AddressConfigurationFormat = io.flow.v0.models.AddressConfigurationFormat;
9372
9379
  export type AddressConfigurationProvince = io.flow.v0.models.AddressConfigurationProvince;
9373
9380
  export type AddressConfigurationProvinceTranslation = io.flow.v0.models.AddressConfigurationProvinceTranslation;
9374
9381
  export type AddressConfigurationProvinceTranslationLocale = io.flow.v0.models.AddressConfigurationProvinceTranslationLocale;
9382
+ export type AddressFieldName = io.flow.v0.enums.AddressFieldName;
9375
9383
  export type AddressFieldValidation = io.flow.v0.models.AddressFieldValidation;
9376
9384
  export type AddressSuggestion = io.flow.v0.models.AddressSuggestion;
9377
9385
  export type AddressVerification = io.flow.v0.models.AddressVerification;
@@ -9609,6 +9617,7 @@ export type CustomerAddressBookForm = io.flow.v0.models.CustomerAddressBookForm;
9609
9617
  export type CustomerAddressPreference = io.flow.v0.models.CustomerAddressPreference;
9610
9618
  export type CustomerAddressType = io.flow.v0.enums.CustomerAddressType;
9611
9619
  export type CustomerBundle = io.flow.v0.models.CustomerBundle;
9620
+ export type CustomerClientToken = io.flow.v0.models.CustomerClientToken;
9612
9621
  export type CustomerDeleted = io.flow.v0.models.CustomerDeleted;
9613
9622
  export type CustomerForm = io.flow.v0.models.CustomerForm;
9614
9623
  export type CustomerInvoice = io.flow.v0.models.CustomerInvoice;
@@ -9834,6 +9843,7 @@ export type HarmonizationDocument = io.flow.v0.models.HarmonizationDocument;
9834
9843
  export type HarmonizationHs10ExportType = io.flow.v0.models.HarmonizationHs10ExportType;
9835
9844
  export type HarmonizationHs6ExportType = io.flow.v0.models.HarmonizationHs6ExportType;
9836
9845
  export type HarmonizationOverviewExportType = io.flow.v0.models.HarmonizationOverviewExportType;
9846
+ export type HarmonizationTariffCodesExportType = io.flow.v0.models.HarmonizationTariffCodesExportType;
9837
9847
  export type HarmonizedCategory = io.flow.v0.models.HarmonizedCategory;
9838
9848
  export type HarmonizedCategoryReference = io.flow.v0.models.HarmonizedCategoryReference;
9839
9849
  export type HarmonizedItem = io.flow.v0.models.HarmonizedItem;