sim 2.2.7-preview.202.1 → 2.2.7
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/contract/types.d.ts +2 -0
- package/dist/generated/v2-api.d.ts +825 -0
- package/dist/index.js +597 -2
- package/dist/runtime.js +597 -2
- package/package.json +1 -1
|
@@ -130,6 +130,24 @@ type ActivateWorkflowVersionResponseRef5 = {
|
|
|
130
130
|
export type ActivateWorkflowVersionResponse = {
|
|
131
131
|
data: ActivateWorkflowVersionResponseRef4;
|
|
132
132
|
};
|
|
133
|
+
/** `POST /api/v2/organizations/[organizationId]/domains` */
|
|
134
|
+
export type AddOrganizationDomainParams = {
|
|
135
|
+
organizationId: string;
|
|
136
|
+
};
|
|
137
|
+
export type AddOrganizationDomainQuery = Record<string, unknown>;
|
|
138
|
+
export type AddOrganizationDomainBody = {
|
|
139
|
+
domain: string;
|
|
140
|
+
};
|
|
141
|
+
export type AddOrganizationDomainResponse = {
|
|
142
|
+
data: {
|
|
143
|
+
id: string;
|
|
144
|
+
domain: string;
|
|
145
|
+
status: 'pending' | 'verified';
|
|
146
|
+
verifiedAt: string | null;
|
|
147
|
+
challengeHost: string;
|
|
148
|
+
txtRecordValue: string | null;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
133
151
|
/** `POST /api/v2/organizations/[organizationId]/permission-groups/[groupId]/members` */
|
|
134
152
|
export type AddPermissionGroupMemberParams = {
|
|
135
153
|
organizationId: string;
|
|
@@ -2854,6 +2872,18 @@ type DeleteSkillResponseRef0 = {
|
|
|
2854
2872
|
export type DeleteSkillResponse = {
|
|
2855
2873
|
data: DeleteSkillResponseRef0;
|
|
2856
2874
|
};
|
|
2875
|
+
/** `DELETE /api/v2/organizations/[organizationId]/sso/providers/[providerId]` */
|
|
2876
|
+
export type DeleteSsoProviderParams = {
|
|
2877
|
+
organizationId: string;
|
|
2878
|
+
providerId: string;
|
|
2879
|
+
};
|
|
2880
|
+
export type DeleteSsoProviderQuery = Record<string, unknown>;
|
|
2881
|
+
export type DeleteSsoProviderResponse = {
|
|
2882
|
+
data: {
|
|
2883
|
+
providerId: string;
|
|
2884
|
+
deleted: true;
|
|
2885
|
+
};
|
|
2886
|
+
};
|
|
2857
2887
|
/** `DELETE /api/v2/tables/[tableId]` */
|
|
2858
2888
|
export type DeleteTableParams = {
|
|
2859
2889
|
tableId: string;
|
|
@@ -4559,6 +4589,39 @@ type GetSkillResponseRef0 = {
|
|
|
4559
4589
|
export type GetSkillResponse = {
|
|
4560
4590
|
data: GetSkillResponseRef0;
|
|
4561
4591
|
};
|
|
4592
|
+
/** `GET /api/v2/organizations/[organizationId]/sso/policy` */
|
|
4593
|
+
export type GetSsoPolicyParams = {
|
|
4594
|
+
organizationId: string;
|
|
4595
|
+
};
|
|
4596
|
+
export type GetSsoPolicyQuery = Record<string, unknown>;
|
|
4597
|
+
export type GetSsoPolicyResponse = {
|
|
4598
|
+
data: {
|
|
4599
|
+
requireSso: boolean;
|
|
4600
|
+
hasVerifiedProvider: boolean;
|
|
4601
|
+
isEnforced: boolean;
|
|
4602
|
+
};
|
|
4603
|
+
};
|
|
4604
|
+
/** `GET /api/v2/organizations/[organizationId]/sso/providers/[providerId]` */
|
|
4605
|
+
export type GetSsoProviderParams = {
|
|
4606
|
+
organizationId: string;
|
|
4607
|
+
providerId: string;
|
|
4608
|
+
};
|
|
4609
|
+
export type GetSsoProviderQuery = Record<string, unknown>;
|
|
4610
|
+
export type GetSsoProviderResponse = {
|
|
4611
|
+
data: {
|
|
4612
|
+
id: string;
|
|
4613
|
+
providerId: string;
|
|
4614
|
+
providerType: 'oidc' | 'saml';
|
|
4615
|
+
domain: string;
|
|
4616
|
+
domainKey: string;
|
|
4617
|
+
issuer: string;
|
|
4618
|
+
oidcConfig: string | null;
|
|
4619
|
+
samlConfig: string | null;
|
|
4620
|
+
jitProvisioningEnabled: boolean;
|
|
4621
|
+
domainVerified: boolean;
|
|
4622
|
+
isPrimary: boolean;
|
|
4623
|
+
};
|
|
4624
|
+
};
|
|
4562
4625
|
/** `GET /api/v2/tables/[tableId]` */
|
|
4563
4626
|
export type GetTableParams = {
|
|
4564
4627
|
tableId: string;
|
|
@@ -5602,6 +5665,31 @@ export type ListConnectorTypesResponse = {
|
|
|
5602
5665
|
data: Array<ListConnectorTypesResponseRef0 | ListConnectorTypesResponseRef2>;
|
|
5603
5666
|
nextCursor: string | null;
|
|
5604
5667
|
};
|
|
5668
|
+
/** `GET /api/v2/credentials/[credentialId]/members` */
|
|
5669
|
+
export type ListCredentialMembersParams = {
|
|
5670
|
+
credentialId: string;
|
|
5671
|
+
};
|
|
5672
|
+
export type ListCredentialMembersQuery = {
|
|
5673
|
+
workspaceId: string;
|
|
5674
|
+
limit?: number;
|
|
5675
|
+
cursor?: string;
|
|
5676
|
+
sortBy?: 'email' | 'name';
|
|
5677
|
+
sortOrder?: 'asc' | 'desc';
|
|
5678
|
+
};
|
|
5679
|
+
export type ListCredentialMembersResponse = {
|
|
5680
|
+
data: Array<{
|
|
5681
|
+
id: string;
|
|
5682
|
+
userId: string;
|
|
5683
|
+
role: 'admin' | 'member';
|
|
5684
|
+
status: 'active' | 'pending' | 'revoked';
|
|
5685
|
+
joinedAt: string | null;
|
|
5686
|
+
userName: string | null;
|
|
5687
|
+
userEmail: string | null;
|
|
5688
|
+
userImage: string | null;
|
|
5689
|
+
roleSource: 'explicit' | 'workspace-admin';
|
|
5690
|
+
}>;
|
|
5691
|
+
nextCursor: string | null;
|
|
5692
|
+
};
|
|
5605
5693
|
/** `GET /api/v2/credentials/providers` */
|
|
5606
5694
|
export type ListCredentialProvidersQuery = {
|
|
5607
5695
|
workspaceId: string;
|
|
@@ -6374,6 +6462,27 @@ export type ListOrganizationAccessRequestsResponse = {
|
|
|
6374
6462
|
data: Array<ListOrganizationAccessRequestsResponseRef0>;
|
|
6375
6463
|
nextCursor: string | null;
|
|
6376
6464
|
};
|
|
6465
|
+
/** `GET /api/v2/organizations/[organizationId]/domains` */
|
|
6466
|
+
export type ListOrganizationDomainsParams = {
|
|
6467
|
+
organizationId: string;
|
|
6468
|
+
};
|
|
6469
|
+
export type ListOrganizationDomainsQuery = {
|
|
6470
|
+
limit?: number;
|
|
6471
|
+
cursor?: string;
|
|
6472
|
+
sortBy?: 'domain';
|
|
6473
|
+
sortOrder?: 'asc' | 'desc';
|
|
6474
|
+
};
|
|
6475
|
+
export type ListOrganizationDomainsResponse = {
|
|
6476
|
+
data: Array<{
|
|
6477
|
+
id: string;
|
|
6478
|
+
domain: string;
|
|
6479
|
+
status: 'pending' | 'verified';
|
|
6480
|
+
verifiedAt: string | null;
|
|
6481
|
+
challengeHost: string;
|
|
6482
|
+
txtRecordValue: string | null;
|
|
6483
|
+
}>;
|
|
6484
|
+
nextCursor: string | null;
|
|
6485
|
+
};
|
|
6377
6486
|
/** `GET /api/v2/organizations/[organizationId]/invitations` */
|
|
6378
6487
|
export type ListOrganizationInvitationsParams = {
|
|
6379
6488
|
organizationId: string;
|
|
@@ -6722,6 +6831,32 @@ export type ListSkillsResponse = {
|
|
|
6722
6831
|
data: Array<ListSkillsResponseRef0>;
|
|
6723
6832
|
nextCursor: string | null;
|
|
6724
6833
|
};
|
|
6834
|
+
/** `GET /api/v2/organizations/[organizationId]/sso/providers` */
|
|
6835
|
+
export type ListSsoProvidersParams = {
|
|
6836
|
+
organizationId: string;
|
|
6837
|
+
};
|
|
6838
|
+
export type ListSsoProvidersQuery = {
|
|
6839
|
+
limit?: number;
|
|
6840
|
+
cursor?: string;
|
|
6841
|
+
sortBy?: 'providerId' | 'domain';
|
|
6842
|
+
sortOrder?: 'asc' | 'desc';
|
|
6843
|
+
};
|
|
6844
|
+
export type ListSsoProvidersResponse = {
|
|
6845
|
+
data: Array<{
|
|
6846
|
+
id: string;
|
|
6847
|
+
providerId: string;
|
|
6848
|
+
providerType: 'oidc' | 'saml';
|
|
6849
|
+
domain: string;
|
|
6850
|
+
domainKey: string;
|
|
6851
|
+
issuer: string;
|
|
6852
|
+
oidcConfig: string | null;
|
|
6853
|
+
samlConfig: string | null;
|
|
6854
|
+
jitProvisioningEnabled: boolean;
|
|
6855
|
+
domainVerified: boolean;
|
|
6856
|
+
isPrimary: boolean;
|
|
6857
|
+
}>;
|
|
6858
|
+
nextCursor: string | null;
|
|
6859
|
+
};
|
|
6725
6860
|
/** `GET /api/v2/tables/[tableId]/dispatches` */
|
|
6726
6861
|
export type ListTableDispatchesParams = {
|
|
6727
6862
|
tableId: string;
|
|
@@ -8162,6 +8297,32 @@ type RelocateWorkflowFolderResponseRef0 = {
|
|
|
8162
8297
|
export type RelocateWorkflowFolderResponse = {
|
|
8163
8298
|
data: RelocateWorkflowFolderResponseRef0;
|
|
8164
8299
|
};
|
|
8300
|
+
/** `DELETE /api/v2/credentials/[credentialId]/members/[userId]` */
|
|
8301
|
+
export type RemoveCredentialMemberParams = {
|
|
8302
|
+
credentialId: string;
|
|
8303
|
+
userId: string;
|
|
8304
|
+
};
|
|
8305
|
+
export type RemoveCredentialMemberQuery = {
|
|
8306
|
+
workspaceId: string;
|
|
8307
|
+
};
|
|
8308
|
+
export type RemoveCredentialMemberResponse = {
|
|
8309
|
+
data: {
|
|
8310
|
+
userId: string;
|
|
8311
|
+
revoked: true;
|
|
8312
|
+
};
|
|
8313
|
+
};
|
|
8314
|
+
/** `DELETE /api/v2/organizations/[organizationId]/domains/[domainId]` */
|
|
8315
|
+
export type RemoveOrganizationDomainParams = {
|
|
8316
|
+
organizationId: string;
|
|
8317
|
+
domainId: string;
|
|
8318
|
+
};
|
|
8319
|
+
export type RemoveOrganizationDomainQuery = Record<string, unknown>;
|
|
8320
|
+
export type RemoveOrganizationDomainResponse = {
|
|
8321
|
+
data: {
|
|
8322
|
+
id: string;
|
|
8323
|
+
deleted: true;
|
|
8324
|
+
};
|
|
8325
|
+
};
|
|
8165
8326
|
/** `DELETE /api/v2/organizations/[organizationId]/members/[userId]` */
|
|
8166
8327
|
export type RemoveOrganizationMemberParams = {
|
|
8167
8328
|
organizationId: string;
|
|
@@ -8922,6 +9083,61 @@ type RunRowEnrichmentResponseRef0 = {
|
|
|
8922
9083
|
export type RunRowEnrichmentResponse = {
|
|
8923
9084
|
data: RunRowEnrichmentResponseRef0;
|
|
8924
9085
|
};
|
|
9086
|
+
/** `POST /api/v2/organizations/[organizationId]/sso/providers` */
|
|
9087
|
+
export type SaveSsoProviderParams = {
|
|
9088
|
+
organizationId: string;
|
|
9089
|
+
};
|
|
9090
|
+
export type SaveSsoProviderQuery = Record<string, unknown>;
|
|
9091
|
+
export type SaveSsoProviderBody = {
|
|
9092
|
+
providerType: 'oidc';
|
|
9093
|
+
providerId: string;
|
|
9094
|
+
issuer: string;
|
|
9095
|
+
domain: string;
|
|
9096
|
+
jitProvisioningEnabled?: boolean;
|
|
9097
|
+
mapping?: {
|
|
9098
|
+
id?: string;
|
|
9099
|
+
email?: string;
|
|
9100
|
+
name?: string;
|
|
9101
|
+
image?: string;
|
|
9102
|
+
};
|
|
9103
|
+
clientId: string;
|
|
9104
|
+
clientSecret: string;
|
|
9105
|
+
scopes?: Array<string>;
|
|
9106
|
+
pkce?: boolean;
|
|
9107
|
+
authorizationEndpoint?: string;
|
|
9108
|
+
tokenEndpoint?: string;
|
|
9109
|
+
userInfoEndpoint?: string;
|
|
9110
|
+
skipUserInfoEndpoint?: boolean;
|
|
9111
|
+
jwksEndpoint?: string;
|
|
9112
|
+
} | {
|
|
9113
|
+
providerType: 'saml';
|
|
9114
|
+
providerId: string;
|
|
9115
|
+
issuer: string;
|
|
9116
|
+
domain: string;
|
|
9117
|
+
jitProvisioningEnabled?: boolean;
|
|
9118
|
+
mapping?: {
|
|
9119
|
+
id?: string;
|
|
9120
|
+
email?: string;
|
|
9121
|
+
name?: string;
|
|
9122
|
+
image?: string;
|
|
9123
|
+
};
|
|
9124
|
+
entryPoint: string;
|
|
9125
|
+
cert: string;
|
|
9126
|
+
callbackUrl?: string;
|
|
9127
|
+
audience?: string;
|
|
9128
|
+
wantAssertionsSigned?: boolean;
|
|
9129
|
+
signatureAlgorithm?: string;
|
|
9130
|
+
digestAlgorithm?: string;
|
|
9131
|
+
identifierFormat?: string;
|
|
9132
|
+
idpMetadata?: string;
|
|
9133
|
+
};
|
|
9134
|
+
export type SaveSsoProviderResponse = {
|
|
9135
|
+
data: {
|
|
9136
|
+
providerId: string;
|
|
9137
|
+
providerType: 'oidc' | 'saml';
|
|
9138
|
+
created: boolean;
|
|
9139
|
+
};
|
|
9140
|
+
};
|
|
8925
9141
|
/** `GET /api/v2/files/search` */
|
|
8926
9142
|
export type SearchFileContentQuery = {
|
|
8927
9143
|
workspaceId: string;
|
|
@@ -9038,6 +9254,19 @@ type SearchTableRowsResponseRef1 = {
|
|
|
9038
9254
|
export type SearchTableRowsResponse = {
|
|
9039
9255
|
data: SearchTableRowsResponseRef1;
|
|
9040
9256
|
};
|
|
9257
|
+
/** `POST /api/v2/organizations/[organizationId]/sso/providers/[providerId]/primary` */
|
|
9258
|
+
export type SetPrimarySsoProviderParams = {
|
|
9259
|
+
organizationId: string;
|
|
9260
|
+
providerId: string;
|
|
9261
|
+
};
|
|
9262
|
+
export type SetPrimarySsoProviderQuery = Record<string, unknown>;
|
|
9263
|
+
export type SetPrimarySsoProviderBody = Record<string, unknown>;
|
|
9264
|
+
export type SetPrimarySsoProviderResponse = {
|
|
9265
|
+
data: {
|
|
9266
|
+
providerId: string;
|
|
9267
|
+
domain: string;
|
|
9268
|
+
};
|
|
9269
|
+
};
|
|
9041
9270
|
/** `PUT /api/v2/secrets/[name]` */
|
|
9042
9271
|
export type SetSecretParams = {
|
|
9043
9272
|
name: string;
|
|
@@ -9815,6 +10044,21 @@ type UpdateSkillResponseRef0 = {
|
|
|
9815
10044
|
export type UpdateSkillResponse = {
|
|
9816
10045
|
data: UpdateSkillResponseRef0;
|
|
9817
10046
|
};
|
|
10047
|
+
/** `PATCH /api/v2/organizations/[organizationId]/sso/policy` */
|
|
10048
|
+
export type UpdateSsoPolicyParams = {
|
|
10049
|
+
organizationId: string;
|
|
10050
|
+
};
|
|
10051
|
+
export type UpdateSsoPolicyQuery = Record<string, unknown>;
|
|
10052
|
+
export type UpdateSsoPolicyBody = {
|
|
10053
|
+
requireSso: boolean;
|
|
10054
|
+
};
|
|
10055
|
+
export type UpdateSsoPolicyResponse = {
|
|
10056
|
+
data: {
|
|
10057
|
+
requireSso: boolean;
|
|
10058
|
+
hasVerifiedProvider: boolean;
|
|
10059
|
+
isEnforced: boolean;
|
|
10060
|
+
};
|
|
10061
|
+
};
|
|
9818
10062
|
/** `PATCH /api/v2/tables/[tableId]` */
|
|
9819
10063
|
export type UpdateTableParams = {
|
|
9820
10064
|
tableId: string;
|
|
@@ -10246,6 +10490,24 @@ type UploadKnowledgeDocumentResponseRef0 = {
|
|
|
10246
10490
|
export type UploadKnowledgeDocumentResponse = {
|
|
10247
10491
|
data: UploadKnowledgeDocumentResponseRef0;
|
|
10248
10492
|
};
|
|
10493
|
+
/** `POST /api/v2/credentials/[credentialId]/members` */
|
|
10494
|
+
export type UpsertCredentialMemberParams = {
|
|
10495
|
+
credentialId: string;
|
|
10496
|
+
};
|
|
10497
|
+
export type UpsertCredentialMemberQuery = {
|
|
10498
|
+
workspaceId: string;
|
|
10499
|
+
};
|
|
10500
|
+
export type UpsertCredentialMemberBody = {
|
|
10501
|
+
userId: string;
|
|
10502
|
+
role: 'admin' | 'member';
|
|
10503
|
+
};
|
|
10504
|
+
export type UpsertCredentialMemberResponse = {
|
|
10505
|
+
data: {
|
|
10506
|
+
userId: string;
|
|
10507
|
+
role: 'admin' | 'member';
|
|
10508
|
+
created: boolean;
|
|
10509
|
+
};
|
|
10510
|
+
};
|
|
10249
10511
|
/** `PATCH /api/v2/files/[fileId]/share` */
|
|
10250
10512
|
export type UpsertFileShareParams = {
|
|
10251
10513
|
fileId: string;
|
|
@@ -10307,6 +10569,23 @@ type UpsertTableRowResponseRef3 = {
|
|
|
10307
10569
|
export type UpsertTableRowResponse = {
|
|
10308
10570
|
data: UpsertTableRowResponseRef3;
|
|
10309
10571
|
};
|
|
10572
|
+
/** `POST /api/v2/organizations/[organizationId]/domains/[domainId]/verify` */
|
|
10573
|
+
export type VerifyOrganizationDomainParams = {
|
|
10574
|
+
organizationId: string;
|
|
10575
|
+
domainId: string;
|
|
10576
|
+
};
|
|
10577
|
+
export type VerifyOrganizationDomainQuery = Record<string, unknown>;
|
|
10578
|
+
export type VerifyOrganizationDomainBody = Record<string, unknown>;
|
|
10579
|
+
export type VerifyOrganizationDomainResponse = {
|
|
10580
|
+
data: {
|
|
10581
|
+
id: string;
|
|
10582
|
+
domain: string;
|
|
10583
|
+
status: 'pending' | 'verified';
|
|
10584
|
+
verifiedAt: string | null;
|
|
10585
|
+
challengeHost: string;
|
|
10586
|
+
txtRecordValue: string | null;
|
|
10587
|
+
};
|
|
10588
|
+
};
|
|
10310
10589
|
/**
|
|
10311
10590
|
* Every v2 operation, keyed by name.
|
|
10312
10591
|
*
|
|
@@ -10385,6 +10664,24 @@ export declare const V2_OPERATIONS: {
|
|
|
10385
10664
|
readonly summary: 'Activate Workflow Version';
|
|
10386
10665
|
readonly workspaceKeyUnsupported: true;
|
|
10387
10666
|
};
|
|
10667
|
+
readonly addOrganizationDomain: {
|
|
10668
|
+
readonly method: 'POST';
|
|
10669
|
+
readonly path: '/api/v2/organizations/[organizationId]/domains';
|
|
10670
|
+
readonly pathParams: readonly ['organizationId'];
|
|
10671
|
+
readonly pathParamDocs: {
|
|
10672
|
+
readonly organizationId: 'Organization whose single sign-on settings and verified domains are managed.';
|
|
10673
|
+
};
|
|
10674
|
+
readonly responseMode: 'json';
|
|
10675
|
+
readonly summary: 'Add Organization Domain';
|
|
10676
|
+
readonly workspaceKeyUnsupported: true;
|
|
10677
|
+
readonly body: {
|
|
10678
|
+
readonly domain: {
|
|
10679
|
+
readonly kind: 'string';
|
|
10680
|
+
readonly required: true;
|
|
10681
|
+
readonly describe: 'Domain to claim and verify through a DNS TXT record.';
|
|
10682
|
+
};
|
|
10683
|
+
};
|
|
10684
|
+
};
|
|
10388
10685
|
readonly addPermissionGroupMember: {
|
|
10389
10686
|
readonly method: 'POST';
|
|
10390
10687
|
readonly path: '/api/v2/organizations/[organizationId]/permission-groups/[groupId]/members';
|
|
@@ -12345,6 +12642,18 @@ export declare const V2_OPERATIONS: {
|
|
|
12345
12642
|
};
|
|
12346
12643
|
};
|
|
12347
12644
|
};
|
|
12645
|
+
readonly deleteSsoProvider: {
|
|
12646
|
+
readonly method: 'DELETE';
|
|
12647
|
+
readonly path: '/api/v2/organizations/[organizationId]/sso/providers/[providerId]';
|
|
12648
|
+
readonly pathParams: readonly ['organizationId', 'providerId'];
|
|
12649
|
+
readonly pathParamDocs: {
|
|
12650
|
+
readonly organizationId: 'Organization whose single sign-on settings and verified domains are managed.';
|
|
12651
|
+
readonly providerId: 'Identity provider identifier.';
|
|
12652
|
+
};
|
|
12653
|
+
readonly responseMode: 'json';
|
|
12654
|
+
readonly summary: 'Delete SSO Provider';
|
|
12655
|
+
readonly workspaceKeyUnsupported: true;
|
|
12656
|
+
};
|
|
12348
12657
|
readonly deleteTable: {
|
|
12349
12658
|
readonly method: 'DELETE';
|
|
12350
12659
|
readonly path: '/api/v2/tables/[tableId]';
|
|
@@ -13525,6 +13834,29 @@ export declare const V2_OPERATIONS: {
|
|
|
13525
13834
|
};
|
|
13526
13835
|
};
|
|
13527
13836
|
};
|
|
13837
|
+
readonly getSsoPolicy: {
|
|
13838
|
+
readonly method: 'GET';
|
|
13839
|
+
readonly path: '/api/v2/organizations/[organizationId]/sso/policy';
|
|
13840
|
+
readonly pathParams: readonly ['organizationId'];
|
|
13841
|
+
readonly pathParamDocs: {
|
|
13842
|
+
readonly organizationId: 'Organization whose single sign-on settings and verified domains are managed.';
|
|
13843
|
+
};
|
|
13844
|
+
readonly responseMode: 'json';
|
|
13845
|
+
readonly summary: 'Get SSO Policy';
|
|
13846
|
+
readonly workspaceKeyUnsupported: true;
|
|
13847
|
+
};
|
|
13848
|
+
readonly getSsoProvider: {
|
|
13849
|
+
readonly method: 'GET';
|
|
13850
|
+
readonly path: '/api/v2/organizations/[organizationId]/sso/providers/[providerId]';
|
|
13851
|
+
readonly pathParams: readonly ['organizationId', 'providerId'];
|
|
13852
|
+
readonly pathParamDocs: {
|
|
13853
|
+
readonly organizationId: 'Organization whose single sign-on settings and verified domains are managed.';
|
|
13854
|
+
readonly providerId: 'Identity provider identifier.';
|
|
13855
|
+
};
|
|
13856
|
+
readonly responseMode: 'json';
|
|
13857
|
+
readonly summary: 'Get SSO Provider';
|
|
13858
|
+
readonly workspaceKeyUnsupported: true;
|
|
13859
|
+
};
|
|
13528
13860
|
readonly getTable: {
|
|
13529
13861
|
readonly method: 'GET';
|
|
13530
13862
|
readonly path: '/api/v2/tables/[tableId]';
|
|
@@ -14153,6 +14485,45 @@ export declare const V2_OPERATIONS: {
|
|
|
14153
14485
|
};
|
|
14154
14486
|
};
|
|
14155
14487
|
};
|
|
14488
|
+
readonly listCredentialMembers: {
|
|
14489
|
+
readonly method: 'GET';
|
|
14490
|
+
readonly path: '/api/v2/credentials/[credentialId]/members';
|
|
14491
|
+
readonly pathParams: readonly ['credentialId'];
|
|
14492
|
+
readonly pathParamDocs: {
|
|
14493
|
+
readonly credentialId: 'Credential whose sharing grants are managed.';
|
|
14494
|
+
};
|
|
14495
|
+
readonly responseMode: 'json';
|
|
14496
|
+
readonly summary: 'List Credential Members';
|
|
14497
|
+
readonly workspaceKeyUnsupported: true;
|
|
14498
|
+
readonly query: {
|
|
14499
|
+
readonly workspaceId: {
|
|
14500
|
+
readonly kind: 'string';
|
|
14501
|
+
readonly required: true;
|
|
14502
|
+
readonly describe: 'Workspace expected to own the credential.';
|
|
14503
|
+
};
|
|
14504
|
+
readonly limit: {
|
|
14505
|
+
readonly kind: 'integer';
|
|
14506
|
+
readonly default: 50;
|
|
14507
|
+
readonly describe: 'Maximum credential members to return per page. Must be a whole number from 1 to 100. Defaults to 50.';
|
|
14508
|
+
};
|
|
14509
|
+
readonly cursor: {
|
|
14510
|
+
readonly kind: 'string';
|
|
14511
|
+
readonly describe: 'Opaque cursor from the previous page. Send it back with the same sort and filters; only `limit` may change. Change anything else and pagination must restart without a cursor.';
|
|
14512
|
+
};
|
|
14513
|
+
readonly sortBy: {
|
|
14514
|
+
readonly kind: 'enum';
|
|
14515
|
+
readonly values: readonly ['email', 'name'];
|
|
14516
|
+
readonly default: 'email';
|
|
14517
|
+
readonly describe: 'Field used to sort the result. Sorting by `name` is case-sensitive and follows the storage collation, so do not rely on a case-insensitive order.';
|
|
14518
|
+
};
|
|
14519
|
+
readonly sortOrder: {
|
|
14520
|
+
readonly kind: 'enum';
|
|
14521
|
+
readonly values: readonly ['asc', 'desc'];
|
|
14522
|
+
readonly default: 'asc';
|
|
14523
|
+
readonly describe: 'Sort direction.';
|
|
14524
|
+
};
|
|
14525
|
+
};
|
|
14526
|
+
};
|
|
14156
14527
|
readonly listCredentialProviders: {
|
|
14157
14528
|
readonly method: 'GET';
|
|
14158
14529
|
readonly path: '/api/v2/credentials/providers';
|
|
@@ -14986,6 +15357,40 @@ export declare const V2_OPERATIONS: {
|
|
|
14986
15357
|
};
|
|
14987
15358
|
};
|
|
14988
15359
|
};
|
|
15360
|
+
readonly listOrganizationDomains: {
|
|
15361
|
+
readonly method: 'GET';
|
|
15362
|
+
readonly path: '/api/v2/organizations/[organizationId]/domains';
|
|
15363
|
+
readonly pathParams: readonly ['organizationId'];
|
|
15364
|
+
readonly pathParamDocs: {
|
|
15365
|
+
readonly organizationId: 'Organization whose single sign-on settings and verified domains are managed.';
|
|
15366
|
+
};
|
|
15367
|
+
readonly responseMode: 'json';
|
|
15368
|
+
readonly summary: 'List Organization Domains';
|
|
15369
|
+
readonly workspaceKeyUnsupported: true;
|
|
15370
|
+
readonly query: {
|
|
15371
|
+
readonly limit: {
|
|
15372
|
+
readonly kind: 'integer';
|
|
15373
|
+
readonly default: 50;
|
|
15374
|
+
readonly describe: 'Maximum domain claims to return per page. Must be a whole number from 1 to 100. Defaults to 50.';
|
|
15375
|
+
};
|
|
15376
|
+
readonly cursor: {
|
|
15377
|
+
readonly kind: 'string';
|
|
15378
|
+
readonly describe: 'Opaque cursor from the previous page. Send it back with the same sort and filters; only `limit` may change. Change anything else and pagination must restart without a cursor.';
|
|
15379
|
+
};
|
|
15380
|
+
readonly sortBy: {
|
|
15381
|
+
readonly kind: 'enum';
|
|
15382
|
+
readonly values: readonly ['domain'];
|
|
15383
|
+
readonly default: 'domain';
|
|
15384
|
+
readonly describe: 'Field used to sort the result.';
|
|
15385
|
+
};
|
|
15386
|
+
readonly sortOrder: {
|
|
15387
|
+
readonly kind: 'enum';
|
|
15388
|
+
readonly values: readonly ['asc', 'desc'];
|
|
15389
|
+
readonly default: 'asc';
|
|
15390
|
+
readonly describe: 'Sort direction.';
|
|
15391
|
+
};
|
|
15392
|
+
};
|
|
15393
|
+
};
|
|
14989
15394
|
readonly listOrganizationInvitations: {
|
|
14990
15395
|
readonly method: 'GET';
|
|
14991
15396
|
readonly path: '/api/v2/organizations/[organizationId]/invitations';
|
|
@@ -15510,6 +15915,40 @@ export declare const V2_OPERATIONS: {
|
|
|
15510
15915
|
};
|
|
15511
15916
|
};
|
|
15512
15917
|
};
|
|
15918
|
+
readonly listSsoProviders: {
|
|
15919
|
+
readonly method: 'GET';
|
|
15920
|
+
readonly path: '/api/v2/organizations/[organizationId]/sso/providers';
|
|
15921
|
+
readonly pathParams: readonly ['organizationId'];
|
|
15922
|
+
readonly pathParamDocs: {
|
|
15923
|
+
readonly organizationId: 'Organization whose single sign-on settings and verified domains are managed.';
|
|
15924
|
+
};
|
|
15925
|
+
readonly responseMode: 'json';
|
|
15926
|
+
readonly summary: 'List SSO Providers';
|
|
15927
|
+
readonly workspaceKeyUnsupported: true;
|
|
15928
|
+
readonly query: {
|
|
15929
|
+
readonly limit: {
|
|
15930
|
+
readonly kind: 'integer';
|
|
15931
|
+
readonly default: 50;
|
|
15932
|
+
readonly describe: 'Maximum identity providers to return per page. Must be a whole number from 1 to 100. Defaults to 50.';
|
|
15933
|
+
};
|
|
15934
|
+
readonly cursor: {
|
|
15935
|
+
readonly kind: 'string';
|
|
15936
|
+
readonly describe: 'Opaque cursor from the previous page. Send it back with the same sort and filters; only `limit` may change. Change anything else and pagination must restart without a cursor.';
|
|
15937
|
+
};
|
|
15938
|
+
readonly sortBy: {
|
|
15939
|
+
readonly kind: 'enum';
|
|
15940
|
+
readonly values: readonly ['providerId', 'domain'];
|
|
15941
|
+
readonly default: 'providerId';
|
|
15942
|
+
readonly describe: 'Field used to sort the result.';
|
|
15943
|
+
};
|
|
15944
|
+
readonly sortOrder: {
|
|
15945
|
+
readonly kind: 'enum';
|
|
15946
|
+
readonly values: readonly ['asc', 'desc'];
|
|
15947
|
+
readonly default: 'asc';
|
|
15948
|
+
readonly describe: 'Sort direction.';
|
|
15949
|
+
};
|
|
15950
|
+
};
|
|
15951
|
+
};
|
|
15513
15952
|
readonly listTableDispatches: {
|
|
15514
15953
|
readonly method: 'GET';
|
|
15515
15954
|
readonly path: '/api/v2/tables/[tableId]/dispatches';
|
|
@@ -16617,6 +17056,37 @@ export declare const V2_OPERATIONS: {
|
|
|
16617
17056
|
};
|
|
16618
17057
|
};
|
|
16619
17058
|
};
|
|
17059
|
+
readonly removeCredentialMember: {
|
|
17060
|
+
readonly method: 'DELETE';
|
|
17061
|
+
readonly path: '/api/v2/credentials/[credentialId]/members/[userId]';
|
|
17062
|
+
readonly pathParams: readonly ['credentialId', 'userId'];
|
|
17063
|
+
readonly pathParamDocs: {
|
|
17064
|
+
readonly credentialId: 'Credential whose sharing grants are managed.';
|
|
17065
|
+
readonly userId: 'User whose explicit grant will be revoked.';
|
|
17066
|
+
};
|
|
17067
|
+
readonly responseMode: 'json';
|
|
17068
|
+
readonly summary: 'Remove Credential Member';
|
|
17069
|
+
readonly workspaceKeyUnsupported: true;
|
|
17070
|
+
readonly query: {
|
|
17071
|
+
readonly workspaceId: {
|
|
17072
|
+
readonly kind: 'string';
|
|
17073
|
+
readonly required: true;
|
|
17074
|
+
readonly describe: 'Workspace expected to own the credential.';
|
|
17075
|
+
};
|
|
17076
|
+
};
|
|
17077
|
+
};
|
|
17078
|
+
readonly removeOrganizationDomain: {
|
|
17079
|
+
readonly method: 'DELETE';
|
|
17080
|
+
readonly path: '/api/v2/organizations/[organizationId]/domains/[domainId]';
|
|
17081
|
+
readonly pathParams: readonly ['organizationId', 'domainId'];
|
|
17082
|
+
readonly pathParamDocs: {
|
|
17083
|
+
readonly organizationId: 'Organization whose single sign-on settings and verified domains are managed.';
|
|
17084
|
+
readonly domainId: 'Domain claim owned by this organization.';
|
|
17085
|
+
};
|
|
17086
|
+
readonly responseMode: 'json';
|
|
17087
|
+
readonly summary: 'Remove Organization Domain';
|
|
17088
|
+
readonly workspaceKeyUnsupported: true;
|
|
17089
|
+
};
|
|
16620
17090
|
readonly removeOrganizationMember: {
|
|
16621
17091
|
readonly method: 'DELETE';
|
|
16622
17092
|
readonly path: '/api/v2/organizations/[organizationId]/members/[userId]';
|
|
@@ -17089,6 +17559,288 @@ export declare const V2_OPERATIONS: {
|
|
|
17089
17559
|
};
|
|
17090
17560
|
};
|
|
17091
17561
|
};
|
|
17562
|
+
readonly saveSsoProvider: {
|
|
17563
|
+
readonly method: 'POST';
|
|
17564
|
+
readonly path: '/api/v2/organizations/[organizationId]/sso/providers';
|
|
17565
|
+
readonly pathParams: readonly ['organizationId'];
|
|
17566
|
+
readonly pathParamDocs: {
|
|
17567
|
+
readonly organizationId: 'Organization whose single sign-on settings and verified domains are managed.';
|
|
17568
|
+
};
|
|
17569
|
+
readonly responseMode: 'json';
|
|
17570
|
+
readonly summary: 'Save SSO Provider';
|
|
17571
|
+
readonly workspaceKeyUnsupported: true;
|
|
17572
|
+
readonly body: {
|
|
17573
|
+
readonly providerType: {
|
|
17574
|
+
readonly kind: 'enum';
|
|
17575
|
+
readonly required: true;
|
|
17576
|
+
readonly values: readonly ['oidc', 'saml'];
|
|
17577
|
+
readonly describe: 'oidc: Configure an OpenID Connect identity provider. saml: Configure a SAML identity provider.';
|
|
17578
|
+
};
|
|
17579
|
+
readonly providerId: {
|
|
17580
|
+
readonly kind: 'string';
|
|
17581
|
+
readonly required: true;
|
|
17582
|
+
readonly describe: 'Globally unique provider ID; saving an existing provider replaces its supplied configuration.';
|
|
17583
|
+
};
|
|
17584
|
+
readonly issuer: {
|
|
17585
|
+
readonly kind: 'string';
|
|
17586
|
+
readonly required: true;
|
|
17587
|
+
readonly describe: 'Identity provider issuer URL.';
|
|
17588
|
+
};
|
|
17589
|
+
readonly domain: {
|
|
17590
|
+
readonly kind: 'string';
|
|
17591
|
+
readonly required: true;
|
|
17592
|
+
readonly describe: 'Email domain already verified by this organization.';
|
|
17593
|
+
};
|
|
17594
|
+
readonly jitProvisioningEnabled: {
|
|
17595
|
+
readonly kind: 'boolean';
|
|
17596
|
+
readonly default: true;
|
|
17597
|
+
readonly describe: 'Allow SSO sign-in to provision organization membership, subject to eligibility and available seats.';
|
|
17598
|
+
};
|
|
17599
|
+
readonly mapping: {
|
|
17600
|
+
readonly kind: 'object';
|
|
17601
|
+
readonly default: {
|
|
17602
|
+
readonly id: 'sub';
|
|
17603
|
+
readonly email: 'email';
|
|
17604
|
+
readonly name: 'name';
|
|
17605
|
+
readonly image: 'picture';
|
|
17606
|
+
};
|
|
17607
|
+
readonly describe: 'Identity-provider claims mapped to user fields.';
|
|
17608
|
+
};
|
|
17609
|
+
readonly clientId: {
|
|
17610
|
+
readonly kind: 'string';
|
|
17611
|
+
readonly describe: 'Identity provider client identifier. Available when providerType is oidc. Required when providerType is oidc.';
|
|
17612
|
+
};
|
|
17613
|
+
readonly clientSecret: {
|
|
17614
|
+
readonly kind: 'string';
|
|
17615
|
+
readonly describe: 'Write-only client secret; the redacted marker from Get SSO Provider preserves an existing secret. Available when providerType is oidc. Required when providerType is oidc.';
|
|
17616
|
+
};
|
|
17617
|
+
readonly scopes: {
|
|
17618
|
+
readonly kind: 'array';
|
|
17619
|
+
readonly default: readonly ['openid', 'profile', 'email'];
|
|
17620
|
+
readonly describe: 'OIDC scopes; offline_access is omitted. Available when providerType is oidc.';
|
|
17621
|
+
};
|
|
17622
|
+
readonly pkce: {
|
|
17623
|
+
readonly kind: 'boolean';
|
|
17624
|
+
readonly default: true;
|
|
17625
|
+
readonly describe: 'Use PKCE for the authorization flow. Available when providerType is oidc.';
|
|
17626
|
+
};
|
|
17627
|
+
readonly authorizationEndpoint: {
|
|
17628
|
+
readonly kind: 'string';
|
|
17629
|
+
readonly describe: 'Optional authorization endpoint; otherwise resolved through issuer discovery. Available when providerType is oidc.';
|
|
17630
|
+
};
|
|
17631
|
+
readonly tokenEndpoint: {
|
|
17632
|
+
readonly kind: 'string';
|
|
17633
|
+
readonly describe: 'Optional token endpoint; otherwise resolved through issuer discovery. Available when providerType is oidc.';
|
|
17634
|
+
};
|
|
17635
|
+
readonly userInfoEndpoint: {
|
|
17636
|
+
readonly kind: 'string';
|
|
17637
|
+
readonly describe: 'Optional UserInfo endpoint. Available when providerType is oidc.';
|
|
17638
|
+
};
|
|
17639
|
+
readonly skipUserInfoEndpoint: {
|
|
17640
|
+
readonly kind: 'boolean';
|
|
17641
|
+
readonly default: false;
|
|
17642
|
+
readonly describe: 'Read identity claims from the ID token instead of calling UserInfo. Available when providerType is oidc.';
|
|
17643
|
+
};
|
|
17644
|
+
readonly jwksEndpoint: {
|
|
17645
|
+
readonly kind: 'string';
|
|
17646
|
+
readonly describe: 'Optional signing-key endpoint; otherwise resolved through issuer discovery. Available when providerType is oidc.';
|
|
17647
|
+
};
|
|
17648
|
+
readonly entryPoint: {
|
|
17649
|
+
readonly kind: 'string';
|
|
17650
|
+
readonly describe: 'Identity provider SAML sign-in endpoint. Available when providerType is saml. Required when providerType is saml.';
|
|
17651
|
+
};
|
|
17652
|
+
readonly cert: {
|
|
17653
|
+
readonly kind: 'string';
|
|
17654
|
+
readonly describe: 'Identity provider signing certificate. Available when providerType is saml. Required when providerType is saml.';
|
|
17655
|
+
};
|
|
17656
|
+
readonly callbackUrl: {
|
|
17657
|
+
readonly kind: 'string';
|
|
17658
|
+
readonly describe: 'SAML callback URL; defaults to this provider’s Sim callback. Available when providerType is saml.';
|
|
17659
|
+
};
|
|
17660
|
+
readonly audience: {
|
|
17661
|
+
readonly kind: 'string';
|
|
17662
|
+
readonly describe: 'SAML audience; omission preserves the saved value. Available when providerType is saml.';
|
|
17663
|
+
};
|
|
17664
|
+
readonly wantAssertionsSigned: {
|
|
17665
|
+
readonly kind: 'boolean';
|
|
17666
|
+
readonly describe: 'Require signed assertions; omission preserves the saved value. Available when providerType is saml.';
|
|
17667
|
+
};
|
|
17668
|
+
readonly signatureAlgorithm: {
|
|
17669
|
+
readonly kind: 'string';
|
|
17670
|
+
readonly describe: 'Signature algorithm accepted by the SAML configuration validator; omission preserves the saved value. Available when providerType is saml.';
|
|
17671
|
+
};
|
|
17672
|
+
readonly digestAlgorithm: {
|
|
17673
|
+
readonly kind: 'string';
|
|
17674
|
+
readonly describe: 'Digest algorithm accepted by the SAML configuration validator; omission preserves the saved value. Available when providerType is saml.';
|
|
17675
|
+
};
|
|
17676
|
+
readonly identifierFormat: {
|
|
17677
|
+
readonly kind: 'string';
|
|
17678
|
+
readonly describe: 'SAML NameID format; omission clears the saved value. Available when providerType is saml.';
|
|
17679
|
+
};
|
|
17680
|
+
readonly idpMetadata: {
|
|
17681
|
+
readonly kind: 'string';
|
|
17682
|
+
readonly describe: 'Identity provider metadata XML; omission clears the saved document. Available when providerType is saml.';
|
|
17683
|
+
};
|
|
17684
|
+
};
|
|
17685
|
+
readonly bodyDiscriminator: {
|
|
17686
|
+
readonly field: 'providerType';
|
|
17687
|
+
readonly variants: {
|
|
17688
|
+
readonly oidc: {
|
|
17689
|
+
readonly providerType: {
|
|
17690
|
+
readonly kind: 'string';
|
|
17691
|
+
readonly required: true;
|
|
17692
|
+
readonly describe: 'Configure an OpenID Connect identity provider.';
|
|
17693
|
+
};
|
|
17694
|
+
readonly providerId: {
|
|
17695
|
+
readonly kind: 'string';
|
|
17696
|
+
readonly required: true;
|
|
17697
|
+
readonly describe: 'Globally unique provider ID; saving an existing provider replaces its supplied configuration.';
|
|
17698
|
+
};
|
|
17699
|
+
readonly issuer: {
|
|
17700
|
+
readonly kind: 'string';
|
|
17701
|
+
readonly required: true;
|
|
17702
|
+
readonly describe: 'Identity provider issuer URL.';
|
|
17703
|
+
};
|
|
17704
|
+
readonly domain: {
|
|
17705
|
+
readonly kind: 'string';
|
|
17706
|
+
readonly required: true;
|
|
17707
|
+
readonly describe: 'Email domain already verified by this organization.';
|
|
17708
|
+
};
|
|
17709
|
+
readonly jitProvisioningEnabled: {
|
|
17710
|
+
readonly kind: 'boolean';
|
|
17711
|
+
readonly default: true;
|
|
17712
|
+
readonly describe: 'Allow SSO sign-in to provision organization membership, subject to eligibility and available seats.';
|
|
17713
|
+
};
|
|
17714
|
+
readonly mapping: {
|
|
17715
|
+
readonly kind: 'object';
|
|
17716
|
+
readonly default: {
|
|
17717
|
+
readonly id: 'sub';
|
|
17718
|
+
readonly email: 'email';
|
|
17719
|
+
readonly name: 'name';
|
|
17720
|
+
readonly image: 'picture';
|
|
17721
|
+
};
|
|
17722
|
+
readonly describe: 'Identity-provider claims mapped to user fields.';
|
|
17723
|
+
};
|
|
17724
|
+
readonly clientId: {
|
|
17725
|
+
readonly kind: 'string';
|
|
17726
|
+
readonly required: true;
|
|
17727
|
+
readonly describe: 'Identity provider client identifier.';
|
|
17728
|
+
};
|
|
17729
|
+
readonly clientSecret: {
|
|
17730
|
+
readonly kind: 'string';
|
|
17731
|
+
readonly required: true;
|
|
17732
|
+
readonly describe: 'Write-only client secret; the redacted marker from Get SSO Provider preserves an existing secret.';
|
|
17733
|
+
};
|
|
17734
|
+
readonly scopes: {
|
|
17735
|
+
readonly kind: 'array';
|
|
17736
|
+
readonly default: readonly ['openid', 'profile', 'email'];
|
|
17737
|
+
readonly describe: 'OIDC scopes; offline_access is omitted.';
|
|
17738
|
+
};
|
|
17739
|
+
readonly pkce: {
|
|
17740
|
+
readonly kind: 'boolean';
|
|
17741
|
+
readonly default: true;
|
|
17742
|
+
readonly describe: 'Use PKCE for the authorization flow.';
|
|
17743
|
+
};
|
|
17744
|
+
readonly authorizationEndpoint: {
|
|
17745
|
+
readonly kind: 'string';
|
|
17746
|
+
readonly describe: 'Optional authorization endpoint; otherwise resolved through issuer discovery.';
|
|
17747
|
+
};
|
|
17748
|
+
readonly tokenEndpoint: {
|
|
17749
|
+
readonly kind: 'string';
|
|
17750
|
+
readonly describe: 'Optional token endpoint; otherwise resolved through issuer discovery.';
|
|
17751
|
+
};
|
|
17752
|
+
readonly userInfoEndpoint: {
|
|
17753
|
+
readonly kind: 'string';
|
|
17754
|
+
readonly describe: 'Optional UserInfo endpoint.';
|
|
17755
|
+
};
|
|
17756
|
+
readonly skipUserInfoEndpoint: {
|
|
17757
|
+
readonly kind: 'boolean';
|
|
17758
|
+
readonly default: false;
|
|
17759
|
+
readonly describe: 'Read identity claims from the ID token instead of calling UserInfo.';
|
|
17760
|
+
};
|
|
17761
|
+
readonly jwksEndpoint: {
|
|
17762
|
+
readonly kind: 'string';
|
|
17763
|
+
readonly describe: 'Optional signing-key endpoint; otherwise resolved through issuer discovery.';
|
|
17764
|
+
};
|
|
17765
|
+
};
|
|
17766
|
+
readonly saml: {
|
|
17767
|
+
readonly providerType: {
|
|
17768
|
+
readonly kind: 'string';
|
|
17769
|
+
readonly required: true;
|
|
17770
|
+
readonly describe: 'Configure a SAML identity provider.';
|
|
17771
|
+
};
|
|
17772
|
+
readonly providerId: {
|
|
17773
|
+
readonly kind: 'string';
|
|
17774
|
+
readonly required: true;
|
|
17775
|
+
readonly describe: 'Globally unique provider ID; saving an existing provider replaces its supplied configuration.';
|
|
17776
|
+
};
|
|
17777
|
+
readonly issuer: {
|
|
17778
|
+
readonly kind: 'string';
|
|
17779
|
+
readonly required: true;
|
|
17780
|
+
readonly describe: 'Identity provider issuer URL.';
|
|
17781
|
+
};
|
|
17782
|
+
readonly domain: {
|
|
17783
|
+
readonly kind: 'string';
|
|
17784
|
+
readonly required: true;
|
|
17785
|
+
readonly describe: 'Email domain already verified by this organization.';
|
|
17786
|
+
};
|
|
17787
|
+
readonly jitProvisioningEnabled: {
|
|
17788
|
+
readonly kind: 'boolean';
|
|
17789
|
+
readonly default: true;
|
|
17790
|
+
readonly describe: 'Allow SSO sign-in to provision organization membership, subject to eligibility and available seats.';
|
|
17791
|
+
};
|
|
17792
|
+
readonly mapping: {
|
|
17793
|
+
readonly kind: 'object';
|
|
17794
|
+
readonly default: {
|
|
17795
|
+
readonly id: 'sub';
|
|
17796
|
+
readonly email: 'email';
|
|
17797
|
+
readonly name: 'name';
|
|
17798
|
+
readonly image: 'picture';
|
|
17799
|
+
};
|
|
17800
|
+
readonly describe: 'Identity-provider claims mapped to user fields.';
|
|
17801
|
+
};
|
|
17802
|
+
readonly entryPoint: {
|
|
17803
|
+
readonly kind: 'string';
|
|
17804
|
+
readonly required: true;
|
|
17805
|
+
readonly describe: 'Identity provider SAML sign-in endpoint.';
|
|
17806
|
+
};
|
|
17807
|
+
readonly cert: {
|
|
17808
|
+
readonly kind: 'string';
|
|
17809
|
+
readonly required: true;
|
|
17810
|
+
readonly describe: 'Identity provider signing certificate.';
|
|
17811
|
+
};
|
|
17812
|
+
readonly callbackUrl: {
|
|
17813
|
+
readonly kind: 'string';
|
|
17814
|
+
readonly describe: 'SAML callback URL; defaults to this provider’s Sim callback.';
|
|
17815
|
+
};
|
|
17816
|
+
readonly audience: {
|
|
17817
|
+
readonly kind: 'string';
|
|
17818
|
+
readonly describe: 'SAML audience; omission preserves the saved value.';
|
|
17819
|
+
};
|
|
17820
|
+
readonly wantAssertionsSigned: {
|
|
17821
|
+
readonly kind: 'boolean';
|
|
17822
|
+
readonly describe: 'Require signed assertions; omission preserves the saved value.';
|
|
17823
|
+
};
|
|
17824
|
+
readonly signatureAlgorithm: {
|
|
17825
|
+
readonly kind: 'string';
|
|
17826
|
+
readonly describe: 'Signature algorithm accepted by the SAML configuration validator; omission preserves the saved value.';
|
|
17827
|
+
};
|
|
17828
|
+
readonly digestAlgorithm: {
|
|
17829
|
+
readonly kind: 'string';
|
|
17830
|
+
readonly describe: 'Digest algorithm accepted by the SAML configuration validator; omission preserves the saved value.';
|
|
17831
|
+
};
|
|
17832
|
+
readonly identifierFormat: {
|
|
17833
|
+
readonly kind: 'string';
|
|
17834
|
+
readonly describe: 'SAML NameID format; omission clears the saved value.';
|
|
17835
|
+
};
|
|
17836
|
+
readonly idpMetadata: {
|
|
17837
|
+
readonly kind: 'string';
|
|
17838
|
+
readonly describe: 'Identity provider metadata XML; omission clears the saved document.';
|
|
17839
|
+
};
|
|
17840
|
+
};
|
|
17841
|
+
};
|
|
17842
|
+
};
|
|
17843
|
+
};
|
|
17092
17844
|
readonly searchFileContent: {
|
|
17093
17845
|
readonly method: 'GET';
|
|
17094
17846
|
readonly path: '/api/v2/files/search';
|
|
@@ -17208,6 +17960,18 @@ export declare const V2_OPERATIONS: {
|
|
|
17208
17960
|
};
|
|
17209
17961
|
};
|
|
17210
17962
|
};
|
|
17963
|
+
readonly setPrimarySsoProvider: {
|
|
17964
|
+
readonly method: 'POST';
|
|
17965
|
+
readonly path: '/api/v2/organizations/[organizationId]/sso/providers/[providerId]/primary';
|
|
17966
|
+
readonly pathParams: readonly ['organizationId', 'providerId'];
|
|
17967
|
+
readonly pathParamDocs: {
|
|
17968
|
+
readonly organizationId: 'Organization whose single sign-on settings and verified domains are managed.';
|
|
17969
|
+
readonly providerId: 'Identity provider identifier.';
|
|
17970
|
+
};
|
|
17971
|
+
readonly responseMode: 'json';
|
|
17972
|
+
readonly summary: 'Set Primary SSO Provider';
|
|
17973
|
+
readonly workspaceKeyUnsupported: true;
|
|
17974
|
+
};
|
|
17211
17975
|
readonly setSecret: {
|
|
17212
17976
|
readonly method: 'PUT';
|
|
17213
17977
|
readonly path: '/api/v2/secrets/[name]';
|
|
@@ -17999,6 +18763,24 @@ export declare const V2_OPERATIONS: {
|
|
|
17999
18763
|
};
|
|
18000
18764
|
};
|
|
18001
18765
|
};
|
|
18766
|
+
readonly updateSsoPolicy: {
|
|
18767
|
+
readonly method: 'PATCH';
|
|
18768
|
+
readonly path: '/api/v2/organizations/[organizationId]/sso/policy';
|
|
18769
|
+
readonly pathParams: readonly ['organizationId'];
|
|
18770
|
+
readonly pathParamDocs: {
|
|
18771
|
+
readonly organizationId: 'Organization whose single sign-on settings and verified domains are managed.';
|
|
18772
|
+
};
|
|
18773
|
+
readonly responseMode: 'json';
|
|
18774
|
+
readonly summary: 'Update SSO Policy';
|
|
18775
|
+
readonly workspaceKeyUnsupported: true;
|
|
18776
|
+
readonly body: {
|
|
18777
|
+
readonly requireSso: {
|
|
18778
|
+
readonly kind: 'boolean';
|
|
18779
|
+
readonly required: true;
|
|
18780
|
+
readonly describe: 'Require organization SSO on future sign-ins; existing sessions remain active.';
|
|
18781
|
+
};
|
|
18782
|
+
};
|
|
18783
|
+
};
|
|
18002
18784
|
readonly updateTable: {
|
|
18003
18785
|
readonly method: 'PATCH';
|
|
18004
18786
|
readonly path: '/api/v2/tables/[tableId]';
|
|
@@ -18333,6 +19115,37 @@ export declare const V2_OPERATIONS: {
|
|
|
18333
19115
|
};
|
|
18334
19116
|
};
|
|
18335
19117
|
};
|
|
19118
|
+
readonly upsertCredentialMember: {
|
|
19119
|
+
readonly method: 'POST';
|
|
19120
|
+
readonly path: '/api/v2/credentials/[credentialId]/members';
|
|
19121
|
+
readonly pathParams: readonly ['credentialId'];
|
|
19122
|
+
readonly pathParamDocs: {
|
|
19123
|
+
readonly credentialId: 'Credential whose sharing grants are managed.';
|
|
19124
|
+
};
|
|
19125
|
+
readonly responseMode: 'json';
|
|
19126
|
+
readonly summary: 'Upsert Credential Member';
|
|
19127
|
+
readonly workspaceKeyUnsupported: true;
|
|
19128
|
+
readonly query: {
|
|
19129
|
+
readonly workspaceId: {
|
|
19130
|
+
readonly kind: 'string';
|
|
19131
|
+
readonly required: true;
|
|
19132
|
+
readonly describe: 'Workspace expected to own the credential.';
|
|
19133
|
+
};
|
|
19134
|
+
};
|
|
19135
|
+
readonly body: {
|
|
19136
|
+
readonly userId: {
|
|
19137
|
+
readonly kind: 'string';
|
|
19138
|
+
readonly required: true;
|
|
19139
|
+
readonly describe: 'Existing workspace member to grant or change access for.';
|
|
19140
|
+
};
|
|
19141
|
+
readonly role: {
|
|
19142
|
+
readonly kind: 'enum';
|
|
19143
|
+
readonly required: true;
|
|
19144
|
+
readonly values: readonly ['admin', 'member'];
|
|
19145
|
+
readonly describe: 'Credential role to grant; workspace administrators cannot be demoted.';
|
|
19146
|
+
};
|
|
19147
|
+
};
|
|
19148
|
+
};
|
|
18336
19149
|
readonly upsertFileShare: {
|
|
18337
19150
|
readonly method: 'PATCH';
|
|
18338
19151
|
readonly path: '/api/v2/files/[fileId]/share';
|
|
@@ -18395,6 +19208,18 @@ export declare const V2_OPERATIONS: {
|
|
|
18395
19208
|
};
|
|
18396
19209
|
};
|
|
18397
19210
|
};
|
|
19211
|
+
readonly verifyOrganizationDomain: {
|
|
19212
|
+
readonly method: 'POST';
|
|
19213
|
+
readonly path: '/api/v2/organizations/[organizationId]/domains/[domainId]/verify';
|
|
19214
|
+
readonly pathParams: readonly ['organizationId', 'domainId'];
|
|
19215
|
+
readonly pathParamDocs: {
|
|
19216
|
+
readonly organizationId: 'Organization whose single sign-on settings and verified domains are managed.';
|
|
19217
|
+
readonly domainId: 'Domain claim owned by this organization.';
|
|
19218
|
+
};
|
|
19219
|
+
readonly responseMode: 'json';
|
|
19220
|
+
readonly summary: 'Verify Organization Domain';
|
|
19221
|
+
readonly workspaceKeyUnsupported: true;
|
|
19222
|
+
};
|
|
18398
19223
|
};
|
|
18399
19224
|
export type V2OperationName = keyof typeof V2_OPERATIONS;
|
|
18400
19225
|
export {};
|