@botpress/client 0.11.5 → 0.11.7
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/bundle.cjs +10 -10
- package/dist/bundle.cjs.map +3 -3
- package/dist/gen/api.d.ts +1040 -8
- package/dist/gen/base.d.ts +1 -1
- package/dist/gen/client.d.ts +25 -1
- package/dist/gen/common.d.ts +1 -1
- package/dist/gen/configuration.d.ts +1 -1
- package/dist/gen/errors.d.ts +11 -4
- package/dist/gen/index.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +3 -3
- package/dist/index.d.ts +12 -1
- package/dist/index.mjs +1 -1
- package/e2e/browser/index.ts +70 -0
- package/e2e/browser/script.ts +33 -0
- package/e2e/consts.ts +2 -0
- package/e2e/node.ts +25 -0
- package/package.json +13 -4
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.18.
|
|
5
|
+
* The version of the OpenAPI document: 0.18.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2010,6 +2010,94 @@ export interface CreatePersonalAccessTokenResponsePat {
|
|
|
2010
2010
|
*/
|
|
2011
2011
|
'value': string;
|
|
2012
2012
|
}
|
|
2013
|
+
/**
|
|
2014
|
+
*
|
|
2015
|
+
* @export
|
|
2016
|
+
* @interface CreateTableBody
|
|
2017
|
+
*/
|
|
2018
|
+
export interface CreateTableBody {
|
|
2019
|
+
/**
|
|
2020
|
+
* Required. This name is used to identify your table.
|
|
2021
|
+
* @type {string}
|
|
2022
|
+
* @memberof CreateTableBody
|
|
2023
|
+
*/
|
|
2024
|
+
'name': string;
|
|
2025
|
+
/**
|
|
2026
|
+
* The \'factor\' multiplies the row\'s data storage limit by 4KB and its quota count, but can only be set at table creation and not modified later. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
|
|
2027
|
+
* @type {number}
|
|
2028
|
+
* @memberof CreateTableBody
|
|
2029
|
+
*/
|
|
2030
|
+
'factor'?: number;
|
|
2031
|
+
/**
|
|
2032
|
+
* 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.
|
|
2033
|
+
* @type {{ [key: string]: any; }}
|
|
2034
|
+
* @memberof CreateTableBody
|
|
2035
|
+
*/
|
|
2036
|
+
'schema': {
|
|
2037
|
+
[key: string]: any;
|
|
2038
|
+
};
|
|
2039
|
+
/**
|
|
2040
|
+
* Optional tags to help organize your tables. These should be passed here as an object representing key/value pairs.
|
|
2041
|
+
* @type {{ [key: string]: string; }}
|
|
2042
|
+
* @memberof CreateTableBody
|
|
2043
|
+
*/
|
|
2044
|
+
'tags'?: {
|
|
2045
|
+
[key: string]: string;
|
|
2046
|
+
};
|
|
2047
|
+
}
|
|
2048
|
+
/**
|
|
2049
|
+
*
|
|
2050
|
+
* @export
|
|
2051
|
+
* @interface CreateTableResponse
|
|
2052
|
+
*/
|
|
2053
|
+
export interface CreateTableResponse {
|
|
2054
|
+
/**
|
|
2055
|
+
*
|
|
2056
|
+
* @type {Table}
|
|
2057
|
+
* @memberof CreateTableResponse
|
|
2058
|
+
*/
|
|
2059
|
+
'table': Table;
|
|
2060
|
+
}
|
|
2061
|
+
/**
|
|
2062
|
+
*
|
|
2063
|
+
* @export
|
|
2064
|
+
* @interface CreateTableRowsBody
|
|
2065
|
+
*/
|
|
2066
|
+
export interface CreateTableRowsBody {
|
|
2067
|
+
/**
|
|
2068
|
+
*
|
|
2069
|
+
* @type {Array<{ [key: string]: any; }>}
|
|
2070
|
+
* @memberof CreateTableRowsBody
|
|
2071
|
+
*/
|
|
2072
|
+
'rows': Array<{
|
|
2073
|
+
[key: string]: any;
|
|
2074
|
+
}>;
|
|
2075
|
+
}
|
|
2076
|
+
/**
|
|
2077
|
+
*
|
|
2078
|
+
* @export
|
|
2079
|
+
* @interface CreateTableRowsResponse
|
|
2080
|
+
*/
|
|
2081
|
+
export interface CreateTableRowsResponse {
|
|
2082
|
+
/**
|
|
2083
|
+
*
|
|
2084
|
+
* @type {Array<Row>}
|
|
2085
|
+
* @memberof CreateTableRowsResponse
|
|
2086
|
+
*/
|
|
2087
|
+
'rows': Array<Row>;
|
|
2088
|
+
/**
|
|
2089
|
+
* Alerts for minor issues that don\'t block the operation but suggest possible improvements.
|
|
2090
|
+
* @type {Array<string>}
|
|
2091
|
+
* @memberof CreateTableRowsResponse
|
|
2092
|
+
*/
|
|
2093
|
+
'warnings'?: Array<string>;
|
|
2094
|
+
/**
|
|
2095
|
+
* Critical issues in specific elements that prevent their successful processing, allowing partial operation success.
|
|
2096
|
+
* @type {Array<string>}
|
|
2097
|
+
* @memberof CreateTableRowsResponse
|
|
2098
|
+
*/
|
|
2099
|
+
'errors'?: Array<string>;
|
|
2100
|
+
}
|
|
2013
2101
|
/**
|
|
2014
2102
|
*
|
|
2015
2103
|
* @export
|
|
@@ -2353,6 +2441,46 @@ export declare const CreateWorkspaceResponsePlanEnum: {
|
|
|
2353
2441
|
readonly Enterprise: "enterprise";
|
|
2354
2442
|
};
|
|
2355
2443
|
export type CreateWorkspaceResponsePlanEnum = typeof CreateWorkspaceResponsePlanEnum[keyof typeof CreateWorkspaceResponsePlanEnum];
|
|
2444
|
+
/**
|
|
2445
|
+
*
|
|
2446
|
+
* @export
|
|
2447
|
+
* @interface DeleteTableRowsBody
|
|
2448
|
+
*/
|
|
2449
|
+
export interface DeleteTableRowsBody {
|
|
2450
|
+
/**
|
|
2451
|
+
*
|
|
2452
|
+
* @type {Array<number>}
|
|
2453
|
+
* @memberof DeleteTableRowsBody
|
|
2454
|
+
*/
|
|
2455
|
+
'ids'?: Array<number>;
|
|
2456
|
+
/**
|
|
2457
|
+
* Filter to apply when deleting rows. Example: \\{ \"name\": \\{ \"$eq\": \"John\" \\} \\}
|
|
2458
|
+
* @type {{ [key: string]: any; }}
|
|
2459
|
+
* @memberof DeleteTableRowsBody
|
|
2460
|
+
*/
|
|
2461
|
+
'filter'?: {
|
|
2462
|
+
[key: string]: any;
|
|
2463
|
+
};
|
|
2464
|
+
/**
|
|
2465
|
+
* Flag to delete all rows. Use with caution as this action is irreversible.
|
|
2466
|
+
* @type {boolean}
|
|
2467
|
+
* @memberof DeleteTableRowsBody
|
|
2468
|
+
*/
|
|
2469
|
+
'deleteAllRows'?: boolean;
|
|
2470
|
+
}
|
|
2471
|
+
/**
|
|
2472
|
+
*
|
|
2473
|
+
* @export
|
|
2474
|
+
* @interface DeleteTableRowsResponse
|
|
2475
|
+
*/
|
|
2476
|
+
export interface DeleteTableRowsResponse {
|
|
2477
|
+
/**
|
|
2478
|
+
*
|
|
2479
|
+
* @type {number}
|
|
2480
|
+
* @memberof DeleteTableRowsResponse
|
|
2481
|
+
*/
|
|
2482
|
+
'deletedRows': number;
|
|
2483
|
+
}
|
|
2356
2484
|
/**
|
|
2357
2485
|
* The event object represents an action or an occurrence.
|
|
2358
2486
|
* @export
|
|
@@ -2423,6 +2551,95 @@ export declare const EventStatusEnum: {
|
|
|
2423
2551
|
readonly Failed: "failed";
|
|
2424
2552
|
};
|
|
2425
2553
|
export type EventStatusEnum = typeof EventStatusEnum[keyof typeof EventStatusEnum];
|
|
2554
|
+
/**
|
|
2555
|
+
*
|
|
2556
|
+
* @export
|
|
2557
|
+
* @interface FindTableRowsBody
|
|
2558
|
+
*/
|
|
2559
|
+
export interface FindTableRowsBody {
|
|
2560
|
+
/**
|
|
2561
|
+
* Limit for pagination, specifying the maximum number of rows to return.
|
|
2562
|
+
* @type {number}
|
|
2563
|
+
* @memberof FindTableRowsBody
|
|
2564
|
+
*/
|
|
2565
|
+
'limit'?: number;
|
|
2566
|
+
/**
|
|
2567
|
+
* Offset for pagination, specifying where to start returning rows from.
|
|
2568
|
+
* @type {number}
|
|
2569
|
+
* @memberof FindTableRowsBody
|
|
2570
|
+
*/
|
|
2571
|
+
'offset'?: number;
|
|
2572
|
+
/**
|
|
2573
|
+
* Provide a mongodb-like filter to apply to the query. Example: \\{ \"name\": \\{ \"$eq\": \"John\" \\} \\}
|
|
2574
|
+
* @type {{ [key: string]: any; }}
|
|
2575
|
+
* @memberof FindTableRowsBody
|
|
2576
|
+
*/
|
|
2577
|
+
'filter'?: {
|
|
2578
|
+
[key: string]: any;
|
|
2579
|
+
};
|
|
2580
|
+
/**
|
|
2581
|
+
* Group the rows by a specific column and apply aggregations to them. Allowed values: key, avg, max, min, sum, count. Example: \\{ \"someId\": \"key\", \"orders\": [\"sum\", \"avg\"] \\}
|
|
2582
|
+
* @type {{ [key: string]: any; }}
|
|
2583
|
+
* @memberof FindTableRowsBody
|
|
2584
|
+
*/
|
|
2585
|
+
'group'?: {
|
|
2586
|
+
[key: string]: any;
|
|
2587
|
+
};
|
|
2588
|
+
/**
|
|
2589
|
+
* Search term to apply to the row search. When using this parameter, some rows which doesn\'t match the search term will be returned, use the similarity field to know how much the row matches the search term.
|
|
2590
|
+
* @type {string}
|
|
2591
|
+
* @memberof FindTableRowsBody
|
|
2592
|
+
*/
|
|
2593
|
+
'search'?: string;
|
|
2594
|
+
/**
|
|
2595
|
+
* Specifies the column by which to order the results. By default it is ordered by id. Build-in columns: id, createdAt, updatedAt
|
|
2596
|
+
* @type {string}
|
|
2597
|
+
* @memberof FindTableRowsBody
|
|
2598
|
+
*/
|
|
2599
|
+
'orderBy'?: string;
|
|
2600
|
+
/**
|
|
2601
|
+
* Specifies the direction of sorting, either ascending or descending.
|
|
2602
|
+
* @type {string}
|
|
2603
|
+
* @memberof FindTableRowsBody
|
|
2604
|
+
*/
|
|
2605
|
+
'orderDirection'?: FindTableRowsBodyOrderDirectionEnum;
|
|
2606
|
+
}
|
|
2607
|
+
export declare const FindTableRowsBodyOrderDirectionEnum: {
|
|
2608
|
+
readonly Asc: "asc";
|
|
2609
|
+
readonly Desc: "desc";
|
|
2610
|
+
};
|
|
2611
|
+
export type FindTableRowsBodyOrderDirectionEnum = typeof FindTableRowsBodyOrderDirectionEnum[keyof typeof FindTableRowsBodyOrderDirectionEnum];
|
|
2612
|
+
/**
|
|
2613
|
+
*
|
|
2614
|
+
* @export
|
|
2615
|
+
* @interface FindTableRowsResponse
|
|
2616
|
+
*/
|
|
2617
|
+
export interface FindTableRowsResponse {
|
|
2618
|
+
/**
|
|
2619
|
+
*
|
|
2620
|
+
* @type {Array<Row>}
|
|
2621
|
+
* @memberof FindTableRowsResponse
|
|
2622
|
+
*/
|
|
2623
|
+
'rows': Array<Row>;
|
|
2624
|
+
/**
|
|
2625
|
+
* The total number of rows matching the search criteria, regardless of pagination.
|
|
2626
|
+
* @type {number}
|
|
2627
|
+
* @memberof FindTableRowsResponse
|
|
2628
|
+
*/
|
|
2629
|
+
'count': number;
|
|
2630
|
+
/**
|
|
2631
|
+
*
|
|
2632
|
+
* @type {number}
|
|
2633
|
+
* @memberof FindTableRowsResponse
|
|
2634
|
+
*/
|
|
2635
|
+
'offset': number;
|
|
2636
|
+
/**
|
|
2637
|
+
*
|
|
2638
|
+
* @type {number}
|
|
2639
|
+
* @memberof FindTableRowsResponse
|
|
2640
|
+
*/
|
|
2641
|
+
'limit': number;
|
|
2642
|
+
}
|
|
2426
2643
|
/**
|
|
2427
2644
|
*
|
|
2428
2645
|
* @export
|
|
@@ -3082,6 +3299,44 @@ export interface GetStateResponse {
|
|
|
3082
3299
|
*/
|
|
3083
3300
|
'state': State;
|
|
3084
3301
|
}
|
|
3302
|
+
/**
|
|
3303
|
+
*
|
|
3304
|
+
* @export
|
|
3305
|
+
* @interface GetTableResponse
|
|
3306
|
+
*/
|
|
3307
|
+
export interface GetTableResponse {
|
|
3308
|
+
/**
|
|
3309
|
+
*
|
|
3310
|
+
* @type {Table}
|
|
3311
|
+
* @memberof GetTableResponse
|
|
3312
|
+
*/
|
|
3313
|
+
'table': Table;
|
|
3314
|
+
/**
|
|
3315
|
+
* The total number of rows present in the table.
|
|
3316
|
+
* @type {number}
|
|
3317
|
+
* @memberof GetTableResponse
|
|
3318
|
+
*/
|
|
3319
|
+
'rows': number;
|
|
3320
|
+
/**
|
|
3321
|
+
* The number of rows pending indexing, relevant for search functionalities.
|
|
3322
|
+
* @type {number}
|
|
3323
|
+
* @memberof GetTableResponse
|
|
3324
|
+
*/
|
|
3325
|
+
'indexingCount': number;
|
|
3326
|
+
}
|
|
3327
|
+
/**
|
|
3328
|
+
*
|
|
3329
|
+
* @export
|
|
3330
|
+
* @interface GetTableRowResponse
|
|
3331
|
+
*/
|
|
3332
|
+
export interface GetTableRowResponse {
|
|
3333
|
+
/**
|
|
3334
|
+
*
|
|
3335
|
+
* @type {Row}
|
|
3336
|
+
* @memberof GetTableRowResponse
|
|
3337
|
+
*/
|
|
3338
|
+
'row': Row;
|
|
3339
|
+
}
|
|
3085
3340
|
/**
|
|
3086
3341
|
*
|
|
3087
3342
|
* @export
|
|
@@ -4324,6 +4579,19 @@ export interface ListPublicIntegrationsResponseIntegrationsInner {
|
|
|
4324
4579
|
*/
|
|
4325
4580
|
'iconUrl': string;
|
|
4326
4581
|
}
|
|
4582
|
+
/**
|
|
4583
|
+
*
|
|
4584
|
+
* @export
|
|
4585
|
+
* @interface ListTablesResponse
|
|
4586
|
+
*/
|
|
4587
|
+
export interface ListTablesResponse {
|
|
4588
|
+
/**
|
|
4589
|
+
*
|
|
4590
|
+
* @type {Array<Table>}
|
|
4591
|
+
* @memberof ListTablesResponse
|
|
4592
|
+
*/
|
|
4593
|
+
'tables': Array<Table>;
|
|
4594
|
+
}
|
|
4327
4595
|
/**
|
|
4328
4596
|
*
|
|
4329
4597
|
* @export
|
|
@@ -4770,6 +5038,38 @@ export interface PatchStateResponse {
|
|
|
4770
5038
|
*/
|
|
4771
5039
|
'state': State;
|
|
4772
5040
|
}
|
|
5041
|
+
/**
|
|
5042
|
+
*
|
|
5043
|
+
* @export
|
|
5044
|
+
* @interface RenameTableColumnBody
|
|
5045
|
+
*/
|
|
5046
|
+
export interface RenameTableColumnBody {
|
|
5047
|
+
/**
|
|
5048
|
+
* The existing name of the column.
|
|
5049
|
+
* @type {string}
|
|
5050
|
+
* @memberof RenameTableColumnBody
|
|
5051
|
+
*/
|
|
5052
|
+
'name': string;
|
|
5053
|
+
/**
|
|
5054
|
+
* The new name to assign to the column.
|
|
5055
|
+
* @type {string}
|
|
5056
|
+
* @memberof RenameTableColumnBody
|
|
5057
|
+
*/
|
|
5058
|
+
'newName': string;
|
|
5059
|
+
}
|
|
5060
|
+
/**
|
|
5061
|
+
*
|
|
5062
|
+
* @export
|
|
5063
|
+
* @interface RenameTableColumnResponse
|
|
5064
|
+
*/
|
|
5065
|
+
export interface RenameTableColumnResponse {
|
|
5066
|
+
/**
|
|
5067
|
+
*
|
|
5068
|
+
* @type {Table}
|
|
5069
|
+
* @memberof RenameTableColumnResponse
|
|
5070
|
+
*/
|
|
5071
|
+
'table': Table;
|
|
5072
|
+
}
|
|
4773
5073
|
/**
|
|
4774
5074
|
*
|
|
4775
5075
|
* @export
|
|
@@ -6033,6 +6333,100 @@ export interface UpdateMessageResponse {
|
|
|
6033
6333
|
*/
|
|
6034
6334
|
'message': Message;
|
|
6035
6335
|
}
|
|
6336
|
+
/**
|
|
6337
|
+
*
|
|
6338
|
+
* @export
|
|
6339
|
+
* @interface UpdateTableBody
|
|
6340
|
+
*/
|
|
6341
|
+
export interface UpdateTableBody {
|
|
6342
|
+
/**
|
|
6343
|
+
* Required. This name is used to identify your table.
|
|
6344
|
+
* @type {string}
|
|
6345
|
+
* @memberof UpdateTableBody
|
|
6346
|
+
*/
|
|
6347
|
+
'name'?: string;
|
|
6348
|
+
/**
|
|
6349
|
+
* 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.
|
|
6350
|
+
* @type {{ [key: string]: any; }}
|
|
6351
|
+
* @memberof UpdateTableBody
|
|
6352
|
+
*/
|
|
6353
|
+
'schema'?: {
|
|
6354
|
+
[key: string]: any;
|
|
6355
|
+
};
|
|
6356
|
+
/**
|
|
6357
|
+
* Optional tags to help organize your tables. These should be passed here as an object representing key/value pairs.
|
|
6358
|
+
* @type {{ [key: string]: string; }}
|
|
6359
|
+
* @memberof UpdateTableBody
|
|
6360
|
+
*/
|
|
6361
|
+
'tags'?: {
|
|
6362
|
+
[key: string]: string;
|
|
6363
|
+
};
|
|
6364
|
+
}
|
|
6365
|
+
/**
|
|
6366
|
+
*
|
|
6367
|
+
* @export
|
|
6368
|
+
* @interface UpdateTableResponse
|
|
6369
|
+
*/
|
|
6370
|
+
export interface UpdateTableResponse {
|
|
6371
|
+
/**
|
|
6372
|
+
*
|
|
6373
|
+
* @type {Table}
|
|
6374
|
+
* @memberof UpdateTableResponse
|
|
6375
|
+
*/
|
|
6376
|
+
'table': Table;
|
|
6377
|
+
}
|
|
6378
|
+
/**
|
|
6379
|
+
*
|
|
6380
|
+
* @export
|
|
6381
|
+
* @interface UpdateTableRowsBody
|
|
6382
|
+
*/
|
|
6383
|
+
export interface UpdateTableRowsBody {
|
|
6384
|
+
/**
|
|
6385
|
+
* Rows with updated data, identified by ID.
|
|
6386
|
+
* @type {Array<UpdateTableRowsBodyRowsInner>}
|
|
6387
|
+
* @memberof UpdateTableRowsBody
|
|
6388
|
+
*/
|
|
6389
|
+
'rows': Array<UpdateTableRowsBodyRowsInner>;
|
|
6390
|
+
}
|
|
6391
|
+
/**
|
|
6392
|
+
*
|
|
6393
|
+
* @export
|
|
6394
|
+
* @interface UpdateTableRowsBodyRowsInner
|
|
6395
|
+
*/
|
|
6396
|
+
export interface UpdateTableRowsBodyRowsInner {
|
|
6397
|
+
[key: string]: any;
|
|
6398
|
+
/**
|
|
6399
|
+
*
|
|
6400
|
+
* @type {number}
|
|
6401
|
+
* @memberof UpdateTableRowsBodyRowsInner
|
|
6402
|
+
*/
|
|
6403
|
+
'id': number;
|
|
6404
|
+
}
|
|
6405
|
+
/**
|
|
6406
|
+
*
|
|
6407
|
+
* @export
|
|
6408
|
+
* @interface UpdateTableRowsResponse
|
|
6409
|
+
*/
|
|
6410
|
+
export interface UpdateTableRowsResponse {
|
|
6411
|
+
/**
|
|
6412
|
+
*
|
|
6413
|
+
* @type {Array<Row>}
|
|
6414
|
+
* @memberof UpdateTableRowsResponse
|
|
6415
|
+
*/
|
|
6416
|
+
'rows': Array<Row>;
|
|
6417
|
+
/**
|
|
6418
|
+
* Alerts for minor issues that don\'t block the operation but suggest possible improvements.
|
|
6419
|
+
* @type {Array<string>}
|
|
6420
|
+
* @memberof UpdateTableRowsResponse
|
|
6421
|
+
*/
|
|
6422
|
+
'warnings'?: Array<string>;
|
|
6423
|
+
/**
|
|
6424
|
+
* Critical issues in specific elements that prevent their successful processing, allowing partial operation success.
|
|
6425
|
+
* @type {Array<string>}
|
|
6426
|
+
* @memberof UpdateTableRowsResponse
|
|
6427
|
+
*/
|
|
6428
|
+
'errors'?: Array<string>;
|
|
6429
|
+
}
|
|
6036
6430
|
/**
|
|
6037
6431
|
*
|
|
6038
6432
|
* @export
|
|
@@ -6538,17 +6932,81 @@ export type UpdateWorkspaceResponse1PlanEnum = typeof UpdateWorkspaceResponse1Pl
|
|
|
6538
6932
|
/**
|
|
6539
6933
|
*
|
|
6540
6934
|
* @export
|
|
6541
|
-
* @interface
|
|
6935
|
+
* @interface UpsertTableRowsBody
|
|
6542
6936
|
*/
|
|
6543
|
-
export interface
|
|
6937
|
+
export interface UpsertTableRowsBody {
|
|
6544
6938
|
/**
|
|
6545
|
-
*
|
|
6546
|
-
* @type {
|
|
6547
|
-
* @memberof
|
|
6939
|
+
*
|
|
6940
|
+
* @type {Array<UpsertTableRowsBodyRowsInner>}
|
|
6941
|
+
* @memberof UpsertTableRowsBody
|
|
6548
6942
|
*/
|
|
6549
|
-
'
|
|
6943
|
+
'rows': Array<UpsertTableRowsBodyRowsInner>;
|
|
6550
6944
|
/**
|
|
6551
|
-
*
|
|
6945
|
+
* Determines if a row is inserted or updated. Defaults to \"id\".
|
|
6946
|
+
* @type {string}
|
|
6947
|
+
* @memberof UpsertTableRowsBody
|
|
6948
|
+
*/
|
|
6949
|
+
'keyColumn'?: string;
|
|
6950
|
+
}
|
|
6951
|
+
/**
|
|
6952
|
+
*
|
|
6953
|
+
* @export
|
|
6954
|
+
* @interface UpsertTableRowsBodyRowsInner
|
|
6955
|
+
*/
|
|
6956
|
+
export interface UpsertTableRowsBodyRowsInner {
|
|
6957
|
+
[key: string]: any;
|
|
6958
|
+
/**
|
|
6959
|
+
*
|
|
6960
|
+
* @type {number}
|
|
6961
|
+
* @memberof UpsertTableRowsBodyRowsInner
|
|
6962
|
+
*/
|
|
6963
|
+
'id'?: number;
|
|
6964
|
+
}
|
|
6965
|
+
/**
|
|
6966
|
+
*
|
|
6967
|
+
* @export
|
|
6968
|
+
* @interface UpsertTableRowsResponse
|
|
6969
|
+
*/
|
|
6970
|
+
export interface UpsertTableRowsResponse {
|
|
6971
|
+
/**
|
|
6972
|
+
*
|
|
6973
|
+
* @type {Array<Row>}
|
|
6974
|
+
* @memberof UpsertTableRowsResponse
|
|
6975
|
+
*/
|
|
6976
|
+
'inserted': Array<Row>;
|
|
6977
|
+
/**
|
|
6978
|
+
*
|
|
6979
|
+
* @type {Array<Row>}
|
|
6980
|
+
* @memberof UpsertTableRowsResponse
|
|
6981
|
+
*/
|
|
6982
|
+
'updated': Array<Row>;
|
|
6983
|
+
/**
|
|
6984
|
+
* Alerts for minor issues that don\'t block the operation but suggest possible improvements.
|
|
6985
|
+
* @type {Array<string>}
|
|
6986
|
+
* @memberof UpsertTableRowsResponse
|
|
6987
|
+
*/
|
|
6988
|
+
'warnings'?: Array<string>;
|
|
6989
|
+
/**
|
|
6990
|
+
* Critical issues in specific elements that prevent their successful processing, allowing partial operation success.
|
|
6991
|
+
* @type {Array<string>}
|
|
6992
|
+
* @memberof UpsertTableRowsResponse
|
|
6993
|
+
*/
|
|
6994
|
+
'errors'?: Array<string>;
|
|
6995
|
+
}
|
|
6996
|
+
/**
|
|
6997
|
+
*
|
|
6998
|
+
* @export
|
|
6999
|
+
* @interface Usage
|
|
7000
|
+
*/
|
|
7001
|
+
export interface Usage {
|
|
7002
|
+
/**
|
|
7003
|
+
* Id of the usage that it is linked to. It can either be a workspace id or a bot id
|
|
7004
|
+
* @type {string}
|
|
7005
|
+
* @memberof Usage
|
|
7006
|
+
*/
|
|
7007
|
+
'id': string;
|
|
7008
|
+
/**
|
|
7009
|
+
* Period of the quota that it is applied to
|
|
6552
7010
|
* @type {string}
|
|
6553
7011
|
* @memberof Usage
|
|
6554
7012
|
*/
|
|
@@ -6925,6 +7383,21 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
6925
7383
|
* @throws {RequiredError}
|
|
6926
7384
|
*/
|
|
6927
7385
|
createPersonalAccessToken: (createPersonalAccessTokenBody?: CreatePersonalAccessTokenBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7386
|
+
/**
|
|
7387
|
+
* Initiates the creation of a new table based on the provided schema, excluding system-managed fields like IDs and timestamps.
|
|
7388
|
+
* @param {CreateTableBody} [createTableBody] Schema defining the structure of the new table
|
|
7389
|
+
* @param {*} [options] Override http request option.
|
|
7390
|
+
* @throws {RequiredError}
|
|
7391
|
+
*/
|
|
7392
|
+
createTable: (createTableBody?: CreateTableBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7393
|
+
/**
|
|
7394
|
+
* Inserts one or multiple new rows into the specified table.
|
|
7395
|
+
* @param {string} table The table\'s name or unique identifier for targeting specific table operations.
|
|
7396
|
+
* @param {CreateTableRowsBody} [createTableRowsBody] A batch of new rows to insert into the table. Each row must adhere to the table’s schema. A maximum of 1000 rows can be inserted in a single request.
|
|
7397
|
+
* @param {*} [options] Override http request option.
|
|
7398
|
+
* @throws {RequiredError}
|
|
7399
|
+
*/
|
|
7400
|
+
createTableRows: (table: string, createTableRowsBody?: CreateTableRowsBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6928
7401
|
/**
|
|
6929
7402
|
* 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.
|
|
6930
7403
|
* @param {CreateTaskBody} [createTaskBody] Task data
|
|
@@ -7003,6 +7476,21 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
7003
7476
|
* @throws {RequiredError}
|
|
7004
7477
|
*/
|
|
7005
7478
|
deletePersonalAccessToken: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7479
|
+
/**
|
|
7480
|
+
* Permanently deletes a table and all its associated data from the system. Use with caution, as this action cannot be undone.
|
|
7481
|
+
* @param {string} table The table\'s name or unique identifier for targeting specific table operations.
|
|
7482
|
+
* @param {*} [options] Override http request option.
|
|
7483
|
+
* @throws {RequiredError}
|
|
7484
|
+
*/
|
|
7485
|
+
deleteTable: (table: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7486
|
+
/**
|
|
7487
|
+
* Allows selective deletion of rows or complete clearance of a table.
|
|
7488
|
+
* @param {string} table The table\'s name or unique identifier for targeting specific table operations.
|
|
7489
|
+
* @param {DeleteTableRowsBody} [deleteTableRowsBody] Identifiers of the rows to be deleted.
|
|
7490
|
+
* @param {*} [options] Override http request option.
|
|
7491
|
+
* @throws {RequiredError}
|
|
7492
|
+
*/
|
|
7493
|
+
deleteTableRows: (table: string, deleteTableRowsBody?: DeleteTableRowsBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7006
7494
|
/**
|
|
7007
7495
|
* Permanently deletes a [Task](#schema_task). It cannot be undone.
|
|
7008
7496
|
* @param {string} id Task id
|
|
@@ -7038,6 +7526,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
7038
7526
|
* @throws {RequiredError}
|
|
7039
7527
|
*/
|
|
7040
7528
|
downloadFile: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7529
|
+
/**
|
|
7530
|
+
* Enables the search and filtering of rows within a table based on specific criteria. This operation supports complex queries for advanced data manipulation and retrieval.
|
|
7531
|
+
* @param {string} table The table\'s name or unique identifier for targeting specific table operations.
|
|
7532
|
+
* @param {FindTableRowsBody} [findTableRowsBody] The search criteria and filters to apply when searching for rows. This includes conditions, search terms, and pagination options.
|
|
7533
|
+
* @param {*} [options] Override http request option.
|
|
7534
|
+
* @throws {RequiredError}
|
|
7535
|
+
*/
|
|
7536
|
+
findTableRows: (table: string, findTableRowsBody?: FindTableRowsBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7041
7537
|
/**
|
|
7042
7538
|
* Get details of the account authenticating with this endpoint.
|
|
7043
7539
|
* @param {*} [options] Override http request option.
|
|
@@ -7215,6 +7711,21 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
7215
7711
|
* @throws {RequiredError}
|
|
7216
7712
|
*/
|
|
7217
7713
|
getState: (type: GetStateTypeEnum, id: string, name: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7714
|
+
/**
|
|
7715
|
+
* Retrieves detailed information about a specific table, identified by its name or unique identifier.
|
|
7716
|
+
* @param {string} table The table\'s name or unique identifier for targeting specific table operations.
|
|
7717
|
+
* @param {*} [options] Override http request option.
|
|
7718
|
+
* @throws {RequiredError}
|
|
7719
|
+
*/
|
|
7720
|
+
getTable: (table: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7721
|
+
/**
|
|
7722
|
+
* Fetches a specific row from a table using the row\'s unique identifier.
|
|
7723
|
+
* @param {string} table The table\'s name or unique identifier for targeting specific table operations.
|
|
7724
|
+
* @param {number} id Identifier of the row within the table.
|
|
7725
|
+
* @param {*} [options] Override http request option.
|
|
7726
|
+
* @throws {RequiredError}
|
|
7727
|
+
*/
|
|
7728
|
+
getTableRow: (table: string, id: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7218
7729
|
/**
|
|
7219
7730
|
* Retrieves the [Task](#schema_task) object for a valid identifier.
|
|
7220
7731
|
* @param {string} id Task id
|
|
@@ -7375,6 +7886,15 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
7375
7886
|
* @throws {RequiredError}
|
|
7376
7887
|
*/
|
|
7377
7888
|
listPublicIntegrations: (nextToken?: string, name?: string, version?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7889
|
+
/**
|
|
7890
|
+
* Retrieves a list of all tables associated with your bot.
|
|
7891
|
+
* @param {{ [key: string]: string; }} [tags] Optional filters to narrow down the list by tags associated with tables.
|
|
7892
|
+
* @param {*} [options] Override http request option.
|
|
7893
|
+
* @throws {RequiredError}
|
|
7894
|
+
*/
|
|
7895
|
+
listTables: (tags?: {
|
|
7896
|
+
[key: string]: string;
|
|
7897
|
+
} | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7378
7898
|
/**
|
|
7379
7899
|
* 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).
|
|
7380
7900
|
* @param {string} [nextToken] Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results
|
|
@@ -7465,6 +7985,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
7465
7985
|
* @throws {RequiredError}
|
|
7466
7986
|
*/
|
|
7467
7987
|
removeParticipant: (id: string, userId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7988
|
+
/**
|
|
7989
|
+
* Renames an existing column within a table to better reflect its content or usage. The operation targets a specific table and requires the current and new column names.
|
|
7990
|
+
* @param {string} table The table\'s name or unique identifier for targeting specific table operations.
|
|
7991
|
+
* @param {RenameTableColumnBody} [renameTableColumnBody] Details of the column to be renamed, including its current name and the desired new name.
|
|
7992
|
+
* @param {*} [options] Override http request option.
|
|
7993
|
+
* @throws {RequiredError}
|
|
7994
|
+
*/
|
|
7995
|
+
renameTableColumn: (table: string, renameTableColumnBody?: RenameTableColumnBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7468
7996
|
/**
|
|
7469
7997
|
* Run a VRL script
|
|
7470
7998
|
* @param {RunVrlBody} [runVrlBody] VRL script
|
|
@@ -7538,6 +8066,22 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
7538
8066
|
* @throws {RequiredError}
|
|
7539
8067
|
*/
|
|
7540
8068
|
updateMessage: (id: string, updateMessageBody?: UpdateMessageBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8069
|
+
/**
|
|
8070
|
+
* Updates the schema or the name of an existing table.
|
|
8071
|
+
* @param {string} table The table\'s name or unique identifier for targeting specific table operations.
|
|
8072
|
+
* @param {UpdateTableBody} [updateTableBody] The updated schema/name of the table.
|
|
8073
|
+
* @param {*} [options] Override http request option.
|
|
8074
|
+
* @throws {RequiredError}
|
|
8075
|
+
*/
|
|
8076
|
+
updateTable: (table: string, updateTableBody?: UpdateTableBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8077
|
+
/**
|
|
8078
|
+
* Updates specified rows in a table, allowing partial success with detailed feedback on errors.
|
|
8079
|
+
* @param {string} table The table\'s name or unique identifier for targeting specific table operations.
|
|
8080
|
+
* @param {UpdateTableRowsBody} [updateTableRowsBody] Data for rows to update, including IDs. Errors affect only specific rows, not the entire batch.
|
|
8081
|
+
* @param {*} [options] Override http request option.
|
|
8082
|
+
* @throws {RequiredError}
|
|
8083
|
+
*/
|
|
8084
|
+
updateTableRows: (table: string, updateTableRowsBody?: UpdateTableRowsBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7541
8085
|
/**
|
|
7542
8086
|
* Update a [Task](#schema_task) object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
7543
8087
|
* @param {string} id Task id
|
|
@@ -7570,6 +8114,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
7570
8114
|
* @throws {RequiredError}
|
|
7571
8115
|
*/
|
|
7572
8116
|
updateWorkspaceMember: (id: string, updateWorkspaceMemberBody?: UpdateWorkspaceMemberBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8117
|
+
/**
|
|
8118
|
+
* Inserts or updates rows based on a key. If a row exists, it is updated; otherwise, a new row is created.
|
|
8119
|
+
* @param {string} table The table\'s name or unique identifier for targeting specific table operations.
|
|
8120
|
+
* @param {UpsertTableRowsBody} [upsertTableRowsBody] Rows for insertion or update, with a key column to determine action. Supports partial successes.
|
|
8121
|
+
* @param {*} [options] Override http request option.
|
|
8122
|
+
* @throws {RequiredError}
|
|
8123
|
+
*/
|
|
8124
|
+
upsertTableRows: (table: string, upsertTableRowsBody?: UpsertTableRowsBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7573
8125
|
};
|
|
7574
8126
|
/**
|
|
7575
8127
|
* DefaultApi - functional programming interface
|
|
@@ -7686,6 +8238,21 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
7686
8238
|
* @throws {RequiredError}
|
|
7687
8239
|
*/
|
|
7688
8240
|
createPersonalAccessToken(createPersonalAccessTokenBody?: CreatePersonalAccessTokenBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePersonalAccessTokenResponse>>;
|
|
8241
|
+
/**
|
|
8242
|
+
* Initiates the creation of a new table based on the provided schema, excluding system-managed fields like IDs and timestamps.
|
|
8243
|
+
* @param {CreateTableBody} [createTableBody] Schema defining the structure of the new table
|
|
8244
|
+
* @param {*} [options] Override http request option.
|
|
8245
|
+
* @throws {RequiredError}
|
|
8246
|
+
*/
|
|
8247
|
+
createTable(createTableBody?: CreateTableBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateTableResponse>>;
|
|
8248
|
+
/**
|
|
8249
|
+
* Inserts one or multiple new rows into the specified table.
|
|
8250
|
+
* @param {string} table The table\'s name or unique identifier for targeting specific table operations.
|
|
8251
|
+
* @param {CreateTableRowsBody} [createTableRowsBody] A batch of new rows to insert into the table. Each row must adhere to the table’s schema. A maximum of 1000 rows can be inserted in a single request.
|
|
8252
|
+
* @param {*} [options] Override http request option.
|
|
8253
|
+
* @throws {RequiredError}
|
|
8254
|
+
*/
|
|
8255
|
+
createTableRows(table: string, createTableRowsBody?: CreateTableRowsBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateTableRowsResponse>>;
|
|
7689
8256
|
/**
|
|
7690
8257
|
* 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.
|
|
7691
8258
|
* @param {CreateTaskBody} [createTaskBody] Task data
|
|
@@ -7764,6 +8331,21 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
7764
8331
|
* @throws {RequiredError}
|
|
7765
8332
|
*/
|
|
7766
8333
|
deletePersonalAccessToken(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
8334
|
+
/**
|
|
8335
|
+
* Permanently deletes a table and all its associated data from the system. Use with caution, as this action cannot be undone.
|
|
8336
|
+
* @param {string} table The table\'s name or unique identifier for targeting specific table operations.
|
|
8337
|
+
* @param {*} [options] Override http request option.
|
|
8338
|
+
* @throws {RequiredError}
|
|
8339
|
+
*/
|
|
8340
|
+
deleteTable(table: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
8341
|
+
/**
|
|
8342
|
+
* Allows selective deletion of rows or complete clearance of a table.
|
|
8343
|
+
* @param {string} table The table\'s name or unique identifier for targeting specific table operations.
|
|
8344
|
+
* @param {DeleteTableRowsBody} [deleteTableRowsBody] Identifiers of the rows to be deleted.
|
|
8345
|
+
* @param {*} [options] Override http request option.
|
|
8346
|
+
* @throws {RequiredError}
|
|
8347
|
+
*/
|
|
8348
|
+
deleteTableRows(table: string, deleteTableRowsBody?: DeleteTableRowsBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteTableRowsResponse>>;
|
|
7767
8349
|
/**
|
|
7768
8350
|
* Permanently deletes a [Task](#schema_task). It cannot be undone.
|
|
7769
8351
|
* @param {string} id Task id
|
|
@@ -7799,6 +8381,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
7799
8381
|
* @throws {RequiredError}
|
|
7800
8382
|
*/
|
|
7801
8383
|
downloadFile(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
8384
|
+
/**
|
|
8385
|
+
* Enables the search and filtering of rows within a table based on specific criteria. This operation supports complex queries for advanced data manipulation and retrieval.
|
|
8386
|
+
* @param {string} table The table\'s name or unique identifier for targeting specific table operations.
|
|
8387
|
+
* @param {FindTableRowsBody} [findTableRowsBody] The search criteria and filters to apply when searching for rows. This includes conditions, search terms, and pagination options.
|
|
8388
|
+
* @param {*} [options] Override http request option.
|
|
8389
|
+
* @throws {RequiredError}
|
|
8390
|
+
*/
|
|
8391
|
+
findTableRows(table: string, findTableRowsBody?: FindTableRowsBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindTableRowsResponse>>;
|
|
7802
8392
|
/**
|
|
7803
8393
|
* Get details of the account authenticating with this endpoint.
|
|
7804
8394
|
* @param {*} [options] Override http request option.
|
|
@@ -7978,6 +8568,21 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
7978
8568
|
* @throws {RequiredError}
|
|
7979
8569
|
*/
|
|
7980
8570
|
getState(type: GetStateTypeEnum, id: string, name: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetStateResponse>>;
|
|
8571
|
+
/**
|
|
8572
|
+
* Retrieves detailed information about a specific table, identified by its name or unique identifier.
|
|
8573
|
+
* @param {string} table The table\'s name or unique identifier for targeting specific table operations.
|
|
8574
|
+
* @param {*} [options] Override http request option.
|
|
8575
|
+
* @throws {RequiredError}
|
|
8576
|
+
*/
|
|
8577
|
+
getTable(table: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTableResponse>>;
|
|
8578
|
+
/**
|
|
8579
|
+
* Fetches a specific row from a table using the row\'s unique identifier.
|
|
8580
|
+
* @param {string} table The table\'s name or unique identifier for targeting specific table operations.
|
|
8581
|
+
* @param {number} id Identifier of the row within the table.
|
|
8582
|
+
* @param {*} [options] Override http request option.
|
|
8583
|
+
* @throws {RequiredError}
|
|
8584
|
+
*/
|
|
8585
|
+
getTableRow(table: string, id: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTableRowResponse>>;
|
|
7981
8586
|
/**
|
|
7982
8587
|
* Retrieves the [Task](#schema_task) object for a valid identifier.
|
|
7983
8588
|
* @param {string} id Task id
|
|
@@ -8138,6 +8743,15 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
8138
8743
|
* @throws {RequiredError}
|
|
8139
8744
|
*/
|
|
8140
8745
|
listPublicIntegrations(nextToken?: string, name?: string, version?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPublicIntegrationsResponse>>;
|
|
8746
|
+
/**
|
|
8747
|
+
* Retrieves a list of all tables associated with your bot.
|
|
8748
|
+
* @param {{ [key: string]: string; }} [tags] Optional filters to narrow down the list by tags associated with tables.
|
|
8749
|
+
* @param {*} [options] Override http request option.
|
|
8750
|
+
* @throws {RequiredError}
|
|
8751
|
+
*/
|
|
8752
|
+
listTables(tags?: {
|
|
8753
|
+
[key: string]: string;
|
|
8754
|
+
} | undefined, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTablesResponse>>;
|
|
8141
8755
|
/**
|
|
8142
8756
|
* 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).
|
|
8143
8757
|
* @param {string} [nextToken] Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results
|
|
@@ -8228,6 +8842,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
8228
8842
|
* @throws {RequiredError}
|
|
8229
8843
|
*/
|
|
8230
8844
|
removeParticipant(id: string, userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
8845
|
+
/**
|
|
8846
|
+
* Renames an existing column within a table to better reflect its content or usage. The operation targets a specific table and requires the current and new column names.
|
|
8847
|
+
* @param {string} table The table\'s name or unique identifier for targeting specific table operations.
|
|
8848
|
+
* @param {RenameTableColumnBody} [renameTableColumnBody] Details of the column to be renamed, including its current name and the desired new name.
|
|
8849
|
+
* @param {*} [options] Override http request option.
|
|
8850
|
+
* @throws {RequiredError}
|
|
8851
|
+
*/
|
|
8852
|
+
renameTableColumn(table: string, renameTableColumnBody?: RenameTableColumnBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RenameTableColumnResponse>>;
|
|
8231
8853
|
/**
|
|
8232
8854
|
* Run a VRL script
|
|
8233
8855
|
* @param {RunVrlBody} [runVrlBody] VRL script
|
|
@@ -8301,6 +8923,22 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
8301
8923
|
* @throws {RequiredError}
|
|
8302
8924
|
*/
|
|
8303
8925
|
updateMessage(id: string, updateMessageBody?: UpdateMessageBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateMessageResponse>>;
|
|
8926
|
+
/**
|
|
8927
|
+
* Updates the schema or the name of an existing table.
|
|
8928
|
+
* @param {string} table The table\'s name or unique identifier for targeting specific table operations.
|
|
8929
|
+
* @param {UpdateTableBody} [updateTableBody] The updated schema/name of the table.
|
|
8930
|
+
* @param {*} [options] Override http request option.
|
|
8931
|
+
* @throws {RequiredError}
|
|
8932
|
+
*/
|
|
8933
|
+
updateTable(table: string, updateTableBody?: UpdateTableBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateTableResponse>>;
|
|
8934
|
+
/**
|
|
8935
|
+
* Updates specified rows in a table, allowing partial success with detailed feedback on errors.
|
|
8936
|
+
* @param {string} table The table\'s name or unique identifier for targeting specific table operations.
|
|
8937
|
+
* @param {UpdateTableRowsBody} [updateTableRowsBody] Data for rows to update, including IDs. Errors affect only specific rows, not the entire batch.
|
|
8938
|
+
* @param {*} [options] Override http request option.
|
|
8939
|
+
* @throws {RequiredError}
|
|
8940
|
+
*/
|
|
8941
|
+
updateTableRows(table: string, updateTableRowsBody?: UpdateTableRowsBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateTableRowsResponse>>;
|
|
8304
8942
|
/**
|
|
8305
8943
|
* Update a [Task](#schema_task) object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
8306
8944
|
* @param {string} id Task id
|
|
@@ -8333,6 +8971,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
8333
8971
|
* @throws {RequiredError}
|
|
8334
8972
|
*/
|
|
8335
8973
|
updateWorkspaceMember(id: string, updateWorkspaceMemberBody?: UpdateWorkspaceMemberBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateWorkspaceMemberResponse>>;
|
|
8974
|
+
/**
|
|
8975
|
+
* Inserts or updates rows based on a key. If a row exists, it is updated; otherwise, a new row is created.
|
|
8976
|
+
* @param {string} table The table\'s name or unique identifier for targeting specific table operations.
|
|
8977
|
+
* @param {UpsertTableRowsBody} [upsertTableRowsBody] Rows for insertion or update, with a key column to determine action. Supports partial successes.
|
|
8978
|
+
* @param {*} [options] Override http request option.
|
|
8979
|
+
* @throws {RequiredError}
|
|
8980
|
+
*/
|
|
8981
|
+
upsertTableRows(table: string, upsertTableRowsBody?: UpsertTableRowsBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpsertTableRowsResponse>>;
|
|
8336
8982
|
};
|
|
8337
8983
|
/**
|
|
8338
8984
|
* DefaultApi - factory interface
|
|
@@ -8444,6 +9090,20 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
8444
9090
|
* @throws {RequiredError}
|
|
8445
9091
|
*/
|
|
8446
9092
|
createPersonalAccessToken(requestParameters?: DefaultApiCreatePersonalAccessTokenRequest, options?: AxiosRequestConfig): AxiosPromise<CreatePersonalAccessTokenResponse>;
|
|
9093
|
+
/**
|
|
9094
|
+
* Initiates the creation of a new table based on the provided schema, excluding system-managed fields like IDs and timestamps.
|
|
9095
|
+
* @param {DefaultApiCreateTableRequest} requestParameters Request parameters.
|
|
9096
|
+
* @param {*} [options] Override http request option.
|
|
9097
|
+
* @throws {RequiredError}
|
|
9098
|
+
*/
|
|
9099
|
+
createTable(requestParameters?: DefaultApiCreateTableRequest, options?: AxiosRequestConfig): AxiosPromise<CreateTableResponse>;
|
|
9100
|
+
/**
|
|
9101
|
+
* Inserts one or multiple new rows into the specified table.
|
|
9102
|
+
* @param {DefaultApiCreateTableRowsRequest} requestParameters Request parameters.
|
|
9103
|
+
* @param {*} [options] Override http request option.
|
|
9104
|
+
* @throws {RequiredError}
|
|
9105
|
+
*/
|
|
9106
|
+
createTableRows(requestParameters: DefaultApiCreateTableRowsRequest, options?: AxiosRequestConfig): AxiosPromise<CreateTableRowsResponse>;
|
|
8447
9107
|
/**
|
|
8448
9108
|
* 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.
|
|
8449
9109
|
* @param {DefaultApiCreateTaskRequest} requestParameters Request parameters.
|
|
@@ -8521,6 +9181,20 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
8521
9181
|
* @throws {RequiredError}
|
|
8522
9182
|
*/
|
|
8523
9183
|
deletePersonalAccessToken(requestParameters: DefaultApiDeletePersonalAccessTokenRequest, options?: AxiosRequestConfig): AxiosPromise<object>;
|
|
9184
|
+
/**
|
|
9185
|
+
* Permanently deletes a table and all its associated data from the system. Use with caution, as this action cannot be undone.
|
|
9186
|
+
* @param {DefaultApiDeleteTableRequest} requestParameters Request parameters.
|
|
9187
|
+
* @param {*} [options] Override http request option.
|
|
9188
|
+
* @throws {RequiredError}
|
|
9189
|
+
*/
|
|
9190
|
+
deleteTable(requestParameters: DefaultApiDeleteTableRequest, options?: AxiosRequestConfig): AxiosPromise<object>;
|
|
9191
|
+
/**
|
|
9192
|
+
* Allows selective deletion of rows or complete clearance of a table.
|
|
9193
|
+
* @param {DefaultApiDeleteTableRowsRequest} requestParameters Request parameters.
|
|
9194
|
+
* @param {*} [options] Override http request option.
|
|
9195
|
+
* @throws {RequiredError}
|
|
9196
|
+
*/
|
|
9197
|
+
deleteTableRows(requestParameters: DefaultApiDeleteTableRowsRequest, options?: AxiosRequestConfig): AxiosPromise<DeleteTableRowsResponse>;
|
|
8524
9198
|
/**
|
|
8525
9199
|
* Permanently deletes a [Task](#schema_task). It cannot be undone.
|
|
8526
9200
|
* @param {DefaultApiDeleteTaskRequest} requestParameters Request parameters.
|
|
@@ -8556,6 +9230,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
8556
9230
|
* @throws {RequiredError}
|
|
8557
9231
|
*/
|
|
8558
9232
|
downloadFile(requestParameters: DefaultApiDownloadFileRequest, options?: AxiosRequestConfig): AxiosPromise<any>;
|
|
9233
|
+
/**
|
|
9234
|
+
* Enables the search and filtering of rows within a table based on specific criteria. This operation supports complex queries for advanced data manipulation and retrieval.
|
|
9235
|
+
* @param {DefaultApiFindTableRowsRequest} requestParameters Request parameters.
|
|
9236
|
+
* @param {*} [options] Override http request option.
|
|
9237
|
+
* @throws {RequiredError}
|
|
9238
|
+
*/
|
|
9239
|
+
findTableRows(requestParameters: DefaultApiFindTableRowsRequest, options?: AxiosRequestConfig): AxiosPromise<FindTableRowsResponse>;
|
|
8559
9240
|
/**
|
|
8560
9241
|
* Get details of the account authenticating with this endpoint.
|
|
8561
9242
|
* @param {*} [options] Override http request option.
|
|
@@ -8717,6 +9398,20 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
8717
9398
|
* @throws {RequiredError}
|
|
8718
9399
|
*/
|
|
8719
9400
|
getState(requestParameters: DefaultApiGetStateRequest, options?: AxiosRequestConfig): AxiosPromise<GetStateResponse>;
|
|
9401
|
+
/**
|
|
9402
|
+
* Retrieves detailed information about a specific table, identified by its name or unique identifier.
|
|
9403
|
+
* @param {DefaultApiGetTableRequest} requestParameters Request parameters.
|
|
9404
|
+
* @param {*} [options] Override http request option.
|
|
9405
|
+
* @throws {RequiredError}
|
|
9406
|
+
*/
|
|
9407
|
+
getTable(requestParameters: DefaultApiGetTableRequest, options?: AxiosRequestConfig): AxiosPromise<GetTableResponse>;
|
|
9408
|
+
/**
|
|
9409
|
+
* Fetches a specific row from a table using the row\'s unique identifier.
|
|
9410
|
+
* @param {DefaultApiGetTableRowRequest} requestParameters Request parameters.
|
|
9411
|
+
* @param {*} [options] Override http request option.
|
|
9412
|
+
* @throws {RequiredError}
|
|
9413
|
+
*/
|
|
9414
|
+
getTableRow(requestParameters: DefaultApiGetTableRowRequest, options?: AxiosRequestConfig): AxiosPromise<GetTableRowResponse>;
|
|
8720
9415
|
/**
|
|
8721
9416
|
* Retrieves the [Task](#schema_task) object for a valid identifier.
|
|
8722
9417
|
* @param {DefaultApiGetTaskRequest} requestParameters Request parameters.
|
|
@@ -8849,6 +9544,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
8849
9544
|
* @throws {RequiredError}
|
|
8850
9545
|
*/
|
|
8851
9546
|
listPublicIntegrations(requestParameters?: DefaultApiListPublicIntegrationsRequest, options?: AxiosRequestConfig): AxiosPromise<ListPublicIntegrationsResponse>;
|
|
9547
|
+
/**
|
|
9548
|
+
* Retrieves a list of all tables associated with your bot.
|
|
9549
|
+
* @param {DefaultApiListTablesRequest} requestParameters Request parameters.
|
|
9550
|
+
* @param {*} [options] Override http request option.
|
|
9551
|
+
* @throws {RequiredError}
|
|
9552
|
+
*/
|
|
9553
|
+
listTables(requestParameters?: DefaultApiListTablesRequest, options?: AxiosRequestConfig): AxiosPromise<ListTablesResponse>;
|
|
8852
9554
|
/**
|
|
8853
9555
|
* 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).
|
|
8854
9556
|
* @param {DefaultApiListTasksRequest} requestParameters Request parameters.
|
|
@@ -8919,6 +9621,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
8919
9621
|
* @throws {RequiredError}
|
|
8920
9622
|
*/
|
|
8921
9623
|
removeParticipant(requestParameters: DefaultApiRemoveParticipantRequest, options?: AxiosRequestConfig): AxiosPromise<object>;
|
|
9624
|
+
/**
|
|
9625
|
+
* Renames an existing column within a table to better reflect its content or usage. The operation targets a specific table and requires the current and new column names.
|
|
9626
|
+
* @param {DefaultApiRenameTableColumnRequest} requestParameters Request parameters.
|
|
9627
|
+
* @param {*} [options] Override http request option.
|
|
9628
|
+
* @throws {RequiredError}
|
|
9629
|
+
*/
|
|
9630
|
+
renameTableColumn(requestParameters: DefaultApiRenameTableColumnRequest, options?: AxiosRequestConfig): AxiosPromise<RenameTableColumnResponse>;
|
|
8922
9631
|
/**
|
|
8923
9632
|
* Run a VRL script
|
|
8924
9633
|
* @param {DefaultApiRunVrlRequest} requestParameters Request parameters.
|
|
@@ -8982,6 +9691,20 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
8982
9691
|
* @throws {RequiredError}
|
|
8983
9692
|
*/
|
|
8984
9693
|
updateMessage(requestParameters: DefaultApiUpdateMessageRequest, options?: AxiosRequestConfig): AxiosPromise<UpdateMessageResponse>;
|
|
9694
|
+
/**
|
|
9695
|
+
* Updates the schema or the name of an existing table.
|
|
9696
|
+
* @param {DefaultApiUpdateTableRequest} requestParameters Request parameters.
|
|
9697
|
+
* @param {*} [options] Override http request option.
|
|
9698
|
+
* @throws {RequiredError}
|
|
9699
|
+
*/
|
|
9700
|
+
updateTable(requestParameters: DefaultApiUpdateTableRequest, options?: AxiosRequestConfig): AxiosPromise<UpdateTableResponse>;
|
|
9701
|
+
/**
|
|
9702
|
+
* Updates specified rows in a table, allowing partial success with detailed feedback on errors.
|
|
9703
|
+
* @param {DefaultApiUpdateTableRowsRequest} requestParameters Request parameters.
|
|
9704
|
+
* @param {*} [options] Override http request option.
|
|
9705
|
+
* @throws {RequiredError}
|
|
9706
|
+
*/
|
|
9707
|
+
updateTableRows(requestParameters: DefaultApiUpdateTableRowsRequest, options?: AxiosRequestConfig): AxiosPromise<UpdateTableRowsResponse>;
|
|
8985
9708
|
/**
|
|
8986
9709
|
* Update a [Task](#schema_task) object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
8987
9710
|
* @param {DefaultApiUpdateTaskRequest} requestParameters Request parameters.
|
|
@@ -9010,6 +9733,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
9010
9733
|
* @throws {RequiredError}
|
|
9011
9734
|
*/
|
|
9012
9735
|
updateWorkspaceMember(requestParameters: DefaultApiUpdateWorkspaceMemberRequest, options?: AxiosRequestConfig): AxiosPromise<UpdateWorkspaceMemberResponse>;
|
|
9736
|
+
/**
|
|
9737
|
+
* Inserts or updates rows based on a key. If a row exists, it is updated; otherwise, a new row is created.
|
|
9738
|
+
* @param {DefaultApiUpsertTableRowsRequest} requestParameters Request parameters.
|
|
9739
|
+
* @param {*} [options] Override http request option.
|
|
9740
|
+
* @throws {RequiredError}
|
|
9741
|
+
*/
|
|
9742
|
+
upsertTableRows(requestParameters: DefaultApiUpsertTableRowsRequest, options?: AxiosRequestConfig): AxiosPromise<UpsertTableRowsResponse>;
|
|
9013
9743
|
};
|
|
9014
9744
|
/**
|
|
9015
9745
|
* Request parameters for addParticipant operation in DefaultApi.
|
|
@@ -9236,6 +9966,38 @@ export interface DefaultApiCreatePersonalAccessTokenRequest {
|
|
|
9236
9966
|
*/
|
|
9237
9967
|
readonly createPersonalAccessTokenBody?: CreatePersonalAccessTokenBody;
|
|
9238
9968
|
}
|
|
9969
|
+
/**
|
|
9970
|
+
* Request parameters for createTable operation in DefaultApi.
|
|
9971
|
+
* @export
|
|
9972
|
+
* @interface DefaultApiCreateTableRequest
|
|
9973
|
+
*/
|
|
9974
|
+
export interface DefaultApiCreateTableRequest {
|
|
9975
|
+
/**
|
|
9976
|
+
* Schema defining the structure of the new table
|
|
9977
|
+
* @type {CreateTableBody}
|
|
9978
|
+
* @memberof DefaultApiCreateTable
|
|
9979
|
+
*/
|
|
9980
|
+
readonly createTableBody?: CreateTableBody;
|
|
9981
|
+
}
|
|
9982
|
+
/**
|
|
9983
|
+
* Request parameters for createTableRows operation in DefaultApi.
|
|
9984
|
+
* @export
|
|
9985
|
+
* @interface DefaultApiCreateTableRowsRequest
|
|
9986
|
+
*/
|
|
9987
|
+
export interface DefaultApiCreateTableRowsRequest {
|
|
9988
|
+
/**
|
|
9989
|
+
* The table\'s name or unique identifier for targeting specific table operations.
|
|
9990
|
+
* @type {string}
|
|
9991
|
+
* @memberof DefaultApiCreateTableRows
|
|
9992
|
+
*/
|
|
9993
|
+
readonly table: string;
|
|
9994
|
+
/**
|
|
9995
|
+
* A batch of new rows to insert into the table. Each row must adhere to the table’s schema. A maximum of 1000 rows can be inserted in a single request.
|
|
9996
|
+
* @type {CreateTableRowsBody}
|
|
9997
|
+
* @memberof DefaultApiCreateTableRows
|
|
9998
|
+
*/
|
|
9999
|
+
readonly createTableRowsBody?: CreateTableRowsBody;
|
|
10000
|
+
}
|
|
9239
10001
|
/**
|
|
9240
10002
|
* Request parameters for createTask operation in DefaultApi.
|
|
9241
10003
|
* @export
|
|
@@ -9385,6 +10147,38 @@ export interface DefaultApiDeletePersonalAccessTokenRequest {
|
|
|
9385
10147
|
*/
|
|
9386
10148
|
readonly id: string;
|
|
9387
10149
|
}
|
|
10150
|
+
/**
|
|
10151
|
+
* Request parameters for deleteTable operation in DefaultApi.
|
|
10152
|
+
* @export
|
|
10153
|
+
* @interface DefaultApiDeleteTableRequest
|
|
10154
|
+
*/
|
|
10155
|
+
export interface DefaultApiDeleteTableRequest {
|
|
10156
|
+
/**
|
|
10157
|
+
* The table\'s name or unique identifier for targeting specific table operations.
|
|
10158
|
+
* @type {string}
|
|
10159
|
+
* @memberof DefaultApiDeleteTable
|
|
10160
|
+
*/
|
|
10161
|
+
readonly table: string;
|
|
10162
|
+
}
|
|
10163
|
+
/**
|
|
10164
|
+
* Request parameters for deleteTableRows operation in DefaultApi.
|
|
10165
|
+
* @export
|
|
10166
|
+
* @interface DefaultApiDeleteTableRowsRequest
|
|
10167
|
+
*/
|
|
10168
|
+
export interface DefaultApiDeleteTableRowsRequest {
|
|
10169
|
+
/**
|
|
10170
|
+
* The table\'s name or unique identifier for targeting specific table operations.
|
|
10171
|
+
* @type {string}
|
|
10172
|
+
* @memberof DefaultApiDeleteTableRows
|
|
10173
|
+
*/
|
|
10174
|
+
readonly table: string;
|
|
10175
|
+
/**
|
|
10176
|
+
* Identifiers of the rows to be deleted.
|
|
10177
|
+
* @type {DeleteTableRowsBody}
|
|
10178
|
+
* @memberof DefaultApiDeleteTableRows
|
|
10179
|
+
*/
|
|
10180
|
+
readonly deleteTableRowsBody?: DeleteTableRowsBody;
|
|
10181
|
+
}
|
|
9388
10182
|
/**
|
|
9389
10183
|
* Request parameters for deleteTask operation in DefaultApi.
|
|
9390
10184
|
* @export
|
|
@@ -9450,6 +10244,25 @@ export interface DefaultApiDownloadFileRequest {
|
|
|
9450
10244
|
*/
|
|
9451
10245
|
readonly id: string;
|
|
9452
10246
|
}
|
|
10247
|
+
/**
|
|
10248
|
+
* Request parameters for findTableRows operation in DefaultApi.
|
|
10249
|
+
* @export
|
|
10250
|
+
* @interface DefaultApiFindTableRowsRequest
|
|
10251
|
+
*/
|
|
10252
|
+
export interface DefaultApiFindTableRowsRequest {
|
|
10253
|
+
/**
|
|
10254
|
+
* The table\'s name or unique identifier for targeting specific table operations.
|
|
10255
|
+
* @type {string}
|
|
10256
|
+
* @memberof DefaultApiFindTableRows
|
|
10257
|
+
*/
|
|
10258
|
+
readonly table: string;
|
|
10259
|
+
/**
|
|
10260
|
+
* The search criteria and filters to apply when searching for rows. This includes conditions, search terms, and pagination options.
|
|
10261
|
+
* @type {FindTableRowsBody}
|
|
10262
|
+
* @memberof DefaultApiFindTableRows
|
|
10263
|
+
*/
|
|
10264
|
+
readonly findTableRowsBody?: FindTableRowsBody;
|
|
10265
|
+
}
|
|
9453
10266
|
/**
|
|
9454
10267
|
* Request parameters for getAccountPreference operation in DefaultApi.
|
|
9455
10268
|
* @export
|
|
@@ -9831,6 +10644,38 @@ export interface DefaultApiGetStateRequest {
|
|
|
9831
10644
|
*/
|
|
9832
10645
|
readonly name: string;
|
|
9833
10646
|
}
|
|
10647
|
+
/**
|
|
10648
|
+
* Request parameters for getTable operation in DefaultApi.
|
|
10649
|
+
* @export
|
|
10650
|
+
* @interface DefaultApiGetTableRequest
|
|
10651
|
+
*/
|
|
10652
|
+
export interface DefaultApiGetTableRequest {
|
|
10653
|
+
/**
|
|
10654
|
+
* The table\'s name or unique identifier for targeting specific table operations.
|
|
10655
|
+
* @type {string}
|
|
10656
|
+
* @memberof DefaultApiGetTable
|
|
10657
|
+
*/
|
|
10658
|
+
readonly table: string;
|
|
10659
|
+
}
|
|
10660
|
+
/**
|
|
10661
|
+
* Request parameters for getTableRow operation in DefaultApi.
|
|
10662
|
+
* @export
|
|
10663
|
+
* @interface DefaultApiGetTableRowRequest
|
|
10664
|
+
*/
|
|
10665
|
+
export interface DefaultApiGetTableRowRequest {
|
|
10666
|
+
/**
|
|
10667
|
+
* The table\'s name or unique identifier for targeting specific table operations.
|
|
10668
|
+
* @type {string}
|
|
10669
|
+
* @memberof DefaultApiGetTableRow
|
|
10670
|
+
*/
|
|
10671
|
+
readonly table: string;
|
|
10672
|
+
/**
|
|
10673
|
+
* Identifier of the row within the table.
|
|
10674
|
+
* @type {number}
|
|
10675
|
+
* @memberof DefaultApiGetTableRow
|
|
10676
|
+
*/
|
|
10677
|
+
readonly id: number;
|
|
10678
|
+
}
|
|
9834
10679
|
/**
|
|
9835
10680
|
* Request parameters for getTask operation in DefaultApi.
|
|
9836
10681
|
* @export
|
|
@@ -10213,6 +11058,21 @@ export interface DefaultApiListPublicIntegrationsRequest {
|
|
|
10213
11058
|
*/
|
|
10214
11059
|
readonly version?: string;
|
|
10215
11060
|
}
|
|
11061
|
+
/**
|
|
11062
|
+
* Request parameters for listTables operation in DefaultApi.
|
|
11063
|
+
* @export
|
|
11064
|
+
* @interface DefaultApiListTablesRequest
|
|
11065
|
+
*/
|
|
11066
|
+
export interface DefaultApiListTablesRequest {
|
|
11067
|
+
/**
|
|
11068
|
+
* Optional filters to narrow down the list by tags associated with tables.
|
|
11069
|
+
* @type {{ [key: string]: string; }}
|
|
11070
|
+
* @memberof DefaultApiListTables
|
|
11071
|
+
*/
|
|
11072
|
+
readonly tags?: {
|
|
11073
|
+
[key: string]: string;
|
|
11074
|
+
};
|
|
11075
|
+
}
|
|
10216
11076
|
/**
|
|
10217
11077
|
* Request parameters for listTasks operation in DefaultApi.
|
|
10218
11078
|
* @export
|
|
@@ -10443,6 +11303,25 @@ export interface DefaultApiRemoveParticipantRequest {
|
|
|
10443
11303
|
*/
|
|
10444
11304
|
readonly userId: string;
|
|
10445
11305
|
}
|
|
11306
|
+
/**
|
|
11307
|
+
* Request parameters for renameTableColumn operation in DefaultApi.
|
|
11308
|
+
* @export
|
|
11309
|
+
* @interface DefaultApiRenameTableColumnRequest
|
|
11310
|
+
*/
|
|
11311
|
+
export interface DefaultApiRenameTableColumnRequest {
|
|
11312
|
+
/**
|
|
11313
|
+
* The table\'s name or unique identifier for targeting specific table operations.
|
|
11314
|
+
* @type {string}
|
|
11315
|
+
* @memberof DefaultApiRenameTableColumn
|
|
11316
|
+
*/
|
|
11317
|
+
readonly table: string;
|
|
11318
|
+
/**
|
|
11319
|
+
* Details of the column to be renamed, including its current name and the desired new name.
|
|
11320
|
+
* @type {RenameTableColumnBody}
|
|
11321
|
+
* @memberof DefaultApiRenameTableColumn
|
|
11322
|
+
*/
|
|
11323
|
+
readonly renameTableColumnBody?: RenameTableColumnBody;
|
|
11324
|
+
}
|
|
10446
11325
|
/**
|
|
10447
11326
|
* Request parameters for runVrl operation in DefaultApi.
|
|
10448
11327
|
* @export
|
|
@@ -10620,6 +11499,44 @@ export interface DefaultApiUpdateMessageRequest {
|
|
|
10620
11499
|
*/
|
|
10621
11500
|
readonly updateMessageBody?: UpdateMessageBody;
|
|
10622
11501
|
}
|
|
11502
|
+
/**
|
|
11503
|
+
* Request parameters for updateTable operation in DefaultApi.
|
|
11504
|
+
* @export
|
|
11505
|
+
* @interface DefaultApiUpdateTableRequest
|
|
11506
|
+
*/
|
|
11507
|
+
export interface DefaultApiUpdateTableRequest {
|
|
11508
|
+
/**
|
|
11509
|
+
* The table\'s name or unique identifier for targeting specific table operations.
|
|
11510
|
+
* @type {string}
|
|
11511
|
+
* @memberof DefaultApiUpdateTable
|
|
11512
|
+
*/
|
|
11513
|
+
readonly table: string;
|
|
11514
|
+
/**
|
|
11515
|
+
* The updated schema/name of the table.
|
|
11516
|
+
* @type {UpdateTableBody}
|
|
11517
|
+
* @memberof DefaultApiUpdateTable
|
|
11518
|
+
*/
|
|
11519
|
+
readonly updateTableBody?: UpdateTableBody;
|
|
11520
|
+
}
|
|
11521
|
+
/**
|
|
11522
|
+
* Request parameters for updateTableRows operation in DefaultApi.
|
|
11523
|
+
* @export
|
|
11524
|
+
* @interface DefaultApiUpdateTableRowsRequest
|
|
11525
|
+
*/
|
|
11526
|
+
export interface DefaultApiUpdateTableRowsRequest {
|
|
11527
|
+
/**
|
|
11528
|
+
* The table\'s name or unique identifier for targeting specific table operations.
|
|
11529
|
+
* @type {string}
|
|
11530
|
+
* @memberof DefaultApiUpdateTableRows
|
|
11531
|
+
*/
|
|
11532
|
+
readonly table: string;
|
|
11533
|
+
/**
|
|
11534
|
+
* Data for rows to update, including IDs. Errors affect only specific rows, not the entire batch.
|
|
11535
|
+
* @type {UpdateTableRowsBody}
|
|
11536
|
+
* @memberof DefaultApiUpdateTableRows
|
|
11537
|
+
*/
|
|
11538
|
+
readonly updateTableRowsBody?: UpdateTableRowsBody;
|
|
11539
|
+
}
|
|
10623
11540
|
/**
|
|
10624
11541
|
* Request parameters for updateTask operation in DefaultApi.
|
|
10625
11542
|
* @export
|
|
@@ -10696,6 +11613,25 @@ export interface DefaultApiUpdateWorkspaceMemberRequest {
|
|
|
10696
11613
|
*/
|
|
10697
11614
|
readonly updateWorkspaceMemberBody?: UpdateWorkspaceMemberBody;
|
|
10698
11615
|
}
|
|
11616
|
+
/**
|
|
11617
|
+
* Request parameters for upsertTableRows operation in DefaultApi.
|
|
11618
|
+
* @export
|
|
11619
|
+
* @interface DefaultApiUpsertTableRowsRequest
|
|
11620
|
+
*/
|
|
11621
|
+
export interface DefaultApiUpsertTableRowsRequest {
|
|
11622
|
+
/**
|
|
11623
|
+
* The table\'s name or unique identifier for targeting specific table operations.
|
|
11624
|
+
* @type {string}
|
|
11625
|
+
* @memberof DefaultApiUpsertTableRows
|
|
11626
|
+
*/
|
|
11627
|
+
readonly table: string;
|
|
11628
|
+
/**
|
|
11629
|
+
* Rows for insertion or update, with a key column to determine action. Supports partial successes.
|
|
11630
|
+
* @type {UpsertTableRowsBody}
|
|
11631
|
+
* @memberof DefaultApiUpsertTableRows
|
|
11632
|
+
*/
|
|
11633
|
+
readonly upsertTableRowsBody?: UpsertTableRowsBody;
|
|
11634
|
+
}
|
|
10699
11635
|
/**
|
|
10700
11636
|
* DefaultApi - object-oriented interface
|
|
10701
11637
|
* @export
|
|
@@ -10823,6 +11759,22 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
10823
11759
|
* @memberof DefaultApi
|
|
10824
11760
|
*/
|
|
10825
11761
|
createPersonalAccessToken(requestParameters?: DefaultApiCreatePersonalAccessTokenRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePersonalAccessTokenResponse, any>>;
|
|
11762
|
+
/**
|
|
11763
|
+
* Initiates the creation of a new table based on the provided schema, excluding system-managed fields like IDs and timestamps.
|
|
11764
|
+
* @param {DefaultApiCreateTableRequest} requestParameters Request parameters.
|
|
11765
|
+
* @param {*} [options] Override http request option.
|
|
11766
|
+
* @throws {RequiredError}
|
|
11767
|
+
* @memberof DefaultApi
|
|
11768
|
+
*/
|
|
11769
|
+
createTable(requestParameters?: DefaultApiCreateTableRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateTableResponse, any>>;
|
|
11770
|
+
/**
|
|
11771
|
+
* Inserts one or multiple new rows into the specified table.
|
|
11772
|
+
* @param {DefaultApiCreateTableRowsRequest} requestParameters Request parameters.
|
|
11773
|
+
* @param {*} [options] Override http request option.
|
|
11774
|
+
* @throws {RequiredError}
|
|
11775
|
+
* @memberof DefaultApi
|
|
11776
|
+
*/
|
|
11777
|
+
createTableRows(requestParameters: DefaultApiCreateTableRowsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateTableRowsResponse, any>>;
|
|
10826
11778
|
/**
|
|
10827
11779
|
* 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.
|
|
10828
11780
|
* @param {DefaultApiCreateTaskRequest} requestParameters Request parameters.
|
|
@@ -10911,6 +11863,22 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
10911
11863
|
* @memberof DefaultApi
|
|
10912
11864
|
*/
|
|
10913
11865
|
deletePersonalAccessToken(requestParameters: DefaultApiDeletePersonalAccessTokenRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
11866
|
+
/**
|
|
11867
|
+
* Permanently deletes a table and all its associated data from the system. Use with caution, as this action cannot be undone.
|
|
11868
|
+
* @param {DefaultApiDeleteTableRequest} requestParameters Request parameters.
|
|
11869
|
+
* @param {*} [options] Override http request option.
|
|
11870
|
+
* @throws {RequiredError}
|
|
11871
|
+
* @memberof DefaultApi
|
|
11872
|
+
*/
|
|
11873
|
+
deleteTable(requestParameters: DefaultApiDeleteTableRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
11874
|
+
/**
|
|
11875
|
+
* Allows selective deletion of rows or complete clearance of a table.
|
|
11876
|
+
* @param {DefaultApiDeleteTableRowsRequest} requestParameters Request parameters.
|
|
11877
|
+
* @param {*} [options] Override http request option.
|
|
11878
|
+
* @throws {RequiredError}
|
|
11879
|
+
* @memberof DefaultApi
|
|
11880
|
+
*/
|
|
11881
|
+
deleteTableRows(requestParameters: DefaultApiDeleteTableRowsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteTableRowsResponse, any>>;
|
|
10914
11882
|
/**
|
|
10915
11883
|
* Permanently deletes a [Task](#schema_task). It cannot be undone.
|
|
10916
11884
|
* @param {DefaultApiDeleteTaskRequest} requestParameters Request parameters.
|
|
@@ -10951,6 +11919,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
10951
11919
|
* @memberof DefaultApi
|
|
10952
11920
|
*/
|
|
10953
11921
|
downloadFile(requestParameters: DefaultApiDownloadFileRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
|
|
11922
|
+
/**
|
|
11923
|
+
* Enables the search and filtering of rows within a table based on specific criteria. This operation supports complex queries for advanced data manipulation and retrieval.
|
|
11924
|
+
* @param {DefaultApiFindTableRowsRequest} requestParameters Request parameters.
|
|
11925
|
+
* @param {*} [options] Override http request option.
|
|
11926
|
+
* @throws {RequiredError}
|
|
11927
|
+
* @memberof DefaultApi
|
|
11928
|
+
*/
|
|
11929
|
+
findTableRows(requestParameters: DefaultApiFindTableRowsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FindTableRowsResponse, any>>;
|
|
10954
11930
|
/**
|
|
10955
11931
|
* Get details of the account authenticating with this endpoint.
|
|
10956
11932
|
* @param {*} [options] Override http request option.
|
|
@@ -11135,6 +12111,22 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
11135
12111
|
* @memberof DefaultApi
|
|
11136
12112
|
*/
|
|
11137
12113
|
getState(requestParameters: DefaultApiGetStateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetStateResponse, any>>;
|
|
12114
|
+
/**
|
|
12115
|
+
* Retrieves detailed information about a specific table, identified by its name or unique identifier.
|
|
12116
|
+
* @param {DefaultApiGetTableRequest} requestParameters Request parameters.
|
|
12117
|
+
* @param {*} [options] Override http request option.
|
|
12118
|
+
* @throws {RequiredError}
|
|
12119
|
+
* @memberof DefaultApi
|
|
12120
|
+
*/
|
|
12121
|
+
getTable(requestParameters: DefaultApiGetTableRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetTableResponse, any>>;
|
|
12122
|
+
/**
|
|
12123
|
+
* Fetches a specific row from a table using the row\'s unique identifier.
|
|
12124
|
+
* @param {DefaultApiGetTableRowRequest} requestParameters Request parameters.
|
|
12125
|
+
* @param {*} [options] Override http request option.
|
|
12126
|
+
* @throws {RequiredError}
|
|
12127
|
+
* @memberof DefaultApi
|
|
12128
|
+
*/
|
|
12129
|
+
getTableRow(requestParameters: DefaultApiGetTableRowRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetTableRowResponse, any>>;
|
|
11138
12130
|
/**
|
|
11139
12131
|
* Retrieves the [Task](#schema_task) object for a valid identifier.
|
|
11140
12132
|
* @param {DefaultApiGetTaskRequest} requestParameters Request parameters.
|
|
@@ -11286,6 +12278,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
11286
12278
|
* @memberof DefaultApi
|
|
11287
12279
|
*/
|
|
11288
12280
|
listPublicIntegrations(requestParameters?: DefaultApiListPublicIntegrationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPublicIntegrationsResponse, any>>;
|
|
12281
|
+
/**
|
|
12282
|
+
* Retrieves a list of all tables associated with your bot.
|
|
12283
|
+
* @param {DefaultApiListTablesRequest} requestParameters Request parameters.
|
|
12284
|
+
* @param {*} [options] Override http request option.
|
|
12285
|
+
* @throws {RequiredError}
|
|
12286
|
+
* @memberof DefaultApi
|
|
12287
|
+
*/
|
|
12288
|
+
listTables(requestParameters?: DefaultApiListTablesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTablesResponse, any>>;
|
|
11289
12289
|
/**
|
|
11290
12290
|
* 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).
|
|
11291
12291
|
* @param {DefaultApiListTasksRequest} requestParameters Request parameters.
|
|
@@ -11366,6 +12366,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
11366
12366
|
* @memberof DefaultApi
|
|
11367
12367
|
*/
|
|
11368
12368
|
removeParticipant(requestParameters: DefaultApiRemoveParticipantRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
12369
|
+
/**
|
|
12370
|
+
* Renames an existing column within a table to better reflect its content or usage. The operation targets a specific table and requires the current and new column names.
|
|
12371
|
+
* @param {DefaultApiRenameTableColumnRequest} requestParameters Request parameters.
|
|
12372
|
+
* @param {*} [options] Override http request option.
|
|
12373
|
+
* @throws {RequiredError}
|
|
12374
|
+
* @memberof DefaultApi
|
|
12375
|
+
*/
|
|
12376
|
+
renameTableColumn(requestParameters: DefaultApiRenameTableColumnRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RenameTableColumnResponse, any>>;
|
|
11369
12377
|
/**
|
|
11370
12378
|
* Run a VRL script
|
|
11371
12379
|
* @param {DefaultApiRunVrlRequest} requestParameters Request parameters.
|
|
@@ -11438,6 +12446,22 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
11438
12446
|
* @memberof DefaultApi
|
|
11439
12447
|
*/
|
|
11440
12448
|
updateMessage(requestParameters: DefaultApiUpdateMessageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateMessageResponse, any>>;
|
|
12449
|
+
/**
|
|
12450
|
+
* Updates the schema or the name of an existing table.
|
|
12451
|
+
* @param {DefaultApiUpdateTableRequest} requestParameters Request parameters.
|
|
12452
|
+
* @param {*} [options] Override http request option.
|
|
12453
|
+
* @throws {RequiredError}
|
|
12454
|
+
* @memberof DefaultApi
|
|
12455
|
+
*/
|
|
12456
|
+
updateTable(requestParameters: DefaultApiUpdateTableRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateTableResponse, any>>;
|
|
12457
|
+
/**
|
|
12458
|
+
* Updates specified rows in a table, allowing partial success with detailed feedback on errors.
|
|
12459
|
+
* @param {DefaultApiUpdateTableRowsRequest} requestParameters Request parameters.
|
|
12460
|
+
* @param {*} [options] Override http request option.
|
|
12461
|
+
* @throws {RequiredError}
|
|
12462
|
+
* @memberof DefaultApi
|
|
12463
|
+
*/
|
|
12464
|
+
updateTableRows(requestParameters: DefaultApiUpdateTableRowsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateTableRowsResponse, any>>;
|
|
11441
12465
|
/**
|
|
11442
12466
|
* Update a [Task](#schema_task) object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
11443
12467
|
* @param {DefaultApiUpdateTaskRequest} requestParameters Request parameters.
|
|
@@ -11470,6 +12494,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
11470
12494
|
* @memberof DefaultApi
|
|
11471
12495
|
*/
|
|
11472
12496
|
updateWorkspaceMember(requestParameters: DefaultApiUpdateWorkspaceMemberRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateWorkspaceMemberResponse, any>>;
|
|
12497
|
+
/**
|
|
12498
|
+
* Inserts or updates rows based on a key. If a row exists, it is updated; otherwise, a new row is created.
|
|
12499
|
+
* @param {DefaultApiUpsertTableRowsRequest} requestParameters Request parameters.
|
|
12500
|
+
* @param {*} [options] Override http request option.
|
|
12501
|
+
* @throws {RequiredError}
|
|
12502
|
+
* @memberof DefaultApi
|
|
12503
|
+
*/
|
|
12504
|
+
upsertTableRows(requestParameters: DefaultApiUpsertTableRowsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpsertTableRowsResponse, any>>;
|
|
11473
12505
|
}
|
|
11474
12506
|
/**
|
|
11475
12507
|
* @export
|