Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/endpoints/executions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ export type Execution = {
duration: number;
/** Number of operations consumed by the execution */
operations: number;
/** Credits consumed by the execution, in centicredits (hundredths of a credit) */
centicredits: number;
Comment thread
andriichumak marked this conversation as resolved.
/** Amount of data transfer consumed by the execution */
transfer: number;
/** ID of the organization the execution belongs to */
Expand All @@ -28,6 +30,8 @@ export type Execution = {
authorId: number | null;
/** Whether the execution was run instantly */
instant: boolean;
/** ISO 8601 timestamp of when the execution occurred */
timestamp: string;
};

/**
Expand Down
1 change: 1 addition & 0 deletions test/mocks/executions/get.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"imtId": "1632398122946_scenario.5.manual.cc1c49323b344687a324888762206003",
"duration": 5611,
"operations": 2,
"centicredits": 200,
"transfer": 5,
"organizationId": 5,
"teamId": 16,
Expand Down
1 change: 1 addition & 0 deletions test/mocks/executions/list.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"imtId": "1632371744497_scenario.1229.auto.da518adcd14b4b64ac6358823ccb80ca",
"duration": 19979,
"operations": 10,
"centicredits": 1000,
"transfer": 3942,
"organizationId": 21,
"teamId": 27,
Expand Down