@credal/actions 0.2.222 → 0.2.224
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 +66 -1
- package/dist/actions/autogen/templates.d.ts +9 -0
- package/dist/actions/autogen/templates.js +920 -0
- package/dist/actions/autogen/types.d.ts +893 -1
- package/dist/actions/autogen/types.js +353 -0
- package/dist/actions/groups.js +3 -31
- package/dist/actions/providers/microsoft/getSharepointItem.d.ts +3 -0
- package/dist/actions/providers/microsoft/getSharepointItem.js +61 -0
- package/dist/actions/providers/microsoft/listSharepointFolder.d.ts +3 -0
- package/dist/actions/providers/microsoft/listSharepointFolder.js +92 -0
- package/dist/actions/providers/microsoft/readSharepointContent.d.ts +3 -0
- package/dist/actions/providers/microsoft/readSharepointContent.js +157 -0
- package/dist/actions/providers/microsoft/searchSharepoint.d.ts +3 -0
- package/dist/actions/providers/microsoft/searchSharepoint.js +147 -0
- package/dist/actions/providers/microsoft/sharepointUtils.d.ts +56 -0
- package/dist/actions/providers/microsoft/sharepointUtils.js +153 -0
- package/dist/actions/providers/microsoft/utils.d.ts +1 -0
- package/dist/actions/providers/microsoft/utils.js +1 -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/providers/credal/callCopilot.d.ts +0 -3
- package/dist/actions/providers/credal/callCopilot.js +0 -36
- package/dist/actions/providers/math/index.d.ts +0 -1
- package/dist/actions/providers/math/index.js +0 -37
- package/dist/actions/providers/salesforce/getSalesforceRecordByQuery.d.ts +0 -3
- package/dist/actions/providers/salesforce/getSalesforceRecordByQuery.js +0 -43
- 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 {
|
|
@@ -150,6 +151,10 @@ export declare enum ActionName {
|
|
|
150
151
|
MESSAGETEAMSCHAT = "messageTeamsChat",
|
|
151
152
|
MESSAGETEAMSCHANNEL = "messageTeamsChannel",
|
|
152
153
|
GETDOCUMENT = "getDocument",
|
|
154
|
+
GETSHAREPOINTITEM = "getSharepointItem",
|
|
155
|
+
LISTSHAREPOINTFOLDER = "listSharepointFolder",
|
|
156
|
+
READSHAREPOINTCONTENT = "readSharepointContent",
|
|
157
|
+
SEARCHSHAREPOINT = "searchSharepoint",
|
|
153
158
|
CREATEORUPDATEFILE = "createOrUpdateFile",
|
|
154
159
|
CREATEBRANCH = "createBranch",
|
|
155
160
|
CREATEPULLREQUEST = "createPullRequest",
|
|
@@ -180,7 +185,12 @@ export declare enum ActionName {
|
|
|
180
185
|
LISTSHEETS = "listSheets",
|
|
181
186
|
GETSHEETROWS = "getSheetRows",
|
|
182
187
|
ADDROWTOSHEET = "addRowToSheet",
|
|
183
|
-
UPDATEROW = "updateRow"
|
|
188
|
+
UPDATEROW = "updateRow",
|
|
189
|
+
GETRECORDSBYQUERY = "getRecordsByQuery",
|
|
190
|
+
GETINCIDENTS = "getIncidents",
|
|
191
|
+
GETCHANGEREQUESTS = "getChangeRequests",
|
|
192
|
+
GETSCTASKS = "getSCTasks",
|
|
193
|
+
GETVIPTICKETS = "getVIPTickets"
|
|
184
194
|
}
|
|
185
195
|
export type ActionFunction<P, A, O> = (input: {
|
|
186
196
|
params: P;
|
|
@@ -8396,6 +8406,369 @@ export declare const microsoftGetDocumentOutputSchema: z.ZodObject<{
|
|
|
8396
8406
|
}>;
|
|
8397
8407
|
export type microsoftGetDocumentOutputType = z.infer<typeof microsoftGetDocumentOutputSchema>;
|
|
8398
8408
|
export type microsoftGetDocumentFunction = ActionFunction<microsoftGetDocumentParamsType, AuthParamsType, microsoftGetDocumentOutputType>;
|
|
8409
|
+
export declare const microsoftGetSharepointItemParamsSchema: z.ZodObject<{
|
|
8410
|
+
url: z.ZodString;
|
|
8411
|
+
}, "strip", z.ZodTypeAny, {
|
|
8412
|
+
url: string;
|
|
8413
|
+
}, {
|
|
8414
|
+
url: string;
|
|
8415
|
+
}>;
|
|
8416
|
+
export type microsoftGetSharepointItemParamsType = z.infer<typeof microsoftGetSharepointItemParamsSchema>;
|
|
8417
|
+
export declare const microsoftGetSharepointItemOutputSchema: z.ZodObject<{
|
|
8418
|
+
success: z.ZodBoolean;
|
|
8419
|
+
item: z.ZodOptional<z.ZodObject<{
|
|
8420
|
+
itemType: z.ZodOptional<z.ZodString>;
|
|
8421
|
+
name: z.ZodOptional<z.ZodString>;
|
|
8422
|
+
webUrl: z.ZodOptional<z.ZodString>;
|
|
8423
|
+
driveId: z.ZodOptional<z.ZodString>;
|
|
8424
|
+
itemId: z.ZodOptional<z.ZodString>;
|
|
8425
|
+
siteId: z.ZodOptional<z.ZodString>;
|
|
8426
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
8427
|
+
sizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
8428
|
+
drives: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8429
|
+
driveId: z.ZodOptional<z.ZodString>;
|
|
8430
|
+
name: z.ZodOptional<z.ZodString>;
|
|
8431
|
+
webUrl: z.ZodOptional<z.ZodString>;
|
|
8432
|
+
}, "strip", z.ZodTypeAny, {
|
|
8433
|
+
name?: string | undefined;
|
|
8434
|
+
driveId?: string | undefined;
|
|
8435
|
+
webUrl?: string | undefined;
|
|
8436
|
+
}, {
|
|
8437
|
+
name?: string | undefined;
|
|
8438
|
+
driveId?: string | undefined;
|
|
8439
|
+
webUrl?: string | undefined;
|
|
8440
|
+
}>, "many">>;
|
|
8441
|
+
}, "strip", z.ZodTypeAny, {
|
|
8442
|
+
name?: string | undefined;
|
|
8443
|
+
mimeType?: string | undefined;
|
|
8444
|
+
siteId?: string | undefined;
|
|
8445
|
+
driveId?: string | undefined;
|
|
8446
|
+
itemId?: string | undefined;
|
|
8447
|
+
itemType?: string | undefined;
|
|
8448
|
+
webUrl?: string | undefined;
|
|
8449
|
+
sizeBytes?: number | undefined;
|
|
8450
|
+
drives?: {
|
|
8451
|
+
name?: string | undefined;
|
|
8452
|
+
driveId?: string | undefined;
|
|
8453
|
+
webUrl?: string | undefined;
|
|
8454
|
+
}[] | undefined;
|
|
8455
|
+
}, {
|
|
8456
|
+
name?: string | undefined;
|
|
8457
|
+
mimeType?: string | undefined;
|
|
8458
|
+
siteId?: string | undefined;
|
|
8459
|
+
driveId?: string | undefined;
|
|
8460
|
+
itemId?: string | undefined;
|
|
8461
|
+
itemType?: string | undefined;
|
|
8462
|
+
webUrl?: string | undefined;
|
|
8463
|
+
sizeBytes?: number | undefined;
|
|
8464
|
+
drives?: {
|
|
8465
|
+
name?: string | undefined;
|
|
8466
|
+
driveId?: string | undefined;
|
|
8467
|
+
webUrl?: string | undefined;
|
|
8468
|
+
}[] | undefined;
|
|
8469
|
+
}>>;
|
|
8470
|
+
error: z.ZodOptional<z.ZodString>;
|
|
8471
|
+
}, "strip", z.ZodTypeAny, {
|
|
8472
|
+
success: boolean;
|
|
8473
|
+
error?: string | undefined;
|
|
8474
|
+
item?: {
|
|
8475
|
+
name?: string | undefined;
|
|
8476
|
+
mimeType?: string | undefined;
|
|
8477
|
+
siteId?: string | undefined;
|
|
8478
|
+
driveId?: string | undefined;
|
|
8479
|
+
itemId?: string | undefined;
|
|
8480
|
+
itemType?: string | undefined;
|
|
8481
|
+
webUrl?: string | undefined;
|
|
8482
|
+
sizeBytes?: number | undefined;
|
|
8483
|
+
drives?: {
|
|
8484
|
+
name?: string | undefined;
|
|
8485
|
+
driveId?: string | undefined;
|
|
8486
|
+
webUrl?: string | undefined;
|
|
8487
|
+
}[] | undefined;
|
|
8488
|
+
} | undefined;
|
|
8489
|
+
}, {
|
|
8490
|
+
success: boolean;
|
|
8491
|
+
error?: string | undefined;
|
|
8492
|
+
item?: {
|
|
8493
|
+
name?: string | undefined;
|
|
8494
|
+
mimeType?: string | undefined;
|
|
8495
|
+
siteId?: string | undefined;
|
|
8496
|
+
driveId?: string | undefined;
|
|
8497
|
+
itemId?: string | undefined;
|
|
8498
|
+
itemType?: string | undefined;
|
|
8499
|
+
webUrl?: string | undefined;
|
|
8500
|
+
sizeBytes?: number | undefined;
|
|
8501
|
+
drives?: {
|
|
8502
|
+
name?: string | undefined;
|
|
8503
|
+
driveId?: string | undefined;
|
|
8504
|
+
webUrl?: string | undefined;
|
|
8505
|
+
}[] | undefined;
|
|
8506
|
+
} | undefined;
|
|
8507
|
+
}>;
|
|
8508
|
+
export type microsoftGetSharepointItemOutputType = z.infer<typeof microsoftGetSharepointItemOutputSchema>;
|
|
8509
|
+
export type microsoftGetSharepointItemFunction = ActionFunction<microsoftGetSharepointItemParamsType, AuthParamsType, microsoftGetSharepointItemOutputType>;
|
|
8510
|
+
export declare const microsoftListSharepointFolderParamsSchema: z.ZodObject<{
|
|
8511
|
+
url: z.ZodOptional<z.ZodString>;
|
|
8512
|
+
driveItem: z.ZodOptional<z.ZodObject<{
|
|
8513
|
+
driveId: z.ZodString;
|
|
8514
|
+
itemId: z.ZodString;
|
|
8515
|
+
}, "strip", z.ZodTypeAny, {
|
|
8516
|
+
driveId: string;
|
|
8517
|
+
itemId: string;
|
|
8518
|
+
}, {
|
|
8519
|
+
driveId: string;
|
|
8520
|
+
itemId: string;
|
|
8521
|
+
}>>;
|
|
8522
|
+
recursive: z.ZodOptional<z.ZodBoolean>;
|
|
8523
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
8524
|
+
}, "strip", z.ZodTypeAny, {
|
|
8525
|
+
url?: string | undefined;
|
|
8526
|
+
driveItem?: {
|
|
8527
|
+
driveId: string;
|
|
8528
|
+
itemId: string;
|
|
8529
|
+
} | undefined;
|
|
8530
|
+
recursive?: boolean | undefined;
|
|
8531
|
+
maxItems?: number | undefined;
|
|
8532
|
+
}, {
|
|
8533
|
+
url?: string | undefined;
|
|
8534
|
+
driveItem?: {
|
|
8535
|
+
driveId: string;
|
|
8536
|
+
itemId: string;
|
|
8537
|
+
} | undefined;
|
|
8538
|
+
recursive?: boolean | undefined;
|
|
8539
|
+
maxItems?: number | undefined;
|
|
8540
|
+
}>;
|
|
8541
|
+
export type microsoftListSharepointFolderParamsType = z.infer<typeof microsoftListSharepointFolderParamsSchema>;
|
|
8542
|
+
export declare const microsoftListSharepointFolderOutputSchema: z.ZodObject<{
|
|
8543
|
+
success: z.ZodBoolean;
|
|
8544
|
+
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8545
|
+
itemId: z.ZodString;
|
|
8546
|
+
driveId: z.ZodOptional<z.ZodString>;
|
|
8547
|
+
name: z.ZodString;
|
|
8548
|
+
itemType: z.ZodString;
|
|
8549
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
8550
|
+
sizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
8551
|
+
webUrl: z.ZodOptional<z.ZodString>;
|
|
8552
|
+
lastModified: z.ZodOptional<z.ZodString>;
|
|
8553
|
+
}, "strip", z.ZodTypeAny, {
|
|
8554
|
+
name: string;
|
|
8555
|
+
itemId: string;
|
|
8556
|
+
itemType: string;
|
|
8557
|
+
mimeType?: string | undefined;
|
|
8558
|
+
driveId?: string | undefined;
|
|
8559
|
+
webUrl?: string | undefined;
|
|
8560
|
+
sizeBytes?: number | undefined;
|
|
8561
|
+
lastModified?: string | undefined;
|
|
8562
|
+
}, {
|
|
8563
|
+
name: string;
|
|
8564
|
+
itemId: string;
|
|
8565
|
+
itemType: string;
|
|
8566
|
+
mimeType?: string | undefined;
|
|
8567
|
+
driveId?: string | undefined;
|
|
8568
|
+
webUrl?: string | undefined;
|
|
8569
|
+
sizeBytes?: number | undefined;
|
|
8570
|
+
lastModified?: string | undefined;
|
|
8571
|
+
}>, "many">>;
|
|
8572
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
8573
|
+
error: z.ZodOptional<z.ZodString>;
|
|
8574
|
+
}, "strip", z.ZodTypeAny, {
|
|
8575
|
+
success: boolean;
|
|
8576
|
+
error?: string | undefined;
|
|
8577
|
+
items?: {
|
|
8578
|
+
name: string;
|
|
8579
|
+
itemId: string;
|
|
8580
|
+
itemType: string;
|
|
8581
|
+
mimeType?: string | undefined;
|
|
8582
|
+
driveId?: string | undefined;
|
|
8583
|
+
webUrl?: string | undefined;
|
|
8584
|
+
sizeBytes?: number | undefined;
|
|
8585
|
+
lastModified?: string | undefined;
|
|
8586
|
+
}[] | undefined;
|
|
8587
|
+
truncated?: boolean | undefined;
|
|
8588
|
+
}, {
|
|
8589
|
+
success: boolean;
|
|
8590
|
+
error?: string | undefined;
|
|
8591
|
+
items?: {
|
|
8592
|
+
name: string;
|
|
8593
|
+
itemId: string;
|
|
8594
|
+
itemType: string;
|
|
8595
|
+
mimeType?: string | undefined;
|
|
8596
|
+
driveId?: string | undefined;
|
|
8597
|
+
webUrl?: string | undefined;
|
|
8598
|
+
sizeBytes?: number | undefined;
|
|
8599
|
+
lastModified?: string | undefined;
|
|
8600
|
+
}[] | undefined;
|
|
8601
|
+
truncated?: boolean | undefined;
|
|
8602
|
+
}>;
|
|
8603
|
+
export type microsoftListSharepointFolderOutputType = z.infer<typeof microsoftListSharepointFolderOutputSchema>;
|
|
8604
|
+
export type microsoftListSharepointFolderFunction = ActionFunction<microsoftListSharepointFolderParamsType, AuthParamsType, microsoftListSharepointFolderOutputType>;
|
|
8605
|
+
export declare const microsoftReadSharepointContentParamsSchema: z.ZodObject<{
|
|
8606
|
+
url: z.ZodOptional<z.ZodString>;
|
|
8607
|
+
driveItem: z.ZodOptional<z.ZodObject<{
|
|
8608
|
+
driveId: z.ZodString;
|
|
8609
|
+
itemId: z.ZodString;
|
|
8610
|
+
}, "strip", z.ZodTypeAny, {
|
|
8611
|
+
driveId: string;
|
|
8612
|
+
itemId: string;
|
|
8613
|
+
}, {
|
|
8614
|
+
driveId: string;
|
|
8615
|
+
itemId: string;
|
|
8616
|
+
}>>;
|
|
8617
|
+
charLimit: z.ZodOptional<z.ZodNumber>;
|
|
8618
|
+
fileSizeLimit: z.ZodOptional<z.ZodNumber>;
|
|
8619
|
+
}, "strip", z.ZodTypeAny, {
|
|
8620
|
+
url?: string | undefined;
|
|
8621
|
+
fileSizeLimit?: number | undefined;
|
|
8622
|
+
driveItem?: {
|
|
8623
|
+
driveId: string;
|
|
8624
|
+
itemId: string;
|
|
8625
|
+
} | undefined;
|
|
8626
|
+
charLimit?: number | undefined;
|
|
8627
|
+
}, {
|
|
8628
|
+
url?: string | undefined;
|
|
8629
|
+
fileSizeLimit?: number | undefined;
|
|
8630
|
+
driveItem?: {
|
|
8631
|
+
driveId: string;
|
|
8632
|
+
itemId: string;
|
|
8633
|
+
} | undefined;
|
|
8634
|
+
charLimit?: number | undefined;
|
|
8635
|
+
}>;
|
|
8636
|
+
export type microsoftReadSharepointContentParamsType = z.infer<typeof microsoftReadSharepointContentParamsSchema>;
|
|
8637
|
+
export declare const microsoftReadSharepointContentOutputSchema: z.ZodObject<{
|
|
8638
|
+
success: z.ZodBoolean;
|
|
8639
|
+
results: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8640
|
+
name: z.ZodString;
|
|
8641
|
+
url: z.ZodString;
|
|
8642
|
+
contents: z.ZodObject<{
|
|
8643
|
+
content: z.ZodOptional<z.ZodString>;
|
|
8644
|
+
fileName: z.ZodOptional<z.ZodString>;
|
|
8645
|
+
fileLength: z.ZodOptional<z.ZodNumber>;
|
|
8646
|
+
}, "strip", z.ZodTypeAny, {
|
|
8647
|
+
content?: string | undefined;
|
|
8648
|
+
fileName?: string | undefined;
|
|
8649
|
+
fileLength?: number | undefined;
|
|
8650
|
+
}, {
|
|
8651
|
+
content?: string | undefined;
|
|
8652
|
+
fileName?: string | undefined;
|
|
8653
|
+
fileLength?: number | undefined;
|
|
8654
|
+
}>;
|
|
8655
|
+
}, "strip", z.ZodTypeAny, {
|
|
8656
|
+
name: string;
|
|
8657
|
+
url: string;
|
|
8658
|
+
contents: {
|
|
8659
|
+
content?: string | undefined;
|
|
8660
|
+
fileName?: string | undefined;
|
|
8661
|
+
fileLength?: number | undefined;
|
|
8662
|
+
};
|
|
8663
|
+
}, {
|
|
8664
|
+
name: string;
|
|
8665
|
+
url: string;
|
|
8666
|
+
contents: {
|
|
8667
|
+
content?: string | undefined;
|
|
8668
|
+
fileName?: string | undefined;
|
|
8669
|
+
fileLength?: number | undefined;
|
|
8670
|
+
};
|
|
8671
|
+
}>, "many">>;
|
|
8672
|
+
error: z.ZodOptional<z.ZodString>;
|
|
8673
|
+
}, "strip", z.ZodTypeAny, {
|
|
8674
|
+
success: boolean;
|
|
8675
|
+
error?: string | undefined;
|
|
8676
|
+
results?: {
|
|
8677
|
+
name: string;
|
|
8678
|
+
url: string;
|
|
8679
|
+
contents: {
|
|
8680
|
+
content?: string | undefined;
|
|
8681
|
+
fileName?: string | undefined;
|
|
8682
|
+
fileLength?: number | undefined;
|
|
8683
|
+
};
|
|
8684
|
+
}[] | undefined;
|
|
8685
|
+
}, {
|
|
8686
|
+
success: boolean;
|
|
8687
|
+
error?: string | undefined;
|
|
8688
|
+
results?: {
|
|
8689
|
+
name: string;
|
|
8690
|
+
url: string;
|
|
8691
|
+
contents: {
|
|
8692
|
+
content?: string | undefined;
|
|
8693
|
+
fileName?: string | undefined;
|
|
8694
|
+
fileLength?: number | undefined;
|
|
8695
|
+
};
|
|
8696
|
+
}[] | undefined;
|
|
8697
|
+
}>;
|
|
8698
|
+
export type microsoftReadSharepointContentOutputType = z.infer<typeof microsoftReadSharepointContentOutputSchema>;
|
|
8699
|
+
export type microsoftReadSharepointContentFunction = ActionFunction<microsoftReadSharepointContentParamsType, AuthParamsType, microsoftReadSharepointContentOutputType>;
|
|
8700
|
+
export declare const microsoftSearchSharepointParamsSchema: z.ZodObject<{
|
|
8701
|
+
query: z.ZodString;
|
|
8702
|
+
scopeUrl: z.ZodOptional<z.ZodString>;
|
|
8703
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
8704
|
+
}, "strip", z.ZodTypeAny, {
|
|
8705
|
+
query: string;
|
|
8706
|
+
limit?: number | undefined;
|
|
8707
|
+
scopeUrl?: string | undefined;
|
|
8708
|
+
}, {
|
|
8709
|
+
query: string;
|
|
8710
|
+
limit?: number | undefined;
|
|
8711
|
+
scopeUrl?: string | undefined;
|
|
8712
|
+
}>;
|
|
8713
|
+
export type microsoftSearchSharepointParamsType = z.infer<typeof microsoftSearchSharepointParamsSchema>;
|
|
8714
|
+
export declare const microsoftSearchSharepointOutputSchema: z.ZodObject<{
|
|
8715
|
+
success: z.ZodBoolean;
|
|
8716
|
+
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8717
|
+
itemId: z.ZodString;
|
|
8718
|
+
driveId: z.ZodOptional<z.ZodString>;
|
|
8719
|
+
name: z.ZodString;
|
|
8720
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
8721
|
+
webUrl: z.ZodOptional<z.ZodString>;
|
|
8722
|
+
snippet: z.ZodOptional<z.ZodString>;
|
|
8723
|
+
lastModified: z.ZodOptional<z.ZodString>;
|
|
8724
|
+
}, "strip", z.ZodTypeAny, {
|
|
8725
|
+
name: string;
|
|
8726
|
+
itemId: string;
|
|
8727
|
+
mimeType?: string | undefined;
|
|
8728
|
+
snippet?: string | undefined;
|
|
8729
|
+
driveId?: string | undefined;
|
|
8730
|
+
webUrl?: string | undefined;
|
|
8731
|
+
lastModified?: string | undefined;
|
|
8732
|
+
}, {
|
|
8733
|
+
name: string;
|
|
8734
|
+
itemId: string;
|
|
8735
|
+
mimeType?: string | undefined;
|
|
8736
|
+
snippet?: string | undefined;
|
|
8737
|
+
driveId?: string | undefined;
|
|
8738
|
+
webUrl?: string | undefined;
|
|
8739
|
+
lastModified?: string | undefined;
|
|
8740
|
+
}>, "many">>;
|
|
8741
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
8742
|
+
error: z.ZodOptional<z.ZodString>;
|
|
8743
|
+
}, "strip", z.ZodTypeAny, {
|
|
8744
|
+
success: boolean;
|
|
8745
|
+
error?: string | undefined;
|
|
8746
|
+
files?: {
|
|
8747
|
+
name: string;
|
|
8748
|
+
itemId: string;
|
|
8749
|
+
mimeType?: string | undefined;
|
|
8750
|
+
snippet?: string | undefined;
|
|
8751
|
+
driveId?: string | undefined;
|
|
8752
|
+
webUrl?: string | undefined;
|
|
8753
|
+
lastModified?: string | undefined;
|
|
8754
|
+
}[] | undefined;
|
|
8755
|
+
truncated?: boolean | undefined;
|
|
8756
|
+
}, {
|
|
8757
|
+
success: boolean;
|
|
8758
|
+
error?: string | undefined;
|
|
8759
|
+
files?: {
|
|
8760
|
+
name: string;
|
|
8761
|
+
itemId: string;
|
|
8762
|
+
mimeType?: string | undefined;
|
|
8763
|
+
snippet?: string | undefined;
|
|
8764
|
+
driveId?: string | undefined;
|
|
8765
|
+
webUrl?: string | undefined;
|
|
8766
|
+
lastModified?: string | undefined;
|
|
8767
|
+
}[] | undefined;
|
|
8768
|
+
truncated?: boolean | undefined;
|
|
8769
|
+
}>;
|
|
8770
|
+
export type microsoftSearchSharepointOutputType = z.infer<typeof microsoftSearchSharepointOutputSchema>;
|
|
8771
|
+
export type microsoftSearchSharepointFunction = ActionFunction<microsoftSearchSharepointParamsType, AuthParamsType, microsoftSearchSharepointOutputType>;
|
|
8399
8772
|
export declare const githubCreateOrUpdateFileParamsSchema: z.ZodObject<{
|
|
8400
8773
|
repositoryOwner: z.ZodString;
|
|
8401
8774
|
repositoryName: z.ZodString;
|
|
@@ -12392,3 +12765,522 @@ export declare const smartsheetUpdateRowOutputSchema: z.ZodObject<{
|
|
|
12392
12765
|
}>;
|
|
12393
12766
|
export type smartsheetUpdateRowOutputType = z.infer<typeof smartsheetUpdateRowOutputSchema>;
|
|
12394
12767
|
export type smartsheetUpdateRowFunction = ActionFunction<smartsheetUpdateRowParamsType, AuthParamsType, smartsheetUpdateRowOutputType>;
|
|
12768
|
+
export declare const servicenowGetRecordsByQueryParamsSchema: z.ZodObject<{
|
|
12769
|
+
tableName: z.ZodString;
|
|
12770
|
+
query: z.ZodOptional<z.ZodString>;
|
|
12771
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12772
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
12773
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
12774
|
+
includeDisplayValues: z.ZodOptional<z.ZodBoolean>;
|
|
12775
|
+
}, "strip", z.ZodTypeAny, {
|
|
12776
|
+
tableName: string;
|
|
12777
|
+
query?: string | undefined;
|
|
12778
|
+
limit?: number | undefined;
|
|
12779
|
+
fields?: string[] | undefined;
|
|
12780
|
+
offset?: number | undefined;
|
|
12781
|
+
includeDisplayValues?: boolean | undefined;
|
|
12782
|
+
}, {
|
|
12783
|
+
tableName: string;
|
|
12784
|
+
query?: string | undefined;
|
|
12785
|
+
limit?: number | undefined;
|
|
12786
|
+
fields?: string[] | undefined;
|
|
12787
|
+
offset?: number | undefined;
|
|
12788
|
+
includeDisplayValues?: boolean | undefined;
|
|
12789
|
+
}>;
|
|
12790
|
+
export type servicenowGetRecordsByQueryParamsType = z.infer<typeof servicenowGetRecordsByQueryParamsSchema>;
|
|
12791
|
+
export declare const servicenowGetRecordsByQueryOutputSchema: z.ZodObject<{
|
|
12792
|
+
success: z.ZodBoolean;
|
|
12793
|
+
records: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "many">>;
|
|
12794
|
+
error: z.ZodOptional<z.ZodString>;
|
|
12795
|
+
}, "strip", z.ZodTypeAny, {
|
|
12796
|
+
success: boolean;
|
|
12797
|
+
error?: string | undefined;
|
|
12798
|
+
records?: z.objectOutputType<{}, z.ZodAny, "strip">[] | undefined;
|
|
12799
|
+
}, {
|
|
12800
|
+
success: boolean;
|
|
12801
|
+
error?: string | undefined;
|
|
12802
|
+
records?: z.objectInputType<{}, z.ZodAny, "strip">[] | undefined;
|
|
12803
|
+
}>;
|
|
12804
|
+
export type servicenowGetRecordsByQueryOutputType = z.infer<typeof servicenowGetRecordsByQueryOutputSchema>;
|
|
12805
|
+
export type servicenowGetRecordsByQueryFunction = ActionFunction<servicenowGetRecordsByQueryParamsType, AuthParamsType, servicenowGetRecordsByQueryOutputType>;
|
|
12806
|
+
export declare const servicenowGetIncidentsParamsSchema: z.ZodObject<{
|
|
12807
|
+
query: z.ZodOptional<z.ZodString>;
|
|
12808
|
+
additionalFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12809
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
12810
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
12811
|
+
}, "strip", z.ZodTypeAny, {
|
|
12812
|
+
query?: string | undefined;
|
|
12813
|
+
limit?: number | undefined;
|
|
12814
|
+
offset?: number | undefined;
|
|
12815
|
+
additionalFields?: string[] | undefined;
|
|
12816
|
+
}, {
|
|
12817
|
+
query?: string | undefined;
|
|
12818
|
+
limit?: number | undefined;
|
|
12819
|
+
offset?: number | undefined;
|
|
12820
|
+
additionalFields?: string[] | undefined;
|
|
12821
|
+
}>;
|
|
12822
|
+
export type servicenowGetIncidentsParamsType = z.infer<typeof servicenowGetIncidentsParamsSchema>;
|
|
12823
|
+
export declare const servicenowGetIncidentsOutputSchema: z.ZodObject<{
|
|
12824
|
+
success: z.ZodBoolean;
|
|
12825
|
+
records: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12826
|
+
number: z.ZodOptional<z.ZodString>;
|
|
12827
|
+
caller: z.ZodOptional<z.ZodString>;
|
|
12828
|
+
assignee: z.ZodOptional<z.ZodString>;
|
|
12829
|
+
assignmentGroup: z.ZodOptional<z.ZodString>;
|
|
12830
|
+
shortDescription: z.ZodOptional<z.ZodString>;
|
|
12831
|
+
description: z.ZodOptional<z.ZodString>;
|
|
12832
|
+
state: z.ZodOptional<z.ZodString>;
|
|
12833
|
+
incidentState: z.ZodOptional<z.ZodString>;
|
|
12834
|
+
priority: z.ZodOptional<z.ZodString>;
|
|
12835
|
+
impact: z.ZodOptional<z.ZodString>;
|
|
12836
|
+
urgency: z.ZodOptional<z.ZodString>;
|
|
12837
|
+
openedAt: z.ZodOptional<z.ZodString>;
|
|
12838
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
12839
|
+
closedAt: z.ZodOptional<z.ZodString>;
|
|
12840
|
+
workNotes: z.ZodOptional<z.ZodString>;
|
|
12841
|
+
comments: z.ZodOptional<z.ZodString>;
|
|
12842
|
+
timeToClosureMinutes: z.ZodOptional<z.ZodNumber>;
|
|
12843
|
+
extraFields: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>>;
|
|
12844
|
+
}, "strip", z.ZodTypeAny, {
|
|
12845
|
+
number?: string | undefined;
|
|
12846
|
+
description?: string | undefined;
|
|
12847
|
+
assignee?: string | undefined;
|
|
12848
|
+
comments?: string | undefined;
|
|
12849
|
+
priority?: string | undefined;
|
|
12850
|
+
state?: string | undefined;
|
|
12851
|
+
updatedAt?: string | undefined;
|
|
12852
|
+
closedAt?: string | undefined;
|
|
12853
|
+
caller?: string | undefined;
|
|
12854
|
+
assignmentGroup?: string | undefined;
|
|
12855
|
+
shortDescription?: string | undefined;
|
|
12856
|
+
incidentState?: string | undefined;
|
|
12857
|
+
impact?: string | undefined;
|
|
12858
|
+
urgency?: string | undefined;
|
|
12859
|
+
openedAt?: string | undefined;
|
|
12860
|
+
workNotes?: string | undefined;
|
|
12861
|
+
timeToClosureMinutes?: number | undefined;
|
|
12862
|
+
extraFields?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
|
|
12863
|
+
}, {
|
|
12864
|
+
number?: string | undefined;
|
|
12865
|
+
description?: string | undefined;
|
|
12866
|
+
assignee?: string | undefined;
|
|
12867
|
+
comments?: string | undefined;
|
|
12868
|
+
priority?: string | undefined;
|
|
12869
|
+
state?: string | undefined;
|
|
12870
|
+
updatedAt?: string | undefined;
|
|
12871
|
+
closedAt?: string | undefined;
|
|
12872
|
+
caller?: string | undefined;
|
|
12873
|
+
assignmentGroup?: string | undefined;
|
|
12874
|
+
shortDescription?: string | undefined;
|
|
12875
|
+
incidentState?: string | undefined;
|
|
12876
|
+
impact?: string | undefined;
|
|
12877
|
+
urgency?: string | undefined;
|
|
12878
|
+
openedAt?: string | undefined;
|
|
12879
|
+
workNotes?: string | undefined;
|
|
12880
|
+
timeToClosureMinutes?: number | undefined;
|
|
12881
|
+
extraFields?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
|
|
12882
|
+
}>, "many">>;
|
|
12883
|
+
error: z.ZodOptional<z.ZodString>;
|
|
12884
|
+
}, "strip", z.ZodTypeAny, {
|
|
12885
|
+
success: boolean;
|
|
12886
|
+
error?: string | undefined;
|
|
12887
|
+
records?: {
|
|
12888
|
+
number?: string | undefined;
|
|
12889
|
+
description?: string | undefined;
|
|
12890
|
+
assignee?: string | undefined;
|
|
12891
|
+
comments?: string | undefined;
|
|
12892
|
+
priority?: string | undefined;
|
|
12893
|
+
state?: string | undefined;
|
|
12894
|
+
updatedAt?: string | undefined;
|
|
12895
|
+
closedAt?: string | undefined;
|
|
12896
|
+
caller?: string | undefined;
|
|
12897
|
+
assignmentGroup?: string | undefined;
|
|
12898
|
+
shortDescription?: string | undefined;
|
|
12899
|
+
incidentState?: string | undefined;
|
|
12900
|
+
impact?: string | undefined;
|
|
12901
|
+
urgency?: string | undefined;
|
|
12902
|
+
openedAt?: string | undefined;
|
|
12903
|
+
workNotes?: string | undefined;
|
|
12904
|
+
timeToClosureMinutes?: number | undefined;
|
|
12905
|
+
extraFields?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
|
|
12906
|
+
}[] | undefined;
|
|
12907
|
+
}, {
|
|
12908
|
+
success: boolean;
|
|
12909
|
+
error?: string | undefined;
|
|
12910
|
+
records?: {
|
|
12911
|
+
number?: string | undefined;
|
|
12912
|
+
description?: string | undefined;
|
|
12913
|
+
assignee?: string | undefined;
|
|
12914
|
+
comments?: string | undefined;
|
|
12915
|
+
priority?: string | undefined;
|
|
12916
|
+
state?: string | undefined;
|
|
12917
|
+
updatedAt?: string | undefined;
|
|
12918
|
+
closedAt?: string | undefined;
|
|
12919
|
+
caller?: string | undefined;
|
|
12920
|
+
assignmentGroup?: string | undefined;
|
|
12921
|
+
shortDescription?: string | undefined;
|
|
12922
|
+
incidentState?: string | undefined;
|
|
12923
|
+
impact?: string | undefined;
|
|
12924
|
+
urgency?: string | undefined;
|
|
12925
|
+
openedAt?: string | undefined;
|
|
12926
|
+
workNotes?: string | undefined;
|
|
12927
|
+
timeToClosureMinutes?: number | undefined;
|
|
12928
|
+
extraFields?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
|
|
12929
|
+
}[] | undefined;
|
|
12930
|
+
}>;
|
|
12931
|
+
export type servicenowGetIncidentsOutputType = z.infer<typeof servicenowGetIncidentsOutputSchema>;
|
|
12932
|
+
export type servicenowGetIncidentsFunction = ActionFunction<servicenowGetIncidentsParamsType, AuthParamsType, servicenowGetIncidentsOutputType>;
|
|
12933
|
+
export declare const servicenowGetChangeRequestsParamsSchema: z.ZodObject<{
|
|
12934
|
+
query: z.ZodOptional<z.ZodString>;
|
|
12935
|
+
additionalFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12936
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
12937
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
12938
|
+
}, "strip", z.ZodTypeAny, {
|
|
12939
|
+
query?: string | undefined;
|
|
12940
|
+
limit?: number | undefined;
|
|
12941
|
+
offset?: number | undefined;
|
|
12942
|
+
additionalFields?: string[] | undefined;
|
|
12943
|
+
}, {
|
|
12944
|
+
query?: string | undefined;
|
|
12945
|
+
limit?: number | undefined;
|
|
12946
|
+
offset?: number | undefined;
|
|
12947
|
+
additionalFields?: string[] | undefined;
|
|
12948
|
+
}>;
|
|
12949
|
+
export type servicenowGetChangeRequestsParamsType = z.infer<typeof servicenowGetChangeRequestsParamsSchema>;
|
|
12950
|
+
export declare const servicenowGetChangeRequestsOutputSchema: z.ZodObject<{
|
|
12951
|
+
success: z.ZodBoolean;
|
|
12952
|
+
records: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12953
|
+
number: z.ZodOptional<z.ZodString>;
|
|
12954
|
+
requestor: z.ZodOptional<z.ZodString>;
|
|
12955
|
+
assignee: z.ZodOptional<z.ZodString>;
|
|
12956
|
+
assignmentGroup: z.ZodOptional<z.ZodString>;
|
|
12957
|
+
shortDescription: z.ZodOptional<z.ZodString>;
|
|
12958
|
+
description: z.ZodOptional<z.ZodString>;
|
|
12959
|
+
state: z.ZodOptional<z.ZodString>;
|
|
12960
|
+
priority: z.ZodOptional<z.ZodString>;
|
|
12961
|
+
impact: z.ZodOptional<z.ZodString>;
|
|
12962
|
+
urgency: z.ZodOptional<z.ZodString>;
|
|
12963
|
+
openedAt: z.ZodOptional<z.ZodString>;
|
|
12964
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
12965
|
+
closedAt: z.ZodOptional<z.ZodString>;
|
|
12966
|
+
workNotes: z.ZodOptional<z.ZodString>;
|
|
12967
|
+
comments: z.ZodOptional<z.ZodString>;
|
|
12968
|
+
timeToClosureMinutes: z.ZodOptional<z.ZodNumber>;
|
|
12969
|
+
extraFields: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>>;
|
|
12970
|
+
}, "strip", z.ZodTypeAny, {
|
|
12971
|
+
number?: string | undefined;
|
|
12972
|
+
description?: string | undefined;
|
|
12973
|
+
assignee?: string | undefined;
|
|
12974
|
+
comments?: string | undefined;
|
|
12975
|
+
priority?: string | undefined;
|
|
12976
|
+
state?: string | undefined;
|
|
12977
|
+
updatedAt?: string | undefined;
|
|
12978
|
+
closedAt?: string | undefined;
|
|
12979
|
+
assignmentGroup?: string | undefined;
|
|
12980
|
+
shortDescription?: string | undefined;
|
|
12981
|
+
impact?: string | undefined;
|
|
12982
|
+
urgency?: string | undefined;
|
|
12983
|
+
openedAt?: string | undefined;
|
|
12984
|
+
workNotes?: string | undefined;
|
|
12985
|
+
timeToClosureMinutes?: number | undefined;
|
|
12986
|
+
extraFields?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
|
|
12987
|
+
requestor?: string | undefined;
|
|
12988
|
+
}, {
|
|
12989
|
+
number?: string | undefined;
|
|
12990
|
+
description?: string | undefined;
|
|
12991
|
+
assignee?: string | undefined;
|
|
12992
|
+
comments?: string | undefined;
|
|
12993
|
+
priority?: string | undefined;
|
|
12994
|
+
state?: string | undefined;
|
|
12995
|
+
updatedAt?: string | undefined;
|
|
12996
|
+
closedAt?: string | undefined;
|
|
12997
|
+
assignmentGroup?: string | undefined;
|
|
12998
|
+
shortDescription?: string | undefined;
|
|
12999
|
+
impact?: string | undefined;
|
|
13000
|
+
urgency?: string | undefined;
|
|
13001
|
+
openedAt?: string | undefined;
|
|
13002
|
+
workNotes?: string | undefined;
|
|
13003
|
+
timeToClosureMinutes?: number | undefined;
|
|
13004
|
+
extraFields?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
|
|
13005
|
+
requestor?: string | undefined;
|
|
13006
|
+
}>, "many">>;
|
|
13007
|
+
error: z.ZodOptional<z.ZodString>;
|
|
13008
|
+
}, "strip", z.ZodTypeAny, {
|
|
13009
|
+
success: boolean;
|
|
13010
|
+
error?: string | undefined;
|
|
13011
|
+
records?: {
|
|
13012
|
+
number?: string | undefined;
|
|
13013
|
+
description?: string | undefined;
|
|
13014
|
+
assignee?: string | undefined;
|
|
13015
|
+
comments?: string | undefined;
|
|
13016
|
+
priority?: string | undefined;
|
|
13017
|
+
state?: string | undefined;
|
|
13018
|
+
updatedAt?: string | undefined;
|
|
13019
|
+
closedAt?: string | undefined;
|
|
13020
|
+
assignmentGroup?: string | undefined;
|
|
13021
|
+
shortDescription?: string | undefined;
|
|
13022
|
+
impact?: string | undefined;
|
|
13023
|
+
urgency?: string | undefined;
|
|
13024
|
+
openedAt?: string | undefined;
|
|
13025
|
+
workNotes?: string | undefined;
|
|
13026
|
+
timeToClosureMinutes?: number | undefined;
|
|
13027
|
+
extraFields?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
|
|
13028
|
+
requestor?: string | undefined;
|
|
13029
|
+
}[] | undefined;
|
|
13030
|
+
}, {
|
|
13031
|
+
success: boolean;
|
|
13032
|
+
error?: string | undefined;
|
|
13033
|
+
records?: {
|
|
13034
|
+
number?: string | undefined;
|
|
13035
|
+
description?: string | undefined;
|
|
13036
|
+
assignee?: string | undefined;
|
|
13037
|
+
comments?: string | undefined;
|
|
13038
|
+
priority?: string | undefined;
|
|
13039
|
+
state?: string | undefined;
|
|
13040
|
+
updatedAt?: string | undefined;
|
|
13041
|
+
closedAt?: string | undefined;
|
|
13042
|
+
assignmentGroup?: string | undefined;
|
|
13043
|
+
shortDescription?: string | undefined;
|
|
13044
|
+
impact?: string | undefined;
|
|
13045
|
+
urgency?: string | undefined;
|
|
13046
|
+
openedAt?: string | undefined;
|
|
13047
|
+
workNotes?: string | undefined;
|
|
13048
|
+
timeToClosureMinutes?: number | undefined;
|
|
13049
|
+
extraFields?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
|
|
13050
|
+
requestor?: string | undefined;
|
|
13051
|
+
}[] | undefined;
|
|
13052
|
+
}>;
|
|
13053
|
+
export type servicenowGetChangeRequestsOutputType = z.infer<typeof servicenowGetChangeRequestsOutputSchema>;
|
|
13054
|
+
export type servicenowGetChangeRequestsFunction = ActionFunction<servicenowGetChangeRequestsParamsType, AuthParamsType, servicenowGetChangeRequestsOutputType>;
|
|
13055
|
+
export declare const servicenowGetSCTasksParamsSchema: z.ZodObject<{
|
|
13056
|
+
query: z.ZodOptional<z.ZodString>;
|
|
13057
|
+
additionalFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
13058
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
13059
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
13060
|
+
}, "strip", z.ZodTypeAny, {
|
|
13061
|
+
query?: string | undefined;
|
|
13062
|
+
limit?: number | undefined;
|
|
13063
|
+
offset?: number | undefined;
|
|
13064
|
+
additionalFields?: string[] | undefined;
|
|
13065
|
+
}, {
|
|
13066
|
+
query?: string | undefined;
|
|
13067
|
+
limit?: number | undefined;
|
|
13068
|
+
offset?: number | undefined;
|
|
13069
|
+
additionalFields?: string[] | undefined;
|
|
13070
|
+
}>;
|
|
13071
|
+
export type servicenowGetSCTasksParamsType = z.infer<typeof servicenowGetSCTasksParamsSchema>;
|
|
13072
|
+
export declare const servicenowGetSCTasksOutputSchema: z.ZodObject<{
|
|
13073
|
+
success: z.ZodBoolean;
|
|
13074
|
+
records: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13075
|
+
number: z.ZodOptional<z.ZodString>;
|
|
13076
|
+
ritmNumber: z.ZodOptional<z.ZodString>;
|
|
13077
|
+
assignee: z.ZodOptional<z.ZodString>;
|
|
13078
|
+
assignmentGroup: z.ZodOptional<z.ZodString>;
|
|
13079
|
+
shortDescription: z.ZodOptional<z.ZodString>;
|
|
13080
|
+
description: z.ZodOptional<z.ZodString>;
|
|
13081
|
+
state: z.ZodOptional<z.ZodString>;
|
|
13082
|
+
priority: z.ZodOptional<z.ZodString>;
|
|
13083
|
+
openedAt: z.ZodOptional<z.ZodString>;
|
|
13084
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
13085
|
+
closedAt: z.ZodOptional<z.ZodString>;
|
|
13086
|
+
workNotes: z.ZodOptional<z.ZodString>;
|
|
13087
|
+
comments: z.ZodOptional<z.ZodString>;
|
|
13088
|
+
timeToClosureMinutes: z.ZodOptional<z.ZodNumber>;
|
|
13089
|
+
extraFields: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>>;
|
|
13090
|
+
}, "strip", z.ZodTypeAny, {
|
|
13091
|
+
number?: string | undefined;
|
|
13092
|
+
description?: string | undefined;
|
|
13093
|
+
assignee?: string | undefined;
|
|
13094
|
+
comments?: string | undefined;
|
|
13095
|
+
priority?: string | undefined;
|
|
13096
|
+
state?: string | undefined;
|
|
13097
|
+
updatedAt?: string | undefined;
|
|
13098
|
+
closedAt?: string | undefined;
|
|
13099
|
+
assignmentGroup?: string | undefined;
|
|
13100
|
+
shortDescription?: string | undefined;
|
|
13101
|
+
openedAt?: string | undefined;
|
|
13102
|
+
workNotes?: string | undefined;
|
|
13103
|
+
timeToClosureMinutes?: number | undefined;
|
|
13104
|
+
extraFields?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
|
|
13105
|
+
ritmNumber?: string | undefined;
|
|
13106
|
+
}, {
|
|
13107
|
+
number?: string | undefined;
|
|
13108
|
+
description?: string | undefined;
|
|
13109
|
+
assignee?: string | undefined;
|
|
13110
|
+
comments?: string | undefined;
|
|
13111
|
+
priority?: string | undefined;
|
|
13112
|
+
state?: string | undefined;
|
|
13113
|
+
updatedAt?: string | undefined;
|
|
13114
|
+
closedAt?: string | undefined;
|
|
13115
|
+
assignmentGroup?: string | undefined;
|
|
13116
|
+
shortDescription?: string | undefined;
|
|
13117
|
+
openedAt?: string | undefined;
|
|
13118
|
+
workNotes?: string | undefined;
|
|
13119
|
+
timeToClosureMinutes?: number | undefined;
|
|
13120
|
+
extraFields?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
|
|
13121
|
+
ritmNumber?: string | undefined;
|
|
13122
|
+
}>, "many">>;
|
|
13123
|
+
error: z.ZodOptional<z.ZodString>;
|
|
13124
|
+
}, "strip", z.ZodTypeAny, {
|
|
13125
|
+
success: boolean;
|
|
13126
|
+
error?: string | undefined;
|
|
13127
|
+
records?: {
|
|
13128
|
+
number?: string | undefined;
|
|
13129
|
+
description?: string | undefined;
|
|
13130
|
+
assignee?: string | undefined;
|
|
13131
|
+
comments?: string | undefined;
|
|
13132
|
+
priority?: string | undefined;
|
|
13133
|
+
state?: string | undefined;
|
|
13134
|
+
updatedAt?: string | undefined;
|
|
13135
|
+
closedAt?: string | undefined;
|
|
13136
|
+
assignmentGroup?: string | undefined;
|
|
13137
|
+
shortDescription?: string | undefined;
|
|
13138
|
+
openedAt?: string | undefined;
|
|
13139
|
+
workNotes?: string | undefined;
|
|
13140
|
+
timeToClosureMinutes?: number | undefined;
|
|
13141
|
+
extraFields?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
|
|
13142
|
+
ritmNumber?: string | undefined;
|
|
13143
|
+
}[] | undefined;
|
|
13144
|
+
}, {
|
|
13145
|
+
success: boolean;
|
|
13146
|
+
error?: string | undefined;
|
|
13147
|
+
records?: {
|
|
13148
|
+
number?: string | undefined;
|
|
13149
|
+
description?: string | undefined;
|
|
13150
|
+
assignee?: string | undefined;
|
|
13151
|
+
comments?: string | undefined;
|
|
13152
|
+
priority?: string | undefined;
|
|
13153
|
+
state?: string | undefined;
|
|
13154
|
+
updatedAt?: string | undefined;
|
|
13155
|
+
closedAt?: string | undefined;
|
|
13156
|
+
assignmentGroup?: string | undefined;
|
|
13157
|
+
shortDescription?: string | undefined;
|
|
13158
|
+
openedAt?: string | undefined;
|
|
13159
|
+
workNotes?: string | undefined;
|
|
13160
|
+
timeToClosureMinutes?: number | undefined;
|
|
13161
|
+
extraFields?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
|
|
13162
|
+
ritmNumber?: string | undefined;
|
|
13163
|
+
}[] | undefined;
|
|
13164
|
+
}>;
|
|
13165
|
+
export type servicenowGetSCTasksOutputType = z.infer<typeof servicenowGetSCTasksOutputSchema>;
|
|
13166
|
+
export type servicenowGetSCTasksFunction = ActionFunction<servicenowGetSCTasksParamsType, AuthParamsType, servicenowGetSCTasksOutputType>;
|
|
13167
|
+
export declare const servicenowGetVIPTicketsParamsSchema: z.ZodObject<{
|
|
13168
|
+
ticketType: z.ZodEnum<["incident", "sc_task"]>;
|
|
13169
|
+
query: z.ZodOptional<z.ZodString>;
|
|
13170
|
+
additionalFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
13171
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
13172
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
13173
|
+
}, "strip", z.ZodTypeAny, {
|
|
13174
|
+
ticketType: "incident" | "sc_task";
|
|
13175
|
+
query?: string | undefined;
|
|
13176
|
+
limit?: number | undefined;
|
|
13177
|
+
offset?: number | undefined;
|
|
13178
|
+
additionalFields?: string[] | undefined;
|
|
13179
|
+
}, {
|
|
13180
|
+
ticketType: "incident" | "sc_task";
|
|
13181
|
+
query?: string | undefined;
|
|
13182
|
+
limit?: number | undefined;
|
|
13183
|
+
offset?: number | undefined;
|
|
13184
|
+
additionalFields?: string[] | undefined;
|
|
13185
|
+
}>;
|
|
13186
|
+
export type servicenowGetVIPTicketsParamsType = z.infer<typeof servicenowGetVIPTicketsParamsSchema>;
|
|
13187
|
+
export declare const servicenowGetVIPTicketsOutputSchema: z.ZodObject<{
|
|
13188
|
+
success: z.ZodBoolean;
|
|
13189
|
+
records: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13190
|
+
ticketType: z.ZodOptional<z.ZodString>;
|
|
13191
|
+
number: z.ZodOptional<z.ZodString>;
|
|
13192
|
+
ritmNumber: z.ZodOptional<z.ZodString>;
|
|
13193
|
+
vipUser: z.ZodOptional<z.ZodString>;
|
|
13194
|
+
assignee: z.ZodOptional<z.ZodString>;
|
|
13195
|
+
assignmentGroup: z.ZodOptional<z.ZodString>;
|
|
13196
|
+
shortDescription: z.ZodOptional<z.ZodString>;
|
|
13197
|
+
description: z.ZodOptional<z.ZodString>;
|
|
13198
|
+
state: z.ZodOptional<z.ZodString>;
|
|
13199
|
+
openedAt: z.ZodOptional<z.ZodString>;
|
|
13200
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
13201
|
+
closedAt: z.ZodOptional<z.ZodString>;
|
|
13202
|
+
workNotes: z.ZodOptional<z.ZodString>;
|
|
13203
|
+
comments: z.ZodOptional<z.ZodString>;
|
|
13204
|
+
timeToClosureMinutes: z.ZodOptional<z.ZodNumber>;
|
|
13205
|
+
extraFields: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>>;
|
|
13206
|
+
}, "strip", z.ZodTypeAny, {
|
|
13207
|
+
number?: string | undefined;
|
|
13208
|
+
description?: string | undefined;
|
|
13209
|
+
assignee?: string | undefined;
|
|
13210
|
+
comments?: string | undefined;
|
|
13211
|
+
state?: string | undefined;
|
|
13212
|
+
ticketType?: string | undefined;
|
|
13213
|
+
updatedAt?: string | undefined;
|
|
13214
|
+
closedAt?: string | undefined;
|
|
13215
|
+
assignmentGroup?: string | undefined;
|
|
13216
|
+
shortDescription?: string | undefined;
|
|
13217
|
+
openedAt?: string | undefined;
|
|
13218
|
+
workNotes?: string | undefined;
|
|
13219
|
+
timeToClosureMinutes?: number | undefined;
|
|
13220
|
+
extraFields?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
|
|
13221
|
+
ritmNumber?: string | undefined;
|
|
13222
|
+
vipUser?: string | undefined;
|
|
13223
|
+
}, {
|
|
13224
|
+
number?: string | undefined;
|
|
13225
|
+
description?: string | undefined;
|
|
13226
|
+
assignee?: string | undefined;
|
|
13227
|
+
comments?: string | undefined;
|
|
13228
|
+
state?: string | undefined;
|
|
13229
|
+
ticketType?: string | undefined;
|
|
13230
|
+
updatedAt?: string | undefined;
|
|
13231
|
+
closedAt?: string | undefined;
|
|
13232
|
+
assignmentGroup?: string | undefined;
|
|
13233
|
+
shortDescription?: string | undefined;
|
|
13234
|
+
openedAt?: string | undefined;
|
|
13235
|
+
workNotes?: string | undefined;
|
|
13236
|
+
timeToClosureMinutes?: number | undefined;
|
|
13237
|
+
extraFields?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
|
|
13238
|
+
ritmNumber?: string | undefined;
|
|
13239
|
+
vipUser?: string | undefined;
|
|
13240
|
+
}>, "many">>;
|
|
13241
|
+
error: z.ZodOptional<z.ZodString>;
|
|
13242
|
+
}, "strip", z.ZodTypeAny, {
|
|
13243
|
+
success: boolean;
|
|
13244
|
+
error?: string | undefined;
|
|
13245
|
+
records?: {
|
|
13246
|
+
number?: string | undefined;
|
|
13247
|
+
description?: string | undefined;
|
|
13248
|
+
assignee?: string | undefined;
|
|
13249
|
+
comments?: string | undefined;
|
|
13250
|
+
state?: string | undefined;
|
|
13251
|
+
ticketType?: string | undefined;
|
|
13252
|
+
updatedAt?: string | undefined;
|
|
13253
|
+
closedAt?: string | undefined;
|
|
13254
|
+
assignmentGroup?: string | undefined;
|
|
13255
|
+
shortDescription?: string | undefined;
|
|
13256
|
+
openedAt?: string | undefined;
|
|
13257
|
+
workNotes?: string | undefined;
|
|
13258
|
+
timeToClosureMinutes?: number | undefined;
|
|
13259
|
+
extraFields?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
|
|
13260
|
+
ritmNumber?: string | undefined;
|
|
13261
|
+
vipUser?: string | undefined;
|
|
13262
|
+
}[] | undefined;
|
|
13263
|
+
}, {
|
|
13264
|
+
success: boolean;
|
|
13265
|
+
error?: string | undefined;
|
|
13266
|
+
records?: {
|
|
13267
|
+
number?: string | undefined;
|
|
13268
|
+
description?: string | undefined;
|
|
13269
|
+
assignee?: string | undefined;
|
|
13270
|
+
comments?: string | undefined;
|
|
13271
|
+
state?: string | undefined;
|
|
13272
|
+
ticketType?: string | undefined;
|
|
13273
|
+
updatedAt?: string | undefined;
|
|
13274
|
+
closedAt?: string | undefined;
|
|
13275
|
+
assignmentGroup?: string | undefined;
|
|
13276
|
+
shortDescription?: string | undefined;
|
|
13277
|
+
openedAt?: string | undefined;
|
|
13278
|
+
workNotes?: string | undefined;
|
|
13279
|
+
timeToClosureMinutes?: number | undefined;
|
|
13280
|
+
extraFields?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
|
|
13281
|
+
ritmNumber?: string | undefined;
|
|
13282
|
+
vipUser?: string | undefined;
|
|
13283
|
+
}[] | undefined;
|
|
13284
|
+
}>;
|
|
13285
|
+
export type servicenowGetVIPTicketsOutputType = z.infer<typeof servicenowGetVIPTicketsOutputSchema>;
|
|
13286
|
+
export type servicenowGetVIPTicketsFunction = ActionFunction<servicenowGetVIPTicketsParamsType, AuthParamsType, servicenowGetVIPTicketsOutputType>;
|