@robosystems/client 0.3.8 → 0.3.10
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 +42 -49
- package/artifacts/LedgerClient.js +86 -116
- package/artifacts/LedgerClient.ts +155 -238
- package/artifacts/graphql/generated/graphql.d.ts +334 -68
- package/artifacts/graphql/generated/graphql.js +276 -117
- package/artifacts/graphql/generated/graphql.ts +654 -217
- package/artifacts/graphql/queries/ledger/informationBlock.d.ts +15 -0
- package/artifacts/graphql/queries/ledger/informationBlock.js +125 -0
- package/artifacts/graphql/queries/ledger/informationBlock.ts +124 -0
- package/index.ts +2 -2
- package/package.json +1 -1
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +11 -18
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +49 -105
- package/sdk/sdk.gen.js +82 -201
- package/sdk/sdk.gen.ts +65 -184
- package/sdk/types.gen.d.ts +2329 -2593
- package/sdk/types.gen.ts +852 -1155
- package/sdk.gen.d.ts +49 -105
- package/sdk.gen.js +82 -201
- package/sdk.gen.ts +65 -184
- package/types.gen.d.ts +2329 -2593
- package/types.gen.ts +852 -1155
- package/artifacts/graphql/queries/ledger/scheduleFacts.d.ts +0 -7
- package/artifacts/graphql/queries/ledger/scheduleFacts.js +0 -24
- package/artifacts/graphql/queries/ledger/scheduleFacts.ts +0 -22
- package/artifacts/graphql/queries/ledger/schedules.d.ts +0 -6
- package/artifacts/graphql/queries/ledger/schedules.js +0 -24
- package/artifacts/graphql/queries/ledger/schedules.ts +0 -22
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* In-scope facts for a schedule. Optional `periodStart` / `periodEnd`
|
|
3
|
-
* narrow to a single period window. Historical facts (pre-
|
|
4
|
-
* `closed_through` at creation time) are hidden — only in-scope rows
|
|
5
|
-
* that drive actual closing entries are returned.
|
|
6
|
-
*/
|
|
7
|
-
export declare const GET_SCHEDULE_FACTS: string;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GET_SCHEDULE_FACTS = void 0;
|
|
4
|
-
const graphql_request_1 = require("graphql-request");
|
|
5
|
-
/**
|
|
6
|
-
* In-scope facts for a schedule. Optional `periodStart` / `periodEnd`
|
|
7
|
-
* narrow to a single period window. Historical facts (pre-
|
|
8
|
-
* `closed_through` at creation time) are hidden — only in-scope rows
|
|
9
|
-
* that drive actual closing entries are returned.
|
|
10
|
-
*/
|
|
11
|
-
exports.GET_SCHEDULE_FACTS = (0, graphql_request_1.gql) `
|
|
12
|
-
query GetLedgerScheduleFacts($structureId: String!, $periodStart: Date, $periodEnd: Date) {
|
|
13
|
-
scheduleFacts(structureId: $structureId, periodStart: $periodStart, periodEnd: $periodEnd) {
|
|
14
|
-
structureId
|
|
15
|
-
facts {
|
|
16
|
-
elementId
|
|
17
|
-
elementName
|
|
18
|
-
value
|
|
19
|
-
periodStart
|
|
20
|
-
periodEnd
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
`;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { gql } from 'graphql-request'
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* In-scope facts for a schedule. Optional `periodStart` / `periodEnd`
|
|
5
|
-
* narrow to a single period window. Historical facts (pre-
|
|
6
|
-
* `closed_through` at creation time) are hidden — only in-scope rows
|
|
7
|
-
* that drive actual closing entries are returned.
|
|
8
|
-
*/
|
|
9
|
-
export const GET_SCHEDULE_FACTS = gql`
|
|
10
|
-
query GetLedgerScheduleFacts($structureId: String!, $periodStart: Date, $periodEnd: Date) {
|
|
11
|
-
scheduleFacts(structureId: $structureId, periodStart: $periodStart, periodEnd: $periodEnd) {
|
|
12
|
-
structureId
|
|
13
|
-
facts {
|
|
14
|
-
elementId
|
|
15
|
-
elementName
|
|
16
|
-
value
|
|
17
|
-
periodStart
|
|
18
|
-
periodEnd
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
`
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LIST_SCHEDULES = void 0;
|
|
4
|
-
const graphql_request_1 = require("graphql-request");
|
|
5
|
-
/**
|
|
6
|
-
* All active schedule structures (depreciation, amortization, accrual)
|
|
7
|
-
* with entry template + metadata. `entryTemplate` and `scheduleMetadata`
|
|
8
|
-
* are JSON scalars — consume as untyped dicts in the facade.
|
|
9
|
-
*/
|
|
10
|
-
exports.LIST_SCHEDULES = (0, graphql_request_1.gql) `
|
|
11
|
-
query ListLedgerSchedules {
|
|
12
|
-
schedules {
|
|
13
|
-
schedules {
|
|
14
|
-
structureId
|
|
15
|
-
name
|
|
16
|
-
taxonomyName
|
|
17
|
-
entryTemplate
|
|
18
|
-
scheduleMetadata
|
|
19
|
-
totalPeriods
|
|
20
|
-
periodsWithEntries
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
`;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { gql } from 'graphql-request'
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* All active schedule structures (depreciation, amortization, accrual)
|
|
5
|
-
* with entry template + metadata. `entryTemplate` and `scheduleMetadata`
|
|
6
|
-
* are JSON scalars — consume as untyped dicts in the facade.
|
|
7
|
-
*/
|
|
8
|
-
export const LIST_SCHEDULES = gql`
|
|
9
|
-
query ListLedgerSchedules {
|
|
10
|
-
schedules {
|
|
11
|
-
schedules {
|
|
12
|
-
structureId
|
|
13
|
-
name
|
|
14
|
-
taxonomyName
|
|
15
|
-
entryTemplate
|
|
16
|
-
scheduleMetadata
|
|
17
|
-
totalPeriods
|
|
18
|
-
periodsWithEntries
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
`
|