@malloydata/db-publisher 0.0.270-dev250429163414

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 (40) hide show
  1. package/dist/client/api.d.ts +1537 -0
  2. package/dist/client/api.js +1572 -0
  3. package/dist/client/api.js.map +1 -0
  4. package/dist/client/base.d.ts +66 -0
  5. package/dist/client/base.js +69 -0
  6. package/dist/client/base.js.map +1 -0
  7. package/dist/client/common.d.ts +65 -0
  8. package/dist/client/common.js +147 -0
  9. package/dist/client/common.js.map +1 -0
  10. package/dist/client/configuration.d.ts +91 -0
  11. package/dist/client/configuration.js +50 -0
  12. package/dist/client/configuration.js.map +1 -0
  13. package/dist/client/index.d.ts +15 -0
  14. package/dist/client/index.js +32 -0
  15. package/dist/client/index.js.map +1 -0
  16. package/dist/index.d.ts +1 -0
  17. package/dist/index.js +12 -0
  18. package/dist/index.js.map +1 -0
  19. package/dist/publisher_connection.d.ts +29 -0
  20. package/dist/publisher_connection.js +119 -0
  21. package/dist/publisher_connection.js.map +1 -0
  22. package/dist/publisher_connection.spec.d.ts +1 -0
  23. package/dist/publisher_connection.spec.js +806 -0
  24. package/dist/publisher_connection.spec.js.map +1 -0
  25. package/openapitools.json +7 -0
  26. package/package.json +32 -0
  27. package/publisher-api-doc.yaml +1026 -0
  28. package/src/client/.openapi-generator/FILES +9 -0
  29. package/src/client/.openapi-generator/VERSION +1 -0
  30. package/src/client/.openapi-generator-ignore +23 -0
  31. package/src/client/api.ts +2342 -0
  32. package/src/client/base.ts +86 -0
  33. package/src/client/common.ts +150 -0
  34. package/src/client/configuration.ts +115 -0
  35. package/src/client/git_push.sh +57 -0
  36. package/src/client/index.ts +19 -0
  37. package/src/index.ts +8 -0
  38. package/src/publisher_connection.spec.ts +1118 -0
  39. package/src/publisher_connection.ts +223 -0
  40. package/tsconfig.json +13 -0
@@ -0,0 +1,1537 @@
1
+ /**
2
+ * Malloy Publisher - Semantic Model Serving API
3
+ * The Malloy Publisher - Semantic Model Serving API serves Malloy packages. A Malloy package is a directory of Malloy models (.malloy files), Malloy notebooks (.malloynb files), and embedded datbases (.parque files) with a malloy-publisher.json manifest at the package\'s root directory. For example, see the Malloy samples packages (https://github.com/malloydata/malloy-samples) repo.
4
+ *
5
+ * The version of the OpenAPI document: v0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from './configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import type { RequestArgs } from './base';
15
+ import { BaseAPI } from './base';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface About
20
+ */
21
+ export interface About {
22
+ /**
23
+ * Readme markdown.
24
+ * @type {string}
25
+ * @memberof About
26
+ */
27
+ 'readme'?: string;
28
+ }
29
+ /**
30
+ *
31
+ * @export
32
+ * @interface BigqueryConnection
33
+ */
34
+ export interface BigqueryConnection {
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof BigqueryConnection
39
+ */
40
+ 'defaultProjectId'?: string;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof BigqueryConnection
45
+ */
46
+ 'billingProjectId'?: string;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof BigqueryConnection
51
+ */
52
+ 'location'?: string;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof BigqueryConnection
57
+ */
58
+ 'serviceAccountKeyJson'?: string;
59
+ /**
60
+ *
61
+ * @type {string}
62
+ * @memberof BigqueryConnection
63
+ */
64
+ 'maximumBytesBilled'?: string;
65
+ /**
66
+ *
67
+ * @type {string}
68
+ * @memberof BigqueryConnection
69
+ */
70
+ 'queryTimeoutMilliseconds'?: string;
71
+ }
72
+ /**
73
+ * Malloy model def and result data. Malloy model def and result data is Malloy version depdendent.
74
+ * @export
75
+ * @interface CompiledModel
76
+ */
77
+ export interface CompiledModel {
78
+ /**
79
+ * Model\'s package Name
80
+ * @type {string}
81
+ * @memberof CompiledModel
82
+ */
83
+ 'packageName'?: string;
84
+ /**
85
+ * Model\'s relative path in its package directory.
86
+ * @type {string}
87
+ * @memberof CompiledModel
88
+ */
89
+ 'path'?: string;
90
+ /**
91
+ * Type of malloy model file -- source file or notebook file.
92
+ * @type {string}
93
+ * @memberof CompiledModel
94
+ */
95
+ 'type'?: CompiledModelTypeEnum;
96
+ /**
97
+ * Version of the Malloy compiler that generated the model def and results fields.
98
+ * @type {string}
99
+ * @memberof CompiledModel
100
+ */
101
+ 'malloyVersion'?: string;
102
+ /**
103
+ * Data style for rendering query results.
104
+ * @type {string}
105
+ * @memberof CompiledModel
106
+ */
107
+ 'dataStyles'?: string;
108
+ /**
109
+ * Malloy model def.
110
+ * @type {string}
111
+ * @memberof CompiledModel
112
+ */
113
+ 'modelDef'?: string;
114
+ /**
115
+ * Array of model sources.
116
+ * @type {Array<Source>}
117
+ * @memberof CompiledModel
118
+ */
119
+ 'sources'?: Array<Source>;
120
+ /**
121
+ *
122
+ * @type {Array<Query>}
123
+ * @memberof CompiledModel
124
+ */
125
+ 'queries'?: Array<Query>;
126
+ /**
127
+ * Array of notebook cells.
128
+ * @type {Array<NotebookCell>}
129
+ * @memberof CompiledModel
130
+ */
131
+ 'notebookCells'?: Array<NotebookCell>;
132
+ }
133
+ export declare const CompiledModelTypeEnum: {
134
+ readonly Source: "source";
135
+ readonly Notebook: "notebook";
136
+ };
137
+ export type CompiledModelTypeEnum = typeof CompiledModelTypeEnum[keyof typeof CompiledModelTypeEnum];
138
+ /**
139
+ *
140
+ * @export
141
+ * @interface Connection
142
+ */
143
+ export interface Connection {
144
+ /**
145
+ *
146
+ * @type {string}
147
+ * @memberof Connection
148
+ */
149
+ 'name'?: string;
150
+ /**
151
+ *
152
+ * @type {string}
153
+ * @memberof Connection
154
+ */
155
+ 'type'?: ConnectionTypeEnum;
156
+ /**
157
+ *
158
+ * @type {ConnectionAttributes}
159
+ * @memberof Connection
160
+ */
161
+ 'attributes'?: ConnectionAttributes;
162
+ /**
163
+ *
164
+ * @type {PostgresConnection}
165
+ * @memberof Connection
166
+ */
167
+ 'postgresConnection'?: PostgresConnection;
168
+ /**
169
+ *
170
+ * @type {BigqueryConnection}
171
+ * @memberof Connection
172
+ */
173
+ 'bigqueryConnection'?: BigqueryConnection;
174
+ /**
175
+ *
176
+ * @type {SnowflakeConnection}
177
+ * @memberof Connection
178
+ */
179
+ 'snowflakeConnection'?: SnowflakeConnection;
180
+ /**
181
+ *
182
+ * @type {TrinoConnection}
183
+ * @memberof Connection
184
+ */
185
+ 'trinoConnection'?: TrinoConnection;
186
+ }
187
+ export declare const ConnectionTypeEnum: {
188
+ readonly Postgres: "postgres";
189
+ readonly Bigquery: "bigquery";
190
+ readonly Snowflake: "snowflake";
191
+ readonly Trino: "trino";
192
+ };
193
+ export type ConnectionTypeEnum = typeof ConnectionTypeEnum[keyof typeof ConnectionTypeEnum];
194
+ /**
195
+ *
196
+ * @export
197
+ * @interface ConnectionAttributes
198
+ */
199
+ export interface ConnectionAttributes {
200
+ /**
201
+ *
202
+ * @type {string}
203
+ * @memberof ConnectionAttributes
204
+ */
205
+ 'dialectName'?: string;
206
+ /**
207
+ *
208
+ * @type {boolean}
209
+ * @memberof ConnectionAttributes
210
+ */
211
+ 'isPool'?: boolean;
212
+ /**
213
+ *
214
+ * @type {boolean}
215
+ * @memberof ConnectionAttributes
216
+ */
217
+ 'canPersist'?: boolean;
218
+ /**
219
+ *
220
+ * @type {boolean}
221
+ * @memberof ConnectionAttributes
222
+ */
223
+ 'canStream'?: boolean;
224
+ }
225
+ /**
226
+ * An in-memory DuckDB database embedded in the package.
227
+ * @export
228
+ * @interface Database
229
+ */
230
+ export interface Database {
231
+ /**
232
+ * Database\'s relative path in its package directory.
233
+ * @type {string}
234
+ * @memberof Database
235
+ */
236
+ 'path'?: string;
237
+ /**
238
+ * Size of the embedded database in bytes.
239
+ * @type {number}
240
+ * @memberof Database
241
+ */
242
+ 'size'?: number;
243
+ /**
244
+ * Type of database.
245
+ * @type {string}
246
+ * @memberof Database
247
+ */
248
+ 'type'?: DatabaseTypeEnum;
249
+ }
250
+ export declare const DatabaseTypeEnum: {
251
+ readonly Embedded: "embedded";
252
+ readonly Materialized: "materialized";
253
+ };
254
+ export type DatabaseTypeEnum = typeof DatabaseTypeEnum[keyof typeof DatabaseTypeEnum];
255
+ /**
256
+ * Malloy model def and result data. Malloy model def and result data is Malloy version depdendent.
257
+ * @export
258
+ * @interface Model
259
+ */
260
+ export interface Model {
261
+ /**
262
+ * Model\'s package Name
263
+ * @type {string}
264
+ * @memberof Model
265
+ */
266
+ 'packageName'?: string;
267
+ /**
268
+ * Model\'s relative path in its package directory.
269
+ * @type {string}
270
+ * @memberof Model
271
+ */
272
+ 'path'?: string;
273
+ /**
274
+ * Type of malloy model file -- source file or notebook file.
275
+ * @type {string}
276
+ * @memberof Model
277
+ */
278
+ 'type'?: ModelTypeEnum;
279
+ }
280
+ export declare const ModelTypeEnum: {
281
+ readonly Source: "source";
282
+ readonly Notebook: "notebook";
283
+ };
284
+ export type ModelTypeEnum = typeof ModelTypeEnum[keyof typeof ModelTypeEnum];
285
+ /**
286
+ *
287
+ * @export
288
+ * @interface ModelError
289
+ */
290
+ export interface ModelError {
291
+ /**
292
+ *
293
+ * @type {string}
294
+ * @memberof ModelError
295
+ */
296
+ 'code'?: string;
297
+ /**
298
+ *
299
+ * @type {string}
300
+ * @memberof ModelError
301
+ */
302
+ 'message'?: string;
303
+ }
304
+ /**
305
+ * Notebook cell.
306
+ * @export
307
+ * @interface NotebookCell
308
+ */
309
+ export interface NotebookCell {
310
+ /**
311
+ * Type of notebook cell.
312
+ * @type {string}
313
+ * @memberof NotebookCell
314
+ */
315
+ 'type'?: NotebookCellTypeEnum;
316
+ /**
317
+ * Text contents of the notebook cell.
318
+ * @type {string}
319
+ * @memberof NotebookCell
320
+ */
321
+ 'text'?: string;
322
+ /**
323
+ * Name of query, if this is a named query. Otherwise, empty.
324
+ * @type {string}
325
+ * @memberof NotebookCell
326
+ */
327
+ 'queryName'?: string;
328
+ /**
329
+ * Malloy query results. Populated only if a code cell.
330
+ * @type {string}
331
+ * @memberof NotebookCell
332
+ */
333
+ 'queryResult'?: string;
334
+ }
335
+ export declare const NotebookCellTypeEnum: {
336
+ readonly Markdown: "markdown";
337
+ readonly Code: "code";
338
+ };
339
+ export type NotebookCellTypeEnum = typeof NotebookCellTypeEnum[keyof typeof NotebookCellTypeEnum];
340
+ /**
341
+ *
342
+ * @export
343
+ * @interface Package
344
+ */
345
+ export interface Package {
346
+ /**
347
+ * Package name.
348
+ * @type {string}
349
+ * @memberof Package
350
+ */
351
+ 'name'?: string;
352
+ /**
353
+ * Package description.
354
+ * @type {string}
355
+ * @memberof Package
356
+ */
357
+ 'description'?: string;
358
+ }
359
+ /**
360
+ *
361
+ * @export
362
+ * @interface PostgresConnection
363
+ */
364
+ export interface PostgresConnection {
365
+ /**
366
+ *
367
+ * @type {string}
368
+ * @memberof PostgresConnection
369
+ */
370
+ 'host'?: string;
371
+ /**
372
+ *
373
+ * @type {number}
374
+ * @memberof PostgresConnection
375
+ */
376
+ 'port'?: number;
377
+ /**
378
+ *
379
+ * @type {string}
380
+ * @memberof PostgresConnection
381
+ */
382
+ 'databaseName'?: string;
383
+ /**
384
+ *
385
+ * @type {string}
386
+ * @memberof PostgresConnection
387
+ */
388
+ 'userName'?: string;
389
+ /**
390
+ *
391
+ * @type {string}
392
+ * @memberof PostgresConnection
393
+ */
394
+ 'password'?: string;
395
+ /**
396
+ *
397
+ * @type {string}
398
+ * @memberof PostgresConnection
399
+ */
400
+ 'connectionString'?: string;
401
+ }
402
+ /**
403
+ *
404
+ * @export
405
+ * @interface Project
406
+ */
407
+ export interface Project {
408
+ /**
409
+ * Project name.
410
+ * @type {string}
411
+ * @memberof Project
412
+ */
413
+ 'name'?: string;
414
+ }
415
+ /**
416
+ * Named model query.
417
+ * @export
418
+ * @interface Query
419
+ */
420
+ export interface Query {
421
+ /**
422
+ * Query\'s name.
423
+ * @type {string}
424
+ * @memberof Query
425
+ */
426
+ 'name'?: string;
427
+ /**
428
+ * Annotations attached to query.
429
+ * @type {Array<string>}
430
+ * @memberof Query
431
+ */
432
+ 'annotations'?: Array<string>;
433
+ }
434
+ /**
435
+ *
436
+ * @export
437
+ * @interface QueryData
438
+ */
439
+ export interface QueryData {
440
+ /**
441
+ *
442
+ * @type {string}
443
+ * @memberof QueryData
444
+ */
445
+ 'data'?: string;
446
+ }
447
+ /**
448
+ * A Malloy query\'s results, its model def, and its data styles.
449
+ * @export
450
+ * @interface QueryResult
451
+ */
452
+ export interface QueryResult {
453
+ /**
454
+ * Data style for rendering query results.
455
+ * @type {string}
456
+ * @memberof QueryResult
457
+ */
458
+ 'dataStyles'?: string;
459
+ /**
460
+ * Malloy model def.
461
+ * @type {string}
462
+ * @memberof QueryResult
463
+ */
464
+ 'modelDef'?: string;
465
+ /**
466
+ * Malloy query results. Populated only if a code cell.
467
+ * @type {string}
468
+ * @memberof QueryResult
469
+ */
470
+ 'queryResult'?: string;
471
+ }
472
+ /**
473
+ * A scheduled task.
474
+ * @export
475
+ * @interface Schedule
476
+ */
477
+ export interface Schedule {
478
+ /**
479
+ * Resource in the package that the schedule is attached to.
480
+ * @type {string}
481
+ * @memberof Schedule
482
+ */
483
+ 'resource'?: string;
484
+ /**
485
+ * Schedule (cron format) for executing task.
486
+ * @type {string}
487
+ * @memberof Schedule
488
+ */
489
+ 'schedule'?: string;
490
+ /**
491
+ * Action to execute.
492
+ * @type {string}
493
+ * @memberof Schedule
494
+ */
495
+ 'action'?: string;
496
+ /**
497
+ * Connection to perform action on.
498
+ * @type {string}
499
+ * @memberof Schedule
500
+ */
501
+ 'connection'?: string;
502
+ /**
503
+ * Timestamp in milliseconds of the last run.
504
+ * @type {number}
505
+ * @memberof Schedule
506
+ */
507
+ 'lastRunTime'?: number;
508
+ /**
509
+ * Status of the last run.
510
+ * @type {string}
511
+ * @memberof Schedule
512
+ */
513
+ 'lastRunStatus'?: string;
514
+ }
515
+ /**
516
+ *
517
+ * @export
518
+ * @interface SnowflakeConnection
519
+ */
520
+ export interface SnowflakeConnection {
521
+ /**
522
+ *
523
+ * @type {string}
524
+ * @memberof SnowflakeConnection
525
+ */
526
+ 'account'?: string;
527
+ /**
528
+ *
529
+ * @type {string}
530
+ * @memberof SnowflakeConnection
531
+ */
532
+ 'username'?: string;
533
+ /**
534
+ *
535
+ * @type {string}
536
+ * @memberof SnowflakeConnection
537
+ */
538
+ 'password'?: string;
539
+ /**
540
+ *
541
+ * @type {string}
542
+ * @memberof SnowflakeConnection
543
+ */
544
+ 'warehouse'?: string;
545
+ /**
546
+ *
547
+ * @type {string}
548
+ * @memberof SnowflakeConnection
549
+ */
550
+ 'database'?: string;
551
+ /**
552
+ *
553
+ * @type {string}
554
+ * @memberof SnowflakeConnection
555
+ */
556
+ 'schema'?: string;
557
+ /**
558
+ *
559
+ * @type {number}
560
+ * @memberof SnowflakeConnection
561
+ */
562
+ 'responseTimeoutMilliseconds'?: number;
563
+ }
564
+ /**
565
+ * Model source.
566
+ * @export
567
+ * @interface Source
568
+ */
569
+ export interface Source {
570
+ /**
571
+ * Source\'s name.
572
+ * @type {string}
573
+ * @memberof Source
574
+ */
575
+ 'name'?: string;
576
+ /**
577
+ * Annotations attached to source.
578
+ * @type {Array<string>}
579
+ * @memberof Source
580
+ */
581
+ 'annotations'?: Array<string>;
582
+ /**
583
+ * List of views in the source.\\
584
+ * @type {Array<View>}
585
+ * @memberof Source
586
+ */
587
+ 'views'?: Array<View>;
588
+ }
589
+ /**
590
+ *
591
+ * @export
592
+ * @interface SqlSource
593
+ */
594
+ export interface SqlSource {
595
+ /**
596
+ *
597
+ * @type {string}
598
+ * @memberof SqlSource
599
+ */
600
+ 'source'?: string;
601
+ }
602
+ /**
603
+ *
604
+ * @export
605
+ * @interface TableSource
606
+ */
607
+ export interface TableSource {
608
+ /**
609
+ *
610
+ * @type {string}
611
+ * @memberof TableSource
612
+ */
613
+ 'source'?: string;
614
+ }
615
+ /**
616
+ *
617
+ * @export
618
+ * @interface TemporaryTable
619
+ */
620
+ export interface TemporaryTable {
621
+ /**
622
+ *
623
+ * @type {string}
624
+ * @memberof TemporaryTable
625
+ */
626
+ 'table'?: string;
627
+ }
628
+ /**
629
+ *
630
+ * @export
631
+ * @interface TrinoConnection
632
+ */
633
+ export interface TrinoConnection {
634
+ /**
635
+ *
636
+ * @type {string}
637
+ * @memberof TrinoConnection
638
+ */
639
+ 'server'?: string;
640
+ /**
641
+ *
642
+ * @type {number}
643
+ * @memberof TrinoConnection
644
+ */
645
+ 'port'?: number;
646
+ /**
647
+ *
648
+ * @type {string}
649
+ * @memberof TrinoConnection
650
+ */
651
+ 'catalog'?: string;
652
+ /**
653
+ *
654
+ * @type {string}
655
+ * @memberof TrinoConnection
656
+ */
657
+ 'schema'?: string;
658
+ /**
659
+ *
660
+ * @type {string}
661
+ * @memberof TrinoConnection
662
+ */
663
+ 'user'?: string;
664
+ /**
665
+ *
666
+ * @type {string}
667
+ * @memberof TrinoConnection
668
+ */
669
+ 'password'?: string;
670
+ }
671
+ /**
672
+ * Named model view.
673
+ * @export
674
+ * @interface View
675
+ */
676
+ export interface View {
677
+ /**
678
+ * View\'s name.
679
+ * @type {string}
680
+ * @memberof View
681
+ */
682
+ 'name'?: string;
683
+ /**
684
+ * Annotations attached to view.
685
+ * @type {Array<string>}
686
+ * @memberof View
687
+ */
688
+ 'annotations'?: Array<string>;
689
+ }
690
+ /**
691
+ * ConnectionsApi - axios parameter creator
692
+ * @export
693
+ */
694
+ export declare const ConnectionsApiAxiosParamCreator: (configuration?: Configuration) => {
695
+ /**
696
+ *
697
+ * @summary Returns a connection.
698
+ * @param {string} projectName Name of project
699
+ * @param {string} connectionName Name of connection
700
+ * @param {*} [options] Override http request option.
701
+ * @throws {RequiredError}
702
+ */
703
+ getConnection: (projectName: string, connectionName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
704
+ /**
705
+ *
706
+ * @summary Returns a query and its results.
707
+ * @param {string} projectName Name of project
708
+ * @param {string} connectionName Name of connection
709
+ * @param {string} [sqlStatement] SQL statement
710
+ * @param {string} [_options] Options
711
+ * @param {*} [options] Override http request option.
712
+ * @throws {RequiredError}
713
+ */
714
+ getQuerydata: (projectName: string, connectionName: string, sqlStatement?: string, _options?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
715
+ /**
716
+ *
717
+ * @summary Returns a SQL source.
718
+ * @param {string} projectName Name of project
719
+ * @param {string} connectionName Name of connection
720
+ * @param {string} [sqlStatement] SQL statement
721
+ * @param {*} [options] Override http request option.
722
+ * @throws {RequiredError}
723
+ */
724
+ getSqlsource: (projectName: string, connectionName: string, sqlStatement?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
725
+ /**
726
+ *
727
+ * @summary Returns a table source.
728
+ * @param {string} projectName Name of project
729
+ * @param {string} connectionName Name of connection
730
+ * @param {string} [tableKey] Table key
731
+ * @param {string} [tablePath] Table path
732
+ * @param {*} [options] Override http request option.
733
+ * @throws {RequiredError}
734
+ */
735
+ getTablesource: (projectName: string, connectionName: string, tableKey?: string, tablePath?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
736
+ /**
737
+ *
738
+ * @summary Returns a temporary table.
739
+ * @param {string} projectName Name of project
740
+ * @param {string} connectionName Name of connection
741
+ * @param {string} [sqlStatement] SQL statement
742
+ * @param {*} [options] Override http request option.
743
+ * @throws {RequiredError}
744
+ */
745
+ getTemporarytable: (projectName: string, connectionName: string, sqlStatement?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
746
+ /**
747
+ *
748
+ * @summary Returns a test.
749
+ * @param {string} projectName Name of project
750
+ * @param {string} connectionName Name of connection
751
+ * @param {*} [options] Override http request option.
752
+ * @throws {RequiredError}
753
+ */
754
+ getTest: (projectName: string, connectionName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
755
+ /**
756
+ *
757
+ * @summary Returns a list of the connections in the project.
758
+ * @param {string} projectName Name of project
759
+ * @param {*} [options] Override http request option.
760
+ * @throws {RequiredError}
761
+ */
762
+ listConnections: (projectName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
763
+ };
764
+ /**
765
+ * ConnectionsApi - functional programming interface
766
+ * @export
767
+ */
768
+ export declare const ConnectionsApiFp: (configuration?: Configuration) => {
769
+ /**
770
+ *
771
+ * @summary Returns a connection.
772
+ * @param {string} projectName Name of project
773
+ * @param {string} connectionName Name of connection
774
+ * @param {*} [options] Override http request option.
775
+ * @throws {RequiredError}
776
+ */
777
+ getConnection(projectName: string, connectionName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Connection>>;
778
+ /**
779
+ *
780
+ * @summary Returns a query and its results.
781
+ * @param {string} projectName Name of project
782
+ * @param {string} connectionName Name of connection
783
+ * @param {string} [sqlStatement] SQL statement
784
+ * @param {string} [_options] Options
785
+ * @param {*} [options] Override http request option.
786
+ * @throws {RequiredError}
787
+ */
788
+ getQuerydata(projectName: string, connectionName: string, sqlStatement?: string, _options?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QueryData>>;
789
+ /**
790
+ *
791
+ * @summary Returns a SQL source.
792
+ * @param {string} projectName Name of project
793
+ * @param {string} connectionName Name of connection
794
+ * @param {string} [sqlStatement] SQL statement
795
+ * @param {*} [options] Override http request option.
796
+ * @throws {RequiredError}
797
+ */
798
+ getSqlsource(projectName: string, connectionName: string, sqlStatement?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SqlSource>>;
799
+ /**
800
+ *
801
+ * @summary Returns a table source.
802
+ * @param {string} projectName Name of project
803
+ * @param {string} connectionName Name of connection
804
+ * @param {string} [tableKey] Table key
805
+ * @param {string} [tablePath] Table path
806
+ * @param {*} [options] Override http request option.
807
+ * @throws {RequiredError}
808
+ */
809
+ getTablesource(projectName: string, connectionName: string, tableKey?: string, tablePath?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TableSource>>;
810
+ /**
811
+ *
812
+ * @summary Returns a temporary table.
813
+ * @param {string} projectName Name of project
814
+ * @param {string} connectionName Name of connection
815
+ * @param {string} [sqlStatement] SQL statement
816
+ * @param {*} [options] Override http request option.
817
+ * @throws {RequiredError}
818
+ */
819
+ getTemporarytable(projectName: string, connectionName: string, sqlStatement?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TemporaryTable>>;
820
+ /**
821
+ *
822
+ * @summary Returns a test.
823
+ * @param {string} projectName Name of project
824
+ * @param {string} connectionName Name of connection
825
+ * @param {*} [options] Override http request option.
826
+ * @throws {RequiredError}
827
+ */
828
+ getTest(projectName: string, connectionName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
829
+ /**
830
+ *
831
+ * @summary Returns a list of the connections in the project.
832
+ * @param {string} projectName Name of project
833
+ * @param {*} [options] Override http request option.
834
+ * @throws {RequiredError}
835
+ */
836
+ listConnections(projectName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Connection>>>;
837
+ };
838
+ /**
839
+ * ConnectionsApi - factory interface
840
+ * @export
841
+ */
842
+ export declare const ConnectionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
843
+ /**
844
+ *
845
+ * @summary Returns a connection.
846
+ * @param {string} projectName Name of project
847
+ * @param {string} connectionName Name of connection
848
+ * @param {*} [options] Override http request option.
849
+ * @throws {RequiredError}
850
+ */
851
+ getConnection(projectName: string, connectionName: string, options?: RawAxiosRequestConfig): AxiosPromise<Connection>;
852
+ /**
853
+ *
854
+ * @summary Returns a query and its results.
855
+ * @param {string} projectName Name of project
856
+ * @param {string} connectionName Name of connection
857
+ * @param {string} [sqlStatement] SQL statement
858
+ * @param {string} [_options] Options
859
+ * @param {*} [options] Override http request option.
860
+ * @throws {RequiredError}
861
+ */
862
+ getQuerydata(projectName: string, connectionName: string, sqlStatement?: string, _options?: string, options?: RawAxiosRequestConfig): AxiosPromise<QueryData>;
863
+ /**
864
+ *
865
+ * @summary Returns a SQL source.
866
+ * @param {string} projectName Name of project
867
+ * @param {string} connectionName Name of connection
868
+ * @param {string} [sqlStatement] SQL statement
869
+ * @param {*} [options] Override http request option.
870
+ * @throws {RequiredError}
871
+ */
872
+ getSqlsource(projectName: string, connectionName: string, sqlStatement?: string, options?: RawAxiosRequestConfig): AxiosPromise<SqlSource>;
873
+ /**
874
+ *
875
+ * @summary Returns a table source.
876
+ * @param {string} projectName Name of project
877
+ * @param {string} connectionName Name of connection
878
+ * @param {string} [tableKey] Table key
879
+ * @param {string} [tablePath] Table path
880
+ * @param {*} [options] Override http request option.
881
+ * @throws {RequiredError}
882
+ */
883
+ getTablesource(projectName: string, connectionName: string, tableKey?: string, tablePath?: string, options?: RawAxiosRequestConfig): AxiosPromise<TableSource>;
884
+ /**
885
+ *
886
+ * @summary Returns a temporary table.
887
+ * @param {string} projectName Name of project
888
+ * @param {string} connectionName Name of connection
889
+ * @param {string} [sqlStatement] SQL statement
890
+ * @param {*} [options] Override http request option.
891
+ * @throws {RequiredError}
892
+ */
893
+ getTemporarytable(projectName: string, connectionName: string, sqlStatement?: string, options?: RawAxiosRequestConfig): AxiosPromise<TemporaryTable>;
894
+ /**
895
+ *
896
+ * @summary Returns a test.
897
+ * @param {string} projectName Name of project
898
+ * @param {string} connectionName Name of connection
899
+ * @param {*} [options] Override http request option.
900
+ * @throws {RequiredError}
901
+ */
902
+ getTest(projectName: string, connectionName: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
903
+ /**
904
+ *
905
+ * @summary Returns a list of the connections in the project.
906
+ * @param {string} projectName Name of project
907
+ * @param {*} [options] Override http request option.
908
+ * @throws {RequiredError}
909
+ */
910
+ listConnections(projectName: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Connection>>;
911
+ };
912
+ /**
913
+ * ConnectionsApi - object-oriented interface
914
+ * @export
915
+ * @class ConnectionsApi
916
+ * @extends {BaseAPI}
917
+ */
918
+ export declare class ConnectionsApi extends BaseAPI {
919
+ /**
920
+ *
921
+ * @summary Returns a connection.
922
+ * @param {string} projectName Name of project
923
+ * @param {string} connectionName Name of connection
924
+ * @param {*} [options] Override http request option.
925
+ * @throws {RequiredError}
926
+ * @memberof ConnectionsApi
927
+ */
928
+ getConnection(projectName: string, connectionName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Connection, any>>;
929
+ /**
930
+ *
931
+ * @summary Returns a query and its results.
932
+ * @param {string} projectName Name of project
933
+ * @param {string} connectionName Name of connection
934
+ * @param {string} [sqlStatement] SQL statement
935
+ * @param {string} [_options] Options
936
+ * @param {*} [options] Override http request option.
937
+ * @throws {RequiredError}
938
+ * @memberof ConnectionsApi
939
+ */
940
+ getQuerydata(projectName: string, connectionName: string, sqlStatement?: string, _options?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<QueryData, any>>;
941
+ /**
942
+ *
943
+ * @summary Returns a SQL source.
944
+ * @param {string} projectName Name of project
945
+ * @param {string} connectionName Name of connection
946
+ * @param {string} [sqlStatement] SQL statement
947
+ * @param {*} [options] Override http request option.
948
+ * @throws {RequiredError}
949
+ * @memberof ConnectionsApi
950
+ */
951
+ getSqlsource(projectName: string, connectionName: string, sqlStatement?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SqlSource, any>>;
952
+ /**
953
+ *
954
+ * @summary Returns a table source.
955
+ * @param {string} projectName Name of project
956
+ * @param {string} connectionName Name of connection
957
+ * @param {string} [tableKey] Table key
958
+ * @param {string} [tablePath] Table path
959
+ * @param {*} [options] Override http request option.
960
+ * @throws {RequiredError}
961
+ * @memberof ConnectionsApi
962
+ */
963
+ getTablesource(projectName: string, connectionName: string, tableKey?: string, tablePath?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TableSource, any>>;
964
+ /**
965
+ *
966
+ * @summary Returns a temporary table.
967
+ * @param {string} projectName Name of project
968
+ * @param {string} connectionName Name of connection
969
+ * @param {string} [sqlStatement] SQL statement
970
+ * @param {*} [options] Override http request option.
971
+ * @throws {RequiredError}
972
+ * @memberof ConnectionsApi
973
+ */
974
+ getTemporarytable(projectName: string, connectionName: string, sqlStatement?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TemporaryTable, any>>;
975
+ /**
976
+ *
977
+ * @summary Returns a test.
978
+ * @param {string} projectName Name of project
979
+ * @param {string} connectionName Name of connection
980
+ * @param {*} [options] Override http request option.
981
+ * @throws {RequiredError}
982
+ * @memberof ConnectionsApi
983
+ */
984
+ getTest(projectName: string, connectionName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
985
+ /**
986
+ *
987
+ * @summary Returns a list of the connections in the project.
988
+ * @param {string} projectName Name of project
989
+ * @param {*} [options] Override http request option.
990
+ * @throws {RequiredError}
991
+ * @memberof ConnectionsApi
992
+ */
993
+ listConnections(projectName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Connection[], any>>;
994
+ }
995
+ /**
996
+ * DatabasesApi - axios parameter creator
997
+ * @export
998
+ */
999
+ export declare const DatabasesApiAxiosParamCreator: (configuration?: Configuration) => {
1000
+ /**
1001
+ *
1002
+ * @summary Returns a list of relative paths to the databases embedded in the package.
1003
+ * @param {string} projectName Name of project
1004
+ * @param {string} packageName Name of package
1005
+ * @param {string} [versionId] Version ID
1006
+ * @param {*} [options] Override http request option.
1007
+ * @throws {RequiredError}
1008
+ */
1009
+ listDatabases: (projectName: string, packageName: string, versionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1010
+ };
1011
+ /**
1012
+ * DatabasesApi - functional programming interface
1013
+ * @export
1014
+ */
1015
+ export declare const DatabasesApiFp: (configuration?: Configuration) => {
1016
+ /**
1017
+ *
1018
+ * @summary Returns a list of relative paths to the databases embedded in the package.
1019
+ * @param {string} projectName Name of project
1020
+ * @param {string} packageName Name of package
1021
+ * @param {string} [versionId] Version ID
1022
+ * @param {*} [options] Override http request option.
1023
+ * @throws {RequiredError}
1024
+ */
1025
+ listDatabases(projectName: string, packageName: string, versionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Database>>>;
1026
+ };
1027
+ /**
1028
+ * DatabasesApi - factory interface
1029
+ * @export
1030
+ */
1031
+ export declare const DatabasesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1032
+ /**
1033
+ *
1034
+ * @summary Returns a list of relative paths to the databases embedded in the package.
1035
+ * @param {string} projectName Name of project
1036
+ * @param {string} packageName Name of package
1037
+ * @param {string} [versionId] Version ID
1038
+ * @param {*} [options] Override http request option.
1039
+ * @throws {RequiredError}
1040
+ */
1041
+ listDatabases(projectName: string, packageName: string, versionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Database>>;
1042
+ };
1043
+ /**
1044
+ * DatabasesApi - object-oriented interface
1045
+ * @export
1046
+ * @class DatabasesApi
1047
+ * @extends {BaseAPI}
1048
+ */
1049
+ export declare class DatabasesApi extends BaseAPI {
1050
+ /**
1051
+ *
1052
+ * @summary Returns a list of relative paths to the databases embedded in the package.
1053
+ * @param {string} projectName Name of project
1054
+ * @param {string} packageName Name of package
1055
+ * @param {string} [versionId] Version ID
1056
+ * @param {*} [options] Override http request option.
1057
+ * @throws {RequiredError}
1058
+ * @memberof DatabasesApi
1059
+ */
1060
+ listDatabases(projectName: string, packageName: string, versionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Database[], any>>;
1061
+ }
1062
+ /**
1063
+ * DefaultApi - axios parameter creator
1064
+ * @export
1065
+ */
1066
+ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
1067
+ /**
1068
+ *
1069
+ * @summary Returns metadata about the publisher service.
1070
+ * @param {string} projectName Name of project
1071
+ * @param {*} [options] Override http request option.
1072
+ * @throws {RequiredError}
1073
+ */
1074
+ about: (projectName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1075
+ };
1076
+ /**
1077
+ * DefaultApi - functional programming interface
1078
+ * @export
1079
+ */
1080
+ export declare const DefaultApiFp: (configuration?: Configuration) => {
1081
+ /**
1082
+ *
1083
+ * @summary Returns metadata about the publisher service.
1084
+ * @param {string} projectName Name of project
1085
+ * @param {*} [options] Override http request option.
1086
+ * @throws {RequiredError}
1087
+ */
1088
+ about(projectName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<About>>;
1089
+ };
1090
+ /**
1091
+ * DefaultApi - factory interface
1092
+ * @export
1093
+ */
1094
+ export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1095
+ /**
1096
+ *
1097
+ * @summary Returns metadata about the publisher service.
1098
+ * @param {string} projectName Name of project
1099
+ * @param {*} [options] Override http request option.
1100
+ * @throws {RequiredError}
1101
+ */
1102
+ about(projectName: string, options?: RawAxiosRequestConfig): AxiosPromise<About>;
1103
+ };
1104
+ /**
1105
+ * DefaultApi - object-oriented interface
1106
+ * @export
1107
+ * @class DefaultApi
1108
+ * @extends {BaseAPI}
1109
+ */
1110
+ export declare class DefaultApi extends BaseAPI {
1111
+ /**
1112
+ *
1113
+ * @summary Returns metadata about the publisher service.
1114
+ * @param {string} projectName Name of project
1115
+ * @param {*} [options] Override http request option.
1116
+ * @throws {RequiredError}
1117
+ * @memberof DefaultApi
1118
+ */
1119
+ about(projectName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<About, any>>;
1120
+ }
1121
+ /**
1122
+ * ModelsApi - axios parameter creator
1123
+ * @export
1124
+ */
1125
+ export declare const ModelsApiAxiosParamCreator: (configuration?: Configuration) => {
1126
+ /**
1127
+ *
1128
+ * @summary Returns a Malloy model.
1129
+ * @param {string} projectName Name of project
1130
+ * @param {string} packageName Name of package.
1131
+ * @param {string} path Path to model wihin the package.
1132
+ * @param {string} [versionId] Version ID
1133
+ * @param {*} [options] Override http request option.
1134
+ * @throws {RequiredError}
1135
+ */
1136
+ getModel: (projectName: string, packageName: string, path: string, versionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1137
+ /**
1138
+ *
1139
+ * @summary Returns a list of relative paths to the models in the package.
1140
+ * @param {string} projectName Name of project
1141
+ * @param {string} packageName Name of package
1142
+ * @param {string} [versionId] Version ID
1143
+ * @param {*} [options] Override http request option.
1144
+ * @throws {RequiredError}
1145
+ */
1146
+ listModels: (projectName: string, packageName: string, versionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1147
+ };
1148
+ /**
1149
+ * ModelsApi - functional programming interface
1150
+ * @export
1151
+ */
1152
+ export declare const ModelsApiFp: (configuration?: Configuration) => {
1153
+ /**
1154
+ *
1155
+ * @summary Returns a Malloy model.
1156
+ * @param {string} projectName Name of project
1157
+ * @param {string} packageName Name of package.
1158
+ * @param {string} path Path to model wihin the package.
1159
+ * @param {string} [versionId] Version ID
1160
+ * @param {*} [options] Override http request option.
1161
+ * @throws {RequiredError}
1162
+ */
1163
+ getModel(projectName: string, packageName: string, path: string, versionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompiledModel>>;
1164
+ /**
1165
+ *
1166
+ * @summary Returns a list of relative paths to the models in the package.
1167
+ * @param {string} projectName Name of project
1168
+ * @param {string} packageName Name of package
1169
+ * @param {string} [versionId] Version ID
1170
+ * @param {*} [options] Override http request option.
1171
+ * @throws {RequiredError}
1172
+ */
1173
+ listModels(projectName: string, packageName: string, versionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Model>>>;
1174
+ };
1175
+ /**
1176
+ * ModelsApi - factory interface
1177
+ * @export
1178
+ */
1179
+ export declare const ModelsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1180
+ /**
1181
+ *
1182
+ * @summary Returns a Malloy model.
1183
+ * @param {string} projectName Name of project
1184
+ * @param {string} packageName Name of package.
1185
+ * @param {string} path Path to model wihin the package.
1186
+ * @param {string} [versionId] Version ID
1187
+ * @param {*} [options] Override http request option.
1188
+ * @throws {RequiredError}
1189
+ */
1190
+ getModel(projectName: string, packageName: string, path: string, versionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<CompiledModel>;
1191
+ /**
1192
+ *
1193
+ * @summary Returns a list of relative paths to the models in the package.
1194
+ * @param {string} projectName Name of project
1195
+ * @param {string} packageName Name of package
1196
+ * @param {string} [versionId] Version ID
1197
+ * @param {*} [options] Override http request option.
1198
+ * @throws {RequiredError}
1199
+ */
1200
+ listModels(projectName: string, packageName: string, versionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Model>>;
1201
+ };
1202
+ /**
1203
+ * ModelsApi - object-oriented interface
1204
+ * @export
1205
+ * @class ModelsApi
1206
+ * @extends {BaseAPI}
1207
+ */
1208
+ export declare class ModelsApi extends BaseAPI {
1209
+ /**
1210
+ *
1211
+ * @summary Returns a Malloy model.
1212
+ * @param {string} projectName Name of project
1213
+ * @param {string} packageName Name of package.
1214
+ * @param {string} path Path to model wihin the package.
1215
+ * @param {string} [versionId] Version ID
1216
+ * @param {*} [options] Override http request option.
1217
+ * @throws {RequiredError}
1218
+ * @memberof ModelsApi
1219
+ */
1220
+ getModel(projectName: string, packageName: string, path: string, versionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CompiledModel, any>>;
1221
+ /**
1222
+ *
1223
+ * @summary Returns a list of relative paths to the models in the package.
1224
+ * @param {string} projectName Name of project
1225
+ * @param {string} packageName Name of package
1226
+ * @param {string} [versionId] Version ID
1227
+ * @param {*} [options] Override http request option.
1228
+ * @throws {RequiredError}
1229
+ * @memberof ModelsApi
1230
+ */
1231
+ listModels(projectName: string, packageName: string, versionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Model[], any>>;
1232
+ }
1233
+ /**
1234
+ * PackagesApi - axios parameter creator
1235
+ * @export
1236
+ */
1237
+ export declare const PackagesApiAxiosParamCreator: (configuration?: Configuration) => {
1238
+ /**
1239
+ *
1240
+ * @summary Returns the package metadata.
1241
+ * @param {string} projectName Name of project
1242
+ * @param {string} packageName Package name
1243
+ * @param {string} [versionId] Version ID
1244
+ * @param {*} [options] Override http request option.
1245
+ * @throws {RequiredError}
1246
+ */
1247
+ getPackage: (projectName: string, packageName: string, versionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1248
+ /**
1249
+ *
1250
+ * @summary Returns a list of the Packages hosted on this server.
1251
+ * @param {string} projectName Name of project
1252
+ * @param {*} [options] Override http request option.
1253
+ * @throws {RequiredError}
1254
+ */
1255
+ listPackages: (projectName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1256
+ };
1257
+ /**
1258
+ * PackagesApi - functional programming interface
1259
+ * @export
1260
+ */
1261
+ export declare const PackagesApiFp: (configuration?: Configuration) => {
1262
+ /**
1263
+ *
1264
+ * @summary Returns the package metadata.
1265
+ * @param {string} projectName Name of project
1266
+ * @param {string} packageName Package name
1267
+ * @param {string} [versionId] Version ID
1268
+ * @param {*} [options] Override http request option.
1269
+ * @throws {RequiredError}
1270
+ */
1271
+ getPackage(projectName: string, packageName: string, versionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Package>>;
1272
+ /**
1273
+ *
1274
+ * @summary Returns a list of the Packages hosted on this server.
1275
+ * @param {string} projectName Name of project
1276
+ * @param {*} [options] Override http request option.
1277
+ * @throws {RequiredError}
1278
+ */
1279
+ listPackages(projectName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Package>>>;
1280
+ };
1281
+ /**
1282
+ * PackagesApi - factory interface
1283
+ * @export
1284
+ */
1285
+ export declare const PackagesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1286
+ /**
1287
+ *
1288
+ * @summary Returns the package metadata.
1289
+ * @param {string} projectName Name of project
1290
+ * @param {string} packageName Package name
1291
+ * @param {string} [versionId] Version ID
1292
+ * @param {*} [options] Override http request option.
1293
+ * @throws {RequiredError}
1294
+ */
1295
+ getPackage(projectName: string, packageName: string, versionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Package>;
1296
+ /**
1297
+ *
1298
+ * @summary Returns a list of the Packages hosted on this server.
1299
+ * @param {string} projectName Name of project
1300
+ * @param {*} [options] Override http request option.
1301
+ * @throws {RequiredError}
1302
+ */
1303
+ listPackages(projectName: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Package>>;
1304
+ };
1305
+ /**
1306
+ * PackagesApi - object-oriented interface
1307
+ * @export
1308
+ * @class PackagesApi
1309
+ * @extends {BaseAPI}
1310
+ */
1311
+ export declare class PackagesApi extends BaseAPI {
1312
+ /**
1313
+ *
1314
+ * @summary Returns the package metadata.
1315
+ * @param {string} projectName Name of project
1316
+ * @param {string} packageName Package name
1317
+ * @param {string} [versionId] Version ID
1318
+ * @param {*} [options] Override http request option.
1319
+ * @throws {RequiredError}
1320
+ * @memberof PackagesApi
1321
+ */
1322
+ getPackage(projectName: string, packageName: string, versionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Package, any>>;
1323
+ /**
1324
+ *
1325
+ * @summary Returns a list of the Packages hosted on this server.
1326
+ * @param {string} projectName Name of project
1327
+ * @param {*} [options] Override http request option.
1328
+ * @throws {RequiredError}
1329
+ * @memberof PackagesApi
1330
+ */
1331
+ listPackages(projectName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Package[], any>>;
1332
+ }
1333
+ /**
1334
+ * ProjectsApi - axios parameter creator
1335
+ * @export
1336
+ */
1337
+ export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuration) => {
1338
+ /**
1339
+ *
1340
+ * @summary Returns a list of the Projects hosted on this server.
1341
+ * @param {*} [options] Override http request option.
1342
+ * @throws {RequiredError}
1343
+ */
1344
+ listProjects: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1345
+ };
1346
+ /**
1347
+ * ProjectsApi - functional programming interface
1348
+ * @export
1349
+ */
1350
+ export declare const ProjectsApiFp: (configuration?: Configuration) => {
1351
+ /**
1352
+ *
1353
+ * @summary Returns a list of the Projects hosted on this server.
1354
+ * @param {*} [options] Override http request option.
1355
+ * @throws {RequiredError}
1356
+ */
1357
+ listProjects(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Project>>>;
1358
+ };
1359
+ /**
1360
+ * ProjectsApi - factory interface
1361
+ * @export
1362
+ */
1363
+ export declare const ProjectsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1364
+ /**
1365
+ *
1366
+ * @summary Returns a list of the Projects hosted on this server.
1367
+ * @param {*} [options] Override http request option.
1368
+ * @throws {RequiredError}
1369
+ */
1370
+ listProjects(options?: RawAxiosRequestConfig): AxiosPromise<Array<Project>>;
1371
+ };
1372
+ /**
1373
+ * ProjectsApi - object-oriented interface
1374
+ * @export
1375
+ * @class ProjectsApi
1376
+ * @extends {BaseAPI}
1377
+ */
1378
+ export declare class ProjectsApi extends BaseAPI {
1379
+ /**
1380
+ *
1381
+ * @summary Returns a list of the Projects hosted on this server.
1382
+ * @param {*} [options] Override http request option.
1383
+ * @throws {RequiredError}
1384
+ * @memberof ProjectsApi
1385
+ */
1386
+ listProjects(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Project[], any>>;
1387
+ }
1388
+ /**
1389
+ * QueryresultsApi - axios parameter creator
1390
+ * @export
1391
+ */
1392
+ export declare const QueryresultsApiAxiosParamCreator: (configuration?: Configuration) => {
1393
+ /**
1394
+ *
1395
+ * @summary Returns a query and its results.
1396
+ * @param {string} projectName Name of project
1397
+ * @param {string} packageName Name of package
1398
+ * @param {string} path Path to model within the package.
1399
+ * @param {string} [query] Query string to execute on the model. If the query is paramter is set, the queryName parameter must be empty.
1400
+ * @param {string} [sourceName] Name of the source in the model to use for queryName, search, and topValue requests.
1401
+ * @param {string} [queryName] Name of a query to execute on a source in the model. Requires the sourceName parameter is set. If the queryName is paramter is set, the query parameter must be empty.
1402
+ * @param {string} [versionId] Version ID
1403
+ * @param {*} [options] Override http request option.
1404
+ * @throws {RequiredError}
1405
+ */
1406
+ executeQuery: (projectName: string, packageName: string, path: string, query?: string, sourceName?: string, queryName?: string, versionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1407
+ };
1408
+ /**
1409
+ * QueryresultsApi - functional programming interface
1410
+ * @export
1411
+ */
1412
+ export declare const QueryresultsApiFp: (configuration?: Configuration) => {
1413
+ /**
1414
+ *
1415
+ * @summary Returns a query and its results.
1416
+ * @param {string} projectName Name of project
1417
+ * @param {string} packageName Name of package
1418
+ * @param {string} path Path to model within the package.
1419
+ * @param {string} [query] Query string to execute on the model. If the query is paramter is set, the queryName parameter must be empty.
1420
+ * @param {string} [sourceName] Name of the source in the model to use for queryName, search, and topValue requests.
1421
+ * @param {string} [queryName] Name of a query to execute on a source in the model. Requires the sourceName parameter is set. If the queryName is paramter is set, the query parameter must be empty.
1422
+ * @param {string} [versionId] Version ID
1423
+ * @param {*} [options] Override http request option.
1424
+ * @throws {RequiredError}
1425
+ */
1426
+ executeQuery(projectName: string, packageName: string, path: string, query?: string, sourceName?: string, queryName?: string, versionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QueryResult>>;
1427
+ };
1428
+ /**
1429
+ * QueryresultsApi - factory interface
1430
+ * @export
1431
+ */
1432
+ export declare const QueryresultsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1433
+ /**
1434
+ *
1435
+ * @summary Returns a query and its results.
1436
+ * @param {string} projectName Name of project
1437
+ * @param {string} packageName Name of package
1438
+ * @param {string} path Path to model within the package.
1439
+ * @param {string} [query] Query string to execute on the model. If the query is paramter is set, the queryName parameter must be empty.
1440
+ * @param {string} [sourceName] Name of the source in the model to use for queryName, search, and topValue requests.
1441
+ * @param {string} [queryName] Name of a query to execute on a source in the model. Requires the sourceName parameter is set. If the queryName is paramter is set, the query parameter must be empty.
1442
+ * @param {string} [versionId] Version ID
1443
+ * @param {*} [options] Override http request option.
1444
+ * @throws {RequiredError}
1445
+ */
1446
+ executeQuery(projectName: string, packageName: string, path: string, query?: string, sourceName?: string, queryName?: string, versionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<QueryResult>;
1447
+ };
1448
+ /**
1449
+ * QueryresultsApi - object-oriented interface
1450
+ * @export
1451
+ * @class QueryresultsApi
1452
+ * @extends {BaseAPI}
1453
+ */
1454
+ export declare class QueryresultsApi extends BaseAPI {
1455
+ /**
1456
+ *
1457
+ * @summary Returns a query and its results.
1458
+ * @param {string} projectName Name of project
1459
+ * @param {string} packageName Name of package
1460
+ * @param {string} path Path to model within the package.
1461
+ * @param {string} [query] Query string to execute on the model. If the query is paramter is set, the queryName parameter must be empty.
1462
+ * @param {string} [sourceName] Name of the source in the model to use for queryName, search, and topValue requests.
1463
+ * @param {string} [queryName] Name of a query to execute on a source in the model. Requires the sourceName parameter is set. If the queryName is paramter is set, the query parameter must be empty.
1464
+ * @param {string} [versionId] Version ID
1465
+ * @param {*} [options] Override http request option.
1466
+ * @throws {RequiredError}
1467
+ * @memberof QueryresultsApi
1468
+ */
1469
+ executeQuery(projectName: string, packageName: string, path: string, query?: string, sourceName?: string, queryName?: string, versionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<QueryResult, any>>;
1470
+ }
1471
+ /**
1472
+ * SchedulesApi - axios parameter creator
1473
+ * @export
1474
+ */
1475
+ export declare const SchedulesApiAxiosParamCreator: (configuration?: Configuration) => {
1476
+ /**
1477
+ *
1478
+ * @summary Returns a list of running schedules.
1479
+ * @param {string} projectName Name of project
1480
+ * @param {string} packageName Name of package
1481
+ * @param {string} [versionId] Version ID
1482
+ * @param {*} [options] Override http request option.
1483
+ * @throws {RequiredError}
1484
+ */
1485
+ listSchedules: (projectName: string, packageName: string, versionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1486
+ };
1487
+ /**
1488
+ * SchedulesApi - functional programming interface
1489
+ * @export
1490
+ */
1491
+ export declare const SchedulesApiFp: (configuration?: Configuration) => {
1492
+ /**
1493
+ *
1494
+ * @summary Returns a list of running schedules.
1495
+ * @param {string} projectName Name of project
1496
+ * @param {string} packageName Name of package
1497
+ * @param {string} [versionId] Version ID
1498
+ * @param {*} [options] Override http request option.
1499
+ * @throws {RequiredError}
1500
+ */
1501
+ listSchedules(projectName: string, packageName: string, versionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Schedule>>>;
1502
+ };
1503
+ /**
1504
+ * SchedulesApi - factory interface
1505
+ * @export
1506
+ */
1507
+ export declare const SchedulesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1508
+ /**
1509
+ *
1510
+ * @summary Returns a list of running schedules.
1511
+ * @param {string} projectName Name of project
1512
+ * @param {string} packageName Name of package
1513
+ * @param {string} [versionId] Version ID
1514
+ * @param {*} [options] Override http request option.
1515
+ * @throws {RequiredError}
1516
+ */
1517
+ listSchedules(projectName: string, packageName: string, versionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Schedule>>;
1518
+ };
1519
+ /**
1520
+ * SchedulesApi - object-oriented interface
1521
+ * @export
1522
+ * @class SchedulesApi
1523
+ * @extends {BaseAPI}
1524
+ */
1525
+ export declare class SchedulesApi extends BaseAPI {
1526
+ /**
1527
+ *
1528
+ * @summary Returns a list of running schedules.
1529
+ * @param {string} projectName Name of project
1530
+ * @param {string} packageName Name of package
1531
+ * @param {string} [versionId] Version ID
1532
+ * @param {*} [options] Override http request option.
1533
+ * @throws {RequiredError}
1534
+ * @memberof SchedulesApi
1535
+ */
1536
+ listSchedules(projectName: string, packageName: string, versionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Schedule[], any>>;
1537
+ }