@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
|
@@ -815,6 +815,79 @@ export interface QueryCreditEstimateResponseSDKType {
|
|
|
815
815
|
estimated_duration_seconds: bigint;
|
|
816
816
|
active_lease_count: bigint;
|
|
817
817
|
}
|
|
818
|
+
/**
|
|
819
|
+
* QueryLeaseByCustomDomainRequest is the request type for the
|
|
820
|
+
* Query/LeaseByCustomDomain RPC method.
|
|
821
|
+
*/
|
|
822
|
+
export interface QueryLeaseByCustomDomainRequest {
|
|
823
|
+
/** custom_domain is the FQDN to look up. */
|
|
824
|
+
customDomain: string;
|
|
825
|
+
}
|
|
826
|
+
export interface QueryLeaseByCustomDomainRequestProtoMsg {
|
|
827
|
+
typeUrl: "/liftedinit.billing.v1.QueryLeaseByCustomDomainRequest";
|
|
828
|
+
value: Uint8Array;
|
|
829
|
+
}
|
|
830
|
+
/**
|
|
831
|
+
* QueryLeaseByCustomDomainRequest is the request type for the
|
|
832
|
+
* Query/LeaseByCustomDomain RPC method.
|
|
833
|
+
*/
|
|
834
|
+
export interface QueryLeaseByCustomDomainRequestAmino {
|
|
835
|
+
/** custom_domain is the FQDN to look up. */
|
|
836
|
+
custom_domain?: string;
|
|
837
|
+
}
|
|
838
|
+
export interface QueryLeaseByCustomDomainRequestAminoMsg {
|
|
839
|
+
type: "/liftedinit.billing.v1.QueryLeaseByCustomDomainRequest";
|
|
840
|
+
value: QueryLeaseByCustomDomainRequestAmino;
|
|
841
|
+
}
|
|
842
|
+
/**
|
|
843
|
+
* QueryLeaseByCustomDomainRequest is the request type for the
|
|
844
|
+
* Query/LeaseByCustomDomain RPC method.
|
|
845
|
+
*/
|
|
846
|
+
export interface QueryLeaseByCustomDomainRequestSDKType {
|
|
847
|
+
custom_domain: string;
|
|
848
|
+
}
|
|
849
|
+
/**
|
|
850
|
+
* QueryLeaseByCustomDomainResponse is the response type for the
|
|
851
|
+
* Query/LeaseByCustomDomain RPC method.
|
|
852
|
+
*/
|
|
853
|
+
export interface QueryLeaseByCustomDomainResponse {
|
|
854
|
+
/** lease is the lease that owns the LeaseItem holding this custom_domain. */
|
|
855
|
+
lease: Lease;
|
|
856
|
+
/**
|
|
857
|
+
* service_name identifies the specific LeaseItem within the lease.
|
|
858
|
+
* For a 1-item legacy lease, this is "".
|
|
859
|
+
*/
|
|
860
|
+
serviceName: string;
|
|
861
|
+
}
|
|
862
|
+
export interface QueryLeaseByCustomDomainResponseProtoMsg {
|
|
863
|
+
typeUrl: "/liftedinit.billing.v1.QueryLeaseByCustomDomainResponse";
|
|
864
|
+
value: Uint8Array;
|
|
865
|
+
}
|
|
866
|
+
/**
|
|
867
|
+
* QueryLeaseByCustomDomainResponse is the response type for the
|
|
868
|
+
* Query/LeaseByCustomDomain RPC method.
|
|
869
|
+
*/
|
|
870
|
+
export interface QueryLeaseByCustomDomainResponseAmino {
|
|
871
|
+
/** lease is the lease that owns the LeaseItem holding this custom_domain. */
|
|
872
|
+
lease: LeaseAmino;
|
|
873
|
+
/**
|
|
874
|
+
* service_name identifies the specific LeaseItem within the lease.
|
|
875
|
+
* For a 1-item legacy lease, this is "".
|
|
876
|
+
*/
|
|
877
|
+
service_name?: string;
|
|
878
|
+
}
|
|
879
|
+
export interface QueryLeaseByCustomDomainResponseAminoMsg {
|
|
880
|
+
type: "/liftedinit.billing.v1.QueryLeaseByCustomDomainResponse";
|
|
881
|
+
value: QueryLeaseByCustomDomainResponseAmino;
|
|
882
|
+
}
|
|
883
|
+
/**
|
|
884
|
+
* QueryLeaseByCustomDomainResponse is the response type for the
|
|
885
|
+
* Query/LeaseByCustomDomain RPC method.
|
|
886
|
+
*/
|
|
887
|
+
export interface QueryLeaseByCustomDomainResponseSDKType {
|
|
888
|
+
lease: LeaseSDKType;
|
|
889
|
+
service_name: string;
|
|
890
|
+
}
|
|
818
891
|
export declare const QueryParamsRequest: {
|
|
819
892
|
typeUrl: string;
|
|
820
893
|
is(o: any): o is QueryParamsRequest;
|
|
@@ -1223,3 +1296,37 @@ export declare const QueryCreditEstimateResponse: {
|
|
|
1223
1296
|
toProto(message: QueryCreditEstimateResponse): Uint8Array;
|
|
1224
1297
|
toProtoMsg(message: QueryCreditEstimateResponse): QueryCreditEstimateResponseProtoMsg;
|
|
1225
1298
|
};
|
|
1299
|
+
export declare const QueryLeaseByCustomDomainRequest: {
|
|
1300
|
+
typeUrl: string;
|
|
1301
|
+
is(o: any): o is QueryLeaseByCustomDomainRequest;
|
|
1302
|
+
isSDK(o: any): o is QueryLeaseByCustomDomainRequestSDKType;
|
|
1303
|
+
isAmino(o: any): o is QueryLeaseByCustomDomainRequestAmino;
|
|
1304
|
+
encode(message: QueryLeaseByCustomDomainRequest, writer?: BinaryWriter): BinaryWriter;
|
|
1305
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryLeaseByCustomDomainRequest;
|
|
1306
|
+
fromJSON(object: any): QueryLeaseByCustomDomainRequest;
|
|
1307
|
+
toJSON(message: QueryLeaseByCustomDomainRequest): JsonSafe<QueryLeaseByCustomDomainRequest>;
|
|
1308
|
+
fromPartial<I extends Exact<DeepPartial<QueryLeaseByCustomDomainRequest>, I>>(object: I): QueryLeaseByCustomDomainRequest;
|
|
1309
|
+
fromAmino(object: QueryLeaseByCustomDomainRequestAmino): QueryLeaseByCustomDomainRequest;
|
|
1310
|
+
toAmino(message: QueryLeaseByCustomDomainRequest): QueryLeaseByCustomDomainRequestAmino;
|
|
1311
|
+
fromAminoMsg(object: QueryLeaseByCustomDomainRequestAminoMsg): QueryLeaseByCustomDomainRequest;
|
|
1312
|
+
fromProtoMsg(message: QueryLeaseByCustomDomainRequestProtoMsg): QueryLeaseByCustomDomainRequest;
|
|
1313
|
+
toProto(message: QueryLeaseByCustomDomainRequest): Uint8Array;
|
|
1314
|
+
toProtoMsg(message: QueryLeaseByCustomDomainRequest): QueryLeaseByCustomDomainRequestProtoMsg;
|
|
1315
|
+
};
|
|
1316
|
+
export declare const QueryLeaseByCustomDomainResponse: {
|
|
1317
|
+
typeUrl: string;
|
|
1318
|
+
is(o: any): o is QueryLeaseByCustomDomainResponse;
|
|
1319
|
+
isSDK(o: any): o is QueryLeaseByCustomDomainResponseSDKType;
|
|
1320
|
+
isAmino(o: any): o is QueryLeaseByCustomDomainResponseAmino;
|
|
1321
|
+
encode(message: QueryLeaseByCustomDomainResponse, writer?: BinaryWriter): BinaryWriter;
|
|
1322
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryLeaseByCustomDomainResponse;
|
|
1323
|
+
fromJSON(object: any): QueryLeaseByCustomDomainResponse;
|
|
1324
|
+
toJSON(message: QueryLeaseByCustomDomainResponse): JsonSafe<QueryLeaseByCustomDomainResponse>;
|
|
1325
|
+
fromPartial<I extends Exact<DeepPartial<QueryLeaseByCustomDomainResponse>, I>>(object: I): QueryLeaseByCustomDomainResponse;
|
|
1326
|
+
fromAmino(object: QueryLeaseByCustomDomainResponseAmino): QueryLeaseByCustomDomainResponse;
|
|
1327
|
+
toAmino(message: QueryLeaseByCustomDomainResponse): QueryLeaseByCustomDomainResponseAmino;
|
|
1328
|
+
fromAminoMsg(object: QueryLeaseByCustomDomainResponseAminoMsg): QueryLeaseByCustomDomainResponse;
|
|
1329
|
+
fromProtoMsg(message: QueryLeaseByCustomDomainResponseProtoMsg): QueryLeaseByCustomDomainResponse;
|
|
1330
|
+
toProto(message: QueryLeaseByCustomDomainResponse): Uint8Array;
|
|
1331
|
+
toProtoMsg(message: QueryLeaseByCustomDomainResponse): QueryLeaseByCustomDomainResponseProtoMsg;
|
|
1332
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.QueryCreditEstimateResponse = exports.QueryCreditEstimateRequest = exports.QueryLeasesBySKUResponse = exports.QueryLeasesBySKURequest = exports.QueryCreditAccountsResponse = exports.QueryCreditAccountsRequest = exports.QueryProviderWithdrawableResponse = exports.QueryProviderWithdrawableRequest = exports.QueryWithdrawableAmountResponse = exports.QueryWithdrawableAmountRequest = exports.QueryCreditAddressResponse = exports.QueryCreditAddressRequest = exports.QueryCreditAccountResponse = exports.QueryCreditAccountRequest = exports.QueryLeasesByProviderResponse = exports.QueryLeasesByProviderRequest = exports.QueryLeasesByTenantResponse = exports.QueryLeasesByTenantRequest = exports.QueryLeasesResponse = exports.QueryLeasesRequest = exports.QueryLeaseResponse = exports.QueryLeaseRequest = exports.QueryParamsResponse = exports.QueryParamsRequest = void 0;
|
|
3
|
+
exports.QueryLeaseByCustomDomainResponse = exports.QueryLeaseByCustomDomainRequest = exports.QueryCreditEstimateResponse = exports.QueryCreditEstimateRequest = exports.QueryLeasesBySKUResponse = exports.QueryLeasesBySKURequest = exports.QueryCreditAccountsResponse = exports.QueryCreditAccountsRequest = exports.QueryProviderWithdrawableResponse = exports.QueryProviderWithdrawableRequest = exports.QueryWithdrawableAmountResponse = exports.QueryWithdrawableAmountRequest = exports.QueryCreditAddressResponse = exports.QueryCreditAddressRequest = exports.QueryCreditAccountResponse = exports.QueryCreditAccountRequest = exports.QueryLeasesByProviderResponse = exports.QueryLeasesByProviderRequest = exports.QueryLeasesByTenantResponse = exports.QueryLeasesByTenantRequest = exports.QueryLeasesResponse = exports.QueryLeasesRequest = exports.QueryLeaseResponse = exports.QueryLeaseRequest = exports.QueryParamsResponse = exports.QueryParamsRequest = void 0;
|
|
4
4
|
const pagination_1 = require("../../../cosmos/base/query/v1beta1/pagination");
|
|
5
5
|
const types_1 = require("./types");
|
|
6
6
|
const coin_1 = require("../../../cosmos/base/v1beta1/coin");
|
|
@@ -2351,4 +2351,184 @@ exports.QueryCreditEstimateResponse = {
|
|
|
2351
2351
|
}
|
|
2352
2352
|
};
|
|
2353
2353
|
registry_1.GlobalDecoderRegistry.register(exports.QueryCreditEstimateResponse.typeUrl, exports.QueryCreditEstimateResponse);
|
|
2354
|
+
function createBaseQueryLeaseByCustomDomainRequest() {
|
|
2355
|
+
return {
|
|
2356
|
+
customDomain: ""
|
|
2357
|
+
};
|
|
2358
|
+
}
|
|
2359
|
+
exports.QueryLeaseByCustomDomainRequest = {
|
|
2360
|
+
typeUrl: "/liftedinit.billing.v1.QueryLeaseByCustomDomainRequest",
|
|
2361
|
+
is(o) {
|
|
2362
|
+
return o && (o.$typeUrl === exports.QueryLeaseByCustomDomainRequest.typeUrl || typeof o.customDomain === "string");
|
|
2363
|
+
},
|
|
2364
|
+
isSDK(o) {
|
|
2365
|
+
return o && (o.$typeUrl === exports.QueryLeaseByCustomDomainRequest.typeUrl || typeof o.custom_domain === "string");
|
|
2366
|
+
},
|
|
2367
|
+
isAmino(o) {
|
|
2368
|
+
return o && (o.$typeUrl === exports.QueryLeaseByCustomDomainRequest.typeUrl || typeof o.custom_domain === "string");
|
|
2369
|
+
},
|
|
2370
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
2371
|
+
if (message.customDomain !== "") {
|
|
2372
|
+
writer.uint32(10).string(message.customDomain);
|
|
2373
|
+
}
|
|
2374
|
+
return writer;
|
|
2375
|
+
},
|
|
2376
|
+
decode(input, length) {
|
|
2377
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
2378
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2379
|
+
const message = createBaseQueryLeaseByCustomDomainRequest();
|
|
2380
|
+
while (reader.pos < end) {
|
|
2381
|
+
const tag = reader.uint32();
|
|
2382
|
+
switch (tag >>> 3) {
|
|
2383
|
+
case 1:
|
|
2384
|
+
message.customDomain = reader.string();
|
|
2385
|
+
break;
|
|
2386
|
+
default:
|
|
2387
|
+
reader.skipType(tag & 7);
|
|
2388
|
+
break;
|
|
2389
|
+
}
|
|
2390
|
+
}
|
|
2391
|
+
return message;
|
|
2392
|
+
},
|
|
2393
|
+
fromJSON(object) {
|
|
2394
|
+
return {
|
|
2395
|
+
customDomain: (0, helpers_1.isSet)(object.customDomain) ? String(object.customDomain) : ""
|
|
2396
|
+
};
|
|
2397
|
+
},
|
|
2398
|
+
toJSON(message) {
|
|
2399
|
+
const obj = {};
|
|
2400
|
+
message.customDomain !== undefined && (obj.customDomain = message.customDomain);
|
|
2401
|
+
return obj;
|
|
2402
|
+
},
|
|
2403
|
+
fromPartial(object) {
|
|
2404
|
+
const message = createBaseQueryLeaseByCustomDomainRequest();
|
|
2405
|
+
message.customDomain = object.customDomain ?? "";
|
|
2406
|
+
return message;
|
|
2407
|
+
},
|
|
2408
|
+
fromAmino(object) {
|
|
2409
|
+
const message = createBaseQueryLeaseByCustomDomainRequest();
|
|
2410
|
+
if (object.custom_domain !== undefined && object.custom_domain !== null) {
|
|
2411
|
+
message.customDomain = object.custom_domain;
|
|
2412
|
+
}
|
|
2413
|
+
return message;
|
|
2414
|
+
},
|
|
2415
|
+
toAmino(message) {
|
|
2416
|
+
const obj = {};
|
|
2417
|
+
obj.custom_domain = message.customDomain === "" ? undefined : message.customDomain;
|
|
2418
|
+
return obj;
|
|
2419
|
+
},
|
|
2420
|
+
fromAminoMsg(object) {
|
|
2421
|
+
return exports.QueryLeaseByCustomDomainRequest.fromAmino(object.value);
|
|
2422
|
+
},
|
|
2423
|
+
fromProtoMsg(message) {
|
|
2424
|
+
return exports.QueryLeaseByCustomDomainRequest.decode(message.value);
|
|
2425
|
+
},
|
|
2426
|
+
toProto(message) {
|
|
2427
|
+
return exports.QueryLeaseByCustomDomainRequest.encode(message).finish();
|
|
2428
|
+
},
|
|
2429
|
+
toProtoMsg(message) {
|
|
2430
|
+
return {
|
|
2431
|
+
typeUrl: "/liftedinit.billing.v1.QueryLeaseByCustomDomainRequest",
|
|
2432
|
+
value: exports.QueryLeaseByCustomDomainRequest.encode(message).finish()
|
|
2433
|
+
};
|
|
2434
|
+
}
|
|
2435
|
+
};
|
|
2436
|
+
registry_1.GlobalDecoderRegistry.register(exports.QueryLeaseByCustomDomainRequest.typeUrl, exports.QueryLeaseByCustomDomainRequest);
|
|
2437
|
+
function createBaseQueryLeaseByCustomDomainResponse() {
|
|
2438
|
+
return {
|
|
2439
|
+
lease: types_1.Lease.fromPartial({}),
|
|
2440
|
+
serviceName: ""
|
|
2441
|
+
};
|
|
2442
|
+
}
|
|
2443
|
+
exports.QueryLeaseByCustomDomainResponse = {
|
|
2444
|
+
typeUrl: "/liftedinit.billing.v1.QueryLeaseByCustomDomainResponse",
|
|
2445
|
+
is(o) {
|
|
2446
|
+
return o && (o.$typeUrl === exports.QueryLeaseByCustomDomainResponse.typeUrl || types_1.Lease.is(o.lease) && typeof o.serviceName === "string");
|
|
2447
|
+
},
|
|
2448
|
+
isSDK(o) {
|
|
2449
|
+
return o && (o.$typeUrl === exports.QueryLeaseByCustomDomainResponse.typeUrl || types_1.Lease.isSDK(o.lease) && typeof o.service_name === "string");
|
|
2450
|
+
},
|
|
2451
|
+
isAmino(o) {
|
|
2452
|
+
return o && (o.$typeUrl === exports.QueryLeaseByCustomDomainResponse.typeUrl || types_1.Lease.isAmino(o.lease) && typeof o.service_name === "string");
|
|
2453
|
+
},
|
|
2454
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
2455
|
+
if (message.lease !== undefined) {
|
|
2456
|
+
types_1.Lease.encode(message.lease, writer.uint32(10).fork()).ldelim();
|
|
2457
|
+
}
|
|
2458
|
+
if (message.serviceName !== "") {
|
|
2459
|
+
writer.uint32(18).string(message.serviceName);
|
|
2460
|
+
}
|
|
2461
|
+
return writer;
|
|
2462
|
+
},
|
|
2463
|
+
decode(input, length) {
|
|
2464
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
2465
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2466
|
+
const message = createBaseQueryLeaseByCustomDomainResponse();
|
|
2467
|
+
while (reader.pos < end) {
|
|
2468
|
+
const tag = reader.uint32();
|
|
2469
|
+
switch (tag >>> 3) {
|
|
2470
|
+
case 1:
|
|
2471
|
+
message.lease = types_1.Lease.decode(reader, reader.uint32());
|
|
2472
|
+
break;
|
|
2473
|
+
case 2:
|
|
2474
|
+
message.serviceName = reader.string();
|
|
2475
|
+
break;
|
|
2476
|
+
default:
|
|
2477
|
+
reader.skipType(tag & 7);
|
|
2478
|
+
break;
|
|
2479
|
+
}
|
|
2480
|
+
}
|
|
2481
|
+
return message;
|
|
2482
|
+
},
|
|
2483
|
+
fromJSON(object) {
|
|
2484
|
+
return {
|
|
2485
|
+
lease: (0, helpers_1.isSet)(object.lease) ? types_1.Lease.fromJSON(object.lease) : undefined,
|
|
2486
|
+
serviceName: (0, helpers_1.isSet)(object.serviceName) ? String(object.serviceName) : ""
|
|
2487
|
+
};
|
|
2488
|
+
},
|
|
2489
|
+
toJSON(message) {
|
|
2490
|
+
const obj = {};
|
|
2491
|
+
message.lease !== undefined && (obj.lease = message.lease ? types_1.Lease.toJSON(message.lease) : undefined);
|
|
2492
|
+
message.serviceName !== undefined && (obj.serviceName = message.serviceName);
|
|
2493
|
+
return obj;
|
|
2494
|
+
},
|
|
2495
|
+
fromPartial(object) {
|
|
2496
|
+
const message = createBaseQueryLeaseByCustomDomainResponse();
|
|
2497
|
+
message.lease = object.lease !== undefined && object.lease !== null ? types_1.Lease.fromPartial(object.lease) : undefined;
|
|
2498
|
+
message.serviceName = object.serviceName ?? "";
|
|
2499
|
+
return message;
|
|
2500
|
+
},
|
|
2501
|
+
fromAmino(object) {
|
|
2502
|
+
const message = createBaseQueryLeaseByCustomDomainResponse();
|
|
2503
|
+
if (object.lease !== undefined && object.lease !== null) {
|
|
2504
|
+
message.lease = types_1.Lease.fromAmino(object.lease);
|
|
2505
|
+
}
|
|
2506
|
+
if (object.service_name !== undefined && object.service_name !== null) {
|
|
2507
|
+
message.serviceName = object.service_name;
|
|
2508
|
+
}
|
|
2509
|
+
return message;
|
|
2510
|
+
},
|
|
2511
|
+
toAmino(message) {
|
|
2512
|
+
const obj = {};
|
|
2513
|
+
obj.lease = message.lease ? types_1.Lease.toAmino(message.lease) : types_1.Lease.toAmino(types_1.Lease.fromPartial({}));
|
|
2514
|
+
obj.service_name = message.serviceName === "" ? undefined : message.serviceName;
|
|
2515
|
+
return obj;
|
|
2516
|
+
},
|
|
2517
|
+
fromAminoMsg(object) {
|
|
2518
|
+
return exports.QueryLeaseByCustomDomainResponse.fromAmino(object.value);
|
|
2519
|
+
},
|
|
2520
|
+
fromProtoMsg(message) {
|
|
2521
|
+
return exports.QueryLeaseByCustomDomainResponse.decode(message.value);
|
|
2522
|
+
},
|
|
2523
|
+
toProto(message) {
|
|
2524
|
+
return exports.QueryLeaseByCustomDomainResponse.encode(message).finish();
|
|
2525
|
+
},
|
|
2526
|
+
toProtoMsg(message) {
|
|
2527
|
+
return {
|
|
2528
|
+
typeUrl: "/liftedinit.billing.v1.QueryLeaseByCustomDomainResponse",
|
|
2529
|
+
value: exports.QueryLeaseByCustomDomainResponse.encode(message).finish()
|
|
2530
|
+
};
|
|
2531
|
+
}
|
|
2532
|
+
};
|
|
2533
|
+
registry_1.GlobalDecoderRegistry.register(exports.QueryLeaseByCustomDomainResponse.typeUrl, exports.QueryLeaseByCustomDomainResponse);
|
|
2354
2534
|
//# sourceMappingURL=query.js.map
|