@botpress/client 1.15.2 → 1.16.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 +4 -4
- package/dist/index.cjs.map +4 -4
- package/dist/index.d.ts +143 -0
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -6938,6 +6938,37 @@ interface GetBotVersionResponse$1 {
|
|
|
6938
6938
|
url: string;
|
|
6939
6939
|
}
|
|
6940
6940
|
|
|
6941
|
+
interface GetBotJsonRequestHeaders$1 {
|
|
6942
|
+
}
|
|
6943
|
+
interface GetBotJsonRequestQuery$1 {
|
|
6944
|
+
}
|
|
6945
|
+
interface GetBotJsonRequestParams$1 {
|
|
6946
|
+
id: string;
|
|
6947
|
+
}
|
|
6948
|
+
interface GetBotJsonRequestBody$1 {
|
|
6949
|
+
}
|
|
6950
|
+
type GetBotJsonInput$1 = GetBotJsonRequestBody$1 & GetBotJsonRequestHeaders$1 & GetBotJsonRequestQuery$1 & GetBotJsonRequestParams$1;
|
|
6951
|
+
interface GetBotJsonResponse$1 {
|
|
6952
|
+
[k: string]: any;
|
|
6953
|
+
}
|
|
6954
|
+
|
|
6955
|
+
interface PublishFromBotJsonRequestHeaders$1 {
|
|
6956
|
+
}
|
|
6957
|
+
interface PublishFromBotJsonRequestQuery$1 {
|
|
6958
|
+
}
|
|
6959
|
+
interface PublishFromBotJsonRequestParams$1 {
|
|
6960
|
+
id: string;
|
|
6961
|
+
}
|
|
6962
|
+
interface PublishFromBotJsonRequestBody$1 {
|
|
6963
|
+
botJson: {
|
|
6964
|
+
[k: string]: any;
|
|
6965
|
+
};
|
|
6966
|
+
}
|
|
6967
|
+
type PublishFromBotJsonInput$1 = PublishFromBotJsonRequestBody$1 & PublishFromBotJsonRequestHeaders$1 & PublishFromBotJsonRequestQuery$1 & PublishFromBotJsonRequestParams$1;
|
|
6968
|
+
interface PublishFromBotJsonResponse$1 {
|
|
6969
|
+
[k: string]: any;
|
|
6970
|
+
}
|
|
6971
|
+
|
|
6941
6972
|
interface CreateBotVersionRequestHeaders$1 {
|
|
6942
6973
|
}
|
|
6943
6974
|
interface CreateBotVersionRequestQuery$1 {
|
|
@@ -8052,6 +8083,10 @@ interface CreateIntegrationRequestBody$1 {
|
|
|
8052
8083
|
};
|
|
8053
8084
|
};
|
|
8054
8085
|
};
|
|
8086
|
+
/**
|
|
8087
|
+
* **EXPERIMENTAL** Whether the integration should be notified when the message status changes
|
|
8088
|
+
*/
|
|
8089
|
+
messageStatusChangeNotificationsEnabled?: boolean;
|
|
8055
8090
|
/**
|
|
8056
8091
|
* Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
8057
8092
|
*/
|
|
@@ -8768,6 +8803,10 @@ interface ValidateIntegrationCreationRequestBody$1 {
|
|
|
8768
8803
|
};
|
|
8769
8804
|
};
|
|
8770
8805
|
};
|
|
8806
|
+
/**
|
|
8807
|
+
* **EXPERIMENTAL** Whether the integration should be notified when the message status changes
|
|
8808
|
+
*/
|
|
8809
|
+
messageStatusChangeNotificationsEnabled?: boolean;
|
|
8771
8810
|
/**
|
|
8772
8811
|
* Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
8773
8812
|
*/
|
|
@@ -8868,6 +8907,10 @@ interface UpdateIntegrationRequestBody$1 {
|
|
|
8868
8907
|
};
|
|
8869
8908
|
} | null;
|
|
8870
8909
|
};
|
|
8910
|
+
/**
|
|
8911
|
+
* **EXPERIMENTAL** Whether the integration should be notified when the message status changes
|
|
8912
|
+
*/
|
|
8913
|
+
messageStatusChangeNotificationsEnabled?: boolean;
|
|
8871
8914
|
channels?: {
|
|
8872
8915
|
[k: string]: {
|
|
8873
8916
|
/**
|
|
@@ -9567,6 +9610,10 @@ interface ValidateIntegrationUpdateRequestBody$1 {
|
|
|
9567
9610
|
};
|
|
9568
9611
|
} | null;
|
|
9569
9612
|
};
|
|
9613
|
+
/**
|
|
9614
|
+
* **EXPERIMENTAL** Whether the integration should be notified when the message status changes
|
|
9615
|
+
*/
|
|
9616
|
+
messageStatusChangeNotificationsEnabled?: boolean;
|
|
9570
9617
|
channels?: {
|
|
9571
9618
|
[k: string]: {
|
|
9572
9619
|
/**
|
|
@@ -13343,6 +13390,8 @@ declare class Client$7 {
|
|
|
13343
13390
|
readonly listBotIssueEvents: (input: ListBotIssueEventsInput$1) => Promise<ListBotIssueEventsResponse$1>;
|
|
13344
13391
|
readonly listBotVersions: (input: ListBotVersionsInput$1) => Promise<ListBotVersionsResponse$1>;
|
|
13345
13392
|
readonly getBotVersion: (input: GetBotVersionInput$1) => Promise<GetBotVersionResponse$1>;
|
|
13393
|
+
readonly getBotJson: (input: GetBotJsonInput$1) => Promise<GetBotJsonResponse$1>;
|
|
13394
|
+
readonly publishFromBotJson: (input: PublishFromBotJsonInput$1) => Promise<PublishFromBotJsonResponse$1>;
|
|
13346
13395
|
readonly createBotVersion: (input: CreateBotVersionInput$1) => Promise<CreateBotVersionResponse$1>;
|
|
13347
13396
|
readonly deployBotVersion: (input: DeployBotVersionInput$1) => Promise<DeployBotVersionResponse$1>;
|
|
13348
13397
|
readonly createIntegrationShareableId: (input: CreateIntegrationShareableIdInput$1) => Promise<CreateIntegrationShareableIdResponse$1>;
|
|
@@ -23105,6 +23154,37 @@ interface GetBotVersionResponse {
|
|
|
23105
23154
|
url: string;
|
|
23106
23155
|
}
|
|
23107
23156
|
|
|
23157
|
+
interface GetBotJsonRequestHeaders {
|
|
23158
|
+
}
|
|
23159
|
+
interface GetBotJsonRequestQuery {
|
|
23160
|
+
}
|
|
23161
|
+
interface GetBotJsonRequestParams {
|
|
23162
|
+
id: string;
|
|
23163
|
+
}
|
|
23164
|
+
interface GetBotJsonRequestBody {
|
|
23165
|
+
}
|
|
23166
|
+
type GetBotJsonInput = GetBotJsonRequestBody & GetBotJsonRequestHeaders & GetBotJsonRequestQuery & GetBotJsonRequestParams;
|
|
23167
|
+
interface GetBotJsonResponse {
|
|
23168
|
+
[k: string]: any;
|
|
23169
|
+
}
|
|
23170
|
+
|
|
23171
|
+
interface PublishFromBotJsonRequestHeaders {
|
|
23172
|
+
}
|
|
23173
|
+
interface PublishFromBotJsonRequestQuery {
|
|
23174
|
+
}
|
|
23175
|
+
interface PublishFromBotJsonRequestParams {
|
|
23176
|
+
id: string;
|
|
23177
|
+
}
|
|
23178
|
+
interface PublishFromBotJsonRequestBody {
|
|
23179
|
+
botJson: {
|
|
23180
|
+
[k: string]: any;
|
|
23181
|
+
};
|
|
23182
|
+
}
|
|
23183
|
+
type PublishFromBotJsonInput = PublishFromBotJsonRequestBody & PublishFromBotJsonRequestHeaders & PublishFromBotJsonRequestQuery & PublishFromBotJsonRequestParams;
|
|
23184
|
+
interface PublishFromBotJsonResponse {
|
|
23185
|
+
[k: string]: any;
|
|
23186
|
+
}
|
|
23187
|
+
|
|
23108
23188
|
interface CreateBotVersionRequestHeaders {
|
|
23109
23189
|
}
|
|
23110
23190
|
interface CreateBotVersionRequestQuery {
|
|
@@ -24220,6 +24300,10 @@ interface CreateIntegrationRequestBody {
|
|
|
24220
24300
|
};
|
|
24221
24301
|
};
|
|
24222
24302
|
};
|
|
24303
|
+
/**
|
|
24304
|
+
* **EXPERIMENTAL** Whether the integration should be notified when the message status changes
|
|
24305
|
+
*/
|
|
24306
|
+
messageStatusChangeNotificationsEnabled?: boolean;
|
|
24223
24307
|
/**
|
|
24224
24308
|
* Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
24225
24309
|
*/
|
|
@@ -24936,6 +25020,10 @@ interface ValidateIntegrationCreationRequestBody {
|
|
|
24936
25020
|
};
|
|
24937
25021
|
};
|
|
24938
25022
|
};
|
|
25023
|
+
/**
|
|
25024
|
+
* **EXPERIMENTAL** Whether the integration should be notified when the message status changes
|
|
25025
|
+
*/
|
|
25026
|
+
messageStatusChangeNotificationsEnabled?: boolean;
|
|
24939
25027
|
/**
|
|
24940
25028
|
* Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
24941
25029
|
*/
|
|
@@ -25036,6 +25124,10 @@ interface UpdateIntegrationRequestBody {
|
|
|
25036
25124
|
};
|
|
25037
25125
|
} | null;
|
|
25038
25126
|
};
|
|
25127
|
+
/**
|
|
25128
|
+
* **EXPERIMENTAL** Whether the integration should be notified when the message status changes
|
|
25129
|
+
*/
|
|
25130
|
+
messageStatusChangeNotificationsEnabled?: boolean;
|
|
25039
25131
|
channels?: {
|
|
25040
25132
|
[k: string]: {
|
|
25041
25133
|
/**
|
|
@@ -25735,6 +25827,10 @@ interface ValidateIntegrationUpdateRequestBody {
|
|
|
25735
25827
|
};
|
|
25736
25828
|
} | null;
|
|
25737
25829
|
};
|
|
25830
|
+
/**
|
|
25831
|
+
* **EXPERIMENTAL** Whether the integration should be notified when the message status changes
|
|
25832
|
+
*/
|
|
25833
|
+
messageStatusChangeNotificationsEnabled?: boolean;
|
|
25738
25834
|
channels?: {
|
|
25739
25835
|
[k: string]: {
|
|
25740
25836
|
/**
|
|
@@ -34031,6 +34127,8 @@ declare class Client$1 {
|
|
|
34031
34127
|
readonly listBotIssueEvents: (input: ListBotIssueEventsInput) => Promise<ListBotIssueEventsResponse>;
|
|
34032
34128
|
readonly listBotVersions: (input: ListBotVersionsInput) => Promise<ListBotVersionsResponse>;
|
|
34033
34129
|
readonly getBotVersion: (input: GetBotVersionInput) => Promise<GetBotVersionResponse>;
|
|
34130
|
+
readonly getBotJson: (input: GetBotJsonInput) => Promise<GetBotJsonResponse>;
|
|
34131
|
+
readonly publishFromBotJson: (input: PublishFromBotJsonInput) => Promise<PublishFromBotJsonResponse>;
|
|
34034
34132
|
readonly createBotVersion: (input: CreateBotVersionInput) => Promise<CreateBotVersionResponse>;
|
|
34035
34133
|
readonly deployBotVersion: (input: DeployBotVersionInput) => Promise<DeployBotVersionResponse>;
|
|
34036
34134
|
readonly createIntegrationShareableId: (input: CreateIntegrationShareableIdInput) => Promise<CreateIntegrationShareableIdResponse>;
|
|
@@ -34398,6 +34496,51 @@ declare class Client extends Client$1 implements IClient {
|
|
|
34398
34496
|
readmeUrl: string;
|
|
34399
34497
|
public: boolean;
|
|
34400
34498
|
}>;
|
|
34499
|
+
publicInterfaces: (props: {
|
|
34500
|
+
name?: string | undefined;
|
|
34501
|
+
version?: string | undefined;
|
|
34502
|
+
}) => AsyncCollection<{
|
|
34503
|
+
id: string;
|
|
34504
|
+
createdAt: string;
|
|
34505
|
+
updatedAt: string;
|
|
34506
|
+
name: string;
|
|
34507
|
+
version: string;
|
|
34508
|
+
title: string;
|
|
34509
|
+
description: string;
|
|
34510
|
+
iconUrl: string;
|
|
34511
|
+
readmeUrl: string;
|
|
34512
|
+
public: boolean;
|
|
34513
|
+
}>;
|
|
34514
|
+
plugins: (props: {
|
|
34515
|
+
name?: string | undefined;
|
|
34516
|
+
version?: string | undefined;
|
|
34517
|
+
}) => AsyncCollection<{
|
|
34518
|
+
id: string;
|
|
34519
|
+
createdAt: string;
|
|
34520
|
+
updatedAt: string;
|
|
34521
|
+
name: string;
|
|
34522
|
+
version: string;
|
|
34523
|
+
title: string;
|
|
34524
|
+
description: string;
|
|
34525
|
+
iconUrl: string;
|
|
34526
|
+
readmeUrl: string;
|
|
34527
|
+
public: boolean;
|
|
34528
|
+
}>;
|
|
34529
|
+
publicPlugins: (props: {
|
|
34530
|
+
name?: string | undefined;
|
|
34531
|
+
version?: string | undefined;
|
|
34532
|
+
}) => AsyncCollection<{
|
|
34533
|
+
id: string;
|
|
34534
|
+
createdAt: string;
|
|
34535
|
+
updatedAt: string;
|
|
34536
|
+
name: string;
|
|
34537
|
+
version: string;
|
|
34538
|
+
title: string;
|
|
34539
|
+
description: string;
|
|
34540
|
+
iconUrl: string;
|
|
34541
|
+
readmeUrl: string;
|
|
34542
|
+
public: boolean;
|
|
34543
|
+
}>;
|
|
34401
34544
|
activities: (props: {
|
|
34402
34545
|
botId: string;
|
|
34403
34546
|
taskId: string;
|