@frogbotai/piece-dropbox 0.26.0 → 0.28.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.
@@ -1,469 +1,351 @@
1
1
  import { z } from 'zod';
2
- import { type DropboxRunArgs } from '../client.js';
3
- declare const pathInput: z.ZodObject<{
4
- path: z.ZodString;
5
- }, z.core.$strip>;
6
- declare const transferInput: z.ZodObject<{
2
+ export declare const copyFile: import("frogbot").PieceActionDefinition<z.ZodObject<{
7
3
  fromPath: z.ZodString;
8
4
  toPath: z.ZodString;
9
5
  autorename: z.ZodDefault<z.ZodBoolean>;
10
6
  allowOwnershipTransfer: z.ZodDefault<z.ZodBoolean>;
11
- }, z.core.$strip>;
12
- export declare const copyFile: {
13
- slug: "copyFile" | "copyFolder" | "moveFile" | "moveFolder";
14
- description: string;
15
- input: z.ZodObject<{
16
- fromPath: z.ZodString;
17
- toPath: z.ZodString;
18
- autorename: z.ZodDefault<z.ZodBoolean>;
19
- allowOwnershipTransfer: z.ZodDefault<z.ZodBoolean>;
20
- }, z.core.$strip>;
21
- output: z.ZodObject<{
22
- metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
23
- '.tag': z.ZodLiteral<"file">;
24
- name: z.ZodString;
25
- id: z.ZodString;
26
- path_lower: z.ZodOptional<z.ZodString>;
27
- path_display: z.ZodOptional<z.ZodString>;
28
- client_modified: z.ZodOptional<z.ZodString>;
29
- server_modified: z.ZodOptional<z.ZodString>;
30
- rev: z.ZodOptional<z.ZodString>;
31
- size: z.ZodOptional<z.ZodNumber>;
32
- }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
33
- '.tag': z.ZodLiteral<"folder">;
34
- name: z.ZodString;
35
- id: z.ZodString;
36
- path_lower: z.ZodOptional<z.ZodString>;
37
- path_display: z.ZodOptional<z.ZodString>;
38
- }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
39
- '.tag': z.ZodLiteral<"deleted">;
40
- name: z.ZodString;
41
- path_lower: z.ZodOptional<z.ZodString>;
42
- path_display: z.ZodOptional<z.ZodString>;
43
- }, z.core.$catchall<z.ZodJSONSchema>>], ".tag">;
44
- }, z.core.$catchall<z.ZodJSONSchema>>;
45
- idempotent: boolean;
46
- run({ client, input, req }: DropboxRunArgs<typeof transferInput>): Promise<{
7
+ }, z.core.$strip>, z.ZodObject<{
8
+ metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
9
+ '.tag': z.ZodLiteral<"file">;
10
+ name: z.ZodString;
11
+ id: z.ZodString;
12
+ path_lower: z.ZodOptional<z.ZodString>;
13
+ path_display: z.ZodOptional<z.ZodString>;
14
+ client_modified: z.ZodOptional<z.ZodString>;
15
+ server_modified: z.ZodOptional<z.ZodString>;
16
+ rev: z.ZodOptional<z.ZodString>;
17
+ size: z.ZodOptional<z.ZodNumber>;
18
+ }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
19
+ '.tag': z.ZodLiteral<"folder">;
20
+ name: z.ZodString;
21
+ id: z.ZodString;
22
+ path_lower: z.ZodOptional<z.ZodString>;
23
+ path_display: z.ZodOptional<z.ZodString>;
24
+ }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
25
+ '.tag': z.ZodLiteral<"deleted">;
26
+ name: z.ZodString;
27
+ path_lower: z.ZodOptional<z.ZodString>;
28
+ path_display: z.ZodOptional<z.ZodString>;
29
+ }, z.core.$catchall<z.ZodJSONSchema>>], ".tag">;
30
+ }, z.core.$catchall<z.ZodJSONSchema>>, Record<string, never>, import("../client.js").DropboxClient, {
31
+ [x: string]: z.core.util.JSONType;
32
+ metadata: {
47
33
  [x: string]: z.core.util.JSONType;
48
- metadata: {
49
- [x: string]: z.core.util.JSONType;
50
- '.tag': "file";
51
- name: string;
52
- id: string;
53
- path_lower?: string | undefined;
54
- path_display?: string | undefined;
55
- client_modified?: string | undefined;
56
- server_modified?: string | undefined;
57
- rev?: string | undefined;
58
- size?: number | undefined;
59
- } | {
60
- [x: string]: z.core.util.JSONType;
61
- '.tag': "folder";
62
- name: string;
63
- id: string;
64
- path_lower?: string | undefined;
65
- path_display?: string | undefined;
66
- } | {
67
- [x: string]: z.core.util.JSONType;
68
- '.tag': "deleted";
69
- name: string;
70
- path_lower?: string | undefined;
71
- path_display?: string | undefined;
72
- };
73
- }>;
74
- };
75
- export declare const copyFolder: {
76
- slug: "copyFile" | "copyFolder" | "moveFile" | "moveFolder";
77
- description: string;
78
- input: z.ZodObject<{
79
- fromPath: z.ZodString;
80
- toPath: z.ZodString;
81
- autorename: z.ZodDefault<z.ZodBoolean>;
82
- allowOwnershipTransfer: z.ZodDefault<z.ZodBoolean>;
83
- }, z.core.$strip>;
84
- output: z.ZodObject<{
85
- metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
86
- '.tag': z.ZodLiteral<"file">;
87
- name: z.ZodString;
88
- id: z.ZodString;
89
- path_lower: z.ZodOptional<z.ZodString>;
90
- path_display: z.ZodOptional<z.ZodString>;
91
- client_modified: z.ZodOptional<z.ZodString>;
92
- server_modified: z.ZodOptional<z.ZodString>;
93
- rev: z.ZodOptional<z.ZodString>;
94
- size: z.ZodOptional<z.ZodNumber>;
95
- }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
96
- '.tag': z.ZodLiteral<"folder">;
97
- name: z.ZodString;
98
- id: z.ZodString;
99
- path_lower: z.ZodOptional<z.ZodString>;
100
- path_display: z.ZodOptional<z.ZodString>;
101
- }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
102
- '.tag': z.ZodLiteral<"deleted">;
103
- name: z.ZodString;
104
- path_lower: z.ZodOptional<z.ZodString>;
105
- path_display: z.ZodOptional<z.ZodString>;
106
- }, z.core.$catchall<z.ZodJSONSchema>>], ".tag">;
107
- }, z.core.$catchall<z.ZodJSONSchema>>;
108
- idempotent: boolean;
109
- run({ client, input, req }: DropboxRunArgs<typeof transferInput>): Promise<{
34
+ '.tag': "file";
35
+ name: string;
36
+ id: string;
37
+ path_lower?: string | undefined;
38
+ path_display?: string | undefined;
39
+ client_modified?: string | undefined;
40
+ server_modified?: string | undefined;
41
+ rev?: string | undefined;
42
+ size?: number | undefined;
43
+ } | {
110
44
  [x: string]: z.core.util.JSONType;
111
- metadata: {
112
- [x: string]: z.core.util.JSONType;
113
- '.tag': "file";
114
- name: string;
115
- id: string;
116
- path_lower?: string | undefined;
117
- path_display?: string | undefined;
118
- client_modified?: string | undefined;
119
- server_modified?: string | undefined;
120
- rev?: string | undefined;
121
- size?: number | undefined;
122
- } | {
123
- [x: string]: z.core.util.JSONType;
124
- '.tag': "folder";
125
- name: string;
126
- id: string;
127
- path_lower?: string | undefined;
128
- path_display?: string | undefined;
129
- } | {
130
- [x: string]: z.core.util.JSONType;
131
- '.tag': "deleted";
132
- name: string;
133
- path_lower?: string | undefined;
134
- path_display?: string | undefined;
135
- };
136
- }>;
45
+ '.tag': "folder";
46
+ name: string;
47
+ id: string;
48
+ path_lower?: string | undefined;
49
+ path_display?: string | undefined;
50
+ } | {
51
+ [x: string]: z.core.util.JSONType;
52
+ '.tag': "deleted";
53
+ name: string;
54
+ path_lower?: string | undefined;
55
+ path_display?: string | undefined;
56
+ };
57
+ }> & {
58
+ slug: "copyFile";
137
59
  };
138
- export declare const moveFile: {
139
- slug: "copyFile" | "copyFolder" | "moveFile" | "moveFolder";
140
- description: string;
141
- input: z.ZodObject<{
142
- fromPath: z.ZodString;
143
- toPath: z.ZodString;
144
- autorename: z.ZodDefault<z.ZodBoolean>;
145
- allowOwnershipTransfer: z.ZodDefault<z.ZodBoolean>;
146
- }, z.core.$strip>;
147
- output: z.ZodObject<{
148
- metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
149
- '.tag': z.ZodLiteral<"file">;
150
- name: z.ZodString;
151
- id: z.ZodString;
152
- path_lower: z.ZodOptional<z.ZodString>;
153
- path_display: z.ZodOptional<z.ZodString>;
154
- client_modified: z.ZodOptional<z.ZodString>;
155
- server_modified: z.ZodOptional<z.ZodString>;
156
- rev: z.ZodOptional<z.ZodString>;
157
- size: z.ZodOptional<z.ZodNumber>;
158
- }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
159
- '.tag': z.ZodLiteral<"folder">;
160
- name: z.ZodString;
161
- id: z.ZodString;
162
- path_lower: z.ZodOptional<z.ZodString>;
163
- path_display: z.ZodOptional<z.ZodString>;
164
- }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
165
- '.tag': z.ZodLiteral<"deleted">;
166
- name: z.ZodString;
167
- path_lower: z.ZodOptional<z.ZodString>;
168
- path_display: z.ZodOptional<z.ZodString>;
169
- }, z.core.$catchall<z.ZodJSONSchema>>], ".tag">;
170
- }, z.core.$catchall<z.ZodJSONSchema>>;
171
- idempotent: boolean;
172
- run({ client, input, req }: DropboxRunArgs<typeof transferInput>): Promise<{
60
+ export declare const copyFolder: import("frogbot").PieceActionDefinition<z.ZodObject<{
61
+ fromPath: z.ZodString;
62
+ toPath: z.ZodString;
63
+ autorename: z.ZodDefault<z.ZodBoolean>;
64
+ allowOwnershipTransfer: z.ZodDefault<z.ZodBoolean>;
65
+ }, z.core.$strip>, z.ZodObject<{
66
+ metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
67
+ '.tag': z.ZodLiteral<"file">;
68
+ name: z.ZodString;
69
+ id: z.ZodString;
70
+ path_lower: z.ZodOptional<z.ZodString>;
71
+ path_display: z.ZodOptional<z.ZodString>;
72
+ client_modified: z.ZodOptional<z.ZodString>;
73
+ server_modified: z.ZodOptional<z.ZodString>;
74
+ rev: z.ZodOptional<z.ZodString>;
75
+ size: z.ZodOptional<z.ZodNumber>;
76
+ }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
77
+ '.tag': z.ZodLiteral<"folder">;
78
+ name: z.ZodString;
79
+ id: z.ZodString;
80
+ path_lower: z.ZodOptional<z.ZodString>;
81
+ path_display: z.ZodOptional<z.ZodString>;
82
+ }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
83
+ '.tag': z.ZodLiteral<"deleted">;
84
+ name: z.ZodString;
85
+ path_lower: z.ZodOptional<z.ZodString>;
86
+ path_display: z.ZodOptional<z.ZodString>;
87
+ }, z.core.$catchall<z.ZodJSONSchema>>], ".tag">;
88
+ }, z.core.$catchall<z.ZodJSONSchema>>, Record<string, never>, import("../client.js").DropboxClient, {
89
+ [x: string]: z.core.util.JSONType;
90
+ metadata: {
173
91
  [x: string]: z.core.util.JSONType;
174
- metadata: {
175
- [x: string]: z.core.util.JSONType;
176
- '.tag': "file";
177
- name: string;
178
- id: string;
179
- path_lower?: string | undefined;
180
- path_display?: string | undefined;
181
- client_modified?: string | undefined;
182
- server_modified?: string | undefined;
183
- rev?: string | undefined;
184
- size?: number | undefined;
185
- } | {
186
- [x: string]: z.core.util.JSONType;
187
- '.tag': "folder";
188
- name: string;
189
- id: string;
190
- path_lower?: string | undefined;
191
- path_display?: string | undefined;
192
- } | {
193
- [x: string]: z.core.util.JSONType;
194
- '.tag': "deleted";
195
- name: string;
196
- path_lower?: string | undefined;
197
- path_display?: string | undefined;
198
- };
199
- }>;
92
+ '.tag': "file";
93
+ name: string;
94
+ id: string;
95
+ path_lower?: string | undefined;
96
+ path_display?: string | undefined;
97
+ client_modified?: string | undefined;
98
+ server_modified?: string | undefined;
99
+ rev?: string | undefined;
100
+ size?: number | undefined;
101
+ } | {
102
+ [x: string]: z.core.util.JSONType;
103
+ '.tag': "folder";
104
+ name: string;
105
+ id: string;
106
+ path_lower?: string | undefined;
107
+ path_display?: string | undefined;
108
+ } | {
109
+ [x: string]: z.core.util.JSONType;
110
+ '.tag': "deleted";
111
+ name: string;
112
+ path_lower?: string | undefined;
113
+ path_display?: string | undefined;
114
+ };
115
+ }> & {
116
+ slug: "copyFolder";
200
117
  };
201
- export declare const moveFolder: {
202
- slug: "copyFile" | "copyFolder" | "moveFile" | "moveFolder";
203
- description: string;
204
- input: z.ZodObject<{
205
- fromPath: z.ZodString;
206
- toPath: z.ZodString;
207
- autorename: z.ZodDefault<z.ZodBoolean>;
208
- allowOwnershipTransfer: z.ZodDefault<z.ZodBoolean>;
209
- }, z.core.$strip>;
210
- output: z.ZodObject<{
211
- metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
212
- '.tag': z.ZodLiteral<"file">;
213
- name: z.ZodString;
214
- id: z.ZodString;
215
- path_lower: z.ZodOptional<z.ZodString>;
216
- path_display: z.ZodOptional<z.ZodString>;
217
- client_modified: z.ZodOptional<z.ZodString>;
218
- server_modified: z.ZodOptional<z.ZodString>;
219
- rev: z.ZodOptional<z.ZodString>;
220
- size: z.ZodOptional<z.ZodNumber>;
221
- }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
222
- '.tag': z.ZodLiteral<"folder">;
223
- name: z.ZodString;
224
- id: z.ZodString;
225
- path_lower: z.ZodOptional<z.ZodString>;
226
- path_display: z.ZodOptional<z.ZodString>;
227
- }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
228
- '.tag': z.ZodLiteral<"deleted">;
229
- name: z.ZodString;
230
- path_lower: z.ZodOptional<z.ZodString>;
231
- path_display: z.ZodOptional<z.ZodString>;
232
- }, z.core.$catchall<z.ZodJSONSchema>>], ".tag">;
233
- }, z.core.$catchall<z.ZodJSONSchema>>;
234
- idempotent: boolean;
235
- run({ client, input, req }: DropboxRunArgs<typeof transferInput>): Promise<{
118
+ export declare const moveFile: import("frogbot").PieceActionDefinition<z.ZodObject<{
119
+ fromPath: z.ZodString;
120
+ toPath: z.ZodString;
121
+ autorename: z.ZodDefault<z.ZodBoolean>;
122
+ allowOwnershipTransfer: z.ZodDefault<z.ZodBoolean>;
123
+ }, z.core.$strip>, z.ZodObject<{
124
+ metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
125
+ '.tag': z.ZodLiteral<"file">;
126
+ name: z.ZodString;
127
+ id: z.ZodString;
128
+ path_lower: z.ZodOptional<z.ZodString>;
129
+ path_display: z.ZodOptional<z.ZodString>;
130
+ client_modified: z.ZodOptional<z.ZodString>;
131
+ server_modified: z.ZodOptional<z.ZodString>;
132
+ rev: z.ZodOptional<z.ZodString>;
133
+ size: z.ZodOptional<z.ZodNumber>;
134
+ }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
135
+ '.tag': z.ZodLiteral<"folder">;
136
+ name: z.ZodString;
137
+ id: z.ZodString;
138
+ path_lower: z.ZodOptional<z.ZodString>;
139
+ path_display: z.ZodOptional<z.ZodString>;
140
+ }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
141
+ '.tag': z.ZodLiteral<"deleted">;
142
+ name: z.ZodString;
143
+ path_lower: z.ZodOptional<z.ZodString>;
144
+ path_display: z.ZodOptional<z.ZodString>;
145
+ }, z.core.$catchall<z.ZodJSONSchema>>], ".tag">;
146
+ }, z.core.$catchall<z.ZodJSONSchema>>, Record<string, never>, import("../client.js").DropboxClient, {
147
+ [x: string]: z.core.util.JSONType;
148
+ metadata: {
149
+ [x: string]: z.core.util.JSONType;
150
+ '.tag': "file";
151
+ name: string;
152
+ id: string;
153
+ path_lower?: string | undefined;
154
+ path_display?: string | undefined;
155
+ client_modified?: string | undefined;
156
+ server_modified?: string | undefined;
157
+ rev?: string | undefined;
158
+ size?: number | undefined;
159
+ } | {
160
+ [x: string]: z.core.util.JSONType;
161
+ '.tag': "folder";
162
+ name: string;
163
+ id: string;
164
+ path_lower?: string | undefined;
165
+ path_display?: string | undefined;
166
+ } | {
236
167
  [x: string]: z.core.util.JSONType;
237
- metadata: {
238
- [x: string]: z.core.util.JSONType;
239
- '.tag': "file";
240
- name: string;
241
- id: string;
242
- path_lower?: string | undefined;
243
- path_display?: string | undefined;
244
- client_modified?: string | undefined;
245
- server_modified?: string | undefined;
246
- rev?: string | undefined;
247
- size?: number | undefined;
248
- } | {
249
- [x: string]: z.core.util.JSONType;
250
- '.tag': "folder";
251
- name: string;
252
- id: string;
253
- path_lower?: string | undefined;
254
- path_display?: string | undefined;
255
- } | {
256
- [x: string]: z.core.util.JSONType;
257
- '.tag': "deleted";
258
- name: string;
259
- path_lower?: string | undefined;
260
- path_display?: string | undefined;
261
- };
262
- }>;
168
+ '.tag': "deleted";
169
+ name: string;
170
+ path_lower?: string | undefined;
171
+ path_display?: string | undefined;
172
+ };
173
+ }> & {
174
+ slug: "moveFile";
263
175
  };
264
- export declare const deleteFile: {
265
- slug: "deleteFile" | "deleteFolder";
266
- description: string;
267
- input: z.ZodObject<{
268
- path: z.ZodString;
269
- }, z.core.$strip>;
270
- output: z.ZodObject<{
271
- metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
272
- '.tag': z.ZodLiteral<"file">;
273
- name: z.ZodString;
274
- id: z.ZodString;
275
- path_lower: z.ZodOptional<z.ZodString>;
276
- path_display: z.ZodOptional<z.ZodString>;
277
- client_modified: z.ZodOptional<z.ZodString>;
278
- server_modified: z.ZodOptional<z.ZodString>;
279
- rev: z.ZodOptional<z.ZodString>;
280
- size: z.ZodOptional<z.ZodNumber>;
281
- }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
282
- '.tag': z.ZodLiteral<"folder">;
283
- name: z.ZodString;
284
- id: z.ZodString;
285
- path_lower: z.ZodOptional<z.ZodString>;
286
- path_display: z.ZodOptional<z.ZodString>;
287
- }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
288
- '.tag': z.ZodLiteral<"deleted">;
289
- name: z.ZodString;
290
- path_lower: z.ZodOptional<z.ZodString>;
291
- path_display: z.ZodOptional<z.ZodString>;
292
- }, z.core.$catchall<z.ZodJSONSchema>>], ".tag">;
293
- }, z.core.$catchall<z.ZodJSONSchema>>;
294
- idempotent: boolean;
295
- run({ client, input, req }: DropboxRunArgs<typeof pathInput>): Promise<{
176
+ export declare const moveFolder: import("frogbot").PieceActionDefinition<z.ZodObject<{
177
+ fromPath: z.ZodString;
178
+ toPath: z.ZodString;
179
+ autorename: z.ZodDefault<z.ZodBoolean>;
180
+ allowOwnershipTransfer: z.ZodDefault<z.ZodBoolean>;
181
+ }, z.core.$strip>, z.ZodObject<{
182
+ metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
183
+ '.tag': z.ZodLiteral<"file">;
184
+ name: z.ZodString;
185
+ id: z.ZodString;
186
+ path_lower: z.ZodOptional<z.ZodString>;
187
+ path_display: z.ZodOptional<z.ZodString>;
188
+ client_modified: z.ZodOptional<z.ZodString>;
189
+ server_modified: z.ZodOptional<z.ZodString>;
190
+ rev: z.ZodOptional<z.ZodString>;
191
+ size: z.ZodOptional<z.ZodNumber>;
192
+ }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
193
+ '.tag': z.ZodLiteral<"folder">;
194
+ name: z.ZodString;
195
+ id: z.ZodString;
196
+ path_lower: z.ZodOptional<z.ZodString>;
197
+ path_display: z.ZodOptional<z.ZodString>;
198
+ }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
199
+ '.tag': z.ZodLiteral<"deleted">;
200
+ name: z.ZodString;
201
+ path_lower: z.ZodOptional<z.ZodString>;
202
+ path_display: z.ZodOptional<z.ZodString>;
203
+ }, z.core.$catchall<z.ZodJSONSchema>>], ".tag">;
204
+ }, z.core.$catchall<z.ZodJSONSchema>>, Record<string, never>, import("../client.js").DropboxClient, {
205
+ [x: string]: z.core.util.JSONType;
206
+ metadata: {
207
+ [x: string]: z.core.util.JSONType;
208
+ '.tag': "file";
209
+ name: string;
210
+ id: string;
211
+ path_lower?: string | undefined;
212
+ path_display?: string | undefined;
213
+ client_modified?: string | undefined;
214
+ server_modified?: string | undefined;
215
+ rev?: string | undefined;
216
+ size?: number | undefined;
217
+ } | {
296
218
  [x: string]: z.core.util.JSONType;
297
- metadata: {
298
- [x: string]: z.core.util.JSONType;
299
- '.tag': "file";
300
- name: string;
301
- id: string;
302
- path_lower?: string | undefined;
303
- path_display?: string | undefined;
304
- client_modified?: string | undefined;
305
- server_modified?: string | undefined;
306
- rev?: string | undefined;
307
- size?: number | undefined;
308
- } | {
309
- [x: string]: z.core.util.JSONType;
310
- '.tag': "folder";
311
- name: string;
312
- id: string;
313
- path_lower?: string | undefined;
314
- path_display?: string | undefined;
315
- } | {
316
- [x: string]: z.core.util.JSONType;
317
- '.tag': "deleted";
318
- name: string;
319
- path_lower?: string | undefined;
320
- path_display?: string | undefined;
321
- };
322
- }>;
219
+ '.tag': "folder";
220
+ name: string;
221
+ id: string;
222
+ path_lower?: string | undefined;
223
+ path_display?: string | undefined;
224
+ } | {
225
+ [x: string]: z.core.util.JSONType;
226
+ '.tag': "deleted";
227
+ name: string;
228
+ path_lower?: string | undefined;
229
+ path_display?: string | undefined;
230
+ };
231
+ }> & {
232
+ slug: "moveFolder";
323
233
  };
324
- export declare const deleteFolder: {
325
- slug: "deleteFile" | "deleteFolder";
326
- description: string;
327
- input: z.ZodObject<{
328
- path: z.ZodString;
329
- }, z.core.$strip>;
330
- output: z.ZodObject<{
331
- metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
332
- '.tag': z.ZodLiteral<"file">;
333
- name: z.ZodString;
334
- id: z.ZodString;
335
- path_lower: z.ZodOptional<z.ZodString>;
336
- path_display: z.ZodOptional<z.ZodString>;
337
- client_modified: z.ZodOptional<z.ZodString>;
338
- server_modified: z.ZodOptional<z.ZodString>;
339
- rev: z.ZodOptional<z.ZodString>;
340
- size: z.ZodOptional<z.ZodNumber>;
341
- }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
342
- '.tag': z.ZodLiteral<"folder">;
343
- name: z.ZodString;
344
- id: z.ZodString;
345
- path_lower: z.ZodOptional<z.ZodString>;
346
- path_display: z.ZodOptional<z.ZodString>;
347
- }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
348
- '.tag': z.ZodLiteral<"deleted">;
349
- name: z.ZodString;
350
- path_lower: z.ZodOptional<z.ZodString>;
351
- path_display: z.ZodOptional<z.ZodString>;
352
- }, z.core.$catchall<z.ZodJSONSchema>>], ".tag">;
353
- }, z.core.$catchall<z.ZodJSONSchema>>;
354
- idempotent: boolean;
355
- run({ client, input, req }: DropboxRunArgs<typeof pathInput>): Promise<{
234
+ export declare const deleteFile: import("frogbot").PieceActionDefinition<z.ZodObject<{
235
+ path: z.ZodString;
236
+ }, z.core.$strip>, z.ZodObject<{
237
+ metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
238
+ '.tag': z.ZodLiteral<"file">;
239
+ name: z.ZodString;
240
+ id: z.ZodString;
241
+ path_lower: z.ZodOptional<z.ZodString>;
242
+ path_display: z.ZodOptional<z.ZodString>;
243
+ client_modified: z.ZodOptional<z.ZodString>;
244
+ server_modified: z.ZodOptional<z.ZodString>;
245
+ rev: z.ZodOptional<z.ZodString>;
246
+ size: z.ZodOptional<z.ZodNumber>;
247
+ }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
248
+ '.tag': z.ZodLiteral<"folder">;
249
+ name: z.ZodString;
250
+ id: z.ZodString;
251
+ path_lower: z.ZodOptional<z.ZodString>;
252
+ path_display: z.ZodOptional<z.ZodString>;
253
+ }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
254
+ '.tag': z.ZodLiteral<"deleted">;
255
+ name: z.ZodString;
256
+ path_lower: z.ZodOptional<z.ZodString>;
257
+ path_display: z.ZodOptional<z.ZodString>;
258
+ }, z.core.$catchall<z.ZodJSONSchema>>], ".tag">;
259
+ }, z.core.$catchall<z.ZodJSONSchema>>, Record<string, never>, import("../client.js").DropboxClient, {
260
+ [x: string]: z.core.util.JSONType;
261
+ metadata: {
262
+ [x: string]: z.core.util.JSONType;
263
+ '.tag': "file";
264
+ name: string;
265
+ id: string;
266
+ path_lower?: string | undefined;
267
+ path_display?: string | undefined;
268
+ client_modified?: string | undefined;
269
+ server_modified?: string | undefined;
270
+ rev?: string | undefined;
271
+ size?: number | undefined;
272
+ } | {
273
+ [x: string]: z.core.util.JSONType;
274
+ '.tag': "folder";
275
+ name: string;
276
+ id: string;
277
+ path_lower?: string | undefined;
278
+ path_display?: string | undefined;
279
+ } | {
356
280
  [x: string]: z.core.util.JSONType;
357
- metadata: {
358
- [x: string]: z.core.util.JSONType;
359
- '.tag': "file";
360
- name: string;
361
- id: string;
362
- path_lower?: string | undefined;
363
- path_display?: string | undefined;
364
- client_modified?: string | undefined;
365
- server_modified?: string | undefined;
366
- rev?: string | undefined;
367
- size?: number | undefined;
368
- } | {
369
- [x: string]: z.core.util.JSONType;
370
- '.tag': "folder";
371
- name: string;
372
- id: string;
373
- path_lower?: string | undefined;
374
- path_display?: string | undefined;
375
- } | {
376
- [x: string]: z.core.util.JSONType;
377
- '.tag': "deleted";
378
- name: string;
379
- path_lower?: string | undefined;
380
- path_display?: string | undefined;
381
- };
382
- }>;
281
+ '.tag': "deleted";
282
+ name: string;
283
+ path_lower?: string | undefined;
284
+ path_display?: string | undefined;
285
+ };
286
+ }> & {
287
+ slug: "deleteFile";
383
288
  };
384
- declare const createFolderInput: z.ZodObject<{
289
+ export declare const deleteFolder: import("frogbot").PieceActionDefinition<z.ZodObject<{
385
290
  path: z.ZodString;
386
- autorename: z.ZodDefault<z.ZodBoolean>;
387
- }, z.core.$strip>;
388
- export declare const createFolder: {
389
- slug: string;
390
- description: string;
391
- input: z.ZodObject<{
392
- path: z.ZodString;
393
- autorename: z.ZodDefault<z.ZodBoolean>;
394
- }, z.core.$strip>;
395
- output: z.ZodObject<{
396
- metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
397
- '.tag': z.ZodLiteral<"file">;
398
- name: z.ZodString;
399
- id: z.ZodString;
400
- path_lower: z.ZodOptional<z.ZodString>;
401
- path_display: z.ZodOptional<z.ZodString>;
402
- client_modified: z.ZodOptional<z.ZodString>;
403
- server_modified: z.ZodOptional<z.ZodString>;
404
- rev: z.ZodOptional<z.ZodString>;
405
- size: z.ZodOptional<z.ZodNumber>;
406
- }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
407
- '.tag': z.ZodLiteral<"folder">;
408
- name: z.ZodString;
409
- id: z.ZodString;
410
- path_lower: z.ZodOptional<z.ZodString>;
411
- path_display: z.ZodOptional<z.ZodString>;
412
- }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
413
- '.tag': z.ZodLiteral<"deleted">;
414
- name: z.ZodString;
415
- path_lower: z.ZodOptional<z.ZodString>;
416
- path_display: z.ZodOptional<z.ZodString>;
417
- }, z.core.$catchall<z.ZodJSONSchema>>], ".tag">;
418
- }, z.core.$catchall<z.ZodJSONSchema>>;
419
- idempotent: boolean;
420
- run({ client, input, req }: DropboxRunArgs<typeof createFolderInput>): Promise<{
291
+ }, z.core.$strip>, z.ZodObject<{
292
+ metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
293
+ '.tag': z.ZodLiteral<"file">;
294
+ name: z.ZodString;
295
+ id: z.ZodString;
296
+ path_lower: z.ZodOptional<z.ZodString>;
297
+ path_display: z.ZodOptional<z.ZodString>;
298
+ client_modified: z.ZodOptional<z.ZodString>;
299
+ server_modified: z.ZodOptional<z.ZodString>;
300
+ rev: z.ZodOptional<z.ZodString>;
301
+ size: z.ZodOptional<z.ZodNumber>;
302
+ }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
303
+ '.tag': z.ZodLiteral<"folder">;
304
+ name: z.ZodString;
305
+ id: z.ZodString;
306
+ path_lower: z.ZodOptional<z.ZodString>;
307
+ path_display: z.ZodOptional<z.ZodString>;
308
+ }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
309
+ '.tag': z.ZodLiteral<"deleted">;
310
+ name: z.ZodString;
311
+ path_lower: z.ZodOptional<z.ZodString>;
312
+ path_display: z.ZodOptional<z.ZodString>;
313
+ }, z.core.$catchall<z.ZodJSONSchema>>], ".tag">;
314
+ }, z.core.$catchall<z.ZodJSONSchema>>, Record<string, never>, import("../client.js").DropboxClient, {
315
+ [x: string]: z.core.util.JSONType;
316
+ metadata: {
317
+ [x: string]: z.core.util.JSONType;
318
+ '.tag': "file";
319
+ name: string;
320
+ id: string;
321
+ path_lower?: string | undefined;
322
+ path_display?: string | undefined;
323
+ client_modified?: string | undefined;
324
+ server_modified?: string | undefined;
325
+ rev?: string | undefined;
326
+ size?: number | undefined;
327
+ } | {
328
+ [x: string]: z.core.util.JSONType;
329
+ '.tag': "folder";
330
+ name: string;
331
+ id: string;
332
+ path_lower?: string | undefined;
333
+ path_display?: string | undefined;
334
+ } | {
421
335
  [x: string]: z.core.util.JSONType;
422
- metadata: {
423
- [x: string]: z.core.util.JSONType;
424
- '.tag': "file";
425
- name: string;
426
- id: string;
427
- path_lower?: string | undefined;
428
- path_display?: string | undefined;
429
- client_modified?: string | undefined;
430
- server_modified?: string | undefined;
431
- rev?: string | undefined;
432
- size?: number | undefined;
433
- } | {
434
- [x: string]: z.core.util.JSONType;
435
- '.tag': "folder";
436
- name: string;
437
- id: string;
438
- path_lower?: string | undefined;
439
- path_display?: string | undefined;
440
- } | {
441
- [x: string]: z.core.util.JSONType;
442
- '.tag': "deleted";
443
- name: string;
444
- path_lower?: string | undefined;
445
- path_display?: string | undefined;
446
- };
447
- }>;
336
+ '.tag': "deleted";
337
+ name: string;
338
+ path_lower?: string | undefined;
339
+ path_display?: string | undefined;
340
+ };
341
+ }> & {
342
+ slug: "deleteFolder";
448
343
  };
449
- declare const createTextFileInput: z.ZodObject<{
450
- autorename: z.ZodDefault<z.ZodBoolean>;
451
- mute: z.ZodOptional<z.ZodBoolean>;
452
- strictConflict: z.ZodOptional<z.ZodBoolean>;
344
+ export declare const createFolder: import("frogbot").PieceActionDefinition<z.ZodObject<{
453
345
  path: z.ZodString;
454
- text: z.ZodString;
455
- }, z.core.$strip>;
456
- export declare const createTextFile: {
457
- slug: string;
458
- description: string;
459
- input: z.ZodObject<{
460
- autorename: z.ZodDefault<z.ZodBoolean>;
461
- mute: z.ZodOptional<z.ZodBoolean>;
462
- strictConflict: z.ZodOptional<z.ZodBoolean>;
463
- path: z.ZodString;
464
- text: z.ZodString;
465
- }, z.core.$strip>;
466
- output: z.ZodDiscriminatedUnion<[z.ZodObject<{
346
+ autorename: z.ZodDefault<z.ZodBoolean>;
347
+ }, z.core.$strip>, z.ZodObject<{
348
+ metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
467
349
  '.tag': z.ZodLiteral<"file">;
468
350
  name: z.ZodString;
469
351
  id: z.ZodString;
@@ -485,8 +367,9 @@ export declare const createTextFile: {
485
367
  path_lower: z.ZodOptional<z.ZodString>;
486
368
  path_display: z.ZodOptional<z.ZodString>;
487
369
  }, z.core.$catchall<z.ZodJSONSchema>>], ".tag">;
488
- idempotent: boolean;
489
- run({ client, input, req }: DropboxRunArgs<typeof createTextFileInput>): Promise<{
370
+ }, z.core.$catchall<z.ZodJSONSchema>>, Record<string, never>, import("../client.js").DropboxClient, {
371
+ [x: string]: z.core.util.JSONType;
372
+ metadata: {
490
373
  [x: string]: z.core.util.JSONType;
491
374
  '.tag': "file";
492
375
  name: string;
@@ -510,9 +393,65 @@ export declare const createTextFile: {
510
393
  name: string;
511
394
  path_lower?: string | undefined;
512
395
  path_display?: string | undefined;
513
- }>;
396
+ };
397
+ }> & {
398
+ slug: "createFolder";
514
399
  };
515
- declare const uploadFileInput: z.ZodObject<{
400
+ export declare const createTextFile: import("frogbot").PieceActionDefinition<z.ZodObject<{
401
+ autorename: z.ZodDefault<z.ZodBoolean>;
402
+ mute: z.ZodOptional<z.ZodBoolean>;
403
+ strictConflict: z.ZodOptional<z.ZodBoolean>;
404
+ path: z.ZodString;
405
+ text: z.ZodString;
406
+ }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
407
+ '.tag': z.ZodLiteral<"file">;
408
+ name: z.ZodString;
409
+ id: z.ZodString;
410
+ path_lower: z.ZodOptional<z.ZodString>;
411
+ path_display: z.ZodOptional<z.ZodString>;
412
+ client_modified: z.ZodOptional<z.ZodString>;
413
+ server_modified: z.ZodOptional<z.ZodString>;
414
+ rev: z.ZodOptional<z.ZodString>;
415
+ size: z.ZodOptional<z.ZodNumber>;
416
+ }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
417
+ '.tag': z.ZodLiteral<"folder">;
418
+ name: z.ZodString;
419
+ id: z.ZodString;
420
+ path_lower: z.ZodOptional<z.ZodString>;
421
+ path_display: z.ZodOptional<z.ZodString>;
422
+ }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
423
+ '.tag': z.ZodLiteral<"deleted">;
424
+ name: z.ZodString;
425
+ path_lower: z.ZodOptional<z.ZodString>;
426
+ path_display: z.ZodOptional<z.ZodString>;
427
+ }, z.core.$catchall<z.ZodJSONSchema>>], ".tag">, Record<string, never>, import("../client.js").DropboxClient, {
428
+ [x: string]: z.core.util.JSONType;
429
+ '.tag': "file";
430
+ name: string;
431
+ id: string;
432
+ path_lower?: string | undefined;
433
+ path_display?: string | undefined;
434
+ client_modified?: string | undefined;
435
+ server_modified?: string | undefined;
436
+ rev?: string | undefined;
437
+ size?: number | undefined;
438
+ } | {
439
+ [x: string]: z.core.util.JSONType;
440
+ '.tag': "folder";
441
+ name: string;
442
+ id: string;
443
+ path_lower?: string | undefined;
444
+ path_display?: string | undefined;
445
+ } | {
446
+ [x: string]: z.core.util.JSONType;
447
+ '.tag': "deleted";
448
+ name: string;
449
+ path_lower?: string | undefined;
450
+ path_display?: string | undefined;
451
+ }> & {
452
+ slug: "createTextFile";
453
+ };
454
+ export declare const uploadFile: import("frogbot").PieceActionDefinition<z.ZodObject<{
516
455
  autorename: z.ZodDefault<z.ZodBoolean>;
517
456
  mute: z.ZodOptional<z.ZodBoolean>;
518
457
  strictConflict: z.ZodOptional<z.ZodBoolean>;
@@ -521,21 +460,79 @@ declare const uploadFileInput: z.ZodObject<{
521
460
  fileId: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
522
461
  name: z.ZodOptional<z.ZodString>;
523
462
  }, z.core.$strip>;
524
- }, z.core.$strip>;
525
- export declare const uploadFile: {
526
- slug: string;
527
- description: string;
528
- input: z.ZodObject<{
529
- autorename: z.ZodDefault<z.ZodBoolean>;
530
- mute: z.ZodOptional<z.ZodBoolean>;
531
- strictConflict: z.ZodOptional<z.ZodBoolean>;
532
- path: z.ZodString;
533
- file: z.ZodObject<{
534
- fileId: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
535
- name: z.ZodOptional<z.ZodString>;
536
- }, z.core.$strip>;
463
+ }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
464
+ '.tag': z.ZodLiteral<"file">;
465
+ name: z.ZodString;
466
+ id: z.ZodString;
467
+ path_lower: z.ZodOptional<z.ZodString>;
468
+ path_display: z.ZodOptional<z.ZodString>;
469
+ client_modified: z.ZodOptional<z.ZodString>;
470
+ server_modified: z.ZodOptional<z.ZodString>;
471
+ rev: z.ZodOptional<z.ZodString>;
472
+ size: z.ZodOptional<z.ZodNumber>;
473
+ }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
474
+ '.tag': z.ZodLiteral<"folder">;
475
+ name: z.ZodString;
476
+ id: z.ZodString;
477
+ path_lower: z.ZodOptional<z.ZodString>;
478
+ path_display: z.ZodOptional<z.ZodString>;
479
+ }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
480
+ '.tag': z.ZodLiteral<"deleted">;
481
+ name: z.ZodString;
482
+ path_lower: z.ZodOptional<z.ZodString>;
483
+ path_display: z.ZodOptional<z.ZodString>;
484
+ }, z.core.$catchall<z.ZodJSONSchema>>], ".tag">, Record<string, never>, import("../client.js").DropboxClient, {
485
+ [x: string]: z.core.util.JSONType;
486
+ '.tag': "file";
487
+ name: string;
488
+ id: string;
489
+ path_lower?: string | undefined;
490
+ path_display?: string | undefined;
491
+ client_modified?: string | undefined;
492
+ server_modified?: string | undefined;
493
+ rev?: string | undefined;
494
+ size?: number | undefined;
495
+ } | {
496
+ [x: string]: z.core.util.JSONType;
497
+ '.tag': "folder";
498
+ name: string;
499
+ id: string;
500
+ path_lower?: string | undefined;
501
+ path_display?: string | undefined;
502
+ } | {
503
+ [x: string]: z.core.util.JSONType;
504
+ '.tag': "deleted";
505
+ name: string;
506
+ path_lower?: string | undefined;
507
+ path_display?: string | undefined;
508
+ }> & {
509
+ slug: "uploadFile";
510
+ };
511
+ export declare const downloadFile: import("frogbot").PieceActionDefinition<z.ZodObject<{
512
+ path: z.ZodString;
513
+ }, z.core.$strip>, z.ZodObject<{
514
+ file: z.ZodObject<{
515
+ id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
516
+ name: z.ZodString;
517
+ mimeType: z.ZodString;
518
+ size: z.ZodNumber;
519
+ url: z.ZodOptional<z.ZodString>;
537
520
  }, z.core.$strip>;
538
- output: z.ZodDiscriminatedUnion<[z.ZodObject<{
521
+ }, z.core.$strip>, Record<string, never>, import("../client.js").DropboxClient, {
522
+ file: {
523
+ id: string | number;
524
+ name: string;
525
+ mimeType: string;
526
+ size: number;
527
+ url?: string | undefined;
528
+ };
529
+ }> & {
530
+ slug: "downloadFile";
531
+ };
532
+ export declare const getTemporaryLink: import("frogbot").PieceActionDefinition<z.ZodObject<{
533
+ path: z.ZodString;
534
+ }, z.core.$strip>, z.ZodObject<{
535
+ metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
539
536
  '.tag': z.ZodLiteral<"file">;
540
537
  name: z.ZodString;
541
538
  id: z.ZodString;
@@ -557,8 +554,10 @@ export declare const uploadFile: {
557
554
  path_lower: z.ZodOptional<z.ZodString>;
558
555
  path_display: z.ZodOptional<z.ZodString>;
559
556
  }, z.core.$catchall<z.ZodJSONSchema>>], ".tag">;
560
- idempotent: boolean;
561
- run({ client, input, req }: DropboxRunArgs<typeof uploadFileInput>): Promise<{
557
+ link: z.ZodString;
558
+ }, z.core.$catchall<z.ZodJSONSchema>>, Record<string, never>, import("../client.js").DropboxClient, {
559
+ [x: string]: z.core.util.JSONType;
560
+ metadata: {
562
561
  [x: string]: z.core.util.JSONType;
563
562
  '.tag': "file";
564
563
  name: string;
@@ -582,95 +581,9 @@ export declare const uploadFile: {
582
581
  name: string;
583
582
  path_lower?: string | undefined;
584
583
  path_display?: string | undefined;
585
- }>;
586
- };
587
- export declare const downloadFile: {
588
- slug: string;
589
- description: string;
590
- input: z.ZodObject<{
591
- path: z.ZodString;
592
- }, z.core.$strip>;
593
- output: z.ZodObject<{
594
- file: z.ZodObject<{
595
- id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
596
- name: z.ZodString;
597
- mimeType: z.ZodString;
598
- size: z.ZodNumber;
599
- url: z.ZodOptional<z.ZodString>;
600
- }, z.core.$strip>;
601
- }, z.core.$strip>;
602
- idempotent: boolean;
603
- run({ client, input, req }: DropboxRunArgs<typeof pathInput>): Promise<{
604
- file: {
605
- id: string | number;
606
- name: string;
607
- mimeType: string;
608
- size: number;
609
- url?: string | undefined;
610
- };
611
- }>;
612
- };
613
- export declare const getTemporaryLink: {
614
- slug: string;
615
- description: string;
616
- input: z.ZodObject<{
617
- path: z.ZodString;
618
- }, z.core.$strip>;
619
- output: z.ZodObject<{
620
- metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
621
- '.tag': z.ZodLiteral<"file">;
622
- name: z.ZodString;
623
- id: z.ZodString;
624
- path_lower: z.ZodOptional<z.ZodString>;
625
- path_display: z.ZodOptional<z.ZodString>;
626
- client_modified: z.ZodOptional<z.ZodString>;
627
- server_modified: z.ZodOptional<z.ZodString>;
628
- rev: z.ZodOptional<z.ZodString>;
629
- size: z.ZodOptional<z.ZodNumber>;
630
- }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
631
- '.tag': z.ZodLiteral<"folder">;
632
- name: z.ZodString;
633
- id: z.ZodString;
634
- path_lower: z.ZodOptional<z.ZodString>;
635
- path_display: z.ZodOptional<z.ZodString>;
636
- }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
637
- '.tag': z.ZodLiteral<"deleted">;
638
- name: z.ZodString;
639
- path_lower: z.ZodOptional<z.ZodString>;
640
- path_display: z.ZodOptional<z.ZodString>;
641
- }, z.core.$catchall<z.ZodJSONSchema>>], ".tag">;
642
- link: z.ZodString;
643
- }, z.core.$catchall<z.ZodJSONSchema>>;
644
- idempotent: boolean;
645
- run({ client, input, req }: DropboxRunArgs<typeof pathInput>): Promise<{
646
- [x: string]: z.core.util.JSONType;
647
- metadata: {
648
- [x: string]: z.core.util.JSONType;
649
- '.tag': "file";
650
- name: string;
651
- id: string;
652
- path_lower?: string | undefined;
653
- path_display?: string | undefined;
654
- client_modified?: string | undefined;
655
- server_modified?: string | undefined;
656
- rev?: string | undefined;
657
- size?: number | undefined;
658
- } | {
659
- [x: string]: z.core.util.JSONType;
660
- '.tag': "folder";
661
- name: string;
662
- id: string;
663
- path_lower?: string | undefined;
664
- path_display?: string | undefined;
665
- } | {
666
- [x: string]: z.core.util.JSONType;
667
- '.tag': "deleted";
668
- name: string;
669
- path_lower?: string | undefined;
670
- path_display?: string | undefined;
671
- };
672
- link: string;
673
- }>;
584
+ };
585
+ link: string;
586
+ }> & {
587
+ slug: "getTemporaryLink";
674
588
  };
675
- export {};
676
589
  //# sourceMappingURL=files.d.ts.map