@wildix/wilma-agents-client 1.0.52 → 1.0.53

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.
@@ -363,7 +363,6 @@ const _sIn = "snapshotId";
363
363
  const _sL = "searchLimit";
364
364
  const _sM = "startMessage";
365
365
  const _sMt = "startMessages";
366
- const _sR = "secretRef";
367
366
  const _sS = "searchStrategy";
368
367
  const _sT = "searchThreshold";
369
368
  const _sTi = "silenceTimeout";
@@ -742,7 +741,7 @@ exports.AgentWebFetchCapability$ = [3, n2, _AWFC,
742
741
  ];
743
742
  exports.AgentWebhookEngine$ = [3, n2, _AWE,
744
743
  0,
745
- [_u, _sR, _ti],
744
+ [_u, _sec, _ti],
746
745
  [0, () => exports.SecretRef$, 1], 1
747
746
  ];
748
747
  exports.AgentWebSearchCapability$ = [3, n2, _AWSC,
@@ -357,7 +357,6 @@ const _sIn = "snapshotId";
357
357
  const _sL = "searchLimit";
358
358
  const _sM = "startMessage";
359
359
  const _sMt = "startMessages";
360
- const _sR = "secretRef";
361
360
  const _sS = "searchStrategy";
362
361
  const _sT = "searchThreshold";
363
362
  const _sTi = "silenceTimeout";
@@ -736,7 +735,7 @@ export var AgentWebFetchCapability$ = [3, n2, _AWFC,
736
735
  ];
737
736
  export var AgentWebhookEngine$ = [3, n2, _AWE,
738
737
  0,
739
- [_u, _sR, _ti],
738
+ [_u, _sec, _ti],
740
739
  [0, () => SecretRef$, 1], 1
741
740
  ];
742
741
  export var AgentWebSearchCapability$ = [3, n2, _AWSC,
@@ -903,7 +903,7 @@ declare const CreateAgentCommand_base: {
903
903
  * },
904
904
  * webhook: { // AgentWebhookEngine
905
905
  * url: "STRING_VALUE", // required
906
- * secretRef: { // SecretRef
906
+ * secret: { // SecretRef
907
907
  * id: "STRING_VALUE", // required
908
908
  * },
909
909
  * timeout: Number("int"),
@@ -1792,7 +1792,7 @@ declare const CreateAgentCommand_base: {
1792
1792
  * // },
1793
1793
  * // webhook: { // AgentWebhookEngine
1794
1794
  * // url: "STRING_VALUE", // required
1795
- * // secretRef: { // SecretRef
1795
+ * // secret: { // SecretRef
1796
1796
  * // id: "STRING_VALUE", // required
1797
1797
  * // },
1798
1798
  * // timeout: Number("int"),
@@ -910,7 +910,7 @@ declare const GetAgentCommand_base: {
910
910
  * // },
911
911
  * // webhook: { // AgentWebhookEngine
912
912
  * // url: "STRING_VALUE", // required
913
- * // secretRef: { // SecretRef
913
+ * // secret: { // SecretRef
914
914
  * // id: "STRING_VALUE", // required
915
915
  * // },
916
916
  * // timeout: Number("int"),
@@ -917,7 +917,7 @@ declare const GetAgentVersionCommand_base: {
917
917
  * // },
918
918
  * // webhook: { // AgentWebhookEngine
919
919
  * // url: "STRING_VALUE", // required
920
- * // secretRef: { // SecretRef
920
+ * // secret: { // SecretRef
921
921
  * // id: "STRING_VALUE", // required
922
922
  * // },
923
923
  * // timeout: Number("int"),
@@ -915,7 +915,7 @@ declare const ListAgentsCommand_base: {
915
915
  * // },
916
916
  * // webhook: { // AgentWebhookEngine
917
917
  * // url: "STRING_VALUE", // required
918
- * // secretRef: { // SecretRef
918
+ * // secret: { // SecretRef
919
919
  * // id: "STRING_VALUE", // required
920
920
  * // },
921
921
  * // timeout: Number("int"),
@@ -919,7 +919,7 @@ declare const PublishAgentVersionCommand_base: {
919
919
  * // },
920
920
  * // webhook: { // AgentWebhookEngine
921
921
  * // url: "STRING_VALUE", // required
922
- * // secretRef: { // SecretRef
922
+ * // secret: { // SecretRef
923
923
  * // id: "STRING_VALUE", // required
924
924
  * // },
925
925
  * // timeout: Number("int"),
@@ -912,7 +912,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
912
912
  * // },
913
913
  * // webhook: { // AgentWebhookEngine
914
914
  * // url: "STRING_VALUE", // required
915
- * // secretRef: { // SecretRef
915
+ * // secret: { // SecretRef
916
916
  * // id: "STRING_VALUE", // required
917
917
  * // },
918
918
  * // timeout: Number("int"),
@@ -903,7 +903,7 @@ declare const UpdateAgentCommand_base: {
903
903
  * },
904
904
  * webhook: { // AgentWebhookEngine
905
905
  * url: "STRING_VALUE", // required
906
- * secretRef: { // SecretRef
906
+ * secret: { // SecretRef
907
907
  * id: "STRING_VALUE", // required
908
908
  * },
909
909
  * timeout: Number("int"),
@@ -1794,7 +1794,7 @@ declare const UpdateAgentCommand_base: {
1794
1794
  * // },
1795
1795
  * // webhook: { // AgentWebhookEngine
1796
1796
  * // url: "STRING_VALUE", // required
1797
- * // secretRef: { // SecretRef
1797
+ * // secret: { // SecretRef
1798
1798
  * // id: "STRING_VALUE", // required
1799
1799
  * // },
1800
1800
  * // timeout: Number("int"),
@@ -3190,8 +3190,10 @@ export interface AgentWebhookEngine {
3190
3190
  /**
3191
3191
  * Reference to the HMAC signing secret in wilma-secrets, resolved server-to-server at
3192
3192
  * delivery. A reference and never the value: an agent holds no credential, like everything
3193
- * else on this platform. An agent migrated from the previous stack gets one created for
3194
- * the secret it was configured with.
3193
+ * else on this platform, and the member is named for what it holds — `secret`, as on the
3194
+ * queue engine and on a sandbox's environment — because the reference is the type's job to
3195
+ * say. An agent migrated from the previous stack gets one created for the secret it was
3196
+ * configured with.
3195
3197
  *
3196
3198
  * A DRAFT MAY NOT HAVE ONE YET. An agent is created before it is configured — that is what
3197
3199
  * the draft status is for — and a console cannot supply a reference to a secret nobody has
@@ -3199,7 +3201,7 @@ export interface AgentWebhookEngine {
3199
3201
  * out at the only moment it matters.
3200
3202
  * @public
3201
3203
  */
3202
- secretRef?: SecretRef | undefined;
3204
+ secret?: SecretRef | undefined;
3203
3205
  /**
3204
3206
  * How long one delivery may take, in MILLISECONDS. It bounds a single request and not the
3205
3207
  * call: a backend that spends all of it on every event is told about the call late, never
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/wilma-agents-client",
3
3
  "description": "@wildix/wilma-agents-client client",
4
- "version": "1.0.52",
4
+ "version": "1.0.53",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",