@robosystems/client 2.41.1 → 2.41.2
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/artifacts/LedgerClient.d.ts +5 -0
- package/artifacts/LedgerClient.js +1 -0
- package/artifacts/LedgerClient.ts +6 -0
- package/artifacts/graphql/generated/graphql.d.ts +1 -0
- package/artifacts/graphql/generated/graphql.js +10 -0
- package/artifacts/graphql/generated/graphql.ts +11 -0
- package/artifacts/graphql/queries/ledger/eventBlocks.js +2 -0
- package/artifacts/graphql/queries/ledger/eventBlocks.ts +2 -0
- package/package.json +1 -1
|
@@ -746,6 +746,11 @@ export declare class LedgerClient {
|
|
|
746
746
|
status?: string;
|
|
747
747
|
agentId?: string;
|
|
748
748
|
source?: string;
|
|
749
|
+
/**
|
|
750
|
+
* The id a source sent the event under. With `source` it names at
|
|
751
|
+
* most one event.
|
|
752
|
+
*/
|
|
753
|
+
externalId?: string;
|
|
749
754
|
/** Only posted events whose source payload changed afterwards. */
|
|
750
755
|
isReconcilingItem?: boolean;
|
|
751
756
|
limit?: number;
|
|
@@ -225,6 +225,7 @@ class LedgerClient {
|
|
|
225
225
|
status: options?.status ?? null,
|
|
226
226
|
agentId: options?.agentId ?? null,
|
|
227
227
|
source: options?.source ?? null,
|
|
228
|
+
externalId: options?.externalId ?? null,
|
|
228
229
|
isReconcilingItem: options?.isReconcilingItem ?? null,
|
|
229
230
|
limit: options?.limit ?? 50,
|
|
230
231
|
offset: options?.offset ?? 0,
|
|
@@ -1514,6 +1514,11 @@ export class LedgerClient {
|
|
|
1514
1514
|
status?: string
|
|
1515
1515
|
agentId?: string
|
|
1516
1516
|
source?: string
|
|
1517
|
+
/**
|
|
1518
|
+
* The id a source sent the event under. With `source` it names at
|
|
1519
|
+
* most one event.
|
|
1520
|
+
*/
|
|
1521
|
+
externalId?: string
|
|
1517
1522
|
/** Only posted events whose source payload changed afterwards. */
|
|
1518
1523
|
isReconcilingItem?: boolean
|
|
1519
1524
|
limit?: number
|
|
@@ -1530,6 +1535,7 @@ export class LedgerClient {
|
|
|
1530
1535
|
status: options?.status ?? null,
|
|
1531
1536
|
agentId: options?.agentId ?? null,
|
|
1532
1537
|
source: options?.source ?? null,
|
|
1538
|
+
externalId: options?.externalId ?? null,
|
|
1533
1539
|
isReconcilingItem: options?.isReconcilingItem ?? null,
|
|
1534
1540
|
limit: options?.limit ?? 50,
|
|
1535
1541
|
offset: options?.offset ?? 0,
|
|
@@ -1187,6 +1187,7 @@ export type ListLedgerEventBlocksQueryVariables = Exact<{
|
|
|
1187
1187
|
status: string | null | undefined;
|
|
1188
1188
|
agentId: string | null | undefined;
|
|
1189
1189
|
source: string | null | undefined;
|
|
1190
|
+
externalId: string | null | undefined;
|
|
1190
1191
|
isReconcilingItem: boolean | null | undefined;
|
|
1191
1192
|
limit?: number;
|
|
1192
1193
|
offset?: number;
|
|
@@ -3313,6 +3313,11 @@ exports.ListLedgerEventBlocksDocument = {
|
|
|
3313
3313
|
variable: { kind: 'Variable', name: { kind: 'Name', value: 'source' } },
|
|
3314
3314
|
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
3315
3315
|
},
|
|
3316
|
+
{
|
|
3317
|
+
kind: 'VariableDefinition',
|
|
3318
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'externalId' } },
|
|
3319
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
3320
|
+
},
|
|
3316
3321
|
{
|
|
3317
3322
|
kind: 'VariableDefinition',
|
|
3318
3323
|
variable: { kind: 'Variable', name: { kind: 'Name', value: 'isReconcilingItem' } },
|
|
@@ -3374,6 +3379,11 @@ exports.ListLedgerEventBlocksDocument = {
|
|
|
3374
3379
|
name: { kind: 'Name', value: 'source' },
|
|
3375
3380
|
value: { kind: 'Variable', name: { kind: 'Name', value: 'source' } },
|
|
3376
3381
|
},
|
|
3382
|
+
{
|
|
3383
|
+
kind: 'Argument',
|
|
3384
|
+
name: { kind: 'Name', value: 'externalId' },
|
|
3385
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'externalId' } },
|
|
3386
|
+
},
|
|
3377
3387
|
{
|
|
3378
3388
|
kind: 'Argument',
|
|
3379
3389
|
name: { kind: 'Name', value: 'isReconcilingItem' },
|
|
@@ -1183,6 +1183,7 @@ export type ListLedgerEventBlocksQueryVariables = Exact<{
|
|
|
1183
1183
|
status: string | null | undefined
|
|
1184
1184
|
agentId: string | null | undefined
|
|
1185
1185
|
source: string | null | undefined
|
|
1186
|
+
externalId: string | null | undefined
|
|
1186
1187
|
isReconcilingItem: boolean | null | undefined
|
|
1187
1188
|
limit?: number
|
|
1188
1189
|
offset?: number
|
|
@@ -6278,6 +6279,11 @@ export const ListLedgerEventBlocksDocument = {
|
|
|
6278
6279
|
variable: { kind: 'Variable', name: { kind: 'Name', value: 'source' } },
|
|
6279
6280
|
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
6280
6281
|
},
|
|
6282
|
+
{
|
|
6283
|
+
kind: 'VariableDefinition',
|
|
6284
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'externalId' } },
|
|
6285
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
6286
|
+
},
|
|
6281
6287
|
{
|
|
6282
6288
|
kind: 'VariableDefinition',
|
|
6283
6289
|
variable: { kind: 'Variable', name: { kind: 'Name', value: 'isReconcilingItem' } },
|
|
@@ -6339,6 +6345,11 @@ export const ListLedgerEventBlocksDocument = {
|
|
|
6339
6345
|
name: { kind: 'Name', value: 'source' },
|
|
6340
6346
|
value: { kind: 'Variable', name: { kind: 'Name', value: 'source' } },
|
|
6341
6347
|
},
|
|
6348
|
+
{
|
|
6349
|
+
kind: 'Argument',
|
|
6350
|
+
name: { kind: 'Name', value: 'externalId' },
|
|
6351
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'externalId' } },
|
|
6352
|
+
},
|
|
6342
6353
|
{
|
|
6343
6354
|
kind: 'Argument',
|
|
6344
6355
|
name: { kind: 'Name', value: 'isReconcilingItem' },
|
|
@@ -20,6 +20,7 @@ exports.LIST_EVENT_BLOCKS = (0, graphql_request_1.gql) `
|
|
|
20
20
|
$status: String
|
|
21
21
|
$agentId: String
|
|
22
22
|
$source: String
|
|
23
|
+
$externalId: String
|
|
23
24
|
$isReconcilingItem: Boolean
|
|
24
25
|
$limit: Int! = 50
|
|
25
26
|
$offset: Int! = 0
|
|
@@ -31,6 +32,7 @@ exports.LIST_EVENT_BLOCKS = (0, graphql_request_1.gql) `
|
|
|
31
32
|
status: $status
|
|
32
33
|
agentId: $agentId
|
|
33
34
|
source: $source
|
|
35
|
+
externalId: $externalId
|
|
34
36
|
isReconcilingItem: $isReconcilingItem
|
|
35
37
|
limit: $limit
|
|
36
38
|
offset: $offset
|
|
@@ -18,6 +18,7 @@ export const LIST_EVENT_BLOCKS = gql`
|
|
|
18
18
|
$status: String
|
|
19
19
|
$agentId: String
|
|
20
20
|
$source: String
|
|
21
|
+
$externalId: String
|
|
21
22
|
$isReconcilingItem: Boolean
|
|
22
23
|
$limit: Int! = 50
|
|
23
24
|
$offset: Int! = 0
|
|
@@ -29,6 +30,7 @@ export const LIST_EVENT_BLOCKS = gql`
|
|
|
29
30
|
status: $status
|
|
30
31
|
agentId: $agentId
|
|
31
32
|
source: $source
|
|
33
|
+
externalId: $externalId
|
|
32
34
|
isReconcilingItem: $isReconcilingItem
|
|
33
35
|
limit: $limit
|
|
34
36
|
offset: $offset
|