@andco/protocol 0.0.14 → 0.1.0-ti.0
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/README.md +2 -2
- package/dist/api-errors.d.ts +9 -9
- package/dist/api-errors.js +9 -9
- package/dist/authorization-preparation.d.ts +1 -1
- package/dist/authorization-preparation.js +2 -2
- package/dist/authorization.d.ts +1 -1
- package/dist/authorization.js +1 -1
- package/dist/consent.d.ts +2 -2
- package/dist/consent.js +2 -2
- package/dist/errors.d.ts +10 -10
- package/dist/errors.js +10 -10
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/intent-input.d.ts +452 -880
- package/dist/intent-input.d.ts.map +1 -1
- package/dist/intent-input.js +164 -127
- package/dist/intent-status.d.ts +5 -6
- package/dist/intent-status.d.ts.map +1 -1
- package/dist/intent-status.js +12 -7
- package/dist/miniapp-manifest.d.ts +3 -3
- package/dist/miniapp-manifest.js +1 -1
- package/dist/native-intent.d.ts +82 -68
- package/dist/native-intent.d.ts.map +1 -1
- package/dist/native-intent.js +137 -84
- package/dist/native.d.ts +1 -1
- package/dist/rar/account-matchers.d.ts +35 -30
- package/dist/rar/account-matchers.d.ts.map +1 -1
- package/dist/rar/account-matchers.js +27 -21
- package/dist/rar/bank.d.ts +357 -85
- package/dist/rar/bank.d.ts.map +1 -1
- package/dist/rar/bank.js +43 -5
- package/dist/rar/catalog.d.ts +174 -49
- package/dist/rar/catalog.d.ts.map +1 -1
- package/dist/rar/catalog.js +6 -6
- package/dist/rar/detail.d.ts +1 -1
- package/dist/rar/detail.js +1 -1
- package/dist/rar/json-schemas.generated.d.ts +1 -1
- package/dist/rar/json-schemas.generated.d.ts.map +1 -1
- package/dist/rar/json-schemas.generated.js +393 -21
- package/dist/rar/money.d.ts +1 -1
- package/dist/rar/money.js +1 -1
- package/dist/rar/subject-data.d.ts +1 -1
- package/dist/rar/subject-data.js +1 -1
- package/dist/rar/subject.d.ts +1 -1
- package/dist/rar/subject.js +1 -1
- package/dist/rest/accounts.d.ts +28 -28
- package/dist/rest/accounts.d.ts.map +1 -1
- package/dist/rest/accounts.js +22 -22
- package/dist/rest/api-error.d.ts +1 -1
- package/dist/rest/api-error.js +1 -1
- package/dist/rest/catalog.d.ts +3 -3
- package/dist/rest/catalog.js +2 -2
- package/dist/rest/common.d.ts +3 -3
- package/dist/rest/common.js +3 -3
- package/dist/rest/contract.d.ts +1183 -547
- package/dist/rest/contract.d.ts.map +1 -1
- package/dist/rest/contract.js +21 -5
- package/dist/rest/events.d.ts +1 -1
- package/dist/rest/events.d.ts.map +1 -1
- package/dist/rest/events.js +2 -2
- package/dist/rest/identity.d.ts +22 -22
- package/dist/rest/identity.d.ts.map +1 -1
- package/dist/rest/identity.js +5 -5
- package/dist/rest/index.d.ts +1 -0
- package/dist/rest/index.d.ts.map +1 -1
- package/dist/rest/index.js +1 -0
- package/dist/rest/intents.d.ts +973 -743
- package/dist/rest/intents.d.ts.map +1 -1
- package/dist/rest/intents.js +112 -89
- package/dist/rest/signatures.d.ts +25 -5
- package/dist/rest/signatures.d.ts.map +1 -1
- package/dist/rest/signatures.js +52 -0
- package/dist/rest/transfers.d.ts +988 -0
- package/dist/rest/transfers.d.ts.map +1 -0
- package/dist/rest/transfers.js +142 -0
- package/dist/scopes.d.ts +1 -1
- package/dist/signing.d.ts +17 -3
- package/dist/signing.d.ts.map +1 -1
- package/dist/signing.js +8 -1
- package/dist/transfer.d.ts +399 -0
- package/dist/transfer.d.ts.map +1 -0
- package/dist/transfer.js +313 -0
- package/dist/transport/financial-events.d.ts +82 -27
- package/dist/transport/financial-events.d.ts.map +1 -1
- package/dist/transport/financial-events.js +34 -0
- package/dist/transport/generated/oauth-api.d.ts +1420 -333
- package/dist/transport/generated/oauth-api.d.ts.map +1 -1
- package/dist/transport/intents.d.ts +29 -13
- package/dist/transport/intents.d.ts.map +1 -1
- package/dist/transport/intents.js +1 -1
- package/dist/transport/rest.d.ts +5 -5
- package/dist/urls.d.ts +2 -2
- package/dist/urls.js +3 -3
- package/dist/userinfo.d.ts +2 -2
- package/dist/userinfo.js +2 -2
- package/dist/webhooks.d.ts +16 -16
- package/dist/webhooks.js +14 -14
- package/dist/window-features.d.ts +2 -2
- package/dist/window-features.js +2 -2
- package/package.json +2 -2
package/dist/rar/bank.d.ts
CHANGED
|
@@ -8,14 +8,16 @@ export declare const BANK_ACCOUNT_MANAGE_ACTIONS: readonly ["create", "close"];
|
|
|
8
8
|
export declare const BANK_ACCOUNT_APPROVAL_ACTIONS: readonly ["approve", "reject"];
|
|
9
9
|
/** Every `bank_account` action, across its three forms. */
|
|
10
10
|
export declare const BANK_ACCOUNT_ACTIONS: readonly ["read", "read_balance", "create", "close", "approve", "reject"];
|
|
11
|
-
/** Reading the Transactions (
|
|
11
|
+
/** Reading the Transactions (movements) of accounts. */
|
|
12
12
|
export declare const BANK_TRANSACTION_ACTIONS: readonly ["read"];
|
|
13
13
|
/** Proposing Transfers within the detail's bounds. */
|
|
14
14
|
export declare const BANK_TRANSFER_CREATE_ACTIONS: readonly ["create"];
|
|
15
|
+
/** Reading every Transfer that leaves the accounts of `accounts`, whoever made it and in any status. */
|
|
16
|
+
export declare const BANK_TRANSFER_READ_ACTIONS: readonly ["read"];
|
|
15
17
|
/** Approving or rejecting Transfers someone else created: the other half of dual control. */
|
|
16
18
|
export declare const BANK_TRANSFER_APPROVAL_ACTIONS: readonly ["approve", "reject"];
|
|
17
|
-
/** Every `bank_transfer` action, across its
|
|
18
|
-
export declare const BANK_TRANSFER_ACTIONS: readonly ["create", "approve", "reject"];
|
|
19
|
+
/** Every `bank_transfer` action, across its three forms. */
|
|
20
|
+
export declare const BANK_TRANSFER_ACTIONS: readonly ["create", "read", "approve", "reject"];
|
|
19
21
|
/** Creating, reading and closing Deposits. A Deposit needs no Approval: money arriving is not money leaving. */
|
|
20
22
|
export declare const BANK_DEPOSIT_ACTIONS: readonly ["create", "read", "close"];
|
|
21
23
|
/** The only currency a bank detail names today. It is still required: a permission never assumes CLP. */
|
|
@@ -472,7 +474,7 @@ export type BankTransactionGrant = v.InferOutput<typeof BankTransactionGrantSche
|
|
|
472
474
|
* locations: ["https://api.andco.com"],
|
|
473
475
|
* subject: { type: "organization" },
|
|
474
476
|
* sources: [{ type: "account_key", pattern: "caja-*", editable: true }],
|
|
475
|
-
* destinations: [{ type: "account_key", pattern: "proveedores" }, { type: "external",
|
|
477
|
+
* destinations: [{ type: "account_key", pattern: "proveedores" }, { type: "external", bank_code: "0001" }],
|
|
476
478
|
* currency: "CLP",
|
|
477
479
|
* transactions: { minimum: "1000", maximum: "5000000", editable: true },
|
|
478
480
|
* budgets: null,
|
|
@@ -574,11 +576,11 @@ export declare const BankTransferCreateGrantRequestSchema: v.StrictObjectSchema<
|
|
|
574
576
|
readonly limit: v.LiteralSchema<"all", undefined>;
|
|
575
577
|
}, undefined>, v.StrictObjectSchema<{
|
|
576
578
|
readonly type: v.LiteralSchema<"external", undefined>;
|
|
577
|
-
readonly
|
|
578
|
-
readonly account_type: v.NullishSchema<v.SchemaWithPipe<readonly [v.
|
|
579
|
-
readonly
|
|
580
|
-
readonly
|
|
581
|
-
readonly
|
|
579
|
+
readonly bank_code: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.DescriptionAction<string, "The bank's four-digit code, as `GET /catalogs/banks` lists it. AndCo is `0739`.">]>, undefined>;
|
|
580
|
+
readonly account_type: v.NullishSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<["10", "20", "40"], undefined>, v.DescriptionAction<"10" | "20" | "40", "The account type code: `\"10\"` savings, `\"20\"` checking, `\"40\"` debit (cuenta vista).">]>, undefined>;
|
|
581
|
+
readonly account_number: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
582
|
+
readonly national_id: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
583
|
+
readonly name: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
582
584
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
583
585
|
}, undefined>], undefined>, undefined>, v.MinLengthAction<({
|
|
584
586
|
type?: "account_key" | null | undefined;
|
|
@@ -603,11 +605,11 @@ export declare const BankTransferCreateGrantRequestSchema: v.StrictObjectSchema<
|
|
|
603
605
|
limit: "all";
|
|
604
606
|
} | {
|
|
605
607
|
type: "external";
|
|
606
|
-
|
|
607
|
-
account_type?:
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
608
|
+
bank_code?: string | null | undefined;
|
|
609
|
+
account_type?: "10" | "20" | "40" | null | undefined;
|
|
610
|
+
account_number?: string | null | undefined;
|
|
611
|
+
national_id?: string | null | undefined;
|
|
612
|
+
name?: string | null | undefined;
|
|
611
613
|
editable?: boolean | null | undefined;
|
|
612
614
|
})[], 1, undefined>, v.MaxLengthAction<({
|
|
613
615
|
type?: "account_key" | null | undefined;
|
|
@@ -632,11 +634,11 @@ export declare const BankTransferCreateGrantRequestSchema: v.StrictObjectSchema<
|
|
|
632
634
|
limit: "all";
|
|
633
635
|
} | {
|
|
634
636
|
type: "external";
|
|
635
|
-
|
|
636
|
-
account_type?:
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
637
|
+
bank_code?: string | null | undefined;
|
|
638
|
+
account_type?: "10" | "20" | "40" | null | undefined;
|
|
639
|
+
account_number?: string | null | undefined;
|
|
640
|
+
national_id?: string | null | undefined;
|
|
641
|
+
name?: string | null | undefined;
|
|
640
642
|
editable?: boolean | null | undefined;
|
|
641
643
|
})[], 100, undefined>, v.MetadataAction<({
|
|
642
644
|
type?: "account_key" | null | undefined;
|
|
@@ -661,11 +663,11 @@ export declare const BankTransferCreateGrantRequestSchema: v.StrictObjectSchema<
|
|
|
661
663
|
limit: "all";
|
|
662
664
|
} | {
|
|
663
665
|
type: "external";
|
|
664
|
-
|
|
665
|
-
account_type?:
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
666
|
+
bank_code?: string | null | undefined;
|
|
667
|
+
account_type?: "10" | "20" | "40" | null | undefined;
|
|
668
|
+
account_number?: string | null | undefined;
|
|
669
|
+
national_id?: string | null | undefined;
|
|
670
|
+
name?: string | null | undefined;
|
|
669
671
|
editable?: boolean | null | undefined;
|
|
670
672
|
})[], {
|
|
671
673
|
readonly uniqueItems: true;
|
|
@@ -718,7 +720,97 @@ export declare const BankTransferApprovalGrantRequestSchema: v.StrictObjectSchem
|
|
|
718
720
|
}, undefined>, undefined>;
|
|
719
721
|
}, undefined>;
|
|
720
722
|
export type BankTransferApprovalGrantRequest = v.InferInput<typeof BankTransferApprovalGrantRequestSchema>;
|
|
721
|
-
/**
|
|
723
|
+
/**
|
|
724
|
+
* `bank_transfer` Grant Request, read form: read every Transfer that leaves `accounts` (own matchers;
|
|
725
|
+
* absent means every own account), in any status and of any origin. It is a bound on accounts only:
|
|
726
|
+
* no `sources`, `destinations`, `currency` or `transactions`. Without it, a client reads only the
|
|
727
|
+
* Transfers it created itself.
|
|
728
|
+
*
|
|
729
|
+
* @example
|
|
730
|
+
* const observe: BankTransferReadGrantRequest = {
|
|
731
|
+
* type: "bank_transfer",
|
|
732
|
+
* actions: ["read"],
|
|
733
|
+
* locations: ["https://api.andco.com"],
|
|
734
|
+
* subject: { type: "organization" },
|
|
735
|
+
* accounts: [{ type: "account_key", pattern: "caja-*", editable: true }],
|
|
736
|
+
* };
|
|
737
|
+
*/
|
|
738
|
+
export declare const BankTransferReadGrantRequestSchema: v.StrictObjectSchema<{
|
|
739
|
+
readonly type: v.LiteralSchema<"bank_transfer", undefined>;
|
|
740
|
+
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["read"], undefined>, undefined>, v.MinLengthAction<"read"[], 1, undefined>, v.MetadataAction<"read"[], {
|
|
741
|
+
readonly uniqueItems: true;
|
|
742
|
+
}>]>;
|
|
743
|
+
readonly locations: v.StrictTupleSchema<[v.LiteralSchema<"https://api.andco.com", undefined>], undefined>;
|
|
744
|
+
readonly subject: v.NullishSchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
745
|
+
readonly type: v.LiteralSchema<"profile", undefined>;
|
|
746
|
+
readonly identifier: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
747
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
748
|
+
readonly type: v.LiteralSchema<"organization", undefined>;
|
|
749
|
+
readonly identifier: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
750
|
+
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
751
|
+
}, undefined>], undefined>, undefined>;
|
|
752
|
+
readonly accounts: v.NullishSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
753
|
+
readonly type: v.NullishSchema<v.LiteralSchema<"account_key", undefined>, undefined>;
|
|
754
|
+
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
755
|
+
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
756
|
+
readonly selection: v.NullishSchema<v.PicklistSchema<readonly ["single", "multiple"], undefined>, undefined>;
|
|
757
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
758
|
+
readonly type: v.LiteralSchema<"account", undefined>;
|
|
759
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
760
|
+
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
761
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
762
|
+
readonly type: v.LiteralSchema<"any", undefined>;
|
|
763
|
+
readonly limit: v.LiteralSchema<"own", undefined>;
|
|
764
|
+
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
765
|
+
readonly selection: v.NullishSchema<v.PicklistSchema<readonly ["single", "multiple"], undefined>, undefined>;
|
|
766
|
+
}, undefined>], undefined>, undefined>, v.MinLengthAction<({
|
|
767
|
+
type?: "account_key" | null | undefined;
|
|
768
|
+
pattern: string;
|
|
769
|
+
editable?: boolean | null | undefined;
|
|
770
|
+
selection?: "single" | "multiple" | null | undefined;
|
|
771
|
+
} | {
|
|
772
|
+
type: "account";
|
|
773
|
+
id: string;
|
|
774
|
+
editable?: boolean | null | undefined;
|
|
775
|
+
} | {
|
|
776
|
+
type: "any";
|
|
777
|
+
limit: "own";
|
|
778
|
+
editable?: boolean | null | undefined;
|
|
779
|
+
selection?: "single" | "multiple" | null | undefined;
|
|
780
|
+
})[], 1, undefined>, v.MaxLengthAction<({
|
|
781
|
+
type?: "account_key" | null | undefined;
|
|
782
|
+
pattern: string;
|
|
783
|
+
editable?: boolean | null | undefined;
|
|
784
|
+
selection?: "single" | "multiple" | null | undefined;
|
|
785
|
+
} | {
|
|
786
|
+
type: "account";
|
|
787
|
+
id: string;
|
|
788
|
+
editable?: boolean | null | undefined;
|
|
789
|
+
} | {
|
|
790
|
+
type: "any";
|
|
791
|
+
limit: "own";
|
|
792
|
+
editable?: boolean | null | undefined;
|
|
793
|
+
selection?: "single" | "multiple" | null | undefined;
|
|
794
|
+
})[], 100, undefined>, v.MetadataAction<({
|
|
795
|
+
type?: "account_key" | null | undefined;
|
|
796
|
+
pattern: string;
|
|
797
|
+
editable?: boolean | null | undefined;
|
|
798
|
+
selection?: "single" | "multiple" | null | undefined;
|
|
799
|
+
} | {
|
|
800
|
+
type: "account";
|
|
801
|
+
id: string;
|
|
802
|
+
editable?: boolean | null | undefined;
|
|
803
|
+
} | {
|
|
804
|
+
type: "any";
|
|
805
|
+
limit: "own";
|
|
806
|
+
editable?: boolean | null | undefined;
|
|
807
|
+
selection?: "single" | "multiple" | null | undefined;
|
|
808
|
+
})[], {
|
|
809
|
+
readonly uniqueItems: true;
|
|
810
|
+
}>]>, undefined>;
|
|
811
|
+
}, undefined>;
|
|
812
|
+
export type BankTransferReadGrantRequest = v.InferInput<typeof BankTransferReadGrantRequestSchema>;
|
|
813
|
+
/** `bank_transfer` Grant Request: the create, read or approval form, never mixed in one detail. */
|
|
722
814
|
export declare const BankTransferGrantRequestSchema: v.UnionSchema<[v.StrictObjectSchema<{
|
|
723
815
|
readonly type: v.LiteralSchema<"bank_transfer", undefined>;
|
|
724
816
|
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["create"], undefined>, undefined>, v.MinLengthAction<"create"[], 1, undefined>, v.MetadataAction<"create"[], {
|
|
@@ -815,11 +907,11 @@ export declare const BankTransferGrantRequestSchema: v.UnionSchema<[v.StrictObje
|
|
|
815
907
|
readonly limit: v.LiteralSchema<"all", undefined>;
|
|
816
908
|
}, undefined>, v.StrictObjectSchema<{
|
|
817
909
|
readonly type: v.LiteralSchema<"external", undefined>;
|
|
818
|
-
readonly
|
|
819
|
-
readonly account_type: v.NullishSchema<v.SchemaWithPipe<readonly [v.
|
|
820
|
-
readonly
|
|
821
|
-
readonly
|
|
822
|
-
readonly
|
|
910
|
+
readonly bank_code: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.DescriptionAction<string, "The bank's four-digit code, as `GET /catalogs/banks` lists it. AndCo is `0739`.">]>, undefined>;
|
|
911
|
+
readonly account_type: v.NullishSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<["10", "20", "40"], undefined>, v.DescriptionAction<"10" | "20" | "40", "The account type code: `\"10\"` savings, `\"20\"` checking, `\"40\"` debit (cuenta vista).">]>, undefined>;
|
|
912
|
+
readonly account_number: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
913
|
+
readonly national_id: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
914
|
+
readonly name: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
823
915
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
824
916
|
}, undefined>], undefined>, undefined>, v.MinLengthAction<({
|
|
825
917
|
type?: "account_key" | null | undefined;
|
|
@@ -844,11 +936,11 @@ export declare const BankTransferGrantRequestSchema: v.UnionSchema<[v.StrictObje
|
|
|
844
936
|
limit: "all";
|
|
845
937
|
} | {
|
|
846
938
|
type: "external";
|
|
847
|
-
|
|
848
|
-
account_type?:
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
939
|
+
bank_code?: string | null | undefined;
|
|
940
|
+
account_type?: "10" | "20" | "40" | null | undefined;
|
|
941
|
+
account_number?: string | null | undefined;
|
|
942
|
+
national_id?: string | null | undefined;
|
|
943
|
+
name?: string | null | undefined;
|
|
852
944
|
editable?: boolean | null | undefined;
|
|
853
945
|
})[], 1, undefined>, v.MaxLengthAction<({
|
|
854
946
|
type?: "account_key" | null | undefined;
|
|
@@ -873,11 +965,11 @@ export declare const BankTransferGrantRequestSchema: v.UnionSchema<[v.StrictObje
|
|
|
873
965
|
limit: "all";
|
|
874
966
|
} | {
|
|
875
967
|
type: "external";
|
|
876
|
-
|
|
877
|
-
account_type?:
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
968
|
+
bank_code?: string | null | undefined;
|
|
969
|
+
account_type?: "10" | "20" | "40" | null | undefined;
|
|
970
|
+
account_number?: string | null | undefined;
|
|
971
|
+
national_id?: string | null | undefined;
|
|
972
|
+
name?: string | null | undefined;
|
|
881
973
|
editable?: boolean | null | undefined;
|
|
882
974
|
})[], 100, undefined>, v.MetadataAction<({
|
|
883
975
|
type?: "account_key" | null | undefined;
|
|
@@ -902,11 +994,11 @@ export declare const BankTransferGrantRequestSchema: v.UnionSchema<[v.StrictObje
|
|
|
902
994
|
limit: "all";
|
|
903
995
|
} | {
|
|
904
996
|
type: "external";
|
|
905
|
-
|
|
906
|
-
account_type?:
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
997
|
+
bank_code?: string | null | undefined;
|
|
998
|
+
account_type?: "10" | "20" | "40" | null | undefined;
|
|
999
|
+
account_number?: string | null | undefined;
|
|
1000
|
+
national_id?: string | null | undefined;
|
|
1001
|
+
name?: string | null | undefined;
|
|
910
1002
|
editable?: boolean | null | undefined;
|
|
911
1003
|
})[], {
|
|
912
1004
|
readonly uniqueItems: true;
|
|
@@ -924,6 +1016,79 @@ export declare const BankTransferGrantRequestSchema: v.UnionSchema<[v.StrictObje
|
|
|
924
1016
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
925
1017
|
}, undefined>], undefined>, undefined>;
|
|
926
1018
|
readonly budgets: v.OptionalSchema<v.NullSchema<undefined>, undefined>;
|
|
1019
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1020
|
+
readonly type: v.LiteralSchema<"bank_transfer", undefined>;
|
|
1021
|
+
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["read"], undefined>, undefined>, v.MinLengthAction<"read"[], 1, undefined>, v.MetadataAction<"read"[], {
|
|
1022
|
+
readonly uniqueItems: true;
|
|
1023
|
+
}>]>;
|
|
1024
|
+
readonly locations: v.StrictTupleSchema<[v.LiteralSchema<"https://api.andco.com", undefined>], undefined>;
|
|
1025
|
+
readonly subject: v.NullishSchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
1026
|
+
readonly type: v.LiteralSchema<"profile", undefined>;
|
|
1027
|
+
readonly identifier: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
1028
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1029
|
+
readonly type: v.LiteralSchema<"organization", undefined>;
|
|
1030
|
+
readonly identifier: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
1031
|
+
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1032
|
+
}, undefined>], undefined>, undefined>;
|
|
1033
|
+
readonly accounts: v.NullishSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
1034
|
+
readonly type: v.NullishSchema<v.LiteralSchema<"account_key", undefined>, undefined>;
|
|
1035
|
+
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1036
|
+
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1037
|
+
readonly selection: v.NullishSchema<v.PicklistSchema<readonly ["single", "multiple"], undefined>, undefined>;
|
|
1038
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1039
|
+
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1040
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
1041
|
+
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1042
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1043
|
+
readonly type: v.LiteralSchema<"any", undefined>;
|
|
1044
|
+
readonly limit: v.LiteralSchema<"own", undefined>;
|
|
1045
|
+
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1046
|
+
readonly selection: v.NullishSchema<v.PicklistSchema<readonly ["single", "multiple"], undefined>, undefined>;
|
|
1047
|
+
}, undefined>], undefined>, undefined>, v.MinLengthAction<({
|
|
1048
|
+
type?: "account_key" | null | undefined;
|
|
1049
|
+
pattern: string;
|
|
1050
|
+
editable?: boolean | null | undefined;
|
|
1051
|
+
selection?: "single" | "multiple" | null | undefined;
|
|
1052
|
+
} | {
|
|
1053
|
+
type: "account";
|
|
1054
|
+
id: string;
|
|
1055
|
+
editable?: boolean | null | undefined;
|
|
1056
|
+
} | {
|
|
1057
|
+
type: "any";
|
|
1058
|
+
limit: "own";
|
|
1059
|
+
editable?: boolean | null | undefined;
|
|
1060
|
+
selection?: "single" | "multiple" | null | undefined;
|
|
1061
|
+
})[], 1, undefined>, v.MaxLengthAction<({
|
|
1062
|
+
type?: "account_key" | null | undefined;
|
|
1063
|
+
pattern: string;
|
|
1064
|
+
editable?: boolean | null | undefined;
|
|
1065
|
+
selection?: "single" | "multiple" | null | undefined;
|
|
1066
|
+
} | {
|
|
1067
|
+
type: "account";
|
|
1068
|
+
id: string;
|
|
1069
|
+
editable?: boolean | null | undefined;
|
|
1070
|
+
} | {
|
|
1071
|
+
type: "any";
|
|
1072
|
+
limit: "own";
|
|
1073
|
+
editable?: boolean | null | undefined;
|
|
1074
|
+
selection?: "single" | "multiple" | null | undefined;
|
|
1075
|
+
})[], 100, undefined>, v.MetadataAction<({
|
|
1076
|
+
type?: "account_key" | null | undefined;
|
|
1077
|
+
pattern: string;
|
|
1078
|
+
editable?: boolean | null | undefined;
|
|
1079
|
+
selection?: "single" | "multiple" | null | undefined;
|
|
1080
|
+
} | {
|
|
1081
|
+
type: "account";
|
|
1082
|
+
id: string;
|
|
1083
|
+
editable?: boolean | null | undefined;
|
|
1084
|
+
} | {
|
|
1085
|
+
type: "any";
|
|
1086
|
+
limit: "own";
|
|
1087
|
+
editable?: boolean | null | undefined;
|
|
1088
|
+
selection?: "single" | "multiple" | null | undefined;
|
|
1089
|
+
})[], {
|
|
1090
|
+
readonly uniqueItems: true;
|
|
1091
|
+
}>]>, undefined>;
|
|
927
1092
|
}, undefined>, v.StrictObjectSchema<{
|
|
928
1093
|
readonly type: v.LiteralSchema<"bank_transfer", undefined>;
|
|
929
1094
|
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["approve", "reject"], undefined>, undefined>, v.MinLengthAction<("approve" | "reject")[], 1, undefined>, v.MetadataAction<("approve" | "reject")[], {
|
|
@@ -1014,11 +1179,11 @@ export declare const BankTransferCreateGrantSchema: v.StrictObjectSchema<{
|
|
|
1014
1179
|
readonly limit: v.LiteralSchema<"all", undefined>;
|
|
1015
1180
|
}, undefined>, v.StrictObjectSchema<{
|
|
1016
1181
|
readonly type: v.LiteralSchema<"external", undefined>;
|
|
1017
|
-
readonly
|
|
1018
|
-
readonly account_type: v.OptionalSchema<v.SchemaWithPipe<readonly [v.
|
|
1019
|
-
readonly
|
|
1020
|
-
readonly
|
|
1021
|
-
readonly
|
|
1182
|
+
readonly bank_code: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.DescriptionAction<string, "The bank's four-digit code, as `GET /catalogs/banks` lists it. AndCo is `0739`.">]>, undefined>;
|
|
1183
|
+
readonly account_type: v.OptionalSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<["10", "20", "40"], undefined>, v.DescriptionAction<"10" | "20" | "40", "The account type code: `\"10\"` savings, `\"20\"` checking, `\"40\"` debit (cuenta vista).">]>, undefined>;
|
|
1184
|
+
readonly account_number: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
1185
|
+
readonly national_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
1186
|
+
readonly name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
1022
1187
|
}, undefined>], undefined>, undefined>, v.MinLengthAction<({
|
|
1023
1188
|
type: "any";
|
|
1024
1189
|
limit: "all";
|
|
@@ -1036,11 +1201,11 @@ export declare const BankTransferCreateGrantSchema: v.StrictObjectSchema<{
|
|
|
1036
1201
|
limit: "local";
|
|
1037
1202
|
} | {
|
|
1038
1203
|
type: "external";
|
|
1039
|
-
|
|
1040
|
-
account_type?:
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1204
|
+
bank_code?: string | undefined;
|
|
1205
|
+
account_type?: "10" | "20" | "40" | undefined;
|
|
1206
|
+
account_number?: string | undefined;
|
|
1207
|
+
national_id?: string | undefined;
|
|
1208
|
+
name?: string | undefined;
|
|
1044
1209
|
})[], 1, undefined>, v.MaxLengthAction<({
|
|
1045
1210
|
type: "any";
|
|
1046
1211
|
limit: "all";
|
|
@@ -1058,11 +1223,11 @@ export declare const BankTransferCreateGrantSchema: v.StrictObjectSchema<{
|
|
|
1058
1223
|
limit: "local";
|
|
1059
1224
|
} | {
|
|
1060
1225
|
type: "external";
|
|
1061
|
-
|
|
1062
|
-
account_type?:
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1226
|
+
bank_code?: string | undefined;
|
|
1227
|
+
account_type?: "10" | "20" | "40" | undefined;
|
|
1228
|
+
account_number?: string | undefined;
|
|
1229
|
+
national_id?: string | undefined;
|
|
1230
|
+
name?: string | undefined;
|
|
1066
1231
|
})[], 100, undefined>, v.MetadataAction<({
|
|
1067
1232
|
type: "any";
|
|
1068
1233
|
limit: "all";
|
|
@@ -1080,11 +1245,11 @@ export declare const BankTransferCreateGrantSchema: v.StrictObjectSchema<{
|
|
|
1080
1245
|
limit: "local";
|
|
1081
1246
|
} | {
|
|
1082
1247
|
type: "external";
|
|
1083
|
-
|
|
1084
|
-
account_type?:
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1248
|
+
bank_code?: string | undefined;
|
|
1249
|
+
account_type?: "10" | "20" | "40" | undefined;
|
|
1250
|
+
account_number?: string | undefined;
|
|
1251
|
+
national_id?: string | undefined;
|
|
1252
|
+
name?: string | undefined;
|
|
1088
1253
|
})[], {
|
|
1089
1254
|
readonly uniqueItems: true;
|
|
1090
1255
|
}>]>;
|
|
@@ -1120,6 +1285,61 @@ export declare const BankTransferApprovalGrantSchema: v.StrictObjectSchema<{
|
|
|
1120
1285
|
}, undefined>, undefined>;
|
|
1121
1286
|
}, undefined>;
|
|
1122
1287
|
export type BankTransferApprovalGrant = v.InferOutput<typeof BankTransferApprovalGrantSchema>;
|
|
1288
|
+
/** `bank_transfer` Grant, read form: the subject resolved and `accounts` materialized. */
|
|
1289
|
+
export declare const BankTransferReadGrantSchema: v.StrictObjectSchema<{
|
|
1290
|
+
readonly type: v.LiteralSchema<"bank_transfer", undefined>;
|
|
1291
|
+
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["read"], undefined>, undefined>, v.MinLengthAction<"read"[], 1, undefined>, v.MetadataAction<"read"[], {
|
|
1292
|
+
readonly uniqueItems: true;
|
|
1293
|
+
}>]>;
|
|
1294
|
+
readonly locations: v.StrictTupleSchema<[v.LiteralSchema<"https://api.andco.com", undefined>], undefined>;
|
|
1295
|
+
readonly subject: v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
1296
|
+
readonly type: v.LiteralSchema<"profile", undefined>;
|
|
1297
|
+
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1298
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1299
|
+
readonly type: v.LiteralSchema<"organization", undefined>;
|
|
1300
|
+
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1301
|
+
}, undefined>], undefined>;
|
|
1302
|
+
readonly accounts: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
1303
|
+
readonly type: v.LiteralSchema<"account_key", undefined>;
|
|
1304
|
+
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1305
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1306
|
+
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1307
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
1308
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1309
|
+
readonly type: v.LiteralSchema<"any", undefined>;
|
|
1310
|
+
readonly limit: v.LiteralSchema<"own", undefined>;
|
|
1311
|
+
}, undefined>], undefined>, undefined>, v.MinLengthAction<({
|
|
1312
|
+
type: "account_key";
|
|
1313
|
+
pattern: string;
|
|
1314
|
+
} | {
|
|
1315
|
+
type: "account";
|
|
1316
|
+
id: string;
|
|
1317
|
+
} | {
|
|
1318
|
+
type: "any";
|
|
1319
|
+
limit: "own";
|
|
1320
|
+
})[], 1, undefined>, v.MaxLengthAction<({
|
|
1321
|
+
type: "account_key";
|
|
1322
|
+
pattern: string;
|
|
1323
|
+
} | {
|
|
1324
|
+
type: "account";
|
|
1325
|
+
id: string;
|
|
1326
|
+
} | {
|
|
1327
|
+
type: "any";
|
|
1328
|
+
limit: "own";
|
|
1329
|
+
})[], 100, undefined>, v.MetadataAction<({
|
|
1330
|
+
type: "account_key";
|
|
1331
|
+
pattern: string;
|
|
1332
|
+
} | {
|
|
1333
|
+
type: "account";
|
|
1334
|
+
id: string;
|
|
1335
|
+
} | {
|
|
1336
|
+
type: "any";
|
|
1337
|
+
limit: "own";
|
|
1338
|
+
})[], {
|
|
1339
|
+
readonly uniqueItems: true;
|
|
1340
|
+
}>]>;
|
|
1341
|
+
}, undefined>;
|
|
1342
|
+
export type BankTransferReadGrant = v.InferOutput<typeof BankTransferReadGrantSchema>;
|
|
1123
1343
|
/** `bank_transfer` Grant. */
|
|
1124
1344
|
export declare const BankTransferGrantSchema: v.UnionSchema<[v.StrictObjectSchema<{
|
|
1125
1345
|
readonly type: v.LiteralSchema<"bank_transfer", undefined>;
|
|
@@ -1190,11 +1410,11 @@ export declare const BankTransferGrantSchema: v.UnionSchema<[v.StrictObjectSchem
|
|
|
1190
1410
|
readonly limit: v.LiteralSchema<"all", undefined>;
|
|
1191
1411
|
}, undefined>, v.StrictObjectSchema<{
|
|
1192
1412
|
readonly type: v.LiteralSchema<"external", undefined>;
|
|
1193
|
-
readonly
|
|
1194
|
-
readonly account_type: v.OptionalSchema<v.SchemaWithPipe<readonly [v.
|
|
1195
|
-
readonly
|
|
1196
|
-
readonly
|
|
1197
|
-
readonly
|
|
1413
|
+
readonly bank_code: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.DescriptionAction<string, "The bank's four-digit code, as `GET /catalogs/banks` lists it. AndCo is `0739`.">]>, undefined>;
|
|
1414
|
+
readonly account_type: v.OptionalSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<["10", "20", "40"], undefined>, v.DescriptionAction<"10" | "20" | "40", "The account type code: `\"10\"` savings, `\"20\"` checking, `\"40\"` debit (cuenta vista).">]>, undefined>;
|
|
1415
|
+
readonly account_number: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
1416
|
+
readonly national_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
1417
|
+
readonly name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
1198
1418
|
}, undefined>], undefined>, undefined>, v.MinLengthAction<({
|
|
1199
1419
|
type: "any";
|
|
1200
1420
|
limit: "all";
|
|
@@ -1212,11 +1432,11 @@ export declare const BankTransferGrantSchema: v.UnionSchema<[v.StrictObjectSchem
|
|
|
1212
1432
|
limit: "local";
|
|
1213
1433
|
} | {
|
|
1214
1434
|
type: "external";
|
|
1215
|
-
|
|
1216
|
-
account_type?:
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1435
|
+
bank_code?: string | undefined;
|
|
1436
|
+
account_type?: "10" | "20" | "40" | undefined;
|
|
1437
|
+
account_number?: string | undefined;
|
|
1438
|
+
national_id?: string | undefined;
|
|
1439
|
+
name?: string | undefined;
|
|
1220
1440
|
})[], 1, undefined>, v.MaxLengthAction<({
|
|
1221
1441
|
type: "any";
|
|
1222
1442
|
limit: "all";
|
|
@@ -1234,11 +1454,11 @@ export declare const BankTransferGrantSchema: v.UnionSchema<[v.StrictObjectSchem
|
|
|
1234
1454
|
limit: "local";
|
|
1235
1455
|
} | {
|
|
1236
1456
|
type: "external";
|
|
1237
|
-
|
|
1238
|
-
account_type?:
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1457
|
+
bank_code?: string | undefined;
|
|
1458
|
+
account_type?: "10" | "20" | "40" | undefined;
|
|
1459
|
+
account_number?: string | undefined;
|
|
1460
|
+
national_id?: string | undefined;
|
|
1461
|
+
name?: string | undefined;
|
|
1242
1462
|
})[], 100, undefined>, v.MetadataAction<({
|
|
1243
1463
|
type: "any";
|
|
1244
1464
|
limit: "all";
|
|
@@ -1256,11 +1476,11 @@ export declare const BankTransferGrantSchema: v.UnionSchema<[v.StrictObjectSchem
|
|
|
1256
1476
|
limit: "local";
|
|
1257
1477
|
} | {
|
|
1258
1478
|
type: "external";
|
|
1259
|
-
|
|
1260
|
-
account_type?:
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1479
|
+
bank_code?: string | undefined;
|
|
1480
|
+
account_type?: "10" | "20" | "40" | undefined;
|
|
1481
|
+
account_number?: string | undefined;
|
|
1482
|
+
national_id?: string | undefined;
|
|
1483
|
+
name?: string | undefined;
|
|
1264
1484
|
})[], {
|
|
1265
1485
|
readonly uniqueItems: true;
|
|
1266
1486
|
}>]>;
|
|
@@ -1274,6 +1494,58 @@ export declare const BankTransferGrantSchema: v.UnionSchema<[v.StrictObjectSchem
|
|
|
1274
1494
|
readonly minimum: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
1275
1495
|
readonly maximum: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
1276
1496
|
}, undefined>], undefined>, undefined>;
|
|
1497
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1498
|
+
readonly type: v.LiteralSchema<"bank_transfer", undefined>;
|
|
1499
|
+
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["read"], undefined>, undefined>, v.MinLengthAction<"read"[], 1, undefined>, v.MetadataAction<"read"[], {
|
|
1500
|
+
readonly uniqueItems: true;
|
|
1501
|
+
}>]>;
|
|
1502
|
+
readonly locations: v.StrictTupleSchema<[v.LiteralSchema<"https://api.andco.com", undefined>], undefined>;
|
|
1503
|
+
readonly subject: v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
1504
|
+
readonly type: v.LiteralSchema<"profile", undefined>;
|
|
1505
|
+
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1506
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1507
|
+
readonly type: v.LiteralSchema<"organization", undefined>;
|
|
1508
|
+
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1509
|
+
}, undefined>], undefined>;
|
|
1510
|
+
readonly accounts: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
1511
|
+
readonly type: v.LiteralSchema<"account_key", undefined>;
|
|
1512
|
+
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1513
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1514
|
+
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1515
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
1516
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1517
|
+
readonly type: v.LiteralSchema<"any", undefined>;
|
|
1518
|
+
readonly limit: v.LiteralSchema<"own", undefined>;
|
|
1519
|
+
}, undefined>], undefined>, undefined>, v.MinLengthAction<({
|
|
1520
|
+
type: "account_key";
|
|
1521
|
+
pattern: string;
|
|
1522
|
+
} | {
|
|
1523
|
+
type: "account";
|
|
1524
|
+
id: string;
|
|
1525
|
+
} | {
|
|
1526
|
+
type: "any";
|
|
1527
|
+
limit: "own";
|
|
1528
|
+
})[], 1, undefined>, v.MaxLengthAction<({
|
|
1529
|
+
type: "account_key";
|
|
1530
|
+
pattern: string;
|
|
1531
|
+
} | {
|
|
1532
|
+
type: "account";
|
|
1533
|
+
id: string;
|
|
1534
|
+
} | {
|
|
1535
|
+
type: "any";
|
|
1536
|
+
limit: "own";
|
|
1537
|
+
})[], 100, undefined>, v.MetadataAction<({
|
|
1538
|
+
type: "account_key";
|
|
1539
|
+
pattern: string;
|
|
1540
|
+
} | {
|
|
1541
|
+
type: "account";
|
|
1542
|
+
id: string;
|
|
1543
|
+
} | {
|
|
1544
|
+
type: "any";
|
|
1545
|
+
limit: "own";
|
|
1546
|
+
})[], {
|
|
1547
|
+
readonly uniqueItems: true;
|
|
1548
|
+
}>]>;
|
|
1277
1549
|
}, undefined>, v.StrictObjectSchema<{
|
|
1278
1550
|
readonly type: v.LiteralSchema<"bank_transfer", undefined>;
|
|
1279
1551
|
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["approve", "reject"], undefined>, undefined>, v.MinLengthAction<("approve" | "reject")[], 1, undefined>, v.MetadataAction<("approve" | "reject")[], {
|
package/dist/rar/bank.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bank.d.ts","sourceRoot":"","sources":["../../src/rar/bank.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAC;AAC7B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAgB1C,0EAA0E;AAC1E,eAAO,MAAM,yBAAyB,mCAAoC,CAAC;AAC3E,qGAAqG;AACrG,eAAO,MAAM,2BAA2B,8BAA+B,CAAC;AACxE,+FAA+F;AAC/F,eAAO,MAAM,6BAA6B,gCAAiC,CAAC;AAC5E,2DAA2D;AAC3D,eAAO,MAAM,oBAAoB,2EAIvB,CAAC;AACX,
|
|
1
|
+
{"version":3,"file":"bank.d.ts","sourceRoot":"","sources":["../../src/rar/bank.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAC;AAC7B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAgB1C,0EAA0E;AAC1E,eAAO,MAAM,yBAAyB,mCAAoC,CAAC;AAC3E,qGAAqG;AACrG,eAAO,MAAM,2BAA2B,8BAA+B,CAAC;AACxE,+FAA+F;AAC/F,eAAO,MAAM,6BAA6B,gCAAiC,CAAC;AAC5E,2DAA2D;AAC3D,eAAO,MAAM,oBAAoB,2EAIvB,CAAC;AACX,wDAAwD;AACxD,eAAO,MAAM,wBAAwB,mBAAoB,CAAC;AAC1D,sDAAsD;AACtD,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