@flowio/types 11.24.52 → 11.24.53

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.
@@ -3088,6 +3088,7 @@ declare namespace io.flow.label.v0.models {
3088
3088
  readonly order_identifier?: string;
3089
3089
  readonly fulfillment_key?: string;
3090
3090
  readonly shipment_recipient?: io.flow.label.v0.enums.ShipmentRecipient;
3091
+ readonly updated_at: string;
3091
3092
  }
3092
3093
  interface ShippingNotificationVersion {
3093
3094
  readonly id: string;
@@ -5055,7 +5056,7 @@ declare namespace io.flow.shopify.markets.v0.enums {
5055
5056
  type ShopifyOrderValueType = 'string' | 'integer';
5056
5057
  type ShopifyTaxExemptions = 'EXEMPT_ALL' | 'CA_STATUS_CARD_EXEMPTION' | 'CA_DIPLOMAT_EXEMPTION' | 'CA_BC_RESELLER_EXEMPTION' | 'CA_MB_RESELLER_EXEMPTION' | 'CA_SK_RESELLER_EXEMPTION' | 'CA_BC_COMMERCIAL_FISHERY_EXEMPTION' | 'CA_MB_COMMERCIAL_FISHERY_EXEMPTION' | 'CA_NS_COMMERCIAL_FISHERY_EXEMPTION' | 'CA_PE_COMMERCIAL_FISHERY_EXEMPTION' | 'CA_SK_COMMERCIAL_FISHERY_EXEMPTION' | 'CA_BC_PRODUCTION_AND_MACHINERY_EXEMPTION' | 'CA_SK_PRODUCTION_AND_MACHINERY_EXEMPTION' | 'CA_BC_SUB_CONTRACTOR_EXEMPTION' | 'CA_SK_SUB_CONTRACTOR_EXEMPTION' | 'CA_BC_CONTRACTOR_EXEMPTION' | 'CA_SK_CONTRACTOR_EXEMPTION' | 'CA_ON_PURCHASE_EXEMPTION' | 'CA_MB_FARMER_EXEMPTION' | 'CA_NS_FARMER_EXEMPTION' | 'CA_SK_FARMER_EXEMPTION';
5057
5058
  type ShopifyWebhookFormat = 'json' | 'xml';
5058
- type ShopifyWebhookTopic = 'customers/redact' | 'customers/data_request' | 'locations/create' | 'locations/update' | 'locations/delete' | 'order_transactions/create' | 'orders/cancelled' | 'orders/create' | 'orders/fulfilled' | 'orders/paid' | 'orders/partially_fulfilled' | 'orders/updated' | 'orders/delete' | 'orders/edited' | 'products/create' | 'products/delete' | 'products/update' | 'inventory_items/create' | 'inventory_items/update' | 'inventory_items/delete' | 'refunds/create' | 'fulfillment_events/create' | 'fulfillment_events/delete' | 'shop/redact' | 'themes/create' | 'themes/publish' | 'themes/update';
5059
+ type ShopifyWebhookTopic = 'customers/redact' | 'customers/data_request' | 'locations/create' | 'locations/update' | 'locations/delete' | 'orders/cancelled' | 'orders/create' | 'orders/fulfilled' | 'orders/paid' | 'orders/partially_fulfilled' | 'orders/updated' | 'orders/delete' | 'orders/edited' | 'products/create' | 'products/delete' | 'products/update' | 'inventory_items/create' | 'inventory_items/update' | 'inventory_items/delete' | 'refunds/create' | 'fulfillment_events/create' | 'fulfillment_events/delete' | 'shop/redact' | 'themes/create' | 'themes/publish' | 'themes/update';
5059
5060
  }
5060
5061
  declare namespace io.flow.shopify.markets.v0.models {
5061
5062
  interface FulfillmentOrderInternationalDuties {
@@ -6119,8 +6120,7 @@ declare namespace io.flow.payment.gateway.v0.models {
6119
6120
  readonly card_data: io.flow.payment.gateway.v0.unions.PaymentMethodCard;
6120
6121
  readonly device_fingerprint_details: io.flow.payment.gateway.v0.unions.DeviceFingerprintDetails;
6121
6122
  readonly cvv?: string;
6122
- readonly reference?: string;
6123
- readonly previous_transaction_details?: io.flow.payment.v0.models.TransactionNetworkDetailsCard;
6123
+ readonly stored_details_card?: io.flow.payment.gateway.v0.unions.PaymentMethodStoredDetailsCard;
6124
6124
  }
6125
6125
  interface PaymentMethodDataAuthorizeGooglepay {
6126
6126
  readonly type: 'authorize_googlepay';
@@ -6196,6 +6196,15 @@ declare namespace io.flow.payment.gateway.v0.models {
6196
6196
  readonly type: 'validate_applepay';
6197
6197
  readonly validation_url: string;
6198
6198
  }
6199
+ interface PaymentMethodStoredDetailsCardInitial {
6200
+ readonly type: 'initial';
6201
+ readonly reference?: string;
6202
+ }
6203
+ interface PaymentMethodStoredDetailsCardSubsequent {
6204
+ readonly type: 'subsequent';
6205
+ readonly reference?: string;
6206
+ readonly previous_transaction_details?: io.flow.payment.v0.models.TransactionNetworkDetailsCard;
6207
+ }
6199
6208
  interface PaymentMethodSummaryAfterpay {
6200
6209
  readonly type: 'afterpay';
6201
6210
  readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
@@ -6353,6 +6362,7 @@ declare namespace io.flow.payment.gateway.v0.unions {
6353
6362
  type PaymentMethodDataAuthorizeApplepayResult = io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepayResultSuccess | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepayResultFailure;
6354
6363
  type PaymentMethodDataAuthorizeKlarnaResult = io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure;
6355
6364
  type PaymentMethodDataOptionLogo = io.flow.payment.gateway.v0.models.PaymentMethodDataOptionLogoSvg;
6365
+ type PaymentMethodStoredDetailsCard = io.flow.payment.gateway.v0.models.PaymentMethodStoredDetailsCardInitial | io.flow.payment.gateway.v0.models.PaymentMethodStoredDetailsCardSubsequent;
6356
6366
  type PaymentMethodSummary = io.flow.payment.gateway.v0.models.PaymentMethodSummaryCard | io.flow.payment.gateway.v0.models.PaymentMethodSummaryKlarna | io.flow.payment.gateway.v0.models.PaymentMethodSummaryAfterpay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryApplepay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryPaypal | io.flow.payment.gateway.v0.models.PaymentMethodSummaryIdeal | io.flow.payment.gateway.v0.models.PaymentMethodSummarySofort | io.flow.payment.gateway.v0.models.PaymentMethodSummaryBancontact;
6357
6367
  type SdkAdyenV3AuthenticationToken = io.flow.payment.gateway.v0.models.AdyenV3FingerprintToken | io.flow.payment.gateway.v0.models.AdyenV3ChallengeToken;
6358
6368
  }
@@ -7962,6 +7972,7 @@ declare namespace io.flow.tracking.v0.models {
7962
7972
  }
7963
7973
  interface LabelTrackingSummaryUpdate {
7964
7974
  readonly timestamp: string;
7975
+ readonly created_at?: string;
7965
7976
  }
7966
7977
  interface Tracking {
7967
7978
  readonly id: string;
@@ -10408,6 +10419,7 @@ declare namespace io.flow.internal.v0.enums {
10408
10419
  type MarketingGatewayPlatform = 'google' | 'facebook' | 'adroll' | 'aliexpress' | 'amazon' | 'bing' | 'criteo' | 'fruugo' | 'pinterest' | 'rakuten_japan' | 'wish' | 'snapchat' | 'stylight';
10409
10420
  type MarketingGatewayProductStatus = 'approved' | 'not_approved' | 'pending' | 'not_found' | 'excluded';
10410
10421
  type MarketingGatewaySchemaCompatibility = 'google' | 'facebook_primary' | 'facebook_country_override' | 'supplemental';
10422
+ type MixedBagWeight = '0' | '1' | '2';
10411
10423
  type NatureOfSale = 'consumer' | 'to_non_registered_business' | 'to_registered_business' | 'flash_title';
10412
10424
  type NoLiabilityReasonCode = 'zero_basis' | 'zero_rate_on_goods' | 'zero_rate_on_sale' | 'goods_above_value_threshold' | 'goods_below_value_threshold' | 'order_below_de_minimis_threshold' | 'amount_below_de_minimis_threshold' | 'delivered_unpaid' | 'duty_free_domestic' | 'duty_free_intra_community' | 'duty_free_by_trade_agreement';
10413
10425
  type OnboardingAuditMessageLevel = 'info' | 'warning' | 'error';
@@ -10639,6 +10651,7 @@ declare namespace io.flow.internal.v0.models {
10639
10651
  readonly require_payment_request: boolean;
10640
10652
  readonly round_individual_transactions: boolean;
10641
10653
  readonly liabilities_method: io.flow.internal.v0.enums.AccountSettingLiabilitiesMethod;
10654
+ readonly enable_fee_reversals: boolean;
10642
10655
  }
10643
10656
  interface AccountSettingsDeleted {
10644
10657
  readonly discriminator: 'account_settings_deleted';
@@ -11751,6 +11764,12 @@ declare namespace io.flow.internal.v0.models {
11751
11764
  readonly organization: string;
11752
11765
  readonly data: io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesData;
11753
11766
  }
11767
+ interface CatalogSettings {
11768
+ readonly mixed_bag_weight: io.flow.internal.v0.enums.MixedBagWeight;
11769
+ }
11770
+ interface CatalogSettingsPutForm {
11771
+ readonly mixed_bag_weight: io.flow.internal.v0.enums.MixedBagWeight;
11772
+ }
11754
11773
  interface CenterDefaults {
11755
11774
  readonly packaging: io.flow.fulfillment.v0.models.Packaging[];
11756
11775
  readonly shipping_address_contact: io.flow.common.v0.models.Contact;
@@ -17417,6 +17436,7 @@ declare namespace io.flow.internal.v0.models {
17417
17436
  readonly shop_name: string;
17418
17437
  readonly organization_id: string;
17419
17438
  readonly onboarding_current_state: io.flow.organization.onboarding.state.v0.unions.OnboardingState;
17439
+ readonly setup_completed_at?: string;
17420
17440
  readonly gmv: number;
17421
17441
  }
17422
17442
  interface OneTimeTokenRedemptionForm {
@@ -20823,6 +20843,8 @@ export declare type CatalogItemIndexTask = io.flow.internal.v0.models.CatalogIte
20823
20843
  export declare type CatalogItemRegionAvailabilities = io.flow.internal.v0.models.CatalogItemRegionAvailabilities;
20824
20844
  export declare type CatalogItemRegionAvailabilitiesData = io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesData;
20825
20845
  export declare type CatalogItemRegionAvailabilitiesPublished = io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished;
20846
+ export declare type CatalogSettings = io.flow.internal.v0.models.CatalogSettings;
20847
+ export declare type CatalogSettingsPutForm = io.flow.internal.v0.models.CatalogSettingsPutForm;
20826
20848
  export declare type CenterDefaults = io.flow.internal.v0.models.CenterDefaults;
20827
20849
  export declare type CenterDefaultsForm = io.flow.internal.v0.models.CenterDefaultsForm;
20828
20850
  export declare type CenterQueryBuilder = io.flow.internal.v0.models.CenterQueryBuilder;
@@ -22036,6 +22058,7 @@ export declare type MerchantApplicationSummaries = io.flow.internal.v0.models.Me
22036
22058
  export declare type MerchantApplicationSummary = io.flow.internal.v0.models.MerchantApplicationSummary;
22037
22059
  export declare type MerchantOfRecordEntitySettings = io.flow.internal.v0.models.MerchantOfRecordEntitySettings;
22038
22060
  export declare type MerchantOfRecordEntitySettingsForm = io.flow.internal.v0.models.MerchantOfRecordEntitySettingsForm;
22061
+ export declare type MixedBagWeight = io.flow.internal.v0.enums.MixedBagWeight;
22039
22062
  export declare type NatureOfSale = io.flow.internal.v0.enums.NatureOfSale;
22040
22063
  export declare type NextBillingStatement = io.flow.internal.v0.models.NextBillingStatement;
22041
22064
  export declare type NoCalculatedTaxAmount = io.flow.internal.v0.models.NoCalculatedTaxAmount;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.52",
3
+ "version": "11.24.53",
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",
@@ -25,5 +25,5 @@
25
25
  "maintainers": [
26
26
  "Christian Muñoz <christian.munoz@flow.io>"
27
27
  ],
28
- "gitHead": "4583d2c8da865de78e80c9d74e1d244aeb40f57c"
28
+ "gitHead": "25f532bacbdeb24262a010008752c27049625ad3"
29
29
  }
@@ -4018,6 +4018,7 @@ declare namespace io.flow.label.v0.models {
4018
4018
  readonly order_identifier?: string;
4019
4019
  readonly fulfillment_key?: string;
4020
4020
  readonly shipment_recipient?: io.flow.label.v0.enums.ShipmentRecipient;
4021
+ readonly updated_at: string;
4021
4022
  }
4022
4023
 
4023
4024
  interface ShippingNotificationVersion {
@@ -6899,7 +6900,6 @@ declare namespace io.flow.shopify.markets.v0.enums {
6899
6900
  | 'locations/create'
6900
6901
  | 'locations/update'
6901
6902
  | 'locations/delete'
6902
- | 'order_transactions/create'
6903
6903
  | 'orders/cancelled'
6904
6904
  | 'orders/create'
6905
6905
  | 'orders/fulfilled'
@@ -8189,8 +8189,7 @@ declare namespace io.flow.payment.gateway.v0.models {
8189
8189
  readonly card_data: io.flow.payment.gateway.v0.unions.PaymentMethodCard;
8190
8190
  readonly device_fingerprint_details: io.flow.payment.gateway.v0.unions.DeviceFingerprintDetails;
8191
8191
  readonly cvv?: string;
8192
- readonly reference?: string;
8193
- readonly previous_transaction_details?: io.flow.payment.v0.models.TransactionNetworkDetailsCard;
8192
+ readonly stored_details_card?: io.flow.payment.gateway.v0.unions.PaymentMethodStoredDetailsCard;
8194
8193
  }
8195
8194
 
8196
8195
  interface PaymentMethodDataAuthorizeGooglepay {
@@ -8285,6 +8284,17 @@ declare namespace io.flow.payment.gateway.v0.models {
8285
8284
  readonly validation_url: string;
8286
8285
  }
8287
8286
 
8287
+ interface PaymentMethodStoredDetailsCardInitial {
8288
+ readonly type: 'initial';
8289
+ readonly reference?: string;
8290
+ }
8291
+
8292
+ interface PaymentMethodStoredDetailsCardSubsequent {
8293
+ readonly type: 'subsequent';
8294
+ readonly reference?: string;
8295
+ readonly previous_transaction_details?: io.flow.payment.v0.models.TransactionNetworkDetailsCard;
8296
+ }
8297
+
8288
8298
  interface PaymentMethodSummaryAfterpay {
8289
8299
  readonly type: 'afterpay';
8290
8300
  readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
@@ -8509,6 +8519,9 @@ declare namespace io.flow.payment.gateway.v0.unions {
8509
8519
  | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure;
8510
8520
  type PaymentMethodDataOptionLogo =
8511
8521
  io.flow.payment.gateway.v0.models.PaymentMethodDataOptionLogoSvg;
8522
+ type PaymentMethodStoredDetailsCard =
8523
+ | io.flow.payment.gateway.v0.models.PaymentMethodStoredDetailsCardInitial
8524
+ | io.flow.payment.gateway.v0.models.PaymentMethodStoredDetailsCardSubsequent;
8512
8525
  type PaymentMethodSummary =
8513
8526
  | io.flow.payment.gateway.v0.models.PaymentMethodSummaryCard
8514
8527
  | io.flow.payment.gateway.v0.models.PaymentMethodSummaryKlarna
@@ -10507,6 +10520,7 @@ declare namespace io.flow.tracking.v0.models {
10507
10520
 
10508
10521
  interface LabelTrackingSummaryUpdate {
10509
10522
  readonly timestamp: string;
10523
+ readonly created_at?: string;
10510
10524
  }
10511
10525
 
10512
10526
  interface Tracking {
@@ -14256,6 +14270,7 @@ declare namespace io.flow.internal.v0.enums {
14256
14270
  | 'facebook_primary'
14257
14271
  | 'facebook_country_override'
14258
14272
  | 'supplemental';
14273
+ type MixedBagWeight = '0' | '1' | '2';
14259
14274
  type NatureOfSale =
14260
14275
  | 'consumer'
14261
14276
  | 'to_non_registered_business'
@@ -14677,6 +14692,7 @@ declare namespace io.flow.internal.v0.models {
14677
14692
  readonly require_payment_request: boolean;
14678
14693
  readonly round_individual_transactions: boolean;
14679
14694
  readonly liabilities_method: io.flow.internal.v0.enums.AccountSettingLiabilitiesMethod;
14695
+ readonly enable_fee_reversals: boolean;
14680
14696
  }
14681
14697
 
14682
14698
  interface AccountSettingsDeleted {
@@ -15975,6 +15991,14 @@ declare namespace io.flow.internal.v0.models {
15975
15991
  readonly data: io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesData;
15976
15992
  }
15977
15993
 
15994
+ interface CatalogSettings {
15995
+ readonly mixed_bag_weight: io.flow.internal.v0.enums.MixedBagWeight;
15996
+ }
15997
+
15998
+ interface CatalogSettingsPutForm {
15999
+ readonly mixed_bag_weight: io.flow.internal.v0.enums.MixedBagWeight;
16000
+ }
16001
+
15978
16002
  interface CenterDefaults {
15979
16003
  readonly packaging: io.flow.fulfillment.v0.models.Packaging[];
15980
16004
  readonly shipping_address_contact: io.flow.common.v0.models.Contact;
@@ -22618,6 +22642,7 @@ declare namespace io.flow.internal.v0.models {
22618
22642
  readonly shop_name: string;
22619
22643
  readonly organization_id: string;
22620
22644
  readonly onboarding_current_state: io.flow.organization.onboarding.state.v0.unions.OnboardingState;
22645
+ readonly setup_completed_at?: string;
22621
22646
  readonly gmv: number;
22622
22647
  }
22623
22648
 
@@ -27491,6 +27516,9 @@ export type CatalogItemRegionAvailabilitiesData =
27491
27516
  io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesData;
27492
27517
  export type CatalogItemRegionAvailabilitiesPublished =
27493
27518
  io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished;
27519
+ export type CatalogSettings = io.flow.internal.v0.models.CatalogSettings;
27520
+ export type CatalogSettingsPutForm =
27521
+ io.flow.internal.v0.models.CatalogSettingsPutForm;
27494
27522
  export type CenterDefaults = io.flow.internal.v0.models.CenterDefaults;
27495
27523
  export type CenterDefaultsForm = io.flow.internal.v0.models.CenterDefaultsForm;
27496
27524
  export type CenterQueryBuilder = io.flow.internal.v0.models.CenterQueryBuilder;
@@ -29622,6 +29650,7 @@ export type MerchantOfRecordEntitySettings =
29622
29650
  io.flow.internal.v0.models.MerchantOfRecordEntitySettings;
29623
29651
  export type MerchantOfRecordEntitySettingsForm =
29624
29652
  io.flow.internal.v0.models.MerchantOfRecordEntitySettingsForm;
29653
+ export type MixedBagWeight = io.flow.internal.v0.enums.MixedBagWeight;
29625
29654
  export type NatureOfSale = io.flow.internal.v0.enums.NatureOfSale;
29626
29655
  export type NextBillingStatement =
29627
29656
  io.flow.internal.v0.models.NextBillingStatement;