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
package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/operation_create.ts
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Airtable Node - Version 2.2
|
|
3
|
+
* Discriminator: resource=record, operation=create
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
interface Credentials {
|
|
8
|
+
airtableTokenApi: CredentialReference;
|
|
9
|
+
airtableOAuth2Api: CredentialReference;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/** Create a new record in a table */
|
|
13
|
+
export type AirtableV22RecordCreateParams = {
|
|
14
|
+
resource: 'record';
|
|
15
|
+
operation: 'create';
|
|
16
|
+
authentication?: 'airtableTokenApi' | 'airtableOAuth2Api' | Expression<string>;
|
|
17
|
+
/**
|
|
18
|
+
* Base
|
|
19
|
+
* @default {"mode":"list","value":""}
|
|
20
|
+
*/
|
|
21
|
+
base?: { __rl: true; mode: 'list' | 'url' | 'id'; value: string; cachedResultName?: string };
|
|
22
|
+
/**
|
|
23
|
+
* Table
|
|
24
|
+
* @default {"mode":"list","value":""}
|
|
25
|
+
*/
|
|
26
|
+
table?: { __rl: true; mode: 'list' | 'url' | 'id'; value: string; cachedResultName?: string };
|
|
27
|
+
/**
|
|
28
|
+
* Columns
|
|
29
|
+
* @default {"mappingMode":"defineBelow","value":null}
|
|
30
|
+
*/
|
|
31
|
+
columns?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Options
|
|
34
|
+
* @default {}
|
|
35
|
+
*/
|
|
36
|
+
options?: {
|
|
37
|
+
/** Whether the Airtable API should attempt mapping of string values for linked records & select options
|
|
38
|
+
* @default false
|
|
39
|
+
*/
|
|
40
|
+
typecast?: boolean | Expression<boolean>;
|
|
41
|
+
/** Comma-separated list of fields in input to ignore when updating
|
|
42
|
+
* @displayOptions.show { /columns.mappingMode: ["autoMapInputData"] }
|
|
43
|
+
*/
|
|
44
|
+
ignoreFields?: string | Expression<string> | PlaceholderValue;
|
|
45
|
+
/** Whether to update all records matching the value in the "Column to Match On". If not set, only the first matching record will be updated.
|
|
46
|
+
* @displayOptions.show { /operation: ["update", "upsert"] }
|
|
47
|
+
* @default false
|
|
48
|
+
*/
|
|
49
|
+
updateAllMatches?: boolean | Expression<boolean>;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
export type AirtableV22RecordCreateNode = {
|
|
54
|
+
type: 'n8n-nodes-base.airtable';
|
|
55
|
+
version: 2.2;
|
|
56
|
+
credentials?: Credentials;
|
|
57
|
+
config: NodeConfig<AirtableV22RecordCreateParams>;
|
|
58
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Airtable Node - Version 2.2 - Zod Schema
|
|
3
|
+
* Discriminator: resource=record, operation=deleteRecord
|
|
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 }) {
|
|
14
|
+
|
|
15
|
+
return z.object({
|
|
16
|
+
parameters: z.object({
|
|
17
|
+
resource: z.literal('record').default('record'),
|
|
18
|
+
operation: z.literal('deleteRecord'),
|
|
19
|
+
authentication: z.union([z.literal('airtableTokenApi'), z.literal('airtableOAuth2Api'), expressionSchema]).optional(),
|
|
20
|
+
base: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('url'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
21
|
+
table: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('url'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
22
|
+
id: stringOrExpression.optional(),
|
|
23
|
+
}).optional(),
|
|
24
|
+
});
|
|
25
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Airtable Node - Version 2.2
|
|
3
|
+
* Discriminator: resource=record, operation=deleteRecord
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
interface Credentials {
|
|
8
|
+
airtableTokenApi: CredentialReference;
|
|
9
|
+
airtableOAuth2Api: CredentialReference;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/** Delete a record from a table */
|
|
13
|
+
export type AirtableV22RecordDeleteRecordParams = {
|
|
14
|
+
resource: 'record';
|
|
15
|
+
operation: 'deleteRecord';
|
|
16
|
+
authentication?: 'airtableTokenApi' | 'airtableOAuth2Api' | Expression<string>;
|
|
17
|
+
/**
|
|
18
|
+
* Base
|
|
19
|
+
* @default {"mode":"list","value":""}
|
|
20
|
+
*/
|
|
21
|
+
base?: { __rl: true; mode: 'list' | 'url' | 'id'; value: string; cachedResultName?: string };
|
|
22
|
+
/**
|
|
23
|
+
* Table
|
|
24
|
+
* @default {"mode":"list","value":""}
|
|
25
|
+
*/
|
|
26
|
+
table?: { __rl: true; mode: 'list' | 'url' | 'id'; value: string; cachedResultName?: string };
|
|
27
|
+
/**
|
|
28
|
+
* ID of the record to delete. <a href="https://support.airtable.com/docs/record-id" target="_blank">More info</a>.
|
|
29
|
+
*/
|
|
30
|
+
id?: string | Expression<string> | PlaceholderValue;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export type AirtableV22RecordDeleteRecordNode = {
|
|
34
|
+
type: 'n8n-nodes-base.airtable';
|
|
35
|
+
version: 2.2;
|
|
36
|
+
credentials?: Credentials;
|
|
37
|
+
config: NodeConfig<AirtableV22RecordDeleteRecordParams>;
|
|
38
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Airtable Node - Version 2.2 - Zod Schema
|
|
3
|
+
* Discriminator: resource=record, 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 }) {
|
|
14
|
+
|
|
15
|
+
return z.object({
|
|
16
|
+
parameters: z.object({
|
|
17
|
+
resource: z.literal('record').default('record'),
|
|
18
|
+
operation: z.literal('get').default('get'),
|
|
19
|
+
authentication: z.union([z.literal('airtableTokenApi'), z.literal('airtableOAuth2Api'), expressionSchema]).optional(),
|
|
20
|
+
base: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('url'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
21
|
+
table: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('url'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
22
|
+
id: stringOrExpression.optional(),
|
|
23
|
+
options: z.object({ downloadFields: z.array(z.string()).optional() }).optional(),
|
|
24
|
+
}).optional(),
|
|
25
|
+
});
|
|
26
|
+
};
|
package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/operation_get.ts
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Airtable Node - Version 2.2
|
|
3
|
+
* Discriminator: resource=record, operation=get
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
interface Credentials {
|
|
8
|
+
airtableTokenApi: CredentialReference;
|
|
9
|
+
airtableOAuth2Api: CredentialReference;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/** Retrieve a record from a table */
|
|
13
|
+
export type AirtableV22RecordGetParams = {
|
|
14
|
+
resource: 'record';
|
|
15
|
+
operation: 'get';
|
|
16
|
+
authentication?: 'airtableTokenApi' | 'airtableOAuth2Api' | Expression<string>;
|
|
17
|
+
/**
|
|
18
|
+
* Base
|
|
19
|
+
* @default {"mode":"list","value":""}
|
|
20
|
+
*/
|
|
21
|
+
base?: { __rl: true; mode: 'list' | 'url' | 'id'; value: string; cachedResultName?: string };
|
|
22
|
+
/**
|
|
23
|
+
* Table
|
|
24
|
+
* @default {"mode":"list","value":""}
|
|
25
|
+
*/
|
|
26
|
+
table?: { __rl: true; mode: 'list' | 'url' | 'id'; value: string; cachedResultName?: string };
|
|
27
|
+
/**
|
|
28
|
+
* ID of the record to get. <a href="https://support.airtable.com/docs/record-id" target="_blank">More info</a>.
|
|
29
|
+
*/
|
|
30
|
+
id?: string | Expression<string> | PlaceholderValue;
|
|
31
|
+
/**
|
|
32
|
+
* Additional options which decide which records should be returned
|
|
33
|
+
* @default {}
|
|
34
|
+
*/
|
|
35
|
+
options?: {
|
|
36
|
+
/** The fields of type 'attachment' that should be downloaded
|
|
37
|
+
* @default []
|
|
38
|
+
*/
|
|
39
|
+
downloadFields?: string[];
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
export type AirtableV22RecordGetNode = {
|
|
44
|
+
type: 'n8n-nodes-base.airtable';
|
|
45
|
+
version: 2.2;
|
|
46
|
+
credentials?: Credentials;
|
|
47
|
+
config: NodeConfig<AirtableV22RecordGetParams>;
|
|
48
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Airtable Node - Version 2.2 - Zod Schema
|
|
3
|
+
* Discriminator: resource=record, operation=search
|
|
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('record').default('record'),
|
|
18
|
+
operation: z.literal('search'),
|
|
19
|
+
authentication: z.union([z.literal('airtableTokenApi'), z.literal('airtableOAuth2Api'), expressionSchema]).optional(),
|
|
20
|
+
base: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('url'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
21
|
+
table: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('url'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
22
|
+
filterByFormula: stringOrExpression.optional(),
|
|
23
|
+
returnAll: booleanOrExpression.optional(),
|
|
24
|
+
limit: resolveSchema({ parameters, schema: numberOrExpression, required: false, displayOptions: {"show":{"returnAll":[false]}}, defaults: {"returnAll":true} }),
|
|
25
|
+
options: z.object({ downloadFields: z.array(z.string()).optional(), fields: z.array(z.string()).optional(), view: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('url'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional() }).optional(),
|
|
26
|
+
sort: z.object({ property: z.array(z.object({ field: stringOrExpression.optional(), direction: z.union([z.literal('asc'), z.literal('desc'), expressionSchema]).optional() })).optional() }).optional(),
|
|
27
|
+
}).optional(),
|
|
28
|
+
});
|
|
29
|
+
};
|
package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/operation_search.ts
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Airtable Node - Version 2.2
|
|
3
|
+
* Discriminator: resource=record, operation=search
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
interface Credentials {
|
|
8
|
+
airtableTokenApi: CredentialReference;
|
|
9
|
+
airtableOAuth2Api: CredentialReference;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/** Search for specific records or list all */
|
|
13
|
+
export type AirtableV22RecordSearchParams = {
|
|
14
|
+
resource: 'record';
|
|
15
|
+
operation: 'search';
|
|
16
|
+
authentication?: 'airtableTokenApi' | 'airtableOAuth2Api' | Expression<string>;
|
|
17
|
+
/**
|
|
18
|
+
* Base
|
|
19
|
+
* @default {"mode":"list","value":""}
|
|
20
|
+
*/
|
|
21
|
+
base?: { __rl: true; mode: 'list' | 'url' | 'id'; value: string; cachedResultName?: string };
|
|
22
|
+
/**
|
|
23
|
+
* Table
|
|
24
|
+
* @default {"mode":"list","value":""}
|
|
25
|
+
*/
|
|
26
|
+
table?: { __rl: true; mode: 'list' | 'url' | 'id'; value: string; cachedResultName?: string };
|
|
27
|
+
/**
|
|
28
|
+
* The formula will be evaluated for each record, and if the result is not 0, false, "", NaN, [], or #Error! the record will be included in the response. <a href="https://support.airtable.com/docs/formula-field-reference" target="_blank">More info</a>.
|
|
29
|
+
* @hint If empty, all the records will be returned
|
|
30
|
+
*/
|
|
31
|
+
filterByFormula?: string | Expression<string> | PlaceholderValue;
|
|
32
|
+
/**
|
|
33
|
+
* Whether to return all results or only up to a given limit
|
|
34
|
+
* @default true
|
|
35
|
+
*/
|
|
36
|
+
returnAll?: boolean | Expression<boolean>;
|
|
37
|
+
/**
|
|
38
|
+
* Max number of results to return
|
|
39
|
+
* @displayOptions.show { returnAll: [false] }
|
|
40
|
+
* @default 100
|
|
41
|
+
*/
|
|
42
|
+
limit?: number | Expression<number>;
|
|
43
|
+
/**
|
|
44
|
+
* Additional options which decide which records should be returned
|
|
45
|
+
* @default {}
|
|
46
|
+
*/
|
|
47
|
+
options?: {
|
|
48
|
+
/** The fields of type 'attachment' that should be downloaded
|
|
49
|
+
* @default []
|
|
50
|
+
*/
|
|
51
|
+
downloadFields?: string[];
|
|
52
|
+
/** The fields you want to include in the output
|
|
53
|
+
* @default []
|
|
54
|
+
*/
|
|
55
|
+
fields?: string[];
|
|
56
|
+
/** View
|
|
57
|
+
* @default {"mode":"list","value":""}
|
|
58
|
+
*/
|
|
59
|
+
view?: { __rl: true; mode: 'list' | 'url' | 'id'; value: string; cachedResultName?: string };
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Defines how the returned records should be ordered
|
|
63
|
+
* @default {}
|
|
64
|
+
*/
|
|
65
|
+
sort?: {
|
|
66
|
+
/** Property
|
|
67
|
+
*/
|
|
68
|
+
property?: Array<{
|
|
69
|
+
/** Name of the field to sort on. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
|
|
70
|
+
*/
|
|
71
|
+
field?: string | Expression<string>;
|
|
72
|
+
/** The sort direction
|
|
73
|
+
* @default asc
|
|
74
|
+
*/
|
|
75
|
+
direction?: 'asc' | 'desc' | Expression<string>;
|
|
76
|
+
}>;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
export type AirtableV22RecordSearchNode = {
|
|
81
|
+
type: 'n8n-nodes-base.airtable';
|
|
82
|
+
version: 2.2;
|
|
83
|
+
credentials?: Credentials;
|
|
84
|
+
config: NodeConfig<AirtableV22RecordSearchParams>;
|
|
85
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Airtable Node - Version 2.2 - Zod Schema
|
|
3
|
+
* Discriminator: resource=record, 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 }) {
|
|
14
|
+
|
|
15
|
+
return z.object({
|
|
16
|
+
parameters: z.object({
|
|
17
|
+
resource: z.literal('record').default('record'),
|
|
18
|
+
operation: z.literal('update'),
|
|
19
|
+
authentication: z.union([z.literal('airtableTokenApi'), z.literal('airtableOAuth2Api'), expressionSchema]).optional(),
|
|
20
|
+
base: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('url'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
21
|
+
table: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('url'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
22
|
+
columns: resourceMapperValueSchema.optional(),
|
|
23
|
+
options: z.object({ typecast: booleanOrExpression.optional(), ignoreFields: stringOrExpression.optional(), updateAllMatches: booleanOrExpression.optional() }).optional(),
|
|
24
|
+
}).optional(),
|
|
25
|
+
});
|
|
26
|
+
};
|
package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/operation_update.ts
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Airtable Node - Version 2.2
|
|
3
|
+
* Discriminator: resource=record, operation=update
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
interface Credentials {
|
|
8
|
+
airtableTokenApi: CredentialReference;
|
|
9
|
+
airtableOAuth2Api: CredentialReference;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/** Update a record in a table */
|
|
13
|
+
export type AirtableV22RecordUpdateParams = {
|
|
14
|
+
resource: 'record';
|
|
15
|
+
operation: 'update';
|
|
16
|
+
authentication?: 'airtableTokenApi' | 'airtableOAuth2Api' | Expression<string>;
|
|
17
|
+
/**
|
|
18
|
+
* Base
|
|
19
|
+
* @default {"mode":"list","value":""}
|
|
20
|
+
*/
|
|
21
|
+
base?: { __rl: true; mode: 'list' | 'url' | 'id'; value: string; cachedResultName?: string };
|
|
22
|
+
/**
|
|
23
|
+
* Table
|
|
24
|
+
* @default {"mode":"list","value":""}
|
|
25
|
+
*/
|
|
26
|
+
table?: { __rl: true; mode: 'list' | 'url' | 'id'; value: string; cachedResultName?: string };
|
|
27
|
+
/**
|
|
28
|
+
* Columns
|
|
29
|
+
* @default {"mappingMode":"defineBelow","value":null}
|
|
30
|
+
*/
|
|
31
|
+
columns?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Options
|
|
34
|
+
* @default {}
|
|
35
|
+
*/
|
|
36
|
+
options?: {
|
|
37
|
+
/** Whether the Airtable API should attempt mapping of string values for linked records & select options
|
|
38
|
+
* @default false
|
|
39
|
+
*/
|
|
40
|
+
typecast?: boolean | Expression<boolean>;
|
|
41
|
+
/** Comma-separated list of fields in input to ignore when updating
|
|
42
|
+
* @displayOptions.show { /columns.mappingMode: ["autoMapInputData"] }
|
|
43
|
+
*/
|
|
44
|
+
ignoreFields?: string | Expression<string> | PlaceholderValue;
|
|
45
|
+
/** Whether to update all records matching the value in the "Column to Match On". If not set, only the first matching record will be updated.
|
|
46
|
+
* @default false
|
|
47
|
+
*/
|
|
48
|
+
updateAllMatches?: boolean | Expression<boolean>;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
export type AirtableV22RecordUpdateNode = {
|
|
53
|
+
type: 'n8n-nodes-base.airtable';
|
|
54
|
+
version: 2.2;
|
|
55
|
+
credentials?: Credentials;
|
|
56
|
+
config: NodeConfig<AirtableV22RecordUpdateParams>;
|
|
57
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Airtable Node - Version 2.2 - Zod Schema
|
|
3
|
+
* Discriminator: resource=record, operation=upsert
|
|
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 }) {
|
|
14
|
+
|
|
15
|
+
return z.object({
|
|
16
|
+
parameters: z.object({
|
|
17
|
+
resource: z.literal('record').default('record'),
|
|
18
|
+
operation: z.literal('upsert'),
|
|
19
|
+
authentication: z.union([z.literal('airtableTokenApi'), z.literal('airtableOAuth2Api'), expressionSchema]).optional(),
|
|
20
|
+
base: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('url'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
21
|
+
table: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('url'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
22
|
+
columns: resourceMapperValueSchema.optional(),
|
|
23
|
+
options: z.object({ typecast: booleanOrExpression.optional(), ignoreFields: stringOrExpression.optional(), updateAllMatches: booleanOrExpression.optional() }).optional(),
|
|
24
|
+
}).optional(),
|
|
25
|
+
});
|
|
26
|
+
};
|
package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/operation_upsert.ts
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Airtable Node - Version 2.2
|
|
3
|
+
* Discriminator: resource=record, operation=upsert
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
interface Credentials {
|
|
8
|
+
airtableTokenApi: CredentialReference;
|
|
9
|
+
airtableOAuth2Api: CredentialReference;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/** Create a new record, or update the current one if it already exists (upsert) */
|
|
13
|
+
export type AirtableV22RecordUpsertParams = {
|
|
14
|
+
resource: 'record';
|
|
15
|
+
operation: 'upsert';
|
|
16
|
+
authentication?: 'airtableTokenApi' | 'airtableOAuth2Api' | Expression<string>;
|
|
17
|
+
/**
|
|
18
|
+
* Base
|
|
19
|
+
* @default {"mode":"list","value":""}
|
|
20
|
+
*/
|
|
21
|
+
base?: { __rl: true; mode: 'list' | 'url' | 'id'; value: string; cachedResultName?: string };
|
|
22
|
+
/**
|
|
23
|
+
* Table
|
|
24
|
+
* @default {"mode":"list","value":""}
|
|
25
|
+
*/
|
|
26
|
+
table?: { __rl: true; mode: 'list' | 'url' | 'id'; value: string; cachedResultName?: string };
|
|
27
|
+
/**
|
|
28
|
+
* Columns
|
|
29
|
+
* @default {"mappingMode":"defineBelow","value":null}
|
|
30
|
+
*/
|
|
31
|
+
columns?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Options
|
|
34
|
+
* @default {}
|
|
35
|
+
*/
|
|
36
|
+
options?: {
|
|
37
|
+
/** Whether the Airtable API should attempt mapping of string values for linked records & select options
|
|
38
|
+
* @default false
|
|
39
|
+
*/
|
|
40
|
+
typecast?: boolean | Expression<boolean>;
|
|
41
|
+
/** Comma-separated list of fields in input to ignore when updating
|
|
42
|
+
* @displayOptions.show { /columns.mappingMode: ["autoMapInputData"] }
|
|
43
|
+
*/
|
|
44
|
+
ignoreFields?: string | Expression<string> | PlaceholderValue;
|
|
45
|
+
/** Whether to update all records matching the value in the "Column to Match On". If not set, only the first matching record will be updated.
|
|
46
|
+
* @default false
|
|
47
|
+
*/
|
|
48
|
+
updateAllMatches?: boolean | Expression<boolean>;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
export type AirtableV22RecordUpsertNode = {
|
|
53
|
+
type: 'n8n-nodes-base.airtable';
|
|
54
|
+
version: 2.2;
|
|
55
|
+
credentials?: Credentials;
|
|
56
|
+
config: NodeConfig<AirtableV22RecordUpsertParams>;
|
|
57
|
+
};
|
|
@@ -24,6 +24,13 @@ export type AsanaV1UserGetOutput = {
|
|
|
24
24
|
email?: string;
|
|
25
25
|
gid?: string;
|
|
26
26
|
name?: string;
|
|
27
|
+
photo?: {
|
|
28
|
+
image_128x128?: string;
|
|
29
|
+
image_21x21?: string;
|
|
30
|
+
image_27x27?: string;
|
|
31
|
+
image_36x36?: string;
|
|
32
|
+
image_60x60?: string;
|
|
33
|
+
};
|
|
27
34
|
resource_type?: string;
|
|
28
35
|
workspaces?: Array<{
|
|
29
36
|
gid?: string;
|
package/dist/node-definitions/nodes/n8n-nodes-base/azureCosmosDb/v1/resource_item/operation_query.ts
CHANGED
|
@@ -73,15 +73,30 @@ export type AzureCosmosDbV1ItemQueryParams = {
|
|
|
73
73
|
};
|
|
74
74
|
|
|
75
75
|
export type AzureCosmosDbV1ItemQueryOutput = {
|
|
76
|
+
answer?: string;
|
|
76
77
|
createdDate?: string;
|
|
77
78
|
documentType?: string;
|
|
78
79
|
eTag?: string;
|
|
79
80
|
id?: string;
|
|
80
81
|
isActive?: boolean;
|
|
81
82
|
lastModifiedDate?: string;
|
|
83
|
+
metadados?: {
|
|
84
|
+
Email?: string;
|
|
85
|
+
EnvioEmail?: string;
|
|
86
|
+
FollowUp?: string;
|
|
87
|
+
IdLead?: string;
|
|
88
|
+
MensagemTimestamp?: string;
|
|
89
|
+
Nome?: string;
|
|
90
|
+
RespostaAgenteTimestamp?: string;
|
|
91
|
+
sessionId?: string;
|
|
92
|
+
Status?: string;
|
|
93
|
+
Telefone?: string;
|
|
94
|
+
};
|
|
82
95
|
partitionKey?: string;
|
|
96
|
+
query?: string;
|
|
83
97
|
resourceId?: string;
|
|
84
98
|
selfLink?: string;
|
|
99
|
+
timestamp?: string;
|
|
85
100
|
timeStamp?: number;
|
|
86
101
|
version?: number;
|
|
87
102
|
};
|
|
@@ -4,9 +4,11 @@
|
|
|
4
4
|
* Re-exports all version-specific types and provides combined union type.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
+
import type { BaserowV11Node } from './v11';
|
|
7
8
|
import type { BaserowV1Node } from './v1';
|
|
8
9
|
|
|
10
|
+
export * from './v11';
|
|
9
11
|
export * from './v1';
|
|
10
12
|
|
|
11
13
|
// Combined union type for all versions
|
|
12
|
-
export type BaserowNode = BaserowV1Node;
|
|
14
|
+
export type BaserowNode = BaserowV11Node | BaserowV1Node;
|
|
@@ -8,6 +8,9 @@
|
|
|
8
8
|
* @generated - CommonJS JavaScript for runtime loading
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
+
const getBatchCreateSchema = require('./operation_batch_create.schema');
|
|
12
|
+
const getBatchDeleteSchema = require('./operation_batch_delete.schema');
|
|
13
|
+
const getBatchUpdateSchema = require('./operation_batch_update.schema');
|
|
11
14
|
const getCreateSchema = require('./operation_create.schema');
|
|
12
15
|
const getDeleteSchema = require('./operation_delete.schema');
|
|
13
16
|
const getGetSchema = require('./operation_get.schema');
|
|
@@ -19,6 +22,9 @@ module.exports = function getSchema(helpers) {
|
|
|
19
22
|
// Apply operation default if not set
|
|
20
23
|
const effectiveParams = parameters.operation === undefined ? { ...parameters, operation: 'getAll' } : parameters;
|
|
21
24
|
return z.union([
|
|
25
|
+
getBatchCreateSchema({ ...helpers, parameters: effectiveParams }),
|
|
26
|
+
getBatchDeleteSchema({ ...helpers, parameters: effectiveParams }),
|
|
27
|
+
getBatchUpdateSchema({ ...helpers, parameters: effectiveParams }),
|
|
22
28
|
getCreateSchema({ ...helpers, parameters: effectiveParams }),
|
|
23
29
|
getDeleteSchema({ ...helpers, parameters: effectiveParams }),
|
|
24
30
|
getGetSchema({ ...helpers, parameters: effectiveParams }),
|
|
@@ -3,12 +3,18 @@
|
|
|
3
3
|
* Re-exports all operation types for this resource.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
import type { BaserowV1RowBatchCreateNode } from './operation_batch_create';
|
|
7
|
+
import type { BaserowV1RowBatchDeleteNode } from './operation_batch_delete';
|
|
8
|
+
import type { BaserowV1RowBatchUpdateNode } from './operation_batch_update';
|
|
6
9
|
import type { BaserowV1RowCreateNode } from './operation_create';
|
|
7
10
|
import type { BaserowV1RowDeleteNode } from './operation_delete';
|
|
8
11
|
import type { BaserowV1RowGetNode } from './operation_get';
|
|
9
12
|
import type { BaserowV1RowGetAllNode } from './operation_get_all';
|
|
10
13
|
import type { BaserowV1RowUpdateNode } from './operation_update';
|
|
11
14
|
|
|
15
|
+
export * from './operation_batch_create';
|
|
16
|
+
export * from './operation_batch_delete';
|
|
17
|
+
export * from './operation_batch_update';
|
|
12
18
|
export * from './operation_create';
|
|
13
19
|
export * from './operation_delete';
|
|
14
20
|
export * from './operation_get';
|
|
@@ -16,6 +22,9 @@ export * from './operation_get_all';
|
|
|
16
22
|
export * from './operation_update';
|
|
17
23
|
|
|
18
24
|
export type BaserowV1RowNode =
|
|
25
|
+
| BaserowV1RowBatchCreateNode
|
|
26
|
+
| BaserowV1RowBatchDeleteNode
|
|
27
|
+
| BaserowV1RowBatchUpdateNode
|
|
19
28
|
| BaserowV1RowCreateNode
|
|
20
29
|
| BaserowV1RowDeleteNode
|
|
21
30
|
| BaserowV1RowGetNode
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Baserow Node - Version 1 - Zod Schema
|
|
3
|
+
* Discriminator: resource=row, operation=batchCreate
|
|
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('batchCreate'),
|
|
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
|
+
};
|