@divyacon/piece-google-drive 0.0.0-stage → 0.1.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.
Files changed (293) hide show
  1. package/LICENSE.MIT-AP +24 -0
  2. package/dist/index.d.ts +6 -0
  3. package/dist/index.d.ts.map +1 -0
  4. package/dist/index.js +155 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/lib/action/add-permission.action.d.ts +11 -0
  7. package/dist/lib/action/add-permission.action.d.ts.map +1 -0
  8. package/dist/lib/action/add-permission.action.js +83 -0
  9. package/dist/lib/action/add-permission.action.js.map +1 -0
  10. package/dist/lib/action/create-new-folder.d.ts +12 -0
  11. package/dist/lib/action/create-new-folder.d.ts.map +1 -0
  12. package/dist/lib/action/create-new-folder.js +43 -0
  13. package/dist/lib/action/create-new-folder.js.map +1 -0
  14. package/dist/lib/action/create-new-text-file.d.ts +14 -0
  15. package/dist/lib/action/create-new-text-file.d.ts.map +1 -0
  16. package/dist/lib/action/create-new-text-file.js +81 -0
  17. package/dist/lib/action/create-new-text-file.js.map +1 -0
  18. package/dist/lib/action/delete-file.d.ts +8 -0
  19. package/dist/lib/action/delete-file.d.ts.map +1 -0
  20. package/dist/lib/action/delete-file.js +38 -0
  21. package/dist/lib/action/delete-file.js.map +1 -0
  22. package/dist/lib/action/delete-permission.action.d.ts +9 -0
  23. package/dist/lib/action/delete-permission.action.d.ts.map +1 -0
  24. package/dist/lib/action/delete-permission.action.js +84 -0
  25. package/dist/lib/action/delete-permission.action.js.map +1 -0
  26. package/dist/lib/action/drive-copy-file.d.ts +10 -0
  27. package/dist/lib/action/drive-copy-file.d.ts.map +1 -0
  28. package/dist/lib/action/drive-copy-file.js +84 -0
  29. package/dist/lib/action/drive-copy-file.js.map +1 -0
  30. package/dist/lib/action/drive-create-comment.d.ts +8 -0
  31. package/dist/lib/action/drive-create-comment.d.ts.map +1 -0
  32. package/dist/lib/action/drive-create-comment.js +60 -0
  33. package/dist/lib/action/drive-create-comment.js.map +1 -0
  34. package/dist/lib/action/drive-create-file-from-text.d.ts +10 -0
  35. package/dist/lib/action/drive-create-file-from-text.d.ts.map +1 -0
  36. package/dist/lib/action/drive-create-file-from-text.js +91 -0
  37. package/dist/lib/action/drive-create-file-from-text.js.map +1 -0
  38. package/dist/lib/action/drive-create-folder.d.ts +8 -0
  39. package/dist/lib/action/drive-create-folder.d.ts.map +1 -0
  40. package/dist/lib/action/drive-create-folder.js +48 -0
  41. package/dist/lib/action/drive-create-folder.js.map +1 -0
  42. package/dist/lib/action/drive-create-reply.d.ts +10 -0
  43. package/dist/lib/action/drive-create-reply.d.ts.map +1 -0
  44. package/dist/lib/action/drive-create-reply.js +81 -0
  45. package/dist/lib/action/drive-create-reply.js.map +1 -0
  46. package/dist/lib/action/drive-create-shared-drive.d.ts +7 -0
  47. package/dist/lib/action/drive-create-shared-drive.d.ts.map +1 -0
  48. package/dist/lib/action/drive-create-shared-drive.js +53 -0
  49. package/dist/lib/action/drive-create-shared-drive.js.map +1 -0
  50. package/dist/lib/action/drive-delete-file.d.ts +7 -0
  51. package/dist/lib/action/drive-delete-file.d.ts.map +1 -0
  52. package/dist/lib/action/drive-delete-file.js +39 -0
  53. package/dist/lib/action/drive-delete-file.js.map +1 -0
  54. package/dist/lib/action/drive-delete-reply.d.ts +9 -0
  55. package/dist/lib/action/drive-delete-reply.d.ts.map +1 -0
  56. package/dist/lib/action/drive-delete-reply.js +64 -0
  57. package/dist/lib/action/drive-delete-reply.js.map +1 -0
  58. package/dist/lib/action/drive-delete-shared-drive.d.ts +7 -0
  59. package/dist/lib/action/drive-delete-shared-drive.d.ts.map +1 -0
  60. package/dist/lib/action/drive-delete-shared-drive.js +55 -0
  61. package/dist/lib/action/drive-delete-shared-drive.js.map +1 -0
  62. package/dist/lib/action/drive-download-file.d.ts +8 -0
  63. package/dist/lib/action/drive-download-file.d.ts.map +1 -0
  64. package/dist/lib/action/drive-download-file.js +37 -0
  65. package/dist/lib/action/drive-download-file.js.map +1 -0
  66. package/dist/lib/action/drive-empty-trash.d.ts +7 -0
  67. package/dist/lib/action/drive-empty-trash.d.ts.map +1 -0
  68. package/dist/lib/action/drive-empty-trash.js +47 -0
  69. package/dist/lib/action/drive-empty-trash.js.map +1 -0
  70. package/dist/lib/action/drive-export-workspace-file.d.ts +8 -0
  71. package/dist/lib/action/drive-export-workspace-file.d.ts.map +1 -0
  72. package/dist/lib/action/drive-export-workspace-file.js +116 -0
  73. package/dist/lib/action/drive-export-workspace-file.js.map +1 -0
  74. package/dist/lib/action/drive-get-about.d.ts +5 -0
  75. package/dist/lib/action/drive-get-about.d.ts.map +1 -0
  76. package/dist/lib/action/drive-get-about.js +43 -0
  77. package/dist/lib/action/drive-get-about.js.map +1 -0
  78. package/dist/lib/action/drive-get-file.d.ts +7 -0
  79. package/dist/lib/action/drive-get-file.d.ts.map +1 -0
  80. package/dist/lib/action/drive-get-file.js +46 -0
  81. package/dist/lib/action/drive-get-file.js.map +1 -0
  82. package/dist/lib/action/drive-get-reply.d.ts +9 -0
  83. package/dist/lib/action/drive-get-reply.d.ts.map +1 -0
  84. package/dist/lib/action/drive-get-reply.js +66 -0
  85. package/dist/lib/action/drive-get-reply.js.map +1 -0
  86. package/dist/lib/action/drive-get-shared-drive.d.ts +7 -0
  87. package/dist/lib/action/drive-get-shared-drive.d.ts.map +1 -0
  88. package/dist/lib/action/drive-get-shared-drive.js +52 -0
  89. package/dist/lib/action/drive-get-shared-drive.js.map +1 -0
  90. package/dist/lib/action/drive-list-comments.d.ts +7 -0
  91. package/dist/lib/action/drive-list-comments.d.ts.map +1 -0
  92. package/dist/lib/action/drive-list-comments.js +60 -0
  93. package/dist/lib/action/drive-list-comments.js.map +1 -0
  94. package/dist/lib/action/drive-list-files.d.ts +11 -0
  95. package/dist/lib/action/drive-list-files.d.ts.map +1 -0
  96. package/dist/lib/action/drive-list-files.js +174 -0
  97. package/dist/lib/action/drive-list-files.js.map +1 -0
  98. package/dist/lib/action/drive-list-permissions.d.ts +7 -0
  99. package/dist/lib/action/drive-list-permissions.d.ts.map +1 -0
  100. package/dist/lib/action/drive-list-permissions.js +59 -0
  101. package/dist/lib/action/drive-list-permissions.js.map +1 -0
  102. package/dist/lib/action/drive-list-replies.d.ts +8 -0
  103. package/dist/lib/action/drive-list-replies.d.ts.map +1 -0
  104. package/dist/lib/action/drive-list-replies.js +65 -0
  105. package/dist/lib/action/drive-list-replies.js.map +1 -0
  106. package/dist/lib/action/drive-list-shared-drives.d.ts +8 -0
  107. package/dist/lib/action/drive-list-shared-drives.d.ts.map +1 -0
  108. package/dist/lib/action/drive-list-shared-drives.js +60 -0
  109. package/dist/lib/action/drive-list-shared-drives.js.map +1 -0
  110. package/dist/lib/action/drive-move-file.d.ts +8 -0
  111. package/dist/lib/action/drive-move-file.d.ts.map +1 -0
  112. package/dist/lib/action/drive-move-file.js +57 -0
  113. package/dist/lib/action/drive-move-file.js.map +1 -0
  114. package/dist/lib/action/drive-remove-permission.d.ts +9 -0
  115. package/dist/lib/action/drive-remove-permission.d.ts.map +1 -0
  116. package/dist/lib/action/drive-remove-permission.js +75 -0
  117. package/dist/lib/action/drive-remove-permission.js.map +1 -0
  118. package/dist/lib/action/drive-replace-file-content.d.ts +9 -0
  119. package/dist/lib/action/drive-replace-file-content.d.ts.map +1 -0
  120. package/dist/lib/action/drive-replace-file-content.js +67 -0
  121. package/dist/lib/action/drive-replace-file-content.js.map +1 -0
  122. package/dist/lib/action/drive-save-file-as-pdf.d.ts +9 -0
  123. package/dist/lib/action/drive-save-file-as-pdf.d.ts.map +1 -0
  124. package/dist/lib/action/drive-save-file-as-pdf.js +73 -0
  125. package/dist/lib/action/drive-save-file-as-pdf.js.map +1 -0
  126. package/dist/lib/action/drive-search-files.d.ts +12 -0
  127. package/dist/lib/action/drive-search-files.d.ts.map +1 -0
  128. package/dist/lib/action/drive-search-files.js +130 -0
  129. package/dist/lib/action/drive-search-files.js.map +1 -0
  130. package/dist/lib/action/drive-set-public-access.d.ts +8 -0
  131. package/dist/lib/action/drive-set-public-access.d.ts.map +1 -0
  132. package/dist/lib/action/drive-set-public-access.js +71 -0
  133. package/dist/lib/action/drive-set-public-access.js.map +1 -0
  134. package/dist/lib/action/drive-share-file.d.ts +10 -0
  135. package/dist/lib/action/drive-share-file.d.ts.map +1 -0
  136. package/dist/lib/action/drive-share-file.js +69 -0
  137. package/dist/lib/action/drive-share-file.js.map +1 -0
  138. package/dist/lib/action/drive-trash-file.d.ts +7 -0
  139. package/dist/lib/action/drive-trash-file.d.ts.map +1 -0
  140. package/dist/lib/action/drive-trash-file.js +45 -0
  141. package/dist/lib/action/drive-trash-file.js.map +1 -0
  142. package/dist/lib/action/drive-untrash-file.d.ts +7 -0
  143. package/dist/lib/action/drive-untrash-file.d.ts.map +1 -0
  144. package/dist/lib/action/drive-untrash-file.js +54 -0
  145. package/dist/lib/action/drive-untrash-file.js.map +1 -0
  146. package/dist/lib/action/drive-update-file-metadata.d.ts +10 -0
  147. package/dist/lib/action/drive-update-file-metadata.d.ts.map +1 -0
  148. package/dist/lib/action/drive-update-file-metadata.js +79 -0
  149. package/dist/lib/action/drive-update-file-metadata.js.map +1 -0
  150. package/dist/lib/action/drive-update-permission.d.ts +9 -0
  151. package/dist/lib/action/drive-update-permission.d.ts.map +1 -0
  152. package/dist/lib/action/drive-update-permission.js +93 -0
  153. package/dist/lib/action/drive-update-permission.js.map +1 -0
  154. package/dist/lib/action/drive-update-reply.d.ts +10 -0
  155. package/dist/lib/action/drive-update-reply.d.ts.map +1 -0
  156. package/dist/lib/action/drive-update-reply.js +72 -0
  157. package/dist/lib/action/drive-update-reply.js.map +1 -0
  158. package/dist/lib/action/drive-update-shared-drive.d.ts +8 -0
  159. package/dist/lib/action/drive-update-shared-drive.d.ts.map +1 -0
  160. package/dist/lib/action/drive-update-shared-drive.js +62 -0
  161. package/dist/lib/action/drive-update-shared-drive.js.map +1 -0
  162. package/dist/lib/action/drive-upload-file.d.ts +9 -0
  163. package/dist/lib/action/drive-upload-file.d.ts.map +1 -0
  164. package/dist/lib/action/drive-upload-file.js +71 -0
  165. package/dist/lib/action/drive-upload-file.js.map +1 -0
  166. package/dist/lib/action/drive-upload-from-url.d.ts +10 -0
  167. package/dist/lib/action/drive-upload-from-url.d.ts.map +1 -0
  168. package/dist/lib/action/drive-upload-from-url.js +90 -0
  169. package/dist/lib/action/drive-upload-from-url.js.map +1 -0
  170. package/dist/lib/action/duplicate-file.action.d.ts +11 -0
  171. package/dist/lib/action/duplicate-file.action.d.ts.map +1 -0
  172. package/dist/lib/action/duplicate-file.action.js +83 -0
  173. package/dist/lib/action/duplicate-file.action.js.map +1 -0
  174. package/dist/lib/action/get-file-by-id.d.ts +8 -0
  175. package/dist/lib/action/get-file-by-id.d.ts.map +1 -0
  176. package/dist/lib/action/get-file-by-id.js +45 -0
  177. package/dist/lib/action/get-file-by-id.js.map +1 -0
  178. package/dist/lib/action/list-files.action.d.ts +11 -0
  179. package/dist/lib/action/list-files.action.d.ts.map +1 -0
  180. package/dist/lib/action/list-files.action.js +165 -0
  181. package/dist/lib/action/list-files.action.js.map +1 -0
  182. package/dist/lib/action/move-file.d.ts +12 -0
  183. package/dist/lib/action/move-file.d.ts.map +1 -0
  184. package/dist/lib/action/move-file.js +52 -0
  185. package/dist/lib/action/move-file.js.map +1 -0
  186. package/dist/lib/action/read-file.d.ts +8 -0
  187. package/dist/lib/action/read-file.d.ts.map +1 -0
  188. package/dist/lib/action/read-file.js +34 -0
  189. package/dist/lib/action/read-file.js.map +1 -0
  190. package/dist/lib/action/save-file-as-pdf.action.d.ts +10 -0
  191. package/dist/lib/action/save-file-as-pdf.action.d.ts.map +1 -0
  192. package/dist/lib/action/save-file-as-pdf.action.js +72 -0
  193. package/dist/lib/action/save-file-as-pdf.action.js.map +1 -0
  194. package/dist/lib/action/search-folder-or-file.action.d.ts +15 -0
  195. package/dist/lib/action/search-folder-or-file.action.d.ts.map +1 -0
  196. package/dist/lib/action/search-folder-or-file.action.js +119 -0
  197. package/dist/lib/action/search-folder-or-file.action.js.map +1 -0
  198. package/dist/lib/action/send-to-trash.d.ts +8 -0
  199. package/dist/lib/action/send-to-trash.d.ts.map +1 -0
  200. package/dist/lib/action/send-to-trash.js +44 -0
  201. package/dist/lib/action/send-to-trash.js.map +1 -0
  202. package/dist/lib/action/set-public-access.d.ts +8 -0
  203. package/dist/lib/action/set-public-access.d.ts.map +1 -0
  204. package/dist/lib/action/set-public-access.js +66 -0
  205. package/dist/lib/action/set-public-access.js.map +1 -0
  206. package/dist/lib/action/upload-file.d.ts +13 -0
  207. package/dist/lib/action/upload-file.d.ts.map +1 -0
  208. package/dist/lib/action/upload-file.js +58 -0
  209. package/dist/lib/action/upload-file.js.map +1 -0
  210. package/dist/lib/auth.d.ts +11 -0
  211. package/dist/lib/auth.d.ts.map +1 -0
  212. package/dist/lib/auth.js +87 -0
  213. package/dist/lib/auth.js.map +1 -0
  214. package/dist/lib/common/get-file-content.d.ts +4 -0
  215. package/dist/lib/common/get-file-content.d.ts.map +1 -0
  216. package/dist/lib/common/get-file-content.js +69 -0
  217. package/dist/lib/common/get-file-content.js.map +1 -0
  218. package/dist/lib/common/index.d.ts +23 -0
  219. package/dist/lib/common/index.d.ts.map +1 -0
  220. package/dist/lib/common/index.js +152 -0
  221. package/dist/lib/common/index.js.map +1 -0
  222. package/dist/lib/output-schemas.d.ts +53 -0
  223. package/dist/lib/output-schemas.d.ts.map +1 -0
  224. package/dist/lib/output-schemas.js +2022 -0
  225. package/dist/lib/output-schemas.js.map +1 -0
  226. package/dist/lib/triggers/new-file.d.ts +43 -0
  227. package/dist/lib/triggers/new-file.d.ts.map +1 -0
  228. package/dist/lib/triggers/new-file.js +107 -0
  229. package/dist/lib/triggers/new-file.js.map +1 -0
  230. package/dist/lib/triggers/new-folder.d.ts +39 -0
  231. package/dist/lib/triggers/new-folder.d.ts.map +1 -0
  232. package/dist/lib/triggers/new-folder.js +71 -0
  233. package/dist/lib/triggers/new-folder.js.map +1 -0
  234. package/package.json +49 -3
  235. package/src/index.ts +149 -0
  236. package/src/lib/action/add-permission.action.ts +82 -0
  237. package/src/lib/action/create-new-folder.ts +42 -0
  238. package/src/lib/action/create-new-text-file.ts +80 -0
  239. package/src/lib/action/delete-file.ts +33 -0
  240. package/src/lib/action/delete-permission.action.ts +84 -0
  241. package/src/lib/action/drive-copy-file.ts +86 -0
  242. package/src/lib/action/drive-create-comment.ts +61 -0
  243. package/src/lib/action/drive-create-file-from-text.ts +99 -0
  244. package/src/lib/action/drive-create-folder.ts +49 -0
  245. package/src/lib/action/drive-create-reply.ts +84 -0
  246. package/src/lib/action/drive-create-shared-drive.ts +52 -0
  247. package/src/lib/action/drive-delete-file.ts +36 -0
  248. package/src/lib/action/drive-delete-reply.ts +65 -0
  249. package/src/lib/action/drive-delete-shared-drive.ts +57 -0
  250. package/src/lib/action/drive-download-file.ts +38 -0
  251. package/src/lib/action/drive-empty-trash.ts +47 -0
  252. package/src/lib/action/drive-export-workspace-file.ts +129 -0
  253. package/src/lib/action/drive-get-about.ts +40 -0
  254. package/src/lib/action/drive-get-file.ts +40 -0
  255. package/src/lib/action/drive-get-reply.ts +67 -0
  256. package/src/lib/action/drive-get-shared-drive.ts +52 -0
  257. package/src/lib/action/drive-list-comments.ts +61 -0
  258. package/src/lib/action/drive-list-files.ts +238 -0
  259. package/src/lib/action/drive-list-permissions.ts +60 -0
  260. package/src/lib/action/drive-list-replies.ts +66 -0
  261. package/src/lib/action/drive-list-shared-drives.ts +59 -0
  262. package/src/lib/action/drive-move-file.ts +56 -0
  263. package/src/lib/action/drive-remove-permission.ts +75 -0
  264. package/src/lib/action/drive-replace-file-content.ts +71 -0
  265. package/src/lib/action/drive-save-file-as-pdf.ts +80 -0
  266. package/src/lib/action/drive-search-files.ts +127 -0
  267. package/src/lib/action/drive-set-public-access.ts +75 -0
  268. package/src/lib/action/drive-share-file.ts +69 -0
  269. package/src/lib/action/drive-trash-file.ts +41 -0
  270. package/src/lib/action/drive-untrash-file.ts +54 -0
  271. package/src/lib/action/drive-update-file-metadata.ts +82 -0
  272. package/src/lib/action/drive-update-permission.ts +100 -0
  273. package/src/lib/action/drive-update-reply.ts +73 -0
  274. package/src/lib/action/drive-update-shared-drive.ts +63 -0
  275. package/src/lib/action/drive-upload-file.ts +80 -0
  276. package/src/lib/action/drive-upload-from-url.ts +107 -0
  277. package/src/lib/action/duplicate-file.action.ts +82 -0
  278. package/src/lib/action/get-file-by-id.ts +37 -0
  279. package/src/lib/action/list-files.action.ts +214 -0
  280. package/src/lib/action/move-file.ts +48 -0
  281. package/src/lib/action/read-file.ts +28 -0
  282. package/src/lib/action/save-file-as-pdf.action.ts +76 -0
  283. package/src/lib/action/search-folder-or-file.action.ts +112 -0
  284. package/src/lib/action/send-to-trash.ts +38 -0
  285. package/src/lib/action/set-public-access.ts +68 -0
  286. package/src/lib/action/upload-file.ts +55 -0
  287. package/src/lib/auth.ts +79 -0
  288. package/src/lib/common/get-file-content.ts +109 -0
  289. package/src/lib/common/index.ts +182 -0
  290. package/src/lib/output-schemas.ts +2070 -0
  291. package/src/lib/triggers/new-file.ts +119 -0
  292. package/src/lib/triggers/new-folder.ts +78 -0
  293. package/README.md +0 -3
@@ -0,0 +1,2070 @@
1
+ import { OutputSchema } from '@agnocon/pieces-framework';
2
+
3
+ export const createNewGdriveFolderActionOutputSchema: OutputSchema = {
4
+ fields: [
5
+ {
6
+ key: 'name',
7
+ label: 'Folder Name',
8
+ },
9
+ {
10
+ key: 'id',
11
+ label: 'Folder ID',
12
+ },
13
+ {
14
+ key: 'mimeType',
15
+ label: 'MIME Type',
16
+ },
17
+ {
18
+ key: 'kind',
19
+ label: 'Kind',
20
+ },
21
+ ],
22
+ };
23
+
24
+ export const createNewGdriveFileActionOutputSchema: OutputSchema = {
25
+ fields: [
26
+ {
27
+ key: 'name',
28
+ label: 'File Name',
29
+ },
30
+ {
31
+ key: 'id',
32
+ label: 'File ID',
33
+ },
34
+ {
35
+ key: 'mimeType',
36
+ label: 'MIME Type',
37
+ },
38
+ {
39
+ key: 'kind',
40
+ label: 'Kind',
41
+ },
42
+ ],
43
+ };
44
+
45
+ export const uploadGdriveFileActionOutputSchema: OutputSchema = {
46
+ fields: [
47
+ {
48
+ key: 'name',
49
+ label: 'File Name',
50
+ },
51
+ {
52
+ key: 'id',
53
+ label: 'File ID',
54
+ },
55
+ {
56
+ key: 'mimeType',
57
+ label: 'MIME Type',
58
+ },
59
+ {
60
+ key: 'kind',
61
+ label: 'Kind',
62
+ },
63
+ ],
64
+ };
65
+
66
+ export const readFileActionOutputSchema: OutputSchema = {
67
+ fields: [
68
+ {
69
+ key: 'file',
70
+ label: 'File URL',
71
+ value: '',
72
+ format: 'url',
73
+ },
74
+ ],
75
+ };
76
+
77
+ export const getFileOrFolderByIdActionOutputSchema: OutputSchema = {
78
+ fields: [
79
+ {
80
+ key: 'name',
81
+ label: 'Name',
82
+ },
83
+ {
84
+ key: 'id',
85
+ label: 'File ID',
86
+ },
87
+ {
88
+ key: 'mimeType',
89
+ label: 'MIME Type',
90
+ },
91
+ {
92
+ key: 'kind',
93
+ label: 'Kind',
94
+ },
95
+ ],
96
+ };
97
+
98
+ export const listFilesActionOutputSchema: OutputSchema = {
99
+ fields: [
100
+ {
101
+ key: 'files',
102
+ label: 'Files',
103
+ labelKey: 'name',
104
+ listItems: [
105
+ {
106
+ key: 'name',
107
+ label: 'Name',
108
+ value: 'name',
109
+ },
110
+ {
111
+ key: 'id',
112
+ label: 'File ID',
113
+ value: 'id',
114
+ },
115
+ {
116
+ key: 'mimeType',
117
+ label: 'MIME Type',
118
+ value: 'mimeType',
119
+ },
120
+ {
121
+ key: 'trashed',
122
+ label: 'Trashed',
123
+ value: 'trashed',
124
+ format: 'boolean',
125
+ },
126
+ {
127
+ key: 'parents',
128
+ label: 'Parent Folder ID',
129
+ value: 'parents[0]',
130
+ },
131
+ ],
132
+ },
133
+ {
134
+ key: 'incompleteSearch',
135
+ label: 'Incomplete Search',
136
+ value: 'incompleteSearch',
137
+ format: 'boolean',
138
+ },
139
+ ],
140
+ };
141
+
142
+ export const searchFolderActionOutputSchema: OutputSchema = {
143
+ fields: [
144
+ {
145
+ key: 'results',
146
+ label: 'Results',
147
+ value: '',
148
+ labelKey: 'name',
149
+ listItems: [
150
+ {
151
+ key: 'name',
152
+ label: 'Name',
153
+ value: 'name',
154
+ },
155
+ {
156
+ key: 'mimeType',
157
+ label: 'MIME Type',
158
+ value: 'mimeType',
159
+ },
160
+ {
161
+ key: 'id',
162
+ label: 'File ID',
163
+ value: 'id',
164
+ },
165
+ {
166
+ key: 'createdTime',
167
+ label: 'Created Time',
168
+ value: 'createdTime',
169
+ format: 'datetime',
170
+ },
171
+ {
172
+ key: 'modifiedTime',
173
+ label: 'Modified Time',
174
+ value: 'modifiedTime',
175
+ format: 'datetime',
176
+ },
177
+ ],
178
+ },
179
+ ],
180
+ };
181
+
182
+ export const duplicateFileActionOutputSchema: OutputSchema = {
183
+ fields: [
184
+ {
185
+ key: 'name',
186
+ label: 'File Name',
187
+ },
188
+ {
189
+ key: 'id',
190
+ label: 'File ID',
191
+ },
192
+ {
193
+ key: 'mimeType',
194
+ label: 'MIME Type',
195
+ },
196
+ {
197
+ key: 'kind',
198
+ label: 'Kind',
199
+ },
200
+ ],
201
+ };
202
+
203
+ export const saveFileAsPdfActionOutputSchema: OutputSchema = {
204
+ fields: [
205
+ {
206
+ key: 'name',
207
+ label: 'File Name',
208
+ },
209
+ {
210
+ key: 'id',
211
+ label: 'File ID',
212
+ },
213
+ {
214
+ key: 'mimeType',
215
+ label: 'MIME Type',
216
+ },
217
+ {
218
+ key: 'kind',
219
+ label: 'Kind',
220
+ },
221
+ ],
222
+ };
223
+
224
+ export const googleDriveMoveFileActionOutputSchema: OutputSchema = {
225
+ fields: [
226
+ {
227
+ key: 'name',
228
+ label: 'File Name',
229
+ },
230
+ {
231
+ key: 'id',
232
+ label: 'File ID',
233
+ },
234
+ {
235
+ key: 'mimeType',
236
+ label: 'MIME Type',
237
+ },
238
+ {
239
+ key: 'webViewLink',
240
+ label: 'View Link',
241
+ format: 'url',
242
+ },
243
+ {
244
+ key: 'webContentLink',
245
+ label: 'Download Link',
246
+ format: 'url',
247
+ },
248
+ {
249
+ key: 'iconLink',
250
+ label: 'Icon',
251
+ format: 'image',
252
+ },
253
+ {
254
+ key: 'size',
255
+ label: 'Size',
256
+ format: 'filesize',
257
+ },
258
+ {
259
+ key: 'fileExtension',
260
+ label: 'File Extension',
261
+ },
262
+ {
263
+ key: 'starred',
264
+ label: 'Starred',
265
+ format: 'boolean',
266
+ },
267
+ {
268
+ key: 'trashed',
269
+ label: 'Trashed',
270
+ format: 'boolean',
271
+ },
272
+ {
273
+ key: 'shared',
274
+ label: 'Shared',
275
+ format: 'boolean',
276
+ },
277
+ {
278
+ key: 'createdTime',
279
+ label: 'Created Time',
280
+ format: 'datetime',
281
+ },
282
+ {
283
+ key: 'modifiedTime',
284
+ label: 'Modified Time',
285
+ format: 'datetime',
286
+ },
287
+ {
288
+ key: 'parents',
289
+ label: 'Parent Folder IDs',
290
+ },
291
+ {
292
+ key: 'owners',
293
+ label: 'Owners',
294
+ labelKey: 'displayName',
295
+ listItems: [
296
+ {
297
+ key: 'displayName',
298
+ label: 'Name',
299
+ },
300
+ {
301
+ key: 'emailAddress',
302
+ label: 'Email',
303
+ format: 'email',
304
+ },
305
+ {
306
+ key: 'photoLink',
307
+ label: 'Photo',
308
+ format: 'image',
309
+ },
310
+ {
311
+ key: 'me',
312
+ label: 'Is Me',
313
+ format: 'boolean',
314
+ },
315
+ ],
316
+ },
317
+ {
318
+ key: 'lastModifyingUser',
319
+ label: 'Last Modifying User',
320
+ children: [
321
+ {
322
+ key: 'displayName',
323
+ label: 'Name',
324
+ },
325
+ {
326
+ key: 'emailAddress',
327
+ label: 'Email',
328
+ format: 'email',
329
+ },
330
+ {
331
+ key: 'photoLink',
332
+ label: 'Photo',
333
+ format: 'image',
334
+ },
335
+ ],
336
+ },
337
+ {
338
+ key: 'permissions',
339
+ label: 'Permissions',
340
+ labelKey: 'displayName',
341
+ listItems: [
342
+ {
343
+ key: 'displayName',
344
+ label: 'Name',
345
+ },
346
+ {
347
+ key: 'emailAddress',
348
+ label: 'Email',
349
+ format: 'email',
350
+ },
351
+ {
352
+ key: 'role',
353
+ label: 'Role',
354
+ },
355
+ {
356
+ key: 'type',
357
+ label: 'Type',
358
+ },
359
+ {
360
+ key: 'id',
361
+ label: 'Permission ID',
362
+ },
363
+ ],
364
+ },
365
+ ],
366
+ };
367
+
368
+ export const setPublicAccessActionOutputSchema: OutputSchema = {
369
+ fields: [
370
+ {
371
+ key: 'type',
372
+ label: 'Type',
373
+ },
374
+ {
375
+ key: 'role',
376
+ label: 'Role',
377
+ },
378
+ {
379
+ key: 'id',
380
+ label: 'Permission ID',
381
+ },
382
+ {
383
+ key: 'allowFileDiscovery',
384
+ label: 'Allow File Discovery',
385
+ format: 'boolean',
386
+ },
387
+ {
388
+ key: 'downloadUrl',
389
+ label: 'Download URL',
390
+ format: 'url',
391
+ },
392
+ {
393
+ key: 'kind',
394
+ label: 'Kind',
395
+ },
396
+ ],
397
+ };
398
+
399
+ export const updatePermissionsActionOutputSchema: OutputSchema = {
400
+ fields: [
401
+ {
402
+ key: 'role',
403
+ label: 'Role',
404
+ },
405
+ {
406
+ key: 'type',
407
+ label: 'Type',
408
+ },
409
+ {
410
+ key: 'id',
411
+ label: 'Permission ID',
412
+ },
413
+ ],
414
+ };
415
+
416
+ export const deletePermissionsActionOutputSchema: OutputSchema = {
417
+ fields: [
418
+ {
419
+ key: 'removed',
420
+ label: 'Removed',
421
+ value: 'removed',
422
+ format: 'boolean',
423
+ },
424
+ {
425
+ key: 'message',
426
+ label: 'Message',
427
+ value: 'message',
428
+ },
429
+ ],
430
+ };
431
+
432
+ export const trashGdriveFileActionOutputSchema: OutputSchema = {
433
+ fields: [
434
+ {
435
+ key: 'name',
436
+ label: 'File Name',
437
+ },
438
+ {
439
+ key: 'id',
440
+ label: 'File ID',
441
+ },
442
+ {
443
+ key: 'mimeType',
444
+ label: 'MIME Type',
445
+ },
446
+ {
447
+ key: 'kind',
448
+ label: 'Kind',
449
+ },
450
+ ],
451
+ };
452
+
453
+ export const newFileTriggerOutputSchema: OutputSchema = {
454
+ fields: [
455
+ {
456
+ key: 'name',
457
+ label: 'File Name',
458
+ },
459
+ {
460
+ key: 'webViewLink',
461
+ label: 'View Link',
462
+ format: 'url',
463
+ },
464
+ {
465
+ key: 'mimeType',
466
+ label: 'MIME Type',
467
+ },
468
+ {
469
+ key: 'createdTime',
470
+ label: 'Created Time',
471
+ format: 'datetime',
472
+ },
473
+ {
474
+ key: 'id',
475
+ label: 'File ID',
476
+ },
477
+ ],
478
+ };
479
+
480
+ export const newFolderTriggerOutputSchema: OutputSchema = {
481
+ fields: [
482
+ {
483
+ key: 'name',
484
+ label: 'Folder Name',
485
+ },
486
+ {
487
+ key: 'id',
488
+ label: 'Folder ID',
489
+ },
490
+ {
491
+ key: 'createdTime',
492
+ label: 'Created Time',
493
+ format: 'datetime',
494
+ },
495
+ ],
496
+ };
497
+
498
+ const fileFieldsForGet: OutputSchema['fields'] = [
499
+ {
500
+ key: 'id',
501
+ label: 'File ID',
502
+ },
503
+ {
504
+ key: 'name',
505
+ label: 'File Name',
506
+ },
507
+ {
508
+ key: 'mimeType',
509
+ label: 'MIME Type',
510
+ },
511
+ {
512
+ key: 'size',
513
+ label: 'Size',
514
+ format: 'filesize',
515
+ },
516
+ {
517
+ key: 'createdTime',
518
+ label: 'Created Time',
519
+ format: 'datetime',
520
+ },
521
+ {
522
+ key: 'modifiedTime',
523
+ label: 'Modified Time',
524
+ format: 'datetime',
525
+ },
526
+ {
527
+ key: 'webViewLink',
528
+ label: 'View Link',
529
+ format: 'url',
530
+ },
531
+ {
532
+ key: 'webContentLink',
533
+ label: 'Download Link',
534
+ format: 'url',
535
+ },
536
+ {
537
+ key: 'iconLink',
538
+ label: 'Icon',
539
+ format: 'image',
540
+ },
541
+ {
542
+ key: 'fileExtension',
543
+ label: 'File Extension',
544
+ },
545
+ {
546
+ key: 'starred',
547
+ label: 'Starred',
548
+ format: 'boolean',
549
+ },
550
+ {
551
+ key: 'trashed',
552
+ label: 'Trashed',
553
+ format: 'boolean',
554
+ },
555
+ {
556
+ key: 'shared',
557
+ label: 'Shared',
558
+ format: 'boolean',
559
+ },
560
+ {
561
+ key: 'parents',
562
+ label: 'Parent Folder IDs',
563
+ },
564
+ {
565
+ key: 'owners',
566
+ label: 'Owners',
567
+ labelKey: 'displayName',
568
+ listItems: [
569
+ {
570
+ key: 'displayName',
571
+ label: 'Name',
572
+ },
573
+ {
574
+ key: 'emailAddress',
575
+ label: 'Email',
576
+ format: 'email',
577
+ },
578
+ {
579
+ key: 'photoLink',
580
+ label: 'Photo',
581
+ format: 'image',
582
+ },
583
+ {
584
+ key: 'me',
585
+ label: 'Is Me',
586
+ format: 'boolean',
587
+ },
588
+ ],
589
+ },
590
+ {
591
+ key: 'lastModifyingUser',
592
+ label: 'Last Modifying User',
593
+ children: [
594
+ {
595
+ key: 'displayName',
596
+ label: 'Name',
597
+ },
598
+ {
599
+ key: 'emailAddress',
600
+ label: 'Email',
601
+ format: 'email',
602
+ },
603
+ {
604
+ key: 'photoLink',
605
+ label: 'Photo',
606
+ format: 'image',
607
+ },
608
+ ],
609
+ },
610
+ ];
611
+
612
+ export const driveGetFileOutputSchema: OutputSchema = {
613
+ fields: fileFieldsForGet,
614
+ };
615
+
616
+ export const driveListFilesOutputSchema: OutputSchema = {
617
+ fields: [
618
+ {
619
+ key: 'files',
620
+ label: 'Files',
621
+ labelKey: 'name',
622
+ listItems: [
623
+ {
624
+ key: 'id',
625
+ label: 'File ID',
626
+ },
627
+ {
628
+ key: 'name',
629
+ label: 'File Name',
630
+ },
631
+ {
632
+ key: 'mimeType',
633
+ label: 'MIME Type',
634
+ },
635
+ {
636
+ key: 'size',
637
+ label: 'Size',
638
+ format: 'filesize',
639
+ },
640
+ {
641
+ key: 'createdTime',
642
+ label: 'Created Time',
643
+ format: 'datetime',
644
+ },
645
+ {
646
+ key: 'modifiedTime',
647
+ label: 'Modified Time',
648
+ format: 'datetime',
649
+ },
650
+ {
651
+ key: 'webViewLink',
652
+ label: 'View Link',
653
+ format: 'url',
654
+ },
655
+ {
656
+ key: 'webContentLink',
657
+ label: 'Download Link',
658
+ format: 'url',
659
+ },
660
+ {
661
+ key: 'fileExtension',
662
+ label: 'File Extension',
663
+ },
664
+ {
665
+ key: 'starred',
666
+ label: 'Starred',
667
+ format: 'boolean',
668
+ },
669
+ {
670
+ key: 'trashed',
671
+ label: 'Trashed',
672
+ format: 'boolean',
673
+ },
674
+ {
675
+ key: 'shared',
676
+ label: 'Shared',
677
+ format: 'boolean',
678
+ },
679
+ ],
680
+ },
681
+ {
682
+ key: 'incompleteSearch',
683
+ label: 'Incomplete Search',
684
+ format: 'boolean',
685
+ },
686
+ ],
687
+ };
688
+
689
+ export const driveSearchFilesOutputSchema: OutputSchema = {
690
+ fields: [
691
+ {
692
+ key: 'files',
693
+ label: 'Search Results',
694
+ labelKey: 'name',
695
+ listItems: [
696
+ {
697
+ key: 'id',
698
+ label: 'File ID',
699
+ },
700
+ {
701
+ key: 'name',
702
+ label: 'File Name',
703
+ },
704
+ {
705
+ key: 'mimeType',
706
+ label: 'MIME Type',
707
+ },
708
+ {
709
+ key: 'size',
710
+ label: 'Size',
711
+ format: 'filesize',
712
+ },
713
+ {
714
+ key: 'createdTime',
715
+ label: 'Created Time',
716
+ format: 'datetime',
717
+ },
718
+ {
719
+ key: 'modifiedTime',
720
+ label: 'Modified Time',
721
+ format: 'datetime',
722
+ },
723
+ {
724
+ key: 'webViewLink',
725
+ label: 'View Link',
726
+ format: 'url',
727
+ },
728
+ {
729
+ key: 'webContentLink',
730
+ label: 'Download Link',
731
+ format: 'url',
732
+ },
733
+ {
734
+ key: 'fileExtension',
735
+ label: 'File Extension',
736
+ },
737
+ ],
738
+ },
739
+ ],
740
+ };
741
+
742
+ export const driveCreateFileFromTextOutputSchema: OutputSchema = {
743
+ fields: [
744
+ {
745
+ key: 'id',
746
+ label: 'File ID',
747
+ },
748
+ {
749
+ key: 'name',
750
+ label: 'File Name',
751
+ },
752
+ {
753
+ key: 'mimeType',
754
+ label: 'MIME Type',
755
+ },
756
+ {
757
+ key: 'createdTime',
758
+ label: 'Created Time',
759
+ format: 'datetime',
760
+ },
761
+ {
762
+ key: 'modifiedTime',
763
+ label: 'Modified Time',
764
+ format: 'datetime',
765
+ },
766
+ {
767
+ key: 'webViewLink',
768
+ label: 'View Link',
769
+ format: 'url',
770
+ },
771
+ {
772
+ key: 'webContentLink',
773
+ label: 'Download Link',
774
+ format: 'url',
775
+ },
776
+ {
777
+ key: 'fileExtension',
778
+ label: 'File Extension',
779
+ },
780
+ {
781
+ key: 'size',
782
+ label: 'Size',
783
+ format: 'filesize',
784
+ },
785
+ {
786
+ key: 'parents',
787
+ label: 'Parent Folder IDs',
788
+ },
789
+ {
790
+ key: 'owners',
791
+ label: 'Owners',
792
+ labelKey: 'displayName',
793
+ listItems: [
794
+ {
795
+ key: 'displayName',
796
+ label: 'Name',
797
+ },
798
+ {
799
+ key: 'emailAddress',
800
+ label: 'Email',
801
+ format: 'email',
802
+ },
803
+ {
804
+ key: 'photoLink',
805
+ label: 'Photo',
806
+ format: 'image',
807
+ },
808
+ {
809
+ key: 'me',
810
+ label: 'Is Me',
811
+ format: 'boolean',
812
+ },
813
+ ],
814
+ },
815
+ {
816
+ key: 'lastModifyingUser',
817
+ label: 'Last Modifying User',
818
+ children: [
819
+ {
820
+ key: 'displayName',
821
+ label: 'Name',
822
+ },
823
+ {
824
+ key: 'emailAddress',
825
+ label: 'Email',
826
+ format: 'email',
827
+ },
828
+ {
829
+ key: 'photoLink',
830
+ label: 'Photo',
831
+ format: 'image',
832
+ },
833
+ ],
834
+ },
835
+ {
836
+ key: 'shared',
837
+ label: 'Shared',
838
+ format: 'boolean',
839
+ },
840
+ ],
841
+ };
842
+
843
+ export const driveUploadFileOutputSchema: OutputSchema = {
844
+ fields: [
845
+ {
846
+ key: 'id',
847
+ label: 'File ID',
848
+ },
849
+ {
850
+ key: 'name',
851
+ label: 'File Name',
852
+ },
853
+ {
854
+ key: 'mimeType',
855
+ label: 'MIME Type',
856
+ },
857
+ {
858
+ key: 'size',
859
+ label: 'Size',
860
+ format: 'filesize',
861
+ },
862
+ {
863
+ key: 'createdTime',
864
+ label: 'Created Time',
865
+ format: 'datetime',
866
+ },
867
+ {
868
+ key: 'modifiedTime',
869
+ label: 'Modified Time',
870
+ format: 'datetime',
871
+ },
872
+ {
873
+ key: 'webViewLink',
874
+ label: 'View Link',
875
+ format: 'url',
876
+ },
877
+ {
878
+ key: 'webContentLink',
879
+ label: 'Download Link',
880
+ format: 'url',
881
+ },
882
+ {
883
+ key: 'iconLink',
884
+ label: 'Icon',
885
+ format: 'image',
886
+ },
887
+ {
888
+ key: 'fileExtension',
889
+ label: 'File Extension',
890
+ },
891
+ {
892
+ key: 'parents',
893
+ label: 'Parent Folder IDs',
894
+ },
895
+ {
896
+ key: 'owners',
897
+ label: 'Owners',
898
+ labelKey: 'displayName',
899
+ listItems: [
900
+ {
901
+ key: 'displayName',
902
+ label: 'Name',
903
+ },
904
+ {
905
+ key: 'emailAddress',
906
+ label: 'Email',
907
+ format: 'email',
908
+ },
909
+ {
910
+ key: 'me',
911
+ label: 'Is Me',
912
+ format: 'boolean',
913
+ },
914
+ ],
915
+ },
916
+ ],
917
+ };
918
+
919
+ export const driveCopyFileOutputSchema: OutputSchema = {
920
+ fields: [
921
+ {
922
+ key: 'id',
923
+ label: 'File ID',
924
+ },
925
+ {
926
+ key: 'name',
927
+ label: 'File Name',
928
+ },
929
+ {
930
+ key: 'mimeType',
931
+ label: 'MIME Type',
932
+ },
933
+ {
934
+ key: 'size',
935
+ label: 'Size',
936
+ format: 'filesize',
937
+ },
938
+ {
939
+ key: 'createdTime',
940
+ label: 'Created Time',
941
+ format: 'datetime',
942
+ },
943
+ {
944
+ key: 'modifiedTime',
945
+ label: 'Modified Time',
946
+ format: 'datetime',
947
+ },
948
+ {
949
+ key: 'webViewLink',
950
+ label: 'View Link',
951
+ format: 'url',
952
+ },
953
+ {
954
+ key: 'webContentLink',
955
+ label: 'Download Link',
956
+ format: 'url',
957
+ },
958
+ {
959
+ key: 'fileExtension',
960
+ label: 'File Extension',
961
+ },
962
+ {
963
+ key: 'parents',
964
+ label: 'Parent Folder IDs',
965
+ },
966
+ {
967
+ key: 'owners',
968
+ label: 'Owners',
969
+ labelKey: 'displayName',
970
+ listItems: [
971
+ {
972
+ key: 'displayName',
973
+ label: 'Name',
974
+ },
975
+ {
976
+ key: 'emailAddress',
977
+ label: 'Email',
978
+ format: 'email',
979
+ },
980
+ {
981
+ key: 'me',
982
+ label: 'Is Me',
983
+ format: 'boolean',
984
+ },
985
+ ],
986
+ },
987
+ ],
988
+ };
989
+
990
+ export const driveMoveFileOutputSchema: OutputSchema = {
991
+ fields: [
992
+ {
993
+ key: 'id',
994
+ label: 'File ID',
995
+ },
996
+ {
997
+ key: 'name',
998
+ label: 'File Name',
999
+ },
1000
+ {
1001
+ key: 'mimeType',
1002
+ label: 'MIME Type',
1003
+ },
1004
+ {
1005
+ key: 'size',
1006
+ label: 'Size',
1007
+ format: 'filesize',
1008
+ },
1009
+ {
1010
+ key: 'createdTime',
1011
+ label: 'Created Time',
1012
+ format: 'datetime',
1013
+ },
1014
+ {
1015
+ key: 'modifiedTime',
1016
+ label: 'Modified Time',
1017
+ format: 'datetime',
1018
+ },
1019
+ {
1020
+ key: 'webViewLink',
1021
+ label: 'View Link',
1022
+ format: 'url',
1023
+ },
1024
+ {
1025
+ key: 'webContentLink',
1026
+ label: 'Download Link',
1027
+ format: 'url',
1028
+ },
1029
+ {
1030
+ key: 'fileExtension',
1031
+ label: 'File Extension',
1032
+ },
1033
+ {
1034
+ key: 'parents',
1035
+ label: 'Parent Folder IDs',
1036
+ },
1037
+ {
1038
+ key: 'shared',
1039
+ label: 'Shared',
1040
+ format: 'boolean',
1041
+ },
1042
+ {
1043
+ key: 'owners',
1044
+ label: 'Owners',
1045
+ labelKey: 'displayName',
1046
+ listItems: [
1047
+ {
1048
+ key: 'displayName',
1049
+ label: 'Name',
1050
+ },
1051
+ {
1052
+ key: 'emailAddress',
1053
+ label: 'Email',
1054
+ format: 'email',
1055
+ },
1056
+ {
1057
+ key: 'me',
1058
+ label: 'Is Me',
1059
+ format: 'boolean',
1060
+ },
1061
+ ],
1062
+ },
1063
+ ],
1064
+ };
1065
+
1066
+ export const driveUpdateFileMetadataOutputSchema: OutputSchema = {
1067
+ fields: [
1068
+ {
1069
+ key: 'id',
1070
+ label: 'File ID',
1071
+ },
1072
+ {
1073
+ key: 'name',
1074
+ label: 'File Name',
1075
+ },
1076
+ {
1077
+ key: 'description',
1078
+ label: 'Description',
1079
+ },
1080
+ {
1081
+ key: 'mimeType',
1082
+ label: 'MIME Type',
1083
+ },
1084
+ {
1085
+ key: 'createdTime',
1086
+ label: 'Created Time',
1087
+ format: 'datetime',
1088
+ },
1089
+ {
1090
+ key: 'modifiedTime',
1091
+ label: 'Modified Time',
1092
+ format: 'datetime',
1093
+ },
1094
+ {
1095
+ key: 'starred',
1096
+ label: 'Starred',
1097
+ format: 'boolean',
1098
+ },
1099
+ {
1100
+ key: 'trashed',
1101
+ label: 'Trashed',
1102
+ format: 'boolean',
1103
+ },
1104
+ {
1105
+ key: 'webViewLink',
1106
+ label: 'View Link',
1107
+ format: 'url',
1108
+ },
1109
+ {
1110
+ key: 'size',
1111
+ label: 'Size',
1112
+ format: 'filesize',
1113
+ },
1114
+ ],
1115
+ };
1116
+
1117
+ export const driveShareFileOutputSchema: OutputSchema = {
1118
+ fields: [
1119
+ {
1120
+ key: 'id',
1121
+ label: 'Permission ID',
1122
+ },
1123
+ {
1124
+ key: 'type',
1125
+ label: 'Type',
1126
+ },
1127
+ {
1128
+ key: 'role',
1129
+ label: 'Role',
1130
+ },
1131
+ {
1132
+ key: 'emailAddress',
1133
+ label: 'Email Address',
1134
+ format: 'email',
1135
+ },
1136
+ {
1137
+ key: 'displayName',
1138
+ label: 'Display Name',
1139
+ },
1140
+ {
1141
+ key: 'photoLink',
1142
+ label: 'Photo',
1143
+ format: 'image',
1144
+ },
1145
+ {
1146
+ key: 'pendingOwner',
1147
+ label: 'Pending Owner',
1148
+ format: 'boolean',
1149
+ },
1150
+ {
1151
+ key: 'deleted',
1152
+ label: 'Deleted',
1153
+ format: 'boolean',
1154
+ },
1155
+ {
1156
+ key: 'permissionDetails',
1157
+ label: 'Permission Details',
1158
+ labelKey: 'role',
1159
+ listItems: [
1160
+ {
1161
+ key: 'role',
1162
+ label: 'Role',
1163
+ },
1164
+ {
1165
+ key: 'permissionType',
1166
+ label: 'Permission Type',
1167
+ },
1168
+ {
1169
+ key: 'inherited',
1170
+ label: 'Inherited',
1171
+ format: 'boolean',
1172
+ },
1173
+ ],
1174
+ },
1175
+ ],
1176
+ };
1177
+
1178
+ export const driveListPermissionsOutputSchema: OutputSchema = {
1179
+ fields: [
1180
+ {
1181
+ key: 'permissions',
1182
+ label: 'Permissions',
1183
+ labelKey: 'displayName',
1184
+ listItems: [
1185
+ {
1186
+ key: 'id',
1187
+ label: 'Permission ID',
1188
+ },
1189
+ {
1190
+ key: 'type',
1191
+ label: 'Type',
1192
+ },
1193
+ {
1194
+ key: 'role',
1195
+ label: 'Role',
1196
+ },
1197
+ {
1198
+ key: 'emailAddress',
1199
+ label: 'Email Address',
1200
+ format: 'email',
1201
+ },
1202
+ {
1203
+ key: 'displayName',
1204
+ label: 'Display Name',
1205
+ },
1206
+ {
1207
+ key: 'photoLink',
1208
+ label: 'Photo',
1209
+ format: 'image',
1210
+ },
1211
+ {
1212
+ key: 'deleted',
1213
+ label: 'Deleted',
1214
+ format: 'boolean',
1215
+ },
1216
+ {
1217
+ key: 'pendingOwner',
1218
+ label: 'Pending Owner',
1219
+ format: 'boolean',
1220
+ },
1221
+ ],
1222
+ },
1223
+ ],
1224
+ };
1225
+
1226
+ export const driveSetPublicAccessOutputSchema: OutputSchema = {
1227
+ fields: [
1228
+ {
1229
+ key: 'id',
1230
+ label: 'Permission ID',
1231
+ },
1232
+ {
1233
+ key: 'type',
1234
+ label: 'Type',
1235
+ },
1236
+ {
1237
+ key: 'role',
1238
+ label: 'Role',
1239
+ },
1240
+ {
1241
+ key: 'allowFileDiscovery',
1242
+ label: 'Allow File Discovery',
1243
+ format: 'boolean',
1244
+ },
1245
+ {
1246
+ key: 'permissionDetails',
1247
+ label: 'Permission Details',
1248
+ labelKey: 'role',
1249
+ listItems: [
1250
+ {
1251
+ key: 'role',
1252
+ label: 'Role',
1253
+ },
1254
+ {
1255
+ key: 'permissionType',
1256
+ label: 'Permission Type',
1257
+ },
1258
+ {
1259
+ key: 'inherited',
1260
+ label: 'Inherited',
1261
+ format: 'boolean',
1262
+ },
1263
+ ],
1264
+ },
1265
+ ],
1266
+ };
1267
+
1268
+ export const driveUpdatePermissionOutputSchema: OutputSchema = {
1269
+ fields: [
1270
+ {
1271
+ key: 'id',
1272
+ label: 'Permission ID',
1273
+ },
1274
+ {
1275
+ key: 'type',
1276
+ label: 'Type',
1277
+ },
1278
+ {
1279
+ key: 'role',
1280
+ label: 'Role',
1281
+ },
1282
+ {
1283
+ key: 'emailAddress',
1284
+ label: 'Email Address',
1285
+ format: 'email',
1286
+ },
1287
+ {
1288
+ key: 'displayName',
1289
+ label: 'Display Name',
1290
+ },
1291
+ {
1292
+ key: 'photoLink',
1293
+ label: 'Photo',
1294
+ format: 'image',
1295
+ },
1296
+ ],
1297
+ };
1298
+
1299
+ export const driveTrashFileOutputSchema: OutputSchema = {
1300
+ fields: [
1301
+ {
1302
+ key: 'id',
1303
+ label: 'File ID',
1304
+ },
1305
+ {
1306
+ key: 'name',
1307
+ label: 'File Name',
1308
+ },
1309
+ {
1310
+ key: 'trashed',
1311
+ label: 'Trashed',
1312
+ format: 'boolean',
1313
+ },
1314
+ {
1315
+ key: 'modifiedTime',
1316
+ label: 'Modified Time',
1317
+ format: 'datetime',
1318
+ },
1319
+ {
1320
+ key: 'webViewLink',
1321
+ label: 'View Link',
1322
+ format: 'url',
1323
+ },
1324
+ ],
1325
+ };
1326
+
1327
+ export const driveUntrashFileOutputSchema: OutputSchema = {
1328
+ fields: [
1329
+ {
1330
+ key: 'id',
1331
+ label: 'File ID',
1332
+ },
1333
+ {
1334
+ key: 'name',
1335
+ label: 'File Name',
1336
+ },
1337
+ {
1338
+ key: 'trashed',
1339
+ label: 'Trashed',
1340
+ format: 'boolean',
1341
+ },
1342
+ {
1343
+ key: 'createdTime',
1344
+ label: 'Created Time',
1345
+ format: 'datetime',
1346
+ },
1347
+ {
1348
+ key: 'modifiedTime',
1349
+ label: 'Modified Time',
1350
+ format: 'datetime',
1351
+ },
1352
+ {
1353
+ key: 'webViewLink',
1354
+ label: 'View Link',
1355
+ format: 'url',
1356
+ },
1357
+ ],
1358
+ };
1359
+
1360
+ export const driveReplaceFileContentOutputSchema: OutputSchema = {
1361
+ fields: [
1362
+ {
1363
+ key: 'id',
1364
+ label: 'File ID',
1365
+ },
1366
+ {
1367
+ key: 'name',
1368
+ label: 'File Name',
1369
+ },
1370
+ {
1371
+ key: 'mimeType',
1372
+ label: 'MIME Type',
1373
+ },
1374
+ {
1375
+ key: 'size',
1376
+ label: 'Size',
1377
+ format: 'filesize',
1378
+ },
1379
+ {
1380
+ key: 'modifiedTime',
1381
+ label: 'Modified Time',
1382
+ format: 'datetime',
1383
+ },
1384
+ {
1385
+ key: 'webViewLink',
1386
+ label: 'View Link',
1387
+ format: 'url',
1388
+ },
1389
+ ],
1390
+ };
1391
+
1392
+ export const driveGetAboutOutputSchema: OutputSchema = {
1393
+ fields: [
1394
+ {
1395
+ key: 'user',
1396
+ label: 'Current User',
1397
+ children: [
1398
+ {
1399
+ key: 'displayName',
1400
+ label: 'Display Name',
1401
+ },
1402
+ {
1403
+ key: 'emailAddress',
1404
+ label: 'Email Address',
1405
+ format: 'email',
1406
+ },
1407
+ {
1408
+ key: 'photoLink',
1409
+ label: 'Photo',
1410
+ format: 'image',
1411
+ },
1412
+ {
1413
+ key: 'me',
1414
+ label: 'Is Me',
1415
+ format: 'boolean',
1416
+ },
1417
+ {
1418
+ key: 'permissionId',
1419
+ label: 'Permission ID',
1420
+ },
1421
+ ],
1422
+ },
1423
+ {
1424
+ key: 'storageQuota',
1425
+ label: 'Storage Quota',
1426
+ children: [
1427
+ {
1428
+ key: 'limit',
1429
+ label: 'Total Limit',
1430
+ format: 'filesize',
1431
+ },
1432
+ {
1433
+ key: 'usage',
1434
+ label: 'Used Space',
1435
+ format: 'filesize',
1436
+ },
1437
+ {
1438
+ key: 'usageInDrive',
1439
+ label: 'Used in Drive',
1440
+ format: 'filesize',
1441
+ },
1442
+ {
1443
+ key: 'usageInDriveTrash',
1444
+ label: 'Used in Trash',
1445
+ format: 'filesize',
1446
+ },
1447
+ ],
1448
+ },
1449
+ {
1450
+ key: 'maxUploadSize',
1451
+ label: 'Max Upload Size',
1452
+ format: 'filesize',
1453
+ },
1454
+ ],
1455
+ };
1456
+
1457
+ export const driveListSharedDrivesOutputSchema: OutputSchema = {
1458
+ fields: [
1459
+ {
1460
+ key: 'drives',
1461
+ label: 'Shared Drives',
1462
+ labelKey: 'name',
1463
+ listItems: [
1464
+ {
1465
+ key: 'id',
1466
+ label: 'Drive ID',
1467
+ },
1468
+ {
1469
+ key: 'name',
1470
+ label: 'Drive Name',
1471
+ },
1472
+ {
1473
+ key: 'kind',
1474
+ label: 'Kind',
1475
+ },
1476
+ {
1477
+ key: 'colorRgb',
1478
+ label: 'Color',
1479
+ },
1480
+ {
1481
+ key: 'createdTime',
1482
+ label: 'Created Time',
1483
+ format: 'datetime',
1484
+ },
1485
+ ],
1486
+ },
1487
+ ],
1488
+ };
1489
+
1490
+ export const driveGetSharedDriveOutputSchema: OutputSchema = {
1491
+ fields: [
1492
+ {
1493
+ key: 'id',
1494
+ label: 'Drive ID',
1495
+ },
1496
+ {
1497
+ key: 'name',
1498
+ label: 'Drive Name',
1499
+ },
1500
+ {
1501
+ key: 'kind',
1502
+ label: 'Kind',
1503
+ },
1504
+ {
1505
+ key: 'colorRgb',
1506
+ label: 'Color',
1507
+ },
1508
+ {
1509
+ key: 'createdTime',
1510
+ label: 'Created Time',
1511
+ format: 'datetime',
1512
+ },
1513
+ {
1514
+ key: 'restrictions',
1515
+ label: 'Restrictions',
1516
+ children: [
1517
+ {
1518
+ key: 'adminManagedRestrictions',
1519
+ label: 'Admin Managed',
1520
+ format: 'boolean',
1521
+ },
1522
+ {
1523
+ key: 'copyRequiresWriterPermission',
1524
+ label: 'Copy Requires Writer Permission',
1525
+ format: 'boolean',
1526
+ },
1527
+ {
1528
+ key: 'domainUsersOnly',
1529
+ label: 'Domain Users Only',
1530
+ format: 'boolean',
1531
+ },
1532
+ {
1533
+ key: 'driveMembersOnly',
1534
+ label: 'Drive Members Only',
1535
+ format: 'boolean',
1536
+ },
1537
+ ],
1538
+ },
1539
+ ],
1540
+ };
1541
+
1542
+ export const driveListCommentsOutputSchema: OutputSchema = {
1543
+ fields: [
1544
+ {
1545
+ key: 'comments',
1546
+ label: 'Comments',
1547
+ labelKey: 'content',
1548
+ listItems: [
1549
+ {
1550
+ key: 'id',
1551
+ label: 'Comment ID',
1552
+ },
1553
+ {
1554
+ key: 'content',
1555
+ label: 'Content',
1556
+ },
1557
+ {
1558
+ key: 'createdTime',
1559
+ label: 'Created Time',
1560
+ format: 'datetime',
1561
+ },
1562
+ {
1563
+ key: 'modifiedTime',
1564
+ label: 'Modified Time',
1565
+ format: 'datetime',
1566
+ },
1567
+ {
1568
+ key: 'author',
1569
+ label: 'Author',
1570
+ children: [
1571
+ {
1572
+ key: 'displayName',
1573
+ label: 'Name',
1574
+ },
1575
+ {
1576
+ key: 'emailAddress',
1577
+ label: 'Email',
1578
+ format: 'email',
1579
+ },
1580
+ {
1581
+ key: 'photoLink',
1582
+ label: 'Photo',
1583
+ format: 'image',
1584
+ },
1585
+ ],
1586
+ },
1587
+ ],
1588
+ },
1589
+ ],
1590
+ };
1591
+
1592
+ export const driveCreateReplyOutputSchema: OutputSchema = {
1593
+ fields: [
1594
+ {
1595
+ key: 'id',
1596
+ label: 'Reply ID',
1597
+ },
1598
+ {
1599
+ key: 'content',
1600
+ label: 'Content',
1601
+ },
1602
+ {
1603
+ key: 'createdTime',
1604
+ label: 'Created Time',
1605
+ format: 'datetime',
1606
+ },
1607
+ {
1608
+ key: 'modifiedTime',
1609
+ label: 'Modified Time',
1610
+ format: 'datetime',
1611
+ },
1612
+ {
1613
+ key: 'author',
1614
+ label: 'Author',
1615
+ children: [
1616
+ {
1617
+ key: 'displayName',
1618
+ label: 'Name',
1619
+ },
1620
+ {
1621
+ key: 'emailAddress',
1622
+ label: 'Email',
1623
+ format: 'email',
1624
+ },
1625
+ {
1626
+ key: 'photoLink',
1627
+ label: 'Photo',
1628
+ format: 'image',
1629
+ },
1630
+ {
1631
+ key: 'me',
1632
+ label: 'Is Me',
1633
+ format: 'boolean',
1634
+ },
1635
+ ],
1636
+ },
1637
+ ],
1638
+ };
1639
+
1640
+ export const driveCreateCommentOutputSchema: OutputSchema = {
1641
+ fields: [
1642
+ {
1643
+ key: 'id',
1644
+ label: 'Comment ID',
1645
+ },
1646
+ {
1647
+ key: 'content',
1648
+ label: 'Content',
1649
+ },
1650
+ {
1651
+ key: 'createdTime',
1652
+ label: 'Created Time',
1653
+ format: 'datetime',
1654
+ },
1655
+ {
1656
+ key: 'modifiedTime',
1657
+ label: 'Modified Time',
1658
+ format: 'datetime',
1659
+ },
1660
+ {
1661
+ key: 'author',
1662
+ label: 'Author',
1663
+ children: [
1664
+ {
1665
+ key: 'displayName',
1666
+ label: 'Name',
1667
+ },
1668
+ {
1669
+ key: 'emailAddress',
1670
+ label: 'Email',
1671
+ format: 'email',
1672
+ },
1673
+ {
1674
+ key: 'photoLink',
1675
+ label: 'Photo',
1676
+ format: 'image',
1677
+ },
1678
+ {
1679
+ key: 'me',
1680
+ label: 'Is Me',
1681
+ format: 'boolean',
1682
+ },
1683
+ ],
1684
+ },
1685
+ ],
1686
+ };
1687
+
1688
+ export const driveGetReplyOutputSchema: OutputSchema = {
1689
+ fields: [
1690
+ {
1691
+ key: 'id',
1692
+ label: 'Reply ID',
1693
+ },
1694
+ {
1695
+ key: 'content',
1696
+ label: 'Content',
1697
+ },
1698
+ {
1699
+ key: 'htmlContent',
1700
+ label: 'HTML Content',
1701
+ format: 'html',
1702
+ },
1703
+ {
1704
+ key: 'createdTime',
1705
+ label: 'Created Time',
1706
+ format: 'datetime',
1707
+ },
1708
+ {
1709
+ key: 'modifiedTime',
1710
+ label: 'Modified Time',
1711
+ format: 'datetime',
1712
+ },
1713
+ {
1714
+ key: 'deleted',
1715
+ label: 'Deleted',
1716
+ format: 'boolean',
1717
+ },
1718
+ {
1719
+ key: 'author',
1720
+ label: 'Author',
1721
+ children: [
1722
+ {
1723
+ key: 'displayName',
1724
+ label: 'Name',
1725
+ },
1726
+ {
1727
+ key: 'emailAddress',
1728
+ label: 'Email',
1729
+ format: 'email',
1730
+ },
1731
+ {
1732
+ key: 'photoLink',
1733
+ label: 'Photo',
1734
+ format: 'image',
1735
+ },
1736
+ {
1737
+ key: 'me',
1738
+ label: 'Is Me',
1739
+ format: 'boolean',
1740
+ },
1741
+ ],
1742
+ },
1743
+ ],
1744
+ };
1745
+
1746
+ export const driveListRepliesOutputSchema: OutputSchema = {
1747
+ fields: [
1748
+ {
1749
+ key: 'replies',
1750
+ label: 'Replies',
1751
+ labelKey: 'content',
1752
+ listItems: [
1753
+ {
1754
+ key: 'id',
1755
+ label: 'Reply ID',
1756
+ },
1757
+ {
1758
+ key: 'content',
1759
+ label: 'Content',
1760
+ },
1761
+ {
1762
+ key: 'createdTime',
1763
+ label: 'Created Time',
1764
+ format: 'datetime',
1765
+ },
1766
+ {
1767
+ key: 'modifiedTime',
1768
+ label: 'Modified Time',
1769
+ format: 'datetime',
1770
+ },
1771
+ {
1772
+ key: 'deleted',
1773
+ label: 'Deleted',
1774
+ format: 'boolean',
1775
+ },
1776
+ {
1777
+ key: 'author',
1778
+ label: 'Author',
1779
+ children: [
1780
+ {
1781
+ key: 'displayName',
1782
+ label: 'Name',
1783
+ },
1784
+ {
1785
+ key: 'emailAddress',
1786
+ label: 'Email',
1787
+ format: 'email',
1788
+ },
1789
+ {
1790
+ key: 'photoLink',
1791
+ label: 'Photo',
1792
+ format: 'image',
1793
+ },
1794
+ ],
1795
+ },
1796
+ ],
1797
+ },
1798
+ ],
1799
+ };
1800
+
1801
+ export const driveUpdateReplyOutputSchema: OutputSchema = {
1802
+ fields: [
1803
+ {
1804
+ key: 'id',
1805
+ label: 'Reply ID',
1806
+ },
1807
+ {
1808
+ key: 'content',
1809
+ label: 'Content',
1810
+ },
1811
+ {
1812
+ key: 'modifiedTime',
1813
+ label: 'Modified Time',
1814
+ format: 'datetime',
1815
+ },
1816
+ {
1817
+ key: 'deleted',
1818
+ label: 'Deleted',
1819
+ format: 'boolean',
1820
+ },
1821
+ {
1822
+ key: 'author',
1823
+ label: 'Author',
1824
+ children: [
1825
+ {
1826
+ key: 'displayName',
1827
+ label: 'Name',
1828
+ },
1829
+ {
1830
+ key: 'emailAddress',
1831
+ label: 'Email',
1832
+ format: 'email',
1833
+ },
1834
+ {
1835
+ key: 'photoLink',
1836
+ label: 'Photo',
1837
+ format: 'image',
1838
+ },
1839
+ {
1840
+ key: 'me',
1841
+ label: 'Is Me',
1842
+ format: 'boolean',
1843
+ },
1844
+ ],
1845
+ },
1846
+ ],
1847
+ };
1848
+
1849
+ export const driveSaveFileAsPdfOutputSchema: OutputSchema = {
1850
+ fields: [
1851
+ {
1852
+ key: 'id',
1853
+ label: 'File ID',
1854
+ },
1855
+ {
1856
+ key: 'name',
1857
+ label: 'File Name',
1858
+ },
1859
+ {
1860
+ key: 'mimeType',
1861
+ label: 'MIME Type',
1862
+ },
1863
+ {
1864
+ key: 'size',
1865
+ label: 'Size',
1866
+ format: 'filesize',
1867
+ },
1868
+ {
1869
+ key: 'createdTime',
1870
+ label: 'Created Time',
1871
+ format: 'datetime',
1872
+ },
1873
+ {
1874
+ key: 'modifiedTime',
1875
+ label: 'Modified Time',
1876
+ format: 'datetime',
1877
+ },
1878
+ {
1879
+ key: 'webViewLink',
1880
+ label: 'View Link',
1881
+ format: 'url',
1882
+ },
1883
+ ],
1884
+ };
1885
+
1886
+ export const driveCreateFolderOutputSchema: OutputSchema = {
1887
+ fields: [
1888
+ {
1889
+ key: 'id',
1890
+ label: 'Folder ID',
1891
+ },
1892
+ {
1893
+ key: 'name',
1894
+ label: 'Folder Name',
1895
+ },
1896
+ {
1897
+ key: 'mimeType',
1898
+ label: 'MIME Type',
1899
+ },
1900
+ {
1901
+ key: 'kind',
1902
+ label: 'Kind',
1903
+ },
1904
+ {
1905
+ key: 'createdTime',
1906
+ label: 'Created Time',
1907
+ format: 'datetime',
1908
+ },
1909
+ {
1910
+ key: 'parents',
1911
+ label: 'Parent Folder IDs',
1912
+ },
1913
+ {
1914
+ key: 'webViewLink',
1915
+ label: 'View Link',
1916
+ format: 'url',
1917
+ },
1918
+ ],
1919
+ };
1920
+
1921
+ export const driveCreateSharedDriveOutputSchema: OutputSchema = {
1922
+ fields: [
1923
+ {
1924
+ key: 'id',
1925
+ label: 'Drive ID',
1926
+ },
1927
+ {
1928
+ key: 'name',
1929
+ label: 'Drive Name',
1930
+ },
1931
+ {
1932
+ key: 'kind',
1933
+ label: 'Kind',
1934
+ },
1935
+ {
1936
+ key: 'colorRgb',
1937
+ label: 'Color',
1938
+ },
1939
+ {
1940
+ key: 'createdTime',
1941
+ label: 'Created Time',
1942
+ format: 'datetime',
1943
+ },
1944
+ ],
1945
+ };
1946
+
1947
+ export const driveUpdateSharedDriveOutputSchema: OutputSchema = {
1948
+ fields: [
1949
+ {
1950
+ key: 'id',
1951
+ label: 'Drive ID',
1952
+ },
1953
+ {
1954
+ key: 'name',
1955
+ label: 'Drive Name',
1956
+ },
1957
+ {
1958
+ key: 'kind',
1959
+ label: 'Kind',
1960
+ },
1961
+ {
1962
+ key: 'colorRgb',
1963
+ label: 'Color',
1964
+ },
1965
+ {
1966
+ key: 'createdTime',
1967
+ label: 'Created Time',
1968
+ format: 'datetime',
1969
+ },
1970
+ ],
1971
+ };
1972
+
1973
+ export const driveUploadFromUrlOutputSchema: OutputSchema = {
1974
+ fields: [
1975
+ {
1976
+ key: 'id',
1977
+ label: 'File ID',
1978
+ },
1979
+ {
1980
+ key: 'name',
1981
+ label: 'File Name',
1982
+ },
1983
+ {
1984
+ key: 'mimeType',
1985
+ label: 'MIME Type',
1986
+ },
1987
+ {
1988
+ key: 'kind',
1989
+ label: 'Kind',
1990
+ },
1991
+ ],
1992
+ };
1993
+
1994
+ export const driveDownloadFileOutputSchema: OutputSchema = {
1995
+ fields: [
1996
+ {
1997
+ key: 'file',
1998
+ label: 'File URL',
1999
+ value: '',
2000
+ format: 'url',
2001
+ },
2002
+ ],
2003
+ };
2004
+
2005
+ export const driveExportWorkspaceFileOutputSchema: OutputSchema = {
2006
+ fields: [
2007
+ {
2008
+ key: 'file',
2009
+ label: 'File URL',
2010
+ value: '',
2011
+ format: 'url',
2012
+ },
2013
+ ],
2014
+ };
2015
+
2016
+ export const driveDeleteReplyOutputSchema: OutputSchema = {
2017
+ fields: [
2018
+ {
2019
+ key: 'success',
2020
+ label: 'Success',
2021
+ format: 'boolean',
2022
+ },
2023
+ {
2024
+ key: 'reply_id',
2025
+ label: 'Reply ID',
2026
+ },
2027
+ ],
2028
+ };
2029
+
2030
+ export const driveDeleteSharedDriveOutputSchema: OutputSchema = {
2031
+ fields: [
2032
+ {
2033
+ key: 'deleted',
2034
+ label: 'Deleted',
2035
+ format: 'boolean',
2036
+ },
2037
+ {
2038
+ key: 'driveId',
2039
+ label: 'Drive ID',
2040
+ },
2041
+ ],
2042
+ };
2043
+
2044
+ export const driveEmptyTrashOutputSchema: OutputSchema = {
2045
+ fields: [
2046
+ {
2047
+ key: 'success',
2048
+ label: 'Success',
2049
+ format: 'boolean',
2050
+ },
2051
+ {
2052
+ key: 'driveId',
2053
+ label: 'Drive ID',
2054
+ },
2055
+ ],
2056
+ };
2057
+
2058
+ export const driveRemovePermissionOutputSchema: OutputSchema = {
2059
+ fields: [
2060
+ {
2061
+ key: 'removed',
2062
+ label: 'Removed',
2063
+ format: 'boolean',
2064
+ },
2065
+ {
2066
+ key: 'message',
2067
+ label: 'Message',
2068
+ },
2069
+ ],
2070
+ };