@robosystems/client 2.26.1 → 2.28.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/artifacts/LedgerClient.d.ts +41 -3
- package/artifacts/LedgerClient.js +40 -2
- package/artifacts/LedgerClient.ts +97 -2
- package/artifacts/graphql/generated/graphql.d.ts +121 -0
- package/artifacts/graphql/generated/graphql.js +364 -2
- package/artifacts/graphql/generated/graphql.ts +476 -0
- package/artifacts/graphql/queries/ledger/eventHandlers.d.ts +11 -0
- package/artifacts/graphql/queries/ledger/eventHandlers.js +73 -0
- package/artifacts/graphql/queries/ledger/eventHandlers.ts +73 -0
- package/artifacts/graphql/queries/ledger/reportShares.d.ts +11 -0
- package/artifacts/graphql/queries/ledger/reportShares.js +46 -0
- package/artifacts/graphql/queries/ledger/reportShares.ts +44 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- package/sdk/index.d.ts +1 -1
- package/sdk/index.ts +1 -1
- package/sdk/sdk.gen.d.ts +2 -2
- package/sdk/sdk.gen.js +2 -2
- package/sdk/sdk.gen.ts +2 -2
- package/sdk/types.gen.d.ts +48 -308
- package/sdk/types.gen.ts +48 -317
- package/sdk.gen.d.ts +2 -2
- package/sdk.gen.js +2 -2
- package/sdk.gen.ts +2 -2
- package/types.gen.d.ts +48 -308
- package/types.gen.ts +48 -317
|
@@ -1160,6 +1160,97 @@ export type ListLedgerEventBlocksQuery = {
|
|
|
1160
1160
|
}>
|
|
1161
1161
|
}
|
|
1162
1162
|
|
|
1163
|
+
export type EventHandlerFieldsFragment = {
|
|
1164
|
+
id: string
|
|
1165
|
+
name: string
|
|
1166
|
+
description: string | null
|
|
1167
|
+
eventType: string
|
|
1168
|
+
eventCategory: string | null
|
|
1169
|
+
matchSource: string | null
|
|
1170
|
+
matchAgentType: string | null
|
|
1171
|
+
matchResourceType: string | null
|
|
1172
|
+
matchMetadataExpression: unknown
|
|
1173
|
+
transactionTemplate: unknown
|
|
1174
|
+
priority: number
|
|
1175
|
+
isActive: boolean
|
|
1176
|
+
origin: string
|
|
1177
|
+
suggestedBy: string | null
|
|
1178
|
+
confidence: number | null
|
|
1179
|
+
approvedBy: string | null
|
|
1180
|
+
approvedAt: string | null
|
|
1181
|
+
awaitingApproval: boolean
|
|
1182
|
+
createdAt: string | null
|
|
1183
|
+
updatedAt: string | null
|
|
1184
|
+
createdBy: string | null
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
export type ListLedgerEventHandlersQueryVariables = Exact<{
|
|
1188
|
+
eventType: string | null | undefined
|
|
1189
|
+
isActive: boolean | null | undefined
|
|
1190
|
+
awaitingApproval: boolean | null | undefined
|
|
1191
|
+
limit?: number
|
|
1192
|
+
offset?: number
|
|
1193
|
+
}>
|
|
1194
|
+
|
|
1195
|
+
export type ListLedgerEventHandlersQuery = {
|
|
1196
|
+
eventHandlers: {
|
|
1197
|
+
eventHandlers: Array<{
|
|
1198
|
+
id: string
|
|
1199
|
+
name: string
|
|
1200
|
+
description: string | null
|
|
1201
|
+
eventType: string
|
|
1202
|
+
eventCategory: string | null
|
|
1203
|
+
matchSource: string | null
|
|
1204
|
+
matchAgentType: string | null
|
|
1205
|
+
matchResourceType: string | null
|
|
1206
|
+
matchMetadataExpression: unknown
|
|
1207
|
+
transactionTemplate: unknown
|
|
1208
|
+
priority: number
|
|
1209
|
+
isActive: boolean
|
|
1210
|
+
origin: string
|
|
1211
|
+
suggestedBy: string | null
|
|
1212
|
+
confidence: number | null
|
|
1213
|
+
approvedBy: string | null
|
|
1214
|
+
approvedAt: string | null
|
|
1215
|
+
awaitingApproval: boolean
|
|
1216
|
+
createdAt: string | null
|
|
1217
|
+
updatedAt: string | null
|
|
1218
|
+
createdBy: string | null
|
|
1219
|
+
}>
|
|
1220
|
+
pagination: { total: number; limit: number; offset: number; hasMore: boolean }
|
|
1221
|
+
} | null
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
export type GetLedgerEventHandlerQueryVariables = Exact<{
|
|
1225
|
+
id: string
|
|
1226
|
+
}>
|
|
1227
|
+
|
|
1228
|
+
export type GetLedgerEventHandlerQuery = {
|
|
1229
|
+
eventHandler: {
|
|
1230
|
+
id: string
|
|
1231
|
+
name: string
|
|
1232
|
+
description: string | null
|
|
1233
|
+
eventType: string
|
|
1234
|
+
eventCategory: string | null
|
|
1235
|
+
matchSource: string | null
|
|
1236
|
+
matchAgentType: string | null
|
|
1237
|
+
matchResourceType: string | null
|
|
1238
|
+
matchMetadataExpression: unknown
|
|
1239
|
+
transactionTemplate: unknown
|
|
1240
|
+
priority: number
|
|
1241
|
+
isActive: boolean
|
|
1242
|
+
origin: string
|
|
1243
|
+
suggestedBy: string | null
|
|
1244
|
+
confidence: number | null
|
|
1245
|
+
approvedBy: string | null
|
|
1246
|
+
approvedAt: string | null
|
|
1247
|
+
awaitingApproval: boolean
|
|
1248
|
+
createdAt: string | null
|
|
1249
|
+
updatedAt: string | null
|
|
1250
|
+
createdBy: string | null
|
|
1251
|
+
} | null
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1163
1254
|
export type GetLedgerFiscalCalendarQueryVariables = Exact<{
|
|
1164
1255
|
entityId: string | null | undefined
|
|
1165
1256
|
}>
|
|
@@ -2273,6 +2364,29 @@ export type GetLedgerReportPackageQuery = {
|
|
|
2273
2364
|
} | null
|
|
2274
2365
|
}
|
|
2275
2366
|
|
|
2367
|
+
export type ListLedgerReportSharesQueryVariables = Exact<{
|
|
2368
|
+
reportId: string | null | undefined
|
|
2369
|
+
includeRevoked?: boolean
|
|
2370
|
+
limit?: number
|
|
2371
|
+
offset?: number
|
|
2372
|
+
}>
|
|
2373
|
+
|
|
2374
|
+
export type ListLedgerReportSharesQuery = {
|
|
2375
|
+
reportShares: {
|
|
2376
|
+
reportShares: Array<{
|
|
2377
|
+
id: string
|
|
2378
|
+
reportId: string
|
|
2379
|
+
targetGraphId: string
|
|
2380
|
+
targetGraphName: string | null
|
|
2381
|
+
sharedBy: string
|
|
2382
|
+
sharedAt: string
|
|
2383
|
+
revokedAt: string | null
|
|
2384
|
+
factCount: number
|
|
2385
|
+
}>
|
|
2386
|
+
pagination: { total: number; limit: number; offset: number; hasMore: boolean }
|
|
2387
|
+
} | null
|
|
2388
|
+
}
|
|
2389
|
+
|
|
2276
2390
|
export type GetLedgerReportingTaxonomyQueryVariables = Exact<{ [key: string]: never }>
|
|
2277
2391
|
|
|
2278
2392
|
export type GetLedgerReportingTaxonomyQuery = {
|
|
@@ -3021,6 +3135,42 @@ export const AgedBalancesFieldsFragmentDoc = {
|
|
|
3021
3135
|
},
|
|
3022
3136
|
],
|
|
3023
3137
|
} as unknown as DocumentNode<AgedBalancesFieldsFragment, unknown>
|
|
3138
|
+
export const EventHandlerFieldsFragmentDoc = {
|
|
3139
|
+
kind: 'Document',
|
|
3140
|
+
definitions: [
|
|
3141
|
+
{
|
|
3142
|
+
kind: 'FragmentDefinition',
|
|
3143
|
+
name: { kind: 'Name', value: 'EventHandlerFields' },
|
|
3144
|
+
typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'EventHandler' } },
|
|
3145
|
+
selectionSet: {
|
|
3146
|
+
kind: 'SelectionSet',
|
|
3147
|
+
selections: [
|
|
3148
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
3149
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
3150
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'description' } },
|
|
3151
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'eventType' } },
|
|
3152
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'eventCategory' } },
|
|
3153
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchSource' } },
|
|
3154
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchAgentType' } },
|
|
3155
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchResourceType' } },
|
|
3156
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchMetadataExpression' } },
|
|
3157
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'transactionTemplate' } },
|
|
3158
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'priority' } },
|
|
3159
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
|
|
3160
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'origin' } },
|
|
3161
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'suggestedBy' } },
|
|
3162
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'confidence' } },
|
|
3163
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'approvedBy' } },
|
|
3164
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'approvedAt' } },
|
|
3165
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'awaitingApproval' } },
|
|
3166
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
|
|
3167
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } },
|
|
3168
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'createdBy' } },
|
|
3169
|
+
],
|
|
3170
|
+
},
|
|
3171
|
+
},
|
|
3172
|
+
],
|
|
3173
|
+
} as unknown as DocumentNode<EventHandlerFieldsFragment, unknown>
|
|
3024
3174
|
export const GetInvestorHoldingsDocument = {
|
|
3025
3175
|
kind: 'Document',
|
|
3026
3176
|
definitions: [
|
|
@@ -5968,6 +6118,222 @@ export const ListLedgerEventBlocksDocument = {
|
|
|
5968
6118
|
},
|
|
5969
6119
|
],
|
|
5970
6120
|
} as unknown as DocumentNode<ListLedgerEventBlocksQuery, ListLedgerEventBlocksQueryVariables>
|
|
6121
|
+
export const ListLedgerEventHandlersDocument = {
|
|
6122
|
+
kind: 'Document',
|
|
6123
|
+
definitions: [
|
|
6124
|
+
{
|
|
6125
|
+
kind: 'OperationDefinition',
|
|
6126
|
+
operation: 'query',
|
|
6127
|
+
name: { kind: 'Name', value: 'ListLedgerEventHandlers' },
|
|
6128
|
+
variableDefinitions: [
|
|
6129
|
+
{
|
|
6130
|
+
kind: 'VariableDefinition',
|
|
6131
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'eventType' } },
|
|
6132
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
6133
|
+
},
|
|
6134
|
+
{
|
|
6135
|
+
kind: 'VariableDefinition',
|
|
6136
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'isActive' } },
|
|
6137
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' } },
|
|
6138
|
+
},
|
|
6139
|
+
{
|
|
6140
|
+
kind: 'VariableDefinition',
|
|
6141
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'awaitingApproval' } },
|
|
6142
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' } },
|
|
6143
|
+
},
|
|
6144
|
+
{
|
|
6145
|
+
kind: 'VariableDefinition',
|
|
6146
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
|
|
6147
|
+
type: {
|
|
6148
|
+
kind: 'NonNullType',
|
|
6149
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
|
|
6150
|
+
},
|
|
6151
|
+
defaultValue: { kind: 'IntValue', value: '100' },
|
|
6152
|
+
},
|
|
6153
|
+
{
|
|
6154
|
+
kind: 'VariableDefinition',
|
|
6155
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
|
|
6156
|
+
type: {
|
|
6157
|
+
kind: 'NonNullType',
|
|
6158
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
|
|
6159
|
+
},
|
|
6160
|
+
defaultValue: { kind: 'IntValue', value: '0' },
|
|
6161
|
+
},
|
|
6162
|
+
],
|
|
6163
|
+
selectionSet: {
|
|
6164
|
+
kind: 'SelectionSet',
|
|
6165
|
+
selections: [
|
|
6166
|
+
{
|
|
6167
|
+
kind: 'Field',
|
|
6168
|
+
name: { kind: 'Name', value: 'eventHandlers' },
|
|
6169
|
+
arguments: [
|
|
6170
|
+
{
|
|
6171
|
+
kind: 'Argument',
|
|
6172
|
+
name: { kind: 'Name', value: 'eventType' },
|
|
6173
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'eventType' } },
|
|
6174
|
+
},
|
|
6175
|
+
{
|
|
6176
|
+
kind: 'Argument',
|
|
6177
|
+
name: { kind: 'Name', value: 'isActive' },
|
|
6178
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'isActive' } },
|
|
6179
|
+
},
|
|
6180
|
+
{
|
|
6181
|
+
kind: 'Argument',
|
|
6182
|
+
name: { kind: 'Name', value: 'awaitingApproval' },
|
|
6183
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'awaitingApproval' } },
|
|
6184
|
+
},
|
|
6185
|
+
{
|
|
6186
|
+
kind: 'Argument',
|
|
6187
|
+
name: { kind: 'Name', value: 'limit' },
|
|
6188
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
|
|
6189
|
+
},
|
|
6190
|
+
{
|
|
6191
|
+
kind: 'Argument',
|
|
6192
|
+
name: { kind: 'Name', value: 'offset' },
|
|
6193
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
|
|
6194
|
+
},
|
|
6195
|
+
],
|
|
6196
|
+
selectionSet: {
|
|
6197
|
+
kind: 'SelectionSet',
|
|
6198
|
+
selections: [
|
|
6199
|
+
{
|
|
6200
|
+
kind: 'Field',
|
|
6201
|
+
name: { kind: 'Name', value: 'eventHandlers' },
|
|
6202
|
+
selectionSet: {
|
|
6203
|
+
kind: 'SelectionSet',
|
|
6204
|
+
selections: [
|
|
6205
|
+
{
|
|
6206
|
+
kind: 'FragmentSpread',
|
|
6207
|
+
name: { kind: 'Name', value: 'EventHandlerFields' },
|
|
6208
|
+
},
|
|
6209
|
+
],
|
|
6210
|
+
},
|
|
6211
|
+
},
|
|
6212
|
+
{
|
|
6213
|
+
kind: 'Field',
|
|
6214
|
+
name: { kind: 'Name', value: 'pagination' },
|
|
6215
|
+
selectionSet: {
|
|
6216
|
+
kind: 'SelectionSet',
|
|
6217
|
+
selections: [
|
|
6218
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'total' } },
|
|
6219
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'limit' } },
|
|
6220
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'offset' } },
|
|
6221
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'hasMore' } },
|
|
6222
|
+
],
|
|
6223
|
+
},
|
|
6224
|
+
},
|
|
6225
|
+
],
|
|
6226
|
+
},
|
|
6227
|
+
},
|
|
6228
|
+
],
|
|
6229
|
+
},
|
|
6230
|
+
},
|
|
6231
|
+
{
|
|
6232
|
+
kind: 'FragmentDefinition',
|
|
6233
|
+
name: { kind: 'Name', value: 'EventHandlerFields' },
|
|
6234
|
+
typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'EventHandler' } },
|
|
6235
|
+
selectionSet: {
|
|
6236
|
+
kind: 'SelectionSet',
|
|
6237
|
+
selections: [
|
|
6238
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
6239
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
6240
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'description' } },
|
|
6241
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'eventType' } },
|
|
6242
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'eventCategory' } },
|
|
6243
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchSource' } },
|
|
6244
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchAgentType' } },
|
|
6245
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchResourceType' } },
|
|
6246
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchMetadataExpression' } },
|
|
6247
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'transactionTemplate' } },
|
|
6248
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'priority' } },
|
|
6249
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
|
|
6250
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'origin' } },
|
|
6251
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'suggestedBy' } },
|
|
6252
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'confidence' } },
|
|
6253
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'approvedBy' } },
|
|
6254
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'approvedAt' } },
|
|
6255
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'awaitingApproval' } },
|
|
6256
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
|
|
6257
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } },
|
|
6258
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'createdBy' } },
|
|
6259
|
+
],
|
|
6260
|
+
},
|
|
6261
|
+
},
|
|
6262
|
+
],
|
|
6263
|
+
} as unknown as DocumentNode<ListLedgerEventHandlersQuery, ListLedgerEventHandlersQueryVariables>
|
|
6264
|
+
export const GetLedgerEventHandlerDocument = {
|
|
6265
|
+
kind: 'Document',
|
|
6266
|
+
definitions: [
|
|
6267
|
+
{
|
|
6268
|
+
kind: 'OperationDefinition',
|
|
6269
|
+
operation: 'query',
|
|
6270
|
+
name: { kind: 'Name', value: 'GetLedgerEventHandler' },
|
|
6271
|
+
variableDefinitions: [
|
|
6272
|
+
{
|
|
6273
|
+
kind: 'VariableDefinition',
|
|
6274
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
|
|
6275
|
+
type: {
|
|
6276
|
+
kind: 'NonNullType',
|
|
6277
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
6278
|
+
},
|
|
6279
|
+
},
|
|
6280
|
+
],
|
|
6281
|
+
selectionSet: {
|
|
6282
|
+
kind: 'SelectionSet',
|
|
6283
|
+
selections: [
|
|
6284
|
+
{
|
|
6285
|
+
kind: 'Field',
|
|
6286
|
+
name: { kind: 'Name', value: 'eventHandler' },
|
|
6287
|
+
arguments: [
|
|
6288
|
+
{
|
|
6289
|
+
kind: 'Argument',
|
|
6290
|
+
name: { kind: 'Name', value: 'id' },
|
|
6291
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
|
|
6292
|
+
},
|
|
6293
|
+
],
|
|
6294
|
+
selectionSet: {
|
|
6295
|
+
kind: 'SelectionSet',
|
|
6296
|
+
selections: [
|
|
6297
|
+
{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'EventHandlerFields' } },
|
|
6298
|
+
],
|
|
6299
|
+
},
|
|
6300
|
+
},
|
|
6301
|
+
],
|
|
6302
|
+
},
|
|
6303
|
+
},
|
|
6304
|
+
{
|
|
6305
|
+
kind: 'FragmentDefinition',
|
|
6306
|
+
name: { kind: 'Name', value: 'EventHandlerFields' },
|
|
6307
|
+
typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'EventHandler' } },
|
|
6308
|
+
selectionSet: {
|
|
6309
|
+
kind: 'SelectionSet',
|
|
6310
|
+
selections: [
|
|
6311
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
6312
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
6313
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'description' } },
|
|
6314
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'eventType' } },
|
|
6315
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'eventCategory' } },
|
|
6316
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchSource' } },
|
|
6317
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchAgentType' } },
|
|
6318
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchResourceType' } },
|
|
6319
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchMetadataExpression' } },
|
|
6320
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'transactionTemplate' } },
|
|
6321
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'priority' } },
|
|
6322
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
|
|
6323
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'origin' } },
|
|
6324
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'suggestedBy' } },
|
|
6325
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'confidence' } },
|
|
6326
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'approvedBy' } },
|
|
6327
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'approvedAt' } },
|
|
6328
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'awaitingApproval' } },
|
|
6329
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
|
|
6330
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } },
|
|
6331
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'createdBy' } },
|
|
6332
|
+
],
|
|
6333
|
+
},
|
|
6334
|
+
},
|
|
6335
|
+
],
|
|
6336
|
+
} as unknown as DocumentNode<GetLedgerEventHandlerQuery, GetLedgerEventHandlerQueryVariables>
|
|
5971
6337
|
export const GetLedgerFiscalCalendarDocument = {
|
|
5972
6338
|
kind: 'Document',
|
|
5973
6339
|
definitions: [
|
|
@@ -9020,6 +9386,116 @@ export const GetLedgerReportPackageDocument = {
|
|
|
9020
9386
|
},
|
|
9021
9387
|
],
|
|
9022
9388
|
} as unknown as DocumentNode<GetLedgerReportPackageQuery, GetLedgerReportPackageQueryVariables>
|
|
9389
|
+
export const ListLedgerReportSharesDocument = {
|
|
9390
|
+
kind: 'Document',
|
|
9391
|
+
definitions: [
|
|
9392
|
+
{
|
|
9393
|
+
kind: 'OperationDefinition',
|
|
9394
|
+
operation: 'query',
|
|
9395
|
+
name: { kind: 'Name', value: 'ListLedgerReportShares' },
|
|
9396
|
+
variableDefinitions: [
|
|
9397
|
+
{
|
|
9398
|
+
kind: 'VariableDefinition',
|
|
9399
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'reportId' } },
|
|
9400
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
9401
|
+
},
|
|
9402
|
+
{
|
|
9403
|
+
kind: 'VariableDefinition',
|
|
9404
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'includeRevoked' } },
|
|
9405
|
+
type: {
|
|
9406
|
+
kind: 'NonNullType',
|
|
9407
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' } },
|
|
9408
|
+
},
|
|
9409
|
+
defaultValue: { kind: 'BooleanValue', value: false },
|
|
9410
|
+
},
|
|
9411
|
+
{
|
|
9412
|
+
kind: 'VariableDefinition',
|
|
9413
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
|
|
9414
|
+
type: {
|
|
9415
|
+
kind: 'NonNullType',
|
|
9416
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
|
|
9417
|
+
},
|
|
9418
|
+
defaultValue: { kind: 'IntValue', value: '100' },
|
|
9419
|
+
},
|
|
9420
|
+
{
|
|
9421
|
+
kind: 'VariableDefinition',
|
|
9422
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
|
|
9423
|
+
type: {
|
|
9424
|
+
kind: 'NonNullType',
|
|
9425
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
|
|
9426
|
+
},
|
|
9427
|
+
defaultValue: { kind: 'IntValue', value: '0' },
|
|
9428
|
+
},
|
|
9429
|
+
],
|
|
9430
|
+
selectionSet: {
|
|
9431
|
+
kind: 'SelectionSet',
|
|
9432
|
+
selections: [
|
|
9433
|
+
{
|
|
9434
|
+
kind: 'Field',
|
|
9435
|
+
name: { kind: 'Name', value: 'reportShares' },
|
|
9436
|
+
arguments: [
|
|
9437
|
+
{
|
|
9438
|
+
kind: 'Argument',
|
|
9439
|
+
name: { kind: 'Name', value: 'reportId' },
|
|
9440
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'reportId' } },
|
|
9441
|
+
},
|
|
9442
|
+
{
|
|
9443
|
+
kind: 'Argument',
|
|
9444
|
+
name: { kind: 'Name', value: 'includeRevoked' },
|
|
9445
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'includeRevoked' } },
|
|
9446
|
+
},
|
|
9447
|
+
{
|
|
9448
|
+
kind: 'Argument',
|
|
9449
|
+
name: { kind: 'Name', value: 'limit' },
|
|
9450
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
|
|
9451
|
+
},
|
|
9452
|
+
{
|
|
9453
|
+
kind: 'Argument',
|
|
9454
|
+
name: { kind: 'Name', value: 'offset' },
|
|
9455
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
|
|
9456
|
+
},
|
|
9457
|
+
],
|
|
9458
|
+
selectionSet: {
|
|
9459
|
+
kind: 'SelectionSet',
|
|
9460
|
+
selections: [
|
|
9461
|
+
{
|
|
9462
|
+
kind: 'Field',
|
|
9463
|
+
name: { kind: 'Name', value: 'reportShares' },
|
|
9464
|
+
selectionSet: {
|
|
9465
|
+
kind: 'SelectionSet',
|
|
9466
|
+
selections: [
|
|
9467
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
9468
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'reportId' } },
|
|
9469
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'targetGraphId' } },
|
|
9470
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'targetGraphName' } },
|
|
9471
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'sharedBy' } },
|
|
9472
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'sharedAt' } },
|
|
9473
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'revokedAt' } },
|
|
9474
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'factCount' } },
|
|
9475
|
+
],
|
|
9476
|
+
},
|
|
9477
|
+
},
|
|
9478
|
+
{
|
|
9479
|
+
kind: 'Field',
|
|
9480
|
+
name: { kind: 'Name', value: 'pagination' },
|
|
9481
|
+
selectionSet: {
|
|
9482
|
+
kind: 'SelectionSet',
|
|
9483
|
+
selections: [
|
|
9484
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'total' } },
|
|
9485
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'limit' } },
|
|
9486
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'offset' } },
|
|
9487
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'hasMore' } },
|
|
9488
|
+
],
|
|
9489
|
+
},
|
|
9490
|
+
},
|
|
9491
|
+
],
|
|
9492
|
+
},
|
|
9493
|
+
},
|
|
9494
|
+
],
|
|
9495
|
+
},
|
|
9496
|
+
},
|
|
9497
|
+
],
|
|
9498
|
+
} as unknown as DocumentNode<ListLedgerReportSharesQuery, ListLedgerReportSharesQueryVariables>
|
|
9023
9499
|
export const GetLedgerReportingTaxonomyDocument = {
|
|
9024
9500
|
kind: 'Document',
|
|
9025
9501
|
definitions: [
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const EVENT_HANDLER_FIELDS: string;
|
|
2
|
+
/**
|
|
3
|
+
* The graph's event handlers — the rules that turn a matching event into GL
|
|
4
|
+
* rows — highest priority first, active or not. A handler an AI client
|
|
5
|
+
* created, or whose match or template an AI client last changed, is
|
|
6
|
+
* `awaitingApproval` and takes no part in matching until a person approves
|
|
7
|
+
* it.
|
|
8
|
+
*/
|
|
9
|
+
export declare const LIST_EVENT_HANDLERS: string;
|
|
10
|
+
/** One event handler, or null. */
|
|
11
|
+
export declare const GET_EVENT_HANDLER: string;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GET_EVENT_HANDLER = exports.LIST_EVENT_HANDLERS = exports.EVENT_HANDLER_FIELDS = void 0;
|
|
4
|
+
const graphql_request_1 = require("graphql-request");
|
|
5
|
+
exports.EVENT_HANDLER_FIELDS = (0, graphql_request_1.gql) `
|
|
6
|
+
fragment EventHandlerFields on EventHandler {
|
|
7
|
+
id
|
|
8
|
+
name
|
|
9
|
+
description
|
|
10
|
+
eventType
|
|
11
|
+
eventCategory
|
|
12
|
+
matchSource
|
|
13
|
+
matchAgentType
|
|
14
|
+
matchResourceType
|
|
15
|
+
matchMetadataExpression
|
|
16
|
+
transactionTemplate
|
|
17
|
+
priority
|
|
18
|
+
isActive
|
|
19
|
+
origin
|
|
20
|
+
suggestedBy
|
|
21
|
+
confidence
|
|
22
|
+
approvedBy
|
|
23
|
+
approvedAt
|
|
24
|
+
awaitingApproval
|
|
25
|
+
createdAt
|
|
26
|
+
updatedAt
|
|
27
|
+
createdBy
|
|
28
|
+
}
|
|
29
|
+
`;
|
|
30
|
+
/**
|
|
31
|
+
* The graph's event handlers — the rules that turn a matching event into GL
|
|
32
|
+
* rows — highest priority first, active or not. A handler an AI client
|
|
33
|
+
* created, or whose match or template an AI client last changed, is
|
|
34
|
+
* `awaitingApproval` and takes no part in matching until a person approves
|
|
35
|
+
* it.
|
|
36
|
+
*/
|
|
37
|
+
exports.LIST_EVENT_HANDLERS = (0, graphql_request_1.gql) `
|
|
38
|
+
query ListLedgerEventHandlers(
|
|
39
|
+
$eventType: String
|
|
40
|
+
$isActive: Boolean
|
|
41
|
+
$awaitingApproval: Boolean
|
|
42
|
+
$limit: Int! = 100
|
|
43
|
+
$offset: Int! = 0
|
|
44
|
+
) {
|
|
45
|
+
eventHandlers(
|
|
46
|
+
eventType: $eventType
|
|
47
|
+
isActive: $isActive
|
|
48
|
+
awaitingApproval: $awaitingApproval
|
|
49
|
+
limit: $limit
|
|
50
|
+
offset: $offset
|
|
51
|
+
) {
|
|
52
|
+
eventHandlers {
|
|
53
|
+
...EventHandlerFields
|
|
54
|
+
}
|
|
55
|
+
pagination {
|
|
56
|
+
total
|
|
57
|
+
limit
|
|
58
|
+
offset
|
|
59
|
+
hasMore
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
${exports.EVENT_HANDLER_FIELDS}
|
|
64
|
+
`;
|
|
65
|
+
/** One event handler, or null. */
|
|
66
|
+
exports.GET_EVENT_HANDLER = (0, graphql_request_1.gql) `
|
|
67
|
+
query GetLedgerEventHandler($id: String!) {
|
|
68
|
+
eventHandler(id: $id) {
|
|
69
|
+
...EventHandlerFields
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
${exports.EVENT_HANDLER_FIELDS}
|
|
73
|
+
`;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { gql } from 'graphql-request'
|
|
2
|
+
|
|
3
|
+
export const EVENT_HANDLER_FIELDS = gql`
|
|
4
|
+
fragment EventHandlerFields on EventHandler {
|
|
5
|
+
id
|
|
6
|
+
name
|
|
7
|
+
description
|
|
8
|
+
eventType
|
|
9
|
+
eventCategory
|
|
10
|
+
matchSource
|
|
11
|
+
matchAgentType
|
|
12
|
+
matchResourceType
|
|
13
|
+
matchMetadataExpression
|
|
14
|
+
transactionTemplate
|
|
15
|
+
priority
|
|
16
|
+
isActive
|
|
17
|
+
origin
|
|
18
|
+
suggestedBy
|
|
19
|
+
confidence
|
|
20
|
+
approvedBy
|
|
21
|
+
approvedAt
|
|
22
|
+
awaitingApproval
|
|
23
|
+
createdAt
|
|
24
|
+
updatedAt
|
|
25
|
+
createdBy
|
|
26
|
+
}
|
|
27
|
+
`
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* The graph's event handlers — the rules that turn a matching event into GL
|
|
31
|
+
* rows — highest priority first, active or not. A handler an AI client
|
|
32
|
+
* created, or whose match or template an AI client last changed, is
|
|
33
|
+
* `awaitingApproval` and takes no part in matching until a person approves
|
|
34
|
+
* it.
|
|
35
|
+
*/
|
|
36
|
+
export const LIST_EVENT_HANDLERS = gql`
|
|
37
|
+
query ListLedgerEventHandlers(
|
|
38
|
+
$eventType: String
|
|
39
|
+
$isActive: Boolean
|
|
40
|
+
$awaitingApproval: Boolean
|
|
41
|
+
$limit: Int! = 100
|
|
42
|
+
$offset: Int! = 0
|
|
43
|
+
) {
|
|
44
|
+
eventHandlers(
|
|
45
|
+
eventType: $eventType
|
|
46
|
+
isActive: $isActive
|
|
47
|
+
awaitingApproval: $awaitingApproval
|
|
48
|
+
limit: $limit
|
|
49
|
+
offset: $offset
|
|
50
|
+
) {
|
|
51
|
+
eventHandlers {
|
|
52
|
+
...EventHandlerFields
|
|
53
|
+
}
|
|
54
|
+
pagination {
|
|
55
|
+
total
|
|
56
|
+
limit
|
|
57
|
+
offset
|
|
58
|
+
hasMore
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
${EVENT_HANDLER_FIELDS}
|
|
63
|
+
`
|
|
64
|
+
|
|
65
|
+
/** One event handler, or null. */
|
|
66
|
+
export const GET_EVENT_HANDLER = gql`
|
|
67
|
+
query GetLedgerEventHandler($id: String!) {
|
|
68
|
+
eventHandler(id: $id) {
|
|
69
|
+
...EventHandlerFields
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
${EVENT_HANDLER_FIELDS}
|
|
73
|
+
`
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Where this graph's reports have been shared: each recipient graph, when,
|
|
3
|
+
* by whom, how many facts it received, and whether the share was revoked.
|
|
4
|
+
*
|
|
5
|
+
* The sender's record behind `share-report` and `revoke-report-share`.
|
|
6
|
+
* `reportId` narrows to one report; omitted, the list is the graph's whole
|
|
7
|
+
* distribution log. Revoked shares are history and stay out unless
|
|
8
|
+
* `includeRevoked` is set — a recipient shared to, revoked, and shared to
|
|
9
|
+
* again has two rows, one revoked and one live.
|
|
10
|
+
*/
|
|
11
|
+
export declare const LIST_REPORT_SHARES: string;
|