@nangohq/types 0.64.3 → 0.65.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.
|
@@ -84,7 +84,7 @@ export type DeletePublicIntegration = Endpoint<{
|
|
|
84
84
|
success: true;
|
|
85
85
|
};
|
|
86
86
|
}>;
|
|
87
|
-
export type ApiIntegration = Omit<Merge<IntegrationConfig, ApiTimestamps>, 'oauth_client_secret_iv' | 'oauth_client_secret_tag'>;
|
|
87
|
+
export type ApiIntegration = Omit<Merge<IntegrationConfig, ApiTimestamps>, 'oauth_client_secret_iv' | 'oauth_client_secret_tag' | 'shared_credentials_id'>;
|
|
88
88
|
export type ApiIntegrationList = ApiIntegration & {
|
|
89
89
|
meta: {
|
|
90
90
|
authMode: AuthModeType;
|
package/dist/integration/db.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export interface IntegrationConfig extends TimestampsAndDeleted {
|
|
|
16
16
|
missing_fields: string[];
|
|
17
17
|
display_name: string | null;
|
|
18
18
|
forward_webhooks: boolean;
|
|
19
|
+
shared_credentials_id: number | null;
|
|
19
20
|
}
|
|
20
21
|
export type DBIntegrationCrypted = Tagged<IntegrationConfig, 'IntegrationCrypted'>;
|
|
21
22
|
export type DBCreateIntegration = SetOptional<NullablePartial<Omit<IntegrationConfig, 'created_at' | 'updated_at'>>, 'missing_fields'>;
|
package/dist/plans/http.api.d.ts
CHANGED
|
@@ -60,12 +60,28 @@ export type GetPlan = Endpoint<{
|
|
|
60
60
|
data: ApiPlan;
|
|
61
61
|
};
|
|
62
62
|
}>;
|
|
63
|
+
export interface MetricUsage {
|
|
64
|
+
metric: string;
|
|
65
|
+
label: string;
|
|
66
|
+
usage: number;
|
|
67
|
+
limit: number | null;
|
|
68
|
+
}
|
|
63
69
|
export type GetUsage = Endpoint<{
|
|
64
70
|
Method: 'GET';
|
|
65
71
|
Path: '/api/v1/plans/usage';
|
|
66
72
|
Querystring: {
|
|
67
73
|
env: string;
|
|
68
74
|
};
|
|
75
|
+
Success: {
|
|
76
|
+
data: MetricUsage[];
|
|
77
|
+
};
|
|
78
|
+
}>;
|
|
79
|
+
export type GetBillingUsage = Endpoint<{
|
|
80
|
+
Method: 'GET';
|
|
81
|
+
Path: '/api/v1/plans/billing-usage';
|
|
82
|
+
Querystring: {
|
|
83
|
+
env: string;
|
|
84
|
+
};
|
|
69
85
|
Success: {
|
|
70
86
|
data: {
|
|
71
87
|
customer: BillingCustomer;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nangohq/types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.65.0",
|
|
4
4
|
"description": "Types used in Nango applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"directory": "packages/utils"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"axios": "1.
|
|
15
|
+
"axios": "1.11.0",
|
|
16
16
|
"json-schema": "0.4.0",
|
|
17
17
|
"type-fest": "4.41.0"
|
|
18
18
|
},
|