@flowio/types 9.4.2 → 9.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-internal.d.ts +275 -34
- package/package.json +2 -2
- package/src/api-internal.ts +314 -35
package/dist/api-internal.d.ts
CHANGED
|
@@ -5101,6 +5101,13 @@ declare namespace io.flow.harmonization.internal.event.v0.models {
|
|
|
5101
5101
|
readonly 'origin': io.flow.reference.v0.models.Country;
|
|
5102
5102
|
readonly 'organization_id'?: string;
|
|
5103
5103
|
}
|
|
5104
|
+
interface RatesChanged {
|
|
5105
|
+
readonly 'event_id': string;
|
|
5106
|
+
readonly 'timestamp': string;
|
|
5107
|
+
readonly 'hs6': string;
|
|
5108
|
+
readonly 'origin': io.flow.reference.v0.models.Country;
|
|
5109
|
+
readonly 'destination': io.flow.reference.v0.models.Country;
|
|
5110
|
+
}
|
|
5104
5111
|
interface ResyncByDestinations {
|
|
5105
5112
|
readonly 'discriminator': 'resync_by_destinations';
|
|
5106
5113
|
readonly 'destinations': io.flow.reference.v0.models.Country[];
|
|
@@ -5383,15 +5390,56 @@ declare namespace io.flow.payment.internal.v0.enums {
|
|
|
5383
5390
|
type ChargebackPaymentStatus = 'captured' | 'refunded';
|
|
5384
5391
|
type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
|
|
5385
5392
|
type HttpMethod = 'get' | 'post';
|
|
5393
|
+
type Owner = 'flow' | 'organization';
|
|
5386
5394
|
type Processor = 'adyen' | 'afterpay' | 'bitpay' | 'stripe' | 'paypal' | 'flow_sandbox' | 'fiserv' | 'crypto';
|
|
5387
5395
|
type RedirectReason = 'three_d_secure';
|
|
5388
5396
|
type RiskCheck = 'three_d_secure';
|
|
5389
5397
|
}
|
|
5390
5398
|
declare namespace io.flow.payment.internal.v0.models {
|
|
5399
|
+
interface AdyenAccount {
|
|
5400
|
+
readonly 'discriminator': 'adyen_account';
|
|
5401
|
+
readonly 'id': string;
|
|
5402
|
+
readonly 'organization_id': string;
|
|
5403
|
+
readonly 'key': string;
|
|
5404
|
+
readonly 'owner': io.flow.payment.internal.v0.enums.Owner;
|
|
5405
|
+
readonly 'name': string;
|
|
5406
|
+
readonly 'ui_reference': string;
|
|
5407
|
+
readonly 'authentication': io.flow.payment.internal.v0.models.AdyenAuthentication;
|
|
5408
|
+
}
|
|
5409
|
+
interface AdyenAccountPutForm {
|
|
5410
|
+
readonly 'discriminator': 'adyen_account_put_form';
|
|
5411
|
+
readonly 'owner'?: io.flow.payment.internal.v0.enums.Owner;
|
|
5412
|
+
readonly 'name': string;
|
|
5413
|
+
readonly 'ui_reference': string;
|
|
5414
|
+
readonly 'authentication': io.flow.payment.internal.v0.models.AdyenAuthenticationForm;
|
|
5415
|
+
}
|
|
5416
|
+
interface AdyenAuthentication {
|
|
5417
|
+
readonly 'username': string;
|
|
5418
|
+
readonly 'password_reference': string;
|
|
5419
|
+
readonly 'signature_secret_reference': string;
|
|
5420
|
+
}
|
|
5391
5421
|
interface AdyenAuthenticationDataReference {
|
|
5392
5422
|
readonly 'account_id': string;
|
|
5393
5423
|
readonly 'merchant_account': string;
|
|
5394
5424
|
}
|
|
5425
|
+
interface AdyenAuthenticationForm {
|
|
5426
|
+
readonly 'username': string;
|
|
5427
|
+
readonly 'password': string;
|
|
5428
|
+
readonly 'signature_secret': string;
|
|
5429
|
+
}
|
|
5430
|
+
interface AdyenMerchant {
|
|
5431
|
+
readonly 'discriminator': 'adyen_merchant';
|
|
5432
|
+
readonly 'id': string;
|
|
5433
|
+
readonly 'key': string;
|
|
5434
|
+
readonly 'organization_id': string;
|
|
5435
|
+
readonly 'external_id': string;
|
|
5436
|
+
readonly 'processor_account_reference': io.flow.payment.internal.v0.models.ProcessorAccountReference;
|
|
5437
|
+
}
|
|
5438
|
+
interface AdyenMerchantPutForm {
|
|
5439
|
+
readonly 'discriminator': 'adyen_merchant_put_form';
|
|
5440
|
+
readonly 'organization_id': string;
|
|
5441
|
+
readonly 'external_id': string;
|
|
5442
|
+
}
|
|
5395
5443
|
interface AdyenPaymentDetailsForm {
|
|
5396
5444
|
readonly 'fingerprint'?: string;
|
|
5397
5445
|
readonly 'challenge_result'?: string;
|
|
@@ -5405,9 +5453,32 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
5405
5453
|
readonly 'psp_reference': string;
|
|
5406
5454
|
readonly 'key'?: string;
|
|
5407
5455
|
}
|
|
5456
|
+
interface AfterpayAccount {
|
|
5457
|
+
readonly 'discriminator': 'afterpay_account';
|
|
5458
|
+
readonly 'id': string;
|
|
5459
|
+
readonly 'organization_id': string;
|
|
5460
|
+
readonly 'key': string;
|
|
5461
|
+
readonly 'owner': io.flow.payment.internal.v0.enums.Owner;
|
|
5462
|
+
readonly 'region': string;
|
|
5463
|
+
readonly 'authentication': io.flow.payment.internal.v0.models.AfterpayAuthentication;
|
|
5464
|
+
}
|
|
5465
|
+
interface AfterpayAccountPutForm {
|
|
5466
|
+
readonly 'discriminator': 'afterpay_account_put_form';
|
|
5467
|
+
readonly 'owner'?: io.flow.payment.internal.v0.enums.Owner;
|
|
5468
|
+
readonly 'region': string;
|
|
5469
|
+
readonly 'authentication': io.flow.payment.internal.v0.models.AfterpayAuthenticationForm;
|
|
5470
|
+
}
|
|
5471
|
+
interface AfterpayAuthentication {
|
|
5472
|
+
readonly 'username': string;
|
|
5473
|
+
readonly 'password_reference': string;
|
|
5474
|
+
}
|
|
5408
5475
|
interface AfterpayAuthenticationDataReference {
|
|
5409
5476
|
readonly 'account_id': string;
|
|
5410
5477
|
}
|
|
5478
|
+
interface AfterpayAuthenticationForm {
|
|
5479
|
+
readonly 'username': string;
|
|
5480
|
+
readonly 'password': string;
|
|
5481
|
+
}
|
|
5411
5482
|
interface ApplePaymentToken {
|
|
5412
5483
|
readonly 'discriminator': 'apple_payment_token';
|
|
5413
5484
|
readonly 'data': string;
|
|
@@ -5439,9 +5510,32 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
5439
5510
|
readonly 'billing_address'?: io.flow.common.v0.models.BillingAddress;
|
|
5440
5511
|
readonly 'ip'?: string;
|
|
5441
5512
|
}
|
|
5513
|
+
interface BitpayAccount {
|
|
5514
|
+
readonly 'discriminator': 'bitpay_account';
|
|
5515
|
+
readonly 'id': string;
|
|
5516
|
+
readonly 'organization_id': string;
|
|
5517
|
+
readonly 'key': string;
|
|
5518
|
+
readonly 'owner': io.flow.payment.internal.v0.enums.Owner;
|
|
5519
|
+
readonly 'authentication': io.flow.payment.internal.v0.models.BitpayAuthentication;
|
|
5520
|
+
}
|
|
5521
|
+
interface BitpayAccountPutForm {
|
|
5522
|
+
readonly 'discriminator': 'bitpay_account_put_form';
|
|
5523
|
+
readonly 'owner'?: io.flow.payment.internal.v0.enums.Owner;
|
|
5524
|
+
readonly 'authentication': io.flow.payment.internal.v0.models.BitpayAuthenticationForm;
|
|
5525
|
+
}
|
|
5526
|
+
interface BitpayAuthentication {
|
|
5527
|
+
readonly 'api_token': string;
|
|
5528
|
+
readonly 'public_key': string;
|
|
5529
|
+
readonly 'secret_key_reference': string;
|
|
5530
|
+
}
|
|
5442
5531
|
interface BitpayAuthenticationDataReference {
|
|
5443
5532
|
readonly 'id': string;
|
|
5444
5533
|
}
|
|
5534
|
+
interface BitpayAuthenticationForm {
|
|
5535
|
+
readonly 'api_token': string;
|
|
5536
|
+
readonly 'public_key': string;
|
|
5537
|
+
readonly 'secret_key': string;
|
|
5538
|
+
}
|
|
5445
5539
|
interface Chargeback {
|
|
5446
5540
|
readonly 'id': string;
|
|
5447
5541
|
readonly 'key': string;
|
|
@@ -5481,6 +5575,29 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
5481
5575
|
readonly 'MD': string;
|
|
5482
5576
|
readonly 'PaRes': string;
|
|
5483
5577
|
}
|
|
5578
|
+
interface CryptoAccount {
|
|
5579
|
+
readonly 'discriminator': 'crypto_account';
|
|
5580
|
+
readonly 'id': string;
|
|
5581
|
+
readonly 'organization_id': string;
|
|
5582
|
+
readonly 'key': string;
|
|
5583
|
+
readonly 'owner': io.flow.payment.internal.v0.enums.Owner;
|
|
5584
|
+
readonly 'authentication': io.flow.payment.internal.v0.models.CryptoAuthentication;
|
|
5585
|
+
}
|
|
5586
|
+
interface CryptoAccountPutForm {
|
|
5587
|
+
readonly 'discriminator': 'crypto_account_put_form';
|
|
5588
|
+
readonly 'owner'?: io.flow.payment.internal.v0.enums.Owner;
|
|
5589
|
+
readonly 'authentication': io.flow.payment.internal.v0.models.CryptoAuthenticationForm;
|
|
5590
|
+
}
|
|
5591
|
+
interface CryptoAuthentication {
|
|
5592
|
+
readonly 'public_key': string;
|
|
5593
|
+
readonly 'secret_key_reference': string;
|
|
5594
|
+
readonly 'signature_secret_reference': string;
|
|
5595
|
+
}
|
|
5596
|
+
interface CryptoAuthenticationForm {
|
|
5597
|
+
readonly 'public_key': string;
|
|
5598
|
+
readonly 'secret_key': string;
|
|
5599
|
+
readonly 'signature_secret': string;
|
|
5600
|
+
}
|
|
5484
5601
|
interface Encryption {
|
|
5485
5602
|
readonly 'id': string;
|
|
5486
5603
|
readonly 'key': io.flow.payment.internal.v0.models.KeyReference;
|
|
@@ -5488,10 +5605,50 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
5488
5605
|
readonly 'cipher': string;
|
|
5489
5606
|
readonly 'passphrase_ids': string[];
|
|
5490
5607
|
}
|
|
5608
|
+
interface FiservAccount {
|
|
5609
|
+
readonly 'discriminator': 'fiserv_account';
|
|
5610
|
+
readonly 'id': string;
|
|
5611
|
+
readonly 'organization_id': string;
|
|
5612
|
+
readonly 'key': string;
|
|
5613
|
+
readonly 'owner': io.flow.payment.internal.v0.enums.Owner;
|
|
5614
|
+
readonly 'region': string;
|
|
5615
|
+
readonly 'authentication': io.flow.payment.internal.v0.models.FiservAuthentication;
|
|
5616
|
+
}
|
|
5617
|
+
interface FiservAccountPutForm {
|
|
5618
|
+
readonly 'discriminator': 'fiserv_account_put_form';
|
|
5619
|
+
readonly 'owner'?: io.flow.payment.internal.v0.enums.Owner;
|
|
5620
|
+
readonly 'region': string;
|
|
5621
|
+
readonly 'authentication': io.flow.payment.internal.v0.models.FiservAuthenticationForm;
|
|
5622
|
+
}
|
|
5623
|
+
interface FiservAuthentication {
|
|
5624
|
+
readonly 'public_key': string;
|
|
5625
|
+
readonly 'secret_key_reference': string;
|
|
5626
|
+
}
|
|
5491
5627
|
interface FiservAuthenticationDataReference {
|
|
5492
5628
|
readonly 'account_id': string;
|
|
5493
5629
|
readonly 'store_id': string;
|
|
5494
5630
|
}
|
|
5631
|
+
interface FiservAuthenticationForm {
|
|
5632
|
+
readonly 'public_key': string;
|
|
5633
|
+
readonly 'secret_key': string;
|
|
5634
|
+
}
|
|
5635
|
+
interface FiservMerchant {
|
|
5636
|
+
readonly 'discriminator': 'fiserv_merchant';
|
|
5637
|
+
readonly 'id': string;
|
|
5638
|
+
readonly 'key': string;
|
|
5639
|
+
readonly 'organization_id': string;
|
|
5640
|
+
readonly 'external_id': string;
|
|
5641
|
+
readonly 'processor_account_reference': io.flow.payment.internal.v0.models.ProcessorAccountReference;
|
|
5642
|
+
readonly 'base_currency': string;
|
|
5643
|
+
readonly 'country': string;
|
|
5644
|
+
}
|
|
5645
|
+
interface FiservMerchantPutForm {
|
|
5646
|
+
readonly 'discriminator': 'fiserv_merchant_put_form';
|
|
5647
|
+
readonly 'organization_id': string;
|
|
5648
|
+
readonly 'external_id': string;
|
|
5649
|
+
readonly 'base_currency': string;
|
|
5650
|
+
readonly 'country': string;
|
|
5651
|
+
}
|
|
5495
5652
|
interface InternalAdyenAuthorizationDetails {
|
|
5496
5653
|
readonly 'discriminator': 'internal_adyen_authorization_details';
|
|
5497
5654
|
readonly 'adyen_authentication_data': io.flow.payment.internal.v0.models.AdyenAuthenticationDataReference;
|
|
@@ -5555,6 +5712,23 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
5555
5712
|
readonly 'id': string;
|
|
5556
5713
|
readonly 'tribe': io.flow.payment.internal.v0.models.Tribe;
|
|
5557
5714
|
}
|
|
5715
|
+
interface PaypalAccount {
|
|
5716
|
+
readonly 'discriminator': 'paypal_account';
|
|
5717
|
+
readonly 'id': string;
|
|
5718
|
+
readonly 'organization_id': string;
|
|
5719
|
+
readonly 'key': string;
|
|
5720
|
+
readonly 'owner': io.flow.payment.internal.v0.enums.Owner;
|
|
5721
|
+
readonly 'authentication': io.flow.payment.internal.v0.models.PaypalAuthentication;
|
|
5722
|
+
}
|
|
5723
|
+
interface PaypalAccountPutForm {
|
|
5724
|
+
readonly 'discriminator': 'paypal_account_put_form';
|
|
5725
|
+
readonly 'owner'?: io.flow.payment.internal.v0.enums.Owner;
|
|
5726
|
+
readonly 'authentication': io.flow.payment.internal.v0.models.PaypalAuthenticationForm;
|
|
5727
|
+
}
|
|
5728
|
+
interface PaypalAuthentication {
|
|
5729
|
+
readonly 'username_reference': string;
|
|
5730
|
+
readonly 'password_reference': string;
|
|
5731
|
+
}
|
|
5558
5732
|
interface PaypalAuthenticationData {
|
|
5559
5733
|
readonly 'id': string;
|
|
5560
5734
|
readonly 'organization': string;
|
|
@@ -5566,11 +5740,20 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
5566
5740
|
interface PaypalAuthenticationDataReference {
|
|
5567
5741
|
readonly 'id': string;
|
|
5568
5742
|
}
|
|
5743
|
+
interface PaypalAuthenticationForm {
|
|
5744
|
+
readonly 'username': string;
|
|
5745
|
+
readonly 'password': string;
|
|
5746
|
+
}
|
|
5569
5747
|
interface PaypalAuthorizationPayload {
|
|
5570
5748
|
readonly 'discriminator': 'paypal_authorization_payload';
|
|
5571
5749
|
readonly 'payment_id': string;
|
|
5572
5750
|
readonly 'payer_id': string;
|
|
5573
5751
|
}
|
|
5752
|
+
interface ProcessorAccountReference {
|
|
5753
|
+
readonly 'id': string;
|
|
5754
|
+
readonly 'organization_id': string;
|
|
5755
|
+
readonly 'key': string;
|
|
5756
|
+
}
|
|
5574
5757
|
interface Redirect {
|
|
5575
5758
|
readonly 'id': string;
|
|
5576
5759
|
readonly 'post_payment_redirect_urls': io.flow.payment.v0.models.PostPaymentRedirectUrls;
|
|
@@ -5578,21 +5761,60 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
5578
5761
|
}
|
|
5579
5762
|
interface StripeAccount {
|
|
5580
5763
|
readonly 'discriminator': 'stripe_account';
|
|
5581
|
-
readonly '
|
|
5582
|
-
}
|
|
5583
|
-
interface StripeAccountForm {
|
|
5584
|
-
readonly 'discriminator': 'stripe_account_form';
|
|
5585
|
-
readonly 'account_name': string;
|
|
5586
|
-
readonly 'account_type': io.flow.stripe.v0.enums.AccountType;
|
|
5587
|
-
readonly 'country': string;
|
|
5588
|
-
readonly 'merchant_of_record': io.flow.common.v0.enums.MerchantOfRecord;
|
|
5764
|
+
readonly 'id': string;
|
|
5589
5765
|
readonly 'organization_id': string;
|
|
5590
|
-
readonly '
|
|
5591
|
-
readonly '
|
|
5766
|
+
readonly 'key': string;
|
|
5767
|
+
readonly 'owner': io.flow.payment.internal.v0.enums.Owner;
|
|
5768
|
+
readonly 'name': string;
|
|
5769
|
+
readonly 'external_id': string;
|
|
5770
|
+
readonly 'authentication': io.flow.payment.internal.v0.models.StripeAuthentication;
|
|
5771
|
+
}
|
|
5772
|
+
interface StripeAccountPutForm {
|
|
5773
|
+
readonly 'discriminator': 'stripe_account_put_form';
|
|
5774
|
+
readonly 'owner'?: io.flow.payment.internal.v0.enums.Owner;
|
|
5775
|
+
readonly 'name': string;
|
|
5776
|
+
readonly 'external_id': string;
|
|
5777
|
+
readonly 'authentication': io.flow.payment.internal.v0.models.StripeAuthenticationForm;
|
|
5778
|
+
}
|
|
5779
|
+
interface StripeAuthentication {
|
|
5780
|
+
readonly 'public_key': string;
|
|
5781
|
+
readonly 'secret_key_reference': string;
|
|
5592
5782
|
}
|
|
5593
5783
|
interface StripeAuthenticationDataReference {
|
|
5594
5784
|
readonly 'id': string;
|
|
5595
5785
|
}
|
|
5786
|
+
interface StripeAuthenticationForm {
|
|
5787
|
+
readonly 'public_key': string;
|
|
5788
|
+
readonly 'secret_key': string;
|
|
5789
|
+
}
|
|
5790
|
+
interface StripeMerchant {
|
|
5791
|
+
readonly 'discriminator': 'stripe_merchant';
|
|
5792
|
+
readonly 'id': string;
|
|
5793
|
+
readonly 'key': string;
|
|
5794
|
+
readonly 'organization_id': string;
|
|
5795
|
+
readonly 'external_id': string;
|
|
5796
|
+
readonly 'processor_account_reference': io.flow.payment.internal.v0.models.ProcessorAccountReference;
|
|
5797
|
+
readonly 'name': string;
|
|
5798
|
+
readonly 'account_type': io.flow.stripe.v0.enums.AccountType;
|
|
5799
|
+
readonly 'authentication': io.flow.payment.internal.v0.models.StripeAuthentication;
|
|
5800
|
+
}
|
|
5801
|
+
interface StripeMerchantForm {
|
|
5802
|
+
readonly 'discriminator': 'stripe_merchant_form';
|
|
5803
|
+
readonly 'key'?: string;
|
|
5804
|
+
readonly 'organization_id': string;
|
|
5805
|
+
readonly 'name': string;
|
|
5806
|
+
readonly 'account_type': io.flow.stripe.v0.enums.AccountType;
|
|
5807
|
+
readonly 'country': string;
|
|
5808
|
+
readonly 'payment_statement': string;
|
|
5809
|
+
}
|
|
5810
|
+
interface StripeMerchantPutForm {
|
|
5811
|
+
readonly 'discriminator': 'stripe_merchant_put_form';
|
|
5812
|
+
readonly 'organization_id': string;
|
|
5813
|
+
readonly 'external_id': string;
|
|
5814
|
+
readonly 'name': string;
|
|
5815
|
+
readonly 'account_type': io.flow.stripe.v0.enums.AccountType;
|
|
5816
|
+
readonly 'authentication': io.flow.payment.internal.v0.models.StripeAuthenticationForm;
|
|
5817
|
+
}
|
|
5596
5818
|
interface Tribe {
|
|
5597
5819
|
readonly 'id': string;
|
|
5598
5820
|
readonly 'description': string;
|
|
@@ -5602,9 +5824,12 @@ declare namespace io.flow.payment.internal.v0.unions {
|
|
|
5602
5824
|
type AuthorizationPayload = (io.flow.payment.internal.v0.models.ApplePaymentToken | io.flow.payment.internal.v0.models.PaypalAuthorizationPayload);
|
|
5603
5825
|
type InternalAuthorizationDetails = (io.flow.payment.internal.v0.models.InternalPaypalAuthorizationDetails | io.flow.payment.internal.v0.models.InternalBitpayAuthorizationDetails | io.flow.payment.internal.v0.models.InternalStripeAuthorizationDetails | io.flow.payment.internal.v0.models.InternalAdyenAuthorizationDetails | io.flow.payment.internal.v0.models.InternalAfterpayAuthorizationDetails | io.flow.payment.internal.v0.models.InternalFiservAuthorizationDetails);
|
|
5604
5826
|
type InternalRefundForm = (io.flow.payment.internal.v0.models.AdyenRefundForm);
|
|
5605
|
-
type PaymentAccount = (io.flow.payment.internal.v0.models.StripeAccount);
|
|
5606
|
-
type PaymentAccountForm = (io.flow.payment.internal.v0.models.StripeAccountForm);
|
|
5607
5827
|
type PaymentRedirect = (io.flow.payment.internal.v0.models.OnlineAuthorizationCompleted);
|
|
5828
|
+
type ProcessorAccount = (io.flow.payment.internal.v0.models.StripeAccount | io.flow.payment.internal.v0.models.AdyenAccount | io.flow.payment.internal.v0.models.PaypalAccount | io.flow.payment.internal.v0.models.AfterpayAccount | io.flow.payment.internal.v0.models.BitpayAccount | io.flow.payment.internal.v0.models.FiservAccount | io.flow.payment.internal.v0.models.CryptoAccount);
|
|
5829
|
+
type ProcessorAccountPutForm = (io.flow.payment.internal.v0.models.StripeAccountPutForm | io.flow.payment.internal.v0.models.AdyenAccountPutForm | io.flow.payment.internal.v0.models.PaypalAccountPutForm | io.flow.payment.internal.v0.models.AfterpayAccountPutForm | io.flow.payment.internal.v0.models.BitpayAccountPutForm | io.flow.payment.internal.v0.models.FiservAccountPutForm | io.flow.payment.internal.v0.models.CryptoAccountPutForm);
|
|
5830
|
+
type ProcessorMerchant = (io.flow.payment.internal.v0.models.StripeMerchant | io.flow.payment.internal.v0.models.AdyenMerchant | io.flow.payment.internal.v0.models.FiservMerchant);
|
|
5831
|
+
type ProcessorMerchantForm = (io.flow.payment.internal.v0.models.StripeMerchantForm);
|
|
5832
|
+
type ProcessorMerchantPutForm = (io.flow.payment.internal.v0.models.StripeMerchantPutForm | io.flow.payment.internal.v0.models.AdyenMerchantPutForm | io.flow.payment.internal.v0.models.FiservMerchantPutForm);
|
|
5608
5833
|
}
|
|
5609
5834
|
declare namespace io.flow.fraud.internal.v0.enums {
|
|
5610
5835
|
type FraudProvider = 'flow' | 'riskified' | 'rps' | 'other' | 'none';
|
|
@@ -6351,7 +6576,7 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
6351
6576
|
}
|
|
6352
6577
|
interface RatecardLane {
|
|
6353
6578
|
readonly 'id': string;
|
|
6354
|
-
readonly 'ratecard': io.flow.ratecard.v0.models.
|
|
6579
|
+
readonly 'ratecard': io.flow.ratecard.v0.models.RatecardSummary;
|
|
6355
6580
|
readonly 'currency': string;
|
|
6356
6581
|
readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
|
|
6357
6582
|
readonly 'shipment_window': io.flow.ratecard.v0.models.ShipmentWindow;
|
|
@@ -6429,6 +6654,11 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
6429
6654
|
readonly 'name': string;
|
|
6430
6655
|
readonly 'carrier': io.flow.ratecard.v0.models.RatecardCarrierSummary;
|
|
6431
6656
|
}
|
|
6657
|
+
interface RatecardSummary {
|
|
6658
|
+
readonly 'id': string;
|
|
6659
|
+
readonly 'number': string;
|
|
6660
|
+
readonly 'ratecard_owner': io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
6661
|
+
}
|
|
6432
6662
|
interface RatecardVersion {
|
|
6433
6663
|
readonly 'id': string;
|
|
6434
6664
|
readonly 'timestamp': string;
|
|
@@ -8330,16 +8560,15 @@ declare namespace io.flow.inventory.v0.unions {
|
|
|
8330
8560
|
}
|
|
8331
8561
|
declare namespace io.flow.permission.v0.enums {
|
|
8332
8562
|
type AuthenticationTechnique = 'anonymous' | 'session' | 'token' | 'partner_token' | 'user';
|
|
8333
|
-
type FlowAddonRole = 'consumer_data_viewer' | 'membership_manager';
|
|
8334
8563
|
type FlowBehavior = 'view_consumer_data';
|
|
8335
|
-
type
|
|
8564
|
+
type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'flow_operations';
|
|
8336
8565
|
type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
|
|
8337
8566
|
}
|
|
8338
8567
|
declare namespace io.flow.permission.v0.models {
|
|
8339
8568
|
interface BehaviorAudit {
|
|
8340
8569
|
readonly 'behavior': io.flow.permission.v0.enums.FlowBehavior;
|
|
8341
8570
|
readonly 'authentication_techniques': io.flow.permission.v0.enums.AuthenticationTechnique[];
|
|
8342
|
-
readonly 'roles': io.flow.permission.v0.
|
|
8571
|
+
readonly 'roles': io.flow.permission.v0.enums.FlowRole[];
|
|
8343
8572
|
}
|
|
8344
8573
|
interface PermissionAudit {
|
|
8345
8574
|
readonly 'routes': io.flow.permission.v0.models.RouteAudit[];
|
|
@@ -8348,14 +8577,14 @@ declare namespace io.flow.permission.v0.models {
|
|
|
8348
8577
|
interface PermissionCheck {
|
|
8349
8578
|
readonly 'authentication_technique': io.flow.permission.v0.enums.AuthenticationTechnique;
|
|
8350
8579
|
readonly 'user'?: io.flow.common.v0.unions.ExpandableUser;
|
|
8351
|
-
readonly 'roles': io.flow.permission.v0.
|
|
8580
|
+
readonly 'roles': io.flow.permission.v0.enums.FlowRole[];
|
|
8352
8581
|
readonly 'behaviors': io.flow.permission.v0.enums.FlowBehavior[];
|
|
8353
8582
|
readonly 'routes': io.flow.permission.v0.models.PermittedRoute[];
|
|
8354
8583
|
}
|
|
8355
8584
|
interface PermissionError {
|
|
8356
8585
|
readonly 'code': io.flow.error.v0.enums.GenericErrorCode;
|
|
8357
8586
|
readonly 'messages': string[];
|
|
8358
|
-
readonly 'granting_roles'?: io.flow.permission.v0.
|
|
8587
|
+
readonly 'granting_roles'?: io.flow.permission.v0.enums.FlowRole[];
|
|
8359
8588
|
readonly 'admin_users'?: io.flow.common.v0.models.User[];
|
|
8360
8589
|
}
|
|
8361
8590
|
interface PermittedRoute {
|
|
@@ -8366,21 +8595,12 @@ declare namespace io.flow.permission.v0.models {
|
|
|
8366
8595
|
readonly 'method': io.flow.permission.v0.enums.PermittedHttpMethod;
|
|
8367
8596
|
readonly 'path': string;
|
|
8368
8597
|
readonly 'authentication_techniques': io.flow.permission.v0.enums.AuthenticationTechnique[];
|
|
8369
|
-
readonly 'roles': io.flow.permission.v0.
|
|
8598
|
+
readonly 'roles': io.flow.permission.v0.enums.FlowRole[];
|
|
8370
8599
|
}
|
|
8371
8600
|
interface SimplePermissionCheck {
|
|
8372
8601
|
readonly 'behaviors': io.flow.permission.v0.enums.FlowBehavior[];
|
|
8373
8602
|
}
|
|
8374
8603
|
}
|
|
8375
|
-
declare namespace io.flow.permission.v0.unions {
|
|
8376
|
-
type FlowRole = ({
|
|
8377
|
-
discriminator: 'flow_user_role';
|
|
8378
|
-
value: io.flow.permission.v0.enums.FlowUserRole;
|
|
8379
|
-
} | {
|
|
8380
|
-
discriminator: 'flow_addon_role';
|
|
8381
|
-
value: io.flow.permission.v0.enums.FlowAddonRole;
|
|
8382
|
-
});
|
|
8383
|
-
}
|
|
8384
8604
|
declare namespace io.flow.query.builder.v0.enums {
|
|
8385
8605
|
type AvailableFilterFormat = 'boolean' | 'date' | 'money' | 'decimal' | 'string' | 'unit_of_length' | 'unit_of_mass';
|
|
8386
8606
|
}
|
|
@@ -8692,10 +8912,11 @@ declare namespace io.flow.billing.internal.v0.unions {
|
|
|
8692
8912
|
type Transaction = (io.flow.billing.internal.v0.models.InvoiceTransaction | io.flow.billing.internal.v0.models.ManualTransaction | io.flow.billing.internal.v0.models.ProcessingTransaction | io.flow.billing.internal.v0.models.SubscriptionTransaction | io.flow.billing.internal.v0.models.TaxRemittanceTransaction | io.flow.billing.internal.v0.models.TransferTransaction | io.flow.billing.internal.v0.models.VirtualCardTransaction);
|
|
8693
8913
|
}
|
|
8694
8914
|
declare namespace io.flow.harmonization.internal.v0.enums {
|
|
8915
|
+
type DutyExemptItemTypes = 'gift_card' | 'service' | 'digital_item';
|
|
8695
8916
|
type EmptyAttribute = 'irrelevant';
|
|
8696
8917
|
type ItemClassificationAction = 'ACCEPT' | 'MANUAL' | 'REJECT';
|
|
8697
8918
|
type ItemClassificationStatus = 'unknown' | 'manual' | 'manually_accepted' | 'manually_overridden' | 'automatically_accepted';
|
|
8698
|
-
type ItemHarmonizationStatus = 'waiting_for_classification' | 'classified' | 'non_classifiable_not_enough_information' | 'non_classifiable_other' | '
|
|
8919
|
+
type ItemHarmonizationStatus = 'waiting_for_classification' | 'classified' | 'non_classifiable_not_enough_information' | 'non_classifiable_other' | 'exempt';
|
|
8699
8920
|
type ItemType = 'standard' | 'multi_product';
|
|
8700
8921
|
type TariffEligibilityType = 'rex';
|
|
8701
8922
|
type UnclassifiedProductStatus = 'ignored' | 'escalated' | 'requeued';
|
|
@@ -8786,6 +9007,15 @@ declare namespace io.flow.harmonization.internal.v0.models {
|
|
|
8786
9007
|
readonly 'harmonization_code'?: string;
|
|
8787
9008
|
readonly 'tariff_codes'?: Record<string, io.flow.harmonization.internal.v0.models.TariffCodeDuty>;
|
|
8788
9009
|
}
|
|
9010
|
+
interface CustomsDetails {
|
|
9011
|
+
readonly 'tariff_eligibility_data': io.flow.harmonization.internal.v0.unions.TariffEligibilityData[];
|
|
9012
|
+
readonly 'item_customs_details': io.flow.harmonization.internal.v0.models.ItemCustomsDetails[];
|
|
9013
|
+
}
|
|
9014
|
+
interface CustomsDetailsForm {
|
|
9015
|
+
readonly 'destination': io.flow.common.v0.models.Address;
|
|
9016
|
+
readonly 'item_numbers': string[];
|
|
9017
|
+
readonly 'ship_from': io.flow.common.v0.models.Address;
|
|
9018
|
+
}
|
|
8789
9019
|
interface Duties {
|
|
8790
9020
|
readonly 'duty_rate': io.flow.price.v0.models.Duty;
|
|
8791
9021
|
readonly 'duty_rate_v2'?: io.flow.duty.internal.v0.models.DutyRate;
|
|
@@ -8809,6 +9039,16 @@ declare namespace io.flow.harmonization.internal.v0.models {
|
|
|
8809
9039
|
readonly 'items': number;
|
|
8810
9040
|
readonly 'codes': io.flow.harmonization.internal.v0.models.HarmonizationStatisticsBreakout;
|
|
8811
9041
|
}
|
|
9042
|
+
interface ItemCustomsDetails {
|
|
9043
|
+
readonly 'item_number': string;
|
|
9044
|
+
readonly 'customs_description'?: string;
|
|
9045
|
+
readonly 'origin': string;
|
|
9046
|
+
readonly 'hs6'?: string;
|
|
9047
|
+
readonly 'tariff_code'?: string;
|
|
9048
|
+
readonly 'duty': io.flow.price.v0.models.Duty;
|
|
9049
|
+
readonly 'price_composition_rate': number;
|
|
9050
|
+
readonly 'duty_composition_rate': number;
|
|
9051
|
+
}
|
|
8812
9052
|
interface ItemHarmonization {
|
|
8813
9053
|
readonly 'organization_id': string;
|
|
8814
9054
|
readonly 'item_number': string;
|
|
@@ -10087,6 +10327,7 @@ declare namespace io.flow.fraud.v0.enums {
|
|
|
10087
10327
|
}
|
|
10088
10328
|
declare namespace io.flow.fraud.v0.models {
|
|
10089
10329
|
interface FraudEmailRule {
|
|
10330
|
+
readonly 'id'?: string;
|
|
10090
10331
|
readonly 'email': string;
|
|
10091
10332
|
readonly 'decision': io.flow.fraud.v0.enums.FraudEmailRuleDecision;
|
|
10092
10333
|
}
|
|
@@ -10309,7 +10550,7 @@ declare namespace io.flow.organization.v0.models {
|
|
|
10309
10550
|
readonly 'email': string;
|
|
10310
10551
|
readonly 'name': io.flow.common.v0.models.Name;
|
|
10311
10552
|
readonly 'role'?: io.flow.common.v0.enums.Role;
|
|
10312
|
-
readonly 'roles'?: io.flow.permission.v0.
|
|
10553
|
+
readonly 'roles'?: io.flow.permission.v0.enums.FlowRole[];
|
|
10313
10554
|
readonly 'expiration': string;
|
|
10314
10555
|
}
|
|
10315
10556
|
interface InvitationError {
|
|
@@ -10321,7 +10562,7 @@ declare namespace io.flow.organization.v0.models {
|
|
|
10321
10562
|
readonly 'email': string;
|
|
10322
10563
|
readonly 'name'?: io.flow.common.v0.models.Name;
|
|
10323
10564
|
readonly 'role'?: io.flow.common.v0.enums.Role;
|
|
10324
|
-
readonly 'roles'?: io.flow.permission.v0.
|
|
10565
|
+
readonly 'roles'?: io.flow.permission.v0.enums.FlowRole[];
|
|
10325
10566
|
}
|
|
10326
10567
|
interface InvitationVersion {
|
|
10327
10568
|
readonly 'id': string;
|
|
@@ -10334,17 +10575,17 @@ declare namespace io.flow.organization.v0.models {
|
|
|
10334
10575
|
readonly 'organization': io.flow.common.v0.unions.ExpandableOrganization;
|
|
10335
10576
|
readonly 'user': io.flow.common.v0.unions.ExpandableUser;
|
|
10336
10577
|
readonly 'role'?: io.flow.common.v0.enums.Role;
|
|
10337
|
-
readonly 'roles': io.flow.permission.v0.
|
|
10578
|
+
readonly 'roles': io.flow.permission.v0.enums.FlowRole[];
|
|
10338
10579
|
}
|
|
10339
10580
|
interface MembershipForm {
|
|
10340
10581
|
readonly 'organization': string;
|
|
10341
10582
|
readonly 'user': string;
|
|
10342
10583
|
readonly 'role'?: io.flow.common.v0.enums.Role;
|
|
10343
|
-
readonly 'roles'?: io.flow.permission.v0.
|
|
10584
|
+
readonly 'roles'?: io.flow.permission.v0.enums.FlowRole[];
|
|
10344
10585
|
}
|
|
10345
10586
|
interface MembershipPutForm {
|
|
10346
10587
|
readonly 'role'?: io.flow.common.v0.enums.Role;
|
|
10347
|
-
readonly 'roles'?: io.flow.permission.v0.
|
|
10588
|
+
readonly 'roles'?: io.flow.permission.v0.enums.FlowRole[];
|
|
10348
10589
|
}
|
|
10349
10590
|
interface MembershipVersion {
|
|
10350
10591
|
readonly 'id': string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "9.4.
|
|
3
|
+
"version": "9.4.3",
|
|
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",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"prettier": "^1.18.2",
|
|
28
28
|
"typescript": "3.8.3"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "8653f3548d26b65f9196bae54baaadd6d80186af"
|
|
31
31
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -5828,6 +5828,14 @@ declare namespace io.flow.harmonization.internal.event.v0.models {
|
|
|
5828
5828
|
readonly 'organization_id'?: string;
|
|
5829
5829
|
}
|
|
5830
5830
|
|
|
5831
|
+
interface RatesChanged {
|
|
5832
|
+
readonly 'event_id': string;
|
|
5833
|
+
readonly 'timestamp': string;
|
|
5834
|
+
readonly 'hs6': string;
|
|
5835
|
+
readonly 'origin': io.flow.reference.v0.models.Country;
|
|
5836
|
+
readonly 'destination': io.flow.reference.v0.models.Country;
|
|
5837
|
+
}
|
|
5838
|
+
|
|
5831
5839
|
interface ResyncByDestinations {
|
|
5832
5840
|
readonly 'discriminator': 'resync_by_destinations';
|
|
5833
5841
|
readonly 'destinations': io.flow.reference.v0.models.Country[];
|
|
@@ -6150,17 +6158,64 @@ declare namespace io.flow.payment.internal.v0.enums {
|
|
|
6150
6158
|
type ChargebackPaymentStatus = 'captured' | 'refunded';
|
|
6151
6159
|
type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
|
|
6152
6160
|
type HttpMethod = 'get' | 'post';
|
|
6161
|
+
type Owner = 'flow' | 'organization';
|
|
6153
6162
|
type Processor = 'adyen' | 'afterpay' | 'bitpay' | 'stripe' | 'paypal' | 'flow_sandbox' | 'fiserv' | 'crypto';
|
|
6154
6163
|
type RedirectReason = 'three_d_secure';
|
|
6155
6164
|
type RiskCheck = 'three_d_secure';
|
|
6156
6165
|
}
|
|
6157
6166
|
|
|
6158
6167
|
declare namespace io.flow.payment.internal.v0.models {
|
|
6168
|
+
interface AdyenAccount {
|
|
6169
|
+
readonly 'discriminator': 'adyen_account';
|
|
6170
|
+
readonly 'id': string;
|
|
6171
|
+
readonly 'organization_id': string;
|
|
6172
|
+
readonly 'key': string;
|
|
6173
|
+
readonly 'owner': io.flow.payment.internal.v0.enums.Owner;
|
|
6174
|
+
readonly 'name': string;
|
|
6175
|
+
readonly 'ui_reference': string;
|
|
6176
|
+
readonly 'authentication': io.flow.payment.internal.v0.models.AdyenAuthentication;
|
|
6177
|
+
}
|
|
6178
|
+
|
|
6179
|
+
interface AdyenAccountPutForm {
|
|
6180
|
+
readonly 'discriminator': 'adyen_account_put_form';
|
|
6181
|
+
readonly 'owner'?: io.flow.payment.internal.v0.enums.Owner;
|
|
6182
|
+
readonly 'name': string;
|
|
6183
|
+
readonly 'ui_reference': string;
|
|
6184
|
+
readonly 'authentication': io.flow.payment.internal.v0.models.AdyenAuthenticationForm;
|
|
6185
|
+
}
|
|
6186
|
+
|
|
6187
|
+
interface AdyenAuthentication {
|
|
6188
|
+
readonly 'username': string;
|
|
6189
|
+
readonly 'password_reference': string;
|
|
6190
|
+
readonly 'signature_secret_reference': string;
|
|
6191
|
+
}
|
|
6192
|
+
|
|
6159
6193
|
interface AdyenAuthenticationDataReference {
|
|
6160
6194
|
readonly 'account_id': string;
|
|
6161
6195
|
readonly 'merchant_account': string;
|
|
6162
6196
|
}
|
|
6163
6197
|
|
|
6198
|
+
interface AdyenAuthenticationForm {
|
|
6199
|
+
readonly 'username': string;
|
|
6200
|
+
readonly 'password': string;
|
|
6201
|
+
readonly 'signature_secret': string;
|
|
6202
|
+
}
|
|
6203
|
+
|
|
6204
|
+
interface AdyenMerchant {
|
|
6205
|
+
readonly 'discriminator': 'adyen_merchant';
|
|
6206
|
+
readonly 'id': string;
|
|
6207
|
+
readonly 'key': string;
|
|
6208
|
+
readonly 'organization_id': string;
|
|
6209
|
+
readonly 'external_id': string;
|
|
6210
|
+
readonly 'processor_account_reference': io.flow.payment.internal.v0.models.ProcessorAccountReference;
|
|
6211
|
+
}
|
|
6212
|
+
|
|
6213
|
+
interface AdyenMerchantPutForm {
|
|
6214
|
+
readonly 'discriminator': 'adyen_merchant_put_form';
|
|
6215
|
+
readonly 'organization_id': string;
|
|
6216
|
+
readonly 'external_id': string;
|
|
6217
|
+
}
|
|
6218
|
+
|
|
6164
6219
|
interface AdyenPaymentDetailsForm {
|
|
6165
6220
|
readonly 'fingerprint'?: string;
|
|
6166
6221
|
readonly 'challenge_result'?: string;
|
|
@@ -6176,10 +6231,37 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
6176
6231
|
readonly 'key'?: string;
|
|
6177
6232
|
}
|
|
6178
6233
|
|
|
6234
|
+
interface AfterpayAccount {
|
|
6235
|
+
readonly 'discriminator': 'afterpay_account';
|
|
6236
|
+
readonly 'id': string;
|
|
6237
|
+
readonly 'organization_id': string;
|
|
6238
|
+
readonly 'key': string;
|
|
6239
|
+
readonly 'owner': io.flow.payment.internal.v0.enums.Owner;
|
|
6240
|
+
readonly 'region': string;
|
|
6241
|
+
readonly 'authentication': io.flow.payment.internal.v0.models.AfterpayAuthentication;
|
|
6242
|
+
}
|
|
6243
|
+
|
|
6244
|
+
interface AfterpayAccountPutForm {
|
|
6245
|
+
readonly 'discriminator': 'afterpay_account_put_form';
|
|
6246
|
+
readonly 'owner'?: io.flow.payment.internal.v0.enums.Owner;
|
|
6247
|
+
readonly 'region': string;
|
|
6248
|
+
readonly 'authentication': io.flow.payment.internal.v0.models.AfterpayAuthenticationForm;
|
|
6249
|
+
}
|
|
6250
|
+
|
|
6251
|
+
interface AfterpayAuthentication {
|
|
6252
|
+
readonly 'username': string;
|
|
6253
|
+
readonly 'password_reference': string;
|
|
6254
|
+
}
|
|
6255
|
+
|
|
6179
6256
|
interface AfterpayAuthenticationDataReference {
|
|
6180
6257
|
readonly 'account_id': string;
|
|
6181
6258
|
}
|
|
6182
6259
|
|
|
6260
|
+
interface AfterpayAuthenticationForm {
|
|
6261
|
+
readonly 'username': string;
|
|
6262
|
+
readonly 'password': string;
|
|
6263
|
+
}
|
|
6264
|
+
|
|
6183
6265
|
interface ApplePaymentToken {
|
|
6184
6266
|
readonly 'discriminator': 'apple_payment_token';
|
|
6185
6267
|
readonly 'data': string;
|
|
@@ -6217,10 +6299,37 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
6217
6299
|
readonly 'ip'?: string;
|
|
6218
6300
|
}
|
|
6219
6301
|
|
|
6302
|
+
interface BitpayAccount {
|
|
6303
|
+
readonly 'discriminator': 'bitpay_account';
|
|
6304
|
+
readonly 'id': string;
|
|
6305
|
+
readonly 'organization_id': string;
|
|
6306
|
+
readonly 'key': string;
|
|
6307
|
+
readonly 'owner': io.flow.payment.internal.v0.enums.Owner;
|
|
6308
|
+
readonly 'authentication': io.flow.payment.internal.v0.models.BitpayAuthentication;
|
|
6309
|
+
}
|
|
6310
|
+
|
|
6311
|
+
interface BitpayAccountPutForm {
|
|
6312
|
+
readonly 'discriminator': 'bitpay_account_put_form';
|
|
6313
|
+
readonly 'owner'?: io.flow.payment.internal.v0.enums.Owner;
|
|
6314
|
+
readonly 'authentication': io.flow.payment.internal.v0.models.BitpayAuthenticationForm;
|
|
6315
|
+
}
|
|
6316
|
+
|
|
6317
|
+
interface BitpayAuthentication {
|
|
6318
|
+
readonly 'api_token': string;
|
|
6319
|
+
readonly 'public_key': string;
|
|
6320
|
+
readonly 'secret_key_reference': string;
|
|
6321
|
+
}
|
|
6322
|
+
|
|
6220
6323
|
interface BitpayAuthenticationDataReference {
|
|
6221
6324
|
readonly 'id': string;
|
|
6222
6325
|
}
|
|
6223
6326
|
|
|
6327
|
+
interface BitpayAuthenticationForm {
|
|
6328
|
+
readonly 'api_token': string;
|
|
6329
|
+
readonly 'public_key': string;
|
|
6330
|
+
readonly 'secret_key': string;
|
|
6331
|
+
}
|
|
6332
|
+
|
|
6224
6333
|
interface Chargeback {
|
|
6225
6334
|
readonly 'id': string;
|
|
6226
6335
|
readonly 'key': string;
|
|
@@ -6266,6 +6375,33 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
6266
6375
|
readonly 'PaRes': string;
|
|
6267
6376
|
}
|
|
6268
6377
|
|
|
6378
|
+
interface CryptoAccount {
|
|
6379
|
+
readonly 'discriminator': 'crypto_account';
|
|
6380
|
+
readonly 'id': string;
|
|
6381
|
+
readonly 'organization_id': string;
|
|
6382
|
+
readonly 'key': string;
|
|
6383
|
+
readonly 'owner': io.flow.payment.internal.v0.enums.Owner;
|
|
6384
|
+
readonly 'authentication': io.flow.payment.internal.v0.models.CryptoAuthentication;
|
|
6385
|
+
}
|
|
6386
|
+
|
|
6387
|
+
interface CryptoAccountPutForm {
|
|
6388
|
+
readonly 'discriminator': 'crypto_account_put_form';
|
|
6389
|
+
readonly 'owner'?: io.flow.payment.internal.v0.enums.Owner;
|
|
6390
|
+
readonly 'authentication': io.flow.payment.internal.v0.models.CryptoAuthenticationForm;
|
|
6391
|
+
}
|
|
6392
|
+
|
|
6393
|
+
interface CryptoAuthentication {
|
|
6394
|
+
readonly 'public_key': string;
|
|
6395
|
+
readonly 'secret_key_reference': string;
|
|
6396
|
+
readonly 'signature_secret_reference': string;
|
|
6397
|
+
}
|
|
6398
|
+
|
|
6399
|
+
interface CryptoAuthenticationForm {
|
|
6400
|
+
readonly 'public_key': string;
|
|
6401
|
+
readonly 'secret_key': string;
|
|
6402
|
+
readonly 'signature_secret': string;
|
|
6403
|
+
}
|
|
6404
|
+
|
|
6269
6405
|
interface Encryption {
|
|
6270
6406
|
readonly 'id': string;
|
|
6271
6407
|
readonly 'key': io.flow.payment.internal.v0.models.KeyReference;
|
|
@@ -6274,11 +6410,57 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
6274
6410
|
readonly 'passphrase_ids': string[];
|
|
6275
6411
|
}
|
|
6276
6412
|
|
|
6413
|
+
interface FiservAccount {
|
|
6414
|
+
readonly 'discriminator': 'fiserv_account';
|
|
6415
|
+
readonly 'id': string;
|
|
6416
|
+
readonly 'organization_id': string;
|
|
6417
|
+
readonly 'key': string;
|
|
6418
|
+
readonly 'owner': io.flow.payment.internal.v0.enums.Owner;
|
|
6419
|
+
readonly 'region': string;
|
|
6420
|
+
readonly 'authentication': io.flow.payment.internal.v0.models.FiservAuthentication;
|
|
6421
|
+
}
|
|
6422
|
+
|
|
6423
|
+
interface FiservAccountPutForm {
|
|
6424
|
+
readonly 'discriminator': 'fiserv_account_put_form';
|
|
6425
|
+
readonly 'owner'?: io.flow.payment.internal.v0.enums.Owner;
|
|
6426
|
+
readonly 'region': string;
|
|
6427
|
+
readonly 'authentication': io.flow.payment.internal.v0.models.FiservAuthenticationForm;
|
|
6428
|
+
}
|
|
6429
|
+
|
|
6430
|
+
interface FiservAuthentication {
|
|
6431
|
+
readonly 'public_key': string;
|
|
6432
|
+
readonly 'secret_key_reference': string;
|
|
6433
|
+
}
|
|
6434
|
+
|
|
6277
6435
|
interface FiservAuthenticationDataReference {
|
|
6278
6436
|
readonly 'account_id': string;
|
|
6279
6437
|
readonly 'store_id': string;
|
|
6280
6438
|
}
|
|
6281
6439
|
|
|
6440
|
+
interface FiservAuthenticationForm {
|
|
6441
|
+
readonly 'public_key': string;
|
|
6442
|
+
readonly 'secret_key': string;
|
|
6443
|
+
}
|
|
6444
|
+
|
|
6445
|
+
interface FiservMerchant {
|
|
6446
|
+
readonly 'discriminator': 'fiserv_merchant';
|
|
6447
|
+
readonly 'id': string;
|
|
6448
|
+
readonly 'key': string;
|
|
6449
|
+
readonly 'organization_id': string;
|
|
6450
|
+
readonly 'external_id': string;
|
|
6451
|
+
readonly 'processor_account_reference': io.flow.payment.internal.v0.models.ProcessorAccountReference;
|
|
6452
|
+
readonly 'base_currency': string;
|
|
6453
|
+
readonly 'country': string;
|
|
6454
|
+
}
|
|
6455
|
+
|
|
6456
|
+
interface FiservMerchantPutForm {
|
|
6457
|
+
readonly 'discriminator': 'fiserv_merchant_put_form';
|
|
6458
|
+
readonly 'organization_id': string;
|
|
6459
|
+
readonly 'external_id': string;
|
|
6460
|
+
readonly 'base_currency': string;
|
|
6461
|
+
readonly 'country': string;
|
|
6462
|
+
}
|
|
6463
|
+
|
|
6282
6464
|
interface InternalAdyenAuthorizationDetails {
|
|
6283
6465
|
readonly 'discriminator': 'internal_adyen_authorization_details';
|
|
6284
6466
|
readonly 'adyen_authentication_data': io.flow.payment.internal.v0.models.AdyenAuthenticationDataReference;
|
|
@@ -6356,6 +6538,26 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
6356
6538
|
readonly 'tribe': io.flow.payment.internal.v0.models.Tribe;
|
|
6357
6539
|
}
|
|
6358
6540
|
|
|
6541
|
+
interface PaypalAccount {
|
|
6542
|
+
readonly 'discriminator': 'paypal_account';
|
|
6543
|
+
readonly 'id': string;
|
|
6544
|
+
readonly 'organization_id': string;
|
|
6545
|
+
readonly 'key': string;
|
|
6546
|
+
readonly 'owner': io.flow.payment.internal.v0.enums.Owner;
|
|
6547
|
+
readonly 'authentication': io.flow.payment.internal.v0.models.PaypalAuthentication;
|
|
6548
|
+
}
|
|
6549
|
+
|
|
6550
|
+
interface PaypalAccountPutForm {
|
|
6551
|
+
readonly 'discriminator': 'paypal_account_put_form';
|
|
6552
|
+
readonly 'owner'?: io.flow.payment.internal.v0.enums.Owner;
|
|
6553
|
+
readonly 'authentication': io.flow.payment.internal.v0.models.PaypalAuthenticationForm;
|
|
6554
|
+
}
|
|
6555
|
+
|
|
6556
|
+
interface PaypalAuthentication {
|
|
6557
|
+
readonly 'username_reference': string;
|
|
6558
|
+
readonly 'password_reference': string;
|
|
6559
|
+
}
|
|
6560
|
+
|
|
6359
6561
|
interface PaypalAuthenticationData {
|
|
6360
6562
|
readonly 'id': string;
|
|
6361
6563
|
readonly 'organization': string;
|
|
@@ -6369,12 +6571,23 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
6369
6571
|
readonly 'id': string;
|
|
6370
6572
|
}
|
|
6371
6573
|
|
|
6574
|
+
interface PaypalAuthenticationForm {
|
|
6575
|
+
readonly 'username': string;
|
|
6576
|
+
readonly 'password': string;
|
|
6577
|
+
}
|
|
6578
|
+
|
|
6372
6579
|
interface PaypalAuthorizationPayload {
|
|
6373
6580
|
readonly 'discriminator': 'paypal_authorization_payload';
|
|
6374
6581
|
readonly 'payment_id': string;
|
|
6375
6582
|
readonly 'payer_id': string;
|
|
6376
6583
|
}
|
|
6377
6584
|
|
|
6585
|
+
interface ProcessorAccountReference {
|
|
6586
|
+
readonly 'id': string;
|
|
6587
|
+
readonly 'organization_id': string;
|
|
6588
|
+
readonly 'key': string;
|
|
6589
|
+
}
|
|
6590
|
+
|
|
6378
6591
|
interface Redirect {
|
|
6379
6592
|
readonly 'id': string;
|
|
6380
6593
|
readonly 'post_payment_redirect_urls': io.flow.payment.v0.models.PostPaymentRedirectUrls;
|
|
@@ -6383,24 +6596,68 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
6383
6596
|
|
|
6384
6597
|
interface StripeAccount {
|
|
6385
6598
|
readonly 'discriminator': 'stripe_account';
|
|
6386
|
-
readonly '
|
|
6599
|
+
readonly 'id': string;
|
|
6600
|
+
readonly 'organization_id': string;
|
|
6601
|
+
readonly 'key': string;
|
|
6602
|
+
readonly 'owner': io.flow.payment.internal.v0.enums.Owner;
|
|
6603
|
+
readonly 'name': string;
|
|
6604
|
+
readonly 'external_id': string;
|
|
6605
|
+
readonly 'authentication': io.flow.payment.internal.v0.models.StripeAuthentication;
|
|
6387
6606
|
}
|
|
6388
6607
|
|
|
6389
|
-
interface
|
|
6390
|
-
readonly 'discriminator': '
|
|
6391
|
-
readonly '
|
|
6392
|
-
readonly '
|
|
6393
|
-
readonly '
|
|
6394
|
-
readonly '
|
|
6395
|
-
|
|
6396
|
-
|
|
6397
|
-
|
|
6608
|
+
interface StripeAccountPutForm {
|
|
6609
|
+
readonly 'discriminator': 'stripe_account_put_form';
|
|
6610
|
+
readonly 'owner'?: io.flow.payment.internal.v0.enums.Owner;
|
|
6611
|
+
readonly 'name': string;
|
|
6612
|
+
readonly 'external_id': string;
|
|
6613
|
+
readonly 'authentication': io.flow.payment.internal.v0.models.StripeAuthenticationForm;
|
|
6614
|
+
}
|
|
6615
|
+
|
|
6616
|
+
interface StripeAuthentication {
|
|
6617
|
+
readonly 'public_key': string;
|
|
6618
|
+
readonly 'secret_key_reference': string;
|
|
6398
6619
|
}
|
|
6399
6620
|
|
|
6400
6621
|
interface StripeAuthenticationDataReference {
|
|
6401
6622
|
readonly 'id': string;
|
|
6402
6623
|
}
|
|
6403
6624
|
|
|
6625
|
+
interface StripeAuthenticationForm {
|
|
6626
|
+
readonly 'public_key': string;
|
|
6627
|
+
readonly 'secret_key': string;
|
|
6628
|
+
}
|
|
6629
|
+
|
|
6630
|
+
interface StripeMerchant {
|
|
6631
|
+
readonly 'discriminator': 'stripe_merchant';
|
|
6632
|
+
readonly 'id': string;
|
|
6633
|
+
readonly 'key': string;
|
|
6634
|
+
readonly 'organization_id': string;
|
|
6635
|
+
readonly 'external_id': string;
|
|
6636
|
+
readonly 'processor_account_reference': io.flow.payment.internal.v0.models.ProcessorAccountReference;
|
|
6637
|
+
readonly 'name': string;
|
|
6638
|
+
readonly 'account_type': io.flow.stripe.v0.enums.AccountType;
|
|
6639
|
+
readonly 'authentication': io.flow.payment.internal.v0.models.StripeAuthentication;
|
|
6640
|
+
}
|
|
6641
|
+
|
|
6642
|
+
interface StripeMerchantForm {
|
|
6643
|
+
readonly 'discriminator': 'stripe_merchant_form';
|
|
6644
|
+
readonly 'key'?: string;
|
|
6645
|
+
readonly 'organization_id': string;
|
|
6646
|
+
readonly 'name': string;
|
|
6647
|
+
readonly 'account_type': io.flow.stripe.v0.enums.AccountType;
|
|
6648
|
+
readonly 'country': string;
|
|
6649
|
+
readonly 'payment_statement': string;
|
|
6650
|
+
}
|
|
6651
|
+
|
|
6652
|
+
interface StripeMerchantPutForm {
|
|
6653
|
+
readonly 'discriminator': 'stripe_merchant_put_form';
|
|
6654
|
+
readonly 'organization_id': string;
|
|
6655
|
+
readonly 'external_id': string;
|
|
6656
|
+
readonly 'name': string;
|
|
6657
|
+
readonly 'account_type': io.flow.stripe.v0.enums.AccountType;
|
|
6658
|
+
readonly 'authentication': io.flow.payment.internal.v0.models.StripeAuthenticationForm;
|
|
6659
|
+
}
|
|
6660
|
+
|
|
6404
6661
|
interface Tribe {
|
|
6405
6662
|
readonly 'id': string;
|
|
6406
6663
|
readonly 'description': string;
|
|
@@ -6411,9 +6668,12 @@ declare namespace io.flow.payment.internal.v0.unions {
|
|
|
6411
6668
|
type AuthorizationPayload = (io.flow.payment.internal.v0.models.ApplePaymentToken | io.flow.payment.internal.v0.models.PaypalAuthorizationPayload);
|
|
6412
6669
|
type InternalAuthorizationDetails = (io.flow.payment.internal.v0.models.InternalPaypalAuthorizationDetails | io.flow.payment.internal.v0.models.InternalBitpayAuthorizationDetails | io.flow.payment.internal.v0.models.InternalStripeAuthorizationDetails | io.flow.payment.internal.v0.models.InternalAdyenAuthorizationDetails | io.flow.payment.internal.v0.models.InternalAfterpayAuthorizationDetails | io.flow.payment.internal.v0.models.InternalFiservAuthorizationDetails);
|
|
6413
6670
|
type InternalRefundForm = (io.flow.payment.internal.v0.models.AdyenRefundForm);
|
|
6414
|
-
type PaymentAccount = (io.flow.payment.internal.v0.models.StripeAccount);
|
|
6415
|
-
type PaymentAccountForm = (io.flow.payment.internal.v0.models.StripeAccountForm);
|
|
6416
6671
|
type PaymentRedirect = (io.flow.payment.internal.v0.models.OnlineAuthorizationCompleted);
|
|
6672
|
+
type ProcessorAccount = (io.flow.payment.internal.v0.models.StripeAccount | io.flow.payment.internal.v0.models.AdyenAccount | io.flow.payment.internal.v0.models.PaypalAccount | io.flow.payment.internal.v0.models.AfterpayAccount | io.flow.payment.internal.v0.models.BitpayAccount | io.flow.payment.internal.v0.models.FiservAccount | io.flow.payment.internal.v0.models.CryptoAccount);
|
|
6673
|
+
type ProcessorAccountPutForm = (io.flow.payment.internal.v0.models.StripeAccountPutForm | io.flow.payment.internal.v0.models.AdyenAccountPutForm | io.flow.payment.internal.v0.models.PaypalAccountPutForm | io.flow.payment.internal.v0.models.AfterpayAccountPutForm | io.flow.payment.internal.v0.models.BitpayAccountPutForm | io.flow.payment.internal.v0.models.FiservAccountPutForm | io.flow.payment.internal.v0.models.CryptoAccountPutForm);
|
|
6674
|
+
type ProcessorMerchant = (io.flow.payment.internal.v0.models.StripeMerchant | io.flow.payment.internal.v0.models.AdyenMerchant | io.flow.payment.internal.v0.models.FiservMerchant);
|
|
6675
|
+
type ProcessorMerchantForm = (io.flow.payment.internal.v0.models.StripeMerchantForm);
|
|
6676
|
+
type ProcessorMerchantPutForm = (io.flow.payment.internal.v0.models.StripeMerchantPutForm | io.flow.payment.internal.v0.models.AdyenMerchantPutForm | io.flow.payment.internal.v0.models.FiservMerchantPutForm);
|
|
6417
6677
|
}
|
|
6418
6678
|
|
|
6419
6679
|
declare namespace io.flow.fraud.internal.v0.enums {
|
|
@@ -7285,7 +7545,7 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
7285
7545
|
|
|
7286
7546
|
interface RatecardLane {
|
|
7287
7547
|
readonly 'id': string;
|
|
7288
|
-
readonly 'ratecard': io.flow.ratecard.v0.models.
|
|
7548
|
+
readonly 'ratecard': io.flow.ratecard.v0.models.RatecardSummary;
|
|
7289
7549
|
readonly 'currency': string;
|
|
7290
7550
|
readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
|
|
7291
7551
|
readonly 'shipment_window': io.flow.ratecard.v0.models.ShipmentWindow;
|
|
@@ -7374,6 +7634,12 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
7374
7634
|
readonly 'carrier': io.flow.ratecard.v0.models.RatecardCarrierSummary;
|
|
7375
7635
|
}
|
|
7376
7636
|
|
|
7637
|
+
interface RatecardSummary {
|
|
7638
|
+
readonly 'id': string;
|
|
7639
|
+
readonly 'number': string;
|
|
7640
|
+
readonly 'ratecard_owner': io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
7641
|
+
}
|
|
7642
|
+
|
|
7377
7643
|
interface RatecardVersion {
|
|
7378
7644
|
readonly 'id': string;
|
|
7379
7645
|
readonly 'timestamp': string;
|
|
@@ -9581,9 +9847,8 @@ declare namespace io.flow.inventory.v0.unions {
|
|
|
9581
9847
|
|
|
9582
9848
|
declare namespace io.flow.permission.v0.enums {
|
|
9583
9849
|
type AuthenticationTechnique = 'anonymous' | 'session' | 'token' | 'partner_token' | 'user';
|
|
9584
|
-
type FlowAddonRole = 'consumer_data_viewer' | 'membership_manager';
|
|
9585
9850
|
type FlowBehavior = 'view_consumer_data';
|
|
9586
|
-
type
|
|
9851
|
+
type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'flow_operations';
|
|
9587
9852
|
type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
|
|
9588
9853
|
}
|
|
9589
9854
|
|
|
@@ -9591,7 +9856,7 @@ declare namespace io.flow.permission.v0.models {
|
|
|
9591
9856
|
interface BehaviorAudit {
|
|
9592
9857
|
readonly 'behavior': io.flow.permission.v0.enums.FlowBehavior;
|
|
9593
9858
|
readonly 'authentication_techniques': io.flow.permission.v0.enums.AuthenticationTechnique[];
|
|
9594
|
-
readonly 'roles': io.flow.permission.v0.
|
|
9859
|
+
readonly 'roles': io.flow.permission.v0.enums.FlowRole[];
|
|
9595
9860
|
}
|
|
9596
9861
|
|
|
9597
9862
|
interface PermissionAudit {
|
|
@@ -9602,7 +9867,7 @@ declare namespace io.flow.permission.v0.models {
|
|
|
9602
9867
|
interface PermissionCheck {
|
|
9603
9868
|
readonly 'authentication_technique': io.flow.permission.v0.enums.AuthenticationTechnique;
|
|
9604
9869
|
readonly 'user'?: io.flow.common.v0.unions.ExpandableUser;
|
|
9605
|
-
readonly 'roles': io.flow.permission.v0.
|
|
9870
|
+
readonly 'roles': io.flow.permission.v0.enums.FlowRole[];
|
|
9606
9871
|
readonly 'behaviors': io.flow.permission.v0.enums.FlowBehavior[];
|
|
9607
9872
|
readonly 'routes': io.flow.permission.v0.models.PermittedRoute[];
|
|
9608
9873
|
}
|
|
@@ -9610,7 +9875,7 @@ declare namespace io.flow.permission.v0.models {
|
|
|
9610
9875
|
interface PermissionError {
|
|
9611
9876
|
readonly 'code': io.flow.error.v0.enums.GenericErrorCode;
|
|
9612
9877
|
readonly 'messages': string[];
|
|
9613
|
-
readonly 'granting_roles'?: io.flow.permission.v0.
|
|
9878
|
+
readonly 'granting_roles'?: io.flow.permission.v0.enums.FlowRole[];
|
|
9614
9879
|
readonly 'admin_users'?: io.flow.common.v0.models.User[];
|
|
9615
9880
|
}
|
|
9616
9881
|
|
|
@@ -9623,7 +9888,7 @@ declare namespace io.flow.permission.v0.models {
|
|
|
9623
9888
|
readonly 'method': io.flow.permission.v0.enums.PermittedHttpMethod;
|
|
9624
9889
|
readonly 'path': string;
|
|
9625
9890
|
readonly 'authentication_techniques': io.flow.permission.v0.enums.AuthenticationTechnique[];
|
|
9626
|
-
readonly 'roles': io.flow.permission.v0.
|
|
9891
|
+
readonly 'roles': io.flow.permission.v0.enums.FlowRole[];
|
|
9627
9892
|
}
|
|
9628
9893
|
|
|
9629
9894
|
interface SimplePermissionCheck {
|
|
@@ -9631,16 +9896,6 @@ declare namespace io.flow.permission.v0.models {
|
|
|
9631
9896
|
}
|
|
9632
9897
|
}
|
|
9633
9898
|
|
|
9634
|
-
declare namespace io.flow.permission.v0.unions {
|
|
9635
|
-
type FlowRole = ({
|
|
9636
|
-
discriminator: 'flow_user_role',
|
|
9637
|
-
value: io.flow.permission.v0.enums.FlowUserRole
|
|
9638
|
-
} | {
|
|
9639
|
-
discriminator: 'flow_addon_role',
|
|
9640
|
-
value: io.flow.permission.v0.enums.FlowAddonRole
|
|
9641
|
-
});
|
|
9642
|
-
}
|
|
9643
|
-
|
|
9644
9899
|
declare namespace io.flow.query.builder.v0.enums {
|
|
9645
9900
|
type AvailableFilterFormat = 'boolean' | 'date' | 'money' | 'decimal' | 'string' | 'unit_of_length' | 'unit_of_mass';
|
|
9646
9901
|
}
|
|
@@ -9997,10 +10252,11 @@ declare namespace io.flow.billing.internal.v0.unions {
|
|
|
9997
10252
|
}
|
|
9998
10253
|
|
|
9999
10254
|
declare namespace io.flow.harmonization.internal.v0.enums {
|
|
10255
|
+
type DutyExemptItemTypes = 'gift_card' | 'service' | 'digital_item';
|
|
10000
10256
|
type EmptyAttribute = 'irrelevant';
|
|
10001
10257
|
type ItemClassificationAction = 'ACCEPT' | 'MANUAL' | 'REJECT';
|
|
10002
10258
|
type ItemClassificationStatus = 'unknown' | 'manual' | 'manually_accepted' | 'manually_overridden' | 'automatically_accepted';
|
|
10003
|
-
type ItemHarmonizationStatus = 'waiting_for_classification' | 'classified' | 'non_classifiable_not_enough_information' | 'non_classifiable_other' | '
|
|
10259
|
+
type ItemHarmonizationStatus = 'waiting_for_classification' | 'classified' | 'non_classifiable_not_enough_information' | 'non_classifiable_other' | 'exempt';
|
|
10004
10260
|
type ItemType = 'standard' | 'multi_product';
|
|
10005
10261
|
type TariffEligibilityType = 'rex';
|
|
10006
10262
|
type UnclassifiedProductStatus = 'ignored' | 'escalated' | 'requeued';
|
|
@@ -10106,6 +10362,17 @@ declare namespace io.flow.harmonization.internal.v0.models {
|
|
|
10106
10362
|
readonly 'tariff_codes'?: Record<string, io.flow.harmonization.internal.v0.models.TariffCodeDuty>;
|
|
10107
10363
|
}
|
|
10108
10364
|
|
|
10365
|
+
interface CustomsDetails {
|
|
10366
|
+
readonly 'tariff_eligibility_data': io.flow.harmonization.internal.v0.unions.TariffEligibilityData[];
|
|
10367
|
+
readonly 'item_customs_details': io.flow.harmonization.internal.v0.models.ItemCustomsDetails[];
|
|
10368
|
+
}
|
|
10369
|
+
|
|
10370
|
+
interface CustomsDetailsForm {
|
|
10371
|
+
readonly 'destination': io.flow.common.v0.models.Address;
|
|
10372
|
+
readonly 'item_numbers': string[];
|
|
10373
|
+
readonly 'ship_from': io.flow.common.v0.models.Address;
|
|
10374
|
+
}
|
|
10375
|
+
|
|
10109
10376
|
interface Duties {
|
|
10110
10377
|
readonly 'duty_rate': io.flow.price.v0.models.Duty;
|
|
10111
10378
|
readonly 'duty_rate_v2'?: io.flow.duty.internal.v0.models.DutyRate;
|
|
@@ -10134,6 +10401,17 @@ declare namespace io.flow.harmonization.internal.v0.models {
|
|
|
10134
10401
|
readonly 'codes': io.flow.harmonization.internal.v0.models.HarmonizationStatisticsBreakout;
|
|
10135
10402
|
}
|
|
10136
10403
|
|
|
10404
|
+
interface ItemCustomsDetails {
|
|
10405
|
+
readonly 'item_number': string;
|
|
10406
|
+
readonly 'customs_description'?: string;
|
|
10407
|
+
readonly 'origin': string;
|
|
10408
|
+
readonly 'hs6'?: string;
|
|
10409
|
+
readonly 'tariff_code'?: string;
|
|
10410
|
+
readonly 'duty': io.flow.price.v0.models.Duty;
|
|
10411
|
+
readonly 'price_composition_rate': number;
|
|
10412
|
+
readonly 'duty_composition_rate': number;
|
|
10413
|
+
}
|
|
10414
|
+
|
|
10137
10415
|
interface ItemHarmonization {
|
|
10138
10416
|
readonly 'organization_id': string;
|
|
10139
10417
|
readonly 'item_number': string;
|
|
@@ -11620,6 +11898,7 @@ declare namespace io.flow.fraud.v0.enums {
|
|
|
11620
11898
|
|
|
11621
11899
|
declare namespace io.flow.fraud.v0.models {
|
|
11622
11900
|
interface FraudEmailRule {
|
|
11901
|
+
readonly 'id'?: string;
|
|
11623
11902
|
readonly 'email': string;
|
|
11624
11903
|
readonly 'decision': io.flow.fraud.v0.enums.FraudEmailRuleDecision;
|
|
11625
11904
|
}
|
|
@@ -11887,7 +12166,7 @@ declare namespace io.flow.organization.v0.models {
|
|
|
11887
12166
|
readonly 'email': string;
|
|
11888
12167
|
readonly 'name': io.flow.common.v0.models.Name;
|
|
11889
12168
|
readonly 'role'?: io.flow.common.v0.enums.Role;
|
|
11890
|
-
readonly 'roles'?: io.flow.permission.v0.
|
|
12169
|
+
readonly 'roles'?: io.flow.permission.v0.enums.FlowRole[];
|
|
11891
12170
|
readonly 'expiration': string;
|
|
11892
12171
|
}
|
|
11893
12172
|
|
|
@@ -11901,7 +12180,7 @@ declare namespace io.flow.organization.v0.models {
|
|
|
11901
12180
|
readonly 'email': string;
|
|
11902
12181
|
readonly 'name'?: io.flow.common.v0.models.Name;
|
|
11903
12182
|
readonly 'role'?: io.flow.common.v0.enums.Role;
|
|
11904
|
-
readonly 'roles'?: io.flow.permission.v0.
|
|
12183
|
+
readonly 'roles'?: io.flow.permission.v0.enums.FlowRole[];
|
|
11905
12184
|
}
|
|
11906
12185
|
|
|
11907
12186
|
interface InvitationVersion {
|
|
@@ -11916,19 +12195,19 @@ declare namespace io.flow.organization.v0.models {
|
|
|
11916
12195
|
readonly 'organization': io.flow.common.v0.unions.ExpandableOrganization;
|
|
11917
12196
|
readonly 'user': io.flow.common.v0.unions.ExpandableUser;
|
|
11918
12197
|
readonly 'role'?: io.flow.common.v0.enums.Role;
|
|
11919
|
-
readonly 'roles': io.flow.permission.v0.
|
|
12198
|
+
readonly 'roles': io.flow.permission.v0.enums.FlowRole[];
|
|
11920
12199
|
}
|
|
11921
12200
|
|
|
11922
12201
|
interface MembershipForm {
|
|
11923
12202
|
readonly 'organization': string;
|
|
11924
12203
|
readonly 'user': string;
|
|
11925
12204
|
readonly 'role'?: io.flow.common.v0.enums.Role;
|
|
11926
|
-
readonly 'roles'?: io.flow.permission.v0.
|
|
12205
|
+
readonly 'roles'?: io.flow.permission.v0.enums.FlowRole[];
|
|
11927
12206
|
}
|
|
11928
12207
|
|
|
11929
12208
|
interface MembershipPutForm {
|
|
11930
12209
|
readonly 'role'?: io.flow.common.v0.enums.Role;
|
|
11931
|
-
readonly 'roles'?: io.flow.permission.v0.
|
|
12210
|
+
readonly 'roles'?: io.flow.permission.v0.enums.FlowRole[];
|
|
11932
12211
|
}
|
|
11933
12212
|
|
|
11934
12213
|
interface MembershipVersion {
|