@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
|
@@ -363,6 +363,13 @@ export interface MsgWithdraw {
|
|
|
363
363
|
* Ignored when lease_uuids is specified.
|
|
364
364
|
*/
|
|
365
365
|
limit: bigint;
|
|
366
|
+
/**
|
|
367
|
+
* key is an opaque pagination cursor for provider-wide mode. Echo back the
|
|
368
|
+
* next_key returned by the previous MsgWithdrawResponse to continue paging;
|
|
369
|
+
* empty starts from the beginning. Must not be set when lease_uuids is
|
|
370
|
+
* specified (rejected by ValidateBasic).
|
|
371
|
+
*/
|
|
372
|
+
key: Uint8Array;
|
|
366
373
|
}
|
|
367
374
|
export interface MsgWithdrawProtoMsg {
|
|
368
375
|
typeUrl: "/liftedinit.billing.v1.MsgWithdraw";
|
|
@@ -395,6 +402,13 @@ export interface MsgWithdrawAmino {
|
|
|
395
402
|
* Ignored when lease_uuids is specified.
|
|
396
403
|
*/
|
|
397
404
|
limit?: string;
|
|
405
|
+
/**
|
|
406
|
+
* key is an opaque pagination cursor for provider-wide mode. Echo back the
|
|
407
|
+
* next_key returned by the previous MsgWithdrawResponse to continue paging;
|
|
408
|
+
* empty starts from the beginning. Must not be set when lease_uuids is
|
|
409
|
+
* specified (rejected by ValidateBasic).
|
|
410
|
+
*/
|
|
411
|
+
key?: string;
|
|
398
412
|
}
|
|
399
413
|
export interface MsgWithdrawAminoMsg {
|
|
400
414
|
type: "lifted/billing/MsgWithdraw";
|
|
@@ -412,6 +426,7 @@ export interface MsgWithdrawSDKType {
|
|
|
412
426
|
lease_uuids: string[];
|
|
413
427
|
provider_uuid: string;
|
|
414
428
|
limit: bigint;
|
|
429
|
+
key: Uint8Array;
|
|
415
430
|
}
|
|
416
431
|
/** MsgWithdrawResponse is the response type for MsgWithdraw. */
|
|
417
432
|
export interface MsgWithdrawResponse {
|
|
@@ -426,6 +441,13 @@ export interface MsgWithdrawResponse {
|
|
|
426
441
|
* Always false when using lease_uuids mode.
|
|
427
442
|
*/
|
|
428
443
|
hasMore: boolean;
|
|
444
|
+
/**
|
|
445
|
+
* next_key is the opaque cursor to pass as MsgWithdraw.key to fetch the next
|
|
446
|
+
* page in provider-wide mode. It is non-empty if and only if has_more is
|
|
447
|
+
* true; an empty next_key means there are no more leases. Always empty in
|
|
448
|
+
* lease_uuids mode.
|
|
449
|
+
*/
|
|
450
|
+
nextKey: Uint8Array;
|
|
429
451
|
}
|
|
430
452
|
export interface MsgWithdrawResponseProtoMsg {
|
|
431
453
|
typeUrl: "/liftedinit.billing.v1.MsgWithdrawResponse";
|
|
@@ -444,6 +466,13 @@ export interface MsgWithdrawResponseAmino {
|
|
|
444
466
|
* Always false when using lease_uuids mode.
|
|
445
467
|
*/
|
|
446
468
|
has_more?: boolean;
|
|
469
|
+
/**
|
|
470
|
+
* next_key is the opaque cursor to pass as MsgWithdraw.key to fetch the next
|
|
471
|
+
* page in provider-wide mode. It is non-empty if and only if has_more is
|
|
472
|
+
* true; an empty next_key means there are no more leases. Always empty in
|
|
473
|
+
* lease_uuids mode.
|
|
474
|
+
*/
|
|
475
|
+
next_key?: string;
|
|
447
476
|
}
|
|
448
477
|
export interface MsgWithdrawResponseAminoMsg {
|
|
449
478
|
type: "/liftedinit.billing.v1.MsgWithdrawResponse";
|
|
@@ -455,6 +484,7 @@ export interface MsgWithdrawResponseSDKType {
|
|
|
455
484
|
payout_address: string;
|
|
456
485
|
withdrawal_count: bigint;
|
|
457
486
|
has_more: boolean;
|
|
487
|
+
next_key: Uint8Array;
|
|
458
488
|
}
|
|
459
489
|
/** MsgUpdateParams updates the module parameters. */
|
|
460
490
|
export interface MsgUpdateParams {
|
|
@@ -715,6 +745,106 @@ export interface MsgCancelLeaseResponseSDKType {
|
|
|
715
745
|
cancelled_at: Date;
|
|
716
746
|
cancelled_count: bigint;
|
|
717
747
|
}
|
|
748
|
+
/**
|
|
749
|
+
* MsgSetItemCustomDomain sets or clears the custom_domain on a specific
|
|
750
|
+
* LeaseItem, identified by its service_name (the lease's commit-time uniqueness
|
|
751
|
+
* key). For a 1-item legacy lease, service_name is "". An empty custom_domain
|
|
752
|
+
* clears the field and frees the index entry.
|
|
753
|
+
*/
|
|
754
|
+
export interface MsgSetItemCustomDomain {
|
|
755
|
+
/**
|
|
756
|
+
* sender is the address signing the transaction. Must be the lease tenant,
|
|
757
|
+
* the module authority, or an address in params.allowed_list.
|
|
758
|
+
*/
|
|
759
|
+
sender: string;
|
|
760
|
+
/** lease_uuid is the UUID of the lease that owns the target item. */
|
|
761
|
+
leaseUuid: string;
|
|
762
|
+
/**
|
|
763
|
+
* service_name addresses the target LeaseItem. The keeper finds the unique
|
|
764
|
+
* item where item.service_name == this value. For a 1-item legacy lease
|
|
765
|
+
* (item.service_name == ""), pass "". Multi-item legacy leases cannot use
|
|
766
|
+
* custom_domain because the lookup would be ambiguous.
|
|
767
|
+
*/
|
|
768
|
+
serviceName: string;
|
|
769
|
+
/**
|
|
770
|
+
* custom_domain is the FQDN to assign. An empty string clears the field
|
|
771
|
+
* and removes any existing reverse-index entry.
|
|
772
|
+
*/
|
|
773
|
+
customDomain: string;
|
|
774
|
+
}
|
|
775
|
+
export interface MsgSetItemCustomDomainProtoMsg {
|
|
776
|
+
typeUrl: "/liftedinit.billing.v1.MsgSetItemCustomDomain";
|
|
777
|
+
value: Uint8Array;
|
|
778
|
+
}
|
|
779
|
+
/**
|
|
780
|
+
* MsgSetItemCustomDomain sets or clears the custom_domain on a specific
|
|
781
|
+
* LeaseItem, identified by its service_name (the lease's commit-time uniqueness
|
|
782
|
+
* key). For a 1-item legacy lease, service_name is "". An empty custom_domain
|
|
783
|
+
* clears the field and frees the index entry.
|
|
784
|
+
*/
|
|
785
|
+
export interface MsgSetItemCustomDomainAmino {
|
|
786
|
+
/**
|
|
787
|
+
* sender is the address signing the transaction. Must be the lease tenant,
|
|
788
|
+
* the module authority, or an address in params.allowed_list.
|
|
789
|
+
*/
|
|
790
|
+
sender?: string;
|
|
791
|
+
/** lease_uuid is the UUID of the lease that owns the target item. */
|
|
792
|
+
lease_uuid?: string;
|
|
793
|
+
/**
|
|
794
|
+
* service_name addresses the target LeaseItem. The keeper finds the unique
|
|
795
|
+
* item where item.service_name == this value. For a 1-item legacy lease
|
|
796
|
+
* (item.service_name == ""), pass "". Multi-item legacy leases cannot use
|
|
797
|
+
* custom_domain because the lookup would be ambiguous.
|
|
798
|
+
*/
|
|
799
|
+
service_name?: string;
|
|
800
|
+
/**
|
|
801
|
+
* custom_domain is the FQDN to assign. An empty string clears the field
|
|
802
|
+
* and removes any existing reverse-index entry.
|
|
803
|
+
*/
|
|
804
|
+
custom_domain?: string;
|
|
805
|
+
}
|
|
806
|
+
export interface MsgSetItemCustomDomainAminoMsg {
|
|
807
|
+
type: "lifted/billing/MsgSetItemCustomDomain";
|
|
808
|
+
value: MsgSetItemCustomDomainAmino;
|
|
809
|
+
}
|
|
810
|
+
/**
|
|
811
|
+
* MsgSetItemCustomDomain sets or clears the custom_domain on a specific
|
|
812
|
+
* LeaseItem, identified by its service_name (the lease's commit-time uniqueness
|
|
813
|
+
* key). For a 1-item legacy lease, service_name is "". An empty custom_domain
|
|
814
|
+
* clears the field and frees the index entry.
|
|
815
|
+
*/
|
|
816
|
+
export interface MsgSetItemCustomDomainSDKType {
|
|
817
|
+
sender: string;
|
|
818
|
+
lease_uuid: string;
|
|
819
|
+
service_name: string;
|
|
820
|
+
custom_domain: string;
|
|
821
|
+
}
|
|
822
|
+
/**
|
|
823
|
+
* MsgSetItemCustomDomainResponse is the response type for
|
|
824
|
+
* MsgSetItemCustomDomain.
|
|
825
|
+
*/
|
|
826
|
+
export interface MsgSetItemCustomDomainResponse {
|
|
827
|
+
}
|
|
828
|
+
export interface MsgSetItemCustomDomainResponseProtoMsg {
|
|
829
|
+
typeUrl: "/liftedinit.billing.v1.MsgSetItemCustomDomainResponse";
|
|
830
|
+
value: Uint8Array;
|
|
831
|
+
}
|
|
832
|
+
/**
|
|
833
|
+
* MsgSetItemCustomDomainResponse is the response type for
|
|
834
|
+
* MsgSetItemCustomDomain.
|
|
835
|
+
*/
|
|
836
|
+
export interface MsgSetItemCustomDomainResponseAmino {
|
|
837
|
+
}
|
|
838
|
+
export interface MsgSetItemCustomDomainResponseAminoMsg {
|
|
839
|
+
type: "/liftedinit.billing.v1.MsgSetItemCustomDomainResponse";
|
|
840
|
+
value: MsgSetItemCustomDomainResponseAmino;
|
|
841
|
+
}
|
|
842
|
+
/**
|
|
843
|
+
* MsgSetItemCustomDomainResponse is the response type for
|
|
844
|
+
* MsgSetItemCustomDomain.
|
|
845
|
+
*/
|
|
846
|
+
export interface MsgSetItemCustomDomainResponseSDKType {
|
|
847
|
+
}
|
|
718
848
|
export declare const LeaseItemInput: {
|
|
719
849
|
typeUrl: string;
|
|
720
850
|
aminoType: string;
|
|
@@ -1058,3 +1188,39 @@ export declare const MsgCancelLeaseResponse: {
|
|
|
1058
1188
|
toProto(message: MsgCancelLeaseResponse): Uint8Array;
|
|
1059
1189
|
toProtoMsg(message: MsgCancelLeaseResponse): MsgCancelLeaseResponseProtoMsg;
|
|
1060
1190
|
};
|
|
1191
|
+
export declare const MsgSetItemCustomDomain: {
|
|
1192
|
+
typeUrl: string;
|
|
1193
|
+
aminoType: string;
|
|
1194
|
+
is(o: any): o is MsgSetItemCustomDomain;
|
|
1195
|
+
isSDK(o: any): o is MsgSetItemCustomDomainSDKType;
|
|
1196
|
+
isAmino(o: any): o is MsgSetItemCustomDomainAmino;
|
|
1197
|
+
encode(message: MsgSetItemCustomDomain, writer?: BinaryWriter): BinaryWriter;
|
|
1198
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgSetItemCustomDomain;
|
|
1199
|
+
fromJSON(object: any): MsgSetItemCustomDomain;
|
|
1200
|
+
toJSON(message: MsgSetItemCustomDomain): JsonSafe<MsgSetItemCustomDomain>;
|
|
1201
|
+
fromPartial<I extends Exact<DeepPartial<MsgSetItemCustomDomain>, I>>(object: I): MsgSetItemCustomDomain;
|
|
1202
|
+
fromAmino(object: MsgSetItemCustomDomainAmino): MsgSetItemCustomDomain;
|
|
1203
|
+
toAmino(message: MsgSetItemCustomDomain): MsgSetItemCustomDomainAmino;
|
|
1204
|
+
fromAminoMsg(object: MsgSetItemCustomDomainAminoMsg): MsgSetItemCustomDomain;
|
|
1205
|
+
toAminoMsg(message: MsgSetItemCustomDomain): MsgSetItemCustomDomainAminoMsg;
|
|
1206
|
+
fromProtoMsg(message: MsgSetItemCustomDomainProtoMsg): MsgSetItemCustomDomain;
|
|
1207
|
+
toProto(message: MsgSetItemCustomDomain): Uint8Array;
|
|
1208
|
+
toProtoMsg(message: MsgSetItemCustomDomain): MsgSetItemCustomDomainProtoMsg;
|
|
1209
|
+
};
|
|
1210
|
+
export declare const MsgSetItemCustomDomainResponse: {
|
|
1211
|
+
typeUrl: string;
|
|
1212
|
+
is(o: any): o is MsgSetItemCustomDomainResponse;
|
|
1213
|
+
isSDK(o: any): o is MsgSetItemCustomDomainResponseSDKType;
|
|
1214
|
+
isAmino(o: any): o is MsgSetItemCustomDomainResponseAmino;
|
|
1215
|
+
encode(_: MsgSetItemCustomDomainResponse, writer?: BinaryWriter): BinaryWriter;
|
|
1216
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgSetItemCustomDomainResponse;
|
|
1217
|
+
fromJSON(_: any): MsgSetItemCustomDomainResponse;
|
|
1218
|
+
toJSON(_: MsgSetItemCustomDomainResponse): JsonSafe<MsgSetItemCustomDomainResponse>;
|
|
1219
|
+
fromPartial<I extends Exact<DeepPartial<MsgSetItemCustomDomainResponse>, I>>(_: I): MsgSetItemCustomDomainResponse;
|
|
1220
|
+
fromAmino(_: MsgSetItemCustomDomainResponseAmino): MsgSetItemCustomDomainResponse;
|
|
1221
|
+
toAmino(_: MsgSetItemCustomDomainResponse): MsgSetItemCustomDomainResponseAmino;
|
|
1222
|
+
fromAminoMsg(object: MsgSetItemCustomDomainResponseAminoMsg): MsgSetItemCustomDomainResponse;
|
|
1223
|
+
fromProtoMsg(message: MsgSetItemCustomDomainResponseProtoMsg): MsgSetItemCustomDomainResponse;
|
|
1224
|
+
toProto(message: MsgSetItemCustomDomainResponse): Uint8Array;
|
|
1225
|
+
toProtoMsg(message: MsgSetItemCustomDomainResponse): MsgSetItemCustomDomainResponseProtoMsg;
|
|
1226
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MsgCancelLeaseResponse = exports.MsgCancelLease = exports.MsgRejectLeaseResponse = exports.MsgRejectLease = exports.MsgAcknowledgeLeaseResponse = exports.MsgAcknowledgeLease = exports.MsgUpdateParamsResponse = exports.MsgUpdateParams = exports.MsgWithdrawResponse = exports.MsgWithdraw = exports.MsgCloseLeaseResponse = exports.MsgCloseLease = exports.MsgCreateLeaseForTenantResponse = exports.MsgCreateLeaseForTenant = exports.MsgCreateLeaseResponse = exports.MsgCreateLease = exports.MsgFundCreditResponse = exports.MsgFundCredit = exports.LeaseItemInput = void 0;
|
|
3
|
+
exports.MsgSetItemCustomDomainResponse = exports.MsgSetItemCustomDomain = exports.MsgCancelLeaseResponse = exports.MsgCancelLease = exports.MsgRejectLeaseResponse = exports.MsgRejectLease = exports.MsgAcknowledgeLeaseResponse = exports.MsgAcknowledgeLease = exports.MsgUpdateParamsResponse = exports.MsgUpdateParams = exports.MsgWithdrawResponse = exports.MsgWithdraw = exports.MsgCloseLeaseResponse = exports.MsgCloseLease = exports.MsgCreateLeaseForTenantResponse = exports.MsgCreateLeaseForTenant = exports.MsgCreateLeaseResponse = exports.MsgCreateLease = exports.MsgFundCreditResponse = exports.MsgFundCredit = exports.LeaseItemInput = void 0;
|
|
4
4
|
const coin_1 = require("../../../cosmos/base/v1beta1/coin");
|
|
5
5
|
const types_1 = require("./types");
|
|
6
6
|
const timestamp_1 = require("../../../google/protobuf/timestamp");
|
|
@@ -1027,20 +1027,21 @@ function createBaseMsgWithdraw() {
|
|
|
1027
1027
|
sender: "",
|
|
1028
1028
|
leaseUuids: [],
|
|
1029
1029
|
providerUuid: "",
|
|
1030
|
-
limit: BigInt(0)
|
|
1030
|
+
limit: BigInt(0),
|
|
1031
|
+
key: new Uint8Array()
|
|
1031
1032
|
};
|
|
1032
1033
|
}
|
|
1033
1034
|
exports.MsgWithdraw = {
|
|
1034
1035
|
typeUrl: "/liftedinit.billing.v1.MsgWithdraw",
|
|
1035
1036
|
aminoType: "lifted/billing/MsgWithdraw",
|
|
1036
1037
|
is(o) {
|
|
1037
|
-
return o && (o.$typeUrl === exports.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");
|
|
1038
|
+
return o && (o.$typeUrl === exports.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"));
|
|
1038
1039
|
},
|
|
1039
1040
|
isSDK(o) {
|
|
1040
|
-
return o && (o.$typeUrl === exports.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 === exports.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
|
isAmino(o) {
|
|
1043
|
-
return o && (o.$typeUrl === exports.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");
|
|
1044
|
+
return o && (o.$typeUrl === exports.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"));
|
|
1044
1045
|
},
|
|
1045
1046
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
1046
1047
|
if (message.sender !== "") {
|
|
@@ -1055,6 +1056,9 @@ exports.MsgWithdraw = {
|
|
|
1055
1056
|
if (message.limit !== BigInt(0)) {
|
|
1056
1057
|
writer.uint32(32).uint64(message.limit);
|
|
1057
1058
|
}
|
|
1059
|
+
if (message.key.length !== 0) {
|
|
1060
|
+
writer.uint32(42).bytes(message.key);
|
|
1061
|
+
}
|
|
1058
1062
|
return writer;
|
|
1059
1063
|
},
|
|
1060
1064
|
decode(input, length) {
|
|
@@ -1076,6 +1080,9 @@ exports.MsgWithdraw = {
|
|
|
1076
1080
|
case 4:
|
|
1077
1081
|
message.limit = reader.uint64();
|
|
1078
1082
|
break;
|
|
1083
|
+
case 5:
|
|
1084
|
+
message.key = reader.bytes();
|
|
1085
|
+
break;
|
|
1079
1086
|
default:
|
|
1080
1087
|
reader.skipType(tag & 7);
|
|
1081
1088
|
break;
|
|
@@ -1088,7 +1095,8 @@ exports.MsgWithdraw = {
|
|
|
1088
1095
|
sender: (0, helpers_1.isSet)(object.sender) ? String(object.sender) : "",
|
|
1089
1096
|
leaseUuids: Array.isArray(object?.leaseUuids) ? object.leaseUuids.map((e) => String(e)) : [],
|
|
1090
1097
|
providerUuid: (0, helpers_1.isSet)(object.providerUuid) ? String(object.providerUuid) : "",
|
|
1091
|
-
limit: (0, helpers_1.isSet)(object.limit) ? BigInt(object.limit.toString()) : BigInt(0)
|
|
1098
|
+
limit: (0, helpers_1.isSet)(object.limit) ? BigInt(object.limit.toString()) : BigInt(0),
|
|
1099
|
+
key: (0, helpers_1.isSet)(object.key) ? (0, helpers_1.bytesFromBase64)(object.key) : new Uint8Array()
|
|
1092
1100
|
};
|
|
1093
1101
|
},
|
|
1094
1102
|
toJSON(message) {
|
|
@@ -1102,6 +1110,7 @@ exports.MsgWithdraw = {
|
|
|
1102
1110
|
}
|
|
1103
1111
|
message.providerUuid !== undefined && (obj.providerUuid = message.providerUuid);
|
|
1104
1112
|
message.limit !== undefined && (obj.limit = (message.limit || BigInt(0)).toString());
|
|
1113
|
+
message.key !== undefined && (obj.key = (0, helpers_1.base64FromBytes)(message.key !== undefined ? message.key : new Uint8Array()));
|
|
1105
1114
|
return obj;
|
|
1106
1115
|
},
|
|
1107
1116
|
fromPartial(object) {
|
|
@@ -1110,6 +1119,7 @@ exports.MsgWithdraw = {
|
|
|
1110
1119
|
message.leaseUuids = object.leaseUuids?.map(e => e) || [];
|
|
1111
1120
|
message.providerUuid = object.providerUuid ?? "";
|
|
1112
1121
|
message.limit = object.limit !== undefined && object.limit !== null ? BigInt(object.limit.toString()) : BigInt(0);
|
|
1122
|
+
message.key = object.key ?? new Uint8Array();
|
|
1113
1123
|
return message;
|
|
1114
1124
|
},
|
|
1115
1125
|
fromAmino(object) {
|
|
@@ -1124,6 +1134,9 @@ exports.MsgWithdraw = {
|
|
|
1124
1134
|
if (object.limit !== undefined && object.limit !== null) {
|
|
1125
1135
|
message.limit = BigInt(object.limit);
|
|
1126
1136
|
}
|
|
1137
|
+
if (object.key !== undefined && object.key !== null) {
|
|
1138
|
+
message.key = (0, helpers_1.bytesFromBase64)(object.key);
|
|
1139
|
+
}
|
|
1127
1140
|
return message;
|
|
1128
1141
|
},
|
|
1129
1142
|
toAmino(message) {
|
|
@@ -1137,6 +1150,7 @@ exports.MsgWithdraw = {
|
|
|
1137
1150
|
}
|
|
1138
1151
|
obj.provider_uuid = message.providerUuid === "" ? undefined : message.providerUuid;
|
|
1139
1152
|
obj.limit = message.limit !== BigInt(0) ? message.limit?.toString() : undefined;
|
|
1153
|
+
obj.key = message.key ? (0, helpers_1.base64FromBytes)(message.key) : undefined;
|
|
1140
1154
|
return obj;
|
|
1141
1155
|
},
|
|
1142
1156
|
fromAminoMsg(object) {
|
|
@@ -1168,19 +1182,20 @@ function createBaseMsgWithdrawResponse() {
|
|
|
1168
1182
|
totalAmounts: [],
|
|
1169
1183
|
payoutAddress: "",
|
|
1170
1184
|
withdrawalCount: BigInt(0),
|
|
1171
|
-
hasMore: false
|
|
1185
|
+
hasMore: false,
|
|
1186
|
+
nextKey: new Uint8Array()
|
|
1172
1187
|
};
|
|
1173
1188
|
}
|
|
1174
1189
|
exports.MsgWithdrawResponse = {
|
|
1175
1190
|
typeUrl: "/liftedinit.billing.v1.MsgWithdrawResponse",
|
|
1176
1191
|
is(o) {
|
|
1177
|
-
return o && (o.$typeUrl === exports.MsgWithdrawResponse.typeUrl || Array.isArray(o.totalAmounts) && (!o.totalAmounts.length || coin_1.Coin.is(o.totalAmounts[0])) && typeof o.payoutAddress === "string" && typeof o.withdrawalCount === "bigint" && typeof o.hasMore === "boolean");
|
|
1192
|
+
return o && (o.$typeUrl === exports.MsgWithdrawResponse.typeUrl || Array.isArray(o.totalAmounts) && (!o.totalAmounts.length || coin_1.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"));
|
|
1178
1193
|
},
|
|
1179
1194
|
isSDK(o) {
|
|
1180
|
-
return o && (o.$typeUrl === exports.MsgWithdrawResponse.typeUrl || Array.isArray(o.total_amounts) && (!o.total_amounts.length || coin_1.Coin.isSDK(o.total_amounts[0])) && typeof o.payout_address === "string" && typeof o.withdrawal_count === "bigint" && typeof o.has_more === "boolean");
|
|
1195
|
+
return o && (o.$typeUrl === exports.MsgWithdrawResponse.typeUrl || Array.isArray(o.total_amounts) && (!o.total_amounts.length || coin_1.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"));
|
|
1181
1196
|
},
|
|
1182
1197
|
isAmino(o) {
|
|
1183
|
-
return o && (o.$typeUrl === exports.MsgWithdrawResponse.typeUrl || Array.isArray(o.total_amounts) && (!o.total_amounts.length || coin_1.Coin.isAmino(o.total_amounts[0])) && typeof o.payout_address === "string" && typeof o.withdrawal_count === "bigint" && typeof o.has_more === "boolean");
|
|
1198
|
+
return o && (o.$typeUrl === exports.MsgWithdrawResponse.typeUrl || Array.isArray(o.total_amounts) && (!o.total_amounts.length || coin_1.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"));
|
|
1184
1199
|
},
|
|
1185
1200
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
1186
1201
|
for (const v of message.totalAmounts) {
|
|
@@ -1195,6 +1210,9 @@ exports.MsgWithdrawResponse = {
|
|
|
1195
1210
|
if (message.hasMore === true) {
|
|
1196
1211
|
writer.uint32(32).bool(message.hasMore);
|
|
1197
1212
|
}
|
|
1213
|
+
if (message.nextKey.length !== 0) {
|
|
1214
|
+
writer.uint32(42).bytes(message.nextKey);
|
|
1215
|
+
}
|
|
1198
1216
|
return writer;
|
|
1199
1217
|
},
|
|
1200
1218
|
decode(input, length) {
|
|
@@ -1216,6 +1234,9 @@ exports.MsgWithdrawResponse = {
|
|
|
1216
1234
|
case 4:
|
|
1217
1235
|
message.hasMore = reader.bool();
|
|
1218
1236
|
break;
|
|
1237
|
+
case 5:
|
|
1238
|
+
message.nextKey = reader.bytes();
|
|
1239
|
+
break;
|
|
1219
1240
|
default:
|
|
1220
1241
|
reader.skipType(tag & 7);
|
|
1221
1242
|
break;
|
|
@@ -1228,7 +1249,8 @@ exports.MsgWithdrawResponse = {
|
|
|
1228
1249
|
totalAmounts: Array.isArray(object?.totalAmounts) ? object.totalAmounts.map((e) => coin_1.Coin.fromJSON(e)) : [],
|
|
1229
1250
|
payoutAddress: (0, helpers_1.isSet)(object.payoutAddress) ? String(object.payoutAddress) : "",
|
|
1230
1251
|
withdrawalCount: (0, helpers_1.isSet)(object.withdrawalCount) ? BigInt(object.withdrawalCount.toString()) : BigInt(0),
|
|
1231
|
-
hasMore: (0, helpers_1.isSet)(object.hasMore) ? Boolean(object.hasMore) : false
|
|
1252
|
+
hasMore: (0, helpers_1.isSet)(object.hasMore) ? Boolean(object.hasMore) : false,
|
|
1253
|
+
nextKey: (0, helpers_1.isSet)(object.nextKey) ? (0, helpers_1.bytesFromBase64)(object.nextKey) : new Uint8Array()
|
|
1232
1254
|
};
|
|
1233
1255
|
},
|
|
1234
1256
|
toJSON(message) {
|
|
@@ -1242,6 +1264,7 @@ exports.MsgWithdrawResponse = {
|
|
|
1242
1264
|
message.payoutAddress !== undefined && (obj.payoutAddress = message.payoutAddress);
|
|
1243
1265
|
message.withdrawalCount !== undefined && (obj.withdrawalCount = (message.withdrawalCount || BigInt(0)).toString());
|
|
1244
1266
|
message.hasMore !== undefined && (obj.hasMore = message.hasMore);
|
|
1267
|
+
message.nextKey !== undefined && (obj.nextKey = (0, helpers_1.base64FromBytes)(message.nextKey !== undefined ? message.nextKey : new Uint8Array()));
|
|
1245
1268
|
return obj;
|
|
1246
1269
|
},
|
|
1247
1270
|
fromPartial(object) {
|
|
@@ -1250,6 +1273,7 @@ exports.MsgWithdrawResponse = {
|
|
|
1250
1273
|
message.payoutAddress = object.payoutAddress ?? "";
|
|
1251
1274
|
message.withdrawalCount = object.withdrawalCount !== undefined && object.withdrawalCount !== null ? BigInt(object.withdrawalCount.toString()) : BigInt(0);
|
|
1252
1275
|
message.hasMore = object.hasMore ?? false;
|
|
1276
|
+
message.nextKey = object.nextKey ?? new Uint8Array();
|
|
1253
1277
|
return message;
|
|
1254
1278
|
},
|
|
1255
1279
|
fromAmino(object) {
|
|
@@ -1264,6 +1288,9 @@ exports.MsgWithdrawResponse = {
|
|
|
1264
1288
|
if (object.has_more !== undefined && object.has_more !== null) {
|
|
1265
1289
|
message.hasMore = object.has_more;
|
|
1266
1290
|
}
|
|
1291
|
+
if (object.next_key !== undefined && object.next_key !== null) {
|
|
1292
|
+
message.nextKey = (0, helpers_1.bytesFromBase64)(object.next_key);
|
|
1293
|
+
}
|
|
1267
1294
|
return message;
|
|
1268
1295
|
},
|
|
1269
1296
|
toAmino(message) {
|
|
@@ -1277,6 +1304,7 @@ exports.MsgWithdrawResponse = {
|
|
|
1277
1304
|
obj.payout_address = message.payoutAddress === "" ? undefined : message.payoutAddress;
|
|
1278
1305
|
obj.withdrawal_count = message.withdrawalCount !== BigInt(0) ? message.withdrawalCount?.toString() : undefined;
|
|
1279
1306
|
obj.has_more = message.hasMore === false ? undefined : message.hasMore;
|
|
1307
|
+
obj.next_key = message.nextKey ? (0, helpers_1.base64FromBytes)(message.nextKey) : undefined;
|
|
1280
1308
|
return obj;
|
|
1281
1309
|
},
|
|
1282
1310
|
fromAminoMsg(object) {
|
|
@@ -2112,4 +2140,204 @@ exports.MsgCancelLeaseResponse = {
|
|
|
2112
2140
|
}
|
|
2113
2141
|
};
|
|
2114
2142
|
registry_1.GlobalDecoderRegistry.register(exports.MsgCancelLeaseResponse.typeUrl, exports.MsgCancelLeaseResponse);
|
|
2143
|
+
function createBaseMsgSetItemCustomDomain() {
|
|
2144
|
+
return {
|
|
2145
|
+
sender: "",
|
|
2146
|
+
leaseUuid: "",
|
|
2147
|
+
serviceName: "",
|
|
2148
|
+
customDomain: ""
|
|
2149
|
+
};
|
|
2150
|
+
}
|
|
2151
|
+
exports.MsgSetItemCustomDomain = {
|
|
2152
|
+
typeUrl: "/liftedinit.billing.v1.MsgSetItemCustomDomain",
|
|
2153
|
+
aminoType: "lifted/billing/MsgSetItemCustomDomain",
|
|
2154
|
+
is(o) {
|
|
2155
|
+
return o && (o.$typeUrl === exports.MsgSetItemCustomDomain.typeUrl || typeof o.sender === "string" && typeof o.leaseUuid === "string" && typeof o.serviceName === "string" && typeof o.customDomain === "string");
|
|
2156
|
+
},
|
|
2157
|
+
isSDK(o) {
|
|
2158
|
+
return o && (o.$typeUrl === exports.MsgSetItemCustomDomain.typeUrl || typeof o.sender === "string" && typeof o.lease_uuid === "string" && typeof o.service_name === "string" && typeof o.custom_domain === "string");
|
|
2159
|
+
},
|
|
2160
|
+
isAmino(o) {
|
|
2161
|
+
return o && (o.$typeUrl === exports.MsgSetItemCustomDomain.typeUrl || typeof o.sender === "string" && typeof o.lease_uuid === "string" && typeof o.service_name === "string" && typeof o.custom_domain === "string");
|
|
2162
|
+
},
|
|
2163
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
2164
|
+
if (message.sender !== "") {
|
|
2165
|
+
writer.uint32(10).string(message.sender);
|
|
2166
|
+
}
|
|
2167
|
+
if (message.leaseUuid !== "") {
|
|
2168
|
+
writer.uint32(18).string(message.leaseUuid);
|
|
2169
|
+
}
|
|
2170
|
+
if (message.serviceName !== "") {
|
|
2171
|
+
writer.uint32(26).string(message.serviceName);
|
|
2172
|
+
}
|
|
2173
|
+
if (message.customDomain !== "") {
|
|
2174
|
+
writer.uint32(34).string(message.customDomain);
|
|
2175
|
+
}
|
|
2176
|
+
return writer;
|
|
2177
|
+
},
|
|
2178
|
+
decode(input, length) {
|
|
2179
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
2180
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2181
|
+
const message = createBaseMsgSetItemCustomDomain();
|
|
2182
|
+
while (reader.pos < end) {
|
|
2183
|
+
const tag = reader.uint32();
|
|
2184
|
+
switch (tag >>> 3) {
|
|
2185
|
+
case 1:
|
|
2186
|
+
message.sender = reader.string();
|
|
2187
|
+
break;
|
|
2188
|
+
case 2:
|
|
2189
|
+
message.leaseUuid = reader.string();
|
|
2190
|
+
break;
|
|
2191
|
+
case 3:
|
|
2192
|
+
message.serviceName = reader.string();
|
|
2193
|
+
break;
|
|
2194
|
+
case 4:
|
|
2195
|
+
message.customDomain = reader.string();
|
|
2196
|
+
break;
|
|
2197
|
+
default:
|
|
2198
|
+
reader.skipType(tag & 7);
|
|
2199
|
+
break;
|
|
2200
|
+
}
|
|
2201
|
+
}
|
|
2202
|
+
return message;
|
|
2203
|
+
},
|
|
2204
|
+
fromJSON(object) {
|
|
2205
|
+
return {
|
|
2206
|
+
sender: (0, helpers_1.isSet)(object.sender) ? String(object.sender) : "",
|
|
2207
|
+
leaseUuid: (0, helpers_1.isSet)(object.leaseUuid) ? String(object.leaseUuid) : "",
|
|
2208
|
+
serviceName: (0, helpers_1.isSet)(object.serviceName) ? String(object.serviceName) : "",
|
|
2209
|
+
customDomain: (0, helpers_1.isSet)(object.customDomain) ? String(object.customDomain) : ""
|
|
2210
|
+
};
|
|
2211
|
+
},
|
|
2212
|
+
toJSON(message) {
|
|
2213
|
+
const obj = {};
|
|
2214
|
+
message.sender !== undefined && (obj.sender = message.sender);
|
|
2215
|
+
message.leaseUuid !== undefined && (obj.leaseUuid = message.leaseUuid);
|
|
2216
|
+
message.serviceName !== undefined && (obj.serviceName = message.serviceName);
|
|
2217
|
+
message.customDomain !== undefined && (obj.customDomain = message.customDomain);
|
|
2218
|
+
return obj;
|
|
2219
|
+
},
|
|
2220
|
+
fromPartial(object) {
|
|
2221
|
+
const message = createBaseMsgSetItemCustomDomain();
|
|
2222
|
+
message.sender = object.sender ?? "";
|
|
2223
|
+
message.leaseUuid = object.leaseUuid ?? "";
|
|
2224
|
+
message.serviceName = object.serviceName ?? "";
|
|
2225
|
+
message.customDomain = object.customDomain ?? "";
|
|
2226
|
+
return message;
|
|
2227
|
+
},
|
|
2228
|
+
fromAmino(object) {
|
|
2229
|
+
const message = createBaseMsgSetItemCustomDomain();
|
|
2230
|
+
if (object.sender !== undefined && object.sender !== null) {
|
|
2231
|
+
message.sender = object.sender;
|
|
2232
|
+
}
|
|
2233
|
+
if (object.lease_uuid !== undefined && object.lease_uuid !== null) {
|
|
2234
|
+
message.leaseUuid = object.lease_uuid;
|
|
2235
|
+
}
|
|
2236
|
+
if (object.service_name !== undefined && object.service_name !== null) {
|
|
2237
|
+
message.serviceName = object.service_name;
|
|
2238
|
+
}
|
|
2239
|
+
if (object.custom_domain !== undefined && object.custom_domain !== null) {
|
|
2240
|
+
message.customDomain = object.custom_domain;
|
|
2241
|
+
}
|
|
2242
|
+
return message;
|
|
2243
|
+
},
|
|
2244
|
+
toAmino(message) {
|
|
2245
|
+
const obj = {};
|
|
2246
|
+
obj.sender = message.sender === "" ? undefined : message.sender;
|
|
2247
|
+
obj.lease_uuid = message.leaseUuid === "" ? undefined : message.leaseUuid;
|
|
2248
|
+
obj.service_name = message.serviceName === "" ? undefined : message.serviceName;
|
|
2249
|
+
obj.custom_domain = message.customDomain === "" ? undefined : message.customDomain;
|
|
2250
|
+
return obj;
|
|
2251
|
+
},
|
|
2252
|
+
fromAminoMsg(object) {
|
|
2253
|
+
return exports.MsgSetItemCustomDomain.fromAmino(object.value);
|
|
2254
|
+
},
|
|
2255
|
+
toAminoMsg(message) {
|
|
2256
|
+
return {
|
|
2257
|
+
type: "lifted/billing/MsgSetItemCustomDomain",
|
|
2258
|
+
value: exports.MsgSetItemCustomDomain.toAmino(message)
|
|
2259
|
+
};
|
|
2260
|
+
},
|
|
2261
|
+
fromProtoMsg(message) {
|
|
2262
|
+
return exports.MsgSetItemCustomDomain.decode(message.value);
|
|
2263
|
+
},
|
|
2264
|
+
toProto(message) {
|
|
2265
|
+
return exports.MsgSetItemCustomDomain.encode(message).finish();
|
|
2266
|
+
},
|
|
2267
|
+
toProtoMsg(message) {
|
|
2268
|
+
return {
|
|
2269
|
+
typeUrl: "/liftedinit.billing.v1.MsgSetItemCustomDomain",
|
|
2270
|
+
value: exports.MsgSetItemCustomDomain.encode(message).finish()
|
|
2271
|
+
};
|
|
2272
|
+
}
|
|
2273
|
+
};
|
|
2274
|
+
registry_1.GlobalDecoderRegistry.register(exports.MsgSetItemCustomDomain.typeUrl, exports.MsgSetItemCustomDomain);
|
|
2275
|
+
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgSetItemCustomDomain.aminoType, exports.MsgSetItemCustomDomain.typeUrl);
|
|
2276
|
+
function createBaseMsgSetItemCustomDomainResponse() {
|
|
2277
|
+
return {};
|
|
2278
|
+
}
|
|
2279
|
+
exports.MsgSetItemCustomDomainResponse = {
|
|
2280
|
+
typeUrl: "/liftedinit.billing.v1.MsgSetItemCustomDomainResponse",
|
|
2281
|
+
is(o) {
|
|
2282
|
+
return o && o.$typeUrl === exports.MsgSetItemCustomDomainResponse.typeUrl;
|
|
2283
|
+
},
|
|
2284
|
+
isSDK(o) {
|
|
2285
|
+
return o && o.$typeUrl === exports.MsgSetItemCustomDomainResponse.typeUrl;
|
|
2286
|
+
},
|
|
2287
|
+
isAmino(o) {
|
|
2288
|
+
return o && o.$typeUrl === exports.MsgSetItemCustomDomainResponse.typeUrl;
|
|
2289
|
+
},
|
|
2290
|
+
encode(_, writer = binary_1.BinaryWriter.create()) {
|
|
2291
|
+
return writer;
|
|
2292
|
+
},
|
|
2293
|
+
decode(input, length) {
|
|
2294
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
2295
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2296
|
+
const message = createBaseMsgSetItemCustomDomainResponse();
|
|
2297
|
+
while (reader.pos < end) {
|
|
2298
|
+
const tag = reader.uint32();
|
|
2299
|
+
switch (tag >>> 3) {
|
|
2300
|
+
default:
|
|
2301
|
+
reader.skipType(tag & 7);
|
|
2302
|
+
break;
|
|
2303
|
+
}
|
|
2304
|
+
}
|
|
2305
|
+
return message;
|
|
2306
|
+
},
|
|
2307
|
+
fromJSON(_) {
|
|
2308
|
+
return {};
|
|
2309
|
+
},
|
|
2310
|
+
toJSON(_) {
|
|
2311
|
+
const obj = {};
|
|
2312
|
+
return obj;
|
|
2313
|
+
},
|
|
2314
|
+
fromPartial(_) {
|
|
2315
|
+
const message = createBaseMsgSetItemCustomDomainResponse();
|
|
2316
|
+
return message;
|
|
2317
|
+
},
|
|
2318
|
+
fromAmino(_) {
|
|
2319
|
+
const message = createBaseMsgSetItemCustomDomainResponse();
|
|
2320
|
+
return message;
|
|
2321
|
+
},
|
|
2322
|
+
toAmino(_) {
|
|
2323
|
+
const obj = {};
|
|
2324
|
+
return obj;
|
|
2325
|
+
},
|
|
2326
|
+
fromAminoMsg(object) {
|
|
2327
|
+
return exports.MsgSetItemCustomDomainResponse.fromAmino(object.value);
|
|
2328
|
+
},
|
|
2329
|
+
fromProtoMsg(message) {
|
|
2330
|
+
return exports.MsgSetItemCustomDomainResponse.decode(message.value);
|
|
2331
|
+
},
|
|
2332
|
+
toProto(message) {
|
|
2333
|
+
return exports.MsgSetItemCustomDomainResponse.encode(message).finish();
|
|
2334
|
+
},
|
|
2335
|
+
toProtoMsg(message) {
|
|
2336
|
+
return {
|
|
2337
|
+
typeUrl: "/liftedinit.billing.v1.MsgSetItemCustomDomainResponse",
|
|
2338
|
+
value: exports.MsgSetItemCustomDomainResponse.encode(message).finish()
|
|
2339
|
+
};
|
|
2340
|
+
}
|
|
2341
|
+
};
|
|
2342
|
+
registry_1.GlobalDecoderRegistry.register(exports.MsgSetItemCustomDomainResponse.typeUrl, exports.MsgSetItemCustomDomainResponse);
|
|
2115
2343
|
//# sourceMappingURL=tx.js.map
|