@osdk/foundry.functions 2.8.0 → 2.10.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/CHANGELOG.md +18 -0
- package/build/browser/_components.d.ts +215 -4
- package/build/browser/_components.d.ts.map +1 -1
- package/build/browser/_errors.d.ts +133 -0
- package/build/browser/_errors.d.ts.map +1 -1
- package/build/browser/index.d.ts +4 -2
- package/build/browser/index.d.ts.map +1 -1
- package/build/browser/index.js +2 -0
- package/build/browser/index.js.map +1 -1
- package/build/browser/public/Query.d.ts +5 -4
- package/build/browser/public/Query.d.ts.map +1 -1
- package/build/browser/public/Query.js +9 -9
- package/build/browser/public/Query.js.map +1 -1
- package/build/browser/public/ValueType.d.ts +19 -0
- package/build/browser/public/ValueType.d.ts.map +1 -0
- package/build/browser/public/ValueType.js +30 -0
- package/build/browser/public/ValueType.js.map +1 -0
- package/build/browser/public/VersionId.d.ts +20 -0
- package/build/browser/public/VersionId.d.ts.map +1 -0
- package/build/browser/public/VersionId.js +30 -0
- package/build/browser/public/VersionId.js.map +1 -0
- package/build/esm/_components.d.ts +215 -4
- package/build/esm/_components.d.ts.map +1 -1
- package/build/esm/_errors.d.ts +133 -0
- package/build/esm/_errors.d.ts.map +1 -1
- package/build/esm/index.d.ts +4 -2
- package/build/esm/index.d.ts.map +1 -1
- package/build/esm/index.js +2 -0
- package/build/esm/index.js.map +1 -1
- package/build/esm/public/Query.d.ts +5 -4
- package/build/esm/public/Query.d.ts.map +1 -1
- package/build/esm/public/Query.js +9 -9
- package/build/esm/public/Query.js.map +1 -1
- package/build/esm/public/ValueType.d.ts +19 -0
- package/build/esm/public/ValueType.d.ts.map +1 -0
- package/build/esm/public/ValueType.js +30 -0
- package/build/esm/public/ValueType.js.map +1 -0
- package/build/esm/public/VersionId.d.ts +20 -0
- package/build/esm/public/VersionId.d.ts.map +1 -0
- package/build/esm/public/VersionId.js +30 -0
- package/build/esm/public/VersionId.js.map +1 -0
- package/package.json +4 -4
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
|
|
17
|
+
//
|
|
18
|
+
const _get = [0, "/v2/functions/valueTypes/{0}", 2];
|
|
19
|
+
/**
|
|
20
|
+
* Gets a specific value type with the given RID. The latest version is returned.
|
|
21
|
+
*
|
|
22
|
+
* @alpha
|
|
23
|
+
*
|
|
24
|
+
* Required Scopes: [api:functions-read]
|
|
25
|
+
* URL: /v2/functions/valueTypes/{valueTypeRid}
|
|
26
|
+
*/
|
|
27
|
+
export function get($ctx, ...args) {
|
|
28
|
+
return $foundryPlatformFetch($ctx, _get, ...args);
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=ValueType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ValueType.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_get","get","$ctx","args"],"sources":["ValueType.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _get = [0, \"/v2/functions/valueTypes/{0}\", 2];\n/**\n * Gets a specific value type with the given RID. The latest version is returned.\n *\n * @alpha\n *\n * Required Scopes: [api:functions-read]\n * URL: /v2/functions/valueTypes/{valueTypeRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,8BAA8B,EAAE,CAAC,CAAC;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,IAAI,EAAE,GAAGG,IAAI,CAAC;AACrD","ignoreList":[]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type * as _Core from "@osdk/foundry.core";
|
|
2
|
+
import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
|
|
3
|
+
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
|
|
4
|
+
import type * as _Functions from "../_components.js";
|
|
5
|
+
/**
|
|
6
|
+
* Gets a specific value type with the given RID. The specified version is returned.
|
|
7
|
+
*
|
|
8
|
+
* @alpha
|
|
9
|
+
*
|
|
10
|
+
* Required Scopes: [api:functions-read]
|
|
11
|
+
* URL: /v2/functions/valueTypes/{valueTypeRid}/versionIds/{versionIdVersionId}
|
|
12
|
+
*/
|
|
13
|
+
export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
14
|
+
valueTypeRid: _Functions.ValueTypeRid,
|
|
15
|
+
versionIdVersionId: _Functions.ValueTypeVersionId,
|
|
16
|
+
$queryParams?: {
|
|
17
|
+
preview?: _Core.PreviewMode | undefined;
|
|
18
|
+
}
|
|
19
|
+
]): Promise<_Functions.VersionId>;
|
|
20
|
+
//# sourceMappingURL=VersionId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VersionId.d.ts","sourceRoot":"","sources":["../../../src/public/VersionId.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAYrD;;;;;;;GAOG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,YAAY,EAAE,UAAU,CAAC,YAAY;IACrC,kBAAkB,EAAE,UAAU,CAAC,kBAAkB;IAEjD,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,UAAU,CAAC,SAAS,CAAC,CAE/B"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
|
|
17
|
+
//
|
|
18
|
+
const _get = [0, "/v2/functions/valueTypes/{0}/versionIds/{1}", 2];
|
|
19
|
+
/**
|
|
20
|
+
* Gets a specific value type with the given RID. The specified version is returned.
|
|
21
|
+
*
|
|
22
|
+
* @alpha
|
|
23
|
+
*
|
|
24
|
+
* Required Scopes: [api:functions-read]
|
|
25
|
+
* URL: /v2/functions/valueTypes/{valueTypeRid}/versionIds/{versionIdVersionId}
|
|
26
|
+
*/
|
|
27
|
+
export function get($ctx, ...args) {
|
|
28
|
+
return $foundryPlatformFetch($ctx, _get, ...args);
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=VersionId.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VersionId.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_get","get","$ctx","args"],"sources":["VersionId.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _get = [0, \"/v2/functions/valueTypes/{0}/versionIds/{1}\", 2];\n/**\n * Gets a specific value type with the given RID. The specified version is returned.\n *\n * @alpha\n *\n * Required Scopes: [api:functions-read]\n * URL: /v2/functions/valueTypes/{valueTypeRid}/versionIds/{versionIdVersionId}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,6CAA6C,EAAE,CAAC,CAAC;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,IAAI,EAAE,GAAGG,IAAI,CAAC;AACrD","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osdk/foundry.functions",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@osdk/shared.client": "^1.0.1",
|
|
23
23
|
"@osdk/shared.client2": "^1.0.0",
|
|
24
|
-
"@osdk/foundry.core": "2.
|
|
24
|
+
"@osdk/foundry.core": "2.10.0",
|
|
25
25
|
"@osdk/shared.net.platformapi": "~1.2.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"sls": {
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"com.palantir.foundry.api:api-gateway": {
|
|
48
|
-
"minVersion": "1.
|
|
48
|
+
"minVersion": "1.1047.0",
|
|
49
49
|
"maxVersion": "1.x.x",
|
|
50
|
-
"optional":
|
|
50
|
+
"optional": false
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
},
|