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
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
1
|
+
import type { IAuthenticateGeneric, ICredentialDataDecryptedObject, ICredentialTestRequest, ICredentialType, IHttpRequestHelper, INodeProperties } from 'n8n-workflow';
|
|
2
2
|
export declare class BaserowApi implements ICredentialType {
|
|
3
3
|
name: string;
|
|
4
4
|
displayName: string;
|
|
5
5
|
documentationUrl: string;
|
|
6
6
|
properties: INodeProperties[];
|
|
7
|
+
preAuthentication(this: IHttpRequestHelper, credentials: ICredentialDataDecryptedObject): Promise<{
|
|
8
|
+
jwtToken: string;
|
|
9
|
+
}>;
|
|
10
|
+
authenticate: IAuthenticateGeneric;
|
|
11
|
+
test: ICredentialTestRequest;
|
|
7
12
|
}
|
|
8
13
|
//# sourceMappingURL=BaserowApi.credentials.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaserowApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/BaserowApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"BaserowApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/BaserowApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,oBAAoB,EACpB,8BAA8B,EAC9B,sBAAsB,EACtB,eAAe,EACf,kBAAkB,EAClB,eAAe,EACf,MAAM,cAAc,CAAC;AAItB,qBAAa,UAAW,YAAW,eAAe;IACjD,IAAI,SAAgB;IAEpB,WAAW,SAAiB;IAE5B,gBAAgB,SAAa;IAE7B,UAAU,EAAE,eAAe,EAAE,CAuC3B;IAEI,iBAAiB,CAAC,IAAI,EAAE,kBAAkB,EAAE,WAAW,EAAE,8BAA8B;;;IAa7F,YAAY,EAAE,oBAAoB,CAOhC;IAEF,IAAI,EAAE,sBAAsB,CAK1B;CACF"}
|
|
@@ -7,17 +7,33 @@ class BaserowApi {
|
|
|
7
7
|
displayName = 'Baserow API';
|
|
8
8
|
documentationUrl = 'baserow';
|
|
9
9
|
properties = [
|
|
10
|
+
{
|
|
11
|
+
displayName: "This type of connection (Username & Password) is deprecated. Please create a new credential of type 'Baserow Token API' instead.",
|
|
12
|
+
name: 'deprecated',
|
|
13
|
+
type: 'notice',
|
|
14
|
+
default: '',
|
|
15
|
+
},
|
|
10
16
|
{
|
|
11
17
|
displayName: 'Host',
|
|
12
18
|
name: 'host',
|
|
13
19
|
type: 'string',
|
|
14
20
|
default: 'https://api.baserow.io',
|
|
15
21
|
},
|
|
22
|
+
{
|
|
23
|
+
displayName: 'Session Token',
|
|
24
|
+
name: 'jwtToken',
|
|
25
|
+
type: 'hidden',
|
|
26
|
+
typeOptions: {
|
|
27
|
+
expirable: true,
|
|
28
|
+
},
|
|
29
|
+
default: '',
|
|
30
|
+
},
|
|
16
31
|
{
|
|
17
32
|
displayName: 'Username',
|
|
18
33
|
name: 'username',
|
|
19
34
|
type: 'string',
|
|
20
35
|
default: '',
|
|
36
|
+
description: 'Email address you use to login to Baserow',
|
|
21
37
|
},
|
|
22
38
|
{
|
|
23
39
|
displayName: 'Password',
|
|
@@ -29,6 +45,32 @@ class BaserowApi {
|
|
|
29
45
|
},
|
|
30
46
|
},
|
|
31
47
|
];
|
|
48
|
+
async preAuthentication(credentials) {
|
|
49
|
+
const host = credentials.host.replace(/\/$/, '');
|
|
50
|
+
const { token } = (await this.helpers.httpRequest({
|
|
51
|
+
method: 'POST',
|
|
52
|
+
url: `${host}/api/user/token-auth/`,
|
|
53
|
+
body: {
|
|
54
|
+
username: credentials.username,
|
|
55
|
+
password: credentials.password,
|
|
56
|
+
},
|
|
57
|
+
}));
|
|
58
|
+
return { jwtToken: token };
|
|
59
|
+
}
|
|
60
|
+
authenticate = {
|
|
61
|
+
type: 'generic',
|
|
62
|
+
properties: {
|
|
63
|
+
headers: {
|
|
64
|
+
Authorization: '=JWT {{$credentials.jwtToken}}',
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
test = {
|
|
69
|
+
request: {
|
|
70
|
+
baseURL: '={{$credentials.host}}',
|
|
71
|
+
url: '/api/applications/',
|
|
72
|
+
},
|
|
73
|
+
};
|
|
32
74
|
}
|
|
33
75
|
exports.BaserowApi = BaserowApi;
|
|
34
76
|
//# sourceMappingURL=BaserowApi.credentials.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaserowApi.credentials.js","sourceRoot":"","sources":["../../credentials/BaserowApi.credentials.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"BaserowApi.credentials.js","sourceRoot":"","sources":["../../credentials/BaserowApi.credentials.ts"],"names":[],"mappings":";;;AASA,2DAA2D;AAE3D,MAAa,UAAU;IACtB,IAAI,GAAG,YAAY,CAAC;IAEpB,WAAW,GAAG,aAAa,CAAC;IAE5B,gBAAgB,GAAG,SAAS,CAAC;IAE7B,UAAU,GAAsB;QAC/B;YACC,WAAW,EACV,k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AC;IAEF,IAAI,GAA2B;QAC9B,OAAO,EAAE;YACR,OAAO,EAAE,wBAAwB;YACjC,GAAG,EAAE,oBAAoB;SACzB;KACD,CAAC;CACF;AA5ED,gCA4EC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare class BaserowTokenApi implements ICredentialType {
|
|
3
|
+
name: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
documentationUrl: string;
|
|
6
|
+
properties: INodeProperties[];
|
|
7
|
+
authenticate: IAuthenticateGeneric;
|
|
8
|
+
test: ICredentialTestRequest;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=BaserowTokenApi.credentials.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaserowTokenApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/BaserowTokenApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,oBAAoB,EACpB,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,MAAM,cAAc,CAAC;AAEtB,qBAAa,eAAgB,YAAW,eAAe;IACtD,IAAI,SAAqB;IAEzB,WAAW,SAAuB;IAElC,gBAAgB,SAAa;IAE7B,UAAU,EAAE,eAAe,EAAE,CAkB3B;IAEF,YAAY,EAAE,oBAAoB,CAOhC;IAEF,IAAI,EAAE,sBAAsB,CAK1B;CACF"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BaserowTokenApi = void 0;
|
|
4
|
+
class BaserowTokenApi {
|
|
5
|
+
name = 'baserowTokenApi';
|
|
6
|
+
displayName = 'Baserow Token API';
|
|
7
|
+
documentationUrl = 'baserow';
|
|
8
|
+
properties = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Host',
|
|
11
|
+
name: 'host',
|
|
12
|
+
type: 'string',
|
|
13
|
+
default: 'https://api.baserow.io',
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
displayName: 'Database Token',
|
|
17
|
+
name: 'token',
|
|
18
|
+
type: 'string',
|
|
19
|
+
default: '',
|
|
20
|
+
typeOptions: {
|
|
21
|
+
password: true,
|
|
22
|
+
},
|
|
23
|
+
description: 'In Baserow, click on top left corner, My settings, Database tokens, Create new.',
|
|
24
|
+
},
|
|
25
|
+
];
|
|
26
|
+
authenticate = {
|
|
27
|
+
type: 'generic',
|
|
28
|
+
properties: {
|
|
29
|
+
headers: {
|
|
30
|
+
Authorization: '=Token {{$credentials.token}}',
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
test = {
|
|
35
|
+
request: {
|
|
36
|
+
baseURL: '={{$credentials.host}}',
|
|
37
|
+
url: '/api/database/tables/all-tables/',
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.BaserowTokenApi = BaserowTokenApi;
|
|
42
|
+
//# sourceMappingURL=BaserowTokenApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaserowTokenApi.credentials.js","sourceRoot":"","sources":["../../credentials/BaserowTokenApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,eAAe;IAC3B,IAAI,GAAG,iBAAiB,CAAC;IAEzB,WAAW,GAAG,mBAAmB,CAAC;IAElC,gBAAgB,GAAG,SAAS,CAAC;IAE7B,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,MAAM;YACnB,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,wBAAwB;SACjC;QACD;YACC,WAAW,EAAE,gBAAgB;YAC7B,IAAI,EAAE,OAAO;YACb,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;YACX,WAAW,EAAE;gBACZ,QAAQ,EAAE,IAAI;aACd;YACD,WAAW,EACV,iFAAiF;SAClF;KACD,CAAC;IAEF,YAAY,GAAyB;QACpC,IAAI,EAAE,SAAS;QACf,UAAU,EAAE;YACX,OAAO,EAAE;gBACR,aAAa,EAAE,+BAA+B;aAC9C;SACD;KACD,CAAC;IAEF,IAAI,GAA2B;QAC9B,OAAO,EAAE;YACR,OAAO,EAAE,wBAAwB;YACjC,GAAG,EAAE,kCAAkC;SACvC;KACD,CAAC;CACF;AA1CD,0CA0CC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomerIoApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/CustomerIoApi.credentials.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACX,8BAA8B,EAC9B,eAAe,EACf,mBAAmB,EACnB,eAAe,EACf,MAAM,cAAc,CAAC;AAEtB,qBAAa,aAAc,YAAW,eAAe;IACpD,IAAI,SAAmB;IAEvB,WAAW,SAAqB;IAEhC,gBAAgB,SAAgB;IAEhC,UAAU,EAAE,eAAe,EAAE,CA4C3B;IAEI,YAAY,CACjB,WAAW,EAAE,8BAA8B,EAC3C,cAAc,EAAE,mBAAmB,GACjC,OAAO,CAAC,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"CustomerIoApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/CustomerIoApi.credentials.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACX,8BAA8B,EAC9B,eAAe,EACf,mBAAmB,EACnB,eAAe,EACf,MAAM,cAAc,CAAC;AAEtB,qBAAa,aAAc,YAAW,eAAe;IACpD,IAAI,SAAmB;IAEvB,WAAW,SAAqB;IAEhC,gBAAgB,SAAgB;IAEhC,UAAU,EAAE,eAAe,EAAE,CA4C3B;IAEI,YAAY,CACjB,WAAW,EAAE,8BAA8B,EAC3C,cAAc,EAAE,mBAAmB,GACjC,OAAO,CAAC,mBAAmB,CAAC;CAyB/B"}
|
|
@@ -54,15 +54,14 @@ class CustomerIoApi {
|
|
|
54
54
|
async authenticate(credentials, requestOptions) {
|
|
55
55
|
// @ts-ignore
|
|
56
56
|
const url = new URL(requestOptions.url ? requestOptions.url : requestOptions.uri);
|
|
57
|
-
if (url.hostname === 'track.customer.io' ||
|
|
58
|
-
url.hostname === 'track-eu.customer.io' ||
|
|
59
|
-
url.hostname === 'api.customer.io' ||
|
|
60
|
-
url.hostname === 'api-eu.customer.io') {
|
|
57
|
+
if (url.hostname === 'track.customer.io' || url.hostname === 'track-eu.customer.io') {
|
|
61
58
|
const basicAuthKey = Buffer.from(`${credentials.trackingSiteId}:${credentials.trackingApiKey}`).toString('base64');
|
|
62
59
|
// @ts-ignore
|
|
63
60
|
Object.assign(requestOptions.headers, { Authorization: `Basic ${basicAuthKey}` });
|
|
64
61
|
}
|
|
65
|
-
else if (url.hostname === '
|
|
62
|
+
else if (url.hostname === 'api.customer.io' ||
|
|
63
|
+
url.hostname === 'api-eu.customer.io' ||
|
|
64
|
+
url.hostname === 'beta-api.customer.io' ||
|
|
66
65
|
url.hostname === 'beta-api-eu.customer.io') {
|
|
67
66
|
// @ts-ignore
|
|
68
67
|
Object.assign(requestOptions.headers, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomerIoApi.credentials.js","sourceRoot":"","sources":["../../credentials/CustomerIoApi.credentials.ts"],"names":[],"mappings":";;;AAAA,wCAA+C;AAQ/C,MAAa,aAAa;IACzB,IAAI,GAAG,eAAe,CAAC;IAEvB,WAAW,GAAG,iBAAiB,CAAC;IAEhC,gBAAgB,GAAG,YAAY,CAAC;IAEhC,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,kBAAkB;YAC/B,IAAI,EAAE,gBAAgB;YACtB,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC/B,OAAO,EAAE,EAAE;YACX,WAAW,EAAE,2BAA2B;YACxC,QAAQ,EAAE,IAAI;SACd;QACD;YACC,WAAW,EAAE,QAAQ;YACrB,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,SAAS;YACf,OAAO,EAAE;gBACR;oBACC,IAAI,EAAE,WAAW;oBACjB,KAAK,EAAE,sBAAsB;iBAC7B;gBACD;oBACC,IAAI,EAAE,eAAe;oBACrB,KAAK,EAAE,mBAAmB;iBAC1B;aACD;YACD,OAAO,EAAE,mBAAmB;YAC5B,WAAW,EAAE,4CAA4C;YACzD,IAAI,EAAE,+DAA+D;YACrE,QAAQ,EAAE,IAAI;SACd;QACD;YACC,WAAW,EAAE,kBAAkB;YAC/B,IAAI,EAAE,gBAAgB;YACtB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;YACX,WAAW,EAAE,2BAA2B;SACxC;QACD;YACC,WAAW,EAAE,aAAa;YAC1B,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC/B,OAAO,EAAE,EAAE;YACX,WAAW,EAAE,sBAAsB;SACnC;KACD,CAAC;IAEF,KAAK,CAAC,YAAY,CACjB,WAA2C,EAC3C,cAAmC;QAEnC,aAAa;QACb,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;QAClF,
|
|
1
|
+
{"version":3,"file":"CustomerIoApi.credentials.js","sourceRoot":"","sources":["../../credentials/CustomerIoApi.credentials.ts"],"names":[],"mappings":";;;AAAA,wCAA+C;AAQ/C,MAAa,aAAa;IACzB,IAAI,GAAG,eAAe,CAAC;IAEvB,WAAW,GAAG,iBAAiB,CAAC;IAEhC,gBAAgB,GAAG,YAAY,CAAC;IAEhC,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,kBAAkB;YAC/B,IAAI,EAAE,gBAAgB;YACtB,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC/B,OA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CAAC,cAAc,CAAC,OAAO,EAAE,EAAE,aAAa,EAAE,SAAS,YAAY,EAAE,EAAE,CAAC,CAAC;QACnF,CAAC;aAAM,IACN,GAAG,CAAC,QAAQ,KAAK,iBAAiB;YAClC,GAAG,CAAC,QAAQ,KAAK,oBAAoB;YACrC,GAAG,CAAC,QAAQ,KAAK,sBAAsB;YACvC,GAAG,CAAC,QAAQ,KAAK,yBAAyB,EACzC,CAAC;YACF,aAAa;YACb,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE;gBACrC,aAAa,EAAE,UAAU,WAAW,CAAC,SAAmB,EAAE;aAC1D,CAAC,CAAC;QACJ,CAAC;aAAM,CAAC;YACP,MAAM,IAAI,yBAAgB,CAAC,+BAA+B,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;QACnF,CAAC;QAED,OAAO,cAAc,CAAC;IACvB,CAAC;CACD;AAjFD,sCAiFC"}
|
|
@@ -13,7 +13,7 @@ class FacebookGraphAppApi {
|
|
|
13
13
|
type: 'string',
|
|
14
14
|
typeOptions: { password: true },
|
|
15
15
|
default: '',
|
|
16
|
-
description: '(Optional) When
|
|
16
|
+
description: '(Optional) When set, the node will sign API calls and verify incoming webhook payloads for added security',
|
|
17
17
|
},
|
|
18
18
|
];
|
|
19
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FacebookGraphAppApi.credentials.js","sourceRoot":"","sources":["../../credentials/FacebookGraphAppApi.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,mBAAmB;IAC/B,IAAI,GAAG,qBAAqB,CAAC;IAE7B,WAAW,GAAG,0BAA0B,CAAC;IAEzC,gBAAgB,GAAG,aAAa,CAAC;IAEjC,OAAO,GAAG,CAAC,kBAAkB,CAAC,CAAC;IAE/B,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,YAAY;YACzB,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC/B,OAAO,EAAE,EAAE;YACX,WAAW,EACV
|
|
1
|
+
{"version":3,"file":"FacebookGraphAppApi.credentials.js","sourceRoot":"","sources":["../../credentials/FacebookGraphAppApi.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,mBAAmB;IAC/B,IAAI,GAAG,qBAAqB,CAAC;IAE7B,WAAW,GAAG,0BAA0B,CAAC;IAEzC,gBAAgB,GAAG,aAAa,CAAC;IAEjC,OAAO,GAAG,CAAC,kBAAkB,CAAC,CAAC;IAE/B,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,YAAY;YACzB,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC/B,OAAO,EAAE,EAAE;YACX,WAAW,EACV,2GAA2G;SAC5G;KACD,CAAC;CACF;AApBD,kDAoBC"}
|
|
@@ -57,7 +57,7 @@ class MicrosoftTeamsOAuth2Api {
|
|
|
57
57
|
<br><code>ChannelMessage.Read.All</code>
|
|
58
58
|
<br><code>Chat.Read.All</code>
|
|
59
59
|
<br><code>Team.ReadBasic.All</code>
|
|
60
|
-
<br><code>Subscription.
|
|
60
|
+
<br><code>Subscription.Read.All</code>
|
|
61
61
|
<br>Configure these permissions in <a href="https://portal.azure.com">Microsoft Entra</a>
|
|
62
62
|
`,
|
|
63
63
|
name: 'notice',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OAuth2Api.credentials.d.ts","sourceRoot":"","sources":["../../credentials/OAuth2Api.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAErE,qBAAa,SAAU,YAAW,eAAe;IAChD,IAAI,SAAe;IAEnB,WAAW,SAAgB;IAE3B,gBAAgB,SAAiB;IAEjC,WAAW,UAAQ;IAEnB,UAAU,EAAE,eAAe,EAAE,
|
|
1
|
+
{"version":3,"file":"OAuth2Api.credentials.d.ts","sourceRoot":"","sources":["../../credentials/OAuth2Api.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAErE,qBAAa,SAAU,YAAW,eAAe;IAChD,IAAI,SAAe;IAEnB,WAAW,SAAgB;IAE3B,gBAAgB,SAAiB;IAEjC,WAAW,UAAQ;IAEnB,UAAU,EAAE,eAAe,EAAE,CAkM3B;CACF"}
|
|
@@ -190,6 +190,14 @@ class OAuth2Api {
|
|
|
190
190
|
default: false,
|
|
191
191
|
doNotInherit: true,
|
|
192
192
|
},
|
|
193
|
+
{
|
|
194
|
+
displayName: 'Token Expired Status Code',
|
|
195
|
+
name: 'tokenExpiredStatusCode',
|
|
196
|
+
type: 'number',
|
|
197
|
+
default: 401,
|
|
198
|
+
description: 'HTTP status code that indicates the token has expired. Some APIs return 403 instead of 401.',
|
|
199
|
+
doNotInherit: true,
|
|
200
|
+
},
|
|
193
201
|
];
|
|
194
202
|
}
|
|
195
203
|
exports.OAuth2Api = OAuth2Api;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OAuth2Api.credentials.js","sourceRoot":"","sources":["../../credentials/OAuth2Api.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,SAAS;IACrB,IAAI,GAAG,WAAW,CAAC;IAEnB,WAAW,GAAG,YAAY,CAAC;IAE3B,gBAAgB,GAAG,aAAa,CAAC;IAEjC,WAAW,GAAG,IAAI,CAAC;IAEnB,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,8BAA8B;YACpC,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,KAAK;SACd;QACD;YACC,WAAW,EAAE,YAAY;YACzB,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,SAAS;YACf,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,4BAA4B,EAAE,CAAC,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,SAAS;YACf,OAAO,EAAE,KAAK;YACd,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,SAAS,EAAE,CAAC,mBAAmB,CAAC;oBAChC,cAAc,EAAE,CAAC,MAAM,CAAC;oBACxB,4BAA4B,EAAE,CAAC,KAAK,CAAC;iBACrC;aACD;SACD;QACD;YACC,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,0BAA0B;YAChC,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE;gBACZ,IAAI,EAAE,CAAC;aACP;YACD,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,SAAS,EAAE,CAAC,mBAAmB,CAAC;oBAChC,cAAc,EAAE,CAAC,MAAM,CAAC;oBACxB,4BAA4B,EAAE,CAAC,IAAI,CAAC;oBACpC,4BAA4B,EAAE,CAAC,KAAK,CAAC;iBACrC;aACD;YACD,OAAO,EAAE,EAAE;SACX;QACD;YACC,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,iBAAiB;YACvB,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,KAAK;YACd,YAAY,EAAE,IAAI;SAClB;KACD,CAAC;CACF;
|
|
1
|
+
{"version":3,"file":"OAuth2Api.credentials.js","sourceRoot":"","sources":["../../credentials/OAuth2Api.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,SAAS;IACrB,IAAI,GAAG,WAAW,CAAC;IAEnB,WAAW,GAAG,YAAY,CAAC;IAE3B,gBAAgB,GAAG,aAAa,CAAC;IAEjC,WAAW,GAAG,IAAI,CAAC;IAEnB,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,8BAA8B;YACpC,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,KAAK;SACd;QACD;YACC,WAAW,EAAE,YAAY;YACzB,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,SAAS;YACf,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,4BAA4B,EAAE,CAAC,KAAK,CAAC;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OAAO,EAAE,KAAK;YACd,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,SAAS,EAAE,CAAC,mBAAmB,CAAC;oBAChC,cAAc,EAAE,CAAC,MAAM,CAAC;oBACxB,4BAA4B,EAAE,CAAC,KAAK,CAAC;iBACrC;aACD;SACD;QACD;YACC,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,0BAA0B;YAChC,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE;gBACZ,IAAI,EAAE,CAAC;aACP;YACD,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,SAAS,EAAE,CAAC,mBAAmB,CAAC;oBAChC,cAAc,EAAE,CAAC,MAAM,CAAC;oBACxB,4BAA4B,EAAE,CAAC,IAAI,CAAC;oBACpC,4BAA4B,EAAE,CAAC,KAAK,CAAC;iBACrC;aACD;YACD,OAAO,EAAE,EAAE;SACX;QACD;YACC,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,iBAAiB;YACvB,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,KAAK;YACd,YAAY,EAAE,IAAI;SAClB;QACD;YACC,WAAW,EAAE,2BAA2B;YACxC,IAAI,EAAE,wBAAwB;YAC9B,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,GAAG;YACZ,WAAW,EACV,6FAA6F;YAC9F,YAAY,EAAE,IAAI;SAClB;KACD,CAAC;CACF;AA5MD,8BA4MC"}
|
|
@@ -214,6 +214,13 @@
|
|
|
214
214
|
"baserow"
|
|
215
215
|
]
|
|
216
216
|
},
|
|
217
|
+
"baserowTokenApi": {
|
|
218
|
+
"className": "BaserowTokenApi",
|
|
219
|
+
"sourcePath": "dist/credentials/BaserowTokenApi.credentials.js",
|
|
220
|
+
"supportedNodes": [
|
|
221
|
+
"baserow"
|
|
222
|
+
]
|
|
223
|
+
},
|
|
217
224
|
"beeminderApi": {
|
|
218
225
|
"className": "BeeminderApi",
|
|
219
226
|
"sourcePath": "dist/credentials/BeeminderApi.credentials.js",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
8adfe457d96dc5c59be3a304ad476cd16fa9284bc1ee2b1da2f0f25e94b7fbf5
|
|
@@ -4,13 +4,15 @@
|
|
|
4
4
|
* Re-exports all version-specific types and provides combined union type.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
+
import type { AirtableV22Node } from './v22';
|
|
7
8
|
import type { AirtableV21Node } from './v21';
|
|
8
9
|
import type { AirtableV2Node } from './v2';
|
|
9
10
|
import type { AirtableV1Node } from './v1';
|
|
10
11
|
|
|
12
|
+
export * from './v22';
|
|
11
13
|
export * from './v21';
|
|
12
14
|
export * from './v2';
|
|
13
15
|
export * from './v1';
|
|
14
16
|
|
|
15
17
|
// Combined union type for all versions
|
|
16
|
-
export type AirtableNode = AirtableV21Node | AirtableV2Node | AirtableV1Node;
|
|
18
|
+
export type AirtableNode = AirtableV22Node | AirtableV21Node | AirtableV2Node | AirtableV1Node;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Airtable Node - Version 2.2 - Zod Schema Factory
|
|
3
|
+
* Exports a factory that unions all discriminator schemas.
|
|
4
|
+
*
|
|
5
|
+
* Schema helpers (z, expressionSchema, etc.) are passed as parameters
|
|
6
|
+
* by the schema-validator, not imported from external files.
|
|
7
|
+
*
|
|
8
|
+
* @generated - CommonJS JavaScript for runtime loading
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
const getBaseSchema = require('./resource_base/index.schema');
|
|
12
|
+
const getRecordSchema = require('./resource_record/index.schema');
|
|
13
|
+
|
|
14
|
+
module.exports = function getSchema(helpers) {
|
|
15
|
+
const { parameters, z } = helpers;
|
|
16
|
+
// Apply discriminator default if not set
|
|
17
|
+
const effectiveParams = parameters.resource === undefined ? { ...parameters, resource: 'record' } : parameters;
|
|
18
|
+
return z.union([
|
|
19
|
+
getBaseSchema({ ...helpers, parameters: effectiveParams }),
|
|
20
|
+
getRecordSchema({ ...helpers, parameters: effectiveParams }),
|
|
21
|
+
]);
|
|
22
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Airtable Node - Version 2.2
|
|
3
|
+
* Re-exports all discriminator combinations.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { AirtableV22BaseNode } from './resource_base';
|
|
7
|
+
import type { AirtableV22RecordNode } from './resource_record';
|
|
8
|
+
|
|
9
|
+
export * from './resource_base';
|
|
10
|
+
export * from './resource_record';
|
|
11
|
+
|
|
12
|
+
export type AirtableV22Node =
|
|
13
|
+
| AirtableV22BaseNode
|
|
14
|
+
| AirtableV22RecordNode
|
|
15
|
+
;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Airtable - Base Resource - Zod Schema Factory
|
|
3
|
+
* Exports a factory that unions all operation schemas for this resource.
|
|
4
|
+
*
|
|
5
|
+
* Schema helpers (z, expressionSchema, etc.) are passed as parameters
|
|
6
|
+
* by the schema-validator, not imported from external files.
|
|
7
|
+
*
|
|
8
|
+
* @generated - CommonJS JavaScript for runtime loading
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
const getGetManySchema = require('./operation_get_many.schema');
|
|
12
|
+
const getGetSchemaSchema = require('./operation_get_schema.schema');
|
|
13
|
+
|
|
14
|
+
module.exports = function getSchema(helpers) {
|
|
15
|
+
const { parameters, z } = helpers;
|
|
16
|
+
// Apply operation default if not set
|
|
17
|
+
const effectiveParams = parameters.operation === undefined ? { ...parameters, operation: 'get' } : parameters;
|
|
18
|
+
return z.union([
|
|
19
|
+
getGetManySchema({ ...helpers, parameters: effectiveParams }),
|
|
20
|
+
getGetSchemaSchema({ ...helpers, parameters: effectiveParams }),
|
|
21
|
+
]);
|
|
22
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Airtable - Base Resource
|
|
3
|
+
* Re-exports all operation types for this resource.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { AirtableV22BaseGetManyNode } from './operation_get_many';
|
|
7
|
+
import type { AirtableV22BaseGetSchemaNode } from './operation_get_schema';
|
|
8
|
+
|
|
9
|
+
export * from './operation_get_many';
|
|
10
|
+
export * from './operation_get_schema';
|
|
11
|
+
|
|
12
|
+
export type AirtableV22BaseNode =
|
|
13
|
+
| AirtableV22BaseGetManyNode
|
|
14
|
+
| AirtableV22BaseGetSchemaNode
|
|
15
|
+
;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Airtable Node - Version 2.2 - Zod Schema
|
|
3
|
+
* Discriminator: resource=base, operation=getMany
|
|
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('base'),
|
|
18
|
+
operation: z.literal('getMany'),
|
|
19
|
+
authentication: z.union([z.literal('airtableTokenApi'), z.literal('airtableOAuth2Api'), expressionSchema]).optional(),
|
|
20
|
+
returnAll: booleanOrExpression.optional(),
|
|
21
|
+
limit: resolveSchema({ parameters, schema: numberOrExpression, required: false, displayOptions: {"show":{"returnAll":[false]}}, defaults: {"returnAll":true} }),
|
|
22
|
+
options: z.object({ permissionLevel: z.array(z.union([z.literal('comment'), z.literal('create'), z.literal('edit'), z.literal('none'), z.literal('read')])).optional() }).optional(),
|
|
23
|
+
}).optional(),
|
|
24
|
+
});
|
|
25
|
+
};
|
package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_base/operation_get_many.ts
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Airtable Node - Version 2.2
|
|
3
|
+
* Discriminator: resource=base, operation=getMany
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
interface Credentials {
|
|
8
|
+
airtableTokenApi: CredentialReference;
|
|
9
|
+
airtableOAuth2Api: CredentialReference;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/** List all the bases */
|
|
13
|
+
export type AirtableV22BaseGetManyParams = {
|
|
14
|
+
resource: 'base';
|
|
15
|
+
operation: 'getMany';
|
|
16
|
+
authentication?: 'airtableTokenApi' | 'airtableOAuth2Api' | Expression<string>;
|
|
17
|
+
/**
|
|
18
|
+
* Whether to return all results or only up to a given limit
|
|
19
|
+
* @default true
|
|
20
|
+
*/
|
|
21
|
+
returnAll?: boolean | Expression<boolean>;
|
|
22
|
+
/**
|
|
23
|
+
* Max number of results to return
|
|
24
|
+
* @displayOptions.show { returnAll: [false] }
|
|
25
|
+
* @default 100
|
|
26
|
+
*/
|
|
27
|
+
limit?: number | Expression<number>;
|
|
28
|
+
/**
|
|
29
|
+
* Options
|
|
30
|
+
* @default {}
|
|
31
|
+
*/
|
|
32
|
+
options?: {
|
|
33
|
+
/** Filter the returned bases by one or more permission levels
|
|
34
|
+
* @default []
|
|
35
|
+
*/
|
|
36
|
+
permissionLevel?: Array<'comment' | 'create' | 'edit' | 'none' | 'read'>;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export type AirtableV22BaseGetManyNode = {
|
|
41
|
+
type: 'n8n-nodes-base.airtable';
|
|
42
|
+
version: 2.2;
|
|
43
|
+
credentials?: Credentials;
|
|
44
|
+
config: NodeConfig<AirtableV22BaseGetManyParams>;
|
|
45
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Airtable Node - Version 2.2 - Zod Schema
|
|
3
|
+
* Discriminator: resource=base, operation=getSchema
|
|
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('base'),
|
|
18
|
+
operation: z.literal('getSchema'),
|
|
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
|
+
}).optional(),
|
|
22
|
+
});
|
|
23
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Airtable Node - Version 2.2
|
|
3
|
+
* Discriminator: resource=base, operation=getSchema
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
interface Credentials {
|
|
8
|
+
airtableTokenApi: CredentialReference;
|
|
9
|
+
airtableOAuth2Api: CredentialReference;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/** Get the schema of the tables in a base */
|
|
13
|
+
export type AirtableV22BaseGetSchemaParams = {
|
|
14
|
+
resource: 'base';
|
|
15
|
+
operation: 'getSchema';
|
|
16
|
+
authentication?: 'airtableTokenApi' | 'airtableOAuth2Api' | Expression<string>;
|
|
17
|
+
/**
|
|
18
|
+
* The Airtable Base to retrieve the schema from
|
|
19
|
+
* @default {"mode":"list","value":""}
|
|
20
|
+
*/
|
|
21
|
+
base?: { __rl: true; mode: 'list' | 'url' | 'id'; value: string; cachedResultName?: string };
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export type AirtableV22BaseGetSchemaNode = {
|
|
25
|
+
type: 'n8n-nodes-base.airtable';
|
|
26
|
+
version: 2.2;
|
|
27
|
+
credentials?: Credentials;
|
|
28
|
+
config: NodeConfig<AirtableV22BaseGetSchemaParams>;
|
|
29
|
+
};
|
package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/index.schema.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Airtable - Record Resource - Zod Schema Factory
|
|
3
|
+
* Exports a factory that unions all operation schemas for this resource.
|
|
4
|
+
*
|
|
5
|
+
* Schema helpers (z, expressionSchema, etc.) are passed as parameters
|
|
6
|
+
* by the schema-validator, not imported from external files.
|
|
7
|
+
*
|
|
8
|
+
* @generated - CommonJS JavaScript for runtime loading
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
const getCreateSchema = require('./operation_create.schema');
|
|
12
|
+
const getDeleteRecordSchema = require('./operation_delete_record.schema');
|
|
13
|
+
const getGetSchema = require('./operation_get.schema');
|
|
14
|
+
const getSearchSchema = require('./operation_search.schema');
|
|
15
|
+
const getUpdateSchema = require('./operation_update.schema');
|
|
16
|
+
const getUpsertSchema = require('./operation_upsert.schema');
|
|
17
|
+
|
|
18
|
+
module.exports = function getSchema(helpers) {
|
|
19
|
+
const { parameters, z } = helpers;
|
|
20
|
+
// Apply operation default if not set
|
|
21
|
+
const effectiveParams = parameters.operation === undefined ? { ...parameters, operation: 'get' } : parameters;
|
|
22
|
+
return z.union([
|
|
23
|
+
getCreateSchema({ ...helpers, parameters: effectiveParams }),
|
|
24
|
+
getDeleteRecordSchema({ ...helpers, parameters: effectiveParams }),
|
|
25
|
+
getGetSchema({ ...helpers, parameters: effectiveParams }),
|
|
26
|
+
getSearchSchema({ ...helpers, parameters: effectiveParams }),
|
|
27
|
+
getUpdateSchema({ ...helpers, parameters: effectiveParams }),
|
|
28
|
+
getUpsertSchema({ ...helpers, parameters: effectiveParams }),
|
|
29
|
+
]);
|
|
30
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Airtable - Record Resource
|
|
3
|
+
* Re-exports all operation types for this resource.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { AirtableV22RecordCreateNode } from './operation_create';
|
|
7
|
+
import type { AirtableV22RecordDeleteRecordNode } from './operation_delete_record';
|
|
8
|
+
import type { AirtableV22RecordGetNode } from './operation_get';
|
|
9
|
+
import type { AirtableV22RecordSearchNode } from './operation_search';
|
|
10
|
+
import type { AirtableV22RecordUpdateNode } from './operation_update';
|
|
11
|
+
import type { AirtableV22RecordUpsertNode } from './operation_upsert';
|
|
12
|
+
|
|
13
|
+
export * from './operation_create';
|
|
14
|
+
export * from './operation_delete_record';
|
|
15
|
+
export * from './operation_get';
|
|
16
|
+
export * from './operation_search';
|
|
17
|
+
export * from './operation_update';
|
|
18
|
+
export * from './operation_upsert';
|
|
19
|
+
|
|
20
|
+
export type AirtableV22RecordNode =
|
|
21
|
+
| AirtableV22RecordCreateNode
|
|
22
|
+
| AirtableV22RecordDeleteRecordNode
|
|
23
|
+
| AirtableV22RecordGetNode
|
|
24
|
+
| AirtableV22RecordSearchNode
|
|
25
|
+
| AirtableV22RecordUpdateNode
|
|
26
|
+
| AirtableV22RecordUpsertNode
|
|
27
|
+
;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Airtable Node - Version 2.2 - Zod Schema
|
|
3
|
+
* Discriminator: resource=record, 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 }) {
|
|
14
|
+
|
|
15
|
+
return z.object({
|
|
16
|
+
parameters: z.object({
|
|
17
|
+
resource: z.literal('record').default('record'),
|
|
18
|
+
operation: z.literal('create'),
|
|
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
|
+
};
|