@nangohq/providers 0.58.2 → 0.58.3
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/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/providers.yaml +40 -2
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { fileURLToPath } from 'node:url';
|
|
2
|
-
import path from 'node:path';
|
|
3
1
|
import fs from 'node:fs';
|
|
2
|
+
import path from 'node:path';
|
|
3
|
+
import { fileURLToPath } from 'node:url';
|
|
4
4
|
import yaml from 'js-yaml';
|
|
5
5
|
const __filename = fileURLToPath(import.meta.url);
|
|
6
6
|
const pkgRoot = path.join(__filename, '../../');
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,OAAO,IAAI,MAAM,SAAS,CAAC;AAI3B,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClD,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;AAEhD,IAAI,SAAS,GAAyC,SAAS,CAAC;AAEhE,MAAM,UAAU,mBAAmB,CAAC,MAAgC;IAChE,SAAS,GAAG,MAAM,CAAC;AACvB,CAAC;AAED,MAAM,UAAU,YAAY;IACxB,IAAI,CAAC,SAAS,EAAE,CAAC;QACb,SAAS,GAAG,iBAAiB,EAAE,CAAC;IACpC,CAAC;IAED,OAAO,SAA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;IACxD,CAAC;IACD,OAAO;AACX,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nangohq/providers",
|
|
3
|
-
"version": "0.58.
|
|
3
|
+
"version": "0.58.3",
|
|
4
4
|
"description": "Nango's providers.yaml and getters",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"js-yaml": "4.1.0"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"@nangohq/types": "0.58.
|
|
15
|
-
"vitest": "
|
|
14
|
+
"@nangohq/types": "0.58.3",
|
|
15
|
+
"vitest": "3.1.1"
|
|
16
16
|
},
|
|
17
17
|
"files": [
|
|
18
18
|
"dist/**/*",
|
package/providers.yaml
CHANGED
|
@@ -869,7 +869,6 @@ avalara:
|
|
|
869
869
|
type: string
|
|
870
870
|
title: Avalara Client
|
|
871
871
|
description: The Avalara client for your Avalara account
|
|
872
|
-
pattern: '^[a-zA-Z0-9_-]+$'
|
|
873
872
|
doc_section: '#step-2-generating-an-avalara-client'
|
|
874
873
|
|
|
875
874
|
avalara-sandbox:
|
|
@@ -907,7 +906,6 @@ avalara-sandbox:
|
|
|
907
906
|
type: string
|
|
908
907
|
title: Avalara Client
|
|
909
908
|
description: The Avalara client for your Avalara account
|
|
910
|
-
pattern: '^[a-zA-Z0-9_-]+$'
|
|
911
909
|
doc_section: '#step-2-generating-an-avalara-client'
|
|
912
910
|
|
|
913
911
|
aws:
|
|
@@ -989,6 +987,39 @@ aws-iam:
|
|
|
989
987
|
pattern: '^[a-z0-9-]+$'
|
|
990
988
|
doc_section: '#step-2-finding-your-region-host'
|
|
991
989
|
|
|
990
|
+
azure-devops:
|
|
991
|
+
display_name: Azure DevOps
|
|
992
|
+
categories:
|
|
993
|
+
- dev-tools
|
|
994
|
+
auth_mode: BASIC
|
|
995
|
+
proxy:
|
|
996
|
+
base_url: https://${connectionConfig.organizationUrl}
|
|
997
|
+
docs: https://docs.nango.dev/integrations/all/azure-devops
|
|
998
|
+
docs_connect: https://docs.nango.dev/integrations/all/azure-devops/connect
|
|
999
|
+
# Azure DevOps returns a 202 when the credentials are invalid,
|
|
1000
|
+
# so we need to explicitly check for this and return respective error message
|
|
1001
|
+
credentials_verification_script: azureDevopsCredentialsVerification
|
|
1002
|
+
connection_config:
|
|
1003
|
+
organizationUrl:
|
|
1004
|
+
type: string
|
|
1005
|
+
title: Organization URL
|
|
1006
|
+
description: The URL of your Azure DevOps organization
|
|
1007
|
+
example: dev.azure.com/myorg or myorg.visualstudio.com
|
|
1008
|
+
doc_section: '#step-1-finding-your-organization-url'
|
|
1009
|
+
prefix: https://
|
|
1010
|
+
credentials:
|
|
1011
|
+
username:
|
|
1012
|
+
type: string
|
|
1013
|
+
title: ''
|
|
1014
|
+
description: ''
|
|
1015
|
+
default_value: ''
|
|
1016
|
+
hidden: true
|
|
1017
|
+
password:
|
|
1018
|
+
type: string
|
|
1019
|
+
title: Personal Access Token
|
|
1020
|
+
description: The Personal Access Token of your Azure DevOps account
|
|
1021
|
+
doc_section: '#step-2-creating-a-personal-access-token'
|
|
1022
|
+
|
|
992
1023
|
bamboohr:
|
|
993
1024
|
display_name: BambooHR (OAuth)
|
|
994
1025
|
categories:
|
|
@@ -1808,6 +1839,7 @@ canva-scim:
|
|
|
1808
1839
|
endpoints:
|
|
1809
1840
|
- /v2/Users
|
|
1810
1841
|
docs: https://docs.nango.dev/integrations/all/canva-scim
|
|
1842
|
+
docs_connect: https://docs.nango.dev/integrations/all/canva-scim/connect
|
|
1811
1843
|
credentials:
|
|
1812
1844
|
apiKey:
|
|
1813
1845
|
type: string
|
|
@@ -2925,6 +2957,7 @@ emarsys-oauth:
|
|
|
2925
2957
|
retry:
|
|
2926
2958
|
at: 'x-ratelimit-reset'
|
|
2927
2959
|
docs: https://docs.nango.dev/integrations/all/emarsys-oauth
|
|
2960
|
+
docs_connect: https://docs.nango.dev/integrations/all/emarsys-oauth/connect
|
|
2928
2961
|
|
|
2929
2962
|
employment-hero:
|
|
2930
2963
|
display_name: Employment Hero
|
|
@@ -5150,6 +5183,7 @@ klaviyo:
|
|
|
5150
5183
|
retry:
|
|
5151
5184
|
after: 'retry-after'
|
|
5152
5185
|
docs: https://docs.nango.dev/integrations/all/klaviyo
|
|
5186
|
+
docs_connect: https://docs.nango.dev/integrations/all/klaviyo/connect
|
|
5153
5187
|
credentials:
|
|
5154
5188
|
apiKey:
|
|
5155
5189
|
type: string
|
|
@@ -5682,6 +5716,7 @@ marketo:
|
|
|
5682
5716
|
token_params:
|
|
5683
5717
|
grant_type: client_credentials
|
|
5684
5718
|
docs: https://docs.nango.dev/integrations/all/marketo
|
|
5719
|
+
docs_connect: https://docs.nango.dev/integrations/all/marketo/connect
|
|
5685
5720
|
connection_config:
|
|
5686
5721
|
endpointURL:
|
|
5687
5722
|
type: string
|
|
@@ -5692,6 +5727,7 @@ marketo:
|
|
|
5692
5727
|
prefix: https://
|
|
5693
5728
|
suffix: /
|
|
5694
5729
|
order: 1
|
|
5730
|
+
doc_section: '#step-3-find-your-domain-and-identity-url'
|
|
5695
5731
|
identityURL:
|
|
5696
5732
|
type: string
|
|
5697
5733
|
title: Identity URL
|
|
@@ -5701,6 +5737,7 @@ marketo:
|
|
|
5701
5737
|
example: xxx.mktorest.com
|
|
5702
5738
|
suffix: /identity/oauth/token
|
|
5703
5739
|
order: 2
|
|
5740
|
+
doc_section: '#step-3-find-your-domain-and-identity-url'
|
|
5704
5741
|
|
|
5705
5742
|
malwarebytes:
|
|
5706
5743
|
display_name: Malwarebytes
|
|
@@ -8899,6 +8936,7 @@ trello-scim:
|
|
|
8899
8936
|
endpoints:
|
|
8900
8937
|
- /v2/users?sortBy=displayName&count=10
|
|
8901
8938
|
docs: https://docs.nango.dev/integrations/all/trello-scim
|
|
8939
|
+
docs_connect: https://docs.nango.dev/integrations/all/trello-scim/connect
|
|
8902
8940
|
credentials:
|
|
8903
8941
|
apiKey:
|
|
8904
8942
|
type: string
|