@botpress/client 1.20.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/index.d.ts CHANGED
@@ -2872,8 +2872,8 @@ declare class Client$8 extends Client$9 {
2872
2872
  } | undefined;
2873
2873
  channel?: string | undefined;
2874
2874
  integrationName?: string | undefined;
2875
- sortField?: ("createdAt" | "updatedAt") | undefined;
2876
- sortDirection?: ("asc" | "desc") | undefined;
2875
+ sortField?: "createdAt" | "updatedAt" | undefined;
2876
+ sortDirection?: "asc" | "desc" | undefined;
2877
2877
  participantIds?: string[] | undefined;
2878
2878
  }) => AsyncCollection<{
2879
2879
  id: string;
@@ -2904,7 +2904,7 @@ declare class Client$8 extends Client$9 {
2904
2904
  userId?: string | undefined;
2905
2905
  conversationId?: string | undefined;
2906
2906
  messageId?: string | undefined;
2907
- status?: ("pending" | "ignored" | "processed" | "failed" | "scheduled") | undefined;
2907
+ status?: "pending" | "ignored" | "processed" | "failed" | "scheduled" | undefined;
2908
2908
  }) => AsyncCollection<{
2909
2909
  id: string;
2910
2910
  createdAt: string;
@@ -3224,9 +3224,14 @@ interface ListPublicIntegrationsResponse$1 {
3224
3224
  */
3225
3225
  iconUrl: string;
3226
3226
  /**
3227
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
3227
+ * @deprecated
3228
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
3228
3229
  */
3229
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";
3230
3235
  /**
3231
3236
  * Status of the integration version verification
3232
3237
  */
@@ -3657,9 +3662,14 @@ interface GetPublicIntegrationByIdResponse$1 {
3657
3662
  */
3658
3663
  readmeUrl: string;
3659
3664
  /**
3660
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
3665
+ * @deprecated
3666
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
3661
3667
  */
3662
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";
3663
3673
  /**
3664
3674
  * Status of the integration version verification
3665
3675
  */
@@ -4064,9 +4074,14 @@ interface GetPublicIntegrationResponse$1 {
4064
4074
  */
4065
4075
  readmeUrl: string;
4066
4076
  /**
4067
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
4077
+ * @deprecated
4078
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
4068
4079
  */
4069
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";
4070
4085
  /**
4071
4086
  * Status of the integration version verification
4072
4087
  */
@@ -5481,9 +5496,14 @@ interface CreateBotResponse$1 {
5481
5496
  */
5482
5497
  iconUrl: string;
5483
5498
  /**
5484
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
5499
+ * @deprecated
5500
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
5485
5501
  */
5486
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";
5487
5507
  /**
5488
5508
  * Status of the integration version verification
5489
5509
  */
@@ -6107,9 +6127,14 @@ interface UpdateBotResponse$1 {
6107
6127
  */
6108
6128
  iconUrl: string;
6109
6129
  /**
6110
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
6130
+ * @deprecated
6131
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
6111
6132
  */
6112
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";
6113
6138
  /**
6114
6139
  * Status of the integration version verification
6115
6140
  */
@@ -6565,9 +6590,14 @@ interface GetBotResponse$1 {
6565
6590
  */
6566
6591
  iconUrl: string;
6567
6592
  /**
6568
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
6593
+ * @deprecated
6594
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
6569
6595
  */
6570
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";
6571
6601
  /**
6572
6602
  * Status of the integration version verification
6573
6603
  */
@@ -8453,9 +8483,14 @@ interface CreateIntegrationRequestBody$1 {
8453
8483
  */
8454
8484
  description?: string;
8455
8485
  /**
8456
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
8486
+ * @deprecated
8487
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
8457
8488
  */
8458
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";
8459
8494
  layers?: string[];
8460
8495
  }
8461
8496
  type CreateIntegrationInput$1 = CreateIntegrationRequestBody$1 & CreateIntegrationRequestHeaders$1 & CreateIntegrationRequestQuery$1 & CreateIntegrationRequestParams$1;
@@ -8832,9 +8867,14 @@ interface CreateIntegrationResponse$1 {
8832
8867
  */
8833
8868
  readmeUrl: string;
8834
8869
  /**
8835
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
8870
+ * @deprecated
8871
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
8836
8872
  */
8837
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";
8838
8878
  /**
8839
8879
  * Status of the integration version verification
8840
8880
  */
@@ -9181,9 +9221,14 @@ interface ValidateIntegrationCreationRequestBody$1 {
9181
9221
  */
9182
9222
  description?: string;
9183
9223
  /**
9184
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
9224
+ * @deprecated
9225
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
9185
9226
  */
9186
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";
9187
9232
  layers?: string[];
9188
9233
  }
9189
9234
  type ValidateIntegrationCreationInput$1 = ValidateIntegrationCreationRequestBody$1 & ValidateIntegrationCreationRequestHeaders$1 & ValidateIntegrationCreationRequestQuery$1 & ValidateIntegrationCreationRequestParams$1;
@@ -9512,9 +9557,14 @@ interface UpdateIntegrationRequestBody$1 {
9512
9557
  */
9513
9558
  url?: string | null;
9514
9559
  /**
9515
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
9560
+ * @deprecated
9561
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
9516
9562
  */
9517
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";
9518
9568
  layers?: string[];
9519
9569
  }
9520
9570
  type UpdateIntegrationInput$1 = UpdateIntegrationRequestBody$1 & UpdateIntegrationRequestHeaders$1 & UpdateIntegrationRequestQuery$1 & UpdateIntegrationRequestParams$1;
@@ -9891,9 +9941,14 @@ interface UpdateIntegrationResponse$1 {
9891
9941
  */
9892
9942
  readmeUrl: string;
9893
9943
  /**
9894
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
9944
+ * @deprecated
9945
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
9895
9946
  */
9896
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";
9897
9952
  /**
9898
9953
  * Status of the integration version verification
9899
9954
  */
@@ -10227,9 +10282,14 @@ interface ValidateIntegrationUpdateRequestBody$1 {
10227
10282
  */
10228
10283
  url?: string | null;
10229
10284
  /**
10230
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
10285
+ * @deprecated
10286
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
10231
10287
  */
10232
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";
10233
10293
  layers?: string[];
10234
10294
  }
10235
10295
  type ValidateIntegrationUpdateInput$1 = ValidateIntegrationUpdateRequestBody$1 & ValidateIntegrationUpdateRequestHeaders$1 & ValidateIntegrationUpdateRequestQuery$1 & ValidateIntegrationUpdateRequestParams$1;
@@ -10293,9 +10353,14 @@ interface ListIntegrationsResponse$1 {
10293
10353
  */
10294
10354
  iconUrl: string;
10295
10355
  /**
10296
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
10356
+ * @deprecated
10357
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
10297
10358
  */
10298
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";
10299
10364
  /**
10300
10365
  * Status of the integration version verification
10301
10366
  */
@@ -10722,9 +10787,14 @@ interface GetIntegrationResponse$1 {
10722
10787
  */
10723
10788
  readmeUrl: string;
10724
10789
  /**
10725
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
10790
+ * @deprecated
10791
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
10726
10792
  */
10727
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";
10728
10798
  /**
10729
10799
  * Status of the integration version verification
10730
10800
  */
@@ -11149,9 +11219,14 @@ interface GetIntegrationByNameResponse$1 {
11149
11219
  */
11150
11220
  readmeUrl: string;
11151
11221
  /**
11152
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
11222
+ * @deprecated
11223
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
11153
11224
  */
11154
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";
11155
11230
  /**
11156
11231
  * Status of the integration version verification
11157
11232
  */
@@ -14073,9 +14148,9 @@ declare class Client$6 extends Client$7 {
14073
14148
  interfaceId?: string | undefined;
14074
14149
  interfaceName?: string | undefined;
14075
14150
  installedByBotId?: string | undefined;
14076
- verificationStatus?: ("unapproved" | "pending" | "approved" | "rejected") | undefined;
14077
- sortBy?: ("popularity" | "name" | "createdAt" | "updatedAt" | "installCount") | undefined;
14078
- direction?: ("asc" | "desc") | undefined;
14151
+ verificationStatus?: "unapproved" | "pending" | "approved" | "rejected" | undefined;
14152
+ sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount" | undefined;
14153
+ direction?: "asc" | "desc" | undefined;
14079
14154
  }) => AsyncCollection<{
14080
14155
  id: string;
14081
14156
  name: string;
@@ -14086,6 +14161,7 @@ declare class Client$6 extends Client$7 {
14086
14161
  description: string;
14087
14162
  iconUrl: string;
14088
14163
  public: boolean;
14164
+ visibility: "public" | "private" | "unlisted";
14089
14165
  verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
14090
14166
  ownerWorkspace: {
14091
14167
  id: string;
@@ -14108,8 +14184,8 @@ declare class Client$6 extends Client$7 {
14108
14184
  tags?: {
14109
14185
  [x: string]: string;
14110
14186
  } | undefined;
14111
- sortField?: ("createdAt" | "updatedAt") | undefined;
14112
- sortDirection?: ("asc" | "desc") | undefined;
14187
+ sortField?: "createdAt" | "updatedAt" | undefined;
14188
+ sortDirection?: "asc" | "desc" | undefined;
14113
14189
  dev?: boolean | undefined;
14114
14190
  }) => AsyncCollection<{
14115
14191
  id: string;
@@ -14164,11 +14240,11 @@ declare class Client$6 extends Client$7 {
14164
14240
  interfaceId?: string | undefined;
14165
14241
  interfaceName?: string | undefined;
14166
14242
  installedByBotId?: string | undefined;
14167
- verificationStatus?: ("unapproved" | "pending" | "approved" | "rejected") | undefined;
14168
- sortBy?: ("popularity" | "name" | "createdAt" | "updatedAt" | "installCount") | undefined;
14169
- direction?: ("asc" | "desc") | undefined;
14243
+ verificationStatus?: "unapproved" | "pending" | "approved" | "rejected" | undefined;
14244
+ sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount" | undefined;
14245
+ direction?: "asc" | "desc" | undefined;
14170
14246
  dev?: boolean | undefined;
14171
- visibility?: ("public" | "private") | undefined;
14247
+ visibility?: "public" | "private" | undefined;
14172
14248
  }) => AsyncCollection<{
14173
14249
  id: string;
14174
14250
  name: string;
@@ -14179,6 +14255,7 @@ declare class Client$6 extends Client$7 {
14179
14255
  description: string;
14180
14256
  iconUrl: string;
14181
14257
  public: boolean;
14258
+ visibility: "public" | "private" | "unlisted";
14182
14259
  verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
14183
14260
  matchedOn?: {
14184
14261
  name?: boolean;
@@ -15338,8 +15415,8 @@ declare class Client$4 extends Client$5 implements IClient$2 {
15338
15415
  get list(): {
15339
15416
  files: (props: {
15340
15417
  tags?: any;
15341
- sortField?: ("key" | "size" | "createdAt" | "updatedAt" | "status") | undefined;
15342
- sortDirection?: ("asc" | "desc") | undefined;
15418
+ sortField?: "key" | "size" | "createdAt" | "updatedAt" | "status" | undefined;
15419
+ sortDirection?: "asc" | "desc" | undefined;
15343
15420
  ids?: string[] | undefined;
15344
15421
  }) => AsyncCollection<{
15345
15422
  id: string;
@@ -20040,9 +20117,14 @@ interface ListPublicIntegrationsResponse {
20040
20117
  */
20041
20118
  iconUrl: string;
20042
20119
  /**
20043
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
20120
+ * @deprecated
20121
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
20044
20122
  */
20045
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";
20046
20128
  /**
20047
20129
  * Status of the integration version verification
20048
20130
  */
@@ -20473,9 +20555,14 @@ interface GetPublicIntegrationByIdResponse {
20473
20555
  */
20474
20556
  readmeUrl: string;
20475
20557
  /**
20476
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
20558
+ * @deprecated
20559
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
20477
20560
  */
20478
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";
20479
20566
  /**
20480
20567
  * Status of the integration version verification
20481
20568
  */
@@ -20880,9 +20967,14 @@ interface GetPublicIntegrationResponse {
20880
20967
  */
20881
20968
  readmeUrl: string;
20882
20969
  /**
20883
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
20970
+ * @deprecated
20971
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
20884
20972
  */
20885
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";
20886
20978
  /**
20887
20979
  * Status of the integration version verification
20888
20980
  */
@@ -22297,9 +22389,14 @@ interface CreateBotResponse {
22297
22389
  */
22298
22390
  iconUrl: string;
22299
22391
  /**
22300
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
22392
+ * @deprecated
22393
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
22301
22394
  */
22302
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";
22303
22400
  /**
22304
22401
  * Status of the integration version verification
22305
22402
  */
@@ -22923,9 +23020,14 @@ interface UpdateBotResponse {
22923
23020
  */
22924
23021
  iconUrl: string;
22925
23022
  /**
22926
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
23023
+ * @deprecated
23024
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
22927
23025
  */
22928
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";
22929
23031
  /**
22930
23032
  * Status of the integration version verification
22931
23033
  */
@@ -23381,9 +23483,14 @@ interface GetBotResponse {
23381
23483
  */
23382
23484
  iconUrl: string;
23383
23485
  /**
23384
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
23486
+ * @deprecated
23487
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
23385
23488
  */
23386
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";
23387
23494
  /**
23388
23495
  * Status of the integration version verification
23389
23496
  */
@@ -25270,9 +25377,14 @@ interface CreateIntegrationRequestBody {
25270
25377
  */
25271
25378
  description?: string;
25272
25379
  /**
25273
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
25380
+ * @deprecated
25381
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
25274
25382
  */
25275
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";
25276
25388
  layers?: string[];
25277
25389
  }
25278
25390
  type CreateIntegrationInput = CreateIntegrationRequestBody & CreateIntegrationRequestHeaders & CreateIntegrationRequestQuery & CreateIntegrationRequestParams;
@@ -25649,9 +25761,14 @@ interface CreateIntegrationResponse {
25649
25761
  */
25650
25762
  readmeUrl: string;
25651
25763
  /**
25652
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
25764
+ * @deprecated
25765
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
25653
25766
  */
25654
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";
25655
25772
  /**
25656
25773
  * Status of the integration version verification
25657
25774
  */
@@ -25998,9 +26115,14 @@ interface ValidateIntegrationCreationRequestBody {
25998
26115
  */
25999
26116
  description?: string;
26000
26117
  /**
26001
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
26118
+ * @deprecated
26119
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
26002
26120
  */
26003
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";
26004
26126
  layers?: string[];
26005
26127
  }
26006
26128
  type ValidateIntegrationCreationInput = ValidateIntegrationCreationRequestBody & ValidateIntegrationCreationRequestHeaders & ValidateIntegrationCreationRequestQuery & ValidateIntegrationCreationRequestParams;
@@ -26329,9 +26451,14 @@ interface UpdateIntegrationRequestBody {
26329
26451
  */
26330
26452
  url?: string | null;
26331
26453
  /**
26332
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
26454
+ * @deprecated
26455
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
26333
26456
  */
26334
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";
26335
26462
  layers?: string[];
26336
26463
  }
26337
26464
  type UpdateIntegrationInput = UpdateIntegrationRequestBody & UpdateIntegrationRequestHeaders & UpdateIntegrationRequestQuery & UpdateIntegrationRequestParams;
@@ -26708,9 +26835,14 @@ interface UpdateIntegrationResponse {
26708
26835
  */
26709
26836
  readmeUrl: string;
26710
26837
  /**
26711
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
26838
+ * @deprecated
26839
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
26712
26840
  */
26713
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";
26714
26846
  /**
26715
26847
  * Status of the integration version verification
26716
26848
  */
@@ -27044,9 +27176,14 @@ interface ValidateIntegrationUpdateRequestBody {
27044
27176
  */
27045
27177
  url?: string | null;
27046
27178
  /**
27047
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
27179
+ * @deprecated
27180
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
27048
27181
  */
27049
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";
27050
27187
  layers?: string[];
27051
27188
  }
27052
27189
  type ValidateIntegrationUpdateInput = ValidateIntegrationUpdateRequestBody & ValidateIntegrationUpdateRequestHeaders & ValidateIntegrationUpdateRequestQuery & ValidateIntegrationUpdateRequestParams;
@@ -27110,9 +27247,14 @@ interface ListIntegrationsResponse {
27110
27247
  */
27111
27248
  iconUrl: string;
27112
27249
  /**
27113
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
27250
+ * @deprecated
27251
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
27114
27252
  */
27115
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";
27116
27258
  /**
27117
27259
  * Status of the integration version verification
27118
27260
  */
@@ -27539,9 +27681,14 @@ interface GetIntegrationResponse {
27539
27681
  */
27540
27682
  readmeUrl: string;
27541
27683
  /**
27542
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
27684
+ * @deprecated
27685
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
27543
27686
  */
27544
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";
27545
27692
  /**
27546
27693
  * Status of the integration version verification
27547
27694
  */
@@ -27966,9 +28113,14 @@ interface GetIntegrationByNameResponse {
27966
28113
  */
27967
28114
  readmeUrl: string;
27968
28115
  /**
27969
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
28116
+ * @deprecated
28117
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
27970
28118
  */
27971
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";
27972
28124
  /**
27973
28125
  * Status of the integration version verification
27974
28126
  */
@@ -33462,9 +33614,14 @@ interface Bot {
33462
33614
  */
33463
33615
  iconUrl: string;
33464
33616
  /**
33465
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
33617
+ * @deprecated
33618
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
33466
33619
  */
33467
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";
33468
33625
  /**
33469
33626
  * Status of the integration version verification
33470
33627
  */
@@ -34145,9 +34302,14 @@ interface Integration {
34145
34302
  */
34146
34303
  readmeUrl: string;
34147
34304
  /**
34148
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
34305
+ * @deprecated
34306
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
34149
34307
  */
34150
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";
34151
34313
  /**
34152
34314
  * Status of the integration version verification
34153
34315
  */
@@ -35460,8 +35622,8 @@ declare class Client extends Client$1 implements IClient {
35460
35622
  } | undefined;
35461
35623
  channel?: string | undefined;
35462
35624
  integrationName?: string | undefined;
35463
- sortField?: ("createdAt" | "updatedAt") | undefined;
35464
- sortDirection?: ("asc" | "desc") | undefined;
35625
+ sortField?: "createdAt" | "updatedAt" | undefined;
35626
+ sortDirection?: "asc" | "desc" | undefined;
35465
35627
  participantIds?: string[] | undefined;
35466
35628
  }) => AsyncCollection<{
35467
35629
  id: string;
@@ -35492,7 +35654,7 @@ declare class Client extends Client$1 implements IClient {
35492
35654
  userId?: string | undefined;
35493
35655
  conversationId?: string | undefined;
35494
35656
  messageId?: string | undefined;
35495
- status?: ("pending" | "ignored" | "processed" | "failed" | "scheduled") | undefined;
35657
+ status?: "pending" | "ignored" | "processed" | "failed" | "scheduled" | undefined;
35496
35658
  }) => AsyncCollection<{
35497
35659
  id: string;
35498
35660
  createdAt: string;
@@ -35578,9 +35740,9 @@ declare class Client extends Client$1 implements IClient {
35578
35740
  interfaceId?: string | undefined;
35579
35741
  interfaceName?: string | undefined;
35580
35742
  installedByBotId?: string | undefined;
35581
- verificationStatus?: ("unapproved" | "pending" | "approved" | "rejected") | undefined;
35582
- sortBy?: ("popularity" | "name" | "createdAt" | "updatedAt" | "installCount") | undefined;
35583
- direction?: ("asc" | "desc") | undefined;
35743
+ verificationStatus?: "unapproved" | "pending" | "approved" | "rejected" | undefined;
35744
+ sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount" | undefined;
35745
+ direction?: "asc" | "desc" | undefined;
35584
35746
  }) => AsyncCollection<{
35585
35747
  id: string;
35586
35748
  name: string;
@@ -35591,6 +35753,7 @@ declare class Client extends Client$1 implements IClient {
35591
35753
  description: string;
35592
35754
  iconUrl: string;
35593
35755
  public: boolean;
35756
+ visibility: "public" | "private" | "unlisted";
35594
35757
  verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
35595
35758
  ownerWorkspace: {
35596
35759
  id: string;
@@ -35613,8 +35776,8 @@ declare class Client extends Client$1 implements IClient {
35613
35776
  tags?: {
35614
35777
  [x: string]: string;
35615
35778
  } | undefined;
35616
- sortField?: ("createdAt" | "updatedAt") | undefined;
35617
- sortDirection?: ("asc" | "desc") | undefined;
35779
+ sortField?: "createdAt" | "updatedAt" | undefined;
35780
+ sortDirection?: "asc" | "desc" | undefined;
35618
35781
  dev?: boolean | undefined;
35619
35782
  }) => AsyncCollection<{
35620
35783
  id: string;
@@ -35661,11 +35824,11 @@ declare class Client extends Client$1 implements IClient {
35661
35824
  interfaceId?: string | undefined;
35662
35825
  interfaceName?: string | undefined;
35663
35826
  installedByBotId?: string | undefined;
35664
- verificationStatus?: ("unapproved" | "pending" | "approved" | "rejected") | undefined;
35665
- sortBy?: ("popularity" | "name" | "createdAt" | "updatedAt" | "installCount") | undefined;
35666
- direction?: ("asc" | "desc") | undefined;
35827
+ verificationStatus?: "unapproved" | "pending" | "approved" | "rejected" | undefined;
35828
+ sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount" | undefined;
35829
+ direction?: "asc" | "desc" | undefined;
35667
35830
  dev?: boolean | undefined;
35668
- visibility?: ("public" | "private") | undefined;
35831
+ visibility?: "public" | "private" | undefined;
35669
35832
  }) => AsyncCollection<{
35670
35833
  id: string;
35671
35834
  name: string;
@@ -35676,6 +35839,7 @@ declare class Client extends Client$1 implements IClient {
35676
35839
  description: string;
35677
35840
  iconUrl: string;
35678
35841
  public: boolean;
35842
+ visibility: "public" | "private" | "unlisted";
35679
35843
  verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
35680
35844
  matchedOn?: {
35681
35845
  name?: boolean;
@@ -35765,8 +35929,8 @@ declare class Client extends Client$1 implements IClient {
35765
35929
  }>;
35766
35930
  files: (props: {
35767
35931
  tags?: any;
35768
- sortField?: ("key" | "size" | "createdAt" | "updatedAt" | "status") | undefined;
35769
- sortDirection?: ("asc" | "desc") | undefined;
35932
+ sortField?: "key" | "size" | "createdAt" | "updatedAt" | "status" | undefined;
35933
+ sortDirection?: "asc" | "desc" | undefined;
35770
35934
  ids?: string[] | undefined;
35771
35935
  }) => AsyncCollection<{
35772
35936
  id: string;