@scaleway/sdk-qaas 2.2.0 → 2.3.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/README.md +1 -1
- package/dist/_virtual/_rolldown/runtime.js +11 -0
- package/dist/index.gen.js +2 -4
- package/dist/v1alpha1/api.gen.js +403 -634
- package/dist/v1alpha1/content.gen.js +15 -19
- package/dist/v1alpha1/index.gen.d.ts +1 -1
- package/dist/v1alpha1/index.gen.js +38 -36
- package/dist/v1alpha1/marshalling.gen.js +247 -371
- package/dist/v1alpha1/validation-rules.gen.js +8 -14
- package/package.json +4 -4
|
@@ -1,25 +1,21 @@
|
|
|
1
|
+
/** Lists transient statutes of the enum {@link BookingStatus}. */
|
|
1
2
|
const BOOKING_TRANSIENT_STATUSES = [
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
"waiting",
|
|
4
|
+
"validating",
|
|
5
|
+
"cancelling"
|
|
5
6
|
];
|
|
7
|
+
/** Lists transient statutes of the enum {@link JobStatus}. */
|
|
6
8
|
const JOB_TRANSIENT_STATUSES = [
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
"waiting",
|
|
10
|
+
"running",
|
|
11
|
+
"cancelling"
|
|
10
12
|
];
|
|
13
|
+
/** Lists transient statutes of the enum {@link ProcessStatus}. */
|
|
11
14
|
const PROCESS_TRANSIENT_STATUSES = [
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
+
"starting",
|
|
16
|
+
"running",
|
|
17
|
+
"cancelling"
|
|
15
18
|
];
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
];
|
|
20
|
-
export {
|
|
21
|
-
BOOKING_TRANSIENT_STATUSES,
|
|
22
|
-
JOB_TRANSIENT_STATUSES,
|
|
23
|
-
PROCESS_TRANSIENT_STATUSES,
|
|
24
|
-
SESSION_TRANSIENT_STATUSES
|
|
25
|
-
};
|
|
19
|
+
/** Lists transient statutes of the enum {@link SessionStatus}. */
|
|
20
|
+
const SESSION_TRANSIENT_STATUSES = ["starting", "stopping"];
|
|
21
|
+
export { BOOKING_TRANSIENT_STATUSES, JOB_TRANSIENT_STATUSES, PROCESS_TRANSIENT_STATUSES, SESSION_TRANSIENT_STATUSES };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { API } from './api.gen.js';
|
|
1
|
+
export { API, } from './api.gen.js';
|
|
2
2
|
export * from './content.gen.js';
|
|
3
3
|
export * from './marshalling.gen.js';
|
|
4
4
|
export type { Application, ApplicationType, Booking, BookingStatus, CancelJobRequest, CancelProcessRequest, CreateJobRequest, CreateModelRequest, CreateProcessRequest, CreateSessionRequest, CreateSessionRequestBookingDemand, DeleteJobRequest, DeleteProcessRequest, DeleteSessionRequest, GetApplicationRequest, GetBookingRequest, GetJobCircuitRequest, GetJobRequest, GetModelRequest, GetPlatformRequest, GetProcessRequest, GetSessionRequest, Job, JobCircuit, JobResult, JobStatus, ListApplicationsRequest, ListApplicationsRequestOrderBy, ListApplicationsResponse, ListBookingsRequest, ListBookingsRequestOrderBy, ListBookingsResponse, ListJobResultsRequest, ListJobResultsRequestOrderBy, ListJobResultsResponse, ListJobsRequest, ListJobsRequestOrderBy, ListJobsResponse, ListModelsRequest, ListModelsRequestOrderBy, ListModelsResponse, ListPlatformsRequest, ListPlatformsRequestOrderBy, ListPlatformsResponse, ListProcessesRequest, ListProcessesRequestOrderBy, ListProcessesResponse, ListProcessResultsRequest, ListProcessResultsRequestOrderBy, ListProcessResultsResponse, ListSessionACLsRequest, ListSessionACLsRequestOrderBy, ListSessionACLsResponse, ListSessionsRequest, ListSessionsRequestOrderBy, ListSessionsResponse, Model, Platform, PlatformAvailability, PlatformBookingRequirement, PlatformHardware, PlatformTechnology, PlatformType, Process, ProcessResult, ProcessStatus, Session, SessionAccess, SessionOriginType, SessionStatus, TerminateSessionRequest, UpdateBookingRequest, UpdateJobRequest, UpdateProcessRequest, UpdateSessionRequest, } from './types.gen.js';
|
|
@@ -1,38 +1,40 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { BOOKING_TRANSIENT_STATUSES, JOB_TRANSIENT_STATUSES, PROCESS_TRANSIENT_STATUSES, SESSION_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
3
3
|
import { marshalCreateJobRequest, marshalCreateModelRequest, marshalCreateProcessRequest, marshalCreateSessionRequest, marshalUpdateBookingRequest, marshalUpdateJobRequest, marshalUpdateProcessRequest, marshalUpdateSessionRequest, unmarshalApplication, unmarshalBooking, unmarshalJob, unmarshalJobCircuit, unmarshalListApplicationsResponse, unmarshalListBookingsResponse, unmarshalListJobResultsResponse, unmarshalListJobsResponse, unmarshalListModelsResponse, unmarshalListPlatformsResponse, unmarshalListProcessResultsResponse, unmarshalListProcessesResponse, unmarshalListSessionACLsResponse, unmarshalListSessionsResponse, unmarshalModel, unmarshalPlatform, unmarshalProcess, unmarshalSession } from "./marshalling.gen.js";
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
4
|
+
import { API } from "./api.gen.js";
|
|
5
|
+
import { validation_rules_gen_exports } from "./validation-rules.gen.js";
|
|
6
|
+
var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
7
|
+
API: () => API,
|
|
8
|
+
BOOKING_TRANSIENT_STATUSES: () => BOOKING_TRANSIENT_STATUSES,
|
|
9
|
+
JOB_TRANSIENT_STATUSES: () => JOB_TRANSIENT_STATUSES,
|
|
10
|
+
PROCESS_TRANSIENT_STATUSES: () => PROCESS_TRANSIENT_STATUSES,
|
|
11
|
+
SESSION_TRANSIENT_STATUSES: () => SESSION_TRANSIENT_STATUSES,
|
|
12
|
+
ValidationRules: () => validation_rules_gen_exports,
|
|
13
|
+
marshalCreateJobRequest: () => marshalCreateJobRequest,
|
|
14
|
+
marshalCreateModelRequest: () => marshalCreateModelRequest,
|
|
15
|
+
marshalCreateProcessRequest: () => marshalCreateProcessRequest,
|
|
16
|
+
marshalCreateSessionRequest: () => marshalCreateSessionRequest,
|
|
17
|
+
marshalUpdateBookingRequest: () => marshalUpdateBookingRequest,
|
|
18
|
+
marshalUpdateJobRequest: () => marshalUpdateJobRequest,
|
|
19
|
+
marshalUpdateProcessRequest: () => marshalUpdateProcessRequest,
|
|
20
|
+
marshalUpdateSessionRequest: () => marshalUpdateSessionRequest,
|
|
21
|
+
unmarshalApplication: () => unmarshalApplication,
|
|
22
|
+
unmarshalBooking: () => unmarshalBooking,
|
|
23
|
+
unmarshalJob: () => unmarshalJob,
|
|
24
|
+
unmarshalJobCircuit: () => unmarshalJobCircuit,
|
|
25
|
+
unmarshalListApplicationsResponse: () => unmarshalListApplicationsResponse,
|
|
26
|
+
unmarshalListBookingsResponse: () => unmarshalListBookingsResponse,
|
|
27
|
+
unmarshalListJobResultsResponse: () => unmarshalListJobResultsResponse,
|
|
28
|
+
unmarshalListJobsResponse: () => unmarshalListJobsResponse,
|
|
29
|
+
unmarshalListModelsResponse: () => unmarshalListModelsResponse,
|
|
30
|
+
unmarshalListPlatformsResponse: () => unmarshalListPlatformsResponse,
|
|
31
|
+
unmarshalListProcessResultsResponse: () => unmarshalListProcessResultsResponse,
|
|
32
|
+
unmarshalListProcessesResponse: () => unmarshalListProcessesResponse,
|
|
33
|
+
unmarshalListSessionACLsResponse: () => unmarshalListSessionACLsResponse,
|
|
34
|
+
unmarshalListSessionsResponse: () => unmarshalListSessionsResponse,
|
|
35
|
+
unmarshalModel: () => unmarshalModel,
|
|
36
|
+
unmarshalPlatform: () => unmarshalPlatform,
|
|
37
|
+
unmarshalProcess: () => unmarshalProcess,
|
|
38
|
+
unmarshalSession: () => unmarshalSession
|
|
39
|
+
});
|
|
40
|
+
export { index_gen_exports };
|