@xyo-network/payload-plugins 7.1.0 → 7.2.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/dist/neutral/crypto-nft-collection.mjs.map +1 -1
- package/dist/neutral/modules/advertising/Payload/Utm/Payload.d.ts +3 -3
- package/dist/neutral/modules/blocknative-ethereum-gas/Payload.d.ts +3 -3
- package/dist/neutral/modules/bowser-system-info/Payload.d.ts +3 -3
- package/dist/neutral/modules/coingecko-crypto-market/Payload.d.ts +3 -3
- package/dist/neutral/modules/crypto-address-transaction-history/Payload.d.ts +3 -3
- package/dist/neutral/modules/crypto-asset/Payload.d.ts +3 -3
- package/dist/neutral/modules/crypto-cards-game/Payload.d.ts +3 -3
- package/dist/neutral/modules/crypto-cards-move/Payload.d.ts +3 -3
- package/dist/neutral/modules/crypto-contract-function-read/Diviner/Payload/ContractInfo.d.ts +3 -3
- package/dist/neutral/modules/crypto-contract-function-read/Diviner/Payload/Erc1155ContractInfo.d.ts +3 -3
- package/dist/neutral/modules/crypto-contract-function-read/Diviner/Payload/Erc721ContractInfo.d.ts +3 -3
- package/dist/neutral/modules/crypto-contract-function-read/Payload.d.ts +13 -13
- package/dist/neutral/modules/crypto-nft/Diviner/Payload.d.ts +3 -3
- package/dist/neutral/modules/crypto-nft/Payload/Payload.d.ts +3 -3
- package/dist/neutral/modules/crypto-nft/Witness/Query.d.ts +3 -3
- package/dist/neutral/modules/crypto-nft-collection/Diviner/Payload.d.ts +3 -3
- package/dist/neutral/modules/crypto-nft-collection/Payload/Payload.d.ts +3 -3
- package/dist/neutral/modules/crypto-nft-collection/Witness/Query.d.ts +3 -3
- package/dist/neutral/modules/elevation/Payload.d.ts +3 -3
- package/dist/neutral/modules/email/Payload.d.ts +3 -3
- package/dist/neutral/modules/etherchain-ethereum-gas-v2/Payload.d.ts +3 -3
- package/dist/neutral/modules/ethers-ethereum-gas/Payload.d.ts +3 -3
- package/dist/neutral/modules/etherscan-ethereum-gas/Payload.d.ts +3 -3
- package/dist/neutral/modules/ethgasstation-ethereum-gas/Payload.d.ts +3 -3
- package/dist/neutral/modules/evm-address/Payload.d.ts +3 -3
- package/dist/neutral/modules/evm-nft-id/Payload/NftId/Payload.d.ts +3 -3
- package/dist/neutral/modules/evm-nft-id/Payload/NftIndex/Payload.d.ts +3 -3
- package/dist/neutral/modules/evm-nft-id/Payload/NftMetadataUri/Payload.d.ts +3 -3
- package/dist/neutral/modules/gas-price/Payload.d.ts +3 -3
- package/dist/neutral/modules/image-thumbnail/Diviner/Query.d.ts +3 -3
- package/dist/neutral/modules/image-thumbnail/Payload/ImageThumbnail.d.ts +3 -3
- package/dist/neutral/modules/image-thumbnail/Payload/ImageThumbnailResult.d.ts +3 -3
- package/dist/neutral/modules/image-thumbnail/Payload/ImageThumbnailResultIndex.d.ts +3 -3
- package/dist/neutral/modules/location/GeographicCoordinateSystemLocationPayload.d.ts +10 -10
- package/dist/neutral/modules/location/HeadingPayload.d.ts +4 -4
- package/dist/neutral/modules/location-certainty/Payload.d.ts +3 -3
- package/dist/neutral/modules/module-instance/Payload.d.ts +3 -3
- package/dist/neutral/modules/node-system-info/Payload.d.ts +3 -3
- package/dist/neutral/modules/payment/Amount/Payload.d.ts +3 -3
- package/dist/neutral/modules/payment/Billing/Address/Address.d.ts +3 -3
- package/dist/neutral/modules/payment/Discount/Payload/Coupon/Coupons/FixedAmount.d.ts +3 -3
- package/dist/neutral/modules/payment/Discount/Payload/Coupon/Coupons/FixedPercentage.d.ts +3 -3
- package/dist/neutral/modules/payment/Discount/Payload/Coupon/Coupons/FixedPrice.d.ts +3 -3
- package/dist/neutral/modules/payment/Discount/Payload/Coupon/Payload.d.ts +4 -4
- package/dist/neutral/modules/payment/Discount/Payload/Coupon/types/Condition.d.ts +3 -3
- package/dist/neutral/modules/payment/Discount/Payload/Discount.d.ts +3 -3
- package/dist/neutral/modules/payment/Escrow/Outcome.d.ts +3 -3
- package/dist/neutral/modules/payment/Escrow/Terms/Terms.d.ts +3 -3
- package/dist/neutral/modules/payment/Payment/Instrument/Card/Payload.d.ts +3 -3
- package/dist/neutral/modules/payment/Payment/Payload.d.ts +3 -3
- package/dist/neutral/modules/payment/Payment/Status/Payload.d.ts +3 -3
- package/dist/neutral/modules/payment/Purchase/Payload.d.ts +3 -3
- package/dist/neutral/modules/payment/Receipt/Payload.d.ts +3 -3
- package/dist/neutral/modules/payment/Subtotal/Diviner/Payload.d.ts +3 -3
- package/dist/neutral/modules/payment/Total/Diviner/Payload.d.ts +3 -3
- package/dist/neutral/modules/pentair/Payload.d.ts +3 -3
- package/dist/neutral/modules/rebilly-payment/Authorization/Token/Payload.d.ts +3 -3
- package/dist/neutral/modules/signature/Payload.d.ts +3 -3
- package/dist/neutral/modules/tzero-stock-market/Payload/Snapshot/Payload.d.ts +3 -3
- package/dist/neutral/modules/uniswap-crypto-market/Payload.d.ts +3 -3
- package/dist/neutral/modules/url/Payload.d.ts +3 -3
- package/dist/neutral/modules/url-safety/Payload.d.ts +3 -3
- package/dist/neutral/modules/xns-record/Address/Payload.d.ts +3 -3
- package/dist/neutral/modules/xns-record/Dns/Witness/Payload/Request.d.ts +3 -3
- package/dist/neutral/modules/xns-record/Dns/Witness/Payload/Response.d.ts +3 -3
- package/dist/neutral/modules/xns-record/Domain/Domain.d.ts +3 -3
- package/dist/neutral/modules/xns-record/Domain/DomainLease.d.ts +3 -3
- package/dist/neutral/modules/xns-record/DomainRegistration/DomainRegistration.d.ts +3 -3
- package/dist/neutral/modules/xns-record/DomainRegistration/DomainRegistrationLease.d.ts +3 -3
- package/dist/neutral/modules/xns-record/Hash/Payload.d.ts +3 -3
- package/dist/neutral/modules/xns-record/diviner/DomainLeaseEstimateDiviner/ErrorDetails/Payload.d.ts +3 -3
- package/package.json +11 -20
|
@@ -53,15 +53,15 @@ export declare const asNftId: {
|
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
55
|
export declare const toNftId: {
|
|
56
|
-
|
|
56
|
+
(value: unknown): {
|
|
57
57
|
schema: "network.xyo.evm.nft.id" & {
|
|
58
58
|
readonly __schema: true;
|
|
59
59
|
};
|
|
60
60
|
address: string;
|
|
61
61
|
chainId: number;
|
|
62
62
|
tokenId: string;
|
|
63
|
-
}
|
|
64
|
-
|
|
63
|
+
} | undefined;
|
|
64
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
65
65
|
schema: "network.xyo.evm.nft.id" & {
|
|
66
66
|
readonly __schema: true;
|
|
67
67
|
};
|
|
@@ -53,15 +53,15 @@ export declare const asNftIndex: {
|
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
55
|
export declare const toNftIndex: {
|
|
56
|
-
|
|
56
|
+
(value: unknown): {
|
|
57
57
|
schema: "network.xyo.evm.nft.index" & {
|
|
58
58
|
readonly __schema: true;
|
|
59
59
|
};
|
|
60
60
|
address: string;
|
|
61
61
|
chainId: number;
|
|
62
62
|
index: string;
|
|
63
|
-
}
|
|
64
|
-
|
|
63
|
+
} | undefined;
|
|
64
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
65
65
|
schema: "network.xyo.evm.nft.index" & {
|
|
66
66
|
readonly __schema: true;
|
|
67
67
|
};
|
|
@@ -58,7 +58,7 @@ export declare const asNftMetadataUri: {
|
|
|
58
58
|
};
|
|
59
59
|
};
|
|
60
60
|
export declare const toNftMetadataUri: {
|
|
61
|
-
|
|
61
|
+
(value: unknown): {
|
|
62
62
|
schema: "network.xyo.evm.nft.metadata.uri" & {
|
|
63
63
|
readonly __schema: true;
|
|
64
64
|
};
|
|
@@ -66,8 +66,8 @@ export declare const toNftMetadataUri: {
|
|
|
66
66
|
chainId: number;
|
|
67
67
|
tokenId: string;
|
|
68
68
|
metadataUri?: string | undefined;
|
|
69
|
-
}
|
|
70
|
-
|
|
69
|
+
} | undefined;
|
|
70
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
71
71
|
schema: "network.xyo.evm.nft.metadata.uri" & {
|
|
72
72
|
readonly __schema: true;
|
|
73
73
|
};
|
|
@@ -87,7 +87,7 @@ export declare const asEthereumGasPayload: {
|
|
|
87
87
|
};
|
|
88
88
|
};
|
|
89
89
|
export declare const toEthereumGasPayload: {
|
|
90
|
-
|
|
90
|
+
(value: unknown): {
|
|
91
91
|
schema: "network.xyo.blockchain.ethereum.gas" & {
|
|
92
92
|
readonly __schema: true;
|
|
93
93
|
};
|
|
@@ -107,8 +107,8 @@ export declare const toEthereumGasPayload: {
|
|
|
107
107
|
blockNumber?: string | undefined;
|
|
108
108
|
baseFee?: number | undefined;
|
|
109
109
|
gasPrice?: string | undefined;
|
|
110
|
-
}
|
|
111
|
-
|
|
110
|
+
} | undefined;
|
|
111
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
112
112
|
schema: "network.xyo.blockchain.ethereum.gas" & {
|
|
113
113
|
readonly __schema: true;
|
|
114
114
|
};
|
|
@@ -50,7 +50,7 @@ export declare const asImageThumbnailDivinerQuery: {
|
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
52
|
export declare const toImageThumbnailDivinerQuery: {
|
|
53
|
-
|
|
53
|
+
(value: unknown): {
|
|
54
54
|
schema: string & {
|
|
55
55
|
readonly __schema: true;
|
|
56
56
|
};
|
|
@@ -59,8 +59,8 @@ export declare const toImageThumbnailDivinerQuery: {
|
|
|
59
59
|
order?: "asc" | "desc" | undefined;
|
|
60
60
|
status?: number | undefined;
|
|
61
61
|
success?: boolean | undefined;
|
|
62
|
-
}
|
|
63
|
-
|
|
62
|
+
} | undefined;
|
|
63
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
64
64
|
schema: string & {
|
|
65
65
|
readonly __schema: true;
|
|
66
66
|
};
|
|
@@ -101,7 +101,7 @@ export declare const asImageThumbnail: {
|
|
|
101
101
|
};
|
|
102
102
|
};
|
|
103
103
|
export declare const toImageThumbnail: {
|
|
104
|
-
|
|
104
|
+
(value: unknown): {
|
|
105
105
|
schema: "network.xyo.image.thumbnail" & {
|
|
106
106
|
readonly __schema: true;
|
|
107
107
|
};
|
|
@@ -122,8 +122,8 @@ export declare const toImageThumbnail: {
|
|
|
122
122
|
} | undefined;
|
|
123
123
|
sourceHash?: string | undefined;
|
|
124
124
|
url?: string | undefined;
|
|
125
|
-
}
|
|
126
|
-
|
|
125
|
+
} | undefined;
|
|
126
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
127
127
|
schema: "network.xyo.image.thumbnail" & {
|
|
128
128
|
readonly __schema: true;
|
|
129
129
|
};
|
|
@@ -59,7 +59,7 @@ export declare const asImageThumbnailResult: {
|
|
|
59
59
|
};
|
|
60
60
|
};
|
|
61
61
|
export declare const toImageThumbnailResult: {
|
|
62
|
-
|
|
62
|
+
(value: unknown): {
|
|
63
63
|
schema: string & {
|
|
64
64
|
readonly __schema: true;
|
|
65
65
|
};
|
|
@@ -67,8 +67,8 @@ export declare const toImageThumbnailResult: {
|
|
|
67
67
|
timestamp: number;
|
|
68
68
|
url: string;
|
|
69
69
|
status?: number | undefined;
|
|
70
|
-
}
|
|
71
|
-
|
|
70
|
+
} | undefined;
|
|
71
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
72
72
|
schema: string & {
|
|
73
73
|
readonly __schema: true;
|
|
74
74
|
};
|
|
@@ -70,7 +70,7 @@ export declare const asImageThumbnailResultIndex: {
|
|
|
70
70
|
};
|
|
71
71
|
};
|
|
72
72
|
export declare const toImageThumbnailResultIndex: {
|
|
73
|
-
|
|
73
|
+
(value: unknown): {
|
|
74
74
|
schema: string & {
|
|
75
75
|
readonly __schema: true;
|
|
76
76
|
};
|
|
@@ -78,8 +78,8 @@ export declare const toImageThumbnailResultIndex: {
|
|
|
78
78
|
timestamp: number;
|
|
79
79
|
key: import("@ariestools/sdk").BrandedHash;
|
|
80
80
|
status?: number | undefined;
|
|
81
|
-
}
|
|
82
|
-
|
|
81
|
+
} | undefined;
|
|
82
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
83
83
|
schema: string & {
|
|
84
84
|
readonly __schema: true;
|
|
85
85
|
};
|
|
@@ -69,7 +69,7 @@ export declare const asGeographicCoordinateSystemLocationPayload: {
|
|
|
69
69
|
};
|
|
70
70
|
};
|
|
71
71
|
export declare const toGeographicCoordinateSystemLocationPayload: {
|
|
72
|
-
|
|
72
|
+
(value: unknown): {
|
|
73
73
|
schema: "network.xyo.location.gcs" & {
|
|
74
74
|
readonly __schema: true;
|
|
75
75
|
};
|
|
@@ -78,8 +78,8 @@ export declare const toGeographicCoordinateSystemLocationPayload: {
|
|
|
78
78
|
accuracy?: number | undefined;
|
|
79
79
|
altitude?: number | undefined;
|
|
80
80
|
altitudeAccuracy?: number | undefined;
|
|
81
|
-
}
|
|
82
|
-
|
|
81
|
+
} | undefined;
|
|
82
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
83
83
|
schema: "network.xyo.location.gcs" & {
|
|
84
84
|
readonly __schema: true;
|
|
85
85
|
};
|
|
@@ -126,15 +126,15 @@ export declare const asQuadkeyLocationPayload: {
|
|
|
126
126
|
};
|
|
127
127
|
};
|
|
128
128
|
export declare const toQuadkeyLocationPayload: {
|
|
129
|
-
|
|
129
|
+
(value: unknown): {
|
|
130
130
|
schema: "network.xyo.location.quadkey" & {
|
|
131
131
|
readonly __schema: true;
|
|
132
132
|
};
|
|
133
133
|
quadkey: string;
|
|
134
134
|
altitude?: number | undefined;
|
|
135
135
|
altitudeAccuracy?: number | undefined;
|
|
136
|
-
}
|
|
137
|
-
|
|
136
|
+
} | undefined;
|
|
137
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
138
138
|
schema: "network.xyo.location.quadkey" & {
|
|
139
139
|
readonly __schema: true;
|
|
140
140
|
};
|
|
@@ -215,7 +215,7 @@ export declare const asLocationPayload: {
|
|
|
215
215
|
});
|
|
216
216
|
};
|
|
217
217
|
export declare const toLocationPayload: {
|
|
218
|
-
|
|
218
|
+
(value: unknown): {
|
|
219
219
|
schema: "network.xyo.location" & {
|
|
220
220
|
readonly __schema: true;
|
|
221
221
|
};
|
|
@@ -231,8 +231,8 @@ export declare const toLocationPayload: {
|
|
|
231
231
|
quadkey: string;
|
|
232
232
|
altitude?: number | undefined;
|
|
233
233
|
altitudeAccuracy?: number | undefined;
|
|
234
|
-
}
|
|
235
|
-
|
|
234
|
+
} | undefined;
|
|
235
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
236
236
|
schema: "network.xyo.location" & {
|
|
237
237
|
readonly __schema: true;
|
|
238
238
|
};
|
|
@@ -248,6 +248,6 @@ export declare const toLocationPayload: {
|
|
|
248
248
|
quadkey: string;
|
|
249
249
|
altitude?: number | undefined;
|
|
250
250
|
altitudeAccuracy?: number | undefined;
|
|
251
|
-
}
|
|
251
|
+
};
|
|
252
252
|
};
|
|
253
253
|
//# sourceMappingURL=GeographicCoordinateSystemLocationPayload.d.ts.map
|
|
@@ -86,7 +86,7 @@ export declare const asLocationHeadingPayload: {
|
|
|
86
86
|
});
|
|
87
87
|
};
|
|
88
88
|
export declare const toLocationHeadingPayload: {
|
|
89
|
-
|
|
89
|
+
(value: unknown): {
|
|
90
90
|
schema: "network.xyo.location.heading" & {
|
|
91
91
|
readonly __schema: true;
|
|
92
92
|
};
|
|
@@ -98,8 +98,8 @@ export declare const toLocationHeadingPayload: {
|
|
|
98
98
|
readonly __schema: true;
|
|
99
99
|
};
|
|
100
100
|
heading: number;
|
|
101
|
-
}
|
|
102
|
-
|
|
101
|
+
} | undefined;
|
|
102
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
103
103
|
schema: "network.xyo.location.heading" & {
|
|
104
104
|
readonly __schema: true;
|
|
105
105
|
};
|
|
@@ -111,6 +111,6 @@ export declare const toLocationHeadingPayload: {
|
|
|
111
111
|
readonly __schema: true;
|
|
112
112
|
};
|
|
113
113
|
heading: number;
|
|
114
|
-
}
|
|
114
|
+
};
|
|
115
115
|
};
|
|
116
116
|
//# sourceMappingURL=HeadingPayload.d.ts.map
|
|
@@ -93,7 +93,7 @@ export declare const asLocationCertaintyPayload: {
|
|
|
93
93
|
};
|
|
94
94
|
};
|
|
95
95
|
export declare const toLocationCertaintyPayload: {
|
|
96
|
-
|
|
96
|
+
(value: unknown): {
|
|
97
97
|
schema: "network.xyo.location.certainty" & {
|
|
98
98
|
readonly __schema: true;
|
|
99
99
|
};
|
|
@@ -113,8 +113,8 @@ export declare const toLocationCertaintyPayload: {
|
|
|
113
113
|
min: number;
|
|
114
114
|
};
|
|
115
115
|
certainty?: number | undefined;
|
|
116
|
-
}
|
|
117
|
-
|
|
116
|
+
} | undefined;
|
|
117
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
118
118
|
schema: "network.xyo.location.certainty" & {
|
|
119
119
|
readonly __schema: true;
|
|
120
120
|
};
|
|
@@ -43,7 +43,7 @@ export declare const asAbstractModuleInstancePayload: {
|
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
45
|
export declare const toAbstractModuleInstancePayload: {
|
|
46
|
-
|
|
46
|
+
(value: unknown): {
|
|
47
47
|
schema: "network.xyo.module.instance" & {
|
|
48
48
|
readonly __schema: true;
|
|
49
49
|
};
|
|
@@ -51,8 +51,8 @@ export declare const toAbstractModuleInstancePayload: {
|
|
|
51
51
|
queries?: Record<string, {
|
|
52
52
|
cost?: string | undefined;
|
|
53
53
|
}> | undefined;
|
|
54
|
-
}
|
|
55
|
-
|
|
54
|
+
} | undefined;
|
|
55
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
56
56
|
schema: "network.xyo.module.instance" & {
|
|
57
57
|
readonly __schema: true;
|
|
58
58
|
};
|
|
@@ -27,13 +27,13 @@ export declare const asNodeSystemInfoPayload: {
|
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
export declare const toNodeSystemInfoPayload: {
|
|
30
|
-
|
|
30
|
+
(value: unknown): {
|
|
31
31
|
schema: "network.xyo.system.info.node" & {
|
|
32
32
|
readonly __schema: true;
|
|
33
33
|
};
|
|
34
34
|
systeminfo?: Record<string, unknown> | undefined;
|
|
35
|
-
}
|
|
36
|
-
|
|
35
|
+
} | undefined;
|
|
36
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
37
37
|
schema: "network.xyo.system.info.node" & {
|
|
38
38
|
readonly __schema: true;
|
|
39
39
|
};
|
|
@@ -50,14 +50,14 @@ export declare const asAmount: {
|
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
52
|
export declare const toAmount: {
|
|
53
|
-
|
|
53
|
+
(value: unknown): {
|
|
54
54
|
schema: "network.xyo.payments.amount" & {
|
|
55
55
|
readonly __schema: true;
|
|
56
56
|
};
|
|
57
57
|
amount: number;
|
|
58
58
|
currency: Iso4217AlphabeticalCode;
|
|
59
|
-
}
|
|
60
|
-
|
|
59
|
+
} | undefined;
|
|
60
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
61
61
|
schema: "network.xyo.payments.amount" & {
|
|
62
62
|
readonly __schema: true;
|
|
63
63
|
};
|
|
@@ -80,7 +80,7 @@ export declare const asBillingAddress: {
|
|
|
80
80
|
};
|
|
81
81
|
};
|
|
82
82
|
export declare const toBillingAddress: {
|
|
83
|
-
|
|
83
|
+
(value: unknown): {
|
|
84
84
|
schema: string & {
|
|
85
85
|
readonly __schema: true;
|
|
86
86
|
};
|
|
@@ -93,8 +93,8 @@ export declare const toBillingAddress: {
|
|
|
93
93
|
organization?: string | null | undefined;
|
|
94
94
|
postalCode?: string | undefined;
|
|
95
95
|
region?: string | undefined;
|
|
96
|
-
}
|
|
97
|
-
|
|
96
|
+
} | undefined;
|
|
97
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
98
98
|
schema: string & {
|
|
99
99
|
readonly __schema: true;
|
|
100
100
|
};
|
|
@@ -66,7 +66,7 @@ export declare const asFixedAmountCoupon: {
|
|
|
66
66
|
};
|
|
67
67
|
};
|
|
68
68
|
export declare const toFixedAmountCoupon: {
|
|
69
|
-
|
|
69
|
+
(value: unknown): {
|
|
70
70
|
schema: string & {
|
|
71
71
|
readonly __schema: true;
|
|
72
72
|
};
|
|
@@ -76,8 +76,8 @@ export declare const toFixedAmountCoupon: {
|
|
|
76
76
|
nbf: number;
|
|
77
77
|
conditions?: import("@ariestools/sdk").BrandedHash[] | undefined;
|
|
78
78
|
stackable?: boolean | undefined;
|
|
79
|
-
}
|
|
80
|
-
|
|
79
|
+
} | undefined;
|
|
80
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
81
81
|
schema: string & {
|
|
82
82
|
readonly __schema: true;
|
|
83
83
|
};
|
|
@@ -61,7 +61,7 @@ export declare const asFixedPercentageCoupon: {
|
|
|
61
61
|
};
|
|
62
62
|
};
|
|
63
63
|
export declare const toFixedPercentageCoupon: {
|
|
64
|
-
|
|
64
|
+
(value: unknown): {
|
|
65
65
|
schema: string & {
|
|
66
66
|
readonly __schema: true;
|
|
67
67
|
};
|
|
@@ -70,8 +70,8 @@ export declare const toFixedPercentageCoupon: {
|
|
|
70
70
|
nbf: number;
|
|
71
71
|
conditions?: import("@ariestools/sdk").BrandedHash[] | undefined;
|
|
72
72
|
stackable?: boolean | undefined;
|
|
73
|
-
}
|
|
74
|
-
|
|
73
|
+
} | undefined;
|
|
74
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
75
75
|
schema: string & {
|
|
76
76
|
readonly __schema: true;
|
|
77
77
|
};
|
|
@@ -66,7 +66,7 @@ export declare const asFixedPriceCoupon: {
|
|
|
66
66
|
};
|
|
67
67
|
};
|
|
68
68
|
export declare const toFixedPriceCoupon: {
|
|
69
|
-
|
|
69
|
+
(value: unknown): {
|
|
70
70
|
schema: string & {
|
|
71
71
|
readonly __schema: true;
|
|
72
72
|
};
|
|
@@ -76,8 +76,8 @@ export declare const toFixedPriceCoupon: {
|
|
|
76
76
|
nbf: number;
|
|
77
77
|
conditions?: import("@ariestools/sdk").BrandedHash[] | undefined;
|
|
78
78
|
stackable?: boolean | undefined;
|
|
79
|
-
}
|
|
80
|
-
|
|
79
|
+
} | undefined;
|
|
80
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
81
81
|
schema: string & {
|
|
82
82
|
readonly __schema: true;
|
|
83
83
|
};
|
|
@@ -129,7 +129,7 @@ export declare const asCoupon: {
|
|
|
129
129
|
});
|
|
130
130
|
};
|
|
131
131
|
export declare const toCoupon: {
|
|
132
|
-
|
|
132
|
+
(value: unknown): {
|
|
133
133
|
schema: string & {
|
|
134
134
|
readonly __schema: true;
|
|
135
135
|
};
|
|
@@ -158,8 +158,8 @@ export declare const toCoupon: {
|
|
|
158
158
|
nbf: number;
|
|
159
159
|
conditions?: import("@ariestools/sdk").BrandedHash[] | undefined;
|
|
160
160
|
stackable?: boolean | undefined;
|
|
161
|
-
}
|
|
162
|
-
|
|
161
|
+
} | undefined;
|
|
162
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
163
163
|
schema: string & {
|
|
164
164
|
readonly __schema: true;
|
|
165
165
|
};
|
|
@@ -188,6 +188,6 @@ export declare const toCoupon: {
|
|
|
188
188
|
nbf: number;
|
|
189
189
|
conditions?: import("@ariestools/sdk").BrandedHash[] | undefined;
|
|
190
190
|
stackable?: boolean | undefined;
|
|
191
|
-
}
|
|
191
|
+
};
|
|
192
192
|
};
|
|
193
193
|
//# sourceMappingURL=Payload.d.ts.map
|
|
@@ -72,7 +72,7 @@ export declare const asCondition: {
|
|
|
72
72
|
};
|
|
73
73
|
};
|
|
74
74
|
export declare const toCondition: {
|
|
75
|
-
|
|
75
|
+
(value: unknown): {
|
|
76
76
|
schema: "network.xyo.schema" & {
|
|
77
77
|
readonly __schema: true;
|
|
78
78
|
};
|
|
@@ -83,8 +83,8 @@ export declare const toCondition: {
|
|
|
83
83
|
extends?: string | undefined;
|
|
84
84
|
name?: string | undefined;
|
|
85
85
|
version?: number | undefined;
|
|
86
|
-
}
|
|
87
|
-
|
|
86
|
+
} | undefined;
|
|
87
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
88
88
|
schema: "network.xyo.schema" & {
|
|
89
89
|
readonly __schema: true;
|
|
90
90
|
};
|
|
@@ -46,14 +46,14 @@ export declare const asDiscount: {
|
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
48
|
export declare const toDiscount: {
|
|
49
|
-
|
|
49
|
+
(value: unknown): {
|
|
50
50
|
schema: "network.xyo.payments.discount" & {
|
|
51
51
|
readonly __schema: true;
|
|
52
52
|
};
|
|
53
53
|
amount: number;
|
|
54
54
|
currency: import('../../Amount/Iso4217Currency.js').Iso4217AlphabeticalCode;
|
|
55
|
-
}
|
|
56
|
-
|
|
55
|
+
} | undefined;
|
|
56
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
57
57
|
schema: "network.xyo.payments.discount" & {
|
|
58
58
|
readonly __schema: true;
|
|
59
59
|
};
|
|
@@ -60,14 +60,14 @@ export declare const asEscrowOutcome: {
|
|
|
60
60
|
};
|
|
61
61
|
};
|
|
62
62
|
export declare const toEscrowOutcome: {
|
|
63
|
-
|
|
63
|
+
(value: unknown): {
|
|
64
64
|
schema: string & {
|
|
65
65
|
readonly __schema: true;
|
|
66
66
|
};
|
|
67
67
|
outcome: "fulfilled" | "expired";
|
|
68
68
|
terms: import("@ariestools/sdk").BrandedHash;
|
|
69
|
-
}
|
|
70
|
-
|
|
69
|
+
} | undefined;
|
|
70
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
71
71
|
schema: string & {
|
|
72
72
|
readonly __schema: true;
|
|
73
73
|
};
|
|
@@ -236,7 +236,7 @@ export declare const asEscrowTerms: {
|
|
|
236
236
|
};
|
|
237
237
|
};
|
|
238
238
|
export declare const toEscrowTerms: {
|
|
239
|
-
|
|
239
|
+
(value: unknown): {
|
|
240
240
|
schema: string & {
|
|
241
241
|
readonly __schema: true;
|
|
242
242
|
};
|
|
@@ -272,8 +272,8 @@ export declare const toEscrowTerms: {
|
|
|
272
272
|
readonly __address: true;
|
|
273
273
|
}) | import("@xyo-network/sdk").XyoQuantAddress)[] | undefined;
|
|
274
274
|
sellerSecret?: import("@ariestools/sdk").BrandedHash | undefined;
|
|
275
|
-
}
|
|
276
|
-
|
|
275
|
+
} | undefined;
|
|
276
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
277
277
|
schema: string & {
|
|
278
278
|
readonly __schema: true;
|
|
279
279
|
};
|
|
@@ -60,7 +60,7 @@ export declare const asPaymentCard: {
|
|
|
60
60
|
};
|
|
61
61
|
};
|
|
62
62
|
export declare const toPaymentCard: {
|
|
63
|
-
|
|
63
|
+
(value: unknown): {
|
|
64
64
|
schema: string & {
|
|
65
65
|
readonly __schema: true;
|
|
66
66
|
};
|
|
@@ -69,8 +69,8 @@ export declare const toPaymentCard: {
|
|
|
69
69
|
expMonth: number;
|
|
70
70
|
expYear: number;
|
|
71
71
|
cardholderName?: string | undefined;
|
|
72
|
-
}
|
|
73
|
-
|
|
72
|
+
} | undefined;
|
|
73
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
74
74
|
schema: string & {
|
|
75
75
|
readonly __schema: true;
|
|
76
76
|
};
|
|
@@ -46,14 +46,14 @@ export declare const asPayment: {
|
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
48
|
export declare const toPayment: {
|
|
49
|
-
|
|
49
|
+
(value: unknown): {
|
|
50
50
|
schema: string & {
|
|
51
51
|
readonly __schema: true;
|
|
52
52
|
};
|
|
53
53
|
amount: number;
|
|
54
54
|
currency: "USD";
|
|
55
|
-
}
|
|
56
|
-
|
|
55
|
+
} | undefined;
|
|
56
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
57
57
|
schema: string & {
|
|
58
58
|
readonly __schema: true;
|
|
59
59
|
};
|
|
@@ -42,14 +42,14 @@ export declare const asPaymentStatus: {
|
|
|
42
42
|
};
|
|
43
43
|
};
|
|
44
44
|
export declare const toPaymentStatus: {
|
|
45
|
-
|
|
45
|
+
(value: unknown): {
|
|
46
46
|
schema: string & {
|
|
47
47
|
readonly __schema: true;
|
|
48
48
|
};
|
|
49
49
|
status: string;
|
|
50
50
|
result?: string | undefined;
|
|
51
|
-
}
|
|
52
|
-
|
|
51
|
+
} | undefined;
|
|
52
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
53
53
|
schema: string & {
|
|
54
54
|
readonly __schema: true;
|
|
55
55
|
};
|
|
@@ -42,14 +42,14 @@ export declare const asPurchase: {
|
|
|
42
42
|
};
|
|
43
43
|
};
|
|
44
44
|
export declare const toPurchase: {
|
|
45
|
-
|
|
45
|
+
(value: unknown): {
|
|
46
46
|
schema: string & {
|
|
47
47
|
readonly __schema: true;
|
|
48
48
|
};
|
|
49
49
|
assets: import("@ariestools/sdk").BrandedHash[];
|
|
50
50
|
receipts: import("@ariestools/sdk").BrandedHash[];
|
|
51
|
-
}
|
|
52
|
-
|
|
51
|
+
} | undefined;
|
|
52
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
53
53
|
schema: string & {
|
|
54
54
|
readonly __schema: true;
|
|
55
55
|
};
|
|
@@ -46,14 +46,14 @@ export declare const asReceipt: {
|
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
48
|
export declare const toReceipt: {
|
|
49
|
-
|
|
49
|
+
(value: unknown): {
|
|
50
50
|
schema: string & {
|
|
51
51
|
readonly __schema: true;
|
|
52
52
|
};
|
|
53
53
|
amount: number;
|
|
54
54
|
currency: "USD";
|
|
55
|
-
}
|
|
56
|
-
|
|
55
|
+
} | undefined;
|
|
56
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
57
57
|
schema: string & {
|
|
58
58
|
readonly __schema: true;
|
|
59
59
|
};
|
|
@@ -46,14 +46,14 @@ export declare const asSubtotal: {
|
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
48
|
export declare const toSubtotal: {
|
|
49
|
-
|
|
49
|
+
(value: unknown): {
|
|
50
50
|
schema: "network.xyo.payments.subtotal" & {
|
|
51
51
|
readonly __schema: true;
|
|
52
52
|
};
|
|
53
53
|
amount: number;
|
|
54
54
|
currency: import('../../Amount/Iso4217Currency.js').Iso4217AlphabeticalCode;
|
|
55
|
-
}
|
|
56
|
-
|
|
55
|
+
} | undefined;
|
|
56
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
57
57
|
schema: "network.xyo.payments.subtotal" & {
|
|
58
58
|
readonly __schema: true;
|
|
59
59
|
};
|