@robosystems/client 0.3.13 → 0.3.14
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 +22 -1
- package/artifacts/LedgerClient.js +40 -0
- package/artifacts/LedgerClient.ts +67 -0
- package/artifacts/graphql/generated/graphql.d.ts +320 -0
- package/artifacts/graphql/generated/graphql.js +569 -1
- package/artifacts/graphql/generated/graphql.ts +882 -0
- package/artifacts/graphql/queries/ledger/informationBlock.js +110 -0
- package/artifacts/graphql/queries/ledger/informationBlock.ts +110 -0
- package/artifacts/graphql/queries/ledger/reportPackage.d.ts +11 -0
- package/artifacts/graphql/queries/ledger/reportPackage.js +151 -0
- package/artifacts/graphql/queries/ledger/reportPackage.ts +149 -0
- package/index.ts +2 -2
- package/package.json +1 -1
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +4 -2
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +17 -1
- package/sdk/sdk.gen.js +36 -2
- package/sdk/sdk.gen.ts +35 -1
- package/sdk/types.gen.d.ts +158 -0
- package/sdk/types.gen.ts +170 -0
- package/sdk.gen.d.ts +17 -1
- package/sdk.gen.js +36 -2
- package/sdk.gen.ts +35 -1
- package/types.gen.d.ts +158 -0
- package/types.gen.ts +170 -0
package/types.gen.d.ts
CHANGED
|
@@ -3320,6 +3320,24 @@ export type FileLayerStatus = {
|
|
|
3320
3320
|
*/
|
|
3321
3321
|
size_bytes?: number | null;
|
|
3322
3322
|
};
|
|
3323
|
+
/**
|
|
3324
|
+
* FileReportRequest
|
|
3325
|
+
*
|
|
3326
|
+
* Transition a Report to ``filed`` — locks the package.
|
|
3327
|
+
*
|
|
3328
|
+
* Acceptable from ``draft`` or ``under_review``. ``filed_by`` and
|
|
3329
|
+
* ``filed_at`` are stamped from the auth context + server clock; the
|
|
3330
|
+
* request itself carries no fields today (kept as a model for OpenAPI
|
|
3331
|
+
* shape consistency and to avoid breaking changes if we add fields).
|
|
3332
|
+
*/
|
|
3333
|
+
export type FileReportRequest = {
|
|
3334
|
+
/**
|
|
3335
|
+
* Report Id
|
|
3336
|
+
*
|
|
3337
|
+
* The Report to file.
|
|
3338
|
+
*/
|
|
3339
|
+
report_id: string;
|
|
3340
|
+
};
|
|
3323
3341
|
/**
|
|
3324
3342
|
* FileStatusUpdate
|
|
3325
3343
|
*/
|
|
@@ -7302,6 +7320,28 @@ export type TransactionTemplateLeg = {
|
|
|
7302
7320
|
*/
|
|
7303
7321
|
amount: string;
|
|
7304
7322
|
};
|
|
7323
|
+
/**
|
|
7324
|
+
* TransitionFilingStatusRequest
|
|
7325
|
+
*
|
|
7326
|
+
* Generic filing-status transition — escape hatch for non-file moves.
|
|
7327
|
+
*
|
|
7328
|
+
* Used for ``draft → under_review`` (submit for review) and
|
|
7329
|
+
* ``filed → archived`` (supersede / retire). Filing the package goes
|
|
7330
|
+
* through :class:`FileReportRequest` so ``filed_at`` / ``filed_by``
|
|
7331
|
+
* audit fields land cleanly.
|
|
7332
|
+
*/
|
|
7333
|
+
export type TransitionFilingStatusRequest = {
|
|
7334
|
+
/**
|
|
7335
|
+
* Report Id
|
|
7336
|
+
*/
|
|
7337
|
+
report_id: string;
|
|
7338
|
+
/**
|
|
7339
|
+
* Target Status
|
|
7340
|
+
*
|
|
7341
|
+
* under_review | archived
|
|
7342
|
+
*/
|
|
7343
|
+
target_status: string;
|
|
7344
|
+
};
|
|
7305
7345
|
/**
|
|
7306
7346
|
* UpcomingInvoice
|
|
7307
7347
|
*
|
|
@@ -15413,6 +15453,124 @@ export type OpShareReportResponses = {
|
|
|
15413
15453
|
200: OperationEnvelope;
|
|
15414
15454
|
};
|
|
15415
15455
|
export type OpShareReportResponse = OpShareReportResponses[keyof OpShareReportResponses];
|
|
15456
|
+
export type OpFileReportData = {
|
|
15457
|
+
body: FileReportRequest;
|
|
15458
|
+
headers?: {
|
|
15459
|
+
/**
|
|
15460
|
+
* Idempotency-Key
|
|
15461
|
+
*/
|
|
15462
|
+
'Idempotency-Key'?: string | null;
|
|
15463
|
+
};
|
|
15464
|
+
path: {
|
|
15465
|
+
/**
|
|
15466
|
+
* Graph Id
|
|
15467
|
+
*/
|
|
15468
|
+
graph_id: string;
|
|
15469
|
+
};
|
|
15470
|
+
query?: never;
|
|
15471
|
+
url: '/extensions/roboledger/{graph_id}/operations/file-report';
|
|
15472
|
+
};
|
|
15473
|
+
export type OpFileReportErrors = {
|
|
15474
|
+
/**
|
|
15475
|
+
* Invalid request
|
|
15476
|
+
*/
|
|
15477
|
+
400: ErrorResponse;
|
|
15478
|
+
/**
|
|
15479
|
+
* Authentication required
|
|
15480
|
+
*/
|
|
15481
|
+
401: ErrorResponse;
|
|
15482
|
+
/**
|
|
15483
|
+
* Access denied
|
|
15484
|
+
*/
|
|
15485
|
+
403: ErrorResponse;
|
|
15486
|
+
/**
|
|
15487
|
+
* Resource not found
|
|
15488
|
+
*/
|
|
15489
|
+
404: ErrorResponse;
|
|
15490
|
+
/**
|
|
15491
|
+
* Idempotency-Key conflict — key reused with different body
|
|
15492
|
+
*/
|
|
15493
|
+
409: ErrorResponse;
|
|
15494
|
+
/**
|
|
15495
|
+
* Validation Error
|
|
15496
|
+
*/
|
|
15497
|
+
422: HttpValidationError;
|
|
15498
|
+
/**
|
|
15499
|
+
* Rate limit exceeded
|
|
15500
|
+
*/
|
|
15501
|
+
429: ErrorResponse;
|
|
15502
|
+
/**
|
|
15503
|
+
* Internal server error
|
|
15504
|
+
*/
|
|
15505
|
+
500: ErrorResponse;
|
|
15506
|
+
};
|
|
15507
|
+
export type OpFileReportError = OpFileReportErrors[keyof OpFileReportErrors];
|
|
15508
|
+
export type OpFileReportResponses = {
|
|
15509
|
+
/**
|
|
15510
|
+
* Successful Response
|
|
15511
|
+
*/
|
|
15512
|
+
200: OperationEnvelope;
|
|
15513
|
+
};
|
|
15514
|
+
export type OpFileReportResponse = OpFileReportResponses[keyof OpFileReportResponses];
|
|
15515
|
+
export type OpTransitionFilingStatusData = {
|
|
15516
|
+
body: TransitionFilingStatusRequest;
|
|
15517
|
+
headers?: {
|
|
15518
|
+
/**
|
|
15519
|
+
* Idempotency-Key
|
|
15520
|
+
*/
|
|
15521
|
+
'Idempotency-Key'?: string | null;
|
|
15522
|
+
};
|
|
15523
|
+
path: {
|
|
15524
|
+
/**
|
|
15525
|
+
* Graph Id
|
|
15526
|
+
*/
|
|
15527
|
+
graph_id: string;
|
|
15528
|
+
};
|
|
15529
|
+
query?: never;
|
|
15530
|
+
url: '/extensions/roboledger/{graph_id}/operations/transition-filing-status';
|
|
15531
|
+
};
|
|
15532
|
+
export type OpTransitionFilingStatusErrors = {
|
|
15533
|
+
/**
|
|
15534
|
+
* Invalid request
|
|
15535
|
+
*/
|
|
15536
|
+
400: ErrorResponse;
|
|
15537
|
+
/**
|
|
15538
|
+
* Authentication required
|
|
15539
|
+
*/
|
|
15540
|
+
401: ErrorResponse;
|
|
15541
|
+
/**
|
|
15542
|
+
* Access denied
|
|
15543
|
+
*/
|
|
15544
|
+
403: ErrorResponse;
|
|
15545
|
+
/**
|
|
15546
|
+
* Resource not found
|
|
15547
|
+
*/
|
|
15548
|
+
404: ErrorResponse;
|
|
15549
|
+
/**
|
|
15550
|
+
* Idempotency-Key conflict — key reused with different body
|
|
15551
|
+
*/
|
|
15552
|
+
409: ErrorResponse;
|
|
15553
|
+
/**
|
|
15554
|
+
* Validation Error
|
|
15555
|
+
*/
|
|
15556
|
+
422: HttpValidationError;
|
|
15557
|
+
/**
|
|
15558
|
+
* Rate limit exceeded
|
|
15559
|
+
*/
|
|
15560
|
+
429: ErrorResponse;
|
|
15561
|
+
/**
|
|
15562
|
+
* Internal server error
|
|
15563
|
+
*/
|
|
15564
|
+
500: ErrorResponse;
|
|
15565
|
+
};
|
|
15566
|
+
export type OpTransitionFilingStatusError = OpTransitionFilingStatusErrors[keyof OpTransitionFilingStatusErrors];
|
|
15567
|
+
export type OpTransitionFilingStatusResponses = {
|
|
15568
|
+
/**
|
|
15569
|
+
* Successful Response
|
|
15570
|
+
*/
|
|
15571
|
+
200: OperationEnvelope;
|
|
15572
|
+
};
|
|
15573
|
+
export type OpTransitionFilingStatusResponse = OpTransitionFilingStatusResponses[keyof OpTransitionFilingStatusResponses];
|
|
15416
15574
|
export type OpCreatePublishListData = {
|
|
15417
15575
|
body: CreatePublishListRequest;
|
|
15418
15576
|
headers?: {
|
package/types.gen.ts
CHANGED
|
@@ -3414,6 +3414,25 @@ export type FileLayerStatus = {
|
|
|
3414
3414
|
size_bytes?: number | null;
|
|
3415
3415
|
};
|
|
3416
3416
|
|
|
3417
|
+
/**
|
|
3418
|
+
* FileReportRequest
|
|
3419
|
+
*
|
|
3420
|
+
* Transition a Report to ``filed`` — locks the package.
|
|
3421
|
+
*
|
|
3422
|
+
* Acceptable from ``draft`` or ``under_review``. ``filed_by`` and
|
|
3423
|
+
* ``filed_at`` are stamped from the auth context + server clock; the
|
|
3424
|
+
* request itself carries no fields today (kept as a model for OpenAPI
|
|
3425
|
+
* shape consistency and to avoid breaking changes if we add fields).
|
|
3426
|
+
*/
|
|
3427
|
+
export type FileReportRequest = {
|
|
3428
|
+
/**
|
|
3429
|
+
* Report Id
|
|
3430
|
+
*
|
|
3431
|
+
* The Report to file.
|
|
3432
|
+
*/
|
|
3433
|
+
report_id: string;
|
|
3434
|
+
};
|
|
3435
|
+
|
|
3417
3436
|
/**
|
|
3418
3437
|
* FileStatusUpdate
|
|
3419
3438
|
*/
|
|
@@ -7511,6 +7530,29 @@ export type TransactionTemplateLeg = {
|
|
|
7511
7530
|
amount: string;
|
|
7512
7531
|
};
|
|
7513
7532
|
|
|
7533
|
+
/**
|
|
7534
|
+
* TransitionFilingStatusRequest
|
|
7535
|
+
*
|
|
7536
|
+
* Generic filing-status transition — escape hatch for non-file moves.
|
|
7537
|
+
*
|
|
7538
|
+
* Used for ``draft → under_review`` (submit for review) and
|
|
7539
|
+
* ``filed → archived`` (supersede / retire). Filing the package goes
|
|
7540
|
+
* through :class:`FileReportRequest` so ``filed_at`` / ``filed_by``
|
|
7541
|
+
* audit fields land cleanly.
|
|
7542
|
+
*/
|
|
7543
|
+
export type TransitionFilingStatusRequest = {
|
|
7544
|
+
/**
|
|
7545
|
+
* Report Id
|
|
7546
|
+
*/
|
|
7547
|
+
report_id: string;
|
|
7548
|
+
/**
|
|
7549
|
+
* Target Status
|
|
7550
|
+
*
|
|
7551
|
+
* under_review | archived
|
|
7552
|
+
*/
|
|
7553
|
+
target_status: string;
|
|
7554
|
+
};
|
|
7555
|
+
|
|
7514
7556
|
/**
|
|
7515
7557
|
* UpcomingInvoice
|
|
7516
7558
|
*
|
|
@@ -16337,6 +16379,134 @@ export type OpShareReportResponses = {
|
|
|
16337
16379
|
|
|
16338
16380
|
export type OpShareReportResponse = OpShareReportResponses[keyof OpShareReportResponses];
|
|
16339
16381
|
|
|
16382
|
+
export type OpFileReportData = {
|
|
16383
|
+
body: FileReportRequest;
|
|
16384
|
+
headers?: {
|
|
16385
|
+
/**
|
|
16386
|
+
* Idempotency-Key
|
|
16387
|
+
*/
|
|
16388
|
+
'Idempotency-Key'?: string | null;
|
|
16389
|
+
};
|
|
16390
|
+
path: {
|
|
16391
|
+
/**
|
|
16392
|
+
* Graph Id
|
|
16393
|
+
*/
|
|
16394
|
+
graph_id: string;
|
|
16395
|
+
};
|
|
16396
|
+
query?: never;
|
|
16397
|
+
url: '/extensions/roboledger/{graph_id}/operations/file-report';
|
|
16398
|
+
};
|
|
16399
|
+
|
|
16400
|
+
export type OpFileReportErrors = {
|
|
16401
|
+
/**
|
|
16402
|
+
* Invalid request
|
|
16403
|
+
*/
|
|
16404
|
+
400: ErrorResponse;
|
|
16405
|
+
/**
|
|
16406
|
+
* Authentication required
|
|
16407
|
+
*/
|
|
16408
|
+
401: ErrorResponse;
|
|
16409
|
+
/**
|
|
16410
|
+
* Access denied
|
|
16411
|
+
*/
|
|
16412
|
+
403: ErrorResponse;
|
|
16413
|
+
/**
|
|
16414
|
+
* Resource not found
|
|
16415
|
+
*/
|
|
16416
|
+
404: ErrorResponse;
|
|
16417
|
+
/**
|
|
16418
|
+
* Idempotency-Key conflict — key reused with different body
|
|
16419
|
+
*/
|
|
16420
|
+
409: ErrorResponse;
|
|
16421
|
+
/**
|
|
16422
|
+
* Validation Error
|
|
16423
|
+
*/
|
|
16424
|
+
422: HttpValidationError;
|
|
16425
|
+
/**
|
|
16426
|
+
* Rate limit exceeded
|
|
16427
|
+
*/
|
|
16428
|
+
429: ErrorResponse;
|
|
16429
|
+
/**
|
|
16430
|
+
* Internal server error
|
|
16431
|
+
*/
|
|
16432
|
+
500: ErrorResponse;
|
|
16433
|
+
};
|
|
16434
|
+
|
|
16435
|
+
export type OpFileReportError = OpFileReportErrors[keyof OpFileReportErrors];
|
|
16436
|
+
|
|
16437
|
+
export type OpFileReportResponses = {
|
|
16438
|
+
/**
|
|
16439
|
+
* Successful Response
|
|
16440
|
+
*/
|
|
16441
|
+
200: OperationEnvelope;
|
|
16442
|
+
};
|
|
16443
|
+
|
|
16444
|
+
export type OpFileReportResponse = OpFileReportResponses[keyof OpFileReportResponses];
|
|
16445
|
+
|
|
16446
|
+
export type OpTransitionFilingStatusData = {
|
|
16447
|
+
body: TransitionFilingStatusRequest;
|
|
16448
|
+
headers?: {
|
|
16449
|
+
/**
|
|
16450
|
+
* Idempotency-Key
|
|
16451
|
+
*/
|
|
16452
|
+
'Idempotency-Key'?: string | null;
|
|
16453
|
+
};
|
|
16454
|
+
path: {
|
|
16455
|
+
/**
|
|
16456
|
+
* Graph Id
|
|
16457
|
+
*/
|
|
16458
|
+
graph_id: string;
|
|
16459
|
+
};
|
|
16460
|
+
query?: never;
|
|
16461
|
+
url: '/extensions/roboledger/{graph_id}/operations/transition-filing-status';
|
|
16462
|
+
};
|
|
16463
|
+
|
|
16464
|
+
export type OpTransitionFilingStatusErrors = {
|
|
16465
|
+
/**
|
|
16466
|
+
* Invalid request
|
|
16467
|
+
*/
|
|
16468
|
+
400: ErrorResponse;
|
|
16469
|
+
/**
|
|
16470
|
+
* Authentication required
|
|
16471
|
+
*/
|
|
16472
|
+
401: ErrorResponse;
|
|
16473
|
+
/**
|
|
16474
|
+
* Access denied
|
|
16475
|
+
*/
|
|
16476
|
+
403: ErrorResponse;
|
|
16477
|
+
/**
|
|
16478
|
+
* Resource not found
|
|
16479
|
+
*/
|
|
16480
|
+
404: ErrorResponse;
|
|
16481
|
+
/**
|
|
16482
|
+
* Idempotency-Key conflict — key reused with different body
|
|
16483
|
+
*/
|
|
16484
|
+
409: ErrorResponse;
|
|
16485
|
+
/**
|
|
16486
|
+
* Validation Error
|
|
16487
|
+
*/
|
|
16488
|
+
422: HttpValidationError;
|
|
16489
|
+
/**
|
|
16490
|
+
* Rate limit exceeded
|
|
16491
|
+
*/
|
|
16492
|
+
429: ErrorResponse;
|
|
16493
|
+
/**
|
|
16494
|
+
* Internal server error
|
|
16495
|
+
*/
|
|
16496
|
+
500: ErrorResponse;
|
|
16497
|
+
};
|
|
16498
|
+
|
|
16499
|
+
export type OpTransitionFilingStatusError = OpTransitionFilingStatusErrors[keyof OpTransitionFilingStatusErrors];
|
|
16500
|
+
|
|
16501
|
+
export type OpTransitionFilingStatusResponses = {
|
|
16502
|
+
/**
|
|
16503
|
+
* Successful Response
|
|
16504
|
+
*/
|
|
16505
|
+
200: OperationEnvelope;
|
|
16506
|
+
};
|
|
16507
|
+
|
|
16508
|
+
export type OpTransitionFilingStatusResponse = OpTransitionFilingStatusResponses[keyof OpTransitionFilingStatusResponses];
|
|
16509
|
+
|
|
16340
16510
|
export type OpCreatePublishListData = {
|
|
16341
16511
|
body: CreatePublishListRequest;
|
|
16342
16512
|
headers?: {
|