@flowio/types 11.24.47 → 11.24.48

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
@@ -1834,7 +1834,7 @@ declare namespace io.flow.v0.enums {
1834
1834
  type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
1835
1835
  type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
1836
1836
  type TradeAgreementStatus = 'supported' | 'not_supported';
1837
- type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'platform_fee' | 'tax' | 'duties' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund';
1837
+ type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund';
1838
1838
  type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
1839
1839
  type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
1840
1840
  type UpdatePolicy = 'auto' | 'queue' | 'discard';
@@ -2213,10 +2213,6 @@ declare namespace io.flow.v0.models {
2213
2213
  readonly validation_url: string;
2214
2214
  readonly display_name?: string;
2215
2215
  }
2216
- interface ApplicationReceived {
2217
- readonly discriminator: 'application_received';
2218
- readonly placeholder?: boolean;
2219
- }
2220
2216
  interface AtCost {
2221
2217
  readonly discriminator: 'at_cost';
2222
2218
  readonly ignore?: string;
@@ -10134,7 +10130,7 @@ declare namespace io.flow.v0.unions {
10134
10130
  type MerchantApplicationForm = io.flow.v0.models.ShopifyMerchantApplicationForm;
10135
10131
  type MerchantApplicationPutForm = io.flow.v0.models.ShopifyMerchantApplicationPutForm;
10136
10132
  type MerchantApplicationsSummary = io.flow.v0.models.ShopifyMerchantApplicationsSummary;
10137
- type OnboardingState = io.flow.v0.models.ApplicationReceived | io.flow.v0.models.InComplianceReview | io.flow.v0.models.SetupInProgress | io.flow.v0.models.MerchantRejected | io.flow.v0.models.SetupBlocked | io.flow.v0.models.SetupCompleted | io.flow.v0.models.MerchantActivated;
10133
+ type OnboardingState = io.flow.v0.models.InComplianceReview | io.flow.v0.models.SetupInProgress | io.flow.v0.models.MerchantRejected | io.flow.v0.models.SetupBlocked | io.flow.v0.models.SetupCompleted | io.flow.v0.models.MerchantActivated;
10138
10134
  type OnlineAuthorizationDetails = io.flow.v0.models.CryptopayAuthorizationDetails | io.flow.v0.models.PaypalAuthorizationDetails | io.flow.v0.models.RedirectAuthorizationDetails | io.flow.v0.models.InlineAuthorizationDetails;
10139
10135
  type OrderInformation = io.flow.v0.models.OrderInformationFlow | io.flow.v0.models.OrderInformationDetails;
10140
10136
  type OrderNumberGenerator = io.flow.v0.models.OrderNumberGeneratorUuid | io.flow.v0.models.OrderNumberGeneratorHexadecimal | io.flow.v0.models.OrderNumberGeneratorPrefixSuffix;
@@ -10257,7 +10253,6 @@ export declare type AmountMargin = io.flow.v0.models.AmountMargin;
10257
10253
  export declare type AmountMarginForm = io.flow.v0.models.AmountMarginForm;
10258
10254
  export declare type AnalyticsExportType = io.flow.v0.models.AnalyticsExportType;
10259
10255
  export declare type ApplePayMerchantValidationPayload = io.flow.v0.models.ApplePayMerchantValidationPayload;
10260
- export declare type ApplicationReceived = io.flow.v0.models.ApplicationReceived;
10261
10256
  export declare type AtCost = io.flow.v0.models.AtCost;
10262
10257
  export declare type Attachment = io.flow.v0.models.Attachment;
10263
10258
  export declare type AttachmentType = io.flow.v0.enums.AttachmentType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.47",
3
+ "version": "11.24.48",
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": "ed619947b1c3685c45671265137cea5b7882e8a6"
28
+ "gitHead": "b751c3c9b00a0488e9efcb77d8677c9711711a87"
29
29
  }
@@ -5246,18 +5246,15 @@ declare namespace io.flow.adyen.v0.enums {
5246
5246
  | 'SECOND_CHARGEBACK'
5247
5247
  | 'PREARBITRATION_WON'
5248
5248
  | 'PREARBITRATION_LOST';
5249
- type HttpRedirectMethod = 'GET' | 'POST';
5249
+ type Method = 'GET' | 'POST';
5250
5250
  type Operation = 'cancel' | 'capture' | 'refund';
5251
5251
  type PaymentMethod =
5252
5252
  | 'ach'
5253
5253
  | 'alipay'
5254
- | 'alipay_hk'
5255
5254
  | 'alipay_wap'
5256
5255
  | 'amex'
5257
5256
  | 'bankTransfer_IBAN'
5258
5257
  | 'bcmc'
5259
- | 'bcmc_mobile'
5260
- | 'blik'
5261
5258
  | 'cartebancaire'
5262
5259
  | 'cup'
5263
5260
  | 'diners'
@@ -5268,27 +5265,21 @@ declare namespace io.flow.adyen.v0.enums {
5268
5265
  | 'dragonpay_gcash'
5269
5266
  | 'dragonpay_otc_banking'
5270
5267
  | 'ebanking_FI'
5271
- | 'gcash'
5272
5268
  | 'giropay'
5273
5269
  | 'ideal'
5274
5270
  | 'interac'
5275
5271
  | 'jcb'
5276
- | 'kakaopay'
5277
5272
  | 'kcp_banktransfer'
5278
5273
  | 'kcp_creditcard'
5279
5274
  | 'kcp_payco'
5280
5275
  | 'maestro'
5281
- | 'mbway'
5282
5276
  | 'mc'
5283
- | 'mobilepay'
5284
5277
  | 'molpay_points'
5285
5278
  | 'multibanco'
5286
- | 'onlineBanking_PL'
5287
5279
  | 'qiwiwallet'
5288
5280
  | 'sepadirectdebit'
5289
5281
  | 'trustly'
5290
5282
  | 'trustpay'
5291
- | 'twint'
5292
5283
  | 'unionpay'
5293
5284
  | 'visa'
5294
5285
  | 'wechatpay'
@@ -5326,11 +5317,6 @@ declare namespace io.flow.adyen.v0.models {
5326
5317
  readonly currency: string;
5327
5318
  }
5328
5319
 
5329
- interface Applepay {
5330
- readonly type: 'applepay';
5331
- readonly applePayToken: string;
5332
- }
5333
-
5334
5320
  interface Authentication {
5335
5321
  readonly 'threeds2.fingerprintToken'?: string;
5336
5322
  readonly 'threeds2.challengeToken'?: string;
@@ -5358,8 +5344,6 @@ declare namespace io.flow.adyen.v0.models {
5358
5344
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
5359
5345
  readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
5360
5346
  readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
5361
- readonly mcc?: string;
5362
- readonly metadata?: any /*object*/;
5363
5347
  }
5364
5348
 
5365
5349
  interface AuthorizeRequest3D {
@@ -5516,14 +5500,6 @@ declare namespace io.flow.adyen.v0.models {
5516
5500
  readonly paymentData?: string;
5517
5501
  }
5518
5502
 
5519
- interface PaymentDetailsV663Ds2Challenge {
5520
- readonly 'threeds2.challengeResult': string;
5521
- }
5522
-
5523
- interface PaymentDetailsV663Ds2Fingerprint {
5524
- readonly 'threeds2.fingerprint': string;
5525
- }
5526
-
5527
5503
  interface PaymentRequest {
5528
5504
  readonly reference: string;
5529
5505
  readonly merchantAccount: string;
@@ -5545,12 +5521,7 @@ declare namespace io.flow.adyen.v0.models {
5545
5521
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
5546
5522
  readonly origin?: string;
5547
5523
  readonly channel?: io.flow.adyen.v0.enums.Channel;
5548
- readonly returnUrl?: string;
5549
- readonly mcc?: string;
5550
- readonly metadata?: any /*object*/;
5551
- readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5552
- readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5553
- readonly storePaymentMethod?: boolean;
5524
+ readonly returnURL?: string;
5554
5525
  }
5555
5526
 
5556
5527
  interface PaymentResponse {
@@ -5567,50 +5538,12 @@ declare namespace io.flow.adyen.v0.models {
5567
5538
  interface PaymentResponseAdditionalData {
5568
5539
  readonly authCode?: string;
5569
5540
  readonly avsResultRaw?: string;
5570
- readonly avsResult?: string;
5571
5541
  readonly cvcResultRaw?: string;
5572
- readonly cvcResult?: string;
5573
- readonly refusalReasonRaw?: string;
5574
5542
  readonly liabilityShift?: string;
5575
5543
  readonly threeDAuthenticated?: string;
5576
5544
  readonly threeDAuthenticatedResponse?: string;
5577
5545
  readonly threeDOffered?: string;
5578
5546
  readonly threeDOfferedResponse?: string;
5579
- readonly threeDSVersion?: string;
5580
- readonly eci?: string;
5581
- readonly scaExemptionRequested?: string;
5582
- readonly paymentMethod?: string;
5583
- readonly paymentMethodVariant?: string;
5584
- readonly tokenTxVariant?: string;
5585
- readonly acquirerCode?: string;
5586
- readonly acquirerAccountCode?: string;
5587
- readonly cardPaymentMethod?: string;
5588
- readonly coBrandedWith?: string;
5589
- readonly cardIssuingCountry?: string;
5590
- readonly cardIssuingCurrency?: string;
5591
- readonly cardIssuingBank?: string;
5592
- readonly cardBin?: string;
5593
- readonly issuerBin?: string;
5594
- readonly cardSummary?: string;
5595
- readonly untokenisedCardSummary?: string;
5596
- readonly ownerName?: string;
5597
- readonly bankName?: string;
5598
- readonly issuerCountry?: string;
5599
- readonly iban?: string;
5600
- readonly bic?: string;
5601
- readonly iDealConsumerAccountNumber?: string;
5602
- readonly iDealConsumerBIC?: string;
5603
- readonly iDealConsumerCity?: string;
5604
- readonly iDealConsumerIBAN?: string;
5605
- readonly iDealConsumerName?: string;
5606
- readonly iDealTransactionId?: string;
5607
- readonly 'recurring.recurringDetailReference'?: string;
5608
- readonly 'recurring.shopperReference'?: string;
5609
- readonly networkTxReference?: string;
5610
- readonly PaymentAccountReference?: string;
5611
- readonly 'networkToken.available'?: string;
5612
- readonly 'networkToken.bin'?: string;
5613
- readonly 'networkToken.tokenSummary'?: string;
5614
5547
  }
5615
5548
 
5616
5549
  interface Recurring {
@@ -5619,7 +5552,7 @@ declare namespace io.flow.adyen.v0.models {
5619
5552
 
5620
5553
  interface Redirect {
5621
5554
  readonly data?: io.flow.adyen.v0.models.RedirectData;
5622
- readonly method?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5555
+ readonly method?: io.flow.adyen.v0.enums.Method;
5623
5556
  readonly url?: string;
5624
5557
  }
5625
5558
 
@@ -5642,17 +5575,6 @@ declare namespace io.flow.adyen.v0.models {
5642
5575
  readonly holderName: string;
5643
5576
  readonly number: string;
5644
5577
  readonly cvc?: string;
5645
- readonly storedPaymentMethodId?: string;
5646
- readonly networkPaymentReference?: string;
5647
- }
5648
-
5649
- interface SdkV3OnCompleteData {
5650
- readonly details: any /*object*/;
5651
- readonly payment_data?: string;
5652
- }
5653
-
5654
- interface SdkV3OnCompleteResult {
5655
- readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
5656
5578
  }
5657
5579
 
5658
5580
  interface ThreeDSecureData {
@@ -5686,9 +5608,7 @@ declare namespace io.flow.adyen.v0.unions {
5686
5608
  type BrowserInfo =
5687
5609
  | io.flow.adyen.v0.models.BrowserInfo3Ds1
5688
5610
  | io.flow.adyen.v0.models.BrowserInfo3Ds2;
5689
- type PaymentMethodData =
5690
- | io.flow.adyen.v0.models.Scheme
5691
- | io.flow.adyen.v0.models.Applepay;
5611
+ type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
5692
5612
  }
5693
5613
 
5694
5614
  declare namespace io.flow.order.management.v0.enums {
@@ -6754,7 +6674,19 @@ declare namespace io.flow.shopify.markets.v0.enums {
6754
6674
  | 'retail'
6755
6675
  | 'shipping';
6756
6676
  type IncotermDuties = 'DAP' | 'DDP';
6677
+ type ShopifyDiscountValueType = 'fixed_amount' | 'percentage';
6757
6678
  type ShopifyDiscrepancyReason = 'restock' | 'damage' | 'customer' | 'other';
6679
+ type ShopifyDraftOrderStatus =
6680
+ | 'open'
6681
+ | 'invoice_sent'
6682
+ | 'completed'
6683
+ | 'pending'
6684
+ | 'authorized'
6685
+ | 'partially_paid'
6686
+ | 'paid'
6687
+ | 'partially_refunded'
6688
+ | 'refunded'
6689
+ | 'voided';
6758
6690
  type ShopifyOrderCancelReason =
6759
6691
  | 'customer'
6760
6692
  | 'fraud'
@@ -6856,6 +6788,28 @@ declare namespace io.flow.shopify.markets.v0.enums {
6856
6788
  | 'success'
6857
6789
  | 'error';
6858
6790
  type ShopifyOrderValueType = 'string' | 'integer';
6791
+ type ShopifyTaxExemptions =
6792
+ | 'EXEMPT_ALL'
6793
+ | 'CA_STATUS_CARD_EXEMPTION'
6794
+ | 'CA_DIPLOMAT_EXEMPTION'
6795
+ | 'CA_BC_RESELLER_EXEMPTION'
6796
+ | 'CA_MB_RESELLER_EXEMPTION'
6797
+ | 'CA_SK_RESELLER_EXEMPTION'
6798
+ | 'CA_BC_COMMERCIAL_FISHERY_EXEMPTION'
6799
+ | 'CA_MB_COMMERCIAL_FISHERY_EXEMPTION'
6800
+ | 'CA_NS_COMMERCIAL_FISHERY_EXEMPTION'
6801
+ | 'CA_PE_COMMERCIAL_FISHERY_EXEMPTION'
6802
+ | 'CA_SK_COMMERCIAL_FISHERY_EXEMPTION'
6803
+ | 'CA_BC_PRODUCTION_AND_MACHINERY_EXEMPTION'
6804
+ | 'CA_SK_PRODUCTION_AND_MACHINERY_EXEMPTION'
6805
+ | 'CA_BC_SUB_CONTRACTOR_EXEMPTION'
6806
+ | 'CA_SK_SUB_CONTRACTOR_EXEMPTION'
6807
+ | 'CA_BC_CONTRACTOR_EXEMPTION'
6808
+ | 'CA_SK_CONTRACTOR_EXEMPTION'
6809
+ | 'CA_ON_PURCHASE_EXEMPTION'
6810
+ | 'CA_MB_FARMER_EXEMPTION'
6811
+ | 'CA_NS_FARMER_EXEMPTION'
6812
+ | 'CA_SK_FARMER_EXEMPTION';
6859
6813
  type ShopifyWebhookFormat = 'json' | 'xml';
6860
6814
  type ShopifyWebhookTopic =
6861
6815
  | 'customers/redact'
@@ -6949,11 +6903,58 @@ declare namespace io.flow.shopify.markets.v0.models {
6949
6903
  readonly shop: io.flow.shopify.markets.v0.models.Shop;
6950
6904
  }
6951
6905
 
6906
+ interface ShopifyAppliedDiscount {
6907
+ readonly title?: string;
6908
+ readonly description?: string;
6909
+ readonly value?: string;
6910
+ readonly value_type?: io.flow.shopify.markets.v0.enums.ShopifyDiscountValueType;
6911
+ readonly amount?: number;
6912
+ }
6913
+
6952
6914
  interface ShopifyCountryHarmonizedSystemCode {
6953
6915
  readonly country_code: string;
6954
6916
  readonly harmonized_system_code: string;
6955
6917
  }
6956
6918
 
6919
+ interface ShopifyDraftOrder {
6920
+ readonly applied_discount: io.flow.shopify.markets.v0.models.ShopifyAppliedDiscount;
6921
+ readonly billing_address?: io.flow.shopify.markets.v0.models.ShopifyOrderAddress;
6922
+ readonly completed_at?: string;
6923
+ readonly created_at?: string;
6924
+ readonly currency?: string;
6925
+ readonly customer?: io.flow.shopify.markets.v0.models.ShopifyOrderCustomer;
6926
+ readonly email?: string;
6927
+ readonly id?: number;
6928
+ readonly invoice_sent_at?: string;
6929
+ readonly invoice_url?: string;
6930
+ readonly line_items: io.flow.shopify.markets.v0.models.ShopifyOrderLineItem[];
6931
+ readonly name?: string;
6932
+ readonly note?: string;
6933
+ readonly note_attributes: io.flow.shopify.markets.v0.models.ShopifyOrderAttribute[];
6934
+ readonly order_id: io.flow.shopify.markets.v0.models.ShopifyOrderId;
6935
+ readonly payment_terms: io.flow.shopify.markets.v0.models.ShopifyPaymentTerms;
6936
+ readonly shipping_address?: io.flow.shopify.markets.v0.models.ShopifyOrderAddress;
6937
+ readonly shipping_lines: io.flow.shopify.markets.v0.models.ShopifyOrderShippingLine[];
6938
+ readonly source_name?: string;
6939
+ readonly subtotal_price?: string;
6940
+ readonly status?: io.flow.shopify.markets.v0.enums.ShopifyDraftOrderStatus;
6941
+ readonly tags?: string;
6942
+ readonly tax_exemptions?: io.flow.shopify.markets.v0.enums.ShopifyTaxExemptions[];
6943
+ readonly tax_lines: io.flow.shopify.markets.v0.models.ShopifyOrderTaxLine[];
6944
+ readonly taxes_included: boolean;
6945
+ readonly total_price?: string;
6946
+ readonly total_tax?: string;
6947
+ readonly updated_at?: string;
6948
+ }
6949
+
6950
+ interface ShopifyDraftOrderCount {
6951
+ readonly count: number;
6952
+ }
6953
+
6954
+ interface ShopifyDraftOrdersWrapper {
6955
+ readonly draft_orders: io.flow.shopify.markets.v0.models.ShopifyDraftOrder[];
6956
+ }
6957
+
6957
6958
  interface ShopifyError {
6958
6959
  readonly errors: any /*object*/;
6959
6960
  }
@@ -7126,7 +7127,7 @@ declare namespace io.flow.shopify.markets.v0.models {
7126
7127
 
7127
7128
  interface ShopifyOrderAttribute {
7128
7129
  readonly name: string;
7129
- readonly value: string;
7130
+ readonly value: any /*json*/;
7130
7131
  }
7131
7132
 
7132
7133
  interface ShopifyOrderCancellationForm {
@@ -7142,6 +7143,10 @@ declare namespace io.flow.shopify.markets.v0.models {
7142
7143
  readonly user_agent?: string;
7143
7144
  }
7144
7145
 
7146
+ interface ShopifyOrderCount {
7147
+ readonly count: number;
7148
+ }
7149
+
7145
7150
  interface ShopifyOrderCustomer {
7146
7151
  readonly id?: number;
7147
7152
  readonly email?: string;
@@ -7245,6 +7250,10 @@ declare namespace io.flow.shopify.markets.v0.models {
7245
7250
  readonly variant_inventory_management?: string;
7246
7251
  }
7247
7252
 
7253
+ interface ShopifyOrderId {
7254
+ readonly id: number;
7255
+ }
7256
+
7248
7257
  interface ShopifyOrderLineItem {
7249
7258
  readonly fulfillable_quantity?: number;
7250
7259
  readonly fulfillment_service: string;
@@ -7356,7 +7365,7 @@ declare namespace io.flow.shopify.markets.v0.models {
7356
7365
  interface ShopifyOrderShippingLine {
7357
7366
  readonly code?: string;
7358
7367
  readonly price: string;
7359
- readonly source: string;
7368
+ readonly source?: string;
7360
7369
  readonly title: string;
7361
7370
  readonly tax_lines: io.flow.shopify.markets.v0.models.ShopifyOrderTaxLine[];
7362
7371
  readonly carrier_identifier?: string;
@@ -7404,6 +7413,24 @@ declare namespace io.flow.shopify.markets.v0.models {
7404
7413
  readonly orders: io.flow.shopify.markets.v0.models.ShopifyOrder[];
7405
7414
  }
7406
7415
 
7416
+ interface ShopifyPaymentSchedules {
7417
+ readonly amount?: number;
7418
+ readonly currency?: string;
7419
+ readonly issued_at?: string;
7420
+ readonly due_at?: string;
7421
+ readonly completed_at?: string;
7422
+ readonly expected_payment_method?: string;
7423
+ }
7424
+
7425
+ interface ShopifyPaymentTerms {
7426
+ readonly amount?: number;
7427
+ readonly currency?: string;
7428
+ readonly payment_terms_name?: string;
7429
+ readonly payment_terms_type?: number;
7430
+ readonly due_in_days?: number;
7431
+ readonly payment_schedules?: io.flow.shopify.markets.v0.models.ShopifyPaymentSchedules;
7432
+ }
7433
+
7407
7434
  interface ShopifyRefund {
7408
7435
  readonly notify_x: boolean;
7409
7436
  readonly note?: string;
@@ -11424,12 +11451,13 @@ declare namespace io.flow.billing.v0.enums {
11424
11451
  | 'refund'
11425
11452
  | 'dispute'
11426
11453
  | 'adjustment'
11454
+ | 'reversal'
11427
11455
  | 'shipping_label'
11428
11456
  | 'shipping_label_service'
11429
11457
  | 'shipping_label_revenue_share'
11430
11458
  | 'platform_fee'
11431
11459
  | 'tax'
11432
- | 'duties'
11460
+ | 'duty'
11433
11461
  | 'other_adjustment'
11434
11462
  | 'tax_adjustment'
11435
11463
  | 'channel'
@@ -13283,6 +13311,7 @@ declare namespace io.flow.internal.v0.enums {
13283
13311
  type AccountSettingLiabilitiesMethod = 'withholding' | 'transaction';
13284
13312
  type AccountType = 'channel' | 'organization';
13285
13313
  type AddressConfigurationSettingProvinceCode = 'iso_3166_2' | 'name';
13314
+ type AdjustmentTransactionType = 'adjustment' | 'reversal';
13286
13315
  type AdyenIntegrationType =
13287
13316
  | 'hosted_payment_page'
13288
13317
  | 'checkout_payments_api'
@@ -13343,6 +13372,7 @@ declare namespace io.flow.internal.v0.enums {
13343
13372
  | 'invoice'
13344
13373
  | 'transfer'
13345
13374
  | 'adjustment'
13375
+ | 'reversal'
13346
13376
  | 'capture'
13347
13377
  | 'refund'
13348
13378
  | 'virtual_card_capture'
@@ -13378,7 +13408,10 @@ declare namespace io.flow.internal.v0.enums {
13378
13408
  | 'item_prices'
13379
13409
  | 'price_book_items_import'
13380
13410
  | 'price_book_items_query_import';
13381
- type ChannelBilledTransactionType = 'adjustment' | 'channel_initiated';
13411
+ type ChannelBilledTransactionType =
13412
+ | 'adjustment'
13413
+ | 'reversal'
13414
+ | 'channel_initiated';
13382
13415
  type ChannelOrderAcceptanceRejectionReason =
13383
13416
  | 'unsupported_origin_country'
13384
13417
  | 'unsupported_destination_country'
@@ -13388,7 +13421,7 @@ declare namespace io.flow.internal.v0.enums {
13388
13421
  | 'missing_order_information'
13389
13422
  | 'unsupported_payment_information';
13390
13423
  type ChannelOrderAcceptanceStatus = 'accepted' | 'rejected' | 'review';
13391
- type ChannelTransactionType = 'adjustment' | 'processing';
13424
+ type ChannelTransactionType = 'adjustment' | 'reversal' | 'processing';
13392
13425
  type ChargebackPaymentStatus = 'captured' | 'refunded';
13393
13426
  type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
13394
13427
  type CheckoutAddAuthorizationErrorCode =
@@ -13718,7 +13751,7 @@ declare namespace io.flow.internal.v0.enums {
13718
13751
  | 'override'
13719
13752
  | 'preferential_rate';
13720
13753
  type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
13721
- type DutyTransactionType = 'adjustment' | 'duty';
13754
+ type DutyTransactionType = 'adjustment' | 'reversal' | 'duty';
13722
13755
  type EmptyAttribute = 'irrelevant';
13723
13756
  type ErpFileType = 'vendor';
13724
13757
  type EventType =
@@ -13966,6 +13999,8 @@ declare namespace io.flow.internal.v0.enums {
13966
13999
  | 'shopify_experience_short_id_deleted'
13967
14000
  | 'shopify_markets_order_upserted'
13968
14001
  | 'shopify_markets_order_deleted'
14002
+ | 'shopify_markets_shop_upserted'
14003
+ | 'shopify_markets_shop_deleted'
13969
14004
  | 'shopify_monitoring_order_monitor_event_upserted'
13970
14005
  | 'shopify_monitoring_order_monitor_event_deleted'
13971
14006
  | 'stripe_authorization_deleted'
@@ -14048,6 +14083,7 @@ declare namespace io.flow.internal.v0.enums {
14048
14083
  type LabelCreationStatus = 'success' | 'error' | 'pending' | 'cancelled';
14049
14084
  type LabelTransactionType =
14050
14085
  | 'adjustment'
14086
+ | 'reversal'
14051
14087
  | 'billable_label'
14052
14088
  | 'fee'
14053
14089
  | 'revenue_share';
@@ -14174,7 +14210,7 @@ declare namespace io.flow.internal.v0.enums {
14174
14210
  | 'last_shipment'
14175
14211
  | 'shipment_exhausted';
14176
14212
  type OrderLifecycleEvent = 'order_placed' | 'ready_to_fulfill';
14177
- type OrderTransactionType = 'adjustment' | 'order_service';
14213
+ type OrderTransactionType = 'adjustment' | 'reversal' | 'order_service';
14178
14214
  type OrganizationCapability = 'organization' | 'flow' | 'dynamic';
14179
14215
  type OrganizationPaymentStatus = 'active' | 'archived';
14180
14216
  type OrganizationRestrictionApprovalStatus = 'ready' | 'not-ready';
@@ -14218,6 +14254,7 @@ declare namespace io.flow.internal.v0.enums {
14218
14254
  type PricingIndicatorStatus = 'complete' | 'in_progress';
14219
14255
  type ProcessingTransactionType =
14220
14256
  | 'adjustment'
14257
+ | 'reversal'
14221
14258
  | 'capture'
14222
14259
  | 'refund'
14223
14260
  | 'fully_subsidized_order'
@@ -14359,7 +14396,7 @@ declare namespace io.flow.internal.v0.enums {
14359
14396
  | 'ratecard';
14360
14397
  type TaxCalculationErrorCode = 'generic_error' | 'outside_of_jurisdiction';
14361
14398
  type TaxParty = 'consumer' | 'organization' | 'flow' | 'carrier';
14362
- type TaxTransactionType = 'adjustment' | 'tax';
14399
+ type TaxTransactionType = 'adjustment' | 'reversal' | 'tax';
14363
14400
  type TimeseriesType = 'daily' | 'weekly' | 'monthly' | 'yearly';
14364
14401
  type TrackingIntegrationType = 'api' | 'bulk' | 'aftership';
14365
14402
  type TransactionPostingMethod = 'time' | 'proof';
@@ -15399,6 +15436,7 @@ declare namespace io.flow.internal.v0.models {
15399
15436
  readonly adjustment: io.flow.common.v0.models.Price;
15400
15437
  readonly capture: io.flow.common.v0.models.Price;
15401
15438
  readonly refund: io.flow.common.v0.models.Price;
15439
+ readonly reversal: io.flow.common.v0.models.Price;
15402
15440
  readonly credit_payment: io.flow.common.v0.models.Price;
15403
15441
  readonly fully_subsidized_order: io.flow.common.v0.models.Price;
15404
15442
  readonly virtual_card_capture: io.flow.common.v0.models.Price;
@@ -16080,6 +16118,7 @@ declare namespace io.flow.internal.v0.models {
16080
16118
  interface ChannelTransaction {
16081
16119
  readonly discriminator: 'channel_transaction';
16082
16120
  readonly transaction: io.flow.internal.v0.models.TransactionReference;
16121
+ readonly fees: io.flow.internal.v0.models.Fee[];
16083
16122
  readonly id: string;
16084
16123
  readonly type: io.flow.internal.v0.enums.BillingTransactionType;
16085
16124
  readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
@@ -21060,6 +21099,11 @@ declare namespace io.flow.internal.v0.models {
21060
21099
  readonly url: string;
21061
21100
  }
21062
21101
 
21102
+ interface Hs6Detail {
21103
+ readonly hs6_code: string;
21104
+ readonly description: string;
21105
+ }
21106
+
21063
21107
  interface Hs6Metadata {
21064
21108
  readonly description: string;
21065
21109
  }
@@ -22474,7 +22518,6 @@ declare namespace io.flow.internal.v0.models {
22474
22518
  readonly legal_name: string;
22475
22519
  readonly shop_name: string;
22476
22520
  readonly organization_id: string;
22477
- readonly onboarding_state: io.flow.organization.onboarding.state.v0.models.OrganizationOnboardingState;
22478
22521
  readonly onboarding_current_state: io.flow.organization.onboarding.state.v0.unions.OnboardingState;
22479
22522
  readonly gmv: number;
22480
22523
  }
@@ -23681,12 +23724,6 @@ declare namespace io.flow.internal.v0.models {
23681
23724
  readonly label_tracking_summary_id: string;
23682
23725
  }
23683
23726
 
23684
- interface ProofOfPostingFullyRefunded {
23685
- readonly discriminator: 'fully_refunded';
23686
- readonly capture_id: string;
23687
- readonly refund_ids: string[];
23688
- }
23689
-
23690
23727
  interface ProofOfPostingOrderCancellation {
23691
23728
  readonly discriminator: 'order_cancellation';
23692
23729
  readonly order_cancellation_id: string;
@@ -24576,6 +24613,14 @@ declare namespace io.flow.internal.v0.models {
24576
24613
  readonly access_token_masked?: string;
24577
24614
  }
24578
24615
 
24616
+ interface ShopifyMarketsShopDeleted {
24617
+ readonly discriminator: 'shopify_markets_shop_deleted';
24618
+ readonly event_id: string;
24619
+ readonly timestamp: string;
24620
+ readonly organization: string;
24621
+ readonly id: string;
24622
+ }
24623
+
24579
24624
  interface ShopifyMarketsShopForm {
24580
24625
  readonly shop: string;
24581
24626
  readonly domain: string;
@@ -24591,6 +24636,14 @@ declare namespace io.flow.internal.v0.models {
24591
24636
  readonly channel: io.flow.common.v0.models.ChannelReference;
24592
24637
  }
24593
24638
 
24639
+ interface ShopifyMarketsShopUpserted {
24640
+ readonly discriminator: 'shopify_markets_shop_upserted';
24641
+ readonly event_id: string;
24642
+ readonly timestamp: string;
24643
+ readonly organization: string;
24644
+ readonly shopify_markets_shop: io.flow.internal.v0.models.ShopifyMarketsShop;
24645
+ }
24646
+
24594
24647
  interface ShopifyMarketsSubsidiaryCompany {
24595
24648
  readonly legal_name?: string;
24596
24649
  readonly incorporation_country?: io.flow.internal.v0.models.ShopifyMarketsIncorporationCountry;
@@ -24634,7 +24687,6 @@ declare namespace io.flow.internal.v0.models {
24634
24687
  readonly organization_reference: io.flow.common.v0.models.OrganizationReference;
24635
24688
  readonly order_number: string;
24636
24689
  readonly monitor: io.flow.internal.v0.unions.ShopifyMonitoringOrderMonitorType;
24637
- readonly created_at: string;
24638
24690
  }
24639
24691
 
24640
24692
  interface ShopifyMonitoringOrderMonitorEventDeleted {
@@ -24656,15 +24708,9 @@ declare namespace io.flow.internal.v0.models {
24656
24708
  interface ShopifyMonitoringOrderMonitorReview {
24657
24709
  readonly id: string;
24658
24710
  readonly order_monitor: io.flow.internal.v0.models.ShopifyMonitoringOrderMonitor;
24659
- readonly order_details: io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorReviewOrderDetails;
24660
24711
  readonly status: io.flow.internal.v0.enums.ShopifyMonitoringMonitorReviewStatus;
24661
24712
  }
24662
24713
 
24663
- interface ShopifyMonitoringOrderMonitorReviewOrderDetails {
24664
- readonly organization: string;
24665
- readonly shopify_order: io.flow.shopify.markets.v0.models.ShopifyOrder;
24666
- }
24667
-
24668
24714
  interface ShopifyMonitoringTrackingNumber {
24669
24715
  readonly number: string;
24670
24716
  }
@@ -25654,6 +25700,7 @@ declare namespace io.flow.internal.v0.models {
25654
25700
  readonly original_transaction_id: string;
25655
25701
  readonly description: string;
25656
25702
  readonly details: io.flow.internal.v0.unions.AdjustmentDetails;
25703
+ readonly type?: io.flow.internal.v0.enums.AdjustmentTransactionType;
25657
25704
  }
25658
25705
 
25659
25706
  interface TransactionReference {
@@ -26642,6 +26689,8 @@ declare namespace io.flow.internal.v0.unions {
26642
26689
  | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted
26643
26690
  | io.flow.internal.v0.models.ShopifyMarketsOrderUpserted
26644
26691
  | io.flow.internal.v0.models.ShopifyMarketsOrderDeleted
26692
+ | io.flow.internal.v0.models.ShopifyMarketsShopUpserted
26693
+ | io.flow.internal.v0.models.ShopifyMarketsShopDeleted
26645
26694
  | io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventUpserted
26646
26695
  | io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventDeleted
26647
26696
  | io.flow.internal.v0.models.StripeAuthorizationDeleted
@@ -26853,7 +26902,6 @@ declare namespace io.flow.internal.v0.unions {
26853
26902
  type ProofOfPosting =
26854
26903
  | io.flow.internal.v0.models.ProofOfPostingFulfilled
26855
26904
  | io.flow.internal.v0.models.ProofOfPostingExternallyFulfilled
26856
- | io.flow.internal.v0.models.ProofOfPostingFullyRefunded
26857
26905
  | io.flow.internal.v0.models.ProofOfPostingShippingNotification
26858
26906
  | io.flow.internal.v0.models.ProofOfPostingOrderCancellation;
26859
26907
  type RoutingEntity =
@@ -26993,6 +27041,8 @@ export type AdjustmentDetailsProcessingTransactionFee =
26993
27041
  io.flow.internal.v0.models.AdjustmentDetailsProcessingTransactionFee;
26994
27042
  export type AdjustmentDetailsProcessingTransactionWithholding =
26995
27043
  io.flow.internal.v0.models.AdjustmentDetailsProcessingTransactionWithholding;
27044
+ export type AdjustmentTransactionType =
27045
+ io.flow.internal.v0.enums.AdjustmentTransactionType;
26996
27046
  export type AdyenAccount = io.flow.internal.v0.models.AdyenAccount;
26997
27047
  export type AdyenAccountModificationForm =
26998
27048
  io.flow.internal.v0.models.AdyenAccountModificationForm;
@@ -29079,6 +29129,7 @@ export type HeapWebsocketResponse =
29079
29129
  io.flow.internal.v0.models.HeapWebsocketResponse;
29080
29130
  export type HeapWebsocketRetry = io.flow.internal.v0.models.HeapWebsocketRetry;
29081
29131
  export type Href = io.flow.internal.v0.models.Href;
29132
+ export type Hs6Detail = io.flow.internal.v0.models.Hs6Detail;
29082
29133
  export type Hs6Metadata = io.flow.internal.v0.models.Hs6Metadata;
29083
29134
  export type HttpMethod = io.flow.internal.v0.enums.HttpMethod;
29084
29135
  export type HybrisCatalogItemsImportRequest =
@@ -29828,8 +29879,6 @@ export type ProofOfPostingExternallyFulfilled =
29828
29879
  io.flow.internal.v0.models.ProofOfPostingExternallyFulfilled;
29829
29880
  export type ProofOfPostingFulfilled =
29830
29881
  io.flow.internal.v0.models.ProofOfPostingFulfilled;
29831
- export type ProofOfPostingFullyRefunded =
29832
- io.flow.internal.v0.models.ProofOfPostingFullyRefunded;
29833
29882
  export type ProofOfPostingOrderCancellation =
29834
29883
  io.flow.internal.v0.models.ProofOfPostingOrderCancellation;
29835
29884
  export type ProofOfPostingShippingNotification =
@@ -30059,10 +30108,14 @@ export type ShopifyMarketsOrderDeleted =
30059
30108
  export type ShopifyMarketsOrderUpserted =
30060
30109
  io.flow.internal.v0.models.ShopifyMarketsOrderUpserted;
30061
30110
  export type ShopifyMarketsShop = io.flow.internal.v0.models.ShopifyMarketsShop;
30111
+ export type ShopifyMarketsShopDeleted =
30112
+ io.flow.internal.v0.models.ShopifyMarketsShopDeleted;
30062
30113
  export type ShopifyMarketsShopForm =
30063
30114
  io.flow.internal.v0.models.ShopifyMarketsShopForm;
30064
30115
  export type ShopifyMarketsShopSummary =
30065
30116
  io.flow.internal.v0.models.ShopifyMarketsShopSummary;
30117
+ export type ShopifyMarketsShopUpserted =
30118
+ io.flow.internal.v0.models.ShopifyMarketsShopUpserted;
30066
30119
  export type ShopifyMarketsSubsidiaryCompany =
30067
30120
  io.flow.internal.v0.models.ShopifyMarketsSubsidiaryCompany;
30068
30121
  export type ShopifyMarketsSync = io.flow.internal.v0.models.ShopifyMarketsSync;
@@ -30087,8 +30140,6 @@ export type ShopifyMonitoringOrderMonitorEventUpserted =
30087
30140
  io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventUpserted;
30088
30141
  export type ShopifyMonitoringOrderMonitorReview =
30089
30142
  io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorReview;
30090
- export type ShopifyMonitoringOrderMonitorReviewOrderDetails =
30091
- io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorReviewOrderDetails;
30092
30143
  export type ShopifyMonitoringOrderMonitorType =
30093
30144
  io.flow.internal.v0.unions.ShopifyMonitoringOrderMonitorType;
30094
30145
  export type ShopifyMonitoringTrackingField =