@norbix.ai/ts 1.0.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.
@@ -0,0 +1,459 @@
1
+ import { T as Transport, R as RequestOverrideOptions } from './transport-c4_dsqN0.cjs';
2
+ import { CodeMashApi2 } from './types/api2.dtos.cjs';
3
+
4
+ /**
5
+ * Auto-generated. Do not edit by hand — run `npm run generate-endpoints`
6
+ * to refresh this file from the DTO definitions.
7
+ *
8
+ * Group: access_token
9
+ * Endpoints: 1
10
+ */
11
+ declare class AccessTokenModule {
12
+ private readonly transport;
13
+ constructor(transport: Transport);
14
+ /**
15
+ * POST /access-token
16
+ * Request DTO: GetAccessToken
17
+ */
18
+ getAccessToken: (request?: Partial<CodeMashApi2.GetAccessToken>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.GetAccessTokenResponse>;
19
+ }
20
+
21
+ /**
22
+ * Auto-generated. Do not edit by hand — run `npm run generate-endpoints`
23
+ * to refresh this file from the DTO definitions.
24
+ *
25
+ * Group: apikeys
26
+ * Endpoints: 2
27
+ */
28
+ declare class ApikeysModule {
29
+ private readonly transport;
30
+ constructor(transport: Transport);
31
+ /**
32
+ * POST /apikeys
33
+ * Aliases:
34
+ * - POST /apikeys/{Environment}
35
+ * Request DTO: GetApiKeys
36
+ */
37
+ getApiKeys: (request?: Partial<CodeMashApi2.GetApiKeys>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.GetApiKeysResponse>;
38
+ /**
39
+ * POST /apikeys/regenerate
40
+ * Aliases:
41
+ * - POST /apikeys/regenerate/{Environment}
42
+ * Request DTO: RegenerateApiKeys
43
+ */
44
+ regenerateApiKeys: (request?: Partial<CodeMashApi2.RegenerateApiKeys>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.RegenerateApiKeysResponse>;
45
+ }
46
+
47
+ /**
48
+ * Auto-generated. Do not edit by hand — run `npm run generate-endpoints`
49
+ * to refresh this file from the DTO definitions.
50
+ *
51
+ * Group: auth
52
+ * Endpoints: 1
53
+ */
54
+ declare class AuthModule {
55
+ private readonly transport;
56
+ constructor(transport: Transport);
57
+ /**
58
+ * POST /auth
59
+ * Aliases:
60
+ * - GET,POST /auth/{provider}
61
+ * - POST,GET,OPTIONS /v3/auth
62
+ * - POST,GET,OPTIONS /v3/auth/{provider}
63
+ * Request DTO: Authenticate
64
+ */
65
+ authenticate: (request?: Partial<CodeMashApi2.Authenticate>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.AuthenticateResponse>;
66
+ }
67
+
68
+ /**
69
+ * Auto-generated. Do not edit by hand — run `npm run generate-endpoints`
70
+ * to refresh this file from the DTO definitions.
71
+ *
72
+ * Group: chat
73
+ * Endpoints: 1
74
+ */
75
+ declare class ChatModule {
76
+ private readonly transport;
77
+ constructor(transport: Transport);
78
+ /**
79
+ * POST /{version}/chat/complete
80
+ * Request DTO: AskChatRequest
81
+ */
82
+ askChat: (request?: Partial<CodeMashApi2.AskChatRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.AskChatResponse>;
83
+ }
84
+
85
+ /**
86
+ * Auto-generated. Do not edit by hand — run `npm run generate-endpoints`
87
+ * to refresh this file from the DTO definitions.
88
+ *
89
+ * Group: database
90
+ * Endpoints: 19
91
+ */
92
+ declare class DatabaseModule {
93
+ private readonly transport;
94
+ constructor(transport: Transport);
95
+ /**
96
+ * GET /{version}/database/taxonomies/{taxonomyName}/terms
97
+ * Request DTO: FindTermsRequest
98
+ */
99
+ findTerms: (request?: Partial<CodeMashApi2.FindTermsRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.FindTermsResponse>;
100
+ /**
101
+ * GET /{version}/database/taxonomies/{taxonomyName}/terms/{parentId}/children
102
+ * Request DTO: FindTermsChildrenRequest
103
+ */
104
+ findTermsChildren: (request?: Partial<CodeMashApi2.FindTermsChildrenRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.FindTermsChildrenResponse>;
105
+ /**
106
+ * GET /{version}/database/schemas/{id}
107
+ * Request DTO: GetDatabaseSchemaRequest
108
+ */
109
+ getDatabaseSchema: (request?: Partial<CodeMashApi2.GetDatabaseSchemaRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.GetDatabaseSchemaResponse>;
110
+ /**
111
+ * GET /{version}/database/schemas
112
+ * Request DTO: GetDatabaseSchemasRequest
113
+ */
114
+ getDatabaseSchemas: (request?: Partial<CodeMashApi2.GetDatabaseSchemasRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.GetDatabaseSchemasResponse>;
115
+ /**
116
+ * POST /{version}/database/collections/{collectionName}/aggregate
117
+ * Request DTO: AggregateRequest
118
+ */
119
+ aggregate: (request?: Partial<CodeMashApi2.AggregateRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.AggregateResponse>;
120
+ /**
121
+ * PUT /{version}/database/collections/{collectionName}/{id}/responsibility
122
+ * Request DTO: ChangeResponsibilityRequest
123
+ */
124
+ changeResponsibility: (request?: Partial<CodeMashApi2.ChangeResponsibilityRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.EmptyResponse>;
125
+ /**
126
+ * GET /{version}/database/collections/{collectionName}/count
127
+ * Request DTO: CountRequest
128
+ */
129
+ count: (request?: Partial<CodeMashApi2.CountRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.CountResponse>;
130
+ /**
131
+ * DELETE /{version}/database/collections/{collectionName}/many
132
+ * Request DTO: DeleteManyRequest
133
+ */
134
+ deleteMany: (request?: Partial<CodeMashApi2.DeleteManyRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.EmptyResponse>;
135
+ /**
136
+ * DELETE /{version}/database/collections/{collectionName}/{id}
137
+ * Request DTO: DeleteOneRequest
138
+ */
139
+ deleteOne: (request?: Partial<CodeMashApi2.DeleteOneRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.EmptyResponse>;
140
+ /**
141
+ * GET /{version}/database/collections/{collectionName}/distinct
142
+ * Request DTO: DistinctRequest
143
+ */
144
+ distinct: (request?: Partial<CodeMashApi2.DistinctRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.DistinctResponse>;
145
+ /**
146
+ * POST /{version}/database/collections/{collectionName}/aggregates/{aggregateId}/execute
147
+ * Request DTO: ExecuteAggregateRequest
148
+ */
149
+ executeAggregate: (request?: Partial<CodeMashApi2.ExecuteAggregateRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.ExecuteAggregateResponse>;
150
+ /**
151
+ * GET /{version}/database/collections/{collectionName}
152
+ * Request DTO: FindRequest
153
+ */
154
+ find: (request?: Partial<CodeMashApi2.FindRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.FindResponse>;
155
+ /**
156
+ * GET /{version}/database/collections/{collectionName}/{id}
157
+ * Request DTO: FindOneRequest
158
+ */
159
+ findOne: (request?: Partial<CodeMashApi2.FindOneRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.FindOneResponse>;
160
+ /**
161
+ * GET /{version}/database/collections/{collectionName}/own
162
+ * Request DTO: FindOwnRequest
163
+ */
164
+ findOwn: (request?: Partial<CodeMashApi2.FindOwnRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.FindResponse>;
165
+ /**
166
+ * POST /{version}/database/collections/{collectionName}/many
167
+ * Request DTO: InsertManyRequest
168
+ */
169
+ insertMany: (request?: Partial<CodeMashApi2.InsertManyRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.EmptyResponse>;
170
+ /**
171
+ * POST /{version}/database/collections/{collectionName}
172
+ * Request DTO: InsertOneRequest
173
+ */
174
+ insertOne: (request?: Partial<CodeMashApi2.InsertOneRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.IdResponse>;
175
+ /**
176
+ * PUT /{version}/database/collections/{collectionName}/{id}/replace
177
+ * Request DTO: ReplaceOneRequest
178
+ */
179
+ replaceOne: (request?: Partial<CodeMashApi2.ReplaceOneRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.EmptyResponse>;
180
+ /**
181
+ * PUT /{version}/database/collections/{collectionName}/many
182
+ * Request DTO: UpdateManyRequest
183
+ */
184
+ updateMany: (request?: Partial<CodeMashApi2.UpdateManyRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.EmptyResponse>;
185
+ /**
186
+ * PUT /{version}/database/collections/{collectionName}/{id}
187
+ * Request DTO: UpdateOneRequest
188
+ */
189
+ updateOne: (request?: Partial<CodeMashApi2.UpdateOneRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.EmptyResponse>;
190
+ }
191
+
192
+ /**
193
+ * Auto-generated. Do not edit by hand — run `npm run generate-endpoints`
194
+ * to refresh this file from the DTO definitions.
195
+ *
196
+ * Group: echo
197
+ * Endpoints: 1
198
+ */
199
+ declare class EchoModule {
200
+ private readonly transport;
201
+ constructor(transport: Transport);
202
+ /**
203
+ * GET /{version}/echo
204
+ * Request DTO: Echo
205
+ */
206
+ echo: (request?: Partial<CodeMashApi2.Echo>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.EchoResponse>;
207
+ }
208
+
209
+ /**
210
+ * Auto-generated. Do not edit by hand — run `npm run generate-endpoints`
211
+ * to refresh this file from the DTO definitions.
212
+ *
213
+ * Group: files
214
+ * Endpoints: 8
215
+ */
216
+ declare class FilesModule {
217
+ private readonly transport;
218
+ constructor(transport: Transport);
219
+ /**
220
+ * POST /{version}/files/{filesIntegrationId}/commit
221
+ * Request DTO: CommitUploadRequest
222
+ */
223
+ commitUpload: (request?: Partial<CodeMashApi2.CommitUploadRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.EmptyResponse>;
224
+ /**
225
+ * DELETE /{version}/files/{filesIntegrationId}
226
+ * Request DTO: DeleteFileApiRequest
227
+ */
228
+ deleteFileApi: (request?: Partial<CodeMashApi2.DeleteFileApiRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.EmptyResponse>;
229
+ /**
230
+ * DELETE /{version}/files/{filesIntegrationId}/bulk
231
+ * Request DTO: DeleteManyFilesApiRequest
232
+ */
233
+ deleteManyFilesApi: (request?: Partial<CodeMashApi2.DeleteManyFilesApiRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.EmptyResponse>;
234
+ /**
235
+ * GET /{version}/files/{filesIntegrationId}/download
236
+ * Request DTO: DownloadFileApiRequest
237
+ */
238
+ downloadFileApi: (request?: Partial<CodeMashApi2.DownloadFileApiRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.Blob>;
239
+ /**
240
+ * GET /{version}/files/{filesIntegrationId}/info
241
+ * Request DTO: GetFileInfoRequest
242
+ */
243
+ getFileInfo: (request?: Partial<CodeMashApi2.GetFileInfoRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.GetFileInfoResponse>;
244
+ /**
245
+ * GET /{version}/files/{filesIntegrationId}/sign
246
+ * Request DTO: GetSignedUrlRequest
247
+ */
248
+ getSignedUrl: (request?: Partial<CodeMashApi2.GetSignedUrlRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.GetSignedUrlResponse>;
249
+ /**
250
+ * GET /{version}/files/{filesIntegrationId}
251
+ * Request DTO: ListFilesRequest
252
+ */
253
+ listFiles: (request?: Partial<CodeMashApi2.ListFilesRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.ListFilesResponse>;
254
+ /**
255
+ * POST /{version}/files/{filesIntegrationId}/upload-url
256
+ * Request DTO: RequestUploadUrlRequest
257
+ */
258
+ requestUploadUrl: (request?: Partial<CodeMashApi2.RequestUploadUrlRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.RequestUploadUrlResponse>;
259
+ }
260
+
261
+ /**
262
+ * Auto-generated. Do not edit by hand — run `npm run generate-endpoints`
263
+ * to refresh this file from the DTO definitions.
264
+ *
265
+ * Group: membership
266
+ * Endpoints: 34
267
+ */
268
+ declare class MembershipModule {
269
+ private readonly transport;
270
+ constructor(transport: Transport);
271
+ /**
272
+ * PATCH /{version}/membership/users/block
273
+ * Request DTO: BlockUserRequest
274
+ */
275
+ blockUser: (request?: Partial<CodeMashApi2.BlockUserRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.EmptyResponse>;
276
+ /**
277
+ * POST /{version}/membership/users/register/service
278
+ * Request DTO: SaveSystemUserWithPermissions
279
+ */
280
+ saveSystemUserWithPermissions: (request?: Partial<CodeMashApi2.SaveSystemUserWithPermissions>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.IdResponse>;
281
+ /**
282
+ * POST /{version}/membership/users/register/guest
283
+ * Request DTO: SaveGuestUser
284
+ */
285
+ saveGuestUser: (request?: Partial<CodeMashApi2.SaveGuestUser>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.IdResponse>;
286
+ /**
287
+ * POST /{version}/membership/users/register/user-name
288
+ * Request DTO: SaveUserNameUser
289
+ */
290
+ saveUserNameUser: (request?: Partial<CodeMashApi2.SaveUserNameUser>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.IdResponse>;
291
+ /**
292
+ * POST /{version}/membership/users/register/email
293
+ * Request DTO: SaveEmailUser
294
+ */
295
+ saveEmailUser: (request?: Partial<CodeMashApi2.SaveEmailUser>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.IdResponse>;
296
+ /**
297
+ * POST /{version}/membership/users/register/phone
298
+ * Request DTO: SavePhoneUser
299
+ */
300
+ savePhoneUser: (request?: Partial<CodeMashApi2.SavePhoneUser>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.IdResponse>;
301
+ /**
302
+ * POST /{version}/membership/users/register/phone-with-permissions
303
+ * Request DTO: SavePhoneUserNameWithPermissions
304
+ */
305
+ savePhoneUserNameWithPermissions: (request?: Partial<CodeMashApi2.SavePhoneUserNameWithPermissions>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.IdResponse>;
306
+ /**
307
+ * POST /{version}/membership/users/register/email-with-permissions
308
+ * Request DTO: SaveEmailUserNameWithPermissions
309
+ */
310
+ saveEmailUserNameWithPermissions: (request?: Partial<CodeMashApi2.SaveEmailUserNameWithPermissions>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.IdResponse>;
311
+ /**
312
+ * POST /{version}/membership/users/register/user-name-with-permissions
313
+ * Request DTO: SaveUserNameWithPermissions
314
+ */
315
+ saveUserNameWithPermissions: (request?: Partial<CodeMashApi2.SaveUserNameWithPermissions>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.IdResponse>;
316
+ /**
317
+ * DELETE /{version}/membership/users
318
+ * Request DTO: DeleteUserRequest
319
+ */
320
+ deleteUser: (request?: Partial<CodeMashApi2.DeleteUserRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.EmptyResponse>;
321
+ /**
322
+ * GET /{version}/membership/users/{id}
323
+ * Request DTO: GetUserRequest
324
+ */
325
+ getUser: (request?: Partial<CodeMashApi2.GetUserRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.GetUserResponse>;
326
+ /**
327
+ * GET /{version}/membership/users
328
+ * Request DTO: GetUsersRequest
329
+ */
330
+ getUsers: (request?: Partial<CodeMashApi2.GetUsersRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.GetUsersResponse>;
331
+ /**
332
+ * GET /{version}/membership/users/{id}/preferences
333
+ * Request DTO: GetUserPreferencesRequest
334
+ */
335
+ getUserPreferences: (request?: Partial<CodeMashApi2.GetUserPreferencesRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.GetUserPreferencesResponse>;
336
+ /**
337
+ * POST /{version}/membership/users/invite
338
+ * Request DTO: InviteUserRequest
339
+ */
340
+ inviteUser: (request?: Partial<CodeMashApi2.InviteUserRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.EmptyResponse>;
341
+ /**
342
+ * POST /{version}/membership/users/{userId}/link-identity
343
+ * Request DTO: LinkIdentityRequest
344
+ */
345
+ linkIdentity: (request?: Partial<CodeMashApi2.LinkIdentityRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.EmptyResponse>;
346
+ /**
347
+ * PUT /{version}/membership/users/assign-roles
348
+ * Request DTO: AssignRolePermissionsRequest
349
+ */
350
+ assignRolePermissions: (request?: Partial<CodeMashApi2.AssignRolePermissionsRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.EmptyResponse>;
351
+ /**
352
+ * PATCH /{version}/membership/users/unblock
353
+ * Request DTO: UnblockUserRequest
354
+ */
355
+ unblockUser: (request?: Partial<CodeMashApi2.UnblockUserRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.EmptyResponse>;
356
+ /**
357
+ * PUT /{version}/membership/users
358
+ * Request DTO: UpdateUserRequest
359
+ */
360
+ updateUser: (request?: Partial<CodeMashApi2.UpdateUserRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.IdResponse>;
361
+ /**
362
+ * PUT /{version}/membership/users/{id}/preferences
363
+ * Request DTO: UpdateUserPreferencesRequest
364
+ */
365
+ updateUserPreferences: (request?: Partial<CodeMashApi2.UpdateUserPreferencesRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.EmptyResponse>;
366
+ /**
367
+ * POST /{version}/membership/userauth/passkey/authentication-options
368
+ * Request DTO: PasskeyAuthenticationOptionsRequest
369
+ */
370
+ passkeyAuthenticationOptions: (request?: Partial<CodeMashApi2.PasskeyAuthenticationOptionsRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.PasskeyCeremonyOptionsResponse>;
371
+ /**
372
+ * POST /{version}/membership/userauth/passkey/verify-authentication
373
+ * Request DTO: VerifyPasskeyAuthenticationRequest
374
+ */
375
+ verifyPasskeyAuthentication: (request?: Partial<CodeMashApi2.VerifyPasskeyAuthenticationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.PasskeyAuthTokensResponse>;
376
+ /**
377
+ * GET /{version}/membership/userauth/passkeys
378
+ * Request DTO: ListPasskeysRequest
379
+ */
380
+ listPasskeys: (request?: Partial<CodeMashApi2.ListPasskeysRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.PasskeyListResponse>;
381
+ /**
382
+ * POST /{version}/membership/userauth/passkeys/{CredentialId}/rename
383
+ * Request DTO: RenamePasskeyRequest
384
+ */
385
+ renamePasskey: (request?: Partial<CodeMashApi2.RenamePasskeyRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.PasskeyOkResponse>;
386
+ /**
387
+ * POST /{version}/membership/userauth/passkeys/{CredentialId}/revoke
388
+ * Request DTO: RevokePasskeyRequest
389
+ */
390
+ revokePasskey: (request?: Partial<CodeMashApi2.RevokePasskeyRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.PasskeyOkResponse>;
391
+ /**
392
+ * POST /{version}/membership/userauth/recovery/use-code
393
+ * Request DTO: UseRecoveryCodeRequest
394
+ */
395
+ useRecoveryCode: (request?: Partial<CodeMashApi2.UseRecoveryCodeRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.PasskeyRecoveryResponse>;
396
+ /**
397
+ * POST /{version}/membership/userauth/recovery/magic-link/request
398
+ * Request DTO: RequestMagicLinkRequest
399
+ */
400
+ requestMagicLink: (request?: Partial<CodeMashApi2.RequestMagicLinkRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.PasskeyOkResponse>;
401
+ /**
402
+ * POST /{version}/membership/userauth/recovery/magic-link/consume
403
+ * Request DTO: ConsumeMagicLinkRequest
404
+ */
405
+ consumeMagicLink: (request?: Partial<CodeMashApi2.ConsumeMagicLinkRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.PasskeyRecoveryResponse>;
406
+ /**
407
+ * POST /{version}/membership/userauth/has-passkey
408
+ * Request DTO: HasPasskeyRequest
409
+ */
410
+ hasPasskey: (request?: Partial<CodeMashApi2.HasPasskeyRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.PasskeyOkResponse>;
411
+ /**
412
+ * POST /{version}/membership/userauth/email/start-verification
413
+ * Request DTO: StartEmailVerificationRequest
414
+ */
415
+ startEmailVerification: (request?: Partial<CodeMashApi2.StartEmailVerificationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.PasskeyOkResponse>;
416
+ /**
417
+ * POST /{version}/membership/userauth/email/confirm-verification
418
+ * Request DTO: ConfirmEmailVerificationRequest
419
+ */
420
+ confirmEmailVerification: (request?: Partial<CodeMashApi2.ConfirmEmailVerificationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.PasskeyVerificationTokenResponse>;
421
+ /**
422
+ * POST /{version}/membership/userauth/passkey/registration-options
423
+ * Request DTO: PasskeyRegistrationOptionsRequest
424
+ */
425
+ passkeyRegistrationOptions: (request?: Partial<CodeMashApi2.PasskeyRegistrationOptionsRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.PasskeyCeremonyOptionsResponse>;
426
+ /**
427
+ * POST /{version}/membership/userauth/passkey/verify-registration
428
+ * Request DTO: VerifyPasskeyRegistrationRequest
429
+ */
430
+ verifyPasskeyRegistration: (request?: Partial<CodeMashApi2.VerifyPasskeyRegistrationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.PasskeyAuthTokensResponse>;
431
+ /**
432
+ * POST /{version}/membership/userauth/token/refresh
433
+ * Request DTO: RefreshPasskeyTokenRequest
434
+ */
435
+ refreshPasskeyToken: (request?: Partial<CodeMashApi2.RefreshPasskeyTokenRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.PasskeyAuthTokensResponse>;
436
+ /**
437
+ * POST /{version}/membership/userauth/logout
438
+ * Request DTO: PasskeyLogoutRequest
439
+ */
440
+ passkeyLogout: (request?: Partial<CodeMashApi2.PasskeyLogoutRequest>, options?: RequestOverrideOptions) => Promise<CodeMashApi2.PasskeyOkResponse>;
441
+ }
442
+
443
+ /**
444
+ * Auto-generated namespace exposing every api endpoint group.
445
+ * Refreshed by `npm run generate-endpoints`.
446
+ */
447
+ declare class ApiNamespace {
448
+ readonly accessToken: AccessTokenModule;
449
+ readonly apikeys: ApikeysModule;
450
+ readonly auth: AuthModule;
451
+ readonly chat: ChatModule;
452
+ readonly database: DatabaseModule;
453
+ readonly echo: EchoModule;
454
+ readonly files: FilesModule;
455
+ readonly membership: MembershipModule;
456
+ constructor(transport: Transport);
457
+ }
458
+
459
+ export { ApiNamespace as A, DatabaseModule as D };