@vizzly/api-client 0.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.
Files changed (58) hide show
  1. package/README.md +1 -0
  2. package/dist/errors/DashboardQuotaReached.d.ts +3 -0
  3. package/dist/errors/DashboardQuotaReached.js +10 -0
  4. package/dist/errors/FailedToCreateDashboard.d.ts +3 -0
  5. package/dist/errors/FailedToCreateDashboard.js +10 -0
  6. package/dist/errors/FailedToFetchDashboardAccessTokens.d.ts +3 -0
  7. package/dist/errors/FailedToFetchDashboardAccessTokens.js +10 -0
  8. package/dist/errors/FailedToFetchDashboards.d.ts +3 -0
  9. package/dist/errors/FailedToFetchDashboards.js +10 -0
  10. package/dist/errors/FailedToFetchGlobalLibraries.d.ts +3 -0
  11. package/dist/errors/FailedToFetchGlobalLibraries.js +10 -0
  12. package/dist/errors/FailedToFetchGlobalLibraryAccessTokens.d.ts +3 -0
  13. package/dist/errors/FailedToFetchGlobalLibraryAccessTokens.js +10 -0
  14. package/dist/errors/FailedToResolveDataSets.d.ts +3 -0
  15. package/dist/errors/FailedToResolveDataSets.js +10 -0
  16. package/dist/errors/FailedToSetupProject.d.ts +3 -0
  17. package/dist/errors/FailedToSetupProject.js +10 -0
  18. package/dist/errors/MissingAuthParameter.d.ts +4 -0
  19. package/dist/errors/MissingAuthParameter.js +9 -0
  20. package/dist/errors/MissingRequiredVizzlyQueryEngineApi.d.ts +2 -0
  21. package/dist/errors/MissingRequiredVizzlyQueryEngineApi.js +6 -0
  22. package/dist/errors/SQLPreviewError.d.ts +4 -0
  23. package/dist/errors/SQLPreviewError.js +11 -0
  24. package/dist/errors/ValidationError.d.ts +3 -0
  25. package/dist/errors/ValidationError.js +10 -0
  26. package/dist/errors/index.d.ts +10 -0
  27. package/dist/errors/index.js +26 -0
  28. package/dist/index.d.ts +8 -0
  29. package/dist/index.js +37 -0
  30. package/dist/interfaces/iSerialize.d.ts +10 -0
  31. package/dist/interfaces/iSerialize.js +1 -0
  32. package/dist/models/Api.d.ts +9 -0
  33. package/dist/models/Api.js +47 -0
  34. package/dist/models/Authentication.d.ts +16 -0
  35. package/dist/models/Authentication.js +98 -0
  36. package/dist/models/Dashboard.d.ts +24 -0
  37. package/dist/models/Dashboard.js +156 -0
  38. package/dist/models/DashboardRepository.d.ts +41 -0
  39. package/dist/models/DashboardRepository.js +92 -0
  40. package/dist/models/GlobalLibraryRepository.d.ts +35 -0
  41. package/dist/models/GlobalLibraryRepository.js +106 -0
  42. package/dist/models/ImplementationStrategy.d.ts +9 -0
  43. package/dist/models/ImplementationStrategy.js +18 -0
  44. package/dist/models/Permission.d.ts +26 -0
  45. package/dist/models/Permission.js +22 -0
  46. package/dist/models/Vizzly.d.ts +17 -0
  47. package/dist/models/Vizzly.js +39 -0
  48. package/dist/models/VizzlyApi.d.ts +77 -0
  49. package/dist/models/VizzlyApi.js +423 -0
  50. package/dist/models/VizzlyAppApi.d.ts +54 -0
  51. package/dist/models/VizzlyAppApi.js +348 -0
  52. package/dist/models/VizzlyQueryEngineApi.d.ts +50 -0
  53. package/dist/models/VizzlyQueryEngineApi.js +311 -0
  54. package/dist/types/dashboard.d.ts +23 -0
  55. package/dist/types/dashboard.js +2 -0
  56. package/dist/types.d.ts +405 -0
  57. package/dist/types.js +17 -0
  58. package/package.json +37 -0
@@ -0,0 +1,423 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.VizzlyApi = void 0;
13
+ const Api_1 = require("./Api");
14
+ class VizzlyApi extends Api_1.Api {
15
+ constructor(auth, host = 'https://api.vizzly.co') {
16
+ super(auth, host);
17
+ }
18
+ buildFetchDashboardAccessTokensRequest() {
19
+ return {
20
+ path: '/api/v2/auth/dashboards/access',
21
+ method: 'post',
22
+ body: {
23
+ dashboardAccessToken: this.auth.getDashboardAccessToken(),
24
+ projectAdminOverrideToken: this.auth.getProjectAdminOverrideToken(),
25
+ },
26
+ };
27
+ }
28
+ buildFetchGlobalLibrariesRequest(params) {
29
+ return {
30
+ path: '/api/v2/multi-get-global-library',
31
+ method: 'post',
32
+ body: {
33
+ globalLibraryAccessTokens: params.globalLibraryAccessTokens,
34
+ },
35
+ };
36
+ }
37
+ buildFetchGlobalLibraryAccessTokensRequest() {
38
+ return {
39
+ path: '/api/v2/auth/global-library/access',
40
+ method: 'post',
41
+ body: {
42
+ dashboardAccessToken: this.auth.getDashboardAccessToken(),
43
+ projectAdminOverrideToken: this.auth.getProjectAdminOverrideToken(),
44
+ },
45
+ };
46
+ }
47
+ buildCreateDashboardRequest(params) {
48
+ return {
49
+ path: '/api/v2/dashboard',
50
+ method: 'post',
51
+ body: {
52
+ dashboardAccessToken: this.auth.getDashboardAccessToken(),
53
+ definition: params.definition,
54
+ meta: params.metadata || {},
55
+ parentDashboardId: params.parentDashboardId,
56
+ permissions: params.permissions,
57
+ },
58
+ };
59
+ }
60
+ buildFetchDashboardsRequest(dashboardSessionAccessTokens) {
61
+ return {
62
+ path: '/api/v2/multi-get-dashboard',
63
+ method: 'post',
64
+ body: {
65
+ dashboardAccessTokens: dashboardSessionAccessTokens,
66
+ },
67
+ };
68
+ }
69
+ createParentDashboard(params) {
70
+ return __awaiter(this, void 0, void 0, function* () {
71
+ return yield this.execute(this.buildCreateParentDashboardRequest(params));
72
+ });
73
+ }
74
+ buildCreateParentDashboardRequest(params) {
75
+ return {
76
+ path: '/api/v2/parent-dashboard',
77
+ method: 'post',
78
+ body: {
79
+ projectId: params.projectId,
80
+ definition: params.definition,
81
+ },
82
+ };
83
+ }
84
+ createParentGlobalLibrary(params) {
85
+ return __awaiter(this, void 0, void 0, function* () {
86
+ return yield this.execute(this.buildCreateParentGlobalLibraryRequest(params));
87
+ });
88
+ }
89
+ buildCreateParentGlobalLibraryRequest(params) {
90
+ return {
91
+ path: '/api/v2/parent-global-library',
92
+ method: 'post',
93
+ body: {
94
+ projectId: params.projectId,
95
+ library: params.library,
96
+ },
97
+ };
98
+ }
99
+ createGlobalLibrary(params) {
100
+ return __awaiter(this, void 0, void 0, function* () {
101
+ return yield this.execute(this.buildCreateGlobalLibraryRequest(params));
102
+ });
103
+ }
104
+ buildCreateGlobalLibraryRequest(params) {
105
+ return {
106
+ path: '/api/v2/global-library',
107
+ method: 'post',
108
+ body: {
109
+ dashboardAccessToken: this.auth.getDashboardAccessToken(),
110
+ parentGlobalLibraryId: params.parentGlobalLibraryId,
111
+ library: params.library,
112
+ permissions: params.permissions,
113
+ },
114
+ };
115
+ }
116
+ getProjects() {
117
+ return __awaiter(this, void 0, void 0, function* () {
118
+ return this.execute(this.buildGetProjectsRequest());
119
+ });
120
+ }
121
+ buildGetProjectsRequest() {
122
+ return {
123
+ path: `/api/v2/projects`,
124
+ method: 'get',
125
+ headers: {
126
+ auth: `Bearer ${this.auth.getAppSessionToken()}`,
127
+ },
128
+ };
129
+ }
130
+ createProjectApiKey(params) {
131
+ return __awaiter(this, void 0, void 0, function* () {
132
+ return yield this.execute(this.buildCreateProjectApiKeyRequest(params));
133
+ });
134
+ }
135
+ buildCreateProjectApiKeyRequest(params) {
136
+ return {
137
+ path: `/api/v3/project/${params.projectId}/api-key`,
138
+ method: 'post',
139
+ body: {},
140
+ };
141
+ }
142
+ createQueryEngineUser(params) {
143
+ return __awaiter(this, void 0, void 0, function* () {
144
+ return yield this.execute(this.buildCreateQueryEngineUserRequest(params));
145
+ });
146
+ }
147
+ buildCreateQueryEngineUserRequest(params) {
148
+ return {
149
+ path: `/api/v3/project/${params.projectId}/query-engine-user`,
150
+ method: 'post',
151
+ body: {
152
+ email: params.email,
153
+ password: params.password,
154
+ },
155
+ };
156
+ }
157
+ buildCreateSelfHostedDynamicQueryEngineProjectRequest() {
158
+ return {
159
+ path: `/api/v2/project/self-hosted-dynamic-query-engine`,
160
+ method: 'post',
161
+ body: {},
162
+ };
163
+ }
164
+ buildCreateSelfHostedInBrowserProjectRequest() {
165
+ return {
166
+ path: `/api/v2/project/self-hosted-in-browser`,
167
+ method: 'post',
168
+ body: {},
169
+ };
170
+ }
171
+ buildCreateSelfHostedProjectRequest() {
172
+ return {
173
+ path: `/api/v2/project/self-hosted-query-engine`,
174
+ method: 'post',
175
+ body: {},
176
+ };
177
+ }
178
+ createManagedQueryEngineProject() {
179
+ return __awaiter(this, void 0, void 0, function* () {
180
+ return yield this.execute(this.buildCreateManagedQueryEngineProjectRequest());
181
+ });
182
+ }
183
+ buildCreateManagedQueryEngineProjectRequest() {
184
+ return {
185
+ path: `/api/v2/project/managed-query-engine`,
186
+ method: 'post',
187
+ body: {
188
+ parent_dashboard_definition: {},
189
+ },
190
+ };
191
+ }
192
+ createVizzlyConfigVersion(params) {
193
+ return __awaiter(this, void 0, void 0, function* () {
194
+ return yield this.execute(this.buildCreateVizzlyConfigVersionRequest(params));
195
+ });
196
+ }
197
+ buildCreateVizzlyConfigVersionRequest(params) {
198
+ return {
199
+ path: `/api/v3/project/${params.projectId}/config`,
200
+ method: 'post',
201
+ body: {
202
+ projectId: params.projectId,
203
+ encryptedConfig: params.encryptedConfig,
204
+ },
205
+ };
206
+ }
207
+ duplicateParentDashboard(params) {
208
+ return __awaiter(this, void 0, void 0, function* () {
209
+ return yield this.execute(this.buildDuplicateParentDashboardRequest(params));
210
+ });
211
+ }
212
+ buildDuplicateParentDashboardRequest(params) {
213
+ return {
214
+ path: `/api/v2/duplicate-parent-dashboard`,
215
+ method: 'post',
216
+ body: {
217
+ dashboardId: params.dashboardId,
218
+ },
219
+ };
220
+ }
221
+ getConnection(params) {
222
+ return __awaiter(this, void 0, void 0, function* () {
223
+ return yield this.execute(this.buildGetConnectionRequest(params));
224
+ });
225
+ }
226
+ buildGetConnectionRequest(params) {
227
+ return {
228
+ path: `/api/v2/project/${params.projectId}/connection`,
229
+ method: 'get',
230
+ };
231
+ }
232
+ getManagedQueryEngineKeyPair(params) {
233
+ return __awaiter(this, void 0, void 0, function* () {
234
+ return yield this.execute(this.buildGetManagedQueryEngineKeyPairRequest(params));
235
+ });
236
+ }
237
+ buildGetManagedQueryEngineKeyPairRequest(params) {
238
+ return {
239
+ path: `/api/v2/project/managed-query-engine/${params.managedProjectId}/key-pairs/${params.keyPairId}`,
240
+ method: 'get',
241
+ };
242
+ }
243
+ getProject(params) {
244
+ return __awaiter(this, void 0, void 0, function* () {
245
+ return yield this.execute(this.buildGetProjectRequest(params));
246
+ });
247
+ }
248
+ buildGetProjectRequest(params) {
249
+ return {
250
+ path: `/api/v3/project/${params.projectId}`,
251
+ method: 'get',
252
+ };
253
+ }
254
+ getProjectAccessToken(params) {
255
+ return __awaiter(this, void 0, void 0, function* () {
256
+ return yield this.execute(this.buildGetProjectAccessTokenRequest(params));
257
+ });
258
+ }
259
+ buildGetProjectAccessTokenRequest(params) {
260
+ let filterString = '';
261
+ if (params.resourceFilters)
262
+ filterString = `filter=${params.resourceFilters.join(',')}`;
263
+ return {
264
+ path: `/api/v2/auth/project/${params.projectId}/access_token?${filterString}`,
265
+ method: 'get',
266
+ };
267
+ }
268
+ getQueryEngineUser(params) {
269
+ return __awaiter(this, void 0, void 0, function* () {
270
+ return yield this.execute(this.buildGetQueryEngineUserRequest(params));
271
+ });
272
+ }
273
+ buildGetQueryEngineUserRequest(params) {
274
+ return {
275
+ path: `/api/v3/project/${params.projectId}/query-engine-user?email=${encodeURIComponent(params.email)}`,
276
+ method: 'get',
277
+ };
278
+ }
279
+ getTeamMembers(params) {
280
+ return __awaiter(this, void 0, void 0, function* () {
281
+ return yield this.execute(this.buildGetTeamMembersRequest(params));
282
+ });
283
+ }
284
+ buildGetTeamMembersRequest(params) {
285
+ return {
286
+ path: `/api/v3/project/${params.projectId}/organisation-team-members`,
287
+ method: 'get',
288
+ };
289
+ }
290
+ getVizzlyConfig(params) {
291
+ return __awaiter(this, void 0, void 0, function* () {
292
+ return yield this.execute(this.buildGetVizzlyConfigRequest(params));
293
+ });
294
+ }
295
+ buildGetVizzlyConfigRequest(params) {
296
+ return {
297
+ path: `/api/v3/project/${params.projectId}/config`,
298
+ method: 'get',
299
+ };
300
+ }
301
+ saveConnection(params) {
302
+ return __awaiter(this, void 0, void 0, function* () {
303
+ return yield this.execute(this.buildSaveConnectionRequest(params));
304
+ });
305
+ }
306
+ buildSaveConnectionRequest(params) {
307
+ return {
308
+ path: `/api/v3/project/connection`,
309
+ method: 'post',
310
+ body: {
311
+ projectId: params.projectId,
312
+ encryptedConfig: params.encryptedConfig,
313
+ encryptedConnection: params.encryptedConnection,
314
+ },
315
+ };
316
+ }
317
+ buildSaveEncryptedProjectEncryptionSecretRequest(params) {
318
+ return {
319
+ path: `/api/v3/project/${params.projectId}/encrypted-encryption-secret`,
320
+ method: 'post',
321
+ body: {
322
+ projectId: params.projectId,
323
+ encryptedEncryptionSecret: params.encryptedProjectEncryptionSecret,
324
+ allowRotation: params.allowRotation,
325
+ },
326
+ };
327
+ }
328
+ saveScheduledReport(params) {
329
+ return __awaiter(this, void 0, void 0, function* () {
330
+ return yield this.execute(this.buildSaveScheduledReportRequest(params));
331
+ });
332
+ }
333
+ buildSaveScheduledReportRequest(params) {
334
+ return {
335
+ path: '/api/scheduled-report',
336
+ method: 'post',
337
+ body: {
338
+ cronSchedule: params.cronSchedule,
339
+ dashboardAccessToken: this.auth.getDashboardAccessToken(),
340
+ scheduledReportId: params.scheduledReportId,
341
+ },
342
+ };
343
+ }
344
+ updateDashboard(params) {
345
+ return __awaiter(this, void 0, void 0, function* () {
346
+ return yield this.execute(this.buildUpdateDashboardRequest(params));
347
+ });
348
+ }
349
+ buildUpdateDashboardRequest(params) {
350
+ return {
351
+ path: '/api/v2/dashboard',
352
+ method: 'put',
353
+ body: {
354
+ dashboardSessionToken: params.dashboardSessionToken,
355
+ definition: params.definition,
356
+ meta: params.metadata || params.meta || {},
357
+ deleted: params.deleted,
358
+ },
359
+ };
360
+ }
361
+ updateParentGlobalLibrary(params) {
362
+ return __awaiter(this, void 0, void 0, function* () {
363
+ return yield this.execute(this.buildUpdateParentGlobalLibraryRequest(params));
364
+ });
365
+ }
366
+ buildUpdateParentGlobalLibraryRequest(params) {
367
+ return {
368
+ path: '/api/v2/parent-global-library',
369
+ method: 'put',
370
+ body: {
371
+ globalLibraryId: params.globalLibraryId,
372
+ deleted: params.deleted,
373
+ name: params.name,
374
+ },
375
+ };
376
+ }
377
+ updateGlobalLibrary(params) {
378
+ return __awaiter(this, void 0, void 0, function* () {
379
+ return yield this.execute(this.buildUpdateGlobalLibraryRequest(params));
380
+ });
381
+ }
382
+ buildUpdateGlobalLibraryRequest(params) {
383
+ return {
384
+ path: '/api/v2/global-library',
385
+ method: 'put',
386
+ body: {
387
+ globalLibrarySessionToken: params.globalLibrarySessionToken,
388
+ deleted: params.deleted,
389
+ library: params.library,
390
+ },
391
+ };
392
+ }
393
+ updateProjectApiKey(params) {
394
+ return __awaiter(this, void 0, void 0, function* () {
395
+ return yield this.execute(this.buildUpdateProjectApiKeyRequest(params));
396
+ });
397
+ }
398
+ buildUpdateProjectApiKeyRequest(params) {
399
+ return {
400
+ path: `/api/v3/project/${params.projectId}/api-key/${params.projectApiKeyId}`,
401
+ method: 'put',
402
+ body: {
403
+ disabled: params.disabled,
404
+ },
405
+ };
406
+ }
407
+ updateQueryEngineUser(params) {
408
+ return __awaiter(this, void 0, void 0, function* () {
409
+ return yield this.execute(this.buildUpdateQueryEngineUserRequest(params));
410
+ });
411
+ }
412
+ buildUpdateQueryEngineUserRequest(params) {
413
+ return {
414
+ path: `/api/v3/project/${params.projectId}/query-engine-user`,
415
+ method: 'put',
416
+ body: {
417
+ query_engine_user_id: params.queryEngineUserId,
418
+ password: params.password,
419
+ },
420
+ };
421
+ }
422
+ }
423
+ exports.VizzlyApi = VizzlyApi;
@@ -0,0 +1,54 @@
1
+ import { GetSelfResponse, Request, nVizzlyAppApi } from '../types';
2
+ import { Api } from './Api';
3
+ import { Authentication } from './Authentication';
4
+ export declare class VizzlyAppApi extends Api {
5
+ constructor(auth: Authentication, host?: string);
6
+ createCliAuthToken(): Promise<import("../types").Response<unknown>>;
7
+ buildCreateCliAuthTokenRequest(): Request<{}>;
8
+ createInstantDashboard(params: nVizzlyAppApi.CreateInstantDashboardParams): Promise<import("../types").Response<unknown>>;
9
+ buildCreateInstantDashboardRequest(params: nVizzlyAppApi.CreateInstantDashboardParams): Request<{}>;
10
+ createProjectAdminOverrideAccessToken(params: nVizzlyAppApi.CreateProjectAdminOverrideAccessTokenParams): Promise<import("../types").Response<unknown>>;
11
+ buildCreateProjectAdminOverrideAccessTokenRequest(params: nVizzlyAppApi.CreateProjectAdminOverrideAccessTokenParams): Request<{}>;
12
+ startEmailChange(params: nVizzlyAppApi.StartEmailChangeParams): Promise<import("../types").Response<unknown>>;
13
+ buildStartEmailChangeRequest(params: nVizzlyAppApi.StartEmailChangeParams): Request<{}>;
14
+ completeEmailChange(params: nVizzlyAppApi.CompleteEmailChangeParams): Promise<import("../types").Response<unknown>>;
15
+ buildCompleteEmailChangeRequest(params: nVizzlyAppApi.CompleteEmailChangeParams): Request<{}>;
16
+ getManagedQueryEngineAccessTokens(params: nVizzlyAppApi.GetManagedQueryEngineAccessTokensParams): Promise<import("../types").Response<unknown>>;
17
+ buildGetManagedQueryEngineAccessTokensRequest(params: nVizzlyAppApi.GetManagedQueryEngineAccessTokensParams): Request<{}>;
18
+ getParentDashboardMeta(params: nVizzlyAppApi.GetParentDashboardMetaParams): Promise<import("../types").Response<unknown>>;
19
+ buildGetParentDashboardMetaRequest(params: nVizzlyAppApi.GetParentDashboardMetaParams): Request<{}>;
20
+ updateParentDashboard(params: nVizzlyAppApi.UpdateParentDashboardParams): Promise<import("../types").Response<unknown>>;
21
+ buildUpdateParentDashboardRequest(params: nVizzlyAppApi.UpdateParentDashboardParams): Request<{}>;
22
+ getProjectMeta(params: nVizzlyAppApi.GetProjectMetaParams): Promise<import("../types").Response<unknown>>;
23
+ buildGetProjectMetaRequest(params: nVizzlyAppApi.GetProjectMetaParams): Request<{}>;
24
+ getSelf(): Promise<import("../types").Response<GetSelfResponse>>;
25
+ buildGetSelfRequest(): Request<{}>;
26
+ getTeam(): Promise<import("../types").Response<unknown>>;
27
+ buildGetTeamRequest(): Request<{}>;
28
+ getWebhooks(): Promise<import("../types").Response<unknown>>;
29
+ buildGetWebhooksRequest(): Request<{}>;
30
+ inviteTeamMember(params: nVizzlyAppApi.InviteTeamMemberParams): Promise<import("../types").Response<unknown>>;
31
+ buildInviteTeamMemberRequest(params: nVizzlyAppApi.InviteTeamMemberParams): Request<{}>;
32
+ inAppAcceptTeamMemberInvite(params: nVizzlyAppApi.InAppAcceptTeamMemberInviteParams): Promise<import("../types").Response<unknown>>;
33
+ buildInAppAcceptTeamMemberInviteRequest(params: nVizzlyAppApi.InAppAcceptTeamMemberInviteParams): Request<{}>;
34
+ acceptTeamMemberInvite(params: nVizzlyAppApi.AcceptTeamMemberInviteParams): Promise<import("../types").Response<unknown>>;
35
+ buildAcceptTeamMemberInviteRequest(params: nVizzlyAppApi.AcceptTeamMemberInviteParams): Request<{}>;
36
+ resendTeamMemberInvite(params: nVizzlyAppApi.ResendTeamMemberInviteParams): Promise<import("../types").Response<unknown>>;
37
+ buildResendTeamMemberInviteRequest(params: nVizzlyAppApi.ResendTeamMemberInviteParams): Request<{}>;
38
+ removeTeamMember(params: nVizzlyAppApi.RemoveTeamMemberParams): Promise<import("../types").Response<unknown>>;
39
+ buildRemoveTeamMemberRequest(params: nVizzlyAppApi.RemoveTeamMemberParams): Request<{}>;
40
+ startSignIn(params: nVizzlyAppApi.StartSignInParams): Promise<import("../types").Response<unknown>>;
41
+ buildStartSignInRequest(params: nVizzlyAppApi.StartSignInParams): Request<{}>;
42
+ completeSignIn(params: nVizzlyAppApi.CompleteSignInParams): Promise<import("../types").Response<unknown>>;
43
+ buildCompleteSignInRequest(params: nVizzlyAppApi.CompleteSignInParams): Request<{}>;
44
+ signUp(params: nVizzlyAppApi.SignUpParams): Promise<import("../types").Response<unknown>>;
45
+ buildSignUpRequest(params: nVizzlyAppApi.SignUpParams): Request<{}>;
46
+ switchOrganisation(params: nVizzlyAppApi.SwitchOrganisationParams): Promise<import("../types").Response<unknown>>;
47
+ buildSwitchOrganisationRequest(params: nVizzlyAppApi.SwitchOrganisationParams): Request<{}>;
48
+ toggleKeyPairDisabled(params: nVizzlyAppApi.ToggleKeyPairDisabledParams): Promise<import("../types").Response<unknown>>;
49
+ buildToggleKeyPairDisabledRequest(params: nVizzlyAppApi.ToggleKeyPairDisabledParams): Request<{}>;
50
+ updateProject(params: nVizzlyAppApi.UpdateProjectParams): Promise<import("../types").Response<unknown>>;
51
+ buildUpdateProjectRequest(params: nVizzlyAppApi.UpdateProjectParams): Request<{}>;
52
+ uploadPublicKey(params: nVizzlyAppApi.UploadPublicKeyParams): Promise<import("../types").Response<unknown>>;
53
+ buildUploadPublicKeyRequest(params: nVizzlyAppApi.UploadPublicKeyParams): Request<{}>;
54
+ }