@pikku/addon-google-sheets 0.0.2
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/README.md +12 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +67 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.js +78 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.js.map +1 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.ts +106 -0
- package/dist/.pikku/addon/pikku-package.gen.d.ts +2 -0
- package/dist/.pikku/addon/pikku-package.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/pikku-package.gen.js +11 -0
- package/dist/.pikku/addon/pikku-package.gen.js.map +1 -0
- package/dist/.pikku/addon/pikku-package.gen.ts +13 -0
- package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +4 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +47 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.js +18 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.ts +82 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +112 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts.map +1 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.js +60 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.js.map +1 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.ts +177 -0
- package/dist/.pikku/console/pikku-addon-meta.gen.json +26 -0
- package/dist/.pikku/console/pikku-node-types.gen.d.ts +7 -0
- package/dist/.pikku/console/pikku-node-types.gen.d.ts.map +1 -0
- package/dist/.pikku/console/pikku-node-types.gen.js +2 -0
- package/dist/.pikku/console/pikku-node-types.gen.js.map +1 -0
- package/dist/.pikku/console/pikku-node-types.gen.ts +8 -0
- package/dist/.pikku/credentials/pikku-credentials-meta.gen.json +23 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.d.ts +15 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.d.ts.map +1 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.js +13 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.js.map +1 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.ts +23 -0
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +490 -0
- package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -0
- package/dist/.pikku/function/pikku-function-types.gen.js +334 -0
- package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-function-types.gen.ts +754 -0
- package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +524 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.d.ts +2 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.js +7 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.json +344 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.ts +7 -0
- package/dist/.pikku/function/pikku-functions.gen.d.ts +2 -0
- package/dist/.pikku/function/pikku-functions.gen.d.ts.map +1 -0
- package/dist/.pikku/function/pikku-functions.gen.js +42 -0
- package/dist/.pikku/function/pikku-functions.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-functions.gen.ts +42 -0
- package/dist/.pikku/http/pikku-http-types.gen.d.ts +120 -0
- package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +1 -0
- package/dist/.pikku/http/pikku-http-types.gen.js +72 -0
- package/dist/.pikku/http/pikku-http-types.gen.js.map +1 -0
- package/dist/.pikku/http/pikku-http-types.gen.ts +147 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +131 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts.map +1 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js +38 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js.map +1 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.ts +183 -0
- package/dist/.pikku/pikku-bootstrap.gen.d.ts +9 -0
- package/dist/.pikku/pikku-bootstrap.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-bootstrap.gen.js +9 -0
- package/dist/.pikku/pikku-bootstrap.gen.js.map +1 -0
- package/dist/.pikku/pikku-bootstrap.gen.ts +8 -0
- package/dist/.pikku/pikku-meta-service.gen.d.ts +8 -0
- package/dist/.pikku/pikku-meta-service.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-meta-service.gen.js +10 -0
- package/dist/.pikku/pikku-meta-service.gen.js.map +1 -0
- package/dist/.pikku/pikku-meta-service.gen.ts +10 -0
- package/dist/.pikku/pikku-services.gen.d.ts +36 -0
- package/dist/.pikku/pikku-services.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-services.gen.js +32 -0
- package/dist/.pikku/pikku-services.gen.js.map +1 -0
- package/dist/.pikku/pikku-services.gen.ts +45 -0
- package/dist/.pikku/pikku-types.gen.d.ts +12 -0
- package/dist/.pikku/pikku-types.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-types.gen.js +17 -0
- package/dist/.pikku/pikku-types.gen.js.map +1 -0
- package/dist/.pikku/pikku-types.gen.ts +21 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +24 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts.map +1 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.js +17 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.js.map +1 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.ts +27 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +1356 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +1374 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts +2 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts.map +1 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +7 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +1 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +20 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +6 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +22 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts.map +1 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +17 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js.map +1 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.ts +25 -0
- package/dist/.pikku/schemas/register.gen.d.ts +2 -0
- package/dist/.pikku/schemas/register.gen.d.ts.map +1 -0
- package/dist/.pikku/schemas/register.gen.js +83 -0
- package/dist/.pikku/schemas/register.gen.js.map +1 -0
- package/dist/.pikku/schemas/register.gen.ts +159 -0
- package/dist/.pikku/schemas/schemas/BatchUpdateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/BatchUpdateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CredentialSchema_googleSheets.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/DeveloperMetadataGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/DeveloperMetadataGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/DeveloperMetadataSearchInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/DeveloperMetadataSearchOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetByDataFilterInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetByDataFilterOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ReadRowsInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ReadRowsOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/SecretSchema_googleSheetsOAuthApp.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/SheetsCopyToInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/SheetsCopyToOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ValuesAppendInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ValuesAppendOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ValuesBatchClearByDataFilterInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ValuesBatchClearByDataFilterOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ValuesBatchClearInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ValuesBatchClearOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ValuesBatchGetByDataFilterInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ValuesBatchGetByDataFilterOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ValuesBatchGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ValuesBatchGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ValuesBatchUpdateByDataFilterInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ValuesBatchUpdateByDataFilterOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ValuesBatchUpdateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ValuesBatchUpdateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ValuesClearInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ValuesClearOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ValuesGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ValuesGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ValuesUpdateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ValuesUpdateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/VariableSchema_GOOGLE_SHEETS_BASE_URL.schema.json +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +6 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.js +5 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.js.map +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.ts +5 -0
- package/dist/.pikku/secrets/pikku-secrets-meta.gen.json +10 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +15 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.js +13 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.js.map +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.ts +23 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +114 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts.map +1 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js +34 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js.map +1 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.ts +160 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +6 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +1 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.js +5 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.js.map +1 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.ts +5 -0
- package/dist/.pikku/variables/pikku-variables-meta.gen.json +10 -0
- package/dist/.pikku/variables/pikku-variables.gen.d.ts +15 -0
- package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +1 -0
- package/dist/.pikku/variables/pikku-variables.gen.js +13 -0
- package/dist/.pikku/variables/pikku-variables.gen.js.map +1 -0
- package/dist/.pikku/variables/pikku-variables.gen.ts +23 -0
- package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +38 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +90 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +18 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.ts +167 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts +2 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +7 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +9 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +5 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +5 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.ts +3 -0
- package/dist/src/functions/batchUpdate.function.d.ts +5 -0
- package/dist/src/functions/batchUpdate.function.d.ts.map +1 -0
- package/dist/src/functions/batchUpdate.function.js +13 -0
- package/dist/src/functions/batchUpdate.function.js.map +1 -0
- package/dist/src/functions/create.function.d.ts +5 -0
- package/dist/src/functions/create.function.d.ts.map +1 -0
- package/dist/src/functions/create.function.js +13 -0
- package/dist/src/functions/create.function.js.map +1 -0
- package/dist/src/functions/developerMetadataGet.function.d.ts +146 -0
- package/dist/src/functions/developerMetadataGet.function.d.ts.map +1 -0
- package/dist/src/functions/developerMetadataGet.function.js +43 -0
- package/dist/src/functions/developerMetadataGet.function.js.map +1 -0
- package/dist/src/functions/developerMetadataSearch.function.d.ts +438 -0
- package/dist/src/functions/developerMetadataSearch.function.d.ts.map +1 -0
- package/dist/src/functions/developerMetadataSearch.function.js +104 -0
- package/dist/src/functions/developerMetadataSearch.function.js.map +1 -0
- package/dist/src/functions/get.function.d.ts +72 -0
- package/dist/src/functions/get.function.d.ts.map +1 -0
- package/dist/src/functions/get.function.js +28 -0
- package/dist/src/functions/get.function.js.map +1 -0
- package/dist/src/functions/getByDataFilter.function.d.ts +208 -0
- package/dist/src/functions/getByDataFilter.function.d.ts.map +1 -0
- package/dist/src/functions/getByDataFilter.function.js +56 -0
- package/dist/src/functions/getByDataFilter.function.js.map +1 -0
- package/dist/src/functions/readRows.function.d.ts +25 -0
- package/dist/src/functions/readRows.function.d.ts.map +1 -0
- package/dist/src/functions/readRows.function.js +38 -0
- package/dist/src/functions/readRows.function.js.map +1 -0
- package/dist/src/functions/readRows.function.test.d.ts +2 -0
- package/dist/src/functions/readRows.function.test.d.ts.map +1 -0
- package/dist/src/functions/readRows.function.test.js +47 -0
- package/dist/src/functions/readRows.function.test.js.map +1 -0
- package/dist/src/functions/sheetsCopyTo.function.d.ts +298 -0
- package/dist/src/functions/sheetsCopyTo.function.d.ts.map +1 -0
- package/dist/src/functions/sheetsCopyTo.function.js +74 -0
- package/dist/src/functions/sheetsCopyTo.function.js.map +1 -0
- package/dist/src/functions/valuesAppend.function.d.ts +178 -0
- package/dist/src/functions/valuesAppend.function.d.ts.map +1 -0
- package/dist/src/functions/valuesAppend.function.js +49 -0
- package/dist/src/functions/valuesAppend.function.js.map +1 -0
- package/dist/src/functions/valuesBatchClear.function.d.ts +80 -0
- package/dist/src/functions/valuesBatchClear.function.d.ts.map +1 -0
- package/dist/src/functions/valuesBatchClear.function.js +30 -0
- package/dist/src/functions/valuesBatchClear.function.js.map +1 -0
- package/dist/src/functions/valuesBatchClearByDataFilter.function.d.ts +216 -0
- package/dist/src/functions/valuesBatchClearByDataFilter.function.d.ts.map +1 -0
- package/dist/src/functions/valuesBatchClearByDataFilter.function.js +58 -0
- package/dist/src/functions/valuesBatchClearByDataFilter.function.js.map +1 -0
- package/dist/src/functions/valuesBatchGet.function.d.ts +123 -0
- package/dist/src/functions/valuesBatchGet.function.d.ts.map +1 -0
- package/dist/src/functions/valuesBatchGet.function.js +37 -0
- package/dist/src/functions/valuesBatchGet.function.js.map +1 -0
- package/dist/src/functions/valuesBatchGetByDataFilter.function.d.ts +407 -0
- package/dist/src/functions/valuesBatchGetByDataFilter.function.d.ts.map +1 -0
- package/dist/src/functions/valuesBatchGetByDataFilter.function.js +96 -0
- package/dist/src/functions/valuesBatchGetByDataFilter.function.js.map +1 -0
- package/dist/src/functions/valuesBatchUpdate.function.d.ts +191 -0
- package/dist/src/functions/valuesBatchUpdate.function.d.ts.map +1 -0
- package/dist/src/functions/valuesBatchUpdate.function.js +53 -0
- package/dist/src/functions/valuesBatchUpdate.function.js.map +1 -0
- package/dist/src/functions/valuesBatchUpdateByDataFilter.function.d.ts +463 -0
- package/dist/src/functions/valuesBatchUpdateByDataFilter.function.d.ts.map +1 -0
- package/dist/src/functions/valuesBatchUpdateByDataFilter.function.js +109 -0
- package/dist/src/functions/valuesBatchUpdateByDataFilter.function.js.map +1 -0
- package/dist/src/functions/valuesClear.function.d.ts +80 -0
- package/dist/src/functions/valuesClear.function.d.ts.map +1 -0
- package/dist/src/functions/valuesClear.function.js +30 -0
- package/dist/src/functions/valuesClear.function.js.map +1 -0
- package/dist/src/functions/valuesGet.function.d.ts +111 -0
- package/dist/src/functions/valuesGet.function.d.ts.map +1 -0
- package/dist/src/functions/valuesGet.function.js +34 -0
- package/dist/src/functions/valuesGet.function.js.map +1 -0
- package/dist/src/functions/valuesUpdate.function.d.ts +155 -0
- package/dist/src/functions/valuesUpdate.function.d.ts.map +1 -0
- package/dist/src/functions/valuesUpdate.function.js +44 -0
- package/dist/src/functions/valuesUpdate.function.js.map +1 -0
- package/dist/src/google-sheets-api.service.d.ts +15 -0
- package/dist/src/google-sheets-api.service.d.ts.map +1 -0
- package/dist/src/google-sheets-api.service.js +426 -0
- package/dist/src/google-sheets-api.service.js.map +1 -0
- package/dist/src/google-sheets.credential.d.ts +10 -0
- package/dist/src/google-sheets.credential.d.ts.map +1 -0
- package/dist/src/google-sheets.credential.js +33 -0
- package/dist/src/google-sheets.credential.js.map +1 -0
- package/dist/src/google-sheets.types.d.ts +7 -0
- package/dist/src/google-sheets.types.d.ts.map +1 -0
- package/dist/src/google-sheets.types.js +8 -0
- package/dist/src/google-sheets.types.js.map +1 -0
- package/dist/src/google-sheets.variable.d.ts +5 -0
- package/dist/src/google-sheets.variable.d.ts.map +1 -0
- package/dist/src/google-sheets.variable.js +11 -0
- package/dist/src/google-sheets.variable.js.map +1 -0
- package/dist/src/index.d.ts +18 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +18 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/services.d.ts +2 -0
- package/dist/src/services.d.ts.map +1 -0
- package/dist/src/services.js +7 -0
- package/dist/src/services.js.map +1 -0
- package/package.json +39 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"spreadsheetId":{"type":"string","description":"The ID of the spreadsheet to update."},"$.xgafv":{"description":"V1 error format.","type":"string","enum":["1","2"]},"access_token":{"description":"OAuth access token.","type":"string"},"alt":{"description":"Data format for response.","type":"string","enum":["json","media","proto"]},"callback":{"description":"JSONP","type":"string"},"fields":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"key":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"oauth_token":{"description":"OAuth 2.0 token for the current user.","type":"string"},"prettyPrint":{"description":"Returns response with indentations and line breaks.","type":"boolean"},"quotaUser":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"upload_protocol":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"uploadType":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"dataFilters":{"description":"The DataFilters used to determine which ranges to clear.","type":"array","items":{"type":"object","properties":{"a1Range":{"description":"Selects data that matches the specified A1 range.","type":"string"},"developerMetadataLookup":{"description":"Selects data associated with the developer metadata matching the criteria described by this DeveloperMetadataLookup.","type":"object","properties":{"locationMatchingStrategy":{"description":"Determines how this lookup matches the location. If this field is specified as EXACT, only developer metadata associated on the exact location specified is matched. If this field is specified to INTERSECTING, developer metadata associated on intersecting locations is also matched. If left unspecified, this field assumes a default value of INTERSECTING. If this field is specified, a metadataLocation must also be specified.","type":"string","enum":["DEVELOPER_METADATA_LOCATION_MATCHING_STRATEGY_UNSPECIFIED","EXACT_LOCATION","INTERSECTING_LOCATION"]},"locationType":{"description":"Limits the selected developer metadata to those entries which are associated with locations of the specified type. For example, when this field is specified as ROW this lookup only considers developer metadata associated on rows. If the field is left unspecified, all location types are considered. This field cannot be specified as SPREADSHEET when the locationMatchingStrategy is specified as INTERSECTING or when the metadataLocation is specified as a non-spreadsheet location: spreadsheet metadata cannot intersect any other developer metadata location. This field also must be left unspecified when the locationMatchingStrategy is specified as EXACT.","type":"string","enum":["DEVELOPER_METADATA_LOCATION_TYPE_UNSPECIFIED","ROW","COLUMN","SHEET","SPREADSHEET"]},"metadataId":{"description":"Limits the selected developer metadata to that which has a matching DeveloperMetadata.metadata_id.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"metadataKey":{"description":"Limits the selected developer metadata to that which has a matching DeveloperMetadata.metadata_key.","type":"string"},"metadataLocation":{"description":"Limits the selected developer metadata to those entries associated with the specified location. This field either matches exact locations or all intersecting locations according the specified locationMatchingStrategy.","type":"object","properties":{"dimensionRange":{"description":"Represents the row or column when metadata is associated with a dimension. The specified DimensionRange must represent a single row or column; it cannot be unbounded or span multiple rows or columns.","type":"object","properties":{"dimension":{"description":"The dimension of the span.","type":"string","enum":["DIMENSION_UNSPECIFIED","ROWS","COLUMNS"]},"endIndex":{"description":"The end (exclusive) of the span, or not set if unbounded.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"sheetId":{"description":"The sheet this span is on.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"startIndex":{"description":"The start (inclusive) of the span, or not set if unbounded.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false},"locationType":{"description":"The type of location this object represents. This field is read-only.","type":"string","enum":["DEVELOPER_METADATA_LOCATION_TYPE_UNSPECIFIED","ROW","COLUMN","SHEET","SPREADSHEET"]},"sheetId":{"description":"The ID of the sheet when metadata is associated with an entire sheet.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"spreadsheet":{"description":"True when metadata is associated with an entire spreadsheet.","type":"boolean"}},"additionalProperties":false},"metadataValue":{"description":"Limits the selected developer metadata to that which has a matching DeveloperMetadata.metadata_value.","type":"string"},"visibility":{"description":"Limits the selected developer metadata to that which has a matching DeveloperMetadata.visibility. If left unspecified, all developer metadata visibile to the requesting project is considered.","type":"string","enum":["DEVELOPER_METADATA_VISIBILITY_UNSPECIFIED","DOCUMENT","PROJECT"]}},"additionalProperties":false},"gridRange":{"description":"Selects data that matches the range described by the GridRange.","type":"object","properties":{"endColumnIndex":{"description":"The end column (exclusive) of the range, or not set if unbounded.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"endRowIndex":{"description":"The end row (exclusive) of the range, or not set if unbounded.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"sheetId":{"description":"The sheet this range is on.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"startColumnIndex":{"description":"The start column (inclusive) of the range, or not set if unbounded.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"startRowIndex":{"description":"The start row (inclusive) of the range, or not set if unbounded.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false}},"additionalProperties":false}}},"required":["spreadsheetId"],"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"clearedRanges":{"description":"The ranges that were cleared, in [A1 notation](/sheets/api/guides/concepts#cell). If the requests are for an unbounded range or a ranger larger than the bounds of the sheet, this is the actual ranges that were cleared, bounded to the sheet's limits.","type":"array","items":{"type":"string"}},"spreadsheetId":{"description":"The spreadsheet the updates were applied to.","type":"string"}},"additionalProperties":false,"description":"The response when clearing a range of values selected with DataFilters in a spreadsheet."}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"spreadsheetId":{"type":"string","description":"The ID of the spreadsheet to update."},"$.xgafv":{"description":"V1 error format.","type":"string","enum":["1","2"]},"access_token":{"description":"OAuth access token.","type":"string"},"alt":{"description":"Data format for response.","type":"string","enum":["json","media","proto"]},"callback":{"description":"JSONP","type":"string"},"fields":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"key":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"oauth_token":{"description":"OAuth 2.0 token for the current user.","type":"string"},"prettyPrint":{"description":"Returns response with indentations and line breaks.","type":"boolean"},"quotaUser":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"upload_protocol":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"uploadType":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"ranges":{"description":"The ranges to clear, in [A1 notation or R1C1 notation](/sheets/api/guides/concepts#cell).","type":"array","items":{"type":"string"}}},"required":["spreadsheetId"],"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"clearedRanges":{"description":"The ranges that were cleared, in A1 notation. If the requests are for an unbounded range or a ranger larger than the bounds of the sheet, this is the actual ranges that were cleared, bounded to the sheet's limits.","type":"array","items":{"type":"string"}},"spreadsheetId":{"description":"The spreadsheet the updates were applied to.","type":"string"}},"additionalProperties":false,"description":"The response when clearing a range of values in a spreadsheet."}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"spreadsheetId":{"type":"string","description":"The ID of the spreadsheet to retrieve data from."},"$.xgafv":{"description":"V1 error format.","type":"string","enum":["1","2"]},"access_token":{"description":"OAuth access token.","type":"string"},"alt":{"description":"Data format for response.","type":"string","enum":["json","media","proto"]},"callback":{"description":"JSONP","type":"string"},"fields":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"key":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"oauth_token":{"description":"OAuth 2.0 token for the current user.","type":"string"},"prettyPrint":{"description":"Returns response with indentations and line breaks.","type":"boolean"},"quotaUser":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"upload_protocol":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"uploadType":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"dataFilters":{"description":"The data filters used to match the ranges of values to retrieve. Ranges that match any of the specified data filters are included in the response.","type":"array","items":{"type":"object","properties":{"a1Range":{"description":"Selects data that matches the specified A1 range.","type":"string"},"developerMetadataLookup":{"description":"Selects data associated with the developer metadata matching the criteria described by this DeveloperMetadataLookup.","type":"object","properties":{"locationMatchingStrategy":{"description":"Determines how this lookup matches the location. If this field is specified as EXACT, only developer metadata associated on the exact location specified is matched. If this field is specified to INTERSECTING, developer metadata associated on intersecting locations is also matched. If left unspecified, this field assumes a default value of INTERSECTING. If this field is specified, a metadataLocation must also be specified.","type":"string","enum":["DEVELOPER_METADATA_LOCATION_MATCHING_STRATEGY_UNSPECIFIED","EXACT_LOCATION","INTERSECTING_LOCATION"]},"locationType":{"description":"Limits the selected developer metadata to those entries which are associated with locations of the specified type. For example, when this field is specified as ROW this lookup only considers developer metadata associated on rows. If the field is left unspecified, all location types are considered. This field cannot be specified as SPREADSHEET when the locationMatchingStrategy is specified as INTERSECTING or when the metadataLocation is specified as a non-spreadsheet location: spreadsheet metadata cannot intersect any other developer metadata location. This field also must be left unspecified when the locationMatchingStrategy is specified as EXACT.","type":"string","enum":["DEVELOPER_METADATA_LOCATION_TYPE_UNSPECIFIED","ROW","COLUMN","SHEET","SPREADSHEET"]},"metadataId":{"description":"Limits the selected developer metadata to that which has a matching DeveloperMetadata.metadata_id.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"metadataKey":{"description":"Limits the selected developer metadata to that which has a matching DeveloperMetadata.metadata_key.","type":"string"},"metadataLocation":{"description":"Limits the selected developer metadata to those entries associated with the specified location. This field either matches exact locations or all intersecting locations according the specified locationMatchingStrategy.","type":"object","properties":{"dimensionRange":{"description":"Represents the row or column when metadata is associated with a dimension. The specified DimensionRange must represent a single row or column; it cannot be unbounded or span multiple rows or columns.","type":"object","properties":{"dimension":{"description":"The dimension of the span.","type":"string","enum":["DIMENSION_UNSPECIFIED","ROWS","COLUMNS"]},"endIndex":{"description":"The end (exclusive) of the span, or not set if unbounded.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"sheetId":{"description":"The sheet this span is on.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"startIndex":{"description":"The start (inclusive) of the span, or not set if unbounded.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false},"locationType":{"description":"The type of location this object represents. This field is read-only.","type":"string","enum":["DEVELOPER_METADATA_LOCATION_TYPE_UNSPECIFIED","ROW","COLUMN","SHEET","SPREADSHEET"]},"sheetId":{"description":"The ID of the sheet when metadata is associated with an entire sheet.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"spreadsheet":{"description":"True when metadata is associated with an entire spreadsheet.","type":"boolean"}},"additionalProperties":false},"metadataValue":{"description":"Limits the selected developer metadata to that which has a matching DeveloperMetadata.metadata_value.","type":"string"},"visibility":{"description":"Limits the selected developer metadata to that which has a matching DeveloperMetadata.visibility. If left unspecified, all developer metadata visibile to the requesting project is considered.","type":"string","enum":["DEVELOPER_METADATA_VISIBILITY_UNSPECIFIED","DOCUMENT","PROJECT"]}},"additionalProperties":false},"gridRange":{"description":"Selects data that matches the range described by the GridRange.","type":"object","properties":{"endColumnIndex":{"description":"The end column (exclusive) of the range, or not set if unbounded.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"endRowIndex":{"description":"The end row (exclusive) of the range, or not set if unbounded.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"sheetId":{"description":"The sheet this range is on.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"startColumnIndex":{"description":"The start column (inclusive) of the range, or not set if unbounded.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"startRowIndex":{"description":"The start row (inclusive) of the range, or not set if unbounded.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false}},"additionalProperties":false}},"dateTimeRenderOption":{"description":"How dates, times, and durations should be represented in the output. This is ignored if value_render_option is FORMATTED_VALUE. The default dateTime render option is SERIAL_NUMBER.","type":"string","enum":["SERIAL_NUMBER","FORMATTED_STRING"]},"majorDimension":{"description":"The major dimension that results should use. For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, then a request that selects that range and sets `majorDimension=ROWS` returns `[[1,2],[3,4]]`, whereas a request that sets `majorDimension=COLUMNS` returns `[[1,3],[2,4]]`.","type":"string","enum":["DIMENSION_UNSPECIFIED","ROWS","COLUMNS"]},"valueRenderOption":{"description":"How values should be represented in the output. The default render option is FORMATTED_VALUE.","type":"string","enum":["FORMATTED_VALUE","UNFORMATTED_VALUE","FORMULA"]}},"required":["spreadsheetId"],"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"spreadsheetId":{"description":"The ID of the spreadsheet the data was retrieved from.","type":"string"},"valueRanges":{"description":"The requested values with the list of data filters that matched them.","type":"array","items":{"type":"object","properties":{"dataFilters":{"description":"The DataFilters from the request that matched the range of values.","type":"array","items":{"type":"object","properties":{"a1Range":{"description":"Selects data that matches the specified A1 range.","type":"string"},"developerMetadataLookup":{"description":"Selects data associated with the developer metadata matching the criteria described by this DeveloperMetadataLookup.","type":"object","properties":{"locationMatchingStrategy":{"description":"Determines how this lookup matches the location. If this field is specified as EXACT, only developer metadata associated on the exact location specified is matched. If this field is specified to INTERSECTING, developer metadata associated on intersecting locations is also matched. If left unspecified, this field assumes a default value of INTERSECTING. If this field is specified, a metadataLocation must also be specified.","type":"string","enum":["DEVELOPER_METADATA_LOCATION_MATCHING_STRATEGY_UNSPECIFIED","EXACT_LOCATION","INTERSECTING_LOCATION"]},"locationType":{"description":"Limits the selected developer metadata to those entries which are associated with locations of the specified type. For example, when this field is specified as ROW this lookup only considers developer metadata associated on rows. If the field is left unspecified, all location types are considered. This field cannot be specified as SPREADSHEET when the locationMatchingStrategy is specified as INTERSECTING or when the metadataLocation is specified as a non-spreadsheet location: spreadsheet metadata cannot intersect any other developer metadata location. This field also must be left unspecified when the locationMatchingStrategy is specified as EXACT.","type":"string","enum":["DEVELOPER_METADATA_LOCATION_TYPE_UNSPECIFIED","ROW","COLUMN","SHEET","SPREADSHEET"]},"metadataId":{"description":"Limits the selected developer metadata to that which has a matching DeveloperMetadata.metadata_id.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"metadataKey":{"description":"Limits the selected developer metadata to that which has a matching DeveloperMetadata.metadata_key.","type":"string"},"metadataLocation":{"description":"Limits the selected developer metadata to those entries associated with the specified location. This field either matches exact locations or all intersecting locations according the specified locationMatchingStrategy.","type":"object","properties":{"dimensionRange":{"description":"Represents the row or column when metadata is associated with a dimension. The specified DimensionRange must represent a single row or column; it cannot be unbounded or span multiple rows or columns.","type":"object","properties":{"dimension":{"description":"The dimension of the span.","type":"string","enum":["DIMENSION_UNSPECIFIED","ROWS","COLUMNS"]},"endIndex":{"description":"The end (exclusive) of the span, or not set if unbounded.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"sheetId":{"description":"The sheet this span is on.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"startIndex":{"description":"The start (inclusive) of the span, or not set if unbounded.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false},"locationType":{"description":"The type of location this object represents. This field is read-only.","type":"string","enum":["DEVELOPER_METADATA_LOCATION_TYPE_UNSPECIFIED","ROW","COLUMN","SHEET","SPREADSHEET"]},"sheetId":{"description":"The ID of the sheet when metadata is associated with an entire sheet.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"spreadsheet":{"description":"True when metadata is associated with an entire spreadsheet.","type":"boolean"}},"additionalProperties":false},"metadataValue":{"description":"Limits the selected developer metadata to that which has a matching DeveloperMetadata.metadata_value.","type":"string"},"visibility":{"description":"Limits the selected developer metadata to that which has a matching DeveloperMetadata.visibility. If left unspecified, all developer metadata visibile to the requesting project is considered.","type":"string","enum":["DEVELOPER_METADATA_VISIBILITY_UNSPECIFIED","DOCUMENT","PROJECT"]}},"additionalProperties":false},"gridRange":{"description":"Selects data that matches the range described by the GridRange.","type":"object","properties":{"endColumnIndex":{"description":"The end column (exclusive) of the range, or not set if unbounded.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"endRowIndex":{"description":"The end row (exclusive) of the range, or not set if unbounded.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"sheetId":{"description":"The sheet this range is on.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"startColumnIndex":{"description":"The start column (inclusive) of the range, or not set if unbounded.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"startRowIndex":{"description":"The start row (inclusive) of the range, or not set if unbounded.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false}},"additionalProperties":false}},"valueRange":{"description":"The values matched by the DataFilter.","type":"object","properties":{"majorDimension":{"description":"The major dimension of the values. For output, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, then requesting `range=A1:B2,majorDimension=ROWS` will return `[[1,2],[3,4]]`, whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return `[[1,3],[2,4]]`. For input, with `range=A1:B2,majorDimension=ROWS` then `[[1,2],[3,4]]` will set `A1=1,B1=2,A2=3,B2=4`. With `range=A1:B2,majorDimension=COLUMNS` then `[[1,2],[3,4]]` will set `A1=1,B1=3,A2=2,B2=4`. When writing, if this field is not set, it defaults to ROWS.","type":"string","enum":["DIMENSION_UNSPECIFIED","ROWS","COLUMNS"]},"range":{"description":"The range the values cover, in [A1 notation](/sheets/api/guides/concepts#cell). For output, this range indicates the entire requested range, even though the values will exclude trailing rows and columns. When appending values, this field represents the range to search for a table, after which values will be appended.","type":"string"},"values":{"description":"The data that was read or to be written. This is an array of arrays, the outer array representing all the data and each inner array representing a major dimension. Each item in the inner array corresponds with one cell. For output, empty trailing rows and columns will not be included. For input, supported value types are: bool, string, and double. Null values will be skipped. To set a cell to an empty value, set the string value to an empty string.","type":"array","items":{"type":"array","items":{}}}},"additionalProperties":false}},"additionalProperties":false}}},"additionalProperties":false,"description":"The response when retrieving more than one range of values in a spreadsheet selected by DataFilters."}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"spreadsheetId":{"type":"string","description":"The ID of the spreadsheet to retrieve data from."},"$.xgafv":{"description":"V1 error format.","type":"string","enum":["1","2"]},"access_token":{"description":"OAuth access token.","type":"string"},"alt":{"description":"Data format for response.","type":"string","enum":["json","media","proto"]},"callback":{"description":"JSONP","type":"string"},"fields":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"key":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"oauth_token":{"description":"OAuth 2.0 token for the current user.","type":"string"},"prettyPrint":{"description":"Returns response with indentations and line breaks.","type":"boolean"},"quotaUser":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"upload_protocol":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"uploadType":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"dateTimeRenderOption":{"description":"How dates, times, and durations should be represented in the output. This is ignored if value_render_option is FORMATTED_VALUE. The default dateTime render option is SERIAL_NUMBER.","type":"string","enum":["SERIAL_NUMBER","FORMATTED_STRING"]},"majorDimension":{"description":"The major dimension that results should use. For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, then requesting `ranges=[\"A1:B2\"],majorDimension=ROWS` returns `[[1,2],[3,4]]`, whereas requesting `ranges=[\"A1:B2\"],majorDimension=COLUMNS` returns `[[1,3],[2,4]]`.","type":"string","enum":["DIMENSION_UNSPECIFIED","ROWS","COLUMNS"]},"ranges":{"description":"The [A1 notation or R1C1 notation](/sheets/api/guides/concepts#cell) of the range to retrieve values from.","type":"array","items":{"type":"string"}},"valueRenderOption":{"description":"How values should be represented in the output. The default render option is ValueRenderOption.FORMATTED_VALUE.","type":"string","enum":["FORMATTED_VALUE","UNFORMATTED_VALUE","FORMULA"]}},"required":["spreadsheetId"],"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"spreadsheetId":{"description":"The ID of the spreadsheet the data was retrieved from.","type":"string"},"valueRanges":{"description":"The requested values. The order of the ValueRanges is the same as the order of the requested ranges.","type":"array","items":{"type":"object","properties":{"majorDimension":{"description":"The major dimension of the values. For output, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, then requesting `range=A1:B2,majorDimension=ROWS` will return `[[1,2],[3,4]]`, whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return `[[1,3],[2,4]]`. For input, with `range=A1:B2,majorDimension=ROWS` then `[[1,2],[3,4]]` will set `A1=1,B1=2,A2=3,B2=4`. With `range=A1:B2,majorDimension=COLUMNS` then `[[1,2],[3,4]]` will set `A1=1,B1=3,A2=2,B2=4`. When writing, if this field is not set, it defaults to ROWS.","type":"string","enum":["DIMENSION_UNSPECIFIED","ROWS","COLUMNS"]},"range":{"description":"The range the values cover, in [A1 notation](/sheets/api/guides/concepts#cell). For output, this range indicates the entire requested range, even though the values will exclude trailing rows and columns. When appending values, this field represents the range to search for a table, after which values will be appended.","type":"string"},"values":{"description":"The data that was read or to be written. This is an array of arrays, the outer array representing all the data and each inner array representing a major dimension. Each item in the inner array corresponds with one cell. For output, empty trailing rows and columns will not be included. For input, supported value types are: bool, string, and double. Null values will be skipped. To set a cell to an empty value, set the string value to an empty string.","type":"array","items":{"type":"array","items":{}}}},"additionalProperties":false}}},"additionalProperties":false,"description":"The response when retrieving more than one range of values in a spreadsheet."}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"spreadsheetId":{"type":"string","description":"The ID of the spreadsheet to update."},"$.xgafv":{"description":"V1 error format.","type":"string","enum":["1","2"]},"access_token":{"description":"OAuth access token.","type":"string"},"alt":{"description":"Data format for response.","type":"string","enum":["json","media","proto"]},"callback":{"description":"JSONP","type":"string"},"fields":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"key":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"oauth_token":{"description":"OAuth 2.0 token for the current user.","type":"string"},"prettyPrint":{"description":"Returns response with indentations and line breaks.","type":"boolean"},"quotaUser":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"upload_protocol":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"uploadType":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"data":{"description":"The new values to apply to the spreadsheet. If more than one range is matched by the specified DataFilter the specified values are applied to all of those ranges.","type":"array","items":{"type":"object","properties":{"dataFilter":{"description":"The data filter describing the location of the values in the spreadsheet.","type":"object","properties":{"a1Range":{"description":"Selects data that matches the specified A1 range.","type":"string"},"developerMetadataLookup":{"description":"Selects data associated with the developer metadata matching the criteria described by this DeveloperMetadataLookup.","type":"object","properties":{"locationMatchingStrategy":{"description":"Determines how this lookup matches the location. If this field is specified as EXACT, only developer metadata associated on the exact location specified is matched. If this field is specified to INTERSECTING, developer metadata associated on intersecting locations is also matched. If left unspecified, this field assumes a default value of INTERSECTING. If this field is specified, a metadataLocation must also be specified.","type":"string","enum":["DEVELOPER_METADATA_LOCATION_MATCHING_STRATEGY_UNSPECIFIED","EXACT_LOCATION","INTERSECTING_LOCATION"]},"locationType":{"description":"Limits the selected developer metadata to those entries which are associated with locations of the specified type. For example, when this field is specified as ROW this lookup only considers developer metadata associated on rows. If the field is left unspecified, all location types are considered. This field cannot be specified as SPREADSHEET when the locationMatchingStrategy is specified as INTERSECTING or when the metadataLocation is specified as a non-spreadsheet location: spreadsheet metadata cannot intersect any other developer metadata location. This field also must be left unspecified when the locationMatchingStrategy is specified as EXACT.","type":"string","enum":["DEVELOPER_METADATA_LOCATION_TYPE_UNSPECIFIED","ROW","COLUMN","SHEET","SPREADSHEET"]},"metadataId":{"description":"Limits the selected developer metadata to that which has a matching DeveloperMetadata.metadata_id.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"metadataKey":{"description":"Limits the selected developer metadata to that which has a matching DeveloperMetadata.metadata_key.","type":"string"},"metadataLocation":{"description":"Limits the selected developer metadata to those entries associated with the specified location. This field either matches exact locations or all intersecting locations according the specified locationMatchingStrategy.","type":"object","properties":{"dimensionRange":{"description":"Represents the row or column when metadata is associated with a dimension. The specified DimensionRange must represent a single row or column; it cannot be unbounded or span multiple rows or columns.","type":"object","properties":{"dimension":{"description":"The dimension of the span.","type":"string","enum":["DIMENSION_UNSPECIFIED","ROWS","COLUMNS"]},"endIndex":{"description":"The end (exclusive) of the span, or not set if unbounded.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"sheetId":{"description":"The sheet this span is on.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"startIndex":{"description":"The start (inclusive) of the span, or not set if unbounded.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false},"locationType":{"description":"The type of location this object represents. This field is read-only.","type":"string","enum":["DEVELOPER_METADATA_LOCATION_TYPE_UNSPECIFIED","ROW","COLUMN","SHEET","SPREADSHEET"]},"sheetId":{"description":"The ID of the sheet when metadata is associated with an entire sheet.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"spreadsheet":{"description":"True when metadata is associated with an entire spreadsheet.","type":"boolean"}},"additionalProperties":false},"metadataValue":{"description":"Limits the selected developer metadata to that which has a matching DeveloperMetadata.metadata_value.","type":"string"},"visibility":{"description":"Limits the selected developer metadata to that which has a matching DeveloperMetadata.visibility. If left unspecified, all developer metadata visibile to the requesting project is considered.","type":"string","enum":["DEVELOPER_METADATA_VISIBILITY_UNSPECIFIED","DOCUMENT","PROJECT"]}},"additionalProperties":false},"gridRange":{"description":"Selects data that matches the range described by the GridRange.","type":"object","properties":{"endColumnIndex":{"description":"The end column (exclusive) of the range, or not set if unbounded.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"endRowIndex":{"description":"The end row (exclusive) of the range, or not set if unbounded.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"sheetId":{"description":"The sheet this range is on.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"startColumnIndex":{"description":"The start column (inclusive) of the range, or not set if unbounded.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"startRowIndex":{"description":"The start row (inclusive) of the range, or not set if unbounded.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false}},"additionalProperties":false},"majorDimension":{"description":"The major dimension of the values.","type":"string","enum":["DIMENSION_UNSPECIFIED","ROWS","COLUMNS"]},"values":{"description":"The data to be written. If the provided values exceed any of the ranges matched by the data filter then the request fails. If the provided values are less than the matched ranges only the specified values are written, existing values in the matched ranges remain unaffected.","type":"array","items":{"type":"array","items":{}}}},"additionalProperties":false}},"includeValuesInResponse":{"description":"Determines if the update response should include the values of the cells that were updated. By default, responses do not include the updated values. The `updatedData` field within each of the BatchUpdateValuesResponse.responses contains the updated values. If the range to write was larger than the range actually written, the response includes all values in the requested range (excluding trailing empty rows and columns).","type":"boolean"},"responseDateTimeRenderOption":{"description":"Determines how dates, times, and durations in the response should be rendered. This is ignored if response_value_render_option is FORMATTED_VALUE. The default dateTime render option is SERIAL_NUMBER.","type":"string","enum":["SERIAL_NUMBER","FORMATTED_STRING"]},"responseValueRenderOption":{"description":"Determines how values in the response should be rendered. The default render option is FORMATTED_VALUE.","type":"string","enum":["FORMATTED_VALUE","UNFORMATTED_VALUE","FORMULA"]},"valueInputOption":{"description":"How the input data should be interpreted.","type":"string","enum":["INPUT_VALUE_OPTION_UNSPECIFIED","RAW","USER_ENTERED"]}},"required":["spreadsheetId"],"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"responses":{"description":"The response for each range updated.","type":"array","items":{"type":"object","properties":{"dataFilter":{"description":"The data filter that selected the range that was updated.","type":"object","properties":{"a1Range":{"description":"Selects data that matches the specified A1 range.","type":"string"},"developerMetadataLookup":{"description":"Selects data associated with the developer metadata matching the criteria described by this DeveloperMetadataLookup.","type":"object","properties":{"locationMatchingStrategy":{"description":"Determines how this lookup matches the location. If this field is specified as EXACT, only developer metadata associated on the exact location specified is matched. If this field is specified to INTERSECTING, developer metadata associated on intersecting locations is also matched. If left unspecified, this field assumes a default value of INTERSECTING. If this field is specified, a metadataLocation must also be specified.","type":"string","enum":["DEVELOPER_METADATA_LOCATION_MATCHING_STRATEGY_UNSPECIFIED","EXACT_LOCATION","INTERSECTING_LOCATION"]},"locationType":{"description":"Limits the selected developer metadata to those entries which are associated with locations of the specified type. For example, when this field is specified as ROW this lookup only considers developer metadata associated on rows. If the field is left unspecified, all location types are considered. This field cannot be specified as SPREADSHEET when the locationMatchingStrategy is specified as INTERSECTING or when the metadataLocation is specified as a non-spreadsheet location: spreadsheet metadata cannot intersect any other developer metadata location. This field also must be left unspecified when the locationMatchingStrategy is specified as EXACT.","type":"string","enum":["DEVELOPER_METADATA_LOCATION_TYPE_UNSPECIFIED","ROW","COLUMN","SHEET","SPREADSHEET"]},"metadataId":{"description":"Limits the selected developer metadata to that which has a matching DeveloperMetadata.metadata_id.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"metadataKey":{"description":"Limits the selected developer metadata to that which has a matching DeveloperMetadata.metadata_key.","type":"string"},"metadataLocation":{"description":"Limits the selected developer metadata to those entries associated with the specified location. This field either matches exact locations or all intersecting locations according the specified locationMatchingStrategy.","type":"object","properties":{"dimensionRange":{"description":"Represents the row or column when metadata is associated with a dimension. The specified DimensionRange must represent a single row or column; it cannot be unbounded or span multiple rows or columns.","type":"object","properties":{"dimension":{"description":"The dimension of the span.","type":"string","enum":["DIMENSION_UNSPECIFIED","ROWS","COLUMNS"]},"endIndex":{"description":"The end (exclusive) of the span, or not set if unbounded.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"sheetId":{"description":"The sheet this span is on.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"startIndex":{"description":"The start (inclusive) of the span, or not set if unbounded.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false},"locationType":{"description":"The type of location this object represents. This field is read-only.","type":"string","enum":["DEVELOPER_METADATA_LOCATION_TYPE_UNSPECIFIED","ROW","COLUMN","SHEET","SPREADSHEET"]},"sheetId":{"description":"The ID of the sheet when metadata is associated with an entire sheet.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"spreadsheet":{"description":"True when metadata is associated with an entire spreadsheet.","type":"boolean"}},"additionalProperties":false},"metadataValue":{"description":"Limits the selected developer metadata to that which has a matching DeveloperMetadata.metadata_value.","type":"string"},"visibility":{"description":"Limits the selected developer metadata to that which has a matching DeveloperMetadata.visibility. If left unspecified, all developer metadata visibile to the requesting project is considered.","type":"string","enum":["DEVELOPER_METADATA_VISIBILITY_UNSPECIFIED","DOCUMENT","PROJECT"]}},"additionalProperties":false},"gridRange":{"description":"Selects data that matches the range described by the GridRange.","type":"object","properties":{"endColumnIndex":{"description":"The end column (exclusive) of the range, or not set if unbounded.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"endRowIndex":{"description":"The end row (exclusive) of the range, or not set if unbounded.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"sheetId":{"description":"The sheet this range is on.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"startColumnIndex":{"description":"The start column (inclusive) of the range, or not set if unbounded.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"startRowIndex":{"description":"The start row (inclusive) of the range, or not set if unbounded.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false}},"additionalProperties":false},"updatedCells":{"description":"The number of cells updated.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"updatedColumns":{"description":"The number of columns where at least one cell in the column was updated.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"updatedData":{"description":"The values of the cells in the range matched by the dataFilter after all updates were applied. This is only included if the request's `includeValuesInResponse` field was `true`.","type":"object","properties":{"majorDimension":{"description":"The major dimension of the values. For output, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, then requesting `range=A1:B2,majorDimension=ROWS` will return `[[1,2],[3,4]]`, whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return `[[1,3],[2,4]]`. For input, with `range=A1:B2,majorDimension=ROWS` then `[[1,2],[3,4]]` will set `A1=1,B1=2,A2=3,B2=4`. With `range=A1:B2,majorDimension=COLUMNS` then `[[1,2],[3,4]]` will set `A1=1,B1=3,A2=2,B2=4`. When writing, if this field is not set, it defaults to ROWS.","type":"string","enum":["DIMENSION_UNSPECIFIED","ROWS","COLUMNS"]},"range":{"description":"The range the values cover, in [A1 notation](/sheets/api/guides/concepts#cell). For output, this range indicates the entire requested range, even though the values will exclude trailing rows and columns. When appending values, this field represents the range to search for a table, after which values will be appended.","type":"string"},"values":{"description":"The data that was read or to be written. This is an array of arrays, the outer array representing all the data and each inner array representing a major dimension. Each item in the inner array corresponds with one cell. For output, empty trailing rows and columns will not be included. For input, supported value types are: bool, string, and double. Null values will be skipped. To set a cell to an empty value, set the string value to an empty string.","type":"array","items":{"type":"array","items":{}}}},"additionalProperties":false},"updatedRange":{"description":"The range (in [A1 notation](/sheets/api/guides/concepts#cell)) that updates were applied to.","type":"string"},"updatedRows":{"description":"The number of rows where at least one cell in the row was updated.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false}},"spreadsheetId":{"description":"The spreadsheet the updates were applied to.","type":"string"},"totalUpdatedCells":{"description":"The total number of cells updated.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"totalUpdatedColumns":{"description":"The total number of columns where at least one cell in the column was updated.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"totalUpdatedRows":{"description":"The total number of rows where at least one cell in the row was updated.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"totalUpdatedSheets":{"description":"The total number of sheets where at least one cell in the sheet was updated.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false,"description":"The response when updating a range of values in a spreadsheet."}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"spreadsheetId":{"type":"string","description":"The ID of the spreadsheet to update."},"$.xgafv":{"description":"V1 error format.","type":"string","enum":["1","2"]},"access_token":{"description":"OAuth access token.","type":"string"},"alt":{"description":"Data format for response.","type":"string","enum":["json","media","proto"]},"callback":{"description":"JSONP","type":"string"},"fields":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"key":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"oauth_token":{"description":"OAuth 2.0 token for the current user.","type":"string"},"prettyPrint":{"description":"Returns response with indentations and line breaks.","type":"boolean"},"quotaUser":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"upload_protocol":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"uploadType":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"data":{"description":"The new values to apply to the spreadsheet.","type":"array","items":{"type":"object","properties":{"majorDimension":{"description":"The major dimension of the values. For output, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, then requesting `range=A1:B2,majorDimension=ROWS` will return `[[1,2],[3,4]]`, whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return `[[1,3],[2,4]]`. For input, with `range=A1:B2,majorDimension=ROWS` then `[[1,2],[3,4]]` will set `A1=1,B1=2,A2=3,B2=4`. With `range=A1:B2,majorDimension=COLUMNS` then `[[1,2],[3,4]]` will set `A1=1,B1=3,A2=2,B2=4`. When writing, if this field is not set, it defaults to ROWS.","type":"string","enum":["DIMENSION_UNSPECIFIED","ROWS","COLUMNS"]},"range":{"description":"The range the values cover, in [A1 notation](/sheets/api/guides/concepts#cell). For output, this range indicates the entire requested range, even though the values will exclude trailing rows and columns. When appending values, this field represents the range to search for a table, after which values will be appended.","type":"string"},"values":{"description":"The data that was read or to be written. This is an array of arrays, the outer array representing all the data and each inner array representing a major dimension. Each item in the inner array corresponds with one cell. For output, empty trailing rows and columns will not be included. For input, supported value types are: bool, string, and double. Null values will be skipped. To set a cell to an empty value, set the string value to an empty string.","type":"array","items":{"type":"array","items":{}}}},"additionalProperties":false}},"includeValuesInResponse":{"description":"Determines if the update response should include the values of the cells that were updated. By default, responses do not include the updated values. The `updatedData` field within each of the BatchUpdateValuesResponse.responses contains the updated values. If the range to write was larger than the range actually written, the response includes all values in the requested range (excluding trailing empty rows and columns).","type":"boolean"},"responseDateTimeRenderOption":{"description":"Determines how dates, times, and durations in the response should be rendered. This is ignored if response_value_render_option is FORMATTED_VALUE. The default dateTime render option is SERIAL_NUMBER.","type":"string","enum":["SERIAL_NUMBER","FORMATTED_STRING"]},"responseValueRenderOption":{"description":"Determines how values in the response should be rendered. The default render option is FORMATTED_VALUE.","type":"string","enum":["FORMATTED_VALUE","UNFORMATTED_VALUE","FORMULA"]},"valueInputOption":{"description":"How the input data should be interpreted.","type":"string","enum":["INPUT_VALUE_OPTION_UNSPECIFIED","RAW","USER_ENTERED"]}},"required":["spreadsheetId"],"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"responses":{"description":"One UpdateValuesResponse per requested range, in the same order as the requests appeared.","type":"array","items":{"type":"object","properties":{"spreadsheetId":{"description":"The spreadsheet the updates were applied to.","type":"string"},"updatedCells":{"description":"The number of cells updated.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"updatedColumns":{"description":"The number of columns where at least one cell in the column was updated.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"updatedData":{"description":"The values of the cells after updates were applied. This is only included if the request's `includeValuesInResponse` field was `true`.","type":"object","properties":{"majorDimension":{"description":"The major dimension of the values. For output, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, then requesting `range=A1:B2,majorDimension=ROWS` will return `[[1,2],[3,4]]`, whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return `[[1,3],[2,4]]`. For input, with `range=A1:B2,majorDimension=ROWS` then `[[1,2],[3,4]]` will set `A1=1,B1=2,A2=3,B2=4`. With `range=A1:B2,majorDimension=COLUMNS` then `[[1,2],[3,4]]` will set `A1=1,B1=3,A2=2,B2=4`. When writing, if this field is not set, it defaults to ROWS.","type":"string","enum":["DIMENSION_UNSPECIFIED","ROWS","COLUMNS"]},"range":{"description":"The range the values cover, in [A1 notation](/sheets/api/guides/concepts#cell). For output, this range indicates the entire requested range, even though the values will exclude trailing rows and columns. When appending values, this field represents the range to search for a table, after which values will be appended.","type":"string"},"values":{"description":"The data that was read or to be written. This is an array of arrays, the outer array representing all the data and each inner array representing a major dimension. Each item in the inner array corresponds with one cell. For output, empty trailing rows and columns will not be included. For input, supported value types are: bool, string, and double. Null values will be skipped. To set a cell to an empty value, set the string value to an empty string.","type":"array","items":{"type":"array","items":{}}}},"additionalProperties":false},"updatedRange":{"description":"The range (in A1 notation) that updates were applied to.","type":"string"},"updatedRows":{"description":"The number of rows where at least one cell in the row was updated.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false}},"spreadsheetId":{"description":"The spreadsheet the updates were applied to.","type":"string"},"totalUpdatedCells":{"description":"The total number of cells updated.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"totalUpdatedColumns":{"description":"The total number of columns where at least one cell in the column was updated.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"totalUpdatedRows":{"description":"The total number of rows where at least one cell in the row was updated.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"totalUpdatedSheets":{"description":"The total number of sheets where at least one cell in the sheet was updated.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false,"description":"The response when updating a range of values in a spreadsheet."}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"spreadsheetId":{"type":"string","description":"The ID of the spreadsheet to update."},"range":{"type":"string","description":"The [A1 notation or R1C1 notation](/sheets/api/guides/concepts#cell) of the values to clear."},"$.xgafv":{"description":"V1 error format.","type":"string","enum":["1","2"]},"access_token":{"description":"OAuth access token.","type":"string"},"alt":{"description":"Data format for response.","type":"string","enum":["json","media","proto"]},"callback":{"description":"JSONP","type":"string"},"fields":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"key":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"oauth_token":{"description":"OAuth 2.0 token for the current user.","type":"string"},"prettyPrint":{"description":"Returns response with indentations and line breaks.","type":"boolean"},"quotaUser":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"upload_protocol":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"uploadType":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"}},"required":["spreadsheetId","range"],"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"clearedRange":{"description":"The range (in A1 notation) that was cleared. (If the request was for an unbounded range or a ranger larger than the bounds of the sheet, this will be the actual range that was cleared, bounded to the sheet's limits.)","type":"string"},"spreadsheetId":{"description":"The spreadsheet the updates were applied to.","type":"string"}},"additionalProperties":false,"description":"The response when clearing a range of values in a spreadsheet."}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"spreadsheetId":{"type":"string","description":"The ID of the spreadsheet to retrieve data from."},"range":{"type":"string","description":"The [A1 notation or R1C1 notation](/sheets/api/guides/concepts#cell) of the range to retrieve values from."},"$.xgafv":{"description":"V1 error format.","type":"string","enum":["1","2"]},"access_token":{"description":"OAuth access token.","type":"string"},"alt":{"description":"Data format for response.","type":"string","enum":["json","media","proto"]},"callback":{"description":"JSONP","type":"string"},"fields":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"key":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"oauth_token":{"description":"OAuth 2.0 token for the current user.","type":"string"},"prettyPrint":{"description":"Returns response with indentations and line breaks.","type":"boolean"},"quotaUser":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"upload_protocol":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"uploadType":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"dateTimeRenderOption":{"description":"How dates, times, and durations should be represented in the output. This is ignored if value_render_option is FORMATTED_VALUE. The default dateTime render option is SERIAL_NUMBER.","type":"string","enum":["SERIAL_NUMBER","FORMATTED_STRING"]},"majorDimension":{"description":"The major dimension that results should use. For example, if the spreadsheet data in Sheet1 is: `A1=1,B1=2,A2=3,B2=4`, then requesting `range=Sheet1!A1:B2?majorDimension=ROWS` returns `[[1,2],[3,4]]`, whereas requesting `range=Sheet1!A1:B2?majorDimension=COLUMNS` returns `[[1,3],[2,4]]`.","type":"string","enum":["DIMENSION_UNSPECIFIED","ROWS","COLUMNS"]},"valueRenderOption":{"description":"How values should be represented in the output. The default render option is FORMATTED_VALUE.","type":"string","enum":["FORMATTED_VALUE","UNFORMATTED_VALUE","FORMULA"]}},"required":["spreadsheetId","range"],"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"majorDimension":{"description":"The major dimension of the values. For output, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, then requesting `range=A1:B2,majorDimension=ROWS` will return `[[1,2],[3,4]]`, whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return `[[1,3],[2,4]]`. For input, with `range=A1:B2,majorDimension=ROWS` then `[[1,2],[3,4]]` will set `A1=1,B1=2,A2=3,B2=4`. With `range=A1:B2,majorDimension=COLUMNS` then `[[1,2],[3,4]]` will set `A1=1,B1=3,A2=2,B2=4`. When writing, if this field is not set, it defaults to ROWS.","type":"string","enum":["DIMENSION_UNSPECIFIED","ROWS","COLUMNS"]},"range":{"description":"The range the values cover, in [A1 notation](/sheets/api/guides/concepts#cell). For output, this range indicates the entire requested range, even though the values will exclude trailing rows and columns. When appending values, this field represents the range to search for a table, after which values will be appended.","type":"string"},"values":{"description":"The data that was read or to be written. This is an array of arrays, the outer array representing all the data and each inner array representing a major dimension. Each item in the inner array corresponds with one cell. For output, empty trailing rows and columns will not be included. For input, supported value types are: bool, string, and double. Null values will be skipped. To set a cell to an empty value, set the string value to an empty string.","type":"array","items":{"type":"array","items":{}}}},"additionalProperties":false,"description":"Data within a range of the spreadsheet."}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"spreadsheetId":{"type":"string","description":"The ID of the spreadsheet to update."},"range":{"type":"string","description":"The [A1 notation](/sheets/api/guides/concepts#cell) of the values to update."},"$.xgafv":{"description":"V1 error format.","type":"string","enum":["1","2"]},"access_token":{"description":"OAuth access token.","type":"string"},"alt":{"description":"Data format for response.","type":"string","enum":["json","media","proto"]},"callback":{"description":"JSONP","type":"string"},"fields":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"key":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"oauth_token":{"description":"OAuth 2.0 token for the current user.","type":"string"},"prettyPrint":{"description":"Returns response with indentations and line breaks.","type":"boolean"},"quotaUser":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"upload_protocol":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"uploadType":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"includeValuesInResponse":{"description":"Determines if the update response should include the values of the cells that were updated. By default, responses do not include the updated values. If the range to write was larger than the range actually written, the response includes all values in the requested range (excluding trailing empty rows and columns).","type":"boolean"},"responseDateTimeRenderOption":{"description":"Determines how dates, times, and durations in the response should be rendered. This is ignored if response_value_render_option is FORMATTED_VALUE. The default dateTime render option is SERIAL_NUMBER.","type":"string","enum":["SERIAL_NUMBER","FORMATTED_STRING"]},"responseValueRenderOption":{"description":"Determines how values in the response should be rendered. The default render option is FORMATTED_VALUE.","type":"string","enum":["FORMATTED_VALUE","UNFORMATTED_VALUE","FORMULA"]},"valueInputOption":{"description":"How the input data should be interpreted.","type":"string","enum":["INPUT_VALUE_OPTION_UNSPECIFIED","RAW","USER_ENTERED"]},"majorDimension":{"description":"The major dimension of the values. For output, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, then requesting `range=A1:B2,majorDimension=ROWS` will return `[[1,2],[3,4]]`, whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return `[[1,3],[2,4]]`. For input, with `range=A1:B2,majorDimension=ROWS` then `[[1,2],[3,4]]` will set `A1=1,B1=2,A2=3,B2=4`. With `range=A1:B2,majorDimension=COLUMNS` then `[[1,2],[3,4]]` will set `A1=1,B1=3,A2=2,B2=4`. When writing, if this field is not set, it defaults to ROWS.","type":"string","enum":["DIMENSION_UNSPECIFIED","ROWS","COLUMNS"]},"values":{"description":"The data that was read or to be written. This is an array of arrays, the outer array representing all the data and each inner array representing a major dimension. Each item in the inner array corresponds with one cell. For output, empty trailing rows and columns will not be included. For input, supported value types are: bool, string, and double. Null values will be skipped. To set a cell to an empty value, set the string value to an empty string.","type":"array","items":{"type":"array","items":{}}}},"required":["spreadsheetId","range"],"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"spreadsheetId":{"description":"The spreadsheet the updates were applied to.","type":"string"},"updatedCells":{"description":"The number of cells updated.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"updatedColumns":{"description":"The number of columns where at least one cell in the column was updated.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"updatedData":{"description":"The values of the cells after updates were applied. This is only included if the request's `includeValuesInResponse` field was `true`.","type":"object","properties":{"majorDimension":{"description":"The major dimension of the values. For output, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, then requesting `range=A1:B2,majorDimension=ROWS` will return `[[1,2],[3,4]]`, whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return `[[1,3],[2,4]]`. For input, with `range=A1:B2,majorDimension=ROWS` then `[[1,2],[3,4]]` will set `A1=1,B1=2,A2=3,B2=4`. With `range=A1:B2,majorDimension=COLUMNS` then `[[1,2],[3,4]]` will set `A1=1,B1=3,A2=2,B2=4`. When writing, if this field is not set, it defaults to ROWS.","type":"string","enum":["DIMENSION_UNSPECIFIED","ROWS","COLUMNS"]},"range":{"description":"The range the values cover, in [A1 notation](/sheets/api/guides/concepts#cell). For output, this range indicates the entire requested range, even though the values will exclude trailing rows and columns. When appending values, this field represents the range to search for a table, after which values will be appended.","type":"string"},"values":{"description":"The data that was read or to be written. This is an array of arrays, the outer array representing all the data and each inner array representing a major dimension. Each item in the inner array corresponds with one cell. For output, empty trailing rows and columns will not be included. For input, supported value types are: bool, string, and double. Null values will be skipped. To set a cell to an empty value, set the string value to an empty string.","type":"array","items":{"type":"array","items":{}}}},"additionalProperties":false},"updatedRange":{"description":"The range (in A1 notation) that updates were applied to.","type":"string"},"updatedRows":{"description":"The number of rows where at least one cell in the row was updated.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false,"description":"The response when updating a range of values in a spreadsheet."}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","default":"https://sheets.googleapis.com/","type":"string","enum":["https://sheets.googleapis.com/"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-secret-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/secrets/pikku-secret-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC/C,YAAY,EAAE,UAAU,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-secret-types.gen.js","sourceRoot":"","sources":["../../../.pikku/secrets/pikku-secret-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"googleSheetsOAuthApp": {
|
|
3
|
+
"name": "googleSheetsOAuthApp",
|
|
4
|
+
"displayName": "Google Sheets OAuth App",
|
|
5
|
+
"description": "OAuth2 app credentials for Google Sheets",
|
|
6
|
+
"secretId": "GOOGLE_SHEETS_OAUTH_APP",
|
|
7
|
+
"schema": "SecretSchema_googleSheetsOAuthApp",
|
|
8
|
+
"sourceFile": "/home/runner/work/addons/addons/packages/data/google-sheets/src/google-sheets.credential.ts"
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { TypedSecretService as CoreTypedSecretService } from '@pikku/core/services';
|
|
5
|
+
import type { SecretService } from '@pikku/core/services';
|
|
6
|
+
import type { z } from 'zod';
|
|
7
|
+
import { googleSheetsOAuthAppSchema } from '../../src/google-sheets.credential.js';
|
|
8
|
+
export interface CredentialsMap {
|
|
9
|
+
'GOOGLE_SHEETS_OAUTH_APP': z.infer<typeof googleSheetsOAuthAppSchema>;
|
|
10
|
+
}
|
|
11
|
+
export type SecretId = keyof CredentialsMap;
|
|
12
|
+
export declare class TypedSecretService extends CoreTypedSecretService<CredentialsMap> {
|
|
13
|
+
constructor(secrets: SecretService);
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=pikku-secrets.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-secrets.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/secrets/pikku-secrets.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,kBAAkB,IAAI,sBAAsB,EAAuB,MAAM,sBAAsB,CAAA;AACxG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAC5B,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAA;AAElF,MAAM,WAAW,cAAc;IAC7B,yBAAyB,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAA;CACtE;AAED,MAAM,MAAM,QAAQ,GAAG,MAAM,cAAc,CAAA;AAM3C,qBAAa,kBAAmB,SAAQ,sBAAsB,CAAC,cAAc,CAAC;gBAChE,OAAO,EAAE,aAAa;CAGnC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { TypedSecretService as CoreTypedSecretService } from '@pikku/core/services';
|
|
5
|
+
const CREDENTIALS_META = {
|
|
6
|
+
'GOOGLE_SHEETS_OAUTH_APP': { name: 'googleSheetsOAuthApp', displayName: 'Google Sheets OAuth App' }
|
|
7
|
+
};
|
|
8
|
+
export class TypedSecretService extends CoreTypedSecretService {
|
|
9
|
+
constructor(secrets) {
|
|
10
|
+
super(secrets, CREDENTIALS_META);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=pikku-secrets.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-secrets.gen.js","sourceRoot":"","sources":["../../../.pikku/secrets/pikku-secrets.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,kBAAkB,IAAI,sBAAsB,EAAuB,MAAM,sBAAsB,CAAA;AAWxG,MAAM,gBAAgB,GAAmC;IACvD,yBAAyB,EAAE,EAAE,IAAI,EAAE,sBAAsB,EAAE,WAAW,EAAE,yBAAyB,EAAE;CACpG,CAAA;AAED,MAAM,OAAO,kBAAmB,SAAQ,sBAAsC;IAC5E,YAAY,OAAsB;QAChC,KAAK,CAAC,OAAO,EAAE,gBAAgB,CAAC,CAAA;IAClC,CAAC;CACF"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { TypedSecretService as CoreTypedSecretService, type CredentialMeta } from '@pikku/core/services'
|
|
5
|
+
import type { SecretService } from '@pikku/core/services'
|
|
6
|
+
import type { z } from 'zod'
|
|
7
|
+
import { googleSheetsOAuthAppSchema } from '../../src/google-sheets.credential.js'
|
|
8
|
+
|
|
9
|
+
export interface CredentialsMap {
|
|
10
|
+
'GOOGLE_SHEETS_OAUTH_APP': z.infer<typeof googleSheetsOAuthAppSchema>
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type SecretId = keyof CredentialsMap
|
|
14
|
+
|
|
15
|
+
const CREDENTIALS_META: Record<string, CredentialMeta> = {
|
|
16
|
+
'GOOGLE_SHEETS_OAUTH_APP': { name: 'googleSheetsOAuthApp', displayName: 'Google Sheets OAuth App' }
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export class TypedSecretService extends CoreTypedSecretService<CredentialsMap> {
|
|
20
|
+
constructor(secrets: SecretService) {
|
|
21
|
+
super(secrets, CREDENTIALS_META)
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Trigger-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
import { CorePikkuTriggerFunction, CorePikkuTriggerFunctionConfig, CoreTrigger } from '@pikku/core/trigger';
|
|
8
|
+
import type { CoreNodeConfig } from '@pikku/core/node';
|
|
9
|
+
import type { SingletonServices } from '../../types/application-types.d.js';
|
|
10
|
+
import type { StandardSchemaV1 } from '@standard-schema/spec';
|
|
11
|
+
/**
|
|
12
|
+
* A trigger function that sets up a subscription and returns a teardown function.
|
|
13
|
+
* The trigger is fired via wire.trigger.invoke(data).
|
|
14
|
+
*
|
|
15
|
+
* @template TInput - Input type (configuration passed when wired)
|
|
16
|
+
* @template TOutput - Output type produced when trigger fires
|
|
17
|
+
*/
|
|
18
|
+
export type PikkuTriggerFunction<TInput = unknown, TOutput = unknown> = CorePikkuTriggerFunction<TInput, TOutput, SingletonServices>;
|
|
19
|
+
/**
|
|
20
|
+
* Configuration object for creating a trigger function with metadata
|
|
21
|
+
*/
|
|
22
|
+
export type PikkuTriggerFunctionConfig<TInput = unknown, TOutput = unknown, InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined> = CorePikkuTriggerFunctionConfig<TInput, TOutput, SingletonServices, InputSchema, OutputSchema>;
|
|
23
|
+
/**
|
|
24
|
+
* Helper type to infer the output type from a Standard Schema
|
|
25
|
+
*/
|
|
26
|
+
type InferSchemaOutput<T> = T extends StandardSchemaV1<any, infer Output> ? Output : never;
|
|
27
|
+
/**
|
|
28
|
+
* Configuration object for trigger functions with Zod schema validation.
|
|
29
|
+
* Use this when you want to define input/output schemas using Zod.
|
|
30
|
+
* Types are automatically inferred from the schemas.
|
|
31
|
+
*/
|
|
32
|
+
export type PikkuTriggerFunctionConfigWithSchema<InputSchema extends StandardSchemaV1, OutputSchema extends StandardSchemaV1 | undefined = undefined> = {
|
|
33
|
+
title?: string;
|
|
34
|
+
description?: string;
|
|
35
|
+
tags?: string[];
|
|
36
|
+
func: PikkuTriggerFunction<InferSchemaOutput<InputSchema>, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown>;
|
|
37
|
+
input: InputSchema;
|
|
38
|
+
output?: OutputSchema;
|
|
39
|
+
node?: CoreNodeConfig;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Type definition for trigger wirings.
|
|
43
|
+
* Declares a trigger name and its target pikku function.
|
|
44
|
+
*/
|
|
45
|
+
export type TriggerWiring = CoreTrigger;
|
|
46
|
+
/**
|
|
47
|
+
* A trigger source with the subscription function, using project-specific services.
|
|
48
|
+
*
|
|
49
|
+
* @template TInput - Input type passed to the trigger function
|
|
50
|
+
* @template TOutput - Output type produced when trigger fires
|
|
51
|
+
*/
|
|
52
|
+
export type TriggerSource<TInput = unknown, TOutput = unknown> = {
|
|
53
|
+
name: string;
|
|
54
|
+
func: PikkuTriggerFunctionConfig<TInput, TOutput>;
|
|
55
|
+
} & (unknown extends TInput ? {
|
|
56
|
+
input?: TInput;
|
|
57
|
+
} : {
|
|
58
|
+
input: TInput;
|
|
59
|
+
});
|
|
60
|
+
/**
|
|
61
|
+
* Creates a trigger function configuration.
|
|
62
|
+
* Use this to define trigger functions that set up subscriptions.
|
|
63
|
+
*
|
|
64
|
+
* @param triggerOrConfig - Function definition or configuration object
|
|
65
|
+
* @returns The normalized configuration object
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* ```typescript
|
|
69
|
+
* export const redisSubscribeTrigger = pikkuTriggerFunc<
|
|
70
|
+
* { channel: string },
|
|
71
|
+
* { message: string }
|
|
72
|
+
* >(async ({ redis }, { channel }, { trigger }) => {
|
|
73
|
+
* const subscriber = redis.duplicate()
|
|
74
|
+
* await subscriber.subscribe(channel, (msg) => {
|
|
75
|
+
* trigger.invoke({ message: msg })
|
|
76
|
+
* })
|
|
77
|
+
* return () => subscriber.unsubscribe()
|
|
78
|
+
* })
|
|
79
|
+
*
|
|
80
|
+
* export const redisSubscribeTrigger = pikkuTriggerFunc({
|
|
81
|
+
* title: 'Redis Subscribe Trigger',
|
|
82
|
+
* description: 'Listens to Redis pub/sub channel',
|
|
83
|
+
* input: z.object({ channel: z.string() }),
|
|
84
|
+
* output: z.object({ message: z.string() }),
|
|
85
|
+
* func: async ({ redis }, { channel }, { trigger }) => {
|
|
86
|
+
* const subscriber = redis.duplicate()
|
|
87
|
+
* await subscriber.subscribe(channel, (msg) => {
|
|
88
|
+
* trigger.invoke({ message: msg })
|
|
89
|
+
* })
|
|
90
|
+
* return () => subscriber.unsubscribe()
|
|
91
|
+
* }
|
|
92
|
+
* })
|
|
93
|
+
* ```
|
|
94
|
+
*/
|
|
95
|
+
export declare function pikkuTriggerFunc<InputSchema extends StandardSchemaV1, OutputSchema extends StandardSchemaV1 | undefined = undefined>(config: PikkuTriggerFunctionConfigWithSchema<InputSchema, OutputSchema>): PikkuTriggerFunctionConfig<InferSchemaOutput<InputSchema>, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, InputSchema, OutputSchema>;
|
|
96
|
+
export declare function pikkuTriggerFunc<TInput, TOutput = unknown>(triggerOrConfig: PikkuTriggerFunction<TInput, TOutput> | PikkuTriggerFunctionConfig<TInput, TOutput>): PikkuTriggerFunctionConfig<TInput, TOutput>;
|
|
97
|
+
/**
|
|
98
|
+
* Registers a trigger with the Pikku framework.
|
|
99
|
+
* Declares a trigger name and its target pikku function.
|
|
100
|
+
* Runs everywhere — inspector extracts at build time.
|
|
101
|
+
*
|
|
102
|
+
* @param trigger - Trigger definition with name and function config
|
|
103
|
+
*/
|
|
104
|
+
export declare const wireTrigger: (trigger: TriggerWiring) => void;
|
|
105
|
+
/**
|
|
106
|
+
* Registers a trigger source with the Pikku framework.
|
|
107
|
+
* Provides the subscription function and input data.
|
|
108
|
+
* Only imported in the trigger worker process.
|
|
109
|
+
*
|
|
110
|
+
* @param source - Trigger source with name, func, and input
|
|
111
|
+
*/
|
|
112
|
+
export declare const wireTriggerSource: <TInput = unknown, TOutput = unknown>(source: TriggerSource<TInput, TOutput>) => void;
|
|
113
|
+
export {};
|
|
114
|
+
//# sourceMappingURL=pikku-trigger-types.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-trigger-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/trigger/pikku-trigger-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAE,wBAAwB,EAAE,8BAA8B,EAAE,WAAW,EAA8E,MAAM,qBAAqB,CAAA;AACvL,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAA;AAC3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAI7D;;;;;;GAMG;AACH,MAAM,MAAM,oBAAoB,CAC9B,MAAM,GAAG,OAAO,EAChB,OAAO,GAAG,OAAO,IACf,wBAAwB,CAAC,MAAM,EAAE,OAAO,EAAE,iBAAiB,CAAC,CAAA;AAEhE;;GAEG;AACH,MAAM,MAAM,0BAA0B,CACpC,MAAM,GAAG,OAAO,EAChB,OAAO,GAAG,OAAO,EACjB,WAAW,SAAS,gBAAgB,GAAG,SAAS,GAAG,SAAS,EAC5D,YAAY,SAAS,gBAAgB,GAAG,SAAS,GAAG,SAAS,IAC3D,8BAA8B,CAAC,MAAM,EAAE,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,YAAY,CAAC,CAAA;AAEjG;;GAEG;AACH,KAAK,iBAAiB,CAAC,CAAC,IAAI,CAAC,SAAS,gBAAgB,CAAC,GAAG,EAAE,MAAM,MAAM,CAAC,GAAG,MAAM,GAAG,KAAK,CAAA;AAE1F;;;;GAIG;AACH,MAAM,MAAM,oCAAoC,CAC9C,WAAW,SAAS,gBAAgB,EACpC,YAAY,SAAS,gBAAgB,GAAG,SAAS,GAAG,SAAS,IAC3D;IACF,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf,IAAI,EAAE,oBAAoB,CACxB,iBAAiB,CAAC,WAAW,CAAC,EAC9B,YAAY,SAAS,gBAAgB,GAAG,iBAAiB,CAAC,YAAY,CAAC,GAAG,OAAO,CAClF,CAAA;IACD,KAAK,EAAE,WAAW,CAAA;IAClB,MAAM,CAAC,EAAE,YAAY,CAAA;IACrB,IAAI,CAAC,EAAE,cAAc,CAAA;CACtB,CAAA;AAED;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG,WAAW,CAAA;AAEvC;;;;;GAKG;AACH,MAAM,MAAM,aAAa,CACvB,MAAM,GAAG,OAAO,EAChB,OAAO,GAAG,OAAO,IACf;IACF,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,0BAA0B,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAClD,GAAG,CAAC,OAAO,SAAS,MAAM,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,CAAA;AAErE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,gBAAgB,CAC9B,WAAW,SAAS,gBAAgB,EACpC,YAAY,SAAS,gBAAgB,GAAG,SAAS,GAAG,SAAS,EAE7D,MAAM,EAAE,oCAAoC,CAAC,WAAW,EAAE,YAAY,CAAC,GACtE,0BAA0B,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAAE,YAAY,SAAS,gBAAgB,GAAG,iBAAiB,CAAC,YAAY,CAAC,GAAG,OAAO,EAAE,WAAW,EAAE,YAAY,CAAC,CAAA;AAC3K,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO,EACxD,eAAe,EACX,oBAAoB,CAAC,MAAM,EAAE,OAAO,CAAC,GACrC,0BAA0B,CAAC,MAAM,EAAE,OAAO,CAAC,GAC9C,0BAA0B,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAQ9C;;;;;;GAMG;AACH,eAAO,MAAM,WAAW,GACtB,SAAS,aAAa,SAGvB,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,GAAI,MAAM,GAAG,OAAO,EAAE,OAAO,GAAG,OAAO,EACnE,QAAQ,aAAa,CAAC,MAAM,EAAE,OAAO,CAAC,SAGvC,CAAA"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Trigger-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
import { wireTrigger as wireTriggerCore, wireTriggerSource as wireTriggerSourceCore } from '@pikku/core/trigger';
|
|
8
|
+
export function pikkuTriggerFunc(triggerOrConfig) {
|
|
9
|
+
if (typeof triggerOrConfig === 'function') {
|
|
10
|
+
return { func: triggerOrConfig };
|
|
11
|
+
}
|
|
12
|
+
return triggerOrConfig;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Registers a trigger with the Pikku framework.
|
|
16
|
+
* Declares a trigger name and its target pikku function.
|
|
17
|
+
* Runs everywhere — inspector extracts at build time.
|
|
18
|
+
*
|
|
19
|
+
* @param trigger - Trigger definition with name and function config
|
|
20
|
+
*/
|
|
21
|
+
export const wireTrigger = (trigger) => {
|
|
22
|
+
wireTriggerCore(trigger);
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Registers a trigger source with the Pikku framework.
|
|
26
|
+
* Provides the subscription function and input data.
|
|
27
|
+
* Only imported in the trigger worker process.
|
|
28
|
+
*
|
|
29
|
+
* @param source - Trigger source with name, func, and input
|
|
30
|
+
*/
|
|
31
|
+
export const wireTriggerSource = (source) => {
|
|
32
|
+
wireTriggerSourceCore(source);
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=pikku-trigger-types.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-trigger-types.gen.js","sourceRoot":"","sources":["../../../.pikku/trigger/pikku-trigger-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAyE,WAAW,IAAI,eAAe,EAAE,iBAAiB,IAAI,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAyHvL,MAAM,UAAU,gBAAgB,CAAC,eAAoB;IACnD,IAAI,OAAO,eAAe,KAAK,UAAU,EAAE,CAAC;QAC1C,OAAO,EAAE,IAAI,EAAE,eAAe,EAAE,CAAA;IAClC,CAAC;IACD,OAAO,eAAe,CAAA;AACxB,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,CACzB,OAAsB,EACtB,EAAE;IACF,eAAe,CAAC,OAAc,CAAC,CAAA;AACjC,CAAC,CAAA;AAED;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,MAAsC,EACtC,EAAE;IACF,qBAAqB,CAAC,MAAa,CAAC,CAAA;AACtC,CAAC,CAAA"}
|