@llamaindex/llama-cloud 1.1.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +49 -0
- package/README.md +2 -2
- package/client.d.mts +11 -10
- package/client.d.mts.map +1 -1
- package/client.d.ts +11 -10
- package/client.d.ts.map +1 -1
- package/client.js +19 -12
- package/client.js.map +1 -1
- package/client.mjs +20 -13
- package/client.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +5 -0
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +5 -0
- package/internal/parse.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/classifier/jobs.d.mts +22 -0
- package/resources/classifier/jobs.d.mts.map +1 -1
- package/resources/classifier/jobs.d.ts +22 -0
- package/resources/classifier/jobs.d.ts.map +1 -1
- package/resources/data-sources.d.mts +3 -3
- package/resources/data-sources.d.mts.map +1 -1
- package/resources/data-sources.d.ts +3 -3
- package/resources/data-sources.d.ts.map +1 -1
- package/resources/extraction/jobs.d.mts +1 -1
- package/resources/extraction/jobs.d.mts.map +1 -1
- package/resources/extraction/jobs.d.ts +1 -1
- package/resources/extraction/jobs.d.ts.map +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/parsing.d.mts +205 -179
- package/resources/parsing.d.mts.map +1 -1
- package/resources/parsing.d.ts +205 -179
- package/resources/parsing.d.ts.map +1 -1
- package/resources/parsing.js +4 -1
- package/resources/parsing.js.map +1 -1
- package/resources/parsing.mjs +4 -1
- package/resources/parsing.mjs.map +1 -1
- package/resources/pipelines/data-sources.d.mts +1 -1
- package/resources/pipelines/data-sources.d.mts.map +1 -1
- package/resources/pipelines/data-sources.d.ts +1 -1
- package/resources/pipelines/data-sources.d.ts.map +1 -1
- package/resources/pipelines/files.d.mts +19 -19
- package/resources/pipelines/files.d.ts +19 -19
- package/resources/shared.d.mts +14 -0
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +14 -0
- package/resources/shared.d.ts.map +1 -1
- package/src/client.ts +78 -53
- package/src/internal/parse.ts +6 -0
- package/src/resources/classifier/jobs.ts +24 -0
- package/src/resources/data-sources.ts +3 -0
- package/src/resources/extraction/jobs.ts +5 -0
- package/src/resources/index.ts +8 -0
- package/src/resources/parsing.ts +267 -216
- package/src/resources/pipelines/data-sources.ts +1 -0
- package/src/resources/pipelines/files.ts +19 -19
- package/src/resources/shared.ts +16 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -93,16 +93,16 @@ export class Files extends APIResource {
|
|
|
93
93
|
export type PipelineFilesPaginatedPipelineFiles = PaginatedPipelineFiles<PipelineFile>;
|
|
94
94
|
|
|
95
95
|
/**
|
|
96
|
-
*
|
|
96
|
+
* A file associated with a pipeline.
|
|
97
97
|
*/
|
|
98
98
|
export interface PipelineFile {
|
|
99
99
|
/**
|
|
100
|
-
* Unique identifier
|
|
100
|
+
* Unique identifier for the pipeline file.
|
|
101
101
|
*/
|
|
102
102
|
id: string;
|
|
103
103
|
|
|
104
104
|
/**
|
|
105
|
-
* The ID of the pipeline that the file is associated with
|
|
105
|
+
* The ID of the pipeline that the file is associated with.
|
|
106
106
|
*/
|
|
107
107
|
pipeline_id: string;
|
|
108
108
|
|
|
@@ -114,88 +114,88 @@ export interface PipelineFile {
|
|
|
114
114
|
} | null;
|
|
115
115
|
|
|
116
116
|
/**
|
|
117
|
-
*
|
|
117
|
+
* When the pipeline file was created.
|
|
118
118
|
*/
|
|
119
119
|
created_at?: string | null;
|
|
120
120
|
|
|
121
121
|
/**
|
|
122
|
-
* Custom metadata for the file
|
|
122
|
+
* Custom metadata for the file.
|
|
123
123
|
*/
|
|
124
124
|
custom_metadata?: {
|
|
125
125
|
[key: string]: { [key: string]: unknown } | Array<unknown> | string | number | boolean | null;
|
|
126
126
|
} | null;
|
|
127
127
|
|
|
128
128
|
/**
|
|
129
|
-
* The ID of the data source that the file belongs to
|
|
129
|
+
* The ID of the data source that the file belongs to.
|
|
130
130
|
*/
|
|
131
131
|
data_source_id?: string | null;
|
|
132
132
|
|
|
133
133
|
/**
|
|
134
|
-
* The ID of the file in the external system
|
|
134
|
+
* The ID of the file in the external system.
|
|
135
135
|
*/
|
|
136
136
|
external_file_id?: string | null;
|
|
137
137
|
|
|
138
138
|
/**
|
|
139
|
-
* The ID of the file
|
|
139
|
+
* The ID of the file.
|
|
140
140
|
*/
|
|
141
141
|
file_id?: string | null;
|
|
142
142
|
|
|
143
143
|
/**
|
|
144
|
-
* Size of the file in bytes
|
|
144
|
+
* Size of the file in bytes.
|
|
145
145
|
*/
|
|
146
146
|
file_size?: number | null;
|
|
147
147
|
|
|
148
148
|
/**
|
|
149
|
-
* File type (e.g. pdf, docx, etc.)
|
|
149
|
+
* File type (e.g. pdf, docx, etc.).
|
|
150
150
|
*/
|
|
151
151
|
file_type?: string | null;
|
|
152
152
|
|
|
153
153
|
/**
|
|
154
|
-
* The number of pages that have been indexed for this file
|
|
154
|
+
* The number of pages that have been indexed for this file.
|
|
155
155
|
*/
|
|
156
156
|
indexed_page_count?: number | null;
|
|
157
157
|
|
|
158
158
|
/**
|
|
159
|
-
* The last modified time of the file
|
|
159
|
+
* The last modified time of the file.
|
|
160
160
|
*/
|
|
161
161
|
last_modified_at?: string | null;
|
|
162
162
|
|
|
163
163
|
/**
|
|
164
|
-
* Name of the file
|
|
164
|
+
* Name of the file.
|
|
165
165
|
*/
|
|
166
166
|
name?: string | null;
|
|
167
167
|
|
|
168
168
|
/**
|
|
169
|
-
* Permission information for the file
|
|
169
|
+
* Permission information for the file.
|
|
170
170
|
*/
|
|
171
171
|
permission_info?: {
|
|
172
172
|
[key: string]: { [key: string]: unknown } | Array<unknown> | string | number | boolean | null;
|
|
173
173
|
} | null;
|
|
174
174
|
|
|
175
175
|
/**
|
|
176
|
-
* The ID of the project that the file belongs to
|
|
176
|
+
* The ID of the project that the file belongs to.
|
|
177
177
|
*/
|
|
178
178
|
project_id?: string | null;
|
|
179
179
|
|
|
180
180
|
/**
|
|
181
|
-
* Resource information for the file
|
|
181
|
+
* Resource information for the file.
|
|
182
182
|
*/
|
|
183
183
|
resource_info?: {
|
|
184
184
|
[key: string]: { [key: string]: unknown } | Array<unknown> | string | number | boolean | null;
|
|
185
185
|
} | null;
|
|
186
186
|
|
|
187
187
|
/**
|
|
188
|
-
* Status of the pipeline file
|
|
188
|
+
* Status of the pipeline file.
|
|
189
189
|
*/
|
|
190
190
|
status?: 'NOT_STARTED' | 'IN_PROGRESS' | 'SUCCESS' | 'ERROR' | 'CANCELLED' | null;
|
|
191
191
|
|
|
192
192
|
/**
|
|
193
|
-
* The last time the status was updated
|
|
193
|
+
* The last time the status was updated.
|
|
194
194
|
*/
|
|
195
195
|
status_updated_at?: string | null;
|
|
196
196
|
|
|
197
197
|
/**
|
|
198
|
-
*
|
|
198
|
+
* When the pipeline file was last updated.
|
|
199
199
|
*/
|
|
200
200
|
updated_at?: string | null;
|
|
201
201
|
}
|
package/src/resources/shared.ts
CHANGED
|
@@ -196,6 +196,22 @@ export interface CloudConfluenceDataSource {
|
|
|
196
196
|
user_name?: string | null;
|
|
197
197
|
}
|
|
198
198
|
|
|
199
|
+
export interface CloudGoogleDriveDataSource {
|
|
200
|
+
/**
|
|
201
|
+
* The ID of the Google Drive folder to read from.
|
|
202
|
+
*/
|
|
203
|
+
folder_id: string;
|
|
204
|
+
|
|
205
|
+
class_name?: string;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* A dictionary containing secret values
|
|
209
|
+
*/
|
|
210
|
+
service_account_key?: { [key: string]: string } | null;
|
|
211
|
+
|
|
212
|
+
supports_access_control?: boolean;
|
|
213
|
+
}
|
|
214
|
+
|
|
199
215
|
/**
|
|
200
216
|
* Cloud Jira Data Source integrating JiraReader.
|
|
201
217
|
*/
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '1.
|
|
1
|
+
export const VERSION = '1.3.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.3.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.3.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '1.
|
|
1
|
+
export const VERSION = '1.3.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|