@manifest-network/manifestjs 2.3.0 → 2.4.1
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/codegen/liftedinit/billing/v1/query.d.ts +107 -0
- package/dist/codegen/liftedinit/billing/v1/query.js +181 -1
- 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 +6 -0
- package/dist/codegen/liftedinit/billing/v1/query.lcd.js.map +1 -1
- package/dist/codegen/liftedinit/billing/v1/query.lcd.mjs +6 -0
- package/dist/codegen/liftedinit/billing/v1/query.mjs +180 -0
- 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 +136 -0
- package/dist/codegen/liftedinit/billing/v1/tx.js +201 -1
- package/dist/codegen/liftedinit/billing/v1/tx.js.map +1 -1
- package/dist/codegen/liftedinit/billing/v1/tx.mjs +200 -0
- package/dist/codegen/liftedinit/billing/v1/tx.registry.d.ts +27 -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 +120 -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
|
@@ -2348,4 +2348,184 @@ export const QueryCreditEstimateResponse = {
|
|
|
2348
2348
|
}
|
|
2349
2349
|
};
|
|
2350
2350
|
GlobalDecoderRegistry.register(QueryCreditEstimateResponse.typeUrl, QueryCreditEstimateResponse);
|
|
2351
|
+
function createBaseQueryLeaseByCustomDomainRequest() {
|
|
2352
|
+
return {
|
|
2353
|
+
customDomain: ""
|
|
2354
|
+
};
|
|
2355
|
+
}
|
|
2356
|
+
export const QueryLeaseByCustomDomainRequest = {
|
|
2357
|
+
typeUrl: "/liftedinit.billing.v1.QueryLeaseByCustomDomainRequest",
|
|
2358
|
+
is(o) {
|
|
2359
|
+
return o && (o.$typeUrl === QueryLeaseByCustomDomainRequest.typeUrl || typeof o.customDomain === "string");
|
|
2360
|
+
},
|
|
2361
|
+
isSDK(o) {
|
|
2362
|
+
return o && (o.$typeUrl === QueryLeaseByCustomDomainRequest.typeUrl || typeof o.custom_domain === "string");
|
|
2363
|
+
},
|
|
2364
|
+
isAmino(o) {
|
|
2365
|
+
return o && (o.$typeUrl === QueryLeaseByCustomDomainRequest.typeUrl || typeof o.custom_domain === "string");
|
|
2366
|
+
},
|
|
2367
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
2368
|
+
if (message.customDomain !== "") {
|
|
2369
|
+
writer.uint32(10).string(message.customDomain);
|
|
2370
|
+
}
|
|
2371
|
+
return writer;
|
|
2372
|
+
},
|
|
2373
|
+
decode(input, length) {
|
|
2374
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2375
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2376
|
+
const message = createBaseQueryLeaseByCustomDomainRequest();
|
|
2377
|
+
while (reader.pos < end) {
|
|
2378
|
+
const tag = reader.uint32();
|
|
2379
|
+
switch (tag >>> 3) {
|
|
2380
|
+
case 1:
|
|
2381
|
+
message.customDomain = reader.string();
|
|
2382
|
+
break;
|
|
2383
|
+
default:
|
|
2384
|
+
reader.skipType(tag & 7);
|
|
2385
|
+
break;
|
|
2386
|
+
}
|
|
2387
|
+
}
|
|
2388
|
+
return message;
|
|
2389
|
+
},
|
|
2390
|
+
fromJSON(object) {
|
|
2391
|
+
return {
|
|
2392
|
+
customDomain: isSet(object.customDomain) ? String(object.customDomain) : ""
|
|
2393
|
+
};
|
|
2394
|
+
},
|
|
2395
|
+
toJSON(message) {
|
|
2396
|
+
const obj = {};
|
|
2397
|
+
message.customDomain !== undefined && (obj.customDomain = message.customDomain);
|
|
2398
|
+
return obj;
|
|
2399
|
+
},
|
|
2400
|
+
fromPartial(object) {
|
|
2401
|
+
const message = createBaseQueryLeaseByCustomDomainRequest();
|
|
2402
|
+
message.customDomain = object.customDomain ?? "";
|
|
2403
|
+
return message;
|
|
2404
|
+
},
|
|
2405
|
+
fromAmino(object) {
|
|
2406
|
+
const message = createBaseQueryLeaseByCustomDomainRequest();
|
|
2407
|
+
if (object.custom_domain !== undefined && object.custom_domain !== null) {
|
|
2408
|
+
message.customDomain = object.custom_domain;
|
|
2409
|
+
}
|
|
2410
|
+
return message;
|
|
2411
|
+
},
|
|
2412
|
+
toAmino(message) {
|
|
2413
|
+
const obj = {};
|
|
2414
|
+
obj.custom_domain = message.customDomain === "" ? undefined : message.customDomain;
|
|
2415
|
+
return obj;
|
|
2416
|
+
},
|
|
2417
|
+
fromAminoMsg(object) {
|
|
2418
|
+
return QueryLeaseByCustomDomainRequest.fromAmino(object.value);
|
|
2419
|
+
},
|
|
2420
|
+
fromProtoMsg(message) {
|
|
2421
|
+
return QueryLeaseByCustomDomainRequest.decode(message.value);
|
|
2422
|
+
},
|
|
2423
|
+
toProto(message) {
|
|
2424
|
+
return QueryLeaseByCustomDomainRequest.encode(message).finish();
|
|
2425
|
+
},
|
|
2426
|
+
toProtoMsg(message) {
|
|
2427
|
+
return {
|
|
2428
|
+
typeUrl: "/liftedinit.billing.v1.QueryLeaseByCustomDomainRequest",
|
|
2429
|
+
value: QueryLeaseByCustomDomainRequest.encode(message).finish()
|
|
2430
|
+
};
|
|
2431
|
+
}
|
|
2432
|
+
};
|
|
2433
|
+
GlobalDecoderRegistry.register(QueryLeaseByCustomDomainRequest.typeUrl, QueryLeaseByCustomDomainRequest);
|
|
2434
|
+
function createBaseQueryLeaseByCustomDomainResponse() {
|
|
2435
|
+
return {
|
|
2436
|
+
lease: Lease.fromPartial({}),
|
|
2437
|
+
serviceName: ""
|
|
2438
|
+
};
|
|
2439
|
+
}
|
|
2440
|
+
export const QueryLeaseByCustomDomainResponse = {
|
|
2441
|
+
typeUrl: "/liftedinit.billing.v1.QueryLeaseByCustomDomainResponse",
|
|
2442
|
+
is(o) {
|
|
2443
|
+
return o && (o.$typeUrl === QueryLeaseByCustomDomainResponse.typeUrl || Lease.is(o.lease) && typeof o.serviceName === "string");
|
|
2444
|
+
},
|
|
2445
|
+
isSDK(o) {
|
|
2446
|
+
return o && (o.$typeUrl === QueryLeaseByCustomDomainResponse.typeUrl || Lease.isSDK(o.lease) && typeof o.service_name === "string");
|
|
2447
|
+
},
|
|
2448
|
+
isAmino(o) {
|
|
2449
|
+
return o && (o.$typeUrl === QueryLeaseByCustomDomainResponse.typeUrl || Lease.isAmino(o.lease) && typeof o.service_name === "string");
|
|
2450
|
+
},
|
|
2451
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
2452
|
+
if (message.lease !== undefined) {
|
|
2453
|
+
Lease.encode(message.lease, writer.uint32(10).fork()).ldelim();
|
|
2454
|
+
}
|
|
2455
|
+
if (message.serviceName !== "") {
|
|
2456
|
+
writer.uint32(18).string(message.serviceName);
|
|
2457
|
+
}
|
|
2458
|
+
return writer;
|
|
2459
|
+
},
|
|
2460
|
+
decode(input, length) {
|
|
2461
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2462
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2463
|
+
const message = createBaseQueryLeaseByCustomDomainResponse();
|
|
2464
|
+
while (reader.pos < end) {
|
|
2465
|
+
const tag = reader.uint32();
|
|
2466
|
+
switch (tag >>> 3) {
|
|
2467
|
+
case 1:
|
|
2468
|
+
message.lease = Lease.decode(reader, reader.uint32());
|
|
2469
|
+
break;
|
|
2470
|
+
case 2:
|
|
2471
|
+
message.serviceName = reader.string();
|
|
2472
|
+
break;
|
|
2473
|
+
default:
|
|
2474
|
+
reader.skipType(tag & 7);
|
|
2475
|
+
break;
|
|
2476
|
+
}
|
|
2477
|
+
}
|
|
2478
|
+
return message;
|
|
2479
|
+
},
|
|
2480
|
+
fromJSON(object) {
|
|
2481
|
+
return {
|
|
2482
|
+
lease: isSet(object.lease) ? Lease.fromJSON(object.lease) : undefined,
|
|
2483
|
+
serviceName: isSet(object.serviceName) ? String(object.serviceName) : ""
|
|
2484
|
+
};
|
|
2485
|
+
},
|
|
2486
|
+
toJSON(message) {
|
|
2487
|
+
const obj = {};
|
|
2488
|
+
message.lease !== undefined && (obj.lease = message.lease ? Lease.toJSON(message.lease) : undefined);
|
|
2489
|
+
message.serviceName !== undefined && (obj.serviceName = message.serviceName);
|
|
2490
|
+
return obj;
|
|
2491
|
+
},
|
|
2492
|
+
fromPartial(object) {
|
|
2493
|
+
const message = createBaseQueryLeaseByCustomDomainResponse();
|
|
2494
|
+
message.lease = object.lease !== undefined && object.lease !== null ? Lease.fromPartial(object.lease) : undefined;
|
|
2495
|
+
message.serviceName = object.serviceName ?? "";
|
|
2496
|
+
return message;
|
|
2497
|
+
},
|
|
2498
|
+
fromAmino(object) {
|
|
2499
|
+
const message = createBaseQueryLeaseByCustomDomainResponse();
|
|
2500
|
+
if (object.lease !== undefined && object.lease !== null) {
|
|
2501
|
+
message.lease = Lease.fromAmino(object.lease);
|
|
2502
|
+
}
|
|
2503
|
+
if (object.service_name !== undefined && object.service_name !== null) {
|
|
2504
|
+
message.serviceName = object.service_name;
|
|
2505
|
+
}
|
|
2506
|
+
return message;
|
|
2507
|
+
},
|
|
2508
|
+
toAmino(message) {
|
|
2509
|
+
const obj = {};
|
|
2510
|
+
obj.lease = message.lease ? Lease.toAmino(message.lease) : Lease.toAmino(Lease.fromPartial({}));
|
|
2511
|
+
obj.service_name = message.serviceName === "" ? undefined : message.serviceName;
|
|
2512
|
+
return obj;
|
|
2513
|
+
},
|
|
2514
|
+
fromAminoMsg(object) {
|
|
2515
|
+
return QueryLeaseByCustomDomainResponse.fromAmino(object.value);
|
|
2516
|
+
},
|
|
2517
|
+
fromProtoMsg(message) {
|
|
2518
|
+
return QueryLeaseByCustomDomainResponse.decode(message.value);
|
|
2519
|
+
},
|
|
2520
|
+
toProto(message) {
|
|
2521
|
+
return QueryLeaseByCustomDomainResponse.encode(message).finish();
|
|
2522
|
+
},
|
|
2523
|
+
toProtoMsg(message) {
|
|
2524
|
+
return {
|
|
2525
|
+
typeUrl: "/liftedinit.billing.v1.QueryLeaseByCustomDomainResponse",
|
|
2526
|
+
value: QueryLeaseByCustomDomainResponse.encode(message).finish()
|
|
2527
|
+
};
|
|
2528
|
+
}
|
|
2529
|
+
};
|
|
2530
|
+
GlobalDecoderRegistry.register(QueryLeaseByCustomDomainResponse.typeUrl, QueryLeaseByCustomDomainResponse);
|
|
2351
2531
|
//# sourceMappingURL=query.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TxRpc } from "../../../types";
|
|
2
2
|
import { QueryClient } from "@cosmjs/stargate";
|
|
3
|
-
import { QueryParamsRequest, QueryParamsResponse, QueryLeaseRequest, QueryLeaseResponse, QueryLeasesRequest, QueryLeasesResponse, QueryLeasesByTenantRequest, QueryLeasesByTenantResponse, QueryLeasesByProviderRequest, QueryLeasesByProviderResponse, QueryCreditAccountRequest, QueryCreditAccountResponse, QueryCreditAddressRequest, QueryCreditAddressResponse, QueryWithdrawableAmountRequest, QueryWithdrawableAmountResponse, QueryProviderWithdrawableRequest, QueryProviderWithdrawableResponse, QueryCreditAccountsRequest, QueryCreditAccountsResponse, QueryLeasesBySKURequest, QueryLeasesBySKUResponse, QueryCreditEstimateRequest, QueryCreditEstimateResponse } from "./query";
|
|
3
|
+
import { QueryParamsRequest, QueryParamsResponse, QueryLeaseRequest, QueryLeaseResponse, QueryLeasesRequest, QueryLeasesResponse, QueryLeasesByTenantRequest, QueryLeasesByTenantResponse, QueryLeasesByProviderRequest, QueryLeasesByProviderResponse, QueryCreditAccountRequest, QueryCreditAccountResponse, QueryCreditAddressRequest, QueryCreditAddressResponse, QueryWithdrawableAmountRequest, QueryWithdrawableAmountResponse, QueryProviderWithdrawableRequest, QueryProviderWithdrawableResponse, QueryCreditAccountsRequest, QueryCreditAccountsResponse, QueryLeasesBySKURequest, QueryLeasesBySKUResponse, QueryCreditEstimateRequest, QueryCreditEstimateResponse, QueryLeaseByCustomDomainRequest, QueryLeaseByCustomDomainResponse } from "./query";
|
|
4
4
|
/** Query defines the gRPC querier service for the billing module. */
|
|
5
5
|
export interface Query {
|
|
6
6
|
/** Params queries the module parameters. */
|
|
@@ -27,6 +27,11 @@ export interface Query {
|
|
|
27
27
|
leasesBySKU(request: QueryLeasesBySKURequest): Promise<QueryLeasesBySKUResponse>;
|
|
28
28
|
/** CreditEstimate estimates remaining lease duration for a tenant. */
|
|
29
29
|
creditEstimate(request: QueryCreditEstimateRequest): Promise<QueryCreditEstimateResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* LeaseByCustomDomain returns the active or pending lease that has claimed
|
|
32
|
+
* the given custom_domain, if any.
|
|
33
|
+
*/
|
|
34
|
+
leaseByCustomDomain(request: QueryLeaseByCustomDomainRequest): Promise<QueryLeaseByCustomDomainResponse>;
|
|
30
35
|
}
|
|
31
36
|
export declare class QueryClientImpl implements Query {
|
|
32
37
|
private readonly rpc;
|
|
@@ -43,6 +48,7 @@ export declare class QueryClientImpl implements Query {
|
|
|
43
48
|
creditAccounts: (request?: QueryCreditAccountsRequest) => Promise<QueryCreditAccountsResponse>;
|
|
44
49
|
leasesBySKU: (request: QueryLeasesBySKURequest) => Promise<QueryLeasesBySKUResponse>;
|
|
45
50
|
creditEstimate: (request: QueryCreditEstimateRequest) => Promise<QueryCreditEstimateResponse>;
|
|
51
|
+
leaseByCustomDomain: (request: QueryLeaseByCustomDomainRequest) => Promise<QueryLeaseByCustomDomainResponse>;
|
|
46
52
|
}
|
|
47
53
|
export declare const createRpcQueryExtension: (base: QueryClient) => {
|
|
48
54
|
params(request?: QueryParamsRequest): Promise<QueryParamsResponse>;
|
|
@@ -57,4 +63,5 @@ export declare const createRpcQueryExtension: (base: QueryClient) => {
|
|
|
57
63
|
creditAccounts(request?: QueryCreditAccountsRequest): Promise<QueryCreditAccountsResponse>;
|
|
58
64
|
leasesBySKU(request: QueryLeasesBySKURequest): Promise<QueryLeasesBySKUResponse>;
|
|
59
65
|
creditEstimate(request: QueryCreditEstimateRequest): Promise<QueryCreditEstimateResponse>;
|
|
66
|
+
leaseByCustomDomain(request: QueryLeaseByCustomDomainRequest): Promise<QueryLeaseByCustomDomainResponse>;
|
|
60
67
|
};
|
|
@@ -83,6 +83,13 @@ class QueryClientImpl {
|
|
|
83
83
|
const promise = this.rpc.request("liftedinit.billing.v1.Query", "CreditEstimate", data);
|
|
84
84
|
return promise.then(data => query_1.QueryCreditEstimateResponse.decode(new binary_1.BinaryReader(data)));
|
|
85
85
|
};
|
|
86
|
+
/* LeaseByCustomDomain returns the active or pending lease that has claimed
|
|
87
|
+
the given custom_domain, if any. */
|
|
88
|
+
leaseByCustomDomain = async (request) => {
|
|
89
|
+
const data = query_1.QueryLeaseByCustomDomainRequest.encode(request).finish();
|
|
90
|
+
const promise = this.rpc.request("liftedinit.billing.v1.Query", "LeaseByCustomDomain", data);
|
|
91
|
+
return promise.then(data => query_1.QueryLeaseByCustomDomainResponse.decode(new binary_1.BinaryReader(data)));
|
|
92
|
+
};
|
|
86
93
|
}
|
|
87
94
|
exports.QueryClientImpl = QueryClientImpl;
|
|
88
95
|
const createRpcQueryExtension = (base) => {
|
|
@@ -124,6 +131,9 @@ const createRpcQueryExtension = (base) => {
|
|
|
124
131
|
},
|
|
125
132
|
creditEstimate(request) {
|
|
126
133
|
return queryService.creditEstimate(request);
|
|
134
|
+
},
|
|
135
|
+
leaseByCustomDomain(request) {
|
|
136
|
+
return queryService.leaseByCustomDomain(request);
|
|
127
137
|
}
|
|
128
138
|
};
|
|
129
139
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query.rpc.Query.js","sourceRoot":"","sources":["../../../../../src/codegen/liftedinit/billing/v1/query.rpc.Query.ts"],"names":[],"mappings":";;;AACA,4CAA+C;AAC/C,+CAAwE;AACxE,
|
|
1
|
+
{"version":3,"file":"query.rpc.Query.js","sourceRoot":"","sources":["../../../../../src/codegen/liftedinit/billing/v1/query.rpc.Query.ts"],"names":[],"mappings":";;;AACA,4CAA+C;AAC/C,+CAAwE;AACxE,mCAAouB;AAiCpuB,MAAa,eAAe;IACT,GAAG,CAAQ;IAC5B,YAAY,GAAU;QACpB,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;IACjB,CAAC;IACD,2CAA2C;IAC3C,MAAM,GAAG,KAAK,EAAE,UAA8B,EAAE,EAAgC,EAAE;QAChF,MAAM,IAAI,GAAG,0BAAkB,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,CAAC;QACzD,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,6BAA6B,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC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AAO,CAAC,CAAC;QACpD,CAAC;QACD,cAAc,CAAC,OAAoC;YACjD,OAAO,YAAY,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;QAC9C,CAAC;QACD,WAAW,CAAC,OAAgC;YAC1C,OAAO,YAAY,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;QAC3C,CAAC;QACD,cAAc,CAAC,OAAmC;YAChD,OAAO,YAAY,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;QAC9C,CAAC;QACD,mBAAmB,CAAC,OAAwC;YAC1D,OAAO,YAAY,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;QACnD,CAAC;KACF,CAAC;AACJ,CAAC,CAAC;AA5CW,QAAA,uBAAuB,2BA4ClC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BinaryReader } from "../../../binary";
|
|
2
2
|
import { createProtobufRpcClient } from "@cosmjs/stargate";
|
|
3
|
-
import { QueryParamsRequest, QueryParamsResponse, QueryLeaseRequest, QueryLeaseResponse, QueryLeasesRequest, QueryLeasesResponse, QueryLeasesByTenantRequest, QueryLeasesByTenantResponse, QueryLeasesByProviderRequest, QueryLeasesByProviderResponse, QueryCreditAccountRequest, QueryCreditAccountResponse, QueryCreditAddressRequest, QueryCreditAddressResponse, QueryWithdrawableAmountRequest, QueryWithdrawableAmountResponse, QueryProviderWithdrawableRequest, QueryProviderWithdrawableResponse, QueryCreditAccountsRequest, QueryCreditAccountsResponse, QueryLeasesBySKURequest, QueryLeasesBySKUResponse, QueryCreditEstimateRequest, QueryCreditEstimateResponse } from "./query";
|
|
3
|
+
import { QueryParamsRequest, QueryParamsResponse, QueryLeaseRequest, QueryLeaseResponse, QueryLeasesRequest, QueryLeasesResponse, QueryLeasesByTenantRequest, QueryLeasesByTenantResponse, QueryLeasesByProviderRequest, QueryLeasesByProviderResponse, QueryCreditAccountRequest, QueryCreditAccountResponse, QueryCreditAddressRequest, QueryCreditAddressResponse, QueryWithdrawableAmountRequest, QueryWithdrawableAmountResponse, QueryProviderWithdrawableRequest, QueryProviderWithdrawableResponse, QueryCreditAccountsRequest, QueryCreditAccountsResponse, QueryLeasesBySKURequest, QueryLeasesBySKUResponse, QueryCreditEstimateRequest, QueryCreditEstimateResponse, QueryLeaseByCustomDomainRequest, QueryLeaseByCustomDomainResponse } from "./query";
|
|
4
4
|
export class QueryClientImpl {
|
|
5
5
|
rpc;
|
|
6
6
|
constructor(rpc) {
|
|
@@ -80,6 +80,13 @@ export class QueryClientImpl {
|
|
|
80
80
|
const promise = this.rpc.request("liftedinit.billing.v1.Query", "CreditEstimate", data);
|
|
81
81
|
return promise.then(data => QueryCreditEstimateResponse.decode(new BinaryReader(data)));
|
|
82
82
|
};
|
|
83
|
+
/* LeaseByCustomDomain returns the active or pending lease that has claimed
|
|
84
|
+
the given custom_domain, if any. */
|
|
85
|
+
leaseByCustomDomain = async (request) => {
|
|
86
|
+
const data = QueryLeaseByCustomDomainRequest.encode(request).finish();
|
|
87
|
+
const promise = this.rpc.request("liftedinit.billing.v1.Query", "LeaseByCustomDomain", data);
|
|
88
|
+
return promise.then(data => QueryLeaseByCustomDomainResponse.decode(new BinaryReader(data)));
|
|
89
|
+
};
|
|
83
90
|
}
|
|
84
91
|
export const createRpcQueryExtension = (base) => {
|
|
85
92
|
const rpc = createProtobufRpcClient(base);
|
|
@@ -120,6 +127,9 @@ export const createRpcQueryExtension = (base) => {
|
|
|
120
127
|
},
|
|
121
128
|
creditEstimate(request) {
|
|
122
129
|
return queryService.creditEstimate(request);
|
|
130
|
+
},
|
|
131
|
+
leaseByCustomDomain(request) {
|
|
132
|
+
return queryService.leaseByCustomDomain(request);
|
|
123
133
|
}
|
|
124
134
|
};
|
|
125
135
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MsgFundCredit, MsgCreateLease, MsgCreateLeaseForTenant, MsgAcknowledgeLease, MsgRejectLease, MsgCancelLease, MsgCloseLease, MsgWithdraw, MsgUpdateParams } from "./tx";
|
|
1
|
+
import { MsgFundCredit, MsgCreateLease, MsgCreateLeaseForTenant, MsgAcknowledgeLease, MsgRejectLease, MsgCancelLease, MsgCloseLease, MsgWithdraw, MsgUpdateParams, MsgSetItemCustomDomain } from "./tx";
|
|
2
2
|
export declare const AminoConverter: {
|
|
3
3
|
"/liftedinit.billing.v1.MsgFundCredit": {
|
|
4
4
|
aminoType: string;
|
|
@@ -45,4 +45,9 @@ export declare const AminoConverter: {
|
|
|
45
45
|
toAmino: (message: MsgUpdateParams) => import("./tx").MsgUpdateParamsAmino;
|
|
46
46
|
fromAmino: (object: import("./tx").MsgUpdateParamsAmino) => MsgUpdateParams;
|
|
47
47
|
};
|
|
48
|
+
"/liftedinit.billing.v1.MsgSetItemCustomDomain": {
|
|
49
|
+
aminoType: string;
|
|
50
|
+
toAmino: (message: MsgSetItemCustomDomain) => import("./tx").MsgSetItemCustomDomainAmino;
|
|
51
|
+
fromAmino: (object: import("./tx").MsgSetItemCustomDomainAmino) => MsgSetItemCustomDomain;
|
|
52
|
+
};
|
|
48
53
|
};
|
|
@@ -47,6 +47,11 @@ exports.AminoConverter = {
|
|
|
47
47
|
aminoType: "lifted/billing/MsgUpdateParams",
|
|
48
48
|
toAmino: tx_1.MsgUpdateParams.toAmino,
|
|
49
49
|
fromAmino: tx_1.MsgUpdateParams.fromAmino
|
|
50
|
+
},
|
|
51
|
+
"/liftedinit.billing.v1.MsgSetItemCustomDomain": {
|
|
52
|
+
aminoType: "lifted/billing/MsgSetItemCustomDomain",
|
|
53
|
+
toAmino: tx_1.MsgSetItemCustomDomain.toAmino,
|
|
54
|
+
fromAmino: tx_1.MsgSetItemCustomDomain.fromAmino
|
|
50
55
|
}
|
|
51
56
|
};
|
|
52
57
|
//# sourceMappingURL=tx.amino.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tx.amino.js","sourceRoot":"","sources":["../../../../../src/codegen/liftedinit/billing/v1/tx.amino.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"tx.amino.js","sourceRoot":"","sources":["../../../../../src/codegen/liftedinit/billing/v1/tx.amino.ts"],"names":[],"mappings":";;;AAAA,6BAAwM;AAC3L,QAAA,cAAc,GAAG;IAC5B,sCAAsC,EAAE;QACtC,SAAS,EAAE,8BAA8B;QACzC,OAAO,EAAE,kBAAa,CAAC,OAAO;QAC9B,SAAS,EAAE,kBAAa,CAAC,SAAS;KACnC;IACD,uCAAuC,EAAE;QACvC,SAAS,EAAE,+BAA+B;QAC1C,OAAO,EAAE,mBAAc,CAAC,OAAO;QAC/B,SAAS,EAAE,mBAAc,CAAC,SAAS;KACpC;IACD,gDAAgD,EAAE;QAChD,SAAS,EAAE,wCAAwC;QACnD,OAAO,EAAE,4BAAuB,CAAC,OAAO;QACxC,SAAS,EAAE,4BAAuB,CAAC,SAAS;KAC7C;IACD,4CAA4C,EAAE;QAC5C,SAAS,EAAE,oCAAoC;QAC/C,OAAO,EAAE,wBAAmB,CAAC,OAAO;QACpC,SAAS,EAAE,wBAAmB,CAAC,SAAS;KACzC;IACD,uCAAuC,EAAE;QACvC,SAAS,EAAE,+BAA+B;QAC1C,OAAO,EAAE,mBAAc,CAAC,OAAO;QAC/B,SAAS,EAAE,mBAAc,CAAC,SAAS;KACpC;IACD,uCAAuC,EAAE;QACvC,SAAS,EAAE,+BAA+B;QAC1C,OAAO,EAAE,mBAAc,CAAC,OAAO;QAC/B,SAAS,EAAE,mBAAc,CAAC,SAAS;KACpC;IACD,sCAAsC,EAAE;QACtC,SAAS,EAAE,8BAA8B;QACzC,OAAO,EAAE,kBAAa,CAAC,OAAO;QAC9B,SAAS,EAAE,kBAAa,CAAC,SAAS;KACnC;IACD,oCAAoC,EAAE;QACpC,SAAS,EAAE,4BAA4B;QACvC,OAAO,EAAE,gBAAW,CAAC,OAAO;QAC5B,SAAS,EAAE,gBAAW,CAAC,SAAS;KACjC;IACD,wCAAwC,EAAE;QACxC,SAAS,EAAE,gCAAgC;QAC3C,OAAO,EAAE,oBAAe,CAAC,OAAO;QAChC,SAAS,EAAE,oBAAe,CAAC,SAAS;KACrC;IACD,+CAA+C,EAAE;QAC/C,SAAS,EAAE,uCAAuC;QAClD,OAAO,EAAE,2BAAsB,CAAC,OAAO;QACvC,SAAS,EAAE,2BAAsB,CAAC,SAAS;KAC5C;CACF,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MsgFundCredit, MsgCreateLease, MsgCreateLeaseForTenant, MsgAcknowledgeLease, MsgRejectLease, MsgCancelLease, MsgCloseLease, MsgWithdraw, MsgUpdateParams } from "./tx";
|
|
1
|
+
import { MsgFundCredit, MsgCreateLease, MsgCreateLeaseForTenant, MsgAcknowledgeLease, MsgRejectLease, MsgCancelLease, MsgCloseLease, MsgWithdraw, MsgUpdateParams, MsgSetItemCustomDomain } from "./tx";
|
|
2
2
|
export const AminoConverter = {
|
|
3
3
|
"/liftedinit.billing.v1.MsgFundCredit": {
|
|
4
4
|
aminoType: "lifted/billing/MsgFundCredit",
|
|
@@ -44,6 +44,11 @@ export const AminoConverter = {
|
|
|
44
44
|
aminoType: "lifted/billing/MsgUpdateParams",
|
|
45
45
|
toAmino: MsgUpdateParams.toAmino,
|
|
46
46
|
fromAmino: MsgUpdateParams.fromAmino
|
|
47
|
+
},
|
|
48
|
+
"/liftedinit.billing.v1.MsgSetItemCustomDomain": {
|
|
49
|
+
aminoType: "lifted/billing/MsgSetItemCustomDomain",
|
|
50
|
+
toAmino: MsgSetItemCustomDomain.toAmino,
|
|
51
|
+
fromAmino: MsgSetItemCustomDomain.fromAmino
|
|
47
52
|
}
|
|
48
53
|
};
|
|
49
54
|
//# sourceMappingURL=tx.amino.js.map
|
|
@@ -715,6 +715,106 @@ export interface MsgCancelLeaseResponseSDKType {
|
|
|
715
715
|
cancelled_at: Date;
|
|
716
716
|
cancelled_count: bigint;
|
|
717
717
|
}
|
|
718
|
+
/**
|
|
719
|
+
* MsgSetItemCustomDomain sets or clears the custom_domain on a specific
|
|
720
|
+
* LeaseItem, identified by its service_name (the lease's commit-time uniqueness
|
|
721
|
+
* key). For a 1-item legacy lease, service_name is "". An empty custom_domain
|
|
722
|
+
* clears the field and frees the index entry.
|
|
723
|
+
*/
|
|
724
|
+
export interface MsgSetItemCustomDomain {
|
|
725
|
+
/**
|
|
726
|
+
* sender is the address signing the transaction. Must be the lease tenant,
|
|
727
|
+
* the module authority, or an address in params.allowed_list.
|
|
728
|
+
*/
|
|
729
|
+
sender: string;
|
|
730
|
+
/** lease_uuid is the UUID of the lease that owns the target item. */
|
|
731
|
+
leaseUuid: string;
|
|
732
|
+
/**
|
|
733
|
+
* service_name addresses the target LeaseItem. The keeper finds the unique
|
|
734
|
+
* item where item.service_name == this value. For a 1-item legacy lease
|
|
735
|
+
* (item.service_name == ""), pass "". Multi-item legacy leases cannot use
|
|
736
|
+
* custom_domain because the lookup would be ambiguous.
|
|
737
|
+
*/
|
|
738
|
+
serviceName: string;
|
|
739
|
+
/**
|
|
740
|
+
* custom_domain is the FQDN to assign. An empty string clears the field
|
|
741
|
+
* and removes any existing reverse-index entry.
|
|
742
|
+
*/
|
|
743
|
+
customDomain: string;
|
|
744
|
+
}
|
|
745
|
+
export interface MsgSetItemCustomDomainProtoMsg {
|
|
746
|
+
typeUrl: "/liftedinit.billing.v1.MsgSetItemCustomDomain";
|
|
747
|
+
value: Uint8Array;
|
|
748
|
+
}
|
|
749
|
+
/**
|
|
750
|
+
* MsgSetItemCustomDomain sets or clears the custom_domain on a specific
|
|
751
|
+
* LeaseItem, identified by its service_name (the lease's commit-time uniqueness
|
|
752
|
+
* key). For a 1-item legacy lease, service_name is "". An empty custom_domain
|
|
753
|
+
* clears the field and frees the index entry.
|
|
754
|
+
*/
|
|
755
|
+
export interface MsgSetItemCustomDomainAmino {
|
|
756
|
+
/**
|
|
757
|
+
* sender is the address signing the transaction. Must be the lease tenant,
|
|
758
|
+
* the module authority, or an address in params.allowed_list.
|
|
759
|
+
*/
|
|
760
|
+
sender?: string;
|
|
761
|
+
/** lease_uuid is the UUID of the lease that owns the target item. */
|
|
762
|
+
lease_uuid?: string;
|
|
763
|
+
/**
|
|
764
|
+
* service_name addresses the target LeaseItem. The keeper finds the unique
|
|
765
|
+
* item where item.service_name == this value. For a 1-item legacy lease
|
|
766
|
+
* (item.service_name == ""), pass "". Multi-item legacy leases cannot use
|
|
767
|
+
* custom_domain because the lookup would be ambiguous.
|
|
768
|
+
*/
|
|
769
|
+
service_name?: string;
|
|
770
|
+
/**
|
|
771
|
+
* custom_domain is the FQDN to assign. An empty string clears the field
|
|
772
|
+
* and removes any existing reverse-index entry.
|
|
773
|
+
*/
|
|
774
|
+
custom_domain?: string;
|
|
775
|
+
}
|
|
776
|
+
export interface MsgSetItemCustomDomainAminoMsg {
|
|
777
|
+
type: "lifted/billing/MsgSetItemCustomDomain";
|
|
778
|
+
value: MsgSetItemCustomDomainAmino;
|
|
779
|
+
}
|
|
780
|
+
/**
|
|
781
|
+
* MsgSetItemCustomDomain sets or clears the custom_domain on a specific
|
|
782
|
+
* LeaseItem, identified by its service_name (the lease's commit-time uniqueness
|
|
783
|
+
* key). For a 1-item legacy lease, service_name is "". An empty custom_domain
|
|
784
|
+
* clears the field and frees the index entry.
|
|
785
|
+
*/
|
|
786
|
+
export interface MsgSetItemCustomDomainSDKType {
|
|
787
|
+
sender: string;
|
|
788
|
+
lease_uuid: string;
|
|
789
|
+
service_name: string;
|
|
790
|
+
custom_domain: string;
|
|
791
|
+
}
|
|
792
|
+
/**
|
|
793
|
+
* MsgSetItemCustomDomainResponse is the response type for
|
|
794
|
+
* MsgSetItemCustomDomain.
|
|
795
|
+
*/
|
|
796
|
+
export interface MsgSetItemCustomDomainResponse {
|
|
797
|
+
}
|
|
798
|
+
export interface MsgSetItemCustomDomainResponseProtoMsg {
|
|
799
|
+
typeUrl: "/liftedinit.billing.v1.MsgSetItemCustomDomainResponse";
|
|
800
|
+
value: Uint8Array;
|
|
801
|
+
}
|
|
802
|
+
/**
|
|
803
|
+
* MsgSetItemCustomDomainResponse is the response type for
|
|
804
|
+
* MsgSetItemCustomDomain.
|
|
805
|
+
*/
|
|
806
|
+
export interface MsgSetItemCustomDomainResponseAmino {
|
|
807
|
+
}
|
|
808
|
+
export interface MsgSetItemCustomDomainResponseAminoMsg {
|
|
809
|
+
type: "/liftedinit.billing.v1.MsgSetItemCustomDomainResponse";
|
|
810
|
+
value: MsgSetItemCustomDomainResponseAmino;
|
|
811
|
+
}
|
|
812
|
+
/**
|
|
813
|
+
* MsgSetItemCustomDomainResponse is the response type for
|
|
814
|
+
* MsgSetItemCustomDomain.
|
|
815
|
+
*/
|
|
816
|
+
export interface MsgSetItemCustomDomainResponseSDKType {
|
|
817
|
+
}
|
|
718
818
|
export declare const LeaseItemInput: {
|
|
719
819
|
typeUrl: string;
|
|
720
820
|
aminoType: string;
|
|
@@ -1058,3 +1158,39 @@ export declare const MsgCancelLeaseResponse: {
|
|
|
1058
1158
|
toProto(message: MsgCancelLeaseResponse): Uint8Array;
|
|
1059
1159
|
toProtoMsg(message: MsgCancelLeaseResponse): MsgCancelLeaseResponseProtoMsg;
|
|
1060
1160
|
};
|
|
1161
|
+
export declare const MsgSetItemCustomDomain: {
|
|
1162
|
+
typeUrl: string;
|
|
1163
|
+
aminoType: string;
|
|
1164
|
+
is(o: any): o is MsgSetItemCustomDomain;
|
|
1165
|
+
isSDK(o: any): o is MsgSetItemCustomDomainSDKType;
|
|
1166
|
+
isAmino(o: any): o is MsgSetItemCustomDomainAmino;
|
|
1167
|
+
encode(message: MsgSetItemCustomDomain, writer?: BinaryWriter): BinaryWriter;
|
|
1168
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgSetItemCustomDomain;
|
|
1169
|
+
fromJSON(object: any): MsgSetItemCustomDomain;
|
|
1170
|
+
toJSON(message: MsgSetItemCustomDomain): JsonSafe<MsgSetItemCustomDomain>;
|
|
1171
|
+
fromPartial<I extends Exact<DeepPartial<MsgSetItemCustomDomain>, I>>(object: I): MsgSetItemCustomDomain;
|
|
1172
|
+
fromAmino(object: MsgSetItemCustomDomainAmino): MsgSetItemCustomDomain;
|
|
1173
|
+
toAmino(message: MsgSetItemCustomDomain): MsgSetItemCustomDomainAmino;
|
|
1174
|
+
fromAminoMsg(object: MsgSetItemCustomDomainAminoMsg): MsgSetItemCustomDomain;
|
|
1175
|
+
toAminoMsg(message: MsgSetItemCustomDomain): MsgSetItemCustomDomainAminoMsg;
|
|
1176
|
+
fromProtoMsg(message: MsgSetItemCustomDomainProtoMsg): MsgSetItemCustomDomain;
|
|
1177
|
+
toProto(message: MsgSetItemCustomDomain): Uint8Array;
|
|
1178
|
+
toProtoMsg(message: MsgSetItemCustomDomain): MsgSetItemCustomDomainProtoMsg;
|
|
1179
|
+
};
|
|
1180
|
+
export declare const MsgSetItemCustomDomainResponse: {
|
|
1181
|
+
typeUrl: string;
|
|
1182
|
+
is(o: any): o is MsgSetItemCustomDomainResponse;
|
|
1183
|
+
isSDK(o: any): o is MsgSetItemCustomDomainResponseSDKType;
|
|
1184
|
+
isAmino(o: any): o is MsgSetItemCustomDomainResponseAmino;
|
|
1185
|
+
encode(_: MsgSetItemCustomDomainResponse, writer?: BinaryWriter): BinaryWriter;
|
|
1186
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgSetItemCustomDomainResponse;
|
|
1187
|
+
fromJSON(_: any): MsgSetItemCustomDomainResponse;
|
|
1188
|
+
toJSON(_: MsgSetItemCustomDomainResponse): JsonSafe<MsgSetItemCustomDomainResponse>;
|
|
1189
|
+
fromPartial<I extends Exact<DeepPartial<MsgSetItemCustomDomainResponse>, I>>(_: I): MsgSetItemCustomDomainResponse;
|
|
1190
|
+
fromAmino(_: MsgSetItemCustomDomainResponseAmino): MsgSetItemCustomDomainResponse;
|
|
1191
|
+
toAmino(_: MsgSetItemCustomDomainResponse): MsgSetItemCustomDomainResponseAmino;
|
|
1192
|
+
fromAminoMsg(object: MsgSetItemCustomDomainResponseAminoMsg): MsgSetItemCustomDomainResponse;
|
|
1193
|
+
fromProtoMsg(message: MsgSetItemCustomDomainResponseProtoMsg): MsgSetItemCustomDomainResponse;
|
|
1194
|
+
toProto(message: MsgSetItemCustomDomainResponse): Uint8Array;
|
|
1195
|
+
toProtoMsg(message: MsgSetItemCustomDomainResponse): MsgSetItemCustomDomainResponseProtoMsg;
|
|
1196
|
+
};
|