agentbase-web-sdk 1.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 (107) hide show
  1. package/LICENSE +0 -0
  2. package/README.md +41 -0
  3. package/dist/cjs/sdk.js +16322 -0
  4. package/dist/cjs/sdk.js.map +1 -0
  5. package/dist/esm/sdk.js +16292 -0
  6. package/dist/esm/sdk.js.map +1 -0
  7. package/dist/iife/sdk.js +20121 -0
  8. package/package.json +54 -0
  9. package/types/channel.d.ts +79 -0
  10. package/types/client.d.ts +289 -0
  11. package/types/enums/authentication-factor.d.ts +6 -0
  12. package/types/enums/authenticator-type.d.ts +3 -0
  13. package/types/enums/browser-permission.d.ts +22 -0
  14. package/types/enums/browser.d.ts +16 -0
  15. package/types/enums/credit-card.d.ts +19 -0
  16. package/types/enums/data-api-catalog-data-source-database-type.d.ts +6 -0
  17. package/types/enums/data-api-catalog-data-source-visibility-source.d.ts +7 -0
  18. package/types/enums/data-api-catalog-database-availability.d.ts +5 -0
  19. package/types/enums/data-api-catalog-database-classification.d.ts +4 -0
  20. package/types/enums/data-api-catalog-database-status.d.ts +4 -0
  21. package/types/enums/data-api-catalog-database-visibility-source.d.ts +7 -0
  22. package/types/enums/data-api-filter-logic.d.ts +4 -0
  23. package/types/enums/data-api-owned-binding-principal-type.d.ts +4 -0
  24. package/types/enums/data-api-owned-binding-status.d.ts +4 -0
  25. package/types/enums/distillation-message-role.d.ts +6 -0
  26. package/types/enums/distillation-mode.d.ts +4 -0
  27. package/types/enums/distillation-tool-status.d.ts +4 -0
  28. package/types/enums/execution-method.d.ts +9 -0
  29. package/types/enums/execution-status.d.ts +7 -0
  30. package/types/enums/execution-trigger.d.ts +5 -0
  31. package/types/enums/export-job-mode.d.ts +4 -0
  32. package/types/enums/export-mode.d.ts +3 -0
  33. package/types/enums/feedback-type.d.ts +5 -0
  34. package/types/enums/flag.d.ts +197 -0
  35. package/types/enums/format.d.ts +4 -0
  36. package/types/enums/image-format.d.ts +9 -0
  37. package/types/enums/image-gravity.d.ts +11 -0
  38. package/types/enums/kind.d.ts +6 -0
  39. package/types/enums/kinds.d.ts +6 -0
  40. package/types/enums/knowledge-base-data-source-document-import-result-status.d.ts +5 -0
  41. package/types/enums/memory-access-mode.d.ts +4 -0
  42. package/types/enums/memory-batch-operation.d.ts +5 -0
  43. package/types/enums/memory-bulk-delete-item-status.d.ts +4 -0
  44. package/types/enums/memory-bulk-delete-response-status.d.ts +4 -0
  45. package/types/enums/memory-handling-policy.d.ts +5 -0
  46. package/types/enums/memory-message-role.d.ts +5 -0
  47. package/types/enums/memory-pipeline-run-result-status.d.ts +4 -0
  48. package/types/enums/memory-pipeline-run-scenario.d.ts +6 -0
  49. package/types/enums/memory-pipeline-run-status.d.ts +6 -0
  50. package/types/enums/memory-record-kind.d.ts +5 -0
  51. package/types/enums/memory-record-sensitivity.d.ts +5 -0
  52. package/types/enums/memory-scope.d.ts +7 -0
  53. package/types/enums/memory-sensitivity.d.ts +6 -0
  54. package/types/enums/memory-share-subject-type.d.ts +4 -0
  55. package/types/enums/method.d.ts +9 -0
  56. package/types/enums/o-auth-provider.d.ts +45 -0
  57. package/types/enums/organization-project-deletion-deletion-status.d.ts +5 -0
  58. package/types/enums/organization-role.d.ts +8 -0
  59. package/types/enums/organization-usage-range.d.ts +5 -0
  60. package/types/enums/outcome.d.ts +6 -0
  61. package/types/enums/path-match.d.ts +4 -0
  62. package/types/enums/profile-extraction-mode.d.ts +4 -0
  63. package/types/enums/profile-type.d.ts +4 -0
  64. package/types/enums/project-deletion-restore-status.d.ts +3 -0
  65. package/types/enums/project-deletion-result-deletion-status.d.ts +5 -0
  66. package/types/enums/project-deletion-result-status.d.ts +5 -0
  67. package/types/enums/record-kind.d.ts +5 -0
  68. package/types/enums/retention-policy.d.ts +3 -0
  69. package/types/enums/scenario.d.ts +6 -0
  70. package/types/enums/scene.d.ts +4 -0
  71. package/types/enums/scope.d.ts +5 -0
  72. package/types/enums/source-type.d.ts +6 -0
  73. package/types/enums/status.d.ts +23 -0
  74. package/types/enums/theme.d.ts +4 -0
  75. package/types/enums/timezone.d.ts +422 -0
  76. package/types/enums/transaction-action.d.ts +12 -0
  77. package/types/enums/validation-status.d.ts +6 -0
  78. package/types/enums/verification-source.d.ts +5 -0
  79. package/types/id.d.ts +20 -0
  80. package/types/index.d.ts +105 -0
  81. package/types/models.d.ts +3368 -0
  82. package/types/operator.d.ts +180 -0
  83. package/types/permission.d.ts +43 -0
  84. package/types/query.d.ts +442 -0
  85. package/types/role.d.ts +70 -0
  86. package/types/service.d.ts +11 -0
  87. package/types/services/account.d.ts +1350 -0
  88. package/types/services/agent-runtime.d.ts +370 -0
  89. package/types/services/ai-gateway.d.ts +888 -0
  90. package/types/services/avatars.d.ts +320 -0
  91. package/types/services/data-api.d.ts +257 -0
  92. package/types/services/databases.d.ts +441 -0
  93. package/types/services/documents-db.d.ts +409 -0
  94. package/types/services/functions.d.ts +175 -0
  95. package/types/services/graphql.d.ts +43 -0
  96. package/types/services/knowledge-bases.d.ts +304 -0
  97. package/types/services/llm-gateway.d.ts +289 -0
  98. package/types/services/locale.d.ts +64 -0
  99. package/types/services/memory.d.ts +2352 -0
  100. package/types/services/messaging.d.ts +53 -0
  101. package/types/services/projects.d.ts +129 -0
  102. package/types/services/realtime.d.ts +197 -0
  103. package/types/services/self-hosted-organizations.d.ts +495 -0
  104. package/types/services/storage.d.ts +265 -0
  105. package/types/services/tables-db.d.ts +438 -0
  106. package/types/services/teams.d.ts +341 -0
  107. package/types/services/vectors-db.d.ts +297 -0
package/package.json ADDED
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "agentbase-web-sdk",
3
+ "homepage": "[HOSTNAME]/support",
4
+ "description": "",
5
+ "version": "1.12.0",
6
+ "license": "",
7
+ "main": "dist/cjs/sdk.js",
8
+ "exports": {
9
+ ".": {
10
+ "import": "./dist/esm/sdk.js",
11
+ "require": "./dist/cjs/sdk.js",
12
+ "types": "./types/index.d.ts"
13
+ },
14
+ "./package.json": "./package.json"
15
+ },
16
+ "module": "dist/esm/sdk.js",
17
+ "types": "types/index.d.ts",
18
+ "files": [
19
+ "dist",
20
+ "types"
21
+ ],
22
+ "repository": {
23
+ "type": "git",
24
+ "url": ""
25
+ },
26
+ "scripts": {
27
+ "build": "npm run build:types && npm run build:libs",
28
+ "build:types": "tsc --declaration --emitDeclarationOnly --outDir types",
29
+ "build:libs": "rollup -c",
30
+ "test": "node test/build-output.test.js"
31
+ },
32
+ "engines": {
33
+ "node": ">=18.0.0"
34
+ },
35
+ "dependencies": {
36
+ "json-bigint": "1.0.0"
37
+ },
38
+ "devDependencies": {
39
+ "@rollup/plugin-commonjs": "29.0.2",
40
+ "@rollup/plugin-node-resolve": "16.0.3",
41
+ "@rollup/plugin-typescript": "12.3.0",
42
+ "@types/json-bigint": "1.0.4",
43
+ "playwright": "1.56.1",
44
+ "rollup": "4.60.1",
45
+ "serve-handler": "6.1.7",
46
+ "tslib": "2.8.1",
47
+ "typescript": "5.7.3"
48
+ },
49
+ "jsdelivr": "dist/iife/sdk.js",
50
+ "unpkg": "dist/iife/sdk.js",
51
+ "agentbase_provenance": {
52
+ "build_manifest_sha256": "b00d7a751b22c0cdabd1cb0e1cc6f7875dbb64f824c740d55c1fb380bc74ecf4"
53
+ }
54
+ }
@@ -0,0 +1,79 @@
1
+ interface Database {
2
+ _db: any;
3
+ }
4
+ interface Collection {
5
+ _coll: any;
6
+ }
7
+ interface Document {
8
+ _doc: any;
9
+ }
10
+ interface TablesDB {
11
+ _tdb: any;
12
+ }
13
+ interface Table {
14
+ _tbl: any;
15
+ }
16
+ interface Row {
17
+ _row: any;
18
+ }
19
+ interface Bucket {
20
+ _bkt: any;
21
+ }
22
+ interface File {
23
+ _file: any;
24
+ }
25
+ interface Func {
26
+ _fn: any;
27
+ }
28
+ interface Execution {
29
+ _exec: any;
30
+ }
31
+ interface Team {
32
+ _team: any;
33
+ }
34
+ interface Membership {
35
+ _mem: any;
36
+ }
37
+ interface Presence {
38
+ _presence: any;
39
+ }
40
+ interface Resolved {
41
+ _res: any;
42
+ }
43
+ type Actionable = Document | Row | File | Team | Membership | Presence;
44
+ export declare class Channel<T> {
45
+ private readonly segments;
46
+ _type: T;
47
+ private constructor();
48
+ private next;
49
+ private resolve;
50
+ toString(): string;
51
+ collection(this: Channel<Database>, id: string): Channel<Collection>;
52
+ document(this: Channel<Collection>, id?: string): Channel<Document>;
53
+ table(this: Channel<TablesDB>, id: string): Channel<Table>;
54
+ row(this: Channel<Table>, id?: string): Channel<Row>;
55
+ file(this: Channel<Bucket>, id?: string): Channel<File>;
56
+ create(this: Channel<Actionable>): Channel<Resolved>;
57
+ upsert(this: Channel<Document | Row | Presence>): Channel<Resolved>;
58
+ update(this: Channel<Actionable>): Channel<Resolved>;
59
+ delete(this: Channel<Actionable>): Channel<Resolved>;
60
+ static database(id: string): Channel<Database>;
61
+ static execution(id: string): Channel<Execution>;
62
+ static tablesdb(id: string): Channel<TablesDB>;
63
+ static bucket(id: string): Channel<Bucket>;
64
+ static function(id: string): Channel<Func>;
65
+ static team(id: string): Channel<Team>;
66
+ static membership(id: string): Channel<Membership>;
67
+ static presence(id: string): Channel<Presence>;
68
+ static account(): string;
69
+ static documents(): string;
70
+ static rows(): string;
71
+ static files(): string;
72
+ static executions(): string;
73
+ static teams(): string;
74
+ static memberships(): string;
75
+ static presences(): string;
76
+ }
77
+ export type ActionableChannel = Channel<Document> | Channel<Row> | Channel<File> | Channel<Execution> | Channel<Team> | Channel<Membership> | Channel<Presence>;
78
+ export type ResolvedChannel = Channel<Resolved>;
79
+ export {};
@@ -0,0 +1,289 @@
1
+ import { Models } from './models';
2
+ import { Channel, ActionableChannel, ResolvedChannel } from './channel';
3
+ import { Query } from './query';
4
+ export declare const JSONbig: {
5
+ parse: (text: string) => any;
6
+ stringify: {
7
+ (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
8
+ (value: any, replacer?: (number | string)[] | null, space?: string | number): string;
9
+ };
10
+ };
11
+ /**
12
+ * Payload type representing a key-value pair with string keys and any values.
13
+ */
14
+ type Payload = {
15
+ [key: string]: any;
16
+ };
17
+ /**
18
+ * Headers type representing a key-value pair with string keys and string values.
19
+ */
20
+ type Headers = {
21
+ [key: string]: string;
22
+ };
23
+ /**
24
+ * Realtime event response structure with generic payload type.
25
+ */
26
+ type RealtimeResponseEvent<T extends unknown> = {
27
+ /**
28
+ * List of event names associated with the response.
29
+ */
30
+ events: string[];
31
+ /**
32
+ * List of channel names associated with the response.
33
+ */
34
+ channels: string[];
35
+ /**
36
+ * Timestamp indicating the time of the event.
37
+ */
38
+ timestamp: string;
39
+ /**
40
+ * Payload containing event-specific data.
41
+ */
42
+ payload: T;
43
+ /**
44
+ * Subscription IDs this event matches (from backend, optional).
45
+ */
46
+ subscriptions?: string[];
47
+ };
48
+ /**
49
+ * Type representing upload progress information.
50
+ */
51
+ type SseStream = ReadableStream<Uint8Array>;
52
+ type UploadProgress = {
53
+ /**
54
+ * Identifier for the upload progress.
55
+ */
56
+ $id: string;
57
+ /**
58
+ * Current progress of the upload (in percentage).
59
+ */
60
+ progress: number;
61
+ /**
62
+ * Total size uploaded (in bytes) during the upload process.
63
+ */
64
+ sizeUploaded: number;
65
+ /**
66
+ * Total number of chunks that need to be uploaded.
67
+ */
68
+ chunksTotal: number;
69
+ /**
70
+ * Number of chunks that have been successfully uploaded.
71
+ */
72
+ chunksUploaded: number;
73
+ };
74
+ /**
75
+ * Exception thrown by the package
76
+ */
77
+ declare class AgentbaseException extends Error {
78
+ /**
79
+ * The error code associated with the exception.
80
+ */
81
+ code: number;
82
+ /**
83
+ * The response string associated with the exception.
84
+ */
85
+ response: string;
86
+ /**
87
+ * Error type.
88
+ * See [Error Types](/docs/response-codes#errorTypes) for more information.
89
+ */
90
+ type: string;
91
+ /**
92
+ * Initializes a Agentbase Exception.
93
+ *
94
+ * @param {string} message - The error message.
95
+ * @param {number} code - The error code. Default is 0.
96
+ * @param {string} type - The error type. Default is an empty string.
97
+ * @param {string} response - The response string. Default is an empty string.
98
+ */
99
+ constructor(message: string, code?: number, type?: string, response?: string);
100
+ }
101
+ declare class Client {
102
+ static CHUNK_SIZE: number;
103
+ /**
104
+ * Holds configuration such as project.
105
+ */
106
+ config: {
107
+ endpoint: string;
108
+ endpointRealtime: string;
109
+ project: string;
110
+ organization: string;
111
+ jwt: string;
112
+ locale: string;
113
+ session: string;
114
+ devkey: string;
115
+ impersonateuserid: string;
116
+ impersonateuseremail: string;
117
+ impersonateuserphone: string;
118
+ };
119
+ /**
120
+ * Custom headers for API requests.
121
+ */
122
+ headers: Headers;
123
+ /**
124
+ * Get Headers
125
+ *
126
+ * Returns a copy of the current request headers, including any
127
+ * authentication headers. Handle with care.
128
+ *
129
+ * @returns {Headers}
130
+ */
131
+ getHeaders(): Headers;
132
+ /**
133
+ * Set Endpoint
134
+ *
135
+ * Your project endpoint
136
+ *
137
+ * @param {string} endpoint
138
+ *
139
+ * @returns {this}
140
+ */
141
+ setEndpoint(endpoint: string): this;
142
+ /**
143
+ * Set Realtime Endpoint
144
+ *
145
+ * @param {string} endpointRealtime
146
+ *
147
+ * @returns {this}
148
+ */
149
+ setEndpointRealtime(endpointRealtime: string): this;
150
+ /**
151
+ * Set Project
152
+ *
153
+ * Your project ID
154
+ *
155
+ * @param value string
156
+ *
157
+ * @return {this}
158
+ */
159
+ setProject(value: string): this;
160
+ /**
161
+ * Set Organization
162
+ *
163
+ * Your organization ID
164
+ *
165
+ * @param value string
166
+ *
167
+ * @return {this}
168
+ */
169
+ setOrganization(value: string): this;
170
+ /**
171
+ * Set JWT
172
+ *
173
+ * Your secret JSON Web Token
174
+ *
175
+ * @param value string
176
+ *
177
+ * @return {this}
178
+ */
179
+ setJWT(value: string): this;
180
+ /**
181
+ * Set Locale
182
+ *
183
+ * @param value string
184
+ *
185
+ * @return {this}
186
+ */
187
+ setLocale(value: string): this;
188
+ /**
189
+ * Set Session
190
+ *
191
+ * The user session to authenticate with
192
+ *
193
+ * @param value string
194
+ *
195
+ * @return {this}
196
+ */
197
+ setSession(value: string): this;
198
+ /**
199
+ * Set DevKey
200
+ *
201
+ * Your secret dev API key
202
+ *
203
+ * @param value string
204
+ *
205
+ * @return {this}
206
+ */
207
+ setDevKey(value: string): this;
208
+ /**
209
+ * Set ImpersonateUserId
210
+ *
211
+ * Impersonate a user by ID on an already user-authenticated request. Requires the current request to be authenticated as a user with impersonator capability; X-Appwrite-Key alone is not sufficient. Impersonator users are intentionally granted users.read so they can discover a target before impersonation begins. Internal audit logs still attribute actions to the original impersonator and record the impersonated target only in internal audit payload data.
212
+ *
213
+ * @param value string
214
+ *
215
+ * @return {this}
216
+ */
217
+ setImpersonateUserId(value: string): this;
218
+ /**
219
+ * Set ImpersonateUserEmail
220
+ *
221
+ * Impersonate a user by email on an already user-authenticated request. Requires the current request to be authenticated as a user with impersonator capability; X-Appwrite-Key alone is not sufficient. Impersonator users are intentionally granted users.read so they can discover a target before impersonation begins. Internal audit logs still attribute actions to the original impersonator and record the impersonated target only in internal audit payload data.
222
+ *
223
+ * @param value string
224
+ *
225
+ * @return {this}
226
+ */
227
+ setImpersonateUserEmail(value: string): this;
228
+ /**
229
+ * Set ImpersonateUserPhone
230
+ *
231
+ * Impersonate a user by phone on an already user-authenticated request. Requires the current request to be authenticated as a user with impersonator capability; X-Appwrite-Key alone is not sufficient. Impersonator users are intentionally granted users.read so they can discover a target before impersonation begins. Internal audit logs still attribute actions to the original impersonator and record the impersonated target only in internal audit payload data.
232
+ *
233
+ * @param value string
234
+ *
235
+ * @return {this}
236
+ */
237
+ setImpersonateUserPhone(value: string): this;
238
+ private realtime;
239
+ /**
240
+ * Subscribes to Agentbase events and passes you the payload in realtime.
241
+ *
242
+ * @deprecated Use the Realtime service instead.
243
+ * @see Realtime
244
+ *
245
+ * @param {string|string[]|Channel<any>|ActionableChannel|ResolvedChannel|(Channel<any>|ActionableChannel|ResolvedChannel)[]} channels
246
+ * Channel to subscribe - pass a single channel as a string or Channel builder instance, or multiple with an array.
247
+ *
248
+ * Possible channels are:
249
+ * - account
250
+ * - collections
251
+ * - collections.[ID]
252
+ * - collections.[ID].documents
253
+ * - documents
254
+ * - documents.[ID]
255
+ * - files
256
+ * - files.[ID]
257
+ * - executions
258
+ * - executions.[ID]
259
+ * - functions.[ID]
260
+ * - teams
261
+ * - teams.[ID]
262
+ * - memberships
263
+ * - memberships.[ID]
264
+ *
265
+ * You can also use Channel builders:
266
+ * - Channel.database('db').collection('col').document('doc').create()
267
+ * - Channel.bucket('bucket').file('file').update()
268
+ * - Channel.function('func').execution('exec').delete()
269
+ * - Channel.team('team').create()
270
+ * - Channel.membership('membership').update()
271
+ * @param {(payload: RealtimeMessage) => void} callback Is called on every realtime update.
272
+ * @returns {() => void} Unsubscribes from events.
273
+ */
274
+ subscribe<T extends unknown>(channels: string | string[] | Channel<any> | ActionableChannel | ResolvedChannel | (Channel<any> | ActionableChannel | ResolvedChannel)[], callback: (payload: RealtimeResponseEvent<T>) => void, queries?: (string | Query)[]): () => void;
275
+ prepareRequest(method: string, url: URL, headers?: Headers, params?: Payload): {
276
+ uri: string;
277
+ options: RequestInit;
278
+ };
279
+ chunkedUpload(method: string, url: URL, headers: Headers | undefined, originalPayload: Payload | undefined, onProgress: (progress: UploadProgress) => void): Promise<any>;
280
+ ping(): Promise<unknown>;
281
+ call(method: string, url: URL, headers?: Headers, params?: Payload, responseType?: string): Promise<any>;
282
+ callStream(method: string, url: URL, headers?: Headers, params?: Payload): Promise<SseStream>;
283
+ static flatten(data: Payload, prefix?: string): Payload;
284
+ }
285
+ export { Client, AgentbaseException };
286
+ export { Query } from './query';
287
+ export type { Models, Payload, UploadProgress, SseStream };
288
+ export type { RealtimeResponseEvent };
289
+ export type { QueryTypes, QueryTypesList } from './query';
@@ -0,0 +1,6 @@
1
+ export declare enum AuthenticationFactor {
2
+ Email = "email",
3
+ Phone = "phone",
4
+ Totp = "totp",
5
+ Recoverycode = "recoverycode"
6
+ }
@@ -0,0 +1,3 @@
1
+ export declare enum AuthenticatorType {
2
+ Totp = "totp"
3
+ }
@@ -0,0 +1,22 @@
1
+ export declare enum BrowserPermission {
2
+ Geolocation = "geolocation",
3
+ Camera = "camera",
4
+ Microphone = "microphone",
5
+ Notifications = "notifications",
6
+ Midi = "midi",
7
+ Push = "push",
8
+ Clipboardread = "clipboard-read",
9
+ Clipboardwrite = "clipboard-write",
10
+ Paymenthandler = "payment-handler",
11
+ Usb = "usb",
12
+ Bluetooth = "bluetooth",
13
+ Accelerometer = "accelerometer",
14
+ Gyroscope = "gyroscope",
15
+ Magnetometer = "magnetometer",
16
+ Ambientlightsensor = "ambient-light-sensor",
17
+ Backgroundsync = "background-sync",
18
+ Persistentstorage = "persistent-storage",
19
+ Screenwakelock = "screen-wake-lock",
20
+ Webshare = "web-share",
21
+ Xrspatialtracking = "xr-spatial-tracking"
22
+ }
@@ -0,0 +1,16 @@
1
+ export declare enum Browser {
2
+ AvantBrowser = "aa",
3
+ AndroidWebViewBeta = "an",
4
+ GoogleChrome = "ch",
5
+ GoogleChromeIOS = "ci",
6
+ GoogleChromeMobile = "cm",
7
+ Chromium = "cr",
8
+ MozillaFirefox = "ff",
9
+ Safari = "sf",
10
+ MobileSafari = "mf",
11
+ MicrosoftEdge = "ps",
12
+ MicrosoftEdgeIOS = "oi",
13
+ OperaMini = "om",
14
+ Opera = "op",
15
+ OperaNext = "on"
16
+ }
@@ -0,0 +1,19 @@
1
+ export declare enum CreditCard {
2
+ AmericanExpress = "amex",
3
+ Argencard = "argencard",
4
+ Cabal = "cabal",
5
+ Cencosud = "cencosud",
6
+ DinersClub = "diners",
7
+ Discover = "discover",
8
+ Elo = "elo",
9
+ Hipercard = "hipercard",
10
+ JCB = "jcb",
11
+ Mastercard = "mastercard",
12
+ Naranja = "naranja",
13
+ TarjetaShopping = "targeta-shopping",
14
+ UnionPay = "unionpay",
15
+ Visa = "visa",
16
+ MIR = "mir",
17
+ Maestro = "maestro",
18
+ Rupay = "rupay"
19
+ }
@@ -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,6 @@
1
+ export declare enum DistillationMessageRole {
2
+ System = "system",
3
+ User = "user",
4
+ Assistant = "assistant",
5
+ Tool = "tool"
6
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum DistillationMode {
2
+ Async = "async",
3
+ Wait = "wait"
4
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum DistillationToolStatus {
2
+ Succeeded = "succeeded",
3
+ Failed = "failed"
4
+ }
@@ -0,0 +1,9 @@
1
+ export declare enum ExecutionMethod {
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,7 @@
1
+ export declare enum ExecutionStatus {
2
+ Waiting = "waiting",
3
+ Processing = "processing",
4
+ Completed = "completed",
5
+ Failed = "failed",
6
+ Scheduled = "scheduled"
7
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum ExecutionTrigger {
2
+ Http = "http",
3
+ Schedule = "schedule",
4
+ Event = "event"
5
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum ExportJobMode {
2
+ Sync = "sync",
3
+ Async = "async"
4
+ }
@@ -0,0 +1,3 @@
1
+ export declare enum ExportMode {
2
+ Sync = "sync"
3
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum FeedbackType {
2
+ Positive = "positive",
3
+ Negative = "negative",
4
+ Notrelevant = "not-relevant"
5
+ }