@botpress/cognitive 0.1.49 → 0.1.50
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 +5 -5
- package/dist/index.d.ts +67 -1
- package/package.json +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
|
|
2
|
-
> @botpress/cognitive@0.1.
|
|
2
|
+
> @botpress/cognitive@0.1.50 build /home/runner/work/botpress/botpress/packages/cognitive
|
|
3
3
|
> pnpm build:type && pnpm build:neutral && size-limit
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @botpress/cognitive@0.1.
|
|
6
|
+
> @botpress/cognitive@0.1.50 build:type /home/runner/work/botpress/botpress/packages/cognitive
|
|
7
7
|
> tsup --tsconfig tsconfig.build.json ./src/index.ts --dts-resolve --dts-only --clean
|
|
8
8
|
|
|
9
9
|
CLI Building entry: ./src/index.ts
|
|
10
10
|
CLI Using tsconfig: tsconfig.build.json
|
|
11
11
|
CLI tsup v8.0.2
|
|
12
12
|
DTS Build start
|
|
13
|
-
DTS ⚡️ Build success in
|
|
14
|
-
DTS dist/index.d.ts
|
|
13
|
+
DTS ⚡️ Build success in 9361ms
|
|
14
|
+
DTS dist/index.d.ts 631.36 KB
|
|
15
15
|
|
|
16
|
-
> @botpress/cognitive@0.1.
|
|
16
|
+
> @botpress/cognitive@0.1.50 build:neutral /home/runner/work/botpress/botpress/packages/cognitive
|
|
17
17
|
> ts-node -T ./build.ts --neutral
|
|
18
18
|
|
|
19
19
|
Done
|
package/dist/index.d.ts
CHANGED
|
@@ -3977,6 +3977,10 @@ interface GetOrCreateWorkflowRequestBody {
|
|
|
3977
3977
|
* 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.
|
|
3978
3978
|
*/
|
|
3979
3979
|
discriminateByTags?: string[];
|
|
3980
|
+
/**
|
|
3981
|
+
* When provided, will only match workflows whose status corresponds to the status group.
|
|
3982
|
+
*/
|
|
3983
|
+
discriminateByStatusGroup?: "active" | "finished";
|
|
3980
3984
|
}
|
|
3981
3985
|
type GetOrCreateWorkflowInput = GetOrCreateWorkflowRequestBody & GetOrCreateWorkflowRequestHeaders & GetOrCreateWorkflowRequestQuery & GetOrCreateWorkflowRequestParams;
|
|
3982
3986
|
interface GetOrCreateWorkflowResponse {
|
|
@@ -6615,9 +6619,20 @@ interface CreateBotResponse {
|
|
|
6615
6619
|
interfaces?: {
|
|
6616
6620
|
[k: string]: {
|
|
6617
6621
|
integrationId: string;
|
|
6622
|
+
integrationAlias: string;
|
|
6623
|
+
integrationInterfaceAlias?: string;
|
|
6618
6624
|
interfaceId: string;
|
|
6619
6625
|
};
|
|
6620
6626
|
};
|
|
6627
|
+
/**
|
|
6628
|
+
* A mapping of plugin integration aliases to their backing integrations
|
|
6629
|
+
*/
|
|
6630
|
+
integrations?: {
|
|
6631
|
+
[k: string]: {
|
|
6632
|
+
integrationId: string;
|
|
6633
|
+
integrationAlias: string;
|
|
6634
|
+
};
|
|
6635
|
+
};
|
|
6621
6636
|
/**
|
|
6622
6637
|
* ID of the [Plugin](#schema_plugin)
|
|
6623
6638
|
*/
|
|
@@ -7108,6 +7123,23 @@ interface UpdateBotRequestBody {
|
|
|
7108
7123
|
interfaces?: {
|
|
7109
7124
|
[k: string]: {
|
|
7110
7125
|
integrationId: string;
|
|
7126
|
+
/**
|
|
7127
|
+
* When an alias is provided, the plugin will use the integration corresponding to this alias. If not provided, the first integration matching the integrationId will be used.
|
|
7128
|
+
*/
|
|
7129
|
+
integrationAlias?: string;
|
|
7130
|
+
/**
|
|
7131
|
+
* When an alias is provided, the plugin will use the integration interface corresponding to this alias.
|
|
7132
|
+
*/
|
|
7133
|
+
integrationInterfaceAlias?: string;
|
|
7134
|
+
};
|
|
7135
|
+
};
|
|
7136
|
+
/**
|
|
7137
|
+
* A mapping of plugin integration aliases to their backing integrations
|
|
7138
|
+
*/
|
|
7139
|
+
integrations?: {
|
|
7140
|
+
[k: string]: {
|
|
7141
|
+
integrationId: string;
|
|
7142
|
+
integrationAlias: string;
|
|
7111
7143
|
};
|
|
7112
7144
|
};
|
|
7113
7145
|
} | null;
|
|
@@ -7246,9 +7278,20 @@ interface UpdateBotResponse {
|
|
|
7246
7278
|
interfaces?: {
|
|
7247
7279
|
[k: string]: {
|
|
7248
7280
|
integrationId: string;
|
|
7281
|
+
integrationAlias: string;
|
|
7282
|
+
integrationInterfaceAlias?: string;
|
|
7249
7283
|
interfaceId: string;
|
|
7250
7284
|
};
|
|
7251
7285
|
};
|
|
7286
|
+
/**
|
|
7287
|
+
* A mapping of plugin integration aliases to their backing integrations
|
|
7288
|
+
*/
|
|
7289
|
+
integrations?: {
|
|
7290
|
+
[k: string]: {
|
|
7291
|
+
integrationId: string;
|
|
7292
|
+
integrationAlias: string;
|
|
7293
|
+
};
|
|
7294
|
+
};
|
|
7252
7295
|
/**
|
|
7253
7296
|
* ID of the [Plugin](#schema_plugin)
|
|
7254
7297
|
*/
|
|
@@ -7709,9 +7752,20 @@ interface GetBotResponse {
|
|
|
7709
7752
|
interfaces?: {
|
|
7710
7753
|
[k: string]: {
|
|
7711
7754
|
integrationId: string;
|
|
7755
|
+
integrationAlias: string;
|
|
7756
|
+
integrationInterfaceAlias?: string;
|
|
7712
7757
|
interfaceId: string;
|
|
7713
7758
|
};
|
|
7714
7759
|
};
|
|
7760
|
+
/**
|
|
7761
|
+
* A mapping of plugin integration aliases to their backing integrations
|
|
7762
|
+
*/
|
|
7763
|
+
integrations?: {
|
|
7764
|
+
[k: string]: {
|
|
7765
|
+
integrationId: string;
|
|
7766
|
+
integrationAlias: string;
|
|
7767
|
+
};
|
|
7768
|
+
};
|
|
7715
7769
|
/**
|
|
7716
7770
|
* ID of the [Plugin](#schema_plugin)
|
|
7717
7771
|
*/
|
|
@@ -8374,6 +8428,7 @@ interface DeployBotVersionResponse {
|
|
|
8374
8428
|
interface CreateIntegrationShareableIdRequestHeaders {
|
|
8375
8429
|
}
|
|
8376
8430
|
interface CreateIntegrationShareableIdRequestQuery {
|
|
8431
|
+
integrationInstanceAlias?: string;
|
|
8377
8432
|
}
|
|
8378
8433
|
interface CreateIntegrationShareableIdRequestParams {
|
|
8379
8434
|
botId: string;
|
|
@@ -8389,6 +8444,7 @@ interface CreateIntegrationShareableIdResponse {
|
|
|
8389
8444
|
interface DeleteIntegrationShareableIdRequestHeaders {
|
|
8390
8445
|
}
|
|
8391
8446
|
interface DeleteIntegrationShareableIdRequestQuery {
|
|
8447
|
+
integrationInstanceAlias?: string;
|
|
8392
8448
|
}
|
|
8393
8449
|
interface DeleteIntegrationShareableIdRequestParams {
|
|
8394
8450
|
botId: string;
|
|
@@ -8403,6 +8459,7 @@ interface DeleteIntegrationShareableIdResponse {
|
|
|
8403
8459
|
interface GetIntegrationShareableIdRequestHeaders {
|
|
8404
8460
|
}
|
|
8405
8461
|
interface GetIntegrationShareableIdRequestQuery {
|
|
8462
|
+
integrationInstanceAlias?: string;
|
|
8406
8463
|
}
|
|
8407
8464
|
interface GetIntegrationShareableIdRequestParams {
|
|
8408
8465
|
botId: string;
|
|
@@ -8419,6 +8476,7 @@ interface GetIntegrationShareableIdResponse {
|
|
|
8419
8476
|
interface UnlinkSandboxedConversationsRequestHeaders {
|
|
8420
8477
|
}
|
|
8421
8478
|
interface UnlinkSandboxedConversationsRequestQuery {
|
|
8479
|
+
integrationInstanceAlias?: string;
|
|
8422
8480
|
}
|
|
8423
8481
|
interface UnlinkSandboxedConversationsRequestParams {
|
|
8424
8482
|
botId: string;
|
|
@@ -8689,6 +8747,7 @@ interface CreateWorkspaceResponse {
|
|
|
8689
8747
|
socialAccounts?: string[];
|
|
8690
8748
|
isPublic?: boolean;
|
|
8691
8749
|
handle?: string;
|
|
8750
|
+
activeTrialId: string | null;
|
|
8692
8751
|
}
|
|
8693
8752
|
|
|
8694
8753
|
interface GetPublicWorkspaceRequestHeaders {
|
|
@@ -8742,6 +8801,7 @@ interface GetWorkspaceResponse {
|
|
|
8742
8801
|
socialAccounts?: string[];
|
|
8743
8802
|
isPublic?: boolean;
|
|
8744
8803
|
handle?: string;
|
|
8804
|
+
activeTrialId: string | null;
|
|
8745
8805
|
}
|
|
8746
8806
|
|
|
8747
8807
|
interface ListWorkspaceUsagesRequestHeaders {
|
|
@@ -8913,6 +8973,7 @@ interface UpdateWorkspaceResponse$1 {
|
|
|
8913
8973
|
socialAccounts?: string[];
|
|
8914
8974
|
isPublic?: boolean;
|
|
8915
8975
|
handle?: string;
|
|
8976
|
+
activeTrialId: string | null;
|
|
8916
8977
|
}
|
|
8917
8978
|
|
|
8918
8979
|
interface CheckHandleAvailabilityRequestHeaders {
|
|
@@ -8969,6 +9030,7 @@ interface UpdateWorkspaceResponse {
|
|
|
8969
9030
|
socialAccounts?: string[];
|
|
8970
9031
|
isPublic?: boolean;
|
|
8971
9032
|
handle?: string;
|
|
9033
|
+
activeTrialId: string | null;
|
|
8972
9034
|
}
|
|
8973
9035
|
|
|
8974
9036
|
interface ListPublicWorkspacesRequestHeaders {
|
|
@@ -9038,7 +9100,7 @@ interface GetAuditRecordsResponse {
|
|
|
9038
9100
|
resourceId: string | null;
|
|
9039
9101
|
resourceName?: string | null;
|
|
9040
9102
|
value?: string | null;
|
|
9041
|
-
action: "UNKNOWN" | "ADD_WORKSPACE_MEMBER" | "REMOVE_WORKSPACE_MEMBER" | "UPDATE_WORKSPACE_MEMBER" | "CLOSE_WORKSPACE" | "CREATE_BOT" | "CREATE_WORKSPACE" | "DELETE_BOT" | "DEPLOY_BOT" | "TRANSFER_BOT" | "DOWNLOAD_BOT_ARCHIVE" | "UPDATE_BOT" | "UPDATE_BOT_CHANNEL" | "UPDATE_BOT_CONFIG" | "UPDATE_PAYMENT_METHOD" | "UPDATE_WORKSPACE" | "SET_SPENDING_LIMIT" | "SET_AI_SPENDING_LIMIT" | "UPDATE_WORKSPACE_BILLING_READONLY";
|
|
9103
|
+
action: "UNKNOWN" | "ADD_WORKSPACE_MEMBER" | "REMOVE_WORKSPACE_MEMBER" | "UPDATE_WORKSPACE_MEMBER" | "CLOSE_WORKSPACE" | "CREATE_BOT" | "CREATE_WORKSPACE" | "DELETE_BOT" | "DEPLOY_BOT" | "TRANSFER_BOT" | "DOWNLOAD_BOT_ARCHIVE" | "UPDATE_BOT" | "UPDATE_BOT_CHANNEL" | "UPDATE_BOT_CONFIG" | "UPDATE_PAYMENT_METHOD" | "UPDATE_WORKSPACE" | "SET_SPENDING_LIMIT" | "SET_AI_SPENDING_LIMIT" | "UPDATE_WORKSPACE_BILLING_READONLY" | "EXECUTE_AUTO_RECHARGE_SUCCESS" | "EXECUTE_AUTO_RECHARGE_FAILED";
|
|
9042
9104
|
}[];
|
|
9043
9105
|
meta: {
|
|
9044
9106
|
/**
|
|
@@ -17519,6 +17581,10 @@ interface FindTableRowsRequestBody {
|
|
|
17519
17581
|
* Search term to apply to the row search. When using this parameter, some rows which doesn't match the search term will be returned, use the similarity field to know how much the row matches the search term.
|
|
17520
17582
|
*/
|
|
17521
17583
|
search?: string;
|
|
17584
|
+
/**
|
|
17585
|
+
* Specify which columns to return in the response. Supports both top-level columns (e.g., "name") and nested attributes using dot notation (e.g., "attributes.price"). System columns (id, createdAt, updatedAt, etc.) are always included. If omitted, all columns are returned.
|
|
17586
|
+
*/
|
|
17587
|
+
select?: string[];
|
|
17522
17588
|
/**
|
|
17523
17589
|
* Specifies the column by which to order the results. By default it is ordered by id. Build-in columns: id, createdAt, updatedAt
|
|
17524
17590
|
*/
|