@flowio/types 11.24.108 → 11.24.109

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/src/api.ts CHANGED
@@ -3459,6 +3459,141 @@ declare namespace io.flow.common.v0.unions {
3459
3459
  | io.flow.common.v0.models.RepeatMonthly;
3460
3460
  }
3461
3461
 
3462
+ declare namespace io.flow.token.v0.models {
3463
+ interface ChannelToken {
3464
+ readonly discriminator: 'channel_token';
3465
+ readonly id: string;
3466
+ readonly channel: io.flow.common.v0.models.ChannelReference;
3467
+ readonly user: io.flow.common.v0.models.UserReference;
3468
+ readonly partial: string;
3469
+ readonly cleartext?: string;
3470
+ readonly created_at: string;
3471
+ readonly description?: string;
3472
+ }
3473
+
3474
+ interface ChannelTokenForm {
3475
+ readonly channel_id: string;
3476
+ readonly description?: string;
3477
+ }
3478
+
3479
+ interface ChannelTokenReference {
3480
+ readonly discriminator: 'channel_token_reference';
3481
+ readonly id: string;
3482
+ readonly channel: io.flow.common.v0.models.ChannelReference;
3483
+ readonly user: io.flow.common.v0.models.UserReference;
3484
+ }
3485
+
3486
+ interface Cleartext {
3487
+ readonly value: string;
3488
+ }
3489
+
3490
+ interface OrganizationToken {
3491
+ readonly discriminator: 'organization_token';
3492
+ readonly id: string;
3493
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
3494
+ readonly user: io.flow.common.v0.models.UserReference;
3495
+ readonly environment: io.flow.common.v0.enums.Environment;
3496
+ readonly partial: string;
3497
+ readonly created_at: string;
3498
+ readonly description?: string;
3499
+ }
3500
+
3501
+ interface OrganizationTokenForm {
3502
+ readonly environment: io.flow.common.v0.enums.Environment;
3503
+ readonly description?: string;
3504
+ }
3505
+
3506
+ interface OrganizationTokenFormV2 {
3507
+ readonly organization_id: string;
3508
+ readonly description?: string;
3509
+ }
3510
+
3511
+ interface OrganizationTokenReference {
3512
+ readonly discriminator: 'organization_token_reference';
3513
+ readonly id: string;
3514
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
3515
+ readonly environment: io.flow.common.v0.enums.Environment;
3516
+ readonly user: io.flow.common.v0.models.UserReference;
3517
+ }
3518
+
3519
+ interface OrganizationTokenV2 {
3520
+ readonly discriminator: 'organization_token_v2';
3521
+ readonly id: string;
3522
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
3523
+ readonly user: io.flow.common.v0.models.UserReference;
3524
+ readonly partial: string;
3525
+ readonly cleartext?: string;
3526
+ readonly created_at: string;
3527
+ readonly description?: string;
3528
+ }
3529
+
3530
+ interface OrganizationTokenV2Reference {
3531
+ readonly discriminator: 'organization_token_v2_reference';
3532
+ readonly id: string;
3533
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
3534
+ }
3535
+
3536
+ interface PartnerToken {
3537
+ readonly discriminator: 'partner_token';
3538
+ readonly id: string;
3539
+ readonly partner: io.flow.token.v0.models.TokenPartnerReference;
3540
+ readonly user: io.flow.common.v0.models.UserReference;
3541
+ readonly environment: io.flow.common.v0.enums.Environment;
3542
+ readonly partial: string;
3543
+ readonly created_at: string;
3544
+ readonly description?: string;
3545
+ }
3546
+
3547
+ interface PartnerTokenForm {
3548
+ readonly environment: io.flow.common.v0.enums.Environment;
3549
+ readonly description?: string;
3550
+ }
3551
+
3552
+ interface PartnerTokenReference {
3553
+ readonly discriminator: 'partner_token_reference';
3554
+ readonly id: string;
3555
+ readonly partner: io.flow.token.v0.models.TokenPartnerReference;
3556
+ readonly environment: io.flow.common.v0.enums.Environment;
3557
+ readonly user: io.flow.common.v0.models.UserReference;
3558
+ }
3559
+
3560
+ interface TokenAuthenticationForm {
3561
+ readonly token: string;
3562
+ }
3563
+
3564
+ interface TokenPartnerReference {
3565
+ readonly id: string;
3566
+ }
3567
+
3568
+ interface TokenRbacAuthenticationForm {
3569
+ readonly token: string;
3570
+ readonly method: string;
3571
+ readonly path_pattern: string;
3572
+ readonly path: string;
3573
+ }
3574
+
3575
+ interface TokenValidation {
3576
+ readonly status: string;
3577
+ }
3578
+
3579
+ interface TokenValidationForm {
3580
+ readonly token: string;
3581
+ }
3582
+ }
3583
+
3584
+ declare namespace io.flow.token.v0.unions {
3585
+ type Token =
3586
+ | io.flow.token.v0.models.ChannelToken
3587
+ | io.flow.token.v0.models.OrganizationToken
3588
+ | io.flow.token.v0.models.OrganizationTokenV2
3589
+ | io.flow.token.v0.models.PartnerToken;
3590
+ type TokenReference =
3591
+ | io.flow.token.v0.models.ChannelTokenReference
3592
+ | io.flow.token.v0.models.OrganizationTokenReference
3593
+ | io.flow.token.v0.models.OrganizationTokenV2Reference
3594
+ | io.flow.token.v0.models.PartnerTokenReference;
3595
+ }
3596
+
3462
3597
  declare namespace io.flow.error.v0.enums {
3463
3598
  type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
3464
3599
  }
@@ -4613,6 +4748,38 @@ declare namespace io.flow.merchant.of.record.v0.enums {
4613
4748
  type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can' | 'ge-usa';
4614
4749
  }
4615
4750
 
4751
+ declare namespace io.flow.tech.onboarding.playground.v0.enums {
4752
+ type AldoItemType = 'physical' | 'digital';
4753
+ }
4754
+
4755
+ declare namespace io.flow.tech.onboarding.playground.v0.models {
4756
+ interface AldoItem {
4757
+ readonly id: string;
4758
+ readonly number: string;
4759
+ readonly amount: io.flow.common.v0.models.Price;
4760
+ readonly description?: string;
4761
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.AldoItemType;
4762
+ readonly added_on: string;
4763
+ }
4764
+
4765
+ interface AldoItemForm {
4766
+ readonly number: string;
4767
+ readonly amount: io.flow.common.v0.models.Price;
4768
+ readonly description?: string;
4769
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.AldoItemType;
4770
+ readonly added_on: string;
4771
+ }
4772
+
4773
+ interface JeanDemoItem {
4774
+ readonly id: string;
4775
+ readonly name: string;
4776
+ }
4777
+
4778
+ interface TechOnboardingDescription {
4779
+ readonly description: string;
4780
+ }
4781
+ }
4782
+
4616
4783
  declare namespace io.flow.currency.v0.models {
4617
4784
  interface Rate {
4618
4785
  readonly id: string;
@@ -5673,6 +5840,8 @@ declare namespace io.flow.v0.enums {
5673
5840
  type EventType =
5674
5841
  | 'test_upserted'
5675
5842
  | 'generate_load'
5843
+ | 'aldo_item_upserted'
5844
+ | 'aldo_item_deleted'
5676
5845
  | 'transaction_upserted'
5677
5846
  | 'organization_transaction_upserted'
5678
5847
  | 'organization_transaction_deleted'
@@ -6843,6 +7012,20 @@ declare namespace io.flow.v0.models {
6843
7012
  readonly fingerprint_token: string;
6844
7013
  }
6845
7014
 
7015
+ interface AldoItemDeleted {
7016
+ readonly discriminator: 'aldo_item_deleted';
7017
+ readonly event_id: string;
7018
+ readonly timestamp: string;
7019
+ readonly id: string;
7020
+ }
7021
+
7022
+ interface AldoItemUpserted {
7023
+ readonly discriminator: 'aldo_item_upserted';
7024
+ readonly event_id: string;
7025
+ readonly timestamp: string;
7026
+ readonly item: io.flow.tech.onboarding.playground.v0.models.AldoItem;
7027
+ }
7028
+
6846
7029
  interface Allocation {
6847
7030
  readonly order: io.flow.v0.models.AllocationOrderSummary;
6848
7031
  readonly details: io.flow.v0.unions.AllocationDetail[];
@@ -13815,6 +13998,17 @@ declare namespace io.flow.v0.models {
13815
13998
  readonly source: io.flow.v0.enums.DeliveryWindowComponentSource;
13816
13999
  }
13817
14000
 
14001
+ interface Product {
14002
+ readonly id: string;
14003
+ readonly organization_id: string;
14004
+ readonly number: string;
14005
+ readonly taxonomy_category?: io.flow.v0.models.ProductTaxonomyCategory;
14006
+ readonly taxonomy_data?: io.flow.v0.models.ProductTaxonomyData[];
14007
+ readonly item_numbers: string[];
14008
+ readonly updated_at: string;
14009
+ readonly deleted_at?: string;
14010
+ }
14011
+
13818
14012
  interface ProductRestrictionResult {
13819
14013
  readonly id: string;
13820
14014
  readonly product_id: string;
@@ -13844,6 +14038,16 @@ declare namespace io.flow.v0.models {
13844
14038
  readonly product_restriction_result: io.flow.v0.models.ProductRestrictionResult;
13845
14039
  }
13846
14040
 
14041
+ interface ProductTaxonomyCategory {
14042
+ readonly name: string;
14043
+ readonly fullname: string;
14044
+ }
14045
+
14046
+ interface ProductTaxonomyData {
14047
+ readonly key: string;
14048
+ readonly value: string[];
14049
+ }
14050
+
13847
14051
  interface PromotionTrigger {
13848
14052
  readonly type: io.flow.v0.enums.PromotionTriggerType;
13849
14053
  readonly min: io.flow.v0.models.Price;
@@ -16722,6 +16926,8 @@ declare namespace io.flow.v0.unions {
16722
16926
  type Event =
16723
16927
  | io.flow.v0.models.TestUpserted
16724
16928
  | io.flow.v0.models.GenerateLoad
16929
+ | io.flow.v0.models.AldoItemUpserted
16930
+ | io.flow.v0.models.AldoItemDeleted
16725
16931
  | io.flow.v0.models.TransactionUpserted
16726
16932
  | io.flow.v0.models.OrganizationTransactionUpserted
16727
16933
  | io.flow.v0.models.OrganizationTransactionDeleted
@@ -17313,6 +17519,8 @@ export type AdyenNativeActionDetails =
17313
17519
  export type AdyenNativeData = io.flow.v0.unions.AdyenNativeData;
17314
17520
  export type AdyenV3ChallengeToken = io.flow.v0.models.AdyenV3ChallengeToken;
17315
17521
  export type AdyenV3FingerprintToken = io.flow.v0.models.AdyenV3FingerprintToken;
17522
+ export type AldoItemDeleted = io.flow.v0.models.AldoItemDeleted;
17523
+ export type AldoItemUpserted = io.flow.v0.models.AldoItemUpserted;
17316
17524
  export type Allocation = io.flow.v0.models.Allocation;
17317
17525
  export type AllocationComponent = io.flow.v0.unions.AllocationComponent;
17318
17526
  export type AllocationDeletedV2 = io.flow.v0.models.AllocationDeletedV2;
@@ -18869,6 +19077,7 @@ export type PricingSettings = io.flow.v0.models.PricingSettings;
18869
19077
  export type PricingUpserted = io.flow.v0.models.PricingUpserted;
18870
19078
  export type PricingVersion = io.flow.v0.models.PricingVersion;
18871
19079
  export type ProcessingEstimate = io.flow.v0.models.ProcessingEstimate;
19080
+ export type Product = io.flow.v0.models.Product;
18872
19081
  export type ProductRestrictionResult =
18873
19082
  io.flow.v0.models.ProductRestrictionResult;
18874
19083
  export type ProductRestrictionResultDeleted =
@@ -18876,6 +19085,8 @@ export type ProductRestrictionResultDeleted =
18876
19085
  export type ProductRestrictionResultUpserted =
18877
19086
  io.flow.v0.models.ProductRestrictionResultUpserted;
18878
19087
  export type ProductRestrictionRule = io.flow.v0.enums.ProductRestrictionRule;
19088
+ export type ProductTaxonomyCategory = io.flow.v0.models.ProductTaxonomyCategory;
19089
+ export type ProductTaxonomyData = io.flow.v0.models.ProductTaxonomyData;
18879
19090
  export type Promotion = io.flow.v0.unions.Promotion;
18880
19091
  export type PromotionTrigger = io.flow.v0.models.PromotionTrigger;
18881
19092
  export type PromotionTriggerForm = io.flow.v0.models.PromotionTriggerForm;