@malloy-publisher/sdk 0.16.0 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{RenderedResult-vyM2wQbC.es.js → RenderedResult-BcEDcw0V.es.js} +19 -19
- package/dist/{RenderedResult-DTM9o4Ql.cjs.js → RenderedResult-uT2oc6ke.cjs.js} +1 -1
- package/dist/ServerProvider-DDRwHiPz.cjs.js +1 -0
- package/dist/{ServerProvider-lAZ5ZdQS.es.js → ServerProvider-vmEUjlEu.es.js} +296 -285
- package/dist/builder/index.cjs.js +1 -1
- package/dist/builder/index.es.js +3 -3
- package/dist/client/api.d.ts +286 -212
- package/dist/client/index.cjs.js +1 -1
- package/dist/client/index.es.js +30 -29
- package/dist/index.cjs.js +5 -5
- package/dist/index.es.js +13 -5
- package/dist/{useCompiledDocument-2huaKTJN.cjs.js → useCompiledDocument-h5-Kc1Zh.cjs.js} +4 -4
- package/dist/{useCompiledDocument-CSXZufFO.es.js → useCompiledDocument-rOwDSK_s.es.js} +6 -2
- package/package.json +1 -1
- package/src/components/Dashboard/DashboardTile.spec.tsx +2 -1
- package/src/components/Dashboard/DownloadRowsCsv.tsx +2 -0
- package/src/components/Dashboard/RowsDialog.actions.spec.tsx +2 -1
- package/src/components/ModelViewer/useRunQuery.spec.ts +2 -2
- package/src/components/ModelViewer/useRunQuery.ts +2 -0
- package/src/hooks/useDimensionalFilterRangeData.ts +2 -0
- package/src/hooks/useQueryResult.ts +2 -0
- package/src/hooks/useRawQueryData.ts +2 -0
- package/src/hooks/useSuggestOptions.ts +2 -0
- package/dist/ServerProvider-DpOy4_Kf.cjs.js +0 -1
|
@@ -747,7 +747,8 @@ const v = function(l, ...r) {
|
|
|
747
747
|
JoinNotInGrain: "join_not_in_grain",
|
|
748
748
|
PartialNameCollision: "partial_name_collision",
|
|
749
749
|
GivenWhereOverUnstoredField: "given_where_over_unstored_field",
|
|
750
|
-
UnreadableGrain: "unreadable_grain"
|
|
750
|
+
UnreadableGrain: "unreadable_grain",
|
|
751
|
+
UpstreamUnread: "upstream_unread"
|
|
751
752
|
}, rn = {
|
|
752
753
|
Grid: "grid",
|
|
753
754
|
Linear: "linear"
|
|
@@ -814,6 +815,11 @@ const v = function(l, ...r) {
|
|
|
814
815
|
Light: "light",
|
|
815
816
|
Dark: "dark",
|
|
816
817
|
Auto: "auto"
|
|
818
|
+
}, Sn = {
|
|
819
|
+
NoCatalog: "no_catalog",
|
|
820
|
+
NotFound: "not_found",
|
|
821
|
+
Ambiguous: "ambiguous",
|
|
822
|
+
ReadFailed: "read_failed"
|
|
817
823
|
}, qe = function(l) {
|
|
818
824
|
return {
|
|
819
825
|
/**
|
|
@@ -823,7 +829,7 @@ const v = function(l, ...r) {
|
|
|
823
829
|
* @param {string} packageName Name of the package
|
|
824
830
|
* @param {string} agentName Agent name as returned by the listing. Names are 1-64 lowercase letters, digits and single hyphens; any other value is a 404, not a 400.
|
|
825
831
|
* @param {GetAgentSkillsEnum} [skills] `full` (the default) returns every skill file with its text. `summary` returns each file\'s `relative_filepath` and `bytes`, plus `name` and `description` for a `SKILL.md`, and no `file_contents`; fetch a file with `GET .../agents/{agentName}/skills/{path}`. The `source` pin is identical in both. Any other value, including an empty one, is a 400.
|
|
826
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
832
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
827
833
|
* @param {*} [options] Override http request option.
|
|
828
834
|
* @throws {RequiredError}
|
|
829
835
|
*/
|
|
@@ -847,7 +853,7 @@ const v = function(l, ...r) {
|
|
|
847
853
|
* @param {string} packageName Name of the package
|
|
848
854
|
* @param {string} agentName Agent name as returned by the listing. Names are 1-64 lowercase letters, digits and single hyphens; any other value is a 404, not a 400.
|
|
849
855
|
* @param {string} relativeFilepath A `relative_filepath` from the agent\'s skill summary. Slashes may be sent literally or as `%2F`; a literal `%` in a name must be sent as `%25`.
|
|
850
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
856
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
851
857
|
* @param {*} [options] Override http request option.
|
|
852
858
|
* @throws {RequiredError}
|
|
853
859
|
*/
|
|
@@ -869,7 +875,7 @@ const v = function(l, ...r) {
|
|
|
869
875
|
* @summary List the agents a package declares
|
|
870
876
|
* @param {string} environmentName Name of the environment
|
|
871
877
|
* @param {string} packageName Name of the package
|
|
872
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
878
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
873
879
|
* @param {*} [options] Override http request option.
|
|
874
880
|
* @throws {RequiredError}
|
|
875
881
|
*/
|
|
@@ -897,7 +903,7 @@ const v = function(l, ...r) {
|
|
|
897
903
|
* @param {string} packageName Name of the package
|
|
898
904
|
* @param {string} agentName Agent name as returned by the listing. Names are 1-64 lowercase letters, digits and single hyphens; any other value is a 404, not a 400.
|
|
899
905
|
* @param {GetAgentSkillsEnum} [skills] `full` (the default) returns every skill file with its text. `summary` returns each file\'s `relative_filepath` and `bytes`, plus `name` and `description` for a `SKILL.md`, and no `file_contents`; fetch a file with `GET .../agents/{agentName}/skills/{path}`. The `source` pin is identical in both. Any other value, including an empty one, is a 400.
|
|
900
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
906
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
901
907
|
* @param {*} [options] Override http request option.
|
|
902
908
|
* @throws {RequiredError}
|
|
903
909
|
*/
|
|
@@ -912,7 +918,7 @@ const v = function(l, ...r) {
|
|
|
912
918
|
* @param {string} packageName Name of the package
|
|
913
919
|
* @param {string} agentName Agent name as returned by the listing. Names are 1-64 lowercase letters, digits and single hyphens; any other value is a 404, not a 400.
|
|
914
920
|
* @param {string} relativeFilepath A `relative_filepath` from the agent\'s skill summary. Slashes may be sent literally or as `%2F`; a literal `%` in a name must be sent as `%25`.
|
|
915
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
921
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
916
922
|
* @param {*} [options] Override http request option.
|
|
917
923
|
* @throws {RequiredError}
|
|
918
924
|
*/
|
|
@@ -925,7 +931,7 @@ const v = function(l, ...r) {
|
|
|
925
931
|
* @summary List the agents a package declares
|
|
926
932
|
* @param {string} environmentName Name of the environment
|
|
927
933
|
* @param {string} packageName Name of the package
|
|
928
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
934
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
929
935
|
* @param {*} [options] Override http request option.
|
|
930
936
|
* @throws {RequiredError}
|
|
931
937
|
*/
|
|
@@ -934,7 +940,7 @@ const v = function(l, ...r) {
|
|
|
934
940
|
return (c, p) => S(s, u, g, l)(c, i || p);
|
|
935
941
|
}
|
|
936
942
|
};
|
|
937
|
-
},
|
|
943
|
+
}, kn = function(l, r, a) {
|
|
938
944
|
const n = _(l);
|
|
939
945
|
return {
|
|
940
946
|
/**
|
|
@@ -944,7 +950,7 @@ const v = function(l, ...r) {
|
|
|
944
950
|
* @param {string} packageName Name of the package
|
|
945
951
|
* @param {string} agentName Agent name as returned by the listing. Names are 1-64 lowercase letters, digits and single hyphens; any other value is a 404, not a 400.
|
|
946
952
|
* @param {GetAgentSkillsEnum} [skills] `full` (the default) returns every skill file with its text. `summary` returns each file\'s `relative_filepath` and `bytes`, plus `name` and `description` for a `SKILL.md`, and no `file_contents`; fetch a file with `GET .../agents/{agentName}/skills/{path}`. The `source` pin is identical in both. Any other value, including an empty one, is a 400.
|
|
947
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
953
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
948
954
|
* @param {*} [options] Override http request option.
|
|
949
955
|
* @throws {RequiredError}
|
|
950
956
|
*/
|
|
@@ -958,7 +964,7 @@ const v = function(l, ...r) {
|
|
|
958
964
|
* @param {string} packageName Name of the package
|
|
959
965
|
* @param {string} agentName Agent name as returned by the listing. Names are 1-64 lowercase letters, digits and single hyphens; any other value is a 404, not a 400.
|
|
960
966
|
* @param {string} relativeFilepath A `relative_filepath` from the agent\'s skill summary. Slashes may be sent literally or as `%2F`; a literal `%` in a name must be sent as `%25`.
|
|
961
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
967
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
962
968
|
* @param {*} [options] Override http request option.
|
|
963
969
|
* @throws {RequiredError}
|
|
964
970
|
*/
|
|
@@ -970,7 +976,7 @@ const v = function(l, ...r) {
|
|
|
970
976
|
* @summary List the agents a package declares
|
|
971
977
|
* @param {string} environmentName Name of the environment
|
|
972
978
|
* @param {string} packageName Name of the package
|
|
973
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
979
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
974
980
|
* @param {*} [options] Override http request option.
|
|
975
981
|
* @throws {RequiredError}
|
|
976
982
|
*/
|
|
@@ -987,7 +993,7 @@ class He extends I {
|
|
|
987
993
|
* @param {string} packageName Name of the package
|
|
988
994
|
* @param {string} agentName Agent name as returned by the listing. Names are 1-64 lowercase letters, digits and single hyphens; any other value is a 404, not a 400.
|
|
989
995
|
* @param {GetAgentSkillsEnum} [skills] `full` (the default) returns every skill file with its text. `summary` returns each file\'s `relative_filepath` and `bytes`, plus `name` and `description` for a `SKILL.md`, and no `file_contents`; fetch a file with `GET .../agents/{agentName}/skills/{path}`. The `source` pin is identical in both. Any other value, including an empty one, is a 400.
|
|
990
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
996
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
991
997
|
* @param {*} [options] Override http request option.
|
|
992
998
|
* @throws {RequiredError}
|
|
993
999
|
*/
|
|
@@ -1001,7 +1007,7 @@ class He extends I {
|
|
|
1001
1007
|
* @param {string} packageName Name of the package
|
|
1002
1008
|
* @param {string} agentName Agent name as returned by the listing. Names are 1-64 lowercase letters, digits and single hyphens; any other value is a 404, not a 400.
|
|
1003
1009
|
* @param {string} relativeFilepath A `relative_filepath` from the agent\'s skill summary. Slashes may be sent literally or as `%2F`; a literal `%` in a name must be sent as `%25`.
|
|
1004
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
1010
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
1005
1011
|
* @param {*} [options] Override http request option.
|
|
1006
1012
|
* @throws {RequiredError}
|
|
1007
1013
|
*/
|
|
@@ -1013,7 +1019,7 @@ class He extends I {
|
|
|
1013
1019
|
* @summary List the agents a package declares
|
|
1014
1020
|
* @param {string} environmentName Name of the environment
|
|
1015
1021
|
* @param {string} packageName Name of the package
|
|
1016
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
1022
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
1017
1023
|
* @param {*} [options] Override http request option.
|
|
1018
1024
|
* @throws {RequiredError}
|
|
1019
1025
|
*/
|
|
@@ -1021,7 +1027,7 @@ class He extends I {
|
|
|
1021
1027
|
return _(this.configuration).listAgents(r, a, n, e).then((t) => t(this.axios, this.basePath));
|
|
1022
1028
|
}
|
|
1023
1029
|
}
|
|
1024
|
-
const
|
|
1030
|
+
const On = {
|
|
1025
1031
|
Full: "full",
|
|
1026
1032
|
Summary: "summary"
|
|
1027
1033
|
}, Ge = function(l) {
|
|
@@ -1121,7 +1127,7 @@ const kn = {
|
|
|
1121
1127
|
* @param {string} connectionName Name of the connection
|
|
1122
1128
|
* @param {string} schemaName Name of the schema
|
|
1123
1129
|
* @param {string} tablePath Full path to the table
|
|
1124
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
1130
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
1125
1131
|
* @param {*} [options] Override http request option.
|
|
1126
1132
|
* @throws {RequiredError}
|
|
1127
1133
|
*/
|
|
@@ -1185,7 +1191,7 @@ const kn = {
|
|
|
1185
1191
|
* @param {string} environmentName Name of the environment
|
|
1186
1192
|
* @param {string} packageName Name of the package whose connection context to use
|
|
1187
1193
|
* @param {string} connectionName Name of the connection
|
|
1188
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
1194
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
1189
1195
|
* @param {*} [options] Override http request option.
|
|
1190
1196
|
* @throws {RequiredError}
|
|
1191
1197
|
*/
|
|
@@ -1233,7 +1239,7 @@ const kn = {
|
|
|
1233
1239
|
* @param {string} connectionName Name of the connection
|
|
1234
1240
|
* @param {string} schemaName Name of the schema
|
|
1235
1241
|
* @param {Array<string>} [tableNames] List of table names to filter results. When provided, only returns metadata for the specified tables. When omitted, returns all tables in the schema.
|
|
1236
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
1242
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
1237
1243
|
* @param {*} [options] Override http request option.
|
|
1238
1244
|
* @throws {RequiredError}
|
|
1239
1245
|
*/
|
|
@@ -1279,7 +1285,7 @@ const kn = {
|
|
|
1279
1285
|
* @param {string} packageName Name of the package whose connection context to use
|
|
1280
1286
|
* @param {string} connectionName Name of the connection
|
|
1281
1287
|
* @param {PostQuerydataRequest} postQuerydataRequest SQL statement to execute
|
|
1282
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
1288
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
1283
1289
|
* @param {*} [options] Override http request option.
|
|
1284
1290
|
* @throws {RequiredError}
|
|
1285
1291
|
*/
|
|
@@ -1325,7 +1331,7 @@ const kn = {
|
|
|
1325
1331
|
* @param {string} packageName Name of the package whose connection context to use
|
|
1326
1332
|
* @param {string} connectionName Name of the connection
|
|
1327
1333
|
* @param {PostSqlsourceRequest} postSqlsourceRequest SQL statement to fetch the SQL source
|
|
1328
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
1334
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
1329
1335
|
* @param {*} [options] Override http request option.
|
|
1330
1336
|
* @throws {RequiredError}
|
|
1331
1337
|
*/
|
|
@@ -1371,7 +1377,7 @@ const kn = {
|
|
|
1371
1377
|
* @param {string} packageName Name of the package whose connection context to use
|
|
1372
1378
|
* @param {string} connectionName Name of the connection
|
|
1373
1379
|
* @param {PostSqlsourceRequest} postSqlsourceRequest SQL statement to create the temporary table
|
|
1374
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
1380
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
1375
1381
|
* @param {*} [options] Override http request option.
|
|
1376
1382
|
* @throws {RequiredError}
|
|
1377
1383
|
*/
|
|
@@ -1473,7 +1479,7 @@ const kn = {
|
|
|
1473
1479
|
* @param {string} connectionName Name of the connection
|
|
1474
1480
|
* @param {string} schemaName Name of the schema
|
|
1475
1481
|
* @param {string} tablePath Full path to the table
|
|
1476
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
1482
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
1477
1483
|
* @param {*} [options] Override http request option.
|
|
1478
1484
|
* @throws {RequiredError}
|
|
1479
1485
|
*/
|
|
@@ -1510,7 +1516,7 @@ const kn = {
|
|
|
1510
1516
|
* @param {string} environmentName Name of the environment
|
|
1511
1517
|
* @param {string} packageName Name of the package whose connection context to use
|
|
1512
1518
|
* @param {string} connectionName Name of the connection
|
|
1513
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
1519
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
1514
1520
|
* @param {*} [options] Override http request option.
|
|
1515
1521
|
* @throws {RequiredError}
|
|
1516
1522
|
*/
|
|
@@ -1540,7 +1546,7 @@ const kn = {
|
|
|
1540
1546
|
* @param {string} connectionName Name of the connection
|
|
1541
1547
|
* @param {string} schemaName Name of the schema
|
|
1542
1548
|
* @param {Array<string>} [tableNames] List of table names to filter results. When provided, only returns metadata for the specified tables. When omitted, returns all tables in the schema.
|
|
1543
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
1549
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
1544
1550
|
* @param {*} [options] Override http request option.
|
|
1545
1551
|
* @throws {RequiredError}
|
|
1546
1552
|
*/
|
|
@@ -1568,7 +1574,7 @@ const kn = {
|
|
|
1568
1574
|
* @param {string} packageName Name of the package whose connection context to use
|
|
1569
1575
|
* @param {string} connectionName Name of the connection
|
|
1570
1576
|
* @param {PostQuerydataRequest} postQuerydataRequest SQL statement to execute
|
|
1571
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
1577
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
1572
1578
|
* @param {*} [options] Override http request option.
|
|
1573
1579
|
* @throws {RequiredError}
|
|
1574
1580
|
*/
|
|
@@ -1596,7 +1602,7 @@ const kn = {
|
|
|
1596
1602
|
* @param {string} packageName Name of the package whose connection context to use
|
|
1597
1603
|
* @param {string} connectionName Name of the connection
|
|
1598
1604
|
* @param {PostSqlsourceRequest} postSqlsourceRequest SQL statement to fetch the SQL source
|
|
1599
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
1605
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
1600
1606
|
* @param {*} [options] Override http request option.
|
|
1601
1607
|
* @throws {RequiredError}
|
|
1602
1608
|
*/
|
|
@@ -1624,7 +1630,7 @@ const kn = {
|
|
|
1624
1630
|
* @param {string} packageName Name of the package whose connection context to use
|
|
1625
1631
|
* @param {string} connectionName Name of the connection
|
|
1626
1632
|
* @param {PostSqlsourceRequest} postSqlsourceRequest SQL statement to create the temporary table
|
|
1627
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
1633
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
1628
1634
|
* @param {*} [options] Override http request option.
|
|
1629
1635
|
* @throws {RequiredError}
|
|
1630
1636
|
*/
|
|
@@ -1646,7 +1652,7 @@ const kn = {
|
|
|
1646
1652
|
return (c, p) => S(s, u, g, l)(c, i || p);
|
|
1647
1653
|
}
|
|
1648
1654
|
};
|
|
1649
|
-
},
|
|
1655
|
+
}, An = function(l, r, a) {
|
|
1650
1656
|
const n = C(l);
|
|
1651
1657
|
return {
|
|
1652
1658
|
/**
|
|
@@ -1704,7 +1710,7 @@ const kn = {
|
|
|
1704
1710
|
* @param {string} connectionName Name of the connection
|
|
1705
1711
|
* @param {string} schemaName Name of the schema
|
|
1706
1712
|
* @param {string} tablePath Full path to the table
|
|
1707
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
1713
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
1708
1714
|
* @param {*} [options] Override http request option.
|
|
1709
1715
|
* @throws {RequiredError}
|
|
1710
1716
|
*/
|
|
@@ -1738,7 +1744,7 @@ const kn = {
|
|
|
1738
1744
|
* @param {string} environmentName Name of the environment
|
|
1739
1745
|
* @param {string} packageName Name of the package whose connection context to use
|
|
1740
1746
|
* @param {string} connectionName Name of the connection
|
|
1741
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
1747
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
1742
1748
|
* @param {*} [options] Override http request option.
|
|
1743
1749
|
* @throws {RequiredError}
|
|
1744
1750
|
*/
|
|
@@ -1766,7 +1772,7 @@ const kn = {
|
|
|
1766
1772
|
* @param {string} connectionName Name of the connection
|
|
1767
1773
|
* @param {string} schemaName Name of the schema
|
|
1768
1774
|
* @param {Array<string>} [tableNames] List of table names to filter results. When provided, only returns metadata for the specified tables. When omitted, returns all tables in the schema.
|
|
1769
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
1775
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
1770
1776
|
* @param {*} [options] Override http request option.
|
|
1771
1777
|
* @throws {RequiredError}
|
|
1772
1778
|
*/
|
|
@@ -1792,7 +1798,7 @@ const kn = {
|
|
|
1792
1798
|
* @param {string} packageName Name of the package whose connection context to use
|
|
1793
1799
|
* @param {string} connectionName Name of the connection
|
|
1794
1800
|
* @param {PostQuerydataRequest} postQuerydataRequest SQL statement to execute
|
|
1795
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
1801
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
1796
1802
|
* @param {*} [options] Override http request option.
|
|
1797
1803
|
* @throws {RequiredError}
|
|
1798
1804
|
*/
|
|
@@ -1818,7 +1824,7 @@ const kn = {
|
|
|
1818
1824
|
* @param {string} packageName Name of the package whose connection context to use
|
|
1819
1825
|
* @param {string} connectionName Name of the connection
|
|
1820
1826
|
* @param {PostSqlsourceRequest} postSqlsourceRequest SQL statement to fetch the SQL source
|
|
1821
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
1827
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
1822
1828
|
* @param {*} [options] Override http request option.
|
|
1823
1829
|
* @throws {RequiredError}
|
|
1824
1830
|
*/
|
|
@@ -1844,7 +1850,7 @@ const kn = {
|
|
|
1844
1850
|
* @param {string} packageName Name of the package whose connection context to use
|
|
1845
1851
|
* @param {string} connectionName Name of the connection
|
|
1846
1852
|
* @param {PostSqlsourceRequest} postSqlsourceRequest SQL statement to create the temporary table
|
|
1847
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
1853
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
1848
1854
|
* @param {*} [options] Override http request option.
|
|
1849
1855
|
* @throws {RequiredError}
|
|
1850
1856
|
*/
|
|
@@ -1921,7 +1927,7 @@ class We extends I {
|
|
|
1921
1927
|
* @param {string} connectionName Name of the connection
|
|
1922
1928
|
* @param {string} schemaName Name of the schema
|
|
1923
1929
|
* @param {string} tablePath Full path to the table
|
|
1924
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
1930
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
1925
1931
|
* @param {*} [options] Override http request option.
|
|
1926
1932
|
* @throws {RequiredError}
|
|
1927
1933
|
*/
|
|
@@ -1955,7 +1961,7 @@ class We extends I {
|
|
|
1955
1961
|
* @param {string} environmentName Name of the environment
|
|
1956
1962
|
* @param {string} packageName Name of the package whose connection context to use
|
|
1957
1963
|
* @param {string} connectionName Name of the connection
|
|
1958
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
1964
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
1959
1965
|
* @param {*} [options] Override http request option.
|
|
1960
1966
|
* @throws {RequiredError}
|
|
1961
1967
|
*/
|
|
@@ -1983,7 +1989,7 @@ class We extends I {
|
|
|
1983
1989
|
* @param {string} connectionName Name of the connection
|
|
1984
1990
|
* @param {string} schemaName Name of the schema
|
|
1985
1991
|
* @param {Array<string>} [tableNames] List of table names to filter results. When provided, only returns metadata for the specified tables. When omitted, returns all tables in the schema.
|
|
1986
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
1992
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
1987
1993
|
* @param {*} [options] Override http request option.
|
|
1988
1994
|
* @throws {RequiredError}
|
|
1989
1995
|
*/
|
|
@@ -2009,7 +2015,7 @@ class We extends I {
|
|
|
2009
2015
|
* @param {string} packageName Name of the package whose connection context to use
|
|
2010
2016
|
* @param {string} connectionName Name of the connection
|
|
2011
2017
|
* @param {PostQuerydataRequest} postQuerydataRequest SQL statement to execute
|
|
2012
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
2018
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
2013
2019
|
* @param {*} [options] Override http request option.
|
|
2014
2020
|
* @throws {RequiredError}
|
|
2015
2021
|
*/
|
|
@@ -2035,7 +2041,7 @@ class We extends I {
|
|
|
2035
2041
|
* @param {string} packageName Name of the package whose connection context to use
|
|
2036
2042
|
* @param {string} connectionName Name of the connection
|
|
2037
2043
|
* @param {PostSqlsourceRequest} postSqlsourceRequest SQL statement to fetch the SQL source
|
|
2038
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
2044
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
2039
2045
|
* @param {*} [options] Override http request option.
|
|
2040
2046
|
* @throws {RequiredError}
|
|
2041
2047
|
*/
|
|
@@ -2061,7 +2067,7 @@ class We extends I {
|
|
|
2061
2067
|
* @param {string} packageName Name of the package whose connection context to use
|
|
2062
2068
|
* @param {string} connectionName Name of the connection
|
|
2063
2069
|
* @param {PostSqlsourceRequest} postSqlsourceRequest SQL statement to create the temporary table
|
|
2064
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
2070
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
2065
2071
|
* @param {*} [options] Override http request option.
|
|
2066
2072
|
* @throws {RequiredError}
|
|
2067
2073
|
*/
|
|
@@ -2119,7 +2125,7 @@ const Ke = function(l) {
|
|
|
2119
2125
|
return (o, i) => S(e, u, g, l)(o, s || i);
|
|
2120
2126
|
}
|
|
2121
2127
|
};
|
|
2122
|
-
},
|
|
2128
|
+
}, yn = function(l, r, a) {
|
|
2123
2129
|
const n = he(l);
|
|
2124
2130
|
return {
|
|
2125
2131
|
/**
|
|
@@ -2134,7 +2140,7 @@ const Ke = function(l) {
|
|
|
2134
2140
|
}
|
|
2135
2141
|
};
|
|
2136
2142
|
};
|
|
2137
|
-
class
|
|
2143
|
+
class Cn extends I {
|
|
2138
2144
|
/**
|
|
2139
2145
|
* Validates a database connection configuration without adding it to any environment. This endpoint allows you to test connection parameters, credentials, and network connectivity before committing the connection to an environment. Useful for troubleshooting connection issues and validating configurations during setup.
|
|
2140
2146
|
* @summary Test database connection configuration
|
|
@@ -2154,7 +2160,7 @@ const $e = function(l) {
|
|
|
2154
2160
|
* @param {string} environmentName Name of the environment
|
|
2155
2161
|
* @param {string} packageName Name of the package
|
|
2156
2162
|
* @param {string} dashboardName The report\'s name: its filename basename. Conventionally letters, digits, \"-\" and \"_\", and a package is warned when one of its grid reports falls outside that. It is NOT constrained to it, because the name comes from a filename rather than being chosen: a file such as `v1.2.malloy` is served, and its published `resource` carries the name percent-encoded. Send it percent-encoded.
|
|
2157
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
2163
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
2158
2164
|
* @param {*} [options] Override http request option.
|
|
2159
2165
|
* @deprecated
|
|
2160
2166
|
* @throws {RequiredError}
|
|
@@ -2177,7 +2183,7 @@ const $e = function(l) {
|
|
|
2177
2183
|
* @summary List package dashboards (deprecated; use list-reports)
|
|
2178
2184
|
* @param {string} environmentName Name of the environment
|
|
2179
2185
|
* @param {string} packageName Name of the package
|
|
2180
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
2186
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
2181
2187
|
* @param {*} [options] Override http request option.
|
|
2182
2188
|
* @deprecated
|
|
2183
2189
|
* @throws {RequiredError}
|
|
@@ -2205,7 +2211,7 @@ const $e = function(l) {
|
|
|
2205
2211
|
* @param {string} environmentName Name of the environment
|
|
2206
2212
|
* @param {string} packageName Name of the package
|
|
2207
2213
|
* @param {string} dashboardName The report\'s name: its filename basename. Conventionally letters, digits, \"-\" and \"_\", and a package is warned when one of its grid reports falls outside that. It is NOT constrained to it, because the name comes from a filename rather than being chosen: a file such as `v1.2.malloy` is served, and its published `resource` carries the name percent-encoded. Send it percent-encoded.
|
|
2208
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
2214
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
2209
2215
|
* @param {*} [options] Override http request option.
|
|
2210
2216
|
* @deprecated
|
|
2211
2217
|
* @throws {RequiredError}
|
|
@@ -2219,7 +2225,7 @@ const $e = function(l) {
|
|
|
2219
2225
|
* @summary List package dashboards (deprecated; use list-reports)
|
|
2220
2226
|
* @param {string} environmentName Name of the environment
|
|
2221
2227
|
* @param {string} packageName Name of the package
|
|
2222
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
2228
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
2223
2229
|
* @param {*} [options] Override http request option.
|
|
2224
2230
|
* @deprecated
|
|
2225
2231
|
* @throws {RequiredError}
|
|
@@ -2229,7 +2235,7 @@ const $e = function(l) {
|
|
|
2229
2235
|
return (c, p) => S(s, u, g, l)(c, i || p);
|
|
2230
2236
|
}
|
|
2231
2237
|
};
|
|
2232
|
-
},
|
|
2238
|
+
}, In = function(l, r, a) {
|
|
2233
2239
|
const n = Z(l);
|
|
2234
2240
|
return {
|
|
2235
2241
|
/**
|
|
@@ -2238,7 +2244,7 @@ const $e = function(l) {
|
|
|
2238
2244
|
* @param {string} environmentName Name of the environment
|
|
2239
2245
|
* @param {string} packageName Name of the package
|
|
2240
2246
|
* @param {string} dashboardName The report\'s name: its filename basename. Conventionally letters, digits, \"-\" and \"_\", and a package is warned when one of its grid reports falls outside that. It is NOT constrained to it, because the name comes from a filename rather than being chosen: a file such as `v1.2.malloy` is served, and its published `resource` carries the name percent-encoded. Send it percent-encoded.
|
|
2241
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
2247
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
2242
2248
|
* @param {*} [options] Override http request option.
|
|
2243
2249
|
* @deprecated
|
|
2244
2250
|
* @throws {RequiredError}
|
|
@@ -2251,7 +2257,7 @@ const $e = function(l) {
|
|
|
2251
2257
|
* @summary List package dashboards (deprecated; use list-reports)
|
|
2252
2258
|
* @param {string} environmentName Name of the environment
|
|
2253
2259
|
* @param {string} packageName Name of the package
|
|
2254
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
2260
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
2255
2261
|
* @param {*} [options] Override http request option.
|
|
2256
2262
|
* @deprecated
|
|
2257
2263
|
* @throws {RequiredError}
|
|
@@ -2268,7 +2274,7 @@ class Ye extends I {
|
|
|
2268
2274
|
* @param {string} environmentName Name of the environment
|
|
2269
2275
|
* @param {string} packageName Name of the package
|
|
2270
2276
|
* @param {string} dashboardName The report\'s name: its filename basename. Conventionally letters, digits, \"-\" and \"_\", and a package is warned when one of its grid reports falls outside that. It is NOT constrained to it, because the name comes from a filename rather than being chosen: a file such as `v1.2.malloy` is served, and its published `resource` carries the name percent-encoded. Send it percent-encoded.
|
|
2271
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
2277
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
2272
2278
|
* @param {*} [options] Override http request option.
|
|
2273
2279
|
* @deprecated
|
|
2274
2280
|
* @throws {RequiredError}
|
|
@@ -2281,7 +2287,7 @@ class Ye extends I {
|
|
|
2281
2287
|
* @summary List package dashboards (deprecated; use list-reports)
|
|
2282
2288
|
* @param {string} environmentName Name of the environment
|
|
2283
2289
|
* @param {string} packageName Name of the package
|
|
2284
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
2290
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
2285
2291
|
* @param {*} [options] Override http request option.
|
|
2286
2292
|
* @deprecated
|
|
2287
2293
|
* @throws {RequiredError}
|
|
@@ -2297,7 +2303,7 @@ const Je = function(l) {
|
|
|
2297
2303
|
* @summary List package data apps
|
|
2298
2304
|
* @param {string} environmentName Name of the environment
|
|
2299
2305
|
* @param {string} packageName Name of the package
|
|
2300
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
2306
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
2301
2307
|
* @param {*} [options] Override http request option.
|
|
2302
2308
|
* @throws {RequiredError}
|
|
2303
2309
|
*/
|
|
@@ -2323,7 +2329,7 @@ const Je = function(l) {
|
|
|
2323
2329
|
* @summary List package data apps
|
|
2324
2330
|
* @param {string} environmentName Name of the environment
|
|
2325
2331
|
* @param {string} packageName Name of the package
|
|
2326
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
2332
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
2327
2333
|
* @param {*} [options] Override http request option.
|
|
2328
2334
|
* @throws {RequiredError}
|
|
2329
2335
|
*/
|
|
@@ -2332,7 +2338,7 @@ const Je = function(l) {
|
|
|
2332
2338
|
return (c, p) => S(s, u, g, l)(c, i || p);
|
|
2333
2339
|
}
|
|
2334
2340
|
};
|
|
2335
|
-
},
|
|
2341
|
+
}, Rn = function(l, r, a) {
|
|
2336
2342
|
const n = ue(l);
|
|
2337
2343
|
return {
|
|
2338
2344
|
/**
|
|
@@ -2340,7 +2346,7 @@ const Je = function(l) {
|
|
|
2340
2346
|
* @summary List package data apps
|
|
2341
2347
|
* @param {string} environmentName Name of the environment
|
|
2342
2348
|
* @param {string} packageName Name of the package
|
|
2343
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
2349
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
2344
2350
|
* @param {*} [options] Override http request option.
|
|
2345
2351
|
* @throws {RequiredError}
|
|
2346
2352
|
*/
|
|
@@ -2355,7 +2361,7 @@ class Ze extends I {
|
|
|
2355
2361
|
* @summary List package data apps
|
|
2356
2362
|
* @param {string} environmentName Name of the environment
|
|
2357
2363
|
* @param {string} packageName Name of the package
|
|
2358
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
2364
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
2359
2365
|
* @param {*} [options] Override http request option.
|
|
2360
2366
|
* @throws {RequiredError}
|
|
2361
2367
|
*/
|
|
@@ -2370,7 +2376,7 @@ const Xe = function(l) {
|
|
|
2370
2376
|
* @summary List embedded databases
|
|
2371
2377
|
* @param {string} environmentName Name of the environment
|
|
2372
2378
|
* @param {string} packageName Name of the package
|
|
2373
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
2379
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
2374
2380
|
* @param {*} [options] Override http request option.
|
|
2375
2381
|
* @throws {RequiredError}
|
|
2376
2382
|
*/
|
|
@@ -2396,7 +2402,7 @@ const Xe = function(l) {
|
|
|
2396
2402
|
* @summary List embedded databases
|
|
2397
2403
|
* @param {string} environmentName Name of the environment
|
|
2398
2404
|
* @param {string} packageName Name of the package
|
|
2399
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
2405
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
2400
2406
|
* @param {*} [options] Override http request option.
|
|
2401
2407
|
* @throws {RequiredError}
|
|
2402
2408
|
*/
|
|
@@ -2405,7 +2411,7 @@ const Xe = function(l) {
|
|
|
2405
2411
|
return (c, p) => S(s, u, g, l)(c, i || p);
|
|
2406
2412
|
}
|
|
2407
2413
|
};
|
|
2408
|
-
},
|
|
2414
|
+
}, xn = function(l, r, a) {
|
|
2409
2415
|
const n = ge(l);
|
|
2410
2416
|
return {
|
|
2411
2417
|
/**
|
|
@@ -2413,7 +2419,7 @@ const Xe = function(l) {
|
|
|
2413
2419
|
* @summary List embedded databases
|
|
2414
2420
|
* @param {string} environmentName Name of the environment
|
|
2415
2421
|
* @param {string} packageName Name of the package
|
|
2416
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
2422
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
2417
2423
|
* @param {*} [options] Override http request option.
|
|
2418
2424
|
* @throws {RequiredError}
|
|
2419
2425
|
*/
|
|
@@ -2428,7 +2434,7 @@ class ea extends I {
|
|
|
2428
2434
|
* @summary List embedded databases
|
|
2429
2435
|
* @param {string} environmentName Name of the environment
|
|
2430
2436
|
* @param {string} packageName Name of the package
|
|
2431
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
2437
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
2432
2438
|
* @param {*} [options] Override http request option.
|
|
2433
2439
|
* @throws {RequiredError}
|
|
2434
2440
|
*/
|
|
@@ -2599,7 +2605,7 @@ const aa = function(l) {
|
|
|
2599
2605
|
return (i, c) => S(t, u, g, l)(i, o || c);
|
|
2600
2606
|
}
|
|
2601
2607
|
};
|
|
2602
|
-
},
|
|
2608
|
+
}, Nn = function(l, r, a) {
|
|
2603
2609
|
const n = M(l);
|
|
2604
2610
|
return {
|
|
2605
2611
|
/**
|
|
@@ -2711,7 +2717,7 @@ class ta extends I {
|
|
|
2711
2717
|
const na = function(l) {
|
|
2712
2718
|
return {
|
|
2713
2719
|
/**
|
|
2714
|
-
* Creates a materialization and starts building. Behavior depends on the request body (see CreateMaterializationRequest): * Orchestrated build — supply `buildInstructions`. The publisher builds directly into the caller-assigned names derived from the package\'s already-compiled build plan (read off `Package.buildPlan`). Returns the materialization already building. * Auto-run (standalone, default) — omit `buildInstructions`; the publisher self-assigns names and runs all phases in one pass.
|
|
2720
|
+
* Creates a materialization and starts building. Behavior depends on the request body (see CreateMaterializationRequest): * Orchestrated build — supply `buildInstructions`. The publisher builds directly into the caller-assigned names derived from the package\'s already-compiled build plan (read off `Package.buildPlan`). Returns the materialization already building. * Auto-run (standalone, default) — omit `buildInstructions`; the publisher self-assigns names and runs all phases in one pass. The version to build is named in the body (`versionId`). A `?versionId=` in the URL, as every other materialization operation takes, is read too; when both name a version and they differ, the request answers 400 with `reason` VERSION_ID_INVALID, and an empty value in either names none. It is not declared as a parameter here: an optional query parameter would move the optional body argument of every generated client.
|
|
2715
2721
|
* @summary Create a materialization
|
|
2716
2722
|
* @param {string} environmentName Name of the environment
|
|
2717
2723
|
* @param {string} packageName Name of the package
|
|
@@ -2738,7 +2744,7 @@ const na = function(l) {
|
|
|
2738
2744
|
* @param {string} environmentName Name of the environment
|
|
2739
2745
|
* @param {string} packageName Name of the package
|
|
2740
2746
|
* @param {string} materializationId ID of the materialization
|
|
2741
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
2747
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
2742
2748
|
* @param {*} [options] Override http request option.
|
|
2743
2749
|
* @throws {RequiredError}
|
|
2744
2750
|
*/
|
|
@@ -2763,7 +2769,7 @@ const na = function(l) {
|
|
|
2763
2769
|
* @param {string} connectionName Name of the connection the table was built on, as the package reaches it
|
|
2764
2770
|
* @param {string} tableName The table\'s full name as the run\'s manifest records it (`physicalTableName`: `table`, `schema.table` or `catalog.schema.table`), URL-encoded. It is quoted for the connection\'s dialect as the build quoted it; a name the dialect cannot quote answers 400.
|
|
2765
2771
|
* @param {string} [materializationId] The id of the run that built the table, as evidence that it is this package\'s when it carries no ownership mark. That run is not counted as using the table, unless it is the one a version or the package serves. Must be a terminal run of this package (404 otherwise; 409 `MATERIALIZATION_CONFLICT` while it is active).
|
|
2766
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
2772
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
2767
2773
|
* @param {*} [options] Override http request option.
|
|
2768
2774
|
* @throws {RequiredError}
|
|
2769
2775
|
*/
|
|
@@ -2786,7 +2792,7 @@ const na = function(l) {
|
|
|
2786
2792
|
* @param {string} environmentName Name of the environment
|
|
2787
2793
|
* @param {string} packageName Name of the package
|
|
2788
2794
|
* @param {string} materializationId ID of the materialization
|
|
2789
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
2795
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
2790
2796
|
* @param {*} [options] Override http request option.
|
|
2791
2797
|
* @throws {RequiredError}
|
|
2792
2798
|
*/
|
|
@@ -2810,7 +2816,7 @@ const na = function(l) {
|
|
|
2810
2816
|
* @param {string} packageName Name of the package
|
|
2811
2817
|
* @param {number} [limit] Maximum number of materializations to return
|
|
2812
2818
|
* @param {number} [offset] Number of materializations to skip
|
|
2813
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
2819
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
2814
2820
|
* @param {*} [options] Override http request option.
|
|
2815
2821
|
* @throws {RequiredError}
|
|
2816
2822
|
*/
|
|
@@ -2834,7 +2840,7 @@ const na = function(l) {
|
|
|
2834
2840
|
* @param {string} packageName Name of the package
|
|
2835
2841
|
* @param {string} materializationId ID of the materialization
|
|
2836
2842
|
* @param {MaterializationActionActionEnum} action Action to perform on the materialization
|
|
2837
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
2843
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
2838
2844
|
* @param {*} [options] Override http request option.
|
|
2839
2845
|
* @throws {RequiredError}
|
|
2840
2846
|
*/
|
|
@@ -2856,7 +2862,7 @@ const na = function(l) {
|
|
|
2856
2862
|
const r = na(l);
|
|
2857
2863
|
return {
|
|
2858
2864
|
/**
|
|
2859
|
-
* Creates a materialization and starts building. Behavior depends on the request body (see CreateMaterializationRequest): * Orchestrated build — supply `buildInstructions`. The publisher builds directly into the caller-assigned names derived from the package\'s already-compiled build plan (read off `Package.buildPlan`). Returns the materialization already building. * Auto-run (standalone, default) — omit `buildInstructions`; the publisher self-assigns names and runs all phases in one pass.
|
|
2865
|
+
* Creates a materialization and starts building. Behavior depends on the request body (see CreateMaterializationRequest): * Orchestrated build — supply `buildInstructions`. The publisher builds directly into the caller-assigned names derived from the package\'s already-compiled build plan (read off `Package.buildPlan`). Returns the materialization already building. * Auto-run (standalone, default) — omit `buildInstructions`; the publisher self-assigns names and runs all phases in one pass. The version to build is named in the body (`versionId`). A `?versionId=` in the URL, as every other materialization operation takes, is read too; when both name a version and they differ, the request answers 400 with `reason` VERSION_ID_INVALID, and an empty value in either names none. It is not declared as a parameter here: an optional query parameter would move the optional body argument of every generated client.
|
|
2860
2866
|
* @summary Create a materialization
|
|
2861
2867
|
* @param {string} environmentName Name of the environment
|
|
2862
2868
|
* @param {string} packageName Name of the package
|
|
@@ -2874,7 +2880,7 @@ const na = function(l) {
|
|
|
2874
2880
|
* @param {string} environmentName Name of the environment
|
|
2875
2881
|
* @param {string} packageName Name of the package
|
|
2876
2882
|
* @param {string} materializationId ID of the materialization
|
|
2877
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
2883
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
2878
2884
|
* @param {*} [options] Override http request option.
|
|
2879
2885
|
* @throws {RequiredError}
|
|
2880
2886
|
*/
|
|
@@ -2890,7 +2896,7 @@ const na = function(l) {
|
|
|
2890
2896
|
* @param {string} connectionName Name of the connection the table was built on, as the package reaches it
|
|
2891
2897
|
* @param {string} tableName The table\'s full name as the run\'s manifest records it (`physicalTableName`: `table`, `schema.table` or `catalog.schema.table`), URL-encoded. It is quoted for the connection\'s dialect as the build quoted it; a name the dialect cannot quote answers 400.
|
|
2892
2898
|
* @param {string} [materializationId] The id of the run that built the table, as evidence that it is this package\'s when it carries no ownership mark. That run is not counted as using the table, unless it is the one a version or the package serves. Must be a terminal run of this package (404 otherwise; 409 `MATERIALIZATION_CONFLICT` while it is active).
|
|
2893
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
2899
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
2894
2900
|
* @param {*} [options] Override http request option.
|
|
2895
2901
|
* @throws {RequiredError}
|
|
2896
2902
|
*/
|
|
@@ -2904,7 +2910,7 @@ const na = function(l) {
|
|
|
2904
2910
|
* @param {string} environmentName Name of the environment
|
|
2905
2911
|
* @param {string} packageName Name of the package
|
|
2906
2912
|
* @param {string} materializationId ID of the materialization
|
|
2907
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
2913
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
2908
2914
|
* @param {*} [options] Override http request option.
|
|
2909
2915
|
* @throws {RequiredError}
|
|
2910
2916
|
*/
|
|
@@ -2919,7 +2925,7 @@ const na = function(l) {
|
|
|
2919
2925
|
* @param {string} packageName Name of the package
|
|
2920
2926
|
* @param {number} [limit] Maximum number of materializations to return
|
|
2921
2927
|
* @param {number} [offset] Number of materializations to skip
|
|
2922
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
2928
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
2923
2929
|
* @param {*} [options] Override http request option.
|
|
2924
2930
|
* @throws {RequiredError}
|
|
2925
2931
|
*/
|
|
@@ -2934,7 +2940,7 @@ const na = function(l) {
|
|
|
2934
2940
|
* @param {string} packageName Name of the package
|
|
2935
2941
|
* @param {string} materializationId ID of the materialization
|
|
2936
2942
|
* @param {MaterializationActionActionEnum} action Action to perform on the materialization
|
|
2937
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
2943
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
2938
2944
|
* @param {*} [options] Override http request option.
|
|
2939
2945
|
* @throws {RequiredError}
|
|
2940
2946
|
*/
|
|
@@ -2943,11 +2949,11 @@ const na = function(l) {
|
|
|
2943
2949
|
return (d, h) => S(i, u, g, l)(d, p || h);
|
|
2944
2950
|
}
|
|
2945
2951
|
};
|
|
2946
|
-
},
|
|
2952
|
+
}, Un = function(l, r, a) {
|
|
2947
2953
|
const n = T(l);
|
|
2948
2954
|
return {
|
|
2949
2955
|
/**
|
|
2950
|
-
* Creates a materialization and starts building. Behavior depends on the request body (see CreateMaterializationRequest): * Orchestrated build — supply `buildInstructions`. The publisher builds directly into the caller-assigned names derived from the package\'s already-compiled build plan (read off `Package.buildPlan`). Returns the materialization already building. * Auto-run (standalone, default) — omit `buildInstructions`; the publisher self-assigns names and runs all phases in one pass.
|
|
2956
|
+
* Creates a materialization and starts building. Behavior depends on the request body (see CreateMaterializationRequest): * Orchestrated build — supply `buildInstructions`. The publisher builds directly into the caller-assigned names derived from the package\'s already-compiled build plan (read off `Package.buildPlan`). Returns the materialization already building. * Auto-run (standalone, default) — omit `buildInstructions`; the publisher self-assigns names and runs all phases in one pass. The version to build is named in the body (`versionId`). A `?versionId=` in the URL, as every other materialization operation takes, is read too; when both name a version and they differ, the request answers 400 with `reason` VERSION_ID_INVALID, and an empty value in either names none. It is not declared as a parameter here: an optional query parameter would move the optional body argument of every generated client.
|
|
2951
2957
|
* @summary Create a materialization
|
|
2952
2958
|
* @param {string} environmentName Name of the environment
|
|
2953
2959
|
* @param {string} packageName Name of the package
|
|
@@ -2964,7 +2970,7 @@ const na = function(l) {
|
|
|
2964
2970
|
* @param {string} environmentName Name of the environment
|
|
2965
2971
|
* @param {string} packageName Name of the package
|
|
2966
2972
|
* @param {string} materializationId ID of the materialization
|
|
2967
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
2973
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
2968
2974
|
* @param {*} [options] Override http request option.
|
|
2969
2975
|
* @throws {RequiredError}
|
|
2970
2976
|
*/
|
|
@@ -2979,7 +2985,7 @@ const na = function(l) {
|
|
|
2979
2985
|
* @param {string} connectionName Name of the connection the table was built on, as the package reaches it
|
|
2980
2986
|
* @param {string} tableName The table\'s full name as the run\'s manifest records it (`physicalTableName`: `table`, `schema.table` or `catalog.schema.table`), URL-encoded. It is quoted for the connection\'s dialect as the build quoted it; a name the dialect cannot quote answers 400.
|
|
2981
2987
|
* @param {string} [materializationId] The id of the run that built the table, as evidence that it is this package\'s when it carries no ownership mark. That run is not counted as using the table, unless it is the one a version or the package serves. Must be a terminal run of this package (404 otherwise; 409 `MATERIALIZATION_CONFLICT` while it is active).
|
|
2982
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
2988
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
2983
2989
|
* @param {*} [options] Override http request option.
|
|
2984
2990
|
* @throws {RequiredError}
|
|
2985
2991
|
*/
|
|
@@ -2992,7 +2998,7 @@ const na = function(l) {
|
|
|
2992
2998
|
* @param {string} environmentName Name of the environment
|
|
2993
2999
|
* @param {string} packageName Name of the package
|
|
2994
3000
|
* @param {string} materializationId ID of the materialization
|
|
2995
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3001
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
2996
3002
|
* @param {*} [options] Override http request option.
|
|
2997
3003
|
* @throws {RequiredError}
|
|
2998
3004
|
*/
|
|
@@ -3006,7 +3012,7 @@ const na = function(l) {
|
|
|
3006
3012
|
* @param {string} packageName Name of the package
|
|
3007
3013
|
* @param {number} [limit] Maximum number of materializations to return
|
|
3008
3014
|
* @param {number} [offset] Number of materializations to skip
|
|
3009
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3015
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3010
3016
|
* @param {*} [options] Override http request option.
|
|
3011
3017
|
* @throws {RequiredError}
|
|
3012
3018
|
*/
|
|
@@ -3020,7 +3026,7 @@ const na = function(l) {
|
|
|
3020
3026
|
* @param {string} packageName Name of the package
|
|
3021
3027
|
* @param {string} materializationId ID of the materialization
|
|
3022
3028
|
* @param {MaterializationActionActionEnum} action Action to perform on the materialization
|
|
3023
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3029
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3024
3030
|
* @param {*} [options] Override http request option.
|
|
3025
3031
|
* @throws {RequiredError}
|
|
3026
3032
|
*/
|
|
@@ -3031,7 +3037,7 @@ const na = function(l) {
|
|
|
3031
3037
|
};
|
|
3032
3038
|
class ra extends I {
|
|
3033
3039
|
/**
|
|
3034
|
-
* Creates a materialization and starts building. Behavior depends on the request body (see CreateMaterializationRequest): * Orchestrated build — supply `buildInstructions`. The publisher builds directly into the caller-assigned names derived from the package\'s already-compiled build plan (read off `Package.buildPlan`). Returns the materialization already building. * Auto-run (standalone, default) — omit `buildInstructions`; the publisher self-assigns names and runs all phases in one pass.
|
|
3040
|
+
* Creates a materialization and starts building. Behavior depends on the request body (see CreateMaterializationRequest): * Orchestrated build — supply `buildInstructions`. The publisher builds directly into the caller-assigned names derived from the package\'s already-compiled build plan (read off `Package.buildPlan`). Returns the materialization already building. * Auto-run (standalone, default) — omit `buildInstructions`; the publisher self-assigns names and runs all phases in one pass. The version to build is named in the body (`versionId`). A `?versionId=` in the URL, as every other materialization operation takes, is read too; when both name a version and they differ, the request answers 400 with `reason` VERSION_ID_INVALID, and an empty value in either names none. It is not declared as a parameter here: an optional query parameter would move the optional body argument of every generated client.
|
|
3035
3041
|
* @summary Create a materialization
|
|
3036
3042
|
* @param {string} environmentName Name of the environment
|
|
3037
3043
|
* @param {string} packageName Name of the package
|
|
@@ -3048,7 +3054,7 @@ class ra extends I {
|
|
|
3048
3054
|
* @param {string} environmentName Name of the environment
|
|
3049
3055
|
* @param {string} packageName Name of the package
|
|
3050
3056
|
* @param {string} materializationId ID of the materialization
|
|
3051
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3057
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3052
3058
|
* @param {*} [options] Override http request option.
|
|
3053
3059
|
* @throws {RequiredError}
|
|
3054
3060
|
*/
|
|
@@ -3063,7 +3069,7 @@ class ra extends I {
|
|
|
3063
3069
|
* @param {string} connectionName Name of the connection the table was built on, as the package reaches it
|
|
3064
3070
|
* @param {string} tableName The table\'s full name as the run\'s manifest records it (`physicalTableName`: `table`, `schema.table` or `catalog.schema.table`), URL-encoded. It is quoted for the connection\'s dialect as the build quoted it; a name the dialect cannot quote answers 400.
|
|
3065
3071
|
* @param {string} [materializationId] The id of the run that built the table, as evidence that it is this package\'s when it carries no ownership mark. That run is not counted as using the table, unless it is the one a version or the package serves. Must be a terminal run of this package (404 otherwise; 409 `MATERIALIZATION_CONFLICT` while it is active).
|
|
3066
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3072
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3067
3073
|
* @param {*} [options] Override http request option.
|
|
3068
3074
|
* @throws {RequiredError}
|
|
3069
3075
|
*/
|
|
@@ -3076,7 +3082,7 @@ class ra extends I {
|
|
|
3076
3082
|
* @param {string} environmentName Name of the environment
|
|
3077
3083
|
* @param {string} packageName Name of the package
|
|
3078
3084
|
* @param {string} materializationId ID of the materialization
|
|
3079
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3085
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3080
3086
|
* @param {*} [options] Override http request option.
|
|
3081
3087
|
* @throws {RequiredError}
|
|
3082
3088
|
*/
|
|
@@ -3090,7 +3096,7 @@ class ra extends I {
|
|
|
3090
3096
|
* @param {string} packageName Name of the package
|
|
3091
3097
|
* @param {number} [limit] Maximum number of materializations to return
|
|
3092
3098
|
* @param {number} [offset] Number of materializations to skip
|
|
3093
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3099
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3094
3100
|
* @param {*} [options] Override http request option.
|
|
3095
3101
|
* @throws {RequiredError}
|
|
3096
3102
|
*/
|
|
@@ -3104,7 +3110,7 @@ class ra extends I {
|
|
|
3104
3110
|
* @param {string} packageName Name of the package
|
|
3105
3111
|
* @param {string} materializationId ID of the materialization
|
|
3106
3112
|
* @param {MaterializationActionActionEnum} action Action to perform on the materialization
|
|
3107
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3113
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3108
3114
|
* @param {*} [options] Override http request option.
|
|
3109
3115
|
* @throws {RequiredError}
|
|
3110
3116
|
*/
|
|
@@ -3112,7 +3118,7 @@ class ra extends I {
|
|
|
3112
3118
|
return T(this.configuration).materializationAction(r, a, n, e, t, s).then((o) => o(this.axios, this.basePath));
|
|
3113
3119
|
}
|
|
3114
3120
|
}
|
|
3115
|
-
const
|
|
3121
|
+
const Tn = {
|
|
3116
3122
|
Stop: "stop"
|
|
3117
3123
|
}, oa = function(l) {
|
|
3118
3124
|
return {
|
|
@@ -3123,7 +3129,7 @@ const Un = {
|
|
|
3123
3129
|
* @param {string} packageName Name of the package
|
|
3124
3130
|
* @param {string} path Path to the model within the package (used to resolve relative imports)
|
|
3125
3131
|
* @param {CompileRequest} compileRequest
|
|
3126
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3132
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3127
3133
|
* @param {*} [options] Override http request option.
|
|
3128
3134
|
* @throws {RequiredError}
|
|
3129
3135
|
*/
|
|
@@ -3141,27 +3147,28 @@ const Un = {
|
|
|
3141
3147
|
};
|
|
3142
3148
|
},
|
|
3143
3149
|
/**
|
|
3144
|
-
* 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. Ad-hoc query text that does not compile is a 400 whose `problems` locate each error in the submitted text. On a package with a discovery surface this holds when every `run:` in the text targets a source on the surface, or one the text derives only from such sources; text reaching any other source is answered with the 404 a hidden or missing source gets. Text that fails only at the grammar and names no source to run (for example `run` with no colon) is also a 400, because a grammar error says nothing about the model, unless the model carries any `#(authorize)` or `#(access_filter)`, or the text joins a source off the surface.
|
|
3150
|
+
* 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. Ad-hoc query text that does not compile is a 400 whose `problems` locate each error in the submitted text. On a package with a discovery surface this holds when every `run:` in the text targets a source on the surface, or one the text derives only from such sources; text reaching any other source is answered with the 404 a hidden or missing source gets. Text that fails only at the grammar and names no source to run (for example `run` with no colon) is also a 400, because a grammar error says nothing about the model, unless the model carries any `#(authorize)` or `#(access_filter)`, or the text joins a source off the surface. The version queried may be named in the body (`QueryRequest.versionId`), in the URL (`?versionId=`), or both. When both name a version and they differ, the request answers 400 with `reason` VERSION_ID_INVALID; an empty value in either names none.
|
|
3145
3151
|
* @summary Execute Malloy query
|
|
3146
3152
|
* @param {string} environmentName Name of the environment
|
|
3147
3153
|
* @param {string} packageName Name of the package
|
|
3148
3154
|
* @param {string} path Path to the model within the package
|
|
3149
3155
|
* @param {QueryRequest} queryRequest
|
|
3150
3156
|
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The notebook-cell route, the dashboards route, the other MCP tools, and the legacy `/projects/...` aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\'s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the `execute_query` argument. Only `true` and `false` are accepted. Any other value is refused with 400.
|
|
3157
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3151
3158
|
* @param {*} [options] Override http request option.
|
|
3152
3159
|
* @throws {RequiredError}
|
|
3153
3160
|
*/
|
|
3154
|
-
executeQueryModel: async (r, a, n, e, t, s = {}) => {
|
|
3161
|
+
executeQueryModel: async (r, a, n, e, t, s, o = {}) => {
|
|
3155
3162
|
m("executeQueryModel", "environmentName", r), m("executeQueryModel", "packageName", a), m("executeQueryModel", "path", n), m("executeQueryModel", "queryRequest", e);
|
|
3156
|
-
const
|
|
3157
|
-
let
|
|
3158
|
-
l && (
|
|
3159
|
-
const
|
|
3160
|
-
t !== void 0 && (
|
|
3161
|
-
let
|
|
3162
|
-
return
|
|
3163
|
-
url: V(
|
|
3164
|
-
options:
|
|
3163
|
+
const i = "/environments/{environmentName}/packages/{packageName}/models/{path}/query".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{path}", encodeURIComponent(String(n))), c = new URL(i, b);
|
|
3164
|
+
let p;
|
|
3165
|
+
l && (p = l.baseOptions);
|
|
3166
|
+
const d = { method: "POST", ...p, ...o }, h = {}, k = {};
|
|
3167
|
+
t !== void 0 && (k.includeHiddenFilesAndSources = t), s !== void 0 && (k.versionId = s), h["Content-Type"] = "application/json", h.Accept = "application/json", v(c, k);
|
|
3168
|
+
let O = p && p.headers ? p.headers : {};
|
|
3169
|
+
return d.headers = { ...h, ...O, ...o.headers }, d.data = A(e, d, l), {
|
|
3170
|
+
url: V(c),
|
|
3171
|
+
options: d
|
|
3165
3172
|
};
|
|
3166
3173
|
},
|
|
3167
3174
|
/**
|
|
@@ -3170,7 +3177,7 @@ const Un = {
|
|
|
3170
3177
|
* @param {string} environmentName Name of the environment
|
|
3171
3178
|
* @param {string} packageName Name of the package
|
|
3172
3179
|
* @param {string} path Path to the model within the package
|
|
3173
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3180
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3174
3181
|
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The notebook-cell route, the dashboards route, the other MCP tools, and the legacy `/projects/...` aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\'s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the `execute_query` argument. Only `true` and `false` are accepted. Any other value is refused with 400.
|
|
3175
3182
|
* @param {string} [givens] The caller\'s givens as the trusted tier set them, one JSON object (`{\"ROLES\":[\"clinician\"]}`). A source whose `#(authorize)` lock cannot admit the caller on the `#(secure)` givens supplied, or reads a secure given not supplied, is omitted from `sources`, `queries` and `sourceInfos`, as a source locked with `false` is. Plain givens and `#(access_filter)` row filters hide nothing. Discovery only: the query route\'s gates decide what is served either way. Absent: every published source. Not a JSON object: 400.
|
|
3176
3183
|
* @param {*} [options] Override http request option.
|
|
@@ -3194,7 +3201,7 @@ const Un = {
|
|
|
3194
3201
|
* @summary List package models
|
|
3195
3202
|
* @param {string} environmentName Name of the environment
|
|
3196
3203
|
* @param {string} packageName Name of the package
|
|
3197
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3204
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3198
3205
|
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The notebook-cell route, the dashboards route, the other MCP tools, and the legacy `/projects/...` aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\'s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the `execute_query` argument. Only `true` and `false` are accepted. Any other value is refused with 400.
|
|
3199
3206
|
* @param {*} [options] Override http request option.
|
|
3200
3207
|
* @throws {RequiredError}
|
|
@@ -3219,7 +3226,7 @@ const Un = {
|
|
|
3219
3226
|
* @param {string} packageName Name of the package
|
|
3220
3227
|
* @param {string} path The report file\'s path in the package, such as `sales/q3.malloy`
|
|
3221
3228
|
* @param {ModelSourceWriteRequest} modelSourceWriteRequest
|
|
3222
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3229
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3223
3230
|
* @param {*} [options] Override http request option.
|
|
3224
3231
|
* @throws {RequiredError}
|
|
3225
3232
|
*/
|
|
@@ -3247,7 +3254,7 @@ const Un = {
|
|
|
3247
3254
|
* @param {string} packageName Name of the package
|
|
3248
3255
|
* @param {string} path Path to the model within the package (used to resolve relative imports)
|
|
3249
3256
|
* @param {CompileRequest} compileRequest
|
|
3250
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3257
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3251
3258
|
* @param {*} [options] Override http request option.
|
|
3252
3259
|
* @throws {RequiredError}
|
|
3253
3260
|
*/
|
|
@@ -3256,19 +3263,20 @@ const Un = {
|
|
|
3256
3263
|
return (d, h) => S(i, u, g, l)(d, p || h);
|
|
3257
3264
|
},
|
|
3258
3265
|
/**
|
|
3259
|
-
* 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. Ad-hoc query text that does not compile is a 400 whose `problems` locate each error in the submitted text. On a package with a discovery surface this holds when every `run:` in the text targets a source on the surface, or one the text derives only from such sources; text reaching any other source is answered with the 404 a hidden or missing source gets. Text that fails only at the grammar and names no source to run (for example `run` with no colon) is also a 400, because a grammar error says nothing about the model, unless the model carries any `#(authorize)` or `#(access_filter)`, or the text joins a source off the surface.
|
|
3266
|
+
* 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. Ad-hoc query text that does not compile is a 400 whose `problems` locate each error in the submitted text. On a package with a discovery surface this holds when every `run:` in the text targets a source on the surface, or one the text derives only from such sources; text reaching any other source is answered with the 404 a hidden or missing source gets. Text that fails only at the grammar and names no source to run (for example `run` with no colon) is also a 400, because a grammar error says nothing about the model, unless the model carries any `#(authorize)` or `#(access_filter)`, or the text joins a source off the surface. The version queried may be named in the body (`QueryRequest.versionId`), in the URL (`?versionId=`), or both. When both name a version and they differ, the request answers 400 with `reason` VERSION_ID_INVALID; an empty value in either names none.
|
|
3260
3267
|
* @summary Execute Malloy query
|
|
3261
3268
|
* @param {string} environmentName Name of the environment
|
|
3262
3269
|
* @param {string} packageName Name of the package
|
|
3263
3270
|
* @param {string} path Path to the model within the package
|
|
3264
3271
|
* @param {QueryRequest} queryRequest
|
|
3265
3272
|
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The notebook-cell route, the dashboards route, the other MCP tools, and the legacy `/projects/...` aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\'s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the `execute_query` argument. Only `true` and `false` are accepted. Any other value is refused with 400.
|
|
3273
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3266
3274
|
* @param {*} [options] Override http request option.
|
|
3267
3275
|
* @throws {RequiredError}
|
|
3268
3276
|
*/
|
|
3269
|
-
async executeQueryModel(a, n, e, t, s, o) {
|
|
3270
|
-
const
|
|
3271
|
-
return (
|
|
3277
|
+
async executeQueryModel(a, n, e, t, s, o, i) {
|
|
3278
|
+
const c = await r.executeQueryModel(a, n, e, t, s, o, i), p = l?.serverIndex ?? 0, d = P["ModelsApi.executeQueryModel"]?.[p]?.url;
|
|
3279
|
+
return (h, k) => S(c, u, g, l)(h, d || k);
|
|
3272
3280
|
},
|
|
3273
3281
|
/**
|
|
3274
3282
|
* 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. On a package with a surface (a root `index.malloy`, or a legacy `explores`), a file off that surface answers 404 with the same message a query to it gets, unless `includeHiddenFilesAndSources` is true. With it, the file is returned with its `sourceText`, whatever sources the text names. Reports (see list-reports), wherever they live in the package, are always returned. A package with no surface, or with `queryableSources: \"all\"`, returns every file. For a file it returns, `modelDef.contents` and `modelDef.exports`, `modelInfo`, `sources` and `sourceInfos` are limited to the names the file publishes, so the surface file does not carry the hidden sources it imports. A join to a hidden source keeps only its name and the names and types of its fields. `sourceText` is left out when the text names a source the file does not publish, unless `includeHiddenFilesAndSources` is true; the text of a report is always returned.
|
|
@@ -3276,7 +3284,7 @@ const Un = {
|
|
|
3276
3284
|
* @param {string} environmentName Name of the environment
|
|
3277
3285
|
* @param {string} packageName Name of the package
|
|
3278
3286
|
* @param {string} path Path to the model within the package
|
|
3279
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3287
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3280
3288
|
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The notebook-cell route, the dashboards route, the other MCP tools, and the legacy `/projects/...` aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\'s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the `execute_query` argument. Only `true` and `false` are accepted. Any other value is refused with 400.
|
|
3281
3289
|
* @param {string} [givens] The caller\'s givens as the trusted tier set them, one JSON object (`{\"ROLES\":[\"clinician\"]}`). A source whose `#(authorize)` lock cannot admit the caller on the `#(secure)` givens supplied, or reads a secure given not supplied, is omitted from `sources`, `queries` and `sourceInfos`, as a source locked with `false` is. Plain givens and `#(access_filter)` row filters hide nothing. Discovery only: the query route\'s gates decide what is served either way. Absent: every published source. Not a JSON object: 400.
|
|
3282
3290
|
* @param {*} [options] Override http request option.
|
|
@@ -3291,7 +3299,7 @@ const Un = {
|
|
|
3291
3299
|
* @summary List package models
|
|
3292
3300
|
* @param {string} environmentName Name of the environment
|
|
3293
3301
|
* @param {string} packageName Name of the package
|
|
3294
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3302
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3295
3303
|
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The notebook-cell route, the dashboards route, the other MCP tools, and the legacy `/projects/...` aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\'s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the `execute_query` argument. Only `true` and `false` are accepted. Any other value is refused with 400.
|
|
3296
3304
|
* @param {*} [options] Override http request option.
|
|
3297
3305
|
* @throws {RequiredError}
|
|
@@ -3307,7 +3315,7 @@ const Un = {
|
|
|
3307
3315
|
* @param {string} packageName Name of the package
|
|
3308
3316
|
* @param {string} path The report file\'s path in the package, such as `sales/q3.malloy`
|
|
3309
3317
|
* @param {ModelSourceWriteRequest} modelSourceWriteRequest
|
|
3310
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3318
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3311
3319
|
* @param {*} [options] Override http request option.
|
|
3312
3320
|
* @throws {RequiredError}
|
|
3313
3321
|
*/
|
|
@@ -3316,7 +3324,7 @@ const Un = {
|
|
|
3316
3324
|
return (d, h) => S(i, u, g, l)(d, p || h);
|
|
3317
3325
|
}
|
|
3318
3326
|
};
|
|
3319
|
-
},
|
|
3327
|
+
}, En = function(l, r, a) {
|
|
3320
3328
|
const n = F(l);
|
|
3321
3329
|
return {
|
|
3322
3330
|
/**
|
|
@@ -3326,7 +3334,7 @@ const Un = {
|
|
|
3326
3334
|
* @param {string} packageName Name of the package
|
|
3327
3335
|
* @param {string} path Path to the model within the package (used to resolve relative imports)
|
|
3328
3336
|
* @param {CompileRequest} compileRequest
|
|
3329
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3337
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3330
3338
|
* @param {*} [options] Override http request option.
|
|
3331
3339
|
* @throws {RequiredError}
|
|
3332
3340
|
*/
|
|
@@ -3334,18 +3342,19 @@ const Un = {
|
|
|
3334
3342
|
return n.compileModelSource(e, t, s, o, i, c).then((p) => p(a, r));
|
|
3335
3343
|
},
|
|
3336
3344
|
/**
|
|
3337
|
-
* 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. Ad-hoc query text that does not compile is a 400 whose `problems` locate each error in the submitted text. On a package with a discovery surface this holds when every `run:` in the text targets a source on the surface, or one the text derives only from such sources; text reaching any other source is answered with the 404 a hidden or missing source gets. Text that fails only at the grammar and names no source to run (for example `run` with no colon) is also a 400, because a grammar error says nothing about the model, unless the model carries any `#(authorize)` or `#(access_filter)`, or the text joins a source off the surface.
|
|
3345
|
+
* 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. Ad-hoc query text that does not compile is a 400 whose `problems` locate each error in the submitted text. On a package with a discovery surface this holds when every `run:` in the text targets a source on the surface, or one the text derives only from such sources; text reaching any other source is answered with the 404 a hidden or missing source gets. Text that fails only at the grammar and names no source to run (for example `run` with no colon) is also a 400, because a grammar error says nothing about the model, unless the model carries any `#(authorize)` or `#(access_filter)`, or the text joins a source off the surface. The version queried may be named in the body (`QueryRequest.versionId`), in the URL (`?versionId=`), or both. When both name a version and they differ, the request answers 400 with `reason` VERSION_ID_INVALID; an empty value in either names none.
|
|
3338
3346
|
* @summary Execute Malloy query
|
|
3339
3347
|
* @param {string} environmentName Name of the environment
|
|
3340
3348
|
* @param {string} packageName Name of the package
|
|
3341
3349
|
* @param {string} path Path to the model within the package
|
|
3342
3350
|
* @param {QueryRequest} queryRequest
|
|
3343
3351
|
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The notebook-cell route, the dashboards route, the other MCP tools, and the legacy `/projects/...` aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\'s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the `execute_query` argument. Only `true` and `false` are accepted. Any other value is refused with 400.
|
|
3352
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3344
3353
|
* @param {*} [options] Override http request option.
|
|
3345
3354
|
* @throws {RequiredError}
|
|
3346
3355
|
*/
|
|
3347
|
-
executeQueryModel(e, t, s, o, i, c) {
|
|
3348
|
-
return n.executeQueryModel(e, t, s, o, i, c).then((
|
|
3356
|
+
executeQueryModel(e, t, s, o, i, c, p) {
|
|
3357
|
+
return n.executeQueryModel(e, t, s, o, i, c, p).then((d) => d(a, r));
|
|
3349
3358
|
},
|
|
3350
3359
|
/**
|
|
3351
3360
|
* 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. On a package with a surface (a root `index.malloy`, or a legacy `explores`), a file off that surface answers 404 with the same message a query to it gets, unless `includeHiddenFilesAndSources` is true. With it, the file is returned with its `sourceText`, whatever sources the text names. Reports (see list-reports), wherever they live in the package, are always returned. A package with no surface, or with `queryableSources: \"all\"`, returns every file. For a file it returns, `modelDef.contents` and `modelDef.exports`, `modelInfo`, `sources` and `sourceInfos` are limited to the names the file publishes, so the surface file does not carry the hidden sources it imports. A join to a hidden source keeps only its name and the names and types of its fields. `sourceText` is left out when the text names a source the file does not publish, unless `includeHiddenFilesAndSources` is true; the text of a report is always returned.
|
|
@@ -3353,7 +3362,7 @@ const Un = {
|
|
|
3353
3362
|
* @param {string} environmentName Name of the environment
|
|
3354
3363
|
* @param {string} packageName Name of the package
|
|
3355
3364
|
* @param {string} path Path to the model within the package
|
|
3356
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3365
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3357
3366
|
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The notebook-cell route, the dashboards route, the other MCP tools, and the legacy `/projects/...` aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\'s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the `execute_query` argument. Only `true` and `false` are accepted. Any other value is refused with 400.
|
|
3358
3367
|
* @param {string} [givens] The caller\'s givens as the trusted tier set them, one JSON object (`{\"ROLES\":[\"clinician\"]}`). A source whose `#(authorize)` lock cannot admit the caller on the `#(secure)` givens supplied, or reads a secure given not supplied, is omitted from `sources`, `queries` and `sourceInfos`, as a source locked with `false` is. Plain givens and `#(access_filter)` row filters hide nothing. Discovery only: the query route\'s gates decide what is served either way. Absent: every published source. Not a JSON object: 400.
|
|
3359
3368
|
* @param {*} [options] Override http request option.
|
|
@@ -3367,7 +3376,7 @@ const Un = {
|
|
|
3367
3376
|
* @summary List package models
|
|
3368
3377
|
* @param {string} environmentName Name of the environment
|
|
3369
3378
|
* @param {string} packageName Name of the package
|
|
3370
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3379
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3371
3380
|
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The notebook-cell route, the dashboards route, the other MCP tools, and the legacy `/projects/...` aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\'s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the `execute_query` argument. Only `true` and `false` are accepted. Any other value is refused with 400.
|
|
3372
3381
|
* @param {*} [options] Override http request option.
|
|
3373
3382
|
* @throws {RequiredError}
|
|
@@ -3382,7 +3391,7 @@ const Un = {
|
|
|
3382
3391
|
* @param {string} packageName Name of the package
|
|
3383
3392
|
* @param {string} path The report file\'s path in the package, such as `sales/q3.malloy`
|
|
3384
3393
|
* @param {ModelSourceWriteRequest} modelSourceWriteRequest
|
|
3385
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3394
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3386
3395
|
* @param {*} [options] Override http request option.
|
|
3387
3396
|
* @throws {RequiredError}
|
|
3388
3397
|
*/
|
|
@@ -3399,7 +3408,7 @@ class sa extends I {
|
|
|
3399
3408
|
* @param {string} packageName Name of the package
|
|
3400
3409
|
* @param {string} path Path to the model within the package (used to resolve relative imports)
|
|
3401
3410
|
* @param {CompileRequest} compileRequest
|
|
3402
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3411
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3403
3412
|
* @param {*} [options] Override http request option.
|
|
3404
3413
|
* @throws {RequiredError}
|
|
3405
3414
|
*/
|
|
@@ -3407,18 +3416,19 @@ class sa extends I {
|
|
|
3407
3416
|
return F(this.configuration).compileModelSource(r, a, n, e, t, s).then((o) => o(this.axios, this.basePath));
|
|
3408
3417
|
}
|
|
3409
3418
|
/**
|
|
3410
|
-
* 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. Ad-hoc query text that does not compile is a 400 whose `problems` locate each error in the submitted text. On a package with a discovery surface this holds when every `run:` in the text targets a source on the surface, or one the text derives only from such sources; text reaching any other source is answered with the 404 a hidden or missing source gets. Text that fails only at the grammar and names no source to run (for example `run` with no colon) is also a 400, because a grammar error says nothing about the model, unless the model carries any `#(authorize)` or `#(access_filter)`, or the text joins a source off the surface.
|
|
3419
|
+
* 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. Ad-hoc query text that does not compile is a 400 whose `problems` locate each error in the submitted text. On a package with a discovery surface this holds when every `run:` in the text targets a source on the surface, or one the text derives only from such sources; text reaching any other source is answered with the 404 a hidden or missing source gets. Text that fails only at the grammar and names no source to run (for example `run` with no colon) is also a 400, because a grammar error says nothing about the model, unless the model carries any `#(authorize)` or `#(access_filter)`, or the text joins a source off the surface. The version queried may be named in the body (`QueryRequest.versionId`), in the URL (`?versionId=`), or both. When both name a version and they differ, the request answers 400 with `reason` VERSION_ID_INVALID; an empty value in either names none.
|
|
3411
3420
|
* @summary Execute Malloy query
|
|
3412
3421
|
* @param {string} environmentName Name of the environment
|
|
3413
3422
|
* @param {string} packageName Name of the package
|
|
3414
3423
|
* @param {string} path Path to the model within the package
|
|
3415
3424
|
* @param {QueryRequest} queryRequest
|
|
3416
3425
|
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The notebook-cell route, the dashboards route, the other MCP tools, and the legacy `/projects/...` aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\'s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the `execute_query` argument. Only `true` and `false` are accepted. Any other value is refused with 400.
|
|
3426
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3417
3427
|
* @param {*} [options] Override http request option.
|
|
3418
3428
|
* @throws {RequiredError}
|
|
3419
3429
|
*/
|
|
3420
|
-
executeQueryModel(r, a, n, e, t, s) {
|
|
3421
|
-
return F(this.configuration).executeQueryModel(r, a, n, e, t, s).then((
|
|
3430
|
+
executeQueryModel(r, a, n, e, t, s, o) {
|
|
3431
|
+
return F(this.configuration).executeQueryModel(r, a, n, e, t, s, o).then((i) => i(this.axios, this.basePath));
|
|
3422
3432
|
}
|
|
3423
3433
|
/**
|
|
3424
3434
|
* 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. On a package with a surface (a root `index.malloy`, or a legacy `explores`), a file off that surface answers 404 with the same message a query to it gets, unless `includeHiddenFilesAndSources` is true. With it, the file is returned with its `sourceText`, whatever sources the text names. Reports (see list-reports), wherever they live in the package, are always returned. A package with no surface, or with `queryableSources: \"all\"`, returns every file. For a file it returns, `modelDef.contents` and `modelDef.exports`, `modelInfo`, `sources` and `sourceInfos` are limited to the names the file publishes, so the surface file does not carry the hidden sources it imports. A join to a hidden source keeps only its name and the names and types of its fields. `sourceText` is left out when the text names a source the file does not publish, unless `includeHiddenFilesAndSources` is true; the text of a report is always returned.
|
|
@@ -3426,7 +3436,7 @@ class sa extends I {
|
|
|
3426
3436
|
* @param {string} environmentName Name of the environment
|
|
3427
3437
|
* @param {string} packageName Name of the package
|
|
3428
3438
|
* @param {string} path Path to the model within the package
|
|
3429
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3439
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3430
3440
|
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The notebook-cell route, the dashboards route, the other MCP tools, and the legacy `/projects/...` aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\'s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the `execute_query` argument. Only `true` and `false` are accepted. Any other value is refused with 400.
|
|
3431
3441
|
* @param {string} [givens] The caller\'s givens as the trusted tier set them, one JSON object (`{\"ROLES\":[\"clinician\"]}`). A source whose `#(authorize)` lock cannot admit the caller on the `#(secure)` givens supplied, or reads a secure given not supplied, is omitted from `sources`, `queries` and `sourceInfos`, as a source locked with `false` is. Plain givens and `#(access_filter)` row filters hide nothing. Discovery only: the query route\'s gates decide what is served either way. Absent: every published source. Not a JSON object: 400.
|
|
3432
3442
|
* @param {*} [options] Override http request option.
|
|
@@ -3440,7 +3450,7 @@ class sa extends I {
|
|
|
3440
3450
|
* @summary List package models
|
|
3441
3451
|
* @param {string} environmentName Name of the environment
|
|
3442
3452
|
* @param {string} packageName Name of the package
|
|
3443
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3453
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3444
3454
|
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The notebook-cell route, the dashboards route, the other MCP tools, and the legacy `/projects/...` aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\'s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the `execute_query` argument. Only `true` and `false` are accepted. Any other value is refused with 400.
|
|
3445
3455
|
* @param {*} [options] Override http request option.
|
|
3446
3456
|
* @throws {RequiredError}
|
|
@@ -3455,7 +3465,7 @@ class sa extends I {
|
|
|
3455
3465
|
* @param {string} packageName Name of the package
|
|
3456
3466
|
* @param {string} path The report file\'s path in the package, such as `sales/q3.malloy`
|
|
3457
3467
|
* @param {ModelSourceWriteRequest} modelSourceWriteRequest
|
|
3458
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3468
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3459
3469
|
* @param {*} [options] Override http request option.
|
|
3460
3470
|
* @throws {RequiredError}
|
|
3461
3471
|
*/
|
|
@@ -3472,7 +3482,7 @@ const ia = function(l) {
|
|
|
3472
3482
|
* @param {string} packageName Name of the package
|
|
3473
3483
|
* @param {string} path Path to notebook within the package
|
|
3474
3484
|
* @param {number} cellIndex Index of the cell to execute (0-based)
|
|
3475
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3485
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3476
3486
|
* @param {string} [filterParams] **DEPRECATED**: Use `givens` (native Malloy runtime parameters) instead. Targets the deprecated `#(filter)` annotation path. See docs/givens.md for migration recipes. JSON-encoded filter parameter values keyed by filter name.
|
|
3477
3487
|
* @param {ExecuteNotebookCellBypassFiltersEnum} [bypassFilters] **DEPRECATED**: Use `givens` (native Malloy runtime parameters) instead. See docs/givens.md for migration recipes. When true, skip filter injection entirely.
|
|
3478
3488
|
* @param {string} [givens] A `GivenValues` object, JSON-encoded so it can travel in a query string. Values are typed as `GivenValues` describes them, not string-encoded as `EncodedGivenValues` would be. The parameter keeps its name for compatibility; the schema it carries is the one named here.
|
|
@@ -3499,7 +3509,7 @@ const ia = function(l) {
|
|
|
3499
3509
|
* @param {string} environmentName Name of the environment
|
|
3500
3510
|
* @param {string} packageName Name of the package
|
|
3501
3511
|
* @param {string} path Path to notebook within the package.
|
|
3502
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3512
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3503
3513
|
* @param {*} [options] Override http request option.
|
|
3504
3514
|
* @deprecated
|
|
3505
3515
|
* @throws {RequiredError}
|
|
@@ -3522,7 +3532,7 @@ const ia = function(l) {
|
|
|
3522
3532
|
* @summary List package notebooks (deprecated; use list-reports)
|
|
3523
3533
|
* @param {string} environmentName Name of the environment
|
|
3524
3534
|
* @param {string} packageName Name of the package
|
|
3525
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3535
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3526
3536
|
* @param {*} [options] Override http request option.
|
|
3527
3537
|
* @deprecated
|
|
3528
3538
|
* @throws {RequiredError}
|
|
@@ -3551,7 +3561,7 @@ const ia = function(l) {
|
|
|
3551
3561
|
* @param {string} packageName Name of the package
|
|
3552
3562
|
* @param {string} path Path to notebook within the package
|
|
3553
3563
|
* @param {number} cellIndex Index of the cell to execute (0-based)
|
|
3554
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3564
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3555
3565
|
* @param {string} [filterParams] **DEPRECATED**: Use `givens` (native Malloy runtime parameters) instead. Targets the deprecated `#(filter)` annotation path. See docs/givens.md for migration recipes. JSON-encoded filter parameter values keyed by filter name.
|
|
3556
3566
|
* @param {ExecuteNotebookCellBypassFiltersEnum} [bypassFilters] **DEPRECATED**: Use `givens` (native Malloy runtime parameters) instead. See docs/givens.md for migration recipes. When true, skip filter injection entirely.
|
|
3557
3567
|
* @param {string} [givens] A `GivenValues` object, JSON-encoded so it can travel in a query string. Values are typed as `GivenValues` describes them, not string-encoded as `EncodedGivenValues` would be. The parameter keeps its name for compatibility; the schema it carries is the one named here.
|
|
@@ -3569,7 +3579,7 @@ const ia = function(l) {
|
|
|
3569
3579
|
* @param {string} environmentName Name of the environment
|
|
3570
3580
|
* @param {string} packageName Name of the package
|
|
3571
3581
|
* @param {string} path Path to notebook within the package.
|
|
3572
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3582
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3573
3583
|
* @param {*} [options] Override http request option.
|
|
3574
3584
|
* @deprecated
|
|
3575
3585
|
* @throws {RequiredError}
|
|
@@ -3583,7 +3593,7 @@ const ia = function(l) {
|
|
|
3583
3593
|
* @summary List package notebooks (deprecated; use list-reports)
|
|
3584
3594
|
* @param {string} environmentName Name of the environment
|
|
3585
3595
|
* @param {string} packageName Name of the package
|
|
3586
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3596
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3587
3597
|
* @param {*} [options] Override http request option.
|
|
3588
3598
|
* @deprecated
|
|
3589
3599
|
* @throws {RequiredError}
|
|
@@ -3593,7 +3603,7 @@ const ia = function(l) {
|
|
|
3593
3603
|
return (c, p) => S(s, u, g, l)(c, i || p);
|
|
3594
3604
|
}
|
|
3595
3605
|
};
|
|
3596
|
-
},
|
|
3606
|
+
}, fn = function(l, r, a) {
|
|
3597
3607
|
const n = q(l);
|
|
3598
3608
|
return {
|
|
3599
3609
|
/**
|
|
@@ -3603,7 +3613,7 @@ const ia = function(l) {
|
|
|
3603
3613
|
* @param {string} packageName Name of the package
|
|
3604
3614
|
* @param {string} path Path to notebook within the package
|
|
3605
3615
|
* @param {number} cellIndex Index of the cell to execute (0-based)
|
|
3606
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3616
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3607
3617
|
* @param {string} [filterParams] **DEPRECATED**: Use `givens` (native Malloy runtime parameters) instead. Targets the deprecated `#(filter)` annotation path. See docs/givens.md for migration recipes. JSON-encoded filter parameter values keyed by filter name.
|
|
3608
3618
|
* @param {ExecuteNotebookCellBypassFiltersEnum} [bypassFilters] **DEPRECATED**: Use `givens` (native Malloy runtime parameters) instead. See docs/givens.md for migration recipes. When true, skip filter injection entirely.
|
|
3609
3619
|
* @param {string} [givens] A `GivenValues` object, JSON-encoded so it can travel in a query string. Values are typed as `GivenValues` describes them, not string-encoded as `EncodedGivenValues` would be. The parameter keeps its name for compatibility; the schema it carries is the one named here.
|
|
@@ -3620,7 +3630,7 @@ const ia = function(l) {
|
|
|
3620
3630
|
* @param {string} environmentName Name of the environment
|
|
3621
3631
|
* @param {string} packageName Name of the package
|
|
3622
3632
|
* @param {string} path Path to notebook within the package.
|
|
3623
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3633
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3624
3634
|
* @param {*} [options] Override http request option.
|
|
3625
3635
|
* @deprecated
|
|
3626
3636
|
* @throws {RequiredError}
|
|
@@ -3633,7 +3643,7 @@ const ia = function(l) {
|
|
|
3633
3643
|
* @summary List package notebooks (deprecated; use list-reports)
|
|
3634
3644
|
* @param {string} environmentName Name of the environment
|
|
3635
3645
|
* @param {string} packageName Name of the package
|
|
3636
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3646
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3637
3647
|
* @param {*} [options] Override http request option.
|
|
3638
3648
|
* @deprecated
|
|
3639
3649
|
* @throws {RequiredError}
|
|
@@ -3651,7 +3661,7 @@ class la extends I {
|
|
|
3651
3661
|
* @param {string} packageName Name of the package
|
|
3652
3662
|
* @param {string} path Path to notebook within the package
|
|
3653
3663
|
* @param {number} cellIndex Index of the cell to execute (0-based)
|
|
3654
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3664
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3655
3665
|
* @param {string} [filterParams] **DEPRECATED**: Use `givens` (native Malloy runtime parameters) instead. Targets the deprecated `#(filter)` annotation path. See docs/givens.md for migration recipes. JSON-encoded filter parameter values keyed by filter name.
|
|
3656
3666
|
* @param {ExecuteNotebookCellBypassFiltersEnum} [bypassFilters] **DEPRECATED**: Use `givens` (native Malloy runtime parameters) instead. See docs/givens.md for migration recipes. When true, skip filter injection entirely.
|
|
3657
3667
|
* @param {string} [givens] A `GivenValues` object, JSON-encoded so it can travel in a query string. Values are typed as `GivenValues` describes them, not string-encoded as `EncodedGivenValues` would be. The parameter keeps its name for compatibility; the schema it carries is the one named here.
|
|
@@ -3668,7 +3678,7 @@ class la extends I {
|
|
|
3668
3678
|
* @param {string} environmentName Name of the environment
|
|
3669
3679
|
* @param {string} packageName Name of the package
|
|
3670
3680
|
* @param {string} path Path to notebook within the package.
|
|
3671
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3681
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3672
3682
|
* @param {*} [options] Override http request option.
|
|
3673
3683
|
* @deprecated
|
|
3674
3684
|
* @throws {RequiredError}
|
|
@@ -3681,7 +3691,7 @@ class la extends I {
|
|
|
3681
3691
|
* @summary List package notebooks (deprecated; use list-reports)
|
|
3682
3692
|
* @param {string} environmentName Name of the environment
|
|
3683
3693
|
* @param {string} packageName Name of the package
|
|
3684
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3694
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3685
3695
|
* @param {*} [options] Override http request option.
|
|
3686
3696
|
* @deprecated
|
|
3687
3697
|
* @throws {RequiredError}
|
|
@@ -3690,7 +3700,7 @@ class la extends I {
|
|
|
3690
3700
|
return q(this.configuration).listNotebooks(r, a, n, e).then((t) => t(this.axios, this.basePath));
|
|
3691
3701
|
}
|
|
3692
3702
|
}
|
|
3693
|
-
const
|
|
3703
|
+
const wn = {
|
|
3694
3704
|
True: "true",
|
|
3695
3705
|
False: "false"
|
|
3696
3706
|
}, ca = function(l) {
|
|
@@ -3718,7 +3728,7 @@ const fn = {
|
|
|
3718
3728
|
};
|
|
3719
3729
|
},
|
|
3720
3730
|
/**
|
|
3721
|
-
* 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. On a versioned package this deletes every published version and its files, then, in the background, cleans up each version as deleting it alone does: its own auto-runs still running are stopped and its own `scope: version` tables reclaimed. To take one version out of service while keeping the rest, archive it with `PATCH .../packages/{packageName}/versions/{
|
|
3731
|
+
* 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. On a versioned package this deletes every published version and its files, then, in the background, cleans up each version as deleting it alone does: its own auto-runs still running are stopped and its own `scope: version` tables reclaimed. To take one version out of service while keeping the rest, archive it with `PATCH .../packages/{packageName}/versions/{versionId}`; to remove one version for good, delete it with `DELETE .../packages/{packageName}/versions/{versionId}`.
|
|
3722
3732
|
* @summary Delete a package
|
|
3723
3733
|
* @param {string} environmentName Name of the environment
|
|
3724
3734
|
* @param {string} packageName Name of the package
|
|
@@ -3743,7 +3753,7 @@ const fn = {
|
|
|
3743
3753
|
* @summary Get package details and metadata
|
|
3744
3754
|
* @param {string} environmentName Name of the environment
|
|
3745
3755
|
* @param {string} packageName Package name
|
|
3746
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3756
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3747
3757
|
* @param {boolean} [reload] Load / reload the package before returning result. Only the two spellings OpenAPI serializes a boolean as are accepted: `true` and `false`. Any other value (`1`, `yes`, `TRUE`, or the parameter repeated) is refused with 400 rather than read as `false`, which would answer 200 without recompiling. A published version is immutable, so it has nothing to reload: on a versioned package `reload=true` returns the version as it is, neither recompiling nor re-fetching it.
|
|
3748
3758
|
* @param {*} [options] Override http request option.
|
|
3749
3759
|
* @throws {RequiredError}
|
|
@@ -3766,7 +3776,7 @@ const fn = {
|
|
|
3766
3776
|
* @summary Read the persist build plan of a loaded package
|
|
3767
3777
|
* @param {string} environmentName Name of the environment
|
|
3768
3778
|
* @param {string} packageName Name of the package
|
|
3769
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3779
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3770
3780
|
* @param {*} [options] Override http request option.
|
|
3771
3781
|
* @throws {RequiredError}
|
|
3772
3782
|
*/
|
|
@@ -3788,7 +3798,7 @@ const fn = {
|
|
|
3788
3798
|
* @summary Read a package\'s classification summary
|
|
3789
3799
|
* @param {string} environmentName Name of the environment
|
|
3790
3800
|
* @param {string} packageName Name of the package
|
|
3791
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3801
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3792
3802
|
* @param {*} [options] Override http request option.
|
|
3793
3803
|
* @throws {RequiredError}
|
|
3794
3804
|
*/
|
|
@@ -3810,7 +3820,7 @@ const fn = {
|
|
|
3810
3820
|
* @summary Read the state of a package\'s semantic discovery index
|
|
3811
3821
|
* @param {string} environmentName Name of the environment
|
|
3812
3822
|
* @param {string} packageName Name of the package
|
|
3813
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3823
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3814
3824
|
* @param {*} [options] Override http request option.
|
|
3815
3825
|
* @throws {RequiredError}
|
|
3816
3826
|
*/
|
|
@@ -3832,7 +3842,7 @@ const fn = {
|
|
|
3832
3842
|
* @summary Read what every model of a loaded package declares, for an indexer
|
|
3833
3843
|
* @param {string} environmentName Name of the environment
|
|
3834
3844
|
* @param {string} packageName Name of the package
|
|
3835
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3845
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3836
3846
|
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The notebook-cell route, the dashboards route, the other MCP tools, and the legacy `/projects/...` aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\'s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the `execute_query` argument. Only `true` and `false` are accepted. Any other value is refused with 400.
|
|
3837
3847
|
* @param {*} [options] Override http request option.
|
|
3838
3848
|
* @throws {RequiredError}
|
|
@@ -3855,7 +3865,7 @@ const fn = {
|
|
|
3855
3865
|
* @summary Read how this server holds a package right now
|
|
3856
3866
|
* @param {string} environmentName Name of the environment
|
|
3857
3867
|
* @param {string} packageName Name of the package
|
|
3858
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3868
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3859
3869
|
* @param {*} [options] Override http request option.
|
|
3860
3870
|
* @throws {RequiredError}
|
|
3861
3871
|
*/
|
|
@@ -3893,7 +3903,7 @@ const fn = {
|
|
|
3893
3903
|
};
|
|
3894
3904
|
},
|
|
3895
3905
|
/**
|
|
3896
|
-
* DEPRECATED. In-place mutation of a package contradicts immutable versions, so this operation will be removed. On a package that has published versions it changes only what is not content: a `manifestLocation` URI is bound to the package\'s `latest` version (as `PUT .../packages/{packageName}/versions/{
|
|
3906
|
+
* DEPRECATED. In-place mutation of a package contradicts immutable versions, so this operation will be removed. On a package that has published versions it changes only what is not content: a `manifestLocation` URI is bound to the package\'s `latest` version (as `PUT .../packages/{packageName}/versions/{versionId}/manifest` does for any version), while a null or empty one leaves the binding as it is (clear it with that route), and `description` is the package\'s. `name` and the `location` the version was published from may be sent back unchanged. Any other change is refused with 409 (`reason` `PACKAGE_IS_VERSIONED`), as is a package with no `latest` yet: publish a new version to change content. It keeps working, so that callers which predate versions do not break, and says it is deprecated: every response carries `Deprecation: true` and a `Link` to the package versions reference, every request is counted in `publisher_deprecated_usage_total` (`feature` `package_patch`), and the server logs a warning, once per package per run, naming the route that replaces it. 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. A supplied `materialization` block REPLACES the one on disk, so re-send every field of it you want to keep. Two exceptions are preserved when omitted: `scope`, which is a top-level field and not expressible in the block at all, and `queryMetadata`, which is orthogonal to the schedule and freshness policy this call usually carries — a client setting a schedule has no reason to re-send the package\'s tags, and dropping them silently untags every statement the package issues. `queryMetadata` has two homes: the top-level field, which is canonical, and `materialization.queryMetadata`, which is DEPRECATED and still accepted. The canonical field wins if a request sends both, and both are populated on read. At EITHER home, omitting it preserves the package\'s tags and so does sending null — a client that serializes unset fields as null must not untag a package by accident. Send an empty object to clear. A package fetched from a `location` keeps none of these on reload: a reload fetches it again and replaces its files, `publisher.json` included, keeping only its `location` and manifest binding. So when the package will be fetched from a location once this request is applied (the `location` it sends, or else the one it was installed from), a change to `description`, `explores`, `queryableSources`, `scope`, `queryMetadata` or `materialization` is refused with 409 (`reason` `PACKAGE_INSTALLED_FROM_LOCATION`). A change is judged by the value the request would leave in force: clearing a set field is a change, a null is omitted, and a value equal to the current one (`explores` normalized as stored) is not. A request that names a new `location` is judged against the tree fetched from it, and a refusal leaves the previous install serving. When the package it replaces was itself installed from a location, a field sent with that package\'s value is the package sent back, not a change: it is left out and the new tree\'s value serves, so a whole package read back with only its `location` changed is accepted. Make the change in the package\'s source and reload it, or publish it as a version.
|
|
3897
3907
|
* @summary Update package configuration
|
|
3898
3908
|
* @param {string} environmentName Name of the environment
|
|
3899
3909
|
* @param {string} packageName Name of the package
|
|
@@ -3933,7 +3943,7 @@ const fn = {
|
|
|
3933
3943
|
return (c, p) => S(s, u, g, l)(c, i || p);
|
|
3934
3944
|
},
|
|
3935
3945
|
/**
|
|
3936
|
-
* 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. On a versioned package this deletes every published version and its files, then, in the background, cleans up each version as deleting it alone does: its own auto-runs still running are stopped and its own `scope: version` tables reclaimed. To take one version out of service while keeping the rest, archive it with `PATCH .../packages/{packageName}/versions/{
|
|
3946
|
+
* 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. On a versioned package this deletes every published version and its files, then, in the background, cleans up each version as deleting it alone does: its own auto-runs still running are stopped and its own `scope: version` tables reclaimed. To take one version out of service while keeping the rest, archive it with `PATCH .../packages/{packageName}/versions/{versionId}`; to remove one version for good, delete it with `DELETE .../packages/{packageName}/versions/{versionId}`.
|
|
3937
3947
|
* @summary Delete a package
|
|
3938
3948
|
* @param {string} environmentName Name of the environment
|
|
3939
3949
|
* @param {string} packageName Name of the package
|
|
@@ -3949,7 +3959,7 @@ const fn = {
|
|
|
3949
3959
|
* @summary Get package details and metadata
|
|
3950
3960
|
* @param {string} environmentName Name of the environment
|
|
3951
3961
|
* @param {string} packageName Package name
|
|
3952
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3962
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3953
3963
|
* @param {boolean} [reload] Load / reload the package before returning result. Only the two spellings OpenAPI serializes a boolean as are accepted: `true` and `false`. Any other value (`1`, `yes`, `TRUE`, or the parameter repeated) is refused with 400 rather than read as `false`, which would answer 200 without recompiling. A published version is immutable, so it has nothing to reload: on a versioned package `reload=true` returns the version as it is, neither recompiling nor re-fetching it.
|
|
3954
3964
|
* @param {*} [options] Override http request option.
|
|
3955
3965
|
* @throws {RequiredError}
|
|
@@ -3963,7 +3973,7 @@ const fn = {
|
|
|
3963
3973
|
* @summary Read the persist build plan of a loaded package
|
|
3964
3974
|
* @param {string} environmentName Name of the environment
|
|
3965
3975
|
* @param {string} packageName Name of the package
|
|
3966
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3976
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3967
3977
|
* @param {*} [options] Override http request option.
|
|
3968
3978
|
* @throws {RequiredError}
|
|
3969
3979
|
*/
|
|
@@ -3976,7 +3986,7 @@ const fn = {
|
|
|
3976
3986
|
* @summary Read a package\'s classification summary
|
|
3977
3987
|
* @param {string} environmentName Name of the environment
|
|
3978
3988
|
* @param {string} packageName Name of the package
|
|
3979
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
3989
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3980
3990
|
* @param {*} [options] Override http request option.
|
|
3981
3991
|
* @throws {RequiredError}
|
|
3982
3992
|
*/
|
|
@@ -3989,7 +3999,7 @@ const fn = {
|
|
|
3989
3999
|
* @summary Read the state of a package\'s semantic discovery index
|
|
3990
4000
|
* @param {string} environmentName Name of the environment
|
|
3991
4001
|
* @param {string} packageName Name of the package
|
|
3992
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
4002
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
3993
4003
|
* @param {*} [options] Override http request option.
|
|
3994
4004
|
* @throws {RequiredError}
|
|
3995
4005
|
*/
|
|
@@ -4002,7 +4012,7 @@ const fn = {
|
|
|
4002
4012
|
* @summary Read what every model of a loaded package declares, for an indexer
|
|
4003
4013
|
* @param {string} environmentName Name of the environment
|
|
4004
4014
|
* @param {string} packageName Name of the package
|
|
4005
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
4015
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
4006
4016
|
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The notebook-cell route, the dashboards route, the other MCP tools, and the legacy `/projects/...` aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\'s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the `execute_query` argument. Only `true` and `false` are accepted. Any other value is refused with 400.
|
|
4007
4017
|
* @param {*} [options] Override http request option.
|
|
4008
4018
|
* @throws {RequiredError}
|
|
@@ -4016,7 +4026,7 @@ const fn = {
|
|
|
4016
4026
|
* @summary Read how this server holds a package right now
|
|
4017
4027
|
* @param {string} environmentName Name of the environment
|
|
4018
4028
|
* @param {string} packageName Name of the package
|
|
4019
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
4029
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
4020
4030
|
* @param {*} [options] Override http request option.
|
|
4021
4031
|
* @throws {RequiredError}
|
|
4022
4032
|
*/
|
|
@@ -4036,7 +4046,7 @@ const fn = {
|
|
|
4036
4046
|
return (o, i) => S(e, u, g, l)(o, s || i);
|
|
4037
4047
|
},
|
|
4038
4048
|
/**
|
|
4039
|
-
* DEPRECATED. In-place mutation of a package contradicts immutable versions, so this operation will be removed. On a package that has published versions it changes only what is not content: a `manifestLocation` URI is bound to the package\'s `latest` version (as `PUT .../packages/{packageName}/versions/{
|
|
4049
|
+
* DEPRECATED. In-place mutation of a package contradicts immutable versions, so this operation will be removed. On a package that has published versions it changes only what is not content: a `manifestLocation` URI is bound to the package\'s `latest` version (as `PUT .../packages/{packageName}/versions/{versionId}/manifest` does for any version), while a null or empty one leaves the binding as it is (clear it with that route), and `description` is the package\'s. `name` and the `location` the version was published from may be sent back unchanged. Any other change is refused with 409 (`reason` `PACKAGE_IS_VERSIONED`), as is a package with no `latest` yet: publish a new version to change content. It keeps working, so that callers which predate versions do not break, and says it is deprecated: every response carries `Deprecation: true` and a `Link` to the package versions reference, every request is counted in `publisher_deprecated_usage_total` (`feature` `package_patch`), and the server logs a warning, once per package per run, naming the route that replaces it. 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. A supplied `materialization` block REPLACES the one on disk, so re-send every field of it you want to keep. Two exceptions are preserved when omitted: `scope`, which is a top-level field and not expressible in the block at all, and `queryMetadata`, which is orthogonal to the schedule and freshness policy this call usually carries — a client setting a schedule has no reason to re-send the package\'s tags, and dropping them silently untags every statement the package issues. `queryMetadata` has two homes: the top-level field, which is canonical, and `materialization.queryMetadata`, which is DEPRECATED and still accepted. The canonical field wins if a request sends both, and both are populated on read. At EITHER home, omitting it preserves the package\'s tags and so does sending null — a client that serializes unset fields as null must not untag a package by accident. Send an empty object to clear. A package fetched from a `location` keeps none of these on reload: a reload fetches it again and replaces its files, `publisher.json` included, keeping only its `location` and manifest binding. So when the package will be fetched from a location once this request is applied (the `location` it sends, or else the one it was installed from), a change to `description`, `explores`, `queryableSources`, `scope`, `queryMetadata` or `materialization` is refused with 409 (`reason` `PACKAGE_INSTALLED_FROM_LOCATION`). A change is judged by the value the request would leave in force: clearing a set field is a change, a null is omitted, and a value equal to the current one (`explores` normalized as stored) is not. A request that names a new `location` is judged against the tree fetched from it, and a refusal leaves the previous install serving. When the package it replaces was itself installed from a location, a field sent with that package\'s value is the package sent back, not a change: it is left out and the new tree\'s value serves, so a whole package read back with only its `location` changed is accepted. Make the change in the package\'s source and reload it, or publish it as a version.
|
|
4040
4050
|
* @summary Update package configuration
|
|
4041
4051
|
* @param {string} environmentName Name of the environment
|
|
4042
4052
|
* @param {string} packageName Name of the package
|
|
@@ -4050,7 +4060,7 @@ const fn = {
|
|
|
4050
4060
|
return (c, p) => S(s, u, g, l)(c, i || p);
|
|
4051
4061
|
}
|
|
4052
4062
|
};
|
|
4053
|
-
},
|
|
4063
|
+
}, Mn = function(l, r, a) {
|
|
4054
4064
|
const n = x(l);
|
|
4055
4065
|
return {
|
|
4056
4066
|
/**
|
|
@@ -4066,7 +4076,7 @@ const fn = {
|
|
|
4066
4076
|
return n.createPackage(e, t, s, o).then((i) => i(a, r));
|
|
4067
4077
|
},
|
|
4068
4078
|
/**
|
|
4069
|
-
* 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. On a versioned package this deletes every published version and its files, then, in the background, cleans up each version as deleting it alone does: its own auto-runs still running are stopped and its own `scope: version` tables reclaimed. To take one version out of service while keeping the rest, archive it with `PATCH .../packages/{packageName}/versions/{
|
|
4079
|
+
* 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. On a versioned package this deletes every published version and its files, then, in the background, cleans up each version as deleting it alone does: its own auto-runs still running are stopped and its own `scope: version` tables reclaimed. To take one version out of service while keeping the rest, archive it with `PATCH .../packages/{packageName}/versions/{versionId}`; to remove one version for good, delete it with `DELETE .../packages/{packageName}/versions/{versionId}`.
|
|
4070
4080
|
* @summary Delete a package
|
|
4071
4081
|
* @param {string} environmentName Name of the environment
|
|
4072
4082
|
* @param {string} packageName Name of the package
|
|
@@ -4081,7 +4091,7 @@ const fn = {
|
|
|
4081
4091
|
* @summary Get package details and metadata
|
|
4082
4092
|
* @param {string} environmentName Name of the environment
|
|
4083
4093
|
* @param {string} packageName Package name
|
|
4084
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
4094
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
4085
4095
|
* @param {boolean} [reload] Load / reload the package before returning result. Only the two spellings OpenAPI serializes a boolean as are accepted: `true` and `false`. Any other value (`1`, `yes`, `TRUE`, or the parameter repeated) is refused with 400 rather than read as `false`, which would answer 200 without recompiling. A published version is immutable, so it has nothing to reload: on a versioned package `reload=true` returns the version as it is, neither recompiling nor re-fetching it.
|
|
4086
4096
|
* @param {*} [options] Override http request option.
|
|
4087
4097
|
* @throws {RequiredError}
|
|
@@ -4094,7 +4104,7 @@ const fn = {
|
|
|
4094
4104
|
* @summary Read the persist build plan of a loaded package
|
|
4095
4105
|
* @param {string} environmentName Name of the environment
|
|
4096
4106
|
* @param {string} packageName Name of the package
|
|
4097
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
4107
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
4098
4108
|
* @param {*} [options] Override http request option.
|
|
4099
4109
|
* @throws {RequiredError}
|
|
4100
4110
|
*/
|
|
@@ -4106,7 +4116,7 @@ const fn = {
|
|
|
4106
4116
|
* @summary Read a package\'s classification summary
|
|
4107
4117
|
* @param {string} environmentName Name of the environment
|
|
4108
4118
|
* @param {string} packageName Name of the package
|
|
4109
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
4119
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
4110
4120
|
* @param {*} [options] Override http request option.
|
|
4111
4121
|
* @throws {RequiredError}
|
|
4112
4122
|
*/
|
|
@@ -4118,7 +4128,7 @@ const fn = {
|
|
|
4118
4128
|
* @summary Read the state of a package\'s semantic discovery index
|
|
4119
4129
|
* @param {string} environmentName Name of the environment
|
|
4120
4130
|
* @param {string} packageName Name of the package
|
|
4121
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
4131
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
4122
4132
|
* @param {*} [options] Override http request option.
|
|
4123
4133
|
* @throws {RequiredError}
|
|
4124
4134
|
*/
|
|
@@ -4130,7 +4140,7 @@ const fn = {
|
|
|
4130
4140
|
* @summary Read what every model of a loaded package declares, for an indexer
|
|
4131
4141
|
* @param {string} environmentName Name of the environment
|
|
4132
4142
|
* @param {string} packageName Name of the package
|
|
4133
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
4143
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
4134
4144
|
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The notebook-cell route, the dashboards route, the other MCP tools, and the legacy `/projects/...` aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\'s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the `execute_query` argument. Only `true` and `false` are accepted. Any other value is refused with 400.
|
|
4135
4145
|
* @param {*} [options] Override http request option.
|
|
4136
4146
|
* @throws {RequiredError}
|
|
@@ -4143,7 +4153,7 @@ const fn = {
|
|
|
4143
4153
|
* @summary Read how this server holds a package right now
|
|
4144
4154
|
* @param {string} environmentName Name of the environment
|
|
4145
4155
|
* @param {string} packageName Name of the package
|
|
4146
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
4156
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
4147
4157
|
* @param {*} [options] Override http request option.
|
|
4148
4158
|
* @throws {RequiredError}
|
|
4149
4159
|
*/
|
|
@@ -4161,7 +4171,7 @@ const fn = {
|
|
|
4161
4171
|
return n.listPackages(e, t).then((s) => s(a, r));
|
|
4162
4172
|
},
|
|
4163
4173
|
/**
|
|
4164
|
-
* DEPRECATED. In-place mutation of a package contradicts immutable versions, so this operation will be removed. On a package that has published versions it changes only what is not content: a `manifestLocation` URI is bound to the package\'s `latest` version (as `PUT .../packages/{packageName}/versions/{
|
|
4174
|
+
* DEPRECATED. In-place mutation of a package contradicts immutable versions, so this operation will be removed. On a package that has published versions it changes only what is not content: a `manifestLocation` URI is bound to the package\'s `latest` version (as `PUT .../packages/{packageName}/versions/{versionId}/manifest` does for any version), while a null or empty one leaves the binding as it is (clear it with that route), and `description` is the package\'s. `name` and the `location` the version was published from may be sent back unchanged. Any other change is refused with 409 (`reason` `PACKAGE_IS_VERSIONED`), as is a package with no `latest` yet: publish a new version to change content. It keeps working, so that callers which predate versions do not break, and says it is deprecated: every response carries `Deprecation: true` and a `Link` to the package versions reference, every request is counted in `publisher_deprecated_usage_total` (`feature` `package_patch`), and the server logs a warning, once per package per run, naming the route that replaces it. 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. A supplied `materialization` block REPLACES the one on disk, so re-send every field of it you want to keep. Two exceptions are preserved when omitted: `scope`, which is a top-level field and not expressible in the block at all, and `queryMetadata`, which is orthogonal to the schedule and freshness policy this call usually carries — a client setting a schedule has no reason to re-send the package\'s tags, and dropping them silently untags every statement the package issues. `queryMetadata` has two homes: the top-level field, which is canonical, and `materialization.queryMetadata`, which is DEPRECATED and still accepted. The canonical field wins if a request sends both, and both are populated on read. At EITHER home, omitting it preserves the package\'s tags and so does sending null — a client that serializes unset fields as null must not untag a package by accident. Send an empty object to clear. A package fetched from a `location` keeps none of these on reload: a reload fetches it again and replaces its files, `publisher.json` included, keeping only its `location` and manifest binding. So when the package will be fetched from a location once this request is applied (the `location` it sends, or else the one it was installed from), a change to `description`, `explores`, `queryableSources`, `scope`, `queryMetadata` or `materialization` is refused with 409 (`reason` `PACKAGE_INSTALLED_FROM_LOCATION`). A change is judged by the value the request would leave in force: clearing a set field is a change, a null is omitted, and a value equal to the current one (`explores` normalized as stored) is not. A request that names a new `location` is judged against the tree fetched from it, and a refusal leaves the previous install serving. When the package it replaces was itself installed from a location, a field sent with that package\'s value is the package sent back, not a change: it is left out and the new tree\'s value serves, so a whole package read back with only its `location` changed is accepted. Make the change in the package\'s source and reload it, or publish it as a version.
|
|
4165
4175
|
* @summary Update package configuration
|
|
4166
4176
|
* @param {string} environmentName Name of the environment
|
|
4167
4177
|
* @param {string} packageName Name of the package
|
|
@@ -4189,7 +4199,7 @@ class pa extends I {
|
|
|
4189
4199
|
return x(this.configuration).createPackage(r, a, n, e).then((t) => t(this.axios, this.basePath));
|
|
4190
4200
|
}
|
|
4191
4201
|
/**
|
|
4192
|
-
* 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. On a versioned package this deletes every published version and its files, then, in the background, cleans up each version as deleting it alone does: its own auto-runs still running are stopped and its own `scope: version` tables reclaimed. To take one version out of service while keeping the rest, archive it with `PATCH .../packages/{packageName}/versions/{
|
|
4202
|
+
* 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. On a versioned package this deletes every published version and its files, then, in the background, cleans up each version as deleting it alone does: its own auto-runs still running are stopped and its own `scope: version` tables reclaimed. To take one version out of service while keeping the rest, archive it with `PATCH .../packages/{packageName}/versions/{versionId}`; to remove one version for good, delete it with `DELETE .../packages/{packageName}/versions/{versionId}`.
|
|
4193
4203
|
* @summary Delete a package
|
|
4194
4204
|
* @param {string} environmentName Name of the environment
|
|
4195
4205
|
* @param {string} packageName Name of the package
|
|
@@ -4204,7 +4214,7 @@ class pa extends I {
|
|
|
4204
4214
|
* @summary Get package details and metadata
|
|
4205
4215
|
* @param {string} environmentName Name of the environment
|
|
4206
4216
|
* @param {string} packageName Package name
|
|
4207
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
4217
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
4208
4218
|
* @param {boolean} [reload] Load / reload the package before returning result. Only the two spellings OpenAPI serializes a boolean as are accepted: `true` and `false`. Any other value (`1`, `yes`, `TRUE`, or the parameter repeated) is refused with 400 rather than read as `false`, which would answer 200 without recompiling. A published version is immutable, so it has nothing to reload: on a versioned package `reload=true` returns the version as it is, neither recompiling nor re-fetching it.
|
|
4209
4219
|
* @param {*} [options] Override http request option.
|
|
4210
4220
|
* @throws {RequiredError}
|
|
@@ -4217,7 +4227,7 @@ class pa extends I {
|
|
|
4217
4227
|
* @summary Read the persist build plan of a loaded package
|
|
4218
4228
|
* @param {string} environmentName Name of the environment
|
|
4219
4229
|
* @param {string} packageName Name of the package
|
|
4220
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
4230
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
4221
4231
|
* @param {*} [options] Override http request option.
|
|
4222
4232
|
* @throws {RequiredError}
|
|
4223
4233
|
*/
|
|
@@ -4229,7 +4239,7 @@ class pa extends I {
|
|
|
4229
4239
|
* @summary Read a package\'s classification summary
|
|
4230
4240
|
* @param {string} environmentName Name of the environment
|
|
4231
4241
|
* @param {string} packageName Name of the package
|
|
4232
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
4242
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
4233
4243
|
* @param {*} [options] Override http request option.
|
|
4234
4244
|
* @throws {RequiredError}
|
|
4235
4245
|
*/
|
|
@@ -4241,7 +4251,7 @@ class pa extends I {
|
|
|
4241
4251
|
* @summary Read the state of a package\'s semantic discovery index
|
|
4242
4252
|
* @param {string} environmentName Name of the environment
|
|
4243
4253
|
* @param {string} packageName Name of the package
|
|
4244
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
4254
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
4245
4255
|
* @param {*} [options] Override http request option.
|
|
4246
4256
|
* @throws {RequiredError}
|
|
4247
4257
|
*/
|
|
@@ -4253,7 +4263,7 @@ class pa extends I {
|
|
|
4253
4263
|
* @summary Read what every model of a loaded package declares, for an indexer
|
|
4254
4264
|
* @param {string} environmentName Name of the environment
|
|
4255
4265
|
* @param {string} packageName Name of the package
|
|
4256
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
4266
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
4257
4267
|
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The notebook-cell route, the dashboards route, the other MCP tools, and the legacy `/projects/...` aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\'s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the `execute_query` argument. Only `true` and `false` are accepted. Any other value is refused with 400.
|
|
4258
4268
|
* @param {*} [options] Override http request option.
|
|
4259
4269
|
* @throws {RequiredError}
|
|
@@ -4266,7 +4276,7 @@ class pa extends I {
|
|
|
4266
4276
|
* @summary Read how this server holds a package right now
|
|
4267
4277
|
* @param {string} environmentName Name of the environment
|
|
4268
4278
|
* @param {string} packageName Name of the package
|
|
4269
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
4279
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
4270
4280
|
* @param {*} [options] Override http request option.
|
|
4271
4281
|
* @throws {RequiredError}
|
|
4272
4282
|
*/
|
|
@@ -4284,7 +4294,7 @@ class pa extends I {
|
|
|
4284
4294
|
return x(this.configuration).listPackages(r, a).then((n) => n(this.axios, this.basePath));
|
|
4285
4295
|
}
|
|
4286
4296
|
/**
|
|
4287
|
-
* DEPRECATED. In-place mutation of a package contradicts immutable versions, so this operation will be removed. On a package that has published versions it changes only what is not content: a `manifestLocation` URI is bound to the package\'s `latest` version (as `PUT .../packages/{packageName}/versions/{
|
|
4297
|
+
* DEPRECATED. In-place mutation of a package contradicts immutable versions, so this operation will be removed. On a package that has published versions it changes only what is not content: a `manifestLocation` URI is bound to the package\'s `latest` version (as `PUT .../packages/{packageName}/versions/{versionId}/manifest` does for any version), while a null or empty one leaves the binding as it is (clear it with that route), and `description` is the package\'s. `name` and the `location` the version was published from may be sent back unchanged. Any other change is refused with 409 (`reason` `PACKAGE_IS_VERSIONED`), as is a package with no `latest` yet: publish a new version to change content. It keeps working, so that callers which predate versions do not break, and says it is deprecated: every response carries `Deprecation: true` and a `Link` to the package versions reference, every request is counted in `publisher_deprecated_usage_total` (`feature` `package_patch`), and the server logs a warning, once per package per run, naming the route that replaces it. 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. A supplied `materialization` block REPLACES the one on disk, so re-send every field of it you want to keep. Two exceptions are preserved when omitted: `scope`, which is a top-level field and not expressible in the block at all, and `queryMetadata`, which is orthogonal to the schedule and freshness policy this call usually carries — a client setting a schedule has no reason to re-send the package\'s tags, and dropping them silently untags every statement the package issues. `queryMetadata` has two homes: the top-level field, which is canonical, and `materialization.queryMetadata`, which is DEPRECATED and still accepted. The canonical field wins if a request sends both, and both are populated on read. At EITHER home, omitting it preserves the package\'s tags and so does sending null — a client that serializes unset fields as null must not untag a package by accident. Send an empty object to clear. A package fetched from a `location` keeps none of these on reload: a reload fetches it again and replaces its files, `publisher.json` included, keeping only its `location` and manifest binding. So when the package will be fetched from a location once this request is applied (the `location` it sends, or else the one it was installed from), a change to `description`, `explores`, `queryableSources`, `scope`, `queryMetadata` or `materialization` is refused with 409 (`reason` `PACKAGE_INSTALLED_FROM_LOCATION`). A change is judged by the value the request would leave in force: clearing a set field is a change, a null is omitted, and a value equal to the current one (`explores` normalized as stored) is not. A request that names a new `location` is judged against the tree fetched from it, and a refusal leaves the previous install serving. When the package it replaces was itself installed from a location, a field sent with that package\'s value is the package sent back, not a change: it is left out and the new tree\'s value serves, so a whole package read back with only its `location` changed is accepted. Make the change in the package\'s source and reload it, or publish it as a version.
|
|
4288
4298
|
* @summary Update package configuration
|
|
4289
4299
|
* @param {string} environmentName Name of the environment
|
|
4290
4300
|
* @param {string} packageName Name of the package
|
|
@@ -4421,7 +4431,7 @@ const da = function(l) {
|
|
|
4421
4431
|
return (o, i) => S(e, u, g, l)(o, s || i);
|
|
4422
4432
|
}
|
|
4423
4433
|
};
|
|
4424
|
-
},
|
|
4434
|
+
}, Fn = function(l, r, a) {
|
|
4425
4435
|
const n = D(l);
|
|
4426
4436
|
return {
|
|
4427
4437
|
/**
|
|
@@ -4512,7 +4522,7 @@ const ha = function(l) {
|
|
|
4512
4522
|
* @param {string} environmentName Name of the environment
|
|
4513
4523
|
* @param {string} packageName Name of the package
|
|
4514
4524
|
* @param {string} path The report\'s path within the package, including `.malloy` (or `.malloynb`): the `path` list-reports returns.
|
|
4515
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
4525
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
4516
4526
|
* @param {*} [options] Override http request option.
|
|
4517
4527
|
* @throws {RequiredError}
|
|
4518
4528
|
*/
|
|
@@ -4534,7 +4544,7 @@ const ha = function(l) {
|
|
|
4534
4544
|
* @summary List package reports
|
|
4535
4545
|
* @param {string} environmentName Name of the environment
|
|
4536
4546
|
* @param {string} packageName Name of the package
|
|
4537
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
4547
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
4538
4548
|
* @param {*} [options] Override http request option.
|
|
4539
4549
|
* @throws {RequiredError}
|
|
4540
4550
|
*/
|
|
@@ -4561,7 +4571,7 @@ const ha = function(l) {
|
|
|
4561
4571
|
* @param {string} environmentName Name of the environment
|
|
4562
4572
|
* @param {string} packageName Name of the package
|
|
4563
4573
|
* @param {string} path The report\'s path within the package, including `.malloy` (or `.malloynb`): the `path` list-reports returns.
|
|
4564
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
4574
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
4565
4575
|
* @param {*} [options] Override http request option.
|
|
4566
4576
|
* @throws {RequiredError}
|
|
4567
4577
|
*/
|
|
@@ -4574,7 +4584,7 @@ const ha = function(l) {
|
|
|
4574
4584
|
* @summary List package reports
|
|
4575
4585
|
* @param {string} environmentName Name of the environment
|
|
4576
4586
|
* @param {string} packageName Name of the package
|
|
4577
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
4587
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
4578
4588
|
* @param {*} [options] Override http request option.
|
|
4579
4589
|
* @throws {RequiredError}
|
|
4580
4590
|
*/
|
|
@@ -4583,7 +4593,7 @@ const ha = function(l) {
|
|
|
4583
4593
|
return (c, p) => S(s, u, g, l)(c, i || p);
|
|
4584
4594
|
}
|
|
4585
4595
|
};
|
|
4586
|
-
},
|
|
4596
|
+
}, Bn = function(l, r, a) {
|
|
4587
4597
|
const n = X(l);
|
|
4588
4598
|
return {
|
|
4589
4599
|
/**
|
|
@@ -4592,7 +4602,7 @@ const ha = function(l) {
|
|
|
4592
4602
|
* @param {string} environmentName Name of the environment
|
|
4593
4603
|
* @param {string} packageName Name of the package
|
|
4594
4604
|
* @param {string} path The report\'s path within the package, including `.malloy` (or `.malloynb`): the `path` list-reports returns.
|
|
4595
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
4605
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
4596
4606
|
* @param {*} [options] Override http request option.
|
|
4597
4607
|
* @throws {RequiredError}
|
|
4598
4608
|
*/
|
|
@@ -4604,7 +4614,7 @@ const ha = function(l) {
|
|
|
4604
4614
|
* @summary List package reports
|
|
4605
4615
|
* @param {string} environmentName Name of the environment
|
|
4606
4616
|
* @param {string} packageName Name of the package
|
|
4607
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
4617
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
4608
4618
|
* @param {*} [options] Override http request option.
|
|
4609
4619
|
* @throws {RequiredError}
|
|
4610
4620
|
*/
|
|
@@ -4620,7 +4630,7 @@ class ua extends I {
|
|
|
4620
4630
|
* @param {string} environmentName Name of the environment
|
|
4621
4631
|
* @param {string} packageName Name of the package
|
|
4622
4632
|
* @param {string} path The report\'s path within the package, including `.malloy` (or `.malloynb`): the `path` list-reports returns.
|
|
4623
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
4633
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
4624
4634
|
* @param {*} [options] Override http request option.
|
|
4625
4635
|
* @throws {RequiredError}
|
|
4626
4636
|
*/
|
|
@@ -4632,7 +4642,7 @@ class ua extends I {
|
|
|
4632
4642
|
* @summary List package reports
|
|
4633
4643
|
* @param {string} environmentName Name of the environment
|
|
4634
4644
|
* @param {string} packageName Name of the package
|
|
4635
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
4645
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
4636
4646
|
* @param {*} [options] Override http request option.
|
|
4637
4647
|
* @throws {RequiredError}
|
|
4638
4648
|
*/
|
|
@@ -4648,7 +4658,7 @@ const ga = function(l) {
|
|
|
4648
4658
|
* @param {string} environmentName Name of the environment
|
|
4649
4659
|
* @param {string} packageName Name of the package
|
|
4650
4660
|
* @param {string} skillName Skill name as returned by the listing. A reference file is `<skill>/<stem>`; the slash may be literal or `%2F`.
|
|
4651
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
4661
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
4652
4662
|
* @param {*} [options] Override http request option.
|
|
4653
4663
|
* @throws {RequiredError}
|
|
4654
4664
|
*/
|
|
@@ -4670,7 +4680,7 @@ const ga = function(l) {
|
|
|
4670
4680
|
* @summary List the agent skills in force for a package
|
|
4671
4681
|
* @param {string} environmentName Name of the environment
|
|
4672
4682
|
* @param {string} packageName Name of the package
|
|
4673
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
4683
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
4674
4684
|
* @param {*} [options] Override http request option.
|
|
4675
4685
|
* @throws {RequiredError}
|
|
4676
4686
|
*/
|
|
@@ -4697,7 +4707,7 @@ const ga = function(l) {
|
|
|
4697
4707
|
* @param {string} environmentName Name of the environment
|
|
4698
4708
|
* @param {string} packageName Name of the package
|
|
4699
4709
|
* @param {string} skillName Skill name as returned by the listing. A reference file is `<skill>/<stem>`; the slash may be literal or `%2F`.
|
|
4700
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
4710
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
4701
4711
|
* @param {*} [options] Override http request option.
|
|
4702
4712
|
* @throws {RequiredError}
|
|
4703
4713
|
*/
|
|
@@ -4710,7 +4720,7 @@ const ga = function(l) {
|
|
|
4710
4720
|
* @summary List the agent skills in force for a package
|
|
4711
4721
|
* @param {string} environmentName Name of the environment
|
|
4712
4722
|
* @param {string} packageName Name of the package
|
|
4713
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
4723
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
4714
4724
|
* @param {*} [options] Override http request option.
|
|
4715
4725
|
* @throws {RequiredError}
|
|
4716
4726
|
*/
|
|
@@ -4719,7 +4729,7 @@ const ga = function(l) {
|
|
|
4719
4729
|
return (c, p) => S(s, u, g, l)(c, i || p);
|
|
4720
4730
|
}
|
|
4721
4731
|
};
|
|
4722
|
-
},
|
|
4732
|
+
}, jn = function(l, r, a) {
|
|
4723
4733
|
const n = ee(l);
|
|
4724
4734
|
return {
|
|
4725
4735
|
/**
|
|
@@ -4728,7 +4738,7 @@ const ga = function(l) {
|
|
|
4728
4738
|
* @param {string} environmentName Name of the environment
|
|
4729
4739
|
* @param {string} packageName Name of the package
|
|
4730
4740
|
* @param {string} skillName Skill name as returned by the listing. A reference file is `<skill>/<stem>`; the slash may be literal or `%2F`.
|
|
4731
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
4741
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
4732
4742
|
* @param {*} [options] Override http request option.
|
|
4733
4743
|
* @throws {RequiredError}
|
|
4734
4744
|
*/
|
|
@@ -4740,7 +4750,7 @@ const ga = function(l) {
|
|
|
4740
4750
|
* @summary List the agent skills in force for a package
|
|
4741
4751
|
* @param {string} environmentName Name of the environment
|
|
4742
4752
|
* @param {string} packageName Name of the package
|
|
4743
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
4753
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
4744
4754
|
* @param {*} [options] Override http request option.
|
|
4745
4755
|
* @throws {RequiredError}
|
|
4746
4756
|
*/
|
|
@@ -4749,14 +4759,14 @@ const ga = function(l) {
|
|
|
4749
4759
|
}
|
|
4750
4760
|
};
|
|
4751
4761
|
};
|
|
4752
|
-
class
|
|
4762
|
+
class Dn extends I {
|
|
4753
4763
|
/**
|
|
4754
4764
|
* Returns one skill in force for this package, including its full Markdown. `skillName` is a name from the listing, exactly as spelled there; a reference file is addressed as `<skill>/<stem>`. The slash may be sent literally or as `%2F`; a literal `%` in a name must be sent as `%25`. 404 when no skill of that name is in force.
|
|
4755
4765
|
* @summary Get one agent skill, with its body
|
|
4756
4766
|
* @param {string} environmentName Name of the environment
|
|
4757
4767
|
* @param {string} packageName Name of the package
|
|
4758
4768
|
* @param {string} skillName Skill name as returned by the listing. A reference file is `<skill>/<stem>`; the slash may be literal or `%2F`.
|
|
4759
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
4769
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
4760
4770
|
* @param {*} [options] Override http request option.
|
|
4761
4771
|
* @throws {RequiredError}
|
|
4762
4772
|
*/
|
|
@@ -4768,7 +4778,7 @@ class jn extends I {
|
|
|
4768
4778
|
* @summary List the agent skills in force for a package
|
|
4769
4779
|
* @param {string} environmentName Name of the environment
|
|
4770
4780
|
* @param {string} packageName Name of the package
|
|
4771
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
4781
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
4772
4782
|
* @param {*} [options] Override http request option.
|
|
4773
4783
|
* @throws {RequiredError}
|
|
4774
4784
|
*/
|
|
@@ -4896,7 +4906,7 @@ const Pa = function(l) {
|
|
|
4896
4906
|
return (c, p) => S(s, u, g, l)(c, i || p);
|
|
4897
4907
|
}
|
|
4898
4908
|
};
|
|
4899
|
-
},
|
|
4909
|
+
}, Ln = function(l, r, a) {
|
|
4900
4910
|
const n = H(l);
|
|
4901
4911
|
return {
|
|
4902
4912
|
/**
|
|
@@ -4941,7 +4951,7 @@ const Pa = function(l) {
|
|
|
4941
4951
|
}
|
|
4942
4952
|
};
|
|
4943
4953
|
};
|
|
4944
|
-
class
|
|
4954
|
+
class zn extends I {
|
|
4945
4955
|
/**
|
|
4946
4956
|
* **DEPRECATED**: use the admin API\'s `DELETE /catalogs/{catalogName}/snapshots?olderThan=…` (`admin-api-doc.yaml`), whose file-deletion grace is the catalog\'s own setting; this route is removed in a later release. Reclaims the object-storage bytes that dropped and rewritten tables leave behind in a DuckLake destination. Runs, in order: 1. `ducklake_expire_snapshots(older_than => snapshotsOlderThan)` — forgets snapshots older than the cutoff (never the latest) and schedules for deletion the files only they referenced. Snapshots that remain are what time travel can still read, so this cutoff is the recovery window for a dropped table. 2. `ducklake_cleanup_old_files(older_than => filesOlderThan)` — deletes the files scheduled for deletion before the cutoff. The age counts from when step 1 scheduled the file, so this protects readers still scanning a file from a snapshot that was just expired. Only files the catalog itself recorded and then retired are deleted. It does not run `CHECKPOINT` or `ducklake_delete_orphaned_files`, which also delete untracked files — another catalog\'s, when two share a data path, or a concurrent build\'s not-yet-committed output. Synchronous. Refused with 400 for a destination that is not DuckLake.
|
|
4947
4957
|
* @summary Reclaim storage behind dropped tables in a DuckLake destination
|
|
@@ -4990,13 +5000,13 @@ const ba = function(l) {
|
|
|
4990
5000
|
* @summary Delete a version
|
|
4991
5001
|
* @param {string} environmentName Name of the environment
|
|
4992
5002
|
* @param {string} packageName Name of the package
|
|
4993
|
-
* @param {string}
|
|
5003
|
+
* @param {string} versionId A published version of the package, a semantic version such as `1.2.0`. Percent-encode build metadata (`+` as `%2B`).
|
|
4994
5004
|
* @param {*} [options] Override http request option.
|
|
4995
5005
|
* @throws {RequiredError}
|
|
4996
5006
|
*/
|
|
4997
5007
|
deletePackageVersion: async (r, a, n, e = {}) => {
|
|
4998
|
-
m("deletePackageVersion", "environmentName", r), m("deletePackageVersion", "packageName", a), m("deletePackageVersion", "
|
|
4999
|
-
const t = "/environments/{environmentName}/packages/{packageName}/versions/{
|
|
5008
|
+
m("deletePackageVersion", "environmentName", r), m("deletePackageVersion", "packageName", a), m("deletePackageVersion", "versionId", n);
|
|
5009
|
+
const t = "/environments/{environmentName}/packages/{packageName}/versions/{versionId}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{versionId}", encodeURIComponent(String(n))), s = new URL(t, b);
|
|
5000
5010
|
let o;
|
|
5001
5011
|
l && (o = l.baseOptions);
|
|
5002
5012
|
const i = { method: "DELETE", ...o, ...e }, c = {}, p = {};
|
|
@@ -5012,13 +5022,13 @@ const ba = function(l) {
|
|
|
5012
5022
|
* @summary Get one published version
|
|
5013
5023
|
* @param {string} environmentName Name of the environment
|
|
5014
5024
|
* @param {string} packageName Name of the package
|
|
5015
|
-
* @param {string}
|
|
5025
|
+
* @param {string} versionId A published version of the package, a semantic version such as `1.2.0`. Percent-encode build metadata (`+` as `%2B`).
|
|
5016
5026
|
* @param {*} [options] Override http request option.
|
|
5017
5027
|
* @throws {RequiredError}
|
|
5018
5028
|
*/
|
|
5019
5029
|
getPackageVersion: async (r, a, n, e = {}) => {
|
|
5020
|
-
m("getPackageVersion", "environmentName", r), m("getPackageVersion", "packageName", a), m("getPackageVersion", "
|
|
5021
|
-
const t = "/environments/{environmentName}/packages/{packageName}/versions/{
|
|
5030
|
+
m("getPackageVersion", "environmentName", r), m("getPackageVersion", "packageName", a), m("getPackageVersion", "versionId", n);
|
|
5031
|
+
const t = "/environments/{environmentName}/packages/{packageName}/versions/{versionId}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{versionId}", encodeURIComponent(String(n))), s = new URL(t, b);
|
|
5022
5032
|
let o;
|
|
5023
5033
|
l && (o = l.baseOptions);
|
|
5024
5034
|
const i = { method: "GET", ...o, ...e }, c = {}, p = {};
|
|
@@ -5077,14 +5087,14 @@ const ba = function(l) {
|
|
|
5077
5087
|
* @summary Bind a version to a build manifest
|
|
5078
5088
|
* @param {string} environmentName Name of the environment
|
|
5079
5089
|
* @param {string} packageName Name of the package
|
|
5080
|
-
* @param {string}
|
|
5090
|
+
* @param {string} versionId A published version of the package, a semantic version such as `1.2.0`. Percent-encode build metadata (`+` as `%2B`).
|
|
5081
5091
|
* @param {PackageVersionManifest} packageVersionManifest
|
|
5082
5092
|
* @param {*} [options] Override http request option.
|
|
5083
5093
|
* @throws {RequiredError}
|
|
5084
5094
|
*/
|
|
5085
5095
|
setPackageVersionManifest: async (r, a, n, e, t = {}) => {
|
|
5086
|
-
m("setPackageVersionManifest", "environmentName", r), m("setPackageVersionManifest", "packageName", a), m("setPackageVersionManifest", "
|
|
5087
|
-
const s = "/environments/{environmentName}/packages/{packageName}/versions/{
|
|
5096
|
+
m("setPackageVersionManifest", "environmentName", r), m("setPackageVersionManifest", "packageName", a), m("setPackageVersionManifest", "versionId", n), m("setPackageVersionManifest", "packageVersionManifest", e);
|
|
5097
|
+
const s = "/environments/{environmentName}/packages/{packageName}/versions/{versionId}/manifest".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{versionId}", encodeURIComponent(String(n))), o = new URL(s, b);
|
|
5088
5098
|
let i;
|
|
5089
5099
|
l && (i = l.baseOptions);
|
|
5090
5100
|
const c = { method: "PUT", ...i, ...t }, p = {}, d = {};
|
|
@@ -5096,18 +5106,18 @@ const ba = function(l) {
|
|
|
5096
5106
|
};
|
|
5097
5107
|
},
|
|
5098
5108
|
/**
|
|
5099
|
-
* Changes a version\'s lifecycle state. Content is never edited here: a published version is immutable. - `archive` takes the version out of service: reads and queries that name it answer 410 with `reason` `VERSION_ARCHIVED`, and it is unloaded from memory. The tables its own auto-runs built under `scope: version` are reclaimed in the background, with their run records; tables another version\'s run still references are kept, and so are an orchestrated run\'s, whose names and lifetime the caller that assigned them owns. Each table is tried once: one that cannot be dropped is left, and its run record goes all the same. Its files stay on disk, so it can be unarchived. To remove them, delete the version with `DELETE .../versions/{
|
|
5109
|
+
* Changes a version\'s lifecycle state. Content is never edited here: a published version is immutable. - `archive` takes the version out of service: reads and queries that name it answer 410 with `reason` `VERSION_ARCHIVED`, and it is unloaded from memory. The tables its own auto-runs built under `scope: version` are reclaimed in the background, with their run records; tables another version\'s run still references are kept, and so are an orchestrated run\'s, whose names and lifetime the caller that assigned them owns. Each table is tried once: one that cannot be dropped is left, and its run record goes all the same. Its files stay on disk, so it can be unarchived. To remove them, delete the version with `DELETE .../versions/{versionId}`. - `unarchive` puts it back in service. It loads again on its next read, and serves live until it is built again. Archiving stops the version\'s materialization schedule, if it has one, and unarchiving starts it again. An archive is refused with 409 when: - the version is the package\'s `latest` (`reason` `VERSION_IS_LATEST`): move `latest` first; - it is the package\'s last version in service (`reason` `VERSION_IS_LAST_ACTIVE`): a package always keeps one. To take the whole package out of service, delete it; - a materialization of that version is running (`reason` `VERSION_BUILDING`), since the archive would reclaim the tables that run is writing. A run that starts after the archive fails, and what it built is reclaimed when it ends. Sending the state the version is already in changes nothing and answers 200.
|
|
5100
5110
|
* @summary Archive or unarchive a version
|
|
5101
5111
|
* @param {string} environmentName Name of the environment
|
|
5102
5112
|
* @param {string} packageName Name of the package
|
|
5103
|
-
* @param {string}
|
|
5113
|
+
* @param {string} versionId A published version of the package, a semantic version such as `1.2.0`. Percent-encode build metadata (`+` as `%2B`).
|
|
5104
5114
|
* @param {PackageVersionUpdate} packageVersionUpdate
|
|
5105
5115
|
* @param {*} [options] Override http request option.
|
|
5106
5116
|
* @throws {RequiredError}
|
|
5107
5117
|
*/
|
|
5108
5118
|
updatePackageVersion: async (r, a, n, e, t = {}) => {
|
|
5109
|
-
m("updatePackageVersion", "environmentName", r), m("updatePackageVersion", "packageName", a), m("updatePackageVersion", "
|
|
5110
|
-
const s = "/environments/{environmentName}/packages/{packageName}/versions/{
|
|
5119
|
+
m("updatePackageVersion", "environmentName", r), m("updatePackageVersion", "packageName", a), m("updatePackageVersion", "versionId", n), m("updatePackageVersion", "packageVersionUpdate", e);
|
|
5120
|
+
const s = "/environments/{environmentName}/packages/{packageName}/versions/{versionId}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{versionId}", encodeURIComponent(String(n))), o = new URL(s, b);
|
|
5111
5121
|
let i;
|
|
5112
5122
|
l && (i = l.baseOptions);
|
|
5113
5123
|
const c = { method: "PATCH", ...i, ...t }, p = {}, d = {};
|
|
@@ -5127,7 +5137,7 @@ const ba = function(l) {
|
|
|
5127
5137
|
* @summary Delete a version
|
|
5128
5138
|
* @param {string} environmentName Name of the environment
|
|
5129
5139
|
* @param {string} packageName Name of the package
|
|
5130
|
-
* @param {string}
|
|
5140
|
+
* @param {string} versionId A published version of the package, a semantic version such as `1.2.0`. Percent-encode build metadata (`+` as `%2B`).
|
|
5131
5141
|
* @param {*} [options] Override http request option.
|
|
5132
5142
|
* @throws {RequiredError}
|
|
5133
5143
|
*/
|
|
@@ -5140,7 +5150,7 @@ const ba = function(l) {
|
|
|
5140
5150
|
* @summary Get one published version
|
|
5141
5151
|
* @param {string} environmentName Name of the environment
|
|
5142
5152
|
* @param {string} packageName Name of the package
|
|
5143
|
-
* @param {string}
|
|
5153
|
+
* @param {string} versionId A published version of the package, a semantic version such as `1.2.0`. Percent-encode build metadata (`+` as `%2B`).
|
|
5144
5154
|
* @param {*} [options] Override http request option.
|
|
5145
5155
|
* @throws {RequiredError}
|
|
5146
5156
|
*/
|
|
@@ -5178,7 +5188,7 @@ const ba = function(l) {
|
|
|
5178
5188
|
* @summary Bind a version to a build manifest
|
|
5179
5189
|
* @param {string} environmentName Name of the environment
|
|
5180
5190
|
* @param {string} packageName Name of the package
|
|
5181
|
-
* @param {string}
|
|
5191
|
+
* @param {string} versionId A published version of the package, a semantic version such as `1.2.0`. Percent-encode build metadata (`+` as `%2B`).
|
|
5182
5192
|
* @param {PackageVersionManifest} packageVersionManifest
|
|
5183
5193
|
* @param {*} [options] Override http request option.
|
|
5184
5194
|
* @throws {RequiredError}
|
|
@@ -5188,11 +5198,11 @@ const ba = function(l) {
|
|
|
5188
5198
|
return (p, d) => S(o, u, g, l)(p, c || d);
|
|
5189
5199
|
},
|
|
5190
5200
|
/**
|
|
5191
|
-
* Changes a version\'s lifecycle state. Content is never edited here: a published version is immutable. - `archive` takes the version out of service: reads and queries that name it answer 410 with `reason` `VERSION_ARCHIVED`, and it is unloaded from memory. The tables its own auto-runs built under `scope: version` are reclaimed in the background, with their run records; tables another version\'s run still references are kept, and so are an orchestrated run\'s, whose names and lifetime the caller that assigned them owns. Each table is tried once: one that cannot be dropped is left, and its run record goes all the same. Its files stay on disk, so it can be unarchived. To remove them, delete the version with `DELETE .../versions/{
|
|
5201
|
+
* Changes a version\'s lifecycle state. Content is never edited here: a published version is immutable. - `archive` takes the version out of service: reads and queries that name it answer 410 with `reason` `VERSION_ARCHIVED`, and it is unloaded from memory. The tables its own auto-runs built under `scope: version` are reclaimed in the background, with their run records; tables another version\'s run still references are kept, and so are an orchestrated run\'s, whose names and lifetime the caller that assigned them owns. Each table is tried once: one that cannot be dropped is left, and its run record goes all the same. Its files stay on disk, so it can be unarchived. To remove them, delete the version with `DELETE .../versions/{versionId}`. - `unarchive` puts it back in service. It loads again on its next read, and serves live until it is built again. Archiving stops the version\'s materialization schedule, if it has one, and unarchiving starts it again. An archive is refused with 409 when: - the version is the package\'s `latest` (`reason` `VERSION_IS_LATEST`): move `latest` first; - it is the package\'s last version in service (`reason` `VERSION_IS_LAST_ACTIVE`): a package always keeps one. To take the whole package out of service, delete it; - a materialization of that version is running (`reason` `VERSION_BUILDING`), since the archive would reclaim the tables that run is writing. A run that starts after the archive fails, and what it built is reclaimed when it ends. Sending the state the version is already in changes nothing and answers 200.
|
|
5192
5202
|
* @summary Archive or unarchive a version
|
|
5193
5203
|
* @param {string} environmentName Name of the environment
|
|
5194
5204
|
* @param {string} packageName Name of the package
|
|
5195
|
-
* @param {string}
|
|
5205
|
+
* @param {string} versionId A published version of the package, a semantic version such as `1.2.0`. Percent-encode build metadata (`+` as `%2B`).
|
|
5196
5206
|
* @param {PackageVersionUpdate} packageVersionUpdate
|
|
5197
5207
|
* @param {*} [options] Override http request option.
|
|
5198
5208
|
* @throws {RequiredError}
|
|
@@ -5202,7 +5212,7 @@ const ba = function(l) {
|
|
|
5202
5212
|
return (p, d) => S(o, u, g, l)(p, c || d);
|
|
5203
5213
|
}
|
|
5204
5214
|
};
|
|
5205
|
-
},
|
|
5215
|
+
}, Qn = function(l, r, a) {
|
|
5206
5216
|
const n = E(l);
|
|
5207
5217
|
return {
|
|
5208
5218
|
/**
|
|
@@ -5210,7 +5220,7 @@ const ba = function(l) {
|
|
|
5210
5220
|
* @summary Delete a version
|
|
5211
5221
|
* @param {string} environmentName Name of the environment
|
|
5212
5222
|
* @param {string} packageName Name of the package
|
|
5213
|
-
* @param {string}
|
|
5223
|
+
* @param {string} versionId A published version of the package, a semantic version such as `1.2.0`. Percent-encode build metadata (`+` as `%2B`).
|
|
5214
5224
|
* @param {*} [options] Override http request option.
|
|
5215
5225
|
* @throws {RequiredError}
|
|
5216
5226
|
*/
|
|
@@ -5222,7 +5232,7 @@ const ba = function(l) {
|
|
|
5222
5232
|
* @summary Get one published version
|
|
5223
5233
|
* @param {string} environmentName Name of the environment
|
|
5224
5234
|
* @param {string} packageName Name of the package
|
|
5225
|
-
* @param {string}
|
|
5235
|
+
* @param {string} versionId A published version of the package, a semantic version such as `1.2.0`. Percent-encode build metadata (`+` as `%2B`).
|
|
5226
5236
|
* @param {*} [options] Override http request option.
|
|
5227
5237
|
* @throws {RequiredError}
|
|
5228
5238
|
*/
|
|
@@ -5257,7 +5267,7 @@ const ba = function(l) {
|
|
|
5257
5267
|
* @summary Bind a version to a build manifest
|
|
5258
5268
|
* @param {string} environmentName Name of the environment
|
|
5259
5269
|
* @param {string} packageName Name of the package
|
|
5260
|
-
* @param {string}
|
|
5270
|
+
* @param {string} versionId A published version of the package, a semantic version such as `1.2.0`. Percent-encode build metadata (`+` as `%2B`).
|
|
5261
5271
|
* @param {PackageVersionManifest} packageVersionManifest
|
|
5262
5272
|
* @param {*} [options] Override http request option.
|
|
5263
5273
|
* @throws {RequiredError}
|
|
@@ -5266,11 +5276,11 @@ const ba = function(l) {
|
|
|
5266
5276
|
return n.setPackageVersionManifest(e, t, s, o, i).then((c) => c(a, r));
|
|
5267
5277
|
},
|
|
5268
5278
|
/**
|
|
5269
|
-
* Changes a version\'s lifecycle state. Content is never edited here: a published version is immutable. - `archive` takes the version out of service: reads and queries that name it answer 410 with `reason` `VERSION_ARCHIVED`, and it is unloaded from memory. The tables its own auto-runs built under `scope: version` are reclaimed in the background, with their run records; tables another version\'s run still references are kept, and so are an orchestrated run\'s, whose names and lifetime the caller that assigned them owns. Each table is tried once: one that cannot be dropped is left, and its run record goes all the same. Its files stay on disk, so it can be unarchived. To remove them, delete the version with `DELETE .../versions/{
|
|
5279
|
+
* Changes a version\'s lifecycle state. Content is never edited here: a published version is immutable. - `archive` takes the version out of service: reads and queries that name it answer 410 with `reason` `VERSION_ARCHIVED`, and it is unloaded from memory. The tables its own auto-runs built under `scope: version` are reclaimed in the background, with their run records; tables another version\'s run still references are kept, and so are an orchestrated run\'s, whose names and lifetime the caller that assigned them owns. Each table is tried once: one that cannot be dropped is left, and its run record goes all the same. Its files stay on disk, so it can be unarchived. To remove them, delete the version with `DELETE .../versions/{versionId}`. - `unarchive` puts it back in service. It loads again on its next read, and serves live until it is built again. Archiving stops the version\'s materialization schedule, if it has one, and unarchiving starts it again. An archive is refused with 409 when: - the version is the package\'s `latest` (`reason` `VERSION_IS_LATEST`): move `latest` first; - it is the package\'s last version in service (`reason` `VERSION_IS_LAST_ACTIVE`): a package always keeps one. To take the whole package out of service, delete it; - a materialization of that version is running (`reason` `VERSION_BUILDING`), since the archive would reclaim the tables that run is writing. A run that starts after the archive fails, and what it built is reclaimed when it ends. Sending the state the version is already in changes nothing and answers 200.
|
|
5270
5280
|
* @summary Archive or unarchive a version
|
|
5271
5281
|
* @param {string} environmentName Name of the environment
|
|
5272
5282
|
* @param {string} packageName Name of the package
|
|
5273
|
-
* @param {string}
|
|
5283
|
+
* @param {string} versionId A published version of the package, a semantic version such as `1.2.0`. Percent-encode build metadata (`+` as `%2B`).
|
|
5274
5284
|
* @param {PackageVersionUpdate} packageVersionUpdate
|
|
5275
5285
|
* @param {*} [options] Override http request option.
|
|
5276
5286
|
* @throws {RequiredError}
|
|
@@ -5286,7 +5296,7 @@ class va extends I {
|
|
|
5286
5296
|
* @summary Delete a version
|
|
5287
5297
|
* @param {string} environmentName Name of the environment
|
|
5288
5298
|
* @param {string} packageName Name of the package
|
|
5289
|
-
* @param {string}
|
|
5299
|
+
* @param {string} versionId A published version of the package, a semantic version such as `1.2.0`. Percent-encode build metadata (`+` as `%2B`).
|
|
5290
5300
|
* @param {*} [options] Override http request option.
|
|
5291
5301
|
* @throws {RequiredError}
|
|
5292
5302
|
*/
|
|
@@ -5298,7 +5308,7 @@ class va extends I {
|
|
|
5298
5308
|
* @summary Get one published version
|
|
5299
5309
|
* @param {string} environmentName Name of the environment
|
|
5300
5310
|
* @param {string} packageName Name of the package
|
|
5301
|
-
* @param {string}
|
|
5311
|
+
* @param {string} versionId A published version of the package, a semantic version such as `1.2.0`. Percent-encode build metadata (`+` as `%2B`).
|
|
5302
5312
|
* @param {*} [options] Override http request option.
|
|
5303
5313
|
* @throws {RequiredError}
|
|
5304
5314
|
*/
|
|
@@ -5333,7 +5343,7 @@ class va extends I {
|
|
|
5333
5343
|
* @summary Bind a version to a build manifest
|
|
5334
5344
|
* @param {string} environmentName Name of the environment
|
|
5335
5345
|
* @param {string} packageName Name of the package
|
|
5336
|
-
* @param {string}
|
|
5346
|
+
* @param {string} versionId A published version of the package, a semantic version such as `1.2.0`. Percent-encode build metadata (`+` as `%2B`).
|
|
5337
5347
|
* @param {PackageVersionManifest} packageVersionManifest
|
|
5338
5348
|
* @param {*} [options] Override http request option.
|
|
5339
5349
|
* @throws {RequiredError}
|
|
@@ -5342,11 +5352,11 @@ class va extends I {
|
|
|
5342
5352
|
return E(this.configuration).setPackageVersionManifest(r, a, n, e, t).then((s) => s(this.axios, this.basePath));
|
|
5343
5353
|
}
|
|
5344
5354
|
/**
|
|
5345
|
-
* Changes a version\'s lifecycle state. Content is never edited here: a published version is immutable. - `archive` takes the version out of service: reads and queries that name it answer 410 with `reason` `VERSION_ARCHIVED`, and it is unloaded from memory. The tables its own auto-runs built under `scope: version` are reclaimed in the background, with their run records; tables another version\'s run still references are kept, and so are an orchestrated run\'s, whose names and lifetime the caller that assigned them owns. Each table is tried once: one that cannot be dropped is left, and its run record goes all the same. Its files stay on disk, so it can be unarchived. To remove them, delete the version with `DELETE .../versions/{
|
|
5355
|
+
* Changes a version\'s lifecycle state. Content is never edited here: a published version is immutable. - `archive` takes the version out of service: reads and queries that name it answer 410 with `reason` `VERSION_ARCHIVED`, and it is unloaded from memory. The tables its own auto-runs built under `scope: version` are reclaimed in the background, with their run records; tables another version\'s run still references are kept, and so are an orchestrated run\'s, whose names and lifetime the caller that assigned them owns. Each table is tried once: one that cannot be dropped is left, and its run record goes all the same. Its files stay on disk, so it can be unarchived. To remove them, delete the version with `DELETE .../versions/{versionId}`. - `unarchive` puts it back in service. It loads again on its next read, and serves live until it is built again. Archiving stops the version\'s materialization schedule, if it has one, and unarchiving starts it again. An archive is refused with 409 when: - the version is the package\'s `latest` (`reason` `VERSION_IS_LATEST`): move `latest` first; - it is the package\'s last version in service (`reason` `VERSION_IS_LAST_ACTIVE`): a package always keeps one. To take the whole package out of service, delete it; - a materialization of that version is running (`reason` `VERSION_BUILDING`), since the archive would reclaim the tables that run is writing. A run that starts after the archive fails, and what it built is reclaimed when it ends. Sending the state the version is already in changes nothing and answers 200.
|
|
5346
5356
|
* @summary Archive or unarchive a version
|
|
5347
5357
|
* @param {string} environmentName Name of the environment
|
|
5348
5358
|
* @param {string} packageName Name of the package
|
|
5349
|
-
* @param {string}
|
|
5359
|
+
* @param {string} versionId A published version of the package, a semantic version such as `1.2.0`. Percent-encode build metadata (`+` as `%2B`).
|
|
5350
5360
|
* @param {PackageVersionUpdate} packageVersionUpdate
|
|
5351
5361
|
* @param {*} [options] Override http request option.
|
|
5352
5362
|
* @throws {RequiredError}
|
|
@@ -5421,7 +5431,7 @@ const Va = function(l) {
|
|
|
5421
5431
|
* @summary Stream package change events (SSE)
|
|
5422
5432
|
* @param {string} environmentName Name of the environment
|
|
5423
5433
|
* @param {string} packageName Name of the package
|
|
5424
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
5434
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
5425
5435
|
* @param {*} [options] Override http request option.
|
|
5426
5436
|
* @throws {RequiredError}
|
|
5427
5437
|
*/
|
|
@@ -5481,7 +5491,7 @@ const Va = function(l) {
|
|
|
5481
5491
|
* @summary Stream package change events (SSE)
|
|
5482
5492
|
* @param {string} environmentName Name of the environment
|
|
5483
5493
|
* @param {string} packageName Name of the package
|
|
5484
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
5494
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
5485
5495
|
* @param {*} [options] Override http request option.
|
|
5486
5496
|
* @throws {RequiredError}
|
|
5487
5497
|
*/
|
|
@@ -5490,7 +5500,7 @@ const Va = function(l) {
|
|
|
5490
5500
|
return (c, p) => S(s, u, g, l)(c, i || p);
|
|
5491
5501
|
}
|
|
5492
5502
|
};
|
|
5493
|
-
},
|
|
5503
|
+
}, _n = function(l, r, a) {
|
|
5494
5504
|
const n = L(l);
|
|
5495
5505
|
return {
|
|
5496
5506
|
/**
|
|
@@ -5529,7 +5539,7 @@ const Va = function(l) {
|
|
|
5529
5539
|
* @summary Stream package change events (SSE)
|
|
5530
5540
|
* @param {string} environmentName Name of the environment
|
|
5531
5541
|
* @param {string} packageName Name of the package
|
|
5532
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
5542
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
5533
5543
|
* @param {*} [options] Override http request option.
|
|
5534
5544
|
* @throws {RequiredError}
|
|
5535
5545
|
*/
|
|
@@ -5575,7 +5585,7 @@ class Sa extends I {
|
|
|
5575
5585
|
* @summary Stream package change events (SSE)
|
|
5576
5586
|
* @param {string} environmentName Name of the environment
|
|
5577
5587
|
* @param {string} packageName Name of the package
|
|
5578
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
5588
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
5579
5589
|
* @param {*} [options] Override http request option.
|
|
5580
5590
|
* @throws {RequiredError}
|
|
5581
5591
|
*/
|
|
@@ -5675,7 +5685,7 @@ const Oa = new ye({
|
|
|
5675
5685
|
throwOnError: !1
|
|
5676
5686
|
}
|
|
5677
5687
|
}
|
|
5678
|
-
}),
|
|
5688
|
+
}), qn = {
|
|
5679
5689
|
staleTime: 300 * 1e3,
|
|
5680
5690
|
refetchOnWindowFocus: !1,
|
|
5681
5691
|
refetchOnReconnect: !1
|
|
@@ -5744,7 +5754,7 @@ const Pe = ce(void 0), xa = (l, r, a) => {
|
|
|
5744
5754
|
watchMode: new Sa(t, n, e),
|
|
5745
5755
|
versions: new va(t, n, e)
|
|
5746
5756
|
};
|
|
5747
|
-
},
|
|
5757
|
+
}, Hn = (l) => /* @__PURE__ */ z(Ce, { client: Oa, children: /* @__PURE__ */ z(Na, { ...l }) }), Na = ({
|
|
5748
5758
|
children: l,
|
|
5749
5759
|
getAccessToken: r,
|
|
5750
5760
|
baseURL: a,
|
|
@@ -5810,7 +5820,7 @@ const Pe = ce(void 0), xa = (l, r, a) => {
|
|
|
5810
5820
|
children: l
|
|
5811
5821
|
}
|
|
5812
5822
|
) });
|
|
5813
|
-
},
|
|
5823
|
+
}, Gn = () => {
|
|
5814
5824
|
const l = le(Pe);
|
|
5815
5825
|
if (l === void 0)
|
|
5816
5826
|
throw new Error("useServer must be used within a ServerProvider");
|
|
@@ -5825,21 +5835,21 @@ export {
|
|
|
5825
5835
|
ot as E,
|
|
5826
5836
|
Ze as F,
|
|
5827
5837
|
Je as G,
|
|
5828
|
-
|
|
5838
|
+
Rn as H,
|
|
5829
5839
|
ue as I,
|
|
5830
5840
|
st as J,
|
|
5831
5841
|
ea as K,
|
|
5832
5842
|
Xe as L,
|
|
5833
|
-
|
|
5843
|
+
xn as M,
|
|
5834
5844
|
ge as N,
|
|
5835
5845
|
ta as O,
|
|
5836
5846
|
aa as P,
|
|
5837
|
-
|
|
5847
|
+
Nn as Q,
|
|
5838
5848
|
M as R,
|
|
5839
|
-
|
|
5849
|
+
wn as S,
|
|
5840
5850
|
it as T,
|
|
5841
5851
|
lt as U,
|
|
5842
|
-
|
|
5852
|
+
On as V,
|
|
5843
5853
|
ct as W,
|
|
5844
5854
|
pt as X,
|
|
5845
5855
|
dt as Y,
|
|
@@ -5848,12 +5858,12 @@ export {
|
|
|
5848
5858
|
qe as a,
|
|
5849
5859
|
tn as a$,
|
|
5850
5860
|
ht as a0,
|
|
5851
|
-
|
|
5861
|
+
Tn as a1,
|
|
5852
5862
|
Pt as a2,
|
|
5853
5863
|
bt as a3,
|
|
5854
5864
|
ra as a4,
|
|
5855
5865
|
na as a5,
|
|
5856
|
-
|
|
5866
|
+
Un as a6,
|
|
5857
5867
|
T as a7,
|
|
5858
5868
|
vt as a8,
|
|
5859
5869
|
sa as a9,
|
|
@@ -5862,13 +5872,13 @@ export {
|
|
|
5862
5872
|
Lt as aC,
|
|
5863
5873
|
pa as aD,
|
|
5864
5874
|
ca as aE,
|
|
5865
|
-
|
|
5875
|
+
Mn as aF,
|
|
5866
5876
|
x as aG,
|
|
5867
5877
|
zt as aH,
|
|
5868
5878
|
Qt as aI,
|
|
5869
5879
|
ma as aJ,
|
|
5870
5880
|
da as aK,
|
|
5871
|
-
|
|
5881
|
+
Fn as aL,
|
|
5872
5882
|
D as aM,
|
|
5873
5883
|
_t as aN,
|
|
5874
5884
|
qt as aO,
|
|
@@ -5885,7 +5895,7 @@ export {
|
|
|
5885
5895
|
an as aZ,
|
|
5886
5896
|
nn as a_,
|
|
5887
5897
|
oa as aa,
|
|
5888
|
-
|
|
5898
|
+
En as ab,
|
|
5889
5899
|
F as ac,
|
|
5890
5900
|
St as ad,
|
|
5891
5901
|
Ot as ae,
|
|
@@ -5893,7 +5903,7 @@ export {
|
|
|
5893
5903
|
Vt as ag,
|
|
5894
5904
|
la as ah,
|
|
5895
5905
|
ia as ai,
|
|
5896
|
-
|
|
5906
|
+
fn as aj,
|
|
5897
5907
|
q as ak,
|
|
5898
5908
|
At as al,
|
|
5899
5909
|
xt as am,
|
|
@@ -5910,66 +5920,67 @@ export {
|
|
|
5910
5920
|
Mt as ax,
|
|
5911
5921
|
wt as ay,
|
|
5912
5922
|
ft as az,
|
|
5913
|
-
|
|
5923
|
+
kn as b,
|
|
5914
5924
|
on as b0,
|
|
5915
5925
|
rn as b1,
|
|
5916
5926
|
sn as b2,
|
|
5917
5927
|
ln as b3,
|
|
5918
5928
|
ua as b4,
|
|
5919
5929
|
ha as b5,
|
|
5920
|
-
|
|
5930
|
+
Bn as b6,
|
|
5921
5931
|
X as b7,
|
|
5922
5932
|
cn as b8,
|
|
5923
5933
|
pn as b9,
|
|
5924
|
-
|
|
5925
|
-
|
|
5926
|
-
|
|
5927
|
-
|
|
5928
|
-
|
|
5929
|
-
|
|
5930
|
-
|
|
5931
|
-
|
|
5932
|
-
|
|
5933
|
-
|
|
5934
|
-
|
|
5935
|
-
|
|
5936
|
-
|
|
5937
|
-
|
|
5938
|
-
|
|
5939
|
-
|
|
5940
|
-
|
|
5941
|
-
|
|
5942
|
-
|
|
5943
|
-
|
|
5944
|
-
|
|
5945
|
-
|
|
5946
|
-
|
|
5947
|
-
qn as
|
|
5934
|
+
L as bA,
|
|
5935
|
+
Oa as bB,
|
|
5936
|
+
Ha as bC,
|
|
5937
|
+
Gn as bD,
|
|
5938
|
+
De as bE,
|
|
5939
|
+
de as bF,
|
|
5940
|
+
qa as bG,
|
|
5941
|
+
U as bH,
|
|
5942
|
+
Fa as bI,
|
|
5943
|
+
Ma as bJ,
|
|
5944
|
+
R as bK,
|
|
5945
|
+
La as bL,
|
|
5946
|
+
Da as bM,
|
|
5947
|
+
za as bN,
|
|
5948
|
+
Qa as bO,
|
|
5949
|
+
Ba as bP,
|
|
5950
|
+
ja as bQ,
|
|
5951
|
+
Y as bR,
|
|
5952
|
+
ze as bS,
|
|
5953
|
+
ie as bT,
|
|
5954
|
+
_a as bU,
|
|
5955
|
+
Ee as bV,
|
|
5956
|
+
Le as bW,
|
|
5957
|
+
qn as bX,
|
|
5958
|
+
Hn as ba,
|
|
5948
5959
|
un as bb,
|
|
5949
5960
|
dn as bc,
|
|
5950
5961
|
mn as bd,
|
|
5951
5962
|
hn as be,
|
|
5952
5963
|
gn as bf,
|
|
5953
5964
|
Pn as bg,
|
|
5954
|
-
|
|
5965
|
+
Dn as bh,
|
|
5955
5966
|
ga as bi,
|
|
5956
|
-
|
|
5967
|
+
jn as bj,
|
|
5957
5968
|
ee as bk,
|
|
5958
5969
|
bn as bl,
|
|
5959
|
-
|
|
5970
|
+
zn as bm,
|
|
5960
5971
|
Pa as bn,
|
|
5961
|
-
|
|
5972
|
+
Ln as bo,
|
|
5962
5973
|
H as bp,
|
|
5963
5974
|
vn as bq,
|
|
5964
5975
|
Vn as br,
|
|
5965
|
-
|
|
5966
|
-
|
|
5967
|
-
|
|
5968
|
-
|
|
5969
|
-
|
|
5970
|
-
|
|
5971
|
-
|
|
5972
|
-
|
|
5976
|
+
Sn as bs,
|
|
5977
|
+
va as bt,
|
|
5978
|
+
ba as bu,
|
|
5979
|
+
Qn as bv,
|
|
5980
|
+
E as bw,
|
|
5981
|
+
Sa as bx,
|
|
5982
|
+
Va as by,
|
|
5983
|
+
_n as bz,
|
|
5973
5984
|
_ as c,
|
|
5974
5985
|
Ga as d,
|
|
5975
5986
|
Wa as e,
|
|
@@ -5983,15 +5994,15 @@ export {
|
|
|
5983
5994
|
Xa as m,
|
|
5984
5995
|
We as n,
|
|
5985
5996
|
Ge as o,
|
|
5986
|
-
|
|
5997
|
+
An as p,
|
|
5987
5998
|
C as q,
|
|
5988
|
-
|
|
5999
|
+
Cn as r,
|
|
5989
6000
|
Ke as s,
|
|
5990
|
-
|
|
6001
|
+
yn as t,
|
|
5991
6002
|
he as u,
|
|
5992
6003
|
tt as v,
|
|
5993
6004
|
rt as w,
|
|
5994
6005
|
Ye as x,
|
|
5995
6006
|
$e as y,
|
|
5996
|
-
|
|
6007
|
+
In as z
|
|
5997
6008
|
};
|