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/index.js CHANGED
@@ -9536,6 +9536,24 @@ var V2_OPERATIONS = {
9536
9536
  summary: "Activate Workflow Version",
9537
9537
  workspaceKeyUnsupported: true
9538
9538
  },
9539
+ addOrganizationDomain: {
9540
+ method: "POST",
9541
+ path: "/api/v2/organizations/[organizationId]/domains",
9542
+ pathParams: ["organizationId"],
9543
+ pathParamDocs: {
9544
+ organizationId: "Organization whose single sign-on settings and verified domains are managed."
9545
+ },
9546
+ responseMode: "json",
9547
+ summary: "Add Organization Domain",
9548
+ workspaceKeyUnsupported: true,
9549
+ body: {
9550
+ domain: {
9551
+ kind: "string",
9552
+ required: true,
9553
+ describe: "Domain to claim and verify through a DNS TXT record."
9554
+ }
9555
+ }
9556
+ },
9539
9557
  addPermissionGroupMember: {
9540
9558
  method: "POST",
9541
9559
  path: "/api/v2/organizations/[organizationId]/permission-groups/[groupId]/members",
@@ -11211,6 +11229,18 @@ var V2_OPERATIONS = {
11211
11229
  workspaceId: { kind: "string", required: true, describe: "Workspace that owns the skill." }
11212
11230
  }
11213
11231
  },
11232
+ deleteSsoProvider: {
11233
+ method: "DELETE",
11234
+ path: "/api/v2/organizations/[organizationId]/sso/providers/[providerId]",
11235
+ pathParams: ["organizationId", "providerId"],
11236
+ pathParamDocs: {
11237
+ organizationId: "Organization whose single sign-on settings and verified domains are managed.",
11238
+ providerId: "Identity provider identifier."
11239
+ },
11240
+ responseMode: "json",
11241
+ summary: "Delete SSO Provider",
11242
+ workspaceKeyUnsupported: true
11243
+ },
11214
11244
  deleteTable: {
11215
11245
  method: "DELETE",
11216
11246
  path: "/api/v2/tables/[tableId]",
@@ -12383,6 +12413,29 @@ var V2_OPERATIONS = {
12383
12413
  workspaceId: { kind: "string", required: true, describe: "Workspace that owns the skill." }
12384
12414
  }
12385
12415
  },
12416
+ getSsoPolicy: {
12417
+ method: "GET",
12418
+ path: "/api/v2/organizations/[organizationId]/sso/policy",
12419
+ pathParams: ["organizationId"],
12420
+ pathParamDocs: {
12421
+ organizationId: "Organization whose single sign-on settings and verified domains are managed."
12422
+ },
12423
+ responseMode: "json",
12424
+ summary: "Get SSO Policy",
12425
+ workspaceKeyUnsupported: true
12426
+ },
12427
+ getSsoProvider: {
12428
+ method: "GET",
12429
+ path: "/api/v2/organizations/[organizationId]/sso/providers/[providerId]",
12430
+ pathParams: ["organizationId", "providerId"],
12431
+ pathParamDocs: {
12432
+ organizationId: "Organization whose single sign-on settings and verified domains are managed.",
12433
+ providerId: "Identity provider identifier."
12434
+ },
12435
+ responseMode: "json",
12436
+ summary: "Get SSO Provider",
12437
+ workspaceKeyUnsupported: true
12438
+ },
12386
12439
  getTable: {
12387
12440
  method: "GET",
12388
12441
  path: "/api/v2/tables/[tableId]",
@@ -12952,6 +13005,43 @@ var V2_OPERATIONS = {
12952
13005
  }
12953
13006
  }
12954
13007
  },
13008
+ listCredentialMembers: {
13009
+ method: "GET",
13010
+ path: "/api/v2/credentials/[credentialId]/members",
13011
+ pathParams: ["credentialId"],
13012
+ pathParamDocs: { credentialId: "Credential whose sharing grants are managed." },
13013
+ responseMode: "json",
13014
+ summary: "List Credential Members",
13015
+ workspaceKeyUnsupported: true,
13016
+ query: {
13017
+ workspaceId: {
13018
+ kind: "string",
13019
+ required: true,
13020
+ describe: "Workspace expected to own the credential."
13021
+ },
13022
+ limit: {
13023
+ kind: "integer",
13024
+ default: 50,
13025
+ describe: "Maximum credential members to return per page. Must be a whole number from 1 to 100. Defaults to 50."
13026
+ },
13027
+ cursor: {
13028
+ kind: "string",
13029
+ 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."
13030
+ },
13031
+ sortBy: {
13032
+ kind: "enum",
13033
+ values: ["email", "name"],
13034
+ default: "email",
13035
+ 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."
13036
+ },
13037
+ sortOrder: {
13038
+ kind: "enum",
13039
+ values: ["asc", "desc"],
13040
+ default: "asc",
13041
+ describe: "Sort direction."
13042
+ }
13043
+ }
13044
+ },
12955
13045
  listCredentialProviders: {
12956
13046
  method: "GET",
12957
13047
  path: "/api/v2/credentials/providers",
@@ -13791,6 +13881,40 @@ var V2_OPERATIONS = {
13791
13881
  }
13792
13882
  }
13793
13883
  },
13884
+ listOrganizationDomains: {
13885
+ method: "GET",
13886
+ path: "/api/v2/organizations/[organizationId]/domains",
13887
+ pathParams: ["organizationId"],
13888
+ pathParamDocs: {
13889
+ organizationId: "Organization whose single sign-on settings and verified domains are managed."
13890
+ },
13891
+ responseMode: "json",
13892
+ summary: "List Organization Domains",
13893
+ workspaceKeyUnsupported: true,
13894
+ query: {
13895
+ limit: {
13896
+ kind: "integer",
13897
+ default: 50,
13898
+ describe: "Maximum domain claims to return per page. Must be a whole number from 1 to 100. Defaults to 50."
13899
+ },
13900
+ cursor: {
13901
+ kind: "string",
13902
+ 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."
13903
+ },
13904
+ sortBy: {
13905
+ kind: "enum",
13906
+ values: ["domain"],
13907
+ default: "domain",
13908
+ describe: "Field used to sort the result."
13909
+ },
13910
+ sortOrder: {
13911
+ kind: "enum",
13912
+ values: ["asc", "desc"],
13913
+ default: "asc",
13914
+ describe: "Sort direction."
13915
+ }
13916
+ }
13917
+ },
13794
13918
  listOrganizationInvitations: {
13795
13919
  method: "GET",
13796
13920
  path: "/api/v2/organizations/[organizationId]/invitations",
@@ -14410,6 +14534,40 @@ var V2_OPERATIONS = {
14410
14534
  }
14411
14535
  }
14412
14536
  },
14537
+ listSsoProviders: {
14538
+ method: "GET",
14539
+ path: "/api/v2/organizations/[organizationId]/sso/providers",
14540
+ pathParams: ["organizationId"],
14541
+ pathParamDocs: {
14542
+ organizationId: "Organization whose single sign-on settings and verified domains are managed."
14543
+ },
14544
+ responseMode: "json",
14545
+ summary: "List SSO Providers",
14546
+ workspaceKeyUnsupported: true,
14547
+ query: {
14548
+ limit: {
14549
+ kind: "integer",
14550
+ default: 50,
14551
+ describe: "Maximum identity providers to return per page. Must be a whole number from 1 to 100. Defaults to 50."
14552
+ },
14553
+ cursor: {
14554
+ kind: "string",
14555
+ 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."
14556
+ },
14557
+ sortBy: {
14558
+ kind: "enum",
14559
+ values: ["providerId", "domain"],
14560
+ default: "providerId",
14561
+ describe: "Field used to sort the result."
14562
+ },
14563
+ sortOrder: {
14564
+ kind: "enum",
14565
+ values: ["asc", "desc"],
14566
+ default: "asc",
14567
+ describe: "Sort direction."
14568
+ }
14569
+ }
14570
+ },
14413
14571
  listTableDispatches: {
14414
14572
  method: "GET",
14415
14573
  path: "/api/v2/tables/[tableId]/dispatches",
@@ -15389,6 +15547,37 @@ var V2_OPERATIONS = {
15389
15547
  }
15390
15548
  }
15391
15549
  },
15550
+ removeCredentialMember: {
15551
+ method: "DELETE",
15552
+ path: "/api/v2/credentials/[credentialId]/members/[userId]",
15553
+ pathParams: ["credentialId", "userId"],
15554
+ pathParamDocs: {
15555
+ credentialId: "Credential whose sharing grants are managed.",
15556
+ userId: "User whose explicit grant will be revoked."
15557
+ },
15558
+ responseMode: "json",
15559
+ summary: "Remove Credential Member",
15560
+ workspaceKeyUnsupported: true,
15561
+ query: {
15562
+ workspaceId: {
15563
+ kind: "string",
15564
+ required: true,
15565
+ describe: "Workspace expected to own the credential."
15566
+ }
15567
+ }
15568
+ },
15569
+ removeOrganizationDomain: {
15570
+ method: "DELETE",
15571
+ path: "/api/v2/organizations/[organizationId]/domains/[domainId]",
15572
+ pathParams: ["organizationId", "domainId"],
15573
+ pathParamDocs: {
15574
+ organizationId: "Organization whose single sign-on settings and verified domains are managed.",
15575
+ domainId: "Domain claim owned by this organization."
15576
+ },
15577
+ responseMode: "json",
15578
+ summary: "Remove Organization Domain",
15579
+ workspaceKeyUnsupported: true
15580
+ },
15392
15581
  removeOrganizationMember: {
15393
15582
  method: "DELETE",
15394
15583
  path: "/api/v2/organizations/[organizationId]/members/[userId]",
@@ -15801,6 +15990,258 @@ var V2_OPERATIONS = {
15801
15990
  workspaceId: { kind: "string", required: true, describe: "Unique workspace identifier." }
15802
15991
  }
15803
15992
  },
15993
+ saveSsoProvider: {
15994
+ method: "POST",
15995
+ path: "/api/v2/organizations/[organizationId]/sso/providers",
15996
+ pathParams: ["organizationId"],
15997
+ pathParamDocs: {
15998
+ organizationId: "Organization whose single sign-on settings and verified domains are managed."
15999
+ },
16000
+ responseMode: "json",
16001
+ summary: "Save SSO Provider",
16002
+ workspaceKeyUnsupported: true,
16003
+ body: {
16004
+ providerType: {
16005
+ kind: "enum",
16006
+ required: true,
16007
+ values: ["oidc", "saml"],
16008
+ describe: "oidc: Configure an OpenID Connect identity provider. saml: Configure a SAML identity provider."
16009
+ },
16010
+ providerId: {
16011
+ kind: "string",
16012
+ required: true,
16013
+ describe: "Globally unique provider ID; saving an existing provider replaces its supplied configuration."
16014
+ },
16015
+ issuer: { kind: "string", required: true, describe: "Identity provider issuer URL." },
16016
+ domain: {
16017
+ kind: "string",
16018
+ required: true,
16019
+ describe: "Email domain already verified by this organization."
16020
+ },
16021
+ jitProvisioningEnabled: {
16022
+ kind: "boolean",
16023
+ default: true,
16024
+ describe: "Allow SSO sign-in to provision organization membership, subject to eligibility and available seats."
16025
+ },
16026
+ mapping: {
16027
+ kind: "object",
16028
+ default: { id: "sub", email: "email", name: "name", image: "picture" },
16029
+ describe: "Identity-provider claims mapped to user fields."
16030
+ },
16031
+ clientId: {
16032
+ kind: "string",
16033
+ describe: "Identity provider client identifier. Available when providerType is oidc. Required when providerType is oidc."
16034
+ },
16035
+ clientSecret: {
16036
+ kind: "string",
16037
+ 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."
16038
+ },
16039
+ scopes: {
16040
+ kind: "array",
16041
+ default: ["openid", "profile", "email"],
16042
+ describe: "OIDC scopes; offline_access is omitted. Available when providerType is oidc."
16043
+ },
16044
+ pkce: {
16045
+ kind: "boolean",
16046
+ default: true,
16047
+ describe: "Use PKCE for the authorization flow. Available when providerType is oidc."
16048
+ },
16049
+ authorizationEndpoint: {
16050
+ kind: "string",
16051
+ describe: "Optional authorization endpoint; otherwise resolved through issuer discovery. Available when providerType is oidc."
16052
+ },
16053
+ tokenEndpoint: {
16054
+ kind: "string",
16055
+ describe: "Optional token endpoint; otherwise resolved through issuer discovery. Available when providerType is oidc."
16056
+ },
16057
+ userInfoEndpoint: {
16058
+ kind: "string",
16059
+ describe: "Optional UserInfo endpoint. Available when providerType is oidc."
16060
+ },
16061
+ skipUserInfoEndpoint: {
16062
+ kind: "boolean",
16063
+ default: false,
16064
+ describe: "Read identity claims from the ID token instead of calling UserInfo. Available when providerType is oidc."
16065
+ },
16066
+ jwksEndpoint: {
16067
+ kind: "string",
16068
+ describe: "Optional signing-key endpoint; otherwise resolved through issuer discovery. Available when providerType is oidc."
16069
+ },
16070
+ entryPoint: {
16071
+ kind: "string",
16072
+ describe: "Identity provider SAML sign-in endpoint. Available when providerType is saml. Required when providerType is saml."
16073
+ },
16074
+ cert: {
16075
+ kind: "string",
16076
+ describe: "Identity provider signing certificate. Available when providerType is saml. Required when providerType is saml."
16077
+ },
16078
+ callbackUrl: {
16079
+ kind: "string",
16080
+ describe: "SAML callback URL; defaults to this provider’s Sim callback. Available when providerType is saml."
16081
+ },
16082
+ audience: {
16083
+ kind: "string",
16084
+ describe: "SAML audience; omission preserves the saved value. Available when providerType is saml."
16085
+ },
16086
+ wantAssertionsSigned: {
16087
+ kind: "boolean",
16088
+ describe: "Require signed assertions; omission preserves the saved value. Available when providerType is saml."
16089
+ },
16090
+ signatureAlgorithm: {
16091
+ kind: "string",
16092
+ describe: "Signature algorithm accepted by the SAML configuration validator; omission preserves the saved value. Available when providerType is saml."
16093
+ },
16094
+ digestAlgorithm: {
16095
+ kind: "string",
16096
+ describe: "Digest algorithm accepted by the SAML configuration validator; omission preserves the saved value. Available when providerType is saml."
16097
+ },
16098
+ identifierFormat: {
16099
+ kind: "string",
16100
+ describe: "SAML NameID format; omission clears the saved value. Available when providerType is saml."
16101
+ },
16102
+ idpMetadata: {
16103
+ kind: "string",
16104
+ describe: "Identity provider metadata XML; omission clears the saved document. Available when providerType is saml."
16105
+ }
16106
+ },
16107
+ bodyDiscriminator: {
16108
+ field: "providerType",
16109
+ variants: {
16110
+ oidc: {
16111
+ providerType: {
16112
+ kind: "string",
16113
+ required: true,
16114
+ describe: "Configure an OpenID Connect identity provider."
16115
+ },
16116
+ providerId: {
16117
+ kind: "string",
16118
+ required: true,
16119
+ describe: "Globally unique provider ID; saving an existing provider replaces its supplied configuration."
16120
+ },
16121
+ issuer: { kind: "string", required: true, describe: "Identity provider issuer URL." },
16122
+ domain: {
16123
+ kind: "string",
16124
+ required: true,
16125
+ describe: "Email domain already verified by this organization."
16126
+ },
16127
+ jitProvisioningEnabled: {
16128
+ kind: "boolean",
16129
+ default: true,
16130
+ describe: "Allow SSO sign-in to provision organization membership, subject to eligibility and available seats."
16131
+ },
16132
+ mapping: {
16133
+ kind: "object",
16134
+ default: { id: "sub", email: "email", name: "name", image: "picture" },
16135
+ describe: "Identity-provider claims mapped to user fields."
16136
+ },
16137
+ clientId: {
16138
+ kind: "string",
16139
+ required: true,
16140
+ describe: "Identity provider client identifier."
16141
+ },
16142
+ clientSecret: {
16143
+ kind: "string",
16144
+ required: true,
16145
+ describe: "Write-only client secret; the redacted marker from Get SSO Provider preserves an existing secret."
16146
+ },
16147
+ scopes: {
16148
+ kind: "array",
16149
+ default: ["openid", "profile", "email"],
16150
+ describe: "OIDC scopes; offline_access is omitted."
16151
+ },
16152
+ pkce: {
16153
+ kind: "boolean",
16154
+ default: true,
16155
+ describe: "Use PKCE for the authorization flow."
16156
+ },
16157
+ authorizationEndpoint: {
16158
+ kind: "string",
16159
+ describe: "Optional authorization endpoint; otherwise resolved through issuer discovery."
16160
+ },
16161
+ tokenEndpoint: {
16162
+ kind: "string",
16163
+ describe: "Optional token endpoint; otherwise resolved through issuer discovery."
16164
+ },
16165
+ userInfoEndpoint: { kind: "string", describe: "Optional UserInfo endpoint." },
16166
+ skipUserInfoEndpoint: {
16167
+ kind: "boolean",
16168
+ default: false,
16169
+ describe: "Read identity claims from the ID token instead of calling UserInfo."
16170
+ },
16171
+ jwksEndpoint: {
16172
+ kind: "string",
16173
+ describe: "Optional signing-key endpoint; otherwise resolved through issuer discovery."
16174
+ }
16175
+ },
16176
+ saml: {
16177
+ providerType: {
16178
+ kind: "string",
16179
+ required: true,
16180
+ describe: "Configure a SAML identity provider."
16181
+ },
16182
+ providerId: {
16183
+ kind: "string",
16184
+ required: true,
16185
+ describe: "Globally unique provider ID; saving an existing provider replaces its supplied configuration."
16186
+ },
16187
+ issuer: { kind: "string", required: true, describe: "Identity provider issuer URL." },
16188
+ domain: {
16189
+ kind: "string",
16190
+ required: true,
16191
+ describe: "Email domain already verified by this organization."
16192
+ },
16193
+ jitProvisioningEnabled: {
16194
+ kind: "boolean",
16195
+ default: true,
16196
+ describe: "Allow SSO sign-in to provision organization membership, subject to eligibility and available seats."
16197
+ },
16198
+ mapping: {
16199
+ kind: "object",
16200
+ default: { id: "sub", email: "email", name: "name", image: "picture" },
16201
+ describe: "Identity-provider claims mapped to user fields."
16202
+ },
16203
+ entryPoint: {
16204
+ kind: "string",
16205
+ required: true,
16206
+ describe: "Identity provider SAML sign-in endpoint."
16207
+ },
16208
+ cert: {
16209
+ kind: "string",
16210
+ required: true,
16211
+ describe: "Identity provider signing certificate."
16212
+ },
16213
+ callbackUrl: {
16214
+ kind: "string",
16215
+ describe: "SAML callback URL; defaults to this provider’s Sim callback."
16216
+ },
16217
+ audience: {
16218
+ kind: "string",
16219
+ describe: "SAML audience; omission preserves the saved value."
16220
+ },
16221
+ wantAssertionsSigned: {
16222
+ kind: "boolean",
16223
+ describe: "Require signed assertions; omission preserves the saved value."
16224
+ },
16225
+ signatureAlgorithm: {
16226
+ kind: "string",
16227
+ describe: "Signature algorithm accepted by the SAML configuration validator; omission preserves the saved value."
16228
+ },
16229
+ digestAlgorithm: {
16230
+ kind: "string",
16231
+ describe: "Digest algorithm accepted by the SAML configuration validator; omission preserves the saved value."
16232
+ },
16233
+ identifierFormat: {
16234
+ kind: "string",
16235
+ describe: "SAML NameID format; omission clears the saved value."
16236
+ },
16237
+ idpMetadata: {
16238
+ kind: "string",
16239
+ describe: "Identity provider metadata XML; omission clears the saved document."
16240
+ }
16241
+ }
16242
+ }
16243
+ }
16244
+ },
15804
16245
  searchFileContent: {
15805
16246
  method: "GET",
15806
16247
  path: "/api/v2/files/search",
@@ -15912,6 +16353,18 @@ var V2_OPERATIONS = {
15912
16353
  sort: { kind: "array", describe: "Ordered table-row sort specification." }
15913
16354
  }
15914
16355
  },
16356
+ setPrimarySsoProvider: {
16357
+ method: "POST",
16358
+ path: "/api/v2/organizations/[organizationId]/sso/providers/[providerId]/primary",
16359
+ pathParams: ["organizationId", "providerId"],
16360
+ pathParamDocs: {
16361
+ organizationId: "Organization whose single sign-on settings and verified domains are managed.",
16362
+ providerId: "Identity provider identifier."
16363
+ },
16364
+ responseMode: "json",
16365
+ summary: "Set Primary SSO Provider",
16366
+ workspaceKeyUnsupported: true
16367
+ },
15915
16368
  setSecret: {
15916
16369
  method: "PUT",
15917
16370
  path: "/api/v2/secrets/[name]",
@@ -16521,6 +16974,24 @@ var V2_OPERATIONS = {
16521
16974
  content: { kind: "string", describe: "Replacement skill body." }
16522
16975
  }
16523
16976
  },
16977
+ updateSsoPolicy: {
16978
+ method: "PATCH",
16979
+ path: "/api/v2/organizations/[organizationId]/sso/policy",
16980
+ pathParams: ["organizationId"],
16981
+ pathParamDocs: {
16982
+ organizationId: "Organization whose single sign-on settings and verified domains are managed."
16983
+ },
16984
+ responseMode: "json",
16985
+ summary: "Update SSO Policy",
16986
+ workspaceKeyUnsupported: true,
16987
+ body: {
16988
+ requireSso: {
16989
+ kind: "boolean",
16990
+ required: true,
16991
+ describe: "Require organization SSO on future sign-ins; existing sessions remain active."
16992
+ }
16993
+ }
16994
+ },
16524
16995
  updateTable: {
16525
16996
  method: "PATCH",
16526
16997
  path: "/api/v2/tables/[tableId]",
@@ -16758,6 +17229,35 @@ var V2_OPERATIONS = {
16758
17229
  }
16759
17230
  }
16760
17231
  },
17232
+ upsertCredentialMember: {
17233
+ method: "POST",
17234
+ path: "/api/v2/credentials/[credentialId]/members",
17235
+ pathParams: ["credentialId"],
17236
+ pathParamDocs: { credentialId: "Credential whose sharing grants are managed." },
17237
+ responseMode: "json",
17238
+ summary: "Upsert Credential Member",
17239
+ workspaceKeyUnsupported: true,
17240
+ query: {
17241
+ workspaceId: {
17242
+ kind: "string",
17243
+ required: true,
17244
+ describe: "Workspace expected to own the credential."
17245
+ }
17246
+ },
17247
+ body: {
17248
+ userId: {
17249
+ kind: "string",
17250
+ required: true,
17251
+ describe: "Existing workspace member to grant or change access for."
17252
+ },
17253
+ role: {
17254
+ kind: "enum",
17255
+ required: true,
17256
+ values: ["admin", "member"],
17257
+ describe: "Credential role to grant; workspace administrators cannot be demoted."
17258
+ }
17259
+ }
17260
+ },
16761
17261
  upsertFileShare: {
16762
17262
  method: "PATCH",
16763
17263
  path: "/api/v2/files/[fileId]/share",
@@ -16804,6 +17304,18 @@ var V2_OPERATIONS = {
16804
17304
  },
16805
17305
  conflictTarget: { kind: "string", describe: "Unique column used to detect a conflict." }
16806
17306
  }
17307
+ },
17308
+ verifyOrganizationDomain: {
17309
+ method: "POST",
17310
+ path: "/api/v2/organizations/[organizationId]/domains/[domainId]/verify",
17311
+ pathParams: ["organizationId", "domainId"],
17312
+ pathParamDocs: {
17313
+ organizationId: "Organization whose single sign-on settings and verified domains are managed.",
17314
+ domainId: "Domain claim owned by this organization."
17315
+ },
17316
+ responseMode: "json",
17317
+ summary: "Verify Organization Domain",
17318
+ workspaceKeyUnsupported: true
16807
17319
  }
16808
17320
  };
16809
17321
 
@@ -17760,6 +18272,24 @@ var CLI_CONTRACT = {
17760
18272
  deleteCredential: {
17761
18273
  confirm: "This disconnects the credential and removes its stored authentication."
17762
18274
  },
18275
+ listCredentialMembers: {
18276
+ columns: [
18277
+ { header: "user", path: "userId" },
18278
+ { header: "name", path: "userName" },
18279
+ { header: "email", path: "userEmail" },
18280
+ { header: "role" },
18281
+ { header: "status" },
18282
+ { header: "source", path: "roleSource" }
18283
+ ]
18284
+ },
18285
+ upsertCredentialMember: {
18286
+ command: "credentials members upsert",
18287
+ flags: { userId: { name: "user" } }
18288
+ },
18289
+ removeCredentialMember: {
18290
+ command: "credentials members remove",
18291
+ confirm: "This revokes the selected user’s explicit credential grant."
18292
+ },
17763
18293
  deleteSkill: { confirm: "This deletes the skill." },
17764
18294
  revokeSkillEditor: {
17765
18295
  confirm: "This revokes the explicit skill editor grant for the selected email."
@@ -18387,6 +18917,65 @@ var CLI_CONTRACT = {
18387
18917
  columns: [{ header: "id" }, { header: "name" }, { header: "role" }]
18388
18918
  },
18389
18919
  getOrganization: { command: "organizations get" },
18920
+ listSsoProviders: {
18921
+ command: "organizations sso providers list",
18922
+ pathFlags: ORGANIZATION_FLAG,
18923
+ columns: [
18924
+ { header: "provider", path: "providerId" },
18925
+ { header: "domain" },
18926
+ { header: "primary", path: "isPrimary", format: "bool" },
18927
+ { header: "verified", path: "domainVerified", format: "bool" }
18928
+ ]
18929
+ },
18930
+ getSsoProvider: {
18931
+ command: "organizations sso providers get",
18932
+ pathFlags: ORGANIZATION_FLAG
18933
+ },
18934
+ saveSsoProvider: {
18935
+ command: "organizations sso providers save",
18936
+ pathFlags: ORGANIZATION_FLAG,
18937
+ flags: {
18938
+ clientSecret: {
18939
+ textSource: true,
18940
+ 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"
18941
+ }
18942
+ }
18943
+ },
18944
+ deleteSsoProvider: {
18945
+ command: "organizations sso providers delete",
18946
+ pathFlags: ORGANIZATION_FLAG,
18947
+ confirm: "This removes the identity provider used for SSO sign-in; linked accounts remain."
18948
+ },
18949
+ setPrimarySsoProvider: {
18950
+ command: "organizations sso providers primary",
18951
+ pathFlags: ORGANIZATION_FLAG
18952
+ },
18953
+ getSsoPolicy: {
18954
+ command: "organizations sso policy get",
18955
+ pathFlags: ORGANIZATION_FLAG
18956
+ },
18957
+ updateSsoPolicy: {
18958
+ command: "organizations sso policy update",
18959
+ pathFlags: ORGANIZATION_FLAG
18960
+ },
18961
+ listOrganizationDomains: {
18962
+ command: "organizations domains list",
18963
+ pathFlags: ORGANIZATION_FLAG,
18964
+ columns: [{ header: "id" }, { header: "domain" }, { header: "status" }]
18965
+ },
18966
+ addOrganizationDomain: {
18967
+ command: "organizations domains add",
18968
+ pathFlags: ORGANIZATION_FLAG
18969
+ },
18970
+ verifyOrganizationDomain: {
18971
+ command: "organizations domains verify",
18972
+ pathFlags: ORGANIZATION_FLAG
18973
+ },
18974
+ removeOrganizationDomain: {
18975
+ command: "organizations domains remove",
18976
+ pathFlags: ORGANIZATION_FLAG,
18977
+ confirm: "This removes the domain claim and revokes verified SSO authority for its providers."
18978
+ },
18390
18979
  listOrganizationWorkspaces: {
18391
18980
  command: "organizations workspaces",
18392
18981
  pathFlags: ORGANIZATION_FLAG,
@@ -19928,6 +20517,9 @@ async function coerce(raw, field, flag, flagName) {
19928
20517
  }
19929
20518
  if (flag.rowCap)
19930
20519
  return coerceRowCap(raw, flagName);
20520
+ if (flag.textSource && typeof raw === "string") {
20521
+ return (await readArgumentSource(raw, flagName)).text;
20522
+ }
19931
20523
  if (takesJson(field, flag)) {
19932
20524
  if (typeof raw !== "string")
19933
20525
  return raw;
@@ -20103,11 +20695,13 @@ var DEFAULT_PAGE_SIZE = 100;
20103
20695
  var COMPLETE_LIST_OPERATIONS = new Set([
20104
20696
  "listBlocks",
20105
20697
  "listChatDeployments",
20698
+ "listCredentialMembers",
20106
20699
  "listCredentials",
20107
20700
  "listCustomTools",
20108
20701
  "listPermissionGroups",
20109
20702
  "listPermissionGroupMembers",
20110
20703
  "listOrganizations",
20704
+ "listOrganizationDomains",
20111
20705
  "listOrganizationMembers",
20112
20706
  "listOrganizationWorkspaces",
20113
20707
  "listFiles",
@@ -20118,6 +20712,7 @@ var COMPLETE_LIST_OPERATIONS = new Set([
20118
20712
  "listSecrets",
20119
20713
  "listSkillEditors",
20120
20714
  "listSkills",
20715
+ "listSsoProviders",
20121
20716
  "listTables",
20122
20717
  "listTools",
20123
20718
  "listWorkflowMcpServers",
@@ -20177,10 +20772,10 @@ function addFieldOption(command, operation, field, descriptor, slot, paginates,
20177
20772
  }
20178
20773
  const takesList = flag.list === true;
20179
20774
  const wantsJson = takesJson(descriptor, flag);
20180
- const placeholder = takesList ? "<value...>" : flag.rowCap ? "<n>" : wantsJson ? "<json|@file>" : descriptor.nullable ? "<number|null>" : "<value>";
20775
+ const placeholder = takesList ? "<value...>" : flag.rowCap ? "<n>" : wantsJson ? "<json|@file>" : flag.textSource ? "<value|@file>" : descriptor.nullable ? "<number|null>" : "<value>";
20181
20776
  const choices = flag.choices ?? descriptor.values;
20182
20777
  const literalNull = slot === "body" && !takesList && !wantsJson && !descriptor.nullable;
20183
- 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) : ""}`;
20778
+ 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) : ""}`;
20184
20779
  const renamedFrom = flag.renamedFrom ?? [];
20185
20780
  const option = new Option(`${short}--${name} ${placeholder}`, describe);
20186
20781
  if (flag.hidden)