@fuserstudio/sdk 0.0.4 → 0.0.5
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/index.d.ts +26 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -673,7 +673,18 @@ type RunStartResponses = {
|
|
|
673
673
|
run?: {
|
|
674
674
|
runId: string;
|
|
675
675
|
status: 'running' | 'completed' | 'failed' | 'cancelled';
|
|
676
|
+
/**
|
|
677
|
+
* The price quoted before the run started.
|
|
678
|
+
*/
|
|
676
679
|
quotedCredits: number;
|
|
680
|
+
/**
|
|
681
|
+
* What the run actually cost, once it has stopped. Report this, not the quote. A node that failed is refunded and not counted here.
|
|
682
|
+
*/
|
|
683
|
+
chargedCredits?: number;
|
|
684
|
+
/**
|
|
685
|
+
* Credits taken for nodes that failed and given back.
|
|
686
|
+
*/
|
|
687
|
+
refundedCredits?: number;
|
|
677
688
|
/**
|
|
678
689
|
* ISO 8601.
|
|
679
690
|
*/
|
|
@@ -768,7 +779,18 @@ type RunGetResponses = {
|
|
|
768
779
|
200: {
|
|
769
780
|
runId: string;
|
|
770
781
|
status: 'running' | 'completed' | 'failed' | 'cancelled';
|
|
782
|
+
/**
|
|
783
|
+
* The price quoted before the run started.
|
|
784
|
+
*/
|
|
771
785
|
quotedCredits: number;
|
|
786
|
+
/**
|
|
787
|
+
* What the run actually cost, once it has stopped. Report this, not the quote. A node that failed is refunded and not counted here.
|
|
788
|
+
*/
|
|
789
|
+
chargedCredits?: number;
|
|
790
|
+
/**
|
|
791
|
+
* Credits taken for nodes that failed and given back.
|
|
792
|
+
*/
|
|
793
|
+
refundedCredits?: number;
|
|
772
794
|
/**
|
|
773
795
|
* ISO 8601.
|
|
774
796
|
*/
|
|
@@ -2413,6 +2435,8 @@ export declare class Fuser implements Surface {
|
|
|
2413
2435
|
runId: string;
|
|
2414
2436
|
status: "running" | "completed" | "failed" | "cancelled";
|
|
2415
2437
|
quotedCredits: number;
|
|
2438
|
+
chargedCredits?: number;
|
|
2439
|
+
refundedCredits?: number;
|
|
2416
2440
|
startedAt: string;
|
|
2417
2441
|
completedAt?: string;
|
|
2418
2442
|
nodes: Array<{
|
|
@@ -2436,6 +2460,8 @@ export declare class Fuser implements Surface {
|
|
|
2436
2460
|
runId: string;
|
|
2437
2461
|
status: "running" | "completed" | "failed" | "cancelled";
|
|
2438
2462
|
quotedCredits: number;
|
|
2463
|
+
chargedCredits?: number;
|
|
2464
|
+
refundedCredits?: number;
|
|
2439
2465
|
startedAt: string;
|
|
2440
2466
|
completedAt?: string;
|
|
2441
2467
|
nodes: Array<{
|
package/package.json
CHANGED