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
package/dist/runtime.js
CHANGED
|
@@ -9585,6 +9585,24 @@ var V2_OPERATIONS = {
|
|
|
9585
9585
|
summary: "Activate Workflow Version",
|
|
9586
9586
|
workspaceKeyUnsupported: true
|
|
9587
9587
|
},
|
|
9588
|
+
addOrganizationDomain: {
|
|
9589
|
+
method: "POST",
|
|
9590
|
+
path: "/api/v2/organizations/[organizationId]/domains",
|
|
9591
|
+
pathParams: ["organizationId"],
|
|
9592
|
+
pathParamDocs: {
|
|
9593
|
+
organizationId: "Organization whose single sign-on settings and verified domains are managed."
|
|
9594
|
+
},
|
|
9595
|
+
responseMode: "json",
|
|
9596
|
+
summary: "Add Organization Domain",
|
|
9597
|
+
workspaceKeyUnsupported: true,
|
|
9598
|
+
body: {
|
|
9599
|
+
domain: {
|
|
9600
|
+
kind: "string",
|
|
9601
|
+
required: true,
|
|
9602
|
+
describe: "Domain to claim and verify through a DNS TXT record."
|
|
9603
|
+
}
|
|
9604
|
+
}
|
|
9605
|
+
},
|
|
9588
9606
|
addPermissionGroupMember: {
|
|
9589
9607
|
method: "POST",
|
|
9590
9608
|
path: "/api/v2/organizations/[organizationId]/permission-groups/[groupId]/members",
|
|
@@ -11260,6 +11278,18 @@ var V2_OPERATIONS = {
|
|
|
11260
11278
|
workspaceId: { kind: "string", required: true, describe: "Workspace that owns the skill." }
|
|
11261
11279
|
}
|
|
11262
11280
|
},
|
|
11281
|
+
deleteSsoProvider: {
|
|
11282
|
+
method: "DELETE",
|
|
11283
|
+
path: "/api/v2/organizations/[organizationId]/sso/providers/[providerId]",
|
|
11284
|
+
pathParams: ["organizationId", "providerId"],
|
|
11285
|
+
pathParamDocs: {
|
|
11286
|
+
organizationId: "Organization whose single sign-on settings and verified domains are managed.",
|
|
11287
|
+
providerId: "Identity provider identifier."
|
|
11288
|
+
},
|
|
11289
|
+
responseMode: "json",
|
|
11290
|
+
summary: "Delete SSO Provider",
|
|
11291
|
+
workspaceKeyUnsupported: true
|
|
11292
|
+
},
|
|
11263
11293
|
deleteTable: {
|
|
11264
11294
|
method: "DELETE",
|
|
11265
11295
|
path: "/api/v2/tables/[tableId]",
|
|
@@ -12432,6 +12462,29 @@ var V2_OPERATIONS = {
|
|
|
12432
12462
|
workspaceId: { kind: "string", required: true, describe: "Workspace that owns the skill." }
|
|
12433
12463
|
}
|
|
12434
12464
|
},
|
|
12465
|
+
getSsoPolicy: {
|
|
12466
|
+
method: "GET",
|
|
12467
|
+
path: "/api/v2/organizations/[organizationId]/sso/policy",
|
|
12468
|
+
pathParams: ["organizationId"],
|
|
12469
|
+
pathParamDocs: {
|
|
12470
|
+
organizationId: "Organization whose single sign-on settings and verified domains are managed."
|
|
12471
|
+
},
|
|
12472
|
+
responseMode: "json",
|
|
12473
|
+
summary: "Get SSO Policy",
|
|
12474
|
+
workspaceKeyUnsupported: true
|
|
12475
|
+
},
|
|
12476
|
+
getSsoProvider: {
|
|
12477
|
+
method: "GET",
|
|
12478
|
+
path: "/api/v2/organizations/[organizationId]/sso/providers/[providerId]",
|
|
12479
|
+
pathParams: ["organizationId", "providerId"],
|
|
12480
|
+
pathParamDocs: {
|
|
12481
|
+
organizationId: "Organization whose single sign-on settings and verified domains are managed.",
|
|
12482
|
+
providerId: "Identity provider identifier."
|
|
12483
|
+
},
|
|
12484
|
+
responseMode: "json",
|
|
12485
|
+
summary: "Get SSO Provider",
|
|
12486
|
+
workspaceKeyUnsupported: true
|
|
12487
|
+
},
|
|
12435
12488
|
getTable: {
|
|
12436
12489
|
method: "GET",
|
|
12437
12490
|
path: "/api/v2/tables/[tableId]",
|
|
@@ -13001,6 +13054,43 @@ var V2_OPERATIONS = {
|
|
|
13001
13054
|
}
|
|
13002
13055
|
}
|
|
13003
13056
|
},
|
|
13057
|
+
listCredentialMembers: {
|
|
13058
|
+
method: "GET",
|
|
13059
|
+
path: "/api/v2/credentials/[credentialId]/members",
|
|
13060
|
+
pathParams: ["credentialId"],
|
|
13061
|
+
pathParamDocs: { credentialId: "Credential whose sharing grants are managed." },
|
|
13062
|
+
responseMode: "json",
|
|
13063
|
+
summary: "List Credential Members",
|
|
13064
|
+
workspaceKeyUnsupported: true,
|
|
13065
|
+
query: {
|
|
13066
|
+
workspaceId: {
|
|
13067
|
+
kind: "string",
|
|
13068
|
+
required: true,
|
|
13069
|
+
describe: "Workspace expected to own the credential."
|
|
13070
|
+
},
|
|
13071
|
+
limit: {
|
|
13072
|
+
kind: "integer",
|
|
13073
|
+
default: 50,
|
|
13074
|
+
describe: "Maximum credential members to return per page. Must be a whole number from 1 to 100. Defaults to 50."
|
|
13075
|
+
},
|
|
13076
|
+
cursor: {
|
|
13077
|
+
kind: "string",
|
|
13078
|
+
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."
|
|
13079
|
+
},
|
|
13080
|
+
sortBy: {
|
|
13081
|
+
kind: "enum",
|
|
13082
|
+
values: ["email", "name"],
|
|
13083
|
+
default: "email",
|
|
13084
|
+
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."
|
|
13085
|
+
},
|
|
13086
|
+
sortOrder: {
|
|
13087
|
+
kind: "enum",
|
|
13088
|
+
values: ["asc", "desc"],
|
|
13089
|
+
default: "asc",
|
|
13090
|
+
describe: "Sort direction."
|
|
13091
|
+
}
|
|
13092
|
+
}
|
|
13093
|
+
},
|
|
13004
13094
|
listCredentialProviders: {
|
|
13005
13095
|
method: "GET",
|
|
13006
13096
|
path: "/api/v2/credentials/providers",
|
|
@@ -13840,6 +13930,40 @@ var V2_OPERATIONS = {
|
|
|
13840
13930
|
}
|
|
13841
13931
|
}
|
|
13842
13932
|
},
|
|
13933
|
+
listOrganizationDomains: {
|
|
13934
|
+
method: "GET",
|
|
13935
|
+
path: "/api/v2/organizations/[organizationId]/domains",
|
|
13936
|
+
pathParams: ["organizationId"],
|
|
13937
|
+
pathParamDocs: {
|
|
13938
|
+
organizationId: "Organization whose single sign-on settings and verified domains are managed."
|
|
13939
|
+
},
|
|
13940
|
+
responseMode: "json",
|
|
13941
|
+
summary: "List Organization Domains",
|
|
13942
|
+
workspaceKeyUnsupported: true,
|
|
13943
|
+
query: {
|
|
13944
|
+
limit: {
|
|
13945
|
+
kind: "integer",
|
|
13946
|
+
default: 50,
|
|
13947
|
+
describe: "Maximum domain claims to return per page. Must be a whole number from 1 to 100. Defaults to 50."
|
|
13948
|
+
},
|
|
13949
|
+
cursor: {
|
|
13950
|
+
kind: "string",
|
|
13951
|
+
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."
|
|
13952
|
+
},
|
|
13953
|
+
sortBy: {
|
|
13954
|
+
kind: "enum",
|
|
13955
|
+
values: ["domain"],
|
|
13956
|
+
default: "domain",
|
|
13957
|
+
describe: "Field used to sort the result."
|
|
13958
|
+
},
|
|
13959
|
+
sortOrder: {
|
|
13960
|
+
kind: "enum",
|
|
13961
|
+
values: ["asc", "desc"],
|
|
13962
|
+
default: "asc",
|
|
13963
|
+
describe: "Sort direction."
|
|
13964
|
+
}
|
|
13965
|
+
}
|
|
13966
|
+
},
|
|
13843
13967
|
listOrganizationInvitations: {
|
|
13844
13968
|
method: "GET",
|
|
13845
13969
|
path: "/api/v2/organizations/[organizationId]/invitations",
|
|
@@ -14459,6 +14583,40 @@ var V2_OPERATIONS = {
|
|
|
14459
14583
|
}
|
|
14460
14584
|
}
|
|
14461
14585
|
},
|
|
14586
|
+
listSsoProviders: {
|
|
14587
|
+
method: "GET",
|
|
14588
|
+
path: "/api/v2/organizations/[organizationId]/sso/providers",
|
|
14589
|
+
pathParams: ["organizationId"],
|
|
14590
|
+
pathParamDocs: {
|
|
14591
|
+
organizationId: "Organization whose single sign-on settings and verified domains are managed."
|
|
14592
|
+
},
|
|
14593
|
+
responseMode: "json",
|
|
14594
|
+
summary: "List SSO Providers",
|
|
14595
|
+
workspaceKeyUnsupported: true,
|
|
14596
|
+
query: {
|
|
14597
|
+
limit: {
|
|
14598
|
+
kind: "integer",
|
|
14599
|
+
default: 50,
|
|
14600
|
+
describe: "Maximum identity providers to return per page. Must be a whole number from 1 to 100. Defaults to 50."
|
|
14601
|
+
},
|
|
14602
|
+
cursor: {
|
|
14603
|
+
kind: "string",
|
|
14604
|
+
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."
|
|
14605
|
+
},
|
|
14606
|
+
sortBy: {
|
|
14607
|
+
kind: "enum",
|
|
14608
|
+
values: ["providerId", "domain"],
|
|
14609
|
+
default: "providerId",
|
|
14610
|
+
describe: "Field used to sort the result."
|
|
14611
|
+
},
|
|
14612
|
+
sortOrder: {
|
|
14613
|
+
kind: "enum",
|
|
14614
|
+
values: ["asc", "desc"],
|
|
14615
|
+
default: "asc",
|
|
14616
|
+
describe: "Sort direction."
|
|
14617
|
+
}
|
|
14618
|
+
}
|
|
14619
|
+
},
|
|
14462
14620
|
listTableDispatches: {
|
|
14463
14621
|
method: "GET",
|
|
14464
14622
|
path: "/api/v2/tables/[tableId]/dispatches",
|
|
@@ -15438,6 +15596,37 @@ var V2_OPERATIONS = {
|
|
|
15438
15596
|
}
|
|
15439
15597
|
}
|
|
15440
15598
|
},
|
|
15599
|
+
removeCredentialMember: {
|
|
15600
|
+
method: "DELETE",
|
|
15601
|
+
path: "/api/v2/credentials/[credentialId]/members/[userId]",
|
|
15602
|
+
pathParams: ["credentialId", "userId"],
|
|
15603
|
+
pathParamDocs: {
|
|
15604
|
+
credentialId: "Credential whose sharing grants are managed.",
|
|
15605
|
+
userId: "User whose explicit grant will be revoked."
|
|
15606
|
+
},
|
|
15607
|
+
responseMode: "json",
|
|
15608
|
+
summary: "Remove Credential Member",
|
|
15609
|
+
workspaceKeyUnsupported: true,
|
|
15610
|
+
query: {
|
|
15611
|
+
workspaceId: {
|
|
15612
|
+
kind: "string",
|
|
15613
|
+
required: true,
|
|
15614
|
+
describe: "Workspace expected to own the credential."
|
|
15615
|
+
}
|
|
15616
|
+
}
|
|
15617
|
+
},
|
|
15618
|
+
removeOrganizationDomain: {
|
|
15619
|
+
method: "DELETE",
|
|
15620
|
+
path: "/api/v2/organizations/[organizationId]/domains/[domainId]",
|
|
15621
|
+
pathParams: ["organizationId", "domainId"],
|
|
15622
|
+
pathParamDocs: {
|
|
15623
|
+
organizationId: "Organization whose single sign-on settings and verified domains are managed.",
|
|
15624
|
+
domainId: "Domain claim owned by this organization."
|
|
15625
|
+
},
|
|
15626
|
+
responseMode: "json",
|
|
15627
|
+
summary: "Remove Organization Domain",
|
|
15628
|
+
workspaceKeyUnsupported: true
|
|
15629
|
+
},
|
|
15441
15630
|
removeOrganizationMember: {
|
|
15442
15631
|
method: "DELETE",
|
|
15443
15632
|
path: "/api/v2/organizations/[organizationId]/members/[userId]",
|
|
@@ -15850,6 +16039,258 @@ var V2_OPERATIONS = {
|
|
|
15850
16039
|
workspaceId: { kind: "string", required: true, describe: "Unique workspace identifier." }
|
|
15851
16040
|
}
|
|
15852
16041
|
},
|
|
16042
|
+
saveSsoProvider: {
|
|
16043
|
+
method: "POST",
|
|
16044
|
+
path: "/api/v2/organizations/[organizationId]/sso/providers",
|
|
16045
|
+
pathParams: ["organizationId"],
|
|
16046
|
+
pathParamDocs: {
|
|
16047
|
+
organizationId: "Organization whose single sign-on settings and verified domains are managed."
|
|
16048
|
+
},
|
|
16049
|
+
responseMode: "json",
|
|
16050
|
+
summary: "Save SSO Provider",
|
|
16051
|
+
workspaceKeyUnsupported: true,
|
|
16052
|
+
body: {
|
|
16053
|
+
providerType: {
|
|
16054
|
+
kind: "enum",
|
|
16055
|
+
required: true,
|
|
16056
|
+
values: ["oidc", "saml"],
|
|
16057
|
+
describe: "oidc: Configure an OpenID Connect identity provider. saml: Configure a SAML identity provider."
|
|
16058
|
+
},
|
|
16059
|
+
providerId: {
|
|
16060
|
+
kind: "string",
|
|
16061
|
+
required: true,
|
|
16062
|
+
describe: "Globally unique provider ID; saving an existing provider replaces its supplied configuration."
|
|
16063
|
+
},
|
|
16064
|
+
issuer: { kind: "string", required: true, describe: "Identity provider issuer URL." },
|
|
16065
|
+
domain: {
|
|
16066
|
+
kind: "string",
|
|
16067
|
+
required: true,
|
|
16068
|
+
describe: "Email domain already verified by this organization."
|
|
16069
|
+
},
|
|
16070
|
+
jitProvisioningEnabled: {
|
|
16071
|
+
kind: "boolean",
|
|
16072
|
+
default: true,
|
|
16073
|
+
describe: "Allow SSO sign-in to provision organization membership, subject to eligibility and available seats."
|
|
16074
|
+
},
|
|
16075
|
+
mapping: {
|
|
16076
|
+
kind: "object",
|
|
16077
|
+
default: { id: "sub", email: "email", name: "name", image: "picture" },
|
|
16078
|
+
describe: "Identity-provider claims mapped to user fields."
|
|
16079
|
+
},
|
|
16080
|
+
clientId: {
|
|
16081
|
+
kind: "string",
|
|
16082
|
+
describe: "Identity provider client identifier. Available when providerType is oidc. Required when providerType is oidc."
|
|
16083
|
+
},
|
|
16084
|
+
clientSecret: {
|
|
16085
|
+
kind: "string",
|
|
16086
|
+
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."
|
|
16087
|
+
},
|
|
16088
|
+
scopes: {
|
|
16089
|
+
kind: "array",
|
|
16090
|
+
default: ["openid", "profile", "email"],
|
|
16091
|
+
describe: "OIDC scopes; offline_access is omitted. Available when providerType is oidc."
|
|
16092
|
+
},
|
|
16093
|
+
pkce: {
|
|
16094
|
+
kind: "boolean",
|
|
16095
|
+
default: true,
|
|
16096
|
+
describe: "Use PKCE for the authorization flow. Available when providerType is oidc."
|
|
16097
|
+
},
|
|
16098
|
+
authorizationEndpoint: {
|
|
16099
|
+
kind: "string",
|
|
16100
|
+
describe: "Optional authorization endpoint; otherwise resolved through issuer discovery. Available when providerType is oidc."
|
|
16101
|
+
},
|
|
16102
|
+
tokenEndpoint: {
|
|
16103
|
+
kind: "string",
|
|
16104
|
+
describe: "Optional token endpoint; otherwise resolved through issuer discovery. Available when providerType is oidc."
|
|
16105
|
+
},
|
|
16106
|
+
userInfoEndpoint: {
|
|
16107
|
+
kind: "string",
|
|
16108
|
+
describe: "Optional UserInfo endpoint. Available when providerType is oidc."
|
|
16109
|
+
},
|
|
16110
|
+
skipUserInfoEndpoint: {
|
|
16111
|
+
kind: "boolean",
|
|
16112
|
+
default: false,
|
|
16113
|
+
describe: "Read identity claims from the ID token instead of calling UserInfo. Available when providerType is oidc."
|
|
16114
|
+
},
|
|
16115
|
+
jwksEndpoint: {
|
|
16116
|
+
kind: "string",
|
|
16117
|
+
describe: "Optional signing-key endpoint; otherwise resolved through issuer discovery. Available when providerType is oidc."
|
|
16118
|
+
},
|
|
16119
|
+
entryPoint: {
|
|
16120
|
+
kind: "string",
|
|
16121
|
+
describe: "Identity provider SAML sign-in endpoint. Available when providerType is saml. Required when providerType is saml."
|
|
16122
|
+
},
|
|
16123
|
+
cert: {
|
|
16124
|
+
kind: "string",
|
|
16125
|
+
describe: "Identity provider signing certificate. Available when providerType is saml. Required when providerType is saml."
|
|
16126
|
+
},
|
|
16127
|
+
callbackUrl: {
|
|
16128
|
+
kind: "string",
|
|
16129
|
+
describe: "SAML callback URL; defaults to this provider’s Sim callback. Available when providerType is saml."
|
|
16130
|
+
},
|
|
16131
|
+
audience: {
|
|
16132
|
+
kind: "string",
|
|
16133
|
+
describe: "SAML audience; omission preserves the saved value. Available when providerType is saml."
|
|
16134
|
+
},
|
|
16135
|
+
wantAssertionsSigned: {
|
|
16136
|
+
kind: "boolean",
|
|
16137
|
+
describe: "Require signed assertions; omission preserves the saved value. Available when providerType is saml."
|
|
16138
|
+
},
|
|
16139
|
+
signatureAlgorithm: {
|
|
16140
|
+
kind: "string",
|
|
16141
|
+
describe: "Signature algorithm accepted by the SAML configuration validator; omission preserves the saved value. Available when providerType is saml."
|
|
16142
|
+
},
|
|
16143
|
+
digestAlgorithm: {
|
|
16144
|
+
kind: "string",
|
|
16145
|
+
describe: "Digest algorithm accepted by the SAML configuration validator; omission preserves the saved value. Available when providerType is saml."
|
|
16146
|
+
},
|
|
16147
|
+
identifierFormat: {
|
|
16148
|
+
kind: "string",
|
|
16149
|
+
describe: "SAML NameID format; omission clears the saved value. Available when providerType is saml."
|
|
16150
|
+
},
|
|
16151
|
+
idpMetadata: {
|
|
16152
|
+
kind: "string",
|
|
16153
|
+
describe: "Identity provider metadata XML; omission clears the saved document. Available when providerType is saml."
|
|
16154
|
+
}
|
|
16155
|
+
},
|
|
16156
|
+
bodyDiscriminator: {
|
|
16157
|
+
field: "providerType",
|
|
16158
|
+
variants: {
|
|
16159
|
+
oidc: {
|
|
16160
|
+
providerType: {
|
|
16161
|
+
kind: "string",
|
|
16162
|
+
required: true,
|
|
16163
|
+
describe: "Configure an OpenID Connect identity provider."
|
|
16164
|
+
},
|
|
16165
|
+
providerId: {
|
|
16166
|
+
kind: "string",
|
|
16167
|
+
required: true,
|
|
16168
|
+
describe: "Globally unique provider ID; saving an existing provider replaces its supplied configuration."
|
|
16169
|
+
},
|
|
16170
|
+
issuer: { kind: "string", required: true, describe: "Identity provider issuer URL." },
|
|
16171
|
+
domain: {
|
|
16172
|
+
kind: "string",
|
|
16173
|
+
required: true,
|
|
16174
|
+
describe: "Email domain already verified by this organization."
|
|
16175
|
+
},
|
|
16176
|
+
jitProvisioningEnabled: {
|
|
16177
|
+
kind: "boolean",
|
|
16178
|
+
default: true,
|
|
16179
|
+
describe: "Allow SSO sign-in to provision organization membership, subject to eligibility and available seats."
|
|
16180
|
+
},
|
|
16181
|
+
mapping: {
|
|
16182
|
+
kind: "object",
|
|
16183
|
+
default: { id: "sub", email: "email", name: "name", image: "picture" },
|
|
16184
|
+
describe: "Identity-provider claims mapped to user fields."
|
|
16185
|
+
},
|
|
16186
|
+
clientId: {
|
|
16187
|
+
kind: "string",
|
|
16188
|
+
required: true,
|
|
16189
|
+
describe: "Identity provider client identifier."
|
|
16190
|
+
},
|
|
16191
|
+
clientSecret: {
|
|
16192
|
+
kind: "string",
|
|
16193
|
+
required: true,
|
|
16194
|
+
describe: "Write-only client secret; the redacted marker from Get SSO Provider preserves an existing secret."
|
|
16195
|
+
},
|
|
16196
|
+
scopes: {
|
|
16197
|
+
kind: "array",
|
|
16198
|
+
default: ["openid", "profile", "email"],
|
|
16199
|
+
describe: "OIDC scopes; offline_access is omitted."
|
|
16200
|
+
},
|
|
16201
|
+
pkce: {
|
|
16202
|
+
kind: "boolean",
|
|
16203
|
+
default: true,
|
|
16204
|
+
describe: "Use PKCE for the authorization flow."
|
|
16205
|
+
},
|
|
16206
|
+
authorizationEndpoint: {
|
|
16207
|
+
kind: "string",
|
|
16208
|
+
describe: "Optional authorization endpoint; otherwise resolved through issuer discovery."
|
|
16209
|
+
},
|
|
16210
|
+
tokenEndpoint: {
|
|
16211
|
+
kind: "string",
|
|
16212
|
+
describe: "Optional token endpoint; otherwise resolved through issuer discovery."
|
|
16213
|
+
},
|
|
16214
|
+
userInfoEndpoint: { kind: "string", describe: "Optional UserInfo endpoint." },
|
|
16215
|
+
skipUserInfoEndpoint: {
|
|
16216
|
+
kind: "boolean",
|
|
16217
|
+
default: false,
|
|
16218
|
+
describe: "Read identity claims from the ID token instead of calling UserInfo."
|
|
16219
|
+
},
|
|
16220
|
+
jwksEndpoint: {
|
|
16221
|
+
kind: "string",
|
|
16222
|
+
describe: "Optional signing-key endpoint; otherwise resolved through issuer discovery."
|
|
16223
|
+
}
|
|
16224
|
+
},
|
|
16225
|
+
saml: {
|
|
16226
|
+
providerType: {
|
|
16227
|
+
kind: "string",
|
|
16228
|
+
required: true,
|
|
16229
|
+
describe: "Configure a SAML identity provider."
|
|
16230
|
+
},
|
|
16231
|
+
providerId: {
|
|
16232
|
+
kind: "string",
|
|
16233
|
+
required: true,
|
|
16234
|
+
describe: "Globally unique provider ID; saving an existing provider replaces its supplied configuration."
|
|
16235
|
+
},
|
|
16236
|
+
issuer: { kind: "string", required: true, describe: "Identity provider issuer URL." },
|
|
16237
|
+
domain: {
|
|
16238
|
+
kind: "string",
|
|
16239
|
+
required: true,
|
|
16240
|
+
describe: "Email domain already verified by this organization."
|
|
16241
|
+
},
|
|
16242
|
+
jitProvisioningEnabled: {
|
|
16243
|
+
kind: "boolean",
|
|
16244
|
+
default: true,
|
|
16245
|
+
describe: "Allow SSO sign-in to provision organization membership, subject to eligibility and available seats."
|
|
16246
|
+
},
|
|
16247
|
+
mapping: {
|
|
16248
|
+
kind: "object",
|
|
16249
|
+
default: { id: "sub", email: "email", name: "name", image: "picture" },
|
|
16250
|
+
describe: "Identity-provider claims mapped to user fields."
|
|
16251
|
+
},
|
|
16252
|
+
entryPoint: {
|
|
16253
|
+
kind: "string",
|
|
16254
|
+
required: true,
|
|
16255
|
+
describe: "Identity provider SAML sign-in endpoint."
|
|
16256
|
+
},
|
|
16257
|
+
cert: {
|
|
16258
|
+
kind: "string",
|
|
16259
|
+
required: true,
|
|
16260
|
+
describe: "Identity provider signing certificate."
|
|
16261
|
+
},
|
|
16262
|
+
callbackUrl: {
|
|
16263
|
+
kind: "string",
|
|
16264
|
+
describe: "SAML callback URL; defaults to this provider’s Sim callback."
|
|
16265
|
+
},
|
|
16266
|
+
audience: {
|
|
16267
|
+
kind: "string",
|
|
16268
|
+
describe: "SAML audience; omission preserves the saved value."
|
|
16269
|
+
},
|
|
16270
|
+
wantAssertionsSigned: {
|
|
16271
|
+
kind: "boolean",
|
|
16272
|
+
describe: "Require signed assertions; omission preserves the saved value."
|
|
16273
|
+
},
|
|
16274
|
+
signatureAlgorithm: {
|
|
16275
|
+
kind: "string",
|
|
16276
|
+
describe: "Signature algorithm accepted by the SAML configuration validator; omission preserves the saved value."
|
|
16277
|
+
},
|
|
16278
|
+
digestAlgorithm: {
|
|
16279
|
+
kind: "string",
|
|
16280
|
+
describe: "Digest algorithm accepted by the SAML configuration validator; omission preserves the saved value."
|
|
16281
|
+
},
|
|
16282
|
+
identifierFormat: {
|
|
16283
|
+
kind: "string",
|
|
16284
|
+
describe: "SAML NameID format; omission clears the saved value."
|
|
16285
|
+
},
|
|
16286
|
+
idpMetadata: {
|
|
16287
|
+
kind: "string",
|
|
16288
|
+
describe: "Identity provider metadata XML; omission clears the saved document."
|
|
16289
|
+
}
|
|
16290
|
+
}
|
|
16291
|
+
}
|
|
16292
|
+
}
|
|
16293
|
+
},
|
|
15853
16294
|
searchFileContent: {
|
|
15854
16295
|
method: "GET",
|
|
15855
16296
|
path: "/api/v2/files/search",
|
|
@@ -15961,6 +16402,18 @@ var V2_OPERATIONS = {
|
|
|
15961
16402
|
sort: { kind: "array", describe: "Ordered table-row sort specification." }
|
|
15962
16403
|
}
|
|
15963
16404
|
},
|
|
16405
|
+
setPrimarySsoProvider: {
|
|
16406
|
+
method: "POST",
|
|
16407
|
+
path: "/api/v2/organizations/[organizationId]/sso/providers/[providerId]/primary",
|
|
16408
|
+
pathParams: ["organizationId", "providerId"],
|
|
16409
|
+
pathParamDocs: {
|
|
16410
|
+
organizationId: "Organization whose single sign-on settings and verified domains are managed.",
|
|
16411
|
+
providerId: "Identity provider identifier."
|
|
16412
|
+
},
|
|
16413
|
+
responseMode: "json",
|
|
16414
|
+
summary: "Set Primary SSO Provider",
|
|
16415
|
+
workspaceKeyUnsupported: true
|
|
16416
|
+
},
|
|
15964
16417
|
setSecret: {
|
|
15965
16418
|
method: "PUT",
|
|
15966
16419
|
path: "/api/v2/secrets/[name]",
|
|
@@ -16570,6 +17023,24 @@ var V2_OPERATIONS = {
|
|
|
16570
17023
|
content: { kind: "string", describe: "Replacement skill body." }
|
|
16571
17024
|
}
|
|
16572
17025
|
},
|
|
17026
|
+
updateSsoPolicy: {
|
|
17027
|
+
method: "PATCH",
|
|
17028
|
+
path: "/api/v2/organizations/[organizationId]/sso/policy",
|
|
17029
|
+
pathParams: ["organizationId"],
|
|
17030
|
+
pathParamDocs: {
|
|
17031
|
+
organizationId: "Organization whose single sign-on settings and verified domains are managed."
|
|
17032
|
+
},
|
|
17033
|
+
responseMode: "json",
|
|
17034
|
+
summary: "Update SSO Policy",
|
|
17035
|
+
workspaceKeyUnsupported: true,
|
|
17036
|
+
body: {
|
|
17037
|
+
requireSso: {
|
|
17038
|
+
kind: "boolean",
|
|
17039
|
+
required: true,
|
|
17040
|
+
describe: "Require organization SSO on future sign-ins; existing sessions remain active."
|
|
17041
|
+
}
|
|
17042
|
+
}
|
|
17043
|
+
},
|
|
16573
17044
|
updateTable: {
|
|
16574
17045
|
method: "PATCH",
|
|
16575
17046
|
path: "/api/v2/tables/[tableId]",
|
|
@@ -16807,6 +17278,35 @@ var V2_OPERATIONS = {
|
|
|
16807
17278
|
}
|
|
16808
17279
|
}
|
|
16809
17280
|
},
|
|
17281
|
+
upsertCredentialMember: {
|
|
17282
|
+
method: "POST",
|
|
17283
|
+
path: "/api/v2/credentials/[credentialId]/members",
|
|
17284
|
+
pathParams: ["credentialId"],
|
|
17285
|
+
pathParamDocs: { credentialId: "Credential whose sharing grants are managed." },
|
|
17286
|
+
responseMode: "json",
|
|
17287
|
+
summary: "Upsert Credential Member",
|
|
17288
|
+
workspaceKeyUnsupported: true,
|
|
17289
|
+
query: {
|
|
17290
|
+
workspaceId: {
|
|
17291
|
+
kind: "string",
|
|
17292
|
+
required: true,
|
|
17293
|
+
describe: "Workspace expected to own the credential."
|
|
17294
|
+
}
|
|
17295
|
+
},
|
|
17296
|
+
body: {
|
|
17297
|
+
userId: {
|
|
17298
|
+
kind: "string",
|
|
17299
|
+
required: true,
|
|
17300
|
+
describe: "Existing workspace member to grant or change access for."
|
|
17301
|
+
},
|
|
17302
|
+
role: {
|
|
17303
|
+
kind: "enum",
|
|
17304
|
+
required: true,
|
|
17305
|
+
values: ["admin", "member"],
|
|
17306
|
+
describe: "Credential role to grant; workspace administrators cannot be demoted."
|
|
17307
|
+
}
|
|
17308
|
+
}
|
|
17309
|
+
},
|
|
16810
17310
|
upsertFileShare: {
|
|
16811
17311
|
method: "PATCH",
|
|
16812
17312
|
path: "/api/v2/files/[fileId]/share",
|
|
@@ -16853,6 +17353,18 @@ var V2_OPERATIONS = {
|
|
|
16853
17353
|
},
|
|
16854
17354
|
conflictTarget: { kind: "string", describe: "Unique column used to detect a conflict." }
|
|
16855
17355
|
}
|
|
17356
|
+
},
|
|
17357
|
+
verifyOrganizationDomain: {
|
|
17358
|
+
method: "POST",
|
|
17359
|
+
path: "/api/v2/organizations/[organizationId]/domains/[domainId]/verify",
|
|
17360
|
+
pathParams: ["organizationId", "domainId"],
|
|
17361
|
+
pathParamDocs: {
|
|
17362
|
+
organizationId: "Organization whose single sign-on settings and verified domains are managed.",
|
|
17363
|
+
domainId: "Domain claim owned by this organization."
|
|
17364
|
+
},
|
|
17365
|
+
responseMode: "json",
|
|
17366
|
+
summary: "Verify Organization Domain",
|
|
17367
|
+
workspaceKeyUnsupported: true
|
|
16856
17368
|
}
|
|
16857
17369
|
};
|
|
16858
17370
|
|
|
@@ -17809,6 +18321,24 @@ var CLI_CONTRACT = {
|
|
|
17809
18321
|
deleteCredential: {
|
|
17810
18322
|
confirm: "This disconnects the credential and removes its stored authentication."
|
|
17811
18323
|
},
|
|
18324
|
+
listCredentialMembers: {
|
|
18325
|
+
columns: [
|
|
18326
|
+
{ header: "user", path: "userId" },
|
|
18327
|
+
{ header: "name", path: "userName" },
|
|
18328
|
+
{ header: "email", path: "userEmail" },
|
|
18329
|
+
{ header: "role" },
|
|
18330
|
+
{ header: "status" },
|
|
18331
|
+
{ header: "source", path: "roleSource" }
|
|
18332
|
+
]
|
|
18333
|
+
},
|
|
18334
|
+
upsertCredentialMember: {
|
|
18335
|
+
command: "credentials members upsert",
|
|
18336
|
+
flags: { userId: { name: "user" } }
|
|
18337
|
+
},
|
|
18338
|
+
removeCredentialMember: {
|
|
18339
|
+
command: "credentials members remove",
|
|
18340
|
+
confirm: "This revokes the selected user’s explicit credential grant."
|
|
18341
|
+
},
|
|
17812
18342
|
deleteSkill: { confirm: "This deletes the skill." },
|
|
17813
18343
|
revokeSkillEditor: {
|
|
17814
18344
|
confirm: "This revokes the explicit skill editor grant for the selected email."
|
|
@@ -18436,6 +18966,65 @@ var CLI_CONTRACT = {
|
|
|
18436
18966
|
columns: [{ header: "id" }, { header: "name" }, { header: "role" }]
|
|
18437
18967
|
},
|
|
18438
18968
|
getOrganization: { command: "organizations get" },
|
|
18969
|
+
listSsoProviders: {
|
|
18970
|
+
command: "organizations sso providers list",
|
|
18971
|
+
pathFlags: ORGANIZATION_FLAG,
|
|
18972
|
+
columns: [
|
|
18973
|
+
{ header: "provider", path: "providerId" },
|
|
18974
|
+
{ header: "domain" },
|
|
18975
|
+
{ header: "primary", path: "isPrimary", format: "bool" },
|
|
18976
|
+
{ header: "verified", path: "domainVerified", format: "bool" }
|
|
18977
|
+
]
|
|
18978
|
+
},
|
|
18979
|
+
getSsoProvider: {
|
|
18980
|
+
command: "organizations sso providers get",
|
|
18981
|
+
pathFlags: ORGANIZATION_FLAG
|
|
18982
|
+
},
|
|
18983
|
+
saveSsoProvider: {
|
|
18984
|
+
command: "organizations sso providers save",
|
|
18985
|
+
pathFlags: ORGANIZATION_FLAG,
|
|
18986
|
+
flags: {
|
|
18987
|
+
clientSecret: {
|
|
18988
|
+
textSource: true,
|
|
18989
|
+
describe: "Write-only OIDC client secret; the redacted marker from providers get preserves an existing secret. Passing it inline exposes it to shell history and process listings. Required when --provider-type is oidc"
|
|
18990
|
+
}
|
|
18991
|
+
}
|
|
18992
|
+
},
|
|
18993
|
+
deleteSsoProvider: {
|
|
18994
|
+
command: "organizations sso providers delete",
|
|
18995
|
+
pathFlags: ORGANIZATION_FLAG,
|
|
18996
|
+
confirm: "This removes the identity provider used for SSO sign-in; linked accounts remain."
|
|
18997
|
+
},
|
|
18998
|
+
setPrimarySsoProvider: {
|
|
18999
|
+
command: "organizations sso providers primary",
|
|
19000
|
+
pathFlags: ORGANIZATION_FLAG
|
|
19001
|
+
},
|
|
19002
|
+
getSsoPolicy: {
|
|
19003
|
+
command: "organizations sso policy get",
|
|
19004
|
+
pathFlags: ORGANIZATION_FLAG
|
|
19005
|
+
},
|
|
19006
|
+
updateSsoPolicy: {
|
|
19007
|
+
command: "organizations sso policy update",
|
|
19008
|
+
pathFlags: ORGANIZATION_FLAG
|
|
19009
|
+
},
|
|
19010
|
+
listOrganizationDomains: {
|
|
19011
|
+
command: "organizations domains list",
|
|
19012
|
+
pathFlags: ORGANIZATION_FLAG,
|
|
19013
|
+
columns: [{ header: "id" }, { header: "domain" }, { header: "status" }]
|
|
19014
|
+
},
|
|
19015
|
+
addOrganizationDomain: {
|
|
19016
|
+
command: "organizations domains add",
|
|
19017
|
+
pathFlags: ORGANIZATION_FLAG
|
|
19018
|
+
},
|
|
19019
|
+
verifyOrganizationDomain: {
|
|
19020
|
+
command: "organizations domains verify",
|
|
19021
|
+
pathFlags: ORGANIZATION_FLAG
|
|
19022
|
+
},
|
|
19023
|
+
removeOrganizationDomain: {
|
|
19024
|
+
command: "organizations domains remove",
|
|
19025
|
+
pathFlags: ORGANIZATION_FLAG,
|
|
19026
|
+
confirm: "This removes the domain claim and revokes verified SSO authority for its providers."
|
|
19027
|
+
},
|
|
18439
19028
|
listOrganizationWorkspaces: {
|
|
18440
19029
|
command: "organizations workspaces",
|
|
18441
19030
|
pathFlags: ORGANIZATION_FLAG,
|
|
@@ -19977,6 +20566,9 @@ async function coerce(raw, field, flag, flagName) {
|
|
|
19977
20566
|
}
|
|
19978
20567
|
if (flag.rowCap)
|
|
19979
20568
|
return coerceRowCap(raw, flagName);
|
|
20569
|
+
if (flag.textSource && typeof raw === "string") {
|
|
20570
|
+
return (await readArgumentSource(raw, flagName)).text;
|
|
20571
|
+
}
|
|
19980
20572
|
if (takesJson(field, flag)) {
|
|
19981
20573
|
if (typeof raw !== "string")
|
|
19982
20574
|
return raw;
|
|
@@ -20152,11 +20744,13 @@ var DEFAULT_PAGE_SIZE = 100;
|
|
|
20152
20744
|
var COMPLETE_LIST_OPERATIONS = new Set([
|
|
20153
20745
|
"listBlocks",
|
|
20154
20746
|
"listChatDeployments",
|
|
20747
|
+
"listCredentialMembers",
|
|
20155
20748
|
"listCredentials",
|
|
20156
20749
|
"listCustomTools",
|
|
20157
20750
|
"listPermissionGroups",
|
|
20158
20751
|
"listPermissionGroupMembers",
|
|
20159
20752
|
"listOrganizations",
|
|
20753
|
+
"listOrganizationDomains",
|
|
20160
20754
|
"listOrganizationMembers",
|
|
20161
20755
|
"listOrganizationWorkspaces",
|
|
20162
20756
|
"listFiles",
|
|
@@ -20167,6 +20761,7 @@ var COMPLETE_LIST_OPERATIONS = new Set([
|
|
|
20167
20761
|
"listSecrets",
|
|
20168
20762
|
"listSkillEditors",
|
|
20169
20763
|
"listSkills",
|
|
20764
|
+
"listSsoProviders",
|
|
20170
20765
|
"listTables",
|
|
20171
20766
|
"listTools",
|
|
20172
20767
|
"listWorkflowMcpServers",
|
|
@@ -20226,10 +20821,10 @@ function addFieldOption(command, operation, field, descriptor, slot, paginates,
|
|
|
20226
20821
|
}
|
|
20227
20822
|
const takesList = flag.list === true;
|
|
20228
20823
|
const wantsJson = takesJson(descriptor, flag);
|
|
20229
|
-
const placeholder = takesList ? "<value...>" : flag.rowCap ? "<n>" : wantsJson ? "<json|@file>" : descriptor.nullable ? "<number|null>" : "<value>";
|
|
20824
|
+
const placeholder = takesList ? "<value...>" : flag.rowCap ? "<n>" : wantsJson ? "<json|@file>" : flag.textSource ? "<value|@file>" : descriptor.nullable ? "<number|null>" : "<value>";
|
|
20230
20825
|
const choices = flag.choices ?? descriptor.values;
|
|
20231
20826
|
const literalNull = slot === "body" && !takesList && !wantsJson && !descriptor.nullable;
|
|
20232
|
-
const describe = `${documented}${takesList ? flag.manifest ? " (space-separated, or @path / @- with one value per line; in a file, blank lines and # comments are ignored, while inline values are sent as typed and may not be empty; @@value for a literal leading @)" : " (space-separated, or @path / @- with one value per line; @@value for a literal leading @)" : wantsJson ? " (JSON, or @path / @- to read a file or stdin)" : ""}${descriptor.required ? " (required)" : ""}${literalNull ? literalNullHint(documented, name) : ""}`;
|
|
20827
|
+
const describe = `${documented}${takesList ? flag.manifest ? " (space-separated, or @path / @- with one value per line; in a file, blank lines and # comments are ignored, while inline values are sent as typed and may not be empty; @@value for a literal leading @)" : " (space-separated, or @path / @- with one value per line; @@value for a literal leading @)" : wantsJson ? " (JSON, or @path / @- to read a file or stdin)" : flag.textSource ? " (@path / @- reads a file or stdin verbatim, including trailing newlines; @@value for a literal leading @)" : ""}${descriptor.required ? " (required)" : ""}${literalNull ? literalNullHint(documented, name) : ""}`;
|
|
20233
20828
|
const renamedFrom = flag.renamedFrom ?? [];
|
|
20234
20829
|
const option = new Option(`${short}--${name} ${placeholder}`, describe);
|
|
20235
20830
|
if (flag.hidden)
|