@flowio/api-prop-types 10.16.88 → 10.16.89
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/lib/api.d.ts +8 -53
- package/lib/api.js +1 -1
- package/package.json +2 -2
- package/src/api.d.ts +8 -53
- package/src/api.js +22 -53
package/lib/api.d.ts
CHANGED
|
@@ -4796,6 +4796,7 @@ declare namespace io.flow.v0.enums {
|
|
|
4796
4796
|
type ShipmentIntegrationType = 'direct' | 'information' | 'preadvice';
|
|
4797
4797
|
type ShipmentRecipient = 'customer' | 'return' | 'crossdock';
|
|
4798
4798
|
type ShippingConfigurationType = 'default' | 'variant';
|
|
4799
|
+
type ShippingLabelErrorCode = 'generic_error' | 'cancelled_order' | 'carrier_outage' | 'catalog_issue' | 'invalid_destination' | 'invalid_origin' | 'invalid_shipping_parameters' | 'merchant_error' | 'order_not_found' | 'order_processing' | 'restricted_item' | 'unsupported_lane';
|
|
4799
4800
|
type ShopifyGrant = 'customer' | 'discount' | 'gift_card' | 'metafield' | 'order';
|
|
4800
4801
|
type ShopifyLocalizationMethod = 'api' | 'ssr';
|
|
4801
4802
|
type ShopifySyncCheck = 'localized_variants' | 'flow_variant_metafields';
|
|
@@ -6822,19 +6823,6 @@ declare namespace io.flow.v0.models {
|
|
|
6822
6823
|
readonly 'phone'?: string;
|
|
6823
6824
|
}
|
|
6824
6825
|
|
|
6825
|
-
interface Context {
|
|
6826
|
-
readonly 'id': string;
|
|
6827
|
-
readonly 'experiments': io.flow.v0.models.SessionContextExperiment[];
|
|
6828
|
-
}
|
|
6829
|
-
|
|
6830
|
-
interface ContextForm {
|
|
6831
|
-
readonly 'experiments': io.flow.v0.models.SessionContextExperiment[];
|
|
6832
|
-
}
|
|
6833
|
-
|
|
6834
|
-
interface ContextReference {
|
|
6835
|
-
readonly 'id': string;
|
|
6836
|
-
}
|
|
6837
|
-
|
|
6838
6826
|
interface Country {
|
|
6839
6827
|
readonly 'name': string;
|
|
6840
6828
|
readonly 'iso_3166_2': string;
|
|
@@ -8106,10 +8094,6 @@ declare namespace io.flow.v0.models {
|
|
|
8106
8094
|
readonly 'experience': io.flow.v0.models.Experience;
|
|
8107
8095
|
}
|
|
8108
8096
|
|
|
8109
|
-
interface ExperimentVariant {
|
|
8110
|
-
readonly 'key': string;
|
|
8111
|
-
}
|
|
8112
|
-
|
|
8113
8097
|
interface Expiration {
|
|
8114
8098
|
readonly 'month': number;
|
|
8115
8099
|
readonly 'year': number;
|
|
@@ -9510,7 +9494,6 @@ declare namespace io.flow.v0.models {
|
|
|
9510
9494
|
readonly 'language': io.flow.v0.models.Language;
|
|
9511
9495
|
readonly 'locale': io.flow.v0.models.Locale;
|
|
9512
9496
|
readonly 'experience': io.flow.v0.models.ExperienceGeo;
|
|
9513
|
-
readonly 'experiment'?: io.flow.v0.models.SessionExperiment;
|
|
9514
9497
|
}
|
|
9515
9498
|
|
|
9516
9499
|
interface Locale {
|
|
@@ -10847,8 +10830,6 @@ declare namespace io.flow.v0.models {
|
|
|
10847
10830
|
readonly 'geo'?: io.flow.v0.models.SessionGeo;
|
|
10848
10831
|
readonly 'experience'?: io.flow.v0.models.ExperienceGeo;
|
|
10849
10832
|
readonly 'format'?: io.flow.v0.models.SessionFormat;
|
|
10850
|
-
readonly 'experiment'?: io.flow.v0.models.SessionExperiment;
|
|
10851
|
-
readonly 'context'?: io.flow.v0.models.ContextReference;
|
|
10852
10833
|
}
|
|
10853
10834
|
|
|
10854
10835
|
interface OrganizationSessionAuthorization {
|
|
@@ -13154,35 +13135,11 @@ declare namespace io.flow.v0.models {
|
|
|
13154
13135
|
readonly 'session': string;
|
|
13155
13136
|
}
|
|
13156
13137
|
|
|
13157
|
-
interface SessionContextExperiment {
|
|
13158
|
-
readonly 'key': string;
|
|
13159
|
-
readonly 'variant'?: io.flow.v0.models.ExperimentVariant;
|
|
13160
|
-
}
|
|
13161
|
-
|
|
13162
13138
|
interface SessionCurrencyFormat {
|
|
13163
13139
|
readonly 'symbol': io.flow.v0.enums.CurrencySymbolFormat;
|
|
13164
13140
|
readonly 'label_formatters': io.flow.v0.enums.CurrencyLabelFormatter[];
|
|
13165
13141
|
}
|
|
13166
13142
|
|
|
13167
|
-
interface SessionExperiment {
|
|
13168
|
-
readonly 'key': string;
|
|
13169
|
-
readonly 'variant'?: io.flow.v0.models.SessionExperimentVariant;
|
|
13170
|
-
}
|
|
13171
|
-
|
|
13172
|
-
interface SessionExperimentForm {
|
|
13173
|
-
readonly 'key': string;
|
|
13174
|
-
readonly 'variant'?: io.flow.v0.models.SessionExperimentVariantForm;
|
|
13175
|
-
}
|
|
13176
|
-
|
|
13177
|
-
interface SessionExperimentVariant {
|
|
13178
|
-
readonly 'key': string;
|
|
13179
|
-
readonly 'name': string;
|
|
13180
|
-
}
|
|
13181
|
-
|
|
13182
|
-
interface SessionExperimentVariantForm {
|
|
13183
|
-
readonly 'key': string;
|
|
13184
|
-
}
|
|
13185
|
-
|
|
13186
13143
|
interface SessionExpirationConfig {
|
|
13187
13144
|
readonly 'unit': io.flow.v0.enums.UnitOfTime;
|
|
13188
13145
|
readonly 'value': number;
|
|
@@ -13426,6 +13383,11 @@ declare namespace io.flow.v0.models {
|
|
|
13426
13383
|
readonly 'required': boolean;
|
|
13427
13384
|
}
|
|
13428
13385
|
|
|
13386
|
+
interface ShippingLabelError {
|
|
13387
|
+
readonly 'code': io.flow.v0.enums.ShippingLabelErrorCode;
|
|
13388
|
+
readonly 'messages': string[];
|
|
13389
|
+
}
|
|
13390
|
+
|
|
13429
13391
|
interface ShippingLabelHopCostItemizedEstimate {
|
|
13430
13392
|
readonly 'units': io.flow.v0.models.LabelUnits;
|
|
13431
13393
|
readonly 'base': io.flow.v0.models.LabelBase;
|
|
@@ -15360,6 +15322,7 @@ export const scheduleExceptionStatus: PropTypes.Requireable<io.flow.v0.enums.Sch
|
|
|
15360
15322
|
export const shipmentIntegrationType: PropTypes.Requireable<io.flow.v0.enums.ShipmentIntegrationType>;
|
|
15361
15323
|
export const shipmentRecipient: PropTypes.Requireable<io.flow.v0.enums.ShipmentRecipient>;
|
|
15362
15324
|
export const shippingConfigurationType: PropTypes.Requireable<io.flow.v0.enums.ShippingConfigurationType>;
|
|
15325
|
+
export const shippingLabelErrorCode: PropTypes.Requireable<io.flow.v0.enums.ShippingLabelErrorCode>;
|
|
15363
15326
|
export const shopifyGrant: PropTypes.Requireable<io.flow.v0.enums.ShopifyGrant>;
|
|
15364
15327
|
export const shopifyLocalizationMethod: PropTypes.Requireable<io.flow.v0.enums.ShopifyLocalizationMethod>;
|
|
15365
15328
|
export const shopifySyncCheck: PropTypes.Requireable<io.flow.v0.enums.ShopifySyncCheck>;
|
|
@@ -15670,9 +15633,6 @@ export const consumerInvoicePayment: PropTypes.Requireable<io.flow.v0.models.Con
|
|
|
15670
15633
|
export const consumerInvoiceReference: PropTypes.Requireable<io.flow.v0.models.ConsumerInvoiceReference>;
|
|
15671
15634
|
export const consumerInvoiceUpserted: PropTypes.Requireable<io.flow.v0.models.ConsumerInvoiceUpserted>;
|
|
15672
15635
|
export const contact: PropTypes.Requireable<io.flow.v0.models.Contact>;
|
|
15673
|
-
export const context: PropTypes.Requireable<io.flow.v0.models.Context>;
|
|
15674
|
-
export const contextForm: PropTypes.Requireable<io.flow.v0.models.ContextForm>;
|
|
15675
|
-
export const contextReference: PropTypes.Requireable<io.flow.v0.models.ContextReference>;
|
|
15676
15636
|
export const country: PropTypes.Requireable<io.flow.v0.models.Country>;
|
|
15677
15637
|
export const countryAvailability: PropTypes.Requireable<io.flow.v0.models.CountryAvailability>;
|
|
15678
15638
|
export const countryDefaults: PropTypes.Requireable<io.flow.v0.models.CountryDefaults>;
|
|
@@ -15857,7 +15817,6 @@ export const experienceSummary: PropTypes.Requireable<io.flow.v0.models.Experien
|
|
|
15857
15817
|
export const experienceUpserted: PropTypes.Requireable<io.flow.v0.models.ExperienceUpserted>;
|
|
15858
15818
|
export const experienceUpsertedV2: PropTypes.Requireable<io.flow.v0.models.ExperienceUpsertedV2>;
|
|
15859
15819
|
export const experienceVersion: PropTypes.Requireable<io.flow.v0.models.ExperienceVersion>;
|
|
15860
|
-
export const experimentVariant: PropTypes.Requireable<io.flow.v0.models.ExperimentVariant>;
|
|
15861
15820
|
export const expiration: PropTypes.Requireable<io.flow.v0.models.Expiration>;
|
|
15862
15821
|
export const UNSAFE_export: PropTypes.Requireable<io.flow.v0.models.Export>;
|
|
15863
15822
|
export const exportDeliveryEmail: PropTypes.Requireable<io.flow.v0.models.ExportDeliveryEmail>;
|
|
@@ -16557,12 +16516,7 @@ export const serviceReference: PropTypes.Requireable<io.flow.v0.models.ServiceRe
|
|
|
16557
16516
|
export const serviceSummary: PropTypes.Requireable<io.flow.v0.models.ServiceSummary>;
|
|
16558
16517
|
export const serviceUnknown: PropTypes.Requireable<io.flow.v0.models.ServiceUnknown>;
|
|
16559
16518
|
export const sessionAuthorizationForm: PropTypes.Requireable<io.flow.v0.models.SessionAuthorizationForm>;
|
|
16560
|
-
export const sessionContextExperiment: PropTypes.Requireable<io.flow.v0.models.SessionContextExperiment>;
|
|
16561
16519
|
export const sessionCurrencyFormat: PropTypes.Requireable<io.flow.v0.models.SessionCurrencyFormat>;
|
|
16562
|
-
export const sessionExperiment: PropTypes.Requireable<io.flow.v0.models.SessionExperiment>;
|
|
16563
|
-
export const sessionExperimentForm: PropTypes.Requireable<io.flow.v0.models.SessionExperimentForm>;
|
|
16564
|
-
export const sessionExperimentVariant: PropTypes.Requireable<io.flow.v0.models.SessionExperimentVariant>;
|
|
16565
|
-
export const sessionExperimentVariantForm: PropTypes.Requireable<io.flow.v0.models.SessionExperimentVariantForm>;
|
|
16566
16520
|
export const sessionExpirationConfig: PropTypes.Requireable<io.flow.v0.models.SessionExpirationConfig>;
|
|
16567
16521
|
export const sessionForm: PropTypes.Requireable<io.flow.v0.models.SessionForm>;
|
|
16568
16522
|
export const sessionFormat: PropTypes.Requireable<io.flow.v0.models.SessionFormat>;
|
|
@@ -16596,6 +16550,7 @@ export const shippingConfigurationUpserted: PropTypes.Requireable<io.flow.v0.mod
|
|
|
16596
16550
|
export const shippingConfigurationVersion: PropTypes.Requireable<io.flow.v0.models.ShippingConfigurationVersion>;
|
|
16597
16551
|
export const shippingLabel: PropTypes.Requireable<io.flow.v0.models.ShippingLabel>;
|
|
16598
16552
|
export const shippingLabelDocument: PropTypes.Requireable<io.flow.v0.models.ShippingLabelDocument>;
|
|
16553
|
+
export const shippingLabelError: PropTypes.Requireable<io.flow.v0.models.ShippingLabelError>;
|
|
16599
16554
|
export const shippingLabelHopCostItemizedEstimate: PropTypes.Requireable<io.flow.v0.models.ShippingLabelHopCostItemizedEstimate>;
|
|
16600
16555
|
export const shippingLabelHopSummary: PropTypes.Requireable<io.flow.v0.models.ShippingLabelHopSummary>;
|
|
16601
16556
|
export const shippingLabelLaneSummary: PropTypes.Requireable<io.flow.v0.models.ShippingLabelLaneSummary>;
|