@botpress/client 0.38.1 → 0.39.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 +6 -6
- package/dist/bundle.cjs.map +2 -2
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +7 -6
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +2 -2
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -5430,7 +5430,7 @@ interface CreateWorkspaceResponse {
|
|
|
5430
5430
|
updatedAt: string;
|
|
5431
5431
|
botCount: number;
|
|
5432
5432
|
billingVersion: "v1" | "v2" | "v3";
|
|
5433
|
-
plan: "community" | "team" | "enterprise";
|
|
5433
|
+
plan: "community" | "team" | "enterprise" | "team_yearly";
|
|
5434
5434
|
blocked: boolean;
|
|
5435
5435
|
spendingLimit: number;
|
|
5436
5436
|
about?: string;
|
|
@@ -5483,7 +5483,7 @@ interface GetWorkspaceResponse {
|
|
|
5483
5483
|
updatedAt: string;
|
|
5484
5484
|
botCount: number;
|
|
5485
5485
|
billingVersion: "v1" | "v2" | "v3";
|
|
5486
|
-
plan: "community" | "team" | "enterprise";
|
|
5486
|
+
plan: "community" | "team" | "enterprise" | "team_yearly";
|
|
5487
5487
|
blocked: boolean;
|
|
5488
5488
|
spendingLimit: number;
|
|
5489
5489
|
about?: string;
|
|
@@ -5654,7 +5654,7 @@ interface UpdateWorkspaceResponse$1 {
|
|
|
5654
5654
|
updatedAt: string;
|
|
5655
5655
|
botCount: number;
|
|
5656
5656
|
billingVersion: "v1" | "v2" | "v3";
|
|
5657
|
-
plan: "community" | "team" | "enterprise";
|
|
5657
|
+
plan: "community" | "team" | "enterprise" | "team_yearly";
|
|
5658
5658
|
blocked: boolean;
|
|
5659
5659
|
spendingLimit: number;
|
|
5660
5660
|
about?: string;
|
|
@@ -5709,7 +5709,7 @@ interface UpdateWorkspaceResponse {
|
|
|
5709
5709
|
updatedAt: string;
|
|
5710
5710
|
botCount: number;
|
|
5711
5711
|
billingVersion: "v1" | "v2" | "v3";
|
|
5712
|
-
plan: "community" | "team" | "enterprise";
|
|
5712
|
+
plan: "community" | "team" | "enterprise" | "team_yearly";
|
|
5713
5713
|
blocked: boolean;
|
|
5714
5714
|
spendingLimit: number;
|
|
5715
5715
|
about?: string;
|
|
@@ -13111,7 +13111,7 @@ interface Workspace {
|
|
|
13111
13111
|
updatedAt: string;
|
|
13112
13112
|
botCount: number;
|
|
13113
13113
|
billingVersion: "v1" | "v2" | "v3";
|
|
13114
|
-
plan: "community" | "team" | "enterprise";
|
|
13114
|
+
plan: "community" | "team" | "enterprise" | "team_yearly";
|
|
13115
13115
|
blocked: boolean;
|
|
13116
13116
|
spendingLimit: number;
|
|
13117
13117
|
about?: string;
|
|
@@ -13956,6 +13956,7 @@ declare const codes: {
|
|
|
13956
13956
|
readonly HTTP_STATUS_CONFLICT: 409;
|
|
13957
13957
|
readonly HTTP_STATUS_PAYLOAD_TOO_LARGE: 413;
|
|
13958
13958
|
readonly HTTP_STATUS_UNSUPPORTED_MEDIA_TYPE: 415;
|
|
13959
|
+
readonly HTTP_STATUS_DEPENDENCY_FAILED: 424;
|
|
13959
13960
|
readonly HTTP_STATUS_TOO_MANY_REQUESTS: 429;
|
|
13960
13961
|
readonly HTTP_STATUS_INTERNAL_SERVER_ERROR: 500;
|
|
13961
13962
|
readonly HTTP_STATUS_NOT_IMPLEMENTED: 501;
|
|
@@ -14156,7 +14157,7 @@ type UpstreamProviderType = 'UpstreamProvider';
|
|
|
14156
14157
|
/**
|
|
14157
14158
|
* The upstream provider returned an error or is currently unavailable.
|
|
14158
14159
|
*/
|
|
14159
|
-
declare class UpstreamProviderError extends BaseApiError<
|
|
14160
|
+
declare class UpstreamProviderError extends BaseApiError<424, UpstreamProviderType, 'The upstream provider returned an error or is currently unavailable.'> {
|
|
14160
14161
|
constructor(message: string, error?: Error, id?: string);
|
|
14161
14162
|
}
|
|
14162
14163
|
type ErrorType = 'Unknown' | 'Internal' | 'Unauthorized' | 'Forbidden' | 'PayloadTooLarge' | 'InvalidPayload' | 'UnsupportedMediaType' | 'MethodNotFound' | 'ResourceNotFound' | 'InvalidJsonSchema' | 'InvalidDataFormat' | 'InvalidIdentifier' | 'RelationConflict' | 'ReferenceConstraint' | 'ResourceLockedConflict' | 'ReferenceNotFound' | 'InvalidQuery' | 'Runtime' | 'AlreadyExists' | 'RateLimited' | 'PaymentRequired' | 'QuotaExceeded' | 'LimitExceeded' | 'BreakingChanges' | 'UpstreamProvider';
|