n8n-nodes-base 2.11.2 → 2.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/credentials/BaserowApi.credentials.d.ts +6 -1
- package/dist/credentials/BaserowApi.credentials.d.ts.map +1 -1
- package/dist/credentials/BaserowApi.credentials.js +42 -0
- package/dist/credentials/BaserowApi.credentials.js.map +1 -1
- package/dist/credentials/BaserowTokenApi.credentials.d.ts +10 -0
- package/dist/credentials/BaserowTokenApi.credentials.d.ts.map +1 -0
- package/dist/credentials/BaserowTokenApi.credentials.js +42 -0
- package/dist/credentials/BaserowTokenApi.credentials.js.map +1 -0
- package/dist/credentials/CustomerIoApi.credentials.d.ts.map +1 -1
- package/dist/credentials/CustomerIoApi.credentials.js +4 -5
- package/dist/credentials/CustomerIoApi.credentials.js.map +1 -1
- package/dist/credentials/FacebookGraphAppApi.credentials.js +1 -1
- package/dist/credentials/FacebookGraphAppApi.credentials.js.map +1 -1
- package/dist/credentials/MicrosoftTeamsOAuth2Api.credentials.js +1 -1
- package/dist/credentials/OAuth2Api.credentials.d.ts.map +1 -1
- package/dist/credentials/OAuth2Api.credentials.js +8 -0
- package/dist/credentials/OAuth2Api.credentials.js.map +1 -1
- package/dist/known/credentials.json +7 -0
- package/dist/node-definitions/.nodes-hash +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/airtable/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/index.schema.js +22 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/index.ts +15 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_base/index.schema.js +22 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_base/index.ts +15 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_base/operation_get_many.schema.js +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_base/operation_get_many.ts +45 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_base/operation_get_schema.schema.js +23 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_base/operation_get_schema.ts +29 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/index.schema.js +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/index.ts +27 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/operation_create.schema.js +26 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/operation_create.ts +58 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/operation_delete_record.schema.js +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/operation_delete_record.ts +38 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/operation_get.schema.js +26 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/operation_get.ts +48 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/operation_search.schema.js +29 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/operation_search.ts +85 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/operation_update.schema.js +26 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/operation_update.ts +57 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/operation_upsert.schema.js +26 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/operation_upsert.ts +57 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/asana/v1/resource_user/operation_get.ts +7 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/azureCosmosDb/v1/resource_item/operation_query.ts +15 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/index.schema.js +6 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/index.ts +9 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_batch_create.schema.js +27 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_batch_create.ts +74 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_batch_delete.schema.js +27 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_batch_delete.ts +51 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_batch_update.schema.js +27 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_batch_update.ts +73 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_create.schema.js +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_create.ts +4 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_delete.schema.js +3 -2
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_delete.ts +4 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_get.schema.js +3 -2
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_get.ts +4 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_get_all.schema.js +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_get_all.ts +5 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_update.schema.js +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_update.ts +4 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/index.schema.js +18 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/index.ts +10 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/index.schema.js +34 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/index.ts +33 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_batch_create.schema.js +27 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_batch_create.ts +74 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_batch_delete.schema.js +27 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_batch_delete.ts +51 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_batch_update.schema.js +27 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_batch_update.ts +73 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_create.schema.js +27 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_create.ts +61 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_delete.schema.js +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_delete.ts +38 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_get.schema.js +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_get.ts +38 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_get_all.schema.js +27 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_get_all.ts +92 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_update.schema.js +28 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_update.ts +65 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/clickUp/v1/resource_list/operation_custom_fields.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/coda/v1/resource_table/operation_create_row.ts +10 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/coda/v11/resource_table/operation_create_row.ts +10 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/coinGecko/v1/resource_coin/operation_price.ts +5 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/dropbox/v1/resource_folder/operation_delete.ts +7 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/dropbox/v1/resource_search/operation_query.ts +3 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/elasticsearch/v1/resource_document/operation_get_all.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/filter/v1.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/filter/v2.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/filter/v21.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/filter/v22.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/filter/v23.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/gSuiteAdmin/v1/resource_user/operation_create.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/gSuiteAdmin/v1/resource_user/operation_get.ts +20 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/gitlab/v1/resource_file/operation_get.ts +5 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/googleAds/v1/resource_campaign/operation_get_all.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/googleAnalytics/v2/resource_report/operation_get.ts +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-base/googleBusinessProfile/v1/resource_review/operation_reply.ts +6 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/googleChat/v1/resource_space/operation_get_all.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/haloPSA/v1/resource_client/operation_get.ts +8 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/haloPSA/v1/resource_site/operation_get_all.ts +7 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/highLevel/v2/resource_calendar/operation_get_free_slots.ts +3 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/highLevel/v2/resource_contact/operation_create.ts +4 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/jira/v1/resource_issue/operation_get.ts +162 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/jira/v1/resource_issue/operation_get_all.ts +54 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/lemlist/v2/resource_lead/operation_create.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mailchimp/v1/resource_campaign/operation_get_all.ts +60 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftEntra/v1/resource_group/operation_get.ts +12 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftOutlook/v2/resource_event/operation_create.ts +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftOutlook/v2/resource_folder_message/operation_get_all.ts +33 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftOutlook/v2/resource_message_attachment/operation_get.ts +6 -0
- package/dist/nodes/Airtable/Airtable.node.d.ts.map +1 -1
- package/dist/nodes/Airtable/Airtable.node.js +2 -1
- package/dist/nodes/Airtable/Airtable.node.js.map +1 -1
- package/dist/nodes/Airtable/test/v2/node/helpers.d.ts +1 -1
- package/dist/nodes/Airtable/test/v2/node/helpers.d.ts.map +1 -1
- package/dist/nodes/Airtable/test/v2/node/helpers.js +4 -3
- package/dist/nodes/Airtable/test/v2/node/helpers.js.map +1 -1
- package/dist/nodes/Airtable/v2/actions/record/get.operation.d.ts.map +1 -1
- package/dist/nodes/Airtable/v2/actions/record/get.operation.js +9 -2
- package/dist/nodes/Airtable/v2/actions/record/get.operation.js.map +1 -1
- package/dist/nodes/Airtable/v2/actions/record/search.operation.d.ts.map +1 -1
- package/dist/nodes/Airtable/v2/actions/record/search.operation.js +5 -2
- package/dist/nodes/Airtable/v2/actions/record/search.operation.js.map +1 -1
- package/dist/nodes/Airtable/v2/actions/versionDescription.js +1 -1
- package/dist/nodes/Airtable/v2/actions/versionDescription.js.map +1 -1
- package/dist/nodes/Airtable/v2/helpers/utils.d.ts +1 -3
- package/dist/nodes/Airtable/v2/helpers/utils.d.ts.map +1 -1
- package/dist/nodes/Airtable/v2/helpers/utils.js +5 -4
- package/dist/nodes/Airtable/v2/helpers/utils.js.map +1 -1
- package/dist/nodes/Airtable/v2/transport/index.d.ts.map +1 -1
- package/dist/nodes/Airtable/v2/transport/index.js +1 -2
- package/dist/nodes/Airtable/v2/transport/index.js.map +1 -1
- package/dist/nodes/Asana/__schema__/v1.0.0/user/get.json +21 -1
- package/dist/nodes/Baserow/Baserow.node.d.ts.map +1 -1
- package/dist/nodes/Baserow/Baserow.node.js +184 -27
- package/dist/nodes/Baserow/Baserow.node.js.map +1 -1
- package/dist/nodes/Baserow/GenericFunctions.d.ts +5 -9
- package/dist/nodes/Baserow/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/Baserow/GenericFunctions.js +12 -36
- package/dist/nodes/Baserow/GenericFunctions.js.map +1 -1
- package/dist/nodes/Baserow/OperationDescription.d.ts.map +1 -1
- package/dist/nodes/Baserow/OperationDescription.js +371 -53
- package/dist/nodes/Baserow/OperationDescription.js.map +1 -1
- package/dist/nodes/Baserow/types.d.ts +1 -6
- package/dist/nodes/Baserow/types.d.ts.map +1 -1
- package/dist/nodes/ClickUp/__schema__/v1.0.0/list/customFields.json +4 -1
- package/dist/nodes/Coda/__schema__/v1.1.0/table/createRow.json +24 -0
- package/dist/nodes/Code/Code.node.d.ts +2 -2
- package/dist/nodes/Code/Code.node.d.ts.map +1 -1
- package/dist/nodes/Code/Code.node.js +2 -83
- package/dist/nodes/Code/Code.node.js.map +1 -1
- package/dist/nodes/CoinGecko/__schema__/v1.0.0/coin/price.json +17 -2
- package/dist/nodes/CustomerIo/CustomerIo.node.js +3 -3
- package/dist/nodes/CustomerIo/CustomerIo.node.js.map +1 -1
- package/dist/nodes/CustomerIo/CustomerIoTrigger.node.d.ts.map +1 -1
- package/dist/nodes/CustomerIo/CustomerIoTrigger.node.js +5 -33
- package/dist/nodes/CustomerIo/CustomerIoTrigger.node.js.map +1 -1
- package/dist/nodes/CustomerIo/GenericFunctions.d.ts +4 -1
- package/dist/nodes/CustomerIo/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/CustomerIo/GenericFunctions.js +13 -23
- package/dist/nodes/CustomerIo/GenericFunctions.js.map +1 -1
- package/dist/nodes/DataTable/__schema__/v1.1.0/table/update.json +9 -0
- package/dist/nodes/Dropbox/__schema__/v1.0.0/folder/delete.json +21 -1
- package/dist/nodes/Dropbox/__schema__/v1.0.0/search/query.json +10 -1
- package/dist/nodes/Dropcontact/__schema__/v1.0.0/contact/fetchRequest.json +1 -1
- package/dist/nodes/ERPNext/__schema__/v1.0.0/document/getAll.json +19 -1
- package/dist/nodes/Elastic/Elasticsearch/__schema__/v1.0.0/document/getAll.json +4 -1
- package/dist/nodes/Facebook/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/Facebook/GenericFunctions.js +8 -0
- package/dist/nodes/Facebook/GenericFunctions.js.map +1 -1
- package/dist/nodes/Filter/Filter.node.js +1 -1
- package/dist/nodes/Filter/Filter.node.js.map +1 -1
- package/dist/nodes/Gitlab/__schema__/v1.0.0/file/get.json +16 -1
- package/dist/nodes/Google/Ads/__schema__/v1.0.0/campaign/getAll.json +4 -1
- package/dist/nodes/Google/BusinessProfile/__schema__/v1.0.0/review/reply.json +12 -0
- package/dist/nodes/Google/Chat/__schema__/v1.0.0/space/getAll.json +4 -1
- package/dist/nodes/Google/GSuiteAdmin/__schema__/v1.0.0/user/create.json +4 -1
- package/dist/nodes/Google/GSuiteAdmin/__schema__/v1.0.0/user/get.json +65 -1
- package/dist/nodes/Google/Gmail/__schema__/v2.2.0/label/get.json +27 -0
- package/dist/nodes/Google/Gmail/__schema__/v2.2.0/message/delete.json +9 -0
- package/dist/nodes/Google/Gmail/__schema__/v2.2.0/message/get.json +7 -1
- package/dist/nodes/Google/Gmail/__schema__/v2.2.0/message/removeLabels.json +18 -0
- package/dist/nodes/Google/Gmail/__schema__/v2.2.0/thread/get.json +4 -1
- package/dist/nodes/HaloPSA/__schema__/v1.0.0/client/get.json +18 -0
- package/dist/nodes/HaloPSA/__schema__/v1.0.0/site/getAll.json +15 -0
- package/dist/nodes/HighLevel/__schema__/v2.0.0/calendar/getFreeSlots.json +12 -1
- package/dist/nodes/HighLevel/__schema__/v2.0.0/contact/create.json +15 -1
- package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.d.ts.map +1 -1
- package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js +20 -28
- package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js.map +1 -1
- package/dist/nodes/Hubspot/__schema__/v2.2.0/contact/upsert.json +4 -1
- package/dist/nodes/Jira/__schema__/v1.0.0/issue/get.json +465 -1
- package/dist/nodes/Jira/__schema__/v1.0.0/issue/getAll.json +155 -1
- package/dist/nodes/Lemlist/__schema__/v2.0.0/lead/create.json +4 -1
- package/dist/nodes/Linear/__schema__/v1.1.0/issue/get.json +12 -1
- package/dist/nodes/Mailchimp/__schema__/v1.0.0/campaign/getAll.json +180 -1
- package/dist/nodes/Merge/v3/helpers/sandbox-utils.d.ts +3 -3
- package/dist/nodes/Merge/v3/helpers/sandbox-utils.d.ts.map +1 -1
- package/dist/nodes/Merge/v3/helpers/sandbox-utils.js +43 -5
- package/dist/nodes/Merge/v3/helpers/sandbox-utils.js.map +1 -1
- package/dist/nodes/Microsoft/AzureCosmosDb/__schema__/v1.0.0/item/query.json +45 -1
- package/dist/nodes/Microsoft/Entra/__schema__/v1.0.0/group/get.json +30 -0
- package/dist/nodes/Microsoft/OneDrive/__schema__/v1.1.0/file/copy.json +9 -0
- package/dist/nodes/Microsoft/OneDrive/__schema__/v1.1.0/file/download.json +89 -1
- package/dist/nodes/Microsoft/Outlook/__schema__/v2.0.0/folderMessage/getAll.json +99 -1
- package/dist/nodes/Microsoft/Outlook/__schema__/v2.0.0/messageAttachment/get.json +21 -1
- package/dist/nodes/Notion/shared/GenericFunctions.js +1 -1
- package/dist/nodes/Notion/shared/GenericFunctions.js.map +1 -1
- package/dist/nodes/Notion/shared/constants.d.ts +4 -4
- package/dist/nodes/Notion/shared/constants.d.ts.map +1 -1
- package/dist/nodes/Notion/shared/constants.js +2 -2
- package/dist/nodes/Notion/shared/constants.js.map +1 -1
- package/dist/nodes/Slack/SlackTrigger.node.js +1 -1
- package/dist/nodes/Slack/SlackTrigger.node.js.map +1 -1
- package/dist/nodes/Todoist/v2/OperationHandler.d.ts.map +1 -1
- package/dist/nodes/Todoist/v2/OperationHandler.js +10 -2
- package/dist/nodes/Todoist/v2/OperationHandler.js.map +1 -1
- package/dist/nodes/Webhook/Webhook.node.d.ts.map +1 -1
- package/dist/nodes/Webhook/Webhook.node.js +1 -0
- package/dist/nodes/Webhook/Webhook.node.js.map +1 -1
- package/dist/typecheck.tsbuildinfo +1 -1
- package/dist/types/credentials.json +5 -4
- package/dist/types/nodes.json +10 -10
- package/package.json +11 -10
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Baserow Node - Version 1.1 - Zod Schema
|
|
3
|
+
* Discriminator: resource=row, operation=batchDelete
|
|
4
|
+
*
|
|
5
|
+
* Use .parse() for strict validation or .safeParse() for error handling.
|
|
6
|
+
*
|
|
7
|
+
* Schema helpers (z, expressionSchema, etc.) are passed as parameters
|
|
8
|
+
* by the schema-validator, not imported from external files.
|
|
9
|
+
*
|
|
10
|
+
* @generated - CommonJS JavaScript for runtime loading
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema }) {
|
|
14
|
+
|
|
15
|
+
return z.object({
|
|
16
|
+
parameters: z.object({
|
|
17
|
+
resource: z.literal('row').default('row'),
|
|
18
|
+
operation: z.literal('batchDelete'),
|
|
19
|
+
authentication: z.union([z.literal('usernamePassword'), z.literal('databaseToken'), expressionSchema]).optional(),
|
|
20
|
+
databaseId: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"hide":{"authentication":["databaseToken"]}}, defaults: {"authentication":"usernamePassword"} }),
|
|
21
|
+
tableId: stringOrExpression.optional(),
|
|
22
|
+
dataToSend: z.union([z.literal('autoMapInputData'), z.literal('defineBelow'), expressionSchema]).optional(),
|
|
23
|
+
rowIds: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"dataToSend":["defineBelow"]}}, defaults: {"dataToSend":"defineBelow"} }),
|
|
24
|
+
rowIdProperty: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"dataToSend":["autoMapInputData"]}}, defaults: {"dataToSend":"defineBelow"} }),
|
|
25
|
+
}).optional(),
|
|
26
|
+
});
|
|
27
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Baserow Node - Version 1.1
|
|
3
|
+
* Discriminator: resource=row, operation=batchDelete
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
interface Credentials {
|
|
8
|
+
baserowApi: CredentialReference;
|
|
9
|
+
baserowTokenApi: CredentialReference;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/** Delete up to 200 rows in one request */
|
|
13
|
+
export type BaserowV11RowBatchDeleteParams = {
|
|
14
|
+
resource: 'row';
|
|
15
|
+
operation: 'batchDelete';
|
|
16
|
+
authentication?: 'usernamePassword' | 'databaseToken' | Expression<string>;
|
|
17
|
+
/**
|
|
18
|
+
* Database to operate on. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
|
|
19
|
+
* @displayOptions.hide { authentication: ["databaseToken"] }
|
|
20
|
+
* @default 0
|
|
21
|
+
*/
|
|
22
|
+
databaseId?: string | Expression<string>;
|
|
23
|
+
/**
|
|
24
|
+
* Table to operate on. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
|
|
25
|
+
*/
|
|
26
|
+
tableId?: string | Expression<string>;
|
|
27
|
+
/**
|
|
28
|
+
* Choose whether to manually enter row IDs or map them from input data
|
|
29
|
+
* @default defineBelow
|
|
30
|
+
*/
|
|
31
|
+
dataToSend?: 'autoMapInputData' | 'defineBelow' | Expression<string>;
|
|
32
|
+
/**
|
|
33
|
+
* IDs of the rows to delete
|
|
34
|
+
* @displayOptions.show { dataToSend: ["defineBelow"] }
|
|
35
|
+
* @default []
|
|
36
|
+
*/
|
|
37
|
+
rowIds?: string | Expression<string> | PlaceholderValue;
|
|
38
|
+
/**
|
|
39
|
+
* Name of the property in each input item that contains the row ID
|
|
40
|
+
* @displayOptions.show { dataToSend: ["autoMapInputData"] }
|
|
41
|
+
* @default id
|
|
42
|
+
*/
|
|
43
|
+
rowIdProperty?: string | Expression<string> | PlaceholderValue;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export type BaserowV11RowBatchDeleteNode = {
|
|
47
|
+
type: 'n8n-nodes-base.baserow';
|
|
48
|
+
version: 1.1;
|
|
49
|
+
credentials?: Credentials;
|
|
50
|
+
config: NodeConfig<BaserowV11RowBatchDeleteParams>;
|
|
51
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Baserow Node - Version 1.1 - Zod Schema
|
|
3
|
+
* Discriminator: resource=row, operation=batchUpdate
|
|
4
|
+
*
|
|
5
|
+
* Use .parse() for strict validation or .safeParse() for error handling.
|
|
6
|
+
*
|
|
7
|
+
* Schema helpers (z, expressionSchema, etc.) are passed as parameters
|
|
8
|
+
* by the schema-validator, not imported from external files.
|
|
9
|
+
*
|
|
10
|
+
* @generated - CommonJS JavaScript for runtime loading
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema }) {
|
|
14
|
+
|
|
15
|
+
return z.object({
|
|
16
|
+
parameters: z.object({
|
|
17
|
+
resource: z.literal('row').default('row'),
|
|
18
|
+
operation: z.literal('batchUpdate'),
|
|
19
|
+
authentication: z.union([z.literal('usernamePassword'), z.literal('databaseToken'), expressionSchema]).optional(),
|
|
20
|
+
databaseId: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"hide":{"authentication":["databaseToken"]}}, defaults: {"authentication":"usernamePassword"} }),
|
|
21
|
+
tableId: stringOrExpression.optional(),
|
|
22
|
+
dataToSend: z.union([z.literal('autoMapInputData'), z.literal('defineBelow'), expressionSchema]).optional(),
|
|
23
|
+
inputsToIgnore: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"dataToSend":["autoMapInputData"]}}, defaults: {"dataToSend":"defineBelow"} }),
|
|
24
|
+
rowsUi: resolveSchema({ parameters, schema: z.object({ rowValues: z.array(z.object({ id: stringOrExpression.optional(), fieldsUi: z.unknown().optional() })).optional() }), required: false, displayOptions: {"show":{"dataToSend":["defineBelow"]}}, defaults: {"dataToSend":"defineBelow"} }),
|
|
25
|
+
}).optional(),
|
|
26
|
+
});
|
|
27
|
+
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Baserow Node - Version 1.1
|
|
3
|
+
* Discriminator: resource=row, operation=batchUpdate
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
interface Credentials {
|
|
8
|
+
baserowApi: CredentialReference;
|
|
9
|
+
baserowTokenApi: CredentialReference;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/** Update up to 200 rows in one request */
|
|
13
|
+
export type BaserowV11RowBatchUpdateParams = {
|
|
14
|
+
resource: 'row';
|
|
15
|
+
operation: 'batchUpdate';
|
|
16
|
+
authentication?: 'usernamePassword' | 'databaseToken' | Expression<string>;
|
|
17
|
+
/**
|
|
18
|
+
* Database to operate on. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
|
|
19
|
+
* @displayOptions.hide { authentication: ["databaseToken"] }
|
|
20
|
+
* @default 0
|
|
21
|
+
*/
|
|
22
|
+
databaseId?: string | Expression<string>;
|
|
23
|
+
/**
|
|
24
|
+
* Table to operate on. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
|
|
25
|
+
*/
|
|
26
|
+
tableId?: string | Expression<string>;
|
|
27
|
+
/**
|
|
28
|
+
* Whether to insert the input data this node receives in the new row
|
|
29
|
+
* @default defineBelow
|
|
30
|
+
*/
|
|
31
|
+
dataToSend?: 'autoMapInputData' | 'defineBelow' | Expression<string>;
|
|
32
|
+
/**
|
|
33
|
+
* List of input properties to avoid sending, separated by commas. Leave empty to send all properties.
|
|
34
|
+
* @displayOptions.show { dataToSend: ["autoMapInputData"] }
|
|
35
|
+
*/
|
|
36
|
+
inputsToIgnore?: string | Expression<string> | PlaceholderValue;
|
|
37
|
+
/**
|
|
38
|
+
* Rows
|
|
39
|
+
* @displayOptions.show { dataToSend: ["defineBelow"] }
|
|
40
|
+
* @default []
|
|
41
|
+
*/
|
|
42
|
+
rowsUi?: {
|
|
43
|
+
/** Row
|
|
44
|
+
*/
|
|
45
|
+
rowValues?: Array<{
|
|
46
|
+
/** Row ID to update (required for batch update)
|
|
47
|
+
*/
|
|
48
|
+
id?: string | Expression<string> | PlaceholderValue;
|
|
49
|
+
/** Fields
|
|
50
|
+
* @default {}
|
|
51
|
+
*/
|
|
52
|
+
fieldsUi?: {
|
|
53
|
+
/** Field
|
|
54
|
+
*/
|
|
55
|
+
fieldValues?: Array<{
|
|
56
|
+
/** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>
|
|
57
|
+
*/
|
|
58
|
+
fieldId?: string | Expression<string>;
|
|
59
|
+
/** Field Value
|
|
60
|
+
*/
|
|
61
|
+
fieldValue?: string | Expression<string> | PlaceholderValue;
|
|
62
|
+
}>;
|
|
63
|
+
};
|
|
64
|
+
}>;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
export type BaserowV11RowBatchUpdateNode = {
|
|
69
|
+
type: 'n8n-nodes-base.baserow';
|
|
70
|
+
version: 1.1;
|
|
71
|
+
credentials?: Credentials;
|
|
72
|
+
config: NodeConfig<BaserowV11RowBatchUpdateParams>;
|
|
73
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Baserow Node - Version 1.1 - Zod Schema
|
|
3
|
+
* Discriminator: resource=row, operation=create
|
|
4
|
+
*
|
|
5
|
+
* Use .parse() for strict validation or .safeParse() for error handling.
|
|
6
|
+
*
|
|
7
|
+
* Schema helpers (z, expressionSchema, etc.) are passed as parameters
|
|
8
|
+
* by the schema-validator, not imported from external files.
|
|
9
|
+
*
|
|
10
|
+
* @generated - CommonJS JavaScript for runtime loading
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema }) {
|
|
14
|
+
|
|
15
|
+
return z.object({
|
|
16
|
+
parameters: z.object({
|
|
17
|
+
resource: z.literal('row').default('row'),
|
|
18
|
+
operation: z.literal('create'),
|
|
19
|
+
authentication: z.union([z.literal('usernamePassword'), z.literal('databaseToken'), expressionSchema]).optional(),
|
|
20
|
+
databaseId: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"hide":{"authentication":["databaseToken"]}}, defaults: {"authentication":"usernamePassword"} }),
|
|
21
|
+
tableId: stringOrExpression.optional(),
|
|
22
|
+
dataToSend: z.union([z.literal('autoMapInputData'), z.literal('defineBelow'), expressionSchema]).optional(),
|
|
23
|
+
inputsToIgnore: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"dataToSend":["autoMapInputData"]}}, defaults: {"dataToSend":"defineBelow"} }),
|
|
24
|
+
fieldsUi: resolveSchema({ parameters, schema: z.object({ fieldValues: z.array(z.object({ fieldId: stringOrExpression.optional(), fieldValue: stringOrExpression.optional() })).optional() }), required: false, displayOptions: {"show":{"dataToSend":["defineBelow"]}}, defaults: {"dataToSend":"defineBelow"} }),
|
|
25
|
+
}).optional(),
|
|
26
|
+
});
|
|
27
|
+
};
|
package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_create.ts
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Baserow Node - Version 1.1
|
|
3
|
+
* Discriminator: resource=row, operation=create
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
interface Credentials {
|
|
8
|
+
baserowApi: CredentialReference;
|
|
9
|
+
baserowTokenApi: CredentialReference;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/** Create a row */
|
|
13
|
+
export type BaserowV11RowCreateParams = {
|
|
14
|
+
resource: 'row';
|
|
15
|
+
operation: 'create';
|
|
16
|
+
authentication?: 'usernamePassword' | 'databaseToken' | Expression<string>;
|
|
17
|
+
/**
|
|
18
|
+
* Database to operate on. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
|
|
19
|
+
* @displayOptions.hide { authentication: ["databaseToken"] }
|
|
20
|
+
* @default 0
|
|
21
|
+
*/
|
|
22
|
+
databaseId?: string | Expression<string>;
|
|
23
|
+
/**
|
|
24
|
+
* Table to operate on. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
|
|
25
|
+
*/
|
|
26
|
+
tableId?: string | Expression<string>;
|
|
27
|
+
/**
|
|
28
|
+
* Whether to insert the input data this node receives in the new row
|
|
29
|
+
* @default defineBelow
|
|
30
|
+
*/
|
|
31
|
+
dataToSend?: 'autoMapInputData' | 'defineBelow' | Expression<string>;
|
|
32
|
+
/**
|
|
33
|
+
* List of input properties to avoid sending, separated by commas. Leave empty to send all properties.
|
|
34
|
+
* @displayOptions.show { dataToSend: ["autoMapInputData"] }
|
|
35
|
+
*/
|
|
36
|
+
inputsToIgnore?: string | Expression<string> | PlaceholderValue;
|
|
37
|
+
/**
|
|
38
|
+
* Fields to Send
|
|
39
|
+
* @displayOptions.show { dataToSend: ["defineBelow"] }
|
|
40
|
+
* @default {}
|
|
41
|
+
*/
|
|
42
|
+
fieldsUi?: {
|
|
43
|
+
/** Field
|
|
44
|
+
*/
|
|
45
|
+
fieldValues?: Array<{
|
|
46
|
+
/** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>
|
|
47
|
+
*/
|
|
48
|
+
fieldId?: string | Expression<string>;
|
|
49
|
+
/** Field Value
|
|
50
|
+
*/
|
|
51
|
+
fieldValue?: string | Expression<string> | PlaceholderValue;
|
|
52
|
+
}>;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export type BaserowV11RowCreateNode = {
|
|
57
|
+
type: 'n8n-nodes-base.baserow';
|
|
58
|
+
version: 1.1;
|
|
59
|
+
credentials?: Credentials;
|
|
60
|
+
config: NodeConfig<BaserowV11RowCreateParams>;
|
|
61
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Baserow Node - Version 1.1 - Zod Schema
|
|
3
|
+
* Discriminator: resource=row, operation=delete
|
|
4
|
+
*
|
|
5
|
+
* Use .parse() for strict validation or .safeParse() for error handling.
|
|
6
|
+
*
|
|
7
|
+
* Schema helpers (z, expressionSchema, etc.) are passed as parameters
|
|
8
|
+
* by the schema-validator, not imported from external files.
|
|
9
|
+
*
|
|
10
|
+
* @generated - CommonJS JavaScript for runtime loading
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema }) {
|
|
14
|
+
|
|
15
|
+
return z.object({
|
|
16
|
+
parameters: z.object({
|
|
17
|
+
resource: z.literal('row').default('row'),
|
|
18
|
+
operation: z.literal('delete'),
|
|
19
|
+
authentication: z.union([z.literal('usernamePassword'), z.literal('databaseToken'), expressionSchema]).optional(),
|
|
20
|
+
databaseId: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"hide":{"authentication":["databaseToken"]}}, defaults: {"authentication":"usernamePassword"} }),
|
|
21
|
+
tableId: stringOrExpression.optional(),
|
|
22
|
+
rowId: stringOrExpression.optional(),
|
|
23
|
+
}).optional(),
|
|
24
|
+
});
|
|
25
|
+
};
|
package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_delete.ts
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Baserow Node - Version 1.1
|
|
3
|
+
* Discriminator: resource=row, operation=delete
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
interface Credentials {
|
|
8
|
+
baserowApi: CredentialReference;
|
|
9
|
+
baserowTokenApi: CredentialReference;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/** Delete a row */
|
|
13
|
+
export type BaserowV11RowDeleteParams = {
|
|
14
|
+
resource: 'row';
|
|
15
|
+
operation: 'delete';
|
|
16
|
+
authentication?: 'usernamePassword' | 'databaseToken' | Expression<string>;
|
|
17
|
+
/**
|
|
18
|
+
* Database to operate on. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
|
|
19
|
+
* @displayOptions.hide { authentication: ["databaseToken"] }
|
|
20
|
+
* @default 0
|
|
21
|
+
*/
|
|
22
|
+
databaseId?: string | Expression<string>;
|
|
23
|
+
/**
|
|
24
|
+
* Table to operate on. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
|
|
25
|
+
*/
|
|
26
|
+
tableId?: string | Expression<string>;
|
|
27
|
+
/**
|
|
28
|
+
* ID of the row to delete
|
|
29
|
+
*/
|
|
30
|
+
rowId?: string | Expression<string> | PlaceholderValue;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export type BaserowV11RowDeleteNode = {
|
|
34
|
+
type: 'n8n-nodes-base.baserow';
|
|
35
|
+
version: 1.1;
|
|
36
|
+
credentials?: Credentials;
|
|
37
|
+
config: NodeConfig<BaserowV11RowDeleteParams>;
|
|
38
|
+
};
|
package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_get.schema.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Baserow Node - Version 1.1 - Zod Schema
|
|
3
|
+
* Discriminator: resource=row, operation=get
|
|
4
|
+
*
|
|
5
|
+
* Use .parse() for strict validation or .safeParse() for error handling.
|
|
6
|
+
*
|
|
7
|
+
* Schema helpers (z, expressionSchema, etc.) are passed as parameters
|
|
8
|
+
* by the schema-validator, not imported from external files.
|
|
9
|
+
*
|
|
10
|
+
* @generated - CommonJS JavaScript for runtime loading
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema }) {
|
|
14
|
+
|
|
15
|
+
return z.object({
|
|
16
|
+
parameters: z.object({
|
|
17
|
+
resource: z.literal('row').default('row'),
|
|
18
|
+
operation: z.literal('get'),
|
|
19
|
+
authentication: z.union([z.literal('usernamePassword'), z.literal('databaseToken'), expressionSchema]).optional(),
|
|
20
|
+
databaseId: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"hide":{"authentication":["databaseToken"]}}, defaults: {"authentication":"usernamePassword"} }),
|
|
21
|
+
tableId: stringOrExpression.optional(),
|
|
22
|
+
rowId: stringOrExpression.optional(),
|
|
23
|
+
}).optional(),
|
|
24
|
+
});
|
|
25
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Baserow Node - Version 1.1
|
|
3
|
+
* Discriminator: resource=row, operation=get
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
interface Credentials {
|
|
8
|
+
baserowApi: CredentialReference;
|
|
9
|
+
baserowTokenApi: CredentialReference;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/** Retrieve a row */
|
|
13
|
+
export type BaserowV11RowGetParams = {
|
|
14
|
+
resource: 'row';
|
|
15
|
+
operation: 'get';
|
|
16
|
+
authentication?: 'usernamePassword' | 'databaseToken' | Expression<string>;
|
|
17
|
+
/**
|
|
18
|
+
* Database to operate on. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
|
|
19
|
+
* @displayOptions.hide { authentication: ["databaseToken"] }
|
|
20
|
+
* @default 0
|
|
21
|
+
*/
|
|
22
|
+
databaseId?: string | Expression<string>;
|
|
23
|
+
/**
|
|
24
|
+
* Table to operate on. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
|
|
25
|
+
*/
|
|
26
|
+
tableId?: string | Expression<string>;
|
|
27
|
+
/**
|
|
28
|
+
* ID of the row to return
|
|
29
|
+
*/
|
|
30
|
+
rowId?: string | Expression<string> | PlaceholderValue;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export type BaserowV11RowGetNode = {
|
|
34
|
+
type: 'n8n-nodes-base.baserow';
|
|
35
|
+
version: 1.1;
|
|
36
|
+
credentials?: Credentials;
|
|
37
|
+
config: NodeConfig<BaserowV11RowGetParams>;
|
|
38
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Baserow Node - Version 1.1 - Zod Schema
|
|
3
|
+
* Discriminator: resource=row, operation=getAll
|
|
4
|
+
*
|
|
5
|
+
* Use .parse() for strict validation or .safeParse() for error handling.
|
|
6
|
+
*
|
|
7
|
+
* Schema helpers (z, expressionSchema, etc.) are passed as parameters
|
|
8
|
+
* by the schema-validator, not imported from external files.
|
|
9
|
+
*
|
|
10
|
+
* @generated - CommonJS JavaScript for runtime loading
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema }) {
|
|
14
|
+
|
|
15
|
+
return z.object({
|
|
16
|
+
parameters: z.object({
|
|
17
|
+
resource: z.literal('row').default('row'),
|
|
18
|
+
operation: z.literal('getAll').default('getAll'),
|
|
19
|
+
authentication: z.union([z.literal('usernamePassword'), z.literal('databaseToken'), expressionSchema]).optional(),
|
|
20
|
+
databaseId: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"hide":{"authentication":["databaseToken"]}}, defaults: {"authentication":"usernamePassword"} }),
|
|
21
|
+
tableId: stringOrExpression.optional(),
|
|
22
|
+
returnAll: booleanOrExpression.optional(),
|
|
23
|
+
limit: resolveSchema({ parameters, schema: numberOrExpression, required: false, displayOptions: {"show":{"returnAll":[false]}}, defaults: {"returnAll":false} }),
|
|
24
|
+
additionalOptions: z.object({ filters: z.unknown().optional(), filterType: z.union([z.literal('AND'), z.literal('OR'), expressionSchema]).optional(), search: stringOrExpression.optional(), order: z.unknown().optional() }).optional(),
|
|
25
|
+
}).optional(),
|
|
26
|
+
});
|
|
27
|
+
};
|
package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_get_all.ts
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Baserow Node - Version 1.1
|
|
3
|
+
* Discriminator: resource=row, operation=getAll
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
interface Credentials {
|
|
8
|
+
baserowApi: CredentialReference;
|
|
9
|
+
baserowTokenApi: CredentialReference;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/** Retrieve many rows */
|
|
13
|
+
export type BaserowV11RowGetAllParams = {
|
|
14
|
+
resource: 'row';
|
|
15
|
+
operation: 'getAll';
|
|
16
|
+
authentication?: 'usernamePassword' | 'databaseToken' | Expression<string>;
|
|
17
|
+
/**
|
|
18
|
+
* Database to operate on. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
|
|
19
|
+
* @displayOptions.hide { authentication: ["databaseToken"] }
|
|
20
|
+
* @default 0
|
|
21
|
+
*/
|
|
22
|
+
databaseId?: string | Expression<string>;
|
|
23
|
+
/**
|
|
24
|
+
* Table to operate on. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
|
|
25
|
+
*/
|
|
26
|
+
tableId?: string | Expression<string>;
|
|
27
|
+
/**
|
|
28
|
+
* Whether to return all results or only up to a given limit
|
|
29
|
+
* @default false
|
|
30
|
+
*/
|
|
31
|
+
returnAll?: boolean | Expression<boolean>;
|
|
32
|
+
/**
|
|
33
|
+
* Max number of results to return
|
|
34
|
+
* @displayOptions.show { returnAll: [false] }
|
|
35
|
+
* @default 50
|
|
36
|
+
*/
|
|
37
|
+
limit?: number | Expression<number>;
|
|
38
|
+
/**
|
|
39
|
+
* Options
|
|
40
|
+
* @default {}
|
|
41
|
+
*/
|
|
42
|
+
additionalOptions?: {
|
|
43
|
+
/** Filter rows based on comparison operators
|
|
44
|
+
* @default {}
|
|
45
|
+
*/
|
|
46
|
+
filters?: {
|
|
47
|
+
/** Field
|
|
48
|
+
*/
|
|
49
|
+
fields?: Array<{
|
|
50
|
+
/** Field to compare. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
|
|
51
|
+
*/
|
|
52
|
+
field?: string | Expression<string>;
|
|
53
|
+
/** Operator to compare field and value with
|
|
54
|
+
* @default equal
|
|
55
|
+
*/
|
|
56
|
+
operator?: 'equal' | 'not_equal' | 'contains' | 'contains_not' | 'contains_word' | 'doesnt_contain_word' | 'length_is_lower_than' | 'higher_than' | 'higher_than_or_equal' | 'lower_than' | 'lower_than_or_equal' | 'is_even_and_whole' | 'date_is' | 'date_is_not' | 'date_is_before' | 'date_is_on_or_before' | 'date_is_after' | 'date_is_on_or_after' | 'date_is_within' | 'date_equals_today' | 'date_equals_month' | 'date_equals_year' | 'date_equals_day_of_month' | 'date_equal' | 'date_not_equal' | 'date_before' | 'date_before_or_equal' | 'date_after' | 'date_after_or_equal' | 'date_after_days_ago' | 'date_within_days' | 'date_within_weeks' | 'date_within_months' | 'date_equals_days_ago' | 'date_equals_months_ago' | 'date_equals_years_ago' | 'date_before_today' | 'date_after_today' | 'date_equals_week' | 'filename_contains' | 'has_file_type' | 'files_lower_than' | 'single_select_equal' | 'single_select_not_equal' | 'single_select_is_any_of' | 'single_select_is_none_of' | 'multiple_select_has' | 'multiple_select_has_not' | 'multiple_collaborators_has' | 'multiple_collaborators_has_not' | 'user_is' | 'user_is_not' | 'link_row_has' | 'link_row_has_not' | 'link_row_contains' | 'link_row_not_contains' | 'boolean' | 'empty' | 'not_empty' | Expression<string>;
|
|
57
|
+
/** Value to compare to
|
|
58
|
+
*/
|
|
59
|
+
value?: string | Expression<string> | PlaceholderValue;
|
|
60
|
+
}>;
|
|
61
|
+
};
|
|
62
|
+
/** This works only if two or more filters are provided. Defaults to <code>AND</code>
|
|
63
|
+
* @default AND
|
|
64
|
+
*/
|
|
65
|
+
filterType?: 'AND' | 'OR' | Expression<string>;
|
|
66
|
+
/** Text to match (can be in any column)
|
|
67
|
+
*/
|
|
68
|
+
search?: string | Expression<string> | PlaceholderValue;
|
|
69
|
+
/** Set the sort order of the result rows
|
|
70
|
+
* @default {}
|
|
71
|
+
*/
|
|
72
|
+
order?: {
|
|
73
|
+
/** Field
|
|
74
|
+
*/
|
|
75
|
+
fields?: Array<{
|
|
76
|
+
/** Field name to sort by. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
|
|
77
|
+
*/
|
|
78
|
+
field?: string | Expression<string>;
|
|
79
|
+
/** Sort direction, either ascending or descending
|
|
80
|
+
*/
|
|
81
|
+
direction?: '' | '-' | Expression<string>;
|
|
82
|
+
}>;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
export type BaserowV11RowGetAllNode = {
|
|
88
|
+
type: 'n8n-nodes-base.baserow';
|
|
89
|
+
version: 1.1;
|
|
90
|
+
credentials?: Credentials;
|
|
91
|
+
config: NodeConfig<BaserowV11RowGetAllParams>;
|
|
92
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Baserow Node - Version 1.1 - Zod Schema
|
|
3
|
+
* Discriminator: resource=row, operation=update
|
|
4
|
+
*
|
|
5
|
+
* Use .parse() for strict validation or .safeParse() for error handling.
|
|
6
|
+
*
|
|
7
|
+
* Schema helpers (z, expressionSchema, etc.) are passed as parameters
|
|
8
|
+
* by the schema-validator, not imported from external files.
|
|
9
|
+
*
|
|
10
|
+
* @generated - CommonJS JavaScript for runtime loading
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema }) {
|
|
14
|
+
|
|
15
|
+
return z.object({
|
|
16
|
+
parameters: z.object({
|
|
17
|
+
resource: z.literal('row').default('row'),
|
|
18
|
+
operation: z.literal('update'),
|
|
19
|
+
authentication: z.union([z.literal('usernamePassword'), z.literal('databaseToken'), expressionSchema]).optional(),
|
|
20
|
+
databaseId: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"hide":{"authentication":["databaseToken"]}}, defaults: {"authentication":"usernamePassword"} }),
|
|
21
|
+
tableId: stringOrExpression.optional(),
|
|
22
|
+
rowId: stringOrExpression.optional(),
|
|
23
|
+
dataToSend: z.union([z.literal('autoMapInputData'), z.literal('defineBelow'), expressionSchema]).optional(),
|
|
24
|
+
inputsToIgnore: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"dataToSend":["autoMapInputData"]}}, defaults: {"dataToSend":"defineBelow"} }),
|
|
25
|
+
fieldsUi: resolveSchema({ parameters, schema: z.object({ fieldValues: z.array(z.object({ fieldId: stringOrExpression.optional(), fieldValue: stringOrExpression.optional() })).optional() }), required: false, displayOptions: {"show":{"dataToSend":["defineBelow"]}}, defaults: {"dataToSend":"defineBelow"} }),
|
|
26
|
+
}).optional(),
|
|
27
|
+
});
|
|
28
|
+
};
|
package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_update.ts
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Baserow Node - Version 1.1
|
|
3
|
+
* Discriminator: resource=row, operation=update
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
interface Credentials {
|
|
8
|
+
baserowApi: CredentialReference;
|
|
9
|
+
baserowTokenApi: CredentialReference;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/** Update a row */
|
|
13
|
+
export type BaserowV11RowUpdateParams = {
|
|
14
|
+
resource: 'row';
|
|
15
|
+
operation: 'update';
|
|
16
|
+
authentication?: 'usernamePassword' | 'databaseToken' | Expression<string>;
|
|
17
|
+
/**
|
|
18
|
+
* Database to operate on. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
|
|
19
|
+
* @displayOptions.hide { authentication: ["databaseToken"] }
|
|
20
|
+
* @default 0
|
|
21
|
+
*/
|
|
22
|
+
databaseId?: string | Expression<string>;
|
|
23
|
+
/**
|
|
24
|
+
* Table to operate on. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
|
|
25
|
+
*/
|
|
26
|
+
tableId?: string | Expression<string>;
|
|
27
|
+
/**
|
|
28
|
+
* ID of the row to update
|
|
29
|
+
*/
|
|
30
|
+
rowId?: string | Expression<string> | PlaceholderValue;
|
|
31
|
+
/**
|
|
32
|
+
* Whether to insert the input data this node receives in the new row
|
|
33
|
+
* @default defineBelow
|
|
34
|
+
*/
|
|
35
|
+
dataToSend?: 'autoMapInputData' | 'defineBelow' | Expression<string>;
|
|
36
|
+
/**
|
|
37
|
+
* List of input properties to avoid sending, separated by commas. Leave empty to send all properties.
|
|
38
|
+
* @displayOptions.show { dataToSend: ["autoMapInputData"] }
|
|
39
|
+
*/
|
|
40
|
+
inputsToIgnore?: string | Expression<string> | PlaceholderValue;
|
|
41
|
+
/**
|
|
42
|
+
* Fields to Send
|
|
43
|
+
* @displayOptions.show { dataToSend: ["defineBelow"] }
|
|
44
|
+
* @default {}
|
|
45
|
+
*/
|
|
46
|
+
fieldsUi?: {
|
|
47
|
+
/** Field
|
|
48
|
+
*/
|
|
49
|
+
fieldValues?: Array<{
|
|
50
|
+
/** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>
|
|
51
|
+
*/
|
|
52
|
+
fieldId?: string | Expression<string>;
|
|
53
|
+
/** Field Value
|
|
54
|
+
*/
|
|
55
|
+
fieldValue?: string | Expression<string> | PlaceholderValue;
|
|
56
|
+
}>;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
export type BaserowV11RowUpdateNode = {
|
|
61
|
+
type: 'n8n-nodes-base.baserow';
|
|
62
|
+
version: 1.1;
|
|
63
|
+
credentials?: Credentials;
|
|
64
|
+
config: NodeConfig<BaserowV11RowUpdateParams>;
|
|
65
|
+
};
|
package/dist/node-definitions/nodes/n8n-nodes-base/coda/v1/resource_table/operation_create_row.ts
CHANGED
|
@@ -35,9 +35,19 @@ export type CodaV1TableCreateRowParams = {
|
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
37
|
|
|
38
|
+
export type CodaV1TableCreateRowOutput = {
|
|
39
|
+
InboundMessage?: string;
|
|
40
|
+
LeadEmail?: string;
|
|
41
|
+
LeadID?: string;
|
|
42
|
+
LeadLinkedInURL?: string;
|
|
43
|
+
LeadName?: string;
|
|
44
|
+
MsgStatus?: string;
|
|
45
|
+
};
|
|
46
|
+
|
|
38
47
|
export type CodaV1TableCreateRowNode = {
|
|
39
48
|
type: 'n8n-nodes-base.coda';
|
|
40
49
|
version: 1;
|
|
41
50
|
credentials?: Credentials;
|
|
42
51
|
config: NodeConfig<CodaV1TableCreateRowParams>;
|
|
52
|
+
output?: Items<CodaV1TableCreateRowOutput>;
|
|
43
53
|
};
|