@botpress/client 1.19.0 → 1.21.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 +11 -11
- package/dist/bundle.cjs.map +4 -4
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +4 -4
- package/dist/index.d.ts +344 -68
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2683,6 +2683,10 @@ interface GetOrCreateWorkflowRequestBody$1 {
|
|
|
2683
2683
|
* Event id must be specified if the workflow is created with the status in_progress
|
|
2684
2684
|
*/
|
|
2685
2685
|
eventId?: string;
|
|
2686
|
+
/**
|
|
2687
|
+
* 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.
|
|
2688
|
+
*/
|
|
2689
|
+
discriminateByTags?: string[];
|
|
2686
2690
|
}
|
|
2687
2691
|
type GetOrCreateWorkflowInput$1 = GetOrCreateWorkflowRequestBody$1 & GetOrCreateWorkflowRequestHeaders$1 & GetOrCreateWorkflowRequestQuery$1 & GetOrCreateWorkflowRequestParams$1;
|
|
2688
2692
|
interface GetOrCreateWorkflowResponse$1 {
|
|
@@ -2868,8 +2872,8 @@ declare class Client$8 extends Client$9 {
|
|
|
2868
2872
|
} | undefined;
|
|
2869
2873
|
channel?: string | undefined;
|
|
2870
2874
|
integrationName?: string | undefined;
|
|
2871
|
-
sortField?:
|
|
2872
|
-
sortDirection?:
|
|
2875
|
+
sortField?: "createdAt" | "updatedAt" | undefined;
|
|
2876
|
+
sortDirection?: "asc" | "desc" | undefined;
|
|
2873
2877
|
participantIds?: string[] | undefined;
|
|
2874
2878
|
}) => AsyncCollection<{
|
|
2875
2879
|
id: string;
|
|
@@ -2900,7 +2904,7 @@ declare class Client$8 extends Client$9 {
|
|
|
2900
2904
|
userId?: string | undefined;
|
|
2901
2905
|
conversationId?: string | undefined;
|
|
2902
2906
|
messageId?: string | undefined;
|
|
2903
|
-
status?:
|
|
2907
|
+
status?: "pending" | "ignored" | "processed" | "failed" | "scheduled" | undefined;
|
|
2904
2908
|
}) => AsyncCollection<{
|
|
2905
2909
|
id: string;
|
|
2906
2910
|
createdAt: string;
|
|
@@ -3220,9 +3224,14 @@ interface ListPublicIntegrationsResponse$1 {
|
|
|
3220
3224
|
*/
|
|
3221
3225
|
iconUrl: string;
|
|
3222
3226
|
/**
|
|
3223
|
-
*
|
|
3227
|
+
* @deprecated
|
|
3228
|
+
* [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
|
|
3224
3229
|
*/
|
|
3225
3230
|
public: boolean;
|
|
3231
|
+
/**
|
|
3232
|
+
* The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
|
|
3233
|
+
*/
|
|
3234
|
+
visibility: "public" | "private" | "unlisted";
|
|
3226
3235
|
/**
|
|
3227
3236
|
* Status of the integration version verification
|
|
3228
3237
|
*/
|
|
@@ -3653,9 +3662,14 @@ interface GetPublicIntegrationByIdResponse$1 {
|
|
|
3653
3662
|
*/
|
|
3654
3663
|
readmeUrl: string;
|
|
3655
3664
|
/**
|
|
3656
|
-
*
|
|
3665
|
+
* @deprecated
|
|
3666
|
+
* [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
|
|
3657
3667
|
*/
|
|
3658
3668
|
public: boolean;
|
|
3669
|
+
/**
|
|
3670
|
+
* The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
|
|
3671
|
+
*/
|
|
3672
|
+
visibility: "public" | "private" | "unlisted";
|
|
3659
3673
|
/**
|
|
3660
3674
|
* Status of the integration version verification
|
|
3661
3675
|
*/
|
|
@@ -4060,9 +4074,14 @@ interface GetPublicIntegrationResponse$1 {
|
|
|
4060
4074
|
*/
|
|
4061
4075
|
readmeUrl: string;
|
|
4062
4076
|
/**
|
|
4063
|
-
*
|
|
4077
|
+
* @deprecated
|
|
4078
|
+
* [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
|
|
4064
4079
|
*/
|
|
4065
4080
|
public: boolean;
|
|
4081
|
+
/**
|
|
4082
|
+
* The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
|
|
4083
|
+
*/
|
|
4084
|
+
visibility: "public" | "private" | "unlisted";
|
|
4066
4085
|
/**
|
|
4067
4086
|
* Status of the integration version verification
|
|
4068
4087
|
*/
|
|
@@ -5477,9 +5496,14 @@ interface CreateBotResponse$1 {
|
|
|
5477
5496
|
*/
|
|
5478
5497
|
iconUrl: string;
|
|
5479
5498
|
/**
|
|
5480
|
-
*
|
|
5499
|
+
* @deprecated
|
|
5500
|
+
* [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
|
|
5481
5501
|
*/
|
|
5482
5502
|
public: boolean;
|
|
5503
|
+
/**
|
|
5504
|
+
* The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
|
|
5505
|
+
*/
|
|
5506
|
+
visibility: "public" | "private" | "unlisted";
|
|
5483
5507
|
/**
|
|
5484
5508
|
* Status of the integration version verification
|
|
5485
5509
|
*/
|
|
@@ -6103,9 +6127,14 @@ interface UpdateBotResponse$1 {
|
|
|
6103
6127
|
*/
|
|
6104
6128
|
iconUrl: string;
|
|
6105
6129
|
/**
|
|
6106
|
-
*
|
|
6130
|
+
* @deprecated
|
|
6131
|
+
* [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
|
|
6107
6132
|
*/
|
|
6108
6133
|
public: boolean;
|
|
6134
|
+
/**
|
|
6135
|
+
* The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
|
|
6136
|
+
*/
|
|
6137
|
+
visibility: "public" | "private" | "unlisted";
|
|
6109
6138
|
/**
|
|
6110
6139
|
* Status of the integration version verification
|
|
6111
6140
|
*/
|
|
@@ -6561,9 +6590,14 @@ interface GetBotResponse$1 {
|
|
|
6561
6590
|
*/
|
|
6562
6591
|
iconUrl: string;
|
|
6563
6592
|
/**
|
|
6564
|
-
*
|
|
6593
|
+
* @deprecated
|
|
6594
|
+
* [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
|
|
6565
6595
|
*/
|
|
6566
6596
|
public: boolean;
|
|
6597
|
+
/**
|
|
6598
|
+
* The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
|
|
6599
|
+
*/
|
|
6600
|
+
visibility: "public" | "private" | "unlisted";
|
|
6567
6601
|
/**
|
|
6568
6602
|
* Status of the integration version verification
|
|
6569
6603
|
*/
|
|
@@ -7366,6 +7400,49 @@ type DeleteBotApiKeyInput$1 = DeleteBotApiKeyRequestBody$1 & DeleteBotApiKeyRequ
|
|
|
7366
7400
|
interface DeleteBotApiKeyResponse$1 {
|
|
7367
7401
|
}
|
|
7368
7402
|
|
|
7403
|
+
interface GetBotAllowlistRequestHeaders$1 {
|
|
7404
|
+
}
|
|
7405
|
+
interface GetBotAllowlistRequestQuery$1 {
|
|
7406
|
+
}
|
|
7407
|
+
interface GetBotAllowlistRequestParams$1 {
|
|
7408
|
+
botId: string;
|
|
7409
|
+
}
|
|
7410
|
+
interface GetBotAllowlistRequestBody$1 {
|
|
7411
|
+
}
|
|
7412
|
+
type GetBotAllowlistInput$1 = GetBotAllowlistRequestBody$1 & GetBotAllowlistRequestHeaders$1 & GetBotAllowlistRequestQuery$1 & GetBotAllowlistRequestParams$1;
|
|
7413
|
+
interface GetBotAllowlistResponse$1 {
|
|
7414
|
+
/**
|
|
7415
|
+
* Allowlist setting of the bot
|
|
7416
|
+
*/
|
|
7417
|
+
setting: "ALL_WORKSPACE_USERS" | "SELECTED_USERS";
|
|
7418
|
+
users: {
|
|
7419
|
+
id: string;
|
|
7420
|
+
}[];
|
|
7421
|
+
}
|
|
7422
|
+
|
|
7423
|
+
interface UpdateBotAllowlistRequestHeaders$1 {
|
|
7424
|
+
}
|
|
7425
|
+
interface UpdateBotAllowlistRequestQuery$1 {
|
|
7426
|
+
}
|
|
7427
|
+
interface UpdateBotAllowlistRequestParams$1 {
|
|
7428
|
+
botId: string;
|
|
7429
|
+
}
|
|
7430
|
+
interface UpdateBotAllowlistRequestBody$1 {
|
|
7431
|
+
/**
|
|
7432
|
+
* Allowlist setting of the bot
|
|
7433
|
+
*/
|
|
7434
|
+
setting?: "ALL_WORKSPACE_USERS" | "SELECTED_USERS";
|
|
7435
|
+
users?: {
|
|
7436
|
+
/**
|
|
7437
|
+
* If `true`, the user should be added to the allowlist. If `false`, the user should be removed from the allowlist. This performs a partial update, so any existing users not included here will be kept in the allowlist
|
|
7438
|
+
*/
|
|
7439
|
+
[k: string]: boolean;
|
|
7440
|
+
};
|
|
7441
|
+
}
|
|
7442
|
+
type UpdateBotAllowlistInput$1 = UpdateBotAllowlistRequestBody$1 & UpdateBotAllowlistRequestHeaders$1 & UpdateBotAllowlistRequestQuery$1 & UpdateBotAllowlistRequestParams$1;
|
|
7443
|
+
interface UpdateBotAllowlistResponse$1 {
|
|
7444
|
+
}
|
|
7445
|
+
|
|
7369
7446
|
interface ListWorkspaceInvoicesRequestHeaders$1 {
|
|
7370
7447
|
}
|
|
7371
7448
|
interface ListWorkspaceInvoicesRequestQuery$1 {
|
|
@@ -8406,9 +8483,14 @@ interface CreateIntegrationRequestBody$1 {
|
|
|
8406
8483
|
*/
|
|
8407
8484
|
description?: string;
|
|
8408
8485
|
/**
|
|
8409
|
-
*
|
|
8486
|
+
* @deprecated
|
|
8487
|
+
* [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
|
|
8410
8488
|
*/
|
|
8411
8489
|
public?: boolean;
|
|
8490
|
+
/**
|
|
8491
|
+
* The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
|
|
8492
|
+
*/
|
|
8493
|
+
visibility?: "public" | "private" | "unlisted";
|
|
8412
8494
|
layers?: string[];
|
|
8413
8495
|
}
|
|
8414
8496
|
type CreateIntegrationInput$1 = CreateIntegrationRequestBody$1 & CreateIntegrationRequestHeaders$1 & CreateIntegrationRequestQuery$1 & CreateIntegrationRequestParams$1;
|
|
@@ -8785,9 +8867,14 @@ interface CreateIntegrationResponse$1 {
|
|
|
8785
8867
|
*/
|
|
8786
8868
|
readmeUrl: string;
|
|
8787
8869
|
/**
|
|
8788
|
-
*
|
|
8870
|
+
* @deprecated
|
|
8871
|
+
* [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
|
|
8789
8872
|
*/
|
|
8790
8873
|
public: boolean;
|
|
8874
|
+
/**
|
|
8875
|
+
* The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
|
|
8876
|
+
*/
|
|
8877
|
+
visibility: "public" | "private" | "unlisted";
|
|
8791
8878
|
/**
|
|
8792
8879
|
* Status of the integration version verification
|
|
8793
8880
|
*/
|
|
@@ -9134,9 +9221,14 @@ interface ValidateIntegrationCreationRequestBody$1 {
|
|
|
9134
9221
|
*/
|
|
9135
9222
|
description?: string;
|
|
9136
9223
|
/**
|
|
9137
|
-
*
|
|
9224
|
+
* @deprecated
|
|
9225
|
+
* [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
|
|
9138
9226
|
*/
|
|
9139
9227
|
public?: boolean;
|
|
9228
|
+
/**
|
|
9229
|
+
* The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
|
|
9230
|
+
*/
|
|
9231
|
+
visibility?: "public" | "private" | "unlisted";
|
|
9140
9232
|
layers?: string[];
|
|
9141
9233
|
}
|
|
9142
9234
|
type ValidateIntegrationCreationInput$1 = ValidateIntegrationCreationRequestBody$1 & ValidateIntegrationCreationRequestHeaders$1 & ValidateIntegrationCreationRequestQuery$1 & ValidateIntegrationCreationRequestParams$1;
|
|
@@ -9465,9 +9557,14 @@ interface UpdateIntegrationRequestBody$1 {
|
|
|
9465
9557
|
*/
|
|
9466
9558
|
url?: string | null;
|
|
9467
9559
|
/**
|
|
9468
|
-
*
|
|
9560
|
+
* @deprecated
|
|
9561
|
+
* [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
|
|
9469
9562
|
*/
|
|
9470
9563
|
public?: boolean;
|
|
9564
|
+
/**
|
|
9565
|
+
* The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
|
|
9566
|
+
*/
|
|
9567
|
+
visibility?: "public" | "private" | "unlisted";
|
|
9471
9568
|
layers?: string[];
|
|
9472
9569
|
}
|
|
9473
9570
|
type UpdateIntegrationInput$1 = UpdateIntegrationRequestBody$1 & UpdateIntegrationRequestHeaders$1 & UpdateIntegrationRequestQuery$1 & UpdateIntegrationRequestParams$1;
|
|
@@ -9844,9 +9941,14 @@ interface UpdateIntegrationResponse$1 {
|
|
|
9844
9941
|
*/
|
|
9845
9942
|
readmeUrl: string;
|
|
9846
9943
|
/**
|
|
9847
|
-
*
|
|
9944
|
+
* @deprecated
|
|
9945
|
+
* [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
|
|
9848
9946
|
*/
|
|
9849
9947
|
public: boolean;
|
|
9948
|
+
/**
|
|
9949
|
+
* The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
|
|
9950
|
+
*/
|
|
9951
|
+
visibility: "public" | "private" | "unlisted";
|
|
9850
9952
|
/**
|
|
9851
9953
|
* Status of the integration version verification
|
|
9852
9954
|
*/
|
|
@@ -10180,9 +10282,14 @@ interface ValidateIntegrationUpdateRequestBody$1 {
|
|
|
10180
10282
|
*/
|
|
10181
10283
|
url?: string | null;
|
|
10182
10284
|
/**
|
|
10183
|
-
*
|
|
10285
|
+
* @deprecated
|
|
10286
|
+
* [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
|
|
10184
10287
|
*/
|
|
10185
10288
|
public?: boolean;
|
|
10289
|
+
/**
|
|
10290
|
+
* The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
|
|
10291
|
+
*/
|
|
10292
|
+
visibility?: "public" | "private" | "unlisted";
|
|
10186
10293
|
layers?: string[];
|
|
10187
10294
|
}
|
|
10188
10295
|
type ValidateIntegrationUpdateInput$1 = ValidateIntegrationUpdateRequestBody$1 & ValidateIntegrationUpdateRequestHeaders$1 & ValidateIntegrationUpdateRequestQuery$1 & ValidateIntegrationUpdateRequestParams$1;
|
|
@@ -10246,9 +10353,14 @@ interface ListIntegrationsResponse$1 {
|
|
|
10246
10353
|
*/
|
|
10247
10354
|
iconUrl: string;
|
|
10248
10355
|
/**
|
|
10249
|
-
*
|
|
10356
|
+
* @deprecated
|
|
10357
|
+
* [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
|
|
10250
10358
|
*/
|
|
10251
10359
|
public: boolean;
|
|
10360
|
+
/**
|
|
10361
|
+
* The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
|
|
10362
|
+
*/
|
|
10363
|
+
visibility: "public" | "private" | "unlisted";
|
|
10252
10364
|
/**
|
|
10253
10365
|
* Status of the integration version verification
|
|
10254
10366
|
*/
|
|
@@ -10675,9 +10787,14 @@ interface GetIntegrationResponse$1 {
|
|
|
10675
10787
|
*/
|
|
10676
10788
|
readmeUrl: string;
|
|
10677
10789
|
/**
|
|
10678
|
-
*
|
|
10790
|
+
* @deprecated
|
|
10791
|
+
* [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
|
|
10679
10792
|
*/
|
|
10680
10793
|
public: boolean;
|
|
10794
|
+
/**
|
|
10795
|
+
* The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
|
|
10796
|
+
*/
|
|
10797
|
+
visibility: "public" | "private" | "unlisted";
|
|
10681
10798
|
/**
|
|
10682
10799
|
* Status of the integration version verification
|
|
10683
10800
|
*/
|
|
@@ -11102,9 +11219,14 @@ interface GetIntegrationByNameResponse$1 {
|
|
|
11102
11219
|
*/
|
|
11103
11220
|
readmeUrl: string;
|
|
11104
11221
|
/**
|
|
11105
|
-
*
|
|
11222
|
+
* @deprecated
|
|
11223
|
+
* [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
|
|
11106
11224
|
*/
|
|
11107
11225
|
public: boolean;
|
|
11226
|
+
/**
|
|
11227
|
+
* The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
|
|
11228
|
+
*/
|
|
11229
|
+
visibility: "public" | "private" | "unlisted";
|
|
11108
11230
|
/**
|
|
11109
11231
|
* Status of the integration version verification
|
|
11110
11232
|
*/
|
|
@@ -13942,6 +14064,8 @@ declare class Client$7 {
|
|
|
13942
14064
|
readonly listBotApiKeys: (input: ListBotApiKeysInput$1) => Promise<ListBotApiKeysResponse$1>;
|
|
13943
14065
|
readonly createBotApiKey: (input: CreateBotApiKeyInput$1) => Promise<CreateBotApiKeyResponse$1>;
|
|
13944
14066
|
readonly deleteBotApiKey: (input: DeleteBotApiKeyInput$1) => Promise<DeleteBotApiKeyResponse$1>;
|
|
14067
|
+
readonly getBotAllowlist: (input: GetBotAllowlistInput$1) => Promise<GetBotAllowlistResponse$1>;
|
|
14068
|
+
readonly updateBotAllowlist: (input: UpdateBotAllowlistInput$1) => Promise<UpdateBotAllowlistResponse$1>;
|
|
13945
14069
|
readonly listWorkspaceInvoices: (input: ListWorkspaceInvoicesInput$1) => Promise<ListWorkspaceInvoicesResponse$1>;
|
|
13946
14070
|
readonly getUpcomingInvoice: (input: GetUpcomingInvoiceInput$1) => Promise<GetUpcomingInvoiceResponse$1>;
|
|
13947
14071
|
readonly chargeWorkspaceUnpaidInvoices: (input: ChargeWorkspaceUnpaidInvoicesInput$1) => Promise<ChargeWorkspaceUnpaidInvoicesResponse$1>;
|
|
@@ -14024,9 +14148,9 @@ declare class Client$6 extends Client$7 {
|
|
|
14024
14148
|
interfaceId?: string | undefined;
|
|
14025
14149
|
interfaceName?: string | undefined;
|
|
14026
14150
|
installedByBotId?: string | undefined;
|
|
14027
|
-
verificationStatus?:
|
|
14028
|
-
sortBy?:
|
|
14029
|
-
direction?:
|
|
14151
|
+
verificationStatus?: "unapproved" | "pending" | "approved" | "rejected" | undefined;
|
|
14152
|
+
sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount" | undefined;
|
|
14153
|
+
direction?: "asc" | "desc" | undefined;
|
|
14030
14154
|
}) => AsyncCollection<{
|
|
14031
14155
|
id: string;
|
|
14032
14156
|
name: string;
|
|
@@ -14037,6 +14161,7 @@ declare class Client$6 extends Client$7 {
|
|
|
14037
14161
|
description: string;
|
|
14038
14162
|
iconUrl: string;
|
|
14039
14163
|
public: boolean;
|
|
14164
|
+
visibility: "public" | "private" | "unlisted";
|
|
14040
14165
|
verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
|
|
14041
14166
|
ownerWorkspace: {
|
|
14042
14167
|
id: string;
|
|
@@ -14059,8 +14184,8 @@ declare class Client$6 extends Client$7 {
|
|
|
14059
14184
|
tags?: {
|
|
14060
14185
|
[x: string]: string;
|
|
14061
14186
|
} | undefined;
|
|
14062
|
-
sortField?:
|
|
14063
|
-
sortDirection?:
|
|
14187
|
+
sortField?: "createdAt" | "updatedAt" | undefined;
|
|
14188
|
+
sortDirection?: "asc" | "desc" | undefined;
|
|
14064
14189
|
dev?: boolean | undefined;
|
|
14065
14190
|
}) => AsyncCollection<{
|
|
14066
14191
|
id: string;
|
|
@@ -14115,11 +14240,11 @@ declare class Client$6 extends Client$7 {
|
|
|
14115
14240
|
interfaceId?: string | undefined;
|
|
14116
14241
|
interfaceName?: string | undefined;
|
|
14117
14242
|
installedByBotId?: string | undefined;
|
|
14118
|
-
verificationStatus?:
|
|
14119
|
-
sortBy?:
|
|
14120
|
-
direction?:
|
|
14243
|
+
verificationStatus?: "unapproved" | "pending" | "approved" | "rejected" | undefined;
|
|
14244
|
+
sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount" | undefined;
|
|
14245
|
+
direction?: "asc" | "desc" | undefined;
|
|
14121
14246
|
dev?: boolean | undefined;
|
|
14122
|
-
visibility?:
|
|
14247
|
+
visibility?: "public" | "private" | undefined;
|
|
14123
14248
|
}) => AsyncCollection<{
|
|
14124
14249
|
id: string;
|
|
14125
14250
|
name: string;
|
|
@@ -14130,6 +14255,7 @@ declare class Client$6 extends Client$7 {
|
|
|
14130
14255
|
description: string;
|
|
14131
14256
|
iconUrl: string;
|
|
14132
14257
|
public: boolean;
|
|
14258
|
+
visibility: "public" | "private" | "unlisted";
|
|
14133
14259
|
verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
|
|
14134
14260
|
matchedOn?: {
|
|
14135
14261
|
name?: boolean;
|
|
@@ -14311,9 +14437,9 @@ interface UpsertFileRequestBody$1 {
|
|
|
14311
14437
|
generateMasterSummary?: boolean;
|
|
14312
14438
|
};
|
|
14313
14439
|
/**
|
|
14314
|
-
*
|
|
14440
|
+
* If not set, the default indexing stack will be used.
|
|
14315
14441
|
*/
|
|
14316
|
-
stack?: "realtime-v1";
|
|
14442
|
+
stack?: "legacy" | "realtime-v1";
|
|
14317
14443
|
vision?: {
|
|
14318
14444
|
/**
|
|
14319
14445
|
* (Team/Enterprise plan only, charged as AI Spend) For PDF files, set this option to `true` or pass an array with specific page numbers to use a vision-enabled LLM to transcribe each page of the PDF as standalone vectors and index them.
|
|
@@ -14926,6 +15052,7 @@ interface SearchFilesRequestQuery$1 {
|
|
|
14926
15052
|
limit?: number;
|
|
14927
15053
|
consolidate?: boolean;
|
|
14928
15054
|
includeBreadcrumb?: boolean;
|
|
15055
|
+
withContext?: boolean;
|
|
14929
15056
|
}
|
|
14930
15057
|
interface SearchFilesRequestParams$1 {
|
|
14931
15058
|
}
|
|
@@ -14995,8 +15122,14 @@ interface SearchFilesResponse$1 {
|
|
|
14995
15122
|
*/
|
|
14996
15123
|
updatedAt: string;
|
|
14997
15124
|
};
|
|
15125
|
+
/**
|
|
15126
|
+
* Surrounding passages including the current passage, based on the requested `contextDepth`. Only returned if the `withContext` parameter is set to `true`. Not supported when using the `consolidate` option.
|
|
15127
|
+
*/
|
|
14998
15128
|
context?: {
|
|
14999
|
-
|
|
15129
|
+
/**
|
|
15130
|
+
* The ID of the vector that the context passage belongs to. Omitted for breadcrumbs.
|
|
15131
|
+
*/
|
|
15132
|
+
id?: string;
|
|
15000
15133
|
text: string;
|
|
15001
15134
|
/**
|
|
15002
15135
|
* Position of the context passage relative to the current passage. Negative for preceding passages, positive for subsequent, ommited for breadcrumbs.
|
|
@@ -15005,7 +15138,7 @@ interface SearchFilesResponse$1 {
|
|
|
15005
15138
|
/**
|
|
15006
15139
|
* The type of context passage
|
|
15007
15140
|
*/
|
|
15008
|
-
type: "preceding" | "subsequent" | "breadcrumb";
|
|
15141
|
+
type: "preceding" | "subsequent" | "current" | "breadcrumb";
|
|
15009
15142
|
}[];
|
|
15010
15143
|
}[];
|
|
15011
15144
|
}
|
|
@@ -15282,8 +15415,8 @@ declare class Client$4 extends Client$5 implements IClient$2 {
|
|
|
15282
15415
|
get list(): {
|
|
15283
15416
|
files: (props: {
|
|
15284
15417
|
tags?: any;
|
|
15285
|
-
sortField?:
|
|
15286
|
-
sortDirection?:
|
|
15418
|
+
sortField?: "key" | "size" | "createdAt" | "updatedAt" | "status" | undefined;
|
|
15419
|
+
sortDirection?: "asc" | "desc" | undefined;
|
|
15287
15420
|
ids?: string[] | undefined;
|
|
15288
15421
|
}) => AsyncCollection<{
|
|
15289
15422
|
id: string;
|
|
@@ -19651,6 +19784,10 @@ interface GetOrCreateWorkflowRequestBody {
|
|
|
19651
19784
|
* Event id must be specified if the workflow is created with the status in_progress
|
|
19652
19785
|
*/
|
|
19653
19786
|
eventId?: string;
|
|
19787
|
+
/**
|
|
19788
|
+
* 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.
|
|
19789
|
+
*/
|
|
19790
|
+
discriminateByTags?: string[];
|
|
19654
19791
|
}
|
|
19655
19792
|
type GetOrCreateWorkflowInput = GetOrCreateWorkflowRequestBody & GetOrCreateWorkflowRequestHeaders & GetOrCreateWorkflowRequestQuery & GetOrCreateWorkflowRequestParams;
|
|
19656
19793
|
interface GetOrCreateWorkflowResponse {
|
|
@@ -19980,9 +20117,14 @@ interface ListPublicIntegrationsResponse {
|
|
|
19980
20117
|
*/
|
|
19981
20118
|
iconUrl: string;
|
|
19982
20119
|
/**
|
|
19983
|
-
*
|
|
20120
|
+
* @deprecated
|
|
20121
|
+
* [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
|
|
19984
20122
|
*/
|
|
19985
20123
|
public: boolean;
|
|
20124
|
+
/**
|
|
20125
|
+
* The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
|
|
20126
|
+
*/
|
|
20127
|
+
visibility: "public" | "private" | "unlisted";
|
|
19986
20128
|
/**
|
|
19987
20129
|
* Status of the integration version verification
|
|
19988
20130
|
*/
|
|
@@ -20413,9 +20555,14 @@ interface GetPublicIntegrationByIdResponse {
|
|
|
20413
20555
|
*/
|
|
20414
20556
|
readmeUrl: string;
|
|
20415
20557
|
/**
|
|
20416
|
-
*
|
|
20558
|
+
* @deprecated
|
|
20559
|
+
* [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
|
|
20417
20560
|
*/
|
|
20418
20561
|
public: boolean;
|
|
20562
|
+
/**
|
|
20563
|
+
* The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
|
|
20564
|
+
*/
|
|
20565
|
+
visibility: "public" | "private" | "unlisted";
|
|
20419
20566
|
/**
|
|
20420
20567
|
* Status of the integration version verification
|
|
20421
20568
|
*/
|
|
@@ -20820,9 +20967,14 @@ interface GetPublicIntegrationResponse {
|
|
|
20820
20967
|
*/
|
|
20821
20968
|
readmeUrl: string;
|
|
20822
20969
|
/**
|
|
20823
|
-
*
|
|
20970
|
+
* @deprecated
|
|
20971
|
+
* [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
|
|
20824
20972
|
*/
|
|
20825
20973
|
public: boolean;
|
|
20974
|
+
/**
|
|
20975
|
+
* The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
|
|
20976
|
+
*/
|
|
20977
|
+
visibility: "public" | "private" | "unlisted";
|
|
20826
20978
|
/**
|
|
20827
20979
|
* Status of the integration version verification
|
|
20828
20980
|
*/
|
|
@@ -22237,9 +22389,14 @@ interface CreateBotResponse {
|
|
|
22237
22389
|
*/
|
|
22238
22390
|
iconUrl: string;
|
|
22239
22391
|
/**
|
|
22240
|
-
*
|
|
22392
|
+
* @deprecated
|
|
22393
|
+
* [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
|
|
22241
22394
|
*/
|
|
22242
22395
|
public: boolean;
|
|
22396
|
+
/**
|
|
22397
|
+
* The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
|
|
22398
|
+
*/
|
|
22399
|
+
visibility: "public" | "private" | "unlisted";
|
|
22243
22400
|
/**
|
|
22244
22401
|
* Status of the integration version verification
|
|
22245
22402
|
*/
|
|
@@ -22863,9 +23020,14 @@ interface UpdateBotResponse {
|
|
|
22863
23020
|
*/
|
|
22864
23021
|
iconUrl: string;
|
|
22865
23022
|
/**
|
|
22866
|
-
*
|
|
23023
|
+
* @deprecated
|
|
23024
|
+
* [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
|
|
22867
23025
|
*/
|
|
22868
23026
|
public: boolean;
|
|
23027
|
+
/**
|
|
23028
|
+
* The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
|
|
23029
|
+
*/
|
|
23030
|
+
visibility: "public" | "private" | "unlisted";
|
|
22869
23031
|
/**
|
|
22870
23032
|
* Status of the integration version verification
|
|
22871
23033
|
*/
|
|
@@ -23321,9 +23483,14 @@ interface GetBotResponse {
|
|
|
23321
23483
|
*/
|
|
23322
23484
|
iconUrl: string;
|
|
23323
23485
|
/**
|
|
23324
|
-
*
|
|
23486
|
+
* @deprecated
|
|
23487
|
+
* [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
|
|
23325
23488
|
*/
|
|
23326
23489
|
public: boolean;
|
|
23490
|
+
/**
|
|
23491
|
+
* The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
|
|
23492
|
+
*/
|
|
23493
|
+
visibility: "public" | "private" | "unlisted";
|
|
23327
23494
|
/**
|
|
23328
23495
|
* Status of the integration version verification
|
|
23329
23496
|
*/
|
|
@@ -24126,6 +24293,49 @@ type DeleteBotApiKeyInput = DeleteBotApiKeyRequestBody & DeleteBotApiKeyRequestH
|
|
|
24126
24293
|
interface DeleteBotApiKeyResponse {
|
|
24127
24294
|
}
|
|
24128
24295
|
|
|
24296
|
+
interface GetBotAllowlistRequestHeaders {
|
|
24297
|
+
}
|
|
24298
|
+
interface GetBotAllowlistRequestQuery {
|
|
24299
|
+
}
|
|
24300
|
+
interface GetBotAllowlistRequestParams {
|
|
24301
|
+
botId: string;
|
|
24302
|
+
}
|
|
24303
|
+
interface GetBotAllowlistRequestBody {
|
|
24304
|
+
}
|
|
24305
|
+
type GetBotAllowlistInput = GetBotAllowlistRequestBody & GetBotAllowlistRequestHeaders & GetBotAllowlistRequestQuery & GetBotAllowlistRequestParams;
|
|
24306
|
+
interface GetBotAllowlistResponse {
|
|
24307
|
+
/**
|
|
24308
|
+
* Allowlist setting of the bot
|
|
24309
|
+
*/
|
|
24310
|
+
setting: "ALL_WORKSPACE_USERS" | "SELECTED_USERS";
|
|
24311
|
+
users: {
|
|
24312
|
+
id: string;
|
|
24313
|
+
}[];
|
|
24314
|
+
}
|
|
24315
|
+
|
|
24316
|
+
interface UpdateBotAllowlistRequestHeaders {
|
|
24317
|
+
}
|
|
24318
|
+
interface UpdateBotAllowlistRequestQuery {
|
|
24319
|
+
}
|
|
24320
|
+
interface UpdateBotAllowlistRequestParams {
|
|
24321
|
+
botId: string;
|
|
24322
|
+
}
|
|
24323
|
+
interface UpdateBotAllowlistRequestBody {
|
|
24324
|
+
/**
|
|
24325
|
+
* Allowlist setting of the bot
|
|
24326
|
+
*/
|
|
24327
|
+
setting?: "ALL_WORKSPACE_USERS" | "SELECTED_USERS";
|
|
24328
|
+
users?: {
|
|
24329
|
+
/**
|
|
24330
|
+
* If `true`, the user should be added to the allowlist. If `false`, the user should be removed from the allowlist. This performs a partial update, so any existing users not included here will be kept in the allowlist
|
|
24331
|
+
*/
|
|
24332
|
+
[k: string]: boolean;
|
|
24333
|
+
};
|
|
24334
|
+
}
|
|
24335
|
+
type UpdateBotAllowlistInput = UpdateBotAllowlistRequestBody & UpdateBotAllowlistRequestHeaders & UpdateBotAllowlistRequestQuery & UpdateBotAllowlistRequestParams;
|
|
24336
|
+
interface UpdateBotAllowlistResponse {
|
|
24337
|
+
}
|
|
24338
|
+
|
|
24129
24339
|
interface ListWorkspaceInvoicesRequestHeaders {
|
|
24130
24340
|
}
|
|
24131
24341
|
interface ListWorkspaceInvoicesRequestQuery {
|
|
@@ -25167,9 +25377,14 @@ interface CreateIntegrationRequestBody {
|
|
|
25167
25377
|
*/
|
|
25168
25378
|
description?: string;
|
|
25169
25379
|
/**
|
|
25170
|
-
*
|
|
25380
|
+
* @deprecated
|
|
25381
|
+
* [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
|
|
25171
25382
|
*/
|
|
25172
25383
|
public?: boolean;
|
|
25384
|
+
/**
|
|
25385
|
+
* The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
|
|
25386
|
+
*/
|
|
25387
|
+
visibility?: "public" | "private" | "unlisted";
|
|
25173
25388
|
layers?: string[];
|
|
25174
25389
|
}
|
|
25175
25390
|
type CreateIntegrationInput = CreateIntegrationRequestBody & CreateIntegrationRequestHeaders & CreateIntegrationRequestQuery & CreateIntegrationRequestParams;
|
|
@@ -25546,9 +25761,14 @@ interface CreateIntegrationResponse {
|
|
|
25546
25761
|
*/
|
|
25547
25762
|
readmeUrl: string;
|
|
25548
25763
|
/**
|
|
25549
|
-
*
|
|
25764
|
+
* @deprecated
|
|
25765
|
+
* [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
|
|
25550
25766
|
*/
|
|
25551
25767
|
public: boolean;
|
|
25768
|
+
/**
|
|
25769
|
+
* The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
|
|
25770
|
+
*/
|
|
25771
|
+
visibility: "public" | "private" | "unlisted";
|
|
25552
25772
|
/**
|
|
25553
25773
|
* Status of the integration version verification
|
|
25554
25774
|
*/
|
|
@@ -25895,9 +26115,14 @@ interface ValidateIntegrationCreationRequestBody {
|
|
|
25895
26115
|
*/
|
|
25896
26116
|
description?: string;
|
|
25897
26117
|
/**
|
|
25898
|
-
*
|
|
26118
|
+
* @deprecated
|
|
26119
|
+
* [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
|
|
25899
26120
|
*/
|
|
25900
26121
|
public?: boolean;
|
|
26122
|
+
/**
|
|
26123
|
+
* The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
|
|
26124
|
+
*/
|
|
26125
|
+
visibility?: "public" | "private" | "unlisted";
|
|
25901
26126
|
layers?: string[];
|
|
25902
26127
|
}
|
|
25903
26128
|
type ValidateIntegrationCreationInput = ValidateIntegrationCreationRequestBody & ValidateIntegrationCreationRequestHeaders & ValidateIntegrationCreationRequestQuery & ValidateIntegrationCreationRequestParams;
|
|
@@ -26226,9 +26451,14 @@ interface UpdateIntegrationRequestBody {
|
|
|
26226
26451
|
*/
|
|
26227
26452
|
url?: string | null;
|
|
26228
26453
|
/**
|
|
26229
|
-
*
|
|
26454
|
+
* @deprecated
|
|
26455
|
+
* [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
|
|
26230
26456
|
*/
|
|
26231
26457
|
public?: boolean;
|
|
26458
|
+
/**
|
|
26459
|
+
* The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
|
|
26460
|
+
*/
|
|
26461
|
+
visibility?: "public" | "private" | "unlisted";
|
|
26232
26462
|
layers?: string[];
|
|
26233
26463
|
}
|
|
26234
26464
|
type UpdateIntegrationInput = UpdateIntegrationRequestBody & UpdateIntegrationRequestHeaders & UpdateIntegrationRequestQuery & UpdateIntegrationRequestParams;
|
|
@@ -26605,9 +26835,14 @@ interface UpdateIntegrationResponse {
|
|
|
26605
26835
|
*/
|
|
26606
26836
|
readmeUrl: string;
|
|
26607
26837
|
/**
|
|
26608
|
-
*
|
|
26838
|
+
* @deprecated
|
|
26839
|
+
* [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
|
|
26609
26840
|
*/
|
|
26610
26841
|
public: boolean;
|
|
26842
|
+
/**
|
|
26843
|
+
* The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
|
|
26844
|
+
*/
|
|
26845
|
+
visibility: "public" | "private" | "unlisted";
|
|
26611
26846
|
/**
|
|
26612
26847
|
* Status of the integration version verification
|
|
26613
26848
|
*/
|
|
@@ -26941,9 +27176,14 @@ interface ValidateIntegrationUpdateRequestBody {
|
|
|
26941
27176
|
*/
|
|
26942
27177
|
url?: string | null;
|
|
26943
27178
|
/**
|
|
26944
|
-
*
|
|
27179
|
+
* @deprecated
|
|
27180
|
+
* [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
|
|
26945
27181
|
*/
|
|
26946
27182
|
public?: boolean;
|
|
27183
|
+
/**
|
|
27184
|
+
* The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
|
|
27185
|
+
*/
|
|
27186
|
+
visibility?: "public" | "private" | "unlisted";
|
|
26947
27187
|
layers?: string[];
|
|
26948
27188
|
}
|
|
26949
27189
|
type ValidateIntegrationUpdateInput = ValidateIntegrationUpdateRequestBody & ValidateIntegrationUpdateRequestHeaders & ValidateIntegrationUpdateRequestQuery & ValidateIntegrationUpdateRequestParams;
|
|
@@ -27007,9 +27247,14 @@ interface ListIntegrationsResponse {
|
|
|
27007
27247
|
*/
|
|
27008
27248
|
iconUrl: string;
|
|
27009
27249
|
/**
|
|
27010
|
-
*
|
|
27250
|
+
* @deprecated
|
|
27251
|
+
* [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
|
|
27011
27252
|
*/
|
|
27012
27253
|
public: boolean;
|
|
27254
|
+
/**
|
|
27255
|
+
* The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
|
|
27256
|
+
*/
|
|
27257
|
+
visibility: "public" | "private" | "unlisted";
|
|
27013
27258
|
/**
|
|
27014
27259
|
* Status of the integration version verification
|
|
27015
27260
|
*/
|
|
@@ -27436,9 +27681,14 @@ interface GetIntegrationResponse {
|
|
|
27436
27681
|
*/
|
|
27437
27682
|
readmeUrl: string;
|
|
27438
27683
|
/**
|
|
27439
|
-
*
|
|
27684
|
+
* @deprecated
|
|
27685
|
+
* [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
|
|
27440
27686
|
*/
|
|
27441
27687
|
public: boolean;
|
|
27688
|
+
/**
|
|
27689
|
+
* The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
|
|
27690
|
+
*/
|
|
27691
|
+
visibility: "public" | "private" | "unlisted";
|
|
27442
27692
|
/**
|
|
27443
27693
|
* Status of the integration version verification
|
|
27444
27694
|
*/
|
|
@@ -27863,9 +28113,14 @@ interface GetIntegrationByNameResponse {
|
|
|
27863
28113
|
*/
|
|
27864
28114
|
readmeUrl: string;
|
|
27865
28115
|
/**
|
|
27866
|
-
*
|
|
28116
|
+
* @deprecated
|
|
28117
|
+
* [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
|
|
27867
28118
|
*/
|
|
27868
28119
|
public: boolean;
|
|
28120
|
+
/**
|
|
28121
|
+
* The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
|
|
28122
|
+
*/
|
|
28123
|
+
visibility: "public" | "private" | "unlisted";
|
|
27869
28124
|
/**
|
|
27870
28125
|
* Status of the integration version verification
|
|
27871
28126
|
*/
|
|
@@ -30735,9 +30990,9 @@ interface UpsertFileRequestBody {
|
|
|
30735
30990
|
generateMasterSummary?: boolean;
|
|
30736
30991
|
};
|
|
30737
30992
|
/**
|
|
30738
|
-
*
|
|
30993
|
+
* If not set, the default indexing stack will be used.
|
|
30739
30994
|
*/
|
|
30740
|
-
stack?: "realtime-v1";
|
|
30995
|
+
stack?: "legacy" | "realtime-v1";
|
|
30741
30996
|
vision?: {
|
|
30742
30997
|
/**
|
|
30743
30998
|
* (Team/Enterprise plan only, charged as AI Spend) For PDF files, set this option to `true` or pass an array with specific page numbers to use a vision-enabled LLM to transcribe each page of the PDF as standalone vectors and index them.
|
|
@@ -31350,6 +31605,7 @@ interface SearchFilesRequestQuery {
|
|
|
31350
31605
|
limit?: number;
|
|
31351
31606
|
consolidate?: boolean;
|
|
31352
31607
|
includeBreadcrumb?: boolean;
|
|
31608
|
+
withContext?: boolean;
|
|
31353
31609
|
}
|
|
31354
31610
|
interface SearchFilesRequestParams {
|
|
31355
31611
|
}
|
|
@@ -31419,8 +31675,14 @@ interface SearchFilesResponse {
|
|
|
31419
31675
|
*/
|
|
31420
31676
|
updatedAt: string;
|
|
31421
31677
|
};
|
|
31678
|
+
/**
|
|
31679
|
+
* Surrounding passages including the current passage, based on the requested `contextDepth`. Only returned if the `withContext` parameter is set to `true`. Not supported when using the `consolidate` option.
|
|
31680
|
+
*/
|
|
31422
31681
|
context?: {
|
|
31423
|
-
|
|
31682
|
+
/**
|
|
31683
|
+
* The ID of the vector that the context passage belongs to. Omitted for breadcrumbs.
|
|
31684
|
+
*/
|
|
31685
|
+
id?: string;
|
|
31424
31686
|
text: string;
|
|
31425
31687
|
/**
|
|
31426
31688
|
* Position of the context passage relative to the current passage. Negative for preceding passages, positive for subsequent, ommited for breadcrumbs.
|
|
@@ -31429,7 +31691,7 @@ interface SearchFilesResponse {
|
|
|
31429
31691
|
/**
|
|
31430
31692
|
* The type of context passage
|
|
31431
31693
|
*/
|
|
31432
|
-
type: "preceding" | "subsequent" | "breadcrumb";
|
|
31694
|
+
type: "preceding" | "subsequent" | "current" | "breadcrumb";
|
|
31433
31695
|
}[];
|
|
31434
31696
|
}[];
|
|
31435
31697
|
}
|
|
@@ -33352,9 +33614,14 @@ interface Bot {
|
|
|
33352
33614
|
*/
|
|
33353
33615
|
iconUrl: string;
|
|
33354
33616
|
/**
|
|
33355
|
-
*
|
|
33617
|
+
* @deprecated
|
|
33618
|
+
* [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
|
|
33356
33619
|
*/
|
|
33357
33620
|
public: boolean;
|
|
33621
|
+
/**
|
|
33622
|
+
* The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
|
|
33623
|
+
*/
|
|
33624
|
+
visibility: "public" | "private" | "unlisted";
|
|
33358
33625
|
/**
|
|
33359
33626
|
* Status of the integration version verification
|
|
33360
33627
|
*/
|
|
@@ -34035,9 +34302,14 @@ interface Integration {
|
|
|
34035
34302
|
*/
|
|
34036
34303
|
readmeUrl: string;
|
|
34037
34304
|
/**
|
|
34038
|
-
*
|
|
34305
|
+
* @deprecated
|
|
34306
|
+
* [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
|
|
34039
34307
|
*/
|
|
34040
34308
|
public: boolean;
|
|
34309
|
+
/**
|
|
34310
|
+
* The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
|
|
34311
|
+
*/
|
|
34312
|
+
visibility: "public" | "private" | "unlisted";
|
|
34041
34313
|
/**
|
|
34042
34314
|
* Status of the integration version verification
|
|
34043
34315
|
*/
|
|
@@ -35232,6 +35504,8 @@ declare class Client$1 {
|
|
|
35232
35504
|
readonly listBotApiKeys: (input: ListBotApiKeysInput) => Promise<ListBotApiKeysResponse>;
|
|
35233
35505
|
readonly createBotApiKey: (input: CreateBotApiKeyInput) => Promise<CreateBotApiKeyResponse>;
|
|
35234
35506
|
readonly deleteBotApiKey: (input: DeleteBotApiKeyInput) => Promise<DeleteBotApiKeyResponse>;
|
|
35507
|
+
readonly getBotAllowlist: (input: GetBotAllowlistInput) => Promise<GetBotAllowlistResponse>;
|
|
35508
|
+
readonly updateBotAllowlist: (input: UpdateBotAllowlistInput) => Promise<UpdateBotAllowlistResponse>;
|
|
35235
35509
|
readonly listWorkspaceInvoices: (input: ListWorkspaceInvoicesInput) => Promise<ListWorkspaceInvoicesResponse>;
|
|
35236
35510
|
readonly getUpcomingInvoice: (input: GetUpcomingInvoiceInput) => Promise<GetUpcomingInvoiceResponse>;
|
|
35237
35511
|
readonly chargeWorkspaceUnpaidInvoices: (input: ChargeWorkspaceUnpaidInvoicesInput) => Promise<ChargeWorkspaceUnpaidInvoicesResponse>;
|
|
@@ -35348,8 +35622,8 @@ declare class Client extends Client$1 implements IClient {
|
|
|
35348
35622
|
} | undefined;
|
|
35349
35623
|
channel?: string | undefined;
|
|
35350
35624
|
integrationName?: string | undefined;
|
|
35351
|
-
sortField?:
|
|
35352
|
-
sortDirection?:
|
|
35625
|
+
sortField?: "createdAt" | "updatedAt" | undefined;
|
|
35626
|
+
sortDirection?: "asc" | "desc" | undefined;
|
|
35353
35627
|
participantIds?: string[] | undefined;
|
|
35354
35628
|
}) => AsyncCollection<{
|
|
35355
35629
|
id: string;
|
|
@@ -35380,7 +35654,7 @@ declare class Client extends Client$1 implements IClient {
|
|
|
35380
35654
|
userId?: string | undefined;
|
|
35381
35655
|
conversationId?: string | undefined;
|
|
35382
35656
|
messageId?: string | undefined;
|
|
35383
|
-
status?:
|
|
35657
|
+
status?: "pending" | "ignored" | "processed" | "failed" | "scheduled" | undefined;
|
|
35384
35658
|
}) => AsyncCollection<{
|
|
35385
35659
|
id: string;
|
|
35386
35660
|
createdAt: string;
|
|
@@ -35466,9 +35740,9 @@ declare class Client extends Client$1 implements IClient {
|
|
|
35466
35740
|
interfaceId?: string | undefined;
|
|
35467
35741
|
interfaceName?: string | undefined;
|
|
35468
35742
|
installedByBotId?: string | undefined;
|
|
35469
|
-
verificationStatus?:
|
|
35470
|
-
sortBy?:
|
|
35471
|
-
direction?:
|
|
35743
|
+
verificationStatus?: "unapproved" | "pending" | "approved" | "rejected" | undefined;
|
|
35744
|
+
sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount" | undefined;
|
|
35745
|
+
direction?: "asc" | "desc" | undefined;
|
|
35472
35746
|
}) => AsyncCollection<{
|
|
35473
35747
|
id: string;
|
|
35474
35748
|
name: string;
|
|
@@ -35479,6 +35753,7 @@ declare class Client extends Client$1 implements IClient {
|
|
|
35479
35753
|
description: string;
|
|
35480
35754
|
iconUrl: string;
|
|
35481
35755
|
public: boolean;
|
|
35756
|
+
visibility: "public" | "private" | "unlisted";
|
|
35482
35757
|
verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
|
|
35483
35758
|
ownerWorkspace: {
|
|
35484
35759
|
id: string;
|
|
@@ -35501,8 +35776,8 @@ declare class Client extends Client$1 implements IClient {
|
|
|
35501
35776
|
tags?: {
|
|
35502
35777
|
[x: string]: string;
|
|
35503
35778
|
} | undefined;
|
|
35504
|
-
sortField?:
|
|
35505
|
-
sortDirection?:
|
|
35779
|
+
sortField?: "createdAt" | "updatedAt" | undefined;
|
|
35780
|
+
sortDirection?: "asc" | "desc" | undefined;
|
|
35506
35781
|
dev?: boolean | undefined;
|
|
35507
35782
|
}) => AsyncCollection<{
|
|
35508
35783
|
id: string;
|
|
@@ -35549,11 +35824,11 @@ declare class Client extends Client$1 implements IClient {
|
|
|
35549
35824
|
interfaceId?: string | undefined;
|
|
35550
35825
|
interfaceName?: string | undefined;
|
|
35551
35826
|
installedByBotId?: string | undefined;
|
|
35552
|
-
verificationStatus?:
|
|
35553
|
-
sortBy?:
|
|
35554
|
-
direction?:
|
|
35827
|
+
verificationStatus?: "unapproved" | "pending" | "approved" | "rejected" | undefined;
|
|
35828
|
+
sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount" | undefined;
|
|
35829
|
+
direction?: "asc" | "desc" | undefined;
|
|
35555
35830
|
dev?: boolean | undefined;
|
|
35556
|
-
visibility?:
|
|
35831
|
+
visibility?: "public" | "private" | undefined;
|
|
35557
35832
|
}) => AsyncCollection<{
|
|
35558
35833
|
id: string;
|
|
35559
35834
|
name: string;
|
|
@@ -35564,6 +35839,7 @@ declare class Client extends Client$1 implements IClient {
|
|
|
35564
35839
|
description: string;
|
|
35565
35840
|
iconUrl: string;
|
|
35566
35841
|
public: boolean;
|
|
35842
|
+
visibility: "public" | "private" | "unlisted";
|
|
35567
35843
|
verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
|
|
35568
35844
|
matchedOn?: {
|
|
35569
35845
|
name?: boolean;
|
|
@@ -35653,8 +35929,8 @@ declare class Client extends Client$1 implements IClient {
|
|
|
35653
35929
|
}>;
|
|
35654
35930
|
files: (props: {
|
|
35655
35931
|
tags?: any;
|
|
35656
|
-
sortField?:
|
|
35657
|
-
sortDirection?:
|
|
35932
|
+
sortField?: "key" | "size" | "createdAt" | "updatedAt" | "status" | undefined;
|
|
35933
|
+
sortDirection?: "asc" | "desc" | undefined;
|
|
35658
35934
|
ids?: string[] | undefined;
|
|
35659
35935
|
}) => AsyncCollection<{
|
|
35660
35936
|
id: string;
|