File tree Expand file tree Collapse file tree
packages/las-sdk-core/src/types Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ export type Action = {
1313 functionId : string ;
1414 metadata : JSONObject ;
1515 name ?: string | null ;
16- agentId : string ;
1716 secretId ?: string | null ;
1817 updatedBy ?: string | null ;
1918 updatedTime ?: Date | null ;
@@ -28,6 +27,6 @@ export type ListActionsOptions = RequestConfig & PaginationOptions;
2827export type GetActionOptions = RequestConfig ;
2928export type CreateActionOptions = RequestConfig &
3029 OptionsOmit < Action , 'actionId' > &
31- Pick < Action , 'config' | 'functionId' | 'agentId' > ;
30+ Pick < Action , 'config' | 'functionId' > ;
3231export type UpdateActionOptions = RequestConfig & OptionsOmit < Action , 'actionId' > ;
3332export type DeleteActionOptions = RequestConfig ;
Original file line number Diff line number Diff line change @@ -15,8 +15,7 @@ export type ActionRun = {
1515 logId : string ;
1616 metadata : JSONObject ;
1717 output ?: JSONObject | null ;
18- agentId : string ;
19- agentRunId : string ;
18+ agentRunId ?: string | null ;
2019 status : ActionRunStatus ;
2120 updatedBy ?: string | null ;
2221 updatedTime ?: Date | null ;
@@ -31,6 +30,6 @@ export type ListActionRunsOptions = RequestConfig & PaginationOptions;
3130export type GetActionRunOptions = RequestConfig ;
3231export type CreateActionRunOptions = RequestConfig &
3332 OptionsOmit < ActionRun , 'actionId' | 'runId' | 'logId' > &
34- Pick < ActionRun , 'input' | 'agentId' | 'agentRunId' > ;
33+ Pick < ActionRun , 'input' > ;
3534export type UpdateActionRunOptions = RequestConfig & Pick < Partial < ActionRun > , 'output' | 'metadata' > ;
3635export type DeleteActionRunOptions = RequestConfig ;
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ export type Document = {
2626 fileUrl : string ;
2727 metadata : JSONObject ;
2828 name ?: string | null ;
29- agentId ?: string | null ;
3029 agentRunId ?: string | null ;
3130 retentionInDays : number ;
3231 updatedBy ?: string | null ;
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ export type Hook = {
2222 functionId ?: string | null ;
2323 metadata : JSONObject ;
2424 name ?: string | null ;
25- agentId : string ;
2625 trigger : Trigger ;
2726 trueActionId ?: string | null ;
2827 updatedBy ?: string | null ;
@@ -38,6 +37,6 @@ export type ListHooksOptions = RequestConfig & PaginationOptions;
3837export type GetHookOptions = RequestConfig ;
3938export type CreateHookOptions = RequestConfig &
4039 OptionsOmit < Hook , 'hookId' > &
41- Pick < Hook , 'functionId' | 'config' | 'agentId' | ' trigger'> ;
40+ Pick < Hook , 'functionId' | 'config' | 'trigger' > ;
4241export type UpdateHookOptions = RequestConfig & OptionsOmit < Hook , 'hookId' > ;
4342export type DeleteHookOptions = RequestConfig ;
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ export type HookRun = {
1616 logId : string ;
1717 metadata : JSONObject ;
1818 output ?: JSONObject | null ;
19- agentId : string ;
2019 agentRunId : string ;
2120 status : HookStatus ;
2221 updatedBy ?: string | null ;
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ export type Validation = {
99 createdTime : Date ;
1010 enabled : boolean ;
1111 metadata : JSONObject ;
12- agentId : string ;
1312 updatedBy ?: string | null ;
1413 updatedTime ?: Date | null ;
1514} ;
@@ -23,6 +22,6 @@ export type ListValidationsOptions = RequestConfig & PaginationOptions;
2322export type GetValidationOptions = RequestConfig ;
2423export type CreateValidationOptions = RequestConfig &
2524 OptionsOmit < Validation , 'validationId' > &
26- Pick < Validation , 'config' | 'agentId' > ;
25+ Pick < Validation , 'config' > ;
2726export type UpdateValidationOptions = RequestConfig & OptionsOmit < Validation , 'validationId' > ;
2827export type DeleteValidationOptions = RequestConfig ;
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ export type ValidationTask = {
1515 logId : string ;
1616 metadata : JSONObject ;
1717 output ?: JSONObject | null ;
18- agentId : string ;
1918 agentRunId : string ;
2019 status : ValidationTaskStatus ;
2120 updatedBy ?: string | null ;
@@ -31,7 +30,7 @@ export type ListValidationTasksOptions = RequestConfig & PaginationOptions;
3130export type GetValidationTaskOptions = RequestConfig ;
3231export type CreateValidationTaskOptions = RequestConfig &
3332 OptionsOmit < ValidationTask , 'validationId' | 'taskId' | 'logId' > &
34- Pick < ValidationTask , 'input' | 'agentId' | ' agentRunId'> ;
33+ Pick < ValidationTask , 'input' | 'agentRunId' > ;
3534export type UpdateValidationTaskOptions = RequestConfig &
3635 Pick < Partial < ValidationTask > , 'output' | 'metadata' | 'status' > ;
3736export type DeleteValidationTaskOptions = RequestConfig ;
You can’t perform that action at this time.
0 commit comments