@requestnetwork/payment-detection 0.58.0 → 0.59.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.
|
@@ -5059,6 +5059,11 @@ export type FlowUpdatedEvent = Event & {
|
|
|
5059
5059
|
/** The previous flow rate, the absolute (positive) value. */
|
|
5060
5060
|
oldFlowRate: Scalars['BigInt']['output'];
|
|
5061
5061
|
order: Scalars['BigInt']['output'];
|
|
5062
|
+
/**
|
|
5063
|
+
* The owedDeposit on the flow at the time of this event — the portion of the
|
|
5064
|
+
* sender's `deposit` credited to the receiving SuperApp. Zero for non-SuperApp receivers.
|
|
5065
|
+
*/
|
|
5066
|
+
owedDeposit: Scalars['BigInt']['output'];
|
|
5062
5067
|
/** The address of the flow receiver. */
|
|
5063
5068
|
receiver: Scalars['Bytes']['output'];
|
|
5064
5069
|
/** The address of the flow sender. */
|
|
@@ -5199,6 +5204,14 @@ export type FlowUpdatedEvent_Filter = {
|
|
|
5199
5204
|
order_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
5200
5205
|
order_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
5201
5206
|
order_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
5207
|
+
owedDeposit?: InputMaybe<Scalars['BigInt']['input']>;
|
|
5208
|
+
owedDeposit_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
5209
|
+
owedDeposit_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
5210
|
+
owedDeposit_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
5211
|
+
owedDeposit_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
5212
|
+
owedDeposit_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
5213
|
+
owedDeposit_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
5214
|
+
owedDeposit_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
5202
5215
|
receiver?: InputMaybe<Scalars['Bytes']['input']>;
|
|
5203
5216
|
receiver_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
5204
5217
|
receiver_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
@@ -5324,6 +5337,7 @@ export declare enum FlowUpdatedEvent_OrderBy {
|
|
|
5324
5337
|
Name = "name",
|
|
5325
5338
|
OldFlowRate = "oldFlowRate",
|
|
5326
5339
|
Order = "order",
|
|
5340
|
+
OwedDeposit = "owedDeposit",
|
|
5327
5341
|
Receiver = "receiver",
|
|
5328
5342
|
Sender = "sender",
|
|
5329
5343
|
Stream = "stream",
|
|
@@ -5332,6 +5346,7 @@ export declare enum FlowUpdatedEvent_OrderBy {
|
|
|
5332
5346
|
Stream__currentFlowRate = "stream__currentFlowRate",
|
|
5333
5347
|
Stream__deposit = "stream__deposit",
|
|
5334
5348
|
Stream__id = "stream__id",
|
|
5349
|
+
Stream__owedDeposit = "stream__owedDeposit",
|
|
5335
5350
|
Stream__streamedUntilUpdatedAt = "stream__streamedUntilUpdatedAt",
|
|
5336
5351
|
Stream__updatedAtBlockNumber = "stream__updatedAtBlockNumber",
|
|
5337
5352
|
Stream__updatedAtTimestamp = "stream__updatedAtTimestamp",
|
|
@@ -12313,6 +12328,8 @@ export type Stream = {
|
|
|
12313
12328
|
flowUpdatedEvents: Array<FlowUpdatedEvent>;
|
|
12314
12329
|
/** ID composed of: senderAddress-receiverAddress-tokenAddress-revisionIndex */
|
|
12315
12330
|
id: Scalars['ID']['output'];
|
|
12331
|
+
/** The owedDeposit reported by the CFA for this (sender, receiver, token) flow at the time of the most recent `FlowUpdatedEvent` for this stream. May lag the on-chain value if the receiving SuperApp's downstream changes without re-emitting `FlowUpdated` on this upstream. Zero for non-SuperApp receivers. */
|
|
12332
|
+
owedDeposit: Scalars['BigInt']['output'];
|
|
12316
12333
|
receiver: Account;
|
|
12317
12334
|
sender: Account;
|
|
12318
12335
|
streamPeriods: Array<StreamPeriod>;
|
|
@@ -12604,6 +12621,7 @@ export declare enum StreamPeriod_OrderBy {
|
|
|
12604
12621
|
StartedAtEvent__name = "startedAtEvent__name",
|
|
12605
12622
|
StartedAtEvent__oldFlowRate = "startedAtEvent__oldFlowRate",
|
|
12606
12623
|
StartedAtEvent__order = "startedAtEvent__order",
|
|
12624
|
+
StartedAtEvent__owedDeposit = "startedAtEvent__owedDeposit",
|
|
12607
12625
|
StartedAtEvent__receiver = "startedAtEvent__receiver",
|
|
12608
12626
|
StartedAtEvent__sender = "startedAtEvent__sender",
|
|
12609
12627
|
StartedAtEvent__timestamp = "startedAtEvent__timestamp",
|
|
@@ -12628,6 +12646,7 @@ export declare enum StreamPeriod_OrderBy {
|
|
|
12628
12646
|
StoppedAtEvent__name = "stoppedAtEvent__name",
|
|
12629
12647
|
StoppedAtEvent__oldFlowRate = "stoppedAtEvent__oldFlowRate",
|
|
12630
12648
|
StoppedAtEvent__order = "stoppedAtEvent__order",
|
|
12649
|
+
StoppedAtEvent__owedDeposit = "stoppedAtEvent__owedDeposit",
|
|
12631
12650
|
StoppedAtEvent__receiver = "stoppedAtEvent__receiver",
|
|
12632
12651
|
StoppedAtEvent__sender = "stoppedAtEvent__sender",
|
|
12633
12652
|
StoppedAtEvent__timestamp = "stoppedAtEvent__timestamp",
|
|
@@ -12645,6 +12664,7 @@ export declare enum StreamPeriod_OrderBy {
|
|
|
12645
12664
|
Stream__currentFlowRate = "stream__currentFlowRate",
|
|
12646
12665
|
Stream__deposit = "stream__deposit",
|
|
12647
12666
|
Stream__id = "stream__id",
|
|
12667
|
+
Stream__owedDeposit = "stream__owedDeposit",
|
|
12648
12668
|
Stream__streamedUntilUpdatedAt = "stream__streamedUntilUpdatedAt",
|
|
12649
12669
|
Stream__updatedAtBlockNumber = "stream__updatedAtBlockNumber",
|
|
12650
12670
|
Stream__updatedAtTimestamp = "stream__updatedAtTimestamp",
|
|
@@ -12733,6 +12753,7 @@ export declare enum StreamRevision_OrderBy {
|
|
|
12733
12753
|
MostRecentStream__currentFlowRate = "mostRecentStream__currentFlowRate",
|
|
12734
12754
|
MostRecentStream__deposit = "mostRecentStream__deposit",
|
|
12735
12755
|
MostRecentStream__id = "mostRecentStream__id",
|
|
12756
|
+
MostRecentStream__owedDeposit = "mostRecentStream__owedDeposit",
|
|
12736
12757
|
MostRecentStream__streamedUntilUpdatedAt = "mostRecentStream__streamedUntilUpdatedAt",
|
|
12737
12758
|
MostRecentStream__updatedAtBlockNumber = "mostRecentStream__updatedAtBlockNumber",
|
|
12738
12759
|
MostRecentStream__updatedAtTimestamp = "mostRecentStream__updatedAtTimestamp",
|
|
@@ -12786,6 +12807,14 @@ export type Stream_Filter = {
|
|
|
12786
12807
|
id_not?: InputMaybe<Scalars['ID']['input']>;
|
|
12787
12808
|
id_not_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
12788
12809
|
or?: InputMaybe<Array<InputMaybe<Stream_Filter>>>;
|
|
12810
|
+
owedDeposit?: InputMaybe<Scalars['BigInt']['input']>;
|
|
12811
|
+
owedDeposit_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
12812
|
+
owedDeposit_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
12813
|
+
owedDeposit_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
12814
|
+
owedDeposit_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
12815
|
+
owedDeposit_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
12816
|
+
owedDeposit_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
12817
|
+
owedDeposit_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
12789
12818
|
receiver?: InputMaybe<Scalars['String']['input']>;
|
|
12790
12819
|
receiver_?: InputMaybe<Account_Filter>;
|
|
12791
12820
|
receiver_contains?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -12892,6 +12921,7 @@ export declare enum Stream_OrderBy {
|
|
|
12892
12921
|
Deposit = "deposit",
|
|
12893
12922
|
FlowUpdatedEvents = "flowUpdatedEvents",
|
|
12894
12923
|
Id = "id",
|
|
12924
|
+
OwedDeposit = "owedDeposit",
|
|
12895
12925
|
Receiver = "receiver",
|
|
12896
12926
|
Receiver__createdAtBlockNumber = "receiver__createdAtBlockNumber",
|
|
12897
12927
|
Receiver__createdAtTimestamp = "receiver__createdAtTimestamp",
|
|
@@ -16159,6 +16189,7 @@ export type TransferEvent = Event & {
|
|
|
16159
16189
|
* addresses[0] = `token`
|
|
16160
16190
|
* addresses[1] = `from`
|
|
16161
16191
|
* addresses[2] = `to`
|
|
16192
|
+
* addresses[3] = `spender` (only included for allowance-based transfers where the spender differs from `from`, sourced from the paired ERC-777 Sent event)
|
|
16162
16193
|
*/
|
|
16163
16194
|
addresses: Array<Scalars['Bytes']['output']>;
|
|
16164
16195
|
blockNumber: Scalars['BigInt']['output'];
|
|
@@ -16169,6 +16200,8 @@ export type TransferEvent = Event & {
|
|
|
16169
16200
|
logIndex: Scalars['BigInt']['output'];
|
|
16170
16201
|
name: Scalars['String']['output'];
|
|
16171
16202
|
order: Scalars['BigInt']['output'];
|
|
16203
|
+
/** The authorized spender that initiated this allowance-based transfer, sourced from the paired ERC-777 `Sent` event when `Sent.operator != Sent.from`. Indicates the transfer went through `transferFrom` / `operatorSend`. Null for self-transfers (`Sent.operator == Sent.from`) and for paths that emit no `Sent` (mint, burn, upgrade, downgrade). */
|
|
16204
|
+
spender?: Maybe<Scalars['Bytes']['output']>;
|
|
16172
16205
|
timestamp: Scalars['BigInt']['output'];
|
|
16173
16206
|
to: Account;
|
|
16174
16207
|
token: Scalars['Bytes']['output'];
|
|
@@ -16273,6 +16306,16 @@ export type TransferEvent_Filter = {
|
|
|
16273
16306
|
order_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
16274
16307
|
order_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
16275
16308
|
order_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
16309
|
+
spender?: InputMaybe<Scalars['Bytes']['input']>;
|
|
16310
|
+
spender_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
16311
|
+
spender_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
16312
|
+
spender_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
16313
|
+
spender_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
16314
|
+
spender_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
16315
|
+
spender_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
16316
|
+
spender_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
16317
|
+
spender_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
16318
|
+
spender_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
16276
16319
|
timestamp?: InputMaybe<Scalars['BigInt']['input']>;
|
|
16277
16320
|
timestamp_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
16278
16321
|
timestamp_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
@@ -16347,6 +16390,7 @@ export declare enum TransferEvent_OrderBy {
|
|
|
16347
16390
|
LogIndex = "logIndex",
|
|
16348
16391
|
Name = "name",
|
|
16349
16392
|
Order = "order",
|
|
16393
|
+
Spender = "spender",
|
|
16350
16394
|
Timestamp = "timestamp",
|
|
16351
16395
|
To = "to",
|
|
16352
16396
|
To__createdAtBlockNumber = "to__createdAtBlockNumber",
|