@flowio/types 11.24.44 → 11.24.46

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
@@ -1647,7 +1647,7 @@ declare namespace io.flow.v0.enums {
1647
1647
  type AbandonedOrderPromotionStatus = 'active' | 'inactive';
1648
1648
  type AbandonedOrderSettingStatus = 'active' | 'inactive';
1649
1649
  type AddressFieldName = 'first_name' | 'last_name' | 'street_1' | 'street_2' | 'city' | 'province' | 'postal' | 'country' | 'phone' | 'company' | 'vat_registration_number';
1650
- type AddressVerificationResultFieldCode = 'match' | 'not_available' | 'not_checked' | 'not_matched';
1650
+ type AddressVerificationResultFieldCode = 'matched' | 'not_available' | 'not_checked' | 'not_matched';
1651
1651
  type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
1652
1652
  type Aggregate = 'maximum' | 'minimum';
1653
1653
  type AttachmentType = 'csv';
@@ -1682,7 +1682,7 @@ declare namespace io.flow.v0.enums {
1682
1682
  type CurrencySymbolFormat = 'narrow' | 'primary';
1683
1683
  type CustomerAddressType = 'billing' | 'invoice' | 'shipping';
1684
1684
  type CvvCode = 'match' | 'suspicious' | 'unsupported' | 'no_match';
1685
- type CvvResultCode = 'match' | 'not_available' | 'not_checked' | 'not_matched';
1685
+ type CvvResultCode = 'matched' | 'not_available' | 'not_checked' | 'not_matched';
1686
1686
  type DayOfWeek = 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday';
1687
1687
  type DeliveredDuty = 'paid' | 'unpaid';
1688
1688
  type DeliveredDutyDisplayType = 'all' | 'single';
@@ -1732,6 +1732,8 @@ declare namespace io.flow.v0.enums {
1732
1732
  type InvitationErrorCode = 'expired' | 'invalid_email';
1733
1733
  type ItemAvailabilityStatus = 'available' | 'low' | 'out_of_stock';
1734
1734
  type ItemIdentifier = 'item_number' | 'sku';
1735
+ type LabelRequestMethod = 'flow_web_sync' | 'channel_web_async' | 'direct_api_sync' | 'direct_api_async' | 'bridge_api_sync' | 'partner_api_sync' | 'notification_requiring_crossdock' | 'autogenerated';
1736
+ type LabelTriggerMethod = 'autogenerated' | 'on_demand';
1735
1737
  type LaneDirection = 'outbound' | 'return';
1736
1738
  type LanePreselectPreference = 'lowest_cost' | 'default_tier';
1737
1739
  type LaneStrategy = 'oldest' | 'fastest' | 'lowest_cost' | 'highest_priority';
@@ -7969,6 +7971,7 @@ declare namespace io.flow.v0.models {
7969
7971
  readonly delivered_duty: io.flow.v0.enums.DeliveredDuty;
7970
7972
  readonly dimensional_weight?: io.flow.v0.models.Measurement;
7971
7973
  readonly gravitational_weight?: io.flow.v0.models.Measurement;
7974
+ readonly ratecard_id?: string;
7972
7975
  readonly line_items?: io.flow.v0.models.LineItemForm[];
7973
7976
  }
7974
7977
  interface RatecardForm {
@@ -8563,11 +8566,16 @@ declare namespace io.flow.v0.models {
8563
8566
  readonly id: string;
8564
8567
  }
8565
8568
  interface ServiceSummary {
8569
+ readonly discriminator: 'service_summary';
8566
8570
  readonly id: string;
8567
8571
  readonly carrier: io.flow.v0.models.CarrierReference;
8568
8572
  readonly name: string;
8569
8573
  readonly center_code?: string;
8570
8574
  }
8575
+ interface ServiceUnknown {
8576
+ readonly discriminator: 'service_unknown';
8577
+ readonly name: string;
8578
+ }
8571
8579
  interface SessionAuthorizationForm {
8572
8580
  readonly session: string;
8573
8581
  }
@@ -8774,6 +8782,8 @@ declare namespace io.flow.v0.models {
8774
8782
  readonly order_identifier?: string;
8775
8783
  readonly fulfillment_key?: string;
8776
8784
  readonly shipment_recipient: io.flow.v0.enums.ShipmentRecipient;
8785
+ readonly label_request_method?: io.flow.v0.enums.LabelRequestMethod;
8786
+ readonly label_trigger_method?: io.flow.v0.enums.LabelTriggerMethod;
8777
8787
  readonly created_at?: string;
8778
8788
  readonly updated_at?: string;
8779
8789
  }
@@ -8870,9 +8880,9 @@ declare namespace io.flow.v0.models {
8870
8880
  readonly destination: io.flow.v0.models.ShippingAddress;
8871
8881
  readonly flow_tracking_number: string;
8872
8882
  readonly origin: io.flow.v0.models.ShippingAddress;
8873
- readonly package: io.flow.v0.models.ShippingLabelPackage;
8874
- readonly service: io.flow.v0.models.ServiceSummary;
8875
- readonly window: io.flow.v0.models.DatetimeRange;
8883
+ readonly package?: io.flow.v0.models.ShippingLabelPackage;
8884
+ readonly service: io.flow.v0.unions.ServiceDescription;
8885
+ readonly window?: io.flow.v0.models.DatetimeRange;
8876
8886
  readonly order?: io.flow.v0.models.LabelOrderSummary;
8877
8887
  readonly order_identifier?: string;
8878
8888
  readonly fulfillment_key?: string;
@@ -10150,6 +10160,7 @@ declare namespace io.flow.v0.unions {
10150
10160
  type ReservationError = io.flow.v0.models.NoInventoryReservationError | io.flow.v0.models.ExternalApiTimeoutReservationError | io.flow.v0.models.GenericReservationError;
10151
10161
  type ReturnSource = io.flow.v0.models.ReturnSourceFlow | io.flow.v0.models.ReturnSourceExternalVendor;
10152
10162
  type SdkAdyenV3AuthenticationToken = io.flow.v0.models.AdyenV3FingerprintToken | io.flow.v0.models.AdyenV3ChallengeToken;
10163
+ type ServiceDescription = io.flow.v0.models.ServiceSummary | io.flow.v0.models.ServiceUnknown;
10153
10164
  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;
10154
10165
  type Session = io.flow.v0.models.OrganizationSession;
10155
10166
  type SessionAuthorization = io.flow.v0.models.OrganizationSessionAuthorization;
@@ -10888,9 +10899,11 @@ export declare type LabelFormatDeleted = io.flow.v0.models.LabelFormatDeleted;
10888
10899
  export declare type LabelFormatUpserted = io.flow.v0.models.LabelFormatUpserted;
10889
10900
  export declare type LabelOrderSummary = io.flow.v0.models.LabelOrderSummary;
10890
10901
  export declare type LabelReference = io.flow.v0.models.LabelReference;
10902
+ export declare type LabelRequestMethod = io.flow.v0.enums.LabelRequestMethod;
10891
10903
  export declare type LabelTrackingCarrierService = io.flow.v0.models.LabelTrackingCarrierService;
10892
10904
  export declare type LabelTrackingSummary = io.flow.v0.models.LabelTrackingSummary;
10893
10905
  export declare type LabelTrackingSummaryUpdate = io.flow.v0.models.LabelTrackingSummaryUpdate;
10906
+ export declare type LabelTriggerMethod = io.flow.v0.enums.LabelTriggerMethod;
10894
10907
  export declare type LabelUpserted = io.flow.v0.models.LabelUpserted;
10895
10908
  export declare type LabelUpsertedV2 = io.flow.v0.models.LabelUpsertedV2;
10896
10909
  export declare type LandedCostItem = io.flow.v0.models.LandedCostItem;
@@ -11508,9 +11521,11 @@ export declare type ScheduledExportForm = io.flow.v0.models.ScheduledExportForm;
11508
11521
  export declare type ScheduledPickup = io.flow.v0.models.ScheduledPickup;
11509
11522
  export declare type SdkAdyenV3AuthenticationToken = io.flow.v0.unions.SdkAdyenV3AuthenticationToken;
11510
11523
  export declare type SelectIssuerOptionActionDetails = io.flow.v0.models.SelectIssuerOptionActionDetails;
11524
+ export declare type ServiceDescription = io.flow.v0.unions.ServiceDescription;
11511
11525
  export declare type ServiceFee = io.flow.v0.unions.ServiceFee;
11512
11526
  export declare type ServiceReference = io.flow.v0.models.ServiceReference;
11513
11527
  export declare type ServiceSummary = io.flow.v0.models.ServiceSummary;
11528
+ export declare type ServiceUnknown = io.flow.v0.models.ServiceUnknown;
11514
11529
  export declare type Session = io.flow.v0.unions.Session;
11515
11530
  export declare type SessionAuthorization = io.flow.v0.unions.SessionAuthorization;
11516
11531
  export declare type SessionAuthorizationForm = io.flow.v0.models.SessionAuthorizationForm;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.44",
3
+ "version": "11.24.46",
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": "539fb4a2334830dc0411d081303bb70eef89bdd0"
28
+ "gitHead": "67f9d68551d126269af1c8bec9245dffdcb2eeb2"
29
29
  }
@@ -1819,7 +1819,7 @@ declare namespace io.flow.flexe.v0.models {
1819
1819
 
1820
1820
  declare namespace io.flow.payment.v0.enums {
1821
1821
  type AddressVerificationResultFieldCode =
1822
- | 'match'
1822
+ | 'matched'
1823
1823
  | 'not_available'
1824
1824
  | 'not_checked'
1825
1825
  | 'not_matched';
@@ -1881,7 +1881,7 @@ declare namespace io.flow.payment.v0.enums {
1881
1881
  | 'visa';
1882
1882
  type CvvCode = 'match' | 'suspicious' | 'unsupported' | 'no_match';
1883
1883
  type CvvResultCode =
1884
- | 'match'
1884
+ | 'matched'
1885
1885
  | 'not_available'
1886
1886
  | 'not_checked'
1887
1887
  | 'not_matched';
@@ -3847,6 +3847,16 @@ declare namespace io.flow.customer.v0.models {
3847
3847
  declare namespace io.flow.label.v0.enums {
3848
3848
  type CostEstimateSource = 'flow' | 'channel';
3849
3849
  type Direction = 'outbound' | 'return';
3850
+ type LabelRequestMethod =
3851
+ | 'flow_web_sync'
3852
+ | 'channel_web_async'
3853
+ | 'direct_api_sync'
3854
+ | 'direct_api_async'
3855
+ | 'bridge_api_sync'
3856
+ | 'partner_api_sync'
3857
+ | 'notification_requiring_crossdock'
3858
+ | 'autogenerated';
3859
+ type LabelTriggerMethod = 'autogenerated' | 'on_demand';
3850
3860
  type ShipmentRecipient = 'customer' | 'return' | 'crossdock';
3851
3861
  type TrackingNumberType = 'flow' | 'carrier';
3852
3862
  }
@@ -3942,6 +3952,8 @@ declare namespace io.flow.label.v0.models {
3942
3952
  readonly order_identifier?: string;
3943
3953
  readonly fulfillment_key?: string;
3944
3954
  readonly shipment_recipient: io.flow.label.v0.enums.ShipmentRecipient;
3955
+ readonly label_request_method?: io.flow.label.v0.enums.LabelRequestMethod;
3956
+ readonly label_trigger_method?: io.flow.label.v0.enums.LabelTriggerMethod;
3945
3957
  readonly created_at?: string;
3946
3958
  readonly updated_at?: string;
3947
3959
  }
@@ -3997,9 +4009,9 @@ declare namespace io.flow.label.v0.models {
3997
4009
  readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
3998
4010
  readonly flow_tracking_number: string;
3999
4011
  readonly origin: io.flow.fulfillment.v0.models.ShippingAddress;
4000
- readonly package: io.flow.label.v0.models.ShippingLabelPackage;
4001
- readonly service: io.flow.fulfillment.v0.models.ServiceSummary;
4002
- readonly window: io.flow.common.v0.models.DatetimeRange;
4012
+ readonly package?: io.flow.label.v0.models.ShippingLabelPackage;
4013
+ readonly service: io.flow.fulfillment.v0.unions.ServiceDescription;
4014
+ readonly window?: io.flow.common.v0.models.DatetimeRange;
4003
4015
  readonly order?: io.flow.label.v0.models.LabelOrderSummary;
4004
4016
  readonly order_identifier?: string;
4005
4017
  readonly fulfillment_key?: string;
@@ -9886,6 +9898,7 @@ declare namespace io.flow.ratecard.v0.models {
9886
9898
  readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
9887
9899
  readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
9888
9900
  readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
9901
+ readonly ratecard_id?: string;
9889
9902
  readonly line_items?: io.flow.common.v0.models.LineItemForm[];
9890
9903
  }
9891
9904
 
@@ -12405,12 +12418,18 @@ declare namespace io.flow.fulfillment.v0.models {
12405
12418
  }
12406
12419
 
12407
12420
  interface ServiceSummary {
12421
+ readonly discriminator: 'service_summary';
12408
12422
  readonly id: string;
12409
12423
  readonly carrier: io.flow.fulfillment.v0.models.CarrierReference;
12410
12424
  readonly name: string;
12411
12425
  readonly center_code?: string;
12412
12426
  }
12413
12427
 
12428
+ interface ServiceUnknown {
12429
+ readonly discriminator: 'service_unknown';
12430
+ readonly name: string;
12431
+ }
12432
+
12414
12433
  interface ShippingAddress {
12415
12434
  readonly contact: io.flow.common.v0.models.Contact;
12416
12435
  readonly location: io.flow.common.v0.models.Address;
@@ -12649,6 +12668,9 @@ declare namespace io.flow.fulfillment.v0.unions {
12649
12668
  | io.flow.fulfillment.v0.models.CommercialInvoiceFee
12650
12669
  | io.flow.fulfillment.v0.models.InboundCartonFee
12651
12670
  | io.flow.fulfillment.v0.models.OutboundCartonFee;
12671
+ type ServiceDescription =
12672
+ | io.flow.fulfillment.v0.models.ServiceSummary
12673
+ | io.flow.fulfillment.v0.models.ServiceUnknown;
12652
12674
  type TierRuleOutcome =
12653
12675
  | io.flow.fulfillment.v0.models.AmountMargin
12654
12676
  | io.flow.fulfillment.v0.models.AtCost
@@ -12843,6 +12865,82 @@ declare namespace io.flow.checkout.v0.unions {
12843
12865
  | io.flow.checkout.v0.models.CheckoutTokenReferenceForm;
12844
12866
  }
12845
12867
 
12868
+ declare namespace io.flow.organization.onboarding.state.v0.enums {
12869
+ type MerchantRejectedReason =
12870
+ | 'merchant_ubo_is_pep'
12871
+ | 'merchant_catalog_is_unsupportable'
12872
+ | 'merchant_failed_kyb_review';
12873
+ type OnboardingBlockedReason =
12874
+ | 'street_address_is_blank_3pl'
12875
+ | 'street_address_is_po_box_3pl'
12876
+ | 'business_street_address_is_blank'
12877
+ | 'business_street_address_is_po_box';
12878
+ }
12879
+
12880
+ declare namespace io.flow.organization.onboarding.state.v0.models {
12881
+ interface ActivationPutForm {
12882
+ readonly placeholder?: boolean;
12883
+ }
12884
+
12885
+ interface ApplicationReceived {
12886
+ readonly discriminator: 'application_received';
12887
+ readonly placeholder?: boolean;
12888
+ }
12889
+
12890
+ interface InComplianceReview {
12891
+ readonly discriminator: 'in_compliance_review';
12892
+ readonly placeholder?: boolean;
12893
+ }
12894
+
12895
+ interface MerchantActivated {
12896
+ readonly discriminator: 'merchant_activated';
12897
+ readonly placeholder?: boolean;
12898
+ }
12899
+
12900
+ interface MerchantRejected {
12901
+ readonly discriminator: 'merchant_rejected';
12902
+ readonly reason: io.flow.organization.onboarding.state.v0.enums.MerchantRejectedReason;
12903
+ readonly description?: string;
12904
+ }
12905
+
12906
+ interface OnboardingStateTransition {
12907
+ readonly state: io.flow.organization.onboarding.state.v0.unions.OnboardingState;
12908
+ readonly started_at: string;
12909
+ }
12910
+
12911
+ interface OrganizationOnboardingState {
12912
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
12913
+ readonly transitions: io.flow.organization.onboarding.state.v0.models.OnboardingStateTransition[];
12914
+ readonly current_state: io.flow.organization.onboarding.state.v0.unions.OnboardingState;
12915
+ }
12916
+
12917
+ interface SetupBlocked {
12918
+ readonly discriminator: 'setup_blocked';
12919
+ readonly reasons: io.flow.organization.onboarding.state.v0.enums.OnboardingBlockedReason[];
12920
+ }
12921
+
12922
+ interface SetupCompleted {
12923
+ readonly discriminator: 'setup_completed';
12924
+ readonly placeholder?: boolean;
12925
+ }
12926
+
12927
+ interface SetupInProgress {
12928
+ readonly discriminator: 'setup_in_progress';
12929
+ readonly placeholder?: boolean;
12930
+ }
12931
+ }
12932
+
12933
+ declare namespace io.flow.organization.onboarding.state.v0.unions {
12934
+ type OnboardingState =
12935
+ | io.flow.organization.onboarding.state.v0.models.ApplicationReceived
12936
+ | io.flow.organization.onboarding.state.v0.models.InComplianceReview
12937
+ | io.flow.organization.onboarding.state.v0.models.SetupInProgress
12938
+ | io.flow.organization.onboarding.state.v0.models.MerchantRejected
12939
+ | io.flow.organization.onboarding.state.v0.models.SetupBlocked
12940
+ | io.flow.organization.onboarding.state.v0.models.SetupCompleted
12941
+ | io.flow.organization.onboarding.state.v0.models.MerchantActivated;
12942
+ }
12943
+
12846
12944
  declare namespace io.flow.fraud.v0.enums {
12847
12945
  type FraudEmailRuleDecision = 'approved' | 'declined';
12848
12946
  type FraudLiability = 'flow' | 'organization';
@@ -13868,6 +13966,8 @@ declare namespace io.flow.internal.v0.enums {
13868
13966
  | 'shopify_experience_short_id_deleted'
13869
13967
  | 'shopify_markets_order_upserted'
13870
13968
  | 'shopify_markets_order_deleted'
13969
+ | 'shopify_monitoring_order_monitor_event_upserted'
13970
+ | 'shopify_monitoring_order_monitor_event_deleted'
13871
13971
  | 'stripe_authorization_deleted'
13872
13972
  | 'stripe_authorization_upserted'
13873
13973
  | 'stripe_reversal_deleted'
@@ -14050,6 +14150,7 @@ declare namespace io.flow.internal.v0.enums {
14050
14150
  | 'shopify_markets'
14051
14151
  | 'integration_partner'
14052
14152
  | 'dtce'
14153
+ | 'restrictions'
14053
14154
  | 'miscellaneous';
14054
14155
  type OnboardingAutomationProcessState =
14055
14156
  | 'not_started'
@@ -14209,6 +14310,11 @@ declare namespace io.flow.internal.v0.enums {
14209
14310
  | 'sports_and_fitness'
14210
14311
  | 'toys_hobbies_gifts'
14211
14312
  | 'other';
14313
+ type ShopifyMonitoringMonitorReviewStatus = 'in_review' | 'reviewed';
14314
+ type ShopifyMonitoringTrackingField =
14315
+ | 'tracking_number'
14316
+ | 'carrier_service'
14317
+ | 'tracking_url';
14212
14318
  type ShopifyPromotionBehavior = 'disable_discount_codes';
14213
14319
  type ShopifyPromotionOfferAllocationMethod = 'each' | 'across';
14214
14320
  type ShopifyPromotionOrderEntitlementComponent =
@@ -14223,6 +14329,8 @@ declare namespace io.flow.internal.v0.enums {
14223
14329
  | 'end_and_revert'
14224
14330
  | 'do_nothing';
14225
14331
  type SimpleRoundingStrategy = 'no_rounding' | 'currency_precision';
14332
+ type SnoozeNextActionWith = 'customer_service' | 'engineering';
14333
+ type SnoozeSourceType = 'queued_capture' | 'queued_refund';
14226
14334
  type StatementStatus =
14227
14335
  | 'created'
14228
14336
  | 'no_transactions'
@@ -14524,6 +14632,30 @@ declare namespace io.flow.internal.v0.models {
14524
14632
  readonly percentage: number;
14525
14633
  }
14526
14634
 
14635
+ interface AdjustmentDetailsAmountFixed {
14636
+ readonly amount: io.flow.common.v0.models.Money;
14637
+ }
14638
+
14639
+ interface AdjustmentDetailsAmountPercentage {
14640
+ readonly percentage: number;
14641
+ }
14642
+
14643
+ interface AdjustmentDetailsProcessingTransaction {
14644
+ readonly discriminator: 'processing_transaction';
14645
+ readonly withholdings?: io.flow.internal.v0.models.AdjustmentDetailsProcessingTransactionWithholding[];
14646
+ readonly fees?: io.flow.internal.v0.models.AdjustmentDetailsProcessingTransactionFee[];
14647
+ }
14648
+
14649
+ interface AdjustmentDetailsProcessingTransactionFee {
14650
+ readonly type: io.flow.billing.v0.enums.FeeDeductionType;
14651
+ readonly amount: io.flow.internal.v0.unions.AdjustmentAmount;
14652
+ }
14653
+
14654
+ interface AdjustmentDetailsProcessingTransactionWithholding {
14655
+ readonly type: io.flow.billing.v0.enums.WithholdingDeductionType;
14656
+ readonly amount: io.flow.internal.v0.unions.AdjustmentAmount;
14657
+ }
14658
+
14527
14659
  interface AdyenAccount {
14528
14660
  readonly discriminator: 'adyen_account';
14529
14661
  readonly id: string;
@@ -18170,6 +18302,7 @@ declare namespace io.flow.internal.v0.models {
18170
18302
  readonly images: io.flow.catalog.v0.models.Image[];
18171
18303
  readonly categories: string[];
18172
18304
  readonly model_id?: string;
18305
+ readonly classified_by?: string;
18173
18306
  readonly product_harmonization: io.flow.internal.v0.models.ClassificationProductHarmonization;
18174
18307
  readonly status?: io.flow.internal.v0.enums.UnclassifiedProductStatus;
18175
18308
  readonly suggested_action?: io.flow.internal.v0.enums.ItemClassificationAction;
@@ -21176,6 +21309,7 @@ declare namespace io.flow.internal.v0.models {
21176
21309
  readonly customs_description?: string;
21177
21310
  readonly origin: string;
21178
21311
  readonly hs6?: string;
21312
+ readonly hs_description?: string;
21179
21313
  readonly tariff_code?: string;
21180
21314
  readonly duty: io.flow.price.v0.models.Duty;
21181
21315
  readonly price_composition_rate: number;
@@ -22283,6 +22417,18 @@ declare namespace io.flow.internal.v0.models {
22283
22417
  readonly lines: io.flow.internal.v0.models.OnboardingAuditReportLine[];
22284
22418
  }
22285
22419
 
22420
+ interface OnboardingOrganization {
22421
+ readonly age: number;
22422
+ readonly compliance_approved: boolean;
22423
+ readonly compliance_full_review_required: boolean;
22424
+ readonly application_received: string;
22425
+ readonly legal_name: string;
22426
+ readonly shop_name: string;
22427
+ readonly organization_id: string;
22428
+ readonly onboarding_state: io.flow.organization.onboarding.state.v0.models.OrganizationOnboardingState;
22429
+ readonly gmv: number;
22430
+ }
22431
+
22286
22432
  interface OneTimeTokenRedemptionForm {
22287
22433
  readonly token: string;
22288
22434
  }
@@ -22708,7 +22854,7 @@ declare namespace io.flow.internal.v0.models {
22708
22854
 
22709
22855
  interface OrganizationRestrictionApproval {
22710
22856
  readonly id: string;
22711
- readonly status: io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus;
22857
+ readonly status: io.flow.internal.v0.models.OrganizationRestrictionStatus;
22712
22858
  readonly reason?: string;
22713
22859
  readonly updated_at: string;
22714
22860
  }
@@ -23925,12 +24071,12 @@ declare namespace io.flow.internal.v0.models {
23925
24071
  readonly hs_code?: string;
23926
24072
  readonly merchant_category_code?: string;
23927
24073
  readonly notes: io.flow.internal.v0.models.OrganizationRestrictionStatusNote[];
23928
- readonly created_at: string;
23929
24074
  }
23930
24075
 
23931
24076
  interface RestrictionOrganizationDecisionSummary {
23932
24077
  readonly organization: io.flow.internal.v0.models.RestrictionOrganization;
23933
24078
  readonly earliest_pending_date: string;
24079
+ readonly date: string;
23934
24080
  readonly statuses: io.flow.internal.v0.models.RestrictionStatusMetadata[];
23935
24081
  readonly rules: io.flow.internal.v0.models.RestrictionRuleMetadata[];
23936
24082
  readonly count: number;
@@ -24389,6 +24535,69 @@ declare namespace io.flow.internal.v0.models {
24389
24535
  readonly token: string;
24390
24536
  }
24391
24537
 
24538
+ interface ShopifyMonitoringCarrierService {
24539
+ readonly service: string;
24540
+ }
24541
+
24542
+ interface ShopifyMonitoringFulfillmentExternal {
24543
+ readonly discriminator: 'fulfillment_external';
24544
+ readonly shopify_fulfillment_id: string;
24545
+ readonly flow_tracking_numbers: io.flow.internal.v0.models.ShopifyMonitoringTrackingNumber[];
24546
+ readonly flow_carrier_service: io.flow.internal.v0.models.ShopifyMonitoringCarrierService[];
24547
+ readonly shopify_tracking_number: io.flow.internal.v0.models.ShopifyMonitoringTrackingNumber;
24548
+ readonly shopify_carrier_service?: io.flow.internal.v0.models.ShopifyMonitoringCarrierService;
24549
+ }
24550
+
24551
+ interface ShopifyMonitoringFulfillmentMissingDetails {
24552
+ readonly discriminator: 'fulfillment_missing_details';
24553
+ readonly shopify_fulfillment_id: string;
24554
+ readonly missing_details: io.flow.internal.v0.enums.ShopifyMonitoringTrackingField[];
24555
+ }
24556
+
24557
+ interface ShopifyMonitoringOrderMonitor {
24558
+ readonly id: string;
24559
+ readonly organization_reference: io.flow.common.v0.models.OrganizationReference;
24560
+ readonly order_number: string;
24561
+ readonly monitor: io.flow.internal.v0.unions.ShopifyMonitoringOrderMonitorType;
24562
+ readonly created_at: string;
24563
+ }
24564
+
24565
+ interface ShopifyMonitoringOrderMonitorEventDeleted {
24566
+ readonly discriminator: 'shopify_monitoring_order_monitor_event_deleted';
24567
+ readonly event_id: string;
24568
+ readonly timestamp: string;
24569
+ readonly organization: string;
24570
+ readonly order_monitor: io.flow.internal.v0.models.ShopifyMonitoringOrderMonitor;
24571
+ }
24572
+
24573
+ interface ShopifyMonitoringOrderMonitorEventUpserted {
24574
+ readonly discriminator: 'shopify_monitoring_order_monitor_event_upserted';
24575
+ readonly event_id: string;
24576
+ readonly timestamp: string;
24577
+ readonly organization: string;
24578
+ readonly order_monitor: io.flow.internal.v0.models.ShopifyMonitoringOrderMonitor;
24579
+ }
24580
+
24581
+ interface ShopifyMonitoringOrderMonitorReview {
24582
+ readonly id: string;
24583
+ readonly order_monitor: io.flow.internal.v0.models.ShopifyMonitoringOrderMonitor;
24584
+ readonly order_details: io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorReviewOrderDetails;
24585
+ readonly status: io.flow.internal.v0.enums.ShopifyMonitoringMonitorReviewStatus;
24586
+ }
24587
+
24588
+ interface ShopifyMonitoringOrderMonitorReviewOrderDetails {
24589
+ readonly organization: string;
24590
+ readonly shopify_order: io.flow.shopify.markets.v0.models.ShopifyOrder;
24591
+ }
24592
+
24593
+ interface ShopifyMonitoringTrackingNumber {
24594
+ readonly number: string;
24595
+ }
24596
+
24597
+ interface ShopifyMonitoringTrackingUrl {
24598
+ readonly url: string;
24599
+ }
24600
+
24392
24601
  interface ShopifyOrderAuthorization {
24393
24602
  readonly result: io.flow.payment.v0.models.AuthorizationResult;
24394
24603
  readonly detail?: io.flow.internal.v0.models.ShopifyOrderDetail;
@@ -24620,7 +24829,7 @@ declare namespace io.flow.internal.v0.models {
24620
24829
  readonly initial_customs_description?: string;
24621
24830
  }
24622
24831
 
24623
- interface SmbTaxCalculation {
24832
+ interface SmpTaxCalculation {
24624
24833
  readonly quote_reference: string;
24625
24834
  readonly target_currency_code: string;
24626
24835
  readonly total: number;
@@ -24631,7 +24840,7 @@ declare namespace io.flow.internal.v0.models {
24631
24840
  readonly customer_code?: string;
24632
24841
  }
24633
24842
 
24634
- interface SmbTaxCalculationForm {
24843
+ interface SmpTaxCalculationForm {
24635
24844
  readonly quote_reference: string;
24636
24845
  readonly target_currency_code: string;
24637
24846
  readonly destination: io.flow.common.v0.models.Address;
@@ -24647,6 +24856,27 @@ declare namespace io.flow.internal.v0.models {
24647
24856
  readonly tracker_id: string;
24648
24857
  }
24649
24858
 
24859
+ interface Snooze {
24860
+ readonly id: string;
24861
+ readonly until: string;
24862
+ readonly reason: string;
24863
+ readonly next_action_with: io.flow.internal.v0.enums.SnoozeNextActionWith;
24864
+ readonly source: io.flow.internal.v0.models.SnoozeSource;
24865
+ }
24866
+
24867
+ interface SnoozeForm {
24868
+ readonly until: string;
24869
+ readonly reason: string;
24870
+ readonly next_action_with: io.flow.internal.v0.enums.SnoozeNextActionWith;
24871
+ readonly source_type: io.flow.internal.v0.enums.SnoozeSourceType;
24872
+ readonly source_id: string;
24873
+ }
24874
+
24875
+ interface SnoozeSource {
24876
+ readonly type: io.flow.internal.v0.enums.SnoozeSourceType;
24877
+ readonly id: string;
24878
+ }
24879
+
24650
24880
  interface SpotRate {
24651
24881
  readonly id: string;
24652
24882
  readonly effective_at: string;
@@ -25342,13 +25572,13 @@ declare namespace io.flow.internal.v0.models {
25342
25572
  readonly original_transaction: io.flow.internal.v0.models.ProcessingTransactionReference;
25343
25573
  readonly adjustment_transaction: io.flow.internal.v0.models.ProcessingTransactionReference;
25344
25574
  readonly description: string;
25345
- readonly amount: io.flow.internal.v0.unions.AdjustmentAmount;
25575
+ readonly details: io.flow.internal.v0.unions.AdjustmentDetails;
25346
25576
  }
25347
25577
 
25348
25578
  interface TransactionAdjustmentForm {
25349
25579
  readonly original_transaction_id: string;
25350
25580
  readonly description: string;
25351
- readonly amount: io.flow.internal.v0.unions.AdjustmentAmount;
25581
+ readonly details: io.flow.internal.v0.unions.AdjustmentDetails;
25352
25582
  }
25353
25583
 
25354
25584
  interface TransactionReference {
@@ -25650,6 +25880,10 @@ declare namespace io.flow.internal.v0.unions {
25650
25880
  type AdjustmentAmount =
25651
25881
  | io.flow.internal.v0.models.AdjustmentAmountPercentage
25652
25882
  | io.flow.internal.v0.models.AdjustmentAmountFixed;
25883
+ type AdjustmentDetails =
25884
+ | io.flow.internal.v0.models.AdjustmentAmountPercentage
25885
+ | io.flow.internal.v0.models.AdjustmentAmountFixed
25886
+ | io.flow.internal.v0.models.AdjustmentDetailsProcessingTransaction;
25653
25887
  type AuthorizationPayload =
25654
25888
  | io.flow.internal.v0.models.ApplePayAuthorizationPayload
25655
25889
  | io.flow.internal.v0.models.PaypalAuthorizationPayload;
@@ -26331,6 +26565,8 @@ declare namespace io.flow.internal.v0.unions {
26331
26565
  | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted
26332
26566
  | io.flow.internal.v0.models.ShopifyMarketsOrderUpserted
26333
26567
  | io.flow.internal.v0.models.ShopifyMarketsOrderDeleted
26568
+ | io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventUpserted
26569
+ | io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventDeleted
26334
26570
  | io.flow.internal.v0.models.StripeAuthorizationDeleted
26335
26571
  | io.flow.internal.v0.models.StripeAuthorizationUpserted
26336
26572
  | io.flow.internal.v0.models.StripeReversalDeleted
@@ -26543,6 +26779,9 @@ declare namespace io.flow.internal.v0.unions {
26543
26779
  | io.flow.internal.v0.models.RoutingProcessor
26544
26780
  | io.flow.internal.v0.models.RoutingAccount
26545
26781
  | io.flow.internal.v0.models.RoutingMerchant;
26782
+ type ShopifyMonitoringOrderMonitorType =
26783
+ | io.flow.internal.v0.models.ShopifyMonitoringFulfillmentExternal
26784
+ | io.flow.internal.v0.models.ShopifyMonitoringFulfillmentMissingDetails;
26546
26785
  type ShopifyPromotionOfferDiscount =
26547
26786
  | io.flow.internal.v0.models.ShopifyPromotionFixedAmount
26548
26787
  | io.flow.internal.v0.models.ShopifyPromotionPercent;
@@ -26661,6 +26900,17 @@ export type AdjustmentAmountFixed =
26661
26900
  io.flow.internal.v0.models.AdjustmentAmountFixed;
26662
26901
  export type AdjustmentAmountPercentage =
26663
26902
  io.flow.internal.v0.models.AdjustmentAmountPercentage;
26903
+ export type AdjustmentDetails = io.flow.internal.v0.unions.AdjustmentDetails;
26904
+ export type AdjustmentDetailsAmountFixed =
26905
+ io.flow.internal.v0.models.AdjustmentDetailsAmountFixed;
26906
+ export type AdjustmentDetailsAmountPercentage =
26907
+ io.flow.internal.v0.models.AdjustmentDetailsAmountPercentage;
26908
+ export type AdjustmentDetailsProcessingTransaction =
26909
+ io.flow.internal.v0.models.AdjustmentDetailsProcessingTransaction;
26910
+ export type AdjustmentDetailsProcessingTransactionFee =
26911
+ io.flow.internal.v0.models.AdjustmentDetailsProcessingTransactionFee;
26912
+ export type AdjustmentDetailsProcessingTransactionWithholding =
26913
+ io.flow.internal.v0.models.AdjustmentDetailsProcessingTransactionWithholding;
26664
26914
  export type AdyenAccount = io.flow.internal.v0.models.AdyenAccount;
26665
26915
  export type AdyenAccountModificationForm =
26666
26916
  io.flow.internal.v0.models.AdyenAccountModificationForm;
@@ -29144,6 +29394,8 @@ export type OnboardingAutomationProcessState =
29144
29394
  io.flow.internal.v0.enums.OnboardingAutomationProcessState;
29145
29395
  export type OnboardingAutomationTaskState =
29146
29396
  io.flow.internal.v0.enums.OnboardingAutomationTaskState;
29397
+ export type OnboardingOrganization =
29398
+ io.flow.internal.v0.models.OnboardingOrganization;
29147
29399
  export type OneTimeTokenRedemptionForm =
29148
29400
  io.flow.internal.v0.models.OneTimeTokenRedemptionForm;
29149
29401
  export type OnlineAuthorizationCompleted =
@@ -29715,6 +29967,32 @@ export type ShopifyMarketsTradeSector =
29715
29967
  export type ShopifyMarketsWebhookRegistration =
29716
29968
  io.flow.internal.v0.models.ShopifyMarketsWebhookRegistration;
29717
29969
  export type ShopifyMetadata = io.flow.internal.v0.models.ShopifyMetadata;
29970
+ export type ShopifyMonitoringCarrierService =
29971
+ io.flow.internal.v0.models.ShopifyMonitoringCarrierService;
29972
+ export type ShopifyMonitoringFulfillmentExternal =
29973
+ io.flow.internal.v0.models.ShopifyMonitoringFulfillmentExternal;
29974
+ export type ShopifyMonitoringFulfillmentMissingDetails =
29975
+ io.flow.internal.v0.models.ShopifyMonitoringFulfillmentMissingDetails;
29976
+ export type ShopifyMonitoringMonitorReviewStatus =
29977
+ io.flow.internal.v0.enums.ShopifyMonitoringMonitorReviewStatus;
29978
+ export type ShopifyMonitoringOrderMonitor =
29979
+ io.flow.internal.v0.models.ShopifyMonitoringOrderMonitor;
29980
+ export type ShopifyMonitoringOrderMonitorEventDeleted =
29981
+ io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventDeleted;
29982
+ export type ShopifyMonitoringOrderMonitorEventUpserted =
29983
+ io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventUpserted;
29984
+ export type ShopifyMonitoringOrderMonitorReview =
29985
+ io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorReview;
29986
+ export type ShopifyMonitoringOrderMonitorReviewOrderDetails =
29987
+ io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorReviewOrderDetails;
29988
+ export type ShopifyMonitoringOrderMonitorType =
29989
+ io.flow.internal.v0.unions.ShopifyMonitoringOrderMonitorType;
29990
+ export type ShopifyMonitoringTrackingField =
29991
+ io.flow.internal.v0.enums.ShopifyMonitoringTrackingField;
29992
+ export type ShopifyMonitoringTrackingNumber =
29993
+ io.flow.internal.v0.models.ShopifyMonitoringTrackingNumber;
29994
+ export type ShopifyMonitoringTrackingUrl =
29995
+ io.flow.internal.v0.models.ShopifyMonitoringTrackingUrl;
29718
29996
  export type ShopifyOrderAuthorization =
29719
29997
  io.flow.internal.v0.models.ShopifyOrderAuthorization;
29720
29998
  export type ShopifyOrderCancelForm =
@@ -29805,10 +30083,16 @@ export type SingleClassificationAction =
29805
30083
  io.flow.internal.v0.models.SingleClassificationAction;
29806
30084
  export type SingleClassificationForm =
29807
30085
  io.flow.internal.v0.models.SingleClassificationForm;
29808
- export type SmbTaxCalculation = io.flow.internal.v0.models.SmbTaxCalculation;
29809
- export type SmbTaxCalculationForm =
29810
- io.flow.internal.v0.models.SmbTaxCalculationForm;
30086
+ export type SmpTaxCalculation = io.flow.internal.v0.models.SmpTaxCalculation;
30087
+ export type SmpTaxCalculationForm =
30088
+ io.flow.internal.v0.models.SmpTaxCalculationForm;
29811
30089
  export type SnapchatPixel = io.flow.internal.v0.models.SnapchatPixel;
30090
+ export type Snooze = io.flow.internal.v0.models.Snooze;
30091
+ export type SnoozeForm = io.flow.internal.v0.models.SnoozeForm;
30092
+ export type SnoozeNextActionWith =
30093
+ io.flow.internal.v0.enums.SnoozeNextActionWith;
30094
+ export type SnoozeSource = io.flow.internal.v0.models.SnoozeSource;
30095
+ export type SnoozeSourceType = io.flow.internal.v0.enums.SnoozeSourceType;
29812
30096
  export type SpotRate = io.flow.internal.v0.models.SpotRate;
29813
30097
  export type SpotRateDeleted = io.flow.internal.v0.models.SpotRateDeleted;
29814
30098
  export type SpotRateMetadata = io.flow.internal.v0.unions.SpotRateMetadata;