@parallelworks/client 7.108.0 → 7.108.1

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.
@@ -282,6 +282,28 @@ export interface paths {
282
282
  patch?: never;
283
283
  trace?: never;
284
284
  };
285
+ "/api/admin/billing/realtime-accuracy/uncovered": {
286
+ parameters: {
287
+ query?: never;
288
+ header?: never;
289
+ path?: never;
290
+ cookie?: never;
291
+ };
292
+ /**
293
+ * Get invoiced categories the realtime estimator does not cover
294
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
295
+ *
296
+ * Returns tagged invoice spend per CSP, cost type and subtype that the realtime estimator produced no estimate for: a coverage gap rather than a pricing error. Requires platform admin or billing admin.
297
+ */
298
+ get: operations["get-realtime-accuracy-uncovered"];
299
+ put?: never;
300
+ post?: never;
301
+ delete?: never;
302
+ options?: never;
303
+ head?: never;
304
+ patch?: never;
305
+ trace?: never;
306
+ };
285
307
  "/api/admin/billing/runs": {
286
308
  parameters: {
287
309
  query?: never;
@@ -8438,7 +8460,7 @@ export interface paths {
8438
8460
  * Set organization policy: allocation-start-date
8439
8461
  * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
8440
8462
  *
8441
- * Sets allocation-start-date policy for the organization as MM-DD. When unset, billing and reports calculate costs over all time.
8463
+ * Sets allocation-start-date policy for the organization as MM-DD. Allocation usage resets on the most recent occurrence of this date each year. When unset, allocations count spend over all time.
8442
8464
  */
8443
8465
  post: operations["set-organization-allocation-start-date-policy"];
8444
8466
  delete?: never;
@@ -13627,7 +13649,7 @@ export interface paths {
13627
13649
  * Set platform policy: allocation-start-date
13628
13650
  * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
13629
13651
  *
13630
- * Sets the allocation-start-date policy for the platform as MM-DD. When unset, billing and reports calculate costs over all time.
13652
+ * Sets the allocation-start-date policy for the platform as MM-DD. Allocation usage resets on the most recent occurrence of this date each year. When unset, allocations count spend over all time.
13631
13653
  */
13632
13654
  post: operations["set-platform-allocation-start-date-policy"];
13633
13655
  delete?: never;
@@ -16884,6 +16906,7 @@ export interface components {
16884
16906
  goalProgress?: components["schemas"]["GoalProgress"];
16885
16907
  id?: string;
16886
16908
  interim?: boolean;
16909
+ interrupted?: boolean;
16887
16910
  isError?: boolean;
16888
16911
  /** Format: int64 */
16889
16912
  iters?: number;
@@ -27994,6 +28017,8 @@ export interface components {
27994
28017
  lastSinceTime?: string;
27995
28018
  /** @description The pod logs as a string */
27996
28019
  logs: string;
28020
+ /** @description Set when the byte limit cut this page short. Poll again with lastSinceTime and lastLogHash to continue from where it stopped. */
28021
+ truncated?: boolean;
27997
28022
  };
27998
28023
  Policy: {
27999
28024
  /**
@@ -29762,9 +29787,14 @@ export interface components {
29762
29787
  reprocessedKeys: number;
29763
29788
  /**
29764
29789
  * Format: double
29765
- * @description Tagged invoice amount for deployments the estimator never covered
29790
+ * @description Tagged invoice amount on keys the estimator produced no estimate for
29766
29791
  */
29767
- unestimatedInvoiced: number;
29792
+ uncoveredInvoiced: number;
29793
+ /**
29794
+ * Format: int64
29795
+ * @description Keys with an invoice line and no estimate
29796
+ */
29797
+ uncoveredKeys: number;
29768
29798
  /**
29769
29799
  * Format: double
29770
29800
  * @description Weighted absolute percentage error over keys with an invoice line
@@ -29804,6 +29834,29 @@ export interface components {
29804
29834
  /** @description Every key that day came from a reprocess */
29805
29835
  reprocessed: boolean;
29806
29836
  };
29837
+ RealtimeAccuracyUncoveredRow: {
29838
+ /** @description Cloud service provider */
29839
+ csp: string;
29840
+ /**
29841
+ * Format: double
29842
+ * @description Invoiced amount with no estimate behind it
29843
+ */
29844
+ invoiced: number;
29845
+ /**
29846
+ * Format: int64
29847
+ * @description Deployment-day keys with an invoice line and no estimate
29848
+ */
29849
+ keys: number;
29850
+ /**
29851
+ * Format: int64
29852
+ * @description Invoice lines behind those keys
29853
+ */
29854
+ lines: number;
29855
+ /** @description Cost subtype */
29856
+ subtype: string;
29857
+ /** @description Cost type */
29858
+ type: string;
29859
+ };
29807
29860
  RecommendedResource: {
29808
29861
  /** @description Cloud provider (aws, google, azure) */
29809
29862
  csp?: string;
@@ -33898,6 +33951,40 @@ export interface operations {
33898
33951
  };
33899
33952
  };
33900
33953
  };
33954
+ "get-realtime-accuracy-uncovered": {
33955
+ parameters: {
33956
+ query?: {
33957
+ /** @description Days to include, counted back from today */
33958
+ window?: 14 | 30 | 60 | 90;
33959
+ /** @description Restrict to one cloud service provider */
33960
+ csp?: string;
33961
+ };
33962
+ header?: never;
33963
+ path?: never;
33964
+ cookie?: never;
33965
+ };
33966
+ requestBody?: never;
33967
+ responses: {
33968
+ /** @description OK */
33969
+ 200: {
33970
+ headers: {
33971
+ [name: string]: unknown;
33972
+ };
33973
+ content: {
33974
+ "application/json": components["schemas"]["RealtimeAccuracyUncoveredRow"][] | null;
33975
+ };
33976
+ };
33977
+ /** @description Error */
33978
+ default: {
33979
+ headers: {
33980
+ [name: string]: unknown;
33981
+ };
33982
+ content: {
33983
+ "application/json": components["schemas"]["Error"];
33984
+ };
33985
+ };
33986
+ };
33987
+ };
33901
33988
  "list-billing-runs": {
33902
33989
  parameters: {
33903
33990
  query?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parallelworks/client",
3
- "version": "7.108.0",
3
+ "version": "7.108.1",
4
4
  "description": "Official TypeScript client for Parallel Works ACTIVATE API",
5
5
  "type": "module",
6
6
  "exports": {