@cubist-labs/cubesigner-sdk 0.4.217 → 0.4.219
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/client/api_client.d.ts +9 -1
- package/dist/src/client/api_client.d.ts.map +1 -1
- package/dist/src/client/api_client.js +12 -1
- package/dist/src/schema.d.ts +180 -7
- package/dist/src/schema.d.ts.map +1 -1
- package/dist/src/schema.js +1 -1
- package/dist/src/schema_types.d.ts +3 -0
- package/dist/src/schema_types.d.ts.map +1 -1
- package/dist/src/schema_types.js +1 -1
- package/dist/src/scopes.d.ts.map +1 -1
- package/dist/src/scopes.js +6 -1
- package/package.json +1 -1
- package/src/client/api_client.ts +23 -0
- package/src/schema.ts +185 -3
- package/src/schema_types.ts +3 -0
- package/src/scopes.ts +5 -0
package/src/schema.ts
CHANGED
|
@@ -94,6 +94,13 @@ export interface paths {
|
|
|
94
94
|
*/
|
|
95
95
|
patch: operations["updateOrg"];
|
|
96
96
|
};
|
|
97
|
+
"/v0/org/{org_id}/audit": {
|
|
98
|
+
/**
|
|
99
|
+
* Query the audit log.
|
|
100
|
+
* @description Query the audit log.
|
|
101
|
+
*/
|
|
102
|
+
post: operations["queryAuditLog"];
|
|
103
|
+
};
|
|
97
104
|
"/v0/org/{org_id}/auth_migration/add_identity": {
|
|
98
105
|
/**
|
|
99
106
|
* Associate an OIDC identity with an arbitrary user in org <session.org>.
|
|
@@ -1803,6 +1810,50 @@ export interface components {
|
|
|
1803
1810
|
* the aud value MAY be a single case-sensitive string.
|
|
1804
1811
|
*/
|
|
1805
1812
|
Aud: string | string[];
|
|
1813
|
+
AuditLogEntry: {
|
|
1814
|
+
/** @description The name of the event */
|
|
1815
|
+
event: string;
|
|
1816
|
+
/** @description UUID of the event. Unique across all events. */
|
|
1817
|
+
event_id: string;
|
|
1818
|
+
org_id: components["schemas"]["Id"];
|
|
1819
|
+
/**
|
|
1820
|
+
* @description The id of the HTTP request which triggered the event
|
|
1821
|
+
* (a single request can trigger multiple events).
|
|
1822
|
+
*/
|
|
1823
|
+
request_id: string;
|
|
1824
|
+
/** @description The time when the event was logged. */
|
|
1825
|
+
time: string;
|
|
1826
|
+
/**
|
|
1827
|
+
* @description The id of the identity (user or role) which triggered the event
|
|
1828
|
+
* (may be undefined for certain unauthenticated endpoints)
|
|
1829
|
+
*/
|
|
1830
|
+
triggered_by?: string | null;
|
|
1831
|
+
[key: string]: unknown;
|
|
1832
|
+
};
|
|
1833
|
+
/** @description The request type for querying the audit log. */
|
|
1834
|
+
AuditLogRequest: {
|
|
1835
|
+
/**
|
|
1836
|
+
* Format: int64
|
|
1837
|
+
* @description End time in seconds since unix epoch. If omitted, defaults to 'now'.
|
|
1838
|
+
*/
|
|
1839
|
+
end_time?: number | null;
|
|
1840
|
+
/**
|
|
1841
|
+
* @description Filter the log by the event name.
|
|
1842
|
+
* If omitted, all events will be included.
|
|
1843
|
+
* Must not be set to an empty array
|
|
1844
|
+
*/
|
|
1845
|
+
events?: components["schemas"]["OrgEventDiscriminants"][] | null;
|
|
1846
|
+
/**
|
|
1847
|
+
* Format: int64
|
|
1848
|
+
* @description Start time in seconds since unix epoch.
|
|
1849
|
+
*/
|
|
1850
|
+
start_time: number;
|
|
1851
|
+
};
|
|
1852
|
+
/** @description The audit log response */
|
|
1853
|
+
AuditLogResponse: {
|
|
1854
|
+
/** @description Audit log entries */
|
|
1855
|
+
entries: components["schemas"]["AuditLogEntry"][];
|
|
1856
|
+
};
|
|
1806
1857
|
/** @description Data required for both `authenticate` and `refresh`. */
|
|
1807
1858
|
AuthData: {
|
|
1808
1859
|
/** Format: int32 */
|
|
@@ -1952,6 +2003,8 @@ export interface components {
|
|
|
1952
2003
|
AuthenticatorTransport: "usb" | "nfc" | "ble" | "internal";
|
|
1953
2004
|
/** @description Request to sign a serialized Avalanche transaction */
|
|
1954
2005
|
AvaSerializedTxSignRequest: {
|
|
2006
|
+
/** @description Optionally assume this role */
|
|
2007
|
+
assume_role?: string | null;
|
|
1955
2008
|
/**
|
|
1956
2009
|
* @description Request additional information to be included in the response, explaining
|
|
1957
2010
|
* the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
|
|
@@ -1969,6 +2022,8 @@ export interface components {
|
|
|
1969
2022
|
};
|
|
1970
2023
|
/** @description Request to sign an Avalanche transaction */
|
|
1971
2024
|
AvaSignRequest: {
|
|
2025
|
+
/** @description Optionally assume this role */
|
|
2026
|
+
assume_role?: string | null;
|
|
1972
2027
|
/**
|
|
1973
2028
|
* @description Request additional information to be included in the response, explaining
|
|
1974
2029
|
* the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
|
|
@@ -2001,6 +2056,8 @@ export interface components {
|
|
|
2001
2056
|
/** @description Wrapper around a zeroizing 32-byte fixed-size array */
|
|
2002
2057
|
B32: string;
|
|
2003
2058
|
BabylonCovSignRequest: {
|
|
2059
|
+
/** @description Optionally assume this role */
|
|
2060
|
+
assume_role?: string | null;
|
|
2004
2061
|
/**
|
|
2005
2062
|
* @description Request additional information to be included in the response, explaining
|
|
2006
2063
|
* the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
|
|
@@ -2189,6 +2246,8 @@ export interface components {
|
|
|
2189
2246
|
*/
|
|
2190
2247
|
value: number;
|
|
2191
2248
|
}) & {
|
|
2249
|
+
/** @description Optionally assume this role */
|
|
2250
|
+
assume_role?: string | null;
|
|
2192
2251
|
/**
|
|
2193
2252
|
* @description Request additional information to be included in the response, explaining
|
|
2194
2253
|
* the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
|
|
@@ -2587,7 +2646,7 @@ export interface components {
|
|
|
2587
2646
|
| "InvalidEmailTemplate"
|
|
2588
2647
|
| "QueryMetricsError"
|
|
2589
2648
|
| "InvalidTelegramData"
|
|
2590
|
-
| "
|
|
2649
|
+
| "ValidationError"
|
|
2591
2650
|
| "WebhookPolicyTimeoutOutOfBounds"
|
|
2592
2651
|
| "WebhookPolicyDisallowedUrlScheme"
|
|
2593
2652
|
| "WebhookPolicyDisallowedUrlHost"
|
|
@@ -2906,6 +2965,7 @@ export interface components {
|
|
|
2906
2965
|
| "UpdateContact"
|
|
2907
2966
|
| "LookupContactsByAddress"
|
|
2908
2967
|
| "QueryMetrics"
|
|
2968
|
+
| "QueryAuditLog"
|
|
2909
2969
|
| "Counts"
|
|
2910
2970
|
| "CreateKey"
|
|
2911
2971
|
| "ImportKey"
|
|
@@ -2983,6 +3043,8 @@ export interface components {
|
|
|
2983
3043
|
* }
|
|
2984
3044
|
*/
|
|
2985
3045
|
BlobSignRequest: {
|
|
3046
|
+
/** @description Optionally assume this role */
|
|
3047
|
+
assume_role?: string | null;
|
|
2986
3048
|
/**
|
|
2987
3049
|
* @description Request additional information to be included in the response, explaining
|
|
2988
3050
|
* the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
|
|
@@ -3066,6 +3128,8 @@ export interface components {
|
|
|
3066
3128
|
};
|
|
3067
3129
|
/** @description Data to sign */
|
|
3068
3130
|
BtcMessageSignRequest: {
|
|
3131
|
+
/** @description Optionally assume this role */
|
|
3132
|
+
assume_role?: string | null;
|
|
3069
3133
|
/**
|
|
3070
3134
|
* @description Request additional information to be included in the response, explaining
|
|
3071
3135
|
* the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
|
|
@@ -3103,6 +3167,8 @@ export interface components {
|
|
|
3103
3167
|
| "NonePlusAnyoneCanPay"
|
|
3104
3168
|
| "SinglePlusAnyoneCanPay";
|
|
3105
3169
|
BtcSignRequest: {
|
|
3170
|
+
/** @description Optionally assume this role */
|
|
3171
|
+
assume_role?: string | null;
|
|
3106
3172
|
/**
|
|
3107
3173
|
* @description Request additional information to be included in the response, explaining
|
|
3108
3174
|
* the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
|
|
@@ -3708,6 +3774,8 @@ export interface components {
|
|
|
3708
3774
|
mnemonic_id?: string | null;
|
|
3709
3775
|
};
|
|
3710
3776
|
DiffieHellmanRequest: {
|
|
3777
|
+
/** @description Optionally assume this role */
|
|
3778
|
+
assume_role?: string | null;
|
|
3711
3779
|
/**
|
|
3712
3780
|
* @description Request additional information to be included in the response, explaining
|
|
3713
3781
|
* the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
|
|
@@ -3786,6 +3854,8 @@ export interface components {
|
|
|
3786
3854
|
time_lock_until?: components["schemas"]["EpochDateTime"] | null;
|
|
3787
3855
|
};
|
|
3788
3856
|
Eip191SignRequest: {
|
|
3857
|
+
/** @description Optionally assume this role */
|
|
3858
|
+
assume_role?: string | null;
|
|
3789
3859
|
/**
|
|
3790
3860
|
* @description Request additional information to be included in the response, explaining
|
|
3791
3861
|
* the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
|
|
@@ -3903,6 +3973,8 @@ export interface components {
|
|
|
3903
3973
|
* }
|
|
3904
3974
|
*/
|
|
3905
3975
|
Eip712SignRequest: {
|
|
3976
|
+
/** @description Optionally assume this role */
|
|
3977
|
+
assume_role?: string | null;
|
|
3906
3978
|
/**
|
|
3907
3979
|
* @description Request additional information to be included in the response, explaining
|
|
3908
3980
|
* the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
|
|
@@ -3993,6 +4065,8 @@ export interface components {
|
|
|
3993
4065
|
* at a specified block height.
|
|
3994
4066
|
*/
|
|
3995
4067
|
EotsCreateNonceRequest: {
|
|
4068
|
+
/** @description Optionally assume this role */
|
|
4069
|
+
assume_role?: string | null;
|
|
3996
4070
|
/**
|
|
3997
4071
|
* @description Request additional information to be included in the response, explaining
|
|
3998
4072
|
* the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
|
|
@@ -4038,6 +4112,8 @@ export interface components {
|
|
|
4038
4112
|
};
|
|
4039
4113
|
/** @description Request for an EOTS signature on a specified message, chain-id, block-height triple */
|
|
4040
4114
|
EotsSignRequest: {
|
|
4115
|
+
/** @description Optionally assume this role */
|
|
4116
|
+
assume_role?: string | null;
|
|
4041
4117
|
/**
|
|
4042
4118
|
* @description Request additional information to be included in the response, explaining
|
|
4043
4119
|
* the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
|
|
@@ -4129,6 +4205,8 @@ export interface components {
|
|
|
4129
4205
|
* }
|
|
4130
4206
|
*/
|
|
4131
4207
|
Eth1SignRequest: {
|
|
4208
|
+
/** @description Optionally assume this role */
|
|
4209
|
+
assume_role?: string | null;
|
|
4132
4210
|
/**
|
|
4133
4211
|
* @description Request additional information to be included in the response, explaining
|
|
4134
4212
|
* the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
|
|
@@ -4186,6 +4264,8 @@ export interface components {
|
|
|
4186
4264
|
* }
|
|
4187
4265
|
*/
|
|
4188
4266
|
Eth2SignRequest: {
|
|
4267
|
+
/** @description Optionally assume this role */
|
|
4268
|
+
assume_role?: string | null;
|
|
4189
4269
|
/**
|
|
4190
4270
|
* @description Request additional information to be included in the response, explaining
|
|
4191
4271
|
* the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
|
|
@@ -4424,6 +4504,7 @@ export interface components {
|
|
|
4424
4504
|
| "manage:key:update:editPolicy"
|
|
4425
4505
|
| "manage:key:delete"
|
|
4426
4506
|
| "manage:policy:*"
|
|
4507
|
+
| "manage:policy:readonly"
|
|
4427
4508
|
| "manage:policy:create"
|
|
4428
4509
|
| "manage:policy:get"
|
|
4429
4510
|
| "manage:policy:list"
|
|
@@ -4445,6 +4526,7 @@ export interface components {
|
|
|
4445
4526
|
| "manage:policy:secrets:update:acl"
|
|
4446
4527
|
| "manage:policy:secrets:update:editPolicy"
|
|
4447
4528
|
| "manage:contact:*"
|
|
4529
|
+
| "manage:contact:readonly"
|
|
4448
4530
|
| "manage:contact:create"
|
|
4449
4531
|
| "manage:contact:get"
|
|
4450
4532
|
| "manage:contact:list"
|
|
@@ -4481,6 +4563,7 @@ export interface components {
|
|
|
4481
4563
|
| "manage:role:update:user:remove"
|
|
4482
4564
|
| "manage:role:history:tx:list"
|
|
4483
4565
|
| "manage:identity:*"
|
|
4566
|
+
| "manage:identity:readonly"
|
|
4484
4567
|
| "manage:identity:verify"
|
|
4485
4568
|
| "manage:identity:add"
|
|
4486
4569
|
| "manage:identity:remove"
|
|
@@ -4488,6 +4571,7 @@ export interface components {
|
|
|
4488
4571
|
| "manage:org:*"
|
|
4489
4572
|
| "manage:org:create"
|
|
4490
4573
|
| "manage:org:metrics:query"
|
|
4574
|
+
| "manage:org:audit:query"
|
|
4491
4575
|
| "manage:org:readonly"
|
|
4492
4576
|
| "manage:org:addUser"
|
|
4493
4577
|
| "manage:org:inviteUser"
|
|
@@ -4506,6 +4590,7 @@ export interface components {
|
|
|
4506
4590
|
| "manage:session:extend"
|
|
4507
4591
|
| "manage:session:revoke"
|
|
4508
4592
|
| "manage:export:*"
|
|
4593
|
+
| "manage:export:readonly"
|
|
4509
4594
|
| "manage:export:org:*"
|
|
4510
4595
|
| "manage:export:org:get"
|
|
4511
4596
|
| "manage:export:user:*"
|
|
@@ -4663,6 +4748,7 @@ export interface components {
|
|
|
4663
4748
|
| "RemoveLastOidcIdentity"
|
|
4664
4749
|
| "OperationNotAllowed"
|
|
4665
4750
|
| "OrgExportRetrievalDisabled"
|
|
4751
|
+
| "ChangingKeyExportRequirementIsDisabled"
|
|
4666
4752
|
| "AutoAddBlsKeyToProtectedRole"
|
|
4667
4753
|
| "UserNotPolicyOwner"
|
|
4668
4754
|
| "UserNotContactOwner"
|
|
@@ -4903,6 +4989,7 @@ export interface components {
|
|
|
4903
4989
|
/** @enum {string} */
|
|
4904
4990
|
InternalErrorCode:
|
|
4905
4991
|
| "NoMaterialId"
|
|
4992
|
+
| "InvalidAuditLogEntry"
|
|
4906
4993
|
| "UnexpectedCheckerRule"
|
|
4907
4994
|
| "UnresolvedPolicyReference"
|
|
4908
4995
|
| "UnexpectedAclAction"
|
|
@@ -4951,6 +5038,7 @@ export interface components {
|
|
|
4951
5038
|
| "CognitoResendUserInvitation"
|
|
4952
5039
|
| "CognitoSetUserPasswordError"
|
|
4953
5040
|
| "GenericInternalError"
|
|
5041
|
+
| "AssumeRoleWithoutEvidence"
|
|
4954
5042
|
| "OidcAuthWithoutOrg"
|
|
4955
5043
|
| "MissingKeyMetadata"
|
|
4956
5044
|
| "KmsEnableKeyError"
|
|
@@ -5456,6 +5544,7 @@ export interface components {
|
|
|
5456
5544
|
MfaRequirements: {
|
|
5457
5545
|
alien_login_requirement?: components["schemas"]["SecondFactorRequirement"];
|
|
5458
5546
|
allowed_mfa_types?: components["schemas"]["AllowedMfaMap"];
|
|
5547
|
+
key_export_requirement?: components["schemas"]["SecondFactorRequirement"];
|
|
5459
5548
|
member_login_requirement?: components["schemas"]["SecondFactorRequirement"];
|
|
5460
5549
|
};
|
|
5461
5550
|
MfaResetRequest: {
|
|
@@ -5788,7 +5877,10 @@ export interface components {
|
|
|
5788
5877
|
user?: components["schemas"]["Id"] | null;
|
|
5789
5878
|
}
|
|
5790
5879
|
| {
|
|
5791
|
-
/**
|
|
5880
|
+
/**
|
|
5881
|
+
* Format: int64
|
|
5882
|
+
* @description The duration of the request in milliseconds
|
|
5883
|
+
*/
|
|
5792
5884
|
duration_ms: number;
|
|
5793
5885
|
/** @description The HTTP request method */
|
|
5794
5886
|
method: string;
|
|
@@ -6221,6 +6313,21 @@ export interface components {
|
|
|
6221
6313
|
*/
|
|
6222
6314
|
"page.start"?: string | null;
|
|
6223
6315
|
};
|
|
6316
|
+
/**
|
|
6317
|
+
* @description Response type that wraps another type and adds base64url-encoded encrypted `last_evaluated_key`
|
|
6318
|
+
* value (which can the user pass back to use as a url query parameter to continue pagination).
|
|
6319
|
+
*/
|
|
6320
|
+
PaginatedAuditLogResponse: {
|
|
6321
|
+
/** @description Audit log entries */
|
|
6322
|
+
entries: components["schemas"]["AuditLogEntry"][];
|
|
6323
|
+
} & {
|
|
6324
|
+
/**
|
|
6325
|
+
* @description If set, the content of `response` does not contain the entire result set.
|
|
6326
|
+
* To fetch the next page of the result set, call the same endpoint
|
|
6327
|
+
* but specify this value as the 'page.start' query parameter.
|
|
6328
|
+
*/
|
|
6329
|
+
last_evaluated_key?: string | null;
|
|
6330
|
+
};
|
|
6224
6331
|
/**
|
|
6225
6332
|
* @description Response type that wraps another type and adds base64url-encoded encrypted `last_evaluated_key`
|
|
6226
6333
|
* value (which can the user pass back to use as a url query parameter to continue pagination).
|
|
@@ -6807,6 +6914,8 @@ export interface components {
|
|
|
6807
6914
|
>;
|
|
6808
6915
|
/** @description A request to sign a PSBT */
|
|
6809
6916
|
PsbtSignRequest: {
|
|
6917
|
+
/** @description Optionally assume this role */
|
|
6918
|
+
assume_role?: string | null;
|
|
6810
6919
|
/**
|
|
6811
6920
|
* @description Request additional information to be included in the response, explaining
|
|
6812
6921
|
* the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
|
|
@@ -7646,7 +7755,7 @@ export interface components {
|
|
|
7646
7755
|
* @description Supported Solana clusters.
|
|
7647
7756
|
* @enum {string}
|
|
7648
7757
|
*/
|
|
7649
|
-
SolanaCluster: "mainnet" | "devnet"
|
|
7758
|
+
SolanaCluster: "mainnet" | "devnet";
|
|
7650
7759
|
/**
|
|
7651
7760
|
* @description Solana signing request
|
|
7652
7761
|
* @example {
|
|
@@ -7654,6 +7763,8 @@ export interface components {
|
|
|
7654
7763
|
* }
|
|
7655
7764
|
*/
|
|
7656
7765
|
SolanaSignRequest: {
|
|
7766
|
+
/** @description Optionally assume this role */
|
|
7767
|
+
assume_role?: string | null;
|
|
7657
7768
|
/**
|
|
7658
7769
|
* @description Request additional information to be included in the response, explaining
|
|
7659
7770
|
* the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
|
|
@@ -7678,6 +7789,8 @@ export interface components {
|
|
|
7678
7789
|
source_ip: string;
|
|
7679
7790
|
};
|
|
7680
7791
|
StakeRequest: {
|
|
7792
|
+
/** @description Optionally assume this role */
|
|
7793
|
+
assume_role?: string | null;
|
|
7681
7794
|
/**
|
|
7682
7795
|
* @description Request additional information to be included in the response, explaining
|
|
7683
7796
|
* the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
|
|
@@ -7773,6 +7886,8 @@ export interface components {
|
|
|
7773
7886
|
SuiChain: "mainnet" | "devnet" | "testnet";
|
|
7774
7887
|
/** @description Request to sign a serialized SUI transaction */
|
|
7775
7888
|
SuiSignRequest: {
|
|
7889
|
+
/** @description Optionally assume this role */
|
|
7890
|
+
assume_role?: string | null;
|
|
7776
7891
|
/**
|
|
7777
7892
|
* @description Request additional information to be included in the response, explaining
|
|
7778
7893
|
* the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
|
|
@@ -7794,6 +7909,8 @@ export interface components {
|
|
|
7794
7909
|
tx: string;
|
|
7795
7910
|
};
|
|
7796
7911
|
TaprootSignRequest: {
|
|
7912
|
+
/** @description Optionally assume this role */
|
|
7913
|
+
assume_role?: string | null;
|
|
7797
7914
|
/**
|
|
7798
7915
|
* @description Request additional information to be included in the response, explaining
|
|
7799
7916
|
* the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
|
|
@@ -7861,6 +7978,8 @@ export interface components {
|
|
|
7861
7978
|
TelegramEnvironment: "production" | "test";
|
|
7862
7979
|
/** @description The request for using the Tendermint sign endpoint. */
|
|
7863
7980
|
TendermintSignRequest: {
|
|
7981
|
+
/** @description Optionally assume this role */
|
|
7982
|
+
assume_role?: string | null;
|
|
7864
7983
|
/**
|
|
7865
7984
|
* @description Request additional information to be included in the response, explaining
|
|
7866
7985
|
* the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
|
|
@@ -8153,6 +8272,8 @@ export interface components {
|
|
|
8153
8272
|
*/
|
|
8154
8273
|
validator_index: string;
|
|
8155
8274
|
} & {
|
|
8275
|
+
/** @description Optionally assume this role */
|
|
8276
|
+
assume_role?: string | null;
|
|
8156
8277
|
/**
|
|
8157
8278
|
* @description Request additional information to be included in the response, explaining
|
|
8158
8279
|
* the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
|
|
@@ -8254,6 +8375,7 @@ export interface components {
|
|
|
8254
8375
|
enabled?: boolean | null;
|
|
8255
8376
|
historical_data_configuration?: components["schemas"]["HistoricalDataConfiguration"] | null;
|
|
8256
8377
|
idp_configuration?: components["schemas"]["IdpConfig"] | null;
|
|
8378
|
+
key_export_requirement?: components["schemas"]["SecondFactorRequirement"] | null;
|
|
8257
8379
|
member_login_requirement?: components["schemas"]["SecondFactorRequirement"] | null;
|
|
8258
8380
|
/**
|
|
8259
8381
|
* @description If set, update this org's notification endpoints. Notification endpoints are expected to be
|
|
@@ -8366,6 +8488,7 @@ export interface components {
|
|
|
8366
8488
|
enabled?: boolean | null;
|
|
8367
8489
|
historical_data_configuration?: components["schemas"]["HistoricalDataConfiguration"] | null;
|
|
8368
8490
|
idp_configuration?: components["schemas"]["IdpConfig"] | null;
|
|
8491
|
+
key_export_requirement?: components["schemas"]["SecondFactorRequirement"] | null;
|
|
8369
8492
|
member_login_requirement?: components["schemas"]["SecondFactorRequirement"] | null;
|
|
8370
8493
|
/**
|
|
8371
8494
|
* @description The new human-readable name for the org (must be alphanumeric)
|
|
@@ -9571,6 +9694,21 @@ export interface components {
|
|
|
9571
9694
|
};
|
|
9572
9695
|
};
|
|
9573
9696
|
};
|
|
9697
|
+
PaginatedAuditLogResponse: {
|
|
9698
|
+
content: {
|
|
9699
|
+
"application/json": {
|
|
9700
|
+
/** @description Audit log entries */
|
|
9701
|
+
entries: components["schemas"]["AuditLogEntry"][];
|
|
9702
|
+
} & {
|
|
9703
|
+
/**
|
|
9704
|
+
* @description If set, the content of `response` does not contain the entire result set.
|
|
9705
|
+
* To fetch the next page of the result set, call the same endpoint
|
|
9706
|
+
* but specify this value as the 'page.start' query parameter.
|
|
9707
|
+
*/
|
|
9708
|
+
last_evaluated_key?: string | null;
|
|
9709
|
+
};
|
|
9710
|
+
};
|
|
9711
|
+
};
|
|
9574
9712
|
PaginatedGetUsersInOrgResponse: {
|
|
9575
9713
|
content: {
|
|
9576
9714
|
"application/json": {
|
|
@@ -10236,6 +10374,7 @@ export interface components {
|
|
|
10236
10374
|
| components["schemas"]["HistoricalDataConfiguration"]
|
|
10237
10375
|
| null;
|
|
10238
10376
|
idp_configuration?: components["schemas"]["IdpConfig"] | null;
|
|
10377
|
+
key_export_requirement?: components["schemas"]["SecondFactorRequirement"] | null;
|
|
10239
10378
|
member_login_requirement?: components["schemas"]["SecondFactorRequirement"] | null;
|
|
10240
10379
|
/**
|
|
10241
10380
|
* @description The new human-readable name for the org (must be alphanumeric)
|
|
@@ -10609,6 +10748,49 @@ export interface operations {
|
|
|
10609
10748
|
};
|
|
10610
10749
|
};
|
|
10611
10750
|
};
|
|
10751
|
+
/**
|
|
10752
|
+
* Query the audit log.
|
|
10753
|
+
* @description Query the audit log.
|
|
10754
|
+
*/
|
|
10755
|
+
queryAuditLog: {
|
|
10756
|
+
parameters: {
|
|
10757
|
+
query?: {
|
|
10758
|
+
/**
|
|
10759
|
+
* @description Max number of items to return per page.
|
|
10760
|
+
*
|
|
10761
|
+
* If the actual number of returned items may be less that this, even if there exist more
|
|
10762
|
+
* data in the result set. To reliably determine if more data is left in the result set,
|
|
10763
|
+
* inspect the [UnencryptedLastEvalKey] value in the response object.
|
|
10764
|
+
*/
|
|
10765
|
+
"page.size"?: number;
|
|
10766
|
+
/**
|
|
10767
|
+
* @description The start of the page. Omit to start from the beginning; otherwise, only specify a
|
|
10768
|
+
* the exact value previously returned as 'last_evaluated_key' from the same endpoint.
|
|
10769
|
+
*/
|
|
10770
|
+
"page.start"?: string | null;
|
|
10771
|
+
};
|
|
10772
|
+
path: {
|
|
10773
|
+
/**
|
|
10774
|
+
* @description Name or ID of the desired Org
|
|
10775
|
+
* @example Org#124dfe3e-3bbd-487d-80c0-53c55e8ab87a
|
|
10776
|
+
*/
|
|
10777
|
+
org_id: string;
|
|
10778
|
+
};
|
|
10779
|
+
};
|
|
10780
|
+
requestBody: {
|
|
10781
|
+
content: {
|
|
10782
|
+
"application/json": components["schemas"]["AuditLogRequest"];
|
|
10783
|
+
};
|
|
10784
|
+
};
|
|
10785
|
+
responses: {
|
|
10786
|
+
200: components["responses"]["PaginatedAuditLogResponse"];
|
|
10787
|
+
default: {
|
|
10788
|
+
content: {
|
|
10789
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10790
|
+
};
|
|
10791
|
+
};
|
|
10792
|
+
};
|
|
10793
|
+
};
|
|
10612
10794
|
/**
|
|
10613
10795
|
* Associate an OIDC identity with an arbitrary user in org <session.org>.
|
|
10614
10796
|
* @description Associate an OIDC identity with an arbitrary user in org <session.org>.
|
package/src/schema_types.ts
CHANGED
|
@@ -209,6 +209,9 @@ export type CreateOrgRequest = schemas["CreateOrgRequest"];
|
|
|
209
209
|
export type OrgMetricName = schemas["MetricName"];
|
|
210
210
|
export type QueryMetricsRequest = schemas["QueryMetricsRequest"];
|
|
211
211
|
export type QueryMetricsResponse = schemas["QueryMetricsResponse"];
|
|
212
|
+
export type AuditLogRequest = schemas["AuditLogRequest"];
|
|
213
|
+
export type AuditLogResponse = schemas["PaginatedAuditLogResponse"];
|
|
214
|
+
export type AuditLogEntry = schemas["AuditLogEntry"];
|
|
212
215
|
|
|
213
216
|
export type DiffieHellmanRequest = schemas["DiffieHellmanRequest"];
|
|
214
217
|
export type DiffieHellmanResponse = schemas["DiffieHellmanResponse"];
|
package/src/scopes.ts
CHANGED
|
@@ -90,6 +90,7 @@ export const AllScopes: Record<ExplicitScope, string> =
|
|
|
90
90
|
"manage:key:update:editPolicy" : "Allows access only to the key 'update' endpoint and restricts updates to the 'edit_policy' property",
|
|
91
91
|
"manage:key:delete" : "Allows access only to the key 'delete' endpoint",
|
|
92
92
|
"manage:policy:*" : "Allows access to all policy endpoints",
|
|
93
|
+
"manage:policy:readonly" : "Allows access to all policy readonly endpoints",
|
|
93
94
|
"manage:policy:create" : "Allows access only to the policy creation endpoint",
|
|
94
95
|
"manage:policy:get" : "Allows access only to the policy 'get' endpoint",
|
|
95
96
|
"manage:policy:list" : "Allows access only to the policy 'list' endpoint",
|
|
@@ -111,6 +112,7 @@ export const AllScopes: Record<ExplicitScope, string> =
|
|
|
111
112
|
"manage:policy:secrets:update:acl" : "Allows access only to the policy secrets 'update' endpoint, but restricting updates to the secrets acl",
|
|
112
113
|
"manage:policy:secrets:update:editPolicy" : "Allows access only to the policy secrets 'update' endpoint, but restricting updates to the `edit_policy` property",
|
|
113
114
|
"manage:contact:*" : "Allows access to all contact endpoints",
|
|
115
|
+
"manage:contact:readonly" : "Allows access to all contact readonly endpoints",
|
|
114
116
|
"manage:contact:create" : "Allows access to the contact 'create' endpoint",
|
|
115
117
|
"manage:contact:get" : "Allows access to the contact `get` endpoint",
|
|
116
118
|
"manage:contact:list" : "Allows access to the contact `list` endpoint",
|
|
@@ -147,6 +149,7 @@ export const AllScopes: Record<ExplicitScope, string> =
|
|
|
147
149
|
"manage:role:update:user:remove" : "Allows access to the role 'update:user:remove' endpoint",
|
|
148
150
|
"manage:role:history:tx:list" : "Allows access only to the role 'list_historical_tx' endpoint",
|
|
149
151
|
"manage:identity:*" : "Allows access to all identity endpoints",
|
|
152
|
+
"manage:identity:readonly" : "Allows access to all identity readonly endpoints.",
|
|
150
153
|
"manage:identity:verify" : "Allows access only to the identity 'verify' endpoint",
|
|
151
154
|
"manage:identity:add" : "Allows access only to the identity 'add' endpoint",
|
|
152
155
|
"manage:identity:remove" : "Allows access only to the identity 'remove' endpoint",
|
|
@@ -154,6 +157,7 @@ export const AllScopes: Record<ExplicitScope, string> =
|
|
|
154
157
|
"manage:org:*" : "Allows access to all org endpoints",
|
|
155
158
|
"manage:org:create" : "Allows access to the org 'create' endpoint",
|
|
156
159
|
"manage:org:metrics:query" : "Allows access to retrieving org metrics",
|
|
160
|
+
"manage:org:audit:query" : "Allows access to retrieving org audit log",
|
|
157
161
|
"manage:org:readonly" : "Allows access to all org readonly endpoints",
|
|
158
162
|
"manage:org:addUser" : "Allows access only to the org endpoint for adding an OIDC user to the org",
|
|
159
163
|
"manage:org:inviteUser" : "Allows access only to the org endpoint for inviting a new member or org owner to the org",
|
|
@@ -172,6 +176,7 @@ export const AllScopes: Record<ExplicitScope, string> =
|
|
|
172
176
|
"manage:session:extend" : "Allows access only to the session 'create' endpoint, including the ability to extend session lifetimes",
|
|
173
177
|
"manage:session:revoke" : "Allows access only to the session 'revoke' endpoints",
|
|
174
178
|
"manage:export:*" : "Allows access to all export endpoints",
|
|
179
|
+
"manage:export:readonly" : "Allows access to all export management readonly endpoints",
|
|
175
180
|
"manage:export:org:*" : "Allows access to all org-export management endpoints",
|
|
176
181
|
"manage:export:org:get" : "Allows access to the org-export download endpoint",
|
|
177
182
|
"manage:export:user:*" : "Allows access to all user-export management endpoints",
|