@botpress/api 1.52.1 → 1.53.1

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.
@@ -4412,6 +4412,12 @@ export declare const state: {
4412
4412
  public: {
4413
4413
  type: "boolean";
4414
4414
  description: string;
4415
+ deprecated: true;
4416
+ };
4417
+ visibility: {
4418
+ type: "string";
4419
+ enum: string[];
4420
+ description: string;
4415
4421
  };
4416
4422
  };
4417
4423
  required: string[];
@@ -4761,6 +4767,12 @@ export declare const state: {
4761
4767
  public: {
4762
4768
  type: "boolean";
4763
4769
  description: string;
4770
+ deprecated: true;
4771
+ };
4772
+ visibility: {
4773
+ type: "string";
4774
+ enum: string[];
4775
+ description: string;
4764
4776
  };
4765
4777
  };
4766
4778
  required: string[];
@@ -5114,6 +5126,12 @@ export declare const state: {
5114
5126
  public: {
5115
5127
  type: "boolean";
5116
5128
  description: string;
5129
+ deprecated: true;
5130
+ };
5131
+ visibility: {
5132
+ type: "string";
5133
+ enum: string[];
5134
+ description: string;
5117
5135
  };
5118
5136
  };
5119
5137
  required: string[];
@@ -5458,6 +5476,12 @@ export declare const state: {
5458
5476
  public: {
5459
5477
  type: "boolean";
5460
5478
  description: string;
5479
+ deprecated: true;
5480
+ };
5481
+ visibility: {
5482
+ type: "string";
5483
+ enum: string[];
5484
+ description: string;
5461
5485
  };
5462
5486
  };
5463
5487
  required: string[];
@@ -13772,6 +13796,12 @@ export declare const state: {
13772
13796
  public: {
13773
13797
  type: "boolean";
13774
13798
  description: string;
13799
+ deprecated: true;
13800
+ };
13801
+ visibility: {
13802
+ type: "string";
13803
+ enum: string[];
13804
+ description: string;
13775
13805
  };
13776
13806
  dependencies: {
13777
13807
  type: "object";
@@ -14208,6 +14238,12 @@ export declare const state: {
14208
14238
  public: {
14209
14239
  type: "boolean";
14210
14240
  description: string;
14241
+ deprecated: true;
14242
+ };
14243
+ visibility: {
14244
+ type: "string";
14245
+ enum: string[];
14246
+ description: string;
14211
14247
  };
14212
14248
  dependencies: {
14213
14249
  type: "object";
@@ -14385,6 +14421,12 @@ export declare const state: {
14385
14421
  public: {
14386
14422
  type: "boolean";
14387
14423
  description: string;
14424
+ deprecated: true;
14425
+ };
14426
+ visibility: {
14427
+ type: "string";
14428
+ enum: string[];
14429
+ description: string;
14388
14430
  };
14389
14431
  };
14390
14432
  required: string[];
@@ -18129,6 +18171,12 @@ export declare const state: {
18129
18171
  public: {
18130
18172
  type: "boolean";
18131
18173
  description: string;
18174
+ deprecated: true;
18175
+ };
18176
+ visibility: {
18177
+ type: "string";
18178
+ enum: string[];
18179
+ description: string;
18132
18180
  };
18133
18181
  };
18134
18182
  required: string[];
@@ -19600,6 +19648,12 @@ export declare const state: {
19600
19648
  public: {
19601
19649
  type: "boolean";
19602
19650
  description: string;
19651
+ deprecated: true;
19652
+ };
19653
+ visibility: {
19654
+ type: "string";
19655
+ enum: string[];
19656
+ description: string;
19603
19657
  };
19604
19658
  };
19605
19659
  required: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "1.52.1",
3
+ "version": "1.53.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "devDependencies": {
@@ -1,51 +0,0 @@
1
-
2
- > @botpress/api@1.52.1 openapi /home/runner/work/skynet/skynet/packages/public-api
3
- > es-node openapi/generator.ts && pnpm run build
4
-
5
- Generating openapi content
6
- Generating metadata content
7
- Saving generated files
8
- Saving metadata.json file
9
- Saving openapi.json file
10
-
11
- Generating openapi content
12
- Generating metadata content
13
- Saving generated files
14
- Saving metadata.json file
15
- Saving openapi.json file
16
-
17
- Generating openapi content
18
- Generating metadata content
19
- Saving generated files
20
- Saving metadata.json file
21
- Saving openapi.json file
22
-
23
- Generating openapi content
24
- Generating metadata content
25
- Saving generated files
26
- Saving metadata.json file
27
- Saving openapi.json file
28
-
29
- Generating openapi content
30
- Generating metadata content
31
- Saving generated files
32
- Saving metadata.json file
33
- Saving openapi.json file
34
-
35
- info: Exit with code {"category":"system","code":0,"label":"Shutdown"}
36
-
37
- > @botpress/api@1.52.1 build /home/runner/work/skynet/skynet/packages/public-api
38
- > pnpm run build:type && pnpm run build:impl
39
-
40
-
41
- > @botpress/api@1.52.1 build:type /home/runner/work/skynet/skynet/packages/public-api
42
- > tsc -p tsconfig.package.json --emitDeclarationOnly
43
-
44
-
45
- > @botpress/api@1.52.1 build:impl /home/runner/work/skynet/skynet/packages/public-api
46
- > esbuild --bundle --platform=node --outfile=dist/index.js src/index.ts
47
-
48
-
49
- dist/index.js 13.9mb ⚠️
50
-
51
- ⚡ Done in 948ms
@@ -1 +0,0 @@
1
- {"sections":[{"title":"Bot","description":"","name":"bot","operations":["createBot","updateBot","transferBot","listBots","getBot","deleteBot","getBotLogs","getBotWebchat","getBotAnalytics","listActionRuns","getBotIssue","listBotIssues","deleteBotIssue","listBotIssueEvents","listBotVersions","getBotVersion","getBotJson","publishFromBotJson","createBotVersion","deployBotVersion","createIntegrationShareableId","deleteIntegrationShareableId","getIntegrationShareableId","unlinkSandboxedConversations","listBotApiKeys","createBotApiKey","deleteBotApiKey","getBotAllowlist","updateBotAllowlist"],"schema":"Bot"},{"title":"Integration","description":"","name":"integration","operations":["listIntegrationApiKeys","createIntegrationApiKey","deleteIntegrationApiKey","createIntegration","validateIntegrationCreation","updateIntegration","validateIntegrationUpdate","listIntegrations","getIntegration","getIntegrationLogs","getIntegrationByName","deleteIntegration","requestIntegrationVerification"],"schema":"Integration"},{"title":"Interface","description":"","name":"interface","operations":["createInterface","getInterface","getInterfaceByName","updateInterface","deleteInterface","listInterfaces"],"schema":"Interface"},{"title":"Plugin","description":"","name":"plugin","operations":["createPlugin","getPlugin","getDereferencedPlugin","getPluginByName","updatePlugin","deletePlugin","listPlugins","getPluginCode"],"schema":"Plugin"},{"title":"Hub","description":"","name":"hub","operations":["listPublicIntegrations","getPublicIntegrationById","getPublicIntegration","listPublicPlugins","getPublicPluginById","getDereferencedPublicPluginById","getPublicPlugin","getPublicPluginCode","listPublicInterfaces","getPublicInterfaceById","getPublicInterface"]},{"title":"Workspace","description":"","name":"workspace","operations":["listWorkspaceInvoices","getUpcomingInvoice","chargeWorkspaceUnpaidInvoices","createWorkspace","getPublicWorkspace","getWorkspace","listWorkspaceUsages","breakDownWorkspaceUsageByBot","getAllWorkspaceQuotaCompletion","getWorkspaceQuota","listWorkspaceQuotas","updateWorkspace","checkHandleAvailability","listWorkspaces","listPublicWorkspaces","deleteWorkspace","getAuditRecords","setWorkspacePreference","getWorkspacePreference"],"schema":"Workspace"},{"title":"Workspace Member","description":"","name":"workspaceMember","operations":["listWorkspaceMembers","getWorkspaceMember","deleteWorkspaceMember","createWorkspaceMember","updateWorkspaceMember"],"schema":"WorkspaceMember"},{"title":"Account","description":"","name":"account","operations":["getAccount","updateAccount","deleteAccount","listPersonalAccessTokens","createPersonalAccessToken","deletePersonalAccessToken","setAccountPreference","getAccountPreference"],"schema":"Account"},{"title":"Usage","description":"","name":"usage","operations":["getUsage","getMultipleUsages","listUsageActivityDaily"],"schema":"Usage"},{"title":"Quotas","description":"","name":"quotas","operations":["changeAISpendQuota"]},{"title":"Helper","description":"","name":"helper","operations":["runVrl"]},{"title":"Activity","description":"","name":"activity","operations":["listActivities"],"schema":"Activity"}],"errors":[{"status":500,"type":"Unknown","description":"An unknown error occurred"},{"status":500,"type":"Internal","description":"An internal error occurred"},{"status":401,"type":"Unauthorized","description":"The request requires to be authenticated."},{"status":403,"type":"Forbidden","description":"The requested action can't be peform by this resource."},{"status":413,"type":"PayloadTooLarge","description":"The request payload is too large."},{"status":400,"type":"InvalidPayload","description":"The request payload is invalid."},{"status":415,"type":"UnsupportedMediaType","description":"The request is invalid because the content-type is not supported."},{"status":405,"type":"MethodNotFound","description":"The requested method does not exist."},{"status":404,"type":"ResourceNotFound","description":"The requested resource does not exist."},{"status":400,"type":"InvalidJsonSchema","description":"The provided JSON schema is invalid."},{"status":400,"type":"InvalidDataFormat","description":"The provided data doesn't respect the provided JSON schema."},{"status":400,"type":"InvalidIdentifier","description":"The provided identifier is not valid. An identifier must start with a lowercase letter, be between 2 and 100 characters long and use only alphanumeric characters."},{"status":409,"type":"RelationConflict","description":"The resource is related with a different resource that the one referenced in the request. This is usually caused when providing two resource identifiers that aren't linked together."},{"status":409,"type":"ReferenceConstraint","description":"The resource cannot be deleted because it's referenced by another resource"},{"status":409,"type":"ResourceLockedConflict","description":"The resource is current locked and cannot be operated on until the lock is released."},{"status":410,"type":"ResourceGone","description":"The requested resource is no longer available."},{"status":400,"type":"ReferenceNotFound","description":"The provided resource reference is missing. This is usually caused when providing an invalid id inside the payload of a request."},{"status":400,"type":"InvalidQuery","description":"The provided query is invalid. This is usually caused when providing an invalid parameter for querying a resource."},{"status":400,"type":"Runtime","description":"An error happened during the execution of a runtime (bot or integration)."},{"status":409,"type":"AlreadyExists","description":"The record attempted to be created already exists."},{"status":429,"type":"RateLimited","description":"The request has been rate limited."},{"status":402,"type":"PaymentRequired","description":"A payment is required to perform this request."},{"status":403,"type":"QuotaExceeded","description":"The request exceeds the allowed quota. Quotas are a soft limit that can be increased."},{"status":413,"type":"LimitExceeded","description":"The request exceeds the allowed limit. Limits are a hard limit that cannot be increased."},{"status":400,"type":"BreakingChanges","description":"Request payload contains breaking changes which is not allowed for this resource without a version increment."}]}