@credal/actions 0.2.222 → 0.2.223
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 +38 -1
- package/dist/actions/autogen/templates.d.ts +5 -0
- package/dist/actions/autogen/templates.js +555 -0
- package/dist/actions/autogen/types.d.ts +526 -1
- package/dist/actions/autogen/types.js +224 -0
- package/dist/actions/providers/servicenow/getChangeRequests.d.ts +3 -0
- package/dist/actions/providers/servicenow/getChangeRequests.js +56 -0
- package/dist/actions/providers/servicenow/getIncidents.d.ts +3 -0
- package/dist/actions/providers/servicenow/getIncidents.js +58 -0
- package/dist/actions/providers/servicenow/getRecordsByQuery.d.ts +3 -0
- package/dist/actions/providers/servicenow/getRecordsByQuery.js +42 -0
- package/dist/actions/providers/servicenow/getSCTasks.d.ts +3 -0
- package/dist/actions/providers/servicenow/getSCTasks.js +53 -0
- package/dist/actions/providers/servicenow/getVIPTickets.d.ts +3 -0
- package/dist/actions/providers/servicenow/getVIPTickets.js +61 -0
- package/dist/actions/providers/servicenow/utils/tableQuery.d.ts +22 -0
- package/dist/actions/providers/servicenow/utils/tableQuery.js +62 -0
- package/package.json +1 -1
- package/dist/actions/groups.d.ts +0 -6
- package/dist/actions/groups.js +0 -248
- package/dist/actions/providers/ashby/addCandidateToProject.d.ts +0 -3
- package/dist/actions/providers/ashby/addCandidateToProject.js +0 -31
- package/dist/actions/providers/ashby/createCandidate.d.ts +0 -3
- package/dist/actions/providers/ashby/createCandidate.js +0 -38
- package/dist/actions/providers/ashby/createNote.d.ts +0 -3
- package/dist/actions/providers/ashby/createNote.js +0 -31
- package/dist/actions/providers/ashby/getCandidateInfo.d.ts +0 -3
- package/dist/actions/providers/ashby/getCandidateInfo.js +0 -33
- package/dist/actions/providers/ashby/listCandidateNotes.d.ts +0 -3
- package/dist/actions/providers/ashby/listCandidateNotes.js +0 -33
- package/dist/actions/providers/ashby/listCandidates.d.ts +0 -3
- package/dist/actions/providers/ashby/listCandidates.js +0 -30
- package/dist/actions/providers/ashby/searchCandidates.d.ts +0 -3
- package/dist/actions/providers/ashby/searchCandidates.js +0 -34
- package/dist/actions/providers/ashby/updateCandidate.d.ts +0 -3
- package/dist/actions/providers/ashby/updateCandidate.js +0 -56
- package/dist/actions/providers/credal/callCopilot.d.ts +0 -3
- package/dist/actions/providers/credal/callCopilot.js +0 -36
- package/dist/actions/providers/gong/getGongTranscripts.d.ts +0 -3
- package/dist/actions/providers/gong/getGongTranscripts.js +0 -315
- package/dist/actions/providers/jamf/getJamfComputerInventory.d.ts +0 -3
- package/dist/actions/providers/jamf/getJamfComputerInventory.js +0 -37
- package/dist/actions/providers/jamf/getJamfFileVaultRecoveryKey.d.ts +0 -3
- package/dist/actions/providers/jamf/getJamfFileVaultRecoveryKey.js +0 -39
- package/dist/actions/providers/jamf/getJamfUserComputerId.d.ts +0 -3
- package/dist/actions/providers/jamf/getJamfUserComputerId.js +0 -45
- package/dist/actions/providers/jamf/lockJamfComputerById.d.ts +0 -3
- package/dist/actions/providers/jamf/lockJamfComputerById.js +0 -39
- package/dist/actions/providers/kandji/getFVRecoveryKeyForDevice.d.ts +0 -3
- package/dist/actions/providers/kandji/getFVRecoveryKeyForDevice.js +0 -85
- package/dist/actions/providers/math/index.d.ts +0 -1
- package/dist/actions/providers/math/index.js +0 -37
- package/dist/actions/providers/okta/addUserToGroup.d.ts +0 -3
- package/dist/actions/providers/okta/addUserToGroup.js +0 -56
- package/dist/actions/providers/okta/getOktaGroup.d.ts +0 -3
- package/dist/actions/providers/okta/getOktaGroup.js +0 -73
- package/dist/actions/providers/okta/getOktaUser.d.ts +0 -3
- package/dist/actions/providers/okta/getOktaUser.js +0 -40
- package/dist/actions/providers/okta/listMFA.d.ts +0 -3
- package/dist/actions/providers/okta/listMFA.js +0 -52
- package/dist/actions/providers/okta/listOktaGroupMembers.d.ts +0 -3
- package/dist/actions/providers/okta/listOktaGroupMembers.js +0 -99
- package/dist/actions/providers/okta/listOktaGroups.d.ts +0 -3
- package/dist/actions/providers/okta/listOktaGroups.js +0 -92
- package/dist/actions/providers/okta/listOktaUserGroups.d.ts +0 -3
- package/dist/actions/providers/okta/listOktaUserGroups.js +0 -83
- package/dist/actions/providers/okta/listOktaUsers.d.ts +0 -3
- package/dist/actions/providers/okta/listOktaUsers.js +0 -100
- package/dist/actions/providers/okta/removeUserFromGroup.d.ts +0 -3
- package/dist/actions/providers/okta/removeUserFromGroup.js +0 -56
- package/dist/actions/providers/okta/resetMFA.d.ts +0 -3
- package/dist/actions/providers/okta/resetMFA.js +0 -62
- package/dist/actions/providers/okta/resetPassword.d.ts +0 -3
- package/dist/actions/providers/okta/resetPassword.js +0 -57
- package/dist/actions/providers/okta/triggerOktaWorkflow.d.ts +0 -3
- package/dist/actions/providers/okta/triggerOktaWorkflow.js +0 -44
- package/dist/actions/providers/salesforce/fetchSalesforceSchema.d.ts +0 -3
- package/dist/actions/providers/salesforce/fetchSalesforceSchema.js +0 -40
- package/dist/actions/providers/salesforce/getSalesforceRecordByQuery.d.ts +0 -3
- package/dist/actions/providers/salesforce/getSalesforceRecordByQuery.js +0 -43
- package/dist/actions/providers/slack/archiveChannel.d.ts +0 -3
- package/dist/actions/providers/slack/archiveChannel.js +0 -35
- package/dist/actions/providers/slack/index.d.ts +0 -1
- package/dist/actions/providers/slack/index.js +0 -37
- package/dist/actions/providers/slack/listConversations.d.ts +0 -3
- package/dist/actions/providers/slack/listConversations.js +0 -41
|
@@ -36,6 +36,7 @@ export declare enum ProviderName {
|
|
|
36
36
|
LINEAR = "linear",
|
|
37
37
|
HUBSPOT = "hubspot",
|
|
38
38
|
SMARTSHEET = "smartsheet",
|
|
39
|
+
SERVICENOW = "servicenow",
|
|
39
40
|
BOXUSER = "boxUser"
|
|
40
41
|
}
|
|
41
42
|
export declare enum ActionName {
|
|
@@ -180,7 +181,12 @@ export declare enum ActionName {
|
|
|
180
181
|
LISTSHEETS = "listSheets",
|
|
181
182
|
GETSHEETROWS = "getSheetRows",
|
|
182
183
|
ADDROWTOSHEET = "addRowToSheet",
|
|
183
|
-
UPDATEROW = "updateRow"
|
|
184
|
+
UPDATEROW = "updateRow",
|
|
185
|
+
GETRECORDSBYQUERY = "getRecordsByQuery",
|
|
186
|
+
GETINCIDENTS = "getIncidents",
|
|
187
|
+
GETCHANGEREQUESTS = "getChangeRequests",
|
|
188
|
+
GETSCTASKS = "getSCTasks",
|
|
189
|
+
GETVIPTICKETS = "getVIPTickets"
|
|
184
190
|
}
|
|
185
191
|
export type ActionFunction<P, A, O> = (input: {
|
|
186
192
|
params: P;
|
|
@@ -12392,3 +12398,522 @@ export declare const smartsheetUpdateRowOutputSchema: z.ZodObject<{
|
|
|
12392
12398
|
}>;
|
|
12393
12399
|
export type smartsheetUpdateRowOutputType = z.infer<typeof smartsheetUpdateRowOutputSchema>;
|
|
12394
12400
|
export type smartsheetUpdateRowFunction = ActionFunction<smartsheetUpdateRowParamsType, AuthParamsType, smartsheetUpdateRowOutputType>;
|
|
12401
|
+
export declare const servicenowGetRecordsByQueryParamsSchema: z.ZodObject<{
|
|
12402
|
+
tableName: z.ZodString;
|
|
12403
|
+
query: z.ZodOptional<z.ZodString>;
|
|
12404
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12405
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
12406
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
12407
|
+
includeDisplayValues: z.ZodOptional<z.ZodBoolean>;
|
|
12408
|
+
}, "strip", z.ZodTypeAny, {
|
|
12409
|
+
tableName: string;
|
|
12410
|
+
query?: string | undefined;
|
|
12411
|
+
limit?: number | undefined;
|
|
12412
|
+
fields?: string[] | undefined;
|
|
12413
|
+
offset?: number | undefined;
|
|
12414
|
+
includeDisplayValues?: boolean | undefined;
|
|
12415
|
+
}, {
|
|
12416
|
+
tableName: string;
|
|
12417
|
+
query?: string | undefined;
|
|
12418
|
+
limit?: number | undefined;
|
|
12419
|
+
fields?: string[] | undefined;
|
|
12420
|
+
offset?: number | undefined;
|
|
12421
|
+
includeDisplayValues?: boolean | undefined;
|
|
12422
|
+
}>;
|
|
12423
|
+
export type servicenowGetRecordsByQueryParamsType = z.infer<typeof servicenowGetRecordsByQueryParamsSchema>;
|
|
12424
|
+
export declare const servicenowGetRecordsByQueryOutputSchema: z.ZodObject<{
|
|
12425
|
+
success: z.ZodBoolean;
|
|
12426
|
+
records: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "many">>;
|
|
12427
|
+
error: z.ZodOptional<z.ZodString>;
|
|
12428
|
+
}, "strip", z.ZodTypeAny, {
|
|
12429
|
+
success: boolean;
|
|
12430
|
+
error?: string | undefined;
|
|
12431
|
+
records?: z.objectOutputType<{}, z.ZodAny, "strip">[] | undefined;
|
|
12432
|
+
}, {
|
|
12433
|
+
success: boolean;
|
|
12434
|
+
error?: string | undefined;
|
|
12435
|
+
records?: z.objectInputType<{}, z.ZodAny, "strip">[] | undefined;
|
|
12436
|
+
}>;
|
|
12437
|
+
export type servicenowGetRecordsByQueryOutputType = z.infer<typeof servicenowGetRecordsByQueryOutputSchema>;
|
|
12438
|
+
export type servicenowGetRecordsByQueryFunction = ActionFunction<servicenowGetRecordsByQueryParamsType, AuthParamsType, servicenowGetRecordsByQueryOutputType>;
|
|
12439
|
+
export declare const servicenowGetIncidentsParamsSchema: z.ZodObject<{
|
|
12440
|
+
query: z.ZodOptional<z.ZodString>;
|
|
12441
|
+
additionalFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12442
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
12443
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
12444
|
+
}, "strip", z.ZodTypeAny, {
|
|
12445
|
+
query?: string | undefined;
|
|
12446
|
+
limit?: number | undefined;
|
|
12447
|
+
offset?: number | undefined;
|
|
12448
|
+
additionalFields?: string[] | undefined;
|
|
12449
|
+
}, {
|
|
12450
|
+
query?: string | undefined;
|
|
12451
|
+
limit?: number | undefined;
|
|
12452
|
+
offset?: number | undefined;
|
|
12453
|
+
additionalFields?: string[] | undefined;
|
|
12454
|
+
}>;
|
|
12455
|
+
export type servicenowGetIncidentsParamsType = z.infer<typeof servicenowGetIncidentsParamsSchema>;
|
|
12456
|
+
export declare const servicenowGetIncidentsOutputSchema: z.ZodObject<{
|
|
12457
|
+
success: z.ZodBoolean;
|
|
12458
|
+
records: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12459
|
+
number: z.ZodOptional<z.ZodString>;
|
|
12460
|
+
caller: z.ZodOptional<z.ZodString>;
|
|
12461
|
+
assignee: z.ZodOptional<z.ZodString>;
|
|
12462
|
+
assignmentGroup: z.ZodOptional<z.ZodString>;
|
|
12463
|
+
shortDescription: z.ZodOptional<z.ZodString>;
|
|
12464
|
+
description: z.ZodOptional<z.ZodString>;
|
|
12465
|
+
state: z.ZodOptional<z.ZodString>;
|
|
12466
|
+
incidentState: z.ZodOptional<z.ZodString>;
|
|
12467
|
+
priority: z.ZodOptional<z.ZodString>;
|
|
12468
|
+
impact: z.ZodOptional<z.ZodString>;
|
|
12469
|
+
urgency: z.ZodOptional<z.ZodString>;
|
|
12470
|
+
openedAt: z.ZodOptional<z.ZodString>;
|
|
12471
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
12472
|
+
closedAt: z.ZodOptional<z.ZodString>;
|
|
12473
|
+
workNotes: z.ZodOptional<z.ZodString>;
|
|
12474
|
+
comments: z.ZodOptional<z.ZodString>;
|
|
12475
|
+
timeToClosureMinutes: z.ZodOptional<z.ZodNumber>;
|
|
12476
|
+
extraFields: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>>;
|
|
12477
|
+
}, "strip", z.ZodTypeAny, {
|
|
12478
|
+
number?: string | undefined;
|
|
12479
|
+
description?: string | undefined;
|
|
12480
|
+
assignee?: string | undefined;
|
|
12481
|
+
comments?: string | undefined;
|
|
12482
|
+
priority?: string | undefined;
|
|
12483
|
+
state?: string | undefined;
|
|
12484
|
+
updatedAt?: string | undefined;
|
|
12485
|
+
closedAt?: string | undefined;
|
|
12486
|
+
caller?: string | undefined;
|
|
12487
|
+
assignmentGroup?: string | undefined;
|
|
12488
|
+
shortDescription?: string | undefined;
|
|
12489
|
+
incidentState?: string | undefined;
|
|
12490
|
+
impact?: string | undefined;
|
|
12491
|
+
urgency?: string | undefined;
|
|
12492
|
+
openedAt?: string | undefined;
|
|
12493
|
+
workNotes?: string | undefined;
|
|
12494
|
+
timeToClosureMinutes?: number | undefined;
|
|
12495
|
+
extraFields?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
|
|
12496
|
+
}, {
|
|
12497
|
+
number?: string | undefined;
|
|
12498
|
+
description?: string | undefined;
|
|
12499
|
+
assignee?: string | undefined;
|
|
12500
|
+
comments?: string | undefined;
|
|
12501
|
+
priority?: string | undefined;
|
|
12502
|
+
state?: string | undefined;
|
|
12503
|
+
updatedAt?: string | undefined;
|
|
12504
|
+
closedAt?: string | undefined;
|
|
12505
|
+
caller?: string | undefined;
|
|
12506
|
+
assignmentGroup?: string | undefined;
|
|
12507
|
+
shortDescription?: string | undefined;
|
|
12508
|
+
incidentState?: string | undefined;
|
|
12509
|
+
impact?: string | undefined;
|
|
12510
|
+
urgency?: string | undefined;
|
|
12511
|
+
openedAt?: string | undefined;
|
|
12512
|
+
workNotes?: string | undefined;
|
|
12513
|
+
timeToClosureMinutes?: number | undefined;
|
|
12514
|
+
extraFields?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
|
|
12515
|
+
}>, "many">>;
|
|
12516
|
+
error: z.ZodOptional<z.ZodString>;
|
|
12517
|
+
}, "strip", z.ZodTypeAny, {
|
|
12518
|
+
success: boolean;
|
|
12519
|
+
error?: string | undefined;
|
|
12520
|
+
records?: {
|
|
12521
|
+
number?: string | undefined;
|
|
12522
|
+
description?: string | undefined;
|
|
12523
|
+
assignee?: string | undefined;
|
|
12524
|
+
comments?: string | undefined;
|
|
12525
|
+
priority?: string | undefined;
|
|
12526
|
+
state?: string | undefined;
|
|
12527
|
+
updatedAt?: string | undefined;
|
|
12528
|
+
closedAt?: string | undefined;
|
|
12529
|
+
caller?: string | undefined;
|
|
12530
|
+
assignmentGroup?: string | undefined;
|
|
12531
|
+
shortDescription?: string | undefined;
|
|
12532
|
+
incidentState?: string | undefined;
|
|
12533
|
+
impact?: string | undefined;
|
|
12534
|
+
urgency?: string | undefined;
|
|
12535
|
+
openedAt?: string | undefined;
|
|
12536
|
+
workNotes?: string | undefined;
|
|
12537
|
+
timeToClosureMinutes?: number | undefined;
|
|
12538
|
+
extraFields?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
|
|
12539
|
+
}[] | undefined;
|
|
12540
|
+
}, {
|
|
12541
|
+
success: boolean;
|
|
12542
|
+
error?: string | undefined;
|
|
12543
|
+
records?: {
|
|
12544
|
+
number?: string | undefined;
|
|
12545
|
+
description?: string | undefined;
|
|
12546
|
+
assignee?: string | undefined;
|
|
12547
|
+
comments?: string | undefined;
|
|
12548
|
+
priority?: string | undefined;
|
|
12549
|
+
state?: string | undefined;
|
|
12550
|
+
updatedAt?: string | undefined;
|
|
12551
|
+
closedAt?: string | undefined;
|
|
12552
|
+
caller?: string | undefined;
|
|
12553
|
+
assignmentGroup?: string | undefined;
|
|
12554
|
+
shortDescription?: string | undefined;
|
|
12555
|
+
incidentState?: string | undefined;
|
|
12556
|
+
impact?: string | undefined;
|
|
12557
|
+
urgency?: string | undefined;
|
|
12558
|
+
openedAt?: string | undefined;
|
|
12559
|
+
workNotes?: string | undefined;
|
|
12560
|
+
timeToClosureMinutes?: number | undefined;
|
|
12561
|
+
extraFields?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
|
|
12562
|
+
}[] | undefined;
|
|
12563
|
+
}>;
|
|
12564
|
+
export type servicenowGetIncidentsOutputType = z.infer<typeof servicenowGetIncidentsOutputSchema>;
|
|
12565
|
+
export type servicenowGetIncidentsFunction = ActionFunction<servicenowGetIncidentsParamsType, AuthParamsType, servicenowGetIncidentsOutputType>;
|
|
12566
|
+
export declare const servicenowGetChangeRequestsParamsSchema: z.ZodObject<{
|
|
12567
|
+
query: z.ZodOptional<z.ZodString>;
|
|
12568
|
+
additionalFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12569
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
12570
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
12571
|
+
}, "strip", z.ZodTypeAny, {
|
|
12572
|
+
query?: string | undefined;
|
|
12573
|
+
limit?: number | undefined;
|
|
12574
|
+
offset?: number | undefined;
|
|
12575
|
+
additionalFields?: string[] | undefined;
|
|
12576
|
+
}, {
|
|
12577
|
+
query?: string | undefined;
|
|
12578
|
+
limit?: number | undefined;
|
|
12579
|
+
offset?: number | undefined;
|
|
12580
|
+
additionalFields?: string[] | undefined;
|
|
12581
|
+
}>;
|
|
12582
|
+
export type servicenowGetChangeRequestsParamsType = z.infer<typeof servicenowGetChangeRequestsParamsSchema>;
|
|
12583
|
+
export declare const servicenowGetChangeRequestsOutputSchema: z.ZodObject<{
|
|
12584
|
+
success: z.ZodBoolean;
|
|
12585
|
+
records: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12586
|
+
number: z.ZodOptional<z.ZodString>;
|
|
12587
|
+
requestor: z.ZodOptional<z.ZodString>;
|
|
12588
|
+
assignee: z.ZodOptional<z.ZodString>;
|
|
12589
|
+
assignmentGroup: z.ZodOptional<z.ZodString>;
|
|
12590
|
+
shortDescription: z.ZodOptional<z.ZodString>;
|
|
12591
|
+
description: z.ZodOptional<z.ZodString>;
|
|
12592
|
+
state: z.ZodOptional<z.ZodString>;
|
|
12593
|
+
priority: z.ZodOptional<z.ZodString>;
|
|
12594
|
+
impact: z.ZodOptional<z.ZodString>;
|
|
12595
|
+
urgency: z.ZodOptional<z.ZodString>;
|
|
12596
|
+
openedAt: z.ZodOptional<z.ZodString>;
|
|
12597
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
12598
|
+
closedAt: z.ZodOptional<z.ZodString>;
|
|
12599
|
+
workNotes: z.ZodOptional<z.ZodString>;
|
|
12600
|
+
comments: z.ZodOptional<z.ZodString>;
|
|
12601
|
+
timeToClosureMinutes: z.ZodOptional<z.ZodNumber>;
|
|
12602
|
+
extraFields: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>>;
|
|
12603
|
+
}, "strip", z.ZodTypeAny, {
|
|
12604
|
+
number?: string | undefined;
|
|
12605
|
+
description?: string | undefined;
|
|
12606
|
+
assignee?: string | undefined;
|
|
12607
|
+
comments?: string | undefined;
|
|
12608
|
+
priority?: string | undefined;
|
|
12609
|
+
state?: string | undefined;
|
|
12610
|
+
updatedAt?: string | undefined;
|
|
12611
|
+
closedAt?: string | undefined;
|
|
12612
|
+
assignmentGroup?: string | undefined;
|
|
12613
|
+
shortDescription?: string | undefined;
|
|
12614
|
+
impact?: string | undefined;
|
|
12615
|
+
urgency?: string | undefined;
|
|
12616
|
+
openedAt?: string | undefined;
|
|
12617
|
+
workNotes?: string | undefined;
|
|
12618
|
+
timeToClosureMinutes?: number | undefined;
|
|
12619
|
+
extraFields?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
|
|
12620
|
+
requestor?: string | undefined;
|
|
12621
|
+
}, {
|
|
12622
|
+
number?: string | undefined;
|
|
12623
|
+
description?: string | undefined;
|
|
12624
|
+
assignee?: string | undefined;
|
|
12625
|
+
comments?: string | undefined;
|
|
12626
|
+
priority?: string | undefined;
|
|
12627
|
+
state?: string | undefined;
|
|
12628
|
+
updatedAt?: string | undefined;
|
|
12629
|
+
closedAt?: string | undefined;
|
|
12630
|
+
assignmentGroup?: string | undefined;
|
|
12631
|
+
shortDescription?: string | undefined;
|
|
12632
|
+
impact?: string | undefined;
|
|
12633
|
+
urgency?: string | undefined;
|
|
12634
|
+
openedAt?: string | undefined;
|
|
12635
|
+
workNotes?: string | undefined;
|
|
12636
|
+
timeToClosureMinutes?: number | undefined;
|
|
12637
|
+
extraFields?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
|
|
12638
|
+
requestor?: string | undefined;
|
|
12639
|
+
}>, "many">>;
|
|
12640
|
+
error: z.ZodOptional<z.ZodString>;
|
|
12641
|
+
}, "strip", z.ZodTypeAny, {
|
|
12642
|
+
success: boolean;
|
|
12643
|
+
error?: string | undefined;
|
|
12644
|
+
records?: {
|
|
12645
|
+
number?: string | undefined;
|
|
12646
|
+
description?: string | undefined;
|
|
12647
|
+
assignee?: string | undefined;
|
|
12648
|
+
comments?: string | undefined;
|
|
12649
|
+
priority?: string | undefined;
|
|
12650
|
+
state?: string | undefined;
|
|
12651
|
+
updatedAt?: string | undefined;
|
|
12652
|
+
closedAt?: string | undefined;
|
|
12653
|
+
assignmentGroup?: string | undefined;
|
|
12654
|
+
shortDescription?: string | undefined;
|
|
12655
|
+
impact?: string | undefined;
|
|
12656
|
+
urgency?: string | undefined;
|
|
12657
|
+
openedAt?: string | undefined;
|
|
12658
|
+
workNotes?: string | undefined;
|
|
12659
|
+
timeToClosureMinutes?: number | undefined;
|
|
12660
|
+
extraFields?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
|
|
12661
|
+
requestor?: string | undefined;
|
|
12662
|
+
}[] | undefined;
|
|
12663
|
+
}, {
|
|
12664
|
+
success: boolean;
|
|
12665
|
+
error?: string | undefined;
|
|
12666
|
+
records?: {
|
|
12667
|
+
number?: string | undefined;
|
|
12668
|
+
description?: string | undefined;
|
|
12669
|
+
assignee?: string | undefined;
|
|
12670
|
+
comments?: string | undefined;
|
|
12671
|
+
priority?: string | undefined;
|
|
12672
|
+
state?: string | undefined;
|
|
12673
|
+
updatedAt?: string | undefined;
|
|
12674
|
+
closedAt?: string | undefined;
|
|
12675
|
+
assignmentGroup?: string | undefined;
|
|
12676
|
+
shortDescription?: string | undefined;
|
|
12677
|
+
impact?: string | undefined;
|
|
12678
|
+
urgency?: string | undefined;
|
|
12679
|
+
openedAt?: string | undefined;
|
|
12680
|
+
workNotes?: string | undefined;
|
|
12681
|
+
timeToClosureMinutes?: number | undefined;
|
|
12682
|
+
extraFields?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
|
|
12683
|
+
requestor?: string | undefined;
|
|
12684
|
+
}[] | undefined;
|
|
12685
|
+
}>;
|
|
12686
|
+
export type servicenowGetChangeRequestsOutputType = z.infer<typeof servicenowGetChangeRequestsOutputSchema>;
|
|
12687
|
+
export type servicenowGetChangeRequestsFunction = ActionFunction<servicenowGetChangeRequestsParamsType, AuthParamsType, servicenowGetChangeRequestsOutputType>;
|
|
12688
|
+
export declare const servicenowGetSCTasksParamsSchema: z.ZodObject<{
|
|
12689
|
+
query: z.ZodOptional<z.ZodString>;
|
|
12690
|
+
additionalFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12691
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
12692
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
12693
|
+
}, "strip", z.ZodTypeAny, {
|
|
12694
|
+
query?: string | undefined;
|
|
12695
|
+
limit?: number | undefined;
|
|
12696
|
+
offset?: number | undefined;
|
|
12697
|
+
additionalFields?: string[] | undefined;
|
|
12698
|
+
}, {
|
|
12699
|
+
query?: string | undefined;
|
|
12700
|
+
limit?: number | undefined;
|
|
12701
|
+
offset?: number | undefined;
|
|
12702
|
+
additionalFields?: string[] | undefined;
|
|
12703
|
+
}>;
|
|
12704
|
+
export type servicenowGetSCTasksParamsType = z.infer<typeof servicenowGetSCTasksParamsSchema>;
|
|
12705
|
+
export declare const servicenowGetSCTasksOutputSchema: z.ZodObject<{
|
|
12706
|
+
success: z.ZodBoolean;
|
|
12707
|
+
records: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12708
|
+
number: z.ZodOptional<z.ZodString>;
|
|
12709
|
+
ritmNumber: z.ZodOptional<z.ZodString>;
|
|
12710
|
+
assignee: z.ZodOptional<z.ZodString>;
|
|
12711
|
+
assignmentGroup: z.ZodOptional<z.ZodString>;
|
|
12712
|
+
shortDescription: z.ZodOptional<z.ZodString>;
|
|
12713
|
+
description: z.ZodOptional<z.ZodString>;
|
|
12714
|
+
state: z.ZodOptional<z.ZodString>;
|
|
12715
|
+
priority: z.ZodOptional<z.ZodString>;
|
|
12716
|
+
openedAt: z.ZodOptional<z.ZodString>;
|
|
12717
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
12718
|
+
closedAt: z.ZodOptional<z.ZodString>;
|
|
12719
|
+
workNotes: z.ZodOptional<z.ZodString>;
|
|
12720
|
+
comments: z.ZodOptional<z.ZodString>;
|
|
12721
|
+
timeToClosureMinutes: z.ZodOptional<z.ZodNumber>;
|
|
12722
|
+
extraFields: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>>;
|
|
12723
|
+
}, "strip", z.ZodTypeAny, {
|
|
12724
|
+
number?: string | undefined;
|
|
12725
|
+
description?: string | undefined;
|
|
12726
|
+
assignee?: string | undefined;
|
|
12727
|
+
comments?: string | undefined;
|
|
12728
|
+
priority?: string | undefined;
|
|
12729
|
+
state?: string | undefined;
|
|
12730
|
+
updatedAt?: string | undefined;
|
|
12731
|
+
closedAt?: string | undefined;
|
|
12732
|
+
assignmentGroup?: string | undefined;
|
|
12733
|
+
shortDescription?: string | undefined;
|
|
12734
|
+
openedAt?: string | undefined;
|
|
12735
|
+
workNotes?: string | undefined;
|
|
12736
|
+
timeToClosureMinutes?: number | undefined;
|
|
12737
|
+
extraFields?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
|
|
12738
|
+
ritmNumber?: string | undefined;
|
|
12739
|
+
}, {
|
|
12740
|
+
number?: string | undefined;
|
|
12741
|
+
description?: string | undefined;
|
|
12742
|
+
assignee?: string | undefined;
|
|
12743
|
+
comments?: string | undefined;
|
|
12744
|
+
priority?: string | undefined;
|
|
12745
|
+
state?: string | undefined;
|
|
12746
|
+
updatedAt?: string | undefined;
|
|
12747
|
+
closedAt?: string | undefined;
|
|
12748
|
+
assignmentGroup?: string | undefined;
|
|
12749
|
+
shortDescription?: string | undefined;
|
|
12750
|
+
openedAt?: string | undefined;
|
|
12751
|
+
workNotes?: string | undefined;
|
|
12752
|
+
timeToClosureMinutes?: number | undefined;
|
|
12753
|
+
extraFields?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
|
|
12754
|
+
ritmNumber?: string | undefined;
|
|
12755
|
+
}>, "many">>;
|
|
12756
|
+
error: z.ZodOptional<z.ZodString>;
|
|
12757
|
+
}, "strip", z.ZodTypeAny, {
|
|
12758
|
+
success: boolean;
|
|
12759
|
+
error?: string | undefined;
|
|
12760
|
+
records?: {
|
|
12761
|
+
number?: string | undefined;
|
|
12762
|
+
description?: string | undefined;
|
|
12763
|
+
assignee?: string | undefined;
|
|
12764
|
+
comments?: string | undefined;
|
|
12765
|
+
priority?: string | undefined;
|
|
12766
|
+
state?: string | undefined;
|
|
12767
|
+
updatedAt?: string | undefined;
|
|
12768
|
+
closedAt?: string | undefined;
|
|
12769
|
+
assignmentGroup?: string | undefined;
|
|
12770
|
+
shortDescription?: string | undefined;
|
|
12771
|
+
openedAt?: string | undefined;
|
|
12772
|
+
workNotes?: string | undefined;
|
|
12773
|
+
timeToClosureMinutes?: number | undefined;
|
|
12774
|
+
extraFields?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
|
|
12775
|
+
ritmNumber?: string | undefined;
|
|
12776
|
+
}[] | undefined;
|
|
12777
|
+
}, {
|
|
12778
|
+
success: boolean;
|
|
12779
|
+
error?: string | undefined;
|
|
12780
|
+
records?: {
|
|
12781
|
+
number?: string | undefined;
|
|
12782
|
+
description?: string | undefined;
|
|
12783
|
+
assignee?: string | undefined;
|
|
12784
|
+
comments?: string | undefined;
|
|
12785
|
+
priority?: string | undefined;
|
|
12786
|
+
state?: string | undefined;
|
|
12787
|
+
updatedAt?: string | undefined;
|
|
12788
|
+
closedAt?: string | undefined;
|
|
12789
|
+
assignmentGroup?: string | undefined;
|
|
12790
|
+
shortDescription?: string | undefined;
|
|
12791
|
+
openedAt?: string | undefined;
|
|
12792
|
+
workNotes?: string | undefined;
|
|
12793
|
+
timeToClosureMinutes?: number | undefined;
|
|
12794
|
+
extraFields?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
|
|
12795
|
+
ritmNumber?: string | undefined;
|
|
12796
|
+
}[] | undefined;
|
|
12797
|
+
}>;
|
|
12798
|
+
export type servicenowGetSCTasksOutputType = z.infer<typeof servicenowGetSCTasksOutputSchema>;
|
|
12799
|
+
export type servicenowGetSCTasksFunction = ActionFunction<servicenowGetSCTasksParamsType, AuthParamsType, servicenowGetSCTasksOutputType>;
|
|
12800
|
+
export declare const servicenowGetVIPTicketsParamsSchema: z.ZodObject<{
|
|
12801
|
+
ticketType: z.ZodEnum<["incident", "sc_task"]>;
|
|
12802
|
+
query: z.ZodOptional<z.ZodString>;
|
|
12803
|
+
additionalFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12804
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
12805
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
12806
|
+
}, "strip", z.ZodTypeAny, {
|
|
12807
|
+
ticketType: "incident" | "sc_task";
|
|
12808
|
+
query?: string | undefined;
|
|
12809
|
+
limit?: number | undefined;
|
|
12810
|
+
offset?: number | undefined;
|
|
12811
|
+
additionalFields?: string[] | undefined;
|
|
12812
|
+
}, {
|
|
12813
|
+
ticketType: "incident" | "sc_task";
|
|
12814
|
+
query?: string | undefined;
|
|
12815
|
+
limit?: number | undefined;
|
|
12816
|
+
offset?: number | undefined;
|
|
12817
|
+
additionalFields?: string[] | undefined;
|
|
12818
|
+
}>;
|
|
12819
|
+
export type servicenowGetVIPTicketsParamsType = z.infer<typeof servicenowGetVIPTicketsParamsSchema>;
|
|
12820
|
+
export declare const servicenowGetVIPTicketsOutputSchema: z.ZodObject<{
|
|
12821
|
+
success: z.ZodBoolean;
|
|
12822
|
+
records: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12823
|
+
ticketType: z.ZodOptional<z.ZodString>;
|
|
12824
|
+
number: z.ZodOptional<z.ZodString>;
|
|
12825
|
+
ritmNumber: z.ZodOptional<z.ZodString>;
|
|
12826
|
+
vipUser: z.ZodOptional<z.ZodString>;
|
|
12827
|
+
assignee: z.ZodOptional<z.ZodString>;
|
|
12828
|
+
assignmentGroup: z.ZodOptional<z.ZodString>;
|
|
12829
|
+
shortDescription: z.ZodOptional<z.ZodString>;
|
|
12830
|
+
description: z.ZodOptional<z.ZodString>;
|
|
12831
|
+
state: z.ZodOptional<z.ZodString>;
|
|
12832
|
+
openedAt: z.ZodOptional<z.ZodString>;
|
|
12833
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
12834
|
+
closedAt: z.ZodOptional<z.ZodString>;
|
|
12835
|
+
workNotes: z.ZodOptional<z.ZodString>;
|
|
12836
|
+
comments: z.ZodOptional<z.ZodString>;
|
|
12837
|
+
timeToClosureMinutes: z.ZodOptional<z.ZodNumber>;
|
|
12838
|
+
extraFields: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>>;
|
|
12839
|
+
}, "strip", z.ZodTypeAny, {
|
|
12840
|
+
number?: string | undefined;
|
|
12841
|
+
description?: string | undefined;
|
|
12842
|
+
assignee?: string | undefined;
|
|
12843
|
+
comments?: string | undefined;
|
|
12844
|
+
state?: string | undefined;
|
|
12845
|
+
ticketType?: string | undefined;
|
|
12846
|
+
updatedAt?: string | undefined;
|
|
12847
|
+
closedAt?: string | undefined;
|
|
12848
|
+
assignmentGroup?: string | undefined;
|
|
12849
|
+
shortDescription?: string | undefined;
|
|
12850
|
+
openedAt?: string | undefined;
|
|
12851
|
+
workNotes?: string | undefined;
|
|
12852
|
+
timeToClosureMinutes?: number | undefined;
|
|
12853
|
+
extraFields?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
|
|
12854
|
+
ritmNumber?: string | undefined;
|
|
12855
|
+
vipUser?: string | undefined;
|
|
12856
|
+
}, {
|
|
12857
|
+
number?: string | undefined;
|
|
12858
|
+
description?: string | undefined;
|
|
12859
|
+
assignee?: string | undefined;
|
|
12860
|
+
comments?: string | undefined;
|
|
12861
|
+
state?: string | undefined;
|
|
12862
|
+
ticketType?: string | undefined;
|
|
12863
|
+
updatedAt?: string | undefined;
|
|
12864
|
+
closedAt?: string | undefined;
|
|
12865
|
+
assignmentGroup?: string | undefined;
|
|
12866
|
+
shortDescription?: string | undefined;
|
|
12867
|
+
openedAt?: string | undefined;
|
|
12868
|
+
workNotes?: string | undefined;
|
|
12869
|
+
timeToClosureMinutes?: number | undefined;
|
|
12870
|
+
extraFields?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
|
|
12871
|
+
ritmNumber?: string | undefined;
|
|
12872
|
+
vipUser?: string | undefined;
|
|
12873
|
+
}>, "many">>;
|
|
12874
|
+
error: z.ZodOptional<z.ZodString>;
|
|
12875
|
+
}, "strip", z.ZodTypeAny, {
|
|
12876
|
+
success: boolean;
|
|
12877
|
+
error?: string | undefined;
|
|
12878
|
+
records?: {
|
|
12879
|
+
number?: string | undefined;
|
|
12880
|
+
description?: string | undefined;
|
|
12881
|
+
assignee?: string | undefined;
|
|
12882
|
+
comments?: string | undefined;
|
|
12883
|
+
state?: string | undefined;
|
|
12884
|
+
ticketType?: string | undefined;
|
|
12885
|
+
updatedAt?: string | undefined;
|
|
12886
|
+
closedAt?: string | undefined;
|
|
12887
|
+
assignmentGroup?: string | undefined;
|
|
12888
|
+
shortDescription?: string | undefined;
|
|
12889
|
+
openedAt?: string | undefined;
|
|
12890
|
+
workNotes?: string | undefined;
|
|
12891
|
+
timeToClosureMinutes?: number | undefined;
|
|
12892
|
+
extraFields?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
|
|
12893
|
+
ritmNumber?: string | undefined;
|
|
12894
|
+
vipUser?: string | undefined;
|
|
12895
|
+
}[] | undefined;
|
|
12896
|
+
}, {
|
|
12897
|
+
success: boolean;
|
|
12898
|
+
error?: string | undefined;
|
|
12899
|
+
records?: {
|
|
12900
|
+
number?: string | undefined;
|
|
12901
|
+
description?: string | undefined;
|
|
12902
|
+
assignee?: string | undefined;
|
|
12903
|
+
comments?: string | undefined;
|
|
12904
|
+
state?: string | undefined;
|
|
12905
|
+
ticketType?: string | undefined;
|
|
12906
|
+
updatedAt?: string | undefined;
|
|
12907
|
+
closedAt?: string | undefined;
|
|
12908
|
+
assignmentGroup?: string | undefined;
|
|
12909
|
+
shortDescription?: string | undefined;
|
|
12910
|
+
openedAt?: string | undefined;
|
|
12911
|
+
workNotes?: string | undefined;
|
|
12912
|
+
timeToClosureMinutes?: number | undefined;
|
|
12913
|
+
extraFields?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
|
|
12914
|
+
ritmNumber?: string | undefined;
|
|
12915
|
+
vipUser?: string | undefined;
|
|
12916
|
+
}[] | undefined;
|
|
12917
|
+
}>;
|
|
12918
|
+
export type servicenowGetVIPTicketsOutputType = z.infer<typeof servicenowGetVIPTicketsOutputSchema>;
|
|
12919
|
+
export type servicenowGetVIPTicketsFunction = ActionFunction<servicenowGetVIPTicketsParamsType, AuthParamsType, servicenowGetVIPTicketsOutputType>;
|