@cubist-labs/cubesigner-sdk 0.4.268 → 0.4.270
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/package.json +1 -1
- package/dist/src/org.d.ts +57 -0
- package/dist/src/org.d.ts.map +1 -1
- package/dist/src/org.js +37 -10
- package/dist/src/schema.d.ts +62 -4
- package/dist/src/schema.d.ts.map +1 -1
- package/dist/src/schema.js +1 -1
- package/package.json +1 -1
- package/src/org.ts +33 -2
- package/src/schema.ts +62 -4
package/dist/src/schema.d.ts
CHANGED
|
@@ -1605,6 +1605,9 @@ export interface paths {
|
|
|
1605
1605
|
/**
|
|
1606
1606
|
* Get user by id
|
|
1607
1607
|
* @description Get user by id
|
|
1608
|
+
*
|
|
1609
|
+
* If the requesting user is an owner of the org, the response additionally
|
|
1610
|
+
* includes the user's OIDC identities.
|
|
1608
1611
|
*/
|
|
1609
1612
|
get: operations["getUserInOrg"];
|
|
1610
1613
|
/**
|
|
@@ -3404,6 +3407,7 @@ export interface components {
|
|
|
3404
3407
|
acl?: unknown[] | null;
|
|
3405
3408
|
/** @description Arbitrary user-defined metadata. */
|
|
3406
3409
|
metadata?: unknown;
|
|
3410
|
+
org_id: components["schemas"]["Id"];
|
|
3407
3411
|
owner: components["schemas"]["Id"];
|
|
3408
3412
|
}) & {
|
|
3409
3413
|
/** @description The name of the bucket. */
|
|
@@ -3426,6 +3430,7 @@ export interface components {
|
|
|
3426
3430
|
acl?: unknown[] | null;
|
|
3427
3431
|
/** @description Arbitrary user-defined metadata. */
|
|
3428
3432
|
metadata?: unknown;
|
|
3433
|
+
org_id: components["schemas"]["Id"];
|
|
3429
3434
|
owner: components["schemas"]["Id"];
|
|
3430
3435
|
};
|
|
3431
3436
|
/**
|
|
@@ -7020,6 +7025,11 @@ export interface components {
|
|
|
7020
7025
|
* In other words, org admins can still assign unlimited number of keys to their alien users.
|
|
7021
7026
|
*/
|
|
7022
7027
|
alien_key_count_threshold?: number | null;
|
|
7028
|
+
/**
|
|
7029
|
+
* @description Whether alien users are allowed to update their own key policies.
|
|
7030
|
+
* Defaults to 'false'.
|
|
7031
|
+
*/
|
|
7032
|
+
aliens_can_update_key_policy?: boolean | null;
|
|
7023
7033
|
} & {
|
|
7024
7034
|
created?: components["schemas"]["EpochDateTime"] | null;
|
|
7025
7035
|
last_modified?: components["schemas"]["EpochDateTime"] | null;
|
|
@@ -8614,10 +8624,8 @@ export interface components {
|
|
|
8614
8624
|
/** @description Answer to a Sign-in with Solana challenge. */
|
|
8615
8625
|
SiwsCompleteRequest: {
|
|
8616
8626
|
challenge_id: components["schemas"]["Id"];
|
|
8617
|
-
/** @description The base58-encoded ed25519 signature of `
|
|
8627
|
+
/** @description The base58-encoded ed25519 signature of the challenge's canonical message text (the rendered `SignInInput`). */
|
|
8618
8628
|
signature: string;
|
|
8619
|
-
/** @description The base58-encoded UTF-8 bytes of the message that was signed (the rendered `SignInInput`). */
|
|
8620
|
-
signed_message: string;
|
|
8621
8629
|
};
|
|
8622
8630
|
/** @description Returned upon a successful SIWS authentication. */
|
|
8623
8631
|
SiwsCompleteResponse: {
|
|
@@ -9641,6 +9649,11 @@ export interface components {
|
|
|
9641
9649
|
* In other words, org admins can still assign unlimited number of keys to their alien users.
|
|
9642
9650
|
*/
|
|
9643
9651
|
alien_key_count_threshold?: number | null;
|
|
9652
|
+
/**
|
|
9653
|
+
* @description Whether alien users are allowed to update their own key policies.
|
|
9654
|
+
* Defaults to 'false'.
|
|
9655
|
+
*/
|
|
9656
|
+
aliens_can_update_key_policy?: boolean | null;
|
|
9644
9657
|
} & {
|
|
9645
9658
|
/**
|
|
9646
9659
|
* Format: int64
|
|
@@ -9783,6 +9796,11 @@ export interface components {
|
|
|
9783
9796
|
* In other words, org admins can still assign unlimited number of keys to their alien users.
|
|
9784
9797
|
*/
|
|
9785
9798
|
alien_key_count_threshold?: number | null;
|
|
9799
|
+
/**
|
|
9800
|
+
* @description Whether alien users are allowed to update their own key policies.
|
|
9801
|
+
* Defaults to 'false'.
|
|
9802
|
+
*/
|
|
9803
|
+
aliens_can_update_key_policy?: boolean | null;
|
|
9786
9804
|
} & {
|
|
9787
9805
|
created?: components["schemas"]["EpochDateTime"] | null;
|
|
9788
9806
|
last_modified?: components["schemas"]["EpochDateTime"] | null;
|
|
@@ -10583,6 +10601,7 @@ export interface components {
|
|
|
10583
10601
|
acl?: unknown[] | null;
|
|
10584
10602
|
/** @description Arbitrary user-defined metadata. */
|
|
10585
10603
|
metadata?: unknown;
|
|
10604
|
+
org_id: components["schemas"]["Id"];
|
|
10586
10605
|
owner: components["schemas"]["Id"];
|
|
10587
10606
|
}) & {
|
|
10588
10607
|
/** @description The name of the bucket. */
|
|
@@ -11204,6 +11223,11 @@ export interface components {
|
|
|
11204
11223
|
* In other words, org admins can still assign unlimited number of keys to their alien users.
|
|
11205
11224
|
*/
|
|
11206
11225
|
alien_key_count_threshold?: number | null;
|
|
11226
|
+
/**
|
|
11227
|
+
* @description Whether alien users are allowed to update their own key policies.
|
|
11228
|
+
* Defaults to 'false'.
|
|
11229
|
+
*/
|
|
11230
|
+
aliens_can_update_key_policy?: boolean | null;
|
|
11207
11231
|
} & {
|
|
11208
11232
|
created?: components["schemas"]["EpochDateTime"] | null;
|
|
11209
11233
|
last_modified?: components["schemas"]["EpochDateTime"] | null;
|
|
@@ -12073,6 +12097,11 @@ export interface components {
|
|
|
12073
12097
|
* In other words, org admins can still assign unlimited number of keys to their alien users.
|
|
12074
12098
|
*/
|
|
12075
12099
|
alien_key_count_threshold?: number | null;
|
|
12100
|
+
/**
|
|
12101
|
+
* @description Whether alien users are allowed to update their own key policies.
|
|
12102
|
+
* Defaults to 'false'.
|
|
12103
|
+
*/
|
|
12104
|
+
aliens_can_update_key_policy?: boolean | null;
|
|
12076
12105
|
} & {
|
|
12077
12106
|
created?: components["schemas"]["EpochDateTime"] | null;
|
|
12078
12107
|
last_modified?: components["schemas"]["EpochDateTime"] | null;
|
|
@@ -12221,6 +12250,32 @@ export interface components {
|
|
|
12221
12250
|
};
|
|
12222
12251
|
};
|
|
12223
12252
|
};
|
|
12253
|
+
UserInOrgInfoWithIdentity: {
|
|
12254
|
+
content: {
|
|
12255
|
+
"application/json": {
|
|
12256
|
+
/**
|
|
12257
|
+
* @description The user's email (optional)
|
|
12258
|
+
* @example alice@example.com
|
|
12259
|
+
*/
|
|
12260
|
+
email?: string | null;
|
|
12261
|
+
/**
|
|
12262
|
+
* @description The id of the user
|
|
12263
|
+
* @example User#c3b9379c-4e8c-4216-bd0a-65ace53cf98f
|
|
12264
|
+
*/
|
|
12265
|
+
id: string;
|
|
12266
|
+
/** @description Whether the user has ever successfully logged in */
|
|
12267
|
+
initialized?: boolean;
|
|
12268
|
+
membership: components["schemas"]["MemberRole"];
|
|
12269
|
+
/** @description Optional user name. */
|
|
12270
|
+
name?: string | null;
|
|
12271
|
+
status: components["schemas"]["MembershipStatus"];
|
|
12272
|
+
verified_email?: components["schemas"]["VerifiedEmail"] | null;
|
|
12273
|
+
} & {
|
|
12274
|
+
/** @description Optional third-party identities via which the user was found */
|
|
12275
|
+
identities?: components["schemas"]["IdentityInfo"][];
|
|
12276
|
+
};
|
|
12277
|
+
};
|
|
12278
|
+
};
|
|
12224
12279
|
UserInfo: {
|
|
12225
12280
|
content: {
|
|
12226
12281
|
"application/json": {
|
|
@@ -17777,6 +17832,9 @@ export interface operations {
|
|
|
17777
17832
|
/**
|
|
17778
17833
|
* Get user by id
|
|
17779
17834
|
* @description Get user by id
|
|
17835
|
+
*
|
|
17836
|
+
* If the requesting user is an owner of the org, the response additionally
|
|
17837
|
+
* includes the user's OIDC identities.
|
|
17780
17838
|
*/
|
|
17781
17839
|
getUserInOrg: {
|
|
17782
17840
|
parameters: {
|
|
@@ -17794,7 +17852,7 @@ export interface operations {
|
|
|
17794
17852
|
};
|
|
17795
17853
|
};
|
|
17796
17854
|
responses: {
|
|
17797
|
-
200: components["responses"]["
|
|
17855
|
+
200: components["responses"]["UserInOrgInfoWithIdentity"];
|
|
17798
17856
|
default: {
|
|
17799
17857
|
content: {
|
|
17800
17858
|
"application/json": components["schemas"]["ErrorResponse"];
|