@osdk/foundry.notepad 0.0.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/build/browser/_components.d.ts +290 -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 +271 -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 +7 -0
- package/build/browser/index.d.ts.map +1 -0
- package/build/browser/index.js +20 -0
- package/build/browser/index.js.map +1 -0
- package/build/browser/public/ExportJob.d.ts +34 -0
- package/build/browser/public/ExportJob.d.ts.map +1 -0
- package/build/browser/public/ExportJob.js +43 -0
- package/build/browser/public/ExportJob.js.map +1 -0
- package/build/browser/public/File.d.ts +19 -0
- package/build/browser/public/File.d.ts.map +1 -0
- package/build/browser/public/File.js +30 -0
- package/build/browser/public/File.js.map +1 -0
- package/build/browser/public/GenerationJob.d.ts +36 -0
- package/build/browser/public/GenerationJob.d.ts.map +1 -0
- package/build/browser/public/GenerationJob.js +42 -0
- package/build/browser/public/GenerationJob.js.map +1 -0
- package/build/browser/public/Template.d.ts +25 -0
- package/build/browser/public/Template.d.ts.map +1 -0
- package/build/browser/public/Template.js +35 -0
- package/build/browser/public/Template.js.map +1 -0
- package/build/esm/_components.d.ts +290 -0
- package/build/esm/_components.d.ts.map +1 -0
- package/build/esm/_components.js +17 -0
- package/build/esm/_components.js.map +1 -0
- package/build/esm/_errors.d.ts +271 -0
- package/build/esm/_errors.d.ts.map +1 -0
- package/build/esm/_errors.js +17 -0
- package/build/esm/_errors.js.map +1 -0
- package/build/esm/index.d.ts +7 -0
- package/build/esm/index.d.ts.map +1 -0
- package/build/esm/index.js +20 -0
- package/build/esm/index.js.map +1 -0
- package/build/esm/public/ExportJob.d.ts +34 -0
- package/build/esm/public/ExportJob.d.ts.map +1 -0
- package/build/esm/public/ExportJob.js +43 -0
- package/build/esm/public/ExportJob.js.map +1 -0
- package/build/esm/public/File.d.ts +19 -0
- package/build/esm/public/File.d.ts.map +1 -0
- package/build/esm/public/File.js +30 -0
- package/build/esm/public/File.js.map +1 -0
- package/build/esm/public/GenerationJob.d.ts +36 -0
- package/build/esm/public/GenerationJob.d.ts.map +1 -0
- package/build/esm/public/GenerationJob.js +42 -0
- package/build/esm/public/GenerationJob.js.map +1 -0
- package/build/esm/public/Template.d.ts +25 -0
- package/build/esm/public/Template.d.ts.map +1 -0
- package/build/esm/public/Template.js +35 -0
- package/build/esm/public/Template.js.map +1 -0
- package/package.json +65 -0
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
import type * as _Core from "@osdk/foundry.core";
|
|
2
|
+
import type * as _Filesystem from "@osdk/foundry.filesystem";
|
|
3
|
+
import type * as _Ontologies from "@osdk/foundry.ontologies";
|
|
4
|
+
export type LooselyBrandedString<T extends string> = string & {
|
|
5
|
+
__LOOSE_BRAND?: T;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* Log Safety: SAFE
|
|
9
|
+
*/
|
|
10
|
+
export interface CreateExportJobRequest {
|
|
11
|
+
exportJobSource: ExportJobSource;
|
|
12
|
+
exportJobTarget: ExportJobTarget;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Log Safety: SAFE
|
|
16
|
+
*/
|
|
17
|
+
export interface Document {
|
|
18
|
+
rid: DocumentRid;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* The unique identifier for a Document
|
|
22
|
+
*
|
|
23
|
+
* Log Safety: SAFE
|
|
24
|
+
*/
|
|
25
|
+
export type DocumentRid = LooselyBrandedString<"DocumentRid">;
|
|
26
|
+
/**
|
|
27
|
+
* Log Safety: UNSAFE
|
|
28
|
+
*/
|
|
29
|
+
export interface ExportJob {
|
|
30
|
+
rid: ExportJobRid;
|
|
31
|
+
status: ExportJobStatus;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Log Safety: SAFE
|
|
35
|
+
*/
|
|
36
|
+
export interface ExportJobDocumentSource {
|
|
37
|
+
documentRid: DocumentRid;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* The export job failed
|
|
41
|
+
*
|
|
42
|
+
* Log Safety: UNSAFE
|
|
43
|
+
*/
|
|
44
|
+
export interface ExportJobFailed {
|
|
45
|
+
errorMessage: string;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Log Safety: SAFE
|
|
49
|
+
*/
|
|
50
|
+
export interface ExportJobGenerationJobSource {
|
|
51
|
+
templateRid: TemplateRid;
|
|
52
|
+
generationJobRid: GenerationJobRid;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Log Safety: SAFE
|
|
56
|
+
*/
|
|
57
|
+
export interface ExportJobPdfTarget {
|
|
58
|
+
userLocale: _Core.Locale;
|
|
59
|
+
userTimezone: _Core.ZoneId;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* The unique identifier for a ExportJob
|
|
63
|
+
*
|
|
64
|
+
* Log Safety: SAFE
|
|
65
|
+
*/
|
|
66
|
+
export type ExportJobRid = LooselyBrandedString<"ExportJobRid">;
|
|
67
|
+
/**
|
|
68
|
+
* The export job is currently running
|
|
69
|
+
*
|
|
70
|
+
* Log Safety: SAFE
|
|
71
|
+
*/
|
|
72
|
+
export interface ExportJobRunning {
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Defines the source of contents for an ExportJob
|
|
76
|
+
*
|
|
77
|
+
* Log Safety: SAFE
|
|
78
|
+
*/
|
|
79
|
+
export type ExportJobSource = ({
|
|
80
|
+
type: "generationJobSource";
|
|
81
|
+
} & ExportJobGenerationJobSource) | ({
|
|
82
|
+
type: "documentSource";
|
|
83
|
+
} & ExportJobDocumentSource);
|
|
84
|
+
/**
|
|
85
|
+
* The status of an export job
|
|
86
|
+
*
|
|
87
|
+
* Log Safety: UNSAFE
|
|
88
|
+
*/
|
|
89
|
+
export type ExportJobStatus = ({
|
|
90
|
+
type: "running";
|
|
91
|
+
} & ExportJobRunning) | ({
|
|
92
|
+
type: "failed";
|
|
93
|
+
} & ExportJobFailed) | ({
|
|
94
|
+
type: "succeeded";
|
|
95
|
+
} & ExportJobSucceeded);
|
|
96
|
+
/**
|
|
97
|
+
* The export job succeeded
|
|
98
|
+
*
|
|
99
|
+
* Log Safety: SAFE
|
|
100
|
+
*/
|
|
101
|
+
export interface ExportJobSucceeded {
|
|
102
|
+
fileRid: FileRid;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* The target format that the job will export to.
|
|
106
|
+
*
|
|
107
|
+
* Log Safety: SAFE
|
|
108
|
+
*/
|
|
109
|
+
export type ExportJobTarget = {
|
|
110
|
+
type: "pdf";
|
|
111
|
+
} & ExportJobPdfTarget;
|
|
112
|
+
/**
|
|
113
|
+
* Log Safety: SAFE
|
|
114
|
+
*/
|
|
115
|
+
export interface File {
|
|
116
|
+
rid: FileRid;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* The unique identifier for a File
|
|
120
|
+
*
|
|
121
|
+
* Log Safety: SAFE
|
|
122
|
+
*/
|
|
123
|
+
export type FileRid = LooselyBrandedString<"FileRid">;
|
|
124
|
+
/**
|
|
125
|
+
* Log Safety: UNSAFE
|
|
126
|
+
*/
|
|
127
|
+
export interface GenerateTemplateRequest {
|
|
128
|
+
templateVersion?: TemplateVersion;
|
|
129
|
+
templateParameters: Record<TemplateParameterName, TemplateParameterValue>;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Log Safety: UNSAFE
|
|
133
|
+
*/
|
|
134
|
+
export interface GenerationJob {
|
|
135
|
+
rid: GenerationJobRid;
|
|
136
|
+
status: GenerationJobStatus;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* The generation job failed
|
|
140
|
+
*
|
|
141
|
+
* Log Safety: UNSAFE
|
|
142
|
+
*/
|
|
143
|
+
export interface GenerationJobFailed {
|
|
144
|
+
errorMessage: string;
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* The unique identifier for a GenerationJob
|
|
148
|
+
*
|
|
149
|
+
* Log Safety: SAFE
|
|
150
|
+
*/
|
|
151
|
+
export type GenerationJobRid = LooselyBrandedString<"GenerationJobRid">;
|
|
152
|
+
/**
|
|
153
|
+
* The generation job is currently running
|
|
154
|
+
*
|
|
155
|
+
* Log Safety: SAFE
|
|
156
|
+
*/
|
|
157
|
+
export interface GenerationJobRunning {
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* The status of a GenerationJob
|
|
161
|
+
*
|
|
162
|
+
* Log Safety: UNSAFE
|
|
163
|
+
*/
|
|
164
|
+
export type GenerationJobStatus = ({
|
|
165
|
+
type: "running";
|
|
166
|
+
} & GenerationJobRunning) | ({
|
|
167
|
+
type: "failed";
|
|
168
|
+
} & GenerationJobFailed) | ({
|
|
169
|
+
type: "succeeded";
|
|
170
|
+
} & GenerationJobSucceeded);
|
|
171
|
+
/**
|
|
172
|
+
* The generation job succeeded
|
|
173
|
+
*
|
|
174
|
+
* Log Safety: SAFE
|
|
175
|
+
*/
|
|
176
|
+
export interface GenerationJobSucceeded {
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* Log Safety: UNSAFE
|
|
180
|
+
*/
|
|
181
|
+
export interface SaveDocumentGenerationJobRequest {
|
|
182
|
+
request: SaveDocumentRequest;
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Log Safety: UNSAFE
|
|
186
|
+
*/
|
|
187
|
+
export interface SaveDocumentRequest {
|
|
188
|
+
documentName?: string;
|
|
189
|
+
parentFolderRid?: _Filesystem.FolderRid;
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* Response for saving a document
|
|
193
|
+
*
|
|
194
|
+
* Log Safety: SAFE
|
|
195
|
+
*/
|
|
196
|
+
export interface SaveDocumentResponse {
|
|
197
|
+
documentRid: DocumentRid;
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* Log Safety: SAFE
|
|
201
|
+
*/
|
|
202
|
+
export interface Template {
|
|
203
|
+
rid: TemplateRid;
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* DateTime parameter value
|
|
207
|
+
*
|
|
208
|
+
* Log Safety: UNSAFE
|
|
209
|
+
*/
|
|
210
|
+
export interface TemplateParameterDateTimeValue {
|
|
211
|
+
timestamp: string;
|
|
212
|
+
timezone: _Core.ZoneId;
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Date parameter value
|
|
216
|
+
*
|
|
217
|
+
* Log Safety: UNSAFE
|
|
218
|
+
*/
|
|
219
|
+
export interface TemplateParameterDateValue {
|
|
220
|
+
value: string;
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* Double parameter value
|
|
224
|
+
*
|
|
225
|
+
* Log Safety: UNSAFE
|
|
226
|
+
*/
|
|
227
|
+
export interface TemplateParameterDoubleValue {
|
|
228
|
+
value: number;
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* The name of a Template parameter
|
|
232
|
+
*
|
|
233
|
+
* Log Safety: UNSAFE
|
|
234
|
+
*/
|
|
235
|
+
export type TemplateParameterName = LooselyBrandedString<"TemplateParameterName">;
|
|
236
|
+
/**
|
|
237
|
+
* Object RID parameter value
|
|
238
|
+
*
|
|
239
|
+
* Log Safety: SAFE
|
|
240
|
+
*/
|
|
241
|
+
export interface TemplateParameterObjectRidValue {
|
|
242
|
+
value: _Ontologies.ObjectRid;
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* Object set RID parameter value
|
|
246
|
+
*
|
|
247
|
+
* Log Safety: SAFE
|
|
248
|
+
*/
|
|
249
|
+
export interface TemplateParameterObjectSetRidValue {
|
|
250
|
+
value: _Ontologies.ObjectSetRid;
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* String parameter value
|
|
254
|
+
*
|
|
255
|
+
* Log Safety: UNSAFE
|
|
256
|
+
*/
|
|
257
|
+
export interface TemplateParameterStringValue {
|
|
258
|
+
value: string;
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
* A value for a template parameter
|
|
262
|
+
*
|
|
263
|
+
* Log Safety: UNSAFE
|
|
264
|
+
*/
|
|
265
|
+
export type TemplateParameterValue = ({
|
|
266
|
+
type: "objectSetRid";
|
|
267
|
+
} & TemplateParameterObjectSetRidValue) | ({
|
|
268
|
+
type: "date";
|
|
269
|
+
} & TemplateParameterDateValue) | ({
|
|
270
|
+
type: "dateTime";
|
|
271
|
+
} & TemplateParameterDateTimeValue) | ({
|
|
272
|
+
type: "string";
|
|
273
|
+
} & TemplateParameterStringValue) | ({
|
|
274
|
+
type: "double";
|
|
275
|
+
} & TemplateParameterDoubleValue) | ({
|
|
276
|
+
type: "objectRid";
|
|
277
|
+
} & TemplateParameterObjectRidValue);
|
|
278
|
+
/**
|
|
279
|
+
* The unique identifier for a Template
|
|
280
|
+
*
|
|
281
|
+
* Log Safety: SAFE
|
|
282
|
+
*/
|
|
283
|
+
export type TemplateRid = LooselyBrandedString<"TemplateRid">;
|
|
284
|
+
/**
|
|
285
|
+
* The version number of a Template
|
|
286
|
+
*
|
|
287
|
+
* Log Safety: SAFE
|
|
288
|
+
*/
|
|
289
|
+
export type TemplateVersion = string;
|
|
290
|
+
//# 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;AACjD,OAAO,KAAK,KAAK,WAAW,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,KAAK,WAAW,MAAM,0BAA0B,CAAC;AAE7D,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAC5D,aAAa,CAAC,EAAE,C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,CAAC,GACnD,CAAC;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,GAAG,4BAA4B,CAAC,GACnD,CAAC;IAAE,IAAI,EAAE,WAAW,CAAA;CAAE,GAAG,+BAA+B,CAAC,CAAC;AAE9D;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,oBAAoB,CAAC,aAAa,CAAC,CAAC;AAE9D;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC"}
|
|
@@ -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,271 @@
|
|
|
1
|
+
export type LooselyBrandedString<T extends string> = string & {
|
|
2
|
+
__LOOSE_BRAND?: T;
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* Could not content the File.
|
|
6
|
+
*
|
|
7
|
+
* Log Safety: SAFE
|
|
8
|
+
*/
|
|
9
|
+
export interface ContentFilePermissionDenied {
|
|
10
|
+
errorCode: "PERMISSION_DENIED";
|
|
11
|
+
errorName: "ContentFilePermissionDenied";
|
|
12
|
+
errorDescription: "Could not content the File.";
|
|
13
|
+
errorInstanceId: string;
|
|
14
|
+
parameters: {
|
|
15
|
+
fileRid: unknown;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* The user does not have permission to create a Document in the specified folder.
|
|
20
|
+
*
|
|
21
|
+
* Log Safety: SAFE
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateDocumentPermissionDenied {
|
|
24
|
+
errorCode: "PERMISSION_DENIED";
|
|
25
|
+
errorName: "CreateDocumentPermissionDenied";
|
|
26
|
+
errorDescription: "The user does not have permission to create a Document in the specified folder.";
|
|
27
|
+
errorInstanceId: string;
|
|
28
|
+
parameters: {
|
|
29
|
+
parentFolderRid: unknown;
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Could not create the ExportJob.
|
|
34
|
+
*
|
|
35
|
+
* Log Safety: SAFE
|
|
36
|
+
*/
|
|
37
|
+
export interface CreateExportJobPermissionDenied {
|
|
38
|
+
errorCode: "PERMISSION_DENIED";
|
|
39
|
+
errorName: "CreateExportJobPermissionDenied";
|
|
40
|
+
errorDescription: "Could not create the ExportJob.";
|
|
41
|
+
errorInstanceId: string;
|
|
42
|
+
parameters: {};
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* The requested document was not found.
|
|
46
|
+
*
|
|
47
|
+
* Log Safety: SAFE
|
|
48
|
+
*/
|
|
49
|
+
export interface DocumentNotFound {
|
|
50
|
+
errorCode: "NOT_FOUND";
|
|
51
|
+
errorName: "DocumentNotFound";
|
|
52
|
+
errorDescription: "The requested document was not found.";
|
|
53
|
+
errorInstanceId: string;
|
|
54
|
+
parameters: {
|
|
55
|
+
documentRid: unknown;
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* The user does not have export permissions on this Document.
|
|
60
|
+
*
|
|
61
|
+
* Log Safety: SAFE
|
|
62
|
+
*/
|
|
63
|
+
export interface ExportDocumentPermissionDenied {
|
|
64
|
+
errorCode: "PERMISSION_DENIED";
|
|
65
|
+
errorName: "ExportDocumentPermissionDenied";
|
|
66
|
+
errorDescription: "The user does not have export permissions on this Document.";
|
|
67
|
+
errorInstanceId: string;
|
|
68
|
+
parameters: {
|
|
69
|
+
documentRid: unknown;
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* The user does not have export permissions on this GenerationJob.
|
|
74
|
+
*
|
|
75
|
+
* Log Safety: SAFE
|
|
76
|
+
*/
|
|
77
|
+
export interface ExportGenerationJobPermissionDenied {
|
|
78
|
+
errorCode: "PERMISSION_DENIED";
|
|
79
|
+
errorName: "ExportGenerationJobPermissionDenied";
|
|
80
|
+
errorDescription: "The user does not have export permissions on this GenerationJob.";
|
|
81
|
+
errorInstanceId: string;
|
|
82
|
+
parameters: {
|
|
83
|
+
generationJobRid: unknown;
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* The given ExportJob could not be found.
|
|
88
|
+
*
|
|
89
|
+
* Log Safety: SAFE
|
|
90
|
+
*/
|
|
91
|
+
export interface ExportJobNotFound {
|
|
92
|
+
errorCode: "NOT_FOUND";
|
|
93
|
+
errorName: "ExportJobNotFound";
|
|
94
|
+
errorDescription: "The given ExportJob could not be found.";
|
|
95
|
+
errorInstanceId: string;
|
|
96
|
+
parameters: {
|
|
97
|
+
exportJobRid: unknown;
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* The requested file was not found.
|
|
102
|
+
*
|
|
103
|
+
* Log Safety: SAFE
|
|
104
|
+
*/
|
|
105
|
+
export interface FileNotFound {
|
|
106
|
+
errorCode: "NOT_FOUND";
|
|
107
|
+
errorName: "FileNotFound";
|
|
108
|
+
errorDescription: "The requested file was not found.";
|
|
109
|
+
errorInstanceId: string;
|
|
110
|
+
parameters: {
|
|
111
|
+
fileRid: unknown;
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Could not generate the Template.
|
|
116
|
+
*
|
|
117
|
+
* Log Safety: SAFE
|
|
118
|
+
*/
|
|
119
|
+
export interface GenerateTemplatePermissionDenied {
|
|
120
|
+
errorCode: "PERMISSION_DENIED";
|
|
121
|
+
errorName: "GenerateTemplatePermissionDenied";
|
|
122
|
+
errorDescription: "Could not generate the Template.";
|
|
123
|
+
errorInstanceId: string;
|
|
124
|
+
parameters: {
|
|
125
|
+
templateRid: unknown;
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* The given GenerationJob could not be found.
|
|
130
|
+
*
|
|
131
|
+
* Log Safety: SAFE
|
|
132
|
+
*/
|
|
133
|
+
export interface GenerationJobNotFound {
|
|
134
|
+
errorCode: "NOT_FOUND";
|
|
135
|
+
errorName: "GenerationJobNotFound";
|
|
136
|
+
errorDescription: "The given GenerationJob could not be found.";
|
|
137
|
+
errorInstanceId: string;
|
|
138
|
+
parameters: {
|
|
139
|
+
generationJobRid: unknown;
|
|
140
|
+
templateRid: unknown;
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* The operation cannot be completed because the generation job has failed status.
|
|
145
|
+
*
|
|
146
|
+
* Log Safety: SAFE
|
|
147
|
+
*/
|
|
148
|
+
export interface GenerationJobStatusFailed {
|
|
149
|
+
errorCode: "FAILED_PRECONDITION";
|
|
150
|
+
errorName: "GenerationJobStatusFailed";
|
|
151
|
+
errorDescription: "The operation cannot be completed because the generation job has failed status.";
|
|
152
|
+
errorInstanceId: string;
|
|
153
|
+
parameters: {
|
|
154
|
+
generationJobRid: unknown;
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* The operation cannot be completed because the generation job has running status.
|
|
159
|
+
*
|
|
160
|
+
* Log Safety: SAFE
|
|
161
|
+
*/
|
|
162
|
+
export interface GenerationJobStatusRunning {
|
|
163
|
+
errorCode: "FAILED_PRECONDITION";
|
|
164
|
+
errorName: "GenerationJobStatusRunning";
|
|
165
|
+
errorDescription: "The operation cannot be completed because the generation job has running status.";
|
|
166
|
+
errorInstanceId: string;
|
|
167
|
+
parameters: {
|
|
168
|
+
generationJobRid: unknown;
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* The provided user locale is not valid.
|
|
173
|
+
*
|
|
174
|
+
* Log Safety: SAFE
|
|
175
|
+
*/
|
|
176
|
+
export interface InvalidExportJobUserLocale {
|
|
177
|
+
errorCode: "INVALID_ARGUMENT";
|
|
178
|
+
errorName: "InvalidExportJobUserLocale";
|
|
179
|
+
errorDescription: "The provided user locale is not valid.";
|
|
180
|
+
errorInstanceId: string;
|
|
181
|
+
parameters: {
|
|
182
|
+
userLocale: unknown;
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* A template parameter value is invalid (for example, is of the wrong type).
|
|
187
|
+
*
|
|
188
|
+
* Log Safety: UNSAFE
|
|
189
|
+
*/
|
|
190
|
+
export interface InvalidGenerationJobTemplateParameter {
|
|
191
|
+
errorCode: "INVALID_ARGUMENT";
|
|
192
|
+
errorName: "InvalidGenerationJobTemplateParameter";
|
|
193
|
+
errorDescription: "A template parameter value is invalid (for example, is of the wrong type).";
|
|
194
|
+
errorInstanceId: string;
|
|
195
|
+
parameters: {
|
|
196
|
+
templateParameterName: unknown;
|
|
197
|
+
reason: unknown;
|
|
198
|
+
};
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* The provided template version doesn't exist or the template has no published versions.
|
|
202
|
+
*
|
|
203
|
+
* Log Safety: SAFE
|
|
204
|
+
*/
|
|
205
|
+
export interface InvalidGenerationJobTemplateVersion {
|
|
206
|
+
errorCode: "INVALID_ARGUMENT";
|
|
207
|
+
errorName: "InvalidGenerationJobTemplateVersion";
|
|
208
|
+
errorDescription: "The provided template version doesn't exist or the template has no published versions.";
|
|
209
|
+
errorInstanceId: string;
|
|
210
|
+
parameters: {
|
|
211
|
+
templateVersion: unknown;
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* The provided timezone is not valid.
|
|
216
|
+
*
|
|
217
|
+
* Log Safety: SAFE
|
|
218
|
+
*/
|
|
219
|
+
export interface InvalidTimezone {
|
|
220
|
+
errorCode: "INVALID_ARGUMENT";
|
|
221
|
+
errorName: "InvalidTimezone";
|
|
222
|
+
errorDescription: "The provided timezone is not valid.";
|
|
223
|
+
errorInstanceId: string;
|
|
224
|
+
parameters: {
|
|
225
|
+
userTimezone: unknown;
|
|
226
|
+
};
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* One or more template parameters are missing.
|
|
230
|
+
*
|
|
231
|
+
* Log Safety: UNSAFE
|
|
232
|
+
*/
|
|
233
|
+
export interface MissingGenerationJobTemplateParameters {
|
|
234
|
+
errorCode: "INVALID_ARGUMENT";
|
|
235
|
+
errorName: "MissingGenerationJobTemplateParameters";
|
|
236
|
+
errorDescription: "One or more template parameters are missing.";
|
|
237
|
+
errorInstanceId: string;
|
|
238
|
+
parameters: {
|
|
239
|
+
templateParameterNames: unknown;
|
|
240
|
+
};
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* Could not saveDocument the GenerationJob.
|
|
244
|
+
*
|
|
245
|
+
* Log Safety: SAFE
|
|
246
|
+
*/
|
|
247
|
+
export interface SaveDocumentGenerationJobPermissionDenied {
|
|
248
|
+
errorCode: "PERMISSION_DENIED";
|
|
249
|
+
errorName: "SaveDocumentGenerationJobPermissionDenied";
|
|
250
|
+
errorDescription: "Could not saveDocument the GenerationJob.";
|
|
251
|
+
errorInstanceId: string;
|
|
252
|
+
parameters: {
|
|
253
|
+
generationJobRid: unknown;
|
|
254
|
+
templateRid: unknown;
|
|
255
|
+
};
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* The requested template was not found.
|
|
259
|
+
*
|
|
260
|
+
* Log Safety: SAFE
|
|
261
|
+
*/
|
|
262
|
+
export interface TemplateNotFound {
|
|
263
|
+
errorCode: "NOT_FOUND";
|
|
264
|
+
errorName: "TemplateNotFound";
|
|
265
|
+
errorDescription: "The requested template was not found.";
|
|
266
|
+
errorInstanceId: string;
|
|
267
|
+
parameters: {
|
|
268
|
+
templateRid: unknown;
|
|
269
|
+
};
|
|
270
|
+
}
|
|
271
|
+
//# 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,mBAAmB,CAAC;IAC/B,SAAS,EAAE,6BAA6B,CAAC;IACzC,gBAAgB,EAAE,6BAA6B,CAAC;IAChD,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,OAAO,EAAE,OAAO,CAAC;KAClB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,8BAA8B;IAC7C,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,gCAAgC,CAAC;IAC5C,gBAAgB,EAC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AAM,WAAW,yCAAyC;IACxD,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,2CAA2C,CAAC;IACvD,gBAAgB,EAAE,2CAA2C,CAAC;IAC9D,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,gBAAgB,EAAE,OAAO,CAAC;QAC1B,WAAW,EAAE,OAAO,CAAC;KACtB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,WAAW,CAAC;IACvB,SAAS,EAAE,kBAAkB,CAAC;IAC9B,gBAAgB,EAAE,uCAAuC,CAAC;IAC1D,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,WAAW,EAAE,OAAO,CAAC;KACtB,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,7 @@
|
|
|
1
|
+
export type { CreateExportJobRequest, Document, DocumentRid, ExportJob, ExportJobDocumentSource, ExportJobFailed, ExportJobGenerationJobSource, ExportJobPdfTarget, ExportJobRid, ExportJobRunning, ExportJobSource, ExportJobStatus, ExportJobSucceeded, ExportJobTarget, File, FileRid, GenerateTemplateRequest, GenerationJob, GenerationJobFailed, GenerationJobRid, GenerationJobRunning, GenerationJobStatus, GenerationJobSucceeded, SaveDocumentGenerationJobRequest, SaveDocumentRequest, SaveDocumentResponse, Template, TemplateParameterDateTimeValue, TemplateParameterDateValue, TemplateParameterDoubleValue, TemplateParameterName, TemplateParameterObjectRidValue, TemplateParameterObjectSetRidValue, TemplateParameterStringValue, TemplateParameterValue, TemplateRid, TemplateVersion, } from "./_components.js";
|
|
2
|
+
export type { ContentFilePermissionDenied, CreateDocumentPermissionDenied, CreateExportJobPermissionDenied, DocumentNotFound, ExportDocumentPermissionDenied, ExportGenerationJobPermissionDenied, ExportJobNotFound, FileNotFound, GenerateTemplatePermissionDenied, GenerationJobNotFound, GenerationJobStatusFailed, GenerationJobStatusRunning, InvalidExportJobUserLocale, InvalidGenerationJobTemplateParameter, InvalidGenerationJobTemplateVersion, InvalidTimezone, MissingGenerationJobTemplateParameters, SaveDocumentGenerationJobPermissionDenied, TemplateNotFound, } from "./_errors.js";
|
|
3
|
+
export * as ExportJobs from "./public/ExportJob.js";
|
|
4
|
+
export * as Files from "./public/File.js";
|
|
5
|
+
export * as GenerationJobs from "./public/GenerationJob.js";
|
|
6
|
+
export * as Templates from "./public/Template.js";
|
|
7
|
+
//# 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,sBAAsB,EACtB,QAAQ,EACR,WAAW,EACX,SAAS,EACT,uBAAuB,EACvB,eAAe,EACf,4BAA4B,EAC5B,kBAAkB,EAClB,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,eAAe,EACf,IAAI,EACJ,OAAO,EACP,uBAAuB,EACvB,aAAa,EACb,mBAAmB,EACnB,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACnB,sBAAsB,EACtB,gCAAgC,EAChC,mBAAmB,EACnB,oBAAoB,EACpB,QAAQ,EACR,8BAA8B,EAC9B,0BAA0B,EAC1B,4BAA4B,EAC5B,qBAAqB,EACrB,+BAA+B,EAC/B,kCAAkC,EAClC,4BAA4B,EAC5B,sBAAsB,EACtB,WAAW,EACX,eAAe,GAChB,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EACV,2BAA2B,EAC3B,8BAA8B,EAC9B,+BAA+B,EAC/B,gBAAgB,EAChB,8BAA8B,EAC9B,mCAAmC,EACnC,iBAAiB,EACjB,YAAY,EACZ,gCAAgC,EAChC,qBAAqB,EACrB,yBAAyB,EACzB,0BAA0B,EAC1B,0BAA0B,EAC1B,qCAAqC,EACrC,mCAAmC,EACnC,eAAe,EACf,sCAAsC,EACtC,yCAAyC,EACzC,gBAAgB,GACjB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAC;AAC1C,OAAO,KAAK,cAAc,MAAM,2BAA2B,CAAC;AAC5D,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
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 ExportJobs from "./public/ExportJob.js";
|
|
17
|
+
export * as Files from "./public/File.js";
|
|
18
|
+
export * as GenerationJobs from "./public/GenerationJob.js";
|
|
19
|
+
export * as Templates from "./public/Template.js";
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["ExportJobs","Files","GenerationJobs","Templates"],"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 ExportJobs from \"./public/ExportJob.js\";\nexport * as Files from \"./public/File.js\";\nexport * as GenerationJobs from \"./public/GenerationJob.js\";\nexport * as Templates from \"./public/Template.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,KAAKA,UAAU,MAAM,uBAAuB;AACnD,OAAO,KAAKC,KAAK,MAAM,kBAAkB;AACzC,OAAO,KAAKC,cAAc,MAAM,2BAA2B;AAC3D,OAAO,KAAKC,SAAS,MAAM,sBAAsB","ignoreList":[]}
|