@botpress/client 0.40.0 → 0.41.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/.turbo/turbo-build.log +7 -7
- package/.turbo/turbo-generate.log +1 -1
- package/dist/bundle.cjs +13 -13
- 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 +134 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +4 -4
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1721,7 +1721,11 @@ interface ConfigureIntegrationRequestBody {
|
|
|
1721
1721
|
/**
|
|
1722
1722
|
* Unique identifier of the integration that was installed on the bot
|
|
1723
1723
|
*/
|
|
1724
|
-
identifier
|
|
1724
|
+
identifier?: string;
|
|
1725
|
+
/**
|
|
1726
|
+
* Recurring schedule on which `register()` will be called on the integration
|
|
1727
|
+
*/
|
|
1728
|
+
scheduleRegisterCall?: "hourly" | "daily" | "weekly" | "bi-weekly" | "monthly" | "bi-monthly" | "quarterly" | "yearly";
|
|
1725
1729
|
}
|
|
1726
1730
|
type ConfigureIntegrationInput = ConfigureIntegrationRequestBody & ConfigureIntegrationRequestHeaders & ConfigureIntegrationRequestQuery & ConfigureIntegrationRequestParams;
|
|
1727
1731
|
interface ConfigureIntegrationResponse {
|
|
@@ -2658,6 +2662,30 @@ interface GetOrCreateWorkflowResponse {
|
|
|
2658
2662
|
};
|
|
2659
2663
|
}
|
|
2660
2664
|
|
|
2665
|
+
interface ListTagValuesRequestHeaders {
|
|
2666
|
+
}
|
|
2667
|
+
interface ListTagValuesRequestQuery {
|
|
2668
|
+
nextToken?: string;
|
|
2669
|
+
type: "user" | "conversation" | "message";
|
|
2670
|
+
}
|
|
2671
|
+
interface ListTagValuesRequestParams {
|
|
2672
|
+
key: string;
|
|
2673
|
+
}
|
|
2674
|
+
interface ListTagValuesRequestBody {
|
|
2675
|
+
}
|
|
2676
|
+
type ListTagValuesInput = ListTagValuesRequestBody & ListTagValuesRequestHeaders & ListTagValuesRequestQuery & ListTagValuesRequestParams;
|
|
2677
|
+
interface ListTagValuesResponse {
|
|
2678
|
+
tags: {
|
|
2679
|
+
value: string;
|
|
2680
|
+
}[];
|
|
2681
|
+
meta: {
|
|
2682
|
+
/**
|
|
2683
|
+
* The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint.
|
|
2684
|
+
*/
|
|
2685
|
+
nextToken?: string;
|
|
2686
|
+
};
|
|
2687
|
+
}
|
|
2688
|
+
|
|
2661
2689
|
interface TrackAnalyticsRequestHeaders {
|
|
2662
2690
|
}
|
|
2663
2691
|
interface TrackAnalyticsRequestQuery {
|
|
@@ -9008,6 +9036,18 @@ interface CreatePluginRequestBody {
|
|
|
9008
9036
|
};
|
|
9009
9037
|
};
|
|
9010
9038
|
code: string;
|
|
9039
|
+
dependencies?: {
|
|
9040
|
+
interfaces?: {
|
|
9041
|
+
[k: string]: {
|
|
9042
|
+
id: string;
|
|
9043
|
+
};
|
|
9044
|
+
};
|
|
9045
|
+
integrations?: {
|
|
9046
|
+
[k: string]: {
|
|
9047
|
+
id: string;
|
|
9048
|
+
};
|
|
9049
|
+
};
|
|
9050
|
+
};
|
|
9011
9051
|
}
|
|
9012
9052
|
type CreatePluginInput = CreatePluginRequestBody & CreatePluginRequestHeaders & CreatePluginRequestQuery & CreatePluginRequestParams;
|
|
9013
9053
|
interface CreatePluginResponse {
|
|
@@ -9117,6 +9157,22 @@ interface CreatePluginResponse {
|
|
|
9117
9157
|
};
|
|
9118
9158
|
};
|
|
9119
9159
|
};
|
|
9160
|
+
dependencies: {
|
|
9161
|
+
interfaces: {
|
|
9162
|
+
[k: string]: {
|
|
9163
|
+
id: string;
|
|
9164
|
+
name: string;
|
|
9165
|
+
version: string;
|
|
9166
|
+
};
|
|
9167
|
+
};
|
|
9168
|
+
integrations: {
|
|
9169
|
+
[k: string]: {
|
|
9170
|
+
id: string;
|
|
9171
|
+
name: string;
|
|
9172
|
+
version: string;
|
|
9173
|
+
};
|
|
9174
|
+
};
|
|
9175
|
+
};
|
|
9120
9176
|
/**
|
|
9121
9177
|
* User object configuration
|
|
9122
9178
|
*/
|
|
@@ -9258,6 +9314,22 @@ interface GetPluginResponse {
|
|
|
9258
9314
|
};
|
|
9259
9315
|
};
|
|
9260
9316
|
};
|
|
9317
|
+
dependencies: {
|
|
9318
|
+
interfaces: {
|
|
9319
|
+
[k: string]: {
|
|
9320
|
+
id: string;
|
|
9321
|
+
name: string;
|
|
9322
|
+
version: string;
|
|
9323
|
+
};
|
|
9324
|
+
};
|
|
9325
|
+
integrations: {
|
|
9326
|
+
[k: string]: {
|
|
9327
|
+
id: string;
|
|
9328
|
+
name: string;
|
|
9329
|
+
version: string;
|
|
9330
|
+
};
|
|
9331
|
+
};
|
|
9332
|
+
};
|
|
9261
9333
|
/**
|
|
9262
9334
|
* User object configuration
|
|
9263
9335
|
*/
|
|
@@ -9400,6 +9472,22 @@ interface GetPluginByNameResponse {
|
|
|
9400
9472
|
};
|
|
9401
9473
|
};
|
|
9402
9474
|
};
|
|
9475
|
+
dependencies: {
|
|
9476
|
+
interfaces: {
|
|
9477
|
+
[k: string]: {
|
|
9478
|
+
id: string;
|
|
9479
|
+
name: string;
|
|
9480
|
+
version: string;
|
|
9481
|
+
};
|
|
9482
|
+
};
|
|
9483
|
+
integrations: {
|
|
9484
|
+
[k: string]: {
|
|
9485
|
+
id: string;
|
|
9486
|
+
name: string;
|
|
9487
|
+
version: string;
|
|
9488
|
+
};
|
|
9489
|
+
};
|
|
9490
|
+
};
|
|
9403
9491
|
/**
|
|
9404
9492
|
* User object configuration
|
|
9405
9493
|
*/
|
|
@@ -9535,6 +9623,18 @@ interface UpdatePluginRequestBody {
|
|
|
9535
9623
|
};
|
|
9536
9624
|
} | null;
|
|
9537
9625
|
code?: string;
|
|
9626
|
+
dependencies?: {
|
|
9627
|
+
interfaces?: {
|
|
9628
|
+
[k: string]: {
|
|
9629
|
+
id: string;
|
|
9630
|
+
} | null;
|
|
9631
|
+
};
|
|
9632
|
+
integrations?: {
|
|
9633
|
+
[k: string]: {
|
|
9634
|
+
id: string;
|
|
9635
|
+
} | null;
|
|
9636
|
+
};
|
|
9637
|
+
};
|
|
9538
9638
|
}
|
|
9539
9639
|
type UpdatePluginInput = UpdatePluginRequestBody & UpdatePluginRequestHeaders & UpdatePluginRequestQuery & UpdatePluginRequestParams;
|
|
9540
9640
|
interface UpdatePluginResponse {
|
|
@@ -9644,6 +9744,22 @@ interface UpdatePluginResponse {
|
|
|
9644
9744
|
};
|
|
9645
9745
|
};
|
|
9646
9746
|
};
|
|
9747
|
+
dependencies: {
|
|
9748
|
+
interfaces: {
|
|
9749
|
+
[k: string]: {
|
|
9750
|
+
id: string;
|
|
9751
|
+
name: string;
|
|
9752
|
+
version: string;
|
|
9753
|
+
};
|
|
9754
|
+
};
|
|
9755
|
+
integrations: {
|
|
9756
|
+
[k: string]: {
|
|
9757
|
+
id: string;
|
|
9758
|
+
name: string;
|
|
9759
|
+
version: string;
|
|
9760
|
+
};
|
|
9761
|
+
};
|
|
9762
|
+
};
|
|
9647
9763
|
/**
|
|
9648
9764
|
* User object configuration
|
|
9649
9765
|
*/
|
|
@@ -13094,6 +13210,22 @@ interface Plugin {
|
|
|
13094
13210
|
};
|
|
13095
13211
|
};
|
|
13096
13212
|
};
|
|
13213
|
+
dependencies: {
|
|
13214
|
+
interfaces: {
|
|
13215
|
+
[k: string]: {
|
|
13216
|
+
id: string;
|
|
13217
|
+
name: string;
|
|
13218
|
+
version: string;
|
|
13219
|
+
};
|
|
13220
|
+
};
|
|
13221
|
+
integrations: {
|
|
13222
|
+
[k: string]: {
|
|
13223
|
+
id: string;
|
|
13224
|
+
name: string;
|
|
13225
|
+
version: string;
|
|
13226
|
+
};
|
|
13227
|
+
};
|
|
13228
|
+
};
|
|
13097
13229
|
/**
|
|
13098
13230
|
* User object configuration
|
|
13099
13231
|
*/
|
|
@@ -13803,6 +13935,7 @@ declare class Client$1 {
|
|
|
13803
13935
|
readonly deleteWorkflow: (input: DeleteWorkflowInput) => Promise<DeleteWorkflowResponse>;
|
|
13804
13936
|
readonly listWorkflows: (input: ListWorkflowsInput) => Promise<ListWorkflowsResponse>;
|
|
13805
13937
|
readonly getOrCreateWorkflow: (input: GetOrCreateWorkflowInput) => Promise<GetOrCreateWorkflowResponse>;
|
|
13938
|
+
readonly listTagValues: (input: ListTagValuesInput) => Promise<ListTagValuesResponse>;
|
|
13806
13939
|
readonly trackAnalytics: (input: TrackAnalyticsInput) => Promise<TrackAnalyticsResponse>;
|
|
13807
13940
|
readonly runVrl: (input: RunVrlInput) => Promise<RunVrlResponse>;
|
|
13808
13941
|
readonly getAccount: (input: GetAccountInput) => Promise<GetAccountResponse>;
|