@zernio/node 0.2.1823 → 0.2.1824
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.d.mts +25 -2
- package/dist/index.d.ts +25 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +26 -3
package/dist/index.d.mts
CHANGED
|
@@ -8948,11 +8948,34 @@ type BusinessAgentBusinessInformation = {
|
|
|
8948
8948
|
address?: string;
|
|
8949
8949
|
} | null;
|
|
8950
8950
|
};
|
|
8951
|
-
|
|
8951
|
+
/**
|
|
8952
|
+
* Secret values are never returned: auth_config and mtls_config leave out client_secret, client_key, private_key and every API key value. Send them again with the credentials call to rotate them.
|
|
8953
|
+
*/
|
|
8954
|
+
type BusinessAgentConnector = {
|
|
8952
8955
|
id: string;
|
|
8956
|
+
name: string;
|
|
8957
|
+
description?: string;
|
|
8958
|
+
base_url: string;
|
|
8959
|
+
connector_protocol?: string;
|
|
8960
|
+
auth_type: 'OAUTH2_CLIENT_CREDENTIALS' | 'API_KEY' | 'NONE';
|
|
8961
|
+
/**
|
|
8962
|
+
* What Meta stores for the connector's auth (for example oauth2_client_credentials with token_url and client_id), without secret values.
|
|
8963
|
+
*/
|
|
8964
|
+
auth_config?: {
|
|
8965
|
+
[key: string]: unknown;
|
|
8966
|
+
};
|
|
8967
|
+
user_auth_injection_config?: {
|
|
8968
|
+
location?: string;
|
|
8969
|
+
field_name?: string;
|
|
8970
|
+
prefix?: string;
|
|
8971
|
+
};
|
|
8972
|
+
requires_certificate?: boolean;
|
|
8953
8973
|
mcp_tool_sync?: {
|
|
8954
8974
|
[key: string]: unknown;
|
|
8955
8975
|
};
|
|
8976
|
+
/**
|
|
8977
|
+
* Certificate details, without client_key or private_key.
|
|
8978
|
+
*/
|
|
8956
8979
|
mtls_config?: {
|
|
8957
8980
|
[key: string]: unknown;
|
|
8958
8981
|
};
|
|
@@ -8964,6 +8987,7 @@ type BusinessAgentConnector = BusinessAgentConnectorInput & {
|
|
|
8964
8987
|
error_message?: string;
|
|
8965
8988
|
};
|
|
8966
8989
|
};
|
|
8990
|
+
type auth_type = 'OAUTH2_CLIENT_CREDENTIALS' | 'API_KEY' | 'NONE';
|
|
8967
8991
|
type BusinessAgentConnectorInput = {
|
|
8968
8992
|
/**
|
|
8969
8993
|
* Unique per number.
|
|
@@ -8990,7 +9014,6 @@ type BusinessAgentConnectorInput = {
|
|
|
8990
9014
|
};
|
|
8991
9015
|
requires_certificate?: boolean;
|
|
8992
9016
|
};
|
|
8993
|
-
type auth_type = 'OAUTH2_CLIENT_CREDENTIALS' | 'API_KEY' | 'NONE';
|
|
8994
9017
|
type BusinessAgentConnectorTool = BusinessAgentConnectorToolInput & {
|
|
8995
9018
|
id: string;
|
|
8996
9019
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -8948,11 +8948,34 @@ type BusinessAgentBusinessInformation = {
|
|
|
8948
8948
|
address?: string;
|
|
8949
8949
|
} | null;
|
|
8950
8950
|
};
|
|
8951
|
-
|
|
8951
|
+
/**
|
|
8952
|
+
* Secret values are never returned: auth_config and mtls_config leave out client_secret, client_key, private_key and every API key value. Send them again with the credentials call to rotate them.
|
|
8953
|
+
*/
|
|
8954
|
+
type BusinessAgentConnector = {
|
|
8952
8955
|
id: string;
|
|
8956
|
+
name: string;
|
|
8957
|
+
description?: string;
|
|
8958
|
+
base_url: string;
|
|
8959
|
+
connector_protocol?: string;
|
|
8960
|
+
auth_type: 'OAUTH2_CLIENT_CREDENTIALS' | 'API_KEY' | 'NONE';
|
|
8961
|
+
/**
|
|
8962
|
+
* What Meta stores for the connector's auth (for example oauth2_client_credentials with token_url and client_id), without secret values.
|
|
8963
|
+
*/
|
|
8964
|
+
auth_config?: {
|
|
8965
|
+
[key: string]: unknown;
|
|
8966
|
+
};
|
|
8967
|
+
user_auth_injection_config?: {
|
|
8968
|
+
location?: string;
|
|
8969
|
+
field_name?: string;
|
|
8970
|
+
prefix?: string;
|
|
8971
|
+
};
|
|
8972
|
+
requires_certificate?: boolean;
|
|
8953
8973
|
mcp_tool_sync?: {
|
|
8954
8974
|
[key: string]: unknown;
|
|
8955
8975
|
};
|
|
8976
|
+
/**
|
|
8977
|
+
* Certificate details, without client_key or private_key.
|
|
8978
|
+
*/
|
|
8956
8979
|
mtls_config?: {
|
|
8957
8980
|
[key: string]: unknown;
|
|
8958
8981
|
};
|
|
@@ -8964,6 +8987,7 @@ type BusinessAgentConnector = BusinessAgentConnectorInput & {
|
|
|
8964
8987
|
error_message?: string;
|
|
8965
8988
|
};
|
|
8966
8989
|
};
|
|
8990
|
+
type auth_type = 'OAUTH2_CLIENT_CREDENTIALS' | 'API_KEY' | 'NONE';
|
|
8967
8991
|
type BusinessAgentConnectorInput = {
|
|
8968
8992
|
/**
|
|
8969
8993
|
* Unique per number.
|
|
@@ -8990,7 +9014,6 @@ type BusinessAgentConnectorInput = {
|
|
|
8990
9014
|
};
|
|
8991
9015
|
requires_certificate?: boolean;
|
|
8992
9016
|
};
|
|
8993
|
-
type auth_type = 'OAUTH2_CLIENT_CREDENTIALS' | 'API_KEY' | 'NONE';
|
|
8994
9017
|
type BusinessAgentConnectorTool = BusinessAgentConnectorToolInput & {
|
|
8995
9018
|
id: string;
|
|
8996
9019
|
};
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
36
36
|
// package.json
|
|
37
37
|
var package_default = {
|
|
38
38
|
name: "@zernio/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.1824",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5
5
|
// package.json
|
|
6
6
|
var package_default = {
|
|
7
7
|
name: "@zernio/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.1824",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
package/package.json
CHANGED
|
@@ -6556,11 +6556,34 @@ export type BusinessAgentBusinessInformation = {
|
|
|
6556
6556
|
} | null;
|
|
6557
6557
|
};
|
|
6558
6558
|
|
|
6559
|
-
|
|
6559
|
+
/**
|
|
6560
|
+
* Secret values are never returned: auth_config and mtls_config leave out client_secret, client_key, private_key and every API key value. Send them again with the credentials call to rotate them.
|
|
6561
|
+
*/
|
|
6562
|
+
export type BusinessAgentConnector = {
|
|
6560
6563
|
id: string;
|
|
6564
|
+
name: string;
|
|
6565
|
+
description?: string;
|
|
6566
|
+
base_url: string;
|
|
6567
|
+
connector_protocol?: string;
|
|
6568
|
+
auth_type: 'OAUTH2_CLIENT_CREDENTIALS' | 'API_KEY' | 'NONE';
|
|
6569
|
+
/**
|
|
6570
|
+
* What Meta stores for the connector's auth (for example oauth2_client_credentials with token_url and client_id), without secret values.
|
|
6571
|
+
*/
|
|
6572
|
+
auth_config?: {
|
|
6573
|
+
[key: string]: unknown;
|
|
6574
|
+
};
|
|
6575
|
+
user_auth_injection_config?: {
|
|
6576
|
+
location?: string;
|
|
6577
|
+
field_name?: string;
|
|
6578
|
+
prefix?: string;
|
|
6579
|
+
};
|
|
6580
|
+
requires_certificate?: boolean;
|
|
6561
6581
|
mcp_tool_sync?: {
|
|
6562
6582
|
[key: string]: unknown;
|
|
6563
6583
|
};
|
|
6584
|
+
/**
|
|
6585
|
+
* Certificate details, without client_key or private_key.
|
|
6586
|
+
*/
|
|
6564
6587
|
mtls_config?: {
|
|
6565
6588
|
[key: string]: unknown;
|
|
6566
6589
|
};
|
|
@@ -6573,6 +6596,8 @@ export type BusinessAgentConnector = BusinessAgentConnectorInput & {
|
|
|
6573
6596
|
};
|
|
6574
6597
|
};
|
|
6575
6598
|
|
|
6599
|
+
export type auth_type = 'OAUTH2_CLIENT_CREDENTIALS' | 'API_KEY' | 'NONE';
|
|
6600
|
+
|
|
6576
6601
|
export type BusinessAgentConnectorInput = {
|
|
6577
6602
|
/**
|
|
6578
6603
|
* Unique per number.
|
|
@@ -6600,8 +6625,6 @@ export type BusinessAgentConnectorInput = {
|
|
|
6600
6625
|
requires_certificate?: boolean;
|
|
6601
6626
|
};
|
|
6602
6627
|
|
|
6603
|
-
export type auth_type = 'OAUTH2_CLIENT_CREDENTIALS' | 'API_KEY' | 'NONE';
|
|
6604
|
-
|
|
6605
6628
|
export type BusinessAgentConnectorTool = BusinessAgentConnectorToolInput & {
|
|
6606
6629
|
id: string;
|
|
6607
6630
|
};
|