@botpress/client 0.11.0 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/gen/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Botpress API
3
3
  * API for Botpress Cloud
4
4
  *
5
- * The version of the OpenAPI document: 0.16.0
5
+ * The version of the OpenAPI document: 0.16.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -658,6 +658,12 @@ export interface ChangeWorkspacePlanResponse {
658
658
  * @memberof ChangeWorkspacePlanResponse
659
659
  */
660
660
  'isPublic'?: boolean;
661
+ /**
662
+ *
663
+ * @type {string}
664
+ * @memberof ChangeWorkspacePlanResponse
665
+ */
666
+ 'handle'?: string;
661
667
  }
662
668
  export declare const ChangeWorkspacePlanResponseAccountTypeEnum: {
663
669
  readonly Free: "free";
@@ -751,6 +757,44 @@ export interface ChargeWorkspaceUnpaidInvoicesResponseFailedInvoicesInner {
751
757
  */
752
758
  'failedReason': string;
753
759
  }
760
+ /**
761
+ *
762
+ * @export
763
+ * @interface CheckHandleAvailabilityBody
764
+ */
765
+ export interface CheckHandleAvailabilityBody {
766
+ /**
767
+ *
768
+ * @type {string}
769
+ * @memberof CheckHandleAvailabilityBody
770
+ */
771
+ 'handle': string;
772
+ }
773
+ /**
774
+ *
775
+ * @export
776
+ * @interface CheckHandleAvailabilityResponse
777
+ */
778
+ export interface CheckHandleAvailabilityResponse {
779
+ /**
780
+ *
781
+ * @type {boolean}
782
+ * @memberof CheckHandleAvailabilityResponse
783
+ */
784
+ 'available': boolean;
785
+ /**
786
+ *
787
+ * @type {Array<string>}
788
+ * @memberof CheckHandleAvailabilityResponse
789
+ */
790
+ 'suggestions': Array<string>;
791
+ /**
792
+ *
793
+ * @type {string}
794
+ * @memberof CheckHandleAvailabilityResponse
795
+ */
796
+ 'usedBy'?: string;
797
+ }
754
798
  /**
755
799
  *
756
800
  * @export
@@ -835,6 +879,12 @@ export interface Conversation {
835
879
  * @memberof Conversation
836
880
  */
837
881
  'id': string;
882
+ /**
883
+ * Id of the current [Task](#schema_task)
884
+ * @type {string}
885
+ * @memberof Conversation
886
+ */
887
+ 'currentTaskId'?: string;
838
888
  /**
839
889
  * Creation date of the [Conversation](#schema_conversation) in ISO 8601 format
840
890
  * @type {string}
@@ -1866,6 +1916,84 @@ export interface CreatePersonalAccessTokenResponsePat {
1866
1916
  */
1867
1917
  'value': string;
1868
1918
  }
1919
+ /**
1920
+ *
1921
+ * @export
1922
+ * @interface CreateTaskBody
1923
+ */
1924
+ export interface CreateTaskBody {
1925
+ /**
1926
+ * Title describing the task
1927
+ * @type {string}
1928
+ * @memberof CreateTaskBody
1929
+ */
1930
+ 'title': string;
1931
+ /**
1932
+ * All the notes related to the execution of the current task
1933
+ * @type {string}
1934
+ * @memberof CreateTaskBody
1935
+ */
1936
+ 'instruction'?: string;
1937
+ /**
1938
+ * Type of the task
1939
+ * @type {string}
1940
+ * @memberof CreateTaskBody
1941
+ */
1942
+ 'type': string;
1943
+ /**
1944
+ * Content related to the task
1945
+ * @type {{ [key: string]: any; }}
1946
+ * @memberof CreateTaskBody
1947
+ */
1948
+ 'data'?: {
1949
+ [key: string]: any;
1950
+ };
1951
+ /**
1952
+ * Parent task id is the parent task that created this task
1953
+ * @type {string}
1954
+ * @memberof CreateTaskBody
1955
+ */
1956
+ 'parentTaskId'?: string;
1957
+ /**
1958
+ * Conversation id related to this task
1959
+ * @type {string}
1960
+ * @memberof CreateTaskBody
1961
+ */
1962
+ 'conversationId': string;
1963
+ /**
1964
+ * Specific user related to this task
1965
+ * @type {string}
1966
+ * @memberof CreateTaskBody
1967
+ */
1968
+ 'userId'?: string;
1969
+ /**
1970
+ * The timeout date where the task should be failed in the ISO 8601 format
1971
+ * @type {string}
1972
+ * @memberof CreateTaskBody
1973
+ */
1974
+ 'timeoutAt'?: string;
1975
+ /**
1976
+ * Tags for the [Task](#schema_task)
1977
+ * @type {{ [key: string]: string; }}
1978
+ * @memberof CreateTaskBody
1979
+ */
1980
+ 'tags'?: {
1981
+ [key: string]: string;
1982
+ };
1983
+ }
1984
+ /**
1985
+ *
1986
+ * @export
1987
+ * @interface CreateTaskResponse
1988
+ */
1989
+ export interface CreateTaskResponse {
1990
+ /**
1991
+ *
1992
+ * @type {Task}
1993
+ * @memberof CreateTaskResponse
1994
+ */
1995
+ 'task': Task;
1996
+ }
1869
1997
  /**
1870
1998
  *
1871
1999
  * @export
@@ -2108,6 +2236,12 @@ export interface CreateWorkspaceResponse {
2108
2236
  * @memberof CreateWorkspaceResponse
2109
2237
  */
2110
2238
  'isPublic'?: boolean;
2239
+ /**
2240
+ *
2241
+ * @type {string}
2242
+ * @memberof CreateWorkspaceResponse
2243
+ */
2244
+ 'handle'?: string;
2111
2245
  }
2112
2246
  export declare const CreateWorkspaceResponseAccountTypeEnum: {
2113
2247
  readonly Free: "free";
@@ -2176,12 +2310,25 @@ export interface Event {
2176
2310
  */
2177
2311
  'messageId'?: string;
2178
2312
  /**
2179
- * Status of the event (e.g. `ignored`, `processed`)
2313
+ *
2314
+ * @type {string}
2315
+ * @memberof Event
2316
+ */
2317
+ 'status': EventStatusEnum;
2318
+ /**
2319
+ * Reason why the event failed to be processed
2180
2320
  * @type {string}
2181
2321
  * @memberof Event
2182
2322
  */
2183
- 'status': string;
2323
+ 'failureReason': string | null;
2184
2324
  }
2325
+ export declare const EventStatusEnum: {
2326
+ readonly Pending: "pending";
2327
+ readonly Processed: "processed";
2328
+ readonly Ignored: "ignored";
2329
+ readonly Failed: "failed";
2330
+ };
2331
+ export type EventStatusEnum = typeof EventStatusEnum[keyof typeof EventStatusEnum];
2185
2332
  /**
2186
2333
  *
2187
2334
  * @export
@@ -2807,6 +2954,19 @@ export interface GetStateResponse {
2807
2954
  */
2808
2955
  'state': State;
2809
2956
  }
2957
+ /**
2958
+ *
2959
+ * @export
2960
+ * @interface GetTaskResponse
2961
+ */
2962
+ export interface GetTaskResponse {
2963
+ /**
2964
+ *
2965
+ * @type {Task}
2966
+ * @memberof GetTaskResponse
2967
+ */
2968
+ 'task': Task;
2969
+ }
2810
2970
  /**
2811
2971
  *
2812
2972
  * @export
@@ -3114,6 +3274,12 @@ export interface GetWorkspaceResponse {
3114
3274
  * @memberof GetWorkspaceResponse
3115
3275
  */
3116
3276
  'isPublic'?: boolean;
3277
+ /**
3278
+ *
3279
+ * @type {string}
3280
+ * @memberof GetWorkspaceResponse
3281
+ */
3282
+ 'handle'?: string;
3117
3283
  }
3118
3284
  export declare const GetWorkspaceResponseAccountTypeEnum: {
3119
3285
  readonly Free: "free";
@@ -4003,6 +4169,25 @@ export interface ListPublicIntegrationsResponseIntegrationsInner {
4003
4169
  */
4004
4170
  'iconUrl': string;
4005
4171
  }
4172
+ /**
4173
+ *
4174
+ * @export
4175
+ * @interface ListTasksResponse
4176
+ */
4177
+ export interface ListTasksResponse {
4178
+ /**
4179
+ *
4180
+ * @type {Array<Task>}
4181
+ * @memberof ListTasksResponse
4182
+ */
4183
+ 'tasks': Array<Task>;
4184
+ /**
4185
+ *
4186
+ * @type {ListConversationsResponseMeta}
4187
+ * @memberof ListTasksResponse
4188
+ */
4189
+ 'meta': ListConversationsResponseMeta;
4190
+ }
4006
4191
  /**
4007
4192
  *
4008
4193
  * @export
@@ -4712,19 +4897,11 @@ export interface Table {
4712
4897
  */
4713
4898
  'factor'?: number;
4714
4899
  /**
4715
- * Array of columns in the table.
4716
- * @type {Array<TableColumnsInner>}
4717
- * @memberof Table
4718
- */
4719
- 'columns': Array<TableColumnsInner>;
4720
- /**
4721
- * Provide an object or a JSON schema to define the columns of the table. A maximum of 20 keys in the object/schema is allowed.
4722
- * @type {{ [key: string]: any; }}
4900
+ *
4901
+ * @type {TableSchema}
4723
4902
  * @memberof Table
4724
4903
  */
4725
- 'schema': {
4726
- [key: string]: any;
4727
- };
4904
+ 'schema': TableSchema;
4728
4905
  /**
4729
4906
  * Optional tags to help organize your tables. These should be passed here as an object representing key/value pairs.
4730
4907
  * @type {{ [key: string]: string; }}
@@ -4749,62 +4926,224 @@ export interface Table {
4749
4926
  /**
4750
4927
  *
4751
4928
  * @export
4752
- * @interface TableColumnsInner
4929
+ * @interface TableSchema
4753
4930
  */
4754
- export interface TableColumnsInner {
4931
+ export interface TableSchema {
4755
4932
  /**
4756
- * Unique identifier for the column.
4933
+ *
4757
4934
  * @type {string}
4758
- * @memberof TableColumnsInner
4935
+ * @memberof TableSchema
4759
4936
  */
4760
- 'id'?: string;
4937
+ '$schema': string;
4761
4938
  /**
4762
- * Name of the column, must be within length limits.
4939
+ * List of keys/columns in the table.
4940
+ * @type {{ [key: string]: TableSchemaPropertiesValue; }}
4941
+ * @memberof TableSchema
4942
+ */
4943
+ 'properties': {
4944
+ [key: string]: TableSchemaPropertiesValue;
4945
+ };
4946
+ /**
4947
+ *
4948
+ * @type {boolean}
4949
+ * @memberof TableSchema
4950
+ */
4951
+ 'additionalProperties': boolean;
4952
+ /**
4953
+ * Array of required properties.
4954
+ * @type {Array<string>}
4955
+ * @memberof TableSchema
4956
+ */
4957
+ 'required'?: Array<string>;
4958
+ /**
4959
+ *
4763
4960
  * @type {string}
4764
- * @memberof TableColumnsInner
4961
+ * @memberof TableSchema
4765
4962
  */
4766
- 'name': string;
4963
+ 'type': TableSchemaTypeEnum;
4964
+ }
4965
+ export declare const TableSchemaTypeEnum: {
4966
+ readonly Object: "object";
4967
+ };
4968
+ export type TableSchemaTypeEnum = typeof TableSchemaTypeEnum[keyof typeof TableSchemaTypeEnum];
4969
+ /**
4970
+ *
4971
+ * @export
4972
+ * @interface TableSchemaPropertiesValue
4973
+ */
4974
+ export interface TableSchemaPropertiesValue {
4767
4975
  /**
4768
- * Optional descriptive text about the column.
4976
+ *
4769
4977
  * @type {string}
4770
- * @memberof TableColumnsInner
4978
+ * @memberof TableSchemaPropertiesValue
4979
+ */
4980
+ 'type': TableSchemaPropertiesValueTypeEnum;
4981
+ /**
4982
+ *
4983
+ * @type {string}
4984
+ * @memberof TableSchemaPropertiesValue
4985
+ */
4986
+ 'format'?: TableSchemaPropertiesValueFormatEnum;
4987
+ /**
4988
+ *
4989
+ * @type {string}
4990
+ * @memberof TableSchemaPropertiesValue
4771
4991
  */
4772
4992
  'description'?: string;
4993
+ /**
4994
+ *
4995
+ * @type {boolean}
4996
+ * @memberof TableSchemaPropertiesValue
4997
+ */
4998
+ 'nullable'?: boolean;
4999
+ /**
5000
+ *
5001
+ * @type {TableSchemaPropertiesValueXZui}
5002
+ * @memberof TableSchemaPropertiesValue
5003
+ */
5004
+ 'x-zui': TableSchemaPropertiesValueXZui;
5005
+ }
5006
+ export declare const TableSchemaPropertiesValueTypeEnum: {
5007
+ readonly String: "string";
5008
+ readonly Number: "number";
5009
+ readonly Boolean: "boolean";
5010
+ readonly Object: "object";
5011
+ readonly Null: "null";
5012
+ };
5013
+ export type TableSchemaPropertiesValueTypeEnum = typeof TableSchemaPropertiesValueTypeEnum[keyof typeof TableSchemaPropertiesValueTypeEnum];
5014
+ export declare const TableSchemaPropertiesValueFormatEnum: {
5015
+ readonly DateTime: "date-time";
5016
+ };
5017
+ export type TableSchemaPropertiesValueFormatEnum = typeof TableSchemaPropertiesValueFormatEnum[keyof typeof TableSchemaPropertiesValueFormatEnum];
5018
+ /**
5019
+ *
5020
+ * @export
5021
+ * @interface TableSchemaPropertiesValueXZui
5022
+ */
5023
+ export interface TableSchemaPropertiesValueXZui {
5024
+ /**
5025
+ *
5026
+ * @type {number}
5027
+ * @memberof TableSchemaPropertiesValueXZui
5028
+ */
5029
+ 'index': number;
4773
5030
  /**
4774
5031
  * Indicates if the column is vectorized and searchable.
4775
5032
  * @type {boolean}
4776
- * @memberof TableColumnsInner
5033
+ * @memberof TableSchemaPropertiesValueXZui
4777
5034
  */
4778
5035
  'searchable'?: boolean;
4779
5036
  /**
4780
- * Specifies the data type of the column. Use \"object\" for complex data structures.
5037
+ * TypeScript typings for the column. Recommended if the type is \"object\", ex: \"\\{ foo: string; bar: number \\}\"
4781
5038
  * @type {string}
4782
- * @memberof TableColumnsInner
5039
+ * @memberof TableSchemaPropertiesValueXZui
4783
5040
  */
4784
- 'type': TableColumnsInnerTypeEnum;
5041
+ 'typings'?: string;
5042
+ }
5043
+ /**
5044
+ * Task definition
5045
+ * @export
5046
+ * @interface Task
5047
+ */
5048
+ export interface Task {
4785
5049
  /**
4786
- * TypeScript typings for the column. Recommended if the type is \"object\", ex: \"\\{ foo: string; bar: number \\}\"
5050
+ * ID of the [Conversation](#schema_conversation)
4787
5051
  * @type {string}
4788
- * @memberof TableColumnsInner
5052
+ * @memberof Task
4789
5053
  */
4790
- 'typings'?: string;
5054
+ 'id': string;
4791
5055
  /**
4792
- *
5056
+ * Title describing the task
5057
+ * @type {string}
5058
+ * @memberof Task
5059
+ */
5060
+ 'title': string;
5061
+ /**
5062
+ * All the notes related to the execution of the current task
5063
+ * @type {string}
5064
+ * @memberof Task
5065
+ */
5066
+ 'instruction': string;
5067
+ /**
5068
+ * Type of the task
5069
+ * @type {string}
5070
+ * @memberof Task
5071
+ */
5072
+ 'type': string;
5073
+ /**
5074
+ * Content related to the task
4793
5075
  * @type {{ [key: string]: any; }}
4794
- * @memberof TableColumnsInner
5076
+ * @memberof Task
4795
5077
  */
4796
- 'schema'?: {
5078
+ 'data': {
4797
5079
  [key: string]: any;
4798
5080
  };
5081
+ /**
5082
+ * Status of the task
5083
+ * @type {string}
5084
+ * @memberof Task
5085
+ */
5086
+ 'status': TaskStatusEnum;
5087
+ /**
5088
+ * Parent task id is the parent task that created this task
5089
+ * @type {string}
5090
+ * @memberof Task
5091
+ */
5092
+ 'parentTaskId'?: string;
5093
+ /**
5094
+ * Conversation id related to this task
5095
+ * @type {string}
5096
+ * @memberof Task
5097
+ */
5098
+ 'conversationId'?: string;
5099
+ /**
5100
+ * Specific user related to this task
5101
+ * @type {string}
5102
+ * @memberof Task
5103
+ */
5104
+ 'userId'?: string;
5105
+ /**
5106
+ * The timeout date where the task should be failed in the ISO 8601 format
5107
+ * @type {string}
5108
+ * @memberof Task
5109
+ */
5110
+ 'timeoutAt': string;
5111
+ /**
5112
+ * Creation date of the task in ISO 8601 format
5113
+ * @type {string}
5114
+ * @memberof Task
5115
+ */
5116
+ 'createdAt': string;
5117
+ /**
5118
+ * Updating date of the task in ISO 8601 format
5119
+ * @type {string}
5120
+ * @memberof Task
5121
+ */
5122
+ 'updatedAt': string;
5123
+ /**
5124
+ * If the task fails this is the reason behind it
5125
+ * @type {string}
5126
+ * @memberof Task
5127
+ */
5128
+ 'failureReason'?: string;
5129
+ /**
5130
+ * Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Task](#schema_task). Individual keys can be unset by posting an empty value to them.
5131
+ * @type {{ [key: string]: string; }}
5132
+ * @memberof Task
5133
+ */
5134
+ 'tags': {
5135
+ [key: string]: string;
5136
+ };
4799
5137
  }
4800
- export declare const TableColumnsInnerTypeEnum: {
4801
- readonly String: "string";
4802
- readonly Number: "number";
4803
- readonly Boolean: "boolean";
4804
- readonly Date: "date";
4805
- readonly Object: "object";
5138
+ export declare const TaskStatusEnum: {
5139
+ readonly Pending: "pending";
5140
+ readonly InProgress: "in_progress";
5141
+ readonly Failed: "failed";
5142
+ readonly Completed: "completed";
5143
+ readonly Blocked: "blocked";
5144
+ readonly Paused: "paused";
4806
5145
  };
4807
- export type TableColumnsInnerTypeEnum = typeof TableColumnsInnerTypeEnum[keyof typeof TableColumnsInnerTypeEnum];
5146
+ export type TaskStatusEnum = typeof TaskStatusEnum[keyof typeof TaskStatusEnum];
4808
5147
  /**
4809
5148
  *
4810
5149
  * @export
@@ -5488,6 +5827,75 @@ export interface UpdateMessageResponse {
5488
5827
  */
5489
5828
  'message': Message;
5490
5829
  }
5830
+ /**
5831
+ *
5832
+ * @export
5833
+ * @interface UpdateTaskBody
5834
+ */
5835
+ export interface UpdateTaskBody {
5836
+ /**
5837
+ * Title describing the task
5838
+ * @type {string}
5839
+ * @memberof UpdateTaskBody
5840
+ */
5841
+ 'title'?: string;
5842
+ /**
5843
+ * All the notes related to the execution of the current task
5844
+ * @type {string}
5845
+ * @memberof UpdateTaskBody
5846
+ */
5847
+ 'instruction'?: string;
5848
+ /**
5849
+ * Content related to the task
5850
+ * @type {{ [key: string]: any; }}
5851
+ * @memberof UpdateTaskBody
5852
+ */
5853
+ 'data'?: {
5854
+ [key: string]: any;
5855
+ };
5856
+ /**
5857
+ * The timeout date where the task should be failed in the ISO 8601 format
5858
+ * @type {string}
5859
+ * @memberof UpdateTaskBody
5860
+ */
5861
+ 'timeoutAt'?: string;
5862
+ /**
5863
+ * Status of the task
5864
+ * @type {string}
5865
+ * @memberof UpdateTaskBody
5866
+ */
5867
+ 'status'?: UpdateTaskBodyStatusEnum;
5868
+ /**
5869
+ * Tags for the [Task](#schema_task)
5870
+ * @type {{ [key: string]: string; }}
5871
+ * @memberof UpdateTaskBody
5872
+ */
5873
+ 'tags'?: {
5874
+ [key: string]: string;
5875
+ };
5876
+ }
5877
+ export declare const UpdateTaskBodyStatusEnum: {
5878
+ readonly Pending: "pending";
5879
+ readonly InProgress: "in_progress";
5880
+ readonly Failed: "failed";
5881
+ readonly Completed: "completed";
5882
+ readonly Blocked: "blocked";
5883
+ readonly Paused: "paused";
5884
+ };
5885
+ export type UpdateTaskBodyStatusEnum = typeof UpdateTaskBodyStatusEnum[keyof typeof UpdateTaskBodyStatusEnum];
5886
+ /**
5887
+ *
5888
+ * @export
5889
+ * @interface UpdateTaskResponse
5890
+ */
5891
+ export interface UpdateTaskResponse {
5892
+ /**
5893
+ *
5894
+ * @type {Task}
5895
+ * @memberof UpdateTaskResponse
5896
+ */
5897
+ 'task': Task;
5898
+ }
5491
5899
  /**
5492
5900
  *
5493
5901
  * @export
@@ -5582,6 +5990,12 @@ export interface UpdateWorkspaceBody {
5582
5990
  * @memberof UpdateWorkspaceBody
5583
5991
  */
5584
5992
  'isPublic'?: boolean;
5993
+ /**
5994
+ *
5995
+ * @type {string}
5996
+ * @memberof UpdateWorkspaceBody
5997
+ */
5998
+ 'handle'?: string;
5585
5999
  }
5586
6000
  /**
5587
6001
  *
@@ -5759,6 +6173,12 @@ export interface UpdateWorkspaceResponse {
5759
6173
  * @memberof UpdateWorkspaceResponse
5760
6174
  */
5761
6175
  'isPublic'?: boolean;
6176
+ /**
6177
+ *
6178
+ * @type {string}
6179
+ * @memberof UpdateWorkspaceResponse
6180
+ */
6181
+ 'handle'?: string;
5762
6182
  }
5763
6183
  export declare const UpdateWorkspaceResponseAccountTypeEnum: {
5764
6184
  readonly Free: "free";
@@ -5884,6 +6304,12 @@ export interface UpdateWorkspaceResponse1 {
5884
6304
  * @memberof UpdateWorkspaceResponse1
5885
6305
  */
5886
6306
  'isPublic'?: boolean;
6307
+ /**
6308
+ *
6309
+ * @type {string}
6310
+ * @memberof UpdateWorkspaceResponse1
6311
+ */
6312
+ 'handle'?: string;
5887
6313
  }
5888
6314
  export declare const UpdateWorkspaceResponse1AccountTypeEnum: {
5889
6315
  readonly Free: "free";
@@ -6107,6 +6533,12 @@ export interface Workspace {
6107
6533
  * @memberof Workspace
6108
6534
  */
6109
6535
  'isPublic'?: boolean;
6536
+ /**
6537
+ *
6538
+ * @type {string}
6539
+ * @memberof Workspace
6540
+ */
6541
+ 'handle'?: string;
6110
6542
  }
6111
6543
  export declare const WorkspaceAccountTypeEnum: {
6112
6544
  readonly Free: "free";
@@ -6222,6 +6654,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
6222
6654
  * @throws {RequiredError}
6223
6655
  */
6224
6656
  chargeWorkspaceUnpaidInvoices: (id: string, chargeWorkspaceUnpaidInvoicesBody?: ChargeWorkspaceUnpaidInvoicesBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6657
+ /**
6658
+ * Check if a workspace handle is available
6659
+ * @param {CheckHandleAvailabilityBody} [checkHandleAvailabilityBody] Workspace handle availability
6660
+ * @param {*} [options] Override http request option.
6661
+ * @throws {RequiredError}
6662
+ */
6663
+ checkHandleAvailability: (checkHandleAvailabilityBody?: CheckHandleAvailabilityBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6225
6664
  /**
6226
6665
  * An integration can call this endpoint to configure itself
6227
6666
  * @param {ConfigureIntegrationBody} [configureIntegrationBody] Configuration of the integration
@@ -6278,6 +6717,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
6278
6717
  * @throws {RequiredError}
6279
6718
  */
6280
6719
  createPersonalAccessToken: (createPersonalAccessTokenBody?: CreatePersonalAccessTokenBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6720
+ /**
6721
+ * Creates a new [Task](#schema_task). When creating a new [Task](#schema_task), the required tags must be provided. See the specific integration for more details.
6722
+ * @param {CreateTaskBody} [createTaskBody] Task data
6723
+ * @param {*} [options] Override http request option.
6724
+ * @throws {RequiredError}
6725
+ */
6726
+ createTask: (createTaskBody?: CreateTaskBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6281
6727
  /**
6282
6728
  * Creates a new [User](#schema_user). When creating a new [User](#schema_user), the required tags must be provided. See the specific integration for more details.
6283
6729
  * @param {CreateUserBody} [createUserBody] User data
@@ -6349,6 +6795,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
6349
6795
  * @throws {RequiredError}
6350
6796
  */
6351
6797
  deletePersonalAccessToken: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6798
+ /**
6799
+ * Permanently deletes a [Task](#schema_task). It cannot be undone.
6800
+ * @param {string} id Task id
6801
+ * @param {*} [options] Override http request option.
6802
+ * @throws {RequiredError}
6803
+ */
6804
+ deleteTask: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6352
6805
  /**
6353
6806
  * Permanently deletes a [User](#schema_user). It cannot be undone.
6354
6807
  * @param {string} id User ID
@@ -6544,6 +6997,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
6544
6997
  * @throws {RequiredError}
6545
6998
  */
6546
6999
  getState: (type: GetStateTypeEnum, id: string, name: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7000
+ /**
7001
+ * Retrieves the [Task](#schema_task) object for a valid identifier.
7002
+ * @param {string} id Task id
7003
+ * @param {*} [options] Override http request option.
7004
+ * @throws {RequiredError}
7005
+ */
7006
+ getTask: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6547
7007
  /**
6548
7008
  * Get usage
6549
7009
  * @param {GetUsageTypeEnum} type Type of usage
@@ -6688,6 +7148,21 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
6688
7148
  * @throws {RequiredError}
6689
7149
  */
6690
7150
  listPublicIntegrations: (nextToken?: string, name?: string, version?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7151
+ /**
7152
+ * Retrieves a list of [Task](#schema_task) you\'ve previously created. The tasks are returned in sorted order, with the most recent appearing first. The list can be filtered using [Tags](#tags).
7153
+ * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results
7154
+ * @param {{ [key: string]: string; }} [tags] Filter by tags
7155
+ * @param {string} [conversationId] Conversation id
7156
+ * @param {string} [userId] User id
7157
+ * @param {string} [parentTaskId] Parent task id
7158
+ * @param {ListTasksStatusEnum} [status] Status
7159
+ * @param {string} [type] Type
7160
+ * @param {*} [options] Override http request option.
7161
+ * @throws {RequiredError}
7162
+ */
7163
+ listTasks: (nextToken?: string, tags?: {
7164
+ [key: string]: string;
7165
+ } | undefined, conversationId?: string, userId?: string, parentTaskId?: string, status?: ListTasksStatusEnum, type?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6691
7166
  /**
6692
7167
  * Get usage history
6693
7168
  * @param {ListUsageHistoryTypeEnum} type Type of usage
@@ -6836,6 +7311,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
6836
7311
  * @throws {RequiredError}
6837
7312
  */
6838
7313
  updateMessage: (id: string, updateMessageBody?: UpdateMessageBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7314
+ /**
7315
+ * Update a [Task](#schema_task) object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
7316
+ * @param {string} id Task id
7317
+ * @param {UpdateTaskBody} [updateTaskBody] Task data
7318
+ * @param {*} [options] Override http request option.
7319
+ * @throws {RequiredError}
7320
+ */
7321
+ updateTask: (id: string, updateTaskBody?: UpdateTaskBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6839
7322
  /**
6840
7323
  * Update a [User](#schema_user) object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
6841
7324
  * @param {string} id User ID
@@ -6913,6 +7396,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
6913
7396
  * @throws {RequiredError}
6914
7397
  */
6915
7398
  chargeWorkspaceUnpaidInvoices(id: string, chargeWorkspaceUnpaidInvoicesBody?: ChargeWorkspaceUnpaidInvoicesBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChargeWorkspaceUnpaidInvoicesResponse>>;
7399
+ /**
7400
+ * Check if a workspace handle is available
7401
+ * @param {CheckHandleAvailabilityBody} [checkHandleAvailabilityBody] Workspace handle availability
7402
+ * @param {*} [options] Override http request option.
7403
+ * @throws {RequiredError}
7404
+ */
7405
+ checkHandleAvailability(checkHandleAvailabilityBody?: CheckHandleAvailabilityBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckHandleAvailabilityResponse>>;
6916
7406
  /**
6917
7407
  * An integration can call this endpoint to configure itself
6918
7408
  * @param {ConfigureIntegrationBody} [configureIntegrationBody] Configuration of the integration
@@ -6969,6 +7459,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
6969
7459
  * @throws {RequiredError}
6970
7460
  */
6971
7461
  createPersonalAccessToken(createPersonalAccessTokenBody?: CreatePersonalAccessTokenBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePersonalAccessTokenResponse>>;
7462
+ /**
7463
+ * Creates a new [Task](#schema_task). When creating a new [Task](#schema_task), the required tags must be provided. See the specific integration for more details.
7464
+ * @param {CreateTaskBody} [createTaskBody] Task data
7465
+ * @param {*} [options] Override http request option.
7466
+ * @throws {RequiredError}
7467
+ */
7468
+ createTask(createTaskBody?: CreateTaskBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateTaskResponse>>;
6972
7469
  /**
6973
7470
  * Creates a new [User](#schema_user). When creating a new [User](#schema_user), the required tags must be provided. See the specific integration for more details.
6974
7471
  * @param {CreateUserBody} [createUserBody] User data
@@ -7040,6 +7537,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
7040
7537
  * @throws {RequiredError}
7041
7538
  */
7042
7539
  deletePersonalAccessToken(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
7540
+ /**
7541
+ * Permanently deletes a [Task](#schema_task). It cannot be undone.
7542
+ * @param {string} id Task id
7543
+ * @param {*} [options] Override http request option.
7544
+ * @throws {RequiredError}
7545
+ */
7546
+ deleteTask(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
7043
7547
  /**
7044
7548
  * Permanently deletes a [User](#schema_user). It cannot be undone.
7045
7549
  * @param {string} id User ID
@@ -7237,6 +7741,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
7237
7741
  * @throws {RequiredError}
7238
7742
  */
7239
7743
  getState(type: GetStateTypeEnum, id: string, name: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetStateResponse>>;
7744
+ /**
7745
+ * Retrieves the [Task](#schema_task) object for a valid identifier.
7746
+ * @param {string} id Task id
7747
+ * @param {*} [options] Override http request option.
7748
+ * @throws {RequiredError}
7749
+ */
7750
+ getTask(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTaskResponse>>;
7240
7751
  /**
7241
7752
  * Get usage
7242
7753
  * @param {GetUsageTypeEnum} type Type of usage
@@ -7381,6 +7892,21 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
7381
7892
  * @throws {RequiredError}
7382
7893
  */
7383
7894
  listPublicIntegrations(nextToken?: string, name?: string, version?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPublicIntegrationsResponse>>;
7895
+ /**
7896
+ * Retrieves a list of [Task](#schema_task) you\'ve previously created. The tasks are returned in sorted order, with the most recent appearing first. The list can be filtered using [Tags](#tags).
7897
+ * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results
7898
+ * @param {{ [key: string]: string; }} [tags] Filter by tags
7899
+ * @param {string} [conversationId] Conversation id
7900
+ * @param {string} [userId] User id
7901
+ * @param {string} [parentTaskId] Parent task id
7902
+ * @param {ListTasksStatusEnum} [status] Status
7903
+ * @param {string} [type] Type
7904
+ * @param {*} [options] Override http request option.
7905
+ * @throws {RequiredError}
7906
+ */
7907
+ listTasks(nextToken?: string, tags?: {
7908
+ [key: string]: string;
7909
+ } | undefined, conversationId?: string, userId?: string, parentTaskId?: string, status?: ListTasksStatusEnum, type?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTasksResponse>>;
7384
7910
  /**
7385
7911
  * Get usage history
7386
7912
  * @param {ListUsageHistoryTypeEnum} type Type of usage
@@ -7529,6 +8055,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
7529
8055
  * @throws {RequiredError}
7530
8056
  */
7531
8057
  updateMessage(id: string, updateMessageBody?: UpdateMessageBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateMessageResponse>>;
8058
+ /**
8059
+ * Update a [Task](#schema_task) object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
8060
+ * @param {string} id Task id
8061
+ * @param {UpdateTaskBody} [updateTaskBody] Task data
8062
+ * @param {*} [options] Override http request option.
8063
+ * @throws {RequiredError}
8064
+ */
8065
+ updateTask(id: string, updateTaskBody?: UpdateTaskBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateTaskResponse>>;
7532
8066
  /**
7533
8067
  * Update a [User](#schema_user) object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
7534
8068
  * @param {string} id User ID
@@ -7601,6 +8135,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
7601
8135
  * @throws {RequiredError}
7602
8136
  */
7603
8137
  chargeWorkspaceUnpaidInvoices(requestParameters: DefaultApiChargeWorkspaceUnpaidInvoicesRequest, options?: AxiosRequestConfig): AxiosPromise<ChargeWorkspaceUnpaidInvoicesResponse>;
8138
+ /**
8139
+ * Check if a workspace handle is available
8140
+ * @param {DefaultApiCheckHandleAvailabilityRequest} requestParameters Request parameters.
8141
+ * @param {*} [options] Override http request option.
8142
+ * @throws {RequiredError}
8143
+ */
8144
+ checkHandleAvailability(requestParameters?: DefaultApiCheckHandleAvailabilityRequest, options?: AxiosRequestConfig): AxiosPromise<CheckHandleAvailabilityResponse>;
7604
8145
  /**
7605
8146
  * An integration can call this endpoint to configure itself
7606
8147
  * @param {DefaultApiConfigureIntegrationRequest} requestParameters Request parameters.
@@ -7657,6 +8198,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
7657
8198
  * @throws {RequiredError}
7658
8199
  */
7659
8200
  createPersonalAccessToken(requestParameters?: DefaultApiCreatePersonalAccessTokenRequest, options?: AxiosRequestConfig): AxiosPromise<CreatePersonalAccessTokenResponse>;
8201
+ /**
8202
+ * Creates a new [Task](#schema_task). When creating a new [Task](#schema_task), the required tags must be provided. See the specific integration for more details.
8203
+ * @param {DefaultApiCreateTaskRequest} requestParameters Request parameters.
8204
+ * @param {*} [options] Override http request option.
8205
+ * @throws {RequiredError}
8206
+ */
8207
+ createTask(requestParameters?: DefaultApiCreateTaskRequest, options?: AxiosRequestConfig): AxiosPromise<CreateTaskResponse>;
7660
8208
  /**
7661
8209
  * Creates a new [User](#schema_user). When creating a new [User](#schema_user), the required tags must be provided. See the specific integration for more details.
7662
8210
  * @param {DefaultApiCreateUserRequest} requestParameters Request parameters.
@@ -7727,6 +8275,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
7727
8275
  * @throws {RequiredError}
7728
8276
  */
7729
8277
  deletePersonalAccessToken(requestParameters: DefaultApiDeletePersonalAccessTokenRequest, options?: AxiosRequestConfig): AxiosPromise<object>;
8278
+ /**
8279
+ * Permanently deletes a [Task](#schema_task). It cannot be undone.
8280
+ * @param {DefaultApiDeleteTaskRequest} requestParameters Request parameters.
8281
+ * @param {*} [options] Override http request option.
8282
+ * @throws {RequiredError}
8283
+ */
8284
+ deleteTask(requestParameters: DefaultApiDeleteTaskRequest, options?: AxiosRequestConfig): AxiosPromise<object>;
7730
8285
  /**
7731
8286
  * Permanently deletes a [User](#schema_user). It cannot be undone.
7732
8287
  * @param {DefaultApiDeleteUserRequest} requestParameters Request parameters.
@@ -7909,6 +8464,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
7909
8464
  * @throws {RequiredError}
7910
8465
  */
7911
8466
  getState(requestParameters: DefaultApiGetStateRequest, options?: AxiosRequestConfig): AxiosPromise<GetStateResponse>;
8467
+ /**
8468
+ * Retrieves the [Task](#schema_task) object for a valid identifier.
8469
+ * @param {DefaultApiGetTaskRequest} requestParameters Request parameters.
8470
+ * @param {*} [options] Override http request option.
8471
+ * @throws {RequiredError}
8472
+ */
8473
+ getTask(requestParameters: DefaultApiGetTaskRequest, options?: AxiosRequestConfig): AxiosPromise<GetTaskResponse>;
7912
8474
  /**
7913
8475
  * Get usage
7914
8476
  * @param {DefaultApiGetUsageRequest} requestParameters Request parameters.
@@ -8027,6 +8589,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
8027
8589
  * @throws {RequiredError}
8028
8590
  */
8029
8591
  listPublicIntegrations(requestParameters?: DefaultApiListPublicIntegrationsRequest, options?: AxiosRequestConfig): AxiosPromise<ListPublicIntegrationsResponse>;
8592
+ /**
8593
+ * Retrieves a list of [Task](#schema_task) you\'ve previously created. The tasks are returned in sorted order, with the most recent appearing first. The list can be filtered using [Tags](#tags).
8594
+ * @param {DefaultApiListTasksRequest} requestParameters Request parameters.
8595
+ * @param {*} [options] Override http request option.
8596
+ * @throws {RequiredError}
8597
+ */
8598
+ listTasks(requestParameters?: DefaultApiListTasksRequest, options?: AxiosRequestConfig): AxiosPromise<ListTasksResponse>;
8030
8599
  /**
8031
8600
  * Get usage history
8032
8601
  * @param {DefaultApiListUsageHistoryRequest} requestParameters Request parameters.
@@ -8153,6 +8722,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
8153
8722
  * @throws {RequiredError}
8154
8723
  */
8155
8724
  updateMessage(requestParameters: DefaultApiUpdateMessageRequest, options?: AxiosRequestConfig): AxiosPromise<UpdateMessageResponse>;
8725
+ /**
8726
+ * Update a [Task](#schema_task) object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
8727
+ * @param {DefaultApiUpdateTaskRequest} requestParameters Request parameters.
8728
+ * @param {*} [options] Override http request option.
8729
+ * @throws {RequiredError}
8730
+ */
8731
+ updateTask(requestParameters: DefaultApiUpdateTaskRequest, options?: AxiosRequestConfig): AxiosPromise<UpdateTaskResponse>;
8156
8732
  /**
8157
8733
  * Update a [User](#schema_user) object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
8158
8734
  * @param {DefaultApiUpdateUserRequest} requestParameters Request parameters.
@@ -8283,6 +8859,19 @@ export interface DefaultApiChargeWorkspaceUnpaidInvoicesRequest {
8283
8859
  */
8284
8860
  readonly chargeWorkspaceUnpaidInvoicesBody?: ChargeWorkspaceUnpaidInvoicesBody;
8285
8861
  }
8862
+ /**
8863
+ * Request parameters for checkHandleAvailability operation in DefaultApi.
8864
+ * @export
8865
+ * @interface DefaultApiCheckHandleAvailabilityRequest
8866
+ */
8867
+ export interface DefaultApiCheckHandleAvailabilityRequest {
8868
+ /**
8869
+ * Workspace handle availability
8870
+ * @type {CheckHandleAvailabilityBody}
8871
+ * @memberof DefaultApiCheckHandleAvailability
8872
+ */
8873
+ readonly checkHandleAvailabilityBody?: CheckHandleAvailabilityBody;
8874
+ }
8286
8875
  /**
8287
8876
  * Request parameters for configureIntegration operation in DefaultApi.
8288
8877
  * @export
@@ -8387,6 +8976,19 @@ export interface DefaultApiCreatePersonalAccessTokenRequest {
8387
8976
  */
8388
8977
  readonly createPersonalAccessTokenBody?: CreatePersonalAccessTokenBody;
8389
8978
  }
8979
+ /**
8980
+ * Request parameters for createTask operation in DefaultApi.
8981
+ * @export
8982
+ * @interface DefaultApiCreateTaskRequest
8983
+ */
8984
+ export interface DefaultApiCreateTaskRequest {
8985
+ /**
8986
+ * Task data
8987
+ * @type {CreateTaskBody}
8988
+ * @memberof DefaultApiCreateTask
8989
+ */
8990
+ readonly createTaskBody?: CreateTaskBody;
8991
+ }
8390
8992
  /**
8391
8993
  * Request parameters for createUser operation in DefaultApi.
8392
8994
  * @export
@@ -8523,6 +9125,19 @@ export interface DefaultApiDeletePersonalAccessTokenRequest {
8523
9125
  */
8524
9126
  readonly id: string;
8525
9127
  }
9128
+ /**
9129
+ * Request parameters for deleteTask operation in DefaultApi.
9130
+ * @export
9131
+ * @interface DefaultApiDeleteTaskRequest
9132
+ */
9133
+ export interface DefaultApiDeleteTaskRequest {
9134
+ /**
9135
+ * Task id
9136
+ * @type {string}
9137
+ * @memberof DefaultApiDeleteTask
9138
+ */
9139
+ readonly id: string;
9140
+ }
8526
9141
  /**
8527
9142
  * Request parameters for deleteUser operation in DefaultApi.
8528
9143
  * @export
@@ -8925,6 +9540,19 @@ export interface DefaultApiGetStateRequest {
8925
9540
  */
8926
9541
  readonly name: string;
8927
9542
  }
9543
+ /**
9544
+ * Request parameters for getTask operation in DefaultApi.
9545
+ * @export
9546
+ * @interface DefaultApiGetTaskRequest
9547
+ */
9548
+ export interface DefaultApiGetTaskRequest {
9549
+ /**
9550
+ * Task id
9551
+ * @type {string}
9552
+ * @memberof DefaultApiGetTask
9553
+ */
9554
+ readonly id: string;
9555
+ }
8928
9556
  /**
8929
9557
  * Request parameters for getUsage operation in DefaultApi.
8930
9558
  * @export
@@ -9269,6 +9897,57 @@ export interface DefaultApiListPublicIntegrationsRequest {
9269
9897
  */
9270
9898
  readonly version?: string;
9271
9899
  }
9900
+ /**
9901
+ * Request parameters for listTasks operation in DefaultApi.
9902
+ * @export
9903
+ * @interface DefaultApiListTasksRequest
9904
+ */
9905
+ export interface DefaultApiListTasksRequest {
9906
+ /**
9907
+ * Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results
9908
+ * @type {string}
9909
+ * @memberof DefaultApiListTasks
9910
+ */
9911
+ readonly nextToken?: string;
9912
+ /**
9913
+ * Filter by tags
9914
+ * @type {{ [key: string]: string; }}
9915
+ * @memberof DefaultApiListTasks
9916
+ */
9917
+ readonly tags?: {
9918
+ [key: string]: string;
9919
+ };
9920
+ /**
9921
+ * Conversation id
9922
+ * @type {string}
9923
+ * @memberof DefaultApiListTasks
9924
+ */
9925
+ readonly conversationId?: string;
9926
+ /**
9927
+ * User id
9928
+ * @type {string}
9929
+ * @memberof DefaultApiListTasks
9930
+ */
9931
+ readonly userId?: string;
9932
+ /**
9933
+ * Parent task id
9934
+ * @type {string}
9935
+ * @memberof DefaultApiListTasks
9936
+ */
9937
+ readonly parentTaskId?: string;
9938
+ /**
9939
+ * Status
9940
+ * @type {'pending' | 'in_progress' | 'failed' | 'completed' | 'blocked' | 'paused'}
9941
+ * @memberof DefaultApiListTasks
9942
+ */
9943
+ readonly status?: ListTasksStatusEnum;
9944
+ /**
9945
+ * Type
9946
+ * @type {string}
9947
+ * @memberof DefaultApiListTasks
9948
+ */
9949
+ readonly type?: string;
9950
+ }
9272
9951
  /**
9273
9952
  * Request parameters for listUsageHistory operation in DefaultApi.
9274
9953
  * @export
@@ -9625,6 +10304,25 @@ export interface DefaultApiUpdateMessageRequest {
9625
10304
  */
9626
10305
  readonly updateMessageBody?: UpdateMessageBody;
9627
10306
  }
10307
+ /**
10308
+ * Request parameters for updateTask operation in DefaultApi.
10309
+ * @export
10310
+ * @interface DefaultApiUpdateTaskRequest
10311
+ */
10312
+ export interface DefaultApiUpdateTaskRequest {
10313
+ /**
10314
+ * Task id
10315
+ * @type {string}
10316
+ * @memberof DefaultApiUpdateTask
10317
+ */
10318
+ readonly id: string;
10319
+ /**
10320
+ * Task data
10321
+ * @type {UpdateTaskBody}
10322
+ * @memberof DefaultApiUpdateTask
10323
+ */
10324
+ readonly updateTaskBody?: UpdateTaskBody;
10325
+ }
9628
10326
  /**
9629
10327
  * Request parameters for updateUser operation in DefaultApi.
9630
10328
  * @export
@@ -9737,6 +10435,14 @@ export declare class DefaultApi extends BaseAPI {
9737
10435
  * @memberof DefaultApi
9738
10436
  */
9739
10437
  chargeWorkspaceUnpaidInvoices(requestParameters: DefaultApiChargeWorkspaceUnpaidInvoicesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ChargeWorkspaceUnpaidInvoicesResponse, any>>;
10438
+ /**
10439
+ * Check if a workspace handle is available
10440
+ * @param {DefaultApiCheckHandleAvailabilityRequest} requestParameters Request parameters.
10441
+ * @param {*} [options] Override http request option.
10442
+ * @throws {RequiredError}
10443
+ * @memberof DefaultApi
10444
+ */
10445
+ checkHandleAvailability(requestParameters?: DefaultApiCheckHandleAvailabilityRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckHandleAvailabilityResponse, any>>;
9740
10446
  /**
9741
10447
  * An integration can call this endpoint to configure itself
9742
10448
  * @param {DefaultApiConfigureIntegrationRequest} requestParameters Request parameters.
@@ -9801,6 +10507,14 @@ export declare class DefaultApi extends BaseAPI {
9801
10507
  * @memberof DefaultApi
9802
10508
  */
9803
10509
  createPersonalAccessToken(requestParameters?: DefaultApiCreatePersonalAccessTokenRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePersonalAccessTokenResponse, any>>;
10510
+ /**
10511
+ * Creates a new [Task](#schema_task). When creating a new [Task](#schema_task), the required tags must be provided. See the specific integration for more details.
10512
+ * @param {DefaultApiCreateTaskRequest} requestParameters Request parameters.
10513
+ * @param {*} [options] Override http request option.
10514
+ * @throws {RequiredError}
10515
+ * @memberof DefaultApi
10516
+ */
10517
+ createTask(requestParameters?: DefaultApiCreateTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateTaskResponse, any>>;
9804
10518
  /**
9805
10519
  * Creates a new [User](#schema_user). When creating a new [User](#schema_user), the required tags must be provided. See the specific integration for more details.
9806
10520
  * @param {DefaultApiCreateUserRequest} requestParameters Request parameters.
@@ -9881,6 +10595,14 @@ export declare class DefaultApi extends BaseAPI {
9881
10595
  * @memberof DefaultApi
9882
10596
  */
9883
10597
  deletePersonalAccessToken(requestParameters: DefaultApiDeletePersonalAccessTokenRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
10598
+ /**
10599
+ * Permanently deletes a [Task](#schema_task). It cannot be undone.
10600
+ * @param {DefaultApiDeleteTaskRequest} requestParameters Request parameters.
10601
+ * @param {*} [options] Override http request option.
10602
+ * @throws {RequiredError}
10603
+ * @memberof DefaultApi
10604
+ */
10605
+ deleteTask(requestParameters: DefaultApiDeleteTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
9884
10606
  /**
9885
10607
  * Permanently deletes a [User](#schema_user). It cannot be undone.
9886
10608
  * @param {DefaultApiDeleteUserRequest} requestParameters Request parameters.
@@ -10089,6 +10811,14 @@ export declare class DefaultApi extends BaseAPI {
10089
10811
  * @memberof DefaultApi
10090
10812
  */
10091
10813
  getState(requestParameters: DefaultApiGetStateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetStateResponse, any>>;
10814
+ /**
10815
+ * Retrieves the [Task](#schema_task) object for a valid identifier.
10816
+ * @param {DefaultApiGetTaskRequest} requestParameters Request parameters.
10817
+ * @param {*} [options] Override http request option.
10818
+ * @throws {RequiredError}
10819
+ * @memberof DefaultApi
10820
+ */
10821
+ getTask(requestParameters: DefaultApiGetTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetTaskResponse, any>>;
10092
10822
  /**
10093
10823
  * Get usage
10094
10824
  * @param {DefaultApiGetUsageRequest} requestParameters Request parameters.
@@ -10224,6 +10954,14 @@ export declare class DefaultApi extends BaseAPI {
10224
10954
  * @memberof DefaultApi
10225
10955
  */
10226
10956
  listPublicIntegrations(requestParameters?: DefaultApiListPublicIntegrationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPublicIntegrationsResponse, any>>;
10957
+ /**
10958
+ * Retrieves a list of [Task](#schema_task) you\'ve previously created. The tasks are returned in sorted order, with the most recent appearing first. The list can be filtered using [Tags](#tags).
10959
+ * @param {DefaultApiListTasksRequest} requestParameters Request parameters.
10960
+ * @param {*} [options] Override http request option.
10961
+ * @throws {RequiredError}
10962
+ * @memberof DefaultApi
10963
+ */
10964
+ listTasks(requestParameters?: DefaultApiListTasksRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTasksResponse, any>>;
10227
10965
  /**
10228
10966
  * Get usage history
10229
10967
  * @param {DefaultApiListUsageHistoryRequest} requestParameters Request parameters.
@@ -10368,6 +11106,14 @@ export declare class DefaultApi extends BaseAPI {
10368
11106
  * @memberof DefaultApi
10369
11107
  */
10370
11108
  updateMessage(requestParameters: DefaultApiUpdateMessageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateMessageResponse, any>>;
11109
+ /**
11110
+ * Update a [Task](#schema_task) object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
11111
+ * @param {DefaultApiUpdateTaskRequest} requestParameters Request parameters.
11112
+ * @param {*} [options] Override http request option.
11113
+ * @throws {RequiredError}
11114
+ * @memberof DefaultApi
11115
+ */
11116
+ updateTask(requestParameters: DefaultApiUpdateTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateTaskResponse, any>>;
10371
11117
  /**
10372
11118
  * Update a [User](#schema_user) object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
10373
11119
  * @param {DefaultApiUpdateUserRequest} requestParameters Request parameters.
@@ -10470,6 +11216,18 @@ export declare const GetWorkspaceQuotaTypeEnum: {
10470
11216
  readonly AlwaysAlive: "always_alive";
10471
11217
  };
10472
11218
  export type GetWorkspaceQuotaTypeEnum = typeof GetWorkspaceQuotaTypeEnum[keyof typeof GetWorkspaceQuotaTypeEnum];
11219
+ /**
11220
+ * @export
11221
+ */
11222
+ export declare const ListTasksStatusEnum: {
11223
+ readonly Pending: "pending";
11224
+ readonly InProgress: "in_progress";
11225
+ readonly Failed: "failed";
11226
+ readonly Completed: "completed";
11227
+ readonly Blocked: "blocked";
11228
+ readonly Paused: "paused";
11229
+ };
11230
+ export type ListTasksStatusEnum = typeof ListTasksStatusEnum[keyof typeof ListTasksStatusEnum];
10473
11231
  /**
10474
11232
  * @export
10475
11233
  */