@cubist-labs/cubesigner-sdk 0.3.23 → 0.3.26
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/cjs/package.json +1 -1
- package/dist/cjs/src/api.d.ts +4 -4
- package/dist/cjs/src/api.js +5 -4
- package/dist/cjs/src/client.d.ts +4 -4
- package/dist/cjs/src/client.js +2 -2
- package/dist/cjs/src/env.js +9 -29
- package/dist/cjs/src/index.d.ts +0 -2
- package/dist/cjs/src/index.js +1 -3
- package/dist/cjs/src/org.d.ts +22 -1
- package/dist/cjs/src/org.js +1 -1
- package/dist/cjs/src/role.d.ts +2 -1
- package/dist/cjs/src/role.js +1 -1
- package/dist/cjs/src/schema.d.ts +29 -29
- package/dist/cjs/src/schema.js +1 -1
- package/dist/cjs/src/schema_types.d.ts +3 -1
- package/dist/cjs/src/schema_types.js +1 -1
- package/dist/esm/package.json +1 -1
- package/dist/esm/src/api.d.ts +4 -4
- package/dist/esm/src/api.js +5 -4
- package/dist/esm/src/client.d.ts +4 -4
- package/dist/esm/src/client.js +2 -2
- package/dist/esm/src/env.js +4 -4
- package/dist/esm/src/index.d.ts +0 -2
- package/dist/esm/src/index.js +1 -3
- package/dist/esm/src/org.d.ts +22 -1
- package/dist/esm/src/org.js +1 -1
- package/dist/esm/src/role.d.ts +2 -1
- package/dist/esm/src/role.js +1 -1
- package/dist/esm/src/schema.d.ts +29 -29
- package/dist/esm/src/schema.js +1 -1
- package/dist/esm/src/schema_types.d.ts +3 -1
- package/dist/esm/src/schema_types.js +1 -1
- package/package.json +1 -1
- package/src/api.ts +7 -6
- package/src/client.ts +3 -3
- package/src/env.ts +3 -3
- package/src/index.ts +0 -2
- package/src/org.ts +23 -1
- package/src/role.ts +4 -3
- package/src/schema.ts +29 -29
- package/src/schema_types.ts +3 -1
- package/tsconfig.json +1 -0
- package/dist/cjs/src/org_event_processor.d.ts +0 -57
- package/dist/cjs/src/org_event_processor.js +0 -137
- package/dist/esm/src/org_event_processor.d.ts +0 -57
- package/dist/esm/src/org_event_processor.js +0 -133
- package/dist/package.json +0 -36
- package/dist/spec/env/beta.json +0 -9
- package/dist/spec/env/gamma.json +0 -9
- package/dist/spec/env/prod.json +0 -9
- package/dist/src/api.d.ts +0 -634
- package/dist/src/api.js +0 -1309
- package/dist/src/client.d.ts +0 -575
- package/dist/src/client.js +0 -381
- package/dist/src/env.d.ts +0 -15
- package/dist/src/env.js +0 -35
- package/dist/src/error.d.ts +0 -29
- package/dist/src/error.js +0 -36
- package/dist/src/events.d.ts +0 -84
- package/dist/src/events.js +0 -195
- package/dist/src/index.d.ts +0 -207
- package/dist/src/index.js +0 -308
- package/dist/src/key.d.ts +0 -152
- package/dist/src/key.js +0 -242
- package/dist/src/mfa.d.ts +0 -94
- package/dist/src/mfa.js +0 -169
- package/dist/src/org.d.ts +0 -99
- package/dist/src/org.js +0 -95
- package/dist/src/paginator.d.ts +0 -76
- package/dist/src/paginator.js +0 -99
- package/dist/src/response.d.ts +0 -101
- package/dist/src/response.js +0 -164
- package/dist/src/role.d.ts +0 -283
- package/dist/src/role.js +0 -253
- package/dist/src/schema.d.ts +0 -6209
- package/dist/src/schema.js +0 -7
- package/dist/src/schema_types.d.ts +0 -113
- package/dist/src/schema_types.js +0 -3
- package/dist/src/session/session_storage.d.ts +0 -47
- package/dist/src/session/session_storage.js +0 -76
- package/dist/src/session/signer_session_manager.d.ts +0 -125
- package/dist/src/session/signer_session_manager.js +0 -239
- package/dist/src/signer_session.d.ts +0 -41
- package/dist/src/signer_session.js +0 -77
- package/dist/src/user_export.d.ts +0 -52
- package/dist/src/user_export.js +0 -129
- package/dist/src/util.d.ts +0 -61
- package/dist/src/util.js +0 -97
- package/src/org_event_processor.ts +0 -173
package/dist/esm/src/schema.d.ts
CHANGED
|
@@ -829,10 +829,10 @@ export interface components {
|
|
|
829
829
|
};
|
|
830
830
|
AddThirdPartyUserRequest: {
|
|
831
831
|
/**
|
|
832
|
-
* @description
|
|
832
|
+
* @description Optional user email
|
|
833
833
|
* @example alice@example.com
|
|
834
834
|
*/
|
|
835
|
-
email
|
|
835
|
+
email?: string | null;
|
|
836
836
|
identity: components["schemas"]["OIDCIdentity"];
|
|
837
837
|
/** @description Optional login MFA policy */
|
|
838
838
|
mfa_policy?: unknown;
|
|
@@ -1104,6 +1104,31 @@ export interface components {
|
|
|
1104
1104
|
/** @enum {string} */
|
|
1105
1105
|
type: "fido";
|
|
1106
1106
|
};
|
|
1107
|
+
CreateAndUpdateKeyProperties: {
|
|
1108
|
+
/**
|
|
1109
|
+
* @description Set this key's metadata. Validation regex: ^[A-Za-z0-9_=+/ \-\.\,]{0,1024}$
|
|
1110
|
+
* @example Contract admin key
|
|
1111
|
+
*/
|
|
1112
|
+
metadata?: string | null;
|
|
1113
|
+
/**
|
|
1114
|
+
* @description Specify a user other than themselves to be the (potentially new) owner of the key.
|
|
1115
|
+
* The specified owner must be an existing user who is a member of the same org.
|
|
1116
|
+
* @example User#c3b9379c-4e8c-4216-bd0a-65ace53cf98f
|
|
1117
|
+
*/
|
|
1118
|
+
owner?: string | null;
|
|
1119
|
+
/**
|
|
1120
|
+
* @description Set this key's policies. For an existing key, this overwrites all its policies.
|
|
1121
|
+
* @example [
|
|
1122
|
+
* "AllowRawBlobSigning",
|
|
1123
|
+
* {
|
|
1124
|
+
* "RequireMfa": {
|
|
1125
|
+
* "count": 1
|
|
1126
|
+
* }
|
|
1127
|
+
* }
|
|
1128
|
+
* ]
|
|
1129
|
+
*/
|
|
1130
|
+
policy?: Record<string, never>[] | null;
|
|
1131
|
+
};
|
|
1107
1132
|
CreateKeyImportKeyResponse: components["schemas"]["KeyImportKey"] & {
|
|
1108
1133
|
/**
|
|
1109
1134
|
* @description An attestation document from a secure enclave, including an
|
|
@@ -1116,7 +1141,7 @@ export interface components {
|
|
|
1116
1141
|
*/
|
|
1117
1142
|
enclave_signature: string;
|
|
1118
1143
|
};
|
|
1119
|
-
CreateKeyRequest: components["schemas"]["
|
|
1144
|
+
CreateKeyRequest: components["schemas"]["CreateAndUpdateKeyProperties"] & {
|
|
1120
1145
|
/**
|
|
1121
1146
|
* Format: int64
|
|
1122
1147
|
* @description Chain id for which the key is allowed to sign messages
|
|
@@ -2864,32 +2889,7 @@ export interface components {
|
|
|
2864
2889
|
*/
|
|
2865
2890
|
signature: string;
|
|
2866
2891
|
};
|
|
2867
|
-
|
|
2868
|
-
/**
|
|
2869
|
-
* @description If set, update this key's metadata. Validation regex: ^[A-Za-z0-9_=+/ \-\.\,]{0,1024}$
|
|
2870
|
-
* @example Contract admin key
|
|
2871
|
-
*/
|
|
2872
|
-
metadata?: string | null;
|
|
2873
|
-
/**
|
|
2874
|
-
* @description Allows users to specify a user other than themselves to receive the key
|
|
2875
|
-
* The new owner must be an existing user who is a member of the same org.
|
|
2876
|
-
* @example User#c3b9379c-4e8c-4216-bd0a-65ace53cf98f
|
|
2877
|
-
*/
|
|
2878
|
-
owner?: string | null;
|
|
2879
|
-
/**
|
|
2880
|
-
* @description If set, update this key's policies (old policies will be overwritten!).
|
|
2881
|
-
* @example [
|
|
2882
|
-
* "AllowRawBlobSigning",
|
|
2883
|
-
* {
|
|
2884
|
-
* "RequireMfa": {
|
|
2885
|
-
* "count": 1
|
|
2886
|
-
* }
|
|
2887
|
-
* }
|
|
2888
|
-
* ]
|
|
2889
|
-
*/
|
|
2890
|
-
policy?: Record<string, never>[] | null;
|
|
2891
|
-
};
|
|
2892
|
-
UpdateKeyRequest: components["schemas"]["UpdateKeyProperties"] & {
|
|
2892
|
+
UpdateKeyRequest: components["schemas"]["CreateAndUpdateKeyProperties"] & {
|
|
2893
2893
|
/**
|
|
2894
2894
|
* @description If set, updates the keys's `enabled` property to this value.
|
|
2895
2895
|
* Once disabled, a key cannot be used for signing.
|