mitra-interactions-sdk 1.0.55 → 1.0.56-beta.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/dist/index.d.mts CHANGED
@@ -5,7 +5,7 @@ interface LoginOptions {
5
5
  /** URL da página de autenticação Mitra (ex: https://coder.mitralab.io/sdk-auth/). Opcional se já configurado via configureSdkMitra. */
6
6
  authUrl?: string;
7
7
  /** ID do projeto. Opcional se já configurado via configureSdkMitra. */
8
- projectId?: number;
8
+ projectId?: number | string;
9
9
  /** Modo de login: 'popup' (default) abre popup, 'redirect' navega para a página de auth. */
10
10
  mode?: 'popup' | 'redirect';
11
11
  /** URL de retorno após login com mode 'redirect'. A página de auth redirecionará de volta para esta URL com token nos query params. */
@@ -18,6 +18,8 @@ interface LoginOptions {
18
18
  interface LoginResponse {
19
19
  /** Token JWT (já com prefixo Bearer) */
20
20
  token: string;
21
+ /** Refresh token (novo Mitra). Presente apenas no novo mundo. */
22
+ refreshToken?: string;
21
23
  /** URL base da API */
22
24
  baseURL: string;
23
25
  /** URL do serviço de integrações (opcional) */
@@ -27,7 +29,7 @@ interface EmailSignupOptions {
27
29
  /** URL da página de auth (ex: https://validacao.mitralab.io/sdk-auth/). Opcional se já configurado via configureSdkMitra. */
28
30
  authUrl?: string;
29
31
  /** ID do projeto. Opcional se já configurado via configureSdkMitra. */
30
- projectId?: number;
32
+ projectId?: number | string;
31
33
  /** Nome completo do usuário */
32
34
  name: string;
33
35
  /** Email do usuário */
@@ -39,7 +41,7 @@ interface EmailLoginOptions {
39
41
  /** URL da página de auth (ex: https://validacao.mitralab.io/sdk-auth/). Opcional se já configurado via configureSdkMitra. */
40
42
  authUrl?: string;
41
43
  /** ID do projeto. Opcional se já configurado via configureSdkMitra. */
42
- projectId?: number;
44
+ projectId?: number | string;
43
45
  /** Email do usuário */
44
46
  email: string;
45
47
  /** Senha */
@@ -49,7 +51,7 @@ interface EmailVerifyCodeOptions {
49
51
  /** URL da página de auth. Opcional se já configurado via configureSdkMitra. */
50
52
  authUrl?: string;
51
53
  /** ID do projeto. Opcional se já configurado via configureSdkMitra. */
52
- projectId?: number;
54
+ projectId?: number | string;
53
55
  /** Email do usuário */
54
56
  email: string;
55
57
  /** Código de verificação de 6 dígitos */
@@ -61,19 +63,19 @@ interface EmailResendCodeOptions {
61
63
  /** URL da página de auth. Opcional se já configurado via configureSdkMitra. */
62
64
  authUrl?: string;
63
65
  /** ID do projeto. Opcional se já configurado via configureSdkMitra. */
64
- projectId?: number;
66
+ projectId?: number | string;
65
67
  /** Email do usuário */
66
68
  email: string;
67
69
  }
68
70
  interface ExecuteDataLoaderOptions {
69
- projectId?: number;
70
- dataLoaderId: number;
71
+ projectId?: number | string;
72
+ dataLoaderId: number | string;
71
73
  input?: Record<string, unknown>;
72
74
  }
73
75
  interface ExecuteDataLoaderResponse {
74
76
  status: string;
75
77
  result: {
76
- dataLoaderId: number;
78
+ dataLoaderId: number | string;
77
79
  executionLog: {
78
80
  timestamp: string;
79
81
  rowCount: number;
@@ -87,9 +89,9 @@ interface ExecuteDataLoaderResponse {
87
89
  }
88
90
  interface ExecuteDbActionOptions {
89
91
  /** ID do projeto (opcional se já configurado via configureSdkMitra) */
90
- projectId?: number;
92
+ projectId?: number | string;
91
93
  /** ID da DBAction cadastrada */
92
- dbActionId: number;
94
+ dbActionId: number | string;
93
95
  /** Parâmetros de entrada (opcional) — substituição de variáveis no SQL (ex: { "nome": "João" } substitui :nome) */
94
96
  input?: Record<string, unknown>;
95
97
  }
@@ -101,7 +103,7 @@ interface ExecuteDbActionResponse {
101
103
  }
102
104
  interface SetFileStatusOptions {
103
105
  /** ID do projeto (opcional se já configurado via configureSdkMitra) */
104
- projectId?: number;
106
+ projectId?: number | string;
105
107
  /** Nome do arquivo */
106
108
  fileName: string;
107
109
  /** Caminho de destino: "PUBLIC" ou "LOADABLE" */
@@ -118,7 +120,7 @@ interface SetFileStatusResponse {
118
120
  }
119
121
  interface SetVariableOptions {
120
122
  /** ID do projeto (opcional se já configurado via configureSdkMitra) */
121
- projectId?: number;
123
+ projectId?: number | string;
122
124
  /** Nome da variável (key) */
123
125
  key: string;
124
126
  /** Valor da variável (opcional) */
@@ -133,9 +135,9 @@ interface SetVariableResponse {
133
135
  }
134
136
  interface ExecuteServerFunctionOptions {
135
137
  /** ID do projeto (opcional se já configurado via configureSdkMitra) */
136
- projectId?: number;
138
+ projectId?: number | string;
137
139
  /** ID da Server Function cadastrada */
138
- serverFunctionId: number;
140
+ serverFunctionId: number | string;
139
141
  /** Objeto de entrada para a função (opcional) */
140
142
  input?: Record<string, unknown>;
141
143
  }
@@ -152,9 +154,9 @@ interface ExecuteServerFunctionResponse {
152
154
  }
153
155
  interface ExecuteServerFunctionAsyncOptions {
154
156
  /** ID do projeto (opcional se já configurado via configureSdkMitra) */
155
- projectId?: number;
157
+ projectId?: number | string;
156
158
  /** ID da Server Function cadastrada */
157
- serverFunctionId: number;
159
+ serverFunctionId: number | string;
158
160
  /** Objeto de entrada para a função (opcional) */
159
161
  input?: Record<string, unknown>;
160
162
  }
@@ -167,9 +169,9 @@ interface ExecuteServerFunctionAsyncResponse {
167
169
  }
168
170
  interface ExecutePublicServerFunctionOptions {
169
171
  /** ID do projeto (tenant) */
170
- projectId: number;
172
+ projectId: number | string;
171
173
  /** ID da Server Function (deve ter publicExecution = true) */
172
- serverFunctionId: number;
174
+ serverFunctionId: number | string;
173
175
  /** Objeto de entrada para a função (opcional) */
174
176
  input?: Record<string, unknown>;
175
177
  }
@@ -186,7 +188,7 @@ interface ExecutePublicServerFunctionAsyncResponse {
186
188
  status: string;
187
189
  }
188
190
  interface GetPublicServerFunctionExecutionOptions {
189
- projectId: number;
191
+ projectId: number | string;
190
192
  executionId: string;
191
193
  }
192
194
  interface GetPublicServerFunctionExecutionResponse {
@@ -205,54 +207,54 @@ interface ListRecordsResponse {
205
207
  totalPages: number;
206
208
  }
207
209
  interface ListRecordsOptions {
208
- projectId?: number;
210
+ projectId?: number | string;
209
211
  tableName: string;
210
212
  page?: number;
211
213
  size?: number;
212
214
  filters?: Record<string, unknown>;
213
- jdbcConnectionConfigId?: number;
215
+ jdbcConnectionConfigId?: number | string;
214
216
  }
215
217
  interface GetRecordOptions {
216
- projectId?: number;
218
+ projectId?: number | string;
217
219
  tableName: string;
218
- id: number;
219
- jdbcConnectionConfigId?: number;
220
+ id: number | string;
221
+ jdbcConnectionConfigId?: number | string;
220
222
  }
221
223
  interface CreateRecordOptions {
222
- projectId?: number;
224
+ projectId?: number | string;
223
225
  tableName: string;
224
226
  data: Record<string, unknown>;
225
- jdbcConnectionConfigId?: number;
227
+ jdbcConnectionConfigId?: number | string;
226
228
  }
227
229
  interface UpdateRecordOptions {
228
- projectId?: number;
230
+ projectId?: number | string;
229
231
  tableName: string;
230
- id: number;
232
+ id: number | string;
231
233
  data: Record<string, unknown>;
232
- jdbcConnectionConfigId?: number;
234
+ jdbcConnectionConfigId?: number | string;
233
235
  }
234
236
  interface PatchRecordOptions {
235
- projectId?: number;
237
+ projectId?: number | string;
236
238
  tableName: string;
237
- id: number;
239
+ id: number | string;
238
240
  data: Record<string, unknown>;
239
- jdbcConnectionConfigId?: number;
241
+ jdbcConnectionConfigId?: number | string;
240
242
  }
241
243
  interface DeleteRecordOptions {
242
- projectId?: number;
244
+ projectId?: number | string;
243
245
  tableName: string;
244
- id: number;
245
- jdbcConnectionConfigId?: number;
246
+ id: number | string;
247
+ jdbcConnectionConfigId?: number | string;
246
248
  }
247
249
  interface CreateRecordsBatchOptions {
248
- projectId?: number;
250
+ projectId?: number | string;
249
251
  tableName: string;
250
252
  records: Record<string, unknown>[];
251
- jdbcConnectionConfigId?: number;
253
+ jdbcConnectionConfigId?: number | string;
252
254
  }
253
255
  interface UploadFileOptions {
254
256
  /** ID do projeto (opcional se já configurado via configureSdkMitra) */
255
- projectId?: number;
257
+ projectId?: number | string;
256
258
  /** Arquivo a ser enviado (File ou Blob) */
257
259
  file: File | Blob;
258
260
  /** Habilitar debug (opcional) */
@@ -269,11 +271,11 @@ interface UploadFileResponse {
269
271
  }
270
272
  interface ListVariablesOptions {
271
273
  /** ID do projeto (opcional se já configurado via configureSdkMitra) */
272
- projectId?: number;
274
+ projectId?: number | string;
273
275
  }
274
276
  interface ListVariablesResponse {
275
277
  status: string;
276
- projectId: number;
278
+ projectId: number | string;
277
279
  result: {
278
280
  key: string;
279
281
  value: string;
@@ -281,7 +283,7 @@ interface ListVariablesResponse {
281
283
  }
282
284
  interface GetVariableOptions {
283
285
  /** ID do projeto (opcional se já configurado via configureSdkMitra) */
284
- projectId?: number;
286
+ projectId?: number | string;
285
287
  /** Nome da variável (com ou sem :VAR_) */
286
288
  key: string;
287
289
  }
@@ -294,9 +296,9 @@ interface GetVariableResponse {
294
296
  }
295
297
  interface RunActionOptions {
296
298
  /** ID do projeto (opcional se já configurado via configureSdkMitra) */
297
- projectId?: number;
299
+ projectId?: number | string;
298
300
  /** ID da Action a executar */
299
- actionId: number;
301
+ actionId: number | string;
300
302
  /** Parâmetros de entrada para a action (opcional) */
301
303
  input?: Record<string, unknown>;
302
304
  }
@@ -310,7 +312,7 @@ interface RunActionResponse {
310
312
  }
311
313
  interface CallIntegrationOptions {
312
314
  /** ID do projeto (opcional se já configurado via configureSdkMitra) */
313
- projectId?: number;
315
+ projectId?: number | string;
314
316
  /** Slug da integração configurada no painel */
315
317
  connection: string;
316
318
  /** Método HTTP: GET, POST, PUT, DELETE */
@@ -330,11 +332,11 @@ interface CallIntegrationResponse {
330
332
  }
331
333
  interface ListIntegrationsOptions {
332
334
  /** ID do projeto (opcional se já configurado via configureSdkMitra) */
333
- projectId?: number;
335
+ projectId?: number | string;
334
336
  }
335
337
  interface IntegrationResponse {
336
338
  id: string;
337
- projectId: number;
339
+ projectId: number | string;
338
340
  name: string;
339
341
  slug: string;
340
342
  blueprintId: string | null;
@@ -348,7 +350,7 @@ interface IntegrationResponse {
348
350
  }
349
351
  interface StopServerFunctionExecutionOptions {
350
352
  /** ID do projeto (opcional se já configurado via configureSdkMitra) */
351
- projectId?: number;
353
+ projectId?: number | string;
352
354
  /** ID da execução a ser parada */
353
355
  executionId: string;
354
356
  }
@@ -360,87 +362,87 @@ interface StopServerFunctionExecutionResponse {
360
362
  };
361
363
  }
362
364
  interface ListProfilesOptions {
363
- projectId?: number;
365
+ projectId?: number | string;
364
366
  }
365
367
  interface ListProfilesResponse {
366
368
  status: string;
367
- projectId: number;
369
+ projectId: number | string;
368
370
  result: {
369
- id: number;
371
+ id: number | string;
370
372
  name: string;
371
373
  color: string;
372
- homeScreenId: number;
374
+ homeScreenId: number | string;
373
375
  }[];
374
376
  }
375
377
  interface GetProfileDetailsOptions {
376
- projectId?: number;
377
- profileId: number;
378
+ projectId?: number | string;
379
+ profileId: number | string;
378
380
  }
379
381
  interface GetProfileDetailsResponse {
380
382
  status: string;
381
- projectId: number;
383
+ projectId: number | string;
382
384
  result: {
383
- id: number;
385
+ id: number | string;
384
386
  name: string;
385
387
  users: {
386
- id: number;
388
+ id: number | string;
387
389
  name: string;
388
390
  email: string;
389
391
  }[];
390
392
  selectTables: {
391
393
  tableName: string;
392
- jdbcConnectionConfigId?: number;
394
+ jdbcConnectionConfigId?: number | string;
393
395
  }[];
394
396
  dmlTables: {
395
397
  tableName: string;
396
- jdbcConnectionConfigId?: number;
398
+ jdbcConnectionConfigId?: number | string;
397
399
  }[];
398
400
  actions: {
399
- id: number;
401
+ id: number | string;
400
402
  name: string;
401
403
  }[];
402
404
  screens: {
403
- id: number;
405
+ id: number | string;
404
406
  name: string;
405
407
  }[];
406
408
  serverFunctions: {
407
- id: number;
409
+ id: number | string;
408
410
  name: string;
409
411
  }[];
410
412
  };
411
413
  }
412
414
  interface CreateProfileOptions {
413
- projectId?: number;
415
+ projectId?: number | string;
414
416
  name: string;
415
417
  color?: string;
416
- homeScreenId?: number;
418
+ homeScreenId?: number | string;
417
419
  }
418
420
  interface CreateProfileResponse {
419
421
  status: string;
420
422
  result: {
421
- id: number;
423
+ id: number | string;
422
424
  name: string;
423
425
  message: string;
424
426
  };
425
427
  }
426
428
  interface UpdateProfileOptions {
427
- projectId?: number;
428
- profileId: number;
429
+ projectId?: number | string;
430
+ profileId: number | string;
429
431
  name?: string;
430
432
  color?: string;
431
- homeScreenId?: number;
433
+ homeScreenId?: number | string;
432
434
  }
433
435
  interface UpdateProfileResponse {
434
436
  status: string;
435
437
  result: {
436
- id: number;
438
+ id: number | string;
437
439
  name: string;
438
440
  message: string;
439
441
  };
440
442
  }
441
443
  interface DeleteProfileOptions {
442
- projectId?: number;
443
- profileId: number;
444
+ projectId?: number | string;
445
+ profileId: number | string;
444
446
  }
445
447
  interface DeleteProfileResponse {
446
448
  status: string;
@@ -449,44 +451,44 @@ interface DeleteProfileResponse {
449
451
  };
450
452
  }
451
453
  interface SetProfileUsersOptions {
452
- projectId?: number;
453
- profileId: number;
454
+ projectId?: number | string;
455
+ profileId: number | string;
454
456
  userIds: number[];
455
457
  }
456
458
  interface ProfileTableRef {
457
459
  tableName: string;
458
460
  }
459
461
  interface SetProfileSelectTablesOptions {
460
- projectId?: number;
461
- profileId: number;
462
- jdbcConnectionConfigId?: number;
462
+ projectId?: number | string;
463
+ profileId: number | string;
464
+ jdbcConnectionConfigId?: number | string;
463
465
  tables: ProfileTableRef[];
464
466
  }
465
467
  interface SetProfileDmlTablesOptions {
466
- projectId?: number;
467
- profileId: number;
468
- jdbcConnectionConfigId?: number;
468
+ projectId?: number | string;
469
+ profileId: number | string;
470
+ jdbcConnectionConfigId?: number | string;
469
471
  tables: ProfileTableRef[];
470
472
  }
471
473
  interface SetProfileActionsOptions {
472
- projectId?: number;
473
- profileId: number;
474
+ projectId?: number | string;
475
+ profileId: number | string;
474
476
  actionIds: number[];
475
477
  }
476
478
  interface SetProfileScreensOptions {
477
- projectId?: number;
478
- profileId: number;
479
+ projectId?: number | string;
480
+ profileId: number | string;
479
481
  screenIds: number[];
480
482
  }
481
483
  interface SetProfileServerFunctionsOptions {
482
- projectId?: number;
483
- profileId: number;
484
+ projectId?: number | string;
485
+ profileId: number | string;
484
486
  serverFunctionIds: number[];
485
487
  }
486
488
  interface SetProfilePermissionResponse {
487
489
  status: string;
488
490
  result: {
489
- profileId: number;
491
+ profileId: number | string;
490
492
  message: string;
491
493
  [key: string]: unknown;
492
494
  };
@@ -545,12 +547,14 @@ interface MitraConfig {
545
547
  baseURL: string;
546
548
  /** Token JWT para autenticação (opcional para Server Functions públicas) */
547
549
  token?: string;
550
+ /** Refresh token (novo Mitra). Necessário para refresh automático no novo mundo. */
551
+ refreshToken?: string;
548
552
  /** URL base do serviço de integrações (ex: https://api0.mitraecp.com:1003) */
549
553
  integrationURL?: string;
550
554
  /** URL da página de autenticação Mitra (ex: https://coder.mitralab.io/sdk-auth/) */
551
555
  authUrl?: string;
552
556
  /** ID do projeto (usado como fallback nos métodos de login e serviços) */
553
- projectId?: number;
557
+ projectId?: number | string;
554
558
  /** Callback chamado quando o token é renovado automaticamente (após 401/403). Recebe a nova sessão. */
555
559
  onTokenRefresh?: (session: LoginResponse) => void;
556
560
  }
@@ -565,12 +569,7 @@ declare function getConfig(): MitraConfig;
565
569
  /**
566
570
  * Resolve projectId: usa o valor passado, senão pega do config salvo.
567
571
  */
568
- declare function resolveProjectId(projectId?: number): number;
569
-
570
- /**
571
- * Stop tracking user activity.
572
- */
573
- declare function stopTracking(): void;
572
+ declare function resolveProjectId(projectId?: number | string): number | string;
574
573
 
575
574
  /**
576
575
  * Mitra Interactions SDK - Chat Integration
@@ -589,56 +588,24 @@ declare function openChatMitra(): void;
589
588
  declare function closeChatMitra(): void;
590
589
 
591
590
  /**
592
- * Mitra Interactions SDK - Autenticação
591
+ * Mitra Interactions SDK - Autenticação (Router)
592
+ *
593
+ * Roteia chamadas de auth para a implementação correta com base no `authUrl`:
594
+ * - URLs legadas (`coder.mitralab.io/sdk-auth/`, `agent.mitralab.io/sdk-auth/`) → auth-legacy.ts
595
+ * - Qualquer outro authUrl → auth-new.ts (novo Mitra: Kong gateway + IAM service)
593
596
  *
594
- * Login via popup seguro hospedado no domínio Mitra.
595
- * Credenciais nunca passam pelo código do desenvolvedor.
597
+ * A API pública é idêntica à legacy. Consumers não precisam alterar código.
596
598
  */
597
599
 
598
- /**
599
- * Login com email e senha via popup/redirect seguro Mitra.
600
- */
600
+ declare function loginMitra(method: 'email' | 'google' | 'microsoft' | 'mitra', options?: LoginOptions): Promise<LoginResponse>;
601
601
  declare function loginWithEmailMitra(options?: LoginOptions): Promise<LoginResponse>;
602
- /**
603
- * Login com Google via popup/redirect seguro Mitra.
604
- */
605
602
  declare function loginWithGoogleMitra(options?: LoginOptions): Promise<LoginResponse>;
606
- /**
607
- * Login com Microsoft via popup/redirect seguro Mitra.
608
- */
609
603
  declare function loginWithMicrosoftMitra(options?: LoginOptions): Promise<LoginResponse>;
610
- /**
611
- * Login genérico via popup/redirect seguro Mitra.
612
- */
613
- declare function loginMitra(method: 'email' | 'google' | 'microsoft' | 'mitra', options?: LoginOptions): Promise<LoginResponse>;
614
- /**
615
- * Renova o token silenciosamente via iframe invisível.
616
- * Se já houver um refresh em andamento, reaproveita a mesma promise.
617
- */
618
- declare function refreshTokenSilently(authUrl: string, projectId: number): Promise<LoginResponse>;
619
- /**
620
- * Cria conta via email usando iframe silencioso.
621
- * Após sucesso, o usuário recebe um código de verificação por email.
622
- * Fluxo: emailSignupMitra → emailVerifyCodeMitra → emailLoginMitra
623
- */
624
604
  declare function emailSignupMitra(options: EmailSignupOptions): Promise<void>;
625
- /**
626
- * Verifica o código de 6 dígitos enviado por email após signup.
627
- * Após verificação, faz login automático e retorna LoginResponse.
628
- * Auto-configura o SDK após sucesso.
629
- */
605
+ declare function emailLoginMitra(options: EmailLoginOptions): Promise<LoginResponse>;
630
606
  declare function emailVerifyCodeMitra(options: EmailVerifyCodeOptions): Promise<LoginResponse>;
631
- /**
632
- * Reenvia o código de verificação para o email.
633
- */
634
607
  declare function emailResendCodeMitra(options: EmailResendCodeOptions): Promise<void>;
635
- /**
636
- * Login via email e senha usando iframe silencioso.
637
- * O HTML de auth faz a chamada à API e resolve as credenciais do projeto.
638
- * Retorna LoginResponse com token, baseURL e integrationURL.
639
- * Auto-configura o SDK após sucesso.
640
- */
641
- declare function emailLoginMitra(options: EmailLoginOptions): Promise<LoginResponse>;
608
+ declare function refreshTokenSilently(authUrl: string, projectId: number | string): Promise<LoginResponse>;
642
609
 
643
610
  /**
644
611
  * Mitra Interactions SDK - Services
@@ -795,4 +762,4 @@ declare function setProfileScreensMitra(options: SetProfileScreensOptions): Prom
795
762
  */
796
763
  declare function setProfileServerFunctionsMitra(options: SetProfileServerFunctionsOptions): Promise<SetProfilePermissionResponse>;
797
764
 
798
- export { type CallIntegrationOptions, type CallIntegrationResponse, type CreateProfileOptions, type CreateProfileResponse, type CreateRecordOptions, type CreateRecordsBatchOptions, type DeleteProfileOptions, type DeleteProfileResponse, type DeleteRecordOptions, type EmailLoginOptions, type EmailResendCodeOptions, type EmailSignupOptions, type EmailVerifyCodeOptions, type ExecuteDataLoaderOptions, type ExecuteDataLoaderResponse, type ExecuteDbActionOptions, type ExecuteDbActionResponse, type ExecutePublicServerFunctionAsyncResponse, type ExecutePublicServerFunctionOptions, type ExecutePublicServerFunctionResponse, type ExecuteServerFunctionAsyncOptions, type ExecuteServerFunctionAsyncResponse, type ExecuteServerFunctionOptions, type ExecuteServerFunctionResponse, type GetProfileDetailsOptions, type GetProfileDetailsResponse, type GetPublicServerFunctionExecutionOptions, type GetPublicServerFunctionExecutionResponse, type GetRecordOptions, type GetVariableOptions, type GetVariableResponse, type IntegrationResponse, type ListIntegrationsOptions, type ListProfilesOptions, type ListProfilesResponse, type ListRecordsOptions, type ListRecordsResponse, type ListVariablesOptions, type ListVariablesResponse, type LoginOptions, type LoginResponse, type MitraConfig, type MitraInstance, type PatchRecordOptions, type ProfileTableRef, type RunActionOptions, type RunActionResponse, type SetFileStatusOptions, type SetFileStatusResponse, type SetProfileActionsOptions, type SetProfileDmlTablesOptions, type SetProfilePermissionResponse, type SetProfileScreensOptions, type SetProfileSelectTablesOptions, type SetProfileServerFunctionsOptions, type SetProfileUsersOptions, type SetVariableOptions, type SetVariableResponse, type StopServerFunctionExecutionOptions, type StopServerFunctionExecutionResponse, type UpdateProfileOptions, type UpdateProfileResponse, type UpdateRecordOptions, type UploadFileOptions, type UploadFileResponse, callIntegrationMitra, closeChatMitra, configureSdkMitra, createMitraInstance, createProfileMitra, createRecordMitra, createRecordsBatchMitra, deleteProfileMitra, deleteRecordMitra, emailLoginMitra, emailResendCodeMitra, emailSignupMitra, emailVerifyCodeMitra, executeDataLoaderMitra, executeDbActionMitra, executePublicServerFunctionAsyncMitra, executePublicServerFunctionMitra, executeServerFunctionAsyncMitra, executeServerFunctionMitra, getConfig, getProfileDetailsMitra, getPublicServerFunctionExecutionMitra, getRecordMitra, getVariableMitra, listIntegrationsMitra, listProfilesMitra, listRecordsMitra, listVariablesMitra, loginMitra, loginWithEmailMitra, loginWithGoogleMitra, loginWithMicrosoftMitra, openChatMitra, patchRecordMitra, refreshTokenSilently, resolveProjectId, runActionMitra, setFileStatusMitra, setProfileActionsMitra, setProfileDmlTablesMitra, setProfileScreensMitra, setProfileSelectTablesMitra, setProfileServerFunctionsMitra, setProfileUsersMitra, setVariableMitra, stopServerFunctionExecutionMitra, stopTracking, updateProfileMitra, updateRecordMitra, uploadFileLoadableMitra, uploadFilePublicMitra };
765
+ export { type CallIntegrationOptions, type CallIntegrationResponse, type CreateProfileOptions, type CreateProfileResponse, type CreateRecordOptions, type CreateRecordsBatchOptions, type DeleteProfileOptions, type DeleteProfileResponse, type DeleteRecordOptions, type EmailLoginOptions, type EmailResendCodeOptions, type EmailSignupOptions, type EmailVerifyCodeOptions, type ExecuteDataLoaderOptions, type ExecuteDataLoaderResponse, type ExecuteDbActionOptions, type ExecuteDbActionResponse, type ExecutePublicServerFunctionAsyncResponse, type ExecutePublicServerFunctionOptions, type ExecutePublicServerFunctionResponse, type ExecuteServerFunctionAsyncOptions, type ExecuteServerFunctionAsyncResponse, type ExecuteServerFunctionOptions, type ExecuteServerFunctionResponse, type GetProfileDetailsOptions, type GetProfileDetailsResponse, type GetPublicServerFunctionExecutionOptions, type GetPublicServerFunctionExecutionResponse, type GetRecordOptions, type GetVariableOptions, type GetVariableResponse, type IntegrationResponse, type ListIntegrationsOptions, type ListProfilesOptions, type ListProfilesResponse, type ListRecordsOptions, type ListRecordsResponse, type ListVariablesOptions, type ListVariablesResponse, type LoginOptions, type LoginResponse, type MitraConfig, type MitraInstance, type PatchRecordOptions, type ProfileTableRef, type RunActionOptions, type RunActionResponse, type SetFileStatusOptions, type SetFileStatusResponse, type SetProfileActionsOptions, type SetProfileDmlTablesOptions, type SetProfilePermissionResponse, type SetProfileScreensOptions, type SetProfileSelectTablesOptions, type SetProfileServerFunctionsOptions, type SetProfileUsersOptions, type SetVariableOptions, type SetVariableResponse, type StopServerFunctionExecutionOptions, type StopServerFunctionExecutionResponse, type UpdateProfileOptions, type UpdateProfileResponse, type UpdateRecordOptions, type UploadFileOptions, type UploadFileResponse, callIntegrationMitra, closeChatMitra, configureSdkMitra, createMitraInstance, createProfileMitra, createRecordMitra, createRecordsBatchMitra, deleteProfileMitra, deleteRecordMitra, emailLoginMitra, emailResendCodeMitra, emailSignupMitra, emailVerifyCodeMitra, executeDataLoaderMitra, executeDbActionMitra, executePublicServerFunctionAsyncMitra, executePublicServerFunctionMitra, executeServerFunctionAsyncMitra, executeServerFunctionMitra, getConfig, getProfileDetailsMitra, getPublicServerFunctionExecutionMitra, getRecordMitra, getVariableMitra, listIntegrationsMitra, listProfilesMitra, listRecordsMitra, listVariablesMitra, loginMitra, loginWithEmailMitra, loginWithGoogleMitra, loginWithMicrosoftMitra, openChatMitra, patchRecordMitra, refreshTokenSilently, resolveProjectId, runActionMitra, setFileStatusMitra, setProfileActionsMitra, setProfileDmlTablesMitra, setProfileScreensMitra, setProfileSelectTablesMitra, setProfileServerFunctionsMitra, setProfileUsersMitra, setVariableMitra, stopServerFunctionExecutionMitra, updateProfileMitra, updateRecordMitra, uploadFileLoadableMitra, uploadFilePublicMitra };