@unito/integrations-platform-client 1.0.1 → 1.1.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.
Files changed (2) hide show
  1. package/dist/src/api.d.ts +26 -0
  2. package/package.json +3 -3
package/dist/src/api.d.ts CHANGED
@@ -148,6 +148,8 @@ export type Credential = Base & {
148
148
  integrationId: number;
149
149
  /** The name of the integration. */
150
150
  integrationName: string;
151
+ /** The display name of the integration. */
152
+ integrationDisplayName: string | null;
151
153
  /** The id of the authorization. */
152
154
  authorizationId: number;
153
155
  /** The scope of the credential. */
@@ -906,9 +908,15 @@ export declare function getProxyMe(xUnitoCredentialId: string, { xUnitoCorrelati
906
908
  } | {
907
909
  status: 404;
908
910
  data: Error;
911
+ } | {
912
+ status: 410;
913
+ data: Error;
909
914
  } | {
910
915
  status: 422;
911
916
  data: Error;
917
+ } | {
918
+ status: 423;
919
+ data: Error;
912
920
  } | {
913
921
  status: 500;
914
922
  data: Error;
@@ -939,9 +947,15 @@ export declare function updateWebhookSubscription(xUnitoCredentialId: string, bo
939
947
  } | {
940
948
  status: 404;
941
949
  data: Error;
950
+ } | {
951
+ status: 410;
952
+ data: Error;
942
953
  } | {
943
954
  status: 422;
944
955
  data: Error;
956
+ } | {
957
+ status: 423;
958
+ data: Error;
945
959
  } | {
946
960
  status: 500;
947
961
  data: Error;
@@ -977,6 +991,9 @@ export declare function getProxyGraph(xUnitoCredentialId: string, path: string,
977
991
  } | {
978
992
  status: 422;
979
993
  data: Error;
994
+ } | {
995
+ status: 423;
996
+ data: Error;
980
997
  } | {
981
998
  status: 500;
982
999
  data: Error;
@@ -1012,6 +1029,9 @@ export declare function patchProxyGraph(xUnitoCredentialId: string, path: string
1012
1029
  } | {
1013
1030
  status: 422;
1014
1031
  data: Error;
1032
+ } | {
1033
+ status: 423;
1034
+ data: Error;
1015
1035
  } | {
1016
1036
  status: 500;
1017
1037
  data: Error;
@@ -1047,6 +1067,9 @@ export declare function postProxyGraph(xUnitoCredentialId: string, path: string,
1047
1067
  } | {
1048
1068
  status: 422;
1049
1069
  data: Error;
1070
+ } | {
1071
+ status: 423;
1072
+ data: Error;
1050
1073
  } | {
1051
1074
  status: 500;
1052
1075
  data: Error;
@@ -1081,6 +1104,9 @@ export declare function deleteProxyGraph(xUnitoCredentialId: string, path: strin
1081
1104
  } | {
1082
1105
  status: 422;
1083
1106
  data: Error;
1107
+ } | {
1108
+ status: 423;
1109
+ data: Error;
1084
1110
  } | {
1085
1111
  status: 500;
1086
1112
  data: Error;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unito/integrations-platform-client",
3
- "version": "1.0.1",
3
+ "version": "1.1.0",
4
4
  "description": "The Unito Integrations Platform Client",
5
5
  "type": "module",
6
6
  "types": "./dist/src/index.d.ts",
@@ -15,7 +15,7 @@
15
15
  "dist/src/**/*"
16
16
  ],
17
17
  "engines": {
18
- "node": ">=18",
18
+ "node": ">=20",
19
19
  "npm": ">=9.5.0"
20
20
  },
21
21
  "scripts": {
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "license": "LicenseRef-LICENSE",
37
37
  "devDependencies": {
38
- "@types/node": "18.x",
38
+ "@types/node": "20.x",
39
39
  "@types/sinon": "17.x",
40
40
  "@typescript-eslint/eslint-plugin": "7.x",
41
41
  "@typescript-eslint/parser": "7.x",