@botpress/client 1.26.0 → 1.27.0
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 +14 -14
- package/dist/bundle.cjs.map +3 -3
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +3 -3
- package/dist/index.d.ts +157 -5
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +3 -3
- package/package.json +4 -1
package/dist/index.d.ts
CHANGED
|
@@ -2716,6 +2716,10 @@ interface GetOrCreateWorkflowRequestBody$1 {
|
|
|
2716
2716
|
* Optional list of tag names to use for strict matching when looking up existing workflows. If provided, all specified tags must match exactly for a workflow to be considered a match. For example, with an existing workflow whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.
|
|
2717
2717
|
*/
|
|
2718
2718
|
discriminateByTags?: string[];
|
|
2719
|
+
/**
|
|
2720
|
+
* When provided, will only match workflows whose status corresponds to the status group.
|
|
2721
|
+
*/
|
|
2722
|
+
discriminateByStatusGroup?: "active" | "finished";
|
|
2719
2723
|
}
|
|
2720
2724
|
type GetOrCreateWorkflowInput$1 = GetOrCreateWorkflowRequestBody$1 & GetOrCreateWorkflowRequestHeaders$1 & GetOrCreateWorkflowRequestQuery$1 & GetOrCreateWorkflowRequestParams$1;
|
|
2721
2725
|
interface GetOrCreateWorkflowResponse$1 {
|
|
@@ -5565,9 +5569,20 @@ interface CreateBotResponse$1 {
|
|
|
5565
5569
|
interfaces?: {
|
|
5566
5570
|
[k: string]: {
|
|
5567
5571
|
integrationId: string;
|
|
5572
|
+
integrationAlias: string;
|
|
5573
|
+
integrationInterfaceAlias?: string;
|
|
5568
5574
|
interfaceId: string;
|
|
5569
5575
|
};
|
|
5570
5576
|
};
|
|
5577
|
+
/**
|
|
5578
|
+
* A mapping of plugin integration aliases to their backing integrations
|
|
5579
|
+
*/
|
|
5580
|
+
integrations?: {
|
|
5581
|
+
[k: string]: {
|
|
5582
|
+
integrationId: string;
|
|
5583
|
+
integrationAlias: string;
|
|
5584
|
+
};
|
|
5585
|
+
};
|
|
5571
5586
|
/**
|
|
5572
5587
|
* ID of the [Plugin](#schema_plugin)
|
|
5573
5588
|
*/
|
|
@@ -6058,6 +6073,23 @@ interface UpdateBotRequestBody$1 {
|
|
|
6058
6073
|
interfaces?: {
|
|
6059
6074
|
[k: string]: {
|
|
6060
6075
|
integrationId: string;
|
|
6076
|
+
/**
|
|
6077
|
+
* When an alias is provided, the plugin will use the integration corresponding to this alias. If not provided, the first integration matching the integrationId will be used.
|
|
6078
|
+
*/
|
|
6079
|
+
integrationAlias?: string;
|
|
6080
|
+
/**
|
|
6081
|
+
* When an alias is provided, the plugin will use the integration interface corresponding to this alias.
|
|
6082
|
+
*/
|
|
6083
|
+
integrationInterfaceAlias?: string;
|
|
6084
|
+
};
|
|
6085
|
+
};
|
|
6086
|
+
/**
|
|
6087
|
+
* A mapping of plugin integration aliases to their backing integrations
|
|
6088
|
+
*/
|
|
6089
|
+
integrations?: {
|
|
6090
|
+
[k: string]: {
|
|
6091
|
+
integrationId: string;
|
|
6092
|
+
integrationAlias: string;
|
|
6061
6093
|
};
|
|
6062
6094
|
};
|
|
6063
6095
|
} | null;
|
|
@@ -6196,9 +6228,20 @@ interface UpdateBotResponse$1 {
|
|
|
6196
6228
|
interfaces?: {
|
|
6197
6229
|
[k: string]: {
|
|
6198
6230
|
integrationId: string;
|
|
6231
|
+
integrationAlias: string;
|
|
6232
|
+
integrationInterfaceAlias?: string;
|
|
6199
6233
|
interfaceId: string;
|
|
6200
6234
|
};
|
|
6201
6235
|
};
|
|
6236
|
+
/**
|
|
6237
|
+
* A mapping of plugin integration aliases to their backing integrations
|
|
6238
|
+
*/
|
|
6239
|
+
integrations?: {
|
|
6240
|
+
[k: string]: {
|
|
6241
|
+
integrationId: string;
|
|
6242
|
+
integrationAlias: string;
|
|
6243
|
+
};
|
|
6244
|
+
};
|
|
6202
6245
|
/**
|
|
6203
6246
|
* ID of the [Plugin](#schema_plugin)
|
|
6204
6247
|
*/
|
|
@@ -6659,9 +6702,20 @@ interface GetBotResponse$1 {
|
|
|
6659
6702
|
interfaces?: {
|
|
6660
6703
|
[k: string]: {
|
|
6661
6704
|
integrationId: string;
|
|
6705
|
+
integrationAlias: string;
|
|
6706
|
+
integrationInterfaceAlias?: string;
|
|
6662
6707
|
interfaceId: string;
|
|
6663
6708
|
};
|
|
6664
6709
|
};
|
|
6710
|
+
/**
|
|
6711
|
+
* A mapping of plugin integration aliases to their backing integrations
|
|
6712
|
+
*/
|
|
6713
|
+
integrations?: {
|
|
6714
|
+
[k: string]: {
|
|
6715
|
+
integrationId: string;
|
|
6716
|
+
integrationAlias: string;
|
|
6717
|
+
};
|
|
6718
|
+
};
|
|
6665
6719
|
/**
|
|
6666
6720
|
* ID of the [Plugin](#schema_plugin)
|
|
6667
6721
|
*/
|
|
@@ -7324,6 +7378,7 @@ interface DeployBotVersionResponse$1 {
|
|
|
7324
7378
|
interface CreateIntegrationShareableIdRequestHeaders$1 {
|
|
7325
7379
|
}
|
|
7326
7380
|
interface CreateIntegrationShareableIdRequestQuery$1 {
|
|
7381
|
+
integrationInstanceAlias?: string;
|
|
7327
7382
|
}
|
|
7328
7383
|
interface CreateIntegrationShareableIdRequestParams$1 {
|
|
7329
7384
|
botId: string;
|
|
@@ -7339,6 +7394,7 @@ interface CreateIntegrationShareableIdResponse$1 {
|
|
|
7339
7394
|
interface DeleteIntegrationShareableIdRequestHeaders$1 {
|
|
7340
7395
|
}
|
|
7341
7396
|
interface DeleteIntegrationShareableIdRequestQuery$1 {
|
|
7397
|
+
integrationInstanceAlias?: string;
|
|
7342
7398
|
}
|
|
7343
7399
|
interface DeleteIntegrationShareableIdRequestParams$1 {
|
|
7344
7400
|
botId: string;
|
|
@@ -7353,6 +7409,7 @@ interface DeleteIntegrationShareableIdResponse$1 {
|
|
|
7353
7409
|
interface GetIntegrationShareableIdRequestHeaders$1 {
|
|
7354
7410
|
}
|
|
7355
7411
|
interface GetIntegrationShareableIdRequestQuery$1 {
|
|
7412
|
+
integrationInstanceAlias?: string;
|
|
7356
7413
|
}
|
|
7357
7414
|
interface GetIntegrationShareableIdRequestParams$1 {
|
|
7358
7415
|
botId: string;
|
|
@@ -7369,6 +7426,7 @@ interface GetIntegrationShareableIdResponse$1 {
|
|
|
7369
7426
|
interface UnlinkSandboxedConversationsRequestHeaders$1 {
|
|
7370
7427
|
}
|
|
7371
7428
|
interface UnlinkSandboxedConversationsRequestQuery$1 {
|
|
7429
|
+
integrationInstanceAlias?: string;
|
|
7372
7430
|
}
|
|
7373
7431
|
interface UnlinkSandboxedConversationsRequestParams$1 {
|
|
7374
7432
|
botId: string;
|
|
@@ -7639,6 +7697,7 @@ interface CreateWorkspaceResponse$1 {
|
|
|
7639
7697
|
socialAccounts?: string[];
|
|
7640
7698
|
isPublic?: boolean;
|
|
7641
7699
|
handle?: string;
|
|
7700
|
+
activeTrialId: string | null;
|
|
7642
7701
|
}
|
|
7643
7702
|
|
|
7644
7703
|
interface GetPublicWorkspaceRequestHeaders$1 {
|
|
@@ -7692,6 +7751,7 @@ interface GetWorkspaceResponse$1 {
|
|
|
7692
7751
|
socialAccounts?: string[];
|
|
7693
7752
|
isPublic?: boolean;
|
|
7694
7753
|
handle?: string;
|
|
7754
|
+
activeTrialId: string | null;
|
|
7695
7755
|
}
|
|
7696
7756
|
|
|
7697
7757
|
interface ListWorkspaceUsagesRequestHeaders$1 {
|
|
@@ -7863,6 +7923,7 @@ interface UpdateWorkspaceResponse$3 {
|
|
|
7863
7923
|
socialAccounts?: string[];
|
|
7864
7924
|
isPublic?: boolean;
|
|
7865
7925
|
handle?: string;
|
|
7926
|
+
activeTrialId: string | null;
|
|
7866
7927
|
}
|
|
7867
7928
|
|
|
7868
7929
|
interface CheckHandleAvailabilityRequestHeaders$1 {
|
|
@@ -7919,6 +7980,7 @@ interface UpdateWorkspaceResponse$2 {
|
|
|
7919
7980
|
socialAccounts?: string[];
|
|
7920
7981
|
isPublic?: boolean;
|
|
7921
7982
|
handle?: string;
|
|
7983
|
+
activeTrialId: string | null;
|
|
7922
7984
|
}
|
|
7923
7985
|
|
|
7924
7986
|
interface ListPublicWorkspacesRequestHeaders$1 {
|
|
@@ -7988,7 +8050,7 @@ interface GetAuditRecordsResponse$1 {
|
|
|
7988
8050
|
resourceId: string | null;
|
|
7989
8051
|
resourceName?: string | null;
|
|
7990
8052
|
value?: string | null;
|
|
7991
|
-
action: "UNKNOWN" | "ADD_WORKSPACE_MEMBER" | "REMOVE_WORKSPACE_MEMBER" | "UPDATE_WORKSPACE_MEMBER" | "CLOSE_WORKSPACE" | "CREATE_BOT" | "CREATE_WORKSPACE" | "DELETE_BOT" | "DEPLOY_BOT" | "TRANSFER_BOT" | "DOWNLOAD_BOT_ARCHIVE" | "UPDATE_BOT" | "UPDATE_BOT_CHANNEL" | "UPDATE_BOT_CONFIG" | "UPDATE_PAYMENT_METHOD" | "UPDATE_WORKSPACE" | "SET_SPENDING_LIMIT" | "SET_AI_SPENDING_LIMIT" | "UPDATE_WORKSPACE_BILLING_READONLY";
|
|
8053
|
+
action: "UNKNOWN" | "ADD_WORKSPACE_MEMBER" | "REMOVE_WORKSPACE_MEMBER" | "UPDATE_WORKSPACE_MEMBER" | "CLOSE_WORKSPACE" | "CREATE_BOT" | "CREATE_WORKSPACE" | "DELETE_BOT" | "DEPLOY_BOT" | "TRANSFER_BOT" | "DOWNLOAD_BOT_ARCHIVE" | "UPDATE_BOT" | "UPDATE_BOT_CHANNEL" | "UPDATE_BOT_CONFIG" | "UPDATE_PAYMENT_METHOD" | "UPDATE_WORKSPACE" | "SET_SPENDING_LIMIT" | "SET_AI_SPENDING_LIMIT" | "UPDATE_WORKSPACE_BILLING_READONLY" | "EXECUTE_AUTO_RECHARGE_SUCCESS" | "EXECUTE_AUTO_RECHARGE_FAILED";
|
|
7992
8054
|
}[];
|
|
7993
8055
|
meta: {
|
|
7994
8056
|
/**
|
|
@@ -16944,6 +17006,10 @@ interface FindTableRowsRequestBody$1 {
|
|
|
16944
17006
|
* 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.
|
|
16945
17007
|
*/
|
|
16946
17008
|
search?: string;
|
|
17009
|
+
/**
|
|
17010
|
+
* Specify which columns to return in the response. Supports both top-level columns (e.g., "name") and nested attributes using dot notation (e.g., "attributes.price"). System columns (id, createdAt, updatedAt, etc.) are always included. If omitted, all columns are returned.
|
|
17011
|
+
*/
|
|
17012
|
+
select?: string[];
|
|
16947
17013
|
/**
|
|
16948
17014
|
* Specifies the column by which to order the results. By default it is ordered by id. Build-in columns: id, createdAt, updatedAt
|
|
16949
17015
|
*/
|
|
@@ -19959,6 +20025,10 @@ interface GetOrCreateWorkflowRequestBody {
|
|
|
19959
20025
|
* Optional list of tag names to use for strict matching when looking up existing workflows. If provided, all specified tags must match exactly for a workflow to be considered a match. For example, with an existing workflow whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.
|
|
19960
20026
|
*/
|
|
19961
20027
|
discriminateByTags?: string[];
|
|
20028
|
+
/**
|
|
20029
|
+
* When provided, will only match workflows whose status corresponds to the status group.
|
|
20030
|
+
*/
|
|
20031
|
+
discriminateByStatusGroup?: "active" | "finished";
|
|
19962
20032
|
}
|
|
19963
20033
|
type GetOrCreateWorkflowInput = GetOrCreateWorkflowRequestBody & GetOrCreateWorkflowRequestHeaders & GetOrCreateWorkflowRequestQuery & GetOrCreateWorkflowRequestParams;
|
|
19964
20034
|
interface GetOrCreateWorkflowResponse {
|
|
@@ -22597,9 +22667,20 @@ interface CreateBotResponse {
|
|
|
22597
22667
|
interfaces?: {
|
|
22598
22668
|
[k: string]: {
|
|
22599
22669
|
integrationId: string;
|
|
22670
|
+
integrationAlias: string;
|
|
22671
|
+
integrationInterfaceAlias?: string;
|
|
22600
22672
|
interfaceId: string;
|
|
22601
22673
|
};
|
|
22602
22674
|
};
|
|
22675
|
+
/**
|
|
22676
|
+
* A mapping of plugin integration aliases to their backing integrations
|
|
22677
|
+
*/
|
|
22678
|
+
integrations?: {
|
|
22679
|
+
[k: string]: {
|
|
22680
|
+
integrationId: string;
|
|
22681
|
+
integrationAlias: string;
|
|
22682
|
+
};
|
|
22683
|
+
};
|
|
22603
22684
|
/**
|
|
22604
22685
|
* ID of the [Plugin](#schema_plugin)
|
|
22605
22686
|
*/
|
|
@@ -23090,6 +23171,23 @@ interface UpdateBotRequestBody {
|
|
|
23090
23171
|
interfaces?: {
|
|
23091
23172
|
[k: string]: {
|
|
23092
23173
|
integrationId: string;
|
|
23174
|
+
/**
|
|
23175
|
+
* When an alias is provided, the plugin will use the integration corresponding to this alias. If not provided, the first integration matching the integrationId will be used.
|
|
23176
|
+
*/
|
|
23177
|
+
integrationAlias?: string;
|
|
23178
|
+
/**
|
|
23179
|
+
* When an alias is provided, the plugin will use the integration interface corresponding to this alias.
|
|
23180
|
+
*/
|
|
23181
|
+
integrationInterfaceAlias?: string;
|
|
23182
|
+
};
|
|
23183
|
+
};
|
|
23184
|
+
/**
|
|
23185
|
+
* A mapping of plugin integration aliases to their backing integrations
|
|
23186
|
+
*/
|
|
23187
|
+
integrations?: {
|
|
23188
|
+
[k: string]: {
|
|
23189
|
+
integrationId: string;
|
|
23190
|
+
integrationAlias: string;
|
|
23093
23191
|
};
|
|
23094
23192
|
};
|
|
23095
23193
|
} | null;
|
|
@@ -23228,9 +23326,20 @@ interface UpdateBotResponse {
|
|
|
23228
23326
|
interfaces?: {
|
|
23229
23327
|
[k: string]: {
|
|
23230
23328
|
integrationId: string;
|
|
23329
|
+
integrationAlias: string;
|
|
23330
|
+
integrationInterfaceAlias?: string;
|
|
23231
23331
|
interfaceId: string;
|
|
23232
23332
|
};
|
|
23233
23333
|
};
|
|
23334
|
+
/**
|
|
23335
|
+
* A mapping of plugin integration aliases to their backing integrations
|
|
23336
|
+
*/
|
|
23337
|
+
integrations?: {
|
|
23338
|
+
[k: string]: {
|
|
23339
|
+
integrationId: string;
|
|
23340
|
+
integrationAlias: string;
|
|
23341
|
+
};
|
|
23342
|
+
};
|
|
23234
23343
|
/**
|
|
23235
23344
|
* ID of the [Plugin](#schema_plugin)
|
|
23236
23345
|
*/
|
|
@@ -23691,9 +23800,20 @@ interface GetBotResponse {
|
|
|
23691
23800
|
interfaces?: {
|
|
23692
23801
|
[k: string]: {
|
|
23693
23802
|
integrationId: string;
|
|
23803
|
+
integrationAlias: string;
|
|
23804
|
+
integrationInterfaceAlias?: string;
|
|
23694
23805
|
interfaceId: string;
|
|
23695
23806
|
};
|
|
23696
23807
|
};
|
|
23808
|
+
/**
|
|
23809
|
+
* A mapping of plugin integration aliases to their backing integrations
|
|
23810
|
+
*/
|
|
23811
|
+
integrations?: {
|
|
23812
|
+
[k: string]: {
|
|
23813
|
+
integrationId: string;
|
|
23814
|
+
integrationAlias: string;
|
|
23815
|
+
};
|
|
23816
|
+
};
|
|
23697
23817
|
/**
|
|
23698
23818
|
* ID of the [Plugin](#schema_plugin)
|
|
23699
23819
|
*/
|
|
@@ -24356,6 +24476,7 @@ interface DeployBotVersionResponse {
|
|
|
24356
24476
|
interface CreateIntegrationShareableIdRequestHeaders {
|
|
24357
24477
|
}
|
|
24358
24478
|
interface CreateIntegrationShareableIdRequestQuery {
|
|
24479
|
+
integrationInstanceAlias?: string;
|
|
24359
24480
|
}
|
|
24360
24481
|
interface CreateIntegrationShareableIdRequestParams {
|
|
24361
24482
|
botId: string;
|
|
@@ -24371,6 +24492,7 @@ interface CreateIntegrationShareableIdResponse {
|
|
|
24371
24492
|
interface DeleteIntegrationShareableIdRequestHeaders {
|
|
24372
24493
|
}
|
|
24373
24494
|
interface DeleteIntegrationShareableIdRequestQuery {
|
|
24495
|
+
integrationInstanceAlias?: string;
|
|
24374
24496
|
}
|
|
24375
24497
|
interface DeleteIntegrationShareableIdRequestParams {
|
|
24376
24498
|
botId: string;
|
|
@@ -24385,6 +24507,7 @@ interface DeleteIntegrationShareableIdResponse {
|
|
|
24385
24507
|
interface GetIntegrationShareableIdRequestHeaders {
|
|
24386
24508
|
}
|
|
24387
24509
|
interface GetIntegrationShareableIdRequestQuery {
|
|
24510
|
+
integrationInstanceAlias?: string;
|
|
24388
24511
|
}
|
|
24389
24512
|
interface GetIntegrationShareableIdRequestParams {
|
|
24390
24513
|
botId: string;
|
|
@@ -24401,6 +24524,7 @@ interface GetIntegrationShareableIdResponse {
|
|
|
24401
24524
|
interface UnlinkSandboxedConversationsRequestHeaders {
|
|
24402
24525
|
}
|
|
24403
24526
|
interface UnlinkSandboxedConversationsRequestQuery {
|
|
24527
|
+
integrationInstanceAlias?: string;
|
|
24404
24528
|
}
|
|
24405
24529
|
interface UnlinkSandboxedConversationsRequestParams {
|
|
24406
24530
|
botId: string;
|
|
@@ -24671,6 +24795,7 @@ interface CreateWorkspaceResponse {
|
|
|
24671
24795
|
socialAccounts?: string[];
|
|
24672
24796
|
isPublic?: boolean;
|
|
24673
24797
|
handle?: string;
|
|
24798
|
+
activeTrialId: string | null;
|
|
24674
24799
|
}
|
|
24675
24800
|
|
|
24676
24801
|
interface GetPublicWorkspaceRequestHeaders {
|
|
@@ -24724,6 +24849,7 @@ interface GetWorkspaceResponse {
|
|
|
24724
24849
|
socialAccounts?: string[];
|
|
24725
24850
|
isPublic?: boolean;
|
|
24726
24851
|
handle?: string;
|
|
24852
|
+
activeTrialId: string | null;
|
|
24727
24853
|
}
|
|
24728
24854
|
|
|
24729
24855
|
interface ListWorkspaceUsagesRequestHeaders {
|
|
@@ -24895,6 +25021,7 @@ interface UpdateWorkspaceResponse$1 {
|
|
|
24895
25021
|
socialAccounts?: string[];
|
|
24896
25022
|
isPublic?: boolean;
|
|
24897
25023
|
handle?: string;
|
|
25024
|
+
activeTrialId: string | null;
|
|
24898
25025
|
}
|
|
24899
25026
|
|
|
24900
25027
|
interface CheckHandleAvailabilityRequestHeaders {
|
|
@@ -24951,6 +25078,7 @@ interface UpdateWorkspaceResponse {
|
|
|
24951
25078
|
socialAccounts?: string[];
|
|
24952
25079
|
isPublic?: boolean;
|
|
24953
25080
|
handle?: string;
|
|
25081
|
+
activeTrialId: string | null;
|
|
24954
25082
|
}
|
|
24955
25083
|
|
|
24956
25084
|
interface ListPublicWorkspacesRequestHeaders {
|
|
@@ -25020,7 +25148,7 @@ interface GetAuditRecordsResponse {
|
|
|
25020
25148
|
resourceId: string | null;
|
|
25021
25149
|
resourceName?: string | null;
|
|
25022
25150
|
value?: string | null;
|
|
25023
|
-
action: "UNKNOWN" | "ADD_WORKSPACE_MEMBER" | "REMOVE_WORKSPACE_MEMBER" | "UPDATE_WORKSPACE_MEMBER" | "CLOSE_WORKSPACE" | "CREATE_BOT" | "CREATE_WORKSPACE" | "DELETE_BOT" | "DEPLOY_BOT" | "TRANSFER_BOT" | "DOWNLOAD_BOT_ARCHIVE" | "UPDATE_BOT" | "UPDATE_BOT_CHANNEL" | "UPDATE_BOT_CONFIG" | "UPDATE_PAYMENT_METHOD" | "UPDATE_WORKSPACE" | "SET_SPENDING_LIMIT" | "SET_AI_SPENDING_LIMIT" | "UPDATE_WORKSPACE_BILLING_READONLY";
|
|
25151
|
+
action: "UNKNOWN" | "ADD_WORKSPACE_MEMBER" | "REMOVE_WORKSPACE_MEMBER" | "UPDATE_WORKSPACE_MEMBER" | "CLOSE_WORKSPACE" | "CREATE_BOT" | "CREATE_WORKSPACE" | "DELETE_BOT" | "DEPLOY_BOT" | "TRANSFER_BOT" | "DOWNLOAD_BOT_ARCHIVE" | "UPDATE_BOT" | "UPDATE_BOT_CHANNEL" | "UPDATE_BOT_CONFIG" | "UPDATE_PAYMENT_METHOD" | "UPDATE_WORKSPACE" | "SET_SPENDING_LIMIT" | "SET_AI_SPENDING_LIMIT" | "UPDATE_WORKSPACE_BILLING_READONLY" | "EXECUTE_AUTO_RECHARGE_SUCCESS" | "EXECUTE_AUTO_RECHARGE_FAILED";
|
|
25024
25152
|
}[];
|
|
25025
25153
|
meta: {
|
|
25026
25154
|
/**
|
|
@@ -33501,6 +33629,10 @@ interface FindTableRowsRequestBody {
|
|
|
33501
33629
|
* 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.
|
|
33502
33630
|
*/
|
|
33503
33631
|
search?: string;
|
|
33632
|
+
/**
|
|
33633
|
+
* Specify which columns to return in the response. Supports both top-level columns (e.g., "name") and nested attributes using dot notation (e.g., "attributes.price"). System columns (id, createdAt, updatedAt, etc.) are always included. If omitted, all columns are returned.
|
|
33634
|
+
*/
|
|
33635
|
+
select?: string[];
|
|
33504
33636
|
/**
|
|
33505
33637
|
* Specifies the column by which to order the results. By default it is ordered by id. Build-in columns: id, createdAt, updatedAt
|
|
33506
33638
|
*/
|
|
@@ -33917,9 +34049,20 @@ interface Bot {
|
|
|
33917
34049
|
interfaces?: {
|
|
33918
34050
|
[k: string]: {
|
|
33919
34051
|
integrationId: string;
|
|
34052
|
+
integrationAlias: string;
|
|
34053
|
+
integrationInterfaceAlias?: string;
|
|
33920
34054
|
interfaceId: string;
|
|
33921
34055
|
};
|
|
33922
34056
|
};
|
|
34057
|
+
/**
|
|
34058
|
+
* A mapping of plugin integration aliases to their backing integrations
|
|
34059
|
+
*/
|
|
34060
|
+
integrations?: {
|
|
34061
|
+
[k: string]: {
|
|
34062
|
+
integrationId: string;
|
|
34063
|
+
integrationAlias: string;
|
|
34064
|
+
};
|
|
34065
|
+
};
|
|
33923
34066
|
/**
|
|
33924
34067
|
* ID of the [Plugin](#schema_plugin)
|
|
33925
34068
|
*/
|
|
@@ -34953,6 +35096,7 @@ interface Workspace {
|
|
|
34953
35096
|
socialAccounts?: string[];
|
|
34954
35097
|
isPublic?: boolean;
|
|
34955
35098
|
handle?: string;
|
|
35099
|
+
activeTrialId: string | null;
|
|
34956
35100
|
}
|
|
34957
35101
|
interface WorkspaceMember {
|
|
34958
35102
|
id: string;
|
|
@@ -36340,6 +36484,7 @@ declare const codes: {
|
|
|
36340
36484
|
readonly HTTP_STATUS_METHOD_NOT_ALLOWED: 405;
|
|
36341
36485
|
readonly HTTP_STATUS_REQUEST_TIMEOUT: 408;
|
|
36342
36486
|
readonly HTTP_STATUS_CONFLICT: 409;
|
|
36487
|
+
readonly HTTP_STATUS_GONE: 410;
|
|
36343
36488
|
readonly HTTP_STATUS_PAYLOAD_TOO_LARGE: 413;
|
|
36344
36489
|
readonly HTTP_STATUS_UNSUPPORTED_MEDIA_TYPE: 415;
|
|
36345
36490
|
readonly HTTP_STATUS_DEPENDENCY_FAILED: 424;
|
|
@@ -36478,6 +36623,13 @@ type ResourceLockedConflictType = 'ResourceLockedConflict';
|
|
|
36478
36623
|
declare class ResourceLockedConflictError extends BaseApiError<409, ResourceLockedConflictType, 'The resource is current locked and cannot be operated on until the lock is released.'> {
|
|
36479
36624
|
constructor(message: string, error?: Error, id?: string, metadata?: Record<string, unknown>);
|
|
36480
36625
|
}
|
|
36626
|
+
type ResourceGoneType = 'ResourceGone';
|
|
36627
|
+
/**
|
|
36628
|
+
* The requested resource is no longer available.
|
|
36629
|
+
*/
|
|
36630
|
+
declare class ResourceGoneError extends BaseApiError<410, ResourceGoneType, 'The requested resource is no longer available.'> {
|
|
36631
|
+
constructor(message: string, error?: Error, id?: string, metadata?: Record<string, unknown>);
|
|
36632
|
+
}
|
|
36481
36633
|
type ReferenceNotFoundType = 'ReferenceNotFound';
|
|
36482
36634
|
/**
|
|
36483
36635
|
* The provided resource reference is missing. This is usually caused when providing an invalid id inside the payload of a request.
|
|
@@ -36541,8 +36693,8 @@ type BreakingChangesType = 'BreakingChanges';
|
|
|
36541
36693
|
declare class BreakingChangesError extends BaseApiError<400, BreakingChangesType, 'Request payload contains breaking changes which is not allowed for this resource without a version increment.'> {
|
|
36542
36694
|
constructor(message: string, error?: Error, id?: string, metadata?: Record<string, unknown>);
|
|
36543
36695
|
}
|
|
36544
|
-
type ErrorType = 'Unknown' | 'Internal' | 'Unauthorized' | 'Forbidden' | 'PayloadTooLarge' | 'InvalidPayload' | 'UnsupportedMediaType' | 'MethodNotFound' | 'ResourceNotFound' | 'InvalidJsonSchema' | 'InvalidDataFormat' | 'InvalidIdentifier' | 'RelationConflict' | 'ReferenceConstraint' | 'ResourceLockedConflict' | 'ReferenceNotFound' | 'InvalidQuery' | 'Runtime' | 'AlreadyExists' | 'RateLimited' | 'PaymentRequired' | 'QuotaExceeded' | 'LimitExceeded' | 'BreakingChanges';
|
|
36545
|
-
type ApiError = UnknownError | InternalError | UnauthorizedError | ForbiddenError | PayloadTooLargeError | InvalidPayloadError | UnsupportedMediaTypeError | MethodNotFoundError | ResourceNotFoundError | InvalidJsonSchemaError | InvalidDataFormatError | InvalidIdentifierError | RelationConflictError | ReferenceConstraintError | ResourceLockedConflictError | ReferenceNotFoundError | InvalidQueryError | RuntimeError | AlreadyExistsError | RateLimitedError | PaymentRequiredError | QuotaExceededError | LimitExceededError | BreakingChangesError;
|
|
36696
|
+
type ErrorType = 'Unknown' | 'Internal' | 'Unauthorized' | 'Forbidden' | 'PayloadTooLarge' | 'InvalidPayload' | 'UnsupportedMediaType' | 'MethodNotFound' | 'ResourceNotFound' | 'InvalidJsonSchema' | 'InvalidDataFormat' | 'InvalidIdentifier' | 'RelationConflict' | 'ReferenceConstraint' | 'ResourceLockedConflict' | 'ResourceGone' | 'ReferenceNotFound' | 'InvalidQuery' | 'Runtime' | 'AlreadyExists' | 'RateLimited' | 'PaymentRequired' | 'QuotaExceeded' | 'LimitExceeded' | 'BreakingChanges';
|
|
36697
|
+
type ApiError = UnknownError | InternalError | UnauthorizedError | ForbiddenError | PayloadTooLargeError | InvalidPayloadError | UnsupportedMediaTypeError | MethodNotFoundError | ResourceNotFoundError | InvalidJsonSchemaError | InvalidDataFormatError | InvalidIdentifierError | RelationConflictError | ReferenceConstraintError | ResourceLockedConflictError | ResourceGoneError | ReferenceNotFoundError | InvalidQueryError | RuntimeError | AlreadyExistsError | RateLimitedError | PaymentRequiredError | QuotaExceededError | LimitExceededError | BreakingChangesError;
|
|
36546
36698
|
declare const errorFrom: (err: unknown) => ApiError;
|
|
36547
36699
|
|
|
36548
36700
|
declare class UploadFileError extends Error {
|
|
@@ -36551,4 +36703,4 @@ declare class UploadFileError extends Error {
|
|
|
36551
36703
|
constructor(message: string, innerError?: AxiosError | undefined, file?: UpsertFileResponse["file"] | undefined);
|
|
36552
36704
|
}
|
|
36553
36705
|
|
|
36554
|
-
export { type Account, type Activity, AlreadyExistsError, type ApiError, type Bot, BreakingChangesError, Client, type ClientConfig, type ClientInputs, type ClientOutputs, type ClientProps, type Column, type Conversation, type ErrorType, type Event, type File, ForbiddenError, type Headers, type Integration, type Interface, InternalError, InvalidDataFormatError, InvalidIdentifierError, InvalidJsonSchemaError, InvalidPayloadError, InvalidQueryError, type Issue, type IssueEvent, LimitExceededError, type Message, MethodNotFoundError, type Operation, PayloadTooLargeError, PaymentRequiredError, type Plugin, QuotaExceededError, RateLimitedError, ReferenceConstraintError, ReferenceNotFoundError, RelationConflictError, ResourceLockedConflictError, ResourceNotFoundError, type RetryConfig, type Row, RuntimeError, type State, type Table, type Task, UnauthorizedError, UnknownError, UnsupportedMediaTypeError, UploadFileError, type Usage, type User, type Version, type Workflow, type Workspace, type WorkspaceMember, index$2 as admin, errorFrom, index$1 as files, isApiError, index$3 as runtime, index as tables };
|
|
36706
|
+
export { type Account, type Activity, AlreadyExistsError, type ApiError, type Bot, BreakingChangesError, Client, type ClientConfig, type ClientInputs, type ClientOutputs, type ClientProps, type Column, type Conversation, type ErrorType, type Event, type File, ForbiddenError, type Headers, type Integration, type Interface, InternalError, InvalidDataFormatError, InvalidIdentifierError, InvalidJsonSchemaError, InvalidPayloadError, InvalidQueryError, type Issue, type IssueEvent, LimitExceededError, type Message, MethodNotFoundError, type Operation, PayloadTooLargeError, PaymentRequiredError, type Plugin, QuotaExceededError, RateLimitedError, ReferenceConstraintError, ReferenceNotFoundError, RelationConflictError, ResourceGoneError, ResourceLockedConflictError, ResourceNotFoundError, type RetryConfig, type Row, RuntimeError, type State, type Table, type Task, UnauthorizedError, UnknownError, UnsupportedMediaTypeError, UploadFileError, type Usage, type User, type Version, type Workflow, type Workspace, type WorkspaceMember, index$2 as admin, errorFrom, index$1 as files, isApiError, index$3 as runtime, index as tables };
|