@credal/actions 0.2.170 → 0.2.172
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/actions/actionMapper.js +7 -89
- package/dist/actions/autogen/templates.d.ts +1 -14
- package/dist/actions/autogen/templates.js +152 -1189
- package/dist/actions/autogen/types.d.ts +161 -1308
- package/dist/actions/autogen/types.js +11 -356
- package/dist/actions/groups.js +1 -14
- package/dist/actions/providers/salesforce/getSalesforceRecordByQuery.d.ts +3 -0
- package/dist/actions/providers/salesforce/getSalesforceRecordByQuery.js +43 -0
- package/dist/actions/providers/slack/archiveChannel.js +2 -9
- package/dist/actions/providers/slack/sendDmFromBot.d.ts +11 -0
- package/dist/actions/providers/slack/sendDmFromBot.js +86 -0
- package/package.json +1 -1
- package/dist/actions/providers/confluence/updatePage.d.ts +0 -3
- package/dist/actions/providers/confluence/updatePage.js +0 -47
- package/dist/actions/providers/jamf/types.d.ts +0 -8
- package/dist/actions/providers/jamf/types.js +0 -7
|
@@ -583,6 +583,52 @@ export const asanaGetTasksDetailsDefinition = {
|
|
|
583
583
|
name: "getTasksDetails",
|
|
584
584
|
provider: "asana",
|
|
585
585
|
};
|
|
586
|
+
export const slackSendDmFromBotDefinition = {
|
|
587
|
+
description: "Sends a direct message to a user on Slack using a bot",
|
|
588
|
+
scopes: ["users:read", "channels:manage", "chat:write"],
|
|
589
|
+
parameters: {
|
|
590
|
+
type: "object",
|
|
591
|
+
required: ["email", "message"],
|
|
592
|
+
properties: {
|
|
593
|
+
email: {
|
|
594
|
+
type: "string",
|
|
595
|
+
description: "The email of the user to send the DM to",
|
|
596
|
+
},
|
|
597
|
+
message: {
|
|
598
|
+
type: "string",
|
|
599
|
+
description: "The message content to send",
|
|
600
|
+
},
|
|
601
|
+
},
|
|
602
|
+
},
|
|
603
|
+
output: {
|
|
604
|
+
type: "object",
|
|
605
|
+
required: ["success"],
|
|
606
|
+
properties: {
|
|
607
|
+
success: {
|
|
608
|
+
type: "boolean",
|
|
609
|
+
description: "Whether the DM was sent successfully",
|
|
610
|
+
},
|
|
611
|
+
error: {
|
|
612
|
+
type: "string",
|
|
613
|
+
description: "Error message if the operation failed",
|
|
614
|
+
},
|
|
615
|
+
channelId: {
|
|
616
|
+
type: "string",
|
|
617
|
+
description: "The ID of the DM channel",
|
|
618
|
+
},
|
|
619
|
+
timestamp: {
|
|
620
|
+
type: "string",
|
|
621
|
+
description: "The timestamp of the sent message",
|
|
622
|
+
},
|
|
623
|
+
permalink: {
|
|
624
|
+
type: "string",
|
|
625
|
+
description: "The permalink to the sent message",
|
|
626
|
+
},
|
|
627
|
+
},
|
|
628
|
+
},
|
|
629
|
+
name: "sendDmFromBot",
|
|
630
|
+
provider: "slack",
|
|
631
|
+
};
|
|
586
632
|
export const slackCreateChannelDefinition = {
|
|
587
633
|
description: "Creates a new Slack channel using a bot token",
|
|
588
634
|
scopes: ["channels:manage"],
|
|
@@ -9138,16 +9184,16 @@ export const googleSearchCustomSearchDefinition = {
|
|
|
9138
9184
|
name: "customSearch",
|
|
9139
9185
|
provider: "googleSearch",
|
|
9140
9186
|
};
|
|
9141
|
-
export const
|
|
9142
|
-
description: "Retrieve details of a specific Okta user by their
|
|
9187
|
+
export const oktaOrgGetOktaUserByNameDefinition = {
|
|
9188
|
+
description: "Retrieve details of a specific Okta user by their name.",
|
|
9143
9189
|
scopes: ["okta.users.read"],
|
|
9144
9190
|
parameters: {
|
|
9145
9191
|
type: "object",
|
|
9146
|
-
required: ["
|
|
9192
|
+
required: ["name"],
|
|
9147
9193
|
properties: {
|
|
9148
|
-
|
|
9194
|
+
name: {
|
|
9149
9195
|
type: "string",
|
|
9150
|
-
description: "The
|
|
9196
|
+
description: "The name of the user to retrieve.",
|
|
9151
9197
|
},
|
|
9152
9198
|
},
|
|
9153
9199
|
},
|
|
@@ -9161,145 +9207,27 @@ export const oktaGetOktaUserDefinition = {
|
|
|
9161
9207
|
},
|
|
9162
9208
|
user: {
|
|
9163
9209
|
type: "object",
|
|
9164
|
-
required: ["id"],
|
|
9210
|
+
required: ["id", "email"],
|
|
9165
9211
|
properties: {
|
|
9166
9212
|
id: {
|
|
9167
9213
|
type: "string",
|
|
9168
9214
|
description: "The user's Okta ID",
|
|
9169
9215
|
},
|
|
9170
|
-
|
|
9171
|
-
type: "string",
|
|
9172
|
-
description: "The user's status",
|
|
9173
|
-
},
|
|
9174
|
-
created: {
|
|
9175
|
-
type: "string",
|
|
9176
|
-
description: "The timestamp when the user was created",
|
|
9177
|
-
},
|
|
9178
|
-
activated: {
|
|
9179
|
-
type: "string",
|
|
9180
|
-
description: "The timestamp when the user was activated",
|
|
9181
|
-
},
|
|
9182
|
-
statusChanged: {
|
|
9216
|
+
email: {
|
|
9183
9217
|
type: "string",
|
|
9184
|
-
description: "The
|
|
9218
|
+
description: "The user's email address",
|
|
9185
9219
|
},
|
|
9186
|
-
|
|
9220
|
+
title: {
|
|
9187
9221
|
type: "string",
|
|
9188
|
-
description: "The
|
|
9222
|
+
description: "The user's title",
|
|
9189
9223
|
},
|
|
9190
|
-
|
|
9224
|
+
division: {
|
|
9191
9225
|
type: "string",
|
|
9192
|
-
description: "The
|
|
9226
|
+
description: "The user's division",
|
|
9193
9227
|
},
|
|
9194
|
-
|
|
9228
|
+
department: {
|
|
9195
9229
|
type: "string",
|
|
9196
|
-
description: "The
|
|
9197
|
-
},
|
|
9198
|
-
profile: {
|
|
9199
|
-
type: "object",
|
|
9200
|
-
description: "The user's profile information",
|
|
9201
|
-
properties: {
|
|
9202
|
-
login: {
|
|
9203
|
-
type: "string",
|
|
9204
|
-
description: "The user's login",
|
|
9205
|
-
},
|
|
9206
|
-
firstName: {
|
|
9207
|
-
type: "string",
|
|
9208
|
-
description: "The user's first name",
|
|
9209
|
-
},
|
|
9210
|
-
lastName: {
|
|
9211
|
-
type: "string",
|
|
9212
|
-
description: "The user's last name",
|
|
9213
|
-
},
|
|
9214
|
-
nickName: {
|
|
9215
|
-
type: "string",
|
|
9216
|
-
description: "The user's nickname",
|
|
9217
|
-
},
|
|
9218
|
-
displayName: {
|
|
9219
|
-
type: "string",
|
|
9220
|
-
description: "The user's display name",
|
|
9221
|
-
},
|
|
9222
|
-
email: {
|
|
9223
|
-
type: "string",
|
|
9224
|
-
description: "The user's email address",
|
|
9225
|
-
},
|
|
9226
|
-
secondEmail: {
|
|
9227
|
-
type: "string",
|
|
9228
|
-
description: "The user's secondary email address",
|
|
9229
|
-
},
|
|
9230
|
-
profileUrl: {
|
|
9231
|
-
type: "string",
|
|
9232
|
-
description: "The URL to the user's profile",
|
|
9233
|
-
},
|
|
9234
|
-
preferredLanguage: {
|
|
9235
|
-
type: "string",
|
|
9236
|
-
description: "The user's preferred language",
|
|
9237
|
-
},
|
|
9238
|
-
userType: {
|
|
9239
|
-
type: "string",
|
|
9240
|
-
description: "The user's type",
|
|
9241
|
-
},
|
|
9242
|
-
organization: {
|
|
9243
|
-
type: "string",
|
|
9244
|
-
description: "The user's organization",
|
|
9245
|
-
},
|
|
9246
|
-
title: {
|
|
9247
|
-
type: "string",
|
|
9248
|
-
description: "The user's title",
|
|
9249
|
-
},
|
|
9250
|
-
division: {
|
|
9251
|
-
type: "string",
|
|
9252
|
-
description: "The user's division",
|
|
9253
|
-
},
|
|
9254
|
-
department: {
|
|
9255
|
-
type: "string",
|
|
9256
|
-
description: "The user's department",
|
|
9257
|
-
},
|
|
9258
|
-
costCenter: {
|
|
9259
|
-
type: "string",
|
|
9260
|
-
description: "The user's cost center",
|
|
9261
|
-
},
|
|
9262
|
-
employeeNumber: {
|
|
9263
|
-
type: "string",
|
|
9264
|
-
description: "The user's employee number",
|
|
9265
|
-
},
|
|
9266
|
-
mobilePhone: {
|
|
9267
|
-
type: "string",
|
|
9268
|
-
description: "The user's mobile phone number",
|
|
9269
|
-
},
|
|
9270
|
-
primaryPhone: {
|
|
9271
|
-
type: "string",
|
|
9272
|
-
description: "The user's primary phone number",
|
|
9273
|
-
},
|
|
9274
|
-
streetAddress: {
|
|
9275
|
-
type: "string",
|
|
9276
|
-
description: "The user's street address",
|
|
9277
|
-
},
|
|
9278
|
-
city: {
|
|
9279
|
-
type: "string",
|
|
9280
|
-
description: "The user's city",
|
|
9281
|
-
},
|
|
9282
|
-
state: {
|
|
9283
|
-
type: "string",
|
|
9284
|
-
description: "The user's state",
|
|
9285
|
-
},
|
|
9286
|
-
zipCode: {
|
|
9287
|
-
type: "string",
|
|
9288
|
-
description: "The user's zip code",
|
|
9289
|
-
},
|
|
9290
|
-
countryCode: {
|
|
9291
|
-
type: "string",
|
|
9292
|
-
description: "The user's country code",
|
|
9293
|
-
},
|
|
9294
|
-
},
|
|
9295
|
-
},
|
|
9296
|
-
credentials: {
|
|
9297
|
-
type: "object",
|
|
9298
|
-
description: "The user's credentials",
|
|
9299
|
-
},
|
|
9300
|
-
_links: {
|
|
9301
|
-
type: "object",
|
|
9302
|
-
description: "Links related to the user",
|
|
9230
|
+
description: "The user's department",
|
|
9303
9231
|
},
|
|
9304
9232
|
},
|
|
9305
9233
|
},
|
|
@@ -9309,1077 +9237,149 @@ export const oktaGetOktaUserDefinition = {
|
|
|
9309
9237
|
},
|
|
9310
9238
|
},
|
|
9311
9239
|
},
|
|
9312
|
-
name: "
|
|
9313
|
-
provider: "
|
|
9240
|
+
name: "getOktaUserByName",
|
|
9241
|
+
provider: "oktaOrg",
|
|
9314
9242
|
};
|
|
9315
|
-
export const
|
|
9316
|
-
description: "
|
|
9317
|
-
scopes: [
|
|
9243
|
+
export const finnhubSymbolLookupDefinition = {
|
|
9244
|
+
description: "Look up a stock symbol by name",
|
|
9245
|
+
scopes: [],
|
|
9318
9246
|
parameters: {
|
|
9319
9247
|
type: "object",
|
|
9320
|
-
required: ["
|
|
9248
|
+
required: ["query"],
|
|
9321
9249
|
properties: {
|
|
9322
|
-
|
|
9250
|
+
query: {
|
|
9323
9251
|
type: "string",
|
|
9324
|
-
description: "The
|
|
9325
|
-
},
|
|
9326
|
-
maxResults: {
|
|
9327
|
-
type: "number",
|
|
9328
|
-
description: "The maximum number of results to return.",
|
|
9329
|
-
minimum: 1,
|
|
9252
|
+
description: "The symbol or colloquial name of the company to look up",
|
|
9330
9253
|
},
|
|
9331
9254
|
},
|
|
9332
9255
|
},
|
|
9333
9256
|
output: {
|
|
9334
9257
|
type: "object",
|
|
9335
|
-
required: ["
|
|
9258
|
+
required: ["result"],
|
|
9336
9259
|
properties: {
|
|
9337
|
-
|
|
9338
|
-
type: "boolean",
|
|
9339
|
-
description: "Whether the groups were successfully retrieved.",
|
|
9340
|
-
},
|
|
9341
|
-
groups: {
|
|
9260
|
+
result: {
|
|
9342
9261
|
type: "array",
|
|
9343
|
-
description: "
|
|
9262
|
+
description: "The results of the symbol lookup",
|
|
9344
9263
|
items: {
|
|
9345
9264
|
type: "object",
|
|
9346
|
-
|
|
9265
|
+
description: "The metadata of the stock",
|
|
9347
9266
|
properties: {
|
|
9348
|
-
|
|
9267
|
+
symbol: {
|
|
9349
9268
|
type: "string",
|
|
9350
|
-
description: "The
|
|
9269
|
+
description: "The symbol of the stock",
|
|
9351
9270
|
},
|
|
9352
|
-
|
|
9353
|
-
type: "
|
|
9354
|
-
|
|
9355
|
-
properties: {
|
|
9356
|
-
name: {
|
|
9357
|
-
type: "string",
|
|
9358
|
-
description: "The group's name.",
|
|
9359
|
-
},
|
|
9360
|
-
description: {
|
|
9361
|
-
type: "string",
|
|
9362
|
-
description: "The group's description.",
|
|
9363
|
-
},
|
|
9364
|
-
},
|
|
9271
|
+
description: {
|
|
9272
|
+
type: "string",
|
|
9273
|
+
description: "The description of the stock",
|
|
9365
9274
|
},
|
|
9366
9275
|
},
|
|
9367
9276
|
},
|
|
9368
9277
|
},
|
|
9369
|
-
error: {
|
|
9370
|
-
type: "string",
|
|
9371
|
-
description: "Error message if retrieval failed.",
|
|
9372
|
-
},
|
|
9373
9278
|
},
|
|
9374
9279
|
},
|
|
9375
|
-
name: "
|
|
9376
|
-
provider: "
|
|
9280
|
+
name: "symbolLookup",
|
|
9281
|
+
provider: "finnhub",
|
|
9377
9282
|
};
|
|
9378
|
-
export const
|
|
9379
|
-
description: "
|
|
9380
|
-
scopes: [
|
|
9283
|
+
export const finnhubGetBasicFinancialsDefinition = {
|
|
9284
|
+
description: "Get company basic financials such as margin, P/E ratio, 52-week high/low etc.",
|
|
9285
|
+
scopes: [],
|
|
9381
9286
|
parameters: {
|
|
9382
9287
|
type: "object",
|
|
9383
|
-
required: [],
|
|
9288
|
+
required: ["symbol"],
|
|
9384
9289
|
properties: {
|
|
9385
|
-
|
|
9290
|
+
symbol: {
|
|
9386
9291
|
type: "string",
|
|
9387
|
-
description: "
|
|
9388
|
-
},
|
|
9389
|
-
maxResults: {
|
|
9390
|
-
type: "number",
|
|
9391
|
-
description: "The maximum number of results to return.",
|
|
9392
|
-
minimum: 1,
|
|
9292
|
+
description: "The symbol/TICKER of the stock",
|
|
9393
9293
|
},
|
|
9394
9294
|
},
|
|
9395
9295
|
},
|
|
9396
9296
|
output: {
|
|
9397
9297
|
type: "object",
|
|
9398
|
-
required: ["
|
|
9298
|
+
required: ["result"],
|
|
9399
9299
|
properties: {
|
|
9400
|
-
|
|
9401
|
-
type: "
|
|
9402
|
-
description: "
|
|
9403
|
-
|
|
9404
|
-
|
|
9405
|
-
|
|
9406
|
-
|
|
9407
|
-
|
|
9408
|
-
type: "object",
|
|
9409
|
-
required: ["id", "profile"],
|
|
9410
|
-
properties: {
|
|
9411
|
-
id: {
|
|
9412
|
-
type: "string",
|
|
9413
|
-
description: "The group's ID.",
|
|
9414
|
-
},
|
|
9415
|
-
profile: {
|
|
9300
|
+
result: {
|
|
9301
|
+
type: "object",
|
|
9302
|
+
description: "The basic financials of the stock",
|
|
9303
|
+
properties: {
|
|
9304
|
+
annual: {
|
|
9305
|
+
type: "array",
|
|
9306
|
+
description: "The annual financials of the stock",
|
|
9307
|
+
items: {
|
|
9416
9308
|
type: "object",
|
|
9417
|
-
|
|
9309
|
+
description: "The annual financials of the stock",
|
|
9418
9310
|
properties: {
|
|
9419
|
-
|
|
9311
|
+
metric: {
|
|
9420
9312
|
type: "string",
|
|
9421
|
-
description: "The
|
|
9313
|
+
description: "The name of the financial metric",
|
|
9422
9314
|
},
|
|
9423
|
-
|
|
9315
|
+
series: {
|
|
9316
|
+
type: "array",
|
|
9317
|
+
description: "The series of values for the financial metric",
|
|
9318
|
+
items: {
|
|
9319
|
+
type: "object",
|
|
9320
|
+
description: "The value of the financial metric",
|
|
9321
|
+
properties: {
|
|
9322
|
+
period: {
|
|
9323
|
+
type: "string",
|
|
9324
|
+
description: "The period of the financial metric in YYYY-MM-DD format",
|
|
9325
|
+
},
|
|
9326
|
+
v: {
|
|
9327
|
+
type: "number",
|
|
9328
|
+
description: "The value of the financial metric",
|
|
9329
|
+
},
|
|
9330
|
+
},
|
|
9331
|
+
},
|
|
9332
|
+
},
|
|
9333
|
+
},
|
|
9334
|
+
},
|
|
9335
|
+
},
|
|
9336
|
+
quarterly: {
|
|
9337
|
+
type: "array",
|
|
9338
|
+
description: "The quarterly financials of the stock",
|
|
9339
|
+
items: {
|
|
9340
|
+
type: "object",
|
|
9341
|
+
description: "The quarterly financials of the stock",
|
|
9342
|
+
properties: {
|
|
9343
|
+
metric: {
|
|
9424
9344
|
type: "string",
|
|
9425
|
-
description: "The
|
|
9345
|
+
description: "The name of the financial metric",
|
|
9346
|
+
},
|
|
9347
|
+
series: {
|
|
9348
|
+
type: "array",
|
|
9349
|
+
description: "The series of values for the financial metric",
|
|
9350
|
+
items: {
|
|
9351
|
+
type: "object",
|
|
9352
|
+
description: "The value of the financial metric",
|
|
9353
|
+
properties: {
|
|
9354
|
+
period: {
|
|
9355
|
+
type: "string",
|
|
9356
|
+
description: "The period of the financial metric in YYYY-MM-DD format",
|
|
9357
|
+
},
|
|
9358
|
+
v: {
|
|
9359
|
+
type: "number",
|
|
9360
|
+
description: "The value of the financial metric",
|
|
9361
|
+
},
|
|
9362
|
+
},
|
|
9363
|
+
},
|
|
9426
9364
|
},
|
|
9427
9365
|
},
|
|
9428
9366
|
},
|
|
9429
9367
|
},
|
|
9430
9368
|
},
|
|
9431
9369
|
},
|
|
9432
|
-
error: {
|
|
9433
|
-
type: "string",
|
|
9434
|
-
description: "Error message if retrieval failed.",
|
|
9435
|
-
},
|
|
9436
9370
|
},
|
|
9437
9371
|
},
|
|
9438
|
-
name: "
|
|
9439
|
-
provider: "
|
|
9372
|
+
name: "getBasicFinancials",
|
|
9373
|
+
provider: "finnhub",
|
|
9440
9374
|
};
|
|
9441
|
-
export const
|
|
9442
|
-
description: "
|
|
9443
|
-
scopes: [
|
|
9375
|
+
export const lookerEnableUserByEmailDefinition = {
|
|
9376
|
+
description: "Search for a Looker user by email and enable them if disabled",
|
|
9377
|
+
scopes: [],
|
|
9444
9378
|
parameters: {
|
|
9445
9379
|
type: "object",
|
|
9446
|
-
required: ["
|
|
9380
|
+
required: ["userEmail"],
|
|
9447
9381
|
properties: {
|
|
9448
|
-
|
|
9449
|
-
type: "string",
|
|
9450
|
-
description: "The ID of the group to retrieve.",
|
|
9451
|
-
},
|
|
9452
|
-
},
|
|
9453
|
-
},
|
|
9454
|
-
output: {
|
|
9455
|
-
type: "object",
|
|
9456
|
-
required: ["success"],
|
|
9457
|
-
properties: {
|
|
9458
|
-
success: {
|
|
9459
|
-
type: "boolean",
|
|
9460
|
-
description: "Whether the group details were successfully retrieved.",
|
|
9461
|
-
},
|
|
9462
|
-
group: {
|
|
9463
|
-
description: "Schema for an Okta group object",
|
|
9464
|
-
type: "object",
|
|
9465
|
-
required: ["id", "profile"],
|
|
9466
|
-
properties: {
|
|
9467
|
-
id: {
|
|
9468
|
-
type: "string",
|
|
9469
|
-
description: "The unique identifier for the Okta group",
|
|
9470
|
-
},
|
|
9471
|
-
created: {
|
|
9472
|
-
type: "string",
|
|
9473
|
-
format: "date-time",
|
|
9474
|
-
description: "The timestamp when the group was created",
|
|
9475
|
-
},
|
|
9476
|
-
lastUpdated: {
|
|
9477
|
-
type: "string",
|
|
9478
|
-
format: "date-time",
|
|
9479
|
-
description: "The timestamp when the group was last updated",
|
|
9480
|
-
},
|
|
9481
|
-
lastMembershipUpdated: {
|
|
9482
|
-
type: "string",
|
|
9483
|
-
format: "date-time",
|
|
9484
|
-
description: "The timestamp when the group's membership was last updated",
|
|
9485
|
-
},
|
|
9486
|
-
objectClass: {
|
|
9487
|
-
type: "array",
|
|
9488
|
-
items: {
|
|
9489
|
-
type: "string",
|
|
9490
|
-
},
|
|
9491
|
-
description: "The object class of the group",
|
|
9492
|
-
},
|
|
9493
|
-
type: {
|
|
9494
|
-
type: "string",
|
|
9495
|
-
description: "The type of the group (e.g., OKTA_GROUP)",
|
|
9496
|
-
},
|
|
9497
|
-
profile: {
|
|
9498
|
-
type: "object",
|
|
9499
|
-
required: ["name", "description"],
|
|
9500
|
-
properties: {
|
|
9501
|
-
name: {
|
|
9502
|
-
type: "string",
|
|
9503
|
-
description: "The name of the group",
|
|
9504
|
-
},
|
|
9505
|
-
description: {
|
|
9506
|
-
type: "string",
|
|
9507
|
-
description: "The description of the group",
|
|
9508
|
-
},
|
|
9509
|
-
},
|
|
9510
|
-
},
|
|
9511
|
-
_links: {
|
|
9512
|
-
type: "object",
|
|
9513
|
-
properties: {
|
|
9514
|
-
logo: {
|
|
9515
|
-
type: "array",
|
|
9516
|
-
items: {
|
|
9517
|
-
type: "object",
|
|
9518
|
-
},
|
|
9519
|
-
description: "Links to the group's logo",
|
|
9520
|
-
},
|
|
9521
|
-
users: {
|
|
9522
|
-
type: "object",
|
|
9523
|
-
properties: {
|
|
9524
|
-
href: {
|
|
9525
|
-
type: "string",
|
|
9526
|
-
description: "The URL to retrieve users in the group",
|
|
9527
|
-
},
|
|
9528
|
-
},
|
|
9529
|
-
},
|
|
9530
|
-
apps: {
|
|
9531
|
-
type: "object",
|
|
9532
|
-
properties: {
|
|
9533
|
-
href: {
|
|
9534
|
-
type: "string",
|
|
9535
|
-
description: "The URL to retrieve apps associated with the group",
|
|
9536
|
-
},
|
|
9537
|
-
},
|
|
9538
|
-
},
|
|
9539
|
-
},
|
|
9540
|
-
},
|
|
9541
|
-
},
|
|
9542
|
-
},
|
|
9543
|
-
error: {
|
|
9544
|
-
type: "string",
|
|
9545
|
-
description: "Error message if retrieval failed.",
|
|
9546
|
-
},
|
|
9547
|
-
},
|
|
9548
|
-
},
|
|
9549
|
-
name: "getOktaGroup",
|
|
9550
|
-
provider: "okta",
|
|
9551
|
-
};
|
|
9552
|
-
export const oktaListOktaGroupMembersDefinition = {
|
|
9553
|
-
description: "List all members of a specific Okta group.",
|
|
9554
|
-
scopes: ["okta.groups.read", "okta.users.read"],
|
|
9555
|
-
parameters: {
|
|
9556
|
-
type: "object",
|
|
9557
|
-
required: ["groupId"],
|
|
9558
|
-
properties: {
|
|
9559
|
-
groupId: {
|
|
9560
|
-
type: "string",
|
|
9561
|
-
description: "The ID of the group whose members are to be listed.",
|
|
9562
|
-
},
|
|
9563
|
-
maxResults: {
|
|
9564
|
-
type: "number",
|
|
9565
|
-
description: "The maximum number of results to return.",
|
|
9566
|
-
minimum: 1,
|
|
9567
|
-
},
|
|
9568
|
-
},
|
|
9569
|
-
},
|
|
9570
|
-
output: {
|
|
9571
|
-
type: "object",
|
|
9572
|
-
required: ["success"],
|
|
9573
|
-
properties: {
|
|
9574
|
-
success: {
|
|
9575
|
-
type: "boolean",
|
|
9576
|
-
description: "Whether the members were successfully retrieved.",
|
|
9577
|
-
},
|
|
9578
|
-
members: {
|
|
9579
|
-
type: "array",
|
|
9580
|
-
description: "List of members in the group.",
|
|
9581
|
-
items: {
|
|
9582
|
-
type: "object",
|
|
9583
|
-
properties: {
|
|
9584
|
-
id: {
|
|
9585
|
-
type: "string",
|
|
9586
|
-
description: "The user's ID.",
|
|
9587
|
-
},
|
|
9588
|
-
status: {
|
|
9589
|
-
type: "string",
|
|
9590
|
-
description: "The user's status.",
|
|
9591
|
-
},
|
|
9592
|
-
created: {
|
|
9593
|
-
type: "string",
|
|
9594
|
-
format: "date-time",
|
|
9595
|
-
description: "The timestamp when the user was created.",
|
|
9596
|
-
},
|
|
9597
|
-
activated: {
|
|
9598
|
-
type: "string",
|
|
9599
|
-
format: "date-time",
|
|
9600
|
-
nullable: true,
|
|
9601
|
-
description: "The timestamp when the user was activated.",
|
|
9602
|
-
},
|
|
9603
|
-
statusChanged: {
|
|
9604
|
-
type: "string",
|
|
9605
|
-
format: "date-time",
|
|
9606
|
-
nullable: true,
|
|
9607
|
-
description: "The timestamp when the user's status changed.",
|
|
9608
|
-
},
|
|
9609
|
-
lastLogin: {
|
|
9610
|
-
type: "string",
|
|
9611
|
-
format: "date-time",
|
|
9612
|
-
nullable: true,
|
|
9613
|
-
description: "The timestamp of the user's last login.",
|
|
9614
|
-
},
|
|
9615
|
-
lastUpdated: {
|
|
9616
|
-
type: "string",
|
|
9617
|
-
format: "date-time",
|
|
9618
|
-
description: "The timestamp of the user's last update.",
|
|
9619
|
-
},
|
|
9620
|
-
passwordChanged: {
|
|
9621
|
-
type: "string",
|
|
9622
|
-
format: "date-time",
|
|
9623
|
-
description: "The timestamp when the user's password was last changed.",
|
|
9624
|
-
},
|
|
9625
|
-
type: {
|
|
9626
|
-
type: "object",
|
|
9627
|
-
properties: {
|
|
9628
|
-
id: {
|
|
9629
|
-
type: "string",
|
|
9630
|
-
description: "The type ID of the user.",
|
|
9631
|
-
},
|
|
9632
|
-
},
|
|
9633
|
-
},
|
|
9634
|
-
profile: {
|
|
9635
|
-
type: "object",
|
|
9636
|
-
description: "The user's profile information.",
|
|
9637
|
-
properties: {
|
|
9638
|
-
firstName: {
|
|
9639
|
-
type: "string",
|
|
9640
|
-
description: "The user's first name.",
|
|
9641
|
-
},
|
|
9642
|
-
lastName: {
|
|
9643
|
-
type: "string",
|
|
9644
|
-
description: "The user's last name.",
|
|
9645
|
-
},
|
|
9646
|
-
mobilePhone: {
|
|
9647
|
-
type: "string",
|
|
9648
|
-
nullable: true,
|
|
9649
|
-
description: "The user's mobile phone number.",
|
|
9650
|
-
},
|
|
9651
|
-
secondEmail: {
|
|
9652
|
-
type: "string",
|
|
9653
|
-
nullable: true,
|
|
9654
|
-
description: "The user's secondary email address.",
|
|
9655
|
-
},
|
|
9656
|
-
login: {
|
|
9657
|
-
type: "string",
|
|
9658
|
-
description: "The user's login.",
|
|
9659
|
-
},
|
|
9660
|
-
email: {
|
|
9661
|
-
type: "string",
|
|
9662
|
-
description: "The user's email address.",
|
|
9663
|
-
},
|
|
9664
|
-
},
|
|
9665
|
-
},
|
|
9666
|
-
},
|
|
9667
|
-
},
|
|
9668
|
-
},
|
|
9669
|
-
error: {
|
|
9670
|
-
type: "string",
|
|
9671
|
-
description: "Error message if retrieval failed.",
|
|
9672
|
-
},
|
|
9673
|
-
},
|
|
9674
|
-
},
|
|
9675
|
-
name: "listOktaGroupMembers",
|
|
9676
|
-
provider: "okta",
|
|
9677
|
-
};
|
|
9678
|
-
export const oktaAddUserToGroupDefinition = {
|
|
9679
|
-
description: "Add a user to a specific Okta group.",
|
|
9680
|
-
scopes: ["okta.groups.manage", "okta.users.manage"],
|
|
9681
|
-
parameters: {
|
|
9682
|
-
type: "object",
|
|
9683
|
-
required: ["groupId", "userId"],
|
|
9684
|
-
properties: {
|
|
9685
|
-
groupId: {
|
|
9686
|
-
type: "string",
|
|
9687
|
-
description: "The ID of the group to add the user to.",
|
|
9688
|
-
},
|
|
9689
|
-
userId: {
|
|
9690
|
-
type: "string",
|
|
9691
|
-
description: "The ID of the user to add to the group.",
|
|
9692
|
-
},
|
|
9693
|
-
},
|
|
9694
|
-
},
|
|
9695
|
-
output: {
|
|
9696
|
-
type: "object",
|
|
9697
|
-
required: ["success"],
|
|
9698
|
-
properties: {
|
|
9699
|
-
success: {
|
|
9700
|
-
type: "boolean",
|
|
9701
|
-
description: "Whether the user was successfully added to the group.",
|
|
9702
|
-
},
|
|
9703
|
-
error: {
|
|
9704
|
-
type: "string",
|
|
9705
|
-
description: "Error message if the operation failed.",
|
|
9706
|
-
},
|
|
9707
|
-
},
|
|
9708
|
-
},
|
|
9709
|
-
name: "addUserToGroup",
|
|
9710
|
-
provider: "okta",
|
|
9711
|
-
};
|
|
9712
|
-
export const oktaRemoveUserFromGroupDefinition = {
|
|
9713
|
-
description: "Remove a user from a specific Okta group.",
|
|
9714
|
-
scopes: ["okta.groups.manage", "okta.users.manage"],
|
|
9715
|
-
parameters: {
|
|
9716
|
-
type: "object",
|
|
9717
|
-
required: ["groupId", "userId"],
|
|
9718
|
-
properties: {
|
|
9719
|
-
groupId: {
|
|
9720
|
-
type: "string",
|
|
9721
|
-
description: "The ID of the group to remove the user from.",
|
|
9722
|
-
},
|
|
9723
|
-
userId: {
|
|
9724
|
-
type: "string",
|
|
9725
|
-
description: "The ID of the user to remove from the group.",
|
|
9726
|
-
},
|
|
9727
|
-
},
|
|
9728
|
-
},
|
|
9729
|
-
output: {
|
|
9730
|
-
type: "object",
|
|
9731
|
-
required: ["success"],
|
|
9732
|
-
properties: {
|
|
9733
|
-
success: {
|
|
9734
|
-
type: "boolean",
|
|
9735
|
-
description: "Whether the user was successfully removed from the group.",
|
|
9736
|
-
},
|
|
9737
|
-
error: {
|
|
9738
|
-
type: "string",
|
|
9739
|
-
description: "Error message if the operation failed.",
|
|
9740
|
-
},
|
|
9741
|
-
},
|
|
9742
|
-
},
|
|
9743
|
-
name: "removeUserFromGroup",
|
|
9744
|
-
provider: "okta",
|
|
9745
|
-
};
|
|
9746
|
-
export const oktaListOktaUsersDefinition = {
|
|
9747
|
-
description: "List Okta users, optionally filtering by a search query",
|
|
9748
|
-
scopes: ["okta.users.read"],
|
|
9749
|
-
parameters: {
|
|
9750
|
-
type: "object",
|
|
9751
|
-
required: [],
|
|
9752
|
-
properties: {
|
|
9753
|
-
searchQuery: {
|
|
9754
|
-
type: "string",
|
|
9755
|
-
description: "Optional search query to filter users.\nThis field corresponds to the `search` query parameter in the Okta API's List Users operation.\nFor detailed information on constructing search queries and available filter expressions, refer to the Okta API documentation:\nhttps://developer.okta.com/docs/api/openapi/okta-management/management/tag/User/#tag/User/operation/listUsers!in=query&path=search&t=request\nExample: 'profile.email eq \"my_user@example.com\"'\n",
|
|
9756
|
-
},
|
|
9757
|
-
maxResults: {
|
|
9758
|
-
type: "number",
|
|
9759
|
-
description: "The maximum number of results to return.",
|
|
9760
|
-
minimum: 1,
|
|
9761
|
-
},
|
|
9762
|
-
},
|
|
9763
|
-
},
|
|
9764
|
-
output: {
|
|
9765
|
-
type: "object",
|
|
9766
|
-
required: ["success"],
|
|
9767
|
-
properties: {
|
|
9768
|
-
success: {
|
|
9769
|
-
type: "boolean",
|
|
9770
|
-
description: "Whether the user list was successfully retrieved",
|
|
9771
|
-
},
|
|
9772
|
-
users: {
|
|
9773
|
-
type: "array",
|
|
9774
|
-
description: "List of Okta users matching the query",
|
|
9775
|
-
items: {
|
|
9776
|
-
type: "object",
|
|
9777
|
-
required: ["id", "profile"],
|
|
9778
|
-
properties: {
|
|
9779
|
-
id: {
|
|
9780
|
-
type: "string",
|
|
9781
|
-
description: "The user's Okta ID",
|
|
9782
|
-
},
|
|
9783
|
-
status: {
|
|
9784
|
-
type: "string",
|
|
9785
|
-
description: "The user's status",
|
|
9786
|
-
},
|
|
9787
|
-
created: {
|
|
9788
|
-
type: "string",
|
|
9789
|
-
description: "The timestamp when the user was created",
|
|
9790
|
-
},
|
|
9791
|
-
activated: {
|
|
9792
|
-
type: "string",
|
|
9793
|
-
nullable: true,
|
|
9794
|
-
description: "The timestamp when the user was activated",
|
|
9795
|
-
},
|
|
9796
|
-
statusChanged: {
|
|
9797
|
-
type: "string",
|
|
9798
|
-
nullable: true,
|
|
9799
|
-
description: "The timestamp when the user's status changed",
|
|
9800
|
-
},
|
|
9801
|
-
lastLogin: {
|
|
9802
|
-
type: "string",
|
|
9803
|
-
nullable: true,
|
|
9804
|
-
description: "The timestamp of the user's last login",
|
|
9805
|
-
},
|
|
9806
|
-
lastUpdated: {
|
|
9807
|
-
type: "string",
|
|
9808
|
-
description: "The timestamp of the user's last update",
|
|
9809
|
-
},
|
|
9810
|
-
passwordChanged: {
|
|
9811
|
-
type: "string",
|
|
9812
|
-
description: "The timestamp when the user's password was last changed",
|
|
9813
|
-
},
|
|
9814
|
-
type: {
|
|
9815
|
-
type: "object",
|
|
9816
|
-
properties: {
|
|
9817
|
-
id: {
|
|
9818
|
-
type: "string",
|
|
9819
|
-
description: "The type ID of the user",
|
|
9820
|
-
},
|
|
9821
|
-
},
|
|
9822
|
-
},
|
|
9823
|
-
profile: {
|
|
9824
|
-
type: "object",
|
|
9825
|
-
properties: {
|
|
9826
|
-
firstName: {
|
|
9827
|
-
type: "string",
|
|
9828
|
-
description: "The user's first name",
|
|
9829
|
-
},
|
|
9830
|
-
lastName: {
|
|
9831
|
-
type: "string",
|
|
9832
|
-
description: "The user's last name",
|
|
9833
|
-
},
|
|
9834
|
-
mobilePhone: {
|
|
9835
|
-
type: "string",
|
|
9836
|
-
nullable: true,
|
|
9837
|
-
description: "The user's mobile phone number",
|
|
9838
|
-
},
|
|
9839
|
-
secondEmail: {
|
|
9840
|
-
type: "string",
|
|
9841
|
-
nullable: true,
|
|
9842
|
-
description: "The user's secondary email address",
|
|
9843
|
-
},
|
|
9844
|
-
login: {
|
|
9845
|
-
type: "string",
|
|
9846
|
-
description: "The user's login",
|
|
9847
|
-
},
|
|
9848
|
-
email: {
|
|
9849
|
-
type: "string",
|
|
9850
|
-
description: "The user's email address",
|
|
9851
|
-
},
|
|
9852
|
-
},
|
|
9853
|
-
},
|
|
9854
|
-
realmId: {
|
|
9855
|
-
type: "string",
|
|
9856
|
-
description: "The realm ID of the user",
|
|
9857
|
-
},
|
|
9858
|
-
},
|
|
9859
|
-
},
|
|
9860
|
-
},
|
|
9861
|
-
error: {
|
|
9862
|
-
type: "string",
|
|
9863
|
-
description: "Error message if user retrieval failed",
|
|
9864
|
-
},
|
|
9865
|
-
},
|
|
9866
|
-
},
|
|
9867
|
-
name: "listOktaUsers",
|
|
9868
|
-
provider: "okta",
|
|
9869
|
-
};
|
|
9870
|
-
export const oktaResetMFADefinition = {
|
|
9871
|
-
description: "Reset or remove Okta MFA for a user, including issues with Okta Verify, fingerprint, or touch ID.",
|
|
9872
|
-
scopes: ["okta.users.read", "okta.users.manage"],
|
|
9873
|
-
parameters: {
|
|
9874
|
-
type: "object",
|
|
9875
|
-
required: ["userId"],
|
|
9876
|
-
properties: {
|
|
9877
|
-
userId: {
|
|
9878
|
-
type: "string",
|
|
9879
|
-
description: "The ID of the user whose MFA needs to be reset.",
|
|
9880
|
-
},
|
|
9881
|
-
factorId: {
|
|
9882
|
-
type: "string",
|
|
9883
|
-
description: "Optional. The ID of the specific factor to reset. If not provided, all factors will be reset.",
|
|
9884
|
-
},
|
|
9885
|
-
},
|
|
9886
|
-
},
|
|
9887
|
-
output: {
|
|
9888
|
-
type: "object",
|
|
9889
|
-
required: ["success"],
|
|
9890
|
-
properties: {
|
|
9891
|
-
success: {
|
|
9892
|
-
type: "boolean",
|
|
9893
|
-
description: "Whether the MFA reset was successful.",
|
|
9894
|
-
},
|
|
9895
|
-
error: {
|
|
9896
|
-
type: "string",
|
|
9897
|
-
description: "Error message if the MFA reset failed.",
|
|
9898
|
-
},
|
|
9899
|
-
},
|
|
9900
|
-
},
|
|
9901
|
-
name: "resetMFA",
|
|
9902
|
-
provider: "okta",
|
|
9903
|
-
};
|
|
9904
|
-
export const oktaListMFADefinition = {
|
|
9905
|
-
description: "List all MFA factors for a specific user in Okta.",
|
|
9906
|
-
scopes: ["okta.users.read"],
|
|
9907
|
-
parameters: {
|
|
9908
|
-
type: "object",
|
|
9909
|
-
required: ["userId"],
|
|
9910
|
-
properties: {
|
|
9911
|
-
userId: {
|
|
9912
|
-
type: "string",
|
|
9913
|
-
description: "The ID of the user whose MFA factors need to be listed.",
|
|
9914
|
-
},
|
|
9915
|
-
},
|
|
9916
|
-
},
|
|
9917
|
-
output: {
|
|
9918
|
-
type: "object",
|
|
9919
|
-
required: ["success"],
|
|
9920
|
-
properties: {
|
|
9921
|
-
success: {
|
|
9922
|
-
type: "boolean",
|
|
9923
|
-
description: "Whether the MFA factors were successfully retrieved.",
|
|
9924
|
-
},
|
|
9925
|
-
factors: {
|
|
9926
|
-
type: "array",
|
|
9927
|
-
description: "List of MFA factors for the user.",
|
|
9928
|
-
items: {
|
|
9929
|
-
type: "object",
|
|
9930
|
-
required: ["id"],
|
|
9931
|
-
properties: {
|
|
9932
|
-
id: {
|
|
9933
|
-
type: "string",
|
|
9934
|
-
description: "The ID of the MFA factor.",
|
|
9935
|
-
},
|
|
9936
|
-
factorType: {
|
|
9937
|
-
type: "string",
|
|
9938
|
-
description: "The type of the MFA factor (e.g., question, sms, token:software:totp).",
|
|
9939
|
-
},
|
|
9940
|
-
provider: {
|
|
9941
|
-
type: "string",
|
|
9942
|
-
description: "The provider of the MFA factor (e.g., OKTA).",
|
|
9943
|
-
},
|
|
9944
|
-
vendorName: {
|
|
9945
|
-
type: "string",
|
|
9946
|
-
description: "The vendor name of the MFA factor.",
|
|
9947
|
-
},
|
|
9948
|
-
status: {
|
|
9949
|
-
type: "string",
|
|
9950
|
-
description: "The status of the MFA factor (e.g., ACTIVE, PENDING_ACTIVATION).",
|
|
9951
|
-
},
|
|
9952
|
-
created: {
|
|
9953
|
-
type: "string",
|
|
9954
|
-
description: "The timestamp when the MFA factor was created.",
|
|
9955
|
-
},
|
|
9956
|
-
lastUpdated: {
|
|
9957
|
-
type: "string",
|
|
9958
|
-
description: "The timestamp when the MFA factor was last updated.",
|
|
9959
|
-
},
|
|
9960
|
-
profile: {
|
|
9961
|
-
type: "object",
|
|
9962
|
-
description: "Additional profile information for the MFA factor.",
|
|
9963
|
-
additionalProperties: true,
|
|
9964
|
-
},
|
|
9965
|
-
_links: {
|
|
9966
|
-
type: "object",
|
|
9967
|
-
description: "Links related to the MFA factor.",
|
|
9968
|
-
additionalProperties: true,
|
|
9969
|
-
},
|
|
9970
|
-
_embedded: {
|
|
9971
|
-
type: "object",
|
|
9972
|
-
description: "Embedded data for the MFA factor (e.g., activation details).",
|
|
9973
|
-
additionalProperties: true,
|
|
9974
|
-
},
|
|
9975
|
-
},
|
|
9976
|
-
},
|
|
9977
|
-
},
|
|
9978
|
-
error: {
|
|
9979
|
-
type: "string",
|
|
9980
|
-
description: "Error message if the MFA factors could not be retrieved.",
|
|
9981
|
-
},
|
|
9982
|
-
},
|
|
9983
|
-
},
|
|
9984
|
-
name: "listMFA",
|
|
9985
|
-
provider: "okta",
|
|
9986
|
-
};
|
|
9987
|
-
export const oktaResetPasswordDefinition = {
|
|
9988
|
-
description: "Reset a user's Okta password when they are unable to log in or have forgotten their password.",
|
|
9989
|
-
scopes: ["okta.users.manage"],
|
|
9990
|
-
parameters: {
|
|
9991
|
-
type: "object",
|
|
9992
|
-
required: ["userId", "sendEmail"],
|
|
9993
|
-
properties: {
|
|
9994
|
-
userId: {
|
|
9995
|
-
type: "string",
|
|
9996
|
-
description: "The ID of the user whose password needs to be reset.",
|
|
9997
|
-
},
|
|
9998
|
-
sendEmail: {
|
|
9999
|
-
type: "boolean",
|
|
10000
|
-
description: "Whether to send a password reset email to the user.",
|
|
10001
|
-
},
|
|
10002
|
-
revokeSessions: {
|
|
10003
|
-
type: "boolean",
|
|
10004
|
-
description: "Whether to revoke all active sessions for the user after the password reset.",
|
|
10005
|
-
},
|
|
10006
|
-
},
|
|
10007
|
-
},
|
|
10008
|
-
output: {
|
|
10009
|
-
type: "object",
|
|
10010
|
-
required: ["success"],
|
|
10011
|
-
properties: {
|
|
10012
|
-
success: {
|
|
10013
|
-
type: "boolean",
|
|
10014
|
-
description: "Whether the password reset was successful.",
|
|
10015
|
-
},
|
|
10016
|
-
error: {
|
|
10017
|
-
type: "string",
|
|
10018
|
-
description: "Error message if the password reset failed.",
|
|
10019
|
-
},
|
|
10020
|
-
resetPasswordUrl: {
|
|
10021
|
-
type: "string",
|
|
10022
|
-
description: "The URL for resetting the password manually.",
|
|
10023
|
-
},
|
|
10024
|
-
},
|
|
10025
|
-
},
|
|
10026
|
-
name: "resetPassword",
|
|
10027
|
-
provider: "okta",
|
|
10028
|
-
};
|
|
10029
|
-
export const oktaTriggerOktaWorkflowDefinition = {
|
|
10030
|
-
description: "Trigger an Okta workflow for a specific user.",
|
|
10031
|
-
scopes: ["okta.workflows.manage"],
|
|
10032
|
-
parameters: {
|
|
10033
|
-
type: "object",
|
|
10034
|
-
required: ["workflowId"],
|
|
10035
|
-
properties: {
|
|
10036
|
-
workflowId: {
|
|
10037
|
-
type: "string",
|
|
10038
|
-
description: "The unique ID of the workflow",
|
|
10039
|
-
},
|
|
10040
|
-
workflowParameters: {
|
|
10041
|
-
type: "object",
|
|
10042
|
-
description: "A key,value pair where the keys are the input variables the values are the values of those fields.",
|
|
10043
|
-
additionalProperties: {
|
|
10044
|
-
type: "string",
|
|
10045
|
-
},
|
|
10046
|
-
},
|
|
10047
|
-
},
|
|
10048
|
-
},
|
|
10049
|
-
output: {
|
|
10050
|
-
type: "object",
|
|
10051
|
-
required: ["success"],
|
|
10052
|
-
properties: {
|
|
10053
|
-
success: {
|
|
10054
|
-
type: "boolean",
|
|
10055
|
-
description: "Whether the workflow was successfully triggered.",
|
|
10056
|
-
},
|
|
10057
|
-
output: {
|
|
10058
|
-
type: "object",
|
|
10059
|
-
description: "The output of the triggered workflow, if applicable.",
|
|
10060
|
-
},
|
|
10061
|
-
error: {
|
|
10062
|
-
type: "string",
|
|
10063
|
-
description: "Error message if the workflow trigger failed.",
|
|
10064
|
-
},
|
|
10065
|
-
},
|
|
10066
|
-
},
|
|
10067
|
-
name: "triggerOktaWorkflow",
|
|
10068
|
-
provider: "okta",
|
|
10069
|
-
};
|
|
10070
|
-
export const oktaOrgGetOktaUserByNameDefinition = {
|
|
10071
|
-
description: "Retrieve details of a specific Okta user by their name.",
|
|
10072
|
-
scopes: ["okta.users.read"],
|
|
10073
|
-
parameters: {
|
|
10074
|
-
type: "object",
|
|
10075
|
-
required: ["name"],
|
|
10076
|
-
properties: {
|
|
10077
|
-
name: {
|
|
10078
|
-
type: "string",
|
|
10079
|
-
description: "The name of the user to retrieve.",
|
|
10080
|
-
},
|
|
10081
|
-
},
|
|
10082
|
-
},
|
|
10083
|
-
output: {
|
|
10084
|
-
type: "object",
|
|
10085
|
-
required: ["success"],
|
|
10086
|
-
properties: {
|
|
10087
|
-
success: {
|
|
10088
|
-
type: "boolean",
|
|
10089
|
-
description: "Whether the user details were successfully retrieved.",
|
|
10090
|
-
},
|
|
10091
|
-
user: {
|
|
10092
|
-
type: "object",
|
|
10093
|
-
required: ["id", "email"],
|
|
10094
|
-
properties: {
|
|
10095
|
-
id: {
|
|
10096
|
-
type: "string",
|
|
10097
|
-
description: "The user's Okta ID",
|
|
10098
|
-
},
|
|
10099
|
-
email: {
|
|
10100
|
-
type: "string",
|
|
10101
|
-
description: "The user's email address",
|
|
10102
|
-
},
|
|
10103
|
-
title: {
|
|
10104
|
-
type: "string",
|
|
10105
|
-
description: "The user's title",
|
|
10106
|
-
},
|
|
10107
|
-
division: {
|
|
10108
|
-
type: "string",
|
|
10109
|
-
description: "The user's division",
|
|
10110
|
-
},
|
|
10111
|
-
department: {
|
|
10112
|
-
type: "string",
|
|
10113
|
-
description: "The user's department",
|
|
10114
|
-
},
|
|
10115
|
-
},
|
|
10116
|
-
},
|
|
10117
|
-
error: {
|
|
10118
|
-
type: "string",
|
|
10119
|
-
description: "Error message if retrieval failed.",
|
|
10120
|
-
},
|
|
10121
|
-
},
|
|
10122
|
-
},
|
|
10123
|
-
name: "getOktaUserByName",
|
|
10124
|
-
provider: "oktaOrg",
|
|
10125
|
-
};
|
|
10126
|
-
export const gongGetGongTranscriptsDefinition = {
|
|
10127
|
-
description: "Get sales call transcripts from Gong",
|
|
10128
|
-
scopes: [],
|
|
10129
|
-
parameters: {
|
|
10130
|
-
type: "object",
|
|
10131
|
-
required: ["userRole"],
|
|
10132
|
-
properties: {
|
|
10133
|
-
userRole: {
|
|
10134
|
-
type: "string",
|
|
10135
|
-
description: "The role of users whose transcripts are being fetched",
|
|
10136
|
-
},
|
|
10137
|
-
trackers: {
|
|
10138
|
-
type: "array",
|
|
10139
|
-
description: "The trackers to fetch transcripts for",
|
|
10140
|
-
items: {
|
|
10141
|
-
type: "string",
|
|
10142
|
-
description: "The names of the trackers to fetch transcripts for",
|
|
10143
|
-
},
|
|
10144
|
-
},
|
|
10145
|
-
company: {
|
|
10146
|
-
type: "string",
|
|
10147
|
-
description: "The company to get calls with",
|
|
10148
|
-
},
|
|
10149
|
-
startDate: {
|
|
10150
|
-
type: "string",
|
|
10151
|
-
description: "The start date of the transcripts to fetch in ISO 8601 format",
|
|
10152
|
-
},
|
|
10153
|
-
endDate: {
|
|
10154
|
-
type: "string",
|
|
10155
|
-
description: "The end date of the transcripts to fetch in ISO 8601 format",
|
|
10156
|
-
},
|
|
10157
|
-
},
|
|
10158
|
-
},
|
|
10159
|
-
output: {
|
|
10160
|
-
type: "object",
|
|
10161
|
-
required: ["success"],
|
|
10162
|
-
properties: {
|
|
10163
|
-
success: {
|
|
10164
|
-
type: "boolean",
|
|
10165
|
-
description: "Whether the transcripts were fetched successfully",
|
|
10166
|
-
},
|
|
10167
|
-
callTranscripts: {
|
|
10168
|
-
type: "array",
|
|
10169
|
-
description: "The transcripts fetched",
|
|
10170
|
-
items: {
|
|
10171
|
-
type: "object",
|
|
10172
|
-
description: "A transcript",
|
|
10173
|
-
properties: {
|
|
10174
|
-
callId: {
|
|
10175
|
-
type: "string",
|
|
10176
|
-
description: "The ID of the call",
|
|
10177
|
-
},
|
|
10178
|
-
callName: {
|
|
10179
|
-
type: "string",
|
|
10180
|
-
description: "The name of the call",
|
|
10181
|
-
},
|
|
10182
|
-
startTime: {
|
|
10183
|
-
type: "string",
|
|
10184
|
-
description: "The start time of the call in ISO 8601 format",
|
|
10185
|
-
},
|
|
10186
|
-
transcript: {
|
|
10187
|
-
type: "array",
|
|
10188
|
-
description: "The transcript",
|
|
10189
|
-
items: {
|
|
10190
|
-
type: "object",
|
|
10191
|
-
description: "A transcript",
|
|
10192
|
-
properties: {
|
|
10193
|
-
speakerName: {
|
|
10194
|
-
type: "string",
|
|
10195
|
-
description: "The name of the speaker",
|
|
10196
|
-
},
|
|
10197
|
-
speakerEmail: {
|
|
10198
|
-
type: "string",
|
|
10199
|
-
description: "The email of the speaker",
|
|
10200
|
-
},
|
|
10201
|
-
topic: {
|
|
10202
|
-
type: "string",
|
|
10203
|
-
nullable: true,
|
|
10204
|
-
description: "The topic of the transcript",
|
|
10205
|
-
},
|
|
10206
|
-
sentences: {
|
|
10207
|
-
type: "array",
|
|
10208
|
-
description: "The sentences in the transcript",
|
|
10209
|
-
items: {
|
|
10210
|
-
type: "object",
|
|
10211
|
-
description: "A sentence",
|
|
10212
|
-
properties: {
|
|
10213
|
-
start: {
|
|
10214
|
-
type: "number",
|
|
10215
|
-
description: "The start time of the sentence in seconds",
|
|
10216
|
-
},
|
|
10217
|
-
end: {
|
|
10218
|
-
type: "number",
|
|
10219
|
-
description: "The end time of the sentence in seconds",
|
|
10220
|
-
},
|
|
10221
|
-
text: {
|
|
10222
|
-
type: "string",
|
|
10223
|
-
description: "The text of the sentence",
|
|
10224
|
-
},
|
|
10225
|
-
},
|
|
10226
|
-
},
|
|
10227
|
-
},
|
|
10228
|
-
},
|
|
10229
|
-
},
|
|
10230
|
-
},
|
|
10231
|
-
},
|
|
10232
|
-
},
|
|
10233
|
-
},
|
|
10234
|
-
error: {
|
|
10235
|
-
type: "string",
|
|
10236
|
-
description: "The error that occurred if the transcripts weren't fetched successfully",
|
|
10237
|
-
},
|
|
10238
|
-
},
|
|
10239
|
-
},
|
|
10240
|
-
name: "getGongTranscripts",
|
|
10241
|
-
provider: "gong",
|
|
10242
|
-
};
|
|
10243
|
-
export const finnhubSymbolLookupDefinition = {
|
|
10244
|
-
description: "Look up a stock symbol by name",
|
|
10245
|
-
scopes: [],
|
|
10246
|
-
parameters: {
|
|
10247
|
-
type: "object",
|
|
10248
|
-
required: ["query"],
|
|
10249
|
-
properties: {
|
|
10250
|
-
query: {
|
|
10251
|
-
type: "string",
|
|
10252
|
-
description: "The symbol or colloquial name of the company to look up",
|
|
10253
|
-
},
|
|
10254
|
-
},
|
|
10255
|
-
},
|
|
10256
|
-
output: {
|
|
10257
|
-
type: "object",
|
|
10258
|
-
required: ["result"],
|
|
10259
|
-
properties: {
|
|
10260
|
-
result: {
|
|
10261
|
-
type: "array",
|
|
10262
|
-
description: "The results of the symbol lookup",
|
|
10263
|
-
items: {
|
|
10264
|
-
type: "object",
|
|
10265
|
-
description: "The metadata of the stock",
|
|
10266
|
-
properties: {
|
|
10267
|
-
symbol: {
|
|
10268
|
-
type: "string",
|
|
10269
|
-
description: "The symbol of the stock",
|
|
10270
|
-
},
|
|
10271
|
-
description: {
|
|
10272
|
-
type: "string",
|
|
10273
|
-
description: "The description of the stock",
|
|
10274
|
-
},
|
|
10275
|
-
},
|
|
10276
|
-
},
|
|
10277
|
-
},
|
|
10278
|
-
},
|
|
10279
|
-
},
|
|
10280
|
-
name: "symbolLookup",
|
|
10281
|
-
provider: "finnhub",
|
|
10282
|
-
};
|
|
10283
|
-
export const finnhubGetBasicFinancialsDefinition = {
|
|
10284
|
-
description: "Get company basic financials such as margin, P/E ratio, 52-week high/low etc.",
|
|
10285
|
-
scopes: [],
|
|
10286
|
-
parameters: {
|
|
10287
|
-
type: "object",
|
|
10288
|
-
required: ["symbol"],
|
|
10289
|
-
properties: {
|
|
10290
|
-
symbol: {
|
|
10291
|
-
type: "string",
|
|
10292
|
-
description: "The symbol/TICKER of the stock",
|
|
10293
|
-
},
|
|
10294
|
-
},
|
|
10295
|
-
},
|
|
10296
|
-
output: {
|
|
10297
|
-
type: "object",
|
|
10298
|
-
required: ["result"],
|
|
10299
|
-
properties: {
|
|
10300
|
-
result: {
|
|
10301
|
-
type: "object",
|
|
10302
|
-
description: "The basic financials of the stock",
|
|
10303
|
-
properties: {
|
|
10304
|
-
annual: {
|
|
10305
|
-
type: "array",
|
|
10306
|
-
description: "The annual financials of the stock",
|
|
10307
|
-
items: {
|
|
10308
|
-
type: "object",
|
|
10309
|
-
description: "The annual financials of the stock",
|
|
10310
|
-
properties: {
|
|
10311
|
-
metric: {
|
|
10312
|
-
type: "string",
|
|
10313
|
-
description: "The name of the financial metric",
|
|
10314
|
-
},
|
|
10315
|
-
series: {
|
|
10316
|
-
type: "array",
|
|
10317
|
-
description: "The series of values for the financial metric",
|
|
10318
|
-
items: {
|
|
10319
|
-
type: "object",
|
|
10320
|
-
description: "The value of the financial metric",
|
|
10321
|
-
properties: {
|
|
10322
|
-
period: {
|
|
10323
|
-
type: "string",
|
|
10324
|
-
description: "The period of the financial metric in YYYY-MM-DD format",
|
|
10325
|
-
},
|
|
10326
|
-
v: {
|
|
10327
|
-
type: "number",
|
|
10328
|
-
description: "The value of the financial metric",
|
|
10329
|
-
},
|
|
10330
|
-
},
|
|
10331
|
-
},
|
|
10332
|
-
},
|
|
10333
|
-
},
|
|
10334
|
-
},
|
|
10335
|
-
},
|
|
10336
|
-
quarterly: {
|
|
10337
|
-
type: "array",
|
|
10338
|
-
description: "The quarterly financials of the stock",
|
|
10339
|
-
items: {
|
|
10340
|
-
type: "object",
|
|
10341
|
-
description: "The quarterly financials of the stock",
|
|
10342
|
-
properties: {
|
|
10343
|
-
metric: {
|
|
10344
|
-
type: "string",
|
|
10345
|
-
description: "The name of the financial metric",
|
|
10346
|
-
},
|
|
10347
|
-
series: {
|
|
10348
|
-
type: "array",
|
|
10349
|
-
description: "The series of values for the financial metric",
|
|
10350
|
-
items: {
|
|
10351
|
-
type: "object",
|
|
10352
|
-
description: "The value of the financial metric",
|
|
10353
|
-
properties: {
|
|
10354
|
-
period: {
|
|
10355
|
-
type: "string",
|
|
10356
|
-
description: "The period of the financial metric in YYYY-MM-DD format",
|
|
10357
|
-
},
|
|
10358
|
-
v: {
|
|
10359
|
-
type: "number",
|
|
10360
|
-
description: "The value of the financial metric",
|
|
10361
|
-
},
|
|
10362
|
-
},
|
|
10363
|
-
},
|
|
10364
|
-
},
|
|
10365
|
-
},
|
|
10366
|
-
},
|
|
10367
|
-
},
|
|
10368
|
-
},
|
|
10369
|
-
},
|
|
10370
|
-
},
|
|
10371
|
-
},
|
|
10372
|
-
name: "getBasicFinancials",
|
|
10373
|
-
provider: "finnhub",
|
|
10374
|
-
};
|
|
10375
|
-
export const lookerEnableUserByEmailDefinition = {
|
|
10376
|
-
description: "Search for a Looker user by email and enable them if disabled",
|
|
10377
|
-
scopes: [],
|
|
10378
|
-
parameters: {
|
|
10379
|
-
type: "object",
|
|
10380
|
-
required: ["userEmail"],
|
|
10381
|
-
properties: {
|
|
10382
|
-
userEmail: {
|
|
9382
|
+
userEmail: {
|
|
10383
9383
|
type: "string",
|
|
10384
9384
|
description: "The email address of the user to search for",
|
|
10385
9385
|
},
|
|
@@ -10897,43 +9897,6 @@ export const salesforceGetRecordDefinition = {
|
|
|
10897
9897
|
name: "getRecord",
|
|
10898
9898
|
provider: "salesforce",
|
|
10899
9899
|
};
|
|
10900
|
-
export const salesforceFetchSalesforceSchemaByObjectDefinition = {
|
|
10901
|
-
description: "Fetch the schema of a Salesforce object",
|
|
10902
|
-
scopes: [],
|
|
10903
|
-
parameters: {
|
|
10904
|
-
type: "object",
|
|
10905
|
-
required: ["objectType"],
|
|
10906
|
-
properties: {
|
|
10907
|
-
objectType: {
|
|
10908
|
-
type: "string",
|
|
10909
|
-
description: "The Salesforce object type to fetch the schema for (e.g., Lead, Account, Contact)",
|
|
10910
|
-
},
|
|
10911
|
-
},
|
|
10912
|
-
},
|
|
10913
|
-
output: {
|
|
10914
|
-
type: "object",
|
|
10915
|
-
required: ["success"],
|
|
10916
|
-
properties: {
|
|
10917
|
-
success: {
|
|
10918
|
-
type: "boolean",
|
|
10919
|
-
description: "Whether the schema was successfully retrieved",
|
|
10920
|
-
},
|
|
10921
|
-
schema: {
|
|
10922
|
-
type: "object",
|
|
10923
|
-
description: "The retrieved schema data",
|
|
10924
|
-
additionalProperties: {
|
|
10925
|
-
type: "string",
|
|
10926
|
-
},
|
|
10927
|
-
},
|
|
10928
|
-
error: {
|
|
10929
|
-
type: "string",
|
|
10930
|
-
description: "The error that occurred if the schema was not successfully retrieved",
|
|
10931
|
-
},
|
|
10932
|
-
},
|
|
10933
|
-
},
|
|
10934
|
-
name: "fetchSalesforceSchemaByObject",
|
|
10935
|
-
provider: "salesforce",
|
|
10936
|
-
};
|
|
10937
9900
|
export const microsoftCreateDocumentDefinition = {
|
|
10938
9901
|
description: "Creates a new Office365 document",
|
|
10939
9902
|
scopes: ["Files.ReadWrite", "Sites.Manage.All", "Sites.ReadWrite.All"],
|