@osdk/foundry.thirdpartyapplications 2.1.0-beta.0 → 2.1.0-beta.2

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 CHANGED
@@ -1,5 +1,29 @@
1
1
  # @osdk/foundry.thirdpartyapplications
2
2
 
3
+ ## 2.1.0-beta.2
4
+
5
+ ### Minor Changes
6
+
7
+ - 5d6d5ab: We now generate error types
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [5d6d5ab]
12
+ - @osdk/foundry.core@2.1.0-beta.2
13
+
14
+ ## 2.1.0-beta.1
15
+
16
+ ### Minor Changes
17
+
18
+ - 5d6d5ab: Autofill Content-Length and Content-Type headers in API's that accept Blobs
19
+ - 5d6d5ab: SLS dependencies are optional
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies [5d6d5ab]
24
+ - Updated dependencies [5d6d5ab]
25
+ - @osdk/foundry.core@2.1.0-beta.1
26
+
3
27
  ## 2.1.0-beta.0
4
28
 
5
29
  ### Minor Changes
@@ -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,S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C7B,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"}
@@ -1,4 +1,5 @@
1
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";
2
3
  export * as ThirdPartyApplications from "./public/ThirdPartyApplication.js";
3
4
  export * as Versions from "./public/Version.js";
4
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,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,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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osdk/foundry.thirdpartyapplications",
3
- "version": "2.1.0-beta.0",
3
+ "version": "2.1.0-beta.2",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,9 +17,9 @@
17
17
  }
18
18
  },
19
19
  "dependencies": {
20
- "@osdk/foundry.core": "2.1.0-beta.0",
21
- "@osdk/shared.net.platformapi": "~0.2.0",
22
- "@osdk/shared.client": "~0.0.0"
20
+ "@osdk/foundry.core": "2.1.0-beta.2",
21
+ "@osdk/shared.client": "~0.0.0",
22
+ "@osdk/shared.net.platformapi": "~0.2.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "typescript": "^5.5.4",
@@ -45,8 +45,9 @@
45
45
  "sls": {
46
46
  "dependencies": {
47
47
  "com.palantir.foundry.api:api-gateway": {
48
- "minVersion": "1.908.0",
49
- "maxVersion": "1.x.x"
48
+ "minVersion": "1.922.0",
49
+ "maxVersion": "1.x.x",
50
+ "optional": true
50
51
  }
51
52
  }
52
53
  },