@osdk/foundry.thirdpartyapplications 2.1.0-beta.4 → 2.1.0-beta.5
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 +16 -0
- package/build/browser/_components.d.ts +55 -0
- package/build/browser/_components.d.ts.map +1 -0
- package/build/browser/_components.js +17 -0
- package/build/browser/_components.js.map +1 -0
- package/build/browser/_errors.d.ts +136 -0
- package/build/browser/_errors.d.ts.map +1 -0
- package/build/browser/_errors.js +17 -0
- package/build/browser/_errors.js.map +1 -0
- package/build/browser/index.d.ts +6 -0
- package/build/browser/index.d.ts.map +1 -0
- package/build/browser/index.js +18 -5
- package/build/browser/index.js.map +1 -1
- package/build/browser/public/ThirdPartyApplication.d.ts +18 -0
- package/build/browser/public/ThirdPartyApplication.d.ts.map +1 -0
- package/build/browser/public/ThirdPartyApplication.js +29 -3
- package/build/browser/public/ThirdPartyApplication.js.map +1 -1
- package/build/browser/public/Version.d.ts +68 -0
- package/build/browser/public/Version.d.ts.map +1 -0
- package/build/browser/public/Version.js +67 -3
- package/build/browser/public/Version.js.map +1 -1
- package/build/browser/public/Website.d.ts +47 -0
- package/build/browser/public/Website.d.ts.map +1 -0
- package/build/browser/public/Website.js +53 -3
- package/build/browser/public/Website.js.map +1 -1
- package/build/esm/_components.d.ts +2 -2
- package/build/esm/_components.d.ts.map +1 -1
- package/build/esm/_components.js +17 -0
- package/build/esm/_components.js.map +1 -0
- package/build/esm/_errors.js +17 -0
- package/build/esm/_errors.js.map +1 -0
- package/build/esm/index.js +18 -5
- package/build/esm/index.js.map +1 -1
- package/build/esm/public/ThirdPartyApplication.d.ts +5 -5
- package/build/esm/public/ThirdPartyApplication.d.ts.map +1 -1
- package/build/esm/public/ThirdPartyApplication.js +29 -3
- package/build/esm/public/ThirdPartyApplication.js.map +1 -1
- package/build/esm/public/Version.d.ts +18 -18
- package/build/esm/public/Version.d.ts.map +1 -1
- package/build/esm/public/Version.js +67 -3
- package/build/esm/public/Version.js.map +1 -1
- package/build/esm/public/Website.d.ts +12 -12
- package/build/esm/public/Website.d.ts.map +1 -1
- package/build/esm/public/Website.js +53 -3
- package/build/esm/public/Website.js.map +1 -1
- package/package.json +8 -9
- package/build/browser/chunk-7CHYGF2Q.js +0 -16
- package/build/browser/chunk-7CHYGF2Q.js.map +0 -1
- package/build/browser/chunk-HRDB4MW6.js +0 -26
- package/build/browser/chunk-HRDB4MW6.js.map +0 -1
- package/build/browser/chunk-PZ5AY32C.js +0 -9
- package/build/browser/chunk-PZ5AY32C.js.map +0 -1
- package/build/browser/chunk-TCRBFE2A.js +0 -31
- package/build/browser/chunk-TCRBFE2A.js.map +0 -1
- package/build/esm/chunk-7CHYGF2Q.js +0 -16
- package/build/esm/chunk-7CHYGF2Q.js.map +0 -1
- package/build/esm/chunk-HRDB4MW6.js +0 -26
- package/build/esm/chunk-HRDB4MW6.js.map +0 -1
- package/build/esm/chunk-PZ5AY32C.js +0 -9
- package/build/esm/chunk-PZ5AY32C.js.map +0 -1
- package/build/esm/chunk-TCRBFE2A.js +0 -31
- package/build/esm/chunk-TCRBFE2A.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @osdk/foundry.thirdpartyapplications
|
|
2
2
|
|
|
3
|
+
## 2.1.0-beta.5
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 5d6d5ab: Internal improvement to type references
|
|
8
|
+
- d4d6605: Audited and cleaned up deps
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies [b60e107]
|
|
13
|
+
- Updated dependencies [5d6d5ab]
|
|
14
|
+
- Updated dependencies [d4d6605]
|
|
15
|
+
- @osdk/shared.client@1.0.0-beta.2
|
|
16
|
+
- @osdk/foundry.core@2.1.0-beta.5
|
|
17
|
+
- @osdk/shared.net.platformapi@0.3.0-beta.2
|
|
18
|
+
|
|
3
19
|
## 2.1.0-beta.4
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type * as _Core from "@osdk/foundry.core";
|
|
2
|
+
export type LooselyBrandedString<T extends string> = string & {
|
|
3
|
+
__LOOSE_BRAND?: T;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* Log Safety: UNSAFE
|
|
7
|
+
*/
|
|
8
|
+
export interface DeployWebsiteRequest {
|
|
9
|
+
version: VersionVersion;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Log Safety: UNSAFE
|
|
13
|
+
*/
|
|
14
|
+
export interface ListVersionsResponse {
|
|
15
|
+
data: Array<Version>;
|
|
16
|
+
nextPageToken?: _Core.PageToken;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* A subdomain from which a website is served.
|
|
20
|
+
*
|
|
21
|
+
* Log Safety: UNSAFE
|
|
22
|
+
*/
|
|
23
|
+
export type Subdomain = LooselyBrandedString<"Subdomain">;
|
|
24
|
+
/**
|
|
25
|
+
* Log Safety: SAFE
|
|
26
|
+
*/
|
|
27
|
+
export interface ThirdPartyApplication {
|
|
28
|
+
rid: ThirdPartyApplicationRid;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* An RID identifying a third-party application created in Developer Console.
|
|
32
|
+
*
|
|
33
|
+
* Log Safety: SAFE
|
|
34
|
+
*/
|
|
35
|
+
export type ThirdPartyApplicationRid = LooselyBrandedString<"ThirdPartyApplicationRid">;
|
|
36
|
+
/**
|
|
37
|
+
* Log Safety: UNSAFE
|
|
38
|
+
*/
|
|
39
|
+
export interface Version {
|
|
40
|
+
version: VersionVersion;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* The semantic version of the Website.
|
|
44
|
+
*
|
|
45
|
+
* Log Safety: UNSAFE
|
|
46
|
+
*/
|
|
47
|
+
export type VersionVersion = LooselyBrandedString<"VersionVersion">;
|
|
48
|
+
/**
|
|
49
|
+
* Log Safety: UNSAFE
|
|
50
|
+
*/
|
|
51
|
+
export interface Website {
|
|
52
|
+
deployedVersion?: VersionVersion;
|
|
53
|
+
subdomains: Array<Subdomain>;
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=_components.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_components.d.ts","sourceRoot":"","sources":["../../src/_components.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AAEjD,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAC5D,aAAa,CAAC,EAAE,CAAC,CAAC;CACnB,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,cAAc,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IACrB,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACjC;AAED;;;;GAIG;AACH,MAAM,MAAM,SAAS,GAAG,oBAAoB,CAAC,WAAW,CAAC,CAAC;AAE1D;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,GAAG,EAAE,wBAAwB,CAAC;CAC/B;AAED;;;;GAIG;AACH,MAAM,MAAM,wBAAwB,GAAG,oBAAoB,CACzD,0BAA0B,CAC3B,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB,OAAO,EAAE,cAAc,CAAC;CACzB;AAED;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,oBAAoB,CAAC,gBAAgB,CAAC,CAAC;AAEpE;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB,eAAe,CAAC,EAAE,cAAc,CAAC;IACjC,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;CAC9B"}
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=_components.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_components.js","names":[],"sources":["_components.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 */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
export type LooselyBrandedString<T extends string> = string & {
|
|
2
|
+
__LOOSE_BRAND?: T;
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* The given website version is deployed. You must un-deploy it before deleting it.
|
|
6
|
+
*
|
|
7
|
+
* Log Safety: UNSAFE
|
|
8
|
+
*/
|
|
9
|
+
export interface CannotDeleteDeployedVersion {
|
|
10
|
+
errorCode: "INVALID_ARGUMENT";
|
|
11
|
+
errorName: "CannotDeleteDeployedVersion";
|
|
12
|
+
errorInstanceId: string;
|
|
13
|
+
parameters: {
|
|
14
|
+
version: unknown;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Could not delete the Version.
|
|
19
|
+
*
|
|
20
|
+
* Log Safety: UNSAFE
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteVersionPermissionDenied {
|
|
23
|
+
errorCode: "PERMISSION_DENIED";
|
|
24
|
+
errorName: "DeleteVersionPermissionDenied";
|
|
25
|
+
errorInstanceId: string;
|
|
26
|
+
parameters: {
|
|
27
|
+
thirdPartyApplicationRid: unknown;
|
|
28
|
+
versionVersion: unknown;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Could not deploy the Website.
|
|
33
|
+
*
|
|
34
|
+
* Log Safety: SAFE
|
|
35
|
+
*/
|
|
36
|
+
export interface DeployWebsitePermissionDenied {
|
|
37
|
+
errorCode: "PERMISSION_DENIED";
|
|
38
|
+
errorName: "DeployWebsitePermissionDenied";
|
|
39
|
+
errorInstanceId: string;
|
|
40
|
+
parameters: {
|
|
41
|
+
thirdPartyApplicationRid: unknown;
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* 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`.
|
|
46
|
+
*
|
|
47
|
+
* Log Safety: UNSAFE
|
|
48
|
+
*/
|
|
49
|
+
export interface InvalidVersion {
|
|
50
|
+
errorCode: "INVALID_ARGUMENT";
|
|
51
|
+
errorName: "InvalidVersion";
|
|
52
|
+
errorInstanceId: string;
|
|
53
|
+
parameters: {
|
|
54
|
+
version: unknown;
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* The given ThirdPartyApplication could not be found.
|
|
59
|
+
*
|
|
60
|
+
* Log Safety: SAFE
|
|
61
|
+
*/
|
|
62
|
+
export interface ThirdPartyApplicationNotFound {
|
|
63
|
+
errorCode: "NOT_FOUND";
|
|
64
|
+
errorName: "ThirdPartyApplicationNotFound";
|
|
65
|
+
errorInstanceId: string;
|
|
66
|
+
parameters: {
|
|
67
|
+
thirdPartyApplicationRid: unknown;
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Could not undeploy the Website.
|
|
72
|
+
*
|
|
73
|
+
* Log Safety: SAFE
|
|
74
|
+
*/
|
|
75
|
+
export interface UndeployWebsitePermissionDenied {
|
|
76
|
+
errorCode: "PERMISSION_DENIED";
|
|
77
|
+
errorName: "UndeployWebsitePermissionDenied";
|
|
78
|
+
errorInstanceId: string;
|
|
79
|
+
parameters: {
|
|
80
|
+
thirdPartyApplicationRid: unknown;
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Could not upload the Version.
|
|
85
|
+
*
|
|
86
|
+
* Log Safety: SAFE
|
|
87
|
+
*/
|
|
88
|
+
export interface UploadVersionPermissionDenied {
|
|
89
|
+
errorCode: "PERMISSION_DENIED";
|
|
90
|
+
errorName: "UploadVersionPermissionDenied";
|
|
91
|
+
errorInstanceId: string;
|
|
92
|
+
parameters: {
|
|
93
|
+
thirdPartyApplicationRid: unknown;
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* The given website version already exists.
|
|
98
|
+
*
|
|
99
|
+
* Log Safety: UNSAFE
|
|
100
|
+
*/
|
|
101
|
+
export interface VersionAlreadyExists {
|
|
102
|
+
errorCode: "CONFLICT";
|
|
103
|
+
errorName: "VersionAlreadyExists";
|
|
104
|
+
errorInstanceId: string;
|
|
105
|
+
parameters: {
|
|
106
|
+
version: unknown;
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* The given Version could not be found.
|
|
111
|
+
*
|
|
112
|
+
* Log Safety: UNSAFE
|
|
113
|
+
*/
|
|
114
|
+
export interface VersionNotFound {
|
|
115
|
+
errorCode: "NOT_FOUND";
|
|
116
|
+
errorName: "VersionNotFound";
|
|
117
|
+
errorInstanceId: string;
|
|
118
|
+
parameters: {
|
|
119
|
+
thirdPartyApplicationRid: unknown;
|
|
120
|
+
versionVersion: unknown;
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* The given Website could not be found.
|
|
125
|
+
*
|
|
126
|
+
* Log Safety: SAFE
|
|
127
|
+
*/
|
|
128
|
+
export interface WebsiteNotFound {
|
|
129
|
+
errorCode: "NOT_FOUND";
|
|
130
|
+
errorName: "WebsiteNotFound";
|
|
131
|
+
errorInstanceId: string;
|
|
132
|
+
parameters: {
|
|
133
|
+
thirdPartyApplicationRid: unknown;
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
//# sourceMappingURL=_errors.d.ts.map
|
|
@@ -0,0 +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;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,kBAAkB,CAAC;IAC9B,SAAS,EAAE,gBAAgB,CAAC;IAC5B,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,OAAO,EAAE,OAAO,CAAC;KAClB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC5C,SAAS,EAAE,WAAW,CAAC;IACvB,SAAS,EAAE,+BAA+B,CAAC;IAC3C,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,wBAAwB,EAAE,OAAO,CAAC;KACnC,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,+BAA+B;IAC9C,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,iCAAiC,CAAC;IAC7C,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,wBAAwB,EAAE,OAAO,CAAC;KACnC,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;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,SAAS,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;;;;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"}
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=_errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_errors.js","names":[],"sources":["_errors.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 */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export type { DeployWebsiteRequest, ListVersionsResponse, Subdomain, ThirdPartyApplication, ThirdPartyApplicationRid, Version, VersionVersion, Website, } from "./_components.js";
|
|
2
|
+
export type { CannotDeleteDeployedVersion, DeleteVersionPermissionDenied, DeployWebsitePermissionDenied, InvalidVersion, ThirdPartyApplicationNotFound, UndeployWebsitePermissionDenied, UploadVersionPermissionDenied, VersionAlreadyExists, VersionNotFound, WebsiteNotFound, } from "./_errors.js";
|
|
3
|
+
export * as ThirdPartyApplications from "./public/ThirdPartyApplication.js";
|
|
4
|
+
export * as Versions from "./public/Version.js";
|
|
5
|
+
export * as Websites from "./public/Website.js";
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +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,cAAc,EACd,6BAA6B,EAC7B,+BAA+B,EAC/B,6BAA6B,EAC7B,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"}
|
package/build/browser/index.js
CHANGED
|
@@ -1,6 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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
|
+
export * as ThirdPartyApplications from "./public/ThirdPartyApplication.js";
|
|
17
|
+
export * as Versions from "./public/Version.js";
|
|
18
|
+
export * as Websites from "./public/Website.js";
|
|
6
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"index.js","names":["ThirdPartyApplications","Versions","Websites"],"sources":["index.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 */\nexport * as ThirdPartyApplications from \"./public/ThirdPartyApplication.js\";\nexport * as Versions from \"./public/Version.js\";\nexport * as Websites from \"./public/Website.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,KAAKA,sBAAsB,MAAM,mCAAmC;AAC3E,OAAO,KAAKC,QAAQ,MAAM,qBAAqB;AAC/C,OAAO,KAAKC,QAAQ,MAAM,qBAAqB","ignoreList":[]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type * as _Core from "@osdk/foundry.core";
|
|
2
|
+
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
|
|
3
|
+
import type * as _ThirdPartyApplications from "../_components.js";
|
|
4
|
+
/**
|
|
5
|
+
* Get the ThirdPartyApplication with the specified rid.
|
|
6
|
+
*
|
|
7
|
+
* @alpha
|
|
8
|
+
*
|
|
9
|
+
* Required Scopes: [third-party-application:deploy-application-website]
|
|
10
|
+
* URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}
|
|
11
|
+
*/
|
|
12
|
+
export declare function getThirdPartyApplication($ctx: $Client | $ClientContext, ...args: [
|
|
13
|
+
thirdPartyApplicationRid: _ThirdPartyApplications.ThirdPartyApplicationRid,
|
|
14
|
+
$queryParams?: {
|
|
15
|
+
preview?: _Core.PreviewMode | undefined;
|
|
16
|
+
}
|
|
17
|
+
]): Promise<_ThirdPartyApplications.ThirdPartyApplication>;
|
|
18
|
+
//# sourceMappingURL=ThirdPartyApplication.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThirdPartyApplication.d.ts","sourceRoot":"","sources":["../../../src/public/ThirdPartyApplication.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,KAAK,uBAAuB,MAAM,mBAAmB,CAAC;AAWlE;;;;;;;GAOG;AACH,wBAAgB,wBAAwB,CACtC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,wBAAwB,EAAE,uBAAuB,CAAC,wBAAwB;IAE1E,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,uBAAuB,CAAC,qBAAqB,CAAC,CAExD"}
|
|
@@ -1,4 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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 _getThirdPartyApplication = [0, "/v2/thirdPartyApplications/{0}", 2];
|
|
19
|
+
/**
|
|
20
|
+
* Get the ThirdPartyApplication with the specified rid.
|
|
21
|
+
*
|
|
22
|
+
* @alpha
|
|
23
|
+
*
|
|
24
|
+
* Required Scopes: [third-party-application:deploy-application-website]
|
|
25
|
+
* URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}
|
|
26
|
+
*/
|
|
27
|
+
export function getThirdPartyApplication($ctx, ...args) {
|
|
28
|
+
return $foundryPlatformFetch($ctx, _getThirdPartyApplication, ...args);
|
|
29
|
+
}
|
|
4
30
|
//# sourceMappingURL=ThirdPartyApplication.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"ThirdPartyApplication.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_getThirdPartyApplication","getThirdPartyApplication","$ctx","args"],"sources":["ThirdPartyApplication.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 _getThirdPartyApplication = [0, \"/v2/thirdPartyApplications/{0}\", 2];\n/**\n * Get the ThirdPartyApplication with the specified rid.\n *\n * @alpha\n *\n * Required Scopes: [third-party-application:deploy-application-website]\n * URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}\n */\nexport function getThirdPartyApplication($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getThirdPartyApplication, ...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,yBAAyB,GAAG,CAAC,CAAC,EAAE,gCAAgC,EAAE,CAAC,CAAC;AAC1E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,wBAAwBA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACpD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,yBAAyB,EAAE,GAAGG,IAAI,CAAC;AAC1E","ignoreList":[]}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import type * as _Core from "@osdk/foundry.core";
|
|
2
|
+
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
|
|
3
|
+
import type * as _ThirdPartyApplications from "../_components.js";
|
|
4
|
+
/**
|
|
5
|
+
* Delete the Version with the specified version.
|
|
6
|
+
*
|
|
7
|
+
* @beta
|
|
8
|
+
*
|
|
9
|
+
* Required Scopes: [third-party-application:deploy-application-website]
|
|
10
|
+
* URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions/{versionVersion}
|
|
11
|
+
*/
|
|
12
|
+
export declare function deleteVersion($ctx: $Client | $ClientContext, ...args: [
|
|
13
|
+
thirdPartyApplicationRid: _ThirdPartyApplications.ThirdPartyApplicationRid,
|
|
14
|
+
versionVersion: _ThirdPartyApplications.VersionVersion,
|
|
15
|
+
$queryParams?: {
|
|
16
|
+
preview?: _Core.PreviewMode | undefined;
|
|
17
|
+
}
|
|
18
|
+
]): Promise<void>;
|
|
19
|
+
/**
|
|
20
|
+
* Lists all Versions.
|
|
21
|
+
*
|
|
22
|
+
* 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.
|
|
23
|
+
*
|
|
24
|
+
* @beta
|
|
25
|
+
*
|
|
26
|
+
* Required Scopes: [third-party-application:deploy-application-website]
|
|
27
|
+
* URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions
|
|
28
|
+
*/
|
|
29
|
+
export declare function listVersions($ctx: $Client | $ClientContext, ...args: [
|
|
30
|
+
thirdPartyApplicationRid: _ThirdPartyApplications.ThirdPartyApplicationRid,
|
|
31
|
+
$queryParams?: {
|
|
32
|
+
pageSize?: _Core.PageSize | undefined;
|
|
33
|
+
pageToken?: _Core.PageToken | undefined;
|
|
34
|
+
preview?: _Core.PreviewMode | undefined;
|
|
35
|
+
}
|
|
36
|
+
]): Promise<_ThirdPartyApplications.ListVersionsResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* Get the Version with the specified version.
|
|
39
|
+
*
|
|
40
|
+
* @beta
|
|
41
|
+
*
|
|
42
|
+
* Required Scopes: [third-party-application:deploy-application-website]
|
|
43
|
+
* URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions/{versionVersion}
|
|
44
|
+
*/
|
|
45
|
+
export declare function getVersion($ctx: $Client | $ClientContext, ...args: [
|
|
46
|
+
thirdPartyApplicationRid: _ThirdPartyApplications.ThirdPartyApplicationRid,
|
|
47
|
+
versionVersion: _ThirdPartyApplications.VersionVersion,
|
|
48
|
+
$queryParams?: {
|
|
49
|
+
preview?: _Core.PreviewMode | undefined;
|
|
50
|
+
}
|
|
51
|
+
]): Promise<_ThirdPartyApplications.Version>;
|
|
52
|
+
/**
|
|
53
|
+
* Upload a new version of the Website.
|
|
54
|
+
*
|
|
55
|
+
* @beta
|
|
56
|
+
*
|
|
57
|
+
* Required Scopes: [third-party-application:deploy-application-website]
|
|
58
|
+
* URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions/upload
|
|
59
|
+
*/
|
|
60
|
+
export declare function uploadVersion($ctx: $Client | $ClientContext, ...args: [
|
|
61
|
+
thirdPartyApplicationRid: _ThirdPartyApplications.ThirdPartyApplicationRid,
|
|
62
|
+
$body: Blob,
|
|
63
|
+
$queryParams: {
|
|
64
|
+
version: _ThirdPartyApplications.VersionVersion;
|
|
65
|
+
preview?: _Core.PreviewMode | undefined;
|
|
66
|
+
}
|
|
67
|
+
]): Promise<_ThirdPartyApplications.Version>;
|
|
68
|
+
//# sourceMappingURL=Version.d.ts.map
|
|
@@ -0,0 +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,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,KAAK,uBAAuB,MAAM,mBAAmB,CAAC;AAYlE;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,wBAAwB,EAAE,uBAAuB,CAAC,wBAAwB;IAC1E,cAAc,EAAE,uBAAuB,CAAC,cAAc;IAEtD,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,IAAI,CAAC,CAEf;AAaD;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,wBAAwB,EAAE,uBAAuB,CAAC,wBAAwB;IAE1E,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;QACxC,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,uBAAuB,CAAC,oBAAoB,CAAC,CAEvD;AAUD;;;;;;;GAOG;AACH,wBAAgB,UAAU,CACxB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,wBAAwB,EAAE,uBAAuB,CAAC,wBAAwB;IAC1E,cAAc,EAAE,uBAAuB,CAAC,cAAc;IAEtD,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAE1C;AAkBD;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,wBAAwB,EAAE,uBAAuB,CAAC,wBAAwB;IAC1E,KAAK,EAAE,IAAI;IACX,YAAY,EAAE;QACZ,OAAO,EAAE,uBAAuB,CAAC,cAAc,CAAC;QAChD,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAE1C"}
|
|
@@ -1,4 +1,68 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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 _deleteVersion = [3, "/v2/thirdPartyApplications/{0}/website/versions/{1}", 2];
|
|
19
|
+
/**
|
|
20
|
+
* Delete the Version with the specified version.
|
|
21
|
+
*
|
|
22
|
+
* @beta
|
|
23
|
+
*
|
|
24
|
+
* Required Scopes: [third-party-application:deploy-application-website]
|
|
25
|
+
* URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions/{versionVersion}
|
|
26
|
+
*/
|
|
27
|
+
export function deleteVersion($ctx, ...args) {
|
|
28
|
+
return $foundryPlatformFetch($ctx, _deleteVersion, ...args);
|
|
29
|
+
}
|
|
30
|
+
const _listVersions = [0, "/v2/thirdPartyApplications/{0}/website/versions", 2];
|
|
31
|
+
/**
|
|
32
|
+
* Lists all Versions.
|
|
33
|
+
*
|
|
34
|
+
* 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.
|
|
35
|
+
*
|
|
36
|
+
* @beta
|
|
37
|
+
*
|
|
38
|
+
* Required Scopes: [third-party-application:deploy-application-website]
|
|
39
|
+
* URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions
|
|
40
|
+
*/
|
|
41
|
+
export function listVersions($ctx, ...args) {
|
|
42
|
+
return $foundryPlatformFetch($ctx, _listVersions, ...args);
|
|
43
|
+
}
|
|
44
|
+
const _getVersion = [0, "/v2/thirdPartyApplications/{0}/website/versions/{1}", 2];
|
|
45
|
+
/**
|
|
46
|
+
* Get the Version with the specified version.
|
|
47
|
+
*
|
|
48
|
+
* @beta
|
|
49
|
+
*
|
|
50
|
+
* Required Scopes: [third-party-application:deploy-application-website]
|
|
51
|
+
* URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions/{versionVersion}
|
|
52
|
+
*/
|
|
53
|
+
export function getVersion($ctx, ...args) {
|
|
54
|
+
return $foundryPlatformFetch($ctx, _getVersion, ...args);
|
|
55
|
+
}
|
|
56
|
+
const _uploadVersion = [1, "/v2/thirdPartyApplications/{0}/website/versions/upload", 3, "application/octet-stream"];
|
|
57
|
+
/**
|
|
58
|
+
* Upload a new version of the Website.
|
|
59
|
+
*
|
|
60
|
+
* @beta
|
|
61
|
+
*
|
|
62
|
+
* Required Scopes: [third-party-application:deploy-application-website]
|
|
63
|
+
* URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions/upload
|
|
64
|
+
*/
|
|
65
|
+
export function uploadVersion($ctx, ...args) {
|
|
66
|
+
return $foundryPlatformFetch($ctx, _uploadVersion, ...args);
|
|
67
|
+
}
|
|
4
68
|
//# sourceMappingURL=Version.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"Version.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_deleteVersion","deleteVersion","$ctx","args","_listVersions","listVersions","_getVersion","getVersion","_uploadVersion","uploadVersion"],"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}\", 2];\n/**\n * Delete the Version with the specified version.\n *\n * @beta\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 _listVersions = [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 * @beta\n *\n * Required Scopes: [third-party-application:deploy-application-website]\n * URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions\n */\nexport function listVersions($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listVersions, ...args);\n}\nconst _getVersion = [0, \"/v2/thirdPartyApplications/{0}/website/versions/{1}\", 2];\n/**\n * Get the Version with the specified version.\n *\n * @beta\n *\n * Required Scopes: [third-party-application:deploy-application-website]\n * URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions/{versionVersion}\n */\nexport function getVersion($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getVersion, ...args);\n}\nconst _uploadVersion = [\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 * @beta\n *\n * Required Scopes: [third-party-application:deploy-application-website]\n * URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions/upload\n */\nexport function uploadVersion($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _uploadVersion, ...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,EAAE,CAAC,CAAC;AACpF;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,aAAa,GAAG,CAAC,CAAC,EAAE,iDAAiD,EAAE,CAAC,CAAC;AAC/E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,YAAYA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACxC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,aAAa,EAAE,GAAGD,IAAI,CAAC;AAC9D;AACA,MAAMG,WAAW,GAAG,CAAC,CAAC,EAAE,qDAAqD,EAAE,CAAC,CAAC;AACjF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,UAAUA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EACtC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,WAAW,EAAE,GAAGH,IAAI,CAAC;AAC5D;AACA,MAAMK,cAAc,GAAG,CACnB,CAAC,EACD,wDAAwD,EACxD,CAAC,EACD,0BAA0B,CAC7B;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,aAAaA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACzC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,cAAc,EAAE,GAAGL,IAAI,CAAC;AAC/D","ignoreList":[]}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type * as _Core from "@osdk/foundry.core";
|
|
2
|
+
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
|
|
3
|
+
import type * as _ThirdPartyApplications from "../_components.js";
|
|
4
|
+
/**
|
|
5
|
+
* Get the Website.
|
|
6
|
+
*
|
|
7
|
+
* @beta
|
|
8
|
+
*
|
|
9
|
+
* Required Scopes: [third-party-application:deploy-application-website]
|
|
10
|
+
* URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website
|
|
11
|
+
*/
|
|
12
|
+
export declare function getWebsite($ctx: $Client | $ClientContext, ...args: [
|
|
13
|
+
thirdPartyApplicationRid: _ThirdPartyApplications.ThirdPartyApplicationRid,
|
|
14
|
+
$queryParams?: {
|
|
15
|
+
preview?: _Core.PreviewMode | undefined;
|
|
16
|
+
}
|
|
17
|
+
]): Promise<_ThirdPartyApplications.Website>;
|
|
18
|
+
/**
|
|
19
|
+
* Deploy a version of the Website.
|
|
20
|
+
*
|
|
21
|
+
* @beta
|
|
22
|
+
*
|
|
23
|
+
* Required Scopes: [third-party-application:deploy-application-website]
|
|
24
|
+
* URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/deploy
|
|
25
|
+
*/
|
|
26
|
+
export declare function deployWebsite($ctx: $Client | $ClientContext, ...args: [
|
|
27
|
+
thirdPartyApplicationRid: _ThirdPartyApplications.ThirdPartyApplicationRid,
|
|
28
|
+
$body: _ThirdPartyApplications.DeployWebsiteRequest,
|
|
29
|
+
$queryParams?: {
|
|
30
|
+
preview?: _Core.PreviewMode | undefined;
|
|
31
|
+
}
|
|
32
|
+
]): Promise<_ThirdPartyApplications.Website>;
|
|
33
|
+
/**
|
|
34
|
+
* Remove the currently deployed version of the Website.
|
|
35
|
+
*
|
|
36
|
+
* @beta
|
|
37
|
+
*
|
|
38
|
+
* Required Scopes: [third-party-application:deploy-application-website]
|
|
39
|
+
* URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/undeploy
|
|
40
|
+
*/
|
|
41
|
+
export declare function undeployWebsite($ctx: $Client | $ClientContext, ...args: [
|
|
42
|
+
thirdPartyApplicationRid: _ThirdPartyApplications.ThirdPartyApplicationRid,
|
|
43
|
+
$queryParams?: {
|
|
44
|
+
preview?: _Core.PreviewMode | undefined;
|
|
45
|
+
}
|
|
46
|
+
]): Promise<_ThirdPartyApplications.Website>;
|
|
47
|
+
//# sourceMappingURL=Website.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Website.d.ts","sourceRoot":"","sources":["../../../src/public/Website.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,KAAK,uBAAuB,MAAM,mBAAmB,CAAC;AAWlE;;;;;;;GAOG;AACH,wBAAgB,UAAU,CACxB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,wBAAwB,EAAE,uBAAuB,CAAC,wBAAwB;IAE1E,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAE1C;AAUD;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,wBAAwB,EAAE,uBAAuB,CAAC,wBAAwB;IAC1E,KAAK,EAAE,uBAAuB,CAAC,oBAAoB;IACnD,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAE1C;AASD;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,wBAAwB,EAAE,uBAAuB,CAAC,wBAAwB;IAE1E,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAE1C"}
|
|
@@ -1,4 +1,54 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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 _getWebsite = [0, "/v2/thirdPartyApplications/{0}/website", 2];
|
|
19
|
+
/**
|
|
20
|
+
* Get the Website.
|
|
21
|
+
*
|
|
22
|
+
* @beta
|
|
23
|
+
*
|
|
24
|
+
* Required Scopes: [third-party-application:deploy-application-website]
|
|
25
|
+
* URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website
|
|
26
|
+
*/
|
|
27
|
+
export function getWebsite($ctx, ...args) {
|
|
28
|
+
return $foundryPlatformFetch($ctx, _getWebsite, ...args);
|
|
29
|
+
}
|
|
30
|
+
const _deployWebsite = [1, "/v2/thirdPartyApplications/{0}/website/deploy", 3];
|
|
31
|
+
/**
|
|
32
|
+
* Deploy a version of the Website.
|
|
33
|
+
*
|
|
34
|
+
* @beta
|
|
35
|
+
*
|
|
36
|
+
* Required Scopes: [third-party-application:deploy-application-website]
|
|
37
|
+
* URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/deploy
|
|
38
|
+
*/
|
|
39
|
+
export function deployWebsite($ctx, ...args) {
|
|
40
|
+
return $foundryPlatformFetch($ctx, _deployWebsite, ...args);
|
|
41
|
+
}
|
|
42
|
+
const _undeployWebsite = [1, "/v2/thirdPartyApplications/{0}/website/undeploy", 2];
|
|
43
|
+
/**
|
|
44
|
+
* Remove the currently deployed version of the Website.
|
|
45
|
+
*
|
|
46
|
+
* @beta
|
|
47
|
+
*
|
|
48
|
+
* Required Scopes: [third-party-application:deploy-application-website]
|
|
49
|
+
* URL: /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/undeploy
|
|
50
|
+
*/
|
|
51
|
+
export function undeployWebsite($ctx, ...args) {
|
|
52
|
+
return $foundryPlatformFetch($ctx, _undeployWebsite, ...args);
|
|
53
|
+
}
|
|
4
54
|
//# sourceMappingURL=Website.js.map
|