@robosystems/client 2.1.1 → 2.2.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/sdk/types.gen.ts CHANGED
@@ -5452,19 +5452,27 @@ export type ExecuteEventBlockResponse = {
5452
5452
  /**
5453
5453
  * Status
5454
5454
  *
5455
- * Post-execute event status. `'classified'` when no write fired (native policy or no-op). `'committed'` when the QB write was in flight (intermediate state). `'fulfilled'` when QB accepted and local GL drafts were promoted to posted. `'pending'` when QB rejected — see `qb_error` for the rejection detail; retry after fixing the underlying issue.
5455
+ * The event's status after the call. Unchanged when no write fired (native policy, a source that does not publish) or when drafts in a later period are still unpublished. `'fulfilled'` once every draft entry of the event is in QuickBooks and posted. `'pending'` when QuickBooks rejected an entry — see `qb_error`; retry after fixing the underlying issue.
5456
5456
  */
5457
5457
  status: string;
5458
5458
  /**
5459
5459
  * Qb External Id
5460
5460
  *
5461
- * QB-side transaction ID returned by the JournalEntry API. Null when no write fired (native policy) or when the write was rejected before getting an ID.
5461
+ * QuickBooks JournalEntry ID of the first entry this call published. Null when nothing was published. When a call publishes several entries, `qb_entry_ids` holds them all.
5462
5462
  */
5463
5463
  qb_external_id?: string | null;
5464
+ /**
5465
+ * Qb Entry Ids
5466
+ *
5467
+ * Every entry of the event now in QuickBooks: ledger entry ID → QuickBooks JournalEntry ID. Null when none are.
5468
+ */
5469
+ qb_entry_ids?: {
5470
+ [key: string]: string;
5471
+ } | null;
5464
5472
  /**
5465
5473
  * Qb Error
5466
5474
  *
5467
- * QB rejection detail when status='pending'. Shape: `{code, message, qb_response_at}`. Operator retries after fixing CoA mapping / amount validation / closed-period.
5475
+ * QB rejection detail when a publish failed. Shape: `{code, message, qb_response_at}`. Operator retries after fixing CoA mapping / amount validation / closed-period.
5468
5476
  */
5469
5477
  qb_error?: {
5470
5478
  [key: string]: unknown;
@@ -7360,7 +7368,7 @@ export type InformationBlockEnvelope = {
7360
7368
  */
7361
7369
  verification_summary?: VerificationSummary | null;
7362
7370
  /**
7363
- * Server-computed view projections (Charlie's six type-of View arms). `view.rendering` carries pre-computed rows + periods + validation for blocks where rendering is deterministic (the statement family today). Other projections come online as their backend support lands — see :class:`ViewProjections`.
7371
+ * Server-computed view projections (the six `type-of` View projections). `view.rendering` carries pre-computed rows + periods + validation for blocks where rendering is deterministic (the statement family today). Projections without backend support yet are empty — see :class:`ViewProjections`.
7364
7372
  */
7365
7373
  view?: ViewProjections;
7366
7374
  };
@@ -9704,7 +9712,7 @@ export type OperationEnvelope = {
9704
9712
  /**
9705
9713
  * Createdby
9706
9714
  *
9707
- * User ID that initiated the operation (null for legacy callers)
9715
+ * User ID that initiated the operation
9708
9716
  */
9709
9717
  createdBy?: string | null;
9710
9718
  /**
@@ -9750,7 +9758,7 @@ export type OperationEnvelopeAssertMetricsResponse = {
9750
9758
  /**
9751
9759
  * Createdby
9752
9760
  *
9753
- * User ID that initiated the operation (null for legacy callers)
9761
+ * User ID that initiated the operation
9754
9762
  */
9755
9763
  createdBy?: string | null;
9756
9764
  /**
@@ -9796,7 +9804,7 @@ export type OperationEnvelopeAssociationResponse = {
9796
9804
  /**
9797
9805
  * Createdby
9798
9806
  *
9799
- * User ID that initiated the operation (null for legacy callers)
9807
+ * User ID that initiated the operation
9800
9808
  */
9801
9809
  createdBy?: string | null;
9802
9810
  /**
@@ -9842,7 +9850,7 @@ export type OperationEnvelopeBackfillPlanHistoryResponse = {
9842
9850
  /**
9843
9851
  * Createdby
9844
9852
  *
9845
- * User ID that initiated the operation (null for legacy callers)
9853
+ * User ID that initiated the operation
9846
9854
  */
9847
9855
  createdBy?: string | null;
9848
9856
  /**
@@ -9888,7 +9896,7 @@ export type OperationEnvelopeBindTextBlockResponse = {
9888
9896
  /**
9889
9897
  * Createdby
9890
9898
  *
9891
- * User ID that initiated the operation (null for legacy callers)
9899
+ * User ID that initiated the operation
9892
9900
  */
9893
9901
  createdBy?: string | null;
9894
9902
  /**
@@ -9934,7 +9942,7 @@ export type OperationEnvelopeBlockSourceGraphResult = {
9934
9942
  /**
9935
9943
  * Createdby
9936
9944
  *
9937
- * User ID that initiated the operation (null for legacy callers)
9945
+ * User ID that initiated the operation
9938
9946
  */
9939
9947
  createdBy?: string | null;
9940
9948
  /**
@@ -9980,7 +9988,7 @@ export type OperationEnvelopeBlockedSourceGraphResponse = {
9980
9988
  /**
9981
9989
  * Createdby
9982
9990
  *
9983
- * User ID that initiated the operation (null for legacy callers)
9991
+ * User ID that initiated the operation
9984
9992
  */
9985
9993
  createdBy?: string | null;
9986
9994
  /**
@@ -10026,7 +10034,7 @@ export type OperationEnvelopeChangeReportingStyleResponse = {
10026
10034
  /**
10027
10035
  * Createdby
10028
10036
  *
10029
- * User ID that initiated the operation (null for legacy callers)
10037
+ * User ID that initiated the operation
10030
10038
  */
10031
10039
  createdBy?: string | null;
10032
10040
  /**
@@ -10072,7 +10080,7 @@ export type OperationEnvelopeClosePeriodResponse = {
10072
10080
  /**
10073
10081
  * Createdby
10074
10082
  *
10075
- * User ID that initiated the operation (null for legacy callers)
10083
+ * User ID that initiated the operation
10076
10084
  */
10077
10085
  createdBy?: string | null;
10078
10086
  /**
@@ -10118,7 +10126,7 @@ export type OperationEnvelopeComputeForecastResponse = {
10118
10126
  /**
10119
10127
  * Createdby
10120
10128
  *
10121
- * User ID that initiated the operation (null for legacy callers)
10129
+ * User ID that initiated the operation
10122
10130
  */
10123
10131
  createdBy?: string | null;
10124
10132
  /**
@@ -10164,7 +10172,7 @@ export type OperationEnvelopeComputeMetricsResponse = {
10164
10172
  /**
10165
10173
  * Createdby
10166
10174
  *
10167
- * User ID that initiated the operation (null for legacy callers)
10175
+ * User ID that initiated the operation
10168
10176
  */
10169
10177
  createdBy?: string | null;
10170
10178
  /**
@@ -10210,7 +10218,7 @@ export type OperationEnvelopeDeleteInformationBlockResponse = {
10210
10218
  /**
10211
10219
  * Createdby
10212
10220
  *
10213
- * User ID that initiated the operation (null for legacy callers)
10221
+ * User ID that initiated the operation
10214
10222
  */
10215
10223
  createdBy?: string | null;
10216
10224
  /**
@@ -10256,7 +10264,7 @@ export type OperationEnvelopeDeletePortfolioBlockResponse = {
10256
10264
  /**
10257
10265
  * Createdby
10258
10266
  *
10259
- * User ID that initiated the operation (null for legacy callers)
10267
+ * User ID that initiated the operation
10260
10268
  */
10261
10269
  createdBy?: string | null;
10262
10270
  /**
@@ -10302,7 +10310,7 @@ export type OperationEnvelopeDeleteResult = {
10302
10310
  /**
10303
10311
  * Createdby
10304
10312
  *
10305
- * User ID that initiated the operation (null for legacy callers)
10313
+ * User ID that initiated the operation
10306
10314
  */
10307
10315
  createdBy?: string | null;
10308
10316
  /**
@@ -10348,7 +10356,7 @@ export type OperationEnvelopeDeleteTaxonomyBlockResponse = {
10348
10356
  /**
10349
10357
  * Createdby
10350
10358
  *
10351
- * User ID that initiated the operation (null for legacy callers)
10359
+ * User ID that initiated the operation
10352
10360
  */
10353
10361
  createdBy?: string | null;
10354
10362
  /**
@@ -10394,7 +10402,7 @@ export type OperationEnvelopeDisclosuresResponse = {
10394
10402
  /**
10395
10403
  * Createdby
10396
10404
  *
10397
- * User ID that initiated the operation (null for legacy callers)
10405
+ * User ID that initiated the operation
10398
10406
  */
10399
10407
  createdBy?: string | null;
10400
10408
  /**
@@ -10440,7 +10448,7 @@ export type OperationEnvelopeEntityTaxonomyResponse = {
10440
10448
  /**
10441
10449
  * Createdby
10442
10450
  *
10443
- * User ID that initiated the operation (null for legacy callers)
10451
+ * User ID that initiated the operation
10444
10452
  */
10445
10453
  createdBy?: string | null;
10446
10454
  /**
@@ -10486,7 +10494,7 @@ export type OperationEnvelopeEvaluateRulesResponse = {
10486
10494
  /**
10487
10495
  * Createdby
10488
10496
  *
10489
- * User ID that initiated the operation (null for legacy callers)
10497
+ * User ID that initiated the operation
10490
10498
  */
10491
10499
  createdBy?: string | null;
10492
10500
  /**
@@ -10532,7 +10540,7 @@ export type OperationEnvelopeEventBlockEnvelope = {
10532
10540
  /**
10533
10541
  * Createdby
10534
10542
  *
10535
- * User ID that initiated the operation (null for legacy callers)
10543
+ * User ID that initiated the operation
10536
10544
  */
10537
10545
  createdBy?: string | null;
10538
10546
  /**
@@ -10578,7 +10586,7 @@ export type OperationEnvelopeEventHandlerResponse = {
10578
10586
  /**
10579
10587
  * Createdby
10580
10588
  *
10581
- * User ID that initiated the operation (null for legacy callers)
10589
+ * User ID that initiated the operation
10582
10590
  */
10583
10591
  createdBy?: string | null;
10584
10592
  /**
@@ -10624,7 +10632,7 @@ export type OperationEnvelopeExecuteEventBlockResponse = {
10624
10632
  /**
10625
10633
  * Createdby
10626
10634
  *
10627
- * User ID that initiated the operation (null for legacy callers)
10635
+ * User ID that initiated the operation
10628
10636
  */
10629
10637
  createdBy?: string | null;
10630
10638
  /**
@@ -10670,7 +10678,7 @@ export type OperationEnvelopeFinancialStatementAnalysisResponse = {
10670
10678
  /**
10671
10679
  * Createdby
10672
10680
  *
10673
- * User ID that initiated the operation (null for legacy callers)
10681
+ * User ID that initiated the operation
10674
10682
  */
10675
10683
  createdBy?: string | null;
10676
10684
  /**
@@ -10716,7 +10724,7 @@ export type OperationEnvelopeFiscalCalendarResponse = {
10716
10724
  /**
10717
10725
  * Createdby
10718
10726
  *
10719
- * User ID that initiated the operation (null for legacy callers)
10727
+ * User ID that initiated the operation
10720
10728
  */
10721
10729
  createdBy?: string | null;
10722
10730
  /**
@@ -10762,7 +10770,7 @@ export type OperationEnvelopeGraphMetadataResult = {
10762
10770
  /**
10763
10771
  * Createdby
10764
10772
  *
10765
- * User ID that initiated the operation (null for legacy callers)
10773
+ * User ID that initiated the operation
10766
10774
  */
10767
10775
  createdBy?: string | null;
10768
10776
  /**
@@ -10808,7 +10816,7 @@ export type OperationEnvelopeInformationBlockEnvelope = {
10808
10816
  /**
10809
10817
  * Createdby
10810
10818
  *
10811
- * User ID that initiated the operation (null for legacy callers)
10819
+ * User ID that initiated the operation
10812
10820
  */
10813
10821
  createdBy?: string | null;
10814
10822
  /**
@@ -10854,7 +10862,7 @@ export type OperationEnvelopeInformationBlockResponse = {
10854
10862
  /**
10855
10863
  * Createdby
10856
10864
  *
10857
- * User ID that initiated the operation (null for legacy callers)
10865
+ * User ID that initiated the operation
10858
10866
  */
10859
10867
  createdBy?: string | null;
10860
10868
  /**
@@ -10900,7 +10908,7 @@ export type OperationEnvelopeInitializeChartOfAccountsResponse = {
10900
10908
  /**
10901
10909
  * Createdby
10902
10910
  *
10903
- * User ID that initiated the operation (null for legacy callers)
10911
+ * User ID that initiated the operation
10904
10912
  */
10905
10913
  createdBy?: string | null;
10906
10914
  /**
@@ -10946,7 +10954,7 @@ export type OperationEnvelopeInitializeLedgerResponse = {
10946
10954
  /**
10947
10955
  * Createdby
10948
10956
  *
10949
- * User ID that initiated the operation (null for legacy callers)
10957
+ * User ID that initiated the operation
10950
10958
  */
10951
10959
  createdBy?: string | null;
10952
10960
  /**
@@ -10992,7 +11000,7 @@ export type OperationEnvelopeJournalEntryResponse = {
10992
11000
  /**
10993
11001
  * Createdby
10994
11002
  *
10995
- * User ID that initiated the operation (null for legacy callers)
11003
+ * User ID that initiated the operation
10996
11004
  */
10997
11005
  createdBy?: string | null;
10998
11006
  /**
@@ -11038,7 +11046,7 @@ export type OperationEnvelopeLedgerAgentResponse = {
11038
11046
  /**
11039
11047
  * Createdby
11040
11048
  *
11041
- * User ID that initiated the operation (null for legacy callers)
11049
+ * User ID that initiated the operation
11042
11050
  */
11043
11051
  createdBy?: string | null;
11044
11052
  /**
@@ -11084,7 +11092,7 @@ export type OperationEnvelopeLedgerEntityResponse = {
11084
11092
  /**
11085
11093
  * Createdby
11086
11094
  *
11087
- * User ID that initiated the operation (null for legacy callers)
11095
+ * User ID that initiated the operation
11088
11096
  */
11089
11097
  createdBy?: string | null;
11090
11098
  /**
@@ -11130,7 +11138,7 @@ export type OperationEnvelopeLiveFinancialStatementResponse = {
11130
11138
  /**
11131
11139
  * Createdby
11132
11140
  *
11133
- * User ID that initiated the operation (null for legacy callers)
11141
+ * User ID that initiated the operation
11134
11142
  */
11135
11143
  createdBy?: string | null;
11136
11144
  /**
@@ -11176,7 +11184,7 @@ export type OperationEnvelopePortfolioBlockEnvelope = {
11176
11184
  /**
11177
11185
  * Createdby
11178
11186
  *
11179
- * User ID that initiated the operation (null for legacy callers)
11187
+ * User ID that initiated the operation
11180
11188
  */
11181
11189
  createdBy?: string | null;
11182
11190
  /**
@@ -11222,7 +11230,7 @@ export type OperationEnvelopePreviewEventBlockResponse = {
11222
11230
  /**
11223
11231
  * Createdby
11224
11232
  *
11225
- * User ID that initiated the operation (null for legacy callers)
11233
+ * User ID that initiated the operation
11226
11234
  */
11227
11235
  createdBy?: string | null;
11228
11236
  /**
@@ -11268,7 +11276,7 @@ export type OperationEnvelopePromoteObligationsResponse = {
11268
11276
  /**
11269
11277
  * Createdby
11270
11278
  *
11271
- * User ID that initiated the operation (null for legacy callers)
11279
+ * User ID that initiated the operation
11272
11280
  */
11273
11281
  createdBy?: string | null;
11274
11282
  /**
@@ -11314,7 +11322,7 @@ export type OperationEnvelopePublishListResponse = {
11314
11322
  /**
11315
11323
  * Createdby
11316
11324
  *
11317
- * User ID that initiated the operation (null for legacy callers)
11325
+ * User ID that initiated the operation
11318
11326
  */
11319
11327
  createdBy?: string | null;
11320
11328
  /**
@@ -11360,7 +11368,7 @@ export type OperationEnvelopeReconcilingItemPlan = {
11360
11368
  /**
11361
11369
  * Createdby
11362
11370
  *
11363
- * User ID that initiated the operation (null for legacy callers)
11371
+ * User ID that initiated the operation
11364
11372
  */
11365
11373
  createdBy?: string | null;
11366
11374
  /**
@@ -11406,7 +11414,7 @@ export type OperationEnvelopeReportResponse = {
11406
11414
  /**
11407
11415
  * Createdby
11408
11416
  *
11409
- * User ID that initiated the operation (null for legacy callers)
11417
+ * User ID that initiated the operation
11410
11418
  */
11411
11419
  createdBy?: string | null;
11412
11420
  /**
@@ -11452,7 +11460,7 @@ export type OperationEnvelopeResolveReconcilingItemResponse = {
11452
11460
  /**
11453
11461
  * Createdby
11454
11462
  *
11455
- * User ID that initiated the operation (null for legacy callers)
11463
+ * User ID that initiated the operation
11456
11464
  */
11457
11465
  createdBy?: string | null;
11458
11466
  /**
@@ -11498,7 +11506,7 @@ export type OperationEnvelopeRevokeReportShareResponse = {
11498
11506
  /**
11499
11507
  * Createdby
11500
11508
  *
11501
- * User ID that initiated the operation (null for legacy callers)
11509
+ * User ID that initiated the operation
11502
11510
  */
11503
11511
  createdBy?: string | null;
11504
11512
  /**
@@ -11544,7 +11552,7 @@ export type OperationEnvelopeScheduleCreatedResponse = {
11544
11552
  /**
11545
11553
  * Createdby
11546
11554
  *
11547
- * User ID that initiated the operation (null for legacy callers)
11555
+ * User ID that initiated the operation
11548
11556
  */
11549
11557
  createdBy?: string | null;
11550
11558
  /**
@@ -11590,7 +11598,7 @@ export type OperationEnvelopeSecurityResponse = {
11590
11598
  /**
11591
11599
  * Createdby
11592
11600
  *
11593
- * User ID that initiated the operation (null for legacy callers)
11601
+ * User ID that initiated the operation
11594
11602
  */
11595
11603
  createdBy?: string | null;
11596
11604
  /**
@@ -11636,7 +11644,7 @@ export type OperationEnvelopeShareReportResponse = {
11636
11644
  /**
11637
11645
  * Createdby
11638
11646
  *
11639
- * User ID that initiated the operation (null for legacy callers)
11647
+ * User ID that initiated the operation
11640
11648
  */
11641
11649
  createdBy?: string | null;
11642
11650
  /**
@@ -11682,7 +11690,7 @@ export type OperationEnvelopeTaxonomyBlockEnvelope = {
11682
11690
  /**
11683
11691
  * Createdby
11684
11692
  *
11685
- * User ID that initiated the operation (null for legacy callers)
11693
+ * User ID that initiated the operation
11686
11694
  */
11687
11695
  createdBy?: string | null;
11688
11696
  /**
@@ -11728,7 +11736,7 @@ export type OperationEnvelopeTerminateScheduleResponse = {
11728
11736
  /**
11729
11737
  * Createdby
11730
11738
  *
11731
- * User ID that initiated the operation (null for legacy callers)
11739
+ * User ID that initiated the operation
11732
11740
  */
11733
11741
  createdBy?: string | null;
11734
11742
  /**
@@ -11774,7 +11782,7 @@ export type OperationEnvelopeViewResponse = {
11774
11782
  /**
11775
11783
  * Createdby
11776
11784
  *
11777
- * User ID that initiated the operation (null for legacy callers)
11785
+ * User ID that initiated the operation
11778
11786
  */
11779
11787
  createdBy?: string | null;
11780
11788
  /**
@@ -11822,7 +11830,7 @@ export type OperationEnvelopeListPublishListMemberResponse = {
11822
11830
  /**
11823
11831
  * Createdby
11824
11832
  *
11825
- * User ID that initiated the operation (null for legacy callers)
11833
+ * User ID that initiated the operation
11826
11834
  */
11827
11835
  createdBy?: string | null;
11828
11836
  /**
@@ -14763,7 +14771,7 @@ export type RuleLite = {
14763
14771
  /**
14764
14772
  * Rule Origin
14765
14773
  *
14766
- * Provenance — 'forked' (from an upstream artifact, e.g. Seattle Method) or 'native' (authored in this seed or by a tenant). Enum closure enforced by the `public.rules` CHECK constraint.
14774
+ * Provenance — 'forked' (from an upstream artifact, e.g. an external XBRL taxonomy) or 'native' (authored in this seed or by a tenant). Enum closure enforced by the `public.rules` CHECK constraint.
14767
14775
  */
14768
14776
  rule_origin?: string;
14769
14777
  };
@@ -14996,7 +15004,7 @@ export type ScheduleMetadataRequest = {
14996
15004
  /**
14997
15005
  * Residual Value
14998
15006
  *
14999
- * Salvage value in cents
15007
+ * Salvage value in cents. The schedule expenses `original_amount` less this; net book value ends at it.
15000
15008
  */
15001
15009
  residual_value?: number;
15002
15010
  /**
@@ -15014,7 +15022,7 @@ export type ScheduleMetadataRequest = {
15014
15022
  /**
15015
15023
  * Periodic Amounts
15016
15024
  *
15017
- * Explicit per-period amounts in cents. When set, the generator uses these values instead of `monthly_amount` — enabling non-straight-line schedules (effective-interest bond discount amortization, day-count interest accrual, variable lease payments, pre-computed effective-yield curves, etc.). Length must match the number of monthly periods between `period_start` and `period_end`; sum must equal `original_amount` exactly. The auto-generated SumEquals rule proves Σ = original regardless of the curve shape.
15025
+ * Explicit per-period amounts in cents. When set, the generator uses these values instead of `monthly_amount` — enabling non-straight-line schedules (effective-interest bond discount amortization, day-count interest accrual, variable lease payments, pre-computed effective-yield curves, etc.). Length must match the number of monthly periods between `period_start` and `period_end`; sum must equal `original_amount` less `residual_value` exactly. The auto-generated SumEquals rule proves that total regardless of the curve shape.
15018
15026
  */
15019
15027
  periodic_amounts?: Array<number> | null;
15020
15028
  };
@@ -18568,22 +18576,20 @@ export type ViewMetadata = {
18568
18576
  /**
18569
18577
  * ViewProjections
18570
18578
  *
18571
- * Charlie's six `type-of View` arms, surfaced at the envelope boundary.
18579
+ * The six `type-of` View projections of an Information Block (Rendering,
18580
+ * FactTable, ModelStructure, VerificationResults, ReportElements,
18581
+ * BusinessRules), surfaced at the envelope boundary.
18572
18582
  *
18573
18583
  * Each projection is computed server-side at envelope-build time when
18574
18584
  * its source data is available. The frontend's `BlockView` dispatcher
18575
18585
  * routes to the projection component matching the user's selected view
18576
- * mode; missing projections (those still in backlog) render as empty
18577
- * states without breaking the dispatcher.
18586
+ * mode; missing projections render as empty states without breaking the
18587
+ * dispatcher.
18578
18588
  *
18579
18589
  * Today: `rendering` is computed for the statement family, and
18580
- * `chart` (the 7th arm — panel/series config over the rendering's
18581
- * rows and periods) for metric blocks.
18582
- * Other arms (`fact_table`, `model_structure`, `verification_results`,
18583
- * `report_elements`, `business_rules`) come online as their backend
18584
- * support lands; `fact_table` is trivially derivable from
18585
- * `InformationBlockEnvelope.facts` and may stay as a frontend-only
18586
- * projection.
18590
+ * `chart` (panel/series config over the rendering's rows and periods)
18591
+ * for metric blocks. Projections without backend support yet are empty;
18592
+ * `fact_table` is derivable from `InformationBlockEnvelope.facts`.
18587
18593
  */
18588
18594
  export type ViewProjections = {
18589
18595
  rendering?: RenderingLite | null;
package/sdk.gen.d.ts CHANGED
@@ -378,7 +378,7 @@ export declare const listBackups: <ThrowOnError extends boolean = false>(options
378
378
  /**
379
379
  * Get temporary download URL for backup
380
380
  *
381
- * Generate a temporary download URL for a backup. The filename carries the extension listed as `download_extension` on the backup: `.lbug.zip` is a ZIP holding the LadybugDB database file `{graph_id}.lbug`; `.lbug.zst` (shared repository snapshots) is a single zstd-compressed database file. Decompress the latter with `zstd -d <file>.lbug.zst` (install zstd first: `brew install zstd`, `apt-get install zstd`, or `dnf install zstd`) — no `--long` flag is needed.
381
+ * Generate a temporary download URL for a backup. The filename carries the extension listed as `download_extension` on the backup: `.lbug.zip` is a ZIP holding the LadybugDB database file `{graph_id}.lbug`; `.lbug.zst` (shared repository snapshots) is a single zstd-compressed database file; decompress it with `zstd -d`.
382
382
  */
383
383
  export declare const getBackupDownloadUrl: <ThrowOnError extends boolean = false>(options: Options<GetBackupDownloadUrlData, ThrowOnError>) => RequestResult<GetBackupDownloadUrlResponses, GetBackupDownloadUrlErrors, ThrowOnError>;
384
384
  /**
package/sdk.gen.js CHANGED
@@ -210,11 +210,7 @@ exports.listUserPasskeys = listUserPasskeys;
210
210
  *
211
211
  * Fresh-assertion options for destructive passkey lifecycle actions.
212
212
  */
213
- const getPasskeyReauthOptions = (options) => (options?.client ?? client_gen_1.client).post({
214
- security: [{ name: 'X-API-Key', type: 'apiKey' }],
215
- url: '/v1/auth/passkeys/reauth/options',
216
- ...options
217
- });
213
+ const getPasskeyReauthOptions = (options) => (options?.client ?? client_gen_1.client).post({ url: '/v1/auth/passkeys/reauth/options', ...options });
218
214
  exports.getPasskeyReauthOptions = getPasskeyReauthOptions;
219
215
  /**
220
216
  * Remove Passkey
@@ -222,7 +218,6 @@ exports.getPasskeyReauthOptions = getPasskeyReauthOptions;
222
218
  * Remove one passkey after re-authentication (password or fresh assertion). The last passkey of an MFA-required role cannot be removed while enforcement is active.
223
219
  */
224
220
  const deleteUserPasskey = (options) => (options.client ?? client_gen_1.client).delete({
225
- security: [{ name: 'X-API-Key', type: 'apiKey' }],
226
221
  url: '/v1/auth/passkeys/{passkey_id}',
227
222
  ...options,
228
223
  headers: {
@@ -297,7 +292,6 @@ exports.getMfaStatus = getMfaStatus;
297
292
  * Replace the recovery-code set after re-authentication; codes are shown once.
298
293
  */
299
294
  const regenerateMfaRecoveryCodes = (options) => (options.client ?? client_gen_1.client).post({
300
- security: [{ name: 'X-API-Key', type: 'apiKey' }],
301
295
  url: '/v1/auth/mfa/recovery-codes/regenerate',
302
296
  ...options,
303
297
  headers: {
@@ -756,7 +750,7 @@ exports.listBackups = listBackups;
756
750
  /**
757
751
  * Get temporary download URL for backup
758
752
  *
759
- * Generate a temporary download URL for a backup. The filename carries the extension listed as `download_extension` on the backup: `.lbug.zip` is a ZIP holding the LadybugDB database file `{graph_id}.lbug`; `.lbug.zst` (shared repository snapshots) is a single zstd-compressed database file. Decompress the latter with `zstd -d <file>.lbug.zst` (install zstd first: `brew install zstd`, `apt-get install zstd`, or `dnf install zstd`) — no `--long` flag is needed.
753
+ * Generate a temporary download URL for a backup. The filename carries the extension listed as `download_extension` on the backup: `.lbug.zip` is a ZIP holding the LadybugDB database file `{graph_id}.lbug`; `.lbug.zst` (shared repository snapshots) is a single zstd-compressed database file; decompress it with `zstd -d`.
760
754
  */
761
755
  const getBackupDownloadUrl = (options) => (options.client ?? client_gen_1.client).get({
762
756
  security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
package/sdk.gen.ts CHANGED
@@ -222,11 +222,7 @@ export const listUserPasskeys = <ThrowOnError extends boolean = false>(options?:
222
222
  *
223
223
  * Fresh-assertion options for destructive passkey lifecycle actions.
224
224
  */
225
- export const getPasskeyReauthOptions = <ThrowOnError extends boolean = false>(options?: Options<GetPasskeyReauthOptionsData, ThrowOnError>): RequestResult<GetPasskeyReauthOptionsResponses, GetPasskeyReauthOptionsErrors, ThrowOnError> => (options?.client ?? client).post<GetPasskeyReauthOptionsResponses, GetPasskeyReauthOptionsErrors, ThrowOnError>({
226
- security: [{ name: 'X-API-Key', type: 'apiKey' }],
227
- url: '/v1/auth/passkeys/reauth/options',
228
- ...options
229
- });
225
+ export const getPasskeyReauthOptions = <ThrowOnError extends boolean = false>(options?: Options<GetPasskeyReauthOptionsData, ThrowOnError>): RequestResult<GetPasskeyReauthOptionsResponses, GetPasskeyReauthOptionsErrors, ThrowOnError> => (options?.client ?? client).post<GetPasskeyReauthOptionsResponses, GetPasskeyReauthOptionsErrors, ThrowOnError>({ url: '/v1/auth/passkeys/reauth/options', ...options });
230
226
 
231
227
  /**
232
228
  * Remove Passkey
@@ -234,7 +230,6 @@ export const getPasskeyReauthOptions = <ThrowOnError extends boolean = false>(op
234
230
  * Remove one passkey after re-authentication (password or fresh assertion). The last passkey of an MFA-required role cannot be removed while enforcement is active.
235
231
  */
236
232
  export const deleteUserPasskey = <ThrowOnError extends boolean = false>(options: Options<DeleteUserPasskeyData, ThrowOnError>): RequestResult<DeleteUserPasskeyResponses, DeleteUserPasskeyErrors, ThrowOnError> => (options.client ?? client).delete<DeleteUserPasskeyResponses, DeleteUserPasskeyErrors, ThrowOnError>({
237
- security: [{ name: 'X-API-Key', type: 'apiKey' }],
238
233
  url: '/v1/auth/passkeys/{passkey_id}',
239
234
  ...options,
240
235
  headers: {
@@ -309,7 +304,6 @@ export const getMfaStatus = <ThrowOnError extends boolean = false>(options?: Opt
309
304
  * Replace the recovery-code set after re-authentication; codes are shown once.
310
305
  */
311
306
  export const regenerateMfaRecoveryCodes = <ThrowOnError extends boolean = false>(options: Options<RegenerateMfaRecoveryCodesData, ThrowOnError>): RequestResult<RegenerateMfaRecoveryCodesResponses, RegenerateMfaRecoveryCodesErrors, ThrowOnError> => (options.client ?? client).post<RegenerateMfaRecoveryCodesResponses, RegenerateMfaRecoveryCodesErrors, ThrowOnError>({
312
- security: [{ name: 'X-API-Key', type: 'apiKey' }],
313
307
  url: '/v1/auth/mfa/recovery-codes/regenerate',
314
308
  ...options,
315
309
  headers: {
@@ -768,7 +762,7 @@ export const listBackups = <ThrowOnError extends boolean = false>(options: Optio
768
762
  /**
769
763
  * Get temporary download URL for backup
770
764
  *
771
- * Generate a temporary download URL for a backup. The filename carries the extension listed as `download_extension` on the backup: `.lbug.zip` is a ZIP holding the LadybugDB database file `{graph_id}.lbug`; `.lbug.zst` (shared repository snapshots) is a single zstd-compressed database file. Decompress the latter with `zstd -d <file>.lbug.zst` (install zstd first: `brew install zstd`, `apt-get install zstd`, or `dnf install zstd`) — no `--long` flag is needed.
765
+ * Generate a temporary download URL for a backup. The filename carries the extension listed as `download_extension` on the backup: `.lbug.zip` is a ZIP holding the LadybugDB database file `{graph_id}.lbug`; `.lbug.zst` (shared repository snapshots) is a single zstd-compressed database file; decompress it with `zstd -d`.
772
766
  */
773
767
  export const getBackupDownloadUrl = <ThrowOnError extends boolean = false>(options: Options<GetBackupDownloadUrlData, ThrowOnError>): RequestResult<GetBackupDownloadUrlResponses, GetBackupDownloadUrlErrors, ThrowOnError> => (options.client ?? client).get<GetBackupDownloadUrlResponses, GetBackupDownloadUrlErrors, ThrowOnError>({
774
768
  security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],