@zernio/node 0.2.1823 → 0.2.1825

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 CHANGED
@@ -8948,11 +8948,34 @@ type BusinessAgentBusinessInformation = {
8948
8948
  address?: string;
8949
8949
  } | null;
8950
8950
  };
8951
- type BusinessAgentConnector = BusinessAgentConnectorInput & {
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
  };
@@ -72174,7 +72197,7 @@ type ReplyToAdCommentData = {
72174
72197
  */
72175
72198
  adId: string;
72176
72199
  /**
72177
- * TikTok comment ID from the ad comment listing.
72200
+ * TikTok comment ID from the ad comment listing. A Meta comment ID (post_comment) answers 501 with the inbox comment endpoints to use.
72178
72201
  */
72179
72202
  commentId: string;
72180
72203
  };
@@ -72210,7 +72233,7 @@ type HideAdCommentData = {
72210
72233
  */
72211
72234
  adId: string;
72212
72235
  /**
72213
- * TikTok comment ID from the ad comment listing.
72236
+ * TikTok comment ID from the ad comment listing. A Meta comment ID (post_comment) answers 501 with the inbox comment endpoints to use.
72214
72237
  */
72215
72238
  commentId: string;
72216
72239
  };
@@ -72244,7 +72267,7 @@ type DeleteAdCommentData = {
72244
72267
  */
72245
72268
  adId: string;
72246
72269
  /**
72247
- * TikTok comment ID from the ad comment listing.
72270
+ * TikTok comment ID from the ad comment listing. A Meta comment ID (post_comment) answers 501 with the inbox comment endpoints to use.
72248
72271
  */
72249
72272
  commentId: string;
72250
72273
  };
package/dist/index.d.ts CHANGED
@@ -8948,11 +8948,34 @@ type BusinessAgentBusinessInformation = {
8948
8948
  address?: string;
8949
8949
  } | null;
8950
8950
  };
8951
- type BusinessAgentConnector = BusinessAgentConnectorInput & {
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
  };
@@ -72174,7 +72197,7 @@ type ReplyToAdCommentData = {
72174
72197
  */
72175
72198
  adId: string;
72176
72199
  /**
72177
- * TikTok comment ID from the ad comment listing.
72200
+ * TikTok comment ID from the ad comment listing. A Meta comment ID (post_comment) answers 501 with the inbox comment endpoints to use.
72178
72201
  */
72179
72202
  commentId: string;
72180
72203
  };
@@ -72210,7 +72233,7 @@ type HideAdCommentData = {
72210
72233
  */
72211
72234
  adId: string;
72212
72235
  /**
72213
- * TikTok comment ID from the ad comment listing.
72236
+ * TikTok comment ID from the ad comment listing. A Meta comment ID (post_comment) answers 501 with the inbox comment endpoints to use.
72214
72237
  */
72215
72238
  commentId: string;
72216
72239
  };
@@ -72244,7 +72267,7 @@ type DeleteAdCommentData = {
72244
72267
  */
72245
72268
  adId: string;
72246
72269
  /**
72247
- * TikTok comment ID from the ad comment listing.
72270
+ * TikTok comment ID from the ad comment listing. A Meta comment ID (post_comment) answers 501 with the inbox comment endpoints to use.
72248
72271
  */
72249
72272
  commentId: string;
72250
72273
  };
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.1823",
39
+ version: "0.2.1825",
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.1823",
8
+ version: "0.2.1825",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.1823",
3
+ "version": "0.2.1825",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -6556,11 +6556,34 @@ export type BusinessAgentBusinessInformation = {
6556
6556
  } | null;
6557
6557
  };
6558
6558
 
6559
- export type BusinessAgentConnector = BusinessAgentConnectorInput & {
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
  };
@@ -73721,7 +73744,7 @@ export type ReplyToAdCommentData = {
73721
73744
  */
73722
73745
  adId: string;
73723
73746
  /**
73724
- * TikTok comment ID from the ad comment listing.
73747
+ * TikTok comment ID from the ad comment listing. A Meta comment ID (post_comment) answers 501 with the inbox comment endpoints to use.
73725
73748
  */
73726
73749
  commentId: string;
73727
73750
  };
@@ -73760,7 +73783,7 @@ export type HideAdCommentData = {
73760
73783
  */
73761
73784
  adId: string;
73762
73785
  /**
73763
- * TikTok comment ID from the ad comment listing.
73786
+ * TikTok comment ID from the ad comment listing. A Meta comment ID (post_comment) answers 501 with the inbox comment endpoints to use.
73764
73787
  */
73765
73788
  commentId: string;
73766
73789
  };
@@ -73797,7 +73820,7 @@ export type DeleteAdCommentData = {
73797
73820
  */
73798
73821
  adId: string;
73799
73822
  /**
73800
- * TikTok comment ID from the ad comment listing.
73823
+ * TikTok comment ID from the ad comment listing. A Meta comment ID (post_comment) answers 501 with the inbox comment endpoints to use.
73801
73824
  */
73802
73825
  commentId: string;
73803
73826
  };