@privy-io/api-types 0.5.0 → 0.6.1
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/CHANGELOG.md +37 -0
- package/client.d.mts +13 -7
- package/client.d.mts.map +1 -1
- package/client.d.ts +13 -7
- package/client.d.ts.map +1 -1
- package/client.js +15 -2
- package/client.js.map +1 -1
- package/client.mjs +15 -2
- package/client.mjs.map +1 -1
- package/internal/tslib.js +17 -17
- package/internal/utils/query.d.mts +2 -0
- package/internal/utils/query.d.mts.map +1 -0
- package/internal/utils/query.d.ts +2 -0
- package/internal/utils/query.d.ts.map +1 -0
- package/internal/utils/query.js +10 -0
- package/internal/utils/query.js.map +1 -0
- package/internal/utils/query.mjs +6 -0
- package/internal/utils/query.mjs.map +1 -0
- package/internal/utils.d.mts +1 -0
- package/internal/utils.d.ts +1 -0
- package/internal/utils.js +1 -0
- package/internal/utils.js.map +1 -1
- package/internal/utils.mjs +1 -0
- package/package.json +1 -1
- package/resources/accounts.d.mts +85 -0
- package/resources/accounts.d.mts.map +1 -0
- package/resources/accounts.d.ts +85 -0
- package/resources/accounts.d.ts.map +1 -0
- package/resources/accounts.js +9 -0
- package/resources/accounts.js.map +1 -0
- package/resources/accounts.mjs +5 -0
- package/resources/accounts.mjs.map +1 -0
- package/resources/client-auth.d.mts +15 -1
- package/resources/client-auth.d.mts.map +1 -1
- package/resources/client-auth.d.ts +15 -1
- package/resources/client-auth.d.ts.map +1 -1
- package/resources/index.d.mts +5 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +5 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -0
- package/resources/index.mjs.map +1 -1
- package/resources/intents.d.mts +104 -0
- package/resources/intents.d.mts.map +1 -0
- package/resources/intents.d.ts +104 -0
- package/resources/intents.d.ts.map +1 -0
- package/resources/intents.js +9 -0
- package/resources/intents.js.map +1 -0
- package/resources/intents.mjs +5 -0
- package/resources/intents.mjs.map +1 -0
- package/resources/key-quorums.d.mts +14 -0
- package/resources/key-quorums.d.mts.map +1 -1
- package/resources/key-quorums.d.ts +14 -0
- package/resources/key-quorums.d.ts.map +1 -1
- package/resources/policies.d.mts +8 -8
- package/resources/policies.d.ts +8 -8
- package/resources/wallets/wallets.d.mts +11 -4
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +11 -4
- package/resources/wallets/wallets.d.ts.map +1 -1
- package/resources/wallets/wallets.js.map +1 -1
- package/resources/wallets/wallets.mjs.map +1 -1
- package/resources/webhooks.d.mts +38 -1
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +38 -1
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/yield.d.mts +48 -1
- package/resources/yield.d.mts.map +1 -1
- package/resources/yield.d.ts +48 -1
- package/resources/yield.d.ts.map +1 -1
- package/src/client.ts +56 -4
- package/src/internal/utils/query.ts +7 -0
- package/src/internal/utils.ts +1 -0
- package/src/resources/accounts.ts +106 -0
- package/src/resources/client-auth.ts +22 -0
- package/src/resources/index.ts +17 -0
- package/src/resources/intents.ts +138 -0
- package/src/resources/key-quorums.ts +17 -0
- package/src/resources/policies.ts +8 -8
- package/src/resources/wallets/wallets.ts +13 -5
- package/src/resources/webhooks.ts +60 -0
- package/src/resources/yield.ts +59 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/resources/index.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Yield = exports.Webhooks = exports.Wallets = exports.Users = exports.Transactions = exports.Policies = exports.KeyQuorums = exports.Funding = exports.EmbeddedWallets = exports.CrossApp = exports.ClientAuth = exports.Apps = exports.Analytics = exports.Aggregations = void 0;
|
|
4
|
+
exports.Yield = exports.Webhooks = exports.Wallets = exports.Users = exports.Transactions = exports.Policies = exports.KeyQuorums = exports.Intents = exports.Funding = exports.EmbeddedWallets = exports.CrossApp = exports.ClientAuth = exports.Apps = exports.Analytics = exports.Aggregations = exports.Accounts = void 0;
|
|
5
|
+
var accounts_1 = require("./accounts.js");
|
|
6
|
+
Object.defineProperty(exports, "Accounts", { enumerable: true, get: function () { return accounts_1.Accounts; } });
|
|
5
7
|
var aggregations_1 = require("./aggregations.js");
|
|
6
8
|
Object.defineProperty(exports, "Aggregations", { enumerable: true, get: function () { return aggregations_1.Aggregations; } });
|
|
7
9
|
var analytics_1 = require("./analytics.js");
|
|
@@ -16,6 +18,8 @@ var embedded_wallets_1 = require("./embedded-wallets.js");
|
|
|
16
18
|
Object.defineProperty(exports, "EmbeddedWallets", { enumerable: true, get: function () { return embedded_wallets_1.EmbeddedWallets; } });
|
|
17
19
|
var funding_1 = require("./funding.js");
|
|
18
20
|
Object.defineProperty(exports, "Funding", { enumerable: true, get: function () { return funding_1.Funding; } });
|
|
21
|
+
var intents_1 = require("./intents.js");
|
|
22
|
+
Object.defineProperty(exports, "Intents", { enumerable: true, get: function () { return intents_1.Intents; } });
|
|
19
23
|
var key_quorums_1 = require("./key-quorums.js");
|
|
20
24
|
Object.defineProperty(exports, "KeyQuorums", { enumerable: true, get: function () { return key_quorums_1.KeyQuorums; } });
|
|
21
25
|
var policies_1 = require("./policies.js");
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAQwB;AAPtB,4GAAA,YAAY,OAAA;AAQd,4CAAkE;AAAzD,sGAAA,SAAS,OAAA;AAClB,kCAAgD;AAAvC,4FAAA,IAAI,OAAA;AACb,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAOoB;AANlB,oGAAA,QAAQ,OAAA;AAOV,kDAQwB;AAPtB,4GAAA,YAAY,OAAA;AAQd,4CAAkE;AAAzD,sGAAA,SAAS,OAAA;AAClB,kCAAgD;AAAvC,4FAAA,IAAI,OAAA;AACb,gDAkGuB;AAjGrB,yGAAA,UAAU,OAAA;AAkGZ,4CAAyE;AAAhE,qGAAA,QAAQ,OAAA;AACjB,0DAY4B;AAX1B,mHAAA,eAAe,OAAA;AAYjB,wCAOmB;AANjB,kGAAA,OAAO,OAAA;AAOT,wCAA6G;AAApG,kGAAA,OAAO,OAAA;AAChB,gDAOuB;AANrB,yGAAA,UAAU,OAAA;AAOZ,0CAoBoB;AAnBlB,oGAAA,QAAQ,OAAA;AAoBV,kDAKwB;AAJtB,4GAAA,YAAY,OAAA;AAKd,oCAuFiB;AAtFf,8FAAA,KAAK,OAAA;AAuFP,gDAwD2B;AAvDzB,kGAAA,OAAO,OAAA;AAwDT,0CAiCoB;AAhClB,oGAAA,QAAQ,OAAA;AAiCV,oCAmBiB;AAlBf,8FAAA,KAAK,OAAA"}
|
package/resources/index.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
export { Accounts, } from "./accounts.mjs";
|
|
2
3
|
export { Aggregations, } from "./aggregations.mjs";
|
|
3
4
|
export { Analytics } from "./analytics.mjs";
|
|
4
5
|
export { Apps } from "./apps.mjs";
|
|
@@ -6,6 +7,7 @@ export { ClientAuth, } from "./client-auth.mjs";
|
|
|
6
7
|
export { CrossApp } from "./cross-app.mjs";
|
|
7
8
|
export { EmbeddedWallets, } from "./embedded-wallets.mjs";
|
|
8
9
|
export { Funding, } from "./funding.mjs";
|
|
10
|
+
export { Intents } from "./intents.mjs";
|
|
9
11
|
export { KeyQuorums, } from "./key-quorums.mjs";
|
|
10
12
|
export { Policies, } from "./policies.mjs";
|
|
11
13
|
export { Transactions, } from "./transactions.mjs";
|
package/resources/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,YAAY,GAOb;OACM,EAAE,SAAS,EAA4B;OACvC,EAAE,IAAI,EAAoB;OAC1B,EACL,UAAU,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,QAAQ,GAMT;OACM,EACL,YAAY,GAOb;OACM,EAAE,SAAS,EAA4B;OACvC,EAAE,IAAI,EAAoB;OAC1B,EACL,UAAU,GAiGX;OACM,EAAE,QAAQ,EAAoC;OAC9C,EACL,eAAe,GAWhB;OACM,EACL,OAAO,GAMR;OACM,EAAE,OAAO,EAA2E;OACpF,EACL,UAAU,GAMX;OACM,EACL,QAAQ,GAmBT;OACM,EACL,YAAY,GAIb;OACM,EACL,KAAK,GAsFN;OACM,EACL,OAAO,GAuDR;OACM,EACL,QAAQ,GAgCT;OACM,EACL,KAAK,GAkBN"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import * as IntentsAPI from "./intents.mjs";
|
|
3
|
+
export declare class Intents extends APIResource {
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* A leaf member (user or key) of a nested key quorum in an intent authorization.
|
|
7
|
+
*/
|
|
8
|
+
export type IntentAuthorizationKeyQuorumMember = IntentAuthorizationKeyQuorumMember.UserMember | IntentAuthorizationKeyQuorumMember.KeyMember;
|
|
9
|
+
export declare namespace IntentAuthorizationKeyQuorumMember {
|
|
10
|
+
interface UserMember {
|
|
11
|
+
/**
|
|
12
|
+
* Whether this member has signed the intent
|
|
13
|
+
*/
|
|
14
|
+
has_signed: boolean;
|
|
15
|
+
type: 'user';
|
|
16
|
+
/**
|
|
17
|
+
* User ID of the key quorum member
|
|
18
|
+
*/
|
|
19
|
+
user_id: string;
|
|
20
|
+
/**
|
|
21
|
+
* Display name for the user (email, etc)
|
|
22
|
+
*/
|
|
23
|
+
display_name?: string;
|
|
24
|
+
}
|
|
25
|
+
interface KeyMember {
|
|
26
|
+
/**
|
|
27
|
+
* Whether this key has signed the intent
|
|
28
|
+
*/
|
|
29
|
+
has_signed: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Public key of the key quorum member
|
|
32
|
+
*/
|
|
33
|
+
public_key: string;
|
|
34
|
+
type: 'key';
|
|
35
|
+
/**
|
|
36
|
+
* Display name for the key (if any)
|
|
37
|
+
*/
|
|
38
|
+
display_name?: string;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* A member of an intent authorization quorum. Can be a user, key, or nested key
|
|
43
|
+
* quorum.
|
|
44
|
+
*/
|
|
45
|
+
export type IntentAuthorizationMember = IntentAuthorizationMember.UserMember | IntentAuthorizationMember.KeyMember | IntentAuthorizationMember.KeyQuorumMember;
|
|
46
|
+
export declare namespace IntentAuthorizationMember {
|
|
47
|
+
interface UserMember {
|
|
48
|
+
/**
|
|
49
|
+
* Whether this member has signed the intent
|
|
50
|
+
*/
|
|
51
|
+
has_signed: boolean;
|
|
52
|
+
type: 'user';
|
|
53
|
+
/**
|
|
54
|
+
* User ID of the key quorum member
|
|
55
|
+
*/
|
|
56
|
+
user_id: string;
|
|
57
|
+
/**
|
|
58
|
+
* Display name for the user (email, etc)
|
|
59
|
+
*/
|
|
60
|
+
display_name?: string;
|
|
61
|
+
}
|
|
62
|
+
interface KeyMember {
|
|
63
|
+
/**
|
|
64
|
+
* Whether this key has signed the intent
|
|
65
|
+
*/
|
|
66
|
+
has_signed: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Public key of the key quorum member
|
|
69
|
+
*/
|
|
70
|
+
public_key: string;
|
|
71
|
+
type: 'key';
|
|
72
|
+
/**
|
|
73
|
+
* Display name for the key (if any)
|
|
74
|
+
*/
|
|
75
|
+
display_name?: string;
|
|
76
|
+
}
|
|
77
|
+
interface KeyQuorumMember {
|
|
78
|
+
/**
|
|
79
|
+
* Whether this child key quorum has fulfilled its threshold
|
|
80
|
+
*/
|
|
81
|
+
has_signed: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* ID of the child key quorum member
|
|
84
|
+
*/
|
|
85
|
+
key_quorum_id: string;
|
|
86
|
+
/**
|
|
87
|
+
* Members of this child quorum
|
|
88
|
+
*/
|
|
89
|
+
members: Array<IntentsAPI.IntentAuthorizationKeyQuorumMember>;
|
|
90
|
+
/**
|
|
91
|
+
* Number of signatures required from this child quorum
|
|
92
|
+
*/
|
|
93
|
+
threshold: number;
|
|
94
|
+
type: 'key_quorum';
|
|
95
|
+
/**
|
|
96
|
+
* Display name for the child key quorum (if any)
|
|
97
|
+
*/
|
|
98
|
+
display_name?: string;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
export declare namespace Intents {
|
|
102
|
+
export { type IntentAuthorizationKeyQuorumMember as IntentAuthorizationKeyQuorumMember, type IntentAuthorizationMember as IntentAuthorizationMember, };
|
|
103
|
+
}
|
|
104
|
+
//# sourceMappingURL=intents.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"intents.d.mts","sourceRoot":"","sources":["../src/resources/intents.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;AAEtB,qBAAa,OAAQ,SAAQ,WAAW;CAAG;AAE3C;;GAEG;AACH,MAAM,MAAM,kCAAkC,GAC1C,kCAAkC,CAAC,UAAU,GAC7C,kCAAkC,CAAC,SAAS,CAAC;AAEjD,yBAAiB,kCAAkC,CAAC;IAClD,UAAiB,UAAU;QACzB;;WAEG;QACH,UAAU,EAAE,OAAO,CAAC;QAEpB,IAAI,EAAE,MAAM,CAAC;QAEb;;WAEG;QACH,OAAO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,yBAAyB,GAC5D,CAAC;CACH"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import * as IntentsAPI from "./intents.js";
|
|
3
|
+
export declare class Intents extends APIResource {
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* A leaf member (user or key) of a nested key quorum in an intent authorization.
|
|
7
|
+
*/
|
|
8
|
+
export type IntentAuthorizationKeyQuorumMember = IntentAuthorizationKeyQuorumMember.UserMember | IntentAuthorizationKeyQuorumMember.KeyMember;
|
|
9
|
+
export declare namespace IntentAuthorizationKeyQuorumMember {
|
|
10
|
+
interface UserMember {
|
|
11
|
+
/**
|
|
12
|
+
* Whether this member has signed the intent
|
|
13
|
+
*/
|
|
14
|
+
has_signed: boolean;
|
|
15
|
+
type: 'user';
|
|
16
|
+
/**
|
|
17
|
+
* User ID of the key quorum member
|
|
18
|
+
*/
|
|
19
|
+
user_id: string;
|
|
20
|
+
/**
|
|
21
|
+
* Display name for the user (email, etc)
|
|
22
|
+
*/
|
|
23
|
+
display_name?: string;
|
|
24
|
+
}
|
|
25
|
+
interface KeyMember {
|
|
26
|
+
/**
|
|
27
|
+
* Whether this key has signed the intent
|
|
28
|
+
*/
|
|
29
|
+
has_signed: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Public key of the key quorum member
|
|
32
|
+
*/
|
|
33
|
+
public_key: string;
|
|
34
|
+
type: 'key';
|
|
35
|
+
/**
|
|
36
|
+
* Display name for the key (if any)
|
|
37
|
+
*/
|
|
38
|
+
display_name?: string;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* A member of an intent authorization quorum. Can be a user, key, or nested key
|
|
43
|
+
* quorum.
|
|
44
|
+
*/
|
|
45
|
+
export type IntentAuthorizationMember = IntentAuthorizationMember.UserMember | IntentAuthorizationMember.KeyMember | IntentAuthorizationMember.KeyQuorumMember;
|
|
46
|
+
export declare namespace IntentAuthorizationMember {
|
|
47
|
+
interface UserMember {
|
|
48
|
+
/**
|
|
49
|
+
* Whether this member has signed the intent
|
|
50
|
+
*/
|
|
51
|
+
has_signed: boolean;
|
|
52
|
+
type: 'user';
|
|
53
|
+
/**
|
|
54
|
+
* User ID of the key quorum member
|
|
55
|
+
*/
|
|
56
|
+
user_id: string;
|
|
57
|
+
/**
|
|
58
|
+
* Display name for the user (email, etc)
|
|
59
|
+
*/
|
|
60
|
+
display_name?: string;
|
|
61
|
+
}
|
|
62
|
+
interface KeyMember {
|
|
63
|
+
/**
|
|
64
|
+
* Whether this key has signed the intent
|
|
65
|
+
*/
|
|
66
|
+
has_signed: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Public key of the key quorum member
|
|
69
|
+
*/
|
|
70
|
+
public_key: string;
|
|
71
|
+
type: 'key';
|
|
72
|
+
/**
|
|
73
|
+
* Display name for the key (if any)
|
|
74
|
+
*/
|
|
75
|
+
display_name?: string;
|
|
76
|
+
}
|
|
77
|
+
interface KeyQuorumMember {
|
|
78
|
+
/**
|
|
79
|
+
* Whether this child key quorum has fulfilled its threshold
|
|
80
|
+
*/
|
|
81
|
+
has_signed: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* ID of the child key quorum member
|
|
84
|
+
*/
|
|
85
|
+
key_quorum_id: string;
|
|
86
|
+
/**
|
|
87
|
+
* Members of this child quorum
|
|
88
|
+
*/
|
|
89
|
+
members: Array<IntentsAPI.IntentAuthorizationKeyQuorumMember>;
|
|
90
|
+
/**
|
|
91
|
+
* Number of signatures required from this child quorum
|
|
92
|
+
*/
|
|
93
|
+
threshold: number;
|
|
94
|
+
type: 'key_quorum';
|
|
95
|
+
/**
|
|
96
|
+
* Display name for the child key quorum (if any)
|
|
97
|
+
*/
|
|
98
|
+
display_name?: string;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
export declare namespace Intents {
|
|
102
|
+
export { type IntentAuthorizationKeyQuorumMember as IntentAuthorizationKeyQuorumMember, type IntentAuthorizationMember as IntentAuthorizationMember, };
|
|
103
|
+
}
|
|
104
|
+
//# sourceMappingURL=intents.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"intents.d.ts","sourceRoot":"","sources":["../src/resources/intents.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;AAEtB,qBAAa,OAAQ,SAAQ,WAAW;CAAG;AAE3C;;GAEG;AACH,MAAM,MAAM,kCAAkC,GAC1C,kCAAkC,CAAC,UAAU,GAC7C,kCAAkC,CAAC,SAAS,CAAC;AAEjD,yBAAiB,kCAAkC,CAAC;IAClD,UAAiB,UAAU;QACzB;;WAEG;QACH,UAAU,EAAE,OAAO,CAAC;QAEpB,IAAI,EAAE,MAAM,CAAC;QAEb;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;QAEhB;;WAEG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB;IAED,UAAiB,SAAS;QACxB;;WAEG;QACH,UAAU,EAAE,OAAO,CAAC;QAEpB;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC;QAEnB,IAAI,EAAE,KAAK,CAAC;QAEZ;;WAEG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB;CACF;AAED;;;GAGG;AACH,MAAM,MAAM,yBAAyB,GACjC,yBAAyB,CAAC,UAAU,GACpC,yBAAyB,CAAC,SAAS,GACnC,yBAAyB,CAAC,eAAe,CAAC;AAE9C,yBAAiB,yBAAyB,CAAC;IACzC,UAAiB,UAAU;QACzB;;WAEG;QACH,UAAU,EAAE,OAAO,CAAC;QAEpB,IAAI,EAAE,MAAM,CAAC;QAEb;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;QAEhB;;WAEG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB;IAED,UAAiB,SAAS;QACxB;;WAEG;QACH,UAAU,EAAE,OAAO,CAAC;QAEpB;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC;QAEnB,IAAI,EAAE,KAAK,CAAC;QAEZ;;WAEG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB;IAED,UAAiB,eAAe;QAC9B;;WAEG;QACH,UAAU,EAAE,OAAO,CAAC;QAEpB;;WAEG;QACH,aAAa,EAAE,MAAM,CAAC;QAEtB;;WAEG;QACH,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,kCAAkC,CAAC,CAAC;QAE9D;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;QAElB,IAAI,EAAE,YAAY,CAAC;QAEnB;;WAEG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB;CACF;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Intents = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
class Intents extends resource_1.APIResource {
|
|
7
|
+
}
|
|
8
|
+
exports.Intents = Intents;
|
|
9
|
+
//# sourceMappingURL=intents.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"intents.js","sourceRoot":"","sources":["../src/resources/intents.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,MAAa,OAAQ,SAAQ,sBAAW;CAAG;AAA3C,0BAA2C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"intents.mjs","sourceRoot":"","sources":["../src/resources/intents.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAGtB,MAAM,OAAO,OAAQ,SAAQ,WAAW;CAAG"}
|
|
@@ -53,6 +53,10 @@ export interface KeyQuorum {
|
|
|
53
53
|
authorization_keys: Array<KeyQuorum.AuthorizationKey>;
|
|
54
54
|
authorization_threshold?: number;
|
|
55
55
|
display_name?: string;
|
|
56
|
+
/**
|
|
57
|
+
* List of nested key quorum IDs that are members of this key quorum.
|
|
58
|
+
*/
|
|
59
|
+
key_quorum_ids?: Array<string>;
|
|
56
60
|
user_ids?: Array<string>;
|
|
57
61
|
}
|
|
58
62
|
export declare namespace KeyQuorum {
|
|
@@ -74,6 +78,11 @@ export interface KeyQuorumCreateParams {
|
|
|
74
78
|
*/
|
|
75
79
|
authorization_threshold?: number;
|
|
76
80
|
display_name?: string;
|
|
81
|
+
/**
|
|
82
|
+
* List of key quorum IDs that should be members of this key quorum. Key quorums
|
|
83
|
+
* can only be nested 1 level deep.
|
|
84
|
+
*/
|
|
85
|
+
key_quorum_ids?: Array<string>;
|
|
77
86
|
/**
|
|
78
87
|
* List of P-256 public keys of the keys that should be authorized to sign on the
|
|
79
88
|
* key quorum, in base64-encoded DER format.
|
|
@@ -102,6 +111,11 @@ export interface KeyQuorumUpdateParams {
|
|
|
102
111
|
* Body param
|
|
103
112
|
*/
|
|
104
113
|
display_name?: string;
|
|
114
|
+
/**
|
|
115
|
+
* Body param: List of key quorum IDs that should be members of this key quorum.
|
|
116
|
+
* Key quorums can only be nested 1 level deep.
|
|
117
|
+
*/
|
|
118
|
+
key_quorum_ids?: Array<string>;
|
|
105
119
|
/**
|
|
106
120
|
* Body param: List of P-256 public keys of the keys that should be authorized to
|
|
107
121
|
* sign on the key quorum, in base64-encoded DER format.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"key-quorums.d.mts","sourceRoot":"","sources":["../src/resources/key-quorums.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;OAOG;IACH,MAAM,CAAC,IAAI,E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,CAAC,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE/B;;;OAGG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE5B;;;OAGG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEzB;;;OAGG;IACH,+BAA+B,CAAC,EAAE,MAAM,CAAC;CAC1C;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
|
@@ -53,6 +53,10 @@ export interface KeyQuorum {
|
|
|
53
53
|
authorization_keys: Array<KeyQuorum.AuthorizationKey>;
|
|
54
54
|
authorization_threshold?: number;
|
|
55
55
|
display_name?: string;
|
|
56
|
+
/**
|
|
57
|
+
* List of nested key quorum IDs that are members of this key quorum.
|
|
58
|
+
*/
|
|
59
|
+
key_quorum_ids?: Array<string>;
|
|
56
60
|
user_ids?: Array<string>;
|
|
57
61
|
}
|
|
58
62
|
export declare namespace KeyQuorum {
|
|
@@ -74,6 +78,11 @@ export interface KeyQuorumCreateParams {
|
|
|
74
78
|
*/
|
|
75
79
|
authorization_threshold?: number;
|
|
76
80
|
display_name?: string;
|
|
81
|
+
/**
|
|
82
|
+
* List of key quorum IDs that should be members of this key quorum. Key quorums
|
|
83
|
+
* can only be nested 1 level deep.
|
|
84
|
+
*/
|
|
85
|
+
key_quorum_ids?: Array<string>;
|
|
77
86
|
/**
|
|
78
87
|
* List of P-256 public keys of the keys that should be authorized to sign on the
|
|
79
88
|
* key quorum, in base64-encoded DER format.
|
|
@@ -102,6 +111,11 @@ export interface KeyQuorumUpdateParams {
|
|
|
102
111
|
* Body param
|
|
103
112
|
*/
|
|
104
113
|
display_name?: string;
|
|
114
|
+
/**
|
|
115
|
+
* Body param: List of key quorum IDs that should be members of this key quorum.
|
|
116
|
+
* Key quorums can only be nested 1 level deep.
|
|
117
|
+
*/
|
|
118
|
+
key_quorum_ids?: Array<string>;
|
|
105
119
|
/**
|
|
106
120
|
* Body param: List of P-256 public keys of the keys that should be authorized to
|
|
107
121
|
* sign on the key quorum, in base64-encoded DER format.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"key-quorums.d.ts","sourceRoot":"","sources":["../src/resources/key-quorums.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;OAOG;IACH,MAAM,CAAC,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,SAAS,CAAC;IAIpF;;;;;;;;;OASG;IACH,OAAO,CACL,WAAW,EAAE,MAAM,EACnB,MAAM,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,uBAAuB,CAAC;IAetC;;;;;;;;;OASG;IACH,OAAO,CACL,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,qBAAqB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,SAAS,CAAC;IAgBxB;;;;;;;;;OASG;IACH,GAAG,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,SAAS,CAAC;CAG1E;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IAEX,kBAAkB,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAEtD,uBAAuB,CAAC,EAAE,MAAM,CAAC;I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EG;IACH,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAEjC,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE/B;;;OAGG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE5B;;;OAGG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC1B;AAED,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,+BAA+B,CAAC,EAAE,MAAM,CAAC;CAC1C;AAED,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAEjC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE/B;;;OAGG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE5B;;;OAGG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEzB;;;OAGG;IACH,+BAA+B,CAAC,EAAE,MAAM,CAAC;CAC1C;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
package/resources/policies.d.mts
CHANGED
|
@@ -301,7 +301,7 @@ export declare namespace Policy {
|
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
/**
|
|
304
|
-
* Allowed contract addresses for
|
|
304
|
+
* Allowed contract addresses for eth_sign7702Authorization requests.
|
|
305
305
|
*/
|
|
306
306
|
interface Ethereum7702AuthorizationCondition {
|
|
307
307
|
field: 'contract';
|
|
@@ -424,7 +424,7 @@ export declare namespace PolicyCreateRuleResponse {
|
|
|
424
424
|
}
|
|
425
425
|
}
|
|
426
426
|
/**
|
|
427
|
-
* Allowed contract addresses for
|
|
427
|
+
* Allowed contract addresses for eth_sign7702Authorization requests.
|
|
428
428
|
*/
|
|
429
429
|
interface Ethereum7702AuthorizationCondition {
|
|
430
430
|
field: 'contract';
|
|
@@ -554,7 +554,7 @@ export declare namespace PolicyUpdateRuleResponse {
|
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
556
|
/**
|
|
557
|
-
* Allowed contract addresses for
|
|
557
|
+
* Allowed contract addresses for eth_sign7702Authorization requests.
|
|
558
558
|
*/
|
|
559
559
|
interface Ethereum7702AuthorizationCondition {
|
|
560
560
|
field: 'contract';
|
|
@@ -676,7 +676,7 @@ export declare namespace PolicyGetRuleResponse {
|
|
|
676
676
|
}
|
|
677
677
|
}
|
|
678
678
|
/**
|
|
679
|
-
* Allowed contract addresses for
|
|
679
|
+
* Allowed contract addresses for eth_sign7702Authorization requests.
|
|
680
680
|
*/
|
|
681
681
|
interface Ethereum7702AuthorizationCondition {
|
|
682
682
|
field: 'contract';
|
|
@@ -830,7 +830,7 @@ export declare namespace PolicyCreateParams {
|
|
|
830
830
|
}
|
|
831
831
|
}
|
|
832
832
|
/**
|
|
833
|
-
* Allowed contract addresses for
|
|
833
|
+
* Allowed contract addresses for eth_sign7702Authorization requests.
|
|
834
834
|
*/
|
|
835
835
|
interface Ethereum7702AuthorizationCondition {
|
|
836
836
|
field: 'contract';
|
|
@@ -975,7 +975,7 @@ export declare namespace PolicyCreateRuleParams {
|
|
|
975
975
|
}
|
|
976
976
|
}
|
|
977
977
|
/**
|
|
978
|
-
* Allowed contract addresses for
|
|
978
|
+
* Allowed contract addresses for eth_sign7702Authorization requests.
|
|
979
979
|
*/
|
|
980
980
|
interface Ethereum7702AuthorizationCondition {
|
|
981
981
|
field: 'contract';
|
|
@@ -1155,7 +1155,7 @@ export declare namespace PolicyUpdateParams {
|
|
|
1155
1155
|
}
|
|
1156
1156
|
}
|
|
1157
1157
|
/**
|
|
1158
|
-
* Allowed contract addresses for
|
|
1158
|
+
* Allowed contract addresses for eth_sign7702Authorization requests.
|
|
1159
1159
|
*/
|
|
1160
1160
|
interface Ethereum7702AuthorizationCondition {
|
|
1161
1161
|
field: 'contract';
|
|
@@ -1288,7 +1288,7 @@ export declare namespace PolicyUpdateRuleParams {
|
|
|
1288
1288
|
}
|
|
1289
1289
|
}
|
|
1290
1290
|
/**
|
|
1291
|
-
* Allowed contract addresses for
|
|
1291
|
+
* Allowed contract addresses for eth_sign7702Authorization requests.
|
|
1292
1292
|
*/
|
|
1293
1293
|
interface Ethereum7702AuthorizationCondition {
|
|
1294
1294
|
field: 'contract';
|
package/resources/policies.d.ts
CHANGED
|
@@ -301,7 +301,7 @@ export declare namespace Policy {
|
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
/**
|
|
304
|
-
* Allowed contract addresses for
|
|
304
|
+
* Allowed contract addresses for eth_sign7702Authorization requests.
|
|
305
305
|
*/
|
|
306
306
|
interface Ethereum7702AuthorizationCondition {
|
|
307
307
|
field: 'contract';
|
|
@@ -424,7 +424,7 @@ export declare namespace PolicyCreateRuleResponse {
|
|
|
424
424
|
}
|
|
425
425
|
}
|
|
426
426
|
/**
|
|
427
|
-
* Allowed contract addresses for
|
|
427
|
+
* Allowed contract addresses for eth_sign7702Authorization requests.
|
|
428
428
|
*/
|
|
429
429
|
interface Ethereum7702AuthorizationCondition {
|
|
430
430
|
field: 'contract';
|
|
@@ -554,7 +554,7 @@ export declare namespace PolicyUpdateRuleResponse {
|
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
556
|
/**
|
|
557
|
-
* Allowed contract addresses for
|
|
557
|
+
* Allowed contract addresses for eth_sign7702Authorization requests.
|
|
558
558
|
*/
|
|
559
559
|
interface Ethereum7702AuthorizationCondition {
|
|
560
560
|
field: 'contract';
|
|
@@ -676,7 +676,7 @@ export declare namespace PolicyGetRuleResponse {
|
|
|
676
676
|
}
|
|
677
677
|
}
|
|
678
678
|
/**
|
|
679
|
-
* Allowed contract addresses for
|
|
679
|
+
* Allowed contract addresses for eth_sign7702Authorization requests.
|
|
680
680
|
*/
|
|
681
681
|
interface Ethereum7702AuthorizationCondition {
|
|
682
682
|
field: 'contract';
|
|
@@ -830,7 +830,7 @@ export declare namespace PolicyCreateParams {
|
|
|
830
830
|
}
|
|
831
831
|
}
|
|
832
832
|
/**
|
|
833
|
-
* Allowed contract addresses for
|
|
833
|
+
* Allowed contract addresses for eth_sign7702Authorization requests.
|
|
834
834
|
*/
|
|
835
835
|
interface Ethereum7702AuthorizationCondition {
|
|
836
836
|
field: 'contract';
|
|
@@ -975,7 +975,7 @@ export declare namespace PolicyCreateRuleParams {
|
|
|
975
975
|
}
|
|
976
976
|
}
|
|
977
977
|
/**
|
|
978
|
-
* Allowed contract addresses for
|
|
978
|
+
* Allowed contract addresses for eth_sign7702Authorization requests.
|
|
979
979
|
*/
|
|
980
980
|
interface Ethereum7702AuthorizationCondition {
|
|
981
981
|
field: 'contract';
|
|
@@ -1155,7 +1155,7 @@ export declare namespace PolicyUpdateParams {
|
|
|
1155
1155
|
}
|
|
1156
1156
|
}
|
|
1157
1157
|
/**
|
|
1158
|
-
* Allowed contract addresses for
|
|
1158
|
+
* Allowed contract addresses for eth_sign7702Authorization requests.
|
|
1159
1159
|
*/
|
|
1160
1160
|
interface Ethereum7702AuthorizationCondition {
|
|
1161
1161
|
field: 'contract';
|
|
@@ -1288,7 +1288,7 @@ export declare namespace PolicyUpdateRuleParams {
|
|
|
1288
1288
|
}
|
|
1289
1289
|
}
|
|
1290
1290
|
/**
|
|
1291
|
-
* Allowed contract addresses for
|
|
1291
|
+
* Allowed contract addresses for eth_sign7702Authorization requests.
|
|
1292
1292
|
*/
|
|
1293
1293
|
interface Ethereum7702AuthorizationCondition {
|
|
1294
1294
|
field: 'contract';
|
|
@@ -173,7 +173,14 @@ export type WalletChainType = 'ethereum' | 'solana' | 'cosmos' | 'stellar' | 'su
|
|
|
173
173
|
* Information about the custodian managing this wallet.
|
|
174
174
|
*/
|
|
175
175
|
export interface WalletCustodian {
|
|
176
|
-
|
|
176
|
+
/**
|
|
177
|
+
* The custodian responsible for the wallet.
|
|
178
|
+
*/
|
|
179
|
+
provider: string;
|
|
180
|
+
/**
|
|
181
|
+
* The resource ID of the beneficiary of the custodial wallet.
|
|
182
|
+
*/
|
|
183
|
+
provider_user_id: string;
|
|
177
184
|
}
|
|
178
185
|
/**
|
|
179
186
|
* The provider of the custodial wallet.
|
|
@@ -226,11 +233,11 @@ export interface CustodialWallet {
|
|
|
226
233
|
* The chain type of the custodial wallet.
|
|
227
234
|
*/
|
|
228
235
|
chain_type: CustodialWalletChainType;
|
|
229
|
-
owner_id: string | null;
|
|
230
236
|
/**
|
|
231
|
-
*
|
|
237
|
+
* Information about the custodian managing this wallet.
|
|
232
238
|
*/
|
|
233
|
-
|
|
239
|
+
custody: WalletCustodian;
|
|
240
|
+
owner_id: string | null;
|
|
234
241
|
additional_signers?: Array<CustodialWallet.AdditionalSigner>;
|
|
235
242
|
policy_ids?: Array<string>;
|
|
236
243
|
}
|