@rightbrain/brain-api-client 0.0.1-dev.150.56bd32f → 0.0.1-dev.151.2f88e50

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.
Files changed (4) hide show
  1. package/api.ts +1257 -141
  2. package/dist/api.d.ts +822 -134
  3. package/dist/api.js +1030 -66
  4. package/package.json +1 -1
package/api.ts CHANGED
@@ -6621,6 +6621,25 @@ export interface PaginatedResultSetReportingGroup {
6621
6621
  */
6622
6622
  'results': Array<ReportingGroup>;
6623
6623
  }
6624
+ /**
6625
+ *
6626
+ * @export
6627
+ * @interface PaginatedResultSetScheduleTriggerEventResponse
6628
+ */
6629
+ export interface PaginatedResultSetScheduleTriggerEventResponse {
6630
+ /**
6631
+ *
6632
+ * @type {PaginationDetails}
6633
+ * @memberof PaginatedResultSetScheduleTriggerEventResponse
6634
+ */
6635
+ 'pagination'?: PaginationDetails;
6636
+ /**
6637
+ * The list of items returned for the current page.
6638
+ * @type {Array<ScheduleTriggerEventResponse>}
6639
+ * @memberof PaginatedResultSetScheduleTriggerEventResponse
6640
+ */
6641
+ 'results': Array<ScheduleTriggerEventResponse>;
6642
+ }
6624
6643
  /**
6625
6644
  *
6626
6645
  * @export
@@ -6697,6 +6716,25 @@ export interface PaginatedResultSetTaskAgentRead {
6697
6716
  */
6698
6717
  'results': Array<TaskAgentRead>;
6699
6718
  }
6719
+ /**
6720
+ *
6721
+ * @export
6722
+ * @interface PaginatedResultSetTaskAgentShare
6723
+ */
6724
+ export interface PaginatedResultSetTaskAgentShare {
6725
+ /**
6726
+ *
6727
+ * @type {PaginationDetails}
6728
+ * @memberof PaginatedResultSetTaskAgentShare
6729
+ */
6730
+ 'pagination'?: PaginationDetails;
6731
+ /**
6732
+ * The list of items returned for the current page.
6733
+ * @type {Array<TaskAgentShare>}
6734
+ * @memberof PaginatedResultSetTaskAgentShare
6735
+ */
6736
+ 'results': Array<TaskAgentShare>;
6737
+ }
6700
6738
  /**
6701
6739
  *
6702
6740
  * @export
@@ -7078,98 +7116,49 @@ export interface Project {
7078
7116
  /**
7079
7117
  *
7080
7118
  * @export
7081
- * @interface ProjectConfigInput
7082
- */
7083
- export interface ProjectConfigInput {
7084
- /**
7085
- *
7086
- * @type {string}
7087
- * @memberof ProjectConfigInput
7088
- */
7089
- 'llm'?: string;
7090
- /**
7091
- *
7092
- * @type {number}
7093
- * @memberof ProjectConfigInput
7094
- */
7095
- 'temperature'?: number;
7096
- /**
7097
- *
7098
- * @type {number}
7099
- * @memberof ProjectConfigInput
7100
- */
7101
- 'knn'?: number;
7102
- /**
7103
- *
7104
- * @type {Array<string>}
7105
- * @memberof ProjectConfigInput
7106
- */
7107
- 'chat_system_commands'?: Array<string> | null;
7108
- /**
7109
- *
7110
- * @type {ConversationalGuardrails}
7111
- * @memberof ProjectConfigInput
7112
- */
7113
- 'chat_guardrails'?: ConversationalGuardrails;
7114
- /**
7115
- * Enable query expansion. Uses an LLM to generate multiple rephrasing of the original query for better broad spectrum vector retrieval
7116
- * @type {boolean}
7117
- * @memberof ProjectConfigInput
7118
- */
7119
- 'query_expansion'?: boolean;
7120
- /**
7121
- *
7122
- * @type {ModelConfiguration}
7123
- * @memberof ProjectConfigInput
7124
- */
7125
- 'models_config'?: ModelConfiguration;
7126
- }
7127
- /**
7128
- *
7129
- * @export
7130
- * @interface ProjectConfigOutput
7119
+ * @interface ProjectConfig
7131
7120
  */
7132
- export interface ProjectConfigOutput {
7121
+ export interface ProjectConfig {
7133
7122
  /**
7134
7123
  *
7135
7124
  * @type {string}
7136
- * @memberof ProjectConfigOutput
7125
+ * @memberof ProjectConfig
7137
7126
  */
7138
7127
  'llm'?: string;
7139
7128
  /**
7140
7129
  *
7141
7130
  * @type {number}
7142
- * @memberof ProjectConfigOutput
7131
+ * @memberof ProjectConfig
7143
7132
  */
7144
7133
  'temperature'?: number;
7145
7134
  /**
7146
7135
  *
7147
7136
  * @type {number}
7148
- * @memberof ProjectConfigOutput
7137
+ * @memberof ProjectConfig
7149
7138
  */
7150
7139
  'knn'?: number;
7151
7140
  /**
7152
7141
  *
7153
7142
  * @type {Array<string>}
7154
- * @memberof ProjectConfigOutput
7143
+ * @memberof ProjectConfig
7155
7144
  */
7156
7145
  'chat_system_commands'?: Array<string> | null;
7157
7146
  /**
7158
7147
  *
7159
7148
  * @type {ConversationalGuardrails}
7160
- * @memberof ProjectConfigOutput
7149
+ * @memberof ProjectConfig
7161
7150
  */
7162
7151
  'chat_guardrails'?: ConversationalGuardrails;
7163
7152
  /**
7164
7153
  * Enable query expansion. Uses an LLM to generate multiple rephrasing of the original query for better broad spectrum vector retrieval
7165
7154
  * @type {boolean}
7166
- * @memberof ProjectConfigOutput
7155
+ * @memberof ProjectConfig
7167
7156
  */
7168
7157
  'query_expansion'?: boolean;
7169
7158
  /**
7170
7159
  *
7171
7160
  * @type {ModelConfiguration}
7172
- * @memberof ProjectConfigOutput
7161
+ * @memberof ProjectConfig
7173
7162
  */
7174
7163
  'models_config'?: ModelConfiguration;
7175
7164
  }
@@ -7615,10 +7604,10 @@ export interface ProjectSkillCreate {
7615
7604
  'skill_metadata'?: { [key: string]: any; } | null;
7616
7605
  /**
7617
7606
  *
7618
- * @type {SkillCapabilitiesInput}
7607
+ * @type {SkillCapabilities}
7619
7608
  * @memberof ProjectSkillCreate
7620
7609
  */
7621
- 'capabilities'?: SkillCapabilitiesInput;
7610
+ 'capabilities'?: SkillCapabilities;
7622
7611
  }
7623
7612
  /**
7624
7613
  *
@@ -7755,10 +7744,10 @@ export interface ProjectSkillRevisionContent {
7755
7744
  'skill_metadata': { [key: string]: any; } | null;
7756
7745
  /**
7757
7746
  *
7758
- * @type {SkillCapabilitiesOutput}
7747
+ * @type {SkillCapabilities}
7759
7748
  * @memberof ProjectSkillRevisionContent
7760
7749
  */
7761
- 'capabilities': SkillCapabilitiesOutput;
7750
+ 'capabilities': SkillCapabilities;
7762
7751
  /**
7763
7752
  *
7764
7753
  * @type {string}
@@ -7834,10 +7823,10 @@ export interface ProjectSkillRevisionCreate {
7834
7823
  'skill_metadata'?: { [key: string]: any; } | null;
7835
7824
  /**
7836
7825
  *
7837
- * @type {SkillCapabilitiesInput}
7826
+ * @type {SkillCapabilities}
7838
7827
  * @memberof ProjectSkillRevisionCreate
7839
7828
  */
7840
- 'capabilities'?: SkillCapabilitiesInput;
7829
+ 'capabilities'?: SkillCapabilities;
7841
7830
  /**
7842
7831
  * Optional human note describing this revision.
7843
7832
  * @type {string}
@@ -9007,6 +8996,12 @@ export type Response403Listprojectdocuments = { reason: 'MISSING_AUTHENTICATION'
9007
8996
  */
9008
8997
  export type Response403Listprojects = { reason: 'MISSING_AUTHENTICATION' } & MissingAuthenticationErrorResponse | { reason: 'PERMISSION_CHECK_FAILED' } & PermissionCheckFailedErrorResponse;
9009
8998
 
8999
+ /**
9000
+ * @type Response403Listprojectscheduletriggerevents
9001
+ * @export
9002
+ */
9003
+ export type Response403Listprojectscheduletriggerevents = { reason: 'MISSING_AUTHENTICATION' } & MissingAuthenticationErrorResponse | { reason: 'PERMISSION_CHECK_FAILED' } & PermissionCheckFailedErrorResponse;
9004
+
9010
9005
  /**
9011
9006
  * @type Response403Listreportinggroups
9012
9007
  * @export
@@ -9025,6 +9020,12 @@ export type Response403Listscheduletriggerevents = { reason: 'MISSING_AUTHENTICA
9025
9020
  */
9026
9021
  export type Response403Listslackchannelmappings = { reason: 'MISSING_AUTHENTICATION' } & MissingAuthenticationErrorResponse | { reason: 'PERMISSION_CHECK_FAILED' } & PermissionCheckFailedErrorResponse;
9027
9022
 
9023
+ /**
9024
+ * @type Response403Listslackchannels
9025
+ * @export
9026
+ */
9027
+ export type Response403Listslackchannels = { reason: 'MISSING_AUTHENTICATION' } & MissingAuthenticationErrorResponse | { reason: 'PERMISSION_CHECK_FAILED' } & PermissionCheckFailedErrorResponse;
9028
+
9028
9029
  /**
9029
9030
  * @type Response403Listslackinstallations
9030
9031
  * @export
@@ -9839,6 +9840,18 @@ export interface ScheduleTriggerListItem {
9839
9840
  * @memberof ScheduleTriggerListItem
9840
9841
  */
9841
9842
  'timezone': string;
9843
+ /**
9844
+ *
9845
+ * @type {string}
9846
+ * @memberof ScheduleTriggerListItem
9847
+ */
9848
+ 'next_run_at'?: string | null;
9849
+ /**
9850
+ *
9851
+ * @type {string}
9852
+ * @memberof ScheduleTriggerListItem
9853
+ */
9854
+ 'expires_at'?: string | null;
9842
9855
  }
9843
9856
 
9844
9857
 
@@ -10082,38 +10095,19 @@ export interface SkillActivationRead {
10082
10095
  /**
10083
10096
  *
10084
10097
  * @export
10085
- * @interface SkillCapabilitiesInput
10098
+ * @interface SkillCapabilities
10086
10099
  */
10087
- export interface SkillCapabilitiesInput {
10100
+ export interface SkillCapabilities {
10088
10101
  /**
10089
10102
  * Versioned schema identifier for the capability contract.
10090
10103
  * @type {string}
10091
- * @memberof SkillCapabilitiesInput
10104
+ * @memberof SkillCapabilities
10092
10105
  */
10093
10106
  'schema_version': string;
10094
10107
  /**
10095
10108
  * Declarative dependency requirements for this skill revision.
10096
10109
  * @type {Array<DependenciesInner>}
10097
- * @memberof SkillCapabilitiesInput
10098
- */
10099
- 'dependencies': Array<DependenciesInner>;
10100
- }
10101
- /**
10102
- *
10103
- * @export
10104
- * @interface SkillCapabilitiesOutput
10105
- */
10106
- export interface SkillCapabilitiesOutput {
10107
- /**
10108
- * Versioned schema identifier for the capability contract.
10109
- * @type {string}
10110
- * @memberof SkillCapabilitiesOutput
10111
- */
10112
- 'schema_version': string;
10113
- /**
10114
- * Declarative dependency requirements for this skill revision.
10115
- * @type {Array<DependenciesInner>}
10116
- * @memberof SkillCapabilitiesOutput
10110
+ * @memberof SkillCapabilities
10117
10111
  */
10118
10112
  'dependencies': Array<DependenciesInner>;
10119
10113
  }
@@ -10376,10 +10370,10 @@ export interface SkillRevisionContent {
10376
10370
  'skill_metadata': { [key: string]: any; } | null;
10377
10371
  /**
10378
10372
  *
10379
- * @type {SkillCapabilitiesOutput}
10373
+ * @type {SkillCapabilities}
10380
10374
  * @memberof SkillRevisionContent
10381
10375
  */
10382
- 'capabilities': SkillCapabilitiesOutput;
10376
+ 'capabilities': SkillCapabilities;
10383
10377
  /**
10384
10378
  *
10385
10379
  * @type {string}
@@ -10634,6 +10628,43 @@ export interface SlackChannelMappingUpdate {
10634
10628
  */
10635
10629
  'task_agent_id'?: string | null;
10636
10630
  }
10631
+ /**
10632
+ *
10633
+ * @export
10634
+ * @interface SlackChannelResponse
10635
+ */
10636
+ export interface SlackChannelResponse {
10637
+ /**
10638
+ * Slack channel ID.
10639
+ * @type {string}
10640
+ * @memberof SlackChannelResponse
10641
+ */
10642
+ 'id': string;
10643
+ /**
10644
+ * Slack channel name.
10645
+ * @type {string}
10646
+ * @memberof SlackChannelResponse
10647
+ */
10648
+ 'name': string;
10649
+ /**
10650
+ * Whether this is a private channel.
10651
+ * @type {boolean}
10652
+ * @memberof SlackChannelResponse
10653
+ */
10654
+ 'is_private': boolean;
10655
+ /**
10656
+ * Whether this channel is archived.
10657
+ * @type {boolean}
10658
+ * @memberof SlackChannelResponse
10659
+ */
10660
+ 'is_archived': boolean;
10661
+ /**
10662
+ * Whether the installed bot is a member of this channel, when reported by Slack.
10663
+ * @type {boolean}
10664
+ * @memberof SlackChannelResponse
10665
+ */
10666
+ 'is_member'?: boolean | null;
10667
+ }
10637
10668
  /**
10638
10669
  *
10639
10670
  * @export
@@ -11124,6 +11155,120 @@ export interface TaskActiveRevision {
11124
11155
  */
11125
11156
  'weight'?: number | null;
11126
11157
  }
11158
+ /**
11159
+ * Dependency action produced while cloning a shared TaskAgent.
11160
+ * @export
11161
+ * @interface TaskAgentCloneDependencyReportItem
11162
+ */
11163
+ export interface TaskAgentCloneDependencyReportItem {
11164
+ /**
11165
+ *
11166
+ * @type {string}
11167
+ * @memberof TaskAgentCloneDependencyReportItem
11168
+ */
11169
+ 'kind': TaskAgentCloneDependencyReportItemKindEnum;
11170
+ /**
11171
+ *
11172
+ * @type {string}
11173
+ * @memberof TaskAgentCloneDependencyReportItem
11174
+ */
11175
+ 'source_id'?: string | null;
11176
+ /**
11177
+ *
11178
+ * @type {string}
11179
+ * @memberof TaskAgentCloneDependencyReportItem
11180
+ */
11181
+ 'target_id'?: string | null;
11182
+ /**
11183
+ *
11184
+ * @type {string}
11185
+ * @memberof TaskAgentCloneDependencyReportItem
11186
+ */
11187
+ 'name'?: string | null;
11188
+ /**
11189
+ *
11190
+ * @type {string}
11191
+ * @memberof TaskAgentCloneDependencyReportItem
11192
+ */
11193
+ 'action': TaskAgentCloneDependencyReportItemActionEnum;
11194
+ /**
11195
+ *
11196
+ * @type {string}
11197
+ * @memberof TaskAgentCloneDependencyReportItem
11198
+ */
11199
+ 'status': TaskAgentCloneDependencyReportItemStatusEnum;
11200
+ /**
11201
+ *
11202
+ * @type {string}
11203
+ * @memberof TaskAgentCloneDependencyReportItem
11204
+ */
11205
+ 'reason'?: string | null;
11206
+ /**
11207
+ *
11208
+ * @type {string}
11209
+ * @memberof TaskAgentCloneDependencyReportItem
11210
+ */
11211
+ 'message'?: string | null;
11212
+ }
11213
+
11214
+ export const TaskAgentCloneDependencyReportItemKindEnum = {
11215
+ Task: 'task',
11216
+ TaskRevision: 'task_revision',
11217
+ Skill: 'skill',
11218
+ SkillRevision: 'skill_revision',
11219
+ Integration: 'integration',
11220
+ IntegrationTool: 'integration_tool',
11221
+ McpServer: 'mcp_server',
11222
+ McpTool: 'mcp_tool',
11223
+ RegisteredTool: 'registered_tool',
11224
+ LlmModel: 'llm_model'
11225
+ } as const;
11226
+
11227
+ export type TaskAgentCloneDependencyReportItemKindEnum = typeof TaskAgentCloneDependencyReportItemKindEnum[keyof typeof TaskAgentCloneDependencyReportItemKindEnum];
11228
+ export const TaskAgentCloneDependencyReportItemActionEnum = {
11229
+ Cloned: 'cloned',
11230
+ Reused: 'reused',
11231
+ CreatedPlaceholder: 'created_placeholder',
11232
+ Preserved: 'preserved',
11233
+ Skipped: 'skipped',
11234
+ Failed: 'failed'
11235
+ } as const;
11236
+
11237
+ export type TaskAgentCloneDependencyReportItemActionEnum = typeof TaskAgentCloneDependencyReportItemActionEnum[keyof typeof TaskAgentCloneDependencyReportItemActionEnum];
11238
+ export const TaskAgentCloneDependencyReportItemStatusEnum = {
11239
+ Ready: 'ready',
11240
+ SetupRequired: 'setup_required',
11241
+ Warning: 'warning',
11242
+ Failed: 'failed'
11243
+ } as const;
11244
+
11245
+ export type TaskAgentCloneDependencyReportItemStatusEnum = typeof TaskAgentCloneDependencyReportItemStatusEnum[keyof typeof TaskAgentCloneDependencyReportItemStatusEnum];
11246
+
11247
+ /**
11248
+ * Result wrapper for authenticated TaskAgent share clone.
11249
+ * @export
11250
+ * @interface TaskAgentCloneResult
11251
+ */
11252
+ export interface TaskAgentCloneResult {
11253
+ /**
11254
+ *
11255
+ * @type {TaskAgentRead}
11256
+ * @memberof TaskAgentCloneResult
11257
+ */
11258
+ 'task_agent': TaskAgentRead;
11259
+ /**
11260
+ *
11261
+ * @type {boolean}
11262
+ * @memberof TaskAgentCloneResult
11263
+ */
11264
+ 'runnable': boolean;
11265
+ /**
11266
+ *
11267
+ * @type {Array<TaskAgentCloneDependencyReportItem>}
11268
+ * @memberof TaskAgentCloneResult
11269
+ */
11270
+ 'dependency_report'?: Array<TaskAgentCloneDependencyReportItem>;
11271
+ }
11127
11272
  /**
11128
11273
  * Schema for creating a TaskAgent. ``registered_tools`` are intentionally omitted from the public write contract. They remain skill-managed and internal-only.
11129
11274
  * @export
@@ -11522,12 +11667,6 @@ export interface TaskAgentIntegrationRead {
11522
11667
  * @memberof TaskAgentIntegrationRead
11523
11668
  */
11524
11669
  'allowed_tool_ids'?: Array<string> | null;
11525
- /**
11526
- * Number of integration tools available to the agent.
11527
- * @type {number}
11528
- * @memberof TaskAgentIntegrationRead
11529
- */
11530
- 'tool_count': number;
11531
11670
  /**
11532
11671
  *
11533
11672
  * @type {string}
@@ -11552,6 +11691,12 @@ export interface TaskAgentIntegrationRead {
11552
11691
  * @memberof TaskAgentIntegrationRead
11553
11692
  */
11554
11693
  'source_capability_id'?: string | null;
11694
+ /**
11695
+ * Number of integration tools available to the agent.
11696
+ * @type {number}
11697
+ * @memberof TaskAgentIntegrationRead
11698
+ */
11699
+ 'tool_count': number;
11555
11700
  }
11556
11701
 
11557
11702
  export const TaskAgentIntegrationReadIntegrationTypeEnum = {
@@ -11631,12 +11776,6 @@ export interface TaskAgentMcpServerRead {
11631
11776
  * @memberof TaskAgentMcpServerRead
11632
11777
  */
11633
11778
  'allowed_tool_ids'?: Array<string> | null;
11634
- /**
11635
- * Number of tools available to the agent.
11636
- * @type {number}
11637
- * @memberof TaskAgentMcpServerRead
11638
- */
11639
- 'tool_count': number;
11640
11779
  /**
11641
11780
  *
11642
11781
  * @type {string}
@@ -11661,6 +11800,12 @@ export interface TaskAgentMcpServerRead {
11661
11800
  * @memberof TaskAgentMcpServerRead
11662
11801
  */
11663
11802
  'source_capability_id'?: string | null;
11803
+ /**
11804
+ * Number of tools available to the agent.
11805
+ * @type {number}
11806
+ * @memberof TaskAgentMcpServerRead
11807
+ */
11808
+ 'tool_count': number;
11664
11809
  }
11665
11810
 
11666
11811
  export const TaskAgentMcpServerReadProvisionSourceEnum = {
@@ -11772,12 +11917,6 @@ export interface TaskAgentRegisteredToolRead {
11772
11917
  * @memberof TaskAgentRegisteredToolRead
11773
11918
  */
11774
11919
  'registered_tool_version': string;
11775
- /**
11776
- * Human-readable name of the registered first-party tool.
11777
- * @type {string}
11778
- * @memberof TaskAgentRegisteredToolRead
11779
- */
11780
- 'name': string;
11781
11920
  /**
11782
11921
  * Attachment order (0-indexed).
11783
11922
  * @type {number}
@@ -11791,41 +11930,47 @@ export interface TaskAgentRegisteredToolRead {
11791
11930
  */
11792
11931
  'enabled': boolean;
11793
11932
  /**
11794
- * Concrete tool names reserved by this registered tool.
11795
- * @type {Array<string>}
11933
+ *
11934
+ * @type {string}
11796
11935
  * @memberof TaskAgentRegisteredToolRead
11797
11936
  */
11798
- 'tool_names'?: Array<string>;
11937
+ 'provision_source': TaskAgentRegisteredToolReadProvisionSourceEnum;
11799
11938
  /**
11800
- * Optional description of the registered tool capability.
11939
+ *
11801
11940
  * @type {string}
11802
11941
  * @memberof TaskAgentRegisteredToolRead
11803
11942
  */
11804
- 'description'?: string | null;
11943
+ 'source_skill_id'?: string | null;
11805
11944
  /**
11806
11945
  *
11807
11946
  * @type {string}
11808
11947
  * @memberof TaskAgentRegisteredToolRead
11809
11948
  */
11810
- 'provision_source': TaskAgentRegisteredToolReadProvisionSourceEnum;
11949
+ 'source_skill_revision_id'?: string | null;
11811
11950
  /**
11812
11951
  *
11813
11952
  * @type {string}
11814
11953
  * @memberof TaskAgentRegisteredToolRead
11815
11954
  */
11816
- 'source_skill_id'?: string | null;
11955
+ 'source_capability_id'?: string | null;
11817
11956
  /**
11818
- *
11957
+ * Human-readable name of the registered first-party tool.
11819
11958
  * @type {string}
11820
11959
  * @memberof TaskAgentRegisteredToolRead
11821
11960
  */
11822
- 'source_skill_revision_id'?: string | null;
11961
+ 'name': string;
11823
11962
  /**
11824
- *
11963
+ * Concrete tool names reserved by this registered tool.
11964
+ * @type {Array<string>}
11965
+ * @memberof TaskAgentRegisteredToolRead
11966
+ */
11967
+ 'tool_names': Array<string>;
11968
+ /**
11969
+ * Optional description of the registered tool capability.
11825
11970
  * @type {string}
11826
11971
  * @memberof TaskAgentRegisteredToolRead
11827
11972
  */
11828
- 'source_capability_id'?: string | null;
11973
+ 'description': string | null;
11829
11974
  }
11830
11975
 
11831
11976
  export const TaskAgentRegisteredToolReadProvisionSourceEnum = {
@@ -12433,6 +12578,140 @@ export interface TaskAgentSessionSummary {
12433
12578
  */
12434
12579
  'total_charged_credits': string;
12435
12580
  }
12581
+ /**
12582
+ * Authenticated TaskAgent share response.
12583
+ * @export
12584
+ * @interface TaskAgentShare
12585
+ */
12586
+ export interface TaskAgentShare {
12587
+ /**
12588
+ *
12589
+ * @type {string}
12590
+ * @memberof TaskAgentShare
12591
+ */
12592
+ 'title'?: string | null;
12593
+ /**
12594
+ *
12595
+ * @type {string}
12596
+ * @memberof TaskAgentShare
12597
+ */
12598
+ 'description'?: string | null;
12599
+ /**
12600
+ *
12601
+ * @type {string}
12602
+ * @memberof TaskAgentShare
12603
+ */
12604
+ 'expires_at'?: string | null;
12605
+ /**
12606
+ *
12607
+ * @type {string}
12608
+ * @memberof TaskAgentShare
12609
+ */
12610
+ 'id': string;
12611
+ /**
12612
+ *
12613
+ * @type {string}
12614
+ * @memberof TaskAgentShare
12615
+ */
12616
+ 'project_id': string;
12617
+ /**
12618
+ *
12619
+ * @type {string}
12620
+ * @memberof TaskAgentShare
12621
+ */
12622
+ 'task_agent_id': string;
12623
+ /**
12624
+ *
12625
+ * @type {string}
12626
+ * @memberof TaskAgentShare
12627
+ */
12628
+ 'task_agent_revision_id': string;
12629
+ /**
12630
+ *
12631
+ * @type {string}
12632
+ * @memberof TaskAgentShare
12633
+ */
12634
+ 'user_id': string;
12635
+ /**
12636
+ *
12637
+ * @type {string}
12638
+ * @memberof TaskAgentShare
12639
+ */
12640
+ 'task_agent_name': string;
12641
+ /**
12642
+ *
12643
+ * @type {string}
12644
+ * @memberof TaskAgentShare
12645
+ */
12646
+ 'short_id': string;
12647
+ /**
12648
+ *
12649
+ * @type {number}
12650
+ * @memberof TaskAgentShare
12651
+ */
12652
+ 'views_count': number;
12653
+ /**
12654
+ *
12655
+ * @type {boolean}
12656
+ * @memberof TaskAgentShare
12657
+ */
12658
+ 'active': boolean;
12659
+ /**
12660
+ *
12661
+ * @type {string}
12662
+ * @memberof TaskAgentShare
12663
+ */
12664
+ 'created': string;
12665
+ /**
12666
+ *
12667
+ * @type {string}
12668
+ * @memberof TaskAgentShare
12669
+ */
12670
+ 'modified'?: string | null;
12671
+ /**
12672
+ *
12673
+ * @type {string}
12674
+ * @memberof TaskAgentShare
12675
+ */
12676
+ 'share_url': string;
12677
+ }
12678
+ /**
12679
+ * Request schema for creating a TaskAgent share.
12680
+ * @export
12681
+ * @interface TaskAgentShareCreate
12682
+ */
12683
+ export interface TaskAgentShareCreate {
12684
+ /**
12685
+ *
12686
+ * @type {string}
12687
+ * @memberof TaskAgentShareCreate
12688
+ */
12689
+ 'title'?: string | null;
12690
+ /**
12691
+ *
12692
+ * @type {string}
12693
+ * @memberof TaskAgentShareCreate
12694
+ */
12695
+ 'description'?: string | null;
12696
+ /**
12697
+ *
12698
+ * @type {string}
12699
+ * @memberof TaskAgentShareCreate
12700
+ */
12701
+ 'expires_at'?: string | null;
12702
+ /**
12703
+ * Optional pinned TaskAgent revision. Defaults to the active revision.
12704
+ * @type {string}
12705
+ * @memberof TaskAgentShareCreate
12706
+ */
12707
+ 'task_agent_revision_id'?: string | null;
12708
+ /**
12709
+ * Optional custom public short ID.
12710
+ * @type {string}
12711
+ * @memberof TaskAgentShareCreate
12712
+ */
12713
+ 'custom_short_id'?: string | null;
12714
+ }
12436
12715
  /**
12437
12716
  * Declarative skill to attach to a TaskAgent.
12438
12717
  * @export
@@ -15148,6 +15427,20 @@ export const TriggerTargetType = {
15148
15427
  export type TriggerTargetType = typeof TriggerTargetType[keyof typeof TriggerTargetType];
15149
15428
 
15150
15429
 
15430
+ /**
15431
+ * Supported trigger types.
15432
+ * @export
15433
+ * @enum {string}
15434
+ */
15435
+
15436
+ export const TriggerType = {
15437
+ Webhook: 'webhook',
15438
+ Schedule: 'schedule'
15439
+ } as const;
15440
+
15441
+ export type TriggerType = typeof TriggerType[keyof typeof TriggerType];
15442
+
15443
+
15151
15444
  /**
15152
15445
  * Request schema for updating expired trials.
15153
15446
  * @export
@@ -32179,17 +32472,17 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
32179
32472
  * @summary Set Project Config
32180
32473
  * @param {string} orgId
32181
32474
  * @param {string} projectId
32182
- * @param {ProjectConfigInput} projectConfigInput
32475
+ * @param {ProjectConfig} projectConfig
32183
32476
  * @param {*} [options] Override http request option.
32184
32477
  * @throws {RequiredError}
32185
32478
  */
32186
- updateProjectConfig: async (orgId: string, projectId: string, projectConfigInput: ProjectConfigInput, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32479
+ updateProjectConfig: async (orgId: string, projectId: string, projectConfig: ProjectConfig, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32187
32480
  // verify required parameter 'orgId' is not null or undefined
32188
32481
  assertParamExists('updateProjectConfig', 'orgId', orgId)
32189
32482
  // verify required parameter 'projectId' is not null or undefined
32190
32483
  assertParamExists('updateProjectConfig', 'projectId', projectId)
32191
- // verify required parameter 'projectConfigInput' is not null or undefined
32192
- assertParamExists('updateProjectConfig', 'projectConfigInput', projectConfigInput)
32484
+ // verify required parameter 'projectConfig' is not null or undefined
32485
+ assertParamExists('updateProjectConfig', 'projectConfig', projectConfig)
32193
32486
  const localVarPath = `/org/{org_id}/project/{project_id}/config`
32194
32487
  .replace(`{${"org_id"}}`, encodeURIComponent(String(orgId)))
32195
32488
  .replace(`{${"project_id"}}`, encodeURIComponent(String(projectId)));
@@ -32215,7 +32508,7 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
32215
32508
  setSearchParams(localVarUrlObj, localVarQueryParameter);
32216
32509
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32217
32510
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32218
- localVarRequestOptions.data = serializeDataIfNeeded(projectConfigInput, localVarRequestOptions, configuration)
32511
+ localVarRequestOptions.data = serializeDataIfNeeded(projectConfig, localVarRequestOptions, configuration)
32219
32512
 
32220
32513
  return {
32221
32514
  url: toPathString(localVarUrlObj),
@@ -32282,7 +32575,7 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
32282
32575
  * @param {*} [options] Override http request option.
32283
32576
  * @throws {RequiredError}
32284
32577
  */
32285
- async getProjectConfig(orgId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectConfigOutput>> {
32578
+ async getProjectConfig(orgId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectConfig>> {
32286
32579
  const localVarAxiosArgs = await localVarAxiosParamCreator.getProjectConfig(orgId, projectId, options);
32287
32580
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32288
32581
  const localVarOperationServerBasePath = operationServerMap['ProjectsApi.getProjectConfig']?.[localVarOperationServerIndex]?.url;
@@ -32399,12 +32692,12 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
32399
32692
  * @summary Set Project Config
32400
32693
  * @param {string} orgId
32401
32694
  * @param {string} projectId
32402
- * @param {ProjectConfigInput} projectConfigInput
32695
+ * @param {ProjectConfig} projectConfig
32403
32696
  * @param {*} [options] Override http request option.
32404
32697
  * @throws {RequiredError}
32405
32698
  */
32406
- async updateProjectConfig(orgId: string, projectId: string, projectConfigInput: ProjectConfigInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectConfigOutput>> {
32407
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateProjectConfig(orgId, projectId, projectConfigInput, options);
32699
+ async updateProjectConfig(orgId: string, projectId: string, projectConfig: ProjectConfig, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectConfig>> {
32700
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateProjectConfig(orgId, projectId, projectConfig, options);
32408
32701
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32409
32702
  const localVarOperationServerBasePath = operationServerMap['ProjectsApi.updateProjectConfig']?.[localVarOperationServerIndex]?.url;
32410
32703
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -32460,7 +32753,7 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
32460
32753
  * @param {*} [options] Override http request option.
32461
32754
  * @throws {RequiredError}
32462
32755
  */
32463
- getProjectConfig(orgId: string, projectId: string, options?: any): AxiosPromise<ProjectConfigOutput> {
32756
+ getProjectConfig(orgId: string, projectId: string, options?: any): AxiosPromise<ProjectConfig> {
32464
32757
  return localVarFp.getProjectConfig(orgId, projectId, options).then((request) => request(axios, basePath));
32465
32758
  },
32466
32759
  /**
@@ -32553,12 +32846,12 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
32553
32846
  * @summary Set Project Config
32554
32847
  * @param {string} orgId
32555
32848
  * @param {string} projectId
32556
- * @param {ProjectConfigInput} projectConfigInput
32849
+ * @param {ProjectConfig} projectConfig
32557
32850
  * @param {*} [options] Override http request option.
32558
32851
  * @throws {RequiredError}
32559
32852
  */
32560
- updateProjectConfig(orgId: string, projectId: string, projectConfigInput: ProjectConfigInput, options?: any): AxiosPromise<ProjectConfigOutput> {
32561
- return localVarFp.updateProjectConfig(orgId, projectId, projectConfigInput, options).then((request) => request(axios, basePath));
32853
+ updateProjectConfig(orgId: string, projectId: string, projectConfig: ProjectConfig, options?: any): AxiosPromise<ProjectConfig> {
32854
+ return localVarFp.updateProjectConfig(orgId, projectId, projectConfig, options).then((request) => request(axios, basePath));
32562
32855
  },
32563
32856
  };
32564
32857
  };
@@ -32726,13 +33019,13 @@ export class ProjectsApi extends BaseAPI {
32726
33019
  * @summary Set Project Config
32727
33020
  * @param {string} orgId
32728
33021
  * @param {string} projectId
32729
- * @param {ProjectConfigInput} projectConfigInput
33022
+ * @param {ProjectConfig} projectConfig
32730
33023
  * @param {*} [options] Override http request option.
32731
33024
  * @throws {RequiredError}
32732
33025
  * @memberof ProjectsApi
32733
33026
  */
32734
- public updateProjectConfig(orgId: string, projectId: string, projectConfigInput: ProjectConfigInput, options?: RawAxiosRequestConfig) {
32735
- return ProjectsApiFp(this.configuration).updateProjectConfig(orgId, projectId, projectConfigInput, options).then((request) => request(this.axios, this.basePath));
33027
+ public updateProjectConfig(orgId: string, projectId: string, projectConfig: ProjectConfig, options?: RawAxiosRequestConfig) {
33028
+ return ProjectsApiFp(this.configuration).updateProjectConfig(orgId, projectId, projectConfig, options).then((request) => request(this.axios, this.basePath));
32736
33029
  }
32737
33030
  }
32738
33031
 
@@ -33428,6 +33721,78 @@ export const ScheduleTriggersApiAxiosParamCreator = function (configuration?: Co
33428
33721
 
33429
33722
 
33430
33723
 
33724
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
33725
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33726
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33727
+
33728
+ return {
33729
+ url: toPathString(localVarUrlObj),
33730
+ options: localVarRequestOptions,
33731
+ };
33732
+ },
33733
+ /**
33734
+ * List execution history for schedule triggers in the project.
33735
+ * @summary List project schedule trigger events
33736
+ * @param {string} orgId The organization ID
33737
+ * @param {string} projectId The project ID
33738
+ * @param {string | null} [cursor] A cursor for pagination. Use the &#x60;next_cursor&#x60; value from the previous response to get the next page of results.
33739
+ * @param {number} [pageLimit] The maximum number of items to return per page. Defaults to &#x60;100&#x60; if not specified.
33740
+ * @param {string | null} [status]
33741
+ * @param {TriggerType} [triggerType]
33742
+ * @param {TriggerTargetType} [targetType]
33743
+ * @param {string | null} [targetId]
33744
+ * @param {*} [options] Override http request option.
33745
+ * @throws {RequiredError}
33746
+ */
33747
+ listProjectScheduleTriggerEvents: async (orgId: string, projectId: string, cursor?: string | null, pageLimit?: number, status?: string | null, triggerType?: TriggerType, targetType?: TriggerTargetType, targetId?: string | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
33748
+ // verify required parameter 'orgId' is not null or undefined
33749
+ assertParamExists('listProjectScheduleTriggerEvents', 'orgId', orgId)
33750
+ // verify required parameter 'projectId' is not null or undefined
33751
+ assertParamExists('listProjectScheduleTriggerEvents', 'projectId', projectId)
33752
+ const localVarPath = `/org/{org_id}/project/{project_id}/trigger/schedule/events`
33753
+ .replace(`{${"org_id"}}`, encodeURIComponent(String(orgId)))
33754
+ .replace(`{${"project_id"}}`, encodeURIComponent(String(projectId)));
33755
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
33756
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33757
+ let baseOptions;
33758
+ if (configuration) {
33759
+ baseOptions = configuration.baseOptions;
33760
+ }
33761
+
33762
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
33763
+ const localVarHeaderParameter = {} as any;
33764
+ const localVarQueryParameter = {} as any;
33765
+
33766
+ // authentication HTTPBearer required
33767
+ // http bearer authentication required
33768
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
33769
+
33770
+ if (cursor !== undefined) {
33771
+ localVarQueryParameter['cursor'] = cursor;
33772
+ }
33773
+
33774
+ if (pageLimit !== undefined) {
33775
+ localVarQueryParameter['page_limit'] = pageLimit;
33776
+ }
33777
+
33778
+ if (status !== undefined) {
33779
+ localVarQueryParameter['status'] = status;
33780
+ }
33781
+
33782
+ if (triggerType !== undefined) {
33783
+ localVarQueryParameter['trigger_type'] = triggerType;
33784
+ }
33785
+
33786
+ if (targetType !== undefined) {
33787
+ localVarQueryParameter['target_type'] = targetType;
33788
+ }
33789
+
33790
+ if (targetId !== undefined) {
33791
+ localVarQueryParameter['target_id'] = targetId;
33792
+ }
33793
+
33794
+
33795
+
33431
33796
  setSearchParams(localVarUrlObj, localVarQueryParameter);
33432
33797
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33433
33798
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -33621,6 +33986,26 @@ export const ScheduleTriggersApiFp = function(configuration?: Configuration) {
33621
33986
  const localVarOperationServerBasePath = operationServerMap['ScheduleTriggersApi.getScheduleTriggerEvent']?.[localVarOperationServerIndex]?.url;
33622
33987
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
33623
33988
  },
33989
+ /**
33990
+ * List execution history for schedule triggers in the project.
33991
+ * @summary List project schedule trigger events
33992
+ * @param {string} orgId The organization ID
33993
+ * @param {string} projectId The project ID
33994
+ * @param {string | null} [cursor] A cursor for pagination. Use the &#x60;next_cursor&#x60; value from the previous response to get the next page of results.
33995
+ * @param {number} [pageLimit] The maximum number of items to return per page. Defaults to &#x60;100&#x60; if not specified.
33996
+ * @param {string | null} [status]
33997
+ * @param {TriggerType} [triggerType]
33998
+ * @param {TriggerTargetType} [targetType]
33999
+ * @param {string | null} [targetId]
34000
+ * @param {*} [options] Override http request option.
34001
+ * @throws {RequiredError}
34002
+ */
34003
+ async listProjectScheduleTriggerEvents(orgId: string, projectId: string, cursor?: string | null, pageLimit?: number, status?: string | null, triggerType?: TriggerType, targetType?: TriggerTargetType, targetId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedResultSetScheduleTriggerEventResponse>> {
34004
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listProjectScheduleTriggerEvents(orgId, projectId, cursor, pageLimit, status, triggerType, targetType, targetId, options);
34005
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
34006
+ const localVarOperationServerBasePath = operationServerMap['ScheduleTriggersApi.listProjectScheduleTriggerEvents']?.[localVarOperationServerIndex]?.url;
34007
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
34008
+ },
33624
34009
  /**
33625
34010
  * List execution history for a schedule trigger.
33626
34011
  * @summary List schedule trigger events
@@ -33714,6 +34099,23 @@ export const ScheduleTriggersApiFactory = function (configuration?: Configuratio
33714
34099
  getScheduleTriggerEvent(orgId: string, projectId: string, triggerId: string, eventId: string, options?: any): AxiosPromise<ScheduleTriggerEventDetailResponse> {
33715
34100
  return localVarFp.getScheduleTriggerEvent(orgId, projectId, triggerId, eventId, options).then((request) => request(axios, basePath));
33716
34101
  },
34102
+ /**
34103
+ * List execution history for schedule triggers in the project.
34104
+ * @summary List project schedule trigger events
34105
+ * @param {string} orgId The organization ID
34106
+ * @param {string} projectId The project ID
34107
+ * @param {string | null} [cursor] A cursor for pagination. Use the &#x60;next_cursor&#x60; value from the previous response to get the next page of results.
34108
+ * @param {number} [pageLimit] The maximum number of items to return per page. Defaults to &#x60;100&#x60; if not specified.
34109
+ * @param {string | null} [status]
34110
+ * @param {TriggerType} [triggerType]
34111
+ * @param {TriggerTargetType} [targetType]
34112
+ * @param {string | null} [targetId]
34113
+ * @param {*} [options] Override http request option.
34114
+ * @throws {RequiredError}
34115
+ */
34116
+ listProjectScheduleTriggerEvents(orgId: string, projectId: string, cursor?: string | null, pageLimit?: number, status?: string | null, triggerType?: TriggerType, targetType?: TriggerTargetType, targetId?: string | null, options?: any): AxiosPromise<PaginatedResultSetScheduleTriggerEventResponse> {
34117
+ return localVarFp.listProjectScheduleTriggerEvents(orgId, projectId, cursor, pageLimit, status, triggerType, targetType, targetId, options).then((request) => request(axios, basePath));
34118
+ },
33717
34119
  /**
33718
34120
  * List execution history for a schedule trigger.
33719
34121
  * @summary List schedule trigger events
@@ -33809,6 +34211,25 @@ export class ScheduleTriggersApi extends BaseAPI {
33809
34211
  return ScheduleTriggersApiFp(this.configuration).getScheduleTriggerEvent(orgId, projectId, triggerId, eventId, options).then((request) => request(this.axios, this.basePath));
33810
34212
  }
33811
34213
 
34214
+ /**
34215
+ * List execution history for schedule triggers in the project.
34216
+ * @summary List project schedule trigger events
34217
+ * @param {string} orgId The organization ID
34218
+ * @param {string} projectId The project ID
34219
+ * @param {string | null} [cursor] A cursor for pagination. Use the &#x60;next_cursor&#x60; value from the previous response to get the next page of results.
34220
+ * @param {number} [pageLimit] The maximum number of items to return per page. Defaults to &#x60;100&#x60; if not specified.
34221
+ * @param {string | null} [status]
34222
+ * @param {TriggerType} [triggerType]
34223
+ * @param {TriggerTargetType} [targetType]
34224
+ * @param {string | null} [targetId]
34225
+ * @param {*} [options] Override http request option.
34226
+ * @throws {RequiredError}
34227
+ * @memberof ScheduleTriggersApi
34228
+ */
34229
+ public listProjectScheduleTriggerEvents(orgId: string, projectId: string, cursor?: string | null, pageLimit?: number, status?: string | null, triggerType?: TriggerType, targetType?: TriggerTargetType, targetId?: string | null, options?: RawAxiosRequestConfig) {
34230
+ return ScheduleTriggersApiFp(this.configuration).listProjectScheduleTriggerEvents(orgId, projectId, cursor, pageLimit, status, triggerType, targetType, targetId, options).then((request) => request(this.axios, this.basePath));
34231
+ }
34232
+
33812
34233
  /**
33813
34234
  * List execution history for a schedule trigger.
33814
34235
  * @summary List schedule trigger events
@@ -36534,6 +36955,52 @@ export const SlackApiAxiosParamCreator = function (configuration?: Configuration
36534
36955
 
36535
36956
 
36536
36957
 
36958
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36959
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36960
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36961
+
36962
+ return {
36963
+ url: toPathString(localVarUrlObj),
36964
+ options: localVarRequestOptions,
36965
+ };
36966
+ },
36967
+ /**
36968
+ * List public and private channels visible to the connected Slack installation.
36969
+ * @summary List Slack Channels
36970
+ * @param {string} orgId The organization ID
36971
+ * @param {string} projectId The project ID
36972
+ * @param {string} installationId
36973
+ * @param {*} [options] Override http request option.
36974
+ * @throws {RequiredError}
36975
+ */
36976
+ listSlackChannels: async (orgId: string, projectId: string, installationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
36977
+ // verify required parameter 'orgId' is not null or undefined
36978
+ assertParamExists('listSlackChannels', 'orgId', orgId)
36979
+ // verify required parameter 'projectId' is not null or undefined
36980
+ assertParamExists('listSlackChannels', 'projectId', projectId)
36981
+ // verify required parameter 'installationId' is not null or undefined
36982
+ assertParamExists('listSlackChannels', 'installationId', installationId)
36983
+ const localVarPath = `/org/{org_id}/project/{project_id}/slack/installations/{installation_id}/channels`
36984
+ .replace(`{${"org_id"}}`, encodeURIComponent(String(orgId)))
36985
+ .replace(`{${"project_id"}}`, encodeURIComponent(String(projectId)))
36986
+ .replace(`{${"installation_id"}}`, encodeURIComponent(String(installationId)));
36987
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36988
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36989
+ let baseOptions;
36990
+ if (configuration) {
36991
+ baseOptions = configuration.baseOptions;
36992
+ }
36993
+
36994
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
36995
+ const localVarHeaderParameter = {} as any;
36996
+ const localVarQueryParameter = {} as any;
36997
+
36998
+ // authentication HTTPBearer required
36999
+ // http bearer authentication required
37000
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
37001
+
37002
+
37003
+
36537
37004
  setSearchParams(localVarUrlObj, localVarQueryParameter);
36538
37005
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36539
37006
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -36794,6 +37261,21 @@ export const SlackApiFp = function(configuration?: Configuration) {
36794
37261
  const localVarOperationServerBasePath = operationServerMap['SlackApi.listSlackChannelMappings']?.[localVarOperationServerIndex]?.url;
36795
37262
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
36796
37263
  },
37264
+ /**
37265
+ * List public and private channels visible to the connected Slack installation.
37266
+ * @summary List Slack Channels
37267
+ * @param {string} orgId The organization ID
37268
+ * @param {string} projectId The project ID
37269
+ * @param {string} installationId
37270
+ * @param {*} [options] Override http request option.
37271
+ * @throws {RequiredError}
37272
+ */
37273
+ async listSlackChannels(orgId: string, projectId: string, installationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SlackChannelResponse>>> {
37274
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSlackChannels(orgId, projectId, installationId, options);
37275
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
37276
+ const localVarOperationServerBasePath = operationServerMap['SlackApi.listSlackChannels']?.[localVarOperationServerIndex]?.url;
37277
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
37278
+ },
36797
37279
  /**
36798
37280
  * List Slack workspace installations configured for the project.
36799
37281
  * @summary List Slack Installations
@@ -36924,6 +37406,18 @@ export const SlackApiFactory = function (configuration?: Configuration, basePath
36924
37406
  listSlackChannelMappings(orgId: string, projectId: string, installationId: string, options?: any): AxiosPromise<Array<SlackChannelMappingResponse>> {
36925
37407
  return localVarFp.listSlackChannelMappings(orgId, projectId, installationId, options).then((request) => request(axios, basePath));
36926
37408
  },
37409
+ /**
37410
+ * List public and private channels visible to the connected Slack installation.
37411
+ * @summary List Slack Channels
37412
+ * @param {string} orgId The organization ID
37413
+ * @param {string} projectId The project ID
37414
+ * @param {string} installationId
37415
+ * @param {*} [options] Override http request option.
37416
+ * @throws {RequiredError}
37417
+ */
37418
+ listSlackChannels(orgId: string, projectId: string, installationId: string, options?: any): AxiosPromise<Array<SlackChannelResponse>> {
37419
+ return localVarFp.listSlackChannels(orgId, projectId, installationId, options).then((request) => request(axios, basePath));
37420
+ },
36927
37421
  /**
36928
37422
  * List Slack workspace installations configured for the project.
36929
37423
  * @summary List Slack Installations
@@ -37057,6 +37551,20 @@ export class SlackApi extends BaseAPI {
37057
37551
  return SlackApiFp(this.configuration).listSlackChannelMappings(orgId, projectId, installationId, options).then((request) => request(this.axios, this.basePath));
37058
37552
  }
37059
37553
 
37554
+ /**
37555
+ * List public and private channels visible to the connected Slack installation.
37556
+ * @summary List Slack Channels
37557
+ * @param {string} orgId The organization ID
37558
+ * @param {string} projectId The project ID
37559
+ * @param {string} installationId
37560
+ * @param {*} [options] Override http request option.
37561
+ * @throws {RequiredError}
37562
+ * @memberof SlackApi
37563
+ */
37564
+ public listSlackChannels(orgId: string, projectId: string, installationId: string, options?: RawAxiosRequestConfig) {
37565
+ return SlackApiFp(this.configuration).listSlackChannels(orgId, projectId, installationId, options).then((request) => request(this.axios, this.basePath));
37566
+ }
37567
+
37060
37568
  /**
37061
37569
  * List Slack workspace installations configured for the project.
37062
37570
  * @summary List Slack Installations
@@ -38003,6 +38511,606 @@ export const UpdateTagEntityTypeEnum = {
38003
38511
  export type UpdateTagEntityTypeEnum = typeof UpdateTagEntityTypeEnum[keyof typeof UpdateTagEntityTypeEnum];
38004
38512
 
38005
38513
 
38514
+ /**
38515
+ * TaskAgentSharesApi - axios parameter creator
38516
+ * @export
38517
+ */
38518
+ export const TaskAgentSharesApiAxiosParamCreator = function (configuration?: Configuration) {
38519
+ return {
38520
+ /**
38521
+ * Clone a shared TaskAgent revision into the target project. Requires `project:create_task_agent` on the target project. The clone path commits new database rows before writing IAM relationships, never copies source IAM relationships, and conditionally checks dependency-specific create permissions before cloning Tasks, Skills, integrations, or MCP servers. The response includes a dependency report. `runnable=false` means at least one dependency requires setup, such as reauthorizing a copied integration or MCP server.
38522
+ * @summary Clone Shared TaskAgent
38523
+ * @param {string} shortId TaskAgent share short ID
38524
+ * @param {string} orgId The organization ID
38525
+ * @param {string} projectId The project ID
38526
+ * @param {*} [options] Override http request option.
38527
+ * @throws {RequiredError}
38528
+ */
38529
+ cloneSharedTaskAgent: async (shortId: string, orgId: string, projectId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
38530
+ // verify required parameter 'shortId' is not null or undefined
38531
+ assertParamExists('cloneSharedTaskAgent', 'shortId', shortId)
38532
+ // verify required parameter 'orgId' is not null or undefined
38533
+ assertParamExists('cloneSharedTaskAgent', 'orgId', orgId)
38534
+ // verify required parameter 'projectId' is not null or undefined
38535
+ assertParamExists('cloneSharedTaskAgent', 'projectId', projectId)
38536
+ const localVarPath = `/org/{org_id}/project/{project_id}/task-agent/clone/{short_id}`
38537
+ .replace(`{${"short_id"}}`, encodeURIComponent(String(shortId)))
38538
+ .replace(`{${"org_id"}}`, encodeURIComponent(String(orgId)))
38539
+ .replace(`{${"project_id"}}`, encodeURIComponent(String(projectId)));
38540
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
38541
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
38542
+ let baseOptions;
38543
+ if (configuration) {
38544
+ baseOptions = configuration.baseOptions;
38545
+ }
38546
+
38547
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
38548
+ const localVarHeaderParameter = {} as any;
38549
+ const localVarQueryParameter = {} as any;
38550
+
38551
+ // authentication HTTPBearer required
38552
+ // http bearer authentication required
38553
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
38554
+
38555
+
38556
+
38557
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
38558
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
38559
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
38560
+
38561
+ return {
38562
+ url: toPathString(localVarUrlObj),
38563
+ options: localVarRequestOptions,
38564
+ };
38565
+ },
38566
+ /**
38567
+ * Create a public share link for a TaskAgent revision. Requires `task_agent:edit` on the parent TaskAgent. If `task_agent_revision_id` is omitted, the active revision is shared. Custom short IDs must be unique and match the schema constraints; generated short IDs use high-entropy random characters.
38568
+ * @summary Create TaskAgent Share
38569
+ * @param {string} orgId The organization ID
38570
+ * @param {string} projectId The project ID
38571
+ * @param {string} taskAgentId The task agent ID
38572
+ * @param {TaskAgentShareCreate} taskAgentShareCreate
38573
+ * @param {*} [options] Override http request option.
38574
+ * @throws {RequiredError}
38575
+ */
38576
+ createTaskAgentShare: async (orgId: string, projectId: string, taskAgentId: string, taskAgentShareCreate: TaskAgentShareCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
38577
+ // verify required parameter 'orgId' is not null or undefined
38578
+ assertParamExists('createTaskAgentShare', 'orgId', orgId)
38579
+ // verify required parameter 'projectId' is not null or undefined
38580
+ assertParamExists('createTaskAgentShare', 'projectId', projectId)
38581
+ // verify required parameter 'taskAgentId' is not null or undefined
38582
+ assertParamExists('createTaskAgentShare', 'taskAgentId', taskAgentId)
38583
+ // verify required parameter 'taskAgentShareCreate' is not null or undefined
38584
+ assertParamExists('createTaskAgentShare', 'taskAgentShareCreate', taskAgentShareCreate)
38585
+ const localVarPath = `/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/share`
38586
+ .replace(`{${"org_id"}}`, encodeURIComponent(String(orgId)))
38587
+ .replace(`{${"project_id"}}`, encodeURIComponent(String(projectId)))
38588
+ .replace(`{${"task_agent_id"}}`, encodeURIComponent(String(taskAgentId)));
38589
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
38590
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
38591
+ let baseOptions;
38592
+ if (configuration) {
38593
+ baseOptions = configuration.baseOptions;
38594
+ }
38595
+
38596
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
38597
+ const localVarHeaderParameter = {} as any;
38598
+ const localVarQueryParameter = {} as any;
38599
+
38600
+ // authentication HTTPBearer required
38601
+ // http bearer authentication required
38602
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
38603
+
38604
+
38605
+
38606
+ localVarHeaderParameter['Content-Type'] = 'application/json';
38607
+
38608
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
38609
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
38610
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
38611
+ localVarRequestOptions.data = serializeDataIfNeeded(taskAgentShareCreate, localVarRequestOptions, configuration)
38612
+
38613
+ return {
38614
+ url: toPathString(localVarUrlObj),
38615
+ options: localVarRequestOptions,
38616
+ };
38617
+ },
38618
+ /**
38619
+ * Return a public TaskAgent share page or sanitized public data. Browser/default requests render a human-readable HTML share page. Clients that send `Accept: application/json`, `application/yaml`, or `text/yaml` receive sanitized public data. The public DTO is allowlisted. It intentionally includes operational configuration needed to understand the shared agent, such as input processor configuration and tool names, but redacts credentials, tokens, auth configs, ciphertext, connected user IDs, source-project provenance, tags, runs, files, and sessions. Public paths remain present in OpenAPI for schema generation but are marked `x-fern-ignore` by the `/public/_*` OpenAPI configuration.
38620
+ * @summary Get Public TaskAgent Share
38621
+ * @param {string} shortId TaskAgent share short ID
38622
+ * @param {string | null} [accept]
38623
+ * @param {*} [options] Override http request option.
38624
+ * @throws {RequiredError}
38625
+ */
38626
+ getPublicTaskAgentShare: async (shortId: string, accept?: string | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
38627
+ // verify required parameter 'shortId' is not null or undefined
38628
+ assertParamExists('getPublicTaskAgentShare', 'shortId', shortId)
38629
+ const localVarPath = `/public/task_agent_share/{short_id}`
38630
+ .replace(`{${"short_id"}}`, encodeURIComponent(String(shortId)));
38631
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
38632
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
38633
+ let baseOptions;
38634
+ if (configuration) {
38635
+ baseOptions = configuration.baseOptions;
38636
+ }
38637
+
38638
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
38639
+ const localVarHeaderParameter = {} as any;
38640
+ const localVarQueryParameter = {} as any;
38641
+
38642
+ if (accept != null) {
38643
+ localVarHeaderParameter['accept'] = String(accept);
38644
+ }
38645
+
38646
+
38647
+
38648
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
38649
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
38650
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
38651
+
38652
+ return {
38653
+ url: toPathString(localVarUrlObj),
38654
+ options: localVarRequestOptions,
38655
+ };
38656
+ },
38657
+ /**
38658
+ * List TaskAgent shares in a project. TaskAgent shares are public share records scoped to the requested project. The endpoint does not expose share-specific IAM.
38659
+ * @summary List Project TaskAgent Shares
38660
+ * @param {string} orgId The organization ID
38661
+ * @param {string} projectId The project ID
38662
+ * @param {boolean | null} [active] Filter by active status
38663
+ * @param {string | null} [taskAgentId] Filter by specific TaskAgent ID
38664
+ * @param {string | null} [taskAgentName] Filter by TaskAgent name (partial, case-insensitive)
38665
+ * @param {string | null} [cursor] A cursor for pagination. Use the &#x60;next_cursor&#x60; value from the previous response to get the next page of results.
38666
+ * @param {number} [pageLimit] The maximum number of items to return per page. Defaults to &#x60;100&#x60; if not specified.
38667
+ * @param {*} [options] Override http request option.
38668
+ * @throws {RequiredError}
38669
+ */
38670
+ listProjectTaskAgentShares: async (orgId: string, projectId: string, active?: boolean | null, taskAgentId?: string | null, taskAgentName?: string | null, cursor?: string | null, pageLimit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
38671
+ // verify required parameter 'orgId' is not null or undefined
38672
+ assertParamExists('listProjectTaskAgentShares', 'orgId', orgId)
38673
+ // verify required parameter 'projectId' is not null or undefined
38674
+ assertParamExists('listProjectTaskAgentShares', 'projectId', projectId)
38675
+ const localVarPath = `/org/{org_id}/project/{project_id}/task_agent_share`
38676
+ .replace(`{${"org_id"}}`, encodeURIComponent(String(orgId)))
38677
+ .replace(`{${"project_id"}}`, encodeURIComponent(String(projectId)));
38678
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
38679
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
38680
+ let baseOptions;
38681
+ if (configuration) {
38682
+ baseOptions = configuration.baseOptions;
38683
+ }
38684
+
38685
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
38686
+ const localVarHeaderParameter = {} as any;
38687
+ const localVarQueryParameter = {} as any;
38688
+
38689
+ // authentication HTTPBearer required
38690
+ // http bearer authentication required
38691
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
38692
+
38693
+ if (active !== undefined) {
38694
+ localVarQueryParameter['active'] = active;
38695
+ }
38696
+
38697
+ if (taskAgentId !== undefined) {
38698
+ localVarQueryParameter['task_agent_id'] = taskAgentId;
38699
+ }
38700
+
38701
+ if (taskAgentName !== undefined) {
38702
+ localVarQueryParameter['task_agent_name'] = taskAgentName;
38703
+ }
38704
+
38705
+ if (cursor !== undefined) {
38706
+ localVarQueryParameter['cursor'] = cursor;
38707
+ }
38708
+
38709
+ if (pageLimit !== undefined) {
38710
+ localVarQueryParameter['page_limit'] = pageLimit;
38711
+ }
38712
+
38713
+
38714
+
38715
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
38716
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
38717
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
38718
+
38719
+ return {
38720
+ url: toPathString(localVarUrlObj),
38721
+ options: localVarRequestOptions,
38722
+ };
38723
+ },
38724
+ /**
38725
+ * List share links for a single TaskAgent. Requires `task_agent:view` on the parent TaskAgent. TaskAgentShare does not have an independent IAM surface in v1.
38726
+ * @summary List TaskAgent Shares
38727
+ * @param {string} orgId The organization ID
38728
+ * @param {string} projectId The project ID
38729
+ * @param {string} taskAgentId The task agent ID
38730
+ * @param {*} [options] Override http request option.
38731
+ * @throws {RequiredError}
38732
+ */
38733
+ listTaskAgentShares: async (orgId: string, projectId: string, taskAgentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
38734
+ // verify required parameter 'orgId' is not null or undefined
38735
+ assertParamExists('listTaskAgentShares', 'orgId', orgId)
38736
+ // verify required parameter 'projectId' is not null or undefined
38737
+ assertParamExists('listTaskAgentShares', 'projectId', projectId)
38738
+ // verify required parameter 'taskAgentId' is not null or undefined
38739
+ assertParamExists('listTaskAgentShares', 'taskAgentId', taskAgentId)
38740
+ const localVarPath = `/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/share`
38741
+ .replace(`{${"org_id"}}`, encodeURIComponent(String(orgId)))
38742
+ .replace(`{${"project_id"}}`, encodeURIComponent(String(projectId)))
38743
+ .replace(`{${"task_agent_id"}}`, encodeURIComponent(String(taskAgentId)));
38744
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
38745
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
38746
+ let baseOptions;
38747
+ if (configuration) {
38748
+ baseOptions = configuration.baseOptions;
38749
+ }
38750
+
38751
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
38752
+ const localVarHeaderParameter = {} as any;
38753
+ const localVarQueryParameter = {} as any;
38754
+
38755
+ // authentication HTTPBearer required
38756
+ // http bearer authentication required
38757
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
38758
+
38759
+
38760
+
38761
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
38762
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
38763
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
38764
+
38765
+ return {
38766
+ url: toPathString(localVarUrlObj),
38767
+ options: localVarRequestOptions,
38768
+ };
38769
+ },
38770
+ /**
38771
+ * Revoke a TaskAgent share by setting `active` to false. Requires `task_agent:edit` on the parent TaskAgent. The share record is preserved for management views and analytics.
38772
+ * @summary Revoke TaskAgent Share
38773
+ * @param {string} orgId The organization ID
38774
+ * @param {string} projectId The project ID
38775
+ * @param {string} taskAgentId The task agent ID
38776
+ * @param {string} shareId TaskAgent share ID
38777
+ * @param {*} [options] Override http request option.
38778
+ * @throws {RequiredError}
38779
+ */
38780
+ revokeTaskAgentShare: async (orgId: string, projectId: string, taskAgentId: string, shareId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
38781
+ // verify required parameter 'orgId' is not null or undefined
38782
+ assertParamExists('revokeTaskAgentShare', 'orgId', orgId)
38783
+ // verify required parameter 'projectId' is not null or undefined
38784
+ assertParamExists('revokeTaskAgentShare', 'projectId', projectId)
38785
+ // verify required parameter 'taskAgentId' is not null or undefined
38786
+ assertParamExists('revokeTaskAgentShare', 'taskAgentId', taskAgentId)
38787
+ // verify required parameter 'shareId' is not null or undefined
38788
+ assertParamExists('revokeTaskAgentShare', 'shareId', shareId)
38789
+ const localVarPath = `/org/{org_id}/project/{project_id}/task-agent/{task_agent_id}/share/{share_id}`
38790
+ .replace(`{${"org_id"}}`, encodeURIComponent(String(orgId)))
38791
+ .replace(`{${"project_id"}}`, encodeURIComponent(String(projectId)))
38792
+ .replace(`{${"task_agent_id"}}`, encodeURIComponent(String(taskAgentId)))
38793
+ .replace(`{${"share_id"}}`, encodeURIComponent(String(shareId)));
38794
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
38795
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
38796
+ let baseOptions;
38797
+ if (configuration) {
38798
+ baseOptions = configuration.baseOptions;
38799
+ }
38800
+
38801
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
38802
+ const localVarHeaderParameter = {} as any;
38803
+ const localVarQueryParameter = {} as any;
38804
+
38805
+ // authentication HTTPBearer required
38806
+ // http bearer authentication required
38807
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
38808
+
38809
+
38810
+
38811
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
38812
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
38813
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
38814
+
38815
+ return {
38816
+ url: toPathString(localVarUrlObj),
38817
+ options: localVarRequestOptions,
38818
+ };
38819
+ },
38820
+ }
38821
+ };
38822
+
38823
+ /**
38824
+ * TaskAgentSharesApi - functional programming interface
38825
+ * @export
38826
+ */
38827
+ export const TaskAgentSharesApiFp = function(configuration?: Configuration) {
38828
+ const localVarAxiosParamCreator = TaskAgentSharesApiAxiosParamCreator(configuration)
38829
+ return {
38830
+ /**
38831
+ * Clone a shared TaskAgent revision into the target project. Requires `project:create_task_agent` on the target project. The clone path commits new database rows before writing IAM relationships, never copies source IAM relationships, and conditionally checks dependency-specific create permissions before cloning Tasks, Skills, integrations, or MCP servers. The response includes a dependency report. `runnable=false` means at least one dependency requires setup, such as reauthorizing a copied integration or MCP server.
38832
+ * @summary Clone Shared TaskAgent
38833
+ * @param {string} shortId TaskAgent share short ID
38834
+ * @param {string} orgId The organization ID
38835
+ * @param {string} projectId The project ID
38836
+ * @param {*} [options] Override http request option.
38837
+ * @throws {RequiredError}
38838
+ */
38839
+ async cloneSharedTaskAgent(shortId: string, orgId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskAgentCloneResult>> {
38840
+ const localVarAxiosArgs = await localVarAxiosParamCreator.cloneSharedTaskAgent(shortId, orgId, projectId, options);
38841
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
38842
+ const localVarOperationServerBasePath = operationServerMap['TaskAgentSharesApi.cloneSharedTaskAgent']?.[localVarOperationServerIndex]?.url;
38843
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
38844
+ },
38845
+ /**
38846
+ * Create a public share link for a TaskAgent revision. Requires `task_agent:edit` on the parent TaskAgent. If `task_agent_revision_id` is omitted, the active revision is shared. Custom short IDs must be unique and match the schema constraints; generated short IDs use high-entropy random characters.
38847
+ * @summary Create TaskAgent Share
38848
+ * @param {string} orgId The organization ID
38849
+ * @param {string} projectId The project ID
38850
+ * @param {string} taskAgentId The task agent ID
38851
+ * @param {TaskAgentShareCreate} taskAgentShareCreate
38852
+ * @param {*} [options] Override http request option.
38853
+ * @throws {RequiredError}
38854
+ */
38855
+ async createTaskAgentShare(orgId: string, projectId: string, taskAgentId: string, taskAgentShareCreate: TaskAgentShareCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskAgentShare>> {
38856
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createTaskAgentShare(orgId, projectId, taskAgentId, taskAgentShareCreate, options);
38857
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
38858
+ const localVarOperationServerBasePath = operationServerMap['TaskAgentSharesApi.createTaskAgentShare']?.[localVarOperationServerIndex]?.url;
38859
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
38860
+ },
38861
+ /**
38862
+ * Return a public TaskAgent share page or sanitized public data. Browser/default requests render a human-readable HTML share page. Clients that send `Accept: application/json`, `application/yaml`, or `text/yaml` receive sanitized public data. The public DTO is allowlisted. It intentionally includes operational configuration needed to understand the shared agent, such as input processor configuration and tool names, but redacts credentials, tokens, auth configs, ciphertext, connected user IDs, source-project provenance, tags, runs, files, and sessions. Public paths remain present in OpenAPI for schema generation but are marked `x-fern-ignore` by the `/public/_*` OpenAPI configuration.
38863
+ * @summary Get Public TaskAgent Share
38864
+ * @param {string} shortId TaskAgent share short ID
38865
+ * @param {string | null} [accept]
38866
+ * @param {*} [options] Override http request option.
38867
+ * @throws {RequiredError}
38868
+ */
38869
+ async getPublicTaskAgentShare(shortId: string, accept?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
38870
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPublicTaskAgentShare(shortId, accept, options);
38871
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
38872
+ const localVarOperationServerBasePath = operationServerMap['TaskAgentSharesApi.getPublicTaskAgentShare']?.[localVarOperationServerIndex]?.url;
38873
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
38874
+ },
38875
+ /**
38876
+ * List TaskAgent shares in a project. TaskAgent shares are public share records scoped to the requested project. The endpoint does not expose share-specific IAM.
38877
+ * @summary List Project TaskAgent Shares
38878
+ * @param {string} orgId The organization ID
38879
+ * @param {string} projectId The project ID
38880
+ * @param {boolean | null} [active] Filter by active status
38881
+ * @param {string | null} [taskAgentId] Filter by specific TaskAgent ID
38882
+ * @param {string | null} [taskAgentName] Filter by TaskAgent name (partial, case-insensitive)
38883
+ * @param {string | null} [cursor] A cursor for pagination. Use the &#x60;next_cursor&#x60; value from the previous response to get the next page of results.
38884
+ * @param {number} [pageLimit] The maximum number of items to return per page. Defaults to &#x60;100&#x60; if not specified.
38885
+ * @param {*} [options] Override http request option.
38886
+ * @throws {RequiredError}
38887
+ */
38888
+ async listProjectTaskAgentShares(orgId: string, projectId: string, active?: boolean | null, taskAgentId?: string | null, taskAgentName?: string | null, cursor?: string | null, pageLimit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedResultSetTaskAgentShare>> {
38889
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listProjectTaskAgentShares(orgId, projectId, active, taskAgentId, taskAgentName, cursor, pageLimit, options);
38890
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
38891
+ const localVarOperationServerBasePath = operationServerMap['TaskAgentSharesApi.listProjectTaskAgentShares']?.[localVarOperationServerIndex]?.url;
38892
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
38893
+ },
38894
+ /**
38895
+ * List share links for a single TaskAgent. Requires `task_agent:view` on the parent TaskAgent. TaskAgentShare does not have an independent IAM surface in v1.
38896
+ * @summary List TaskAgent Shares
38897
+ * @param {string} orgId The organization ID
38898
+ * @param {string} projectId The project ID
38899
+ * @param {string} taskAgentId The task agent ID
38900
+ * @param {*} [options] Override http request option.
38901
+ * @throws {RequiredError}
38902
+ */
38903
+ async listTaskAgentShares(orgId: string, projectId: string, taskAgentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TaskAgentShare>>> {
38904
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listTaskAgentShares(orgId, projectId, taskAgentId, options);
38905
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
38906
+ const localVarOperationServerBasePath = operationServerMap['TaskAgentSharesApi.listTaskAgentShares']?.[localVarOperationServerIndex]?.url;
38907
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
38908
+ },
38909
+ /**
38910
+ * Revoke a TaskAgent share by setting `active` to false. Requires `task_agent:edit` on the parent TaskAgent. The share record is preserved for management views and analytics.
38911
+ * @summary Revoke TaskAgent Share
38912
+ * @param {string} orgId The organization ID
38913
+ * @param {string} projectId The project ID
38914
+ * @param {string} taskAgentId The task agent ID
38915
+ * @param {string} shareId TaskAgent share ID
38916
+ * @param {*} [options] Override http request option.
38917
+ * @throws {RequiredError}
38918
+ */
38919
+ async revokeTaskAgentShare(orgId: string, projectId: string, taskAgentId: string, shareId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskAgentShare>> {
38920
+ const localVarAxiosArgs = await localVarAxiosParamCreator.revokeTaskAgentShare(orgId, projectId, taskAgentId, shareId, options);
38921
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
38922
+ const localVarOperationServerBasePath = operationServerMap['TaskAgentSharesApi.revokeTaskAgentShare']?.[localVarOperationServerIndex]?.url;
38923
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
38924
+ },
38925
+ }
38926
+ };
38927
+
38928
+ /**
38929
+ * TaskAgentSharesApi - factory interface
38930
+ * @export
38931
+ */
38932
+ export const TaskAgentSharesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
38933
+ const localVarFp = TaskAgentSharesApiFp(configuration)
38934
+ return {
38935
+ /**
38936
+ * Clone a shared TaskAgent revision into the target project. Requires `project:create_task_agent` on the target project. The clone path commits new database rows before writing IAM relationships, never copies source IAM relationships, and conditionally checks dependency-specific create permissions before cloning Tasks, Skills, integrations, or MCP servers. The response includes a dependency report. `runnable=false` means at least one dependency requires setup, such as reauthorizing a copied integration or MCP server.
38937
+ * @summary Clone Shared TaskAgent
38938
+ * @param {string} shortId TaskAgent share short ID
38939
+ * @param {string} orgId The organization ID
38940
+ * @param {string} projectId The project ID
38941
+ * @param {*} [options] Override http request option.
38942
+ * @throws {RequiredError}
38943
+ */
38944
+ cloneSharedTaskAgent(shortId: string, orgId: string, projectId: string, options?: any): AxiosPromise<TaskAgentCloneResult> {
38945
+ return localVarFp.cloneSharedTaskAgent(shortId, orgId, projectId, options).then((request) => request(axios, basePath));
38946
+ },
38947
+ /**
38948
+ * Create a public share link for a TaskAgent revision. Requires `task_agent:edit` on the parent TaskAgent. If `task_agent_revision_id` is omitted, the active revision is shared. Custom short IDs must be unique and match the schema constraints; generated short IDs use high-entropy random characters.
38949
+ * @summary Create TaskAgent Share
38950
+ * @param {string} orgId The organization ID
38951
+ * @param {string} projectId The project ID
38952
+ * @param {string} taskAgentId The task agent ID
38953
+ * @param {TaskAgentShareCreate} taskAgentShareCreate
38954
+ * @param {*} [options] Override http request option.
38955
+ * @throws {RequiredError}
38956
+ */
38957
+ createTaskAgentShare(orgId: string, projectId: string, taskAgentId: string, taskAgentShareCreate: TaskAgentShareCreate, options?: any): AxiosPromise<TaskAgentShare> {
38958
+ return localVarFp.createTaskAgentShare(orgId, projectId, taskAgentId, taskAgentShareCreate, options).then((request) => request(axios, basePath));
38959
+ },
38960
+ /**
38961
+ * Return a public TaskAgent share page or sanitized public data. Browser/default requests render a human-readable HTML share page. Clients that send `Accept: application/json`, `application/yaml`, or `text/yaml` receive sanitized public data. The public DTO is allowlisted. It intentionally includes operational configuration needed to understand the shared agent, such as input processor configuration and tool names, but redacts credentials, tokens, auth configs, ciphertext, connected user IDs, source-project provenance, tags, runs, files, and sessions. Public paths remain present in OpenAPI for schema generation but are marked `x-fern-ignore` by the `/public/_*` OpenAPI configuration.
38962
+ * @summary Get Public TaskAgent Share
38963
+ * @param {string} shortId TaskAgent share short ID
38964
+ * @param {string | null} [accept]
38965
+ * @param {*} [options] Override http request option.
38966
+ * @throws {RequiredError}
38967
+ */
38968
+ getPublicTaskAgentShare(shortId: string, accept?: string | null, options?: any): AxiosPromise<any> {
38969
+ return localVarFp.getPublicTaskAgentShare(shortId, accept, options).then((request) => request(axios, basePath));
38970
+ },
38971
+ /**
38972
+ * List TaskAgent shares in a project. TaskAgent shares are public share records scoped to the requested project. The endpoint does not expose share-specific IAM.
38973
+ * @summary List Project TaskAgent Shares
38974
+ * @param {string} orgId The organization ID
38975
+ * @param {string} projectId The project ID
38976
+ * @param {boolean | null} [active] Filter by active status
38977
+ * @param {string | null} [taskAgentId] Filter by specific TaskAgent ID
38978
+ * @param {string | null} [taskAgentName] Filter by TaskAgent name (partial, case-insensitive)
38979
+ * @param {string | null} [cursor] A cursor for pagination. Use the &#x60;next_cursor&#x60; value from the previous response to get the next page of results.
38980
+ * @param {number} [pageLimit] The maximum number of items to return per page. Defaults to &#x60;100&#x60; if not specified.
38981
+ * @param {*} [options] Override http request option.
38982
+ * @throws {RequiredError}
38983
+ */
38984
+ listProjectTaskAgentShares(orgId: string, projectId: string, active?: boolean | null, taskAgentId?: string | null, taskAgentName?: string | null, cursor?: string | null, pageLimit?: number, options?: any): AxiosPromise<PaginatedResultSetTaskAgentShare> {
38985
+ return localVarFp.listProjectTaskAgentShares(orgId, projectId, active, taskAgentId, taskAgentName, cursor, pageLimit, options).then((request) => request(axios, basePath));
38986
+ },
38987
+ /**
38988
+ * List share links for a single TaskAgent. Requires `task_agent:view` on the parent TaskAgent. TaskAgentShare does not have an independent IAM surface in v1.
38989
+ * @summary List TaskAgent Shares
38990
+ * @param {string} orgId The organization ID
38991
+ * @param {string} projectId The project ID
38992
+ * @param {string} taskAgentId The task agent ID
38993
+ * @param {*} [options] Override http request option.
38994
+ * @throws {RequiredError}
38995
+ */
38996
+ listTaskAgentShares(orgId: string, projectId: string, taskAgentId: string, options?: any): AxiosPromise<Array<TaskAgentShare>> {
38997
+ return localVarFp.listTaskAgentShares(orgId, projectId, taskAgentId, options).then((request) => request(axios, basePath));
38998
+ },
38999
+ /**
39000
+ * Revoke a TaskAgent share by setting `active` to false. Requires `task_agent:edit` on the parent TaskAgent. The share record is preserved for management views and analytics.
39001
+ * @summary Revoke TaskAgent Share
39002
+ * @param {string} orgId The organization ID
39003
+ * @param {string} projectId The project ID
39004
+ * @param {string} taskAgentId The task agent ID
39005
+ * @param {string} shareId TaskAgent share ID
39006
+ * @param {*} [options] Override http request option.
39007
+ * @throws {RequiredError}
39008
+ */
39009
+ revokeTaskAgentShare(orgId: string, projectId: string, taskAgentId: string, shareId: string, options?: any): AxiosPromise<TaskAgentShare> {
39010
+ return localVarFp.revokeTaskAgentShare(orgId, projectId, taskAgentId, shareId, options).then((request) => request(axios, basePath));
39011
+ },
39012
+ };
39013
+ };
39014
+
39015
+ /**
39016
+ * TaskAgentSharesApi - object-oriented interface
39017
+ * @export
39018
+ * @class TaskAgentSharesApi
39019
+ * @extends {BaseAPI}
39020
+ */
39021
+ export class TaskAgentSharesApi extends BaseAPI {
39022
+ /**
39023
+ * Clone a shared TaskAgent revision into the target project. Requires `project:create_task_agent` on the target project. The clone path commits new database rows before writing IAM relationships, never copies source IAM relationships, and conditionally checks dependency-specific create permissions before cloning Tasks, Skills, integrations, or MCP servers. The response includes a dependency report. `runnable=false` means at least one dependency requires setup, such as reauthorizing a copied integration or MCP server.
39024
+ * @summary Clone Shared TaskAgent
39025
+ * @param {string} shortId TaskAgent share short ID
39026
+ * @param {string} orgId The organization ID
39027
+ * @param {string} projectId The project ID
39028
+ * @param {*} [options] Override http request option.
39029
+ * @throws {RequiredError}
39030
+ * @memberof TaskAgentSharesApi
39031
+ */
39032
+ public cloneSharedTaskAgent(shortId: string, orgId: string, projectId: string, options?: RawAxiosRequestConfig) {
39033
+ return TaskAgentSharesApiFp(this.configuration).cloneSharedTaskAgent(shortId, orgId, projectId, options).then((request) => request(this.axios, this.basePath));
39034
+ }
39035
+
39036
+ /**
39037
+ * Create a public share link for a TaskAgent revision. Requires `task_agent:edit` on the parent TaskAgent. If `task_agent_revision_id` is omitted, the active revision is shared. Custom short IDs must be unique and match the schema constraints; generated short IDs use high-entropy random characters.
39038
+ * @summary Create TaskAgent Share
39039
+ * @param {string} orgId The organization ID
39040
+ * @param {string} projectId The project ID
39041
+ * @param {string} taskAgentId The task agent ID
39042
+ * @param {TaskAgentShareCreate} taskAgentShareCreate
39043
+ * @param {*} [options] Override http request option.
39044
+ * @throws {RequiredError}
39045
+ * @memberof TaskAgentSharesApi
39046
+ */
39047
+ public createTaskAgentShare(orgId: string, projectId: string, taskAgentId: string, taskAgentShareCreate: TaskAgentShareCreate, options?: RawAxiosRequestConfig) {
39048
+ return TaskAgentSharesApiFp(this.configuration).createTaskAgentShare(orgId, projectId, taskAgentId, taskAgentShareCreate, options).then((request) => request(this.axios, this.basePath));
39049
+ }
39050
+
39051
+ /**
39052
+ * Return a public TaskAgent share page or sanitized public data. Browser/default requests render a human-readable HTML share page. Clients that send `Accept: application/json`, `application/yaml`, or `text/yaml` receive sanitized public data. The public DTO is allowlisted. It intentionally includes operational configuration needed to understand the shared agent, such as input processor configuration and tool names, but redacts credentials, tokens, auth configs, ciphertext, connected user IDs, source-project provenance, tags, runs, files, and sessions. Public paths remain present in OpenAPI for schema generation but are marked `x-fern-ignore` by the `/public/_*` OpenAPI configuration.
39053
+ * @summary Get Public TaskAgent Share
39054
+ * @param {string} shortId TaskAgent share short ID
39055
+ * @param {string | null} [accept]
39056
+ * @param {*} [options] Override http request option.
39057
+ * @throws {RequiredError}
39058
+ * @memberof TaskAgentSharesApi
39059
+ */
39060
+ public getPublicTaskAgentShare(shortId: string, accept?: string | null, options?: RawAxiosRequestConfig) {
39061
+ return TaskAgentSharesApiFp(this.configuration).getPublicTaskAgentShare(shortId, accept, options).then((request) => request(this.axios, this.basePath));
39062
+ }
39063
+
39064
+ /**
39065
+ * List TaskAgent shares in a project. TaskAgent shares are public share records scoped to the requested project. The endpoint does not expose share-specific IAM.
39066
+ * @summary List Project TaskAgent Shares
39067
+ * @param {string} orgId The organization ID
39068
+ * @param {string} projectId The project ID
39069
+ * @param {boolean | null} [active] Filter by active status
39070
+ * @param {string | null} [taskAgentId] Filter by specific TaskAgent ID
39071
+ * @param {string | null} [taskAgentName] Filter by TaskAgent name (partial, case-insensitive)
39072
+ * @param {string | null} [cursor] A cursor for pagination. Use the &#x60;next_cursor&#x60; value from the previous response to get the next page of results.
39073
+ * @param {number} [pageLimit] The maximum number of items to return per page. Defaults to &#x60;100&#x60; if not specified.
39074
+ * @param {*} [options] Override http request option.
39075
+ * @throws {RequiredError}
39076
+ * @memberof TaskAgentSharesApi
39077
+ */
39078
+ public listProjectTaskAgentShares(orgId: string, projectId: string, active?: boolean | null, taskAgentId?: string | null, taskAgentName?: string | null, cursor?: string | null, pageLimit?: number, options?: RawAxiosRequestConfig) {
39079
+ return TaskAgentSharesApiFp(this.configuration).listProjectTaskAgentShares(orgId, projectId, active, taskAgentId, taskAgentName, cursor, pageLimit, options).then((request) => request(this.axios, this.basePath));
39080
+ }
39081
+
39082
+ /**
39083
+ * List share links for a single TaskAgent. Requires `task_agent:view` on the parent TaskAgent. TaskAgentShare does not have an independent IAM surface in v1.
39084
+ * @summary List TaskAgent Shares
39085
+ * @param {string} orgId The organization ID
39086
+ * @param {string} projectId The project ID
39087
+ * @param {string} taskAgentId The task agent ID
39088
+ * @param {*} [options] Override http request option.
39089
+ * @throws {RequiredError}
39090
+ * @memberof TaskAgentSharesApi
39091
+ */
39092
+ public listTaskAgentShares(orgId: string, projectId: string, taskAgentId: string, options?: RawAxiosRequestConfig) {
39093
+ return TaskAgentSharesApiFp(this.configuration).listTaskAgentShares(orgId, projectId, taskAgentId, options).then((request) => request(this.axios, this.basePath));
39094
+ }
39095
+
39096
+ /**
39097
+ * Revoke a TaskAgent share by setting `active` to false. Requires `task_agent:edit` on the parent TaskAgent. The share record is preserved for management views and analytics.
39098
+ * @summary Revoke TaskAgent Share
39099
+ * @param {string} orgId The organization ID
39100
+ * @param {string} projectId The project ID
39101
+ * @param {string} taskAgentId The task agent ID
39102
+ * @param {string} shareId TaskAgent share ID
39103
+ * @param {*} [options] Override http request option.
39104
+ * @throws {RequiredError}
39105
+ * @memberof TaskAgentSharesApi
39106
+ */
39107
+ public revokeTaskAgentShare(orgId: string, projectId: string, taskAgentId: string, shareId: string, options?: RawAxiosRequestConfig) {
39108
+ return TaskAgentSharesApiFp(this.configuration).revokeTaskAgentShare(orgId, projectId, taskAgentId, shareId, options).then((request) => request(this.axios, this.basePath));
39109
+ }
39110
+ }
39111
+
39112
+
39113
+
38006
39114
  /**
38007
39115
  * TaskAgentsApi - axios parameter creator
38008
39116
  * @export
@@ -47675,12 +48783,13 @@ export const WebhookTriggersApiAxiosParamCreator = function (configuration?: Con
47675
48783
  * @param {string} projectId The project ID
47676
48784
  * @param {number} [limit]
47677
48785
  * @param {string | null} [cursor]
48786
+ * @param {TriggerType} [triggerType]
47678
48787
  * @param {TriggerTargetType} [targetType]
47679
48788
  * @param {string | null} [targetId]
47680
48789
  * @param {*} [options] Override http request option.
47681
48790
  * @throws {RequiredError}
47682
48791
  */
47683
- listTriggers: async (orgId: string, projectId: string, limit?: number, cursor?: string | null, targetType?: TriggerTargetType, targetId?: string | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
48792
+ listTriggers: async (orgId: string, projectId: string, limit?: number, cursor?: string | null, triggerType?: TriggerType, targetType?: TriggerTargetType, targetId?: string | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
47684
48793
  // verify required parameter 'orgId' is not null or undefined
47685
48794
  assertParamExists('listTriggers', 'orgId', orgId)
47686
48795
  // verify required parameter 'projectId' is not null or undefined
@@ -47711,6 +48820,10 @@ export const WebhookTriggersApiAxiosParamCreator = function (configuration?: Con
47711
48820
  localVarQueryParameter['cursor'] = cursor;
47712
48821
  }
47713
48822
 
48823
+ if (triggerType !== undefined) {
48824
+ localVarQueryParameter['trigger_type'] = triggerType;
48825
+ }
48826
+
47714
48827
  if (targetType !== undefined) {
47715
48828
  localVarQueryParameter['target_type'] = targetType;
47716
48829
  }
@@ -48013,13 +49126,14 @@ export const WebhookTriggersApiFp = function(configuration?: Configuration) {
48013
49126
  * @param {string} projectId The project ID
48014
49127
  * @param {number} [limit]
48015
49128
  * @param {string | null} [cursor]
49129
+ * @param {TriggerType} [triggerType]
48016
49130
  * @param {TriggerTargetType} [targetType]
48017
49131
  * @param {string | null} [targetId]
48018
49132
  * @param {*} [options] Override http request option.
48019
49133
  * @throws {RequiredError}
48020
49134
  */
48021
- async listTriggers(orgId: string, projectId: string, limit?: number, cursor?: string | null, targetType?: TriggerTargetType, targetId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ResponseListtriggersInner>>> {
48022
- const localVarAxiosArgs = await localVarAxiosParamCreator.listTriggers(orgId, projectId, limit, cursor, targetType, targetId, options);
49135
+ async listTriggers(orgId: string, projectId: string, limit?: number, cursor?: string | null, triggerType?: TriggerType, targetType?: TriggerTargetType, targetId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ResponseListtriggersInner>>> {
49136
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listTriggers(orgId, projectId, limit, cursor, triggerType, targetType, targetId, options);
48023
49137
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
48024
49138
  const localVarOperationServerBasePath = operationServerMap['WebhookTriggersApi.listTriggers']?.[localVarOperationServerIndex]?.url;
48025
49139
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -48154,13 +49268,14 @@ export const WebhookTriggersApiFactory = function (configuration?: Configuration
48154
49268
  * @param {string} projectId The project ID
48155
49269
  * @param {number} [limit]
48156
49270
  * @param {string | null} [cursor]
49271
+ * @param {TriggerType} [triggerType]
48157
49272
  * @param {TriggerTargetType} [targetType]
48158
49273
  * @param {string | null} [targetId]
48159
49274
  * @param {*} [options] Override http request option.
48160
49275
  * @throws {RequiredError}
48161
49276
  */
48162
- listTriggers(orgId: string, projectId: string, limit?: number, cursor?: string | null, targetType?: TriggerTargetType, targetId?: string | null, options?: any): AxiosPromise<Array<ResponseListtriggersInner>> {
48163
- return localVarFp.listTriggers(orgId, projectId, limit, cursor, targetType, targetId, options).then((request) => request(axios, basePath));
49277
+ listTriggers(orgId: string, projectId: string, limit?: number, cursor?: string | null, triggerType?: TriggerType, targetType?: TriggerTargetType, targetId?: string | null, options?: any): AxiosPromise<Array<ResponseListtriggersInner>> {
49278
+ return localVarFp.listTriggers(orgId, projectId, limit, cursor, triggerType, targetType, targetId, options).then((request) => request(axios, basePath));
48164
49279
  },
48165
49280
  /**
48166
49281
  * List execution history for a webhook trigger.
@@ -48288,14 +49403,15 @@ export class WebhookTriggersApi extends BaseAPI {
48288
49403
  * @param {string} projectId The project ID
48289
49404
  * @param {number} [limit]
48290
49405
  * @param {string | null} [cursor]
49406
+ * @param {TriggerType} [triggerType]
48291
49407
  * @param {TriggerTargetType} [targetType]
48292
49408
  * @param {string | null} [targetId]
48293
49409
  * @param {*} [options] Override http request option.
48294
49410
  * @throws {RequiredError}
48295
49411
  * @memberof WebhookTriggersApi
48296
49412
  */
48297
- public listTriggers(orgId: string, projectId: string, limit?: number, cursor?: string | null, targetType?: TriggerTargetType, targetId?: string | null, options?: RawAxiosRequestConfig) {
48298
- return WebhookTriggersApiFp(this.configuration).listTriggers(orgId, projectId, limit, cursor, targetType, targetId, options).then((request) => request(this.axios, this.basePath));
49413
+ public listTriggers(orgId: string, projectId: string, limit?: number, cursor?: string | null, triggerType?: TriggerType, targetType?: TriggerTargetType, targetId?: string | null, options?: RawAxiosRequestConfig) {
49414
+ return WebhookTriggersApiFp(this.configuration).listTriggers(orgId, projectId, limit, cursor, triggerType, targetType, targetId, options).then((request) => request(this.axios, this.basePath));
48299
49415
  }
48300
49416
 
48301
49417
  /**