@flowio/types 11.24.111 → 11.24.112
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-internal.d.ts +53 -326
- package/dist/api.d.ts +20 -54
- package/package.json +2 -2
- package/src/api-internal.ts +69 -419
- package/src/api.ts +24 -75
package/src/api.ts
CHANGED
|
@@ -2074,6 +2074,12 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2074
2074
|
interface GraphqlMetaobject {
|
|
2075
2075
|
readonly id: string;
|
|
2076
2076
|
readonly displayName: string;
|
|
2077
|
+
readonly fields: io.flow.shopify.external.v0.models.GraphqlMetaobjectField[];
|
|
2078
|
+
}
|
|
2079
|
+
|
|
2080
|
+
interface GraphqlMetaobjectField {
|
|
2081
|
+
readonly key: string;
|
|
2082
|
+
readonly value?: string;
|
|
2077
2083
|
}
|
|
2078
2084
|
|
|
2079
2085
|
interface GraphqlOption {
|
|
@@ -6203,9 +6209,9 @@ declare namespace io.flow.v0.enums {
|
|
|
6203
6209
|
type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
|
|
6204
6210
|
type EntityIdentifierType = 'ioss' | 'voec' | 'zaz';
|
|
6205
6211
|
type Environment = 'sandbox' | 'production';
|
|
6212
|
+
type EstimateOrigin = 'Shopify' | 'GlobalE' | 'Aftership' | 'Carrier';
|
|
6213
|
+
type EstimateType = 'Estimated' | 'Final';
|
|
6206
6214
|
type EventType =
|
|
6207
|
-
| 'authorization_retry_upserted'
|
|
6208
|
-
| 'authorization_retry_deleted'
|
|
6209
6215
|
| 'test_upserted'
|
|
6210
6216
|
| 'generate_load'
|
|
6211
6217
|
| 'aldo_item_upserted'
|
|
@@ -6347,10 +6353,6 @@ declare namespace io.flow.v0.enums {
|
|
|
6347
6353
|
| 'label_processing_modification_deleted'
|
|
6348
6354
|
| 'merchant_application_upserted'
|
|
6349
6355
|
| 'merchant_application_deleted'
|
|
6350
|
-
| 'checkout_optin_responses_upserted'
|
|
6351
|
-
| 'checkout_optin_responses_deleted'
|
|
6352
|
-
| 'browse_optin_responses_upserted'
|
|
6353
|
-
| 'browse_optin_responses_deleted'
|
|
6354
6356
|
| 'order_placed'
|
|
6355
6357
|
| 'order_placed_v2'
|
|
6356
6358
|
| 'ready_to_fulfill'
|
|
@@ -6392,6 +6394,8 @@ declare namespace io.flow.v0.enums {
|
|
|
6392
6394
|
| 'virtual_card_capture_deleted'
|
|
6393
6395
|
| 'virtual_card_refund_upserted'
|
|
6394
6396
|
| 'virtual_card_refund_deleted'
|
|
6397
|
+
| 'authorization_retry_upserted'
|
|
6398
|
+
| 'authorization_retry_deleted'
|
|
6395
6399
|
| 'payment_request_upserted'
|
|
6396
6400
|
| 'payment_request_deleted'
|
|
6397
6401
|
| 'price_book_upserted'
|
|
@@ -6583,7 +6587,6 @@ declare namespace io.flow.v0.enums {
|
|
|
6583
6587
|
| 'toys_hobbies_gifts'
|
|
6584
6588
|
| 'vehicles_and_parts'
|
|
6585
6589
|
| 'other';
|
|
6586
|
-
type OptinResponseType = 'not_shown' | 'opted_in' | 'opted_out';
|
|
6587
6590
|
type OrderChangeSource =
|
|
6588
6591
|
| 'consumer'
|
|
6589
6592
|
| 'retailer'
|
|
@@ -8074,28 +8077,6 @@ declare namespace io.flow.v0.models {
|
|
|
8074
8077
|
readonly hub_code?: string;
|
|
8075
8078
|
}
|
|
8076
8079
|
|
|
8077
|
-
interface BrowseOptinResponses {
|
|
8078
|
-
readonly id: string;
|
|
8079
|
-
readonly session_id: string;
|
|
8080
|
-
readonly optin_responses: io.flow.v0.models.OptinResponse[];
|
|
8081
|
-
}
|
|
8082
|
-
|
|
8083
|
-
interface BrowseOptinResponsesDeleted {
|
|
8084
|
-
readonly discriminator: 'browse_optin_responses_deleted';
|
|
8085
|
-
readonly event_id: string;
|
|
8086
|
-
readonly timestamp: string;
|
|
8087
|
-
readonly organization: string;
|
|
8088
|
-
readonly id: string;
|
|
8089
|
-
}
|
|
8090
|
-
|
|
8091
|
-
interface BrowseOptinResponsesUpserted {
|
|
8092
|
-
readonly discriminator: 'browse_optin_responses_upserted';
|
|
8093
|
-
readonly event_id: string;
|
|
8094
|
-
readonly timestamp: string;
|
|
8095
|
-
readonly organization: string;
|
|
8096
|
-
readonly browse_optin_responses: io.flow.v0.models.BrowseOptinResponses;
|
|
8097
|
-
}
|
|
8098
|
-
|
|
8099
8080
|
interface BrowserInfo {
|
|
8100
8081
|
readonly origin?: string;
|
|
8101
8082
|
readonly language?: string;
|
|
@@ -8922,29 +8903,6 @@ declare namespace io.flow.v0.models {
|
|
|
8922
8903
|
readonly value: string;
|
|
8923
8904
|
}
|
|
8924
8905
|
|
|
8925
|
-
interface CheckoutOptinResponses {
|
|
8926
|
-
readonly id: string;
|
|
8927
|
-
readonly order_number: string;
|
|
8928
|
-
readonly session_id: string;
|
|
8929
|
-
readonly optin_responses: io.flow.v0.models.OptinResponse[];
|
|
8930
|
-
}
|
|
8931
|
-
|
|
8932
|
-
interface CheckoutOptinResponsesDeleted {
|
|
8933
|
-
readonly discriminator: 'checkout_optin_responses_deleted';
|
|
8934
|
-
readonly event_id: string;
|
|
8935
|
-
readonly timestamp: string;
|
|
8936
|
-
readonly organization: string;
|
|
8937
|
-
readonly id: string;
|
|
8938
|
-
}
|
|
8939
|
-
|
|
8940
|
-
interface CheckoutOptinResponsesUpserted {
|
|
8941
|
-
readonly discriminator: 'checkout_optin_responses_upserted';
|
|
8942
|
-
readonly event_id: string;
|
|
8943
|
-
readonly timestamp: string;
|
|
8944
|
-
readonly organization: string;
|
|
8945
|
-
readonly checkout_optin_responses: io.flow.v0.models.CheckoutOptinResponses;
|
|
8946
|
-
}
|
|
8947
|
-
|
|
8948
8906
|
interface CheckoutReference {
|
|
8949
8907
|
readonly id: string;
|
|
8950
8908
|
}
|
|
@@ -10064,6 +10022,15 @@ declare namespace io.flow.v0.models {
|
|
|
10064
10022
|
readonly issuing_country?: string;
|
|
10065
10023
|
}
|
|
10066
10024
|
|
|
10025
|
+
interface Estimate {
|
|
10026
|
+
readonly id: string;
|
|
10027
|
+
readonly organization_id: string;
|
|
10028
|
+
readonly label_id: string;
|
|
10029
|
+
readonly estimate: io.flow.v0.models.ShippingLabelHopSummary;
|
|
10030
|
+
readonly type: io.flow.v0.enums.EstimateType;
|
|
10031
|
+
readonly origin?: io.flow.v0.enums.EstimateOrigin;
|
|
10032
|
+
}
|
|
10033
|
+
|
|
10067
10034
|
interface EstimatedDimensions {
|
|
10068
10035
|
readonly depth: io.flow.v0.models.Measurement;
|
|
10069
10036
|
readonly length: io.flow.v0.models.Measurement;
|
|
@@ -12326,11 +12293,6 @@ declare namespace io.flow.v0.models {
|
|
|
12326
12293
|
readonly phone?: string;
|
|
12327
12294
|
}
|
|
12328
12295
|
|
|
12329
|
-
interface OptinResponse {
|
|
12330
|
-
readonly key: string;
|
|
12331
|
-
readonly value: io.flow.v0.enums.OptinResponseType;
|
|
12332
|
-
}
|
|
12333
|
-
|
|
12334
12296
|
interface OptionWeightEstimates {
|
|
12335
12297
|
readonly gravitational: io.flow.v0.models.Measurement;
|
|
12336
12298
|
readonly dimensional: io.flow.v0.models.Measurement;
|
|
@@ -17354,8 +17316,6 @@ declare namespace io.flow.v0.unions {
|
|
|
17354
17316
|
| io.flow.v0.models.EmailNotificationAbandonedOrder;
|
|
17355
17317
|
type Entity = io.flow.v0.models.Company | io.flow.v0.models.Individual;
|
|
17356
17318
|
type Event =
|
|
17357
|
-
| io.flow.v0.models.AuthorizationRetryUpserted
|
|
17358
|
-
| io.flow.v0.models.AuthorizationRetryDeleted
|
|
17359
17319
|
| io.flow.v0.models.TestUpserted
|
|
17360
17320
|
| io.flow.v0.models.GenerateLoad
|
|
17361
17321
|
| io.flow.v0.models.AldoItemUpserted
|
|
@@ -17497,10 +17457,6 @@ declare namespace io.flow.v0.unions {
|
|
|
17497
17457
|
| io.flow.v0.models.LabelProcessingModificationDeleted
|
|
17498
17458
|
| io.flow.v0.models.MerchantApplicationUpserted
|
|
17499
17459
|
| io.flow.v0.models.MerchantApplicationDeleted
|
|
17500
|
-
| io.flow.v0.models.CheckoutOptinResponsesUpserted
|
|
17501
|
-
| io.flow.v0.models.CheckoutOptinResponsesDeleted
|
|
17502
|
-
| io.flow.v0.models.BrowseOptinResponsesUpserted
|
|
17503
|
-
| io.flow.v0.models.BrowseOptinResponsesDeleted
|
|
17504
17460
|
| io.flow.v0.models.OrderPlaced
|
|
17505
17461
|
| io.flow.v0.models.OrderPlacedV2
|
|
17506
17462
|
| io.flow.v0.models.ReadyToFulfill
|
|
@@ -17542,6 +17498,8 @@ declare namespace io.flow.v0.unions {
|
|
|
17542
17498
|
| io.flow.v0.models.VirtualCardCaptureDeleted
|
|
17543
17499
|
| io.flow.v0.models.VirtualCardRefundUpserted
|
|
17544
17500
|
| io.flow.v0.models.VirtualCardRefundDeleted
|
|
17501
|
+
| io.flow.v0.models.AuthorizationRetryUpserted
|
|
17502
|
+
| io.flow.v0.models.AuthorizationRetryDeleted
|
|
17545
17503
|
| io.flow.v0.models.PaymentRequestUpserted
|
|
17546
17504
|
| io.flow.v0.models.PaymentRequestDeleted
|
|
17547
17505
|
| io.flow.v0.models.PriceBookUpserted
|
|
@@ -18099,11 +18057,6 @@ export type BillingDiscount = io.flow.v0.models.BillingDiscount;
|
|
|
18099
18057
|
export type BridgeManifest = io.flow.v0.models.BridgeManifest;
|
|
18100
18058
|
export type BridgeManifestForm = io.flow.v0.models.BridgeManifestForm;
|
|
18101
18059
|
export type BridgeShippingLabelForm = io.flow.v0.models.BridgeShippingLabelForm;
|
|
18102
|
-
export type BrowseOptinResponses = io.flow.v0.models.BrowseOptinResponses;
|
|
18103
|
-
export type BrowseOptinResponsesDeleted =
|
|
18104
|
-
io.flow.v0.models.BrowseOptinResponsesDeleted;
|
|
18105
|
-
export type BrowseOptinResponsesUpserted =
|
|
18106
|
-
io.flow.v0.models.BrowseOptinResponsesUpserted;
|
|
18107
18060
|
export type BrowserActionConfiguration =
|
|
18108
18061
|
io.flow.v0.unions.BrowserActionConfiguration;
|
|
18109
18062
|
export type BrowserInfo = io.flow.v0.models.BrowserInfo;
|
|
@@ -18265,11 +18218,6 @@ export type CheckoutAttributeForm = io.flow.v0.models.CheckoutAttributeForm;
|
|
|
18265
18218
|
export type CheckoutItemContent = io.flow.v0.models.CheckoutItemContent;
|
|
18266
18219
|
export type CheckoutItemContentAttribute =
|
|
18267
18220
|
io.flow.v0.models.CheckoutItemContentAttribute;
|
|
18268
|
-
export type CheckoutOptinResponses = io.flow.v0.models.CheckoutOptinResponses;
|
|
18269
|
-
export type CheckoutOptinResponsesDeleted =
|
|
18270
|
-
io.flow.v0.models.CheckoutOptinResponsesDeleted;
|
|
18271
|
-
export type CheckoutOptinResponsesUpserted =
|
|
18272
|
-
io.flow.v0.models.CheckoutOptinResponsesUpserted;
|
|
18273
18221
|
export type CheckoutReference = io.flow.v0.models.CheckoutReference;
|
|
18274
18222
|
export type CheckoutToken = io.flow.v0.models.CheckoutToken;
|
|
18275
18223
|
export type CheckoutTokenForm = io.flow.v0.unions.CheckoutTokenForm;
|
|
@@ -18517,6 +18465,9 @@ export type Entity = io.flow.v0.unions.Entity;
|
|
|
18517
18465
|
export type EntityIdentifier = io.flow.v0.models.EntityIdentifier;
|
|
18518
18466
|
export type EntityIdentifierType = io.flow.v0.enums.EntityIdentifierType;
|
|
18519
18467
|
export type Environment = io.flow.v0.enums.Environment;
|
|
18468
|
+
export type Estimate = io.flow.v0.models.Estimate;
|
|
18469
|
+
export type EstimateOrigin = io.flow.v0.enums.EstimateOrigin;
|
|
18470
|
+
export type EstimateType = io.flow.v0.enums.EstimateType;
|
|
18520
18471
|
export type EstimatedDimensions = io.flow.v0.models.EstimatedDimensions;
|
|
18521
18472
|
export type EstimatedWindow = io.flow.v0.models.EstimatedWindow;
|
|
18522
18473
|
export type Event = io.flow.v0.unions.Event;
|
|
@@ -19022,8 +18973,6 @@ export type OnlineAuthorizationUpsertedV2 =
|
|
|
19022
18973
|
export type OnlinePaymentAuthorizationForm =
|
|
19023
18974
|
io.flow.v0.models.OnlinePaymentAuthorizationForm;
|
|
19024
18975
|
export type OperationsContact = io.flow.v0.models.OperationsContact;
|
|
19025
|
-
export type OptinResponse = io.flow.v0.models.OptinResponse;
|
|
19026
|
-
export type OptinResponseType = io.flow.v0.enums.OptinResponseType;
|
|
19027
18976
|
export type OptionWeightEstimates = io.flow.v0.models.OptionWeightEstimates;
|
|
19028
18977
|
export type Options = io.flow.v0.models.Options;
|
|
19029
18978
|
export type Order = io.flow.v0.models.Order;
|