@nangohq/types 0.42.4 → 0.42.5
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/integration/api.d.ts +22 -0
- package/dist/logs/messages.d.ts +1 -1
- package/dist/proxy/api.d.ts +1 -0
- package/package.json +2 -2
|
@@ -9,3 +9,25 @@ export type GetListIntegrations = Endpoint<{
|
|
|
9
9
|
}[];
|
|
10
10
|
};
|
|
11
11
|
}>;
|
|
12
|
+
export type DeleteIntegrationPublic = Endpoint<{
|
|
13
|
+
Method: 'DELETE';
|
|
14
|
+
Path: '/config/:providerConfigKey';
|
|
15
|
+
Params: {
|
|
16
|
+
providerConfigKey: string;
|
|
17
|
+
};
|
|
18
|
+
Success: {
|
|
19
|
+
success: true;
|
|
20
|
+
};
|
|
21
|
+
}>;
|
|
22
|
+
export type DeleteIntegration = Endpoint<{
|
|
23
|
+
Method: 'DELETE';
|
|
24
|
+
Path: '/api/v1/integration/:providerConfigKey';
|
|
25
|
+
Params: {
|
|
26
|
+
providerConfigKey: string;
|
|
27
|
+
};
|
|
28
|
+
Success: {
|
|
29
|
+
data: {
|
|
30
|
+
success: boolean;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
}>;
|
package/dist/logs/messages.d.ts
CHANGED
|
@@ -127,5 +127,5 @@ export type OperationRow = Merge<Required<OperationRowInsert>, {
|
|
|
127
127
|
export type MessageRowInsert = Pick<MessageRow, 'type' | 'message'> & Partial<Omit<MessageRow, 'type' | 'message'>> & {
|
|
128
128
|
id?: never;
|
|
129
129
|
};
|
|
130
|
-
export type LogsBuffer = Pick<MessageRow, 'level' | 'message' | 'createdAt'> & Partial<Pick<MessageRow, 'error' | 'meta'>>;
|
|
130
|
+
export type LogsBuffer = Pick<MessageRow, 'level' | 'message' | 'createdAt'> & Partial<Pick<MessageRow, 'error' | 'meta' | 'type' | 'request' | 'response'>>;
|
|
131
131
|
export type MessageOrOperationRow = MessageRow | OperationRow;
|
package/dist/proxy/api.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nangohq/types",
|
|
3
|
-
"version": "0.42.
|
|
3
|
+
"version": "0.42.5",
|
|
4
4
|
"description": "Types used in Nango applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@types/json-schema": "7.0.15",
|
|
16
|
-
"axios": "^1.
|
|
16
|
+
"axios": "^1.7.4",
|
|
17
17
|
"json-schema": "0.4.0",
|
|
18
18
|
"type-fest": "4.14.0"
|
|
19
19
|
},
|