@manifest-network/manifestjs 2.3.0 → 3.0.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.
- package/README.md +293 -170
- package/dist/codegen/liftedinit/billing/v1/query.d.ts +127 -16
- package/dist/codegen/liftedinit/billing/v1/query.js +209 -29
- package/dist/codegen/liftedinit/billing/v1/query.js.map +1 -1
- package/dist/codegen/liftedinit/billing/v1/query.lcd.d.ts +2 -1
- package/dist/codegen/liftedinit/billing/v1/query.lcd.js +8 -2
- package/dist/codegen/liftedinit/billing/v1/query.lcd.js.map +1 -1
- package/dist/codegen/liftedinit/billing/v1/query.lcd.mjs +8 -2
- package/dist/codegen/liftedinit/billing/v1/query.mjs +208 -28
- package/dist/codegen/liftedinit/billing/v1/query.rpc.Query.d.ts +8 -1
- package/dist/codegen/liftedinit/billing/v1/query.rpc.Query.js +10 -0
- package/dist/codegen/liftedinit/billing/v1/query.rpc.Query.js.map +1 -1
- package/dist/codegen/liftedinit/billing/v1/query.rpc.Query.mjs +11 -1
- package/dist/codegen/liftedinit/billing/v1/tx.amino.d.ts +6 -1
- package/dist/codegen/liftedinit/billing/v1/tx.amino.js +5 -0
- package/dist/codegen/liftedinit/billing/v1/tx.amino.js.map +1 -1
- package/dist/codegen/liftedinit/billing/v1/tx.amino.mjs +6 -1
- package/dist/codegen/liftedinit/billing/v1/tx.d.ts +166 -0
- package/dist/codegen/liftedinit/billing/v1/tx.js +239 -11
- package/dist/codegen/liftedinit/billing/v1/tx.js.map +1 -1
- package/dist/codegen/liftedinit/billing/v1/tx.mjs +238 -10
- package/dist/codegen/liftedinit/billing/v1/tx.registry.d.ts +28 -1
- package/dist/codegen/liftedinit/billing/v1/tx.registry.js +31 -1
- package/dist/codegen/liftedinit/billing/v1/tx.registry.js.map +1 -1
- package/dist/codegen/liftedinit/billing/v1/tx.registry.mjs +32 -2
- package/dist/codegen/liftedinit/billing/v1/tx.rpc.msg.d.ts +10 -1
- package/dist/codegen/liftedinit/billing/v1/tx.rpc.msg.js +12 -0
- package/dist/codegen/liftedinit/billing/v1/tx.rpc.msg.js.map +1 -1
- package/dist/codegen/liftedinit/billing/v1/tx.rpc.msg.mjs +13 -1
- package/dist/codegen/liftedinit/billing/v1/types.d.ts +120 -0
- package/dist/codegen/liftedinit/billing/v1/types.js +144 -11
- package/dist/codegen/liftedinit/billing/v1/types.js.map +1 -1
- package/dist/codegen/liftedinit/billing/v1/types.mjs +143 -10
- package/dist/codegen/liftedinit/bundle.d.ts +121 -0
- package/dist/codegen/liftedinit/client.d.ts +5 -0
- package/dist/codegen/liftedinit/rpc.query.d.ts +1 -0
- package/package.json +1 -2
|
@@ -1024,20 +1024,21 @@ function createBaseMsgWithdraw() {
|
|
|
1024
1024
|
sender: "",
|
|
1025
1025
|
leaseUuids: [],
|
|
1026
1026
|
providerUuid: "",
|
|
1027
|
-
limit: BigInt(0)
|
|
1027
|
+
limit: BigInt(0),
|
|
1028
|
+
key: new Uint8Array()
|
|
1028
1029
|
};
|
|
1029
1030
|
}
|
|
1030
1031
|
export const MsgWithdraw = {
|
|
1031
1032
|
typeUrl: "/liftedinit.billing.v1.MsgWithdraw",
|
|
1032
1033
|
aminoType: "lifted/billing/MsgWithdraw",
|
|
1033
1034
|
is(o) {
|
|
1034
|
-
return o && (o.$typeUrl === MsgWithdraw.typeUrl || typeof o.sender === "string" && Array.isArray(o.leaseUuids) && (!o.leaseUuids.length || typeof o.leaseUuids[0] === "string") && typeof o.providerUuid === "string" && typeof o.limit === "bigint");
|
|
1035
|
+
return o && (o.$typeUrl === MsgWithdraw.typeUrl || typeof o.sender === "string" && Array.isArray(o.leaseUuids) && (!o.leaseUuids.length || typeof o.leaseUuids[0] === "string") && typeof o.providerUuid === "string" && typeof o.limit === "bigint" && (o.key instanceof Uint8Array || typeof o.key === "string"));
|
|
1035
1036
|
},
|
|
1036
1037
|
isSDK(o) {
|
|
1037
|
-
return o && (o.$typeUrl === MsgWithdraw.typeUrl || typeof o.sender === "string" && Array.isArray(o.lease_uuids) && (!o.lease_uuids.length || typeof o.lease_uuids[0] === "string") && typeof o.provider_uuid === "string" && typeof o.limit === "bigint");
|
|
1038
|
+
return o && (o.$typeUrl === MsgWithdraw.typeUrl || typeof o.sender === "string" && Array.isArray(o.lease_uuids) && (!o.lease_uuids.length || typeof o.lease_uuids[0] === "string") && typeof o.provider_uuid === "string" && typeof o.limit === "bigint" && (o.key instanceof Uint8Array || typeof o.key === "string"));
|
|
1038
1039
|
},
|
|
1039
1040
|
isAmino(o) {
|
|
1040
|
-
return o && (o.$typeUrl === MsgWithdraw.typeUrl || typeof o.sender === "string" && Array.isArray(o.lease_uuids) && (!o.lease_uuids.length || typeof o.lease_uuids[0] === "string") && typeof o.provider_uuid === "string" && typeof o.limit === "bigint");
|
|
1041
|
+
return o && (o.$typeUrl === MsgWithdraw.typeUrl || typeof o.sender === "string" && Array.isArray(o.lease_uuids) && (!o.lease_uuids.length || typeof o.lease_uuids[0] === "string") && typeof o.provider_uuid === "string" && typeof o.limit === "bigint" && (o.key instanceof Uint8Array || typeof o.key === "string"));
|
|
1041
1042
|
},
|
|
1042
1043
|
encode(message, writer = BinaryWriter.create()) {
|
|
1043
1044
|
if (message.sender !== "") {
|
|
@@ -1052,6 +1053,9 @@ export const MsgWithdraw = {
|
|
|
1052
1053
|
if (message.limit !== BigInt(0)) {
|
|
1053
1054
|
writer.uint32(32).uint64(message.limit);
|
|
1054
1055
|
}
|
|
1056
|
+
if (message.key.length !== 0) {
|
|
1057
|
+
writer.uint32(42).bytes(message.key);
|
|
1058
|
+
}
|
|
1055
1059
|
return writer;
|
|
1056
1060
|
},
|
|
1057
1061
|
decode(input, length) {
|
|
@@ -1073,6 +1077,9 @@ export const MsgWithdraw = {
|
|
|
1073
1077
|
case 4:
|
|
1074
1078
|
message.limit = reader.uint64();
|
|
1075
1079
|
break;
|
|
1080
|
+
case 5:
|
|
1081
|
+
message.key = reader.bytes();
|
|
1082
|
+
break;
|
|
1076
1083
|
default:
|
|
1077
1084
|
reader.skipType(tag & 7);
|
|
1078
1085
|
break;
|
|
@@ -1085,7 +1092,8 @@ export const MsgWithdraw = {
|
|
|
1085
1092
|
sender: isSet(object.sender) ? String(object.sender) : "",
|
|
1086
1093
|
leaseUuids: Array.isArray(object?.leaseUuids) ? object.leaseUuids.map((e) => String(e)) : [],
|
|
1087
1094
|
providerUuid: isSet(object.providerUuid) ? String(object.providerUuid) : "",
|
|
1088
|
-
limit: isSet(object.limit) ? BigInt(object.limit.toString()) : BigInt(0)
|
|
1095
|
+
limit: isSet(object.limit) ? BigInt(object.limit.toString()) : BigInt(0),
|
|
1096
|
+
key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array()
|
|
1089
1097
|
};
|
|
1090
1098
|
},
|
|
1091
1099
|
toJSON(message) {
|
|
@@ -1099,6 +1107,7 @@ export const MsgWithdraw = {
|
|
|
1099
1107
|
}
|
|
1100
1108
|
message.providerUuid !== undefined && (obj.providerUuid = message.providerUuid);
|
|
1101
1109
|
message.limit !== undefined && (obj.limit = (message.limit || BigInt(0)).toString());
|
|
1110
|
+
message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array()));
|
|
1102
1111
|
return obj;
|
|
1103
1112
|
},
|
|
1104
1113
|
fromPartial(object) {
|
|
@@ -1107,6 +1116,7 @@ export const MsgWithdraw = {
|
|
|
1107
1116
|
message.leaseUuids = object.leaseUuids?.map(e => e) || [];
|
|
1108
1117
|
message.providerUuid = object.providerUuid ?? "";
|
|
1109
1118
|
message.limit = object.limit !== undefined && object.limit !== null ? BigInt(object.limit.toString()) : BigInt(0);
|
|
1119
|
+
message.key = object.key ?? new Uint8Array();
|
|
1110
1120
|
return message;
|
|
1111
1121
|
},
|
|
1112
1122
|
fromAmino(object) {
|
|
@@ -1121,6 +1131,9 @@ export const MsgWithdraw = {
|
|
|
1121
1131
|
if (object.limit !== undefined && object.limit !== null) {
|
|
1122
1132
|
message.limit = BigInt(object.limit);
|
|
1123
1133
|
}
|
|
1134
|
+
if (object.key !== undefined && object.key !== null) {
|
|
1135
|
+
message.key = bytesFromBase64(object.key);
|
|
1136
|
+
}
|
|
1124
1137
|
return message;
|
|
1125
1138
|
},
|
|
1126
1139
|
toAmino(message) {
|
|
@@ -1134,6 +1147,7 @@ export const MsgWithdraw = {
|
|
|
1134
1147
|
}
|
|
1135
1148
|
obj.provider_uuid = message.providerUuid === "" ? undefined : message.providerUuid;
|
|
1136
1149
|
obj.limit = message.limit !== BigInt(0) ? message.limit?.toString() : undefined;
|
|
1150
|
+
obj.key = message.key ? base64FromBytes(message.key) : undefined;
|
|
1137
1151
|
return obj;
|
|
1138
1152
|
},
|
|
1139
1153
|
fromAminoMsg(object) {
|
|
@@ -1165,19 +1179,20 @@ function createBaseMsgWithdrawResponse() {
|
|
|
1165
1179
|
totalAmounts: [],
|
|
1166
1180
|
payoutAddress: "",
|
|
1167
1181
|
withdrawalCount: BigInt(0),
|
|
1168
|
-
hasMore: false
|
|
1182
|
+
hasMore: false,
|
|
1183
|
+
nextKey: new Uint8Array()
|
|
1169
1184
|
};
|
|
1170
1185
|
}
|
|
1171
1186
|
export const MsgWithdrawResponse = {
|
|
1172
1187
|
typeUrl: "/liftedinit.billing.v1.MsgWithdrawResponse",
|
|
1173
1188
|
is(o) {
|
|
1174
|
-
return o && (o.$typeUrl === MsgWithdrawResponse.typeUrl || Array.isArray(o.totalAmounts) && (!o.totalAmounts.length || Coin.is(o.totalAmounts[0])) && typeof o.payoutAddress === "string" && typeof o.withdrawalCount === "bigint" && typeof o.hasMore === "boolean");
|
|
1189
|
+
return o && (o.$typeUrl === MsgWithdrawResponse.typeUrl || Array.isArray(o.totalAmounts) && (!o.totalAmounts.length || Coin.is(o.totalAmounts[0])) && typeof o.payoutAddress === "string" && typeof o.withdrawalCount === "bigint" && typeof o.hasMore === "boolean" && (o.nextKey instanceof Uint8Array || typeof o.nextKey === "string"));
|
|
1175
1190
|
},
|
|
1176
1191
|
isSDK(o) {
|
|
1177
|
-
return o && (o.$typeUrl === MsgWithdrawResponse.typeUrl || Array.isArray(o.total_amounts) && (!o.total_amounts.length || Coin.isSDK(o.total_amounts[0])) && typeof o.payout_address === "string" && typeof o.withdrawal_count === "bigint" && typeof o.has_more === "boolean");
|
|
1192
|
+
return o && (o.$typeUrl === MsgWithdrawResponse.typeUrl || Array.isArray(o.total_amounts) && (!o.total_amounts.length || Coin.isSDK(o.total_amounts[0])) && typeof o.payout_address === "string" && typeof o.withdrawal_count === "bigint" && typeof o.has_more === "boolean" && (o.next_key instanceof Uint8Array || typeof o.next_key === "string"));
|
|
1178
1193
|
},
|
|
1179
1194
|
isAmino(o) {
|
|
1180
|
-
return o && (o.$typeUrl === MsgWithdrawResponse.typeUrl || Array.isArray(o.total_amounts) && (!o.total_amounts.length || Coin.isAmino(o.total_amounts[0])) && typeof o.payout_address === "string" && typeof o.withdrawal_count === "bigint" && typeof o.has_more === "boolean");
|
|
1195
|
+
return o && (o.$typeUrl === MsgWithdrawResponse.typeUrl || Array.isArray(o.total_amounts) && (!o.total_amounts.length || Coin.isAmino(o.total_amounts[0])) && typeof o.payout_address === "string" && typeof o.withdrawal_count === "bigint" && typeof o.has_more === "boolean" && (o.next_key instanceof Uint8Array || typeof o.next_key === "string"));
|
|
1181
1196
|
},
|
|
1182
1197
|
encode(message, writer = BinaryWriter.create()) {
|
|
1183
1198
|
for (const v of message.totalAmounts) {
|
|
@@ -1192,6 +1207,9 @@ export const MsgWithdrawResponse = {
|
|
|
1192
1207
|
if (message.hasMore === true) {
|
|
1193
1208
|
writer.uint32(32).bool(message.hasMore);
|
|
1194
1209
|
}
|
|
1210
|
+
if (message.nextKey.length !== 0) {
|
|
1211
|
+
writer.uint32(42).bytes(message.nextKey);
|
|
1212
|
+
}
|
|
1195
1213
|
return writer;
|
|
1196
1214
|
},
|
|
1197
1215
|
decode(input, length) {
|
|
@@ -1213,6 +1231,9 @@ export const MsgWithdrawResponse = {
|
|
|
1213
1231
|
case 4:
|
|
1214
1232
|
message.hasMore = reader.bool();
|
|
1215
1233
|
break;
|
|
1234
|
+
case 5:
|
|
1235
|
+
message.nextKey = reader.bytes();
|
|
1236
|
+
break;
|
|
1216
1237
|
default:
|
|
1217
1238
|
reader.skipType(tag & 7);
|
|
1218
1239
|
break;
|
|
@@ -1225,7 +1246,8 @@ export const MsgWithdrawResponse = {
|
|
|
1225
1246
|
totalAmounts: Array.isArray(object?.totalAmounts) ? object.totalAmounts.map((e) => Coin.fromJSON(e)) : [],
|
|
1226
1247
|
payoutAddress: isSet(object.payoutAddress) ? String(object.payoutAddress) : "",
|
|
1227
1248
|
withdrawalCount: isSet(object.withdrawalCount) ? BigInt(object.withdrawalCount.toString()) : BigInt(0),
|
|
1228
|
-
hasMore: isSet(object.hasMore) ? Boolean(object.hasMore) : false
|
|
1249
|
+
hasMore: isSet(object.hasMore) ? Boolean(object.hasMore) : false,
|
|
1250
|
+
nextKey: isSet(object.nextKey) ? bytesFromBase64(object.nextKey) : new Uint8Array()
|
|
1229
1251
|
};
|
|
1230
1252
|
},
|
|
1231
1253
|
toJSON(message) {
|
|
@@ -1239,6 +1261,7 @@ export const MsgWithdrawResponse = {
|
|
|
1239
1261
|
message.payoutAddress !== undefined && (obj.payoutAddress = message.payoutAddress);
|
|
1240
1262
|
message.withdrawalCount !== undefined && (obj.withdrawalCount = (message.withdrawalCount || BigInt(0)).toString());
|
|
1241
1263
|
message.hasMore !== undefined && (obj.hasMore = message.hasMore);
|
|
1264
|
+
message.nextKey !== undefined && (obj.nextKey = base64FromBytes(message.nextKey !== undefined ? message.nextKey : new Uint8Array()));
|
|
1242
1265
|
return obj;
|
|
1243
1266
|
},
|
|
1244
1267
|
fromPartial(object) {
|
|
@@ -1247,6 +1270,7 @@ export const MsgWithdrawResponse = {
|
|
|
1247
1270
|
message.payoutAddress = object.payoutAddress ?? "";
|
|
1248
1271
|
message.withdrawalCount = object.withdrawalCount !== undefined && object.withdrawalCount !== null ? BigInt(object.withdrawalCount.toString()) : BigInt(0);
|
|
1249
1272
|
message.hasMore = object.hasMore ?? false;
|
|
1273
|
+
message.nextKey = object.nextKey ?? new Uint8Array();
|
|
1250
1274
|
return message;
|
|
1251
1275
|
},
|
|
1252
1276
|
fromAmino(object) {
|
|
@@ -1261,6 +1285,9 @@ export const MsgWithdrawResponse = {
|
|
|
1261
1285
|
if (object.has_more !== undefined && object.has_more !== null) {
|
|
1262
1286
|
message.hasMore = object.has_more;
|
|
1263
1287
|
}
|
|
1288
|
+
if (object.next_key !== undefined && object.next_key !== null) {
|
|
1289
|
+
message.nextKey = bytesFromBase64(object.next_key);
|
|
1290
|
+
}
|
|
1264
1291
|
return message;
|
|
1265
1292
|
},
|
|
1266
1293
|
toAmino(message) {
|
|
@@ -1274,6 +1301,7 @@ export const MsgWithdrawResponse = {
|
|
|
1274
1301
|
obj.payout_address = message.payoutAddress === "" ? undefined : message.payoutAddress;
|
|
1275
1302
|
obj.withdrawal_count = message.withdrawalCount !== BigInt(0) ? message.withdrawalCount?.toString() : undefined;
|
|
1276
1303
|
obj.has_more = message.hasMore === false ? undefined : message.hasMore;
|
|
1304
|
+
obj.next_key = message.nextKey ? base64FromBytes(message.nextKey) : undefined;
|
|
1277
1305
|
return obj;
|
|
1278
1306
|
},
|
|
1279
1307
|
fromAminoMsg(object) {
|
|
@@ -2109,4 +2137,204 @@ export const MsgCancelLeaseResponse = {
|
|
|
2109
2137
|
}
|
|
2110
2138
|
};
|
|
2111
2139
|
GlobalDecoderRegistry.register(MsgCancelLeaseResponse.typeUrl, MsgCancelLeaseResponse);
|
|
2140
|
+
function createBaseMsgSetItemCustomDomain() {
|
|
2141
|
+
return {
|
|
2142
|
+
sender: "",
|
|
2143
|
+
leaseUuid: "",
|
|
2144
|
+
serviceName: "",
|
|
2145
|
+
customDomain: ""
|
|
2146
|
+
};
|
|
2147
|
+
}
|
|
2148
|
+
export const MsgSetItemCustomDomain = {
|
|
2149
|
+
typeUrl: "/liftedinit.billing.v1.MsgSetItemCustomDomain",
|
|
2150
|
+
aminoType: "lifted/billing/MsgSetItemCustomDomain",
|
|
2151
|
+
is(o) {
|
|
2152
|
+
return o && (o.$typeUrl === MsgSetItemCustomDomain.typeUrl || typeof o.sender === "string" && typeof o.leaseUuid === "string" && typeof o.serviceName === "string" && typeof o.customDomain === "string");
|
|
2153
|
+
},
|
|
2154
|
+
isSDK(o) {
|
|
2155
|
+
return o && (o.$typeUrl === MsgSetItemCustomDomain.typeUrl || typeof o.sender === "string" && typeof o.lease_uuid === "string" && typeof o.service_name === "string" && typeof o.custom_domain === "string");
|
|
2156
|
+
},
|
|
2157
|
+
isAmino(o) {
|
|
2158
|
+
return o && (o.$typeUrl === MsgSetItemCustomDomain.typeUrl || typeof o.sender === "string" && typeof o.lease_uuid === "string" && typeof o.service_name === "string" && typeof o.custom_domain === "string");
|
|
2159
|
+
},
|
|
2160
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
2161
|
+
if (message.sender !== "") {
|
|
2162
|
+
writer.uint32(10).string(message.sender);
|
|
2163
|
+
}
|
|
2164
|
+
if (message.leaseUuid !== "") {
|
|
2165
|
+
writer.uint32(18).string(message.leaseUuid);
|
|
2166
|
+
}
|
|
2167
|
+
if (message.serviceName !== "") {
|
|
2168
|
+
writer.uint32(26).string(message.serviceName);
|
|
2169
|
+
}
|
|
2170
|
+
if (message.customDomain !== "") {
|
|
2171
|
+
writer.uint32(34).string(message.customDomain);
|
|
2172
|
+
}
|
|
2173
|
+
return writer;
|
|
2174
|
+
},
|
|
2175
|
+
decode(input, length) {
|
|
2176
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2177
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2178
|
+
const message = createBaseMsgSetItemCustomDomain();
|
|
2179
|
+
while (reader.pos < end) {
|
|
2180
|
+
const tag = reader.uint32();
|
|
2181
|
+
switch (tag >>> 3) {
|
|
2182
|
+
case 1:
|
|
2183
|
+
message.sender = reader.string();
|
|
2184
|
+
break;
|
|
2185
|
+
case 2:
|
|
2186
|
+
message.leaseUuid = reader.string();
|
|
2187
|
+
break;
|
|
2188
|
+
case 3:
|
|
2189
|
+
message.serviceName = reader.string();
|
|
2190
|
+
break;
|
|
2191
|
+
case 4:
|
|
2192
|
+
message.customDomain = reader.string();
|
|
2193
|
+
break;
|
|
2194
|
+
default:
|
|
2195
|
+
reader.skipType(tag & 7);
|
|
2196
|
+
break;
|
|
2197
|
+
}
|
|
2198
|
+
}
|
|
2199
|
+
return message;
|
|
2200
|
+
},
|
|
2201
|
+
fromJSON(object) {
|
|
2202
|
+
return {
|
|
2203
|
+
sender: isSet(object.sender) ? String(object.sender) : "",
|
|
2204
|
+
leaseUuid: isSet(object.leaseUuid) ? String(object.leaseUuid) : "",
|
|
2205
|
+
serviceName: isSet(object.serviceName) ? String(object.serviceName) : "",
|
|
2206
|
+
customDomain: isSet(object.customDomain) ? String(object.customDomain) : ""
|
|
2207
|
+
};
|
|
2208
|
+
},
|
|
2209
|
+
toJSON(message) {
|
|
2210
|
+
const obj = {};
|
|
2211
|
+
message.sender !== undefined && (obj.sender = message.sender);
|
|
2212
|
+
message.leaseUuid !== undefined && (obj.leaseUuid = message.leaseUuid);
|
|
2213
|
+
message.serviceName !== undefined && (obj.serviceName = message.serviceName);
|
|
2214
|
+
message.customDomain !== undefined && (obj.customDomain = message.customDomain);
|
|
2215
|
+
return obj;
|
|
2216
|
+
},
|
|
2217
|
+
fromPartial(object) {
|
|
2218
|
+
const message = createBaseMsgSetItemCustomDomain();
|
|
2219
|
+
message.sender = object.sender ?? "";
|
|
2220
|
+
message.leaseUuid = object.leaseUuid ?? "";
|
|
2221
|
+
message.serviceName = object.serviceName ?? "";
|
|
2222
|
+
message.customDomain = object.customDomain ?? "";
|
|
2223
|
+
return message;
|
|
2224
|
+
},
|
|
2225
|
+
fromAmino(object) {
|
|
2226
|
+
const message = createBaseMsgSetItemCustomDomain();
|
|
2227
|
+
if (object.sender !== undefined && object.sender !== null) {
|
|
2228
|
+
message.sender = object.sender;
|
|
2229
|
+
}
|
|
2230
|
+
if (object.lease_uuid !== undefined && object.lease_uuid !== null) {
|
|
2231
|
+
message.leaseUuid = object.lease_uuid;
|
|
2232
|
+
}
|
|
2233
|
+
if (object.service_name !== undefined && object.service_name !== null) {
|
|
2234
|
+
message.serviceName = object.service_name;
|
|
2235
|
+
}
|
|
2236
|
+
if (object.custom_domain !== undefined && object.custom_domain !== null) {
|
|
2237
|
+
message.customDomain = object.custom_domain;
|
|
2238
|
+
}
|
|
2239
|
+
return message;
|
|
2240
|
+
},
|
|
2241
|
+
toAmino(message) {
|
|
2242
|
+
const obj = {};
|
|
2243
|
+
obj.sender = message.sender === "" ? undefined : message.sender;
|
|
2244
|
+
obj.lease_uuid = message.leaseUuid === "" ? undefined : message.leaseUuid;
|
|
2245
|
+
obj.service_name = message.serviceName === "" ? undefined : message.serviceName;
|
|
2246
|
+
obj.custom_domain = message.customDomain === "" ? undefined : message.customDomain;
|
|
2247
|
+
return obj;
|
|
2248
|
+
},
|
|
2249
|
+
fromAminoMsg(object) {
|
|
2250
|
+
return MsgSetItemCustomDomain.fromAmino(object.value);
|
|
2251
|
+
},
|
|
2252
|
+
toAminoMsg(message) {
|
|
2253
|
+
return {
|
|
2254
|
+
type: "lifted/billing/MsgSetItemCustomDomain",
|
|
2255
|
+
value: MsgSetItemCustomDomain.toAmino(message)
|
|
2256
|
+
};
|
|
2257
|
+
},
|
|
2258
|
+
fromProtoMsg(message) {
|
|
2259
|
+
return MsgSetItemCustomDomain.decode(message.value);
|
|
2260
|
+
},
|
|
2261
|
+
toProto(message) {
|
|
2262
|
+
return MsgSetItemCustomDomain.encode(message).finish();
|
|
2263
|
+
},
|
|
2264
|
+
toProtoMsg(message) {
|
|
2265
|
+
return {
|
|
2266
|
+
typeUrl: "/liftedinit.billing.v1.MsgSetItemCustomDomain",
|
|
2267
|
+
value: MsgSetItemCustomDomain.encode(message).finish()
|
|
2268
|
+
};
|
|
2269
|
+
}
|
|
2270
|
+
};
|
|
2271
|
+
GlobalDecoderRegistry.register(MsgSetItemCustomDomain.typeUrl, MsgSetItemCustomDomain);
|
|
2272
|
+
GlobalDecoderRegistry.registerAminoProtoMapping(MsgSetItemCustomDomain.aminoType, MsgSetItemCustomDomain.typeUrl);
|
|
2273
|
+
function createBaseMsgSetItemCustomDomainResponse() {
|
|
2274
|
+
return {};
|
|
2275
|
+
}
|
|
2276
|
+
export const MsgSetItemCustomDomainResponse = {
|
|
2277
|
+
typeUrl: "/liftedinit.billing.v1.MsgSetItemCustomDomainResponse",
|
|
2278
|
+
is(o) {
|
|
2279
|
+
return o && o.$typeUrl === MsgSetItemCustomDomainResponse.typeUrl;
|
|
2280
|
+
},
|
|
2281
|
+
isSDK(o) {
|
|
2282
|
+
return o && o.$typeUrl === MsgSetItemCustomDomainResponse.typeUrl;
|
|
2283
|
+
},
|
|
2284
|
+
isAmino(o) {
|
|
2285
|
+
return o && o.$typeUrl === MsgSetItemCustomDomainResponse.typeUrl;
|
|
2286
|
+
},
|
|
2287
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
2288
|
+
return writer;
|
|
2289
|
+
},
|
|
2290
|
+
decode(input, length) {
|
|
2291
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2292
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2293
|
+
const message = createBaseMsgSetItemCustomDomainResponse();
|
|
2294
|
+
while (reader.pos < end) {
|
|
2295
|
+
const tag = reader.uint32();
|
|
2296
|
+
switch (tag >>> 3) {
|
|
2297
|
+
default:
|
|
2298
|
+
reader.skipType(tag & 7);
|
|
2299
|
+
break;
|
|
2300
|
+
}
|
|
2301
|
+
}
|
|
2302
|
+
return message;
|
|
2303
|
+
},
|
|
2304
|
+
fromJSON(_) {
|
|
2305
|
+
return {};
|
|
2306
|
+
},
|
|
2307
|
+
toJSON(_) {
|
|
2308
|
+
const obj = {};
|
|
2309
|
+
return obj;
|
|
2310
|
+
},
|
|
2311
|
+
fromPartial(_) {
|
|
2312
|
+
const message = createBaseMsgSetItemCustomDomainResponse();
|
|
2313
|
+
return message;
|
|
2314
|
+
},
|
|
2315
|
+
fromAmino(_) {
|
|
2316
|
+
const message = createBaseMsgSetItemCustomDomainResponse();
|
|
2317
|
+
return message;
|
|
2318
|
+
},
|
|
2319
|
+
toAmino(_) {
|
|
2320
|
+
const obj = {};
|
|
2321
|
+
return obj;
|
|
2322
|
+
},
|
|
2323
|
+
fromAminoMsg(object) {
|
|
2324
|
+
return MsgSetItemCustomDomainResponse.fromAmino(object.value);
|
|
2325
|
+
},
|
|
2326
|
+
fromProtoMsg(message) {
|
|
2327
|
+
return MsgSetItemCustomDomainResponse.decode(message.value);
|
|
2328
|
+
},
|
|
2329
|
+
toProto(message) {
|
|
2330
|
+
return MsgSetItemCustomDomainResponse.encode(message).finish();
|
|
2331
|
+
},
|
|
2332
|
+
toProtoMsg(message) {
|
|
2333
|
+
return {
|
|
2334
|
+
typeUrl: "/liftedinit.billing.v1.MsgSetItemCustomDomainResponse",
|
|
2335
|
+
value: MsgSetItemCustomDomainResponse.encode(message).finish()
|
|
2336
|
+
};
|
|
2337
|
+
}
|
|
2338
|
+
};
|
|
2339
|
+
GlobalDecoderRegistry.register(MsgSetItemCustomDomainResponse.typeUrl, MsgSetItemCustomDomainResponse);
|
|
2112
2340
|
//# sourceMappingURL=tx.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TelescopeGeneratedType } from "../../../types";
|
|
2
2
|
import { Registry } from "@cosmjs/proto-signing";
|
|
3
|
-
import { MsgFundCredit, MsgCreateLease, MsgCreateLeaseForTenant, MsgAcknowledgeLease, MsgRejectLease, MsgCancelLease, MsgCloseLease, MsgWithdraw, MsgUpdateParams } from "./tx";
|
|
3
|
+
import { MsgFundCredit, MsgCreateLease, MsgCreateLeaseForTenant, MsgAcknowledgeLease, MsgRejectLease, MsgCancelLease, MsgCloseLease, MsgWithdraw, MsgUpdateParams, MsgSetItemCustomDomain } from "./tx";
|
|
4
4
|
export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
|
|
5
5
|
export declare const load: (protoRegistry: Registry) => void;
|
|
6
6
|
export declare const MessageComposer: {
|
|
@@ -41,6 +41,10 @@ export declare const MessageComposer: {
|
|
|
41
41
|
typeUrl: string;
|
|
42
42
|
value: Uint8Array;
|
|
43
43
|
};
|
|
44
|
+
setItemCustomDomain(value: MsgSetItemCustomDomain): {
|
|
45
|
+
typeUrl: string;
|
|
46
|
+
value: Uint8Array;
|
|
47
|
+
};
|
|
44
48
|
};
|
|
45
49
|
withTypeUrl: {
|
|
46
50
|
fundCredit(value: MsgFundCredit): {
|
|
@@ -79,6 +83,10 @@ export declare const MessageComposer: {
|
|
|
79
83
|
typeUrl: string;
|
|
80
84
|
value: MsgUpdateParams;
|
|
81
85
|
};
|
|
86
|
+
setItemCustomDomain(value: MsgSetItemCustomDomain): {
|
|
87
|
+
typeUrl: string;
|
|
88
|
+
value: MsgSetItemCustomDomain;
|
|
89
|
+
};
|
|
82
90
|
};
|
|
83
91
|
toJSON: {
|
|
84
92
|
fundCredit(value: MsgFundCredit): {
|
|
@@ -154,6 +162,7 @@ export declare const MessageComposer: {
|
|
|
154
162
|
leaseUuids: string[];
|
|
155
163
|
providerUuid: string;
|
|
156
164
|
limit: string;
|
|
165
|
+
key: string;
|
|
157
166
|
};
|
|
158
167
|
};
|
|
159
168
|
updateParams(value: MsgUpdateParams): {
|
|
@@ -167,9 +176,19 @@ export declare const MessageComposer: {
|
|
|
167
176
|
minLeaseDuration: string;
|
|
168
177
|
maxPendingLeasesPerTenant: string;
|
|
169
178
|
pendingTimeout: string;
|
|
179
|
+
reservedDomainSuffixes: string[];
|
|
170
180
|
};
|
|
171
181
|
};
|
|
172
182
|
};
|
|
183
|
+
setItemCustomDomain(value: MsgSetItemCustomDomain): {
|
|
184
|
+
typeUrl: string;
|
|
185
|
+
value: {
|
|
186
|
+
sender: string;
|
|
187
|
+
leaseUuid: string;
|
|
188
|
+
serviceName: string;
|
|
189
|
+
customDomain: string;
|
|
190
|
+
};
|
|
191
|
+
};
|
|
173
192
|
};
|
|
174
193
|
fromJSON: {
|
|
175
194
|
fundCredit(value: any): {
|
|
@@ -208,6 +227,10 @@ export declare const MessageComposer: {
|
|
|
208
227
|
typeUrl: string;
|
|
209
228
|
value: MsgUpdateParams;
|
|
210
229
|
};
|
|
230
|
+
setItemCustomDomain(value: any): {
|
|
231
|
+
typeUrl: string;
|
|
232
|
+
value: MsgSetItemCustomDomain;
|
|
233
|
+
};
|
|
211
234
|
};
|
|
212
235
|
fromPartial: {
|
|
213
236
|
fundCredit(value: MsgFundCredit): {
|
|
@@ -246,5 +269,9 @@ export declare const MessageComposer: {
|
|
|
246
269
|
typeUrl: string;
|
|
247
270
|
value: MsgUpdateParams;
|
|
248
271
|
};
|
|
272
|
+
setItemCustomDomain(value: MsgSetItemCustomDomain): {
|
|
273
|
+
typeUrl: string;
|
|
274
|
+
value: MsgSetItemCustomDomain;
|
|
275
|
+
};
|
|
249
276
|
};
|
|
250
277
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MessageComposer = exports.load = exports.registry = void 0;
|
|
4
4
|
const tx_1 = require("./tx");
|
|
5
|
-
exports.registry = [["/liftedinit.billing.v1.MsgFundCredit", tx_1.MsgFundCredit], ["/liftedinit.billing.v1.MsgCreateLease", tx_1.MsgCreateLease], ["/liftedinit.billing.v1.MsgCreateLeaseForTenant", tx_1.MsgCreateLeaseForTenant], ["/liftedinit.billing.v1.MsgAcknowledgeLease", tx_1.MsgAcknowledgeLease], ["/liftedinit.billing.v1.MsgRejectLease", tx_1.MsgRejectLease], ["/liftedinit.billing.v1.MsgCancelLease", tx_1.MsgCancelLease], ["/liftedinit.billing.v1.MsgCloseLease", tx_1.MsgCloseLease], ["/liftedinit.billing.v1.MsgWithdraw", tx_1.MsgWithdraw], ["/liftedinit.billing.v1.MsgUpdateParams", tx_1.MsgUpdateParams]];
|
|
5
|
+
exports.registry = [["/liftedinit.billing.v1.MsgFundCredit", tx_1.MsgFundCredit], ["/liftedinit.billing.v1.MsgCreateLease", tx_1.MsgCreateLease], ["/liftedinit.billing.v1.MsgCreateLeaseForTenant", tx_1.MsgCreateLeaseForTenant], ["/liftedinit.billing.v1.MsgAcknowledgeLease", tx_1.MsgAcknowledgeLease], ["/liftedinit.billing.v1.MsgRejectLease", tx_1.MsgRejectLease], ["/liftedinit.billing.v1.MsgCancelLease", tx_1.MsgCancelLease], ["/liftedinit.billing.v1.MsgCloseLease", tx_1.MsgCloseLease], ["/liftedinit.billing.v1.MsgWithdraw", tx_1.MsgWithdraw], ["/liftedinit.billing.v1.MsgUpdateParams", tx_1.MsgUpdateParams], ["/liftedinit.billing.v1.MsgSetItemCustomDomain", tx_1.MsgSetItemCustomDomain]];
|
|
6
6
|
const load = (protoRegistry) => {
|
|
7
7
|
exports.registry.forEach(([typeUrl, mod]) => {
|
|
8
8
|
protoRegistry.register(typeUrl, mod);
|
|
@@ -64,6 +64,12 @@ exports.MessageComposer = {
|
|
|
64
64
|
typeUrl: "/liftedinit.billing.v1.MsgUpdateParams",
|
|
65
65
|
value: tx_1.MsgUpdateParams.encode(value).finish()
|
|
66
66
|
};
|
|
67
|
+
},
|
|
68
|
+
setItemCustomDomain(value) {
|
|
69
|
+
return {
|
|
70
|
+
typeUrl: "/liftedinit.billing.v1.MsgSetItemCustomDomain",
|
|
71
|
+
value: tx_1.MsgSetItemCustomDomain.encode(value).finish()
|
|
72
|
+
};
|
|
67
73
|
}
|
|
68
74
|
},
|
|
69
75
|
withTypeUrl: {
|
|
@@ -120,6 +126,12 @@ exports.MessageComposer = {
|
|
|
120
126
|
typeUrl: "/liftedinit.billing.v1.MsgUpdateParams",
|
|
121
127
|
value
|
|
122
128
|
};
|
|
129
|
+
},
|
|
130
|
+
setItemCustomDomain(value) {
|
|
131
|
+
return {
|
|
132
|
+
typeUrl: "/liftedinit.billing.v1.MsgSetItemCustomDomain",
|
|
133
|
+
value
|
|
134
|
+
};
|
|
123
135
|
}
|
|
124
136
|
},
|
|
125
137
|
toJSON: {
|
|
@@ -176,6 +188,12 @@ exports.MessageComposer = {
|
|
|
176
188
|
typeUrl: "/liftedinit.billing.v1.MsgUpdateParams",
|
|
177
189
|
value: tx_1.MsgUpdateParams.toJSON(value)
|
|
178
190
|
};
|
|
191
|
+
},
|
|
192
|
+
setItemCustomDomain(value) {
|
|
193
|
+
return {
|
|
194
|
+
typeUrl: "/liftedinit.billing.v1.MsgSetItemCustomDomain",
|
|
195
|
+
value: tx_1.MsgSetItemCustomDomain.toJSON(value)
|
|
196
|
+
};
|
|
179
197
|
}
|
|
180
198
|
},
|
|
181
199
|
fromJSON: {
|
|
@@ -232,6 +250,12 @@ exports.MessageComposer = {
|
|
|
232
250
|
typeUrl: "/liftedinit.billing.v1.MsgUpdateParams",
|
|
233
251
|
value: tx_1.MsgUpdateParams.fromJSON(value)
|
|
234
252
|
};
|
|
253
|
+
},
|
|
254
|
+
setItemCustomDomain(value) {
|
|
255
|
+
return {
|
|
256
|
+
typeUrl: "/liftedinit.billing.v1.MsgSetItemCustomDomain",
|
|
257
|
+
value: tx_1.MsgSetItemCustomDomain.fromJSON(value)
|
|
258
|
+
};
|
|
235
259
|
}
|
|
236
260
|
},
|
|
237
261
|
fromPartial: {
|
|
@@ -288,6 +312,12 @@ exports.MessageComposer = {
|
|
|
288
312
|
typeUrl: "/liftedinit.billing.v1.MsgUpdateParams",
|
|
289
313
|
value: tx_1.MsgUpdateParams.fromPartial(value)
|
|
290
314
|
};
|
|
315
|
+
},
|
|
316
|
+
setItemCustomDomain(value) {
|
|
317
|
+
return {
|
|
318
|
+
typeUrl: "/liftedinit.billing.v1.MsgSetItemCustomDomain",
|
|
319
|
+
value: tx_1.MsgSetItemCustomDomain.fromPartial(value)
|
|
320
|
+
};
|
|
291
321
|
}
|
|
292
322
|
}
|
|
293
323
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tx.registry.js","sourceRoot":"","sources":["../../../../../src/codegen/liftedinit/billing/v1/tx.registry.ts"],"names":[],"mappings":";;;AAGA,
|
|
1
|
+
{"version":3,"file":"tx.registry.js","sourceRoot":"","sources":["../../../../../src/codegen/liftedinit/billing/v1/tx.registry.ts"],"names":[],"mappings":";;;AAGA,6BAAwM;AAC3L,QAAA,QAAQ,GAAmE,CAAC,CAAC,sCAAsC,EAAE,kBAAa,CAAC,EAAE,CAAC,uCAAuC,EAAE,mBAAc,CAAC,EAAE,CAAC,gDAAgD,EAAE,4BAAuB,CAAC,EAAE,CAAC,4CAA4C,EAAE,wBAAmB,CAAC,EAAE,CAAC,uCAAuC,EAAE,mBAAc,CAAC,EAAE,CAAC,uCAAuC,EAAE,mBAAc,CAAC,EAAE,CAAC,sCAAsC,EAAE,kBAAa,CAAC,EAAE,CAAC,oCAAoC,EAAE,gBAAW,CAAC,EAAE,CAAC,wCAAwC,EAAE,oBAAe,CAAC,EAAE,CAAC,+CAA+C,EAAE,2BAAsB,CAAC,CAAC,CAAC;AACpsB,MAAM,IAAI,GAAG,CAAC,aAAuB,EAAE,EAAE;IAC9C,gBAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,EAAE,GAAG,CAAC,EAAE,EAAE;QAClC,aAAa,CAAC,QAAQ,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;IACvC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AAJW,QAAA,IAAI,QAIf;AACW,QAAA,eAAe,GAAG;IAC7B,OAAO,EAAE;QACP,UAAU,CAAC,KAAoB;YAC7B,OAAO;gBACL,OAAO,EAAE,sCAAsC;gBAC/C,KAAK,EAAE,kBAAa,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,MAAM,EAAE;aAC5C,CAAC;QACJ,CAAC;QACD,WAAW,CAAC,KAAqB;YAC/B,OAAO;gBACL,OAAO,EAAE,uCAAuC;gBAChD,KAAK,EAAE,mBAAc,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BACL,OAAO,EAAE,uCAAuC;gBAChD,KAAK,EAAE,mBAAc,CAAC,WAAW,CAAC,KAAK,CAAC;aACzC,CAAC;QACJ,CAAC;QACD,UAAU,CAAC,KAAoB;YAC7B,OAAO;gBACL,OAAO,EAAE,sCAAsC;gBAC/C,KAAK,EAAE,kBAAa,CAAC,WAAW,CAAC,KAAK,CAAC;aACxC,CAAC;QACJ,CAAC;QACD,QAAQ,CAAC,KAAkB;YACzB,OAAO;gBACL,OAAO,EAAE,oCAAoC;gBAC7C,KAAK,EAAE,gBAAW,CAAC,WAAW,CAAC,KAAK,CAAC;aACtC,CAAC;QACJ,CAAC;QACD,YAAY,CAAC,KAAsB;YACjC,OAAO;gBACL,OAAO,EAAE,wCAAwC;gBACjD,KAAK,EAAE,oBAAe,CAAC,WAAW,CAAC,KAAK,CAAC;aAC1C,CAAC;QACJ,CAAC;QACD,mBAAmB,CAAC,KAA6B;YAC/C,OAAO;gBACL,OAAO,EAAE,+CAA+C;gBACxD,KAAK,EAAE,2BAAsB,CAAC,WAAW,CAAC,KAAK,CAAC;aACjD,CAAC;QACJ,CAAC;KACF;CACF,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MsgFundCredit, MsgCreateLease, MsgCreateLeaseForTenant, MsgAcknowledgeLease, MsgRejectLease, MsgCancelLease, MsgCloseLease, MsgWithdraw, MsgUpdateParams } from "./tx";
|
|
2
|
-
export const registry = [["/liftedinit.billing.v1.MsgFundCredit", MsgFundCredit], ["/liftedinit.billing.v1.MsgCreateLease", MsgCreateLease], ["/liftedinit.billing.v1.MsgCreateLeaseForTenant", MsgCreateLeaseForTenant], ["/liftedinit.billing.v1.MsgAcknowledgeLease", MsgAcknowledgeLease], ["/liftedinit.billing.v1.MsgRejectLease", MsgRejectLease], ["/liftedinit.billing.v1.MsgCancelLease", MsgCancelLease], ["/liftedinit.billing.v1.MsgCloseLease", MsgCloseLease], ["/liftedinit.billing.v1.MsgWithdraw", MsgWithdraw], ["/liftedinit.billing.v1.MsgUpdateParams", MsgUpdateParams]];
|
|
1
|
+
import { MsgFundCredit, MsgCreateLease, MsgCreateLeaseForTenant, MsgAcknowledgeLease, MsgRejectLease, MsgCancelLease, MsgCloseLease, MsgWithdraw, MsgUpdateParams, MsgSetItemCustomDomain } from "./tx";
|
|
2
|
+
export const registry = [["/liftedinit.billing.v1.MsgFundCredit", MsgFundCredit], ["/liftedinit.billing.v1.MsgCreateLease", MsgCreateLease], ["/liftedinit.billing.v1.MsgCreateLeaseForTenant", MsgCreateLeaseForTenant], ["/liftedinit.billing.v1.MsgAcknowledgeLease", MsgAcknowledgeLease], ["/liftedinit.billing.v1.MsgRejectLease", MsgRejectLease], ["/liftedinit.billing.v1.MsgCancelLease", MsgCancelLease], ["/liftedinit.billing.v1.MsgCloseLease", MsgCloseLease], ["/liftedinit.billing.v1.MsgWithdraw", MsgWithdraw], ["/liftedinit.billing.v1.MsgUpdateParams", MsgUpdateParams], ["/liftedinit.billing.v1.MsgSetItemCustomDomain", MsgSetItemCustomDomain]];
|
|
3
3
|
export const load = (protoRegistry) => {
|
|
4
4
|
registry.forEach(([typeUrl, mod]) => {
|
|
5
5
|
protoRegistry.register(typeUrl, mod);
|
|
@@ -60,6 +60,12 @@ export const MessageComposer = {
|
|
|
60
60
|
typeUrl: "/liftedinit.billing.v1.MsgUpdateParams",
|
|
61
61
|
value: MsgUpdateParams.encode(value).finish()
|
|
62
62
|
};
|
|
63
|
+
},
|
|
64
|
+
setItemCustomDomain(value) {
|
|
65
|
+
return {
|
|
66
|
+
typeUrl: "/liftedinit.billing.v1.MsgSetItemCustomDomain",
|
|
67
|
+
value: MsgSetItemCustomDomain.encode(value).finish()
|
|
68
|
+
};
|
|
63
69
|
}
|
|
64
70
|
},
|
|
65
71
|
withTypeUrl: {
|
|
@@ -116,6 +122,12 @@ export const MessageComposer = {
|
|
|
116
122
|
typeUrl: "/liftedinit.billing.v1.MsgUpdateParams",
|
|
117
123
|
value
|
|
118
124
|
};
|
|
125
|
+
},
|
|
126
|
+
setItemCustomDomain(value) {
|
|
127
|
+
return {
|
|
128
|
+
typeUrl: "/liftedinit.billing.v1.MsgSetItemCustomDomain",
|
|
129
|
+
value
|
|
130
|
+
};
|
|
119
131
|
}
|
|
120
132
|
},
|
|
121
133
|
toJSON: {
|
|
@@ -172,6 +184,12 @@ export const MessageComposer = {
|
|
|
172
184
|
typeUrl: "/liftedinit.billing.v1.MsgUpdateParams",
|
|
173
185
|
value: MsgUpdateParams.toJSON(value)
|
|
174
186
|
};
|
|
187
|
+
},
|
|
188
|
+
setItemCustomDomain(value) {
|
|
189
|
+
return {
|
|
190
|
+
typeUrl: "/liftedinit.billing.v1.MsgSetItemCustomDomain",
|
|
191
|
+
value: MsgSetItemCustomDomain.toJSON(value)
|
|
192
|
+
};
|
|
175
193
|
}
|
|
176
194
|
},
|
|
177
195
|
fromJSON: {
|
|
@@ -228,6 +246,12 @@ export const MessageComposer = {
|
|
|
228
246
|
typeUrl: "/liftedinit.billing.v1.MsgUpdateParams",
|
|
229
247
|
value: MsgUpdateParams.fromJSON(value)
|
|
230
248
|
};
|
|
249
|
+
},
|
|
250
|
+
setItemCustomDomain(value) {
|
|
251
|
+
return {
|
|
252
|
+
typeUrl: "/liftedinit.billing.v1.MsgSetItemCustomDomain",
|
|
253
|
+
value: MsgSetItemCustomDomain.fromJSON(value)
|
|
254
|
+
};
|
|
231
255
|
}
|
|
232
256
|
},
|
|
233
257
|
fromPartial: {
|
|
@@ -284,6 +308,12 @@ export const MessageComposer = {
|
|
|
284
308
|
typeUrl: "/liftedinit.billing.v1.MsgUpdateParams",
|
|
285
309
|
value: MsgUpdateParams.fromPartial(value)
|
|
286
310
|
};
|
|
311
|
+
},
|
|
312
|
+
setItemCustomDomain(value) {
|
|
313
|
+
return {
|
|
314
|
+
typeUrl: "/liftedinit.billing.v1.MsgSetItemCustomDomain",
|
|
315
|
+
value: MsgSetItemCustomDomain.fromPartial(value)
|
|
316
|
+
};
|
|
287
317
|
}
|
|
288
318
|
}
|
|
289
319
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DeliverTxResponse, StdFee, TxRpc } from "../../../types";
|
|
2
|
-
import { MsgFundCredit, MsgCreateLease, MsgCreateLeaseForTenant, MsgAcknowledgeLease, MsgRejectLease, MsgCancelLease, MsgCloseLease, MsgWithdraw, MsgUpdateParams } from "./tx";
|
|
2
|
+
import { MsgFundCredit, MsgCreateLease, MsgCreateLeaseForTenant, MsgAcknowledgeLease, MsgRejectLease, MsgCancelLease, MsgCloseLease, MsgWithdraw, MsgUpdateParams, MsgSetItemCustomDomain } from "./tx";
|
|
3
3
|
/** Msg defines the billing module's Msg service. */
|
|
4
4
|
export interface Msg {
|
|
5
5
|
/** FundCredit funds a tenant's credit account. */
|
|
@@ -39,6 +39,14 @@ export interface Msg {
|
|
|
39
39
|
withdraw(signerAddress: string, message: MsgWithdraw, fee: number | StdFee | "auto", memo?: string): Promise<DeliverTxResponse>;
|
|
40
40
|
/** UpdateParams updates the module parameters. */
|
|
41
41
|
updateParams(signerAddress: string, message: MsgUpdateParams, fee: number | StdFee | "auto", memo?: string): Promise<DeliverTxResponse>;
|
|
42
|
+
/**
|
|
43
|
+
* SetItemCustomDomain sets or clears the custom_domain on a specific
|
|
44
|
+
* LeaseItem, identified by service_name. Authorised senders: the lease's
|
|
45
|
+
* tenant, the module authority, or any address in params.allowed_list. The
|
|
46
|
+
* lease must be in PENDING or ACTIVE state; an empty custom_domain clears
|
|
47
|
+
* the field and frees the index entry.
|
|
48
|
+
*/
|
|
49
|
+
setItemCustomDomain(signerAddress: string, message: MsgSetItemCustomDomain, fee: number | StdFee | "auto", memo?: string): Promise<DeliverTxResponse>;
|
|
42
50
|
}
|
|
43
51
|
export declare class MsgClientImpl implements Msg {
|
|
44
52
|
private readonly rpc;
|
|
@@ -52,5 +60,6 @@ export declare class MsgClientImpl implements Msg {
|
|
|
52
60
|
closeLease: (signerAddress: string, message: MsgCloseLease, fee?: number | StdFee | "auto", memo?: string) => Promise<DeliverTxResponse>;
|
|
53
61
|
withdraw: (signerAddress: string, message: MsgWithdraw, fee?: number | StdFee | "auto", memo?: string) => Promise<DeliverTxResponse>;
|
|
54
62
|
updateParams: (signerAddress: string, message: MsgUpdateParams, fee?: number | StdFee | "auto", memo?: string) => Promise<DeliverTxResponse>;
|
|
63
|
+
setItemCustomDomain: (signerAddress: string, message: MsgSetItemCustomDomain, fee?: number | StdFee | "auto", memo?: string) => Promise<DeliverTxResponse>;
|
|
55
64
|
}
|
|
56
65
|
export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl;
|