@flowio/types 11.24.21 → 11.24.22
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 +12 -1
- package/dist/api.d.ts +26 -3
- package/package.json +2 -2
- package/src/api-internal.ts +13 -1
- package/src/api.ts +34 -3
package/dist/api-internal.d.ts
CHANGED
|
@@ -1509,6 +1509,10 @@ declare namespace io.flow.payment.v0.models {
|
|
|
1509
1509
|
readonly validation_url: string;
|
|
1510
1510
|
readonly display_name?: string;
|
|
1511
1511
|
}
|
|
1512
|
+
interface AuthorizationCode {
|
|
1513
|
+
readonly result_code: string;
|
|
1514
|
+
readonly code: string;
|
|
1515
|
+
}
|
|
1512
1516
|
interface AuthorizationCopyForm {
|
|
1513
1517
|
readonly discriminator: 'authorization_copy_form';
|
|
1514
1518
|
readonly source_authorization_key: string;
|
|
@@ -1542,6 +1546,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
1542
1546
|
readonly cvv?: io.flow.payment.v0.models.Cvv;
|
|
1543
1547
|
readonly three_d_secure?: io.flow.payment.v0.models.ThreeDSecure;
|
|
1544
1548
|
readonly description?: io.flow.payment.v0.models.AuthorizationResultDescription;
|
|
1549
|
+
readonly authorization_code?: io.flow.payment.v0.models.AuthorizationCode;
|
|
1545
1550
|
}
|
|
1546
1551
|
interface AuthorizationResultActionGet {
|
|
1547
1552
|
readonly discriminator: 'authorization_result_action_get';
|
|
@@ -1960,6 +1965,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
1960
1965
|
readonly payment_id: string;
|
|
1961
1966
|
readonly payment_method?: string;
|
|
1962
1967
|
readonly payment_state?: string;
|
|
1968
|
+
readonly payer_id?: string;
|
|
1963
1969
|
readonly payer_email?: string;
|
|
1964
1970
|
readonly payer_status?: string;
|
|
1965
1971
|
readonly approval_url?: string;
|
|
@@ -4086,7 +4092,9 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4086
4092
|
interface PaymentResponseAdditionalData {
|
|
4087
4093
|
readonly authCode?: string;
|
|
4088
4094
|
readonly avsResultRaw?: string;
|
|
4095
|
+
readonly avsResult?: string;
|
|
4089
4096
|
readonly cvcResultRaw?: string;
|
|
4097
|
+
readonly cvcResult?: string;
|
|
4090
4098
|
readonly liabilityShift?: string;
|
|
4091
4099
|
readonly threeDAuthenticated?: string;
|
|
4092
4100
|
readonly threeDAuthenticatedResponse?: string;
|
|
@@ -9840,7 +9848,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9840
9848
|
type LabelBillingStrategy = 'quote' | 'carrier';
|
|
9841
9849
|
type LabelCancellationErrorCode = 'already_used' | 'carrier_unsupported';
|
|
9842
9850
|
type LabelCreationStatus = 'success' | 'error' | 'pending' | 'cancelled';
|
|
9843
|
-
type LabelTransactionType = 'billable_label' | 'fee';
|
|
9851
|
+
type LabelTransactionType = 'billable_label' | 'fee' | 'revenue_share';
|
|
9844
9852
|
type LiabilityType = 'full_value_tax' | 'low_value_goods_tax' | 'high_value_goods_tax' | 'duties';
|
|
9845
9853
|
type MainTransactionStatus = 'scheduled' | 'pending_fulfillment_proof';
|
|
9846
9854
|
type ManualReviewRuleStatus = 'active' | 'archived';
|
|
@@ -10052,6 +10060,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10052
10060
|
interface AccountSettingLabelFees {
|
|
10053
10061
|
readonly flow?: io.flow.internal.v0.models.TieredFee;
|
|
10054
10062
|
readonly organization?: io.flow.internal.v0.models.TieredFee;
|
|
10063
|
+
readonly revenue_share?: number;
|
|
10055
10064
|
}
|
|
10056
10065
|
interface AccountSettings {
|
|
10057
10066
|
readonly id: string;
|
|
@@ -11127,9 +11136,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11127
11136
|
}
|
|
11128
11137
|
interface CenterDefaults {
|
|
11129
11138
|
readonly packaging: io.flow.fulfillment.v0.models.Packaging[];
|
|
11139
|
+
readonly shipping_address_contact: io.flow.common.v0.models.Contact;
|
|
11130
11140
|
}
|
|
11131
11141
|
interface CenterDefaultsForm {
|
|
11132
11142
|
readonly packaging: io.flow.fulfillment.v0.models.Packaging[];
|
|
11143
|
+
readonly shipping_address_contact: io.flow.common.v0.models.Contact;
|
|
11133
11144
|
}
|
|
11134
11145
|
interface CenterQueryBuilder {
|
|
11135
11146
|
readonly placeholder: string;
|
package/dist/api.d.ts
CHANGED
|
@@ -1826,7 +1826,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1826
1826
|
type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
|
|
1827
1827
|
type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
|
|
1828
1828
|
type TradeAgreementStatus = 'supported' | 'not_supported';
|
|
1829
|
-
type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'shipping_label' | 'platform_fee' | 'other_adjustment' | 'tax_adjustment' | 'channel' | '
|
|
1829
|
+
type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'platform_fee' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund';
|
|
1830
1830
|
type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
|
|
1831
1831
|
type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
|
|
1832
1832
|
type UpdatePolicy = 'auto' | 'queue' | 'discard';
|
|
@@ -2270,6 +2270,10 @@ declare namespace io.flow.v0.models {
|
|
|
2270
2270
|
readonly type: 'adyen_v4';
|
|
2271
2271
|
readonly result: any;
|
|
2272
2272
|
}
|
|
2273
|
+
interface AuthorizationCode {
|
|
2274
|
+
readonly result_code: string;
|
|
2275
|
+
readonly code: string;
|
|
2276
|
+
}
|
|
2273
2277
|
interface AuthorizationCopyForm {
|
|
2274
2278
|
readonly discriminator: 'authorization_copy_form';
|
|
2275
2279
|
readonly source_authorization_key: string;
|
|
@@ -2310,6 +2314,7 @@ declare namespace io.flow.v0.models {
|
|
|
2310
2314
|
readonly cvv?: io.flow.v0.models.Cvv;
|
|
2311
2315
|
readonly three_d_secure?: io.flow.v0.models.ThreeDSecure;
|
|
2312
2316
|
readonly description?: io.flow.v0.models.AuthorizationResultDescription;
|
|
2317
|
+
readonly authorization_code?: io.flow.v0.models.AuthorizationCode;
|
|
2313
2318
|
}
|
|
2314
2319
|
interface AuthorizationResultActionGet {
|
|
2315
2320
|
readonly discriminator: 'authorization_result_action_get';
|
|
@@ -5715,6 +5720,10 @@ declare namespace io.flow.v0.models {
|
|
|
5715
5720
|
readonly requested_quantity: number;
|
|
5716
5721
|
readonly available_quantity: number;
|
|
5717
5722
|
}
|
|
5723
|
+
interface NoPayout {
|
|
5724
|
+
readonly discriminator: 'no_payout';
|
|
5725
|
+
readonly placeholder?: string;
|
|
5726
|
+
}
|
|
5718
5727
|
interface NotificationDeletedV2 {
|
|
5719
5728
|
readonly discriminator: 'notification_deleted_v2';
|
|
5720
5729
|
readonly event_id: string;
|
|
@@ -7176,9 +7185,10 @@ declare namespace io.flow.v0.models {
|
|
|
7176
7185
|
readonly payment: io.flow.v0.unions.Payment;
|
|
7177
7186
|
}
|
|
7178
7187
|
interface Payout {
|
|
7188
|
+
readonly discriminator: 'payout';
|
|
7179
7189
|
readonly status: io.flow.v0.models.PayoutStatus;
|
|
7180
7190
|
readonly amount: number;
|
|
7181
|
-
readonly sent_on
|
|
7191
|
+
readonly sent_on?: string;
|
|
7182
7192
|
}
|
|
7183
7193
|
interface PayoutStatus {
|
|
7184
7194
|
readonly code: io.flow.v0.enums.PayoutStatusCode;
|
|
@@ -7189,6 +7199,7 @@ declare namespace io.flow.v0.models {
|
|
|
7189
7199
|
readonly payment_id: string;
|
|
7190
7200
|
readonly payment_method?: string;
|
|
7191
7201
|
readonly payment_state?: string;
|
|
7202
|
+
readonly payer_id?: string;
|
|
7192
7203
|
readonly payer_email?: string;
|
|
7193
7204
|
readonly payer_status?: string;
|
|
7194
7205
|
readonly approval_url?: string;
|
|
@@ -8813,6 +8824,7 @@ declare namespace io.flow.v0.models {
|
|
|
8813
8824
|
readonly ratecard?: io.flow.v0.models.RatecardReference;
|
|
8814
8825
|
readonly rate_card: string;
|
|
8815
8826
|
readonly created_at: string;
|
|
8827
|
+
readonly activated_at?: string;
|
|
8816
8828
|
}
|
|
8817
8829
|
interface ShopifyMerchantApplicationForm {
|
|
8818
8830
|
readonly discriminator: 'shopify_merchant_application_form';
|
|
@@ -8844,6 +8856,10 @@ declare namespace io.flow.v0.models {
|
|
|
8844
8856
|
readonly discriminator: 'shopify_merchant_application_put_form';
|
|
8845
8857
|
readonly status?: io.flow.v0.enums.OnboardingApplicationStatus;
|
|
8846
8858
|
}
|
|
8859
|
+
interface ShopifyMerchantApplicationsSummary {
|
|
8860
|
+
readonly discriminator: 'shopify_merchant_applications_summary';
|
|
8861
|
+
readonly total: number;
|
|
8862
|
+
}
|
|
8847
8863
|
interface ShopifyOrderAttributesForm {
|
|
8848
8864
|
readonly attributes: Record<string, string>;
|
|
8849
8865
|
}
|
|
@@ -8952,7 +8968,7 @@ declare namespace io.flow.v0.models {
|
|
|
8952
8968
|
readonly id: string;
|
|
8953
8969
|
readonly account: io.flow.v0.models.AccountReference;
|
|
8954
8970
|
readonly ending_balance: number;
|
|
8955
|
-
readonly
|
|
8971
|
+
readonly settlement: io.flow.v0.unions.Settlement;
|
|
8956
8972
|
readonly attachments: io.flow.v0.models.Attachment[];
|
|
8957
8973
|
}
|
|
8958
8974
|
interface StatementDeleted {
|
|
@@ -9813,6 +9829,7 @@ declare namespace io.flow.v0.unions {
|
|
|
9813
9829
|
type MerchantApplication = io.flow.v0.models.ShopifyMerchantApplication;
|
|
9814
9830
|
type MerchantApplicationForm = io.flow.v0.models.ShopifyMerchantApplicationForm;
|
|
9815
9831
|
type MerchantApplicationPutForm = io.flow.v0.models.ShopifyMerchantApplicationPutForm;
|
|
9832
|
+
type MerchantApplicationsSummary = io.flow.v0.models.ShopifyMerchantApplicationsSummary;
|
|
9816
9833
|
type OnlineAuthorizationDetails = io.flow.v0.models.CryptopayAuthorizationDetails | io.flow.v0.models.PaypalAuthorizationDetails | io.flow.v0.models.RedirectAuthorizationDetails | io.flow.v0.models.InlineAuthorizationDetails;
|
|
9817
9834
|
type OrderInformation = io.flow.v0.models.OrderInformationFlow | io.flow.v0.models.OrderInformationDetails;
|
|
9818
9835
|
type OrderNumberGenerator = io.flow.v0.models.OrderNumberGeneratorUuid | io.flow.v0.models.OrderNumberGeneratorHexadecimal | io.flow.v0.models.OrderNumberGeneratorPrefixSuffix;
|
|
@@ -9853,6 +9870,7 @@ declare namespace io.flow.v0.unions {
|
|
|
9853
9870
|
type ServiceFee = io.flow.v0.models.FuelSurchargeServiceFee | io.flow.v0.models.FuelSurchargeAmountByWeightServiceFee | io.flow.v0.models.RemoteAreaServiceFee | io.flow.v0.models.EmergencySituationSurchargeServiceFee | io.flow.v0.models.PeakSurchargeServiceFee | io.flow.v0.models.PeakSurchargeByWeightServiceFee | io.flow.v0.models.DutiesTaxesPaidSurchargeServiceFee;
|
|
9854
9871
|
type Session = io.flow.v0.models.OrganizationSession;
|
|
9855
9872
|
type SessionAuthorization = io.flow.v0.models.OrganizationSessionAuthorization;
|
|
9873
|
+
type Settlement = io.flow.v0.models.NoPayout | io.flow.v0.models.Payout;
|
|
9856
9874
|
type ShippingLabelForm = io.flow.v0.models.DetailedShippingLabelForm | io.flow.v0.models.SummaryShippingLabelForm;
|
|
9857
9875
|
type ShippingNotificationForm = io.flow.v0.models.DetailedShippingNotificationForm | io.flow.v0.models.SinglePackageShippingNotificationForm | io.flow.v0.models.SummaryShippingNotificationForm;
|
|
9858
9876
|
type ShopifyCartAddForm = io.flow.v0.models.ShopifyCartAddSingleForm | io.flow.v0.models.ShopifyCartAddMultipleForm;
|
|
@@ -9947,6 +9965,7 @@ export declare type AuthenticationTechnique = io.flow.v0.enums.AuthenticationTec
|
|
|
9947
9965
|
export declare type Authorization = io.flow.v0.unions.Authorization;
|
|
9948
9966
|
export declare type AuthorizationActionResultAdyenV3 = io.flow.v0.models.AuthorizationActionResultAdyenV3;
|
|
9949
9967
|
export declare type AuthorizationActionResultAdyenV4 = io.flow.v0.models.AuthorizationActionResultAdyenV4;
|
|
9968
|
+
export declare type AuthorizationCode = io.flow.v0.models.AuthorizationCode;
|
|
9950
9969
|
export declare type AuthorizationCopyForm = io.flow.v0.models.AuthorizationCopyForm;
|
|
9951
9970
|
export declare type AuthorizationDeclineCode = io.flow.v0.enums.AuthorizationDeclineCode;
|
|
9952
9971
|
export declare type AuthorizationDeletedV2 = io.flow.v0.models.AuthorizationDeletedV2;
|
|
@@ -10618,6 +10637,7 @@ export declare type MembershipVersion = io.flow.v0.models.MembershipVersion;
|
|
|
10618
10637
|
export declare type MerchantApplication = io.flow.v0.unions.MerchantApplication;
|
|
10619
10638
|
export declare type MerchantApplicationForm = io.flow.v0.unions.MerchantApplicationForm;
|
|
10620
10639
|
export declare type MerchantApplicationPutForm = io.flow.v0.unions.MerchantApplicationPutForm;
|
|
10640
|
+
export declare type MerchantApplicationsSummary = io.flow.v0.unions.MerchantApplicationsSummary;
|
|
10621
10641
|
export declare type MerchantGiftCardBalance = io.flow.v0.models.MerchantGiftCardBalance;
|
|
10622
10642
|
export declare type MerchantGiftCardBalanceForm = io.flow.v0.models.MerchantGiftCardBalanceForm;
|
|
10623
10643
|
export declare type MerchantGiftCardError = io.flow.v0.models.MerchantGiftCardError;
|
|
@@ -10643,6 +10663,7 @@ export declare type Name = io.flow.v0.models.Name;
|
|
|
10643
10663
|
export declare type NameForm = io.flow.v0.models.NameForm;
|
|
10644
10664
|
export declare type NoInventoryReservationError = io.flow.v0.models.NoInventoryReservationError;
|
|
10645
10665
|
export declare type NoInventoryReservationErrorItem = io.flow.v0.models.NoInventoryReservationErrorItem;
|
|
10666
|
+
export declare type NoPayout = io.flow.v0.models.NoPayout;
|
|
10646
10667
|
export declare type NotificationDeletedV2 = io.flow.v0.models.NotificationDeletedV2;
|
|
10647
10668
|
export declare type NotificationUpsertedV2 = io.flow.v0.models.NotificationUpsertedV2;
|
|
10648
10669
|
export declare type NumberRange = io.flow.v0.models.NumberRange;
|
|
@@ -11173,6 +11194,7 @@ export declare type SessionPutForm = io.flow.v0.models.SessionPutForm;
|
|
|
11173
11194
|
export declare type SessionReference = io.flow.v0.models.SessionReference;
|
|
11174
11195
|
export declare type SessionVisit = io.flow.v0.models.SessionVisit;
|
|
11175
11196
|
export declare type SessionVisitor = io.flow.v0.models.SessionVisitor;
|
|
11197
|
+
export declare type Settlement = io.flow.v0.unions.Settlement;
|
|
11176
11198
|
export declare type ShipmentIntegrationType = io.flow.v0.enums.ShipmentIntegrationType;
|
|
11177
11199
|
export declare type ShipmentRecipient = io.flow.v0.enums.ShipmentRecipient;
|
|
11178
11200
|
export declare type ShipmentWindow = io.flow.v0.models.ShipmentWindow;
|
|
@@ -11246,6 +11268,7 @@ export declare type ShopifyLocationReference = io.flow.v0.models.ShopifyLocation
|
|
|
11246
11268
|
export declare type ShopifyMerchantApplication = io.flow.v0.models.ShopifyMerchantApplication;
|
|
11247
11269
|
export declare type ShopifyMerchantApplicationForm = io.flow.v0.models.ShopifyMerchantApplicationForm;
|
|
11248
11270
|
export declare type ShopifyMerchantApplicationPutForm = io.flow.v0.models.ShopifyMerchantApplicationPutForm;
|
|
11271
|
+
export declare type ShopifyMerchantApplicationsSummary = io.flow.v0.models.ShopifyMerchantApplicationsSummary;
|
|
11249
11272
|
export declare type ShopifyOrderAttributesForm = io.flow.v0.models.ShopifyOrderAttributesForm;
|
|
11250
11273
|
export declare type ShopifyOrderDeliveryMetafield = io.flow.v0.models.ShopifyOrderDeliveryMetafield;
|
|
11251
11274
|
export declare type ShopifyOrderDeliveryMetafieldItem = io.flow.v0.models.ShopifyOrderDeliveryMetafieldItem;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.24.
|
|
3
|
+
"version": "11.24.22",
|
|
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": "
|
|
28
|
+
"gitHead": "864d87fe3c12ee52be8ba5f1e8867318d1bec420"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -2035,6 +2035,11 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2035
2035
|
readonly display_name?: string;
|
|
2036
2036
|
}
|
|
2037
2037
|
|
|
2038
|
+
interface AuthorizationCode {
|
|
2039
|
+
readonly result_code: string;
|
|
2040
|
+
readonly code: string;
|
|
2041
|
+
}
|
|
2042
|
+
|
|
2038
2043
|
interface AuthorizationCopyForm {
|
|
2039
2044
|
readonly discriminator: 'authorization_copy_form';
|
|
2040
2045
|
readonly source_authorization_key: string;
|
|
@@ -2073,6 +2078,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2073
2078
|
readonly cvv?: io.flow.payment.v0.models.Cvv;
|
|
2074
2079
|
readonly three_d_secure?: io.flow.payment.v0.models.ThreeDSecure;
|
|
2075
2080
|
readonly description?: io.flow.payment.v0.models.AuthorizationResultDescription;
|
|
2081
|
+
readonly authorization_code?: io.flow.payment.v0.models.AuthorizationCode;
|
|
2076
2082
|
}
|
|
2077
2083
|
|
|
2078
2084
|
interface AuthorizationResultActionGet {
|
|
@@ -2552,6 +2558,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2552
2558
|
readonly payment_id: string;
|
|
2553
2559
|
readonly payment_method?: string;
|
|
2554
2560
|
readonly payment_state?: string;
|
|
2561
|
+
readonly payer_id?: string;
|
|
2555
2562
|
readonly payer_email?: string;
|
|
2556
2563
|
readonly payer_status?: string;
|
|
2557
2564
|
readonly approval_url?: string;
|
|
@@ -5566,7 +5573,9 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5566
5573
|
interface PaymentResponseAdditionalData {
|
|
5567
5574
|
readonly authCode?: string;
|
|
5568
5575
|
readonly avsResultRaw?: string;
|
|
5576
|
+
readonly avsResult?: string;
|
|
5569
5577
|
readonly cvcResultRaw?: string;
|
|
5578
|
+
readonly cvcResult?: string;
|
|
5570
5579
|
readonly liabilityShift?: string;
|
|
5571
5580
|
readonly threeDAuthenticated?: string;
|
|
5572
5581
|
readonly threeDAuthenticatedResponse?: string;
|
|
@@ -13345,7 +13354,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13345
13354
|
type LabelBillingStrategy = 'quote' | 'carrier';
|
|
13346
13355
|
type LabelCancellationErrorCode = 'already_used' | 'carrier_unsupported';
|
|
13347
13356
|
type LabelCreationStatus = 'success' | 'error' | 'pending' | 'cancelled';
|
|
13348
|
-
type LabelTransactionType = 'billable_label' | 'fee';
|
|
13357
|
+
type LabelTransactionType = 'billable_label' | 'fee' | 'revenue_share';
|
|
13349
13358
|
type LiabilityType =
|
|
13350
13359
|
| 'full_value_tax'
|
|
13351
13360
|
| 'low_value_goods_tax'
|
|
@@ -13786,6 +13795,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13786
13795
|
interface AccountSettingLabelFees {
|
|
13787
13796
|
readonly flow?: io.flow.internal.v0.models.TieredFee;
|
|
13788
13797
|
readonly organization?: io.flow.internal.v0.models.TieredFee;
|
|
13798
|
+
readonly revenue_share?: number;
|
|
13789
13799
|
}
|
|
13790
13800
|
|
|
13791
13801
|
interface AccountSettings {
|
|
@@ -15035,10 +15045,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15035
15045
|
|
|
15036
15046
|
interface CenterDefaults {
|
|
15037
15047
|
readonly packaging: io.flow.fulfillment.v0.models.Packaging[];
|
|
15048
|
+
readonly shipping_address_contact: io.flow.common.v0.models.Contact;
|
|
15038
15049
|
}
|
|
15039
15050
|
|
|
15040
15051
|
interface CenterDefaultsForm {
|
|
15041
15052
|
readonly packaging: io.flow.fulfillment.v0.models.Packaging[];
|
|
15053
|
+
readonly shipping_address_contact: io.flow.common.v0.models.Contact;
|
|
15042
15054
|
}
|
|
15043
15055
|
|
|
15044
15056
|
interface CenterQueryBuilder {
|
package/src/api.ts
CHANGED
|
@@ -2974,11 +2974,13 @@ declare namespace io.flow.v0.enums {
|
|
|
2974
2974
|
| 'dispute'
|
|
2975
2975
|
| 'adjustment'
|
|
2976
2976
|
| 'shipping_label'
|
|
2977
|
+
| 'shipping_label_service'
|
|
2978
|
+
| 'shipping_label_revenue_share'
|
|
2977
2979
|
| 'platform_fee'
|
|
2978
2980
|
| 'other_adjustment'
|
|
2979
2981
|
| 'tax_adjustment'
|
|
2980
2982
|
| 'channel'
|
|
2981
|
-
| '
|
|
2983
|
+
| 'order_service'
|
|
2982
2984
|
| 'virtual_card_capture'
|
|
2983
2985
|
| 'virtual_card_refund';
|
|
2984
2986
|
type UnitOfMeasurement =
|
|
@@ -3512,6 +3514,11 @@ declare namespace io.flow.v0.models {
|
|
|
3512
3514
|
readonly result: any /*object*/;
|
|
3513
3515
|
}
|
|
3514
3516
|
|
|
3517
|
+
interface AuthorizationCode {
|
|
3518
|
+
readonly result_code: string;
|
|
3519
|
+
readonly code: string;
|
|
3520
|
+
}
|
|
3521
|
+
|
|
3515
3522
|
interface AuthorizationCopyForm {
|
|
3516
3523
|
readonly discriminator: 'authorization_copy_form';
|
|
3517
3524
|
readonly source_authorization_key: string;
|
|
@@ -3558,6 +3565,7 @@ declare namespace io.flow.v0.models {
|
|
|
3558
3565
|
readonly cvv?: io.flow.v0.models.Cvv;
|
|
3559
3566
|
readonly three_d_secure?: io.flow.v0.models.ThreeDSecure;
|
|
3560
3567
|
readonly description?: io.flow.v0.models.AuthorizationResultDescription;
|
|
3568
|
+
readonly authorization_code?: io.flow.v0.models.AuthorizationCode;
|
|
3561
3569
|
}
|
|
3562
3570
|
|
|
3563
3571
|
interface AuthorizationResultActionGet {
|
|
@@ -7526,6 +7534,11 @@ declare namespace io.flow.v0.models {
|
|
|
7526
7534
|
readonly available_quantity: number;
|
|
7527
7535
|
}
|
|
7528
7536
|
|
|
7537
|
+
interface NoPayout {
|
|
7538
|
+
readonly discriminator: 'no_payout';
|
|
7539
|
+
readonly placeholder?: string;
|
|
7540
|
+
}
|
|
7541
|
+
|
|
7529
7542
|
interface NotificationDeletedV2 {
|
|
7530
7543
|
readonly discriminator: 'notification_deleted_v2';
|
|
7531
7544
|
readonly event_id: string;
|
|
@@ -9235,9 +9248,10 @@ declare namespace io.flow.v0.models {
|
|
|
9235
9248
|
}
|
|
9236
9249
|
|
|
9237
9250
|
interface Payout {
|
|
9251
|
+
readonly discriminator: 'payout';
|
|
9238
9252
|
readonly status: io.flow.v0.models.PayoutStatus;
|
|
9239
9253
|
readonly amount: number;
|
|
9240
|
-
readonly sent_on
|
|
9254
|
+
readonly sent_on?: string;
|
|
9241
9255
|
}
|
|
9242
9256
|
|
|
9243
9257
|
interface PayoutStatus {
|
|
@@ -9250,6 +9264,7 @@ declare namespace io.flow.v0.models {
|
|
|
9250
9264
|
readonly payment_id: string;
|
|
9251
9265
|
readonly payment_method?: string;
|
|
9252
9266
|
readonly payment_state?: string;
|
|
9267
|
+
readonly payer_id?: string;
|
|
9253
9268
|
readonly payer_email?: string;
|
|
9254
9269
|
readonly payer_status?: string;
|
|
9255
9270
|
readonly approval_url?: string;
|
|
@@ -11131,6 +11146,7 @@ declare namespace io.flow.v0.models {
|
|
|
11131
11146
|
readonly ratecard?: io.flow.v0.models.RatecardReference;
|
|
11132
11147
|
readonly rate_card: string;
|
|
11133
11148
|
readonly created_at: string;
|
|
11149
|
+
readonly activated_at?: string;
|
|
11134
11150
|
}
|
|
11135
11151
|
|
|
11136
11152
|
interface ShopifyMerchantApplicationForm {
|
|
@@ -11165,6 +11181,11 @@ declare namespace io.flow.v0.models {
|
|
|
11165
11181
|
readonly status?: io.flow.v0.enums.OnboardingApplicationStatus;
|
|
11166
11182
|
}
|
|
11167
11183
|
|
|
11184
|
+
interface ShopifyMerchantApplicationsSummary {
|
|
11185
|
+
readonly discriminator: 'shopify_merchant_applications_summary';
|
|
11186
|
+
readonly total: number;
|
|
11187
|
+
}
|
|
11188
|
+
|
|
11168
11189
|
interface ShopifyOrderAttributesForm {
|
|
11169
11190
|
readonly attributes: Record<string, string>;
|
|
11170
11191
|
}
|
|
@@ -11290,7 +11311,7 @@ declare namespace io.flow.v0.models {
|
|
|
11290
11311
|
readonly id: string;
|
|
11291
11312
|
readonly account: io.flow.v0.models.AccountReference;
|
|
11292
11313
|
readonly ending_balance: number;
|
|
11293
|
-
readonly
|
|
11314
|
+
readonly settlement: io.flow.v0.unions.Settlement;
|
|
11294
11315
|
readonly attachments: io.flow.v0.models.Attachment[];
|
|
11295
11316
|
}
|
|
11296
11317
|
|
|
@@ -12582,6 +12603,8 @@ declare namespace io.flow.v0.unions {
|
|
|
12582
12603
|
io.flow.v0.models.ShopifyMerchantApplicationForm;
|
|
12583
12604
|
type MerchantApplicationPutForm =
|
|
12584
12605
|
io.flow.v0.models.ShopifyMerchantApplicationPutForm;
|
|
12606
|
+
type MerchantApplicationsSummary =
|
|
12607
|
+
io.flow.v0.models.ShopifyMerchantApplicationsSummary;
|
|
12585
12608
|
type OnlineAuthorizationDetails =
|
|
12586
12609
|
| io.flow.v0.models.CryptopayAuthorizationDetails
|
|
12587
12610
|
| io.flow.v0.models.PaypalAuthorizationDetails
|
|
@@ -12722,6 +12745,7 @@ declare namespace io.flow.v0.unions {
|
|
|
12722
12745
|
type Session = io.flow.v0.models.OrganizationSession;
|
|
12723
12746
|
type SessionAuthorization =
|
|
12724
12747
|
io.flow.v0.models.OrganizationSessionAuthorization;
|
|
12748
|
+
type Settlement = io.flow.v0.models.NoPayout | io.flow.v0.models.Payout;
|
|
12725
12749
|
type ShippingLabelForm =
|
|
12726
12750
|
| io.flow.v0.models.DetailedShippingLabelForm
|
|
12727
12751
|
| io.flow.v0.models.SummaryShippingLabelForm;
|
|
@@ -12867,6 +12891,7 @@ export type AuthorizationActionResultAdyenV3 =
|
|
|
12867
12891
|
io.flow.v0.models.AuthorizationActionResultAdyenV3;
|
|
12868
12892
|
export type AuthorizationActionResultAdyenV4 =
|
|
12869
12893
|
io.flow.v0.models.AuthorizationActionResultAdyenV4;
|
|
12894
|
+
export type AuthorizationCode = io.flow.v0.models.AuthorizationCode;
|
|
12870
12895
|
export type AuthorizationCopyForm = io.flow.v0.models.AuthorizationCopyForm;
|
|
12871
12896
|
export type AuthorizationDeclineCode =
|
|
12872
12897
|
io.flow.v0.enums.AuthorizationDeclineCode;
|
|
@@ -13708,6 +13733,8 @@ export type MerchantApplication = io.flow.v0.unions.MerchantApplication;
|
|
|
13708
13733
|
export type MerchantApplicationForm = io.flow.v0.unions.MerchantApplicationForm;
|
|
13709
13734
|
export type MerchantApplicationPutForm =
|
|
13710
13735
|
io.flow.v0.unions.MerchantApplicationPutForm;
|
|
13736
|
+
export type MerchantApplicationsSummary =
|
|
13737
|
+
io.flow.v0.unions.MerchantApplicationsSummary;
|
|
13711
13738
|
export type MerchantGiftCardBalance = io.flow.v0.models.MerchantGiftCardBalance;
|
|
13712
13739
|
export type MerchantGiftCardBalanceForm =
|
|
13713
13740
|
io.flow.v0.models.MerchantGiftCardBalanceForm;
|
|
@@ -13745,6 +13772,7 @@ export type NoInventoryReservationError =
|
|
|
13745
13772
|
io.flow.v0.models.NoInventoryReservationError;
|
|
13746
13773
|
export type NoInventoryReservationErrorItem =
|
|
13747
13774
|
io.flow.v0.models.NoInventoryReservationErrorItem;
|
|
13775
|
+
export type NoPayout = io.flow.v0.models.NoPayout;
|
|
13748
13776
|
export type NotificationDeletedV2 = io.flow.v0.models.NotificationDeletedV2;
|
|
13749
13777
|
export type NotificationUpsertedV2 = io.flow.v0.models.NotificationUpsertedV2;
|
|
13750
13778
|
export type NumberRange = io.flow.v0.models.NumberRange;
|
|
@@ -14407,6 +14435,7 @@ export type SessionPutForm = io.flow.v0.models.SessionPutForm;
|
|
|
14407
14435
|
export type SessionReference = io.flow.v0.models.SessionReference;
|
|
14408
14436
|
export type SessionVisit = io.flow.v0.models.SessionVisit;
|
|
14409
14437
|
export type SessionVisitor = io.flow.v0.models.SessionVisitor;
|
|
14438
|
+
export type Settlement = io.flow.v0.unions.Settlement;
|
|
14410
14439
|
export type ShipmentIntegrationType = io.flow.v0.enums.ShipmentIntegrationType;
|
|
14411
14440
|
export type ShipmentRecipient = io.flow.v0.enums.ShipmentRecipient;
|
|
14412
14441
|
export type ShipmentWindow = io.flow.v0.models.ShipmentWindow;
|
|
@@ -14520,6 +14549,8 @@ export type ShopifyMerchantApplicationForm =
|
|
|
14520
14549
|
io.flow.v0.models.ShopifyMerchantApplicationForm;
|
|
14521
14550
|
export type ShopifyMerchantApplicationPutForm =
|
|
14522
14551
|
io.flow.v0.models.ShopifyMerchantApplicationPutForm;
|
|
14552
|
+
export type ShopifyMerchantApplicationsSummary =
|
|
14553
|
+
io.flow.v0.models.ShopifyMerchantApplicationsSummary;
|
|
14523
14554
|
export type ShopifyOrderAttributesForm =
|
|
14524
14555
|
io.flow.v0.models.ShopifyOrderAttributesForm;
|
|
14525
14556
|
export type ShopifyOrderDeliveryMetafield =
|