@avaprotocol/sdk-js 1.3.4 → 1.3.5-dev.2
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 +32 -26
- package/dist/index.d.ts +32 -26
- package/dist/index.js +160 -141
- package/dist/index.mjs +159 -140
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6897,233 +6897,233 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
6897
6897
|
"../../grpc_codegen/avs_grpc_pb.js"(exports2) {
|
|
6898
6898
|
"use strict";
|
|
6899
6899
|
var grpc = require("@grpc/grpc-js");
|
|
6900
|
-
var
|
|
6900
|
+
var avs_pb21 = require_avs_pb();
|
|
6901
6901
|
var google_protobuf_wrappers_pb = require("google-protobuf/google/protobuf/wrappers_pb.js");
|
|
6902
6902
|
var google_protobuf_timestamp_pb = require("google-protobuf/google/protobuf/timestamp_pb.js");
|
|
6903
6903
|
function serialize_aggregator_CreateOrUpdateSecretReq(arg) {
|
|
6904
|
-
if (!(arg instanceof
|
|
6904
|
+
if (!(arg instanceof avs_pb21.CreateOrUpdateSecretReq)) {
|
|
6905
6905
|
throw new Error("Expected argument of type aggregator.CreateOrUpdateSecretReq");
|
|
6906
6906
|
}
|
|
6907
6907
|
return Buffer.from(arg.serializeBinary());
|
|
6908
6908
|
}
|
|
6909
6909
|
function deserialize_aggregator_CreateOrUpdateSecretReq(buffer_arg) {
|
|
6910
|
-
return
|
|
6910
|
+
return avs_pb21.CreateOrUpdateSecretReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
6911
6911
|
}
|
|
6912
6912
|
function serialize_aggregator_CreateTaskReq(arg) {
|
|
6913
|
-
if (!(arg instanceof
|
|
6913
|
+
if (!(arg instanceof avs_pb21.CreateTaskReq)) {
|
|
6914
6914
|
throw new Error("Expected argument of type aggregator.CreateTaskReq");
|
|
6915
6915
|
}
|
|
6916
6916
|
return Buffer.from(arg.serializeBinary());
|
|
6917
6917
|
}
|
|
6918
6918
|
function deserialize_aggregator_CreateTaskReq(buffer_arg) {
|
|
6919
|
-
return
|
|
6919
|
+
return avs_pb21.CreateTaskReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
6920
6920
|
}
|
|
6921
6921
|
function serialize_aggregator_CreateTaskResp(arg) {
|
|
6922
|
-
if (!(arg instanceof
|
|
6922
|
+
if (!(arg instanceof avs_pb21.CreateTaskResp)) {
|
|
6923
6923
|
throw new Error("Expected argument of type aggregator.CreateTaskResp");
|
|
6924
6924
|
}
|
|
6925
6925
|
return Buffer.from(arg.serializeBinary());
|
|
6926
6926
|
}
|
|
6927
6927
|
function deserialize_aggregator_CreateTaskResp(buffer_arg) {
|
|
6928
|
-
return
|
|
6928
|
+
return avs_pb21.CreateTaskResp.deserializeBinary(new Uint8Array(buffer_arg));
|
|
6929
6929
|
}
|
|
6930
6930
|
function serialize_aggregator_DeleteSecretReq(arg) {
|
|
6931
|
-
if (!(arg instanceof
|
|
6931
|
+
if (!(arg instanceof avs_pb21.DeleteSecretReq)) {
|
|
6932
6932
|
throw new Error("Expected argument of type aggregator.DeleteSecretReq");
|
|
6933
6933
|
}
|
|
6934
6934
|
return Buffer.from(arg.serializeBinary());
|
|
6935
6935
|
}
|
|
6936
6936
|
function deserialize_aggregator_DeleteSecretReq(buffer_arg) {
|
|
6937
|
-
return
|
|
6937
|
+
return avs_pb21.DeleteSecretReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
6938
6938
|
}
|
|
6939
6939
|
function serialize_aggregator_Execution(arg) {
|
|
6940
|
-
if (!(arg instanceof
|
|
6940
|
+
if (!(arg instanceof avs_pb21.Execution)) {
|
|
6941
6941
|
throw new Error("Expected argument of type aggregator.Execution");
|
|
6942
6942
|
}
|
|
6943
6943
|
return Buffer.from(arg.serializeBinary());
|
|
6944
6944
|
}
|
|
6945
6945
|
function deserialize_aggregator_Execution(buffer_arg) {
|
|
6946
|
-
return
|
|
6946
|
+
return avs_pb21.Execution.deserializeBinary(new Uint8Array(buffer_arg));
|
|
6947
6947
|
}
|
|
6948
6948
|
function serialize_aggregator_ExecutionReq(arg) {
|
|
6949
|
-
if (!(arg instanceof
|
|
6949
|
+
if (!(arg instanceof avs_pb21.ExecutionReq)) {
|
|
6950
6950
|
throw new Error("Expected argument of type aggregator.ExecutionReq");
|
|
6951
6951
|
}
|
|
6952
6952
|
return Buffer.from(arg.serializeBinary());
|
|
6953
6953
|
}
|
|
6954
6954
|
function deserialize_aggregator_ExecutionReq(buffer_arg) {
|
|
6955
|
-
return
|
|
6955
|
+
return avs_pb21.ExecutionReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
6956
6956
|
}
|
|
6957
6957
|
function serialize_aggregator_ExecutionStatusResp(arg) {
|
|
6958
|
-
if (!(arg instanceof
|
|
6958
|
+
if (!(arg instanceof avs_pb21.ExecutionStatusResp)) {
|
|
6959
6959
|
throw new Error("Expected argument of type aggregator.ExecutionStatusResp");
|
|
6960
6960
|
}
|
|
6961
6961
|
return Buffer.from(arg.serializeBinary());
|
|
6962
6962
|
}
|
|
6963
6963
|
function deserialize_aggregator_ExecutionStatusResp(buffer_arg) {
|
|
6964
|
-
return
|
|
6964
|
+
return avs_pb21.ExecutionStatusResp.deserializeBinary(new Uint8Array(buffer_arg));
|
|
6965
6965
|
}
|
|
6966
6966
|
function serialize_aggregator_GetKeyReq(arg) {
|
|
6967
|
-
if (!(arg instanceof
|
|
6967
|
+
if (!(arg instanceof avs_pb21.GetKeyReq)) {
|
|
6968
6968
|
throw new Error("Expected argument of type aggregator.GetKeyReq");
|
|
6969
6969
|
}
|
|
6970
6970
|
return Buffer.from(arg.serializeBinary());
|
|
6971
6971
|
}
|
|
6972
6972
|
function deserialize_aggregator_GetKeyReq(buffer_arg) {
|
|
6973
|
-
return
|
|
6973
|
+
return avs_pb21.GetKeyReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
6974
6974
|
}
|
|
6975
6975
|
function serialize_aggregator_GetWalletReq(arg) {
|
|
6976
|
-
if (!(arg instanceof
|
|
6976
|
+
if (!(arg instanceof avs_pb21.GetWalletReq)) {
|
|
6977
6977
|
throw new Error("Expected argument of type aggregator.GetWalletReq");
|
|
6978
6978
|
}
|
|
6979
6979
|
return Buffer.from(arg.serializeBinary());
|
|
6980
6980
|
}
|
|
6981
6981
|
function deserialize_aggregator_GetWalletReq(buffer_arg) {
|
|
6982
|
-
return
|
|
6982
|
+
return avs_pb21.GetWalletReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
6983
6983
|
}
|
|
6984
6984
|
function serialize_aggregator_GetWalletResp(arg) {
|
|
6985
|
-
if (!(arg instanceof
|
|
6985
|
+
if (!(arg instanceof avs_pb21.GetWalletResp)) {
|
|
6986
6986
|
throw new Error("Expected argument of type aggregator.GetWalletResp");
|
|
6987
6987
|
}
|
|
6988
6988
|
return Buffer.from(arg.serializeBinary());
|
|
6989
6989
|
}
|
|
6990
6990
|
function deserialize_aggregator_GetWalletResp(buffer_arg) {
|
|
6991
|
-
return
|
|
6991
|
+
return avs_pb21.GetWalletResp.deserializeBinary(new Uint8Array(buffer_arg));
|
|
6992
6992
|
}
|
|
6993
6993
|
function serialize_aggregator_IdReq(arg) {
|
|
6994
|
-
if (!(arg instanceof
|
|
6994
|
+
if (!(arg instanceof avs_pb21.IdReq)) {
|
|
6995
6995
|
throw new Error("Expected argument of type aggregator.IdReq");
|
|
6996
6996
|
}
|
|
6997
6997
|
return Buffer.from(arg.serializeBinary());
|
|
6998
6998
|
}
|
|
6999
6999
|
function deserialize_aggregator_IdReq(buffer_arg) {
|
|
7000
|
-
return
|
|
7000
|
+
return avs_pb21.IdReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
7001
7001
|
}
|
|
7002
7002
|
function serialize_aggregator_KeyResp(arg) {
|
|
7003
|
-
if (!(arg instanceof
|
|
7003
|
+
if (!(arg instanceof avs_pb21.KeyResp)) {
|
|
7004
7004
|
throw new Error("Expected argument of type aggregator.KeyResp");
|
|
7005
7005
|
}
|
|
7006
7006
|
return Buffer.from(arg.serializeBinary());
|
|
7007
7007
|
}
|
|
7008
7008
|
function deserialize_aggregator_KeyResp(buffer_arg) {
|
|
7009
|
-
return
|
|
7009
|
+
return avs_pb21.KeyResp.deserializeBinary(new Uint8Array(buffer_arg));
|
|
7010
7010
|
}
|
|
7011
7011
|
function serialize_aggregator_ListExecutionsReq(arg) {
|
|
7012
|
-
if (!(arg instanceof
|
|
7012
|
+
if (!(arg instanceof avs_pb21.ListExecutionsReq)) {
|
|
7013
7013
|
throw new Error("Expected argument of type aggregator.ListExecutionsReq");
|
|
7014
7014
|
}
|
|
7015
7015
|
return Buffer.from(arg.serializeBinary());
|
|
7016
7016
|
}
|
|
7017
7017
|
function deserialize_aggregator_ListExecutionsReq(buffer_arg) {
|
|
7018
|
-
return
|
|
7018
|
+
return avs_pb21.ListExecutionsReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
7019
7019
|
}
|
|
7020
7020
|
function serialize_aggregator_ListExecutionsResp(arg) {
|
|
7021
|
-
if (!(arg instanceof
|
|
7021
|
+
if (!(arg instanceof avs_pb21.ListExecutionsResp)) {
|
|
7022
7022
|
throw new Error("Expected argument of type aggregator.ListExecutionsResp");
|
|
7023
7023
|
}
|
|
7024
7024
|
return Buffer.from(arg.serializeBinary());
|
|
7025
7025
|
}
|
|
7026
7026
|
function deserialize_aggregator_ListExecutionsResp(buffer_arg) {
|
|
7027
|
-
return
|
|
7027
|
+
return avs_pb21.ListExecutionsResp.deserializeBinary(new Uint8Array(buffer_arg));
|
|
7028
7028
|
}
|
|
7029
7029
|
function serialize_aggregator_ListSecretsReq(arg) {
|
|
7030
|
-
if (!(arg instanceof
|
|
7030
|
+
if (!(arg instanceof avs_pb21.ListSecretsReq)) {
|
|
7031
7031
|
throw new Error("Expected argument of type aggregator.ListSecretsReq");
|
|
7032
7032
|
}
|
|
7033
7033
|
return Buffer.from(arg.serializeBinary());
|
|
7034
7034
|
}
|
|
7035
7035
|
function deserialize_aggregator_ListSecretsReq(buffer_arg) {
|
|
7036
|
-
return
|
|
7036
|
+
return avs_pb21.ListSecretsReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
7037
7037
|
}
|
|
7038
7038
|
function serialize_aggregator_ListSecretsResp(arg) {
|
|
7039
|
-
if (!(arg instanceof
|
|
7039
|
+
if (!(arg instanceof avs_pb21.ListSecretsResp)) {
|
|
7040
7040
|
throw new Error("Expected argument of type aggregator.ListSecretsResp");
|
|
7041
7041
|
}
|
|
7042
7042
|
return Buffer.from(arg.serializeBinary());
|
|
7043
7043
|
}
|
|
7044
7044
|
function deserialize_aggregator_ListSecretsResp(buffer_arg) {
|
|
7045
|
-
return
|
|
7045
|
+
return avs_pb21.ListSecretsResp.deserializeBinary(new Uint8Array(buffer_arg));
|
|
7046
7046
|
}
|
|
7047
7047
|
function serialize_aggregator_ListTasksReq(arg) {
|
|
7048
|
-
if (!(arg instanceof
|
|
7048
|
+
if (!(arg instanceof avs_pb21.ListTasksReq)) {
|
|
7049
7049
|
throw new Error("Expected argument of type aggregator.ListTasksReq");
|
|
7050
7050
|
}
|
|
7051
7051
|
return Buffer.from(arg.serializeBinary());
|
|
7052
7052
|
}
|
|
7053
7053
|
function deserialize_aggregator_ListTasksReq(buffer_arg) {
|
|
7054
|
-
return
|
|
7054
|
+
return avs_pb21.ListTasksReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
7055
7055
|
}
|
|
7056
7056
|
function serialize_aggregator_ListTasksResp(arg) {
|
|
7057
|
-
if (!(arg instanceof
|
|
7057
|
+
if (!(arg instanceof avs_pb21.ListTasksResp)) {
|
|
7058
7058
|
throw new Error("Expected argument of type aggregator.ListTasksResp");
|
|
7059
7059
|
}
|
|
7060
7060
|
return Buffer.from(arg.serializeBinary());
|
|
7061
7061
|
}
|
|
7062
7062
|
function deserialize_aggregator_ListTasksResp(buffer_arg) {
|
|
7063
|
-
return
|
|
7063
|
+
return avs_pb21.ListTasksResp.deserializeBinary(new Uint8Array(buffer_arg));
|
|
7064
7064
|
}
|
|
7065
7065
|
function serialize_aggregator_ListWalletReq(arg) {
|
|
7066
|
-
if (!(arg instanceof
|
|
7066
|
+
if (!(arg instanceof avs_pb21.ListWalletReq)) {
|
|
7067
7067
|
throw new Error("Expected argument of type aggregator.ListWalletReq");
|
|
7068
7068
|
}
|
|
7069
7069
|
return Buffer.from(arg.serializeBinary());
|
|
7070
7070
|
}
|
|
7071
7071
|
function deserialize_aggregator_ListWalletReq(buffer_arg) {
|
|
7072
|
-
return
|
|
7072
|
+
return avs_pb21.ListWalletReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
7073
7073
|
}
|
|
7074
7074
|
function serialize_aggregator_ListWalletResp(arg) {
|
|
7075
|
-
if (!(arg instanceof
|
|
7075
|
+
if (!(arg instanceof avs_pb21.ListWalletResp)) {
|
|
7076
7076
|
throw new Error("Expected argument of type aggregator.ListWalletResp");
|
|
7077
7077
|
}
|
|
7078
7078
|
return Buffer.from(arg.serializeBinary());
|
|
7079
7079
|
}
|
|
7080
7080
|
function deserialize_aggregator_ListWalletResp(buffer_arg) {
|
|
7081
|
-
return
|
|
7081
|
+
return avs_pb21.ListWalletResp.deserializeBinary(new Uint8Array(buffer_arg));
|
|
7082
7082
|
}
|
|
7083
7083
|
function serialize_aggregator_NonceRequest(arg) {
|
|
7084
|
-
if (!(arg instanceof
|
|
7084
|
+
if (!(arg instanceof avs_pb21.NonceRequest)) {
|
|
7085
7085
|
throw new Error("Expected argument of type aggregator.NonceRequest");
|
|
7086
7086
|
}
|
|
7087
7087
|
return Buffer.from(arg.serializeBinary());
|
|
7088
7088
|
}
|
|
7089
7089
|
function deserialize_aggregator_NonceRequest(buffer_arg) {
|
|
7090
|
-
return
|
|
7090
|
+
return avs_pb21.NonceRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
7091
7091
|
}
|
|
7092
7092
|
function serialize_aggregator_NonceResp(arg) {
|
|
7093
|
-
if (!(arg instanceof
|
|
7093
|
+
if (!(arg instanceof avs_pb21.NonceResp)) {
|
|
7094
7094
|
throw new Error("Expected argument of type aggregator.NonceResp");
|
|
7095
7095
|
}
|
|
7096
7096
|
return Buffer.from(arg.serializeBinary());
|
|
7097
7097
|
}
|
|
7098
7098
|
function deserialize_aggregator_NonceResp(buffer_arg) {
|
|
7099
|
-
return
|
|
7099
|
+
return avs_pb21.NonceResp.deserializeBinary(new Uint8Array(buffer_arg));
|
|
7100
7100
|
}
|
|
7101
7101
|
function serialize_aggregator_Task(arg) {
|
|
7102
|
-
if (!(arg instanceof
|
|
7102
|
+
if (!(arg instanceof avs_pb21.Task)) {
|
|
7103
7103
|
throw new Error("Expected argument of type aggregator.Task");
|
|
7104
7104
|
}
|
|
7105
7105
|
return Buffer.from(arg.serializeBinary());
|
|
7106
7106
|
}
|
|
7107
7107
|
function deserialize_aggregator_Task(buffer_arg) {
|
|
7108
|
-
return
|
|
7108
|
+
return avs_pb21.Task.deserializeBinary(new Uint8Array(buffer_arg));
|
|
7109
7109
|
}
|
|
7110
7110
|
function serialize_aggregator_UserTriggerTaskReq(arg) {
|
|
7111
|
-
if (!(arg instanceof
|
|
7111
|
+
if (!(arg instanceof avs_pb21.UserTriggerTaskReq)) {
|
|
7112
7112
|
throw new Error("Expected argument of type aggregator.UserTriggerTaskReq");
|
|
7113
7113
|
}
|
|
7114
7114
|
return Buffer.from(arg.serializeBinary());
|
|
7115
7115
|
}
|
|
7116
7116
|
function deserialize_aggregator_UserTriggerTaskReq(buffer_arg) {
|
|
7117
|
-
return
|
|
7117
|
+
return avs_pb21.UserTriggerTaskReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
7118
7118
|
}
|
|
7119
7119
|
function serialize_aggregator_UserTriggerTaskResp(arg) {
|
|
7120
|
-
if (!(arg instanceof
|
|
7120
|
+
if (!(arg instanceof avs_pb21.UserTriggerTaskResp)) {
|
|
7121
7121
|
throw new Error("Expected argument of type aggregator.UserTriggerTaskResp");
|
|
7122
7122
|
}
|
|
7123
7123
|
return Buffer.from(arg.serializeBinary());
|
|
7124
7124
|
}
|
|
7125
7125
|
function deserialize_aggregator_UserTriggerTaskResp(buffer_arg) {
|
|
7126
|
-
return
|
|
7126
|
+
return avs_pb21.UserTriggerTaskResp.deserializeBinary(new Uint8Array(buffer_arg));
|
|
7127
7127
|
}
|
|
7128
7128
|
function serialize_google_protobuf_BoolValue(arg) {
|
|
7129
7129
|
if (!(arg instanceof google_protobuf_wrappers_pb.BoolValue)) {
|
|
@@ -7140,8 +7140,8 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7140
7140
|
path: "/aggregator.Aggregator/GetKey",
|
|
7141
7141
|
requestStream: false,
|
|
7142
7142
|
responseStream: false,
|
|
7143
|
-
requestType:
|
|
7144
|
-
responseType:
|
|
7143
|
+
requestType: avs_pb21.GetKeyReq,
|
|
7144
|
+
responseType: avs_pb21.KeyResp,
|
|
7145
7145
|
requestSerialize: serialize_aggregator_GetKeyReq,
|
|
7146
7146
|
requestDeserialize: deserialize_aggregator_GetKeyReq,
|
|
7147
7147
|
responseSerialize: serialize_aggregator_KeyResp,
|
|
@@ -7152,8 +7152,8 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7152
7152
|
path: "/aggregator.Aggregator/GetNonce",
|
|
7153
7153
|
requestStream: false,
|
|
7154
7154
|
responseStream: false,
|
|
7155
|
-
requestType:
|
|
7156
|
-
responseType:
|
|
7155
|
+
requestType: avs_pb21.NonceRequest,
|
|
7156
|
+
responseType: avs_pb21.NonceResp,
|
|
7157
7157
|
requestSerialize: serialize_aggregator_NonceRequest,
|
|
7158
7158
|
requestDeserialize: deserialize_aggregator_NonceRequest,
|
|
7159
7159
|
responseSerialize: serialize_aggregator_NonceResp,
|
|
@@ -7163,8 +7163,8 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7163
7163
|
path: "/aggregator.Aggregator/GetWallet",
|
|
7164
7164
|
requestStream: false,
|
|
7165
7165
|
responseStream: false,
|
|
7166
|
-
requestType:
|
|
7167
|
-
responseType:
|
|
7166
|
+
requestType: avs_pb21.GetWalletReq,
|
|
7167
|
+
responseType: avs_pb21.GetWalletResp,
|
|
7168
7168
|
requestSerialize: serialize_aggregator_GetWalletReq,
|
|
7169
7169
|
requestDeserialize: deserialize_aggregator_GetWalletReq,
|
|
7170
7170
|
responseSerialize: serialize_aggregator_GetWalletResp,
|
|
@@ -7174,8 +7174,8 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7174
7174
|
path: "/aggregator.Aggregator/ListWallets",
|
|
7175
7175
|
requestStream: false,
|
|
7176
7176
|
responseStream: false,
|
|
7177
|
-
requestType:
|
|
7178
|
-
responseType:
|
|
7177
|
+
requestType: avs_pb21.ListWalletReq,
|
|
7178
|
+
responseType: avs_pb21.ListWalletResp,
|
|
7179
7179
|
requestSerialize: serialize_aggregator_ListWalletReq,
|
|
7180
7180
|
requestDeserialize: deserialize_aggregator_ListWalletReq,
|
|
7181
7181
|
responseSerialize: serialize_aggregator_ListWalletResp,
|
|
@@ -7186,8 +7186,8 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7186
7186
|
path: "/aggregator.Aggregator/CreateTask",
|
|
7187
7187
|
requestStream: false,
|
|
7188
7188
|
responseStream: false,
|
|
7189
|
-
requestType:
|
|
7190
|
-
responseType:
|
|
7189
|
+
requestType: avs_pb21.CreateTaskReq,
|
|
7190
|
+
responseType: avs_pb21.CreateTaskResp,
|
|
7191
7191
|
requestSerialize: serialize_aggregator_CreateTaskReq,
|
|
7192
7192
|
requestDeserialize: deserialize_aggregator_CreateTaskReq,
|
|
7193
7193
|
responseSerialize: serialize_aggregator_CreateTaskResp,
|
|
@@ -7197,8 +7197,8 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7197
7197
|
path: "/aggregator.Aggregator/ListTasks",
|
|
7198
7198
|
requestStream: false,
|
|
7199
7199
|
responseStream: false,
|
|
7200
|
-
requestType:
|
|
7201
|
-
responseType:
|
|
7200
|
+
requestType: avs_pb21.ListTasksReq,
|
|
7201
|
+
responseType: avs_pb21.ListTasksResp,
|
|
7202
7202
|
requestSerialize: serialize_aggregator_ListTasksReq,
|
|
7203
7203
|
requestDeserialize: deserialize_aggregator_ListTasksReq,
|
|
7204
7204
|
responseSerialize: serialize_aggregator_ListTasksResp,
|
|
@@ -7208,8 +7208,8 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7208
7208
|
path: "/aggregator.Aggregator/GetTask",
|
|
7209
7209
|
requestStream: false,
|
|
7210
7210
|
responseStream: false,
|
|
7211
|
-
requestType:
|
|
7212
|
-
responseType:
|
|
7211
|
+
requestType: avs_pb21.IdReq,
|
|
7212
|
+
responseType: avs_pb21.Task,
|
|
7213
7213
|
requestSerialize: serialize_aggregator_IdReq,
|
|
7214
7214
|
requestDeserialize: deserialize_aggregator_IdReq,
|
|
7215
7215
|
responseSerialize: serialize_aggregator_Task,
|
|
@@ -7219,8 +7219,8 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7219
7219
|
path: "/aggregator.Aggregator/ListExecutions",
|
|
7220
7220
|
requestStream: false,
|
|
7221
7221
|
responseStream: false,
|
|
7222
|
-
requestType:
|
|
7223
|
-
responseType:
|
|
7222
|
+
requestType: avs_pb21.ListExecutionsReq,
|
|
7223
|
+
responseType: avs_pb21.ListExecutionsResp,
|
|
7224
7224
|
requestSerialize: serialize_aggregator_ListExecutionsReq,
|
|
7225
7225
|
requestDeserialize: deserialize_aggregator_ListExecutionsReq,
|
|
7226
7226
|
responseSerialize: serialize_aggregator_ListExecutionsResp,
|
|
@@ -7230,8 +7230,8 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7230
7230
|
path: "/aggregator.Aggregator/GetExecution",
|
|
7231
7231
|
requestStream: false,
|
|
7232
7232
|
responseStream: false,
|
|
7233
|
-
requestType:
|
|
7234
|
-
responseType:
|
|
7233
|
+
requestType: avs_pb21.ExecutionReq,
|
|
7234
|
+
responseType: avs_pb21.Execution,
|
|
7235
7235
|
requestSerialize: serialize_aggregator_ExecutionReq,
|
|
7236
7236
|
requestDeserialize: deserialize_aggregator_ExecutionReq,
|
|
7237
7237
|
responseSerialize: serialize_aggregator_Execution,
|
|
@@ -7241,8 +7241,8 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7241
7241
|
path: "/aggregator.Aggregator/GetExecutionStatus",
|
|
7242
7242
|
requestStream: false,
|
|
7243
7243
|
responseStream: false,
|
|
7244
|
-
requestType:
|
|
7245
|
-
responseType:
|
|
7244
|
+
requestType: avs_pb21.ExecutionReq,
|
|
7245
|
+
responseType: avs_pb21.ExecutionStatusResp,
|
|
7246
7246
|
requestSerialize: serialize_aggregator_ExecutionReq,
|
|
7247
7247
|
requestDeserialize: deserialize_aggregator_ExecutionReq,
|
|
7248
7248
|
responseSerialize: serialize_aggregator_ExecutionStatusResp,
|
|
@@ -7252,7 +7252,7 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7252
7252
|
path: "/aggregator.Aggregator/CancelTask",
|
|
7253
7253
|
requestStream: false,
|
|
7254
7254
|
responseStream: false,
|
|
7255
|
-
requestType:
|
|
7255
|
+
requestType: avs_pb21.IdReq,
|
|
7256
7256
|
responseType: google_protobuf_wrappers_pb.BoolValue,
|
|
7257
7257
|
requestSerialize: serialize_aggregator_IdReq,
|
|
7258
7258
|
requestDeserialize: deserialize_aggregator_IdReq,
|
|
@@ -7263,7 +7263,7 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7263
7263
|
path: "/aggregator.Aggregator/DeleteTask",
|
|
7264
7264
|
requestStream: false,
|
|
7265
7265
|
responseStream: false,
|
|
7266
|
-
requestType:
|
|
7266
|
+
requestType: avs_pb21.IdReq,
|
|
7267
7267
|
responseType: google_protobuf_wrappers_pb.BoolValue,
|
|
7268
7268
|
requestSerialize: serialize_aggregator_IdReq,
|
|
7269
7269
|
requestDeserialize: deserialize_aggregator_IdReq,
|
|
@@ -7274,8 +7274,8 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7274
7274
|
path: "/aggregator.Aggregator/TriggerTask",
|
|
7275
7275
|
requestStream: false,
|
|
7276
7276
|
responseStream: false,
|
|
7277
|
-
requestType:
|
|
7278
|
-
responseType:
|
|
7277
|
+
requestType: avs_pb21.UserTriggerTaskReq,
|
|
7278
|
+
responseType: avs_pb21.UserTriggerTaskResp,
|
|
7279
7279
|
requestSerialize: serialize_aggregator_UserTriggerTaskReq,
|
|
7280
7280
|
requestDeserialize: deserialize_aggregator_UserTriggerTaskReq,
|
|
7281
7281
|
responseSerialize: serialize_aggregator_UserTriggerTaskResp,
|
|
@@ -7288,7 +7288,7 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7288
7288
|
path: "/aggregator.Aggregator/CreateSecret",
|
|
7289
7289
|
requestStream: false,
|
|
7290
7290
|
responseStream: false,
|
|
7291
|
-
requestType:
|
|
7291
|
+
requestType: avs_pb21.CreateOrUpdateSecretReq,
|
|
7292
7292
|
responseType: google_protobuf_wrappers_pb.BoolValue,
|
|
7293
7293
|
requestSerialize: serialize_aggregator_CreateOrUpdateSecretReq,
|
|
7294
7294
|
requestDeserialize: deserialize_aggregator_CreateOrUpdateSecretReq,
|
|
@@ -7299,7 +7299,7 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7299
7299
|
path: "/aggregator.Aggregator/DeleteSecret",
|
|
7300
7300
|
requestStream: false,
|
|
7301
7301
|
responseStream: false,
|
|
7302
|
-
requestType:
|
|
7302
|
+
requestType: avs_pb21.DeleteSecretReq,
|
|
7303
7303
|
responseType: google_protobuf_wrappers_pb.BoolValue,
|
|
7304
7304
|
requestSerialize: serialize_aggregator_DeleteSecretReq,
|
|
7305
7305
|
requestDeserialize: deserialize_aggregator_DeleteSecretReq,
|
|
@@ -7312,8 +7312,8 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7312
7312
|
path: "/aggregator.Aggregator/ListSecrets",
|
|
7313
7313
|
requestStream: false,
|
|
7314
7314
|
responseStream: false,
|
|
7315
|
-
requestType:
|
|
7316
|
-
responseType:
|
|
7315
|
+
requestType: avs_pb21.ListSecretsReq,
|
|
7316
|
+
responseType: avs_pb21.ListSecretsResp,
|
|
7317
7317
|
requestSerialize: serialize_aggregator_ListSecretsReq,
|
|
7318
7318
|
requestDeserialize: deserialize_aggregator_ListSecretsReq,
|
|
7319
7319
|
responseSerialize: serialize_aggregator_ListSecretsResp,
|
|
@@ -7325,7 +7325,7 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7325
7325
|
path: "/aggregator.Aggregator/UpdateSecret",
|
|
7326
7326
|
requestStream: false,
|
|
7327
7327
|
responseStream: false,
|
|
7328
|
-
requestType:
|
|
7328
|
+
requestType: avs_pb21.CreateOrUpdateSecretReq,
|
|
7329
7329
|
responseType: google_protobuf_wrappers_pb.BoolValue,
|
|
7330
7330
|
requestSerialize: serialize_aggregator_CreateOrUpdateSecretReq,
|
|
7331
7331
|
requestDeserialize: deserialize_aggregator_CreateOrUpdateSecretReq,
|
|
@@ -7360,7 +7360,7 @@ __export(index_exports, {
|
|
|
7360
7360
|
Node: () => interface_default2,
|
|
7361
7361
|
NodeFactory: () => factory_default2,
|
|
7362
7362
|
RestAPINode: () => restApi_default,
|
|
7363
|
-
|
|
7363
|
+
Step: () => step_default,
|
|
7364
7364
|
Trigger: () => interface_default,
|
|
7365
7365
|
TriggerFactory: () => factory_default,
|
|
7366
7366
|
TriggerType: () => TriggerType,
|
|
@@ -7372,7 +7372,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
7372
7372
|
var import_lodash4 = __toESM(require("lodash"));
|
|
7373
7373
|
var import_grpc_js = require("@grpc/grpc-js");
|
|
7374
7374
|
var import_avs_grpc_pb = __toESM(require_avs_grpc_pb());
|
|
7375
|
-
var
|
|
7375
|
+
var avs_pb20 = __toESM(require_avs_pb());
|
|
7376
7376
|
var import_timestamp_pb = require("google-protobuf/google/protobuf/timestamp_pb");
|
|
7377
7377
|
|
|
7378
7378
|
// src/models/workflow.ts
|
|
@@ -8264,26 +8264,6 @@ var Execution3 = class _Execution {
|
|
|
8264
8264
|
};
|
|
8265
8265
|
var execution_default = Execution3;
|
|
8266
8266
|
|
|
8267
|
-
// src/models/secret.ts
|
|
8268
|
-
var avs_pb20 = __toESM(require_avs_pb());
|
|
8269
|
-
var Secret = class {
|
|
8270
|
-
constructor(props) {
|
|
8271
|
-
this.name = props.name;
|
|
8272
|
-
this.secret = props.secret;
|
|
8273
|
-
this.workflowId = props.workflowId;
|
|
8274
|
-
this.orgId = props.orgId;
|
|
8275
|
-
}
|
|
8276
|
-
toRequest() {
|
|
8277
|
-
const request = new avs_pb20.CreateOrUpdateSecretReq();
|
|
8278
|
-
request.setName(this.name);
|
|
8279
|
-
request.setSecret(this.secret);
|
|
8280
|
-
request.setOrgId(this.orgId);
|
|
8281
|
-
request.setWorkflowId(this.workflowId);
|
|
8282
|
-
return request;
|
|
8283
|
-
}
|
|
8284
|
-
};
|
|
8285
|
-
var secret_default = Secret;
|
|
8286
|
-
|
|
8287
8267
|
// src/index.ts
|
|
8288
8268
|
var BaseClient = class {
|
|
8289
8269
|
constructor(opts) {
|
|
@@ -8312,7 +8292,7 @@ var BaseClient = class {
|
|
|
8312
8292
|
}
|
|
8313
8293
|
}
|
|
8314
8294
|
/**
|
|
8315
|
-
* The API key could retrieve a wallet
|
|
8295
|
+
* The API key could retrieve a wallet's authKey by skipping its signature verification
|
|
8316
8296
|
* @param chainId - The chain id
|
|
8317
8297
|
* @param address - The address of the EOA wallet
|
|
8318
8298
|
* @param issuedAt - The issued at timestamp
|
|
@@ -8327,7 +8307,7 @@ var BaseClient = class {
|
|
|
8327
8307
|
expiredAt,
|
|
8328
8308
|
apiKey
|
|
8329
8309
|
}) {
|
|
8330
|
-
const request = new
|
|
8310
|
+
const request = new avs_pb20.GetKeyReq();
|
|
8331
8311
|
request.setChainId(chainId);
|
|
8332
8312
|
request.setOwner(address);
|
|
8333
8313
|
const issueTs = import_timestamp_pb.Timestamp.fromDate(issuedAt);
|
|
@@ -8354,7 +8334,7 @@ var BaseClient = class {
|
|
|
8354
8334
|
expiredAt,
|
|
8355
8335
|
signature
|
|
8356
8336
|
}) {
|
|
8357
|
-
const request = new
|
|
8337
|
+
const request = new avs_pb20.GetKeyReq();
|
|
8358
8338
|
request.setChainId(chainId);
|
|
8359
8339
|
request.setOwner(address);
|
|
8360
8340
|
const issueTs = import_timestamp_pb.Timestamp.fromDate(issuedAt);
|
|
@@ -8377,7 +8357,7 @@ var BaseClient = class {
|
|
|
8377
8357
|
this.authKey = authKey;
|
|
8378
8358
|
}
|
|
8379
8359
|
/**
|
|
8380
|
-
* Get the auth key if it
|
|
8360
|
+
* Get the auth key if it's set in the client
|
|
8381
8361
|
* @returns {string | undefined} - The auth key
|
|
8382
8362
|
*/
|
|
8383
8363
|
getAuthKey() {
|
|
@@ -8391,7 +8371,7 @@ var BaseClient = class {
|
|
|
8391
8371
|
this.factoryAddress = address;
|
|
8392
8372
|
}
|
|
8393
8373
|
/**
|
|
8394
|
-
* Get the factory address if it
|
|
8374
|
+
* Get the factory address if it's set in the client
|
|
8395
8375
|
* @returns {string | undefined} - The factory address
|
|
8396
8376
|
*/
|
|
8397
8377
|
getFactoryAddress() {
|
|
@@ -8433,7 +8413,7 @@ var Client = class extends BaseClient {
|
|
|
8433
8413
|
* @returns {Promise<SmartWallet[]>} - The list of SmartWallet objects
|
|
8434
8414
|
*/
|
|
8435
8415
|
async getWallets(options) {
|
|
8436
|
-
const request = new
|
|
8416
|
+
const request = new avs_pb20.ListWalletReq();
|
|
8437
8417
|
const result = await this.sendGrpcRequest("listWallets", request, options);
|
|
8438
8418
|
return result.getItemsList().map((item) => item.toObject());
|
|
8439
8419
|
}
|
|
@@ -8445,7 +8425,7 @@ var Client = class extends BaseClient {
|
|
|
8445
8425
|
* @returns {Promise<SmartWallet>} - The added SmartWallet object
|
|
8446
8426
|
*/
|
|
8447
8427
|
async getWallet({ salt, factoryAddress }, options) {
|
|
8448
|
-
const request = new
|
|
8428
|
+
const request = new avs_pb20.GetWalletReq();
|
|
8449
8429
|
request.setSalt(salt);
|
|
8450
8430
|
if (factoryAddress) {
|
|
8451
8431
|
request.setFactoryAddress(factoryAddress);
|
|
@@ -8487,7 +8467,7 @@ var Client = class extends BaseClient {
|
|
|
8487
8467
|
* @returns {Promise<{ cursor: string; result: Workflow[] }>} - The list of Workflow objects
|
|
8488
8468
|
*/
|
|
8489
8469
|
async getWorkflows(addresses, options) {
|
|
8490
|
-
const request = new
|
|
8470
|
+
const request = new avs_pb20.ListTasksReq();
|
|
8491
8471
|
for (const a of addresses) {
|
|
8492
8472
|
request.addSmartWalletAddress(a);
|
|
8493
8473
|
}
|
|
@@ -8512,7 +8492,7 @@ var Client = class extends BaseClient {
|
|
|
8512
8492
|
* @returns {Promise<{ cursor: string; result: Execution[] }>} - The list of Executions
|
|
8513
8493
|
*/
|
|
8514
8494
|
async getExecutions(workflows, options) {
|
|
8515
|
-
const request = new
|
|
8495
|
+
const request = new avs_pb20.ListExecutionsReq();
|
|
8516
8496
|
request.setTaskIdsList(workflows);
|
|
8517
8497
|
if (options?.cursor && options?.cursor != "") {
|
|
8518
8498
|
request.setCursor(options.cursor);
|
|
@@ -8533,7 +8513,7 @@ var Client = class extends BaseClient {
|
|
|
8533
8513
|
* @returns {Promise<Execution>} - The result execution if it is existed
|
|
8534
8514
|
*/
|
|
8535
8515
|
async getExecution(taskId, executionId, options) {
|
|
8536
|
-
const request = new
|
|
8516
|
+
const request = new avs_pb20.ExecutionReq();
|
|
8537
8517
|
request.setTaskId(taskId);
|
|
8538
8518
|
request.setExecutionId(executionId);
|
|
8539
8519
|
const result = await this.sendGrpcRequest("getExecution", request, options);
|
|
@@ -8550,7 +8530,7 @@ var Client = class extends BaseClient {
|
|
|
8550
8530
|
* @returns {Promise<ExecutionStatus>} - The result execution if it is existed
|
|
8551
8531
|
*/
|
|
8552
8532
|
async getExecutionStatus(taskId, executionId, options) {
|
|
8553
|
-
const request = new
|
|
8533
|
+
const request = new avs_pb20.ExecutionReq();
|
|
8554
8534
|
request.setTaskId(taskId);
|
|
8555
8535
|
request.setExecutionId(executionId);
|
|
8556
8536
|
const result = await this.sendGrpcRequest("getExecutionStatus", request, options);
|
|
@@ -8563,7 +8543,7 @@ var Client = class extends BaseClient {
|
|
|
8563
8543
|
* @returns {Promise<Workflow>} - The Workflow object
|
|
8564
8544
|
*/
|
|
8565
8545
|
async getWorkflow(id, options) {
|
|
8566
|
-
const request = new
|
|
8546
|
+
const request = new avs_pb20.IdReq();
|
|
8567
8547
|
request.setId(id);
|
|
8568
8548
|
const result = await this.sendGrpcRequest(
|
|
8569
8549
|
"getTask",
|
|
@@ -8585,7 +8565,7 @@ var Client = class extends BaseClient {
|
|
|
8585
8565
|
data,
|
|
8586
8566
|
isBlocking = false
|
|
8587
8567
|
}, options) {
|
|
8588
|
-
const request = new
|
|
8568
|
+
const request = new avs_pb20.UserTriggerTaskReq();
|
|
8589
8569
|
request.setTaskId(id);
|
|
8590
8570
|
request.setTriggerMetadata(new metadata_default(data).toRequest());
|
|
8591
8571
|
request.setIsBlocking(isBlocking);
|
|
@@ -8599,7 +8579,7 @@ var Client = class extends BaseClient {
|
|
|
8599
8579
|
* @returns {Promise<boolean>} - Whether the workflow was successfully canceled
|
|
8600
8580
|
*/
|
|
8601
8581
|
async cancelWorkflow(id, options) {
|
|
8602
|
-
const request = new
|
|
8582
|
+
const request = new avs_pb20.IdReq();
|
|
8603
8583
|
request.setId(id);
|
|
8604
8584
|
const result = await this.sendGrpcRequest(
|
|
8605
8585
|
"cancelTask",
|
|
@@ -8615,7 +8595,7 @@ var Client = class extends BaseClient {
|
|
|
8615
8595
|
* @returns {Promise<boolean>} - Whether the workflow was successfully deleted
|
|
8616
8596
|
*/
|
|
8617
8597
|
async deleteWorkflow(id, options) {
|
|
8618
|
-
const request = new
|
|
8598
|
+
const request = new avs_pb20.IdReq();
|
|
8619
8599
|
request.setId(id);
|
|
8620
8600
|
const result = await this.sendGrpcRequest(
|
|
8621
8601
|
"deleteTask",
|
|
@@ -8624,39 +8604,78 @@ var Client = class extends BaseClient {
|
|
|
8624
8604
|
);
|
|
8625
8605
|
return result.getValue();
|
|
8626
8606
|
}
|
|
8627
|
-
async createSecret(
|
|
8628
|
-
const request =
|
|
8607
|
+
async createSecret(name, value, options) {
|
|
8608
|
+
const request = new avs_pb20.CreateOrUpdateSecretReq();
|
|
8609
|
+
request.setName(name);
|
|
8610
|
+
request.setSecret(value);
|
|
8611
|
+
if (options?.workflowId) {
|
|
8612
|
+
request.setWorkflowId(options.workflowId);
|
|
8613
|
+
}
|
|
8614
|
+
if (options?.orgId) {
|
|
8615
|
+
request.setOrgId(options.orgId);
|
|
8616
|
+
}
|
|
8629
8617
|
const result = await this.sendGrpcRequest("createSecret", request, options);
|
|
8630
8618
|
return result.getValue();
|
|
8631
8619
|
}
|
|
8632
|
-
|
|
8633
|
-
|
|
8634
|
-
|
|
8635
|
-
|
|
8620
|
+
/**
|
|
8621
|
+
* Update an existing secret; the secret is updated in the user scope by default, derived from the auth key.
|
|
8622
|
+
* @param secret - The secret object containing updated information
|
|
8623
|
+
* @param options - Request options, including workflowId and orgId for scoping
|
|
8624
|
+
* @returns {Promise<boolean>} - Whether the secret was successfully updated
|
|
8625
|
+
*/
|
|
8626
|
+
async updateSecret(name, value, options) {
|
|
8627
|
+
const request = new avs_pb20.CreateOrUpdateSecretReq();
|
|
8628
|
+
request.setName(name);
|
|
8629
|
+
request.setSecret(value);
|
|
8630
|
+
if (options?.workflowId) {
|
|
8631
|
+
request.setWorkflowId(options.workflowId);
|
|
8632
|
+
}
|
|
8633
|
+
if (options?.orgId) {
|
|
8634
|
+
request.setOrgId(options.orgId);
|
|
8635
|
+
}
|
|
8636
|
+
const result = await this.sendGrpcRequest("updateSecret", request, options);
|
|
8637
|
+
return result.getValue();
|
|
8638
|
+
}
|
|
8639
|
+
/**
|
|
8640
|
+
* Retrieve a list of secrets; secrets can be filtered by workflowId or orgId.
|
|
8641
|
+
* @param params - Parameters for listing secrets
|
|
8642
|
+
* @param options - Request options, including workflowId and orgId for filtering
|
|
8643
|
+
* @returns {Promise<ListSecretResponse[]>} - The list of secrets
|
|
8644
|
+
*/
|
|
8645
|
+
async listSecrets(options) {
|
|
8646
|
+
const request = new avs_pb20.ListSecretsReq();
|
|
8647
|
+
if (options?.workflowId) {
|
|
8648
|
+
request.setWorkflowId(options.workflowId);
|
|
8649
|
+
}
|
|
8650
|
+
if (options?.orgId) {
|
|
8636
8651
|
}
|
|
8637
8652
|
const result = await this.sendGrpcRequest("listSecrets", request, options);
|
|
8638
|
-
return result.getItemsList().map((item) => {
|
|
8639
|
-
|
|
8640
|
-
|
|
8641
|
-
|
|
8642
|
-
|
|
8643
|
-
};
|
|
8644
|
-
});
|
|
8653
|
+
return result.getItemsList().map((item) => ({
|
|
8654
|
+
name: item.getName(),
|
|
8655
|
+
workflowId: item.getWorkflowId(),
|
|
8656
|
+
orgId: item.getOrgId()
|
|
8657
|
+
}));
|
|
8645
8658
|
}
|
|
8646
|
-
|
|
8647
|
-
|
|
8648
|
-
|
|
8649
|
-
|
|
8650
|
-
|
|
8659
|
+
/**
|
|
8660
|
+
* Delete a secret by its name; by default, the secret is deleted from the user scope, derived from the auth key
|
|
8661
|
+
* @param name - The name of the secret
|
|
8662
|
+
* @param options - Request options
|
|
8663
|
+
* @param options.workflowId - The workflow id; if specified, the secret will be deleted from the workflow scope
|
|
8664
|
+
* @param options.orgId - The organization id; if specified, the secret will be deleted from the organization scope
|
|
8665
|
+
* @returns {Promise<boolean>} - Whether the secret was successfully deleted
|
|
8666
|
+
*/
|
|
8667
|
+
async deleteSecret(name, options) {
|
|
8668
|
+
const request = new avs_pb20.DeleteSecretReq();
|
|
8669
|
+
request.setName(name);
|
|
8670
|
+
if (options?.workflowId) {
|
|
8671
|
+
request.setWorkflowId(options.workflowId);
|
|
8672
|
+
}
|
|
8673
|
+
if (options?.orgId) {
|
|
8674
|
+
request.setOrgId(options.orgId);
|
|
8651
8675
|
}
|
|
8652
8676
|
const result = await this.sendGrpcRequest("deleteSecret", request, options);
|
|
8653
8677
|
return result.getValue();
|
|
8654
8678
|
}
|
|
8655
|
-
async updateSecret(secret, options) {
|
|
8656
|
-
const request = secret.toRequest();
|
|
8657
|
-
const result = await this.sendGrpcRequest("updateSecret", request, options);
|
|
8658
|
-
return result.getValue();
|
|
8659
|
-
}
|
|
8660
8679
|
};
|
|
8661
8680
|
// Annotate the CommonJS export names for ESM import in node:
|
|
8662
8681
|
0 && (module.exports = {
|
|
@@ -8680,7 +8699,7 @@ var Client = class extends BaseClient {
|
|
|
8680
8699
|
Node,
|
|
8681
8700
|
NodeFactory,
|
|
8682
8701
|
RestAPINode,
|
|
8683
|
-
|
|
8702
|
+
Step,
|
|
8684
8703
|
Trigger,
|
|
8685
8704
|
TriggerFactory,
|
|
8686
8705
|
TriggerType,
|