@requestnetwork/payment-detection 0.54.1-next.e7cd4501.0 → 0.56.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 +5 -4
- package/dist/any/any-to-erc20-proxy.js.map +1 -1
- package/dist/any/any-to-eth-proxy.js +2 -2
- package/dist/any/any-to-eth-proxy.js.map +1 -1
- package/dist/any/retrievers/any-to-any-proxy.d.ts.map +1 -1
- package/dist/any/retrievers/any-to-any-proxy.js +1 -1
- package/dist/any/retrievers/any-to-any-proxy.js.map +1 -1
- package/dist/any-to-native-detector.js.map +1 -1
- package/dist/balance-error.js +2 -2
- package/dist/balance-error.js.map +1 -1
- package/dist/btc/default-bitcoin-detection-provider.js.map +1 -1
- package/dist/btc/default-providers/blockchain-info.js.map +1 -1
- package/dist/btc/default-providers/blockcypher-com.js.map +1 -1
- package/dist/btc/default-providers/blockstream-info.js.map +1 -1
- package/dist/btc/default-providers/chain-so.js +1 -1
- package/dist/btc/default-providers/chain-so.js.map +1 -1
- package/dist/btc/index.js +2 -1
- package/dist/btc/index.js.map +1 -1
- package/dist/declarative.js.map +1 -1
- package/dist/erc20/address-based-info-retriever.js.map +1 -1
- package/dist/erc20/address-based.js +1 -1
- package/dist/erc20/address-based.js.map +1 -1
- package/dist/erc20/currency.d.ts.map +1 -1
- package/dist/erc20/currency.js.map +1 -1
- package/dist/erc20/escrow-info-retriever.d.ts.map +1 -1
- package/dist/erc20/escrow-info-retriever.js +4 -4
- package/dist/erc20/escrow-info-retriever.js.map +1 -1
- package/dist/erc20/fee-proxy-contract.js +1 -1
- package/dist/erc20/fee-proxy-contract.js.map +1 -1
- package/dist/erc20/proxy-contract.js +1 -1
- package/dist/erc20/proxy-contract.js.map +1 -1
- package/dist/erc20/proxy-info-retriever.js +5 -5
- package/dist/erc20/proxy-info-retriever.js.map +1 -1
- package/dist/erc20/transferable-receivable.js +2 -2
- package/dist/erc20/transferable-receivable.js.map +1 -1
- package/dist/erc777/superfluid-detector.js +1 -1
- package/dist/erc777/superfluid-detector.js.map +1 -1
- package/dist/erc777/superfluid-retriever.d.ts.map +1 -1
- package/dist/erc777/superfluid-retriever.js.map +1 -1
- package/dist/eth/fee-proxy-detector.js +1 -1
- package/dist/eth/fee-proxy-detector.js.map +1 -1
- package/dist/eth/info-retriever.d.ts.map +1 -1
- package/dist/eth/info-retriever.js.map +1 -1
- package/dist/eth/input-data.js +1 -1
- package/dist/eth/input-data.js.map +1 -1
- package/dist/eth/multichainExplorerApiProvider.d.ts.map +1 -1
- package/dist/eth/multichainExplorerApiProvider.js +3 -0
- package/dist/eth/multichainExplorerApiProvider.js.map +1 -1
- package/dist/eth/proxy-info-retriever.js +3 -3
- package/dist/eth/proxy-info-retriever.js.map +1 -1
- package/dist/fee-reference-based-detector.js.map +1 -1
- package/dist/index.d.ts +5 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -7
- package/dist/index.js.map +1 -1
- package/dist/meta-payment-detector.js.map +1 -1
- package/dist/native-token-detector.js.map +1 -1
- package/dist/near/near-conversion-detector.d.ts.map +1 -1
- package/dist/near/near-conversion-detector.js.map +1 -1
- package/dist/near/near-detector.d.ts.map +1 -1
- package/dist/near/near-detector.js.map +1 -1
- package/dist/payment-detector-base.js.map +1 -1
- package/dist/payment-network-factory.js +1 -1
- package/dist/payment-network-factory.js.map +1 -1
- package/dist/payment-reference-calculator.js +1 -2
- package/dist/payment-reference-calculator.js.map +1 -1
- package/dist/reference-based-detector.js +1 -1
- package/dist/reference-based-detector.js.map +1 -1
- package/dist/thegraph/client.d.ts +7 -4
- package/dist/thegraph/client.d.ts.map +1 -1
- package/dist/thegraph/client.js +14 -35
- package/dist/thegraph/client.js.map +1 -1
- package/dist/thegraph/conversion-info-retriever.js +1 -1
- package/dist/thegraph/conversion-info-retriever.js.map +1 -1
- package/dist/thegraph/generated/graphql-near.d.ts +4 -4
- package/dist/thegraph/generated/graphql-near.d.ts.map +1 -1
- package/dist/thegraph/generated/graphql-near.js +8 -7
- package/dist/thegraph/generated/graphql-near.js.map +1 -1
- package/dist/thegraph/generated/graphql-superfluid.d.ts +61 -1183
- package/dist/thegraph/generated/graphql-superfluid.d.ts.map +1 -1
- package/dist/thegraph/generated/graphql-superfluid.js +6 -5
- package/dist/thegraph/generated/graphql-superfluid.js.map +1 -1
- package/dist/thegraph/generated/graphql.d.ts +350 -76
- package/dist/thegraph/generated/graphql.d.ts.map +1 -1
- package/dist/thegraph/generated/graphql.js +70 -10
- package/dist/thegraph/generated/graphql.js.map +1 -1
- package/dist/thegraph/info-retriever.js +2 -2
- package/dist/thegraph/info-retriever.js.map +1 -1
- package/dist/thegraph/superfluid.d.ts +3 -1
- package/dist/thegraph/superfluid.d.ts.map +1 -1
- package/dist/thegraph/superfluid.js.map +1 -1
- package/dist/utils.d.ts +3 -3
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +6 -5
- package/dist/utils.js.map +1 -1
- package/package.json +12 -13
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { GraphQLClient } from 'graphql-request';
|
|
2
|
-
import { GraphQLClientRequestHeaders } from 'graphql-request/build/cjs/types';
|
|
1
|
+
import { GraphQLClient, RequestOptions } from 'graphql-request';
|
|
3
2
|
export type Maybe<T> = T | null;
|
|
4
3
|
export type InputMaybe<T> = Maybe<T>;
|
|
5
4
|
export type Exact<T extends {
|
|
@@ -21,6 +20,7 @@ export type MakeEmpty<T extends {
|
|
|
21
20
|
export type Incremental<T> = T | {
|
|
22
21
|
[P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
|
|
23
22
|
};
|
|
23
|
+
type GraphQLClientRequestHeaders = RequestOptions['requestHeaders'];
|
|
24
24
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
25
25
|
export type Scalars = {
|
|
26
26
|
ID: {
|
|
@@ -76,6 +76,320 @@ export type Block_Height = {
|
|
|
76
76
|
number?: InputMaybe<Scalars['Int']['input']>;
|
|
77
77
|
number_gte?: InputMaybe<Scalars['Int']['input']>;
|
|
78
78
|
};
|
|
79
|
+
export type CommerceEscrow = {
|
|
80
|
+
__typename?: 'CommerceEscrow';
|
|
81
|
+
amount: Scalars['BigDecimal']['output'];
|
|
82
|
+
commercePaymentHash: Scalars['Bytes']['output'];
|
|
83
|
+
contractAddress: Scalars['Bytes']['output'];
|
|
84
|
+
creationBlock: Scalars['Int']['output'];
|
|
85
|
+
creationTimestamp: Scalars['Int']['output'];
|
|
86
|
+
escrowState: CommerceEscrowState;
|
|
87
|
+
events?: Maybe<Array<CommerceEscrowEvent>>;
|
|
88
|
+
id: Scalars['ID']['output'];
|
|
89
|
+
merchant: Scalars['Bytes']['output'];
|
|
90
|
+
payer: Scalars['Bytes']['output'];
|
|
91
|
+
reference: Scalars['Bytes']['output'];
|
|
92
|
+
tokenAddress: Scalars['Bytes']['output'];
|
|
93
|
+
};
|
|
94
|
+
export type CommerceEscrowEventsArgs = {
|
|
95
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
96
|
+
orderBy?: InputMaybe<CommerceEscrowEvent_OrderBy>;
|
|
97
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
98
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
99
|
+
where?: InputMaybe<CommerceEscrowEvent_Filter>;
|
|
100
|
+
};
|
|
101
|
+
export type CommerceEscrowEvent = {
|
|
102
|
+
__typename?: 'CommerceEscrowEvent';
|
|
103
|
+
amount?: Maybe<Scalars['BigDecimal']['output']>;
|
|
104
|
+
block: Scalars['Int']['output'];
|
|
105
|
+
contractAddress: Scalars['Bytes']['output'];
|
|
106
|
+
escrow: CommerceEscrow;
|
|
107
|
+
eventName: CommerceEscrowEventName;
|
|
108
|
+
from: Scalars['Bytes']['output'];
|
|
109
|
+
gasPrice: Scalars['BigInt']['output'];
|
|
110
|
+
gasUsed: Scalars['BigInt']['output'];
|
|
111
|
+
id: Scalars['ID']['output'];
|
|
112
|
+
reference: Scalars['Bytes']['output'];
|
|
113
|
+
timestamp: Scalars['Int']['output'];
|
|
114
|
+
txHash: Scalars['Bytes']['output'];
|
|
115
|
+
};
|
|
116
|
+
export declare enum CommerceEscrowEventName {
|
|
117
|
+
Authorized = "authorized",
|
|
118
|
+
Captured = "captured",
|
|
119
|
+
Charged = "charged",
|
|
120
|
+
Reclaimed = "reclaimed",
|
|
121
|
+
Refunded = "refunded",
|
|
122
|
+
Voided = "voided"
|
|
123
|
+
}
|
|
124
|
+
export type CommerceEscrowEvent_Filter = {
|
|
125
|
+
/** Filter for the block changed event. */
|
|
126
|
+
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
127
|
+
amount?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
128
|
+
amount_gt?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
129
|
+
amount_gte?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
130
|
+
amount_in?: InputMaybe<Array<Scalars['BigDecimal']['input']>>;
|
|
131
|
+
amount_lt?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
132
|
+
amount_lte?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
133
|
+
amount_not?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
134
|
+
amount_not_in?: InputMaybe<Array<Scalars['BigDecimal']['input']>>;
|
|
135
|
+
and?: InputMaybe<Array<InputMaybe<CommerceEscrowEvent_Filter>>>;
|
|
136
|
+
block?: InputMaybe<Scalars['Int']['input']>;
|
|
137
|
+
block_gt?: InputMaybe<Scalars['Int']['input']>;
|
|
138
|
+
block_gte?: InputMaybe<Scalars['Int']['input']>;
|
|
139
|
+
block_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
140
|
+
block_lt?: InputMaybe<Scalars['Int']['input']>;
|
|
141
|
+
block_lte?: InputMaybe<Scalars['Int']['input']>;
|
|
142
|
+
block_not?: InputMaybe<Scalars['Int']['input']>;
|
|
143
|
+
block_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
144
|
+
contractAddress?: InputMaybe<Scalars['Bytes']['input']>;
|
|
145
|
+
contractAddress_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
146
|
+
contractAddress_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
147
|
+
contractAddress_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
148
|
+
contractAddress_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
149
|
+
contractAddress_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
150
|
+
contractAddress_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
151
|
+
contractAddress_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
152
|
+
contractAddress_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
153
|
+
contractAddress_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
154
|
+
escrow?: InputMaybe<Scalars['String']['input']>;
|
|
155
|
+
escrow_?: InputMaybe<CommerceEscrow_Filter>;
|
|
156
|
+
escrow_contains?: InputMaybe<Scalars['String']['input']>;
|
|
157
|
+
escrow_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
158
|
+
escrow_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
159
|
+
escrow_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
160
|
+
escrow_gt?: InputMaybe<Scalars['String']['input']>;
|
|
161
|
+
escrow_gte?: InputMaybe<Scalars['String']['input']>;
|
|
162
|
+
escrow_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
163
|
+
escrow_lt?: InputMaybe<Scalars['String']['input']>;
|
|
164
|
+
escrow_lte?: InputMaybe<Scalars['String']['input']>;
|
|
165
|
+
escrow_not?: InputMaybe<Scalars['String']['input']>;
|
|
166
|
+
escrow_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
167
|
+
escrow_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
168
|
+
escrow_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
169
|
+
escrow_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
170
|
+
escrow_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
171
|
+
escrow_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
172
|
+
escrow_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
173
|
+
escrow_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
174
|
+
escrow_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
175
|
+
eventName?: InputMaybe<CommerceEscrowEventName>;
|
|
176
|
+
eventName_in?: InputMaybe<Array<CommerceEscrowEventName>>;
|
|
177
|
+
eventName_not?: InputMaybe<CommerceEscrowEventName>;
|
|
178
|
+
eventName_not_in?: InputMaybe<Array<CommerceEscrowEventName>>;
|
|
179
|
+
from?: InputMaybe<Scalars['Bytes']['input']>;
|
|
180
|
+
from_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
181
|
+
from_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
182
|
+
from_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
183
|
+
from_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
184
|
+
from_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
185
|
+
from_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
186
|
+
from_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
187
|
+
from_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
188
|
+
from_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
189
|
+
gasPrice?: InputMaybe<Scalars['BigInt']['input']>;
|
|
190
|
+
gasPrice_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
191
|
+
gasPrice_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
192
|
+
gasPrice_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
193
|
+
gasPrice_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
194
|
+
gasPrice_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
195
|
+
gasPrice_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
196
|
+
gasPrice_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
197
|
+
gasUsed?: InputMaybe<Scalars['BigInt']['input']>;
|
|
198
|
+
gasUsed_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
199
|
+
gasUsed_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
200
|
+
gasUsed_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
201
|
+
gasUsed_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
202
|
+
gasUsed_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
203
|
+
gasUsed_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
204
|
+
gasUsed_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
205
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
206
|
+
id_gt?: InputMaybe<Scalars['ID']['input']>;
|
|
207
|
+
id_gte?: InputMaybe<Scalars['ID']['input']>;
|
|
208
|
+
id_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
209
|
+
id_lt?: InputMaybe<Scalars['ID']['input']>;
|
|
210
|
+
id_lte?: InputMaybe<Scalars['ID']['input']>;
|
|
211
|
+
id_not?: InputMaybe<Scalars['ID']['input']>;
|
|
212
|
+
id_not_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
213
|
+
or?: InputMaybe<Array<InputMaybe<CommerceEscrowEvent_Filter>>>;
|
|
214
|
+
reference?: InputMaybe<Scalars['Bytes']['input']>;
|
|
215
|
+
reference_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
216
|
+
reference_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
217
|
+
reference_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
218
|
+
reference_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
219
|
+
reference_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
220
|
+
reference_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
221
|
+
reference_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
222
|
+
reference_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
223
|
+
reference_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
224
|
+
timestamp?: InputMaybe<Scalars['Int']['input']>;
|
|
225
|
+
timestamp_gt?: InputMaybe<Scalars['Int']['input']>;
|
|
226
|
+
timestamp_gte?: InputMaybe<Scalars['Int']['input']>;
|
|
227
|
+
timestamp_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
228
|
+
timestamp_lt?: InputMaybe<Scalars['Int']['input']>;
|
|
229
|
+
timestamp_lte?: InputMaybe<Scalars['Int']['input']>;
|
|
230
|
+
timestamp_not?: InputMaybe<Scalars['Int']['input']>;
|
|
231
|
+
timestamp_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
232
|
+
txHash?: InputMaybe<Scalars['Bytes']['input']>;
|
|
233
|
+
txHash_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
234
|
+
txHash_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
235
|
+
txHash_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
236
|
+
txHash_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
237
|
+
txHash_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
238
|
+
txHash_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
239
|
+
txHash_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
240
|
+
txHash_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
241
|
+
txHash_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
242
|
+
};
|
|
243
|
+
export declare enum CommerceEscrowEvent_OrderBy {
|
|
244
|
+
Amount = "amount",
|
|
245
|
+
Block = "block",
|
|
246
|
+
ContractAddress = "contractAddress",
|
|
247
|
+
Escrow = "escrow",
|
|
248
|
+
EscrowAmount = "escrow__amount",
|
|
249
|
+
EscrowCommercePaymentHash = "escrow__commercePaymentHash",
|
|
250
|
+
EscrowContractAddress = "escrow__contractAddress",
|
|
251
|
+
EscrowCreationBlock = "escrow__creationBlock",
|
|
252
|
+
EscrowCreationTimestamp = "escrow__creationTimestamp",
|
|
253
|
+
EscrowEscrowState = "escrow__escrowState",
|
|
254
|
+
EscrowId = "escrow__id",
|
|
255
|
+
EscrowMerchant = "escrow__merchant",
|
|
256
|
+
EscrowPayer = "escrow__payer",
|
|
257
|
+
EscrowReference = "escrow__reference",
|
|
258
|
+
EscrowTokenAddress = "escrow__tokenAddress",
|
|
259
|
+
EventName = "eventName",
|
|
260
|
+
From = "from",
|
|
261
|
+
GasPrice = "gasPrice",
|
|
262
|
+
GasUsed = "gasUsed",
|
|
263
|
+
Id = "id",
|
|
264
|
+
Reference = "reference",
|
|
265
|
+
Timestamp = "timestamp",
|
|
266
|
+
TxHash = "txHash"
|
|
267
|
+
}
|
|
268
|
+
export declare enum CommerceEscrowState {
|
|
269
|
+
Authorized = "authorized",
|
|
270
|
+
Captured = "captured",
|
|
271
|
+
Charged = "charged",
|
|
272
|
+
Reclaimed = "reclaimed",
|
|
273
|
+
Refunded = "refunded",
|
|
274
|
+
Voided = "voided"
|
|
275
|
+
}
|
|
276
|
+
export type CommerceEscrow_Filter = {
|
|
277
|
+
/** Filter for the block changed event. */
|
|
278
|
+
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
279
|
+
amount?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
280
|
+
amount_gt?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
281
|
+
amount_gte?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
282
|
+
amount_in?: InputMaybe<Array<Scalars['BigDecimal']['input']>>;
|
|
283
|
+
amount_lt?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
284
|
+
amount_lte?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
285
|
+
amount_not?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
286
|
+
amount_not_in?: InputMaybe<Array<Scalars['BigDecimal']['input']>>;
|
|
287
|
+
and?: InputMaybe<Array<InputMaybe<CommerceEscrow_Filter>>>;
|
|
288
|
+
commercePaymentHash?: InputMaybe<Scalars['Bytes']['input']>;
|
|
289
|
+
commercePaymentHash_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
290
|
+
commercePaymentHash_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
291
|
+
commercePaymentHash_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
292
|
+
commercePaymentHash_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
293
|
+
commercePaymentHash_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
294
|
+
commercePaymentHash_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
295
|
+
commercePaymentHash_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
296
|
+
commercePaymentHash_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
297
|
+
commercePaymentHash_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
298
|
+
contractAddress?: InputMaybe<Scalars['Bytes']['input']>;
|
|
299
|
+
contractAddress_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
300
|
+
contractAddress_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
301
|
+
contractAddress_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
302
|
+
contractAddress_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
303
|
+
contractAddress_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
304
|
+
contractAddress_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
305
|
+
contractAddress_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
306
|
+
contractAddress_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
307
|
+
contractAddress_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
308
|
+
creationBlock?: InputMaybe<Scalars['Int']['input']>;
|
|
309
|
+
creationBlock_gt?: InputMaybe<Scalars['Int']['input']>;
|
|
310
|
+
creationBlock_gte?: InputMaybe<Scalars['Int']['input']>;
|
|
311
|
+
creationBlock_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
312
|
+
creationBlock_lt?: InputMaybe<Scalars['Int']['input']>;
|
|
313
|
+
creationBlock_lte?: InputMaybe<Scalars['Int']['input']>;
|
|
314
|
+
creationBlock_not?: InputMaybe<Scalars['Int']['input']>;
|
|
315
|
+
creationBlock_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
316
|
+
creationTimestamp?: InputMaybe<Scalars['Int']['input']>;
|
|
317
|
+
creationTimestamp_gt?: InputMaybe<Scalars['Int']['input']>;
|
|
318
|
+
creationTimestamp_gte?: InputMaybe<Scalars['Int']['input']>;
|
|
319
|
+
creationTimestamp_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
320
|
+
creationTimestamp_lt?: InputMaybe<Scalars['Int']['input']>;
|
|
321
|
+
creationTimestamp_lte?: InputMaybe<Scalars['Int']['input']>;
|
|
322
|
+
creationTimestamp_not?: InputMaybe<Scalars['Int']['input']>;
|
|
323
|
+
creationTimestamp_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
324
|
+
escrowState?: InputMaybe<CommerceEscrowState>;
|
|
325
|
+
escrowState_in?: InputMaybe<Array<CommerceEscrowState>>;
|
|
326
|
+
escrowState_not?: InputMaybe<CommerceEscrowState>;
|
|
327
|
+
escrowState_not_in?: InputMaybe<Array<CommerceEscrowState>>;
|
|
328
|
+
events_?: InputMaybe<CommerceEscrowEvent_Filter>;
|
|
329
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
330
|
+
id_gt?: InputMaybe<Scalars['ID']['input']>;
|
|
331
|
+
id_gte?: InputMaybe<Scalars['ID']['input']>;
|
|
332
|
+
id_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
333
|
+
id_lt?: InputMaybe<Scalars['ID']['input']>;
|
|
334
|
+
id_lte?: InputMaybe<Scalars['ID']['input']>;
|
|
335
|
+
id_not?: InputMaybe<Scalars['ID']['input']>;
|
|
336
|
+
id_not_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
337
|
+
merchant?: InputMaybe<Scalars['Bytes']['input']>;
|
|
338
|
+
merchant_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
339
|
+
merchant_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
340
|
+
merchant_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
341
|
+
merchant_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
342
|
+
merchant_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
343
|
+
merchant_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
344
|
+
merchant_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
345
|
+
merchant_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
346
|
+
merchant_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
347
|
+
or?: InputMaybe<Array<InputMaybe<CommerceEscrow_Filter>>>;
|
|
348
|
+
payer?: InputMaybe<Scalars['Bytes']['input']>;
|
|
349
|
+
payer_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
350
|
+
payer_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
351
|
+
payer_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
352
|
+
payer_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
353
|
+
payer_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
354
|
+
payer_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
355
|
+
payer_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
356
|
+
payer_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
357
|
+
payer_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
358
|
+
reference?: InputMaybe<Scalars['Bytes']['input']>;
|
|
359
|
+
reference_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
360
|
+
reference_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
361
|
+
reference_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
362
|
+
reference_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
363
|
+
reference_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
364
|
+
reference_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
365
|
+
reference_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
366
|
+
reference_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
367
|
+
reference_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
368
|
+
tokenAddress?: InputMaybe<Scalars['Bytes']['input']>;
|
|
369
|
+
tokenAddress_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
370
|
+
tokenAddress_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
371
|
+
tokenAddress_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
372
|
+
tokenAddress_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
373
|
+
tokenAddress_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
374
|
+
tokenAddress_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
375
|
+
tokenAddress_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
376
|
+
tokenAddress_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
377
|
+
tokenAddress_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
378
|
+
};
|
|
379
|
+
export declare enum CommerceEscrow_OrderBy {
|
|
380
|
+
Amount = "amount",
|
|
381
|
+
CommercePaymentHash = "commercePaymentHash",
|
|
382
|
+
ContractAddress = "contractAddress",
|
|
383
|
+
CreationBlock = "creationBlock",
|
|
384
|
+
CreationTimestamp = "creationTimestamp",
|
|
385
|
+
EscrowState = "escrowState",
|
|
386
|
+
Events = "events",
|
|
387
|
+
Id = "id",
|
|
388
|
+
Merchant = "merchant",
|
|
389
|
+
Payer = "payer",
|
|
390
|
+
Reference = "reference",
|
|
391
|
+
TokenAddress = "tokenAddress"
|
|
392
|
+
}
|
|
79
393
|
export type Escrow = {
|
|
80
394
|
__typename?: 'Escrow';
|
|
81
395
|
amount: Scalars['BigDecimal']['output'];
|
|
@@ -617,6 +931,10 @@ export type Query = {
|
|
|
617
931
|
__typename?: 'Query';
|
|
618
932
|
/** Access to subgraph metadata */
|
|
619
933
|
_meta?: Maybe<_Meta_>;
|
|
934
|
+
commerceEscrow?: Maybe<CommerceEscrow>;
|
|
935
|
+
commerceEscrowEvent?: Maybe<CommerceEscrowEvent>;
|
|
936
|
+
commerceEscrowEvents: Array<CommerceEscrowEvent>;
|
|
937
|
+
commerceEscrows: Array<CommerceEscrow>;
|
|
620
938
|
escrow?: Maybe<Escrow>;
|
|
621
939
|
escrowEvent?: Maybe<EscrowEvent>;
|
|
622
940
|
escrowEvents: Array<EscrowEvent>;
|
|
@@ -629,6 +947,34 @@ export type Query = {
|
|
|
629
947
|
export type Query_MetaArgs = {
|
|
630
948
|
block?: InputMaybe<Block_Height>;
|
|
631
949
|
};
|
|
950
|
+
export type QueryCommerceEscrowArgs = {
|
|
951
|
+
block?: InputMaybe<Block_Height>;
|
|
952
|
+
id: Scalars['ID']['input'];
|
|
953
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
954
|
+
};
|
|
955
|
+
export type QueryCommerceEscrowEventArgs = {
|
|
956
|
+
block?: InputMaybe<Block_Height>;
|
|
957
|
+
id: Scalars['ID']['input'];
|
|
958
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
959
|
+
};
|
|
960
|
+
export type QueryCommerceEscrowEventsArgs = {
|
|
961
|
+
block?: InputMaybe<Block_Height>;
|
|
962
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
963
|
+
orderBy?: InputMaybe<CommerceEscrowEvent_OrderBy>;
|
|
964
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
965
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
966
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
967
|
+
where?: InputMaybe<CommerceEscrowEvent_Filter>;
|
|
968
|
+
};
|
|
969
|
+
export type QueryCommerceEscrowsArgs = {
|
|
970
|
+
block?: InputMaybe<Block_Height>;
|
|
971
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
972
|
+
orderBy?: InputMaybe<CommerceEscrow_OrderBy>;
|
|
973
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
974
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
975
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
976
|
+
where?: InputMaybe<CommerceEscrow_Filter>;
|
|
977
|
+
};
|
|
632
978
|
export type QueryEscrowArgs = {
|
|
633
979
|
block?: InputMaybe<Block_Height>;
|
|
634
980
|
id: Scalars['ID']['input'];
|
|
@@ -830,78 +1176,6 @@ export declare enum SingleRequestProxyType {
|
|
|
830
1176
|
Erc20 = "ERC20",
|
|
831
1177
|
Ethereum = "Ethereum"
|
|
832
1178
|
}
|
|
833
|
-
export type Subscription = {
|
|
834
|
-
__typename?: 'Subscription';
|
|
835
|
-
/** Access to subgraph metadata */
|
|
836
|
-
_meta?: Maybe<_Meta_>;
|
|
837
|
-
escrow?: Maybe<Escrow>;
|
|
838
|
-
escrowEvent?: Maybe<EscrowEvent>;
|
|
839
|
-
escrowEvents: Array<EscrowEvent>;
|
|
840
|
-
escrows: Array<Escrow>;
|
|
841
|
-
payment?: Maybe<Payment>;
|
|
842
|
-
payments: Array<Payment>;
|
|
843
|
-
singleRequestProxyDeployment?: Maybe<SingleRequestProxyDeployment>;
|
|
844
|
-
singleRequestProxyDeployments: Array<SingleRequestProxyDeployment>;
|
|
845
|
-
};
|
|
846
|
-
export type Subscription_MetaArgs = {
|
|
847
|
-
block?: InputMaybe<Block_Height>;
|
|
848
|
-
};
|
|
849
|
-
export type SubscriptionEscrowArgs = {
|
|
850
|
-
block?: InputMaybe<Block_Height>;
|
|
851
|
-
id: Scalars['ID']['input'];
|
|
852
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
853
|
-
};
|
|
854
|
-
export type SubscriptionEscrowEventArgs = {
|
|
855
|
-
block?: InputMaybe<Block_Height>;
|
|
856
|
-
id: Scalars['ID']['input'];
|
|
857
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
858
|
-
};
|
|
859
|
-
export type SubscriptionEscrowEventsArgs = {
|
|
860
|
-
block?: InputMaybe<Block_Height>;
|
|
861
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
862
|
-
orderBy?: InputMaybe<EscrowEvent_OrderBy>;
|
|
863
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
864
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
865
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
866
|
-
where?: InputMaybe<EscrowEvent_Filter>;
|
|
867
|
-
};
|
|
868
|
-
export type SubscriptionEscrowsArgs = {
|
|
869
|
-
block?: InputMaybe<Block_Height>;
|
|
870
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
871
|
-
orderBy?: InputMaybe<Escrow_OrderBy>;
|
|
872
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
873
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
874
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
875
|
-
where?: InputMaybe<Escrow_Filter>;
|
|
876
|
-
};
|
|
877
|
-
export type SubscriptionPaymentArgs = {
|
|
878
|
-
block?: InputMaybe<Block_Height>;
|
|
879
|
-
id: Scalars['ID']['input'];
|
|
880
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
881
|
-
};
|
|
882
|
-
export type SubscriptionPaymentsArgs = {
|
|
883
|
-
block?: InputMaybe<Block_Height>;
|
|
884
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
885
|
-
orderBy?: InputMaybe<Payment_OrderBy>;
|
|
886
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
887
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
888
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
889
|
-
where?: InputMaybe<Payment_Filter>;
|
|
890
|
-
};
|
|
891
|
-
export type SubscriptionSingleRequestProxyDeploymentArgs = {
|
|
892
|
-
block?: InputMaybe<Block_Height>;
|
|
893
|
-
id: Scalars['ID']['input'];
|
|
894
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
895
|
-
};
|
|
896
|
-
export type SubscriptionSingleRequestProxyDeploymentsArgs = {
|
|
897
|
-
block?: InputMaybe<Block_Height>;
|
|
898
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
899
|
-
orderBy?: InputMaybe<SingleRequestProxyDeployment_OrderBy>;
|
|
900
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
901
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
902
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
903
|
-
where?: InputMaybe<SingleRequestProxyDeployment_Filter>;
|
|
904
|
-
};
|
|
905
1179
|
export type _Block_ = {
|
|
906
1180
|
__typename?: '_Block_';
|
|
907
1181
|
/** The hash of the block */
|
|
@@ -921,7 +1195,6 @@ export type _Meta_ = {
|
|
|
921
1195
|
* will be null if the _meta field has a block constraint that asks for
|
|
922
1196
|
* a block number. It will be filled if the _meta field has no block constraint
|
|
923
1197
|
* and therefore asks for the latest block
|
|
924
|
-
*
|
|
925
1198
|
*/
|
|
926
1199
|
block: _Block_;
|
|
927
1200
|
/** The deployment ID */
|
|
@@ -1136,7 +1409,7 @@ export declare const GetAnyToFungiblePaymentsDocument: import("graphql").Documen
|
|
|
1136
1409
|
export declare const GetAnyToNativePaymentsDocument: import("graphql").DocumentNode;
|
|
1137
1410
|
export declare const GetPaymentsAndEscrowStateForReceivablesDocument: import("graphql").DocumentNode;
|
|
1138
1411
|
export declare const GetSyncedBlockDocument: import("graphql").DocumentNode;
|
|
1139
|
-
export type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string) => Promise<T>;
|
|
1412
|
+
export type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;
|
|
1140
1413
|
export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
|
|
1141
1414
|
GetLastSyncedBlock(variables?: GetLastSyncedBlockQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetLastSyncedBlockQuery>;
|
|
1142
1415
|
GetPaymentsAndEscrowState(variables: GetPaymentsAndEscrowStateQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetPaymentsAndEscrowStateQuery>;
|
|
@@ -1154,4 +1427,5 @@ export declare const GetAnyToFungiblePayments: import("graphql").DocumentNode;
|
|
|
1154
1427
|
export declare const GetAnyToNativePayments: import("graphql").DocumentNode;
|
|
1155
1428
|
export declare const GetPaymentsAndEscrowStateForReceivables: import("graphql").DocumentNode;
|
|
1156
1429
|
export declare const GetSyncedBlock: import("graphql").DocumentNode;
|
|
1430
|
+
export {};
|
|
1157
1431
|
//# sourceMappingURL=graphql.d.ts.map
|