@credal/actions 0.2.221 → 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.
@@ -6616,6 +6616,11 @@ export const googleOauthScheduleCalendarMeetingDefinition = {
6616
6616
  type: "string",
6617
6617
  description: "The time zone for the meeting, IANA Time Zone identifier (e.g., 'America/New_York')",
6618
6618
  },
6619
+ transparency: {
6620
+ type: "string",
6621
+ enum: ["opaque", "transparent"],
6622
+ description: 'Opaque is the default value, and it blocks time on the calendar. This is equivalent to setting "Show me as" to "Busy" in the UI. Transparent means the event does not block time on the calendar. This is equivalent to setting "Show me as" to "Available" in the UI.',
6623
+ },
6619
6624
  recurrence: {
6620
6625
  type: "object",
6621
6626
  description: "Recurring meeting configuration. If not provided, creates a one-time meeting.",
@@ -6994,6 +6999,11 @@ export const googleOauthUpdateCalendarEventDefinition = {
6994
6999
  type: "string",
6995
7000
  description: "The time zone for the event, IANA Time Zone identifier (e.g., 'America/New_York')",
6996
7001
  },
7002
+ transparency: {
7003
+ type: "string",
7004
+ enum: ["opaque", "transparent"],
7005
+ description: 'Opaque is the default value, and it blocks time on the calendar. This is equivalent to setting "Show me as" to "Busy" in the UI. Transparent means the event does not block time on the calendar.',
7006
+ },
6997
7007
  },
6998
7008
  },
6999
7009
  },
@@ -7091,6 +7101,11 @@ export const googleOauthEditAGoogleCalendarEventDefinition = {
7091
7101
  type: "string",
7092
7102
  description: "The time zone for the event, IANA Time Zone identifier (e.g., 'America/New_York')",
7093
7103
  },
7104
+ transparency: {
7105
+ type: "string",
7106
+ enum: ["opaque", "transparent"],
7107
+ description: 'Opaque is the default value, and it blocks time on the calendar. This is equivalent to setting "Show me as" to "Busy" in the UI. Transparent means the event does not block time on the calendar.',
7108
+ },
7094
7109
  },
7095
7110
  },
7096
7111
  output: {
@@ -15527,3 +15542,558 @@ export const smartsheetUpdateRowDefinition = {
15527
15542
  name: "updateRow",
15528
15543
  provider: "smartsheet",
15529
15544
  };
15545
+ export const servicenowGetRecordsByQueryDefinition = {
15546
+ displayName: "Get ServiceNow records by query",
15547
+ description: "Query records from any ServiceNow table (e.g. incident, change_request, sc_request) using an encoded query string via the Table API",
15548
+ scopes: [],
15549
+ tags: [],
15550
+ parameters: {
15551
+ type: "object",
15552
+ required: ["tableName"],
15553
+ properties: {
15554
+ tableName: {
15555
+ type: "string",
15556
+ description: "The ServiceNow table to query (e.g. incident, change_request, sc_request, sys_user, kb_knowledge)",
15557
+ },
15558
+ query: {
15559
+ type: "string",
15560
+ description: 'ServiceNow encoded query string (sysparm_query) — NOT SQL, JQL, or natural language. Conditions are joined with ^ for AND and ^OR for OR, with no spaces around the ^. Format examples: field=value, field!=value, field>value, fieldLIKEvalue, fieldISEMPTY. Sort with ^ORDERBY<field> (ascending) or ^ORDERBYDESC<field> (descending). Example: "active=true^priority=1^ORDERBYDESCsys_created_on" means active records with priority 1, sorted by most recently created first. If omitted, records are returned unfiltered up to the limit.\n',
15561
+ },
15562
+ fields: {
15563
+ type: "array",
15564
+ description: "Field names to return for each record (sysparm_fields). All fields are returned if omitted.",
15565
+ items: {
15566
+ type: "string",
15567
+ },
15568
+ },
15569
+ limit: {
15570
+ type: "number",
15571
+ description: "Maximum number of records to return (defaults to 25)",
15572
+ },
15573
+ offset: {
15574
+ type: "number",
15575
+ description: "Number of records to skip, for pagination (defaults to 0)",
15576
+ },
15577
+ includeDisplayValues: {
15578
+ type: "boolean",
15579
+ description: 'If false (default), each field is returned as a plain scalar value (e.g. active: true, priority: "1"). If true, every field is instead returned as an object {value: "<raw value>", display_value: "<human-readable value>"} — useful for reference fields like assigned_to, where value is a sys_id and display_value is the user\'s name.\n',
15580
+ },
15581
+ },
15582
+ },
15583
+ output: {
15584
+ type: "object",
15585
+ required: ["success"],
15586
+ properties: {
15587
+ success: {
15588
+ type: "boolean",
15589
+ description: "Whether the query was successful",
15590
+ },
15591
+ records: {
15592
+ type: "array",
15593
+ description: "The records matching the query",
15594
+ items: {
15595
+ type: "object",
15596
+ },
15597
+ },
15598
+ error: {
15599
+ type: "string",
15600
+ description: "Error message if the query failed",
15601
+ },
15602
+ },
15603
+ },
15604
+ name: "getRecordsByQuery",
15605
+ provider: "servicenow",
15606
+ };
15607
+ export const servicenowGetIncidentsDefinition = {
15608
+ displayName: "Get ServiceNow incidents",
15609
+ description: "Read incident records from ServiceNow, optionally filtered by an additional encoded query. Returns standard incident fields plus a computed time-to-closure.",
15610
+ scopes: [],
15611
+ tags: [],
15612
+ parameters: {
15613
+ type: "object",
15614
+ required: [],
15615
+ properties: {
15616
+ query: {
15617
+ type: "string",
15618
+ description: 'Optional additional ServiceNow encoded query (sysparm_query) ANDed onto the base incident lookup — NOT SQL, JQL, or natural language. Conditions are joined with ^ for AND and ^OR for OR, with no spaces around the ^. Example: "priority=1^state!=7" for open, priority-1 incidents. Leave empty to return all incidents up to the limit.\n',
15619
+ },
15620
+ additionalFields: {
15621
+ type: "array",
15622
+ description: 'Extra ServiceNow field technical names to fetch for instance-specific/custom fields not covered by the standard output (e.g. a custom "Program Office" field). Values are returned per record under extraFields, keyed by the field name given here.\n',
15623
+ items: {
15624
+ type: "string",
15625
+ },
15626
+ },
15627
+ limit: {
15628
+ type: "number",
15629
+ description: "Maximum number of incidents to return (defaults to 25)",
15630
+ },
15631
+ offset: {
15632
+ type: "number",
15633
+ description: "Number of records to skip, for pagination (defaults to 0)",
15634
+ },
15635
+ },
15636
+ },
15637
+ output: {
15638
+ type: "object",
15639
+ required: ["success"],
15640
+ properties: {
15641
+ success: {
15642
+ type: "boolean",
15643
+ description: "Whether the query was successful",
15644
+ },
15645
+ records: {
15646
+ type: "array",
15647
+ description: "The incident records matching the query",
15648
+ items: {
15649
+ type: "object",
15650
+ properties: {
15651
+ number: {
15652
+ type: "string",
15653
+ description: "The incident ticket number (e.g. INC0010023)",
15654
+ },
15655
+ caller: {
15656
+ type: "string",
15657
+ description: "The name of the person who reported the incident",
15658
+ },
15659
+ assignee: {
15660
+ type: "string",
15661
+ description: "The name of the person assigned to the incident",
15662
+ },
15663
+ assignmentGroup: {
15664
+ type: "string",
15665
+ description: "The name of the group assigned to the incident",
15666
+ },
15667
+ shortDescription: {
15668
+ type: "string",
15669
+ description: "The short description of the incident",
15670
+ },
15671
+ description: {
15672
+ type: "string",
15673
+ description: "The full description of the incident",
15674
+ },
15675
+ state: {
15676
+ type: "string",
15677
+ description: "The current state of the incident",
15678
+ },
15679
+ incidentState: {
15680
+ type: "string",
15681
+ description: "The current incident-specific state (legacy field on some instances; may be absent)",
15682
+ },
15683
+ priority: {
15684
+ type: "string",
15685
+ description: "The priority of the incident",
15686
+ },
15687
+ impact: {
15688
+ type: "string",
15689
+ description: "The impact of the incident",
15690
+ },
15691
+ urgency: {
15692
+ type: "string",
15693
+ description: "The urgency of the incident",
15694
+ },
15695
+ openedAt: {
15696
+ type: "string",
15697
+ description: "The date and time the incident was opened",
15698
+ },
15699
+ updatedAt: {
15700
+ type: "string",
15701
+ description: "The date and time the incident was last updated",
15702
+ },
15703
+ closedAt: {
15704
+ type: "string",
15705
+ description: "The date and time the incident was closed or completed, if applicable",
15706
+ },
15707
+ workNotes: {
15708
+ type: "string",
15709
+ description: "Internal work notes on the incident",
15710
+ },
15711
+ comments: {
15712
+ type: "string",
15713
+ description: "Additional (customer-visible) comments on the incident",
15714
+ },
15715
+ timeToClosureMinutes: {
15716
+ type: "number",
15717
+ description: "Minutes elapsed from opening to final closure, calculated from openedAt and closedAt",
15718
+ },
15719
+ extraFields: {
15720
+ type: "object",
15721
+ description: "Values for any fields requested via the additionalFields parameter, keyed by field name",
15722
+ },
15723
+ },
15724
+ },
15725
+ },
15726
+ error: {
15727
+ type: "string",
15728
+ description: "Error message if the query failed",
15729
+ },
15730
+ },
15731
+ },
15732
+ name: "getIncidents",
15733
+ provider: "servicenow",
15734
+ };
15735
+ export const servicenowGetChangeRequestsDefinition = {
15736
+ displayName: "Get ServiceNow change requests",
15737
+ description: "Read change request records from ServiceNow, optionally filtered by an additional encoded query. Returns standard change request fields plus a computed time-to-closure.",
15738
+ scopes: [],
15739
+ tags: [],
15740
+ parameters: {
15741
+ type: "object",
15742
+ required: [],
15743
+ properties: {
15744
+ query: {
15745
+ type: "string",
15746
+ description: 'Optional additional ServiceNow encoded query (sysparm_query) ANDed onto the base change request lookup — NOT SQL, JQL, or natural language. Conditions are joined with ^ for AND and ^OR for OR, with no spaces around the ^. Example: "priority=1^state!=3" for open, priority-1 change requests. Leave empty to return all change requests up to the limit.\n',
15747
+ },
15748
+ additionalFields: {
15749
+ type: "array",
15750
+ description: 'Extra ServiceNow field technical names to fetch for instance-specific/custom fields not covered by the standard output (e.g. a custom "Program Office" field). Values are returned per record under extraFields, keyed by the field name given here.\n',
15751
+ items: {
15752
+ type: "string",
15753
+ },
15754
+ },
15755
+ limit: {
15756
+ type: "number",
15757
+ description: "Maximum number of change requests to return (defaults to 25)",
15758
+ },
15759
+ offset: {
15760
+ type: "number",
15761
+ description: "Number of records to skip, for pagination (defaults to 0)",
15762
+ },
15763
+ },
15764
+ },
15765
+ output: {
15766
+ type: "object",
15767
+ required: ["success"],
15768
+ properties: {
15769
+ success: {
15770
+ type: "boolean",
15771
+ description: "Whether the query was successful",
15772
+ },
15773
+ records: {
15774
+ type: "array",
15775
+ description: "The change request records matching the query",
15776
+ items: {
15777
+ type: "object",
15778
+ properties: {
15779
+ number: {
15780
+ type: "string",
15781
+ description: "The change request number (e.g. CHG0010023)",
15782
+ },
15783
+ requestor: {
15784
+ type: "string",
15785
+ description: "The name of the person who requested the change",
15786
+ },
15787
+ assignee: {
15788
+ type: "string",
15789
+ description: "The name of the person assigned to the change request",
15790
+ },
15791
+ assignmentGroup: {
15792
+ type: "string",
15793
+ description: "The name of the group assigned to the change request",
15794
+ },
15795
+ shortDescription: {
15796
+ type: "string",
15797
+ description: "The short description of the change request",
15798
+ },
15799
+ description: {
15800
+ type: "string",
15801
+ description: "The full description of the change request",
15802
+ },
15803
+ state: {
15804
+ type: "string",
15805
+ description: "The current state of the change request",
15806
+ },
15807
+ priority: {
15808
+ type: "string",
15809
+ description: "The priority of the change request",
15810
+ },
15811
+ impact: {
15812
+ type: "string",
15813
+ description: "The impact of the change request",
15814
+ },
15815
+ urgency: {
15816
+ type: "string",
15817
+ description: "The urgency of the change request",
15818
+ },
15819
+ openedAt: {
15820
+ type: "string",
15821
+ description: "The date and time the change request was opened",
15822
+ },
15823
+ updatedAt: {
15824
+ type: "string",
15825
+ description: "The date and time the change request was last updated",
15826
+ },
15827
+ closedAt: {
15828
+ type: "string",
15829
+ description: "The date and time the change request was closed or completed, if applicable",
15830
+ },
15831
+ workNotes: {
15832
+ type: "string",
15833
+ description: "Internal work notes on the change request",
15834
+ },
15835
+ comments: {
15836
+ type: "string",
15837
+ description: "Additional (customer-visible) comments on the change request",
15838
+ },
15839
+ timeToClosureMinutes: {
15840
+ type: "number",
15841
+ description: "Minutes elapsed from opening to final closure, calculated from openedAt and closedAt",
15842
+ },
15843
+ extraFields: {
15844
+ type: "object",
15845
+ description: "Values for any fields requested via the additionalFields parameter, keyed by field name",
15846
+ },
15847
+ },
15848
+ },
15849
+ },
15850
+ error: {
15851
+ type: "string",
15852
+ description: "Error message if the query failed",
15853
+ },
15854
+ },
15855
+ },
15856
+ name: "getChangeRequests",
15857
+ provider: "servicenow",
15858
+ };
15859
+ export const servicenowGetSCTasksDefinition = {
15860
+ displayName: "Get ServiceNow catalog tasks (SCTASKs)",
15861
+ description: "Read service catalog task (sc_task) records from ServiceNow, optionally filtered by an additional encoded query. Returns standard SCTASK fields, the parent RITM number, and a computed time-to-closure.",
15862
+ scopes: [],
15863
+ tags: [],
15864
+ parameters: {
15865
+ type: "object",
15866
+ required: [],
15867
+ properties: {
15868
+ query: {
15869
+ type: "string",
15870
+ description: 'Optional additional ServiceNow encoded query (sysparm_query) ANDed onto the base SCTASK lookup — NOT SQL, JQL, or natural language. Conditions are joined with ^ for AND and ^OR for OR, with no spaces around the ^. Example: "priority=1^state!=3" for open, priority-1 SCTASKs. Leave empty to return all SCTASKs up to the limit.\n',
15871
+ },
15872
+ additionalFields: {
15873
+ type: "array",
15874
+ description: 'Extra ServiceNow field technical names to fetch for instance-specific/custom fields not covered by the standard output (e.g. a custom "Program Office" field). Values are returned per record under extraFields, keyed by the field name given here.\n',
15875
+ items: {
15876
+ type: "string",
15877
+ },
15878
+ },
15879
+ limit: {
15880
+ type: "number",
15881
+ description: "Maximum number of SCTASKs to return (defaults to 25)",
15882
+ },
15883
+ offset: {
15884
+ type: "number",
15885
+ description: "Number of records to skip, for pagination (defaults to 0)",
15886
+ },
15887
+ },
15888
+ },
15889
+ output: {
15890
+ type: "object",
15891
+ required: ["success"],
15892
+ properties: {
15893
+ success: {
15894
+ type: "boolean",
15895
+ description: "Whether the query was successful",
15896
+ },
15897
+ records: {
15898
+ type: "array",
15899
+ description: "The SCTASK records matching the query",
15900
+ items: {
15901
+ type: "object",
15902
+ properties: {
15903
+ number: {
15904
+ type: "string",
15905
+ description: "The SCTASK ticket number (e.g. SCTASK0010023)",
15906
+ },
15907
+ ritmNumber: {
15908
+ type: "string",
15909
+ description: "The number of the parent Requested Item (RITM) this SCTASK belongs to",
15910
+ },
15911
+ assignee: {
15912
+ type: "string",
15913
+ description: "The name of the person assigned to the SCTASK",
15914
+ },
15915
+ assignmentGroup: {
15916
+ type: "string",
15917
+ description: "The name of the group assigned to the SCTASK",
15918
+ },
15919
+ shortDescription: {
15920
+ type: "string",
15921
+ description: "The short description of the SCTASK",
15922
+ },
15923
+ description: {
15924
+ type: "string",
15925
+ description: "The full description of the SCTASK",
15926
+ },
15927
+ state: {
15928
+ type: "string",
15929
+ description: "The current state of the SCTASK",
15930
+ },
15931
+ priority: {
15932
+ type: "string",
15933
+ description: "The priority of the SCTASK",
15934
+ },
15935
+ openedAt: {
15936
+ type: "string",
15937
+ description: "The date and time the SCTASK was opened",
15938
+ },
15939
+ updatedAt: {
15940
+ type: "string",
15941
+ description: "The date and time the SCTASK was last updated",
15942
+ },
15943
+ closedAt: {
15944
+ type: "string",
15945
+ description: "The date and time the SCTASK was closed or completed, if applicable",
15946
+ },
15947
+ workNotes: {
15948
+ type: "string",
15949
+ description: "Internal work notes on the SCTASK",
15950
+ },
15951
+ comments: {
15952
+ type: "string",
15953
+ description: "Additional (customer-visible) comments on the SCTASK",
15954
+ },
15955
+ timeToClosureMinutes: {
15956
+ type: "number",
15957
+ description: "Minutes elapsed from opening to final closure, calculated from openedAt and closedAt",
15958
+ },
15959
+ extraFields: {
15960
+ type: "object",
15961
+ description: "Values for any fields requested via the additionalFields parameter, keyed by field name",
15962
+ },
15963
+ },
15964
+ },
15965
+ },
15966
+ error: {
15967
+ type: "string",
15968
+ description: "Error message if the query failed",
15969
+ },
15970
+ },
15971
+ },
15972
+ name: "getSCTasks",
15973
+ provider: "servicenow",
15974
+ };
15975
+ export const servicenowGetVIPTicketsDefinition = {
15976
+ displayName: "Get ServiceNow VIP tickets",
15977
+ description: "Read incident or SCTASK records in ServiceNow whose caller/requester is flagged as a VIP user (sys_user.vip), optionally filtered by an additional encoded query. Returns standard ticket fields and a computed time-to-closure.",
15978
+ scopes: [],
15979
+ tags: [],
15980
+ parameters: {
15981
+ type: "object",
15982
+ required: ["ticketType"],
15983
+ properties: {
15984
+ ticketType: {
15985
+ type: "string",
15986
+ enum: ["incident", "sc_task"],
15987
+ description: "Which kind of ticket to look up VIP records for",
15988
+ },
15989
+ query: {
15990
+ type: "string",
15991
+ description: 'Optional additional ServiceNow encoded query (sysparm_query) ANDed onto the base VIP lookup — NOT SQL, JQL, or natural language. Conditions are joined with ^ for AND and ^OR for OR, with no spaces around the ^. Example: "priority=1" to further narrow to priority-1 VIP tickets. Leave empty to return all VIP tickets of the given type up to the limit.\n',
15992
+ },
15993
+ additionalFields: {
15994
+ type: "array",
15995
+ description: 'Extra ServiceNow field technical names to fetch for instance-specific/custom fields not covered by the standard output (e.g. a custom "Program Office" field). Values are returned per record under extraFields, keyed by the field name given here.\n',
15996
+ items: {
15997
+ type: "string",
15998
+ },
15999
+ },
16000
+ limit: {
16001
+ type: "number",
16002
+ description: "Maximum number of VIP tickets to return (defaults to 25)",
16003
+ },
16004
+ offset: {
16005
+ type: "number",
16006
+ description: "Number of records to skip, for pagination (defaults to 0)",
16007
+ },
16008
+ },
16009
+ },
16010
+ output: {
16011
+ type: "object",
16012
+ required: ["success"],
16013
+ properties: {
16014
+ success: {
16015
+ type: "boolean",
16016
+ description: "Whether the query was successful",
16017
+ },
16018
+ records: {
16019
+ type: "array",
16020
+ description: "The VIP ticket records matching the query",
16021
+ items: {
16022
+ type: "object",
16023
+ properties: {
16024
+ ticketType: {
16025
+ type: "string",
16026
+ description: "Whether this record is an incident or a SCTASK",
16027
+ },
16028
+ number: {
16029
+ type: "string",
16030
+ description: "The ticket number",
16031
+ },
16032
+ ritmNumber: {
16033
+ type: "string",
16034
+ description: "The number of the parent Requested Item (RITM), if this is a SCTASK",
16035
+ },
16036
+ vipUser: {
16037
+ type: "string",
16038
+ description: "The name of the VIP caller or requester associated with this ticket",
16039
+ },
16040
+ assignee: {
16041
+ type: "string",
16042
+ description: "The name of the person assigned to the ticket",
16043
+ },
16044
+ assignmentGroup: {
16045
+ type: "string",
16046
+ description: "The name of the group assigned to the ticket",
16047
+ },
16048
+ shortDescription: {
16049
+ type: "string",
16050
+ description: "The short description of the ticket",
16051
+ },
16052
+ description: {
16053
+ type: "string",
16054
+ description: "The full description of the ticket",
16055
+ },
16056
+ state: {
16057
+ type: "string",
16058
+ description: "The current state of the ticket",
16059
+ },
16060
+ openedAt: {
16061
+ type: "string",
16062
+ description: "The date and time the ticket was opened",
16063
+ },
16064
+ updatedAt: {
16065
+ type: "string",
16066
+ description: "The date and time the ticket was last updated",
16067
+ },
16068
+ closedAt: {
16069
+ type: "string",
16070
+ description: "The date and time the ticket was closed or completed, if applicable",
16071
+ },
16072
+ workNotes: {
16073
+ type: "string",
16074
+ description: "Internal work notes on the ticket",
16075
+ },
16076
+ comments: {
16077
+ type: "string",
16078
+ description: "Additional (customer-visible) comments on the ticket",
16079
+ },
16080
+ timeToClosureMinutes: {
16081
+ type: "number",
16082
+ description: "Minutes elapsed from opening to final closure, calculated from openedAt and closedAt",
16083
+ },
16084
+ extraFields: {
16085
+ type: "object",
16086
+ description: "Values for any fields requested via the additionalFields parameter, keyed by field name",
16087
+ },
16088
+ },
16089
+ },
16090
+ },
16091
+ error: {
16092
+ type: "string",
16093
+ description: "Error message if the query failed",
16094
+ },
16095
+ },
16096
+ },
16097
+ name: "getVIPTickets",
16098
+ provider: "servicenow",
16099
+ };