@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.d.ts CHANGED
@@ -1290,7 +1290,6 @@ declare namespace io.flow.shopify.external.v0.models {
1290
1290
  readonly id: number;
1291
1291
  readonly quantity: number;
1292
1292
  readonly fulfillable_quantity?: number;
1293
- readonly fulfillment_service: string;
1294
1293
  readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
1295
1294
  readonly grams?: number;
1296
1295
  readonly price?: string;
@@ -1310,7 +1309,6 @@ declare namespace io.flow.shopify.external.v0.models {
1310
1309
  }
1311
1310
  interface ShopifyLineItemForm {
1312
1311
  readonly fulfillable_quantity?: number;
1313
- readonly fulfillment_service: string;
1314
1312
  readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
1315
1313
  readonly grams?: number;
1316
1314
  readonly price?: string;
@@ -1476,7 +1474,6 @@ declare namespace io.flow.shopify.external.v0.models {
1476
1474
  readonly title: string;
1477
1475
  readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
1478
1476
  readonly carrier_identifier?: string;
1479
- readonly requested_fulfillment_service_id?: string;
1480
1477
  }
1481
1478
  interface ShopifyTaxLine {
1482
1479
  readonly price: string;
@@ -1581,7 +1578,7 @@ declare namespace io.flow.shopify.external.v0.models {
1581
1578
  }
1582
1579
  }
1583
1580
  declare namespace io.flow.apple.pay.v0.enums {
1584
- type ApplePayContactField = 'email' | 'name' | 'phone' | 'postal_address' | 'phonetic_name';
1581
+ type ApplePayContactField = 'email' | 'name' | 'phone' | 'postalAddress' | 'phoneticName';
1585
1582
  type ApplePayLineItemType = 'final' | 'pending';
1586
1583
  type ApplePayMerchantCapability = 'supports3DS' | 'supportsCredit' | 'supportsDebit' | 'supportsEMV';
1587
1584
  type ApplePayShippingType = 'shipping' | 'delivery' | 'store_pickup' | 'service_pickup';
@@ -1591,7 +1588,7 @@ declare namespace io.flow.apple.pay.v0.models {
1591
1588
  interface ApplePayLineItem {
1592
1589
  readonly label: string;
1593
1590
  readonly type: io.flow.apple.pay.v0.enums.ApplePayLineItemType;
1594
- readonly amount: number;
1591
+ readonly amount: string;
1595
1592
  }
1596
1593
  interface ApplePayPaymentContact {
1597
1594
  readonly email_address?: string;
@@ -1638,7 +1635,7 @@ declare namespace io.flow.apple.pay.v0.models {
1638
1635
  interface ApplePayShippingMethod {
1639
1636
  readonly label: string;
1640
1637
  readonly detail: string;
1641
- readonly amount: number;
1638
+ readonly amount: string;
1642
1639
  readonly identifier: string;
1643
1640
  }
1644
1641
  }
@@ -1649,7 +1646,6 @@ declare namespace io.flow.v0.enums {
1649
1646
  type AddressVerificationResultFieldCode = 'matched' | 'not_available' | 'not_checked' | 'not_matched';
1650
1647
  type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
1651
1648
  type Aggregate = 'maximum' | 'minimum';
1652
- type AttachmentType = 'csv';
1653
1649
  type AttributeDataType = 'boolean' | 'integer' | 'decimal' | 'string' | 'json_array';
1654
1650
  type AttributeIntent = 'brand' | 'color' | 'countries_of_origin' | 'product_id' | 'fulfillment_method' | 'hazardous' | 'price' | 'size' | 'sku' | 'taxability' | 'consumer_url' | 'gtin' | 'mpn' | 'facet' | 'eccn' | 'returnable' | 'searchable' | 'barcode' | 'min_days_to_ship' | 'max_days_to_ship' | 'commercial_invoice_item_number' | 'include_in_product_feeds';
1655
1651
  type AuthenticationTechnique = 'anonymous' | 'session' | 'token' | 'partner_token' | 'user';
@@ -1778,7 +1774,8 @@ declare namespace io.flow.v0.enums {
1778
1774
  type PaymentSourceConfirmationActionType = 'cvv' | 'billing_address' | 'number';
1779
1775
  type PaymentStatus = 'requires_payment_method' | 'requires_action' | 'processing' | 'cancelled' | 'expired' | 'authorized' | 'reversed' | 'captured' | 'refunded' | 'in_dispute' | 'charged_back';
1780
1776
  type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'sofort' | 'afterpay' | 'bancontact';
1781
- type PayoutStatusCode = 'scheduled' | 'sent' | 'cancelled' | 'failed' | 'succeeded';
1777
+ type PayoutAttachmentType = 'transactions';
1778
+ type PayoutStatusFailureCode = 'invalid_account_number' | 'could_not_process';
1782
1779
  type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
1783
1780
  type PhysicalDeliverySpecialSerivce = 'cold_storage' | 'hazardous' | 'perishable';
1784
1781
  type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
@@ -1812,6 +1809,7 @@ declare namespace io.flow.v0.enums {
1812
1809
  type ShopifyLocalizationMethod = 'api' | 'ssr';
1813
1810
  type ShopifySyncCheck = 'localized_variants' | 'flow_variant_metafields';
1814
1811
  type SortDirection = 'ascending' | 'descending';
1812
+ type StatementAttachmentType = 'csv';
1815
1813
  type Strategy = 'range' | 'from' | 'to';
1816
1814
  type SubcatalogItemStatus = 'excluded' | 'included' | 'restricted';
1817
1815
  type SurchargeResponsibleParty = 'organization' | 'customer';
@@ -2218,7 +2216,7 @@ declare namespace io.flow.v0.models {
2218
2216
  readonly ignore?: string;
2219
2217
  }
2220
2218
  interface Attachment {
2221
- readonly type: io.flow.v0.enums.AttachmentType;
2219
+ readonly type: io.flow.v0.enums.StatementAttachmentType;
2222
2220
  readonly url: string;
2223
2221
  }
2224
2222
  interface Attribute {
@@ -3074,6 +3072,15 @@ declare namespace io.flow.v0.models {
3074
3072
  readonly timestamp: string;
3075
3073
  readonly channel_organization: io.flow.v0.models.ChannelOrganization;
3076
3074
  }
3075
+ interface ChannelPayout {
3076
+ readonly id: string;
3077
+ readonly account: io.flow.v0.models.AccountReference;
3078
+ readonly status: io.flow.v0.unions.PayoutStatus;
3079
+ readonly amount: number;
3080
+ readonly attachments: io.flow.v0.models.PayoutAttachment[];
3081
+ readonly created_at: string;
3082
+ readonly updated_at: string;
3083
+ }
3077
3084
  interface ChannelRate {
3078
3085
  readonly placeholder?: string;
3079
3086
  }
@@ -3129,6 +3136,7 @@ declare namespace io.flow.v0.models {
3129
3136
  readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
3130
3137
  readonly currency: string;
3131
3138
  readonly source: io.flow.v0.enums.TransactionSource;
3139
+ readonly parent?: io.flow.v0.models.ParentTransactionSummary;
3132
3140
  readonly gross: number;
3133
3141
  readonly fees: io.flow.v0.models.FeeDeduction[];
3134
3142
  readonly withholdings: io.flow.v0.models.WithholdingDeduction[];
@@ -3136,6 +3144,7 @@ declare namespace io.flow.v0.models {
3136
3144
  readonly net: number;
3137
3145
  readonly identifiers: Record<string, string>;
3138
3146
  readonly created_at: string;
3147
+ readonly updated_at: string;
3139
3148
  }
3140
3149
  interface ChannelTransactionDeleted {
3141
3150
  readonly discriminator: 'channel_transaction_deleted';
@@ -5909,10 +5918,6 @@ declare namespace io.flow.v0.models {
5909
5918
  readonly requested_quantity: number;
5910
5919
  readonly available_quantity: number;
5911
5920
  }
5912
- interface NoPayout {
5913
- readonly discriminator: 'no_payout';
5914
- readonly placeholder?: string;
5915
- }
5916
5921
  interface NotificationDeletedV2 {
5917
5922
  readonly discriminator: 'notification_deleted_v2';
5918
5923
  readonly event_id: string;
@@ -6764,6 +6769,15 @@ declare namespace io.flow.v0.models {
6764
6769
  readonly organization: string;
6765
6770
  readonly organization_onboarding_state: io.flow.v0.models.OrganizationOnboardingState;
6766
6771
  }
6772
+ interface OrganizationPayout {
6773
+ readonly id: string;
6774
+ readonly account: io.flow.v0.models.AccountReference;
6775
+ readonly status: io.flow.v0.unions.PayoutStatus;
6776
+ readonly amount: number;
6777
+ readonly attachments: io.flow.v0.models.PayoutAttachment[];
6778
+ readonly created_at: string;
6779
+ readonly updated_at: string;
6780
+ }
6767
6781
  interface OrganizationPutForm {
6768
6782
  readonly name?: string;
6769
6783
  readonly environment?: io.flow.v0.enums.Environment;
@@ -6912,6 +6926,10 @@ declare namespace io.flow.v0.models {
6912
6926
  readonly name?: string;
6913
6927
  readonly number?: string;
6914
6928
  }
6929
+ interface ParentTransactionSummary {
6930
+ readonly id: string;
6931
+ readonly source: io.flow.v0.enums.TransactionSource;
6932
+ }
6915
6933
  interface PartnerCenter {
6916
6934
  readonly partner_reference: io.flow.v0.models.PartnerReference;
6917
6935
  readonly number?: string;
@@ -7447,15 +7465,22 @@ declare namespace io.flow.v0.models {
7447
7465
  readonly type: io.flow.v0.enums.ChangeType;
7448
7466
  readonly payment: io.flow.v0.unions.Payment;
7449
7467
  }
7450
- interface Payout {
7451
- readonly discriminator: 'payout';
7452
- readonly status: io.flow.v0.models.PayoutStatus;
7453
- readonly amount: number;
7454
- readonly sent_on?: string;
7468
+ interface PayoutAttachment {
7469
+ readonly type: io.flow.v0.enums.PayoutAttachmentType;
7470
+ readonly url: string;
7455
7471
  }
7456
- interface PayoutStatus {
7457
- readonly code: io.flow.v0.enums.PayoutStatusCode;
7458
- readonly reason?: string;
7472
+ interface PayoutStatusFailed {
7473
+ readonly code: 'failed';
7474
+ readonly timestamp: string;
7475
+ readonly reason: io.flow.v0.enums.PayoutStatusFailureCode;
7476
+ }
7477
+ interface PayoutStatusScheduled {
7478
+ readonly code: 'scheduled';
7479
+ readonly placeholder?: string;
7480
+ }
7481
+ interface PayoutStatusSent {
7482
+ readonly code: 'sent';
7483
+ readonly timestamp: string;
7459
7484
  }
7460
7485
  interface PaypalAuthorizationDetails {
7461
7486
  readonly discriminator: 'paypal_authorization_details';
@@ -8670,13 +8695,23 @@ declare namespace io.flow.v0.models {
8670
8695
  interface SessionVisitor {
8671
8696
  readonly id: string;
8672
8697
  }
8698
+ interface SettlementNoPayout {
8699
+ readonly discriminator: 'no_payout';
8700
+ readonly placeholder?: string;
8701
+ }
8702
+ interface SettlementPayout {
8703
+ readonly discriminator: 'payout';
8704
+ readonly status: io.flow.v0.unions.PayoutStatus;
8705
+ readonly amount: number;
8706
+ readonly sent_on?: string;
8707
+ }
8673
8708
  interface SetupBlocked {
8674
8709
  readonly discriminator: 'setup_blocked';
8675
8710
  readonly reasons: io.flow.v0.enums.OnboardingBlockedReason[];
8676
8711
  }
8677
8712
  interface SetupCompleted {
8678
8713
  readonly discriminator: 'setup_completed';
8679
- readonly placeholder?: boolean;
8714
+ readonly third_party_logistics_guid: string;
8680
8715
  }
8681
8716
  interface SetupInProgress {
8682
8717
  readonly discriminator: 'setup_in_progress';
@@ -9871,6 +9906,7 @@ declare namespace io.flow.v0.models {
9871
9906
  readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
9872
9907
  readonly currency: string;
9873
9908
  readonly source: io.flow.v0.enums.TransactionSource;
9909
+ readonly parent?: io.flow.v0.models.ParentTransactionSummary;
9874
9910
  readonly gross: number;
9875
9911
  readonly fees: io.flow.v0.models.FeeDeduction[];
9876
9912
  readonly withholdings: io.flow.v0.models.WithholdingDeduction[];
@@ -9878,6 +9914,7 @@ declare namespace io.flow.v0.models {
9878
9914
  readonly net: number;
9879
9915
  readonly identifiers: Record<string, string>;
9880
9916
  readonly created_at: string;
9917
+ readonly updated_at: string;
9881
9918
  }
9882
9919
  interface TransactionDetailsCard {
9883
9920
  readonly type: 'card';
@@ -10180,6 +10217,7 @@ declare namespace io.flow.v0.unions {
10180
10217
  type PaymentOrderReference = io.flow.v0.models.AuthorizationOrderReference | io.flow.v0.models.PaymentPaymentRequestReference;
10181
10218
  type PaymentSource = io.flow.v0.models.CardPaymentSource;
10182
10219
  type PaymentSourceForm = io.flow.v0.models.CardPaymentSourceForm;
10220
+ type PayoutStatus = io.flow.v0.models.PayoutStatusScheduled | io.flow.v0.models.PayoutStatusSent | io.flow.v0.models.PayoutStatusFailed;
10183
10221
  type PriceSource = io.flow.v0.models.PriceSourcePriceBook | io.flow.v0.models.PriceSourceCatalog | io.flow.v0.models.PriceSourceProvided;
10184
10222
  type Promotion = io.flow.v0.models.FreeShipping | io.flow.v0.models.Discount;
10185
10223
  type QueryBuilderForm = io.flow.v0.models.QueryBuilderFilterForm | io.flow.v0.models.QueryBuilderQueryForm;
@@ -10195,7 +10233,7 @@ declare namespace io.flow.v0.unions {
10195
10233
  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;
10196
10234
  type Session = io.flow.v0.models.OrganizationSession;
10197
10235
  type SessionAuthorization = io.flow.v0.models.OrganizationSessionAuthorization;
10198
- type Settlement = io.flow.v0.models.NoPayout | io.flow.v0.models.Payout;
10236
+ type Settlement = io.flow.v0.models.SettlementNoPayout | io.flow.v0.models.SettlementPayout;
10199
10237
  type ShippingLabelForm = io.flow.v0.models.DetailedShippingLabelForm | io.flow.v0.models.SummaryShippingLabelForm;
10200
10238
  type ShippingNotificationForm = io.flow.v0.models.DetailedShippingNotificationForm | io.flow.v0.models.SinglePackageShippingNotificationForm | io.flow.v0.models.SummaryShippingNotificationForm;
10201
10239
  type ShopifyCartAddForm = io.flow.v0.models.ShopifyCartAddSingleForm | io.flow.v0.models.ShopifyCartAddMultipleForm;
@@ -10279,7 +10317,6 @@ export declare type AnalyticsExportType = io.flow.v0.models.AnalyticsExportType;
10279
10317
  export declare type ApplePayMerchantValidationPayload = io.flow.v0.models.ApplePayMerchantValidationPayload;
10280
10318
  export declare type AtCost = io.flow.v0.models.AtCost;
10281
10319
  export declare type Attachment = io.flow.v0.models.Attachment;
10282
- export declare type AttachmentType = io.flow.v0.enums.AttachmentType;
10283
10320
  export declare type Attribute = io.flow.v0.models.Attribute;
10284
10321
  export declare type AttributeDataType = io.flow.v0.enums.AttributeDataType;
10285
10322
  export declare type AttributeDeleted = io.flow.v0.models.AttributeDeleted;
@@ -10444,6 +10481,7 @@ export declare type ChannelOrganizationDeleted = io.flow.v0.models.ChannelOrgani
10444
10481
  export declare type ChannelOrganizationForm = io.flow.v0.models.ChannelOrganizationForm;
10445
10482
  export declare type ChannelOrganizationPutForm = io.flow.v0.models.ChannelOrganizationPutForm;
10446
10483
  export declare type ChannelOrganizationUpserted = io.flow.v0.models.ChannelOrganizationUpserted;
10484
+ export declare type ChannelPayout = io.flow.v0.models.ChannelPayout;
10447
10485
  export declare type ChannelRate = io.flow.v0.models.ChannelRate;
10448
10486
  export declare type ChannelReference = io.flow.v0.models.ChannelReference;
10449
10487
  export declare type ChannelStatement = io.flow.v0.models.ChannelStatement;
@@ -11031,7 +11069,6 @@ export declare type Name = io.flow.v0.models.Name;
11031
11069
  export declare type NameForm = io.flow.v0.models.NameForm;
11032
11070
  export declare type NoInventoryReservationError = io.flow.v0.models.NoInventoryReservationError;
11033
11071
  export declare type NoInventoryReservationErrorItem = io.flow.v0.models.NoInventoryReservationErrorItem;
11034
- export declare type NoPayout = io.flow.v0.models.NoPayout;
11035
11072
  export declare type NotificationDeletedV2 = io.flow.v0.models.NotificationDeletedV2;
11036
11073
  export declare type NotificationUpsertedV2 = io.flow.v0.models.NotificationUpsertedV2;
11037
11074
  export declare type NumberRange = io.flow.v0.models.NumberRange;
@@ -11195,6 +11232,7 @@ export declare type OrganizationOnboardingState = io.flow.v0.models.Organization
11195
11232
  export declare type OrganizationOnboardingStateDeleted = io.flow.v0.models.OrganizationOnboardingStateDeleted;
11196
11233
  export declare type OrganizationOnboardingStateUpserted = io.flow.v0.models.OrganizationOnboardingStateUpserted;
11197
11234
  export declare type OrganizationPaymentMethodTag = io.flow.v0.enums.OrganizationPaymentMethodTag;
11235
+ export declare type OrganizationPayout = io.flow.v0.models.OrganizationPayout;
11198
11236
  export declare type OrganizationPutForm = io.flow.v0.models.OrganizationPutForm;
11199
11237
  export declare type OrganizationRatesData = io.flow.v0.models.OrganizationRatesData;
11200
11238
  export declare type OrganizationRatesPublished = io.flow.v0.models.OrganizationRatesPublished;
@@ -11219,6 +11257,7 @@ export declare type OriginalPrices = io.flow.v0.models.OriginalPrices;
11219
11257
  export declare type OutboundCartonFee = io.flow.v0.models.OutboundCartonFee;
11220
11258
  export declare type OversizedShipmentRatecardFee = io.flow.v0.models.OversizedShipmentRatecardFee;
11221
11259
  export declare type Packaging = io.flow.v0.models.Packaging;
11260
+ export declare type ParentTransactionSummary = io.flow.v0.models.ParentTransactionSummary;
11222
11261
  export declare type PartnerCenter = io.flow.v0.models.PartnerCenter;
11223
11262
  export declare type PartnerCenterFee = io.flow.v0.unions.PartnerCenterFee;
11224
11263
  export declare type PartnerCenterForm = io.flow.v0.models.PartnerCenterForm;
@@ -11344,9 +11383,13 @@ export declare type PaymentTax = io.flow.v0.models.PaymentTax;
11344
11383
  export declare type PaymentType = io.flow.v0.enums.PaymentType;
11345
11384
  export declare type PaymentUpserted = io.flow.v0.models.PaymentUpserted;
11346
11385
  export declare type PaymentVersion = io.flow.v0.models.PaymentVersion;
11347
- export declare type Payout = io.flow.v0.models.Payout;
11348
- export declare type PayoutStatus = io.flow.v0.models.PayoutStatus;
11349
- export declare type PayoutStatusCode = io.flow.v0.enums.PayoutStatusCode;
11386
+ export declare type PayoutAttachment = io.flow.v0.models.PayoutAttachment;
11387
+ export declare type PayoutAttachmentType = io.flow.v0.enums.PayoutAttachmentType;
11388
+ export declare type PayoutStatus = io.flow.v0.unions.PayoutStatus;
11389
+ export declare type PayoutStatusFailed = io.flow.v0.models.PayoutStatusFailed;
11390
+ export declare type PayoutStatusFailureCode = io.flow.v0.enums.PayoutStatusFailureCode;
11391
+ export declare type PayoutStatusScheduled = io.flow.v0.models.PayoutStatusScheduled;
11392
+ export declare type PayoutStatusSent = io.flow.v0.models.PayoutStatusSent;
11350
11393
  export declare type PaypalAuthorizationDetails = io.flow.v0.models.PaypalAuthorizationDetails;
11351
11394
  export declare type PaypalAuthorizationForm = io.flow.v0.models.PaypalAuthorizationForm;
11352
11395
  export declare type PeakSurchargeByWeightServiceFee = io.flow.v0.models.PeakSurchargeByWeightServiceFee;
@@ -11583,6 +11626,8 @@ export declare type SessionReference = io.flow.v0.models.SessionReference;
11583
11626
  export declare type SessionVisit = io.flow.v0.models.SessionVisit;
11584
11627
  export declare type SessionVisitor = io.flow.v0.models.SessionVisitor;
11585
11628
  export declare type Settlement = io.flow.v0.unions.Settlement;
11629
+ export declare type SettlementNoPayout = io.flow.v0.models.SettlementNoPayout;
11630
+ export declare type SettlementPayout = io.flow.v0.models.SettlementPayout;
11586
11631
  export declare type SetupBlocked = io.flow.v0.models.SetupBlocked;
11587
11632
  export declare type SetupCompleted = io.flow.v0.models.SetupCompleted;
11588
11633
  export declare type SetupInProgress = io.flow.v0.models.SetupInProgress;
@@ -11681,6 +11726,7 @@ export declare type SolidusProductExportType = io.flow.v0.models.SolidusProductE
11681
11726
  export declare type SolidusVariantExportType = io.flow.v0.models.SolidusVariantExportType;
11682
11727
  export declare type SortDirection = io.flow.v0.enums.SortDirection;
11683
11728
  export declare type Statement = io.flow.v0.models.Statement;
11729
+ export declare type StatementAttachmentType = io.flow.v0.enums.StatementAttachmentType;
11684
11730
  export declare type StatementDeleted = io.flow.v0.models.StatementDeleted;
11685
11731
  export declare type StatementUpserted = io.flow.v0.models.StatementUpserted;
11686
11732
  export declare type Strategy = io.flow.v0.enums.Strategy;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.52",
3
+ "version": "11.24.54",
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": "4583d2c8da865de78e80c9d74e1d244aeb40f57c"
28
+ "gitHead": "a8ae712ba7bc25f4abe216a620860b2f43e6c513"
29
29
  }