agentbase-web-sdk 2.9.0 → 2.12.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.
Files changed (34) hide show
  1. package/README.md +2 -2
  2. package/dist/cjs/sdk.js +2456 -664
  3. package/dist/cjs/sdk.js.map +1 -1
  4. package/dist/esm/sdk.js +2456 -665
  5. package/dist/esm/sdk.js.map +1 -1
  6. package/dist/iife/sdk.js +2456 -664
  7. package/package.json +3 -3
  8. package/types/enums/data-api-catalog-data-source-database-type.d.ts +6 -0
  9. package/types/enums/data-api-catalog-data-source-visibility-source.d.ts +7 -0
  10. package/types/enums/data-api-catalog-database-availability.d.ts +5 -0
  11. package/types/enums/data-api-catalog-database-classification.d.ts +4 -0
  12. package/types/enums/data-api-catalog-database-status.d.ts +4 -0
  13. package/types/enums/data-api-catalog-database-visibility-source.d.ts +7 -0
  14. package/types/enums/data-api-filter-logic.d.ts +4 -0
  15. package/types/enums/data-api-owned-binding-principal-type.d.ts +4 -0
  16. package/types/enums/data-api-owned-binding-status.d.ts +4 -0
  17. package/types/enums/memory-pipeline-run-result-status.d.ts +4 -0
  18. package/types/enums/memory-pipeline-run-scenario.d.ts +6 -0
  19. package/types/enums/memory-pipeline-run-status.d.ts +6 -0
  20. package/types/enums/method.d.ts +9 -0
  21. package/types/enums/path-match.d.ts +4 -0
  22. package/types/enums/scenario.d.ts +6 -0
  23. package/types/enums/scene.d.ts +4 -0
  24. package/types/enums/status.d.ts +7 -1
  25. package/types/enums/timezone.d.ts +1 -0
  26. package/types/index.d.ts +19 -2
  27. package/types/models.d.ts +798 -4
  28. package/types/services/account.d.ts +85 -2
  29. package/types/services/ai-gateway.d.ts +90 -0
  30. package/types/services/data-api.d.ts +257 -0
  31. package/types/services/functions.d.ts +35 -7
  32. package/types/services/knowledge-bases.d.ts +186 -2
  33. package/types/services/llm-gateway.d.ts +8 -1
  34. package/types/services/memory.d.ts +600 -19
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "agentbase-web-sdk",
3
- "homepage": "https://appbase.local/support",
3
+ "homepage": "[HOSTNAME]/support",
4
4
  "description": "",
5
- "version": "2.9.0",
5
+ "version": "2.12.0",
6
6
  "license": "",
7
7
  "main": "dist/cjs/sdk.js",
8
8
  "exports": {
@@ -49,6 +49,6 @@
49
49
  "jsdelivr": "dist/iife/sdk.js",
50
50
  "unpkg": "dist/iife/sdk.js",
51
51
  "agentbase_provenance": {
52
- "build_manifest_sha256": "39dbfc0e23b3e3fcd04cc79a70bac696fcefadfd49dbd2613fbb9ca8901cf6c8"
52
+ "build_manifest_sha256": "bc2484c7a9d0352c073ead11ef644112c087fd13445f515cbc14dd3e16fc189d"
53
53
  }
54
54
  }
@@ -0,0 +1,6 @@
1
+ export declare enum DataApiCatalogDataSourceDatabaseType {
2
+ OBMYSQL = "OB_MYSQL",
3
+ OBORACLE = "OB_ORACLE",
4
+ MYSQL = "MYSQL",
5
+ ORACLE = "ORACLE"
6
+ }
@@ -0,0 +1,7 @@
1
+ export declare enum DataApiCatalogDataSourceVisibilitySource {
2
+ ORGANIZATIONOWNER = "ORGANIZATION_OWNER",
3
+ PROJECTDATASOURCEGRANT = "PROJECT_DATA_SOURCE_GRANT",
4
+ CONTROLPLANEPOLICY = "CONTROL_PLANE_POLICY",
5
+ ACCESSBINDING = "ACCESS_BINDING",
6
+ BOTH = "BOTH"
7
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum DataApiCatalogDatabaseAvailability {
2
+ UNKNOWN = "UNKNOWN",
3
+ AVAILABLE = "AVAILABLE",
4
+ UNAVAILABLE = "UNAVAILABLE"
5
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum DataApiCatalogDatabaseClassification {
2
+ USER = "USER",
3
+ SYSTEM = "SYSTEM"
4
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum DataApiCatalogDatabaseStatus {
2
+ VALID = "VALID",
3
+ INVALID = "INVALID"
4
+ }
@@ -0,0 +1,7 @@
1
+ export declare enum DataApiCatalogDatabaseVisibilitySource {
2
+ ORGANIZATIONOWNER = "ORGANIZATION_OWNER",
3
+ PROJECTDATASOURCEGRANT = "PROJECT_DATA_SOURCE_GRANT",
4
+ CONTROLPLANEPOLICY = "CONTROL_PLANE_POLICY",
5
+ ACCESSBINDING = "ACCESS_BINDING",
6
+ BOTH = "BOTH"
7
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum DataApiFilterLogic {
2
+ And = "AND",
3
+ Or = "OR"
4
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum DataApiOwnedBindingPrincipalType {
2
+ USER = "USER",
3
+ SERVICE = "SERVICE"
4
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum DataApiOwnedBindingStatus {
2
+ ACTIVE = "ACTIVE",
3
+ DISABLED = "DISABLED"
4
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum MemoryPipelineRunResultStatus {
2
+ Completed = "completed",
3
+ Failed = "failed"
4
+ }
@@ -0,0 +1,6 @@
1
+ export declare enum MemoryPipelineRunScenario {
2
+ AddMemory = "add_memory",
3
+ Profile = "profile",
4
+ Distillation = "distillation",
5
+ Forgetting = "forgetting"
6
+ }
@@ -0,0 +1,6 @@
1
+ export declare enum MemoryPipelineRunStatus {
2
+ Queued = "queued",
3
+ Running = "running",
4
+ Completed = "completed",
5
+ Failed = "failed"
6
+ }
@@ -0,0 +1,9 @@
1
+ export declare enum Method {
2
+ GET = "GET",
3
+ POST = "POST",
4
+ PUT = "PUT",
5
+ PATCH = "PATCH",
6
+ DELETE = "DELETE",
7
+ OPTIONS = "OPTIONS",
8
+ HEAD = "HEAD"
9
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum PathMatch {
2
+ Exact = "exact",
3
+ Regex = "regex"
4
+ }
@@ -0,0 +1,6 @@
1
+ export declare enum Scenario {
2
+ AddMemory = "add_memory",
3
+ Profile = "profile",
4
+ Distillation = "distillation",
5
+ Forgetting = "forgetting"
6
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum Scene {
2
+ Verify = "verify",
3
+ AccountChange = "accountChange"
4
+ }
@@ -13,5 +13,11 @@ export declare enum Status {
13
13
  Succeeded = "succeeded",
14
14
  PartialFailed = "partial_failed",
15
15
  Failed = "failed",
16
- Dead = "dead"
16
+ Dead = "dead",
17
+ Pending = "pending",
18
+ Approved = "approved",
19
+ Rejected = "rejected",
20
+ Superseded = "superseded",
21
+ Disabled = "disabled",
22
+ Error = "error"
17
23
  }
@@ -220,6 +220,7 @@ export declare enum Timezone {
220
220
  AsiaBaku = "asia/baku",
221
221
  AsiaBangkok = "asia/bangkok",
222
222
  AsiaBarnaul = "asia/barnaul",
223
+ AsiaBeijing = "asia/beijing",
223
224
  AsiaBeirut = "asia/beirut",
224
225
  AsiaBishkek = "asia/bishkek",
225
226
  AsiaBrunei = "asia/brunei",
package/types/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Agentbase Agentbase SDK
3
3
  *
4
- * This SDK is compatible with Appwrite server version 2.9.x.
4
+ * This SDK is compatible with Appwrite server version 2.12.x.
5
5
  * For older versions, please check
6
6
  * [previous releases](https://github.com/agentbase/agentbase-web-sdk/releases).
7
7
  */
@@ -10,6 +10,7 @@ export { Account } from './services/account';
10
10
  export { AgentRuntime } from './services/agent-runtime';
11
11
  export { AiGateway } from './services/ai-gateway';
12
12
  export { Avatars } from './services/avatars';
13
+ export { DataApi } from './services/data-api';
13
14
  export { Databases } from './services/databases';
14
15
  export { DocumentsDB } from './services/documents-db';
15
16
  export { Functions } from './services/functions';
@@ -36,6 +37,7 @@ export { Channel } from './channel';
36
37
  export { Operator, Condition } from './operator';
37
38
  export { AuthenticatorType } from './enums/authenticator-type';
38
39
  export { AuthenticationFactor } from './enums/authentication-factor';
40
+ export { Scene } from './enums/scene';
39
41
  export { OAuthProvider } from './enums/o-auth-provider';
40
42
  export { Status } from './enums/status';
41
43
  export { Browser } from './enums/browser';
@@ -45,6 +47,8 @@ export { Theme } from './enums/theme';
45
47
  export { Timezone } from './enums/timezone';
46
48
  export { BrowserPermission } from './enums/browser-permission';
47
49
  export { ImageFormat } from './enums/image-format';
50
+ export { PathMatch } from './enums/path-match';
51
+ export { Method } from './enums/method';
48
52
  export { ExecutionMethod } from './enums/execution-method';
49
53
  export { MemoryAccessMode } from './enums/memory-access-mode';
50
54
  export { MemoryScope } from './enums/memory-scope';
@@ -62,21 +66,31 @@ export { FeedbackType } from './enums/feedback-type';
62
66
  export { ValidationStatus } from './enums/validation-status';
63
67
  export { Outcome } from './enums/outcome';
64
68
  export { VerificationSource } from './enums/verification-source';
65
- export { Kinds } from './enums/kinds';
66
69
  export { ProfileType } from './enums/profile-type';
70
+ export { Kinds } from './enums/kinds';
67
71
  export { ProfileExtractionMode } from './enums/profile-extraction-mode';
68
72
  export { RetentionPolicy } from './enums/retention-policy';
69
73
  export { MemoryShareSubjectType } from './enums/memory-share-subject-type';
74
+ export { Scenario } from './enums/scenario';
70
75
  export { OrganizationRole } from './enums/organization-role';
71
76
  export { OrganizationUsageRange } from './enums/organization-usage-range';
72
77
  export { ImageGravity } from './enums/image-gravity';
73
78
  export { TransactionAction } from './enums/transaction-action';
79
+ export { DataApiFilterLogic } from './enums/data-api-filter-logic';
74
80
  export { MemoryMessageRole } from './enums/memory-message-role';
75
81
  export { MemoryBatchOperation } from './enums/memory-batch-operation';
76
82
  export { MemoryRecordKind } from './enums/memory-record-kind';
77
83
  export { MemoryRecordSensitivity } from './enums/memory-record-sensitivity';
78
84
  export { DistillationMessageRole } from './enums/distillation-message-role';
79
85
  export { DistillationToolStatus } from './enums/distillation-tool-status';
86
+ export { DataApiOwnedBindingPrincipalType } from './enums/data-api-owned-binding-principal-type';
87
+ export { DataApiOwnedBindingStatus } from './enums/data-api-owned-binding-status';
88
+ export { DataApiCatalogDataSourceDatabaseType } from './enums/data-api-catalog-data-source-database-type';
89
+ export { DataApiCatalogDataSourceVisibilitySource } from './enums/data-api-catalog-data-source-visibility-source';
90
+ export { DataApiCatalogDatabaseClassification } from './enums/data-api-catalog-database-classification';
91
+ export { DataApiCatalogDatabaseStatus } from './enums/data-api-catalog-database-status';
92
+ export { DataApiCatalogDatabaseAvailability } from './enums/data-api-catalog-database-availability';
93
+ export { DataApiCatalogDatabaseVisibilitySource } from './enums/data-api-catalog-database-visibility-source';
80
94
  export { ExecutionTrigger } from './enums/execution-trigger';
81
95
  export { ExecutionStatus } from './enums/execution-status';
82
96
  export { OrganizationProjectDeletionDeletionStatus } from './enums/organization-project-deletion-deletion-status';
@@ -85,4 +99,7 @@ export { ProjectDeletionResultDeletionStatus } from './enums/project-deletion-re
85
99
  export { ProjectDeletionRestoreStatus } from './enums/project-deletion-restore-status';
86
100
  export { MemoryBulkDeleteItemStatus } from './enums/memory-bulk-delete-item-status';
87
101
  export { MemoryBulkDeleteResponseStatus } from './enums/memory-bulk-delete-response-status';
102
+ export { MemoryPipelineRunResultStatus } from './enums/memory-pipeline-run-result-status';
103
+ export { MemoryPipelineRunScenario } from './enums/memory-pipeline-run-scenario';
104
+ export { MemoryPipelineRunStatus } from './enums/memory-pipeline-run-status';
88
105
  export { KnowledgeBaseDataSourceDocumentImportResultStatus } from './enums/knowledge-base-data-source-document-import-result-status';