@flowio/types 10.6.3 → 10.7.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.
@@ -2107,6 +2107,7 @@ declare namespace io.flow.RESERVED_WORD_export.v0.unions {
2107
2107
  }
2108
2108
  declare namespace io.flow.RESERVED_WORD_return.v0.enums {
2109
2109
  type ReturnStatus = 'open' | 'refunded';
2110
+ type ReturnTrackingStatus = 'return_registered_online' | 'received_by_the_carrier' | 'in_transit_to_our_local_hub' | 'received_at_our_local_hub' | 'processed_by_hub' | 'parcel_has_been_added_to_pallet' | 'parcel_has_been_extracted_from_pallet' | 'in_transit_to_the_retailer' | 'delivered_to_the_retailer' | 'parcel_lost' | 'canceled' | 'parcel_processed_by_retailer' | 'parcel_delayed' | 'collection_attempt_failed' | 'parcel_under_investigation' | 'awaiting_customs_clearance' | 'customs_clearance_completed' | 'cancel_requested';
2110
2111
  }
2111
2112
  declare namespace io.flow.RESERVED_WORD_return.v0.models {
2112
2113
  interface Return {
@@ -16656,6 +16657,17 @@ declare namespace io.flow.internal.v0.models {
16656
16657
  interface KeyReference {
16657
16658
  readonly id: string;
16658
16659
  }
16660
+ interface KlarnaAuthorizationParameters {
16661
+ readonly discriminator: 'klarna_authorization_parameters';
16662
+ readonly client_token: string;
16663
+ readonly payment_method_categories: io.flow.internal.v0.models.KlarnaPaymentMethodCategory[];
16664
+ }
16665
+ interface KlarnaPaymentMethodCategory {
16666
+ readonly id: string;
16667
+ readonly name?: string;
16668
+ readonly standard_asset_url?: string;
16669
+ readonly descriptive_asset_url?: string;
16670
+ }
16659
16671
  interface LabProjectSettings {
16660
16672
  readonly id: string;
16661
16673
  readonly flow_lab_project_key: string;
@@ -19292,6 +19304,7 @@ declare namespace io.flow.internal.v0.unions {
19292
19304
  type FeatureValue = io.flow.internal.v0.models.BooleanFeatureValue | io.flow.internal.v0.models.StringFeatureValue;
19293
19305
  type GlobalSearchResult = io.flow.internal.v0.models.SearchExperienceSummary | io.flow.internal.v0.models.SearchExperimentSummary | io.flow.internal.v0.models.SearchOrderSummary | io.flow.internal.v0.models.SearchItemSummary;
19294
19306
  type IndexTaskType = io.flow.internal.v0.models.CatalogItemIndexTask | io.flow.internal.v0.models.CatalogItemBatchIndexTask | io.flow.internal.v0.models.CatalogItemDeleteIndexTask | io.flow.internal.v0.models.ChangeSettingsIndexTask | io.flow.internal.v0.models.DeleteIndexTask;
19307
+ type InlineAuthorizationParameters = io.flow.internal.v0.models.KlarnaAuthorizationParameters;
19295
19308
  type InternalAuthorizationDetails = io.flow.internal.v0.models.InternalPaypalAuthorizationDetails | io.flow.internal.v0.models.InternalBitpayAuthorizationDetails | io.flow.internal.v0.models.InternalStripeAuthorizationDetails | io.flow.internal.v0.models.InternalAdyenAuthorizationDetails | io.flow.internal.v0.models.InternalAfterpayAuthorizationDetails | io.flow.internal.v0.models.InternalFiservAuthorizationDetails;
19296
19309
  type InternalHarmonizationStatistic = io.flow.internal.v0.models.TimeToClassify | io.flow.internal.v0.models.TimeToClassifyAggregated | io.flow.internal.v0.models.RateSourceSummary | io.flow.internal.v0.models.RateFreshnessSummary;
19297
19310
  type InternalRefundForm = io.flow.internal.v0.models.AdyenRefundForm;
@@ -20094,6 +20107,7 @@ export declare type HttpMethod = io.flow.internal.v0.enums.HttpMethod;
20094
20107
  export declare type ImportCompleted = io.flow.internal.v0.models.ImportCompleted;
20095
20108
  export declare type ImportFailed = io.flow.internal.v0.models.ImportFailed;
20096
20109
  export declare type IndexTaskType = io.flow.internal.v0.unions.IndexTaskType;
20110
+ export declare type InlineAuthorizationParameters = io.flow.internal.v0.unions.InlineAuthorizationParameters;
20097
20111
  export declare type InstallForm = io.flow.internal.v0.models.InstallForm;
20098
20112
  export declare type InternalAdyenAuthorizationDetails = io.flow.internal.v0.models.InternalAdyenAuthorizationDetails;
20099
20113
  export declare type InternalAfterpayAuthorizationDetails = io.flow.internal.v0.models.InternalAfterpayAuthorizationDetails;
@@ -20154,6 +20168,8 @@ export declare type ItemValuesForm = io.flow.internal.v0.models.ItemValuesForm;
20154
20168
  export declare type ItemsShipped = io.flow.internal.v0.models.ItemsShipped;
20155
20169
  export declare type Key = io.flow.internal.v0.models.Key;
20156
20170
  export declare type KeyReference = io.flow.internal.v0.models.KeyReference;
20171
+ export declare type KlarnaAuthorizationParameters = io.flow.internal.v0.models.KlarnaAuthorizationParameters;
20172
+ export declare type KlarnaPaymentMethodCategory = io.flow.internal.v0.models.KlarnaPaymentMethodCategory;
20157
20173
  export declare type LabProjectSettings = io.flow.internal.v0.models.LabProjectSettings;
20158
20174
  export declare type LabProjectSettingsForm = io.flow.internal.v0.models.LabProjectSettingsForm;
20159
20175
  export declare type LabProjectSettingsFormAcceptance = io.flow.internal.v0.models.LabProjectSettingsFormAcceptance;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "10.6.3",
3
+ "version": "10.7.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",
@@ -25,5 +25,5 @@
25
25
  "maintainers": [
26
26
  "Christian Muñoz <christian.munoz@flow.io>"
27
27
  ],
28
- "gitHead": "fba4c6a6a597e1843f689a7a58f6159131364578"
28
+ "gitHead": "573a2c80bc1af72c86189bbc9f8a347c7f1dcb77"
29
29
  }
@@ -2876,6 +2876,25 @@ declare namespace io.flow.RESERVED_WORD_export.v0.unions {
2876
2876
 
2877
2877
  declare namespace io.flow.RESERVED_WORD_return.v0.enums {
2878
2878
  type ReturnStatus = 'open' | 'refunded';
2879
+ type ReturnTrackingStatus =
2880
+ | 'return_registered_online'
2881
+ | 'received_by_the_carrier'
2882
+ | 'in_transit_to_our_local_hub'
2883
+ | 'received_at_our_local_hub'
2884
+ | 'processed_by_hub'
2885
+ | 'parcel_has_been_added_to_pallet'
2886
+ | 'parcel_has_been_extracted_from_pallet'
2887
+ | 'in_transit_to_the_retailer'
2888
+ | 'delivered_to_the_retailer'
2889
+ | 'parcel_lost'
2890
+ | 'canceled'
2891
+ | 'parcel_processed_by_retailer'
2892
+ | 'parcel_delayed'
2893
+ | 'collection_attempt_failed'
2894
+ | 'parcel_under_investigation'
2895
+ | 'awaiting_customs_clearance'
2896
+ | 'customs_clearance_completed'
2897
+ | 'cancel_requested';
2879
2898
  }
2880
2899
 
2881
2900
  declare namespace io.flow.RESERVED_WORD_return.v0.models {
@@ -21627,6 +21646,19 @@ declare namespace io.flow.internal.v0.models {
21627
21646
  readonly id: string;
21628
21647
  }
21629
21648
 
21649
+ interface KlarnaAuthorizationParameters {
21650
+ readonly discriminator: 'klarna_authorization_parameters';
21651
+ readonly client_token: string;
21652
+ readonly payment_method_categories: io.flow.internal.v0.models.KlarnaPaymentMethodCategory[];
21653
+ }
21654
+
21655
+ interface KlarnaPaymentMethodCategory {
21656
+ readonly id: string;
21657
+ readonly name?: string;
21658
+ readonly standard_asset_url?: string;
21659
+ readonly descriptive_asset_url?: string;
21660
+ }
21661
+
21630
21662
  interface LabProjectSettings {
21631
21663
  readonly id: string;
21632
21664
  readonly flow_lab_project_key: string;
@@ -25036,6 +25068,7 @@ declare namespace io.flow.internal.v0.unions {
25036
25068
  | io.flow.internal.v0.models.CatalogItemDeleteIndexTask
25037
25069
  | io.flow.internal.v0.models.ChangeSettingsIndexTask
25038
25070
  | io.flow.internal.v0.models.DeleteIndexTask;
25071
+ type InlineAuthorizationParameters = io.flow.internal.v0.models.KlarnaAuthorizationParameters;
25039
25072
  type InternalAuthorizationDetails =
25040
25073
  | io.flow.internal.v0.models.InternalPaypalAuthorizationDetails
25041
25074
  | io.flow.internal.v0.models.InternalBitpayAuthorizationDetails
@@ -25936,6 +25969,7 @@ export type HttpMethod = io.flow.internal.v0.enums.HttpMethod;
25936
25969
  export type ImportCompleted = io.flow.internal.v0.models.ImportCompleted;
25937
25970
  export type ImportFailed = io.flow.internal.v0.models.ImportFailed;
25938
25971
  export type IndexTaskType = io.flow.internal.v0.unions.IndexTaskType;
25972
+ export type InlineAuthorizationParameters = io.flow.internal.v0.unions.InlineAuthorizationParameters;
25939
25973
  export type InstallForm = io.flow.internal.v0.models.InstallForm;
25940
25974
  export type InternalAdyenAuthorizationDetails = io.flow.internal.v0.models.InternalAdyenAuthorizationDetails;
25941
25975
  export type InternalAfterpayAuthorizationDetails = io.flow.internal.v0.models.InternalAfterpayAuthorizationDetails;
@@ -25996,6 +26030,8 @@ export type ItemValuesForm = io.flow.internal.v0.models.ItemValuesForm;
25996
26030
  export type ItemsShipped = io.flow.internal.v0.models.ItemsShipped;
25997
26031
  export type Key = io.flow.internal.v0.models.Key;
25998
26032
  export type KeyReference = io.flow.internal.v0.models.KeyReference;
26033
+ export type KlarnaAuthorizationParameters = io.flow.internal.v0.models.KlarnaAuthorizationParameters;
26034
+ export type KlarnaPaymentMethodCategory = io.flow.internal.v0.models.KlarnaPaymentMethodCategory;
25999
26035
  export type LabProjectSettings = io.flow.internal.v0.models.LabProjectSettings;
26000
26036
  export type LabProjectSettingsForm = io.flow.internal.v0.models.LabProjectSettingsForm;
26001
26037
  export type LabProjectSettingsFormAcceptance = io.flow.internal.v0.models.LabProjectSettingsFormAcceptance;