-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshared.ts
More file actions
79 lines (67 loc) · 1.63 KB
/
shared.ts
File metadata and controls
79 lines (67 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from '../core/resource';
export class Shared extends APIResource {}
/**
* A monetary value with its currency denomination.
*/
export interface CurrencyAmount {
/**
* Currency code
*/
currency: 'usd';
/**
* The monetary value as a string.
*/
value: string;
}
/**
* A unique identifier for a key quorum.
*/
export type KeyQuorumID = string;
/**
* The key quorum ID to set as the owner of the resource. If you provide this, do
* not specify an owner.
*/
export type OwnerIDInput = string | null;
/**
* The owner of the resource, specified as a Privy user ID, a P-256 public key, or
* null to remove the current owner.
*/
export type OwnerInput = OwnerInputUser | OwnerInputPublicKey;
/**
* Owner input specifying a P-256 public key.
*/
export interface OwnerInputPublicKey {
/**
* A P-256 (secp256r1) public key.
*/
public_key: P256PublicKey;
}
/**
* Owner input specifying a Privy user ID.
*/
export interface OwnerInputUser {
user_id: string;
}
/**
* A P-256 (secp256r1) public key.
*/
export type P256PublicKey = string;
/**
* A simple success response.
*/
export interface SuccessResponse {
success: boolean;
}
export declare namespace Shared {
export {
type CurrencyAmount as CurrencyAmount,
type KeyQuorumID as KeyQuorumID,
type OwnerIDInput as OwnerIDInput,
type OwnerInput as OwnerInput,
type OwnerInputPublicKey as OwnerInputPublicKey,
type OwnerInputUser as OwnerInputUser,
type P256PublicKey as P256PublicKey,
type SuccessResponse as SuccessResponse,
};
}