@osdk/foundry.thirdpartyapplications 2.7.0 → 2.9.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 +22 -0
- package/build/browser/_errors.d.ts +18 -8
- package/build/browser/_errors.d.ts.map +1 -1
- package/build/browser/index.d.ts +1 -1
- package/build/browser/index.d.ts.map +1 -1
- package/build/browser/public/Version.d.ts +17 -0
- package/build/browser/public/Version.d.ts.map +1 -1
- package/build/browser/public/Version.js +12 -0
- package/build/browser/public/Version.js.map +1 -1
- package/build/esm/_errors.d.ts +18 -8
- package/build/esm/_errors.d.ts.map +1 -1
- package/build/esm/index.d.ts +1 -1
- package/build/esm/index.d.ts.map +1 -1
- package/build/esm/public/Version.d.ts +17 -0
- package/build/esm/public/Version.d.ts.map +1 -1
- package/build/esm/public/Version.js +12 -0
- package/build/esm/public/Version.js.map +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @osdk/foundry.thirdpartyapplications
|
|
2
2
|
|
|
3
|
+
## 2.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 70eca2d: Updating platform sdks with new media reference capabilities and other improvements.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [70eca2d]
|
|
12
|
+
- @osdk/foundry.core@2.9.0
|
|
13
|
+
|
|
14
|
+
## 2.8.0
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- b025652: Update APIs and make backend dependency non-optional.
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies [b025652]
|
|
23
|
+
- @osdk/foundry.core@2.8.0
|
|
24
|
+
|
|
3
25
|
## 2.7.0
|
|
4
26
|
|
|
5
27
|
### Minor Changes
|
|
@@ -42,11 +42,10 @@ export interface DeployWebsitePermissionDenied {
|
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
*/
|
|
45
|
+
* The .zip archive contains too many files.
|
|
46
|
+
*
|
|
47
|
+
* Log Safety: SAFE
|
|
48
|
+
*/
|
|
50
49
|
export interface FileCountLimitExceeded {
|
|
51
50
|
errorCode: "INVALID_ARGUMENT";
|
|
52
51
|
errorName: "FileCountLimitExceeded";
|
|
@@ -58,7 +57,6 @@ export interface FileCountLimitExceeded {
|
|
|
58
57
|
/**
|
|
59
58
|
* A file inside the .zip archive is too big. You must ensure that all files inside
|
|
60
59
|
the .zip archive are within the limit.
|
|
61
|
-
|
|
62
60
|
*
|
|
63
61
|
* Log Safety: UNSAFE
|
|
64
62
|
*/
|
|
@@ -73,7 +71,7 @@ export interface FileSizeLimitExceeded {
|
|
|
73
71
|
};
|
|
74
72
|
}
|
|
75
73
|
/**
|
|
76
|
-
* The given website version is invalid. Versions must follow semantic versioning with major, minor, and patch versions separate by periods, e.g.
|
|
74
|
+
* The given website version is invalid. Versions must follow semantic versioning with major, minor, and patch versions separate by periods, e.g. 0.1.0 or 1.2.3.
|
|
77
75
|
*
|
|
78
76
|
* Log Safety: UNSAFE
|
|
79
77
|
*/
|
|
@@ -111,6 +109,19 @@ export interface UndeployWebsitePermissionDenied {
|
|
|
111
109
|
thirdPartyApplicationRid: unknown;
|
|
112
110
|
};
|
|
113
111
|
}
|
|
112
|
+
/**
|
|
113
|
+
* Could not uploadSnapshot the Version.
|
|
114
|
+
*
|
|
115
|
+
* Log Safety: SAFE
|
|
116
|
+
*/
|
|
117
|
+
export interface UploadSnapshotVersionPermissionDenied {
|
|
118
|
+
errorCode: "PERMISSION_DENIED";
|
|
119
|
+
errorName: "UploadSnapshotVersionPermissionDenied";
|
|
120
|
+
errorInstanceId: string;
|
|
121
|
+
parameters: {
|
|
122
|
+
thirdPartyApplicationRid: unknown;
|
|
123
|
+
};
|
|
124
|
+
}
|
|
114
125
|
/**
|
|
115
126
|
* Could not upload the Version.
|
|
116
127
|
*
|
|
@@ -140,7 +151,6 @@ export interface VersionAlreadyExists {
|
|
|
140
151
|
/**
|
|
141
152
|
* The website contains too many versions. You must delete an old version before
|
|
142
153
|
uploading a new one.
|
|
143
|
-
|
|
144
154
|
*
|
|
145
155
|
* Log Safety: SAFE
|
|
146
156
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_errors.d.ts","sourceRoot":"","sources":["../../src/_errors.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAC5D,aAAa,CAAC,EAAE,CAAC,CAAC;CACnB,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IAC1C,SAAS,EAAE,kBAAkB,CAAC;IAC9B,SAAS,EAAE,6BAA6B,CAAC;IACzC,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,OAAO,EAAE,OAAO,CAAC;KAClB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC5C,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,+BAA+B,CAAC;IAC3C,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,wBAAwB,EAAE,OAAO,CAAC;QAClC,cAAc,EAAE,OAAO,CAAC;KACzB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC5C,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,+BAA+B,CAAC;IAC3C,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,wBAAwB,EAAE,OAAO,CAAC;KACnC,CAAC;CACH;AAED
|
|
1
|
+
{"version":3,"file":"_errors.d.ts","sourceRoot":"","sources":["../../src/_errors.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,o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SAAS,EAAE,kBAAkB,CAAC;IAC9B,SAAS,EAAE,sBAAsB,CAAC;IAClC,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,YAAY,EAAE,OAAO,CAAC;KACvB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,WAAW,CAAC;IACvB,SAAS,EAAE,iBAAiB,CAAC;IAC7B,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,wBAAwB,EAAE,OAAO,CAAC;QAClC,cAAc,EAAE,OAAO,CAAC;KACzB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,WAAW,CAAC;IACvB,SAAS,EAAE,iBAAiB,CAAC;IAC7B,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,wBAAwB,EAAE,OAAO,CAAC;KACnC,CAAC;CACH"}
|
package/build/browser/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type { DeployWebsiteRequest, ListVersionsResponse, Subdomain, ThirdPartyApplication, ThirdPartyApplicationRid, Version, VersionVersion, Website, } from "./_components.js";
|
|
2
|
-
export type { CannotDeleteDeployedVersion, DeleteVersionPermissionDenied, DeployWebsitePermissionDenied, FileCountLimitExceeded, FileSizeLimitExceeded, InvalidVersion, ThirdPartyApplicationNotFound, UndeployWebsitePermissionDenied, UploadVersionPermissionDenied, VersionAlreadyExists, VersionLimitExceeded, VersionNotFound, WebsiteNotFound, } from "./_errors.js";
|
|
2
|
+
export type { CannotDeleteDeployedVersion, DeleteVersionPermissionDenied, DeployWebsitePermissionDenied, FileCountLimitExceeded, FileSizeLimitExceeded, InvalidVersion, ThirdPartyApplicationNotFound, UndeployWebsitePermissionDenied, UploadSnapshotVersionPermissionDenied, UploadVersionPermissionDenied, VersionAlreadyExists, VersionLimitExceeded, VersionNotFound, WebsiteNotFound, } from "./_errors.js";
|
|
3
3
|
export * as ThirdPartyApplications from "./public/ThirdPartyApplication.js";
|
|
4
4
|
export * as Versions from "./public/Version.js";
|
|
5
5
|
export * as Websites from "./public/Website.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EACV,oBAAoB,EACpB,oBAAoB,EACpB,SAAS,EACT,qBAAqB,EACrB,wBAAwB,EACxB,OAAO,EACP,cAAc,EACd,OAAO,GACR,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EACV,2BAA2B,EAC3B,6BAA6B,EAC7B,6BAA6B,EAC7B,sBAAsB,EACtB,qBAAqB,EACrB,cAAc,EACd,6BAA6B,EAC7B,+BAA+B,EAC/B,6BAA6B,EAC7B,oBAAoB,EACpB,oBAAoB,EACpB,eAAe,EACf,eAAe,GAChB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,sBAAsB,MAAM,mCAAmC,CAAC;AAC5E,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EACV,oBAAoB,EACpB,oBAAoB,EACpB,SAAS,EACT,qBAAqB,EACrB,wBAAwB,EACxB,OAAO,EACP,cAAc,EACd,OAAO,GACR,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EACV,2BAA2B,EAC3B,6BAA6B,EAC7B,6BAA6B,EAC7B,sBAAsB,EACtB,qBAAqB,EACrB,cAAc,EACd,6BAA6B,EAC7B,+BAA+B,EAC/B,qCAAqC,EACrC,6BAA6B,EAC7B,oBAAoB,EACpB,oBAAoB,EACpB,eAAe,EACf,eAAe,GAChB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,sBAAsB,MAAM,mCAAmC,CAAC;AAC5E,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC"}
|
|
@@ -58,4 +58,21 @@ export declare function upload($ctx: $Client | $ClientContext | $OldClient | $Ol
|
|
|
58
58
|
version: _ThirdPartyApplications.VersionVersion;
|
|
59
59
|
}
|
|
60
60
|
]): Promise<_ThirdPartyApplications.Version>;
|
|
61
|
+
/**
|
|
62
|
+
* Upload a snapshot version of the Website. Snapshot versions are automatically deleted after two days.
|
|
63
|
+
*
|
|
64
|
+
* @alpha
|
|
65
|
+
*
|
|
66
|
+
* Required Scopes: [third-party-application:deploy-application-website]
|
|
67
|
+
* URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions/uploadSnapshot
|
|
68
|
+
*/
|
|
69
|
+
export declare function uploadSnapshot($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
70
|
+
thirdPartyApplicationRid: _ThirdPartyApplications.ThirdPartyApplicationRid,
|
|
71
|
+
$body: Blob,
|
|
72
|
+
$queryParams: {
|
|
73
|
+
version: _ThirdPartyApplications.VersionVersion;
|
|
74
|
+
snapshotIdentifier?: string | undefined;
|
|
75
|
+
preview?: _Core.PreviewMode | undefined;
|
|
76
|
+
}
|
|
77
|
+
]): Promise<_ThirdPartyApplications.Version>;
|
|
61
78
|
//# sourceMappingURL=Version.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Version.d.ts","sourceRoot":"","sources":["../../../src/public/Version.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,uBAAuB,MAAM,mBAAmB,CAAC;AA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C,OAAO,CAAC,CAE1C;AAeD;;;;;;;GAOG;AACH,wBAAgB,MAAM,CACpB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,wBAAwB,EAAE,uBAAuB,CAAC,wBAAwB;IAC1E,KAAK,EAAE,IAAI;IACX,YAAY,EAAE;QAAE,OAAO,EAAE,uBAAuB,CAAC,cAAc,CAAA;KAAE;CAClE,GACA,OAAO,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAE1C;AAmBD;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,wBAAwB,EAAE,uBAAuB,CAAC,wBAAwB;IAC1E,KAAK,EAAE,IAAI;IACX,YAAY,EAAE;QACZ,OAAO,EAAE,uBAAuB,CAAC,cAAc,CAAC;QAChD,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QACxC,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAE1C"}
|
|
@@ -65,4 +65,16 @@ const _upload = [1, "/v2/thirdPartyApplications/{0}/website/versions/upload", 3,
|
|
|
65
65
|
export function upload($ctx, ...args) {
|
|
66
66
|
return $foundryPlatformFetch($ctx, _upload, ...args);
|
|
67
67
|
}
|
|
68
|
+
const _uploadSnapshot = [1, "/v2/thirdPartyApplications/{0}/website/versions/uploadSnapshot", 3, "application/octet-stream"];
|
|
69
|
+
/**
|
|
70
|
+
* Upload a snapshot version of the Website. Snapshot versions are automatically deleted after two days.
|
|
71
|
+
*
|
|
72
|
+
* @alpha
|
|
73
|
+
*
|
|
74
|
+
* Required Scopes: [third-party-application:deploy-application-website]
|
|
75
|
+
* URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions/uploadSnapshot
|
|
76
|
+
*/
|
|
77
|
+
export function uploadSnapshot($ctx, ...args) {
|
|
78
|
+
return $foundryPlatformFetch($ctx, _uploadSnapshot, ...args);
|
|
79
|
+
}
|
|
68
80
|
//# sourceMappingURL=Version.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Version.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_deleteVersion","deleteVersion","$ctx","args","_list","list","_get","get","_upload","upload"],"sources":["Version.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 _deleteVersion = [3, \"/v2/thirdPartyApplications/{0}/website/versions/{1}\"];\n/**\n * Delete the Version with the specified version.\n *\n * @public\n *\n * Required Scopes: [third-party-application:deploy-application-website]\n * URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions/{versionVersion}\n */\nexport function deleteVersion($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _deleteVersion, ...args);\n}\nconst _list = [0, \"/v2/thirdPartyApplications/{0}/website/versions\", 2];\n/**\n * Lists all Versions.\n *\n * This is a paged endpoint. Each page may be smaller or larger than the requested page size. However, it is guaranteed that if there are more results available, the `nextPageToken` field will be populated. To get the next page, make the same request again, but set the value of the `pageToken` query parameter to be value of the `nextPageToken` value of the previous response. If there is no `nextPageToken` field in the response, you are on the last page.\n *\n * @public\n *\n * Required Scopes: [third-party-application:deploy-application-website]\n * URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v2/thirdPartyApplications/{0}/website/versions/{1}\"];\n/**\n * Get the Version with the specified version.\n *\n * @public\n *\n * Required Scopes: [third-party-application:deploy-application-website]\n * URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions/{versionVersion}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _upload = [\n 1,\n \"/v2/thirdPartyApplications/{0}/website/versions/upload\",\n 3,\n \"application/octet-stream\",\n];\n/**\n * Upload a new version of the Website.\n *\n * @public\n *\n * Required Scopes: [third-party-application:deploy-application-website]\n * URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions/upload\n */\nexport function upload($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _upload, ...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,cAAc,GAAG,CAAC,CAAC,EAAE,qDAAqD,CAAC;AACjF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,aAAaA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACzC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,cAAc,EAAE,GAAGG,IAAI,CAAC;AAC/D;AACA,MAAMC,KAAK,GAAG,CAAC,CAAC,EAAE,iDAAiD,EAAE,CAAC,CAAC;AACvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,KAAK,EAAE,GAAGD,IAAI,CAAC;AACtD;AACA,MAAMG,IAAI,GAAG,CAAC,CAAC,EAAE,qDAAqD,CAAC;AACvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,IAAI,EAAE,GAAGH,IAAI,CAAC;AACrD;AACA,MAAMK,OAAO,GAAG,CACZ,CAAC,EACD,wDAAwD,EACxD,CAAC,EACD,0BAA0B,CAC7B;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,OAAO,EAAE,GAAGL,IAAI,CAAC;AACxD","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"Version.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_deleteVersion","deleteVersion","$ctx","args","_list","list","_get","get","_upload","upload","_uploadSnapshot","uploadSnapshot"],"sources":["Version.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 _deleteVersion = [3, \"/v2/thirdPartyApplications/{0}/website/versions/{1}\"];\n/**\n * Delete the Version with the specified version.\n *\n * @public\n *\n * Required Scopes: [third-party-application:deploy-application-website]\n * URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions/{versionVersion}\n */\nexport function deleteVersion($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _deleteVersion, ...args);\n}\nconst _list = [0, \"/v2/thirdPartyApplications/{0}/website/versions\", 2];\n/**\n * Lists all Versions.\n *\n * This is a paged endpoint. Each page may be smaller or larger than the requested page size. However, it is guaranteed that if there are more results available, the `nextPageToken` field will be populated. To get the next page, make the same request again, but set the value of the `pageToken` query parameter to be value of the `nextPageToken` value of the previous response. If there is no `nextPageToken` field in the response, you are on the last page.\n *\n * @public\n *\n * Required Scopes: [third-party-application:deploy-application-website]\n * URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v2/thirdPartyApplications/{0}/website/versions/{1}\"];\n/**\n * Get the Version with the specified version.\n *\n * @public\n *\n * Required Scopes: [third-party-application:deploy-application-website]\n * URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions/{versionVersion}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _upload = [\n 1,\n \"/v2/thirdPartyApplications/{0}/website/versions/upload\",\n 3,\n \"application/octet-stream\",\n];\n/**\n * Upload a new version of the Website.\n *\n * @public\n *\n * Required Scopes: [third-party-application:deploy-application-website]\n * URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions/upload\n */\nexport function upload($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _upload, ...args);\n}\nconst _uploadSnapshot = [\n 1,\n \"/v2/thirdPartyApplications/{0}/website/versions/uploadSnapshot\",\n 3,\n \"application/octet-stream\",\n];\n/**\n * Upload a snapshot version of the Website. Snapshot versions are automatically deleted after two days.\n *\n * @alpha\n *\n * Required Scopes: [third-party-application:deploy-application-website]\n * URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions/uploadSnapshot\n */\nexport function uploadSnapshot($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _uploadSnapshot, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AAC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cAAcA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC1C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,eAAe,EAAE,GAAGP,IAAI,CAAC;AAChE","ignoreList":[]}
|
package/build/esm/_errors.d.ts
CHANGED
|
@@ -42,11 +42,10 @@ export interface DeployWebsitePermissionDenied {
|
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
*/
|
|
45
|
+
* The .zip archive contains too many files.
|
|
46
|
+
*
|
|
47
|
+
* Log Safety: SAFE
|
|
48
|
+
*/
|
|
50
49
|
export interface FileCountLimitExceeded {
|
|
51
50
|
errorCode: "INVALID_ARGUMENT";
|
|
52
51
|
errorName: "FileCountLimitExceeded";
|
|
@@ -58,7 +57,6 @@ export interface FileCountLimitExceeded {
|
|
|
58
57
|
/**
|
|
59
58
|
* A file inside the .zip archive is too big. You must ensure that all files inside
|
|
60
59
|
the .zip archive are within the limit.
|
|
61
|
-
|
|
62
60
|
*
|
|
63
61
|
* Log Safety: UNSAFE
|
|
64
62
|
*/
|
|
@@ -73,7 +71,7 @@ export interface FileSizeLimitExceeded {
|
|
|
73
71
|
};
|
|
74
72
|
}
|
|
75
73
|
/**
|
|
76
|
-
* The given website version is invalid. Versions must follow semantic versioning with major, minor, and patch versions separate by periods, e.g.
|
|
74
|
+
* The given website version is invalid. Versions must follow semantic versioning with major, minor, and patch versions separate by periods, e.g. 0.1.0 or 1.2.3.
|
|
77
75
|
*
|
|
78
76
|
* Log Safety: UNSAFE
|
|
79
77
|
*/
|
|
@@ -111,6 +109,19 @@ export interface UndeployWebsitePermissionDenied {
|
|
|
111
109
|
thirdPartyApplicationRid: unknown;
|
|
112
110
|
};
|
|
113
111
|
}
|
|
112
|
+
/**
|
|
113
|
+
* Could not uploadSnapshot the Version.
|
|
114
|
+
*
|
|
115
|
+
* Log Safety: SAFE
|
|
116
|
+
*/
|
|
117
|
+
export interface UploadSnapshotVersionPermissionDenied {
|
|
118
|
+
errorCode: "PERMISSION_DENIED";
|
|
119
|
+
errorName: "UploadSnapshotVersionPermissionDenied";
|
|
120
|
+
errorInstanceId: string;
|
|
121
|
+
parameters: {
|
|
122
|
+
thirdPartyApplicationRid: unknown;
|
|
123
|
+
};
|
|
124
|
+
}
|
|
114
125
|
/**
|
|
115
126
|
* Could not upload the Version.
|
|
116
127
|
*
|
|
@@ -140,7 +151,6 @@ export interface VersionAlreadyExists {
|
|
|
140
151
|
/**
|
|
141
152
|
* The website contains too many versions. You must delete an old version before
|
|
142
153
|
uploading a new one.
|
|
143
|
-
|
|
144
154
|
*
|
|
145
155
|
* Log Safety: SAFE
|
|
146
156
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_errors.d.ts","sourceRoot":"","sources":["../../src/_errors.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAC5D,aAAa,CAAC,EAAE,CAAC,CAAC;CACnB,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IAC1C,SAAS,EAAE,kBAAkB,CAAC;IAC9B,SAAS,EAAE,6BAA6B,CAAC;IACzC,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,OAAO,EAAE,OAAO,CAAC;KAClB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC5C,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,+BAA+B,CAAC;IAC3C,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,wBAAwB,EAAE,OAAO,CAAC;QAClC,cAAc,EAAE,OAAO,CAAC;KACzB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC5C,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,+BAA+B,CAAC;IAC3C,e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,EAAE,UAAU,CAAC;IACtB,SAAS,EAAE,sBAAsB,CAAC;IAClC,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,OAAO,EAAE,OAAO,CAAC;KAClB,CAAC;CACH;AAED;;;;;KAKK;AACL,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,kBAAkB,CAAC;IAC9B,SAAS,EAAE,sBAAsB,CAAC;IAClC,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,YAAY,EAAE,OAAO,CAAC;KACvB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,WAAW,CAAC;IACvB,SAAS,EAAE,iBAAiB,CAAC;IAC7B,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,wBAAwB,EAAE,OAAO,CAAC;QAClC,cAAc,EAAE,OAAO,CAAC;KACzB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,WAAW,CAAC;IACvB,SAAS,EAAE,iBAAiB,CAAC;IAC7B,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,wBAAwB,EAAE,OAAO,CAAC;KACnC,CAAC;CACH"}
|
package/build/esm/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type { DeployWebsiteRequest, ListVersionsResponse, Subdomain, ThirdPartyApplication, ThirdPartyApplicationRid, Version, VersionVersion, Website, } from "./_components.js";
|
|
2
|
-
export type { CannotDeleteDeployedVersion, DeleteVersionPermissionDenied, DeployWebsitePermissionDenied, FileCountLimitExceeded, FileSizeLimitExceeded, InvalidVersion, ThirdPartyApplicationNotFound, UndeployWebsitePermissionDenied, UploadVersionPermissionDenied, VersionAlreadyExists, VersionLimitExceeded, VersionNotFound, WebsiteNotFound, } from "./_errors.js";
|
|
2
|
+
export type { CannotDeleteDeployedVersion, DeleteVersionPermissionDenied, DeployWebsitePermissionDenied, FileCountLimitExceeded, FileSizeLimitExceeded, InvalidVersion, ThirdPartyApplicationNotFound, UndeployWebsitePermissionDenied, UploadSnapshotVersionPermissionDenied, UploadVersionPermissionDenied, VersionAlreadyExists, VersionLimitExceeded, VersionNotFound, WebsiteNotFound, } from "./_errors.js";
|
|
3
3
|
export * as ThirdPartyApplications from "./public/ThirdPartyApplication.js";
|
|
4
4
|
export * as Versions from "./public/Version.js";
|
|
5
5
|
export * as Websites from "./public/Website.js";
|
package/build/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EACV,oBAAoB,EACpB,oBAAoB,EACpB,SAAS,EACT,qBAAqB,EACrB,wBAAwB,EACxB,OAAO,EACP,cAAc,EACd,OAAO,GACR,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EACV,2BAA2B,EAC3B,6BAA6B,EAC7B,6BAA6B,EAC7B,sBAAsB,EACtB,qBAAqB,EACrB,cAAc,EACd,6BAA6B,EAC7B,+BAA+B,EAC/B,6BAA6B,EAC7B,oBAAoB,EACpB,oBAAoB,EACpB,eAAe,EACf,eAAe,GAChB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,sBAAsB,MAAM,mCAAmC,CAAC;AAC5E,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EACV,oBAAoB,EACpB,oBAAoB,EACpB,SAAS,EACT,qBAAqB,EACrB,wBAAwB,EACxB,OAAO,EACP,cAAc,EACd,OAAO,GACR,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EACV,2BAA2B,EAC3B,6BAA6B,EAC7B,6BAA6B,EAC7B,sBAAsB,EACtB,qBAAqB,EACrB,cAAc,EACd,6BAA6B,EAC7B,+BAA+B,EAC/B,qCAAqC,EACrC,6BAA6B,EAC7B,oBAAoB,EACpB,oBAAoB,EACpB,eAAe,EACf,eAAe,GAChB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,sBAAsB,MAAM,mCAAmC,CAAC;AAC5E,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC"}
|
|
@@ -58,4 +58,21 @@ export declare function upload($ctx: $Client | $ClientContext | $OldClient | $Ol
|
|
|
58
58
|
version: _ThirdPartyApplications.VersionVersion;
|
|
59
59
|
}
|
|
60
60
|
]): Promise<_ThirdPartyApplications.Version>;
|
|
61
|
+
/**
|
|
62
|
+
* Upload a snapshot version of the Website. Snapshot versions are automatically deleted after two days.
|
|
63
|
+
*
|
|
64
|
+
* @alpha
|
|
65
|
+
*
|
|
66
|
+
* Required Scopes: [third-party-application:deploy-application-website]
|
|
67
|
+
* URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions/uploadSnapshot
|
|
68
|
+
*/
|
|
69
|
+
export declare function uploadSnapshot($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
70
|
+
thirdPartyApplicationRid: _ThirdPartyApplications.ThirdPartyApplicationRid,
|
|
71
|
+
$body: Blob,
|
|
72
|
+
$queryParams: {
|
|
73
|
+
version: _ThirdPartyApplications.VersionVersion;
|
|
74
|
+
snapshotIdentifier?: string | undefined;
|
|
75
|
+
preview?: _Core.PreviewMode | undefined;
|
|
76
|
+
}
|
|
77
|
+
]): Promise<_ThirdPartyApplications.Version>;
|
|
61
78
|
//# sourceMappingURL=Version.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Version.d.ts","sourceRoot":"","sources":["../../../src/public/Version.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EACV,YAAY,I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wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,wBAAwB,EAAE,uBAAuB,CAAC,wBAAwB;IAC1E,cAAc,EAAE,uBAAuB,CAAC,cAAc;CACvD,GACA,OAAO,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAE1C;AAeD;;;;;;;GAOG;AACH,wBAAgB,MAAM,CACpB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,wBAAwB,EAAE,uBAAuB,CAAC,wBAAwB;IAC1E,KAAK,EAAE,IAAI;IACX,YAAY,EAAE;QAAE,OAAO,EAAE,uBAAuB,CAAC,cAAc,CAAA;KAAE;CAClE,GACA,OAAO,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAE1C;AAmBD;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,wBAAwB,EAAE,uBAAuB,CAAC,wBAAwB;IAC1E,KAAK,EAAE,IAAI;IACX,YAAY,EAAE;QACZ,OAAO,EAAE,uBAAuB,CAAC,cAAc,CAAC;QAChD,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QACxC,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAE1C"}
|
|
@@ -65,4 +65,16 @@ const _upload = [1, "/v2/thirdPartyApplications/{0}/website/versions/upload", 3,
|
|
|
65
65
|
export function upload($ctx, ...args) {
|
|
66
66
|
return $foundryPlatformFetch($ctx, _upload, ...args);
|
|
67
67
|
}
|
|
68
|
+
const _uploadSnapshot = [1, "/v2/thirdPartyApplications/{0}/website/versions/uploadSnapshot", 3, "application/octet-stream"];
|
|
69
|
+
/**
|
|
70
|
+
* Upload a snapshot version of the Website. Snapshot versions are automatically deleted after two days.
|
|
71
|
+
*
|
|
72
|
+
* @alpha
|
|
73
|
+
*
|
|
74
|
+
* Required Scopes: [third-party-application:deploy-application-website]
|
|
75
|
+
* URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions/uploadSnapshot
|
|
76
|
+
*/
|
|
77
|
+
export function uploadSnapshot($ctx, ...args) {
|
|
78
|
+
return $foundryPlatformFetch($ctx, _uploadSnapshot, ...args);
|
|
79
|
+
}
|
|
68
80
|
//# sourceMappingURL=Version.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Version.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_deleteVersion","deleteVersion","$ctx","args","_list","list","_get","get","_upload","upload"],"sources":["Version.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 _deleteVersion = [3, \"/v2/thirdPartyApplications/{0}/website/versions/{1}\"];\n/**\n * Delete the Version with the specified version.\n *\n * @public\n *\n * Required Scopes: [third-party-application:deploy-application-website]\n * URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions/{versionVersion}\n */\nexport function deleteVersion($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _deleteVersion, ...args);\n}\nconst _list = [0, \"/v2/thirdPartyApplications/{0}/website/versions\", 2];\n/**\n * Lists all Versions.\n *\n * This is a paged endpoint. Each page may be smaller or larger than the requested page size. However, it is guaranteed that if there are more results available, the `nextPageToken` field will be populated. To get the next page, make the same request again, but set the value of the `pageToken` query parameter to be value of the `nextPageToken` value of the previous response. If there is no `nextPageToken` field in the response, you are on the last page.\n *\n * @public\n *\n * Required Scopes: [third-party-application:deploy-application-website]\n * URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v2/thirdPartyApplications/{0}/website/versions/{1}\"];\n/**\n * Get the Version with the specified version.\n *\n * @public\n *\n * Required Scopes: [third-party-application:deploy-application-website]\n * URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions/{versionVersion}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _upload = [\n 1,\n \"/v2/thirdPartyApplications/{0}/website/versions/upload\",\n 3,\n \"application/octet-stream\",\n];\n/**\n * Upload a new version of the Website.\n *\n * @public\n *\n * Required Scopes: [third-party-application:deploy-application-website]\n * URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions/upload\n */\nexport function upload($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _upload, ...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,cAAc,GAAG,CAAC,CAAC,EAAE,qDAAqD,CAAC;AACjF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,aAAaA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACzC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,cAAc,EAAE,GAAGG,IAAI,CAAC;AAC/D;AACA,MAAMC,KAAK,GAAG,CAAC,CAAC,EAAE,iDAAiD,EAAE,CAAC,CAAC;AACvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,KAAK,EAAE,GAAGD,IAAI,CAAC;AACtD;AACA,MAAMG,IAAI,GAAG,CAAC,CAAC,EAAE,qDAAqD,CAAC;AACvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,IAAI,EAAE,GAAGH,IAAI,CAAC;AACrD;AACA,MAAMK,OAAO,GAAG,CACZ,CAAC,EACD,wDAAwD,EACxD,CAAC,EACD,0BAA0B,CAC7B;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,OAAO,EAAE,GAAGL,IAAI,CAAC;AACxD","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"Version.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_deleteVersion","deleteVersion","$ctx","args","_list","list","_get","get","_upload","upload","_uploadSnapshot","uploadSnapshot"],"sources":["Version.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 _deleteVersion = [3, \"/v2/thirdPartyApplications/{0}/website/versions/{1}\"];\n/**\n * Delete the Version with the specified version.\n *\n * @public\n *\n * Required Scopes: [third-party-application:deploy-application-website]\n * URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions/{versionVersion}\n */\nexport function deleteVersion($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _deleteVersion, ...args);\n}\nconst _list = [0, \"/v2/thirdPartyApplications/{0}/website/versions\", 2];\n/**\n * Lists all Versions.\n *\n * This is a paged endpoint. Each page may be smaller or larger than the requested page size. However, it is guaranteed that if there are more results available, the `nextPageToken` field will be populated. To get the next page, make the same request again, but set the value of the `pageToken` query parameter to be value of the `nextPageToken` value of the previous response. If there is no `nextPageToken` field in the response, you are on the last page.\n *\n * @public\n *\n * Required Scopes: [third-party-application:deploy-application-website]\n * URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v2/thirdPartyApplications/{0}/website/versions/{1}\"];\n/**\n * Get the Version with the specified version.\n *\n * @public\n *\n * Required Scopes: [third-party-application:deploy-application-website]\n * URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions/{versionVersion}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _upload = [\n 1,\n \"/v2/thirdPartyApplications/{0}/website/versions/upload\",\n 3,\n \"application/octet-stream\",\n];\n/**\n * Upload a new version of the Website.\n *\n * @public\n *\n * Required Scopes: [third-party-application:deploy-application-website]\n * URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions/upload\n */\nexport function upload($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _upload, ...args);\n}\nconst _uploadSnapshot = [\n 1,\n \"/v2/thirdPartyApplications/{0}/website/versions/uploadSnapshot\",\n 3,\n \"application/octet-stream\",\n];\n/**\n * Upload a snapshot version of the Website. Snapshot versions are automatically deleted after two days.\n *\n * @alpha\n *\n * Required Scopes: [third-party-application:deploy-application-website]\n * URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions/uploadSnapshot\n */\nexport function uploadSnapshot($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _uploadSnapshot, ...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,cAAc,GAAG,CAAC,CAAC,EAAE,qDAAqD,CAAC;AACjF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,aAAaA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACzC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,cAAc,EAAE,GAAGG,IAAI,CAAC;AAC/D;AACA,MAAMC,KAAK,GAAG,CAAC,CAAC,EAAE,iDAAiD,EAAE,CAAC,CAAC;AACvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,KAAK,EAAE,GAAGD,IAAI,CAAC;AACtD;AACA,MAAMG,IAAI,GAAG,CAAC,CAAC,EAAE,qDAAqD,CAAC;AACvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,IAAI,EAAE,GAAGH,IAAI,CAAC;AACrD;AACA,MAAMK,OAAO,GAAG,CACZ,CAAC,EACD,wDAAwD,EACxD,CAAC,EACD,0BAA0B,CAC7B;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,OAAO,EAAE,GAAGL,IAAI,CAAC;AACxD;AACA,MAAMO,eAAe,GAAG,CACpB,CAAC,EACD,gEAAgE,EAChE,CAAC,EACD,0BAA0B,CAC7B;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,cAAcA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC1C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,eAAe,EAAE,GAAGP,IAAI,CAAC;AAChE","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osdk/foundry.thirdpartyapplications",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.9.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@osdk/shared.client": "^1.0.1",
|
|
23
23
|
"@osdk/shared.client2": "^1.0.0",
|
|
24
|
-
"@osdk/
|
|
25
|
-
"@osdk/
|
|
24
|
+
"@osdk/shared.net.platformapi": "~1.2.0",
|
|
25
|
+
"@osdk/foundry.core": "2.9.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"typescript": "^5.5.4",
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"sls": {
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"com.palantir.foundry.api:api-gateway": {
|
|
48
|
-
"minVersion": "1.
|
|
48
|
+
"minVersion": "1.1040.0",
|
|
49
49
|
"maxVersion": "1.x.x",
|
|
50
|
-
"optional":
|
|
50
|
+
"optional": false
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
},
|