@malloydata/db-publisher 0.0.390 → 0.0.392

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.
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { Configuration } from './configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import globalAxios from 'axios';
14
15
  import type { RequestArgs } from './base';
15
16
  import { BaseAPI } from './base';
16
17
  /**
@@ -2408,7 +2409,7 @@ export declare class ConnectionsApi extends BaseAPI {
2408
2409
  * @throws {RequiredError}
2409
2410
  * @memberof ConnectionsApi
2410
2411
  */
2411
- createConnection(projectName: string, connectionName: string, connection: Connection, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateConnection201Response, any, {}>>;
2412
+ createConnection(projectName: string, connectionName: string, connection: Connection, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateConnection201Response, any, {}>>;
2412
2413
  /**
2413
2414
  * Permanently deletes a database connection from the project.
2414
2415
  * @summary Delete a database connection
@@ -2418,7 +2419,7 @@ export declare class ConnectionsApi extends BaseAPI {
2418
2419
  * @throws {RequiredError}
2419
2420
  * @memberof ConnectionsApi
2420
2421
  */
2421
- deleteConnection(projectName: string, connectionName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateConnection201Response, any, {}>>;
2422
+ deleteConnection(projectName: string, connectionName: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateConnection201Response, any, {}>>;
2422
2423
  /**
2423
2424
  * Retrieves detailed information about a specific database connection within a project. This includes connection configuration, credentials (if accessible), and metadata. Useful for inspecting connection settings and troubleshooting connectivity issues.
2424
2425
  * @summary Get connection details
@@ -2428,7 +2429,7 @@ export declare class ConnectionsApi extends BaseAPI {
2428
2429
  * @throws {RequiredError}
2429
2430
  * @memberof ConnectionsApi
2430
2431
  */
2431
- getConnection(projectName: string, connectionName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Connection, any, {}>>;
2432
+ getConnection(projectName: string, connectionName: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Connection, any, {}>>;
2432
2433
  /**
2433
2434
  * **DEPRECATED**: This endpoint is deprecated and may be removed in future versions. Use the POST version instead for better security and functionality. Executes a SQL statement against the specified database connection and returns the results. The query results include data, metadata, and execution information.
2434
2435
  * @summary Execute SQL query (deprecated)
@@ -2441,7 +2442,7 @@ export declare class ConnectionsApi extends BaseAPI {
2441
2442
  * @throws {RequiredError}
2442
2443
  * @memberof ConnectionsApi
2443
2444
  */
2444
- getQuerydata(projectName: string, connectionName: string, sqlStatement?: string, _options?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<QueryData, any, {}>>;
2445
+ getQuerydata(projectName: string, connectionName: string, sqlStatement?: string, _options?: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<QueryData, any, {}>>;
2445
2446
  /**
2446
2447
  * **DEPRECATED**: This endpoint is deprecated and may be removed in future versions. Use the POST version instead for better security and functionality. Creates a Malloy source from a SQL statement using the specified connection. The SQL statement is executed to generate a source definition that can be used in Malloy models.
2447
2448
  * @summary Get SQL source (deprecated)
@@ -2453,7 +2454,7 @@ export declare class ConnectionsApi extends BaseAPI {
2453
2454
  * @throws {RequiredError}
2454
2455
  * @memberof ConnectionsApi
2455
2456
  */
2456
- getSqlsource(projectName: string, connectionName: string, sqlStatement?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SqlSource, any, {}>>;
2457
+ getSqlsource(projectName: string, connectionName: string, sqlStatement?: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<SqlSource, any, {}>>;
2457
2458
  /**
2458
2459
  * Retrieves a table from the specified database schema. This endpoint is useful for discovering available data sources and exploring the database structure. The schema must exist in the connection for this operation to succeed. The tablePath is the full path to the table, including the schema name.
2459
2460
  * @summary Get table details from database
@@ -2465,7 +2466,7 @@ export declare class ConnectionsApi extends BaseAPI {
2465
2466
  * @throws {RequiredError}
2466
2467
  * @memberof ConnectionsApi
2467
2468
  */
2468
- getTable(projectName: string, connectionName: string, schemaName: string, tablePath: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Table, any, {}>>;
2469
+ getTable(projectName: string, connectionName: string, schemaName: string, tablePath: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Table, any, {}>>;
2469
2470
  /**
2470
2471
  * **DEPRECATED**: This endpoint is deprecated and may be removed in future versions. Use the POST version instead for better security and functionality. Creates a temporary table from a SQL statement using the specified connection. Temporary tables are useful for storing intermediate results during complex queries.
2471
2472
  * @summary Create temporary table (deprecated)
@@ -2477,7 +2478,7 @@ export declare class ConnectionsApi extends BaseAPI {
2477
2478
  * @throws {RequiredError}
2478
2479
  * @memberof ConnectionsApi
2479
2480
  */
2480
- getTemporarytable(projectName: string, connectionName: string, sqlStatement?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TemporaryTable, any, {}>>;
2481
+ getTemporarytable(projectName: string, connectionName: string, sqlStatement?: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<TemporaryTable, any, {}>>;
2481
2482
  /**
2482
2483
  * Retrieves a list of all database connections configured for the specified project. Each connection includes its configuration, type, and status information. This endpoint is useful for discovering available data sources within a project.
2483
2484
  * @summary List project database connections
@@ -2486,7 +2487,7 @@ export declare class ConnectionsApi extends BaseAPI {
2486
2487
  * @throws {RequiredError}
2487
2488
  * @memberof ConnectionsApi
2488
2489
  */
2489
- listConnections(projectName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Connection[], any, {}>>;
2490
+ listConnections(projectName: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Connection[], any, {}>>;
2490
2491
  /**
2491
2492
  * Retrieves a list of all schemas (databases) available in the specified connection. Each schema includes metadata such as name, description, and whether it\'s the default schema. This endpoint is useful for exploring the database structure and discovering available data sources.
2492
2493
  * @summary List database schemas
@@ -2496,7 +2497,7 @@ export declare class ConnectionsApi extends BaseAPI {
2496
2497
  * @throws {RequiredError}
2497
2498
  * @memberof ConnectionsApi
2498
2499
  */
2499
- listSchemas(projectName: string, connectionName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Schema[], any, {}>>;
2500
+ listSchemas(projectName: string, connectionName: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Schema[], any, {}>>;
2500
2501
  /**
2501
2502
  * Retrieves a list of all tables and views available in the specified database schema. This endpoint is useful for discovering available data sources and exploring the database structure. The schema must exist in the connection for this operation to succeed.
2502
2503
  * @summary List tables in database
@@ -2508,7 +2509,7 @@ export declare class ConnectionsApi extends BaseAPI {
2508
2509
  * @throws {RequiredError}
2509
2510
  * @memberof ConnectionsApi
2510
2511
  */
2511
- listTables(projectName: string, connectionName: string, schemaName: string, tableNames?: Array<string>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Table[], any, {}>>;
2512
+ listTables(projectName: string, connectionName: string, schemaName: string, tableNames?: Array<string>, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Table[], any, {}>>;
2512
2513
  /**
2513
2514
  * Executes a SQL statement against the specified database connection and returns the results. The results include data, metadata, and execution information.
2514
2515
  * @summary Execute SQL query
@@ -2519,7 +2520,7 @@ export declare class ConnectionsApi extends BaseAPI {
2519
2520
  * @throws {RequiredError}
2520
2521
  * @memberof ConnectionsApi
2521
2522
  */
2522
- postQuerydata(projectName: string, connectionName: string, postQuerydataRequest: PostQuerydataRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<QueryData, any, {}>>;
2523
+ postQuerydata(projectName: string, connectionName: string, postQuerydataRequest: PostQuerydataRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<QueryData, any, {}>>;
2523
2524
  /**
2524
2525
  * Creates a Malloy source from a SQL statement using the specified database connection. The SQL statement is executed to generate a source definition that can be used in Malloy models.
2525
2526
  * @summary Create SQL source from statement
@@ -2530,7 +2531,7 @@ export declare class ConnectionsApi extends BaseAPI {
2530
2531
  * @throws {RequiredError}
2531
2532
  * @memberof ConnectionsApi
2532
2533
  */
2533
- postSqlsource(projectName: string, connectionName: string, postSqlsourceRequest: PostSqlsourceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SqlSource, any, {}>>;
2534
+ postSqlsource(projectName: string, connectionName: string, postSqlsourceRequest: PostSqlsourceRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<SqlSource, any, {}>>;
2534
2535
  /**
2535
2536
  * Creates a temporary table from a SQL statement using the specified database connection. Temporary tables are useful for storing intermediate results during complex queries and data processing workflows.
2536
2537
  * @summary Create temporary table
@@ -2541,7 +2542,7 @@ export declare class ConnectionsApi extends BaseAPI {
2541
2542
  * @throws {RequiredError}
2542
2543
  * @memberof ConnectionsApi
2543
2544
  */
2544
- postTemporarytable(projectName: string, connectionName: string, postSqlsourceRequest: PostSqlsourceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TemporaryTable, any, {}>>;
2545
+ postTemporarytable(projectName: string, connectionName: string, postSqlsourceRequest: PostSqlsourceRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<TemporaryTable, any, {}>>;
2545
2546
  /**
2546
2547
  * Updates the configuration of an existing database connection.
2547
2548
  * @summary Update an existing database connection
@@ -2552,7 +2553,7 @@ export declare class ConnectionsApi extends BaseAPI {
2552
2553
  * @throws {RequiredError}
2553
2554
  * @memberof ConnectionsApi
2554
2555
  */
2555
- updateConnection(projectName: string, connectionName: string, updateConnectionRequest: UpdateConnectionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateConnection201Response, any, {}>>;
2556
+ updateConnection(projectName: string, connectionName: string, updateConnectionRequest: UpdateConnectionRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateConnection201Response, any, {}>>;
2556
2557
  }
2557
2558
  /**
2558
2559
  * ConnectionsTestApi - axios parameter creator
@@ -2611,7 +2612,7 @@ export declare class ConnectionsTestApi extends BaseAPI {
2611
2612
  * @throws {RequiredError}
2612
2613
  * @memberof ConnectionsTestApi
2613
2614
  */
2614
- testConnectionConfiguration(connection: Connection, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConnectionStatus, any, {}>>;
2615
+ testConnectionConfiguration(connection: Connection, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ConnectionStatus, any, {}>>;
2615
2616
  }
2616
2617
  /**
2617
2618
  * DatabasesApi - axios parameter creator
@@ -2678,7 +2679,7 @@ export declare class DatabasesApi extends BaseAPI {
2678
2679
  * @throws {RequiredError}
2679
2680
  * @memberof DatabasesApi
2680
2681
  */
2681
- listDatabases(projectName: string, packageName: string, versionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Database[], any, {}>>;
2682
+ listDatabases(projectName: string, packageName: string, versionId?: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Database[], any, {}>>;
2682
2683
  }
2683
2684
  /**
2684
2685
  * ManifestsApi - axios parameter creator
@@ -2771,7 +2772,7 @@ export declare class ManifestsApi extends BaseAPI {
2771
2772
  * @throws {RequiredError}
2772
2773
  * @memberof ManifestsApi
2773
2774
  */
2774
- getManifest(projectName: string, packageName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BuildManifest, any, {}>>;
2775
+ getManifest(projectName: string, packageName: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BuildManifest, any, {}>>;
2775
2776
  /**
2776
2777
  * Performs an action on the package manifest. The action is specified via the `action` query parameter: * `reload` - Reads the build manifest from the shared store (DuckLake in orchestrated mode, local DuckDB in standalone mode) and recompiles every model in the package so subsequent queries resolve persisted sources to their materialized tables. Intended for orchestrated workers that did not themselves run the build; the endpoint does not write anything *into* storage.
2777
2778
  * @summary Perform an action on the package manifest
@@ -2782,7 +2783,7 @@ export declare class ManifestsApi extends BaseAPI {
2782
2783
  * @throws {RequiredError}
2783
2784
  * @memberof ManifestsApi
2784
2785
  */
2785
- manifestAction(projectName: string, packageName: string, action: ManifestActionActionEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BuildManifest, any, {}>>;
2786
+ manifestAction(projectName: string, packageName: string, action: ManifestActionActionEnum, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BuildManifest, any, {}>>;
2786
2787
  }
2787
2788
  /**
2788
2789
  * @export
@@ -2982,7 +2983,7 @@ export declare class MaterializationsApi extends BaseAPI {
2982
2983
  * @throws {RequiredError}
2983
2984
  * @memberof MaterializationsApi
2984
2985
  */
2985
- createMaterialization(projectName: string, packageName: string, createMaterializationRequest?: CreateMaterializationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Materialization, any, {}>>;
2986
+ createMaterialization(projectName: string, packageName: string, createMaterializationRequest?: CreateMaterializationRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Materialization, any, {}>>;
2986
2987
  /**
2987
2988
  * Deletes a terminal (SUCCESS, FAILED, or CANCELLED) materialization record.
2988
2989
  * @summary Delete a materialization
@@ -2993,7 +2994,7 @@ export declare class MaterializationsApi extends BaseAPI {
2993
2994
  * @throws {RequiredError}
2994
2995
  * @memberof MaterializationsApi
2995
2996
  */
2996
- deleteMaterialization(projectName: string, packageName: string, materializationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
2997
+ deleteMaterialization(projectName: string, packageName: string, materializationId: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any, {}>>;
2997
2998
  /**
2998
2999
  *
2999
3000
  * @summary Get a specific materialization
@@ -3004,7 +3005,7 @@ export declare class MaterializationsApi extends BaseAPI {
3004
3005
  * @throws {RequiredError}
3005
3006
  * @memberof MaterializationsApi
3006
3007
  */
3007
- getMaterialization(projectName: string, packageName: string, materializationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Materialization, any, {}>>;
3008
+ getMaterialization(projectName: string, packageName: string, materializationId: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Materialization, any, {}>>;
3008
3009
  /**
3009
3010
  * Returns the materialization history for the package, ordered by most recent first.
3010
3011
  * @summary List materializations for a package
@@ -3016,7 +3017,7 @@ export declare class MaterializationsApi extends BaseAPI {
3016
3017
  * @throws {RequiredError}
3017
3018
  * @memberof MaterializationsApi
3018
3019
  */
3019
- listMaterializations(projectName: string, packageName: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Materialization[], any, {}>>;
3020
+ listMaterializations(projectName: string, packageName: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Materialization[], any, {}>>;
3020
3021
  /**
3021
3022
  * Performs an action on a materialization. The action is specified via the `action` query parameter: * `start` - Transitions a PENDING materialization to RUNNING and begins execution in the background. Returns 202. * `stop` - Cancels a PENDING or RUNNING materialization. Returns 200.
3022
3023
  * @summary Perform an action on a materialization
@@ -3028,7 +3029,7 @@ export declare class MaterializationsApi extends BaseAPI {
3028
3029
  * @throws {RequiredError}
3029
3030
  * @memberof MaterializationsApi
3030
3031
  */
3031
- materializationAction(projectName: string, packageName: string, materializationId: string, action: MaterializationActionActionEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Materialization, any, {}>>;
3032
+ materializationAction(projectName: string, packageName: string, materializationId: string, action: MaterializationActionActionEnum, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Materialization, any, {}>>;
3032
3033
  }
3033
3034
  /**
3034
3035
  * @export
@@ -3203,7 +3204,7 @@ export declare class ModelsApi extends BaseAPI {
3203
3204
  * @throws {RequiredError}
3204
3205
  * @memberof ModelsApi
3205
3206
  */
3206
- compileModelSource(projectName: string, packageName: string, path: string, compileRequest: CompileRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CompileResult, any, {}>>;
3207
+ compileModelSource(projectName: string, packageName: string, path: string, compileRequest: CompileRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CompileResult, any, {}>>;
3207
3208
  /**
3208
3209
  * Executes a Malloy query against a model and returns the results. The query can be specified as a raw Malloy query string or by referencing a named query within the model. This endpoint supports both ad-hoc queries and predefined model queries, making it flexible for various use cases including data exploration, reporting, and application integration.
3209
3210
  * @summary Execute Malloy query
@@ -3215,7 +3216,7 @@ export declare class ModelsApi extends BaseAPI {
3215
3216
  * @throws {RequiredError}
3216
3217
  * @memberof ModelsApi
3217
3218
  */
3218
- executeQueryModel(projectName: string, packageName: string, path: string, queryRequest: QueryRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<QueryResult, any, {}>>;
3219
+ executeQueryModel(projectName: string, packageName: string, path: string, queryRequest: QueryRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<QueryResult, any, {}>>;
3219
3220
  /**
3220
3221
  * Retrieves a compiled Malloy model with its source information, queries, and metadata. The model is compiled using the specified version of the Malloy compiler. This endpoint provides access to the model\'s structure, sources, and named queries for use in applications.
3221
3222
  * @summary Get compiled Malloy model
@@ -3227,7 +3228,7 @@ export declare class ModelsApi extends BaseAPI {
3227
3228
  * @throws {RequiredError}
3228
3229
  * @memberof ModelsApi
3229
3230
  */
3230
- getModel(projectName: string, packageName: string, path: string, versionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CompiledModel, any, {}>>;
3231
+ getModel(projectName: string, packageName: string, path: string, versionId?: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CompiledModel, any, {}>>;
3231
3232
  /**
3232
3233
  * Retrieves a list of all Malloy models within the specified package. Each model entry includes the relative path, package name, and any compilation errors. This endpoint is useful for discovering available models and checking their status.
3233
3234
  * @summary List package models
@@ -3238,7 +3239,7 @@ export declare class ModelsApi extends BaseAPI {
3238
3239
  * @throws {RequiredError}
3239
3240
  * @memberof ModelsApi
3240
3241
  */
3241
- listModels(projectName: string, packageName: string, versionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Model[], any, {}>>;
3242
+ listModels(projectName: string, packageName: string, versionId?: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Model[], any, {}>>;
3242
3243
  }
3243
3244
  /**
3244
3245
  * NotebooksApi - axios parameter creator
@@ -3384,7 +3385,7 @@ export declare class NotebooksApi extends BaseAPI {
3384
3385
  * @throws {RequiredError}
3385
3386
  * @memberof NotebooksApi
3386
3387
  */
3387
- executeNotebookCell(projectName: string, packageName: string, path: string, cellIndex: number, versionId?: string, filterParams?: string, bypassFilters?: ExecuteNotebookCellBypassFiltersEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<NotebookCellResult, any, {}>>;
3388
+ executeNotebookCell(projectName: string, packageName: string, path: string, cellIndex: number, versionId?: string, filterParams?: string, bypassFilters?: ExecuteNotebookCellBypassFiltersEnum, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<NotebookCellResult, any, {}>>;
3388
3389
  /**
3389
3390
  * Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint.
3390
3391
  * @summary Get Malloy notebook cells
@@ -3396,7 +3397,7 @@ export declare class NotebooksApi extends BaseAPI {
3396
3397
  * @throws {RequiredError}
3397
3398
  * @memberof NotebooksApi
3398
3399
  */
3399
- getNotebook(projectName: string, packageName: string, path: string, versionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RawNotebook, any, {}>>;
3400
+ getNotebook(projectName: string, packageName: string, path: string, versionId?: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<RawNotebook, any, {}>>;
3400
3401
  /**
3401
3402
  * Retrieves a list of all Malloy notebooks within the specified package. Each notebook entry includes the relative path, package name, and any compilation errors. This endpoint is useful for discovering available notebooks and checking their status.
3402
3403
  * @summary List package notebooks
@@ -3407,7 +3408,7 @@ export declare class NotebooksApi extends BaseAPI {
3407
3408
  * @throws {RequiredError}
3408
3409
  * @memberof NotebooksApi
3409
3410
  */
3410
- listNotebooks(projectName: string, packageName: string, versionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Notebook[], any, {}>>;
3411
+ listNotebooks(projectName: string, packageName: string, versionId?: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Notebook[], any, {}>>;
3411
3412
  }
3412
3413
  /**
3413
3414
  * @export
@@ -3596,7 +3597,7 @@ export declare class PackagesApi extends BaseAPI {
3596
3597
  * @throws {RequiredError}
3597
3598
  * @memberof PackagesApi
3598
3599
  */
3599
- createPackage(projectName: string, _package: Package, autoLoadManifest?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Package, any, {}>>;
3600
+ createPackage(projectName: string, _package: Package, autoLoadManifest?: boolean, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Package, any, {}>>;
3600
3601
  /**
3601
3602
  * Permanently deletes a package and all its associated resources including models, notebooks, databases, and metadata. This operation cannot be undone, so use with caution. The package must exist and be accessible for deletion.
3602
3603
  * @summary Delete a package
@@ -3606,7 +3607,7 @@ export declare class PackagesApi extends BaseAPI {
3606
3607
  * @throws {RequiredError}
3607
3608
  * @memberof PackagesApi
3608
3609
  */
3609
- deletePackage(projectName: string, packageName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Package, any, {}>>;
3610
+ deletePackage(projectName: string, packageName: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Package, any, {}>>;
3610
3611
  /**
3611
3612
  * Retrieves detailed information about a specific package, including its models, notebooks, databases, and metadata. The reload parameter can be used to refresh the package state from disk before returning the information. The versionId parameter allows access to specific package versions.
3612
3613
  * @summary Get package details and metadata
@@ -3618,7 +3619,7 @@ export declare class PackagesApi extends BaseAPI {
3618
3619
  * @throws {RequiredError}
3619
3620
  * @memberof PackagesApi
3620
3621
  */
3621
- getPackage(projectName: string, packageName: string, versionId?: string, reload?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Package, any, {}>>;
3622
+ getPackage(projectName: string, packageName: string, versionId?: string, reload?: boolean, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Package, any, {}>>;
3622
3623
  /**
3623
3624
  * Retrieves a list of all Malloy packages within the specified project. Each package contains models, notebooks, databases, and other resources. This endpoint is useful for discovering available packages and their basic metadata.
3624
3625
  * @summary List project packages
@@ -3627,7 +3628,7 @@ export declare class PackagesApi extends BaseAPI {
3627
3628
  * @throws {RequiredError}
3628
3629
  * @memberof PackagesApi
3629
3630
  */
3630
- listPackages(projectName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Package[], any, {}>>;
3631
+ listPackages(projectName: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Package[], any, {}>>;
3631
3632
  /**
3632
3633
  * Updates the configuration and metadata of an existing package. This allows you to modify package settings, update the description, change the location, or update other package-level properties. The package must exist and be accessible.
3633
3634
  * @summary Update package configuration
@@ -3638,7 +3639,7 @@ export declare class PackagesApi extends BaseAPI {
3638
3639
  * @throws {RequiredError}
3639
3640
  * @memberof PackagesApi
3640
3641
  */
3641
- updatePackage(projectName: string, packageName: string, _package: Package, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Package, any, {}>>;
3642
+ updatePackage(projectName: string, packageName: string, _package: Package, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Package, any, {}>>;
3642
3643
  }
3643
3644
  /**
3644
3645
  * ProjectsApi - axios parameter creator
@@ -3796,7 +3797,7 @@ export declare class ProjectsApi extends BaseAPI {
3796
3797
  * @throws {RequiredError}
3797
3798
  * @memberof ProjectsApi
3798
3799
  */
3799
- createProject(project: Project, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Project, any, {}>>;
3800
+ createProject(project: Project, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Project, any, {}>>;
3800
3801
  /**
3801
3802
  * Permanently deletes a project and all its associated resources including packages, connections, and metadata. This operation cannot be undone, so use with caution. The project must exist and be accessible for deletion.
3802
3803
  * @summary Delete a project
@@ -3805,7 +3806,7 @@ export declare class ProjectsApi extends BaseAPI {
3805
3806
  * @throws {RequiredError}
3806
3807
  * @memberof ProjectsApi
3807
3808
  */
3808
- deleteProject(projectName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Project, any, {}>>;
3809
+ deleteProject(projectName: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Project, any, {}>>;
3809
3810
  /**
3810
3811
  * Retrieves detailed information about a specific project, including its packages, connections, configuration, and metadata. The reload parameter can be used to refresh the project state from disk before returning the information.
3811
3812
  * @summary Get project details and metadata
@@ -3815,7 +3816,7 @@ export declare class ProjectsApi extends BaseAPI {
3815
3816
  * @throws {RequiredError}
3816
3817
  * @memberof ProjectsApi
3817
3818
  */
3818
- getProject(projectName: string, reload?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Project, any, {}>>;
3819
+ getProject(projectName: string, reload?: boolean, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Project, any, {}>>;
3819
3820
  /**
3820
3821
  * Retrieves a list of all projects currently hosted on this Malloy Publisher server. Each project contains metadata about its packages, connections, and configuration. This endpoint is typically used to discover available projects and their basic information.
3821
3822
  * @summary List all available projects
@@ -3823,7 +3824,7 @@ export declare class ProjectsApi extends BaseAPI {
3823
3824
  * @throws {RequiredError}
3824
3825
  * @memberof ProjectsApi
3825
3826
  */
3826
- listProjects(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Project[], any, {}>>;
3827
+ listProjects(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Project[], any, {}>>;
3827
3828
  /**
3828
3829
  * Updates the configuration and metadata of an existing project. This allows you to modify project settings, update the README, change the location, or update other project-level properties. The project must exist and be accessible.
3829
3830
  * @summary Update project configuration
@@ -3833,7 +3834,7 @@ export declare class ProjectsApi extends BaseAPI {
3833
3834
  * @throws {RequiredError}
3834
3835
  * @memberof ProjectsApi
3835
3836
  */
3836
- updateProject(projectName: string, project: Project, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Project, any, {}>>;
3837
+ updateProject(projectName: string, project: Project, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Project, any, {}>>;
3837
3838
  }
3838
3839
  /**
3839
3840
  * PublisherApi - axios parameter creator
@@ -3888,7 +3889,7 @@ export declare class PublisherApi extends BaseAPI {
3888
3889
  * @throws {RequiredError}
3889
3890
  * @memberof PublisherApi
3890
3891
  */
3891
- getStatus(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServerStatus, any, {}>>;
3892
+ getStatus(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ServerStatus, any, {}>>;
3892
3893
  }
3893
3894
  /**
3894
3895
  * WatchModeApi - axios parameter creator
@@ -3988,7 +3989,7 @@ export declare class WatchModeApi extends BaseAPI {
3988
3989
  * @throws {RequiredError}
3989
3990
  * @memberof WatchModeApi
3990
3991
  */
3991
- getWatchStatus(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WatchStatus, any, {}>>;
3992
+ getWatchStatus(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<WatchStatus, any, {}>>;
3992
3993
  /**
3993
3994
  * Initiates file watching for the specified project. This enables real-time monitoring of file changes within the project directory, allowing for automatic reloading and updates during development. Only one project can be watched at a time.
3994
3995
  * @summary Start file watching
@@ -3997,7 +3998,7 @@ export declare class WatchModeApi extends BaseAPI {
3997
3998
  * @throws {RequiredError}
3998
3999
  * @memberof WatchModeApi
3999
4000
  */
4000
- startWatching(startWatchRequest: StartWatchRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
4001
+ startWatching(startWatchRequest: StartWatchRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any, {}>>;
4001
4002
  /**
4002
4003
  * Stops the current file watching session. This disables real-time monitoring of file changes and releases system resources. Use this when development is complete or when switching to a different project.
4003
4004
  * @summary Stop file watching
@@ -4005,5 +4006,5 @@ export declare class WatchModeApi extends BaseAPI {
4005
4006
  * @throws {RequiredError}
4006
4007
  * @memberof WatchModeApi
4007
4008
  */
4008
- stopWatching(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
4009
+ stopWatching(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any, {}>>;
4009
4010
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/db-publisher",
3
- "version": "0.0.390",
3
+ "version": "0.0.392",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -17,16 +17,17 @@
17
17
  "lint-fix": "eslint '**/*.ts{,x}' --fix",
18
18
  "test": "jest --config=../../jest.config.js",
19
19
  "build": "tsc --build",
20
+ "dev": "tsc --build",
20
21
  "clean": "tsc --build --clean && rm -f tsconfig.tsbuildinfo",
21
22
  "malloyc": "ts-node ../../scripts/malloy-to-json",
22
23
  "prepublishOnly": "npm run build",
23
24
  "generate-api-types": "openapi-generator-cli generate -i publisher-api-doc.yaml -g typescript-axios -o src/client/ && node scripts/patch-common.js"
24
25
  },
25
26
  "dependencies": {
26
- "@malloydata/malloy": "0.0.390",
27
+ "@malloydata/malloy": "0.0.392",
27
28
  "axios": "^1.6.7"
28
29
  },
29
30
  "devDependencies": {
30
- "@openapitools/openapi-generator-cli": "^2.13.5"
31
+ "@openapitools/openapi-generator-cli": "^2.32.0"
31
32
  }
32
33
  }