@osdk/foundry.core 2.1.0-beta.1 → 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 +6 -0
- package/build/esm/_errors.d.ts +149 -0
- package/build/esm/_errors.d.ts.map +1 -0
- package/build/esm/index.d.ts +1 -0
- package/build/esm/index.d.ts.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
export type LooselyBrandedString<T extends string> = string & {
|
|
2
|
+
__LOOSE_BRAND?: T;
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* The submitted batch request was too large.
|
|
6
|
+
*
|
|
7
|
+
* Log Safety: SAFE
|
|
8
|
+
*/
|
|
9
|
+
export interface BatchRequestSizeExceededLimit {
|
|
10
|
+
errorCode: "INVALID_ARGUMENT";
|
|
11
|
+
errorName: "BatchRequestSizeExceededLimit";
|
|
12
|
+
errorInstanceId: string;
|
|
13
|
+
parameters: {
|
|
14
|
+
MaximumBatchSize: unknown;
|
|
15
|
+
ProvidedBatchSize: unknown;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* The requested folder could not be found, or the client token does not have access to it.
|
|
20
|
+
|
|
21
|
+
*
|
|
22
|
+
* Log Safety: SAFE
|
|
23
|
+
*/
|
|
24
|
+
export interface FolderNotFound {
|
|
25
|
+
errorCode: "NOT_FOUND";
|
|
26
|
+
errorName: "FolderNotFound";
|
|
27
|
+
errorInstanceId: string;
|
|
28
|
+
parameters: {
|
|
29
|
+
folderRid: unknown;
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Getting a hidden resource is not supported.
|
|
34
|
+
*
|
|
35
|
+
* Log Safety: UNSAFE
|
|
36
|
+
*/
|
|
37
|
+
export interface GetHiddenResourceNotSupported {
|
|
38
|
+
errorCode: "INVALID_ARGUMENT";
|
|
39
|
+
errorName: "GetHiddenResourceNotSupported";
|
|
40
|
+
errorInstanceId: string;
|
|
41
|
+
parameters: {
|
|
42
|
+
resourceRid: unknown;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Getting the root folder as a resource is not supported.
|
|
47
|
+
*
|
|
48
|
+
* Log Safety: SAFE
|
|
49
|
+
*/
|
|
50
|
+
export interface GetRootFolderNotSupported {
|
|
51
|
+
errorCode: "INVALID_ARGUMENT";
|
|
52
|
+
errorName: "GetRootFolderNotSupported";
|
|
53
|
+
errorInstanceId: string;
|
|
54
|
+
parameters: {};
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Getting a service is not supported.
|
|
58
|
+
*
|
|
59
|
+
* Log Safety: UNSAFE
|
|
60
|
+
*/
|
|
61
|
+
export interface GetServiceResourceNotSupported {
|
|
62
|
+
errorCode: "INVALID_ARGUMENT";
|
|
63
|
+
errorName: "GetServiceResourceNotSupported";
|
|
64
|
+
errorInstanceId: string;
|
|
65
|
+
parameters: {
|
|
66
|
+
resourceRid: unknown;
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Getting a space as a resource is not supported.
|
|
71
|
+
*
|
|
72
|
+
* Log Safety: SAFE
|
|
73
|
+
*/
|
|
74
|
+
export interface GetSpaceResourceNotSupported {
|
|
75
|
+
errorCode: "INVALID_ARGUMENT";
|
|
76
|
+
errorName: "GetSpaceResourceNotSupported";
|
|
77
|
+
errorInstanceId: string;
|
|
78
|
+
parameters: {
|
|
79
|
+
spaceRid: unknown;
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* The provided page size was zero or negative. Page sizes must be greater than zero.
|
|
84
|
+
*
|
|
85
|
+
* Log Safety: SAFE
|
|
86
|
+
*/
|
|
87
|
+
export interface InvalidPageSize {
|
|
88
|
+
errorCode: "INVALID_ARGUMENT";
|
|
89
|
+
errorName: "InvalidPageSize";
|
|
90
|
+
errorInstanceId: string;
|
|
91
|
+
parameters: {
|
|
92
|
+
pageSize: unknown;
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* The provided page token is invalid.
|
|
97
|
+
*
|
|
98
|
+
* Log Safety: UNSAFE
|
|
99
|
+
*/
|
|
100
|
+
export interface InvalidPageToken {
|
|
101
|
+
errorCode: "INVALID_ARGUMENT";
|
|
102
|
+
errorName: "InvalidPageToken";
|
|
103
|
+
errorInstanceId: string;
|
|
104
|
+
parameters: {
|
|
105
|
+
pageToken: unknown;
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* The given parameters are individually valid but cannot be used in the given combination.
|
|
110
|
+
|
|
111
|
+
*
|
|
112
|
+
* Log Safety: SAFE
|
|
113
|
+
*/
|
|
114
|
+
export interface InvalidParameterCombination {
|
|
115
|
+
errorCode: "INVALID_ARGUMENT";
|
|
116
|
+
errorName: "InvalidParameterCombination";
|
|
117
|
+
errorInstanceId: string;
|
|
118
|
+
parameters: {
|
|
119
|
+
validCombinations: unknown;
|
|
120
|
+
providedParameters: unknown;
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Batch requests must contain at least one element.
|
|
125
|
+
*
|
|
126
|
+
* Log Safety: SAFE
|
|
127
|
+
*/
|
|
128
|
+
export interface MissingBatchRequest {
|
|
129
|
+
errorCode: "INVALID_ARGUMENT";
|
|
130
|
+
errorName: "MissingBatchRequest";
|
|
131
|
+
errorInstanceId: string;
|
|
132
|
+
parameters: {};
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* The provided resource name is already in use by another resource in the same folder.
|
|
136
|
+
|
|
137
|
+
*
|
|
138
|
+
* Log Safety: UNSAFE
|
|
139
|
+
*/
|
|
140
|
+
export interface ResourceNameAlreadyExists {
|
|
141
|
+
errorCode: "CONFLICT";
|
|
142
|
+
errorName: "ResourceNameAlreadyExists";
|
|
143
|
+
errorInstanceId: string;
|
|
144
|
+
parameters: {
|
|
145
|
+
parentFolderRid: unknown;
|
|
146
|
+
resourceName: unknown;
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
//# 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,6BAA6B;IAC5C,SAAS,EAAE,kBAAkB,CAAC;IAC9B,SAAS,EAAE,+BAA+B,CAAC;IAC3C,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,gBAAgB,EAAE,OAAO,CAAC;QAC1B,iBAAiB,EAAE,OAAO,CAAC;KAC5B,CAAC;CACH;AAED;;;;;KAKK;AACL,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,WAAW,CAAC;IACvB,SAAS,EAAE,gBAAgB,CAAC;IAC5B,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,SAAS,EAAE,OAAO,CAAC;KACpB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC5C,SAAS,EAAE,kBAAkB,CAAC;IAC9B,SAAS,EAAE,+BAA+B,CAAC;IAC3C,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,WAAW,EAAE,OAAO,CAAC;KACtB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACxC,SAAS,EAAE,kBAAkB,CAAC;IAC9B,SAAS,EAAE,2BAA2B,CAAC;IACvC,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,EAAE,CAAC;CAChB;AAED;;;;GAIG;AACH,MAAM,WAAW,8BAA8B;IAC7C,SAAS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,CAAC;IACtB,SAAS,EAAE,2BAA2B,CAAC;IACvC,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,eAAe,EAAE,OAAO,CAAC;QACzB,YAAY,EAAE,OAAO,CAAC;KACvB,CAAC;CACH"}
|
package/build/esm/index.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export type { ArchiveFileFormat, ContentLength, ContentType, CreatedBy, CreatedTime, DisplayName, Distance, DistanceUnit, Duration, FilePath, MediaSetRid, OrganizationRid, PageSize, PageToken, PreviewMode, PrincipalId, PrincipalType, Realm, ReleaseStatus, ResourceType, SizeBytes, TimeUnit, UpdatedBy, UpdatedTime, UserId, } from "./_components.js";
|
|
2
|
+
export type { BatchRequestSizeExceededLimit, FolderNotFound, GetHiddenResourceNotSupported, GetRootFolderNotSupported, GetServiceResourceNotSupported, GetSpaceResourceNotSupported, InvalidPageSize, InvalidPageToken, InvalidParameterCombination, MissingBatchRequest, ResourceNameAlreadyExists, } from "./_errors.js";
|
|
2
3
|
//# sourceMappingURL=index.d.ts.map
|
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,iBAAiB,EACjB,aAAa,EACb,WAAW,EACX,SAAS,EACT,WAAW,EACX,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,eAAe,EACf,QAAQ,EACR,SAAS,EACT,WAAW,EACX,WAAW,EACX,aAAa,EACb,KAAK,EACL,aAAa,EACb,YAAY,EACZ,SAAS,EACT,QAAQ,EACR,SAAS,EACT,WAAW,EACX,MAAM,GACP,MAAM,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EACV,iBAAiB,EACjB,aAAa,EACb,WAAW,EACX,SAAS,EACT,WAAW,EACX,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,eAAe,EACf,QAAQ,EACR,SAAS,EACT,WAAW,EACX,WAAW,EACX,aAAa,EACb,KAAK,EACL,aAAa,EACb,YAAY,EACZ,SAAS,EACT,QAAQ,EACR,SAAS,EACT,WAAW,EACX,MAAM,GACP,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EACV,6BAA6B,EAC7B,cAAc,EACd,6BAA6B,EAC7B,yBAAyB,EACzB,8BAA8B,EAC9B,4BAA4B,EAC5B,eAAe,EACf,gBAAgB,EAChB,2BAA2B,EAC3B,mBAAmB,EACnB,yBAAyB,GAC1B,MAAM,cAAc,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osdk/foundry.core",
|
|
3
|
-
"version": "2.1.0-beta.
|
|
3
|
+
"version": "2.1.0-beta.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"sls": {
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"com.palantir.foundry.api:api-gateway": {
|
|
47
|
-
"minVersion": "1.
|
|
47
|
+
"minVersion": "1.922.0",
|
|
48
48
|
"maxVersion": "1.x.x",
|
|
49
49
|
"optional": true
|
|
50
50
|
}
|