@robosystems/client 2.27.0 → 2.29.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 +51 -4
- package/artifacts/LedgerClient.js +47 -2
- package/artifacts/LedgerClient.ts +129 -2
- package/artifacts/graphql/generated/graphql.d.ts +144 -0
- package/artifacts/graphql/generated/graphql.js +445 -2
- package/artifacts/graphql/generated/graphql.ts +589 -0
- package/artifacts/graphql/queries/ledger/allocationShare.d.ts +10 -0
- package/artifacts/graphql/queries/ledger/allocationShare.js +51 -0
- package/artifacts/graphql/queries/ledger/allocationShare.ts +51 -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/index.ts +2 -2
- package/package.json +1 -1
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +3 -2
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +11 -3
- package/sdk/sdk.gen.js +21 -4
- package/sdk/sdk.gen.ts +20 -3
- package/sdk/types.gen.d.ts +296 -308
- package/sdk/types.gen.ts +305 -317
- package/sdk.gen.d.ts +11 -3
- package/sdk.gen.js +21 -4
- package/sdk.gen.ts +20 -3
- package/types.gen.d.ts +296 -308
- package/types.gen.ts +305 -317
|
@@ -822,6 +822,58 @@ export type ListLedgerAgentsQuery = {
|
|
|
822
822
|
}>
|
|
823
823
|
}
|
|
824
824
|
|
|
825
|
+
export type AllocationOverrideFieldsFragment = {
|
|
826
|
+
period: string
|
|
827
|
+
amount: number | null
|
|
828
|
+
percentage: number | null
|
|
829
|
+
basis: string | null
|
|
830
|
+
setBy: string | null
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
export type GetLedgerAllocationShareQueryVariables = Exact<{
|
|
834
|
+
entityId: string
|
|
835
|
+
period: string
|
|
836
|
+
}>
|
|
837
|
+
|
|
838
|
+
export type GetLedgerAllocationShareQuery = {
|
|
839
|
+
allocationShare: {
|
|
840
|
+
entityId: string
|
|
841
|
+
entityName: string
|
|
842
|
+
period: string
|
|
843
|
+
consolidationMethod: string
|
|
844
|
+
ownershipPct: number | null
|
|
845
|
+
outsidePct: number
|
|
846
|
+
monthResult: number
|
|
847
|
+
proRataAmount: number
|
|
848
|
+
effectiveAmount: number
|
|
849
|
+
closed: boolean
|
|
850
|
+
override: {
|
|
851
|
+
period: string
|
|
852
|
+
amount: number | null
|
|
853
|
+
percentage: number | null
|
|
854
|
+
basis: string | null
|
|
855
|
+
setBy: string | null
|
|
856
|
+
} | null
|
|
857
|
+
} | null
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
export type ListLedgerAllocationOverridesQueryVariables = Exact<{
|
|
861
|
+
entityId: string
|
|
862
|
+
}>
|
|
863
|
+
|
|
864
|
+
export type ListLedgerAllocationOverridesQuery = {
|
|
865
|
+
allocationOverrides: {
|
|
866
|
+
entityId: string
|
|
867
|
+
overrides: Array<{
|
|
868
|
+
period: string
|
|
869
|
+
amount: number | null
|
|
870
|
+
percentage: number | null
|
|
871
|
+
basis: string | null
|
|
872
|
+
setBy: string | null
|
|
873
|
+
}>
|
|
874
|
+
} | null
|
|
875
|
+
}
|
|
876
|
+
|
|
825
877
|
export type ListLedgerBankAccountsQueryVariables = Exact<{
|
|
826
878
|
entityId: string | null | undefined
|
|
827
879
|
}>
|
|
@@ -1160,6 +1212,97 @@ export type ListLedgerEventBlocksQuery = {
|
|
|
1160
1212
|
}>
|
|
1161
1213
|
}
|
|
1162
1214
|
|
|
1215
|
+
export type EventHandlerFieldsFragment = {
|
|
1216
|
+
id: string
|
|
1217
|
+
name: string
|
|
1218
|
+
description: string | null
|
|
1219
|
+
eventType: string
|
|
1220
|
+
eventCategory: string | null
|
|
1221
|
+
matchSource: string | null
|
|
1222
|
+
matchAgentType: string | null
|
|
1223
|
+
matchResourceType: string | null
|
|
1224
|
+
matchMetadataExpression: unknown
|
|
1225
|
+
transactionTemplate: unknown
|
|
1226
|
+
priority: number
|
|
1227
|
+
isActive: boolean
|
|
1228
|
+
origin: string
|
|
1229
|
+
suggestedBy: string | null
|
|
1230
|
+
confidence: number | null
|
|
1231
|
+
approvedBy: string | null
|
|
1232
|
+
approvedAt: string | null
|
|
1233
|
+
awaitingApproval: boolean
|
|
1234
|
+
createdAt: string | null
|
|
1235
|
+
updatedAt: string | null
|
|
1236
|
+
createdBy: string | null
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
export type ListLedgerEventHandlersQueryVariables = Exact<{
|
|
1240
|
+
eventType: string | null | undefined
|
|
1241
|
+
isActive: boolean | null | undefined
|
|
1242
|
+
awaitingApproval: boolean | null | undefined
|
|
1243
|
+
limit?: number
|
|
1244
|
+
offset?: number
|
|
1245
|
+
}>
|
|
1246
|
+
|
|
1247
|
+
export type ListLedgerEventHandlersQuery = {
|
|
1248
|
+
eventHandlers: {
|
|
1249
|
+
eventHandlers: Array<{
|
|
1250
|
+
id: string
|
|
1251
|
+
name: string
|
|
1252
|
+
description: string | null
|
|
1253
|
+
eventType: string
|
|
1254
|
+
eventCategory: string | null
|
|
1255
|
+
matchSource: string | null
|
|
1256
|
+
matchAgentType: string | null
|
|
1257
|
+
matchResourceType: string | null
|
|
1258
|
+
matchMetadataExpression: unknown
|
|
1259
|
+
transactionTemplate: unknown
|
|
1260
|
+
priority: number
|
|
1261
|
+
isActive: boolean
|
|
1262
|
+
origin: string
|
|
1263
|
+
suggestedBy: string | null
|
|
1264
|
+
confidence: number | null
|
|
1265
|
+
approvedBy: string | null
|
|
1266
|
+
approvedAt: string | null
|
|
1267
|
+
awaitingApproval: boolean
|
|
1268
|
+
createdAt: string | null
|
|
1269
|
+
updatedAt: string | null
|
|
1270
|
+
createdBy: string | null
|
|
1271
|
+
}>
|
|
1272
|
+
pagination: { total: number; limit: number; offset: number; hasMore: boolean }
|
|
1273
|
+
} | null
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1276
|
+
export type GetLedgerEventHandlerQueryVariables = Exact<{
|
|
1277
|
+
id: string
|
|
1278
|
+
}>
|
|
1279
|
+
|
|
1280
|
+
export type GetLedgerEventHandlerQuery = {
|
|
1281
|
+
eventHandler: {
|
|
1282
|
+
id: string
|
|
1283
|
+
name: string
|
|
1284
|
+
description: string | null
|
|
1285
|
+
eventType: string
|
|
1286
|
+
eventCategory: string | null
|
|
1287
|
+
matchSource: string | null
|
|
1288
|
+
matchAgentType: string | null
|
|
1289
|
+
matchResourceType: string | null
|
|
1290
|
+
matchMetadataExpression: unknown
|
|
1291
|
+
transactionTemplate: unknown
|
|
1292
|
+
priority: number
|
|
1293
|
+
isActive: boolean
|
|
1294
|
+
origin: string
|
|
1295
|
+
suggestedBy: string | null
|
|
1296
|
+
confidence: number | null
|
|
1297
|
+
approvedBy: string | null
|
|
1298
|
+
approvedAt: string | null
|
|
1299
|
+
awaitingApproval: boolean
|
|
1300
|
+
createdAt: string | null
|
|
1301
|
+
updatedAt: string | null
|
|
1302
|
+
createdBy: string | null
|
|
1303
|
+
} | null
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1163
1306
|
export type GetLedgerFiscalCalendarQueryVariables = Exact<{
|
|
1164
1307
|
entityId: string | null | undefined
|
|
1165
1308
|
}>
|
|
@@ -3044,6 +3187,65 @@ export const AgedBalancesFieldsFragmentDoc = {
|
|
|
3044
3187
|
},
|
|
3045
3188
|
],
|
|
3046
3189
|
} as unknown as DocumentNode<AgedBalancesFieldsFragment, unknown>
|
|
3190
|
+
export const AllocationOverrideFieldsFragmentDoc = {
|
|
3191
|
+
kind: 'Document',
|
|
3192
|
+
definitions: [
|
|
3193
|
+
{
|
|
3194
|
+
kind: 'FragmentDefinition',
|
|
3195
|
+
name: { kind: 'Name', value: 'AllocationOverrideFields' },
|
|
3196
|
+
typeCondition: {
|
|
3197
|
+
kind: 'NamedType',
|
|
3198
|
+
name: { kind: 'Name', value: 'AllocationOverrideRecord' },
|
|
3199
|
+
},
|
|
3200
|
+
selectionSet: {
|
|
3201
|
+
kind: 'SelectionSet',
|
|
3202
|
+
selections: [
|
|
3203
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'period' } },
|
|
3204
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'amount' } },
|
|
3205
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'percentage' } },
|
|
3206
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'basis' } },
|
|
3207
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'setBy' } },
|
|
3208
|
+
],
|
|
3209
|
+
},
|
|
3210
|
+
},
|
|
3211
|
+
],
|
|
3212
|
+
} as unknown as DocumentNode<AllocationOverrideFieldsFragment, unknown>
|
|
3213
|
+
export const EventHandlerFieldsFragmentDoc = {
|
|
3214
|
+
kind: 'Document',
|
|
3215
|
+
definitions: [
|
|
3216
|
+
{
|
|
3217
|
+
kind: 'FragmentDefinition',
|
|
3218
|
+
name: { kind: 'Name', value: 'EventHandlerFields' },
|
|
3219
|
+
typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'EventHandler' } },
|
|
3220
|
+
selectionSet: {
|
|
3221
|
+
kind: 'SelectionSet',
|
|
3222
|
+
selections: [
|
|
3223
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
3224
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
3225
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'description' } },
|
|
3226
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'eventType' } },
|
|
3227
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'eventCategory' } },
|
|
3228
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchSource' } },
|
|
3229
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchAgentType' } },
|
|
3230
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchResourceType' } },
|
|
3231
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchMetadataExpression' } },
|
|
3232
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'transactionTemplate' } },
|
|
3233
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'priority' } },
|
|
3234
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
|
|
3235
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'origin' } },
|
|
3236
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'suggestedBy' } },
|
|
3237
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'confidence' } },
|
|
3238
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'approvedBy' } },
|
|
3239
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'approvedAt' } },
|
|
3240
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'awaitingApproval' } },
|
|
3241
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
|
|
3242
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } },
|
|
3243
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'createdBy' } },
|
|
3244
|
+
],
|
|
3245
|
+
},
|
|
3246
|
+
},
|
|
3247
|
+
],
|
|
3248
|
+
} as unknown as DocumentNode<EventHandlerFieldsFragment, unknown>
|
|
3047
3249
|
export const GetInvestorHoldingsDocument = {
|
|
3048
3250
|
kind: 'Document',
|
|
3049
3251
|
definitions: [
|
|
@@ -5075,6 +5277,177 @@ export const ListLedgerAgentsDocument = {
|
|
|
5075
5277
|
},
|
|
5076
5278
|
],
|
|
5077
5279
|
} as unknown as DocumentNode<ListLedgerAgentsQuery, ListLedgerAgentsQueryVariables>
|
|
5280
|
+
export const GetLedgerAllocationShareDocument = {
|
|
5281
|
+
kind: 'Document',
|
|
5282
|
+
definitions: [
|
|
5283
|
+
{
|
|
5284
|
+
kind: 'OperationDefinition',
|
|
5285
|
+
operation: 'query',
|
|
5286
|
+
name: { kind: 'Name', value: 'GetLedgerAllocationShare' },
|
|
5287
|
+
variableDefinitions: [
|
|
5288
|
+
{
|
|
5289
|
+
kind: 'VariableDefinition',
|
|
5290
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
5291
|
+
type: {
|
|
5292
|
+
kind: 'NonNullType',
|
|
5293
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
5294
|
+
},
|
|
5295
|
+
},
|
|
5296
|
+
{
|
|
5297
|
+
kind: 'VariableDefinition',
|
|
5298
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'period' } },
|
|
5299
|
+
type: {
|
|
5300
|
+
kind: 'NonNullType',
|
|
5301
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
5302
|
+
},
|
|
5303
|
+
},
|
|
5304
|
+
],
|
|
5305
|
+
selectionSet: {
|
|
5306
|
+
kind: 'SelectionSet',
|
|
5307
|
+
selections: [
|
|
5308
|
+
{
|
|
5309
|
+
kind: 'Field',
|
|
5310
|
+
name: { kind: 'Name', value: 'allocationShare' },
|
|
5311
|
+
arguments: [
|
|
5312
|
+
{
|
|
5313
|
+
kind: 'Argument',
|
|
5314
|
+
name: { kind: 'Name', value: 'entityId' },
|
|
5315
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
5316
|
+
},
|
|
5317
|
+
{
|
|
5318
|
+
kind: 'Argument',
|
|
5319
|
+
name: { kind: 'Name', value: 'period' },
|
|
5320
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'period' } },
|
|
5321
|
+
},
|
|
5322
|
+
],
|
|
5323
|
+
selectionSet: {
|
|
5324
|
+
kind: 'SelectionSet',
|
|
5325
|
+
selections: [
|
|
5326
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
|
|
5327
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'entityName' } },
|
|
5328
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'period' } },
|
|
5329
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'consolidationMethod' } },
|
|
5330
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'ownershipPct' } },
|
|
5331
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'outsidePct' } },
|
|
5332
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'monthResult' } },
|
|
5333
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'proRataAmount' } },
|
|
5334
|
+
{
|
|
5335
|
+
kind: 'Field',
|
|
5336
|
+
name: { kind: 'Name', value: 'override' },
|
|
5337
|
+
selectionSet: {
|
|
5338
|
+
kind: 'SelectionSet',
|
|
5339
|
+
selections: [
|
|
5340
|
+
{
|
|
5341
|
+
kind: 'FragmentSpread',
|
|
5342
|
+
name: { kind: 'Name', value: 'AllocationOverrideFields' },
|
|
5343
|
+
},
|
|
5344
|
+
],
|
|
5345
|
+
},
|
|
5346
|
+
},
|
|
5347
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'effectiveAmount' } },
|
|
5348
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'closed' } },
|
|
5349
|
+
],
|
|
5350
|
+
},
|
|
5351
|
+
},
|
|
5352
|
+
],
|
|
5353
|
+
},
|
|
5354
|
+
},
|
|
5355
|
+
{
|
|
5356
|
+
kind: 'FragmentDefinition',
|
|
5357
|
+
name: { kind: 'Name', value: 'AllocationOverrideFields' },
|
|
5358
|
+
typeCondition: {
|
|
5359
|
+
kind: 'NamedType',
|
|
5360
|
+
name: { kind: 'Name', value: 'AllocationOverrideRecord' },
|
|
5361
|
+
},
|
|
5362
|
+
selectionSet: {
|
|
5363
|
+
kind: 'SelectionSet',
|
|
5364
|
+
selections: [
|
|
5365
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'period' } },
|
|
5366
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'amount' } },
|
|
5367
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'percentage' } },
|
|
5368
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'basis' } },
|
|
5369
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'setBy' } },
|
|
5370
|
+
],
|
|
5371
|
+
},
|
|
5372
|
+
},
|
|
5373
|
+
],
|
|
5374
|
+
} as unknown as DocumentNode<GetLedgerAllocationShareQuery, GetLedgerAllocationShareQueryVariables>
|
|
5375
|
+
export const ListLedgerAllocationOverridesDocument = {
|
|
5376
|
+
kind: 'Document',
|
|
5377
|
+
definitions: [
|
|
5378
|
+
{
|
|
5379
|
+
kind: 'OperationDefinition',
|
|
5380
|
+
operation: 'query',
|
|
5381
|
+
name: { kind: 'Name', value: 'ListLedgerAllocationOverrides' },
|
|
5382
|
+
variableDefinitions: [
|
|
5383
|
+
{
|
|
5384
|
+
kind: 'VariableDefinition',
|
|
5385
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
5386
|
+
type: {
|
|
5387
|
+
kind: 'NonNullType',
|
|
5388
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
5389
|
+
},
|
|
5390
|
+
},
|
|
5391
|
+
],
|
|
5392
|
+
selectionSet: {
|
|
5393
|
+
kind: 'SelectionSet',
|
|
5394
|
+
selections: [
|
|
5395
|
+
{
|
|
5396
|
+
kind: 'Field',
|
|
5397
|
+
name: { kind: 'Name', value: 'allocationOverrides' },
|
|
5398
|
+
arguments: [
|
|
5399
|
+
{
|
|
5400
|
+
kind: 'Argument',
|
|
5401
|
+
name: { kind: 'Name', value: 'entityId' },
|
|
5402
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
5403
|
+
},
|
|
5404
|
+
],
|
|
5405
|
+
selectionSet: {
|
|
5406
|
+
kind: 'SelectionSet',
|
|
5407
|
+
selections: [
|
|
5408
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
|
|
5409
|
+
{
|
|
5410
|
+
kind: 'Field',
|
|
5411
|
+
name: { kind: 'Name', value: 'overrides' },
|
|
5412
|
+
selectionSet: {
|
|
5413
|
+
kind: 'SelectionSet',
|
|
5414
|
+
selections: [
|
|
5415
|
+
{
|
|
5416
|
+
kind: 'FragmentSpread',
|
|
5417
|
+
name: { kind: 'Name', value: 'AllocationOverrideFields' },
|
|
5418
|
+
},
|
|
5419
|
+
],
|
|
5420
|
+
},
|
|
5421
|
+
},
|
|
5422
|
+
],
|
|
5423
|
+
},
|
|
5424
|
+
},
|
|
5425
|
+
],
|
|
5426
|
+
},
|
|
5427
|
+
},
|
|
5428
|
+
{
|
|
5429
|
+
kind: 'FragmentDefinition',
|
|
5430
|
+
name: { kind: 'Name', value: 'AllocationOverrideFields' },
|
|
5431
|
+
typeCondition: {
|
|
5432
|
+
kind: 'NamedType',
|
|
5433
|
+
name: { kind: 'Name', value: 'AllocationOverrideRecord' },
|
|
5434
|
+
},
|
|
5435
|
+
selectionSet: {
|
|
5436
|
+
kind: 'SelectionSet',
|
|
5437
|
+
selections: [
|
|
5438
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'period' } },
|
|
5439
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'amount' } },
|
|
5440
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'percentage' } },
|
|
5441
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'basis' } },
|
|
5442
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'setBy' } },
|
|
5443
|
+
],
|
|
5444
|
+
},
|
|
5445
|
+
},
|
|
5446
|
+
],
|
|
5447
|
+
} as unknown as DocumentNode<
|
|
5448
|
+
ListLedgerAllocationOverridesQuery,
|
|
5449
|
+
ListLedgerAllocationOverridesQueryVariables
|
|
5450
|
+
>
|
|
5078
5451
|
export const ListLedgerBankAccountsDocument = {
|
|
5079
5452
|
kind: 'Document',
|
|
5080
5453
|
definitions: [
|
|
@@ -5991,6 +6364,222 @@ export const ListLedgerEventBlocksDocument = {
|
|
|
5991
6364
|
},
|
|
5992
6365
|
],
|
|
5993
6366
|
} as unknown as DocumentNode<ListLedgerEventBlocksQuery, ListLedgerEventBlocksQueryVariables>
|
|
6367
|
+
export const ListLedgerEventHandlersDocument = {
|
|
6368
|
+
kind: 'Document',
|
|
6369
|
+
definitions: [
|
|
6370
|
+
{
|
|
6371
|
+
kind: 'OperationDefinition',
|
|
6372
|
+
operation: 'query',
|
|
6373
|
+
name: { kind: 'Name', value: 'ListLedgerEventHandlers' },
|
|
6374
|
+
variableDefinitions: [
|
|
6375
|
+
{
|
|
6376
|
+
kind: 'VariableDefinition',
|
|
6377
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'eventType' } },
|
|
6378
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
6379
|
+
},
|
|
6380
|
+
{
|
|
6381
|
+
kind: 'VariableDefinition',
|
|
6382
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'isActive' } },
|
|
6383
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' } },
|
|
6384
|
+
},
|
|
6385
|
+
{
|
|
6386
|
+
kind: 'VariableDefinition',
|
|
6387
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'awaitingApproval' } },
|
|
6388
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' } },
|
|
6389
|
+
},
|
|
6390
|
+
{
|
|
6391
|
+
kind: 'VariableDefinition',
|
|
6392
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
|
|
6393
|
+
type: {
|
|
6394
|
+
kind: 'NonNullType',
|
|
6395
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
|
|
6396
|
+
},
|
|
6397
|
+
defaultValue: { kind: 'IntValue', value: '100' },
|
|
6398
|
+
},
|
|
6399
|
+
{
|
|
6400
|
+
kind: 'VariableDefinition',
|
|
6401
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
|
|
6402
|
+
type: {
|
|
6403
|
+
kind: 'NonNullType',
|
|
6404
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
|
|
6405
|
+
},
|
|
6406
|
+
defaultValue: { kind: 'IntValue', value: '0' },
|
|
6407
|
+
},
|
|
6408
|
+
],
|
|
6409
|
+
selectionSet: {
|
|
6410
|
+
kind: 'SelectionSet',
|
|
6411
|
+
selections: [
|
|
6412
|
+
{
|
|
6413
|
+
kind: 'Field',
|
|
6414
|
+
name: { kind: 'Name', value: 'eventHandlers' },
|
|
6415
|
+
arguments: [
|
|
6416
|
+
{
|
|
6417
|
+
kind: 'Argument',
|
|
6418
|
+
name: { kind: 'Name', value: 'eventType' },
|
|
6419
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'eventType' } },
|
|
6420
|
+
},
|
|
6421
|
+
{
|
|
6422
|
+
kind: 'Argument',
|
|
6423
|
+
name: { kind: 'Name', value: 'isActive' },
|
|
6424
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'isActive' } },
|
|
6425
|
+
},
|
|
6426
|
+
{
|
|
6427
|
+
kind: 'Argument',
|
|
6428
|
+
name: { kind: 'Name', value: 'awaitingApproval' },
|
|
6429
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'awaitingApproval' } },
|
|
6430
|
+
},
|
|
6431
|
+
{
|
|
6432
|
+
kind: 'Argument',
|
|
6433
|
+
name: { kind: 'Name', value: 'limit' },
|
|
6434
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
|
|
6435
|
+
},
|
|
6436
|
+
{
|
|
6437
|
+
kind: 'Argument',
|
|
6438
|
+
name: { kind: 'Name', value: 'offset' },
|
|
6439
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
|
|
6440
|
+
},
|
|
6441
|
+
],
|
|
6442
|
+
selectionSet: {
|
|
6443
|
+
kind: 'SelectionSet',
|
|
6444
|
+
selections: [
|
|
6445
|
+
{
|
|
6446
|
+
kind: 'Field',
|
|
6447
|
+
name: { kind: 'Name', value: 'eventHandlers' },
|
|
6448
|
+
selectionSet: {
|
|
6449
|
+
kind: 'SelectionSet',
|
|
6450
|
+
selections: [
|
|
6451
|
+
{
|
|
6452
|
+
kind: 'FragmentSpread',
|
|
6453
|
+
name: { kind: 'Name', value: 'EventHandlerFields' },
|
|
6454
|
+
},
|
|
6455
|
+
],
|
|
6456
|
+
},
|
|
6457
|
+
},
|
|
6458
|
+
{
|
|
6459
|
+
kind: 'Field',
|
|
6460
|
+
name: { kind: 'Name', value: 'pagination' },
|
|
6461
|
+
selectionSet: {
|
|
6462
|
+
kind: 'SelectionSet',
|
|
6463
|
+
selections: [
|
|
6464
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'total' } },
|
|
6465
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'limit' } },
|
|
6466
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'offset' } },
|
|
6467
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'hasMore' } },
|
|
6468
|
+
],
|
|
6469
|
+
},
|
|
6470
|
+
},
|
|
6471
|
+
],
|
|
6472
|
+
},
|
|
6473
|
+
},
|
|
6474
|
+
],
|
|
6475
|
+
},
|
|
6476
|
+
},
|
|
6477
|
+
{
|
|
6478
|
+
kind: 'FragmentDefinition',
|
|
6479
|
+
name: { kind: 'Name', value: 'EventHandlerFields' },
|
|
6480
|
+
typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'EventHandler' } },
|
|
6481
|
+
selectionSet: {
|
|
6482
|
+
kind: 'SelectionSet',
|
|
6483
|
+
selections: [
|
|
6484
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
6485
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
6486
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'description' } },
|
|
6487
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'eventType' } },
|
|
6488
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'eventCategory' } },
|
|
6489
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchSource' } },
|
|
6490
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchAgentType' } },
|
|
6491
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchResourceType' } },
|
|
6492
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchMetadataExpression' } },
|
|
6493
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'transactionTemplate' } },
|
|
6494
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'priority' } },
|
|
6495
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
|
|
6496
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'origin' } },
|
|
6497
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'suggestedBy' } },
|
|
6498
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'confidence' } },
|
|
6499
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'approvedBy' } },
|
|
6500
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'approvedAt' } },
|
|
6501
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'awaitingApproval' } },
|
|
6502
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
|
|
6503
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } },
|
|
6504
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'createdBy' } },
|
|
6505
|
+
],
|
|
6506
|
+
},
|
|
6507
|
+
},
|
|
6508
|
+
],
|
|
6509
|
+
} as unknown as DocumentNode<ListLedgerEventHandlersQuery, ListLedgerEventHandlersQueryVariables>
|
|
6510
|
+
export const GetLedgerEventHandlerDocument = {
|
|
6511
|
+
kind: 'Document',
|
|
6512
|
+
definitions: [
|
|
6513
|
+
{
|
|
6514
|
+
kind: 'OperationDefinition',
|
|
6515
|
+
operation: 'query',
|
|
6516
|
+
name: { kind: 'Name', value: 'GetLedgerEventHandler' },
|
|
6517
|
+
variableDefinitions: [
|
|
6518
|
+
{
|
|
6519
|
+
kind: 'VariableDefinition',
|
|
6520
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
|
|
6521
|
+
type: {
|
|
6522
|
+
kind: 'NonNullType',
|
|
6523
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
6524
|
+
},
|
|
6525
|
+
},
|
|
6526
|
+
],
|
|
6527
|
+
selectionSet: {
|
|
6528
|
+
kind: 'SelectionSet',
|
|
6529
|
+
selections: [
|
|
6530
|
+
{
|
|
6531
|
+
kind: 'Field',
|
|
6532
|
+
name: { kind: 'Name', value: 'eventHandler' },
|
|
6533
|
+
arguments: [
|
|
6534
|
+
{
|
|
6535
|
+
kind: 'Argument',
|
|
6536
|
+
name: { kind: 'Name', value: 'id' },
|
|
6537
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
|
|
6538
|
+
},
|
|
6539
|
+
],
|
|
6540
|
+
selectionSet: {
|
|
6541
|
+
kind: 'SelectionSet',
|
|
6542
|
+
selections: [
|
|
6543
|
+
{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'EventHandlerFields' } },
|
|
6544
|
+
],
|
|
6545
|
+
},
|
|
6546
|
+
},
|
|
6547
|
+
],
|
|
6548
|
+
},
|
|
6549
|
+
},
|
|
6550
|
+
{
|
|
6551
|
+
kind: 'FragmentDefinition',
|
|
6552
|
+
name: { kind: 'Name', value: 'EventHandlerFields' },
|
|
6553
|
+
typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'EventHandler' } },
|
|
6554
|
+
selectionSet: {
|
|
6555
|
+
kind: 'SelectionSet',
|
|
6556
|
+
selections: [
|
|
6557
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
6558
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
6559
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'description' } },
|
|
6560
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'eventType' } },
|
|
6561
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'eventCategory' } },
|
|
6562
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchSource' } },
|
|
6563
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchAgentType' } },
|
|
6564
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchResourceType' } },
|
|
6565
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchMetadataExpression' } },
|
|
6566
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'transactionTemplate' } },
|
|
6567
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'priority' } },
|
|
6568
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
|
|
6569
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'origin' } },
|
|
6570
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'suggestedBy' } },
|
|
6571
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'confidence' } },
|
|
6572
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'approvedBy' } },
|
|
6573
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'approvedAt' } },
|
|
6574
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'awaitingApproval' } },
|
|
6575
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
|
|
6576
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } },
|
|
6577
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'createdBy' } },
|
|
6578
|
+
],
|
|
6579
|
+
},
|
|
6580
|
+
},
|
|
6581
|
+
],
|
|
6582
|
+
} as unknown as DocumentNode<GetLedgerEventHandlerQuery, GetLedgerEventHandlerQueryVariables>
|
|
5994
6583
|
export const GetLedgerFiscalCalendarDocument = {
|
|
5995
6584
|
kind: 'Document',
|
|
5996
6585
|
definitions: [
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const ALLOCATION_OVERRIDE_FIELDS: string;
|
|
2
|
+
/**
|
|
3
|
+
* The outside owners' share of a member's result for one month: the
|
|
4
|
+
* pro-rata figure its ownership gives, the override set with
|
|
5
|
+
* `set-allocation-override` if any, and the share the consolidating entries
|
|
6
|
+
* use. Amounts are cents.
|
|
7
|
+
*/
|
|
8
|
+
export declare const GET_ALLOCATION_SHARE: string;
|
|
9
|
+
/** Every month a member's allocation override is set for, oldest first. */
|
|
10
|
+
export declare const LIST_ALLOCATION_OVERRIDES: string;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LIST_ALLOCATION_OVERRIDES = exports.GET_ALLOCATION_SHARE = exports.ALLOCATION_OVERRIDE_FIELDS = void 0;
|
|
4
|
+
const graphql_request_1 = require("graphql-request");
|
|
5
|
+
exports.ALLOCATION_OVERRIDE_FIELDS = (0, graphql_request_1.gql) `
|
|
6
|
+
fragment AllocationOverrideFields on AllocationOverrideRecord {
|
|
7
|
+
period
|
|
8
|
+
amount
|
|
9
|
+
percentage
|
|
10
|
+
basis
|
|
11
|
+
setBy
|
|
12
|
+
}
|
|
13
|
+
`;
|
|
14
|
+
/**
|
|
15
|
+
* The outside owners' share of a member's result for one month: the
|
|
16
|
+
* pro-rata figure its ownership gives, the override set with
|
|
17
|
+
* `set-allocation-override` if any, and the share the consolidating entries
|
|
18
|
+
* use. Amounts are cents.
|
|
19
|
+
*/
|
|
20
|
+
exports.GET_ALLOCATION_SHARE = (0, graphql_request_1.gql) `
|
|
21
|
+
query GetLedgerAllocationShare($entityId: String!, $period: String!) {
|
|
22
|
+
allocationShare(entityId: $entityId, period: $period) {
|
|
23
|
+
entityId
|
|
24
|
+
entityName
|
|
25
|
+
period
|
|
26
|
+
consolidationMethod
|
|
27
|
+
ownershipPct
|
|
28
|
+
outsidePct
|
|
29
|
+
monthResult
|
|
30
|
+
proRataAmount
|
|
31
|
+
override {
|
|
32
|
+
...AllocationOverrideFields
|
|
33
|
+
}
|
|
34
|
+
effectiveAmount
|
|
35
|
+
closed
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
${exports.ALLOCATION_OVERRIDE_FIELDS}
|
|
39
|
+
`;
|
|
40
|
+
/** Every month a member's allocation override is set for, oldest first. */
|
|
41
|
+
exports.LIST_ALLOCATION_OVERRIDES = (0, graphql_request_1.gql) `
|
|
42
|
+
query ListLedgerAllocationOverrides($entityId: String!) {
|
|
43
|
+
allocationOverrides(entityId: $entityId) {
|
|
44
|
+
entityId
|
|
45
|
+
overrides {
|
|
46
|
+
...AllocationOverrideFields
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
${exports.ALLOCATION_OVERRIDE_FIELDS}
|
|
51
|
+
`;
|