@flowio/types 11.24.98 → 11.24.100

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.98",
3
+ "version": "11.24.100",
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": "54b0e72a2a2a004dbc68536fa4f47e566426a56a"
28
+ "gitHead": "6f3d155eabc51fc1da757af5889d9066f4c03efe"
29
29
  }
@@ -326,7 +326,8 @@ declare namespace io.flow.payment.gateway.v0.enums {
326
326
  | 'afterpay'
327
327
  | 'bancontact'
328
328
  | 'twint'
329
- | 'przelewy24';
329
+ | 'przelewy24'
330
+ | 'mobilepay';
330
331
  }
331
332
 
332
333
  declare namespace io.flow.payment.gateway.v0.models {
@@ -712,6 +713,11 @@ declare namespace io.flow.payment.gateway.v0.models {
712
713
  readonly reference?: string;
713
714
  }
714
715
 
716
+ interface PaymentMethodDataInitMobilepay {
717
+ readonly type: 'init_mobilepay';
718
+ readonly reference?: string;
719
+ }
720
+
715
721
  interface PaymentMethodDataInitPaypal {
716
722
  readonly type: 'init_paypal';
717
723
  readonly reference?: string;
@@ -805,6 +811,11 @@ declare namespace io.flow.payment.gateway.v0.models {
805
811
  readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
806
812
  }
807
813
 
814
+ interface PaymentMethodSummaryMobilepay {
815
+ readonly type: 'mobilepay';
816
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
817
+ }
818
+
808
819
  interface PaymentMethodSummaryPaypal {
809
820
  readonly type: 'paypal';
810
821
  readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
@@ -1008,6 +1019,7 @@ declare namespace io.flow.payment.gateway.v0.unions {
1008
1019
  | io.flow.payment.gateway.v0.models.PaymentMethodDataInitSofort
1009
1020
  | io.flow.payment.gateway.v0.models.PaymentMethodDataInitTwint
1010
1021
  | io.flow.payment.gateway.v0.models.PaymentMethodDataInitPrzelewy24
1022
+ | io.flow.payment.gateway.v0.models.PaymentMethodDataInitMobilepay
1011
1023
  | io.flow.payment.gateway.v0.models.PaymentMethodDataInitBancontact
1012
1024
  | io.flow.payment.gateway.v0.models.PaymentMethodDataValidateApplepay
1013
1025
  | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeCard
@@ -1038,6 +1050,7 @@ declare namespace io.flow.payment.gateway.v0.unions {
1038
1050
  | io.flow.payment.gateway.v0.models.PaymentMethodSummaryIdeal
1039
1051
  | io.flow.payment.gateway.v0.models.PaymentMethodSummaryTwint
1040
1052
  | io.flow.payment.gateway.v0.models.PaymentMethodSummaryPrzelewy24
1053
+ | io.flow.payment.gateway.v0.models.PaymentMethodSummaryMobilepay
1041
1054
  | io.flow.payment.gateway.v0.models.PaymentMethodSummarySofort
1042
1055
  | io.flow.payment.gateway.v0.models.PaymentMethodSummaryBancontact;
1043
1056
  type PaymentRequestCancellationReason =
@@ -4580,6 +4593,7 @@ declare namespace io.flow.label.v0.models {
4580
4593
  readonly items?: io.flow.common.v0.models.LineItemForm[];
4581
4594
  readonly package?: io.flow.label.v0.models.ShippingLabelPackage;
4582
4595
  readonly origin?: io.flow.fulfillment.v0.models.ShippingAddress;
4596
+ readonly direction?: io.flow.label.v0.enums.Direction;
4583
4597
  }
4584
4598
 
4585
4599
  interface CrossdockShipment {
@@ -4678,6 +4692,7 @@ declare namespace io.flow.label.v0.models {
4678
4692
  readonly additional_services_requested?: io.flow.label.v0.models.AdditionalServicesRequested[];
4679
4693
  readonly created_at?: string;
4680
4694
  readonly updated_at?: string;
4695
+ readonly direction?: io.flow.label.v0.enums.Direction;
4681
4696
  }
4682
4697
 
4683
4698
  interface ShippingLabelDocument {
@@ -4778,6 +4793,7 @@ declare namespace io.flow.label.v0.models {
4778
4793
  readonly order_number: string;
4779
4794
  readonly items: io.flow.common.v0.models.LineItemForm[];
4780
4795
  readonly center_key?: string;
4796
+ readonly direction?: io.flow.label.v0.enums.Direction;
4781
4797
  }
4782
4798
 
4783
4799
  interface SummaryShippingNotificationForm {
@@ -6029,6 +6045,16 @@ declare namespace io.flow.shopify.markets.internal.v0.enums {
6029
6045
  | 'fulfilled'
6030
6046
  | 'partial'
6031
6047
  | 'cancelled';
6048
+ type GraphqlServiceTypes =
6049
+ | 'order_update_mutation'
6050
+ | 'shipping_address_validation'
6051
+ | 'bulk_publication_status'
6052
+ | 'country_catalog_sync'
6053
+ | 'inventory_item'
6054
+ | 'product_bundle'
6055
+ | 'shopify_location'
6056
+ | 'shopify_order'
6057
+ | 'sync_product_catalog';
6032
6058
  type ProductStatus = 'active' | 'archived' | 'draft';
6033
6059
  type ShopifyMarketsDangerousGoods =
6034
6060
  | 'aerosols'
@@ -6335,7 +6361,10 @@ declare namespace io.flow.adyen.v0.enums {
6335
6361
  | 'REPORT_AVAILABLE'
6336
6362
  | 'SECOND_CHARGEBACK'
6337
6363
  | 'PREARBITRATION_WON'
6338
- | 'PREARBITRATION_LOST';
6364
+ | 'PREARBITRATION_LOST'
6365
+ | 'INFORMATION_SUPPLIED'
6366
+ | 'DISPUTE_DEFENSE_PERIOD_ENDED'
6367
+ | 'ISSUER_RESPONSE_TIMEFRAME_EXPIRED';
6339
6368
  type HttpRedirectMethod = 'GET' | 'POST';
6340
6369
  type Operation = 'cancel' | 'capture' | 'refund';
6341
6370
  type PaymentMethod =
@@ -6374,6 +6403,7 @@ declare namespace io.flow.adyen.v0.enums {
6374
6403
  | 'molpay_points'
6375
6404
  | 'multibanco'
6376
6405
  | 'onlineBanking_PL'
6406
+ | 'paywithgoogle'
6377
6407
  | 'qiwiwallet'
6378
6408
  | 'sepadirectdebit'
6379
6409
  | 'trustly'
@@ -6411,6 +6441,11 @@ declare namespace io.flow.adyen.v0.models {
6411
6441
  readonly country?: string;
6412
6442
  }
6413
6443
 
6444
+ interface AdyenDisputeEvent {
6445
+ readonly live: string;
6446
+ readonly notificationItems: io.flow.adyen.v0.models.OuterNotificationRequestItem[];
6447
+ }
6448
+
6414
6449
  interface Amount {
6415
6450
  readonly value: number;
6416
6451
  readonly currency: string;
@@ -6543,6 +6578,7 @@ declare namespace io.flow.adyen.v0.models {
6543
6578
  readonly chargebackReasonCode: string;
6544
6579
  readonly modificationMerchantReferences: string;
6545
6580
  readonly chargebackSchemeCode: string;
6581
+ readonly defensePeriodEndsAt?: string;
6546
6582
  }
6547
6583
 
6548
6584
  interface Error {
@@ -12242,7 +12278,8 @@ declare namespace io.flow.trueup.v0.enums {
12242
12278
  | 'signature_required'
12243
12279
  | 'direct_delivery'
12244
12280
  | 'saturday_stop'
12245
- | 'residential_extended_area_pickup';
12281
+ | 'residential_extended_area_pickup'
12282
+ | 'package_level_detail';
12246
12283
  }
12247
12284
 
12248
12285
  declare namespace io.flow.trueup.v0.models {
@@ -15246,7 +15283,7 @@ declare namespace io.flow.apple.pay.v0.models {
15246
15283
 
15247
15284
  declare namespace io.flow.merchant.of.record.v0.enums {
15248
15285
  type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
15249
- type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can';
15286
+ type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can' | 'ge-usa';
15250
15287
  }
15251
15288
 
15252
15289
  declare namespace io.flow.checkout.v0.models {
@@ -16149,7 +16186,13 @@ declare namespace io.flow.internal.v0.enums {
16149
16186
  | 'accounts_with_final_statements_pending_transaction_count'
16150
16187
  | 'accounts_with_final_statements_pending_transaction_total'
16151
16188
  | 'edited_order_tax_amount_exceeding_transaction'
16152
- | 'edited_order_duty_amount_exceeding_transaction';
16189
+ | 'edited_order_duty_amount_exceeding_transaction'
16190
+ | 'negative_balance_scheduled_total'
16191
+ | 'negative_balance_debited_total'
16192
+ | 'negative_balance_failed_to_be_debited_total'
16193
+ | 'number_of_orgs_eligible_to_negative_balance_debit'
16194
+ | 'number_of_orgs_with_failed_negative_debit'
16195
+ | 'negative_debit_success_rate';
16153
16196
  type BillingStatementAttachmentKey =
16154
16197
  | 'invoice'
16155
16198
  | 'statement'
@@ -16667,8 +16710,6 @@ declare namespace io.flow.internal.v0.enums {
16667
16710
  | 'ratecard_rate_level_ratecard_deleted'
16668
16711
  | 'ratecard_rate_level_organization_upserted'
16669
16712
  | 'ratecard_rate_level_organization_deleted'
16670
- | 'organization_restriction_snapshot_upserted'
16671
- | 'organization_restriction_snapshot_deleted'
16672
16713
  | 'restriction_organization_status_upserted'
16673
16714
  | 'restriction_organization_status_deleted'
16674
16715
  | 'organization_restriction_status_upserted'
@@ -16774,6 +16815,16 @@ declare namespace io.flow.internal.v0.enums {
16774
16815
  | 'inventory_to_flow';
16775
16816
  type FtpProtocol = 'sftp' | 'ftp';
16776
16817
  type GoogleAnalyticsPlugin = 'ec';
16818
+ type GraphqlServiceTypes =
16819
+ | 'order_update_mutation'
16820
+ | 'shipping_address_validation'
16821
+ | 'bulk_publication_status'
16822
+ | 'country_catalog_sync'
16823
+ | 'inventory_item'
16824
+ | 'product_bundle'
16825
+ | 'shopify_location'
16826
+ | 'shopify_order'
16827
+ | 'sync_product_catalog';
16777
16828
  type HarinathItemType = 'digital' | 'physical';
16778
16829
  type HarmonizationDecisionSource =
16779
16830
  | 'human'
@@ -16985,9 +17036,7 @@ declare namespace io.flow.internal.v0.enums {
16985
17036
  | 'cancelled'
16986
17037
  | 'breached';
16987
17038
  type OrganizationCapability = 'organization' | 'flow' | 'dynamic';
16988
- type OrganizationMetricType =
16989
- | 'organization_restriction_snapshot'
16990
- | 'organization_restriction_status';
17039
+ type OrganizationMetricType = 'organization_restriction_status';
16991
17040
  type OrganizationPaymentStatus = 'active' | 'archived';
16992
17041
  type OrganizationRestrictionApprovalStatus = 'ready' | 'not-ready';
16993
17042
  type OrganizationRestrictionNoteType =
@@ -18475,13 +18524,6 @@ declare namespace io.flow.internal.v0.models {
18475
18524
  readonly actions: io.flow.internal.v0.models.SingleClassificationAction[];
18476
18525
  }
18477
18526
 
18478
- interface ByRuleSnapshot {
18479
- readonly id: string;
18480
- readonly name: string;
18481
- readonly open_decision_count: number;
18482
- readonly restricted_product_count: number;
18483
- }
18484
-
18485
18527
  interface CalculatedTaxAmount {
18486
18528
  readonly discriminator: 'calculated_tax_amount';
18487
18529
  readonly amount: number;
@@ -22907,6 +22949,7 @@ declare namespace io.flow.internal.v0.models {
22907
22949
  readonly carrier_id?: string;
22908
22950
  readonly service_id?: string;
22909
22951
  readonly errors: string[];
22952
+ readonly direction?: io.flow.label.v0.enums.Direction;
22910
22953
  }
22911
22954
 
22912
22955
  interface LabelRequestErrorDeleted {
@@ -22959,6 +23002,7 @@ declare namespace io.flow.internal.v0.models {
22959
23002
  readonly direct_delivery?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
22960
23003
  readonly saturday_stop?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
22961
23004
  readonly residential_extended_area_pickup?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
23005
+ readonly package_level_detail?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
22962
23006
  }
22963
23007
 
22964
23008
  interface LabelSurchargeSingleForm {
@@ -24525,6 +24569,7 @@ declare namespace io.flow.internal.v0.models {
24525
24569
  readonly created_at: string;
24526
24570
  readonly cancelled_at?: string;
24527
24571
  readonly resolved_at?: string;
24572
+ readonly environment: io.flow.common.v0.enums.Environment;
24528
24573
  }
24529
24574
 
24530
24575
  interface OrderValidationFailureUpserted {
@@ -24831,34 +24876,6 @@ declare namespace io.flow.internal.v0.models {
24831
24876
  readonly onboarding_first_viewed_at?: string;
24832
24877
  }
24833
24878
 
24834
- interface OrganizationRestrictionSnapshot {
24835
- readonly id: string;
24836
- readonly organization_id: string;
24837
- readonly organization_channel_id: string;
24838
- readonly organization_status: string;
24839
- readonly product_count: number;
24840
- readonly open_decision_count: number;
24841
- readonly restricted_product_count: number;
24842
- readonly count_by_rule: io.flow.internal.v0.models.ByRuleSnapshot[];
24843
- readonly earliest_pending_decision_date: string;
24844
- readonly earliest_product_receipt_date: string;
24845
- readonly date: string;
24846
- }
24847
-
24848
- interface OrganizationRestrictionSnapshotDeleted {
24849
- readonly discriminator: 'organization_restriction_snapshot_deleted';
24850
- readonly event_id: string;
24851
- readonly timestamp: string;
24852
- readonly organization_restriction_snapshot: io.flow.internal.v0.models.OrganizationRestrictionSnapshot;
24853
- }
24854
-
24855
- interface OrganizationRestrictionSnapshotUpserted {
24856
- readonly discriminator: 'organization_restriction_snapshot_upserted';
24857
- readonly event_id: string;
24858
- readonly timestamp: string;
24859
- readonly organization_restriction_snapshot: io.flow.internal.v0.models.OrganizationRestrictionSnapshot;
24860
- }
24861
-
24862
24879
  interface OrganizationRestrictionStatus {
24863
24880
  readonly id: string;
24864
24881
  readonly organization_id: string;
@@ -25617,6 +25634,7 @@ declare namespace io.flow.internal.v0.models {
25617
25634
 
25618
25635
  interface ProcessedPaymentSummary {
25619
25636
  readonly type: io.flow.reference.v0.enums.PaymentMethodCapability;
25637
+ readonly amount: number;
25620
25638
  readonly currency: io.flow.reference.v0.models.Currency;
25621
25639
  readonly method: io.flow.reference.v0.models.PaymentMethod;
25622
25640
  readonly card_issuer_country?: io.flow.reference.v0.models.Country;
@@ -26521,6 +26539,7 @@ declare namespace io.flow.internal.v0.models {
26521
26539
  readonly lvg?: boolean;
26522
26540
  readonly tax_inclusive?: boolean;
26523
26541
  readonly duty_inclusive?: boolean;
26542
+ readonly manual_payment?: boolean;
26524
26543
  }
26525
26544
 
26526
26545
  interface ReportingFx {
@@ -26765,7 +26784,6 @@ declare namespace io.flow.internal.v0.models {
26765
26784
  readonly priority_score: number;
26766
26785
  readonly date: string;
26767
26786
  readonly statuses: io.flow.internal.v0.models.RestrictionStatusMetadata[];
26768
- readonly rules: io.flow.internal.v0.models.RestrictionRuleMetadata[];
26769
26787
  readonly count: number;
26770
26788
  }
26771
26789
 
@@ -29545,8 +29563,6 @@ declare namespace io.flow.internal.v0.unions {
29545
29563
  | io.flow.internal.v0.models.RatecardRateLevelRatecardDeleted
29546
29564
  | io.flow.internal.v0.models.RatecardRateLevelOrganizationUpserted
29547
29565
  | io.flow.internal.v0.models.RatecardRateLevelOrganizationDeleted
29548
- | io.flow.internal.v0.models.OrganizationRestrictionSnapshotUpserted
29549
- | io.flow.internal.v0.models.OrganizationRestrictionSnapshotDeleted
29550
29566
  | io.flow.internal.v0.models.RestrictionOrganizationStatusUpserted
29551
29567
  | io.flow.internal.v0.models.RestrictionOrganizationStatusDeleted
29552
29568
  | io.flow.internal.v0.models.OrganizationRestrictionStatusUpserted
@@ -30175,7 +30191,6 @@ export type BrowserBundlePaymentMethods =
30175
30191
  io.flow.internal.v0.models.BrowserBundlePaymentMethods;
30176
30192
  export type BulkClassificationAction =
30177
30193
  io.flow.internal.v0.models.BulkClassificationAction;
30178
- export type ByRuleSnapshot = io.flow.internal.v0.models.ByRuleSnapshot;
30179
30194
  export type CalculatedTaxAmount =
30180
30195
  io.flow.internal.v0.models.CalculatedTaxAmount;
30181
30196
  export type CalculationStampingLineItem =
@@ -31077,6 +31092,7 @@ export type GoogleShoppingAccountParameters =
31077
31092
  export type GoogleShoppingSetting =
31078
31093
  io.flow.internal.v0.models.GoogleShoppingSetting;
31079
31094
  export type GoogleTagManager = io.flow.internal.v0.models.GoogleTagManager;
31095
+ export type GraphqlServiceTypes = io.flow.internal.v0.enums.GraphqlServiceTypes;
31080
31096
  export type HarinathItem = io.flow.internal.v0.models.HarinathItem;
31081
31097
  export type HarinathItemDeleted =
31082
31098
  io.flow.internal.v0.models.HarinathItemDeleted;
@@ -31840,12 +31856,6 @@ export type OrganizationRestrictionScreeningDecisionForm =
31840
31856
  io.flow.internal.v0.models.OrganizationRestrictionScreeningDecisionForm;
31841
31857
  export type OrganizationRestrictionScreeningStatus =
31842
31858
  io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus;
31843
- export type OrganizationRestrictionSnapshot =
31844
- io.flow.internal.v0.models.OrganizationRestrictionSnapshot;
31845
- export type OrganizationRestrictionSnapshotDeleted =
31846
- io.flow.internal.v0.models.OrganizationRestrictionSnapshotDeleted;
31847
- export type OrganizationRestrictionSnapshotUpserted =
31848
- io.flow.internal.v0.models.OrganizationRestrictionSnapshotUpserted;
31849
31859
  export type OrganizationRestrictionStatus =
31850
31860
  io.flow.internal.v0.models.OrganizationRestrictionStatus;
31851
31861
  export type OrganizationRestrictionStatusDeleted =