@flowio/types 11.24.52 → 11.24.54
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 +275 -67
- package/dist/api.d.ts +74 -28
- package/package.json +2 -2
- package/src/api-internal.ts +360 -77
- package/src/api.ts +88 -35
package/src/api.ts
CHANGED
|
@@ -1678,7 +1678,6 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1678
1678
|
readonly id: number;
|
|
1679
1679
|
readonly quantity: number;
|
|
1680
1680
|
readonly fulfillable_quantity?: number;
|
|
1681
|
-
readonly fulfillment_service: string;
|
|
1682
1681
|
readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
|
|
1683
1682
|
readonly grams?: number;
|
|
1684
1683
|
readonly price?: string;
|
|
@@ -1699,7 +1698,6 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1699
1698
|
|
|
1700
1699
|
interface ShopifyLineItemForm {
|
|
1701
1700
|
readonly fulfillable_quantity?: number;
|
|
1702
|
-
readonly fulfillment_service: string;
|
|
1703
1701
|
readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
|
|
1704
1702
|
readonly grams?: number;
|
|
1705
1703
|
readonly price?: string;
|
|
@@ -1880,7 +1878,6 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1880
1878
|
readonly title: string;
|
|
1881
1879
|
readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
|
|
1882
1880
|
readonly carrier_identifier?: string;
|
|
1883
|
-
readonly requested_fulfillment_service_id?: string;
|
|
1884
1881
|
}
|
|
1885
1882
|
|
|
1886
1883
|
interface ShopifyTaxLine {
|
|
@@ -2006,8 +2003,8 @@ declare namespace io.flow.apple.pay.v0.enums {
|
|
|
2006
2003
|
| 'email'
|
|
2007
2004
|
| 'name'
|
|
2008
2005
|
| 'phone'
|
|
2009
|
-
| '
|
|
2010
|
-
| '
|
|
2006
|
+
| 'postalAddress'
|
|
2007
|
+
| 'phoneticName';
|
|
2011
2008
|
type ApplePayLineItemType = 'final' | 'pending';
|
|
2012
2009
|
type ApplePayMerchantCapability =
|
|
2013
2010
|
| 'supports3DS'
|
|
@@ -2033,7 +2030,7 @@ declare namespace io.flow.apple.pay.v0.models {
|
|
|
2033
2030
|
interface ApplePayLineItem {
|
|
2034
2031
|
readonly label: string;
|
|
2035
2032
|
readonly type: io.flow.apple.pay.v0.enums.ApplePayLineItemType;
|
|
2036
|
-
readonly amount:
|
|
2033
|
+
readonly amount: string;
|
|
2037
2034
|
}
|
|
2038
2035
|
|
|
2039
2036
|
interface ApplePayPaymentContact {
|
|
@@ -2084,7 +2081,7 @@ declare namespace io.flow.apple.pay.v0.models {
|
|
|
2084
2081
|
interface ApplePayShippingMethod {
|
|
2085
2082
|
readonly label: string;
|
|
2086
2083
|
readonly detail: string;
|
|
2087
|
-
readonly amount:
|
|
2084
|
+
readonly amount: string;
|
|
2088
2085
|
readonly identifier: string;
|
|
2089
2086
|
}
|
|
2090
2087
|
}
|
|
@@ -2111,7 +2108,6 @@ declare namespace io.flow.v0.enums {
|
|
|
2111
2108
|
| 'not_matched';
|
|
2112
2109
|
type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
|
|
2113
2110
|
type Aggregate = 'maximum' | 'minimum';
|
|
2114
|
-
type AttachmentType = 'csv';
|
|
2115
2111
|
type AttributeDataType =
|
|
2116
2112
|
| 'boolean'
|
|
2117
2113
|
| 'integer'
|
|
@@ -2829,12 +2825,8 @@ declare namespace io.flow.v0.enums {
|
|
|
2829
2825
|
| 'sofort'
|
|
2830
2826
|
| 'afterpay'
|
|
2831
2827
|
| 'bancontact';
|
|
2832
|
-
type
|
|
2833
|
-
|
|
2834
|
-
| 'sent'
|
|
2835
|
-
| 'cancelled'
|
|
2836
|
-
| 'failed'
|
|
2837
|
-
| 'succeeded';
|
|
2828
|
+
type PayoutAttachmentType = 'transactions';
|
|
2829
|
+
type PayoutStatusFailureCode = 'invalid_account_number' | 'could_not_process';
|
|
2838
2830
|
type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
|
|
2839
2831
|
type PhysicalDeliverySpecialSerivce =
|
|
2840
2832
|
| 'cold_storage'
|
|
@@ -2954,6 +2946,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2954
2946
|
type ShopifyLocalizationMethod = 'api' | 'ssr';
|
|
2955
2947
|
type ShopifySyncCheck = 'localized_variants' | 'flow_variant_metafields';
|
|
2956
2948
|
type SortDirection = 'ascending' | 'descending';
|
|
2949
|
+
type StatementAttachmentType = 'csv';
|
|
2957
2950
|
type Strategy = 'range' | 'from' | 'to';
|
|
2958
2951
|
type SubcatalogItemStatus = 'excluded' | 'included' | 'restricted';
|
|
2959
2952
|
type SurchargeResponsibleParty = 'organization' | 'customer';
|
|
@@ -3498,7 +3491,7 @@ declare namespace io.flow.v0.models {
|
|
|
3498
3491
|
}
|
|
3499
3492
|
|
|
3500
3493
|
interface Attachment {
|
|
3501
|
-
readonly type: io.flow.v0.enums.
|
|
3494
|
+
readonly type: io.flow.v0.enums.StatementAttachmentType;
|
|
3502
3495
|
readonly url: string;
|
|
3503
3496
|
}
|
|
3504
3497
|
|
|
@@ -4488,6 +4481,16 @@ declare namespace io.flow.v0.models {
|
|
|
4488
4481
|
readonly channel_organization: io.flow.v0.models.ChannelOrganization;
|
|
4489
4482
|
}
|
|
4490
4483
|
|
|
4484
|
+
interface ChannelPayout {
|
|
4485
|
+
readonly id: string;
|
|
4486
|
+
readonly account: io.flow.v0.models.AccountReference;
|
|
4487
|
+
readonly status: io.flow.v0.unions.PayoutStatus;
|
|
4488
|
+
readonly amount: number;
|
|
4489
|
+
readonly attachments: io.flow.v0.models.PayoutAttachment[];
|
|
4490
|
+
readonly created_at: string;
|
|
4491
|
+
readonly updated_at: string;
|
|
4492
|
+
}
|
|
4493
|
+
|
|
4491
4494
|
interface ChannelRate {
|
|
4492
4495
|
readonly placeholder?: string;
|
|
4493
4496
|
}
|
|
@@ -4551,6 +4554,7 @@ declare namespace io.flow.v0.models {
|
|
|
4551
4554
|
readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
|
|
4552
4555
|
readonly currency: string;
|
|
4553
4556
|
readonly source: io.flow.v0.enums.TransactionSource;
|
|
4557
|
+
readonly parent?: io.flow.v0.models.ParentTransactionSummary;
|
|
4554
4558
|
readonly gross: number;
|
|
4555
4559
|
readonly fees: io.flow.v0.models.FeeDeduction[];
|
|
4556
4560
|
readonly withholdings: io.flow.v0.models.WithholdingDeduction[];
|
|
@@ -4558,6 +4562,7 @@ declare namespace io.flow.v0.models {
|
|
|
4558
4562
|
readonly net: number;
|
|
4559
4563
|
readonly identifiers: Record<string, string>;
|
|
4560
4564
|
readonly created_at: string;
|
|
4565
|
+
readonly updated_at: string;
|
|
4561
4566
|
}
|
|
4562
4567
|
|
|
4563
4568
|
interface ChannelTransactionDeleted {
|
|
@@ -7801,11 +7806,6 @@ declare namespace io.flow.v0.models {
|
|
|
7801
7806
|
readonly available_quantity: number;
|
|
7802
7807
|
}
|
|
7803
7808
|
|
|
7804
|
-
interface NoPayout {
|
|
7805
|
-
readonly discriminator: 'no_payout';
|
|
7806
|
-
readonly placeholder?: string;
|
|
7807
|
-
}
|
|
7808
|
-
|
|
7809
7809
|
interface NotificationDeletedV2 {
|
|
7810
7810
|
readonly discriminator: 'notification_deleted_v2';
|
|
7811
7811
|
readonly event_id: string;
|
|
@@ -8796,6 +8796,16 @@ declare namespace io.flow.v0.models {
|
|
|
8796
8796
|
readonly organization_onboarding_state: io.flow.v0.models.OrganizationOnboardingState;
|
|
8797
8797
|
}
|
|
8798
8798
|
|
|
8799
|
+
interface OrganizationPayout {
|
|
8800
|
+
readonly id: string;
|
|
8801
|
+
readonly account: io.flow.v0.models.AccountReference;
|
|
8802
|
+
readonly status: io.flow.v0.unions.PayoutStatus;
|
|
8803
|
+
readonly amount: number;
|
|
8804
|
+
readonly attachments: io.flow.v0.models.PayoutAttachment[];
|
|
8805
|
+
readonly created_at: string;
|
|
8806
|
+
readonly updated_at: string;
|
|
8807
|
+
}
|
|
8808
|
+
|
|
8799
8809
|
interface OrganizationPutForm {
|
|
8800
8810
|
readonly name?: string;
|
|
8801
8811
|
readonly environment?: io.flow.v0.enums.Environment;
|
|
@@ -8966,6 +8976,11 @@ declare namespace io.flow.v0.models {
|
|
|
8966
8976
|
readonly number?: string;
|
|
8967
8977
|
}
|
|
8968
8978
|
|
|
8979
|
+
interface ParentTransactionSummary {
|
|
8980
|
+
readonly id: string;
|
|
8981
|
+
readonly source: io.flow.v0.enums.TransactionSource;
|
|
8982
|
+
}
|
|
8983
|
+
|
|
8969
8984
|
interface PartnerCenter {
|
|
8970
8985
|
readonly partner_reference: io.flow.v0.models.PartnerReference;
|
|
8971
8986
|
readonly number?: string;
|
|
@@ -9601,16 +9616,25 @@ declare namespace io.flow.v0.models {
|
|
|
9601
9616
|
readonly payment: io.flow.v0.unions.Payment;
|
|
9602
9617
|
}
|
|
9603
9618
|
|
|
9604
|
-
interface
|
|
9605
|
-
readonly
|
|
9606
|
-
readonly
|
|
9607
|
-
readonly amount: number;
|
|
9608
|
-
readonly sent_on?: string;
|
|
9619
|
+
interface PayoutAttachment {
|
|
9620
|
+
readonly type: io.flow.v0.enums.PayoutAttachmentType;
|
|
9621
|
+
readonly url: string;
|
|
9609
9622
|
}
|
|
9610
9623
|
|
|
9611
|
-
interface
|
|
9612
|
-
readonly code:
|
|
9613
|
-
readonly
|
|
9624
|
+
interface PayoutStatusFailed {
|
|
9625
|
+
readonly code: 'failed';
|
|
9626
|
+
readonly timestamp: string;
|
|
9627
|
+
readonly reason: io.flow.v0.enums.PayoutStatusFailureCode;
|
|
9628
|
+
}
|
|
9629
|
+
|
|
9630
|
+
interface PayoutStatusScheduled {
|
|
9631
|
+
readonly code: 'scheduled';
|
|
9632
|
+
readonly placeholder?: string;
|
|
9633
|
+
}
|
|
9634
|
+
|
|
9635
|
+
interface PayoutStatusSent {
|
|
9636
|
+
readonly code: 'sent';
|
|
9637
|
+
readonly timestamp: string;
|
|
9614
9638
|
}
|
|
9615
9639
|
|
|
9616
9640
|
interface PaypalAuthorizationDetails {
|
|
@@ -11023,6 +11047,18 @@ declare namespace io.flow.v0.models {
|
|
|
11023
11047
|
readonly id: string;
|
|
11024
11048
|
}
|
|
11025
11049
|
|
|
11050
|
+
interface SettlementNoPayout {
|
|
11051
|
+
readonly discriminator: 'no_payout';
|
|
11052
|
+
readonly placeholder?: string;
|
|
11053
|
+
}
|
|
11054
|
+
|
|
11055
|
+
interface SettlementPayout {
|
|
11056
|
+
readonly discriminator: 'payout';
|
|
11057
|
+
readonly status: io.flow.v0.unions.PayoutStatus;
|
|
11058
|
+
readonly amount: number;
|
|
11059
|
+
readonly sent_on?: string;
|
|
11060
|
+
}
|
|
11061
|
+
|
|
11026
11062
|
interface SetupBlocked {
|
|
11027
11063
|
readonly discriminator: 'setup_blocked';
|
|
11028
11064
|
readonly reasons: io.flow.v0.enums.OnboardingBlockedReason[];
|
|
@@ -11030,7 +11066,7 @@ declare namespace io.flow.v0.models {
|
|
|
11030
11066
|
|
|
11031
11067
|
interface SetupCompleted {
|
|
11032
11068
|
readonly discriminator: 'setup_completed';
|
|
11033
|
-
readonly
|
|
11069
|
+
readonly third_party_logistics_guid: string;
|
|
11034
11070
|
}
|
|
11035
11071
|
|
|
11036
11072
|
interface SetupInProgress {
|
|
@@ -12403,6 +12439,7 @@ declare namespace io.flow.v0.models {
|
|
|
12403
12439
|
readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
|
|
12404
12440
|
readonly currency: string;
|
|
12405
12441
|
readonly source: io.flow.v0.enums.TransactionSource;
|
|
12442
|
+
readonly parent?: io.flow.v0.models.ParentTransactionSummary;
|
|
12406
12443
|
readonly gross: number;
|
|
12407
12444
|
readonly fees: io.flow.v0.models.FeeDeduction[];
|
|
12408
12445
|
readonly withholdings: io.flow.v0.models.WithholdingDeduction[];
|
|
@@ -12410,6 +12447,7 @@ declare namespace io.flow.v0.models {
|
|
|
12410
12447
|
readonly net: number;
|
|
12411
12448
|
readonly identifiers: Record<string, string>;
|
|
12412
12449
|
readonly created_at: string;
|
|
12450
|
+
readonly updated_at: string;
|
|
12413
12451
|
}
|
|
12414
12452
|
|
|
12415
12453
|
interface TransactionDetailsCard {
|
|
@@ -13134,6 +13172,10 @@ declare namespace io.flow.v0.unions {
|
|
|
13134
13172
|
| io.flow.v0.models.PaymentPaymentRequestReference;
|
|
13135
13173
|
type PaymentSource = io.flow.v0.models.CardPaymentSource;
|
|
13136
13174
|
type PaymentSourceForm = io.flow.v0.models.CardPaymentSourceForm;
|
|
13175
|
+
type PayoutStatus =
|
|
13176
|
+
| io.flow.v0.models.PayoutStatusScheduled
|
|
13177
|
+
| io.flow.v0.models.PayoutStatusSent
|
|
13178
|
+
| io.flow.v0.models.PayoutStatusFailed;
|
|
13137
13179
|
type PriceSource =
|
|
13138
13180
|
| io.flow.v0.models.PriceSourcePriceBook
|
|
13139
13181
|
| io.flow.v0.models.PriceSourceCatalog
|
|
@@ -13192,7 +13234,9 @@ declare namespace io.flow.v0.unions {
|
|
|
13192
13234
|
type Session = io.flow.v0.models.OrganizationSession;
|
|
13193
13235
|
type SessionAuthorization =
|
|
13194
13236
|
io.flow.v0.models.OrganizationSessionAuthorization;
|
|
13195
|
-
type Settlement =
|
|
13237
|
+
type Settlement =
|
|
13238
|
+
| io.flow.v0.models.SettlementNoPayout
|
|
13239
|
+
| io.flow.v0.models.SettlementPayout;
|
|
13196
13240
|
type ShippingLabelForm =
|
|
13197
13241
|
| io.flow.v0.models.DetailedShippingLabelForm
|
|
13198
13242
|
| io.flow.v0.models.SummaryShippingLabelForm;
|
|
@@ -13327,7 +13371,6 @@ export type ApplePayMerchantValidationPayload =
|
|
|
13327
13371
|
io.flow.v0.models.ApplePayMerchantValidationPayload;
|
|
13328
13372
|
export type AtCost = io.flow.v0.models.AtCost;
|
|
13329
13373
|
export type Attachment = io.flow.v0.models.Attachment;
|
|
13330
|
-
export type AttachmentType = io.flow.v0.enums.AttachmentType;
|
|
13331
13374
|
export type Attribute = io.flow.v0.models.Attribute;
|
|
13332
13375
|
export type AttributeDataType = io.flow.v0.enums.AttributeDataType;
|
|
13333
13376
|
export type AttributeDeleted = io.flow.v0.models.AttributeDeleted;
|
|
@@ -13537,6 +13580,7 @@ export type ChannelOrganizationPutForm =
|
|
|
13537
13580
|
io.flow.v0.models.ChannelOrganizationPutForm;
|
|
13538
13581
|
export type ChannelOrganizationUpserted =
|
|
13539
13582
|
io.flow.v0.models.ChannelOrganizationUpserted;
|
|
13583
|
+
export type ChannelPayout = io.flow.v0.models.ChannelPayout;
|
|
13540
13584
|
export type ChannelRate = io.flow.v0.models.ChannelRate;
|
|
13541
13585
|
export type ChannelReference = io.flow.v0.models.ChannelReference;
|
|
13542
13586
|
export type ChannelStatement = io.flow.v0.models.ChannelStatement;
|
|
@@ -14274,7 +14318,6 @@ export type NoInventoryReservationError =
|
|
|
14274
14318
|
io.flow.v0.models.NoInventoryReservationError;
|
|
14275
14319
|
export type NoInventoryReservationErrorItem =
|
|
14276
14320
|
io.flow.v0.models.NoInventoryReservationErrorItem;
|
|
14277
|
-
export type NoPayout = io.flow.v0.models.NoPayout;
|
|
14278
14321
|
export type NotificationDeletedV2 = io.flow.v0.models.NotificationDeletedV2;
|
|
14279
14322
|
export type NotificationUpsertedV2 = io.flow.v0.models.NotificationUpsertedV2;
|
|
14280
14323
|
export type NumberRange = io.flow.v0.models.NumberRange;
|
|
@@ -14492,6 +14535,7 @@ export type OrganizationOnboardingStateUpserted =
|
|
|
14492
14535
|
io.flow.v0.models.OrganizationOnboardingStateUpserted;
|
|
14493
14536
|
export type OrganizationPaymentMethodTag =
|
|
14494
14537
|
io.flow.v0.enums.OrganizationPaymentMethodTag;
|
|
14538
|
+
export type OrganizationPayout = io.flow.v0.models.OrganizationPayout;
|
|
14495
14539
|
export type OrganizationPutForm = io.flow.v0.models.OrganizationPutForm;
|
|
14496
14540
|
export type OrganizationRatesData = io.flow.v0.models.OrganizationRatesData;
|
|
14497
14541
|
export type OrganizationRatesPublished =
|
|
@@ -14523,6 +14567,8 @@ export type OutboundCartonFee = io.flow.v0.models.OutboundCartonFee;
|
|
|
14523
14567
|
export type OversizedShipmentRatecardFee =
|
|
14524
14568
|
io.flow.v0.models.OversizedShipmentRatecardFee;
|
|
14525
14569
|
export type Packaging = io.flow.v0.models.Packaging;
|
|
14570
|
+
export type ParentTransactionSummary =
|
|
14571
|
+
io.flow.v0.models.ParentTransactionSummary;
|
|
14526
14572
|
export type PartnerCenter = io.flow.v0.models.PartnerCenter;
|
|
14527
14573
|
export type PartnerCenterFee = io.flow.v0.unions.PartnerCenterFee;
|
|
14528
14574
|
export type PartnerCenterForm = io.flow.v0.models.PartnerCenterForm;
|
|
@@ -14704,9 +14750,13 @@ export type PaymentTax = io.flow.v0.models.PaymentTax;
|
|
|
14704
14750
|
export type PaymentType = io.flow.v0.enums.PaymentType;
|
|
14705
14751
|
export type PaymentUpserted = io.flow.v0.models.PaymentUpserted;
|
|
14706
14752
|
export type PaymentVersion = io.flow.v0.models.PaymentVersion;
|
|
14707
|
-
export type
|
|
14708
|
-
export type
|
|
14709
|
-
export type
|
|
14753
|
+
export type PayoutAttachment = io.flow.v0.models.PayoutAttachment;
|
|
14754
|
+
export type PayoutAttachmentType = io.flow.v0.enums.PayoutAttachmentType;
|
|
14755
|
+
export type PayoutStatus = io.flow.v0.unions.PayoutStatus;
|
|
14756
|
+
export type PayoutStatusFailed = io.flow.v0.models.PayoutStatusFailed;
|
|
14757
|
+
export type PayoutStatusFailureCode = io.flow.v0.enums.PayoutStatusFailureCode;
|
|
14758
|
+
export type PayoutStatusScheduled = io.flow.v0.models.PayoutStatusScheduled;
|
|
14759
|
+
export type PayoutStatusSent = io.flow.v0.models.PayoutStatusSent;
|
|
14710
14760
|
export type PaypalAuthorizationDetails =
|
|
14711
14761
|
io.flow.v0.models.PaypalAuthorizationDetails;
|
|
14712
14762
|
export type PaypalAuthorizationForm = io.flow.v0.models.PaypalAuthorizationForm;
|
|
@@ -14972,6 +15022,8 @@ export type SessionReference = io.flow.v0.models.SessionReference;
|
|
|
14972
15022
|
export type SessionVisit = io.flow.v0.models.SessionVisit;
|
|
14973
15023
|
export type SessionVisitor = io.flow.v0.models.SessionVisitor;
|
|
14974
15024
|
export type Settlement = io.flow.v0.unions.Settlement;
|
|
15025
|
+
export type SettlementNoPayout = io.flow.v0.models.SettlementNoPayout;
|
|
15026
|
+
export type SettlementPayout = io.flow.v0.models.SettlementPayout;
|
|
14975
15027
|
export type SetupBlocked = io.flow.v0.models.SetupBlocked;
|
|
14976
15028
|
export type SetupCompleted = io.flow.v0.models.SetupCompleted;
|
|
14977
15029
|
export type SetupInProgress = io.flow.v0.models.SetupInProgress;
|
|
@@ -15121,6 +15173,7 @@ export type SolidusVariantExportType =
|
|
|
15121
15173
|
io.flow.v0.models.SolidusVariantExportType;
|
|
15122
15174
|
export type SortDirection = io.flow.v0.enums.SortDirection;
|
|
15123
15175
|
export type Statement = io.flow.v0.models.Statement;
|
|
15176
|
+
export type StatementAttachmentType = io.flow.v0.enums.StatementAttachmentType;
|
|
15124
15177
|
export type StatementDeleted = io.flow.v0.models.StatementDeleted;
|
|
15125
15178
|
export type StatementUpserted = io.flow.v0.models.StatementUpserted;
|
|
15126
15179
|
export type Strategy = io.flow.v0.enums.Strategy;
|