@malloy-publisher/sdk 0.0.188 → 0.0.382-dev

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.
@@ -168,6 +168,27 @@ export interface BigqueryConnection {
168
168
  */
169
169
  'queryTimeoutMilliseconds'?: string;
170
170
  }
171
+ /**
172
+ * Manifest mapping BuildIDs to materialized table names
173
+ * @export
174
+ * @interface BuildManifest
175
+ */
176
+ export interface BuildManifest {
177
+ /**
178
+ * Map of BuildID to manifest entry
179
+ * @type {{ [key: string]: ManifestEntry; }}
180
+ * @memberof BuildManifest
181
+ */
182
+ 'entries'?: {
183
+ [key: string]: ManifestEntry;
184
+ };
185
+ /**
186
+ * Whether the manifest is in strict mode
187
+ * @type {boolean}
188
+ * @memberof BuildManifest
189
+ */
190
+ 'strict'?: boolean;
191
+ }
171
192
  /**
172
193
  * Database column definition
173
194
  * @export
@@ -518,6 +539,25 @@ export interface CreateConnection409Response {
518
539
  */
519
540
  'error'?: string;
520
541
  }
542
+ /**
543
+ * Options for creating a materialization
544
+ * @export
545
+ * @interface CreateMaterializationRequest
546
+ */
547
+ export interface CreateMaterializationRequest {
548
+ /**
549
+ * If true, forces rebuild of all sources even if their BuildID is unchanged
550
+ * @type {boolean}
551
+ * @memberof CreateMaterializationRequest
552
+ */
553
+ 'forceRefresh'?: boolean;
554
+ /**
555
+ * If true, automatically reloads the manifest into the Malloy Runtime after a successful materialization
556
+ * @type {boolean}
557
+ * @memberof CreateMaterializationRequest
558
+ */
559
+ 'autoLoadManifest'?: boolean;
560
+ }
521
561
  /**
522
562
  * Embedded database within a Malloy package
523
563
  * @export
@@ -770,6 +810,94 @@ export interface LogMessageRangeStart {
770
810
  */
771
811
  'character'?: number;
772
812
  }
813
+ /**
814
+ * A single entry in the build manifest
815
+ * @export
816
+ * @interface ManifestEntry
817
+ */
818
+ export interface ManifestEntry {
819
+ /**
820
+ * Name of the materialized table
821
+ * @type {string}
822
+ * @memberof ManifestEntry
823
+ */
824
+ 'tableName'?: string;
825
+ }
826
+ /**
827
+ * A record of a package materialization
828
+ * @export
829
+ * @interface Materialization
830
+ */
831
+ export interface Materialization {
832
+ /**
833
+ *
834
+ * @type {string}
835
+ * @memberof Materialization
836
+ */
837
+ 'id'?: string;
838
+ /**
839
+ *
840
+ * @type {string}
841
+ * @memberof Materialization
842
+ */
843
+ 'projectId'?: string;
844
+ /**
845
+ *
846
+ * @type {string}
847
+ * @memberof Materialization
848
+ */
849
+ 'packageName'?: string;
850
+ /**
851
+ *
852
+ * @type {string}
853
+ * @memberof Materialization
854
+ */
855
+ 'status'?: MaterializationStatusEnum;
856
+ /**
857
+ *
858
+ * @type {string}
859
+ * @memberof Materialization
860
+ */
861
+ 'startedAt'?: string | null;
862
+ /**
863
+ *
864
+ * @type {string}
865
+ * @memberof Materialization
866
+ */
867
+ 'completedAt'?: string | null;
868
+ /**
869
+ * Error message if the materialization failed
870
+ * @type {string}
871
+ * @memberof Materialization
872
+ */
873
+ 'error'?: string | null;
874
+ /**
875
+ * Materialization metadata including build options, source counts, and durations
876
+ * @type {object}
877
+ * @memberof Materialization
878
+ */
879
+ 'metadata'?: object | null;
880
+ /**
881
+ *
882
+ * @type {string}
883
+ * @memberof Materialization
884
+ */
885
+ 'createdAt'?: string;
886
+ /**
887
+ *
888
+ * @type {string}
889
+ * @memberof Materialization
890
+ */
891
+ 'updatedAt'?: string;
892
+ }
893
+ export declare const MaterializationStatusEnum: {
894
+ readonly Pending: "PENDING";
895
+ readonly Running: "RUNNING";
896
+ readonly Success: "SUCCESS";
897
+ readonly Failed: "FAILED";
898
+ readonly Cancelled: "CANCELLED";
899
+ };
900
+ export type MaterializationStatusEnum = typeof MaterializationStatusEnum[keyof typeof MaterializationStatusEnum];
773
901
  /**
774
902
  * Malloy model metadata and status information
775
903
  * @export
@@ -1010,6 +1138,25 @@ export interface Package {
1010
1138
  */
1011
1139
  'location'?: string;
1012
1140
  }
1141
+ /**
1142
+ *
1143
+ * @export
1144
+ * @interface PostQuerydataRequest
1145
+ */
1146
+ export interface PostQuerydataRequest {
1147
+ /**
1148
+ *
1149
+ * @type {string}
1150
+ * @memberof PostQuerydataRequest
1151
+ */
1152
+ 'sqlStatement'?: string;
1153
+ /**
1154
+ * Options
1155
+ * @type {string}
1156
+ * @memberof PostQuerydataRequest
1157
+ */
1158
+ 'options'?: string;
1159
+ }
1013
1160
  /**
1014
1161
  *
1015
1162
  * @export
@@ -1108,6 +1255,31 @@ export interface Project {
1108
1255
  * @memberof Project
1109
1256
  */
1110
1257
  'packages'?: Array<Package>;
1258
+ /**
1259
+ *
1260
+ * @type {ProjectMaterializationStorage}
1261
+ * @memberof Project
1262
+ */
1263
+ 'materializationStorage'?: ProjectMaterializationStorage;
1264
+ }
1265
+ /**
1266
+ * Optional DuckLake-backed storage for materialization manifests (orchestrated mode). When set, manifests are stored in a shared DuckLake catalog instead of the local DuckDB database.
1267
+ * @export
1268
+ * @interface ProjectMaterializationStorage
1269
+ */
1270
+ export interface ProjectMaterializationStorage {
1271
+ /**
1272
+ * PostgreSQL connection URL for the DuckLake catalog metadata store
1273
+ * @type {string}
1274
+ * @memberof ProjectMaterializationStorage
1275
+ */
1276
+ 'catalogUrl'?: string;
1277
+ /**
1278
+ * Cloud storage path (s3:// or gs://) for DuckLake data files
1279
+ * @type {string}
1280
+ * @memberof ProjectMaterializationStorage
1281
+ */
1282
+ 'dataPath'?: string;
1111
1283
  }
1112
1284
  /**
1113
1285
  * Named model query definition
@@ -1190,25 +1362,20 @@ export interface QueryRequest {
1190
1362
  */
1191
1363
  'versionId'?: string;
1192
1364
  /**
1193
- * Filter parameter values keyed by filter name. Used with sources that declare
1194
- * @type {{ [key: string]: QueryRequestFilterParamsValue; }}
1365
+ * Filter parameter values keyed by filter name. Used with sources that declare \\#(filter) annotations. Each value is either a string or an array of strings.
1366
+ * @type {{ [key: string]: any; }}
1195
1367
  * @memberof QueryRequest
1196
1368
  */
1197
1369
  'filterParams'?: {
1198
- [key: string]: QueryRequestFilterParamsValue;
1370
+ [key: string]: any;
1199
1371
  };
1200
1372
  /**
1201
- * When true, skip server-side
1373
+ * When true, skip server-side \\#(filter) injection entirely.
1202
1374
  * @type {boolean}
1203
1375
  * @memberof QueryRequest
1204
1376
  */
1205
1377
  'bypassFilters'?: boolean;
1206
1378
  }
1207
- /**
1208
- * @type QueryRequestFilterParamsValue
1209
- * @export
1210
- */
1211
- export type QueryRequestFilterParamsValue = Array<string> | string;
1212
1379
  /**
1213
1380
  * Results from executing a Malloy query
1214
1381
  * @export
@@ -1877,12 +2044,11 @@ export declare const ConnectionsApiAxiosParamCreator: (configuration?: Configura
1877
2044
  * @summary Execute SQL query
1878
2045
  * @param {string} projectName Name of the project
1879
2046
  * @param {string} connectionName Name of the connection
1880
- * @param {PostSqlsourceRequest} postSqlsourceRequest SQL statement to execute
1881
- * @param {string} [_options] Options
2047
+ * @param {PostQuerydataRequest} postQuerydataRequest SQL statement to execute
1882
2048
  * @param {*} [options] Override http request option.
1883
2049
  * @throws {RequiredError}
1884
2050
  */
1885
- postQuerydata: (projectName: string, connectionName: string, postSqlsourceRequest: PostSqlsourceRequest, _options?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2051
+ postQuerydata: (projectName: string, connectionName: string, postQuerydataRequest: PostQuerydataRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1886
2052
  /**
1887
2053
  * 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.
1888
2054
  * @summary Create SQL source from statement
@@ -2025,12 +2191,11 @@ export declare const ConnectionsApiFp: (configuration?: Configuration) => {
2025
2191
  * @summary Execute SQL query
2026
2192
  * @param {string} projectName Name of the project
2027
2193
  * @param {string} connectionName Name of the connection
2028
- * @param {PostSqlsourceRequest} postSqlsourceRequest SQL statement to execute
2029
- * @param {string} [_options] Options
2194
+ * @param {PostQuerydataRequest} postQuerydataRequest SQL statement to execute
2030
2195
  * @param {*} [options] Override http request option.
2031
2196
  * @throws {RequiredError}
2032
2197
  */
2033
- postQuerydata(projectName: string, connectionName: string, postSqlsourceRequest: PostSqlsourceRequest, _options?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QueryData>>;
2198
+ postQuerydata(projectName: string, connectionName: string, postQuerydataRequest: PostQuerydataRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QueryData>>;
2034
2199
  /**
2035
2200
  * 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.
2036
2201
  * @summary Create SQL source from statement
@@ -2173,12 +2338,11 @@ export declare const ConnectionsApiFactory: (configuration?: Configuration, base
2173
2338
  * @summary Execute SQL query
2174
2339
  * @param {string} projectName Name of the project
2175
2340
  * @param {string} connectionName Name of the connection
2176
- * @param {PostSqlsourceRequest} postSqlsourceRequest SQL statement to execute
2177
- * @param {string} [_options] Options
2341
+ * @param {PostQuerydataRequest} postQuerydataRequest SQL statement to execute
2178
2342
  * @param {*} [options] Override http request option.
2179
2343
  * @throws {RequiredError}
2180
2344
  */
2181
- postQuerydata(projectName: string, connectionName: string, postSqlsourceRequest: PostSqlsourceRequest, _options?: string, options?: RawAxiosRequestConfig): AxiosPromise<QueryData>;
2345
+ postQuerydata(projectName: string, connectionName: string, postQuerydataRequest: PostQuerydataRequest, options?: RawAxiosRequestConfig): AxiosPromise<QueryData>;
2182
2346
  /**
2183
2347
  * 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.
2184
2348
  * @summary Create SQL source from statement
@@ -2333,13 +2497,12 @@ export declare class ConnectionsApi extends BaseAPI {
2333
2497
  * @summary Execute SQL query
2334
2498
  * @param {string} projectName Name of the project
2335
2499
  * @param {string} connectionName Name of the connection
2336
- * @param {PostSqlsourceRequest} postSqlsourceRequest SQL statement to execute
2337
- * @param {string} [_options] Options
2500
+ * @param {PostQuerydataRequest} postQuerydataRequest SQL statement to execute
2338
2501
  * @param {*} [options] Override http request option.
2339
2502
  * @throws {RequiredError}
2340
2503
  * @memberof ConnectionsApi
2341
2504
  */
2342
- postQuerydata(projectName: string, connectionName: string, postSqlsourceRequest: PostSqlsourceRequest, _options?: string, options?: RawAxiosRequestConfig): Promise< AxiosResponse<QueryData, any, {}>>;
2505
+ postQuerydata(projectName: string, connectionName: string, postQuerydataRequest: PostQuerydataRequest, options?: RawAxiosRequestConfig): Promise< AxiosResponse<QueryData, any, {}>>;
2343
2506
  /**
2344
2507
  * 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.
2345
2508
  * @summary Create SQL source from statement
@@ -2500,6 +2663,364 @@ export declare class DatabasesApi extends BaseAPI {
2500
2663
  */
2501
2664
  listDatabases(projectName: string, packageName: string, versionId?: string, options?: RawAxiosRequestConfig): Promise< AxiosResponse<Database[], any, {}>>;
2502
2665
  }
2666
+ /**
2667
+ * ManifestsApi - axios parameter creator
2668
+ * @export
2669
+ */
2670
+ export declare const ManifestsApiAxiosParamCreator: (configuration?: Configuration) => {
2671
+ /**
2672
+ * Returns the current build manifest containing buildId-to-tableName mappings for all materialized sources in the package.
2673
+ * @summary Get the build manifest for a package
2674
+ * @param {string} projectName Name of the project
2675
+ * @param {string} packageName Name of the package
2676
+ * @param {*} [options] Override http request option.
2677
+ * @throws {RequiredError}
2678
+ */
2679
+ getManifest: (projectName: string, packageName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2680
+ /**
2681
+ * 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.
2682
+ * @summary Perform an action on the package manifest
2683
+ * @param {string} projectName Name of the project
2684
+ * @param {string} packageName Name of the package
2685
+ * @param {ManifestActionActionEnum} action Action to perform on the manifest
2686
+ * @param {*} [options] Override http request option.
2687
+ * @throws {RequiredError}
2688
+ */
2689
+ manifestAction: (projectName: string, packageName: string, action: ManifestActionActionEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2690
+ };
2691
+ /**
2692
+ * ManifestsApi - functional programming interface
2693
+ * @export
2694
+ */
2695
+ export declare const ManifestsApiFp: (configuration?: Configuration) => {
2696
+ /**
2697
+ * Returns the current build manifest containing buildId-to-tableName mappings for all materialized sources in the package.
2698
+ * @summary Get the build manifest for a package
2699
+ * @param {string} projectName Name of the project
2700
+ * @param {string} packageName Name of the package
2701
+ * @param {*} [options] Override http request option.
2702
+ * @throws {RequiredError}
2703
+ */
2704
+ getManifest(projectName: string, packageName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BuildManifest>>;
2705
+ /**
2706
+ * 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.
2707
+ * @summary Perform an action on the package manifest
2708
+ * @param {string} projectName Name of the project
2709
+ * @param {string} packageName Name of the package
2710
+ * @param {ManifestActionActionEnum} action Action to perform on the manifest
2711
+ * @param {*} [options] Override http request option.
2712
+ * @throws {RequiredError}
2713
+ */
2714
+ manifestAction(projectName: string, packageName: string, action: ManifestActionActionEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BuildManifest>>;
2715
+ };
2716
+ /**
2717
+ * ManifestsApi - factory interface
2718
+ * @export
2719
+ */
2720
+ export declare const ManifestsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2721
+ /**
2722
+ * Returns the current build manifest containing buildId-to-tableName mappings for all materialized sources in the package.
2723
+ * @summary Get the build manifest for a package
2724
+ * @param {string} projectName Name of the project
2725
+ * @param {string} packageName Name of the package
2726
+ * @param {*} [options] Override http request option.
2727
+ * @throws {RequiredError}
2728
+ */
2729
+ getManifest(projectName: string, packageName: string, options?: RawAxiosRequestConfig): AxiosPromise<BuildManifest>;
2730
+ /**
2731
+ * 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.
2732
+ * @summary Perform an action on the package manifest
2733
+ * @param {string} projectName Name of the project
2734
+ * @param {string} packageName Name of the package
2735
+ * @param {ManifestActionActionEnum} action Action to perform on the manifest
2736
+ * @param {*} [options] Override http request option.
2737
+ * @throws {RequiredError}
2738
+ */
2739
+ manifestAction(projectName: string, packageName: string, action: ManifestActionActionEnum, options?: RawAxiosRequestConfig): AxiosPromise<BuildManifest>;
2740
+ };
2741
+ /**
2742
+ * ManifestsApi - object-oriented interface
2743
+ * @export
2744
+ * @class ManifestsApi
2745
+ * @extends {BaseAPI}
2746
+ */
2747
+ export declare class ManifestsApi extends BaseAPI {
2748
+ /**
2749
+ * Returns the current build manifest containing buildId-to-tableName mappings for all materialized sources in the package.
2750
+ * @summary Get the build manifest for a package
2751
+ * @param {string} projectName Name of the project
2752
+ * @param {string} packageName Name of the package
2753
+ * @param {*} [options] Override http request option.
2754
+ * @throws {RequiredError}
2755
+ * @memberof ManifestsApi
2756
+ */
2757
+ getManifest(projectName: string, packageName: string, options?: RawAxiosRequestConfig): Promise< AxiosResponse<BuildManifest, any, {}>>;
2758
+ /**
2759
+ * 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.
2760
+ * @summary Perform an action on the package manifest
2761
+ * @param {string} projectName Name of the project
2762
+ * @param {string} packageName Name of the package
2763
+ * @param {ManifestActionActionEnum} action Action to perform on the manifest
2764
+ * @param {*} [options] Override http request option.
2765
+ * @throws {RequiredError}
2766
+ * @memberof ManifestsApi
2767
+ */
2768
+ manifestAction(projectName: string, packageName: string, action: ManifestActionActionEnum, options?: RawAxiosRequestConfig): Promise< AxiosResponse<BuildManifest, any, {}>>;
2769
+ }
2770
+ /**
2771
+ * @export
2772
+ */
2773
+ export declare const ManifestActionActionEnum: {
2774
+ readonly Reload: "reload";
2775
+ };
2776
+ export type ManifestActionActionEnum = typeof ManifestActionActionEnum[keyof typeof ManifestActionActionEnum];
2777
+ /**
2778
+ * MaterializationsApi - axios parameter creator
2779
+ * @export
2780
+ */
2781
+ export declare const MaterializationsApiAxiosParamCreator: (configuration?: Configuration) => {
2782
+ /**
2783
+ * Creates a new materialization in PENDING state for all persist sources across all models in the package. Use POST .../materializations/{materializationId}?action=start to begin execution.
2784
+ * @summary Create a materialization
2785
+ * @param {string} projectName Name of the project
2786
+ * @param {string} packageName Name of the package
2787
+ * @param {CreateMaterializationRequest} [createMaterializationRequest]
2788
+ * @param {*} [options] Override http request option.
2789
+ * @throws {RequiredError}
2790
+ */
2791
+ createMaterialization: (projectName: string, packageName: string, createMaterializationRequest?: CreateMaterializationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2792
+ /**
2793
+ * Deletes a terminal (SUCCESS, FAILED, or CANCELLED) materialization record.
2794
+ * @summary Delete a materialization
2795
+ * @param {string} projectName Name of the project
2796
+ * @param {string} packageName Name of the package
2797
+ * @param {string} materializationId ID of the materialization
2798
+ * @param {*} [options] Override http request option.
2799
+ * @throws {RequiredError}
2800
+ */
2801
+ deleteMaterialization: (projectName: string, packageName: string, materializationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2802
+ /**
2803
+ *
2804
+ * @summary Get a specific materialization
2805
+ * @param {string} projectName Name of the project
2806
+ * @param {string} packageName Name of the package
2807
+ * @param {string} materializationId ID of the materialization
2808
+ * @param {*} [options] Override http request option.
2809
+ * @throws {RequiredError}
2810
+ */
2811
+ getMaterialization: (projectName: string, packageName: string, materializationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2812
+ /**
2813
+ * Returns the materialization history for the package, ordered by most recent first.
2814
+ * @summary List materializations for a package
2815
+ * @param {string} projectName Name of the project
2816
+ * @param {string} packageName Name of the package
2817
+ * @param {number} [limit] Maximum number of materializations to return
2818
+ * @param {number} [offset] Number of materializations to skip
2819
+ * @param {*} [options] Override http request option.
2820
+ * @throws {RequiredError}
2821
+ */
2822
+ listMaterializations: (projectName: string, packageName: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2823
+ /**
2824
+ * 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.
2825
+ * @summary Perform an action on a materialization
2826
+ * @param {string} projectName Name of the project
2827
+ * @param {string} packageName Name of the package
2828
+ * @param {string} materializationId ID of the materialization
2829
+ * @param {MaterializationActionActionEnum} action Action to perform on the materialization
2830
+ * @param {*} [options] Override http request option.
2831
+ * @throws {RequiredError}
2832
+ */
2833
+ materializationAction: (projectName: string, packageName: string, materializationId: string, action: MaterializationActionActionEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2834
+ };
2835
+ /**
2836
+ * MaterializationsApi - functional programming interface
2837
+ * @export
2838
+ */
2839
+ export declare const MaterializationsApiFp: (configuration?: Configuration) => {
2840
+ /**
2841
+ * Creates a new materialization in PENDING state for all persist sources across all models in the package. Use POST .../materializations/{materializationId}?action=start to begin execution.
2842
+ * @summary Create a materialization
2843
+ * @param {string} projectName Name of the project
2844
+ * @param {string} packageName Name of the package
2845
+ * @param {CreateMaterializationRequest} [createMaterializationRequest]
2846
+ * @param {*} [options] Override http request option.
2847
+ * @throws {RequiredError}
2848
+ */
2849
+ createMaterialization(projectName: string, packageName: string, createMaterializationRequest?: CreateMaterializationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Materialization>>;
2850
+ /**
2851
+ * Deletes a terminal (SUCCESS, FAILED, or CANCELLED) materialization record.
2852
+ * @summary Delete a materialization
2853
+ * @param {string} projectName Name of the project
2854
+ * @param {string} packageName Name of the package
2855
+ * @param {string} materializationId ID of the materialization
2856
+ * @param {*} [options] Override http request option.
2857
+ * @throws {RequiredError}
2858
+ */
2859
+ deleteMaterialization(projectName: string, packageName: string, materializationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2860
+ /**
2861
+ *
2862
+ * @summary Get a specific materialization
2863
+ * @param {string} projectName Name of the project
2864
+ * @param {string} packageName Name of the package
2865
+ * @param {string} materializationId ID of the materialization
2866
+ * @param {*} [options] Override http request option.
2867
+ * @throws {RequiredError}
2868
+ */
2869
+ getMaterialization(projectName: string, packageName: string, materializationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Materialization>>;
2870
+ /**
2871
+ * Returns the materialization history for the package, ordered by most recent first.
2872
+ * @summary List materializations for a package
2873
+ * @param {string} projectName Name of the project
2874
+ * @param {string} packageName Name of the package
2875
+ * @param {number} [limit] Maximum number of materializations to return
2876
+ * @param {number} [offset] Number of materializations to skip
2877
+ * @param {*} [options] Override http request option.
2878
+ * @throws {RequiredError}
2879
+ */
2880
+ listMaterializations(projectName: string, packageName: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Materialization>>>;
2881
+ /**
2882
+ * 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.
2883
+ * @summary Perform an action on a materialization
2884
+ * @param {string} projectName Name of the project
2885
+ * @param {string} packageName Name of the package
2886
+ * @param {string} materializationId ID of the materialization
2887
+ * @param {MaterializationActionActionEnum} action Action to perform on the materialization
2888
+ * @param {*} [options] Override http request option.
2889
+ * @throws {RequiredError}
2890
+ */
2891
+ materializationAction(projectName: string, packageName: string, materializationId: string, action: MaterializationActionActionEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Materialization>>;
2892
+ };
2893
+ /**
2894
+ * MaterializationsApi - factory interface
2895
+ * @export
2896
+ */
2897
+ export declare const MaterializationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2898
+ /**
2899
+ * Creates a new materialization in PENDING state for all persist sources across all models in the package. Use POST .../materializations/{materializationId}?action=start to begin execution.
2900
+ * @summary Create a materialization
2901
+ * @param {string} projectName Name of the project
2902
+ * @param {string} packageName Name of the package
2903
+ * @param {CreateMaterializationRequest} [createMaterializationRequest]
2904
+ * @param {*} [options] Override http request option.
2905
+ * @throws {RequiredError}
2906
+ */
2907
+ createMaterialization(projectName: string, packageName: string, createMaterializationRequest?: CreateMaterializationRequest, options?: RawAxiosRequestConfig): AxiosPromise<Materialization>;
2908
+ /**
2909
+ * Deletes a terminal (SUCCESS, FAILED, or CANCELLED) materialization record.
2910
+ * @summary Delete a materialization
2911
+ * @param {string} projectName Name of the project
2912
+ * @param {string} packageName Name of the package
2913
+ * @param {string} materializationId ID of the materialization
2914
+ * @param {*} [options] Override http request option.
2915
+ * @throws {RequiredError}
2916
+ */
2917
+ deleteMaterialization(projectName: string, packageName: string, materializationId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2918
+ /**
2919
+ *
2920
+ * @summary Get a specific materialization
2921
+ * @param {string} projectName Name of the project
2922
+ * @param {string} packageName Name of the package
2923
+ * @param {string} materializationId ID of the materialization
2924
+ * @param {*} [options] Override http request option.
2925
+ * @throws {RequiredError}
2926
+ */
2927
+ getMaterialization(projectName: string, packageName: string, materializationId: string, options?: RawAxiosRequestConfig): AxiosPromise<Materialization>;
2928
+ /**
2929
+ * Returns the materialization history for the package, ordered by most recent first.
2930
+ * @summary List materializations for a package
2931
+ * @param {string} projectName Name of the project
2932
+ * @param {string} packageName Name of the package
2933
+ * @param {number} [limit] Maximum number of materializations to return
2934
+ * @param {number} [offset] Number of materializations to skip
2935
+ * @param {*} [options] Override http request option.
2936
+ * @throws {RequiredError}
2937
+ */
2938
+ listMaterializations(projectName: string, packageName: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<Materialization>>;
2939
+ /**
2940
+ * 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.
2941
+ * @summary Perform an action on a materialization
2942
+ * @param {string} projectName Name of the project
2943
+ * @param {string} packageName Name of the package
2944
+ * @param {string} materializationId ID of the materialization
2945
+ * @param {MaterializationActionActionEnum} action Action to perform on the materialization
2946
+ * @param {*} [options] Override http request option.
2947
+ * @throws {RequiredError}
2948
+ */
2949
+ materializationAction(projectName: string, packageName: string, materializationId: string, action: MaterializationActionActionEnum, options?: RawAxiosRequestConfig): AxiosPromise<Materialization>;
2950
+ };
2951
+ /**
2952
+ * MaterializationsApi - object-oriented interface
2953
+ * @export
2954
+ * @class MaterializationsApi
2955
+ * @extends {BaseAPI}
2956
+ */
2957
+ export declare class MaterializationsApi extends BaseAPI {
2958
+ /**
2959
+ * Creates a new materialization in PENDING state for all persist sources across all models in the package. Use POST .../materializations/{materializationId}?action=start to begin execution.
2960
+ * @summary Create a materialization
2961
+ * @param {string} projectName Name of the project
2962
+ * @param {string} packageName Name of the package
2963
+ * @param {CreateMaterializationRequest} [createMaterializationRequest]
2964
+ * @param {*} [options] Override http request option.
2965
+ * @throws {RequiredError}
2966
+ * @memberof MaterializationsApi
2967
+ */
2968
+ createMaterialization(projectName: string, packageName: string, createMaterializationRequest?: CreateMaterializationRequest, options?: RawAxiosRequestConfig): Promise< AxiosResponse<Materialization, any, {}>>;
2969
+ /**
2970
+ * Deletes a terminal (SUCCESS, FAILED, or CANCELLED) materialization record.
2971
+ * @summary Delete a materialization
2972
+ * @param {string} projectName Name of the project
2973
+ * @param {string} packageName Name of the package
2974
+ * @param {string} materializationId ID of the materialization
2975
+ * @param {*} [options] Override http request option.
2976
+ * @throws {RequiredError}
2977
+ * @memberof MaterializationsApi
2978
+ */
2979
+ deleteMaterialization(projectName: string, packageName: string, materializationId: string, options?: RawAxiosRequestConfig): Promise< AxiosResponse<void, any, {}>>;
2980
+ /**
2981
+ *
2982
+ * @summary Get a specific materialization
2983
+ * @param {string} projectName Name of the project
2984
+ * @param {string} packageName Name of the package
2985
+ * @param {string} materializationId ID of the materialization
2986
+ * @param {*} [options] Override http request option.
2987
+ * @throws {RequiredError}
2988
+ * @memberof MaterializationsApi
2989
+ */
2990
+ getMaterialization(projectName: string, packageName: string, materializationId: string, options?: RawAxiosRequestConfig): Promise< AxiosResponse<Materialization, any, {}>>;
2991
+ /**
2992
+ * Returns the materialization history for the package, ordered by most recent first.
2993
+ * @summary List materializations for a package
2994
+ * @param {string} projectName Name of the project
2995
+ * @param {string} packageName Name of the package
2996
+ * @param {number} [limit] Maximum number of materializations to return
2997
+ * @param {number} [offset] Number of materializations to skip
2998
+ * @param {*} [options] Override http request option.
2999
+ * @throws {RequiredError}
3000
+ * @memberof MaterializationsApi
3001
+ */
3002
+ listMaterializations(projectName: string, packageName: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise< AxiosResponse<Materialization[], any, {}>>;
3003
+ /**
3004
+ * 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.
3005
+ * @summary Perform an action on a materialization
3006
+ * @param {string} projectName Name of the project
3007
+ * @param {string} packageName Name of the package
3008
+ * @param {string} materializationId ID of the materialization
3009
+ * @param {MaterializationActionActionEnum} action Action to perform on the materialization
3010
+ * @param {*} [options] Override http request option.
3011
+ * @throws {RequiredError}
3012
+ * @memberof MaterializationsApi
3013
+ */
3014
+ materializationAction(projectName: string, packageName: string, materializationId: string, action: MaterializationActionActionEnum, options?: RawAxiosRequestConfig): Promise< AxiosResponse<Materialization, any, {}>>;
3015
+ }
3016
+ /**
3017
+ * @export
3018
+ */
3019
+ export declare const MaterializationActionActionEnum: {
3020
+ readonly Start: "start";
3021
+ readonly Stop: "stop";
3022
+ };
3023
+ export type MaterializationActionActionEnum = typeof MaterializationActionActionEnum[keyof typeof MaterializationActionActionEnum];
2503
3024
  /**
2504
3025
  * ModelsApi - axios parameter creator
2505
3026
  * @export
@@ -2889,10 +3410,11 @@ export declare const PackagesApiAxiosParamCreator: (configuration?: Configuratio
2889
3410
  * @summary Create a new package
2890
3411
  * @param {string} projectName Name of the project
2891
3412
  * @param {Package} _package
3413
+ * @param {boolean} [autoLoadManifest] When true, automatically loads any existing build manifest for the package so materialized table references resolve immediately. Defaults to false.
2892
3414
  * @param {*} [options] Override http request option.
2893
3415
  * @throws {RequiredError}
2894
3416
  */
2895
- createPackage: (projectName: string, _package: Package, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3417
+ createPackage: (projectName: string, _package: Package, autoLoadManifest?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2896
3418
  /**
2897
3419
  * 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.
2898
3420
  * @summary Delete a package
@@ -2942,10 +3464,11 @@ export declare const PackagesApiFp: (configuration?: Configuration) => {
2942
3464
  * @summary Create a new package
2943
3465
  * @param {string} projectName Name of the project
2944
3466
  * @param {Package} _package
3467
+ * @param {boolean} [autoLoadManifest] When true, automatically loads any existing build manifest for the package so materialized table references resolve immediately. Defaults to false.
2945
3468
  * @param {*} [options] Override http request option.
2946
3469
  * @throws {RequiredError}
2947
3470
  */
2948
- createPackage(projectName: string, _package: Package, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Package>>;
3471
+ createPackage(projectName: string, _package: Package, autoLoadManifest?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Package>>;
2949
3472
  /**
2950
3473
  * 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.
2951
3474
  * @summary Delete a package
@@ -2995,10 +3518,11 @@ export declare const PackagesApiFactory: (configuration?: Configuration, basePat
2995
3518
  * @summary Create a new package
2996
3519
  * @param {string} projectName Name of the project
2997
3520
  * @param {Package} _package
3521
+ * @param {boolean} [autoLoadManifest] When true, automatically loads any existing build manifest for the package so materialized table references resolve immediately. Defaults to false.
2998
3522
  * @param {*} [options] Override http request option.
2999
3523
  * @throws {RequiredError}
3000
3524
  */
3001
- createPackage(projectName: string, _package: Package, options?: RawAxiosRequestConfig): AxiosPromise<Package>;
3525
+ createPackage(projectName: string, _package: Package, autoLoadManifest?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Package>;
3002
3526
  /**
3003
3527
  * 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.
3004
3528
  * @summary Delete a package
@@ -3050,11 +3574,12 @@ export declare class PackagesApi extends BaseAPI {
3050
3574
  * @summary Create a new package
3051
3575
  * @param {string} projectName Name of the project
3052
3576
  * @param {Package} _package
3577
+ * @param {boolean} [autoLoadManifest] When true, automatically loads any existing build manifest for the package so materialized table references resolve immediately. Defaults to false.
3053
3578
  * @param {*} [options] Override http request option.
3054
3579
  * @throws {RequiredError}
3055
3580
  * @memberof PackagesApi
3056
3581
  */
3057
- createPackage(projectName: string, _package: Package, options?: RawAxiosRequestConfig): Promise< AxiosResponse<Package, any, {}>>;
3582
+ createPackage(projectName: string, _package: Package, autoLoadManifest?: boolean, options?: RawAxiosRequestConfig): Promise< AxiosResponse<Package, any, {}>>;
3058
3583
  /**
3059
3584
  * 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.
3060
3585
  * @summary Delete a package