@apteva/integrations 0.3.44 → 0.3.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/http-executor.js +55 -16
- package/dist/http-executor.js.map +1 -1
- package/dist/oauth.d.ts.map +1 -1
- package/dist/oauth.js +16 -1
- package/dist/oauth.js.map +1 -1
- package/dist/types.d.ts +1 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/apps/activecampaign.json +2 -2
- package/src/apps/activecollab.json +2 -2
- package/src/apps/alchemy.json +4 -4
- package/src/apps/alpaca-trading.json +4 -4
- package/src/apps/anthropic-api.json +2 -2
- package/src/apps/apify.json +2 -2
- package/src/apps/archive-api.json +2 -2
- package/src/apps/archive.json +2 -2
- package/src/apps/arduino-cloud.json +2 -2
- package/src/apps/arest.json +2 -2
- package/src/apps/asana.json +2 -2
- package/src/apps/aws-ec2.json +2 -2
- package/src/apps/aws-route53.json +2 -2
- package/src/apps/blynk.json +2 -2
- package/src/apps/bybit.json +4 -4
- package/src/apps/calflow-calendar.json +2 -2
- package/src/apps/callrail.json +2 -2
- package/src/apps/castbase.json +2 -2
- package/src/apps/chargebee.json +2 -2
- package/src/apps/clipkit.json +2 -2
- package/src/apps/cloudflare.json +2 -2
- package/src/apps/coda.json +2 -2
- package/src/apps/confluence.json +2 -2
- package/src/apps/contabo.json +2 -2
- package/src/apps/core-image.json +2 -2
- package/src/apps/docx.json +2 -2
- package/src/apps/dropbox.json +3 -3
- package/src/apps/dune.json +3 -3
- package/src/apps/dux-soup.json +3 -3
- package/src/apps/dynadot.json +2 -2
- package/src/apps/elevenlabs.json +2 -2
- package/src/apps/facebook-ads.json +9 -9
- package/src/apps/facebook-api.json +2 -2
- package/src/apps/fathom.json +2 -2
- package/src/apps/figma.json +2 -2
- package/src/apps/forecast-app.json +2 -2
- package/src/apps/freshdesk.json +2 -2
- package/src/apps/gemini.json +2 -2
- package/src/apps/gmail.json +13 -8
- package/src/apps/google-ads.json +10 -5
- package/src/apps/google-calendar.json +7 -2
- package/src/apps/google-docs.json +7 -2
- package/src/apps/google-drive.json +7 -2
- package/src/apps/google-maps.json +2 -2
- package/src/apps/google-sheets.json +332 -94
- package/src/apps/gooten.json +2 -2
- package/src/apps/gravity-forms.json +2 -2
- package/src/apps/harmonic.json +2 -2
- package/src/apps/ig-trading.json +2 -2
- package/src/apps/instagram-api.json +3 -3
- package/src/apps/klaviyo.json +2 -2
- package/src/apps/kling-ai.json +2 -2
- package/src/apps/linear.json +2 -2
- package/src/apps/media-downloader.json +2 -2
- package/src/apps/messari.json +4 -4
- package/src/apps/microsoft-teams.json +6 -3
- package/src/apps/moralis.json +4 -4
- package/src/apps/namecheap.json +2 -2
- package/src/apps/nexar.json +2 -2
- package/src/apps/notion.json +4 -4
- package/src/apps/okx.json +3 -3
- package/src/apps/oneinch.json +3 -3
- package/src/apps/openai-api.json +2 -2
- package/src/apps/openmeteo-weather.json +2 -2
- package/src/apps/paraswap.json +3 -3
- package/src/apps/pdf.json +2 -2
- package/src/apps/plaid.json +2 -2
- package/src/apps/portfolio.json +2 -2
- package/src/apps/rss.json +2 -2
- package/src/apps/salesflow.json +2 -2
- package/src/apps/salesforce-crm.json +2 -2
- package/src/apps/sap.json +2 -2
- package/src/apps/scaleway.json +2 -2
- package/src/apps/slides.json +2 -2
- package/src/apps/storylane.json +4 -4
- package/src/apps/supabase.json +2 -2
- package/src/apps/teamwork.json +2 -2
- package/src/apps/thegraph.json +3 -3
- package/src/apps/thinger.json +2 -2
- package/src/apps/torrent.json +2 -2
- package/src/apps/trading.json +2 -2
- package/src/apps/trading212.json +4 -4
- package/src/apps/trello.json +2 -2
- package/src/apps/twitter-ads.json +3 -3
- package/src/apps/twitter-api.json +2 -2
- package/src/apps/twitterapiio.json +2 -2
- package/src/apps/vidforge.json +2 -2
- package/src/apps/vonage.json +2 -2
- package/src/apps/woocommerce.json +2 -2
- package/src/apps/wordpress.json +2 -2
- package/src/apps/xero.json +2 -2
- package/src/apps/youtube-api.json +10 -5
- package/src/apps/zendesk.json +2 -2
- package/src/apps/zite.json +2 -2
|
@@ -1,20 +1,40 @@
|
|
|
1
1
|
{
|
|
2
2
|
"slug": "google-sheets",
|
|
3
3
|
"name": "Google Sheets",
|
|
4
|
-
"description": "Google Sheets API v4
|
|
4
|
+
"description": "Google Sheets API v4 \u2014 read, write, append, clear, and batch-mutate spreadsheets. Includes the generic spreadsheets:batchUpdate endpoint which exposes every formatting / sheet-management / find-replace operation Google supports.",
|
|
5
5
|
"logo": "https://www.google.com/s2/favicons?domain=sheets.google.com&sz=128",
|
|
6
|
-
"categories": [
|
|
6
|
+
"categories": [
|
|
7
|
+
"spreadsheets",
|
|
8
|
+
"google",
|
|
9
|
+
"data",
|
|
10
|
+
"productivity"
|
|
11
|
+
],
|
|
7
12
|
"base_url": "https://sheets.googleapis.com/v4",
|
|
8
13
|
"auth": {
|
|
9
|
-
"types": [
|
|
14
|
+
"types": [
|
|
15
|
+
"bearer",
|
|
16
|
+
"oauth2"
|
|
17
|
+
],
|
|
10
18
|
"headers": {
|
|
11
|
-
"Authorization": "Bearer {{
|
|
19
|
+
"Authorization": "Bearer {{token}}"
|
|
12
20
|
},
|
|
13
21
|
"credential_fields": [
|
|
14
|
-
{
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
22
|
+
{
|
|
23
|
+
"name": "accessToken",
|
|
24
|
+
"label": "accessToken"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "refreshToken",
|
|
28
|
+
"label": "refreshToken"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "expiresIn",
|
|
32
|
+
"label": "expiresIn"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "tokenType",
|
|
36
|
+
"label": "tokenType"
|
|
37
|
+
}
|
|
18
38
|
],
|
|
19
39
|
"oauth2": {
|
|
20
40
|
"authorize_url": "https://accounts.google.com/o/oauth2/v2/auth",
|
|
@@ -24,7 +44,12 @@
|
|
|
24
44
|
"https://www.googleapis.com/auth/spreadsheets.readonly"
|
|
25
45
|
],
|
|
26
46
|
"client_id_required": true,
|
|
27
|
-
"pkce": false
|
|
47
|
+
"pkce": false,
|
|
48
|
+
"extra_authorize_params": {
|
|
49
|
+
"access_type": "offline",
|
|
50
|
+
"prompt": "consent",
|
|
51
|
+
"include_granted_scopes": "true"
|
|
52
|
+
}
|
|
28
53
|
}
|
|
29
54
|
},
|
|
30
55
|
"tools": [
|
|
@@ -42,31 +67,39 @@
|
|
|
42
67
|
},
|
|
43
68
|
"sheets": {
|
|
44
69
|
"type": "array",
|
|
45
|
-
"items": {
|
|
46
|
-
|
|
70
|
+
"items": {
|
|
71
|
+
"type": "object"
|
|
72
|
+
},
|
|
73
|
+
"description": "Optional initial sheet definitions. Each entry is a Sheet object \u2014 minimum { properties: { title: 'Sheet1' } }."
|
|
47
74
|
}
|
|
48
75
|
},
|
|
49
|
-
"required": [
|
|
76
|
+
"required": [
|
|
77
|
+
"properties"
|
|
78
|
+
]
|
|
50
79
|
}
|
|
51
80
|
},
|
|
52
81
|
{
|
|
53
82
|
"name": "get_spreadsheet",
|
|
54
|
-
"description": "Get spreadsheet metadata: sheet names, sheet IDs, named ranges, properties. Use the `fields` mask to limit response size
|
|
83
|
+
"description": "Get spreadsheet metadata: sheet names, sheet IDs, named ranges, properties. Use the `fields` mask to limit response size \u2014 for just sheet names, set `fields=sheets.properties`.",
|
|
55
84
|
"method": "GET",
|
|
56
85
|
"path": "/spreadsheets/{spreadsheetId}",
|
|
57
86
|
"input_schema": {
|
|
58
87
|
"type": "object",
|
|
59
88
|
"properties": {
|
|
60
|
-
"spreadsheetId": {
|
|
89
|
+
"spreadsheetId": {
|
|
90
|
+
"type": "string"
|
|
91
|
+
},
|
|
61
92
|
"ranges": {
|
|
62
93
|
"type": "array",
|
|
63
|
-
"items": {
|
|
94
|
+
"items": {
|
|
95
|
+
"type": "string"
|
|
96
|
+
},
|
|
64
97
|
"description": "Optional A1 ranges to include grid data for. Without this only metadata is returned."
|
|
65
98
|
},
|
|
66
99
|
"includeGridData": {
|
|
67
100
|
"type": "boolean",
|
|
68
101
|
"default": false,
|
|
69
|
-
"description": "Include cell values + formatting in the response. Heavy
|
|
102
|
+
"description": "Include cell values + formatting in the response. Heavy \u2014 only set when needed."
|
|
70
103
|
},
|
|
71
104
|
"fields": {
|
|
72
105
|
"type": "string",
|
|
@@ -74,42 +107,62 @@
|
|
|
74
107
|
"description": "Comma-separated FieldMask to limit response size."
|
|
75
108
|
}
|
|
76
109
|
},
|
|
77
|
-
"required": [
|
|
110
|
+
"required": [
|
|
111
|
+
"spreadsheetId"
|
|
112
|
+
]
|
|
78
113
|
},
|
|
79
|
-
"query_params": [
|
|
114
|
+
"query_params": [
|
|
115
|
+
"ranges",
|
|
116
|
+
"includeGridData",
|
|
117
|
+
"fields"
|
|
118
|
+
]
|
|
80
119
|
},
|
|
81
120
|
{
|
|
82
121
|
"name": "get_by_filter",
|
|
83
|
-
"description": "Get spreadsheet by data filters
|
|
122
|
+
"description": "Get spreadsheet by data filters \u2014 narrows the response to specific A1 ranges, GridRanges, or developer-metadata-tagged cells without including the entire grid. Use this when you know which cells you want but don't have a single contiguous A1 range.",
|
|
84
123
|
"method": "POST",
|
|
85
124
|
"path": "/spreadsheets/{spreadsheetId}:getByDataFilter",
|
|
86
125
|
"input_schema": {
|
|
87
126
|
"type": "object",
|
|
88
127
|
"properties": {
|
|
89
|
-
"spreadsheetId": {
|
|
128
|
+
"spreadsheetId": {
|
|
129
|
+
"type": "string"
|
|
130
|
+
},
|
|
90
131
|
"dataFilters": {
|
|
91
132
|
"type": "array",
|
|
92
|
-
"items": {
|
|
133
|
+
"items": {
|
|
134
|
+
"type": "object"
|
|
135
|
+
},
|
|
93
136
|
"description": "Array of DataFilter objects. Each is one of: { a1Range: 'Sheet1!A1:B10' }, { gridRange: { sheetId, startRowIndex, endRowIndex, startColumnIndex, endColumnIndex } }, or { developerMetadataLookup: {...} }."
|
|
94
137
|
},
|
|
95
|
-
"includeGridData": {
|
|
138
|
+
"includeGridData": {
|
|
139
|
+
"type": "boolean",
|
|
140
|
+
"default": false
|
|
141
|
+
}
|
|
96
142
|
},
|
|
97
|
-
"required": [
|
|
143
|
+
"required": [
|
|
144
|
+
"spreadsheetId",
|
|
145
|
+
"dataFilters"
|
|
146
|
+
]
|
|
98
147
|
}
|
|
99
148
|
},
|
|
100
149
|
{
|
|
101
150
|
"name": "batch_update",
|
|
102
|
-
"description": "Generic spreadsheet batchUpdate
|
|
151
|
+
"description": "Generic spreadsheet batchUpdate \u2014 the catch-all endpoint for every spreadsheet mutation Google supports. The agent passes a list of Request objects; each Request has exactly one operation key. Common operations: addSheet, deleteSheet, updateSheetProperties, updateSpreadsheetProperties, findReplace, insertDimension, deleteDimension, appendDimension, autoResizeDimensions, updateDimensionProperties, repeatCell (formatting), updateCells, mergeCells, unmergeCells, setBasicFilter, clearBasicFilter, addChart, addConditionalFormatRule, updateConditionalFormatRule, deleteConditionalFormatRule, setDataValidation, addProtectedRange, deleteProtectedRange, addNamedRange, deleteNamedRange, addBanding, deleteBanding, addFilterView, sortRange, cutPaste, copyPaste, randomizeRange, pasteData. Example for find/replace across all sheets: { spreadsheetId, requests: [{ findReplace: { find: 'old', replacement: 'new', allSheets: true, matchCase: false } }] }. See https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/request for the full Request schema.",
|
|
103
152
|
"method": "POST",
|
|
104
153
|
"path": "/spreadsheets/{spreadsheetId}:batchUpdate",
|
|
105
154
|
"input_schema": {
|
|
106
155
|
"type": "object",
|
|
107
156
|
"properties": {
|
|
108
|
-
"spreadsheetId": {
|
|
157
|
+
"spreadsheetId": {
|
|
158
|
+
"type": "string"
|
|
159
|
+
},
|
|
109
160
|
"requests": {
|
|
110
161
|
"type": "array",
|
|
111
|
-
"items": {
|
|
112
|
-
|
|
162
|
+
"items": {
|
|
163
|
+
"type": "object"
|
|
164
|
+
},
|
|
165
|
+
"description": "Array of Request objects. Each Request has exactly one operation key (e.g. addSheet, findReplace, repeatCell, \u2026)."
|
|
113
166
|
},
|
|
114
167
|
"includeSpreadsheetInResponse": {
|
|
115
168
|
"type": "boolean",
|
|
@@ -118,11 +171,19 @@
|
|
|
118
171
|
},
|
|
119
172
|
"responseRanges": {
|
|
120
173
|
"type": "array",
|
|
121
|
-
"items": {
|
|
174
|
+
"items": {
|
|
175
|
+
"type": "string"
|
|
176
|
+
}
|
|
122
177
|
},
|
|
123
|
-
"responseIncludeGridData": {
|
|
178
|
+
"responseIncludeGridData": {
|
|
179
|
+
"type": "boolean",
|
|
180
|
+
"default": false
|
|
181
|
+
}
|
|
124
182
|
},
|
|
125
|
-
"required": [
|
|
183
|
+
"required": [
|
|
184
|
+
"spreadsheetId",
|
|
185
|
+
"requests"
|
|
186
|
+
]
|
|
126
187
|
}
|
|
127
188
|
},
|
|
128
189
|
{
|
|
@@ -133,26 +194,44 @@
|
|
|
133
194
|
"input_schema": {
|
|
134
195
|
"type": "object",
|
|
135
196
|
"properties": {
|
|
136
|
-
"spreadsheetId": {
|
|
137
|
-
|
|
197
|
+
"spreadsheetId": {
|
|
198
|
+
"type": "string"
|
|
199
|
+
},
|
|
200
|
+
"range": {
|
|
201
|
+
"type": "string",
|
|
202
|
+
"description": "A1 notation, e.g. 'Sheet1!A1:D10' or 'Sheet1!A:A'."
|
|
203
|
+
},
|
|
138
204
|
"valueRenderOption": {
|
|
139
205
|
"type": "string",
|
|
140
|
-
"enum": [
|
|
206
|
+
"enum": [
|
|
207
|
+
"FORMATTED_VALUE",
|
|
208
|
+
"UNFORMATTED_VALUE",
|
|
209
|
+
"FORMULA"
|
|
210
|
+
],
|
|
141
211
|
"default": "FORMATTED_VALUE",
|
|
142
212
|
"description": "How values should be represented. FORMULA returns the literal cell formula instead of the computed value."
|
|
143
213
|
},
|
|
144
214
|
"dateTimeRenderOption": {
|
|
145
215
|
"type": "string",
|
|
146
|
-
"enum": [
|
|
216
|
+
"enum": [
|
|
217
|
+
"SERIAL_NUMBER",
|
|
218
|
+
"FORMATTED_STRING"
|
|
219
|
+
],
|
|
147
220
|
"default": "FORMATTED_STRING"
|
|
148
221
|
},
|
|
149
222
|
"majorDimension": {
|
|
150
223
|
"type": "string",
|
|
151
|
-
"enum": [
|
|
224
|
+
"enum": [
|
|
225
|
+
"ROWS",
|
|
226
|
+
"COLUMNS"
|
|
227
|
+
],
|
|
152
228
|
"default": "ROWS"
|
|
153
229
|
}
|
|
154
230
|
},
|
|
155
|
-
"required": [
|
|
231
|
+
"required": [
|
|
232
|
+
"spreadsheetId",
|
|
233
|
+
"range"
|
|
234
|
+
]
|
|
156
235
|
}
|
|
157
236
|
},
|
|
158
237
|
{
|
|
@@ -163,35 +242,62 @@
|
|
|
163
242
|
"input_schema": {
|
|
164
243
|
"type": "object",
|
|
165
244
|
"properties": {
|
|
166
|
-
"spreadsheetId": {
|
|
167
|
-
|
|
245
|
+
"spreadsheetId": {
|
|
246
|
+
"type": "string"
|
|
247
|
+
},
|
|
248
|
+
"range": {
|
|
249
|
+
"type": "string",
|
|
250
|
+
"description": "A1 notation, e.g. 'Sheet1!A1:D10'."
|
|
251
|
+
},
|
|
168
252
|
"values": {
|
|
169
253
|
"type": "array",
|
|
170
|
-
"items": {
|
|
254
|
+
"items": {
|
|
255
|
+
"type": "array"
|
|
256
|
+
},
|
|
171
257
|
"description": "2D array of rows. Each row is an array of cell values (strings, numbers, booleans, or formula strings starting with '=')."
|
|
172
258
|
},
|
|
173
259
|
"majorDimension": {
|
|
174
260
|
"type": "string",
|
|
175
|
-
"enum": [
|
|
261
|
+
"enum": [
|
|
262
|
+
"ROWS",
|
|
263
|
+
"COLUMNS"
|
|
264
|
+
],
|
|
176
265
|
"default": "ROWS"
|
|
177
266
|
},
|
|
178
267
|
"valueInputOption": {
|
|
179
268
|
"type": "string",
|
|
180
|
-
"enum": [
|
|
269
|
+
"enum": [
|
|
270
|
+
"RAW",
|
|
271
|
+
"USER_ENTERED"
|
|
272
|
+
],
|
|
181
273
|
"default": "USER_ENTERED",
|
|
182
274
|
"description": "How input is interpreted. USER_ENTERED parses formulas, dates, percentages, etc. like a human typing into the UI. RAW writes the exact string."
|
|
183
275
|
},
|
|
184
|
-
"includeValuesInResponse": {
|
|
276
|
+
"includeValuesInResponse": {
|
|
277
|
+
"type": "boolean",
|
|
278
|
+
"default": false
|
|
279
|
+
},
|
|
185
280
|
"responseValueRenderOption": {
|
|
186
281
|
"type": "string",
|
|
187
|
-
"enum": [
|
|
282
|
+
"enum": [
|
|
283
|
+
"FORMATTED_VALUE",
|
|
284
|
+
"UNFORMATTED_VALUE",
|
|
285
|
+
"FORMULA"
|
|
286
|
+
]
|
|
188
287
|
},
|
|
189
288
|
"responseDateTimeRenderOption": {
|
|
190
289
|
"type": "string",
|
|
191
|
-
"enum": [
|
|
290
|
+
"enum": [
|
|
291
|
+
"SERIAL_NUMBER",
|
|
292
|
+
"FORMATTED_STRING"
|
|
293
|
+
]
|
|
192
294
|
}
|
|
193
295
|
},
|
|
194
|
-
"required": [
|
|
296
|
+
"required": [
|
|
297
|
+
"spreadsheetId",
|
|
298
|
+
"range",
|
|
299
|
+
"values"
|
|
300
|
+
]
|
|
195
301
|
},
|
|
196
302
|
"query_params": [
|
|
197
303
|
"valueInputOption",
|
|
@@ -208,42 +314,69 @@
|
|
|
208
314
|
"input_schema": {
|
|
209
315
|
"type": "object",
|
|
210
316
|
"properties": {
|
|
211
|
-
"spreadsheetId": {
|
|
317
|
+
"spreadsheetId": {
|
|
318
|
+
"type": "string"
|
|
319
|
+
},
|
|
212
320
|
"range": {
|
|
213
321
|
"type": "string",
|
|
214
322
|
"description": "A1 notation of any cell in the table to append to. Google walks down the column to find the last data row."
|
|
215
323
|
},
|
|
216
324
|
"values": {
|
|
217
325
|
"type": "array",
|
|
218
|
-
"items": {
|
|
326
|
+
"items": {
|
|
327
|
+
"type": "array"
|
|
328
|
+
},
|
|
219
329
|
"description": "2D array of rows to append."
|
|
220
330
|
},
|
|
221
331
|
"majorDimension": {
|
|
222
332
|
"type": "string",
|
|
223
|
-
"enum": [
|
|
333
|
+
"enum": [
|
|
334
|
+
"ROWS",
|
|
335
|
+
"COLUMNS"
|
|
336
|
+
],
|
|
224
337
|
"default": "ROWS"
|
|
225
338
|
},
|
|
226
339
|
"valueInputOption": {
|
|
227
340
|
"type": "string",
|
|
228
|
-
"enum": [
|
|
341
|
+
"enum": [
|
|
342
|
+
"RAW",
|
|
343
|
+
"USER_ENTERED"
|
|
344
|
+
],
|
|
229
345
|
"default": "USER_ENTERED"
|
|
230
346
|
},
|
|
231
347
|
"insertDataOption": {
|
|
232
348
|
"type": "string",
|
|
233
|
-
"enum": [
|
|
349
|
+
"enum": [
|
|
350
|
+
"OVERWRITE",
|
|
351
|
+
"INSERT_ROWS"
|
|
352
|
+
],
|
|
234
353
|
"default": "INSERT_ROWS"
|
|
235
354
|
},
|
|
236
|
-
"includeValuesInResponse": {
|
|
355
|
+
"includeValuesInResponse": {
|
|
356
|
+
"type": "boolean",
|
|
357
|
+
"default": false
|
|
358
|
+
},
|
|
237
359
|
"responseValueRenderOption": {
|
|
238
360
|
"type": "string",
|
|
239
|
-
"enum": [
|
|
361
|
+
"enum": [
|
|
362
|
+
"FORMATTED_VALUE",
|
|
363
|
+
"UNFORMATTED_VALUE",
|
|
364
|
+
"FORMULA"
|
|
365
|
+
]
|
|
240
366
|
},
|
|
241
367
|
"responseDateTimeRenderOption": {
|
|
242
368
|
"type": "string",
|
|
243
|
-
"enum": [
|
|
369
|
+
"enum": [
|
|
370
|
+
"SERIAL_NUMBER",
|
|
371
|
+
"FORMATTED_STRING"
|
|
372
|
+
]
|
|
244
373
|
}
|
|
245
374
|
},
|
|
246
|
-
"required": [
|
|
375
|
+
"required": [
|
|
376
|
+
"spreadsheetId",
|
|
377
|
+
"range",
|
|
378
|
+
"values"
|
|
379
|
+
]
|
|
247
380
|
},
|
|
248
381
|
"query_params": [
|
|
249
382
|
"valueInputOption",
|
|
@@ -255,16 +388,24 @@
|
|
|
255
388
|
},
|
|
256
389
|
{
|
|
257
390
|
"name": "clear_range",
|
|
258
|
-
"description": "Clear values from a single A1 range. Keeps formatting and other cell properties
|
|
391
|
+
"description": "Clear values from a single A1 range. Keeps formatting and other cell properties \u2014 only the values are wiped.",
|
|
259
392
|
"method": "POST",
|
|
260
393
|
"path": "/spreadsheets/{spreadsheetId}/values/{range}:clear",
|
|
261
394
|
"input_schema": {
|
|
262
395
|
"type": "object",
|
|
263
396
|
"properties": {
|
|
264
|
-
"spreadsheetId": {
|
|
265
|
-
|
|
397
|
+
"spreadsheetId": {
|
|
398
|
+
"type": "string"
|
|
399
|
+
},
|
|
400
|
+
"range": {
|
|
401
|
+
"type": "string",
|
|
402
|
+
"description": "A1 notation, e.g. 'Sheet1!A1:D10'."
|
|
403
|
+
}
|
|
266
404
|
},
|
|
267
|
-
"required": [
|
|
405
|
+
"required": [
|
|
406
|
+
"spreadsheetId",
|
|
407
|
+
"range"
|
|
408
|
+
]
|
|
268
409
|
}
|
|
269
410
|
},
|
|
270
411
|
{
|
|
@@ -275,29 +416,46 @@
|
|
|
275
416
|
"input_schema": {
|
|
276
417
|
"type": "object",
|
|
277
418
|
"properties": {
|
|
278
|
-
"spreadsheetId": {
|
|
419
|
+
"spreadsheetId": {
|
|
420
|
+
"type": "string"
|
|
421
|
+
},
|
|
279
422
|
"ranges": {
|
|
280
423
|
"type": "array",
|
|
281
|
-
"items": {
|
|
424
|
+
"items": {
|
|
425
|
+
"type": "string"
|
|
426
|
+
},
|
|
282
427
|
"description": "Array of A1 ranges, e.g. ['Sheet1!A1:B10', 'Sheet2!C1:C100']."
|
|
283
428
|
},
|
|
284
429
|
"valueRenderOption": {
|
|
285
430
|
"type": "string",
|
|
286
|
-
"enum": [
|
|
431
|
+
"enum": [
|
|
432
|
+
"FORMATTED_VALUE",
|
|
433
|
+
"UNFORMATTED_VALUE",
|
|
434
|
+
"FORMULA"
|
|
435
|
+
],
|
|
287
436
|
"default": "FORMATTED_VALUE"
|
|
288
437
|
},
|
|
289
438
|
"dateTimeRenderOption": {
|
|
290
439
|
"type": "string",
|
|
291
|
-
"enum": [
|
|
440
|
+
"enum": [
|
|
441
|
+
"SERIAL_NUMBER",
|
|
442
|
+
"FORMATTED_STRING"
|
|
443
|
+
],
|
|
292
444
|
"default": "FORMATTED_STRING"
|
|
293
445
|
},
|
|
294
446
|
"majorDimension": {
|
|
295
447
|
"type": "string",
|
|
296
|
-
"enum": [
|
|
448
|
+
"enum": [
|
|
449
|
+
"ROWS",
|
|
450
|
+
"COLUMNS"
|
|
451
|
+
],
|
|
297
452
|
"default": "ROWS"
|
|
298
453
|
}
|
|
299
454
|
},
|
|
300
|
-
"required": [
|
|
455
|
+
"required": [
|
|
456
|
+
"spreadsheetId",
|
|
457
|
+
"ranges"
|
|
458
|
+
]
|
|
301
459
|
}
|
|
302
460
|
},
|
|
303
461
|
{
|
|
@@ -308,29 +466,46 @@
|
|
|
308
466
|
"input_schema": {
|
|
309
467
|
"type": "object",
|
|
310
468
|
"properties": {
|
|
311
|
-
"spreadsheetId": {
|
|
469
|
+
"spreadsheetId": {
|
|
470
|
+
"type": "string"
|
|
471
|
+
},
|
|
312
472
|
"dataFilters": {
|
|
313
473
|
"type": "array",
|
|
314
|
-
"items": {
|
|
474
|
+
"items": {
|
|
475
|
+
"type": "object"
|
|
476
|
+
},
|
|
315
477
|
"description": "Array of DataFilter objects."
|
|
316
478
|
},
|
|
317
479
|
"valueRenderOption": {
|
|
318
480
|
"type": "string",
|
|
319
|
-
"enum": [
|
|
481
|
+
"enum": [
|
|
482
|
+
"FORMATTED_VALUE",
|
|
483
|
+
"UNFORMATTED_VALUE",
|
|
484
|
+
"FORMULA"
|
|
485
|
+
],
|
|
320
486
|
"default": "FORMATTED_VALUE"
|
|
321
487
|
},
|
|
322
488
|
"dateTimeRenderOption": {
|
|
323
489
|
"type": "string",
|
|
324
|
-
"enum": [
|
|
490
|
+
"enum": [
|
|
491
|
+
"SERIAL_NUMBER",
|
|
492
|
+
"FORMATTED_STRING"
|
|
493
|
+
],
|
|
325
494
|
"default": "FORMATTED_STRING"
|
|
326
495
|
},
|
|
327
496
|
"majorDimension": {
|
|
328
497
|
"type": "string",
|
|
329
|
-
"enum": [
|
|
498
|
+
"enum": [
|
|
499
|
+
"ROWS",
|
|
500
|
+
"COLUMNS"
|
|
501
|
+
],
|
|
330
502
|
"default": "ROWS"
|
|
331
503
|
}
|
|
332
504
|
},
|
|
333
|
-
"required": [
|
|
505
|
+
"required": [
|
|
506
|
+
"spreadsheetId",
|
|
507
|
+
"dataFilters"
|
|
508
|
+
]
|
|
334
509
|
}
|
|
335
510
|
},
|
|
336
511
|
{
|
|
@@ -341,29 +516,50 @@
|
|
|
341
516
|
"input_schema": {
|
|
342
517
|
"type": "object",
|
|
343
518
|
"properties": {
|
|
344
|
-
"spreadsheetId": {
|
|
519
|
+
"spreadsheetId": {
|
|
520
|
+
"type": "string"
|
|
521
|
+
},
|
|
345
522
|
"data": {
|
|
346
523
|
"type": "array",
|
|
347
|
-
"items": {
|
|
524
|
+
"items": {
|
|
525
|
+
"type": "object"
|
|
526
|
+
},
|
|
348
527
|
"description": "Array of ValueRange objects. Example: [{ range: 'Sheet1!A1', values: [['hello']] }, { range: 'Sheet2!B2', values: [['world']] }]."
|
|
349
528
|
},
|
|
350
529
|
"valueInputOption": {
|
|
351
530
|
"type": "string",
|
|
352
|
-
"enum": [
|
|
531
|
+
"enum": [
|
|
532
|
+
"RAW",
|
|
533
|
+
"USER_ENTERED"
|
|
534
|
+
],
|
|
353
535
|
"default": "USER_ENTERED",
|
|
354
536
|
"description": "Required by the API. Note: lives in the BODY for batchUpdate (unlike single-range update where it's a query param)."
|
|
355
537
|
},
|
|
356
|
-
"includeValuesInResponse": {
|
|
538
|
+
"includeValuesInResponse": {
|
|
539
|
+
"type": "boolean",
|
|
540
|
+
"default": false
|
|
541
|
+
},
|
|
357
542
|
"responseValueRenderOption": {
|
|
358
543
|
"type": "string",
|
|
359
|
-
"enum": [
|
|
544
|
+
"enum": [
|
|
545
|
+
"FORMATTED_VALUE",
|
|
546
|
+
"UNFORMATTED_VALUE",
|
|
547
|
+
"FORMULA"
|
|
548
|
+
]
|
|
360
549
|
},
|
|
361
550
|
"responseDateTimeRenderOption": {
|
|
362
551
|
"type": "string",
|
|
363
|
-
"enum": [
|
|
552
|
+
"enum": [
|
|
553
|
+
"SERIAL_NUMBER",
|
|
554
|
+
"FORMATTED_STRING"
|
|
555
|
+
]
|
|
364
556
|
}
|
|
365
557
|
},
|
|
366
|
-
"required": [
|
|
558
|
+
"required": [
|
|
559
|
+
"spreadsheetId",
|
|
560
|
+
"data",
|
|
561
|
+
"valueInputOption"
|
|
562
|
+
]
|
|
367
563
|
}
|
|
368
564
|
},
|
|
369
565
|
{
|
|
@@ -374,28 +570,49 @@
|
|
|
374
570
|
"input_schema": {
|
|
375
571
|
"type": "object",
|
|
376
572
|
"properties": {
|
|
377
|
-
"spreadsheetId": {
|
|
573
|
+
"spreadsheetId": {
|
|
574
|
+
"type": "string"
|
|
575
|
+
},
|
|
378
576
|
"data": {
|
|
379
577
|
"type": "array",
|
|
380
|
-
"items": {
|
|
578
|
+
"items": {
|
|
579
|
+
"type": "object"
|
|
580
|
+
},
|
|
381
581
|
"description": "Array of DataFilterValueRange objects. Example: [{ dataFilter: { a1Range: 'Sheet1!A1:B2' }, values: [['x','y'],['z','w']] }]."
|
|
382
582
|
},
|
|
383
583
|
"valueInputOption": {
|
|
384
584
|
"type": "string",
|
|
385
|
-
"enum": [
|
|
585
|
+
"enum": [
|
|
586
|
+
"RAW",
|
|
587
|
+
"USER_ENTERED"
|
|
588
|
+
],
|
|
386
589
|
"default": "USER_ENTERED"
|
|
387
590
|
},
|
|
388
|
-
"includeValuesInResponse": {
|
|
591
|
+
"includeValuesInResponse": {
|
|
592
|
+
"type": "boolean",
|
|
593
|
+
"default": false
|
|
594
|
+
},
|
|
389
595
|
"responseValueRenderOption": {
|
|
390
596
|
"type": "string",
|
|
391
|
-
"enum": [
|
|
597
|
+
"enum": [
|
|
598
|
+
"FORMATTED_VALUE",
|
|
599
|
+
"UNFORMATTED_VALUE",
|
|
600
|
+
"FORMULA"
|
|
601
|
+
]
|
|
392
602
|
},
|
|
393
603
|
"responseDateTimeRenderOption": {
|
|
394
604
|
"type": "string",
|
|
395
|
-
"enum": [
|
|
605
|
+
"enum": [
|
|
606
|
+
"SERIAL_NUMBER",
|
|
607
|
+
"FORMATTED_STRING"
|
|
608
|
+
]
|
|
396
609
|
}
|
|
397
610
|
},
|
|
398
|
-
"required": [
|
|
611
|
+
"required": [
|
|
612
|
+
"spreadsheetId",
|
|
613
|
+
"data",
|
|
614
|
+
"valueInputOption"
|
|
615
|
+
]
|
|
399
616
|
}
|
|
400
617
|
},
|
|
401
618
|
{
|
|
@@ -406,14 +623,21 @@
|
|
|
406
623
|
"input_schema": {
|
|
407
624
|
"type": "object",
|
|
408
625
|
"properties": {
|
|
409
|
-
"spreadsheetId": {
|
|
626
|
+
"spreadsheetId": {
|
|
627
|
+
"type": "string"
|
|
628
|
+
},
|
|
410
629
|
"ranges": {
|
|
411
630
|
"type": "array",
|
|
412
|
-
"items": {
|
|
631
|
+
"items": {
|
|
632
|
+
"type": "string"
|
|
633
|
+
},
|
|
413
634
|
"description": "Array of A1 ranges, e.g. ['Sheet1!A1:B10', 'Sheet2!C:C']."
|
|
414
635
|
}
|
|
415
636
|
},
|
|
416
|
-
"required": [
|
|
637
|
+
"required": [
|
|
638
|
+
"spreadsheetId",
|
|
639
|
+
"ranges"
|
|
640
|
+
]
|
|
417
641
|
}
|
|
418
642
|
},
|
|
419
643
|
{
|
|
@@ -424,13 +648,20 @@
|
|
|
424
648
|
"input_schema": {
|
|
425
649
|
"type": "object",
|
|
426
650
|
"properties": {
|
|
427
|
-
"spreadsheetId": {
|
|
651
|
+
"spreadsheetId": {
|
|
652
|
+
"type": "string"
|
|
653
|
+
},
|
|
428
654
|
"dataFilters": {
|
|
429
655
|
"type": "array",
|
|
430
|
-
"items": {
|
|
656
|
+
"items": {
|
|
657
|
+
"type": "object"
|
|
658
|
+
}
|
|
431
659
|
}
|
|
432
660
|
},
|
|
433
|
-
"required": [
|
|
661
|
+
"required": [
|
|
662
|
+
"spreadsheetId",
|
|
663
|
+
"dataFilters"
|
|
664
|
+
]
|
|
434
665
|
}
|
|
435
666
|
},
|
|
436
667
|
{
|
|
@@ -441,18 +672,25 @@
|
|
|
441
672
|
"input_schema": {
|
|
442
673
|
"type": "object",
|
|
443
674
|
"properties": {
|
|
444
|
-
"spreadsheetId": {
|
|
675
|
+
"spreadsheetId": {
|
|
676
|
+
"type": "string",
|
|
677
|
+
"description": "Source spreadsheet ID."
|
|
678
|
+
},
|
|
445
679
|
"sheetId": {
|
|
446
680
|
"type": "integer",
|
|
447
|
-
"description": "Numeric sheet ID of the tab to copy (NOT the sheet title). Get it from get_spreadsheet
|
|
681
|
+
"description": "Numeric sheet ID of the tab to copy (NOT the sheet title). Get it from get_spreadsheet \u2192 sheets[].properties.sheetId."
|
|
448
682
|
},
|
|
449
683
|
"destinationSpreadsheetId": {
|
|
450
684
|
"type": "string",
|
|
451
685
|
"description": "Target spreadsheet ID where the sheet will be copied to."
|
|
452
686
|
}
|
|
453
687
|
},
|
|
454
|
-
"required": [
|
|
688
|
+
"required": [
|
|
689
|
+
"spreadsheetId",
|
|
690
|
+
"sheetId",
|
|
691
|
+
"destinationSpreadsheetId"
|
|
692
|
+
]
|
|
455
693
|
}
|
|
456
694
|
}
|
|
457
695
|
]
|
|
458
|
-
}
|
|
696
|
+
}
|