@scaleway/sdk-qaas 2.9.0 → 2.10.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.
@@ -0,0 +1,41 @@
1
+ import type { ApplicationType, BookingStatus, JobStatus, ListApplicationsRequestOrderBy, ListBookingsRequestOrderBy, ListJobResultsRequestOrderBy, ListJobsRequestOrderBy, ListModelsRequestOrderBy, ListPlatformsRequestOrderBy, ListProcessResultsRequestOrderBy, ListProcessesRequestOrderBy, ListSessionACLsRequestOrderBy, ListSessionsRequestOrderBy, PlatformAvailability, PlatformTechnology, PlatformType, ProcessStatus, SessionAccess, SessionOriginType, SessionStatus } from './types.gen.js';
2
+ /** Lists all values of the enum {@link ApplicationType}. */
3
+ export declare const APPLICATION_TYPES: ApplicationType[];
4
+ /** Lists all values of the enum {@link BookingStatus}. */
5
+ export declare const BOOKING_STATUSES: BookingStatus[];
6
+ /** Lists all values of the enum {@link JobStatus}. */
7
+ export declare const JOB_STATUSES: JobStatus[];
8
+ /** Lists all values of the enum {@link ListApplicationsRequestOrderBy}. */
9
+ export declare const LIST_APPLICATIONS_REQUEST_ORDER_BIES: ListApplicationsRequestOrderBy[];
10
+ /** Lists all values of the enum {@link ListBookingsRequestOrderBy}. */
11
+ export declare const LIST_BOOKINGS_REQUEST_ORDER_BIES: ListBookingsRequestOrderBy[];
12
+ /** Lists all values of the enum {@link ListJobResultsRequestOrderBy}. */
13
+ export declare const LIST_JOB_RESULTS_REQUEST_ORDER_BIES: ListJobResultsRequestOrderBy[];
14
+ /** Lists all values of the enum {@link ListJobsRequestOrderBy}. */
15
+ export declare const LIST_JOBS_REQUEST_ORDER_BIES: ListJobsRequestOrderBy[];
16
+ /** Lists all values of the enum {@link ListModelsRequestOrderBy}. */
17
+ export declare const LIST_MODELS_REQUEST_ORDER_BIES: ListModelsRequestOrderBy[];
18
+ /** Lists all values of the enum {@link ListPlatformsRequestOrderBy}. */
19
+ export declare const LIST_PLATFORMS_REQUEST_ORDER_BIES: ListPlatformsRequestOrderBy[];
20
+ /** Lists all values of the enum {@link ListProcessResultsRequestOrderBy}. */
21
+ export declare const LIST_PROCESS_RESULTS_REQUEST_ORDER_BIES: ListProcessResultsRequestOrderBy[];
22
+ /** Lists all values of the enum {@link ListProcessesRequestOrderBy}. */
23
+ export declare const LIST_PROCESSES_REQUEST_ORDER_BIES: ListProcessesRequestOrderBy[];
24
+ /** Lists all values of the enum {@link ListSessionACLsRequestOrderBy}. */
25
+ export declare const LIST_SESSION_AC_LS_REQUEST_ORDER_BIES: ListSessionACLsRequestOrderBy[];
26
+ /** Lists all values of the enum {@link ListSessionsRequestOrderBy}. */
27
+ export declare const LIST_SESSIONS_REQUEST_ORDER_BIES: ListSessionsRequestOrderBy[];
28
+ /** Lists all values of the enum {@link PlatformAvailability}. */
29
+ export declare const PLATFORM_AVAILABILITIES: PlatformAvailability[];
30
+ /** Lists all values of the enum {@link PlatformTechnology}. */
31
+ export declare const PLATFORM_TECHNOLOGIES: PlatformTechnology[];
32
+ /** Lists all values of the enum {@link PlatformType}. */
33
+ export declare const PLATFORM_TYPES: PlatformType[];
34
+ /** Lists all values of the enum {@link ProcessStatus}. */
35
+ export declare const PROCESS_STATUSES: ProcessStatus[];
36
+ /** Lists all values of the enum {@link SessionAccess}. */
37
+ export declare const SESSION_ACCESSES: SessionAccess[];
38
+ /** Lists all values of the enum {@link SessionOriginType}. */
39
+ export declare const SESSION_ORIGIN_TYPES: SessionOriginType[];
40
+ /** Lists all values of the enum {@link SessionStatus}. */
41
+ export declare const SESSION_STATUSES: SessionStatus[];
@@ -0,0 +1,153 @@
1
+ //#region src/v1alpha1/constants.gen.ts
2
+ /** Lists all values of the enum {@link ApplicationType}. */
3
+ const APPLICATION_TYPES = ["unknown_type", "vqe"];
4
+ /** Lists all values of the enum {@link BookingStatus}. */
5
+ const BOOKING_STATUSES = [
6
+ "unknown_status",
7
+ "waiting",
8
+ "validating",
9
+ "validated",
10
+ "cancelling",
11
+ "cancelled",
12
+ "error"
13
+ ];
14
+ /** Lists all values of the enum {@link JobStatus}. */
15
+ const JOB_STATUSES = [
16
+ "unknown_status",
17
+ "waiting",
18
+ "error",
19
+ "running",
20
+ "completed",
21
+ "cancelling",
22
+ "cancelled"
23
+ ];
24
+ /** Lists all values of the enum {@link ListApplicationsRequestOrderBy}. */
25
+ const LIST_APPLICATIONS_REQUEST_ORDER_BIES = [
26
+ "name_asc",
27
+ "name_desc",
28
+ "type_asc",
29
+ "type_desc"
30
+ ];
31
+ /** Lists all values of the enum {@link ListBookingsRequestOrderBy}. */
32
+ const LIST_BOOKINGS_REQUEST_ORDER_BIES = [
33
+ "created_at_desc",
34
+ "created_at_asc",
35
+ "started_at_desc",
36
+ "started_at_asc"
37
+ ];
38
+ /** Lists all values of the enum {@link ListJobResultsRequestOrderBy}. */
39
+ const LIST_JOB_RESULTS_REQUEST_ORDER_BIES = ["created_at_desc", "created_at_asc"];
40
+ /** Lists all values of the enum {@link ListJobsRequestOrderBy}. */
41
+ const LIST_JOBS_REQUEST_ORDER_BIES = [
42
+ "created_at_desc",
43
+ "created_at_asc",
44
+ "status_asc",
45
+ "status_desc",
46
+ "platform_name_asc",
47
+ "platform_name_desc",
48
+ "name_asc",
49
+ "name_desc",
50
+ "session_name_asc",
51
+ "session_name_desc"
52
+ ];
53
+ /** Lists all values of the enum {@link ListModelsRequestOrderBy}. */
54
+ const LIST_MODELS_REQUEST_ORDER_BIES = ["created_at_desc", "created_at_asc"];
55
+ /** Lists all values of the enum {@link ListPlatformsRequestOrderBy}. */
56
+ const LIST_PLATFORMS_REQUEST_ORDER_BIES = [
57
+ "name_asc",
58
+ "name_desc",
59
+ "provider_name_asc",
60
+ "provider_name_desc",
61
+ "type_asc",
62
+ "type_desc",
63
+ "technology_asc",
64
+ "technology_desc",
65
+ "backend_name_asc",
66
+ "backend_name_desc"
67
+ ];
68
+ /** Lists all values of the enum {@link ListProcessResultsRequestOrderBy}. */
69
+ const LIST_PROCESS_RESULTS_REQUEST_ORDER_BIES = ["created_at_desc", "created_at_asc"];
70
+ /** Lists all values of the enum {@link ListProcessesRequestOrderBy}. */
71
+ const LIST_PROCESSES_REQUEST_ORDER_BIES = [
72
+ "created_at_desc",
73
+ "created_at_asc",
74
+ "name_asc",
75
+ "name_desc",
76
+ "started_at_asc",
77
+ "started_at_desc",
78
+ "status_asc",
79
+ "status_desc"
80
+ ];
81
+ /** Lists all values of the enum {@link ListSessionACLsRequestOrderBy}. */
82
+ const LIST_SESSION_AC_LS_REQUEST_ORDER_BIES = ["access_asc", "access_desc"];
83
+ /** Lists all values of the enum {@link ListSessionsRequestOrderBy}. */
84
+ const LIST_SESSIONS_REQUEST_ORDER_BIES = [
85
+ "name_asc",
86
+ "name_desc",
87
+ "started_at_asc",
88
+ "started_at_desc",
89
+ "status_asc",
90
+ "status_desc",
91
+ "created_at_desc",
92
+ "created_at_asc"
93
+ ];
94
+ /** Lists all values of the enum {@link PlatformAvailability}. */
95
+ const PLATFORM_AVAILABILITIES = [
96
+ "unknown_availability",
97
+ "available",
98
+ "shortage",
99
+ "scarce",
100
+ "maintenance"
101
+ ];
102
+ /** Lists all values of the enum {@link PlatformTechnology}. */
103
+ const PLATFORM_TECHNOLOGIES = [
104
+ "unknown_technology",
105
+ "photonic",
106
+ "general_purpose",
107
+ "trapped_ion",
108
+ "superconducting",
109
+ "neutral_atom"
110
+ ];
111
+ /** Lists all values of the enum {@link PlatformType}. */
112
+ const PLATFORM_TYPES = [
113
+ "unknown_type",
114
+ "simulator",
115
+ "qpu"
116
+ ];
117
+ /** Lists all values of the enum {@link ProcessStatus}. */
118
+ const PROCESS_STATUSES = [
119
+ "unknown_status",
120
+ "error",
121
+ "starting",
122
+ "running",
123
+ "completed",
124
+ "cancelling",
125
+ "cancelled"
126
+ ];
127
+ /** Lists all values of the enum {@link SessionAccess}. */
128
+ const SESSION_ACCESSES = [
129
+ "unknown_access",
130
+ "full",
131
+ "read_session",
132
+ "read_write_session",
133
+ "read_job_result",
134
+ "read_job_circuit",
135
+ "read_job",
136
+ "read_write_job"
137
+ ];
138
+ /** Lists all values of the enum {@link SessionOriginType}. */
139
+ const SESSION_ORIGIN_TYPES = [
140
+ "unknown_origin_type",
141
+ "customer",
142
+ "process"
143
+ ];
144
+ /** Lists all values of the enum {@link SessionStatus}. */
145
+ const SESSION_STATUSES = [
146
+ "unknown_status",
147
+ "running",
148
+ "stopped",
149
+ "starting",
150
+ "stopping"
151
+ ];
152
+ //#endregion
153
+ export { APPLICATION_TYPES, BOOKING_STATUSES, JOB_STATUSES, LIST_APPLICATIONS_REQUEST_ORDER_BIES, LIST_BOOKINGS_REQUEST_ORDER_BIES, LIST_JOBS_REQUEST_ORDER_BIES, LIST_JOB_RESULTS_REQUEST_ORDER_BIES, LIST_MODELS_REQUEST_ORDER_BIES, LIST_PLATFORMS_REQUEST_ORDER_BIES, LIST_PROCESSES_REQUEST_ORDER_BIES, LIST_PROCESS_RESULTS_REQUEST_ORDER_BIES, LIST_SESSIONS_REQUEST_ORDER_BIES, LIST_SESSION_AC_LS_REQUEST_ORDER_BIES, PLATFORM_AVAILABILITIES, PLATFORM_TECHNOLOGIES, PLATFORM_TYPES, PROCESS_STATUSES, SESSION_ACCESSES, SESSION_ORIGIN_TYPES, SESSION_STATUSES };
@@ -1,5 +1,6 @@
1
1
  export { API, } from './api.gen.js';
2
2
  export * from './content.gen.js';
3
+ export * from './constants.gen.js';
3
4
  export * from './marshalling.gen.js';
4
5
  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, ListProcessResultsRequest, ListProcessResultsRequestOrderBy, ListProcessResultsResponse, ListProcessesRequest, ListProcessesRequestOrderBy, ListProcessesResponse, 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';
5
6
  export * as ValidationRules from './validation-rules.gen.js';
@@ -2,13 +2,34 @@ 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
4
  import { API } from "./api.gen.js";
5
+ import { APPLICATION_TYPES, BOOKING_STATUSES, JOB_STATUSES, LIST_APPLICATIONS_REQUEST_ORDER_BIES, LIST_BOOKINGS_REQUEST_ORDER_BIES, LIST_JOBS_REQUEST_ORDER_BIES, LIST_JOB_RESULTS_REQUEST_ORDER_BIES, LIST_MODELS_REQUEST_ORDER_BIES, LIST_PLATFORMS_REQUEST_ORDER_BIES, LIST_PROCESSES_REQUEST_ORDER_BIES, LIST_PROCESS_RESULTS_REQUEST_ORDER_BIES, LIST_SESSIONS_REQUEST_ORDER_BIES, LIST_SESSION_AC_LS_REQUEST_ORDER_BIES, PLATFORM_AVAILABILITIES, PLATFORM_TECHNOLOGIES, PLATFORM_TYPES, PROCESS_STATUSES, SESSION_ACCESSES, SESSION_ORIGIN_TYPES, SESSION_STATUSES } from "./constants.gen.js";
5
6
  import { validation_rules_gen_exports } from "./validation-rules.gen.js";
6
7
  //#region src/v1alpha1/index.gen.ts
7
8
  var index_gen_exports = /* @__PURE__ */ __exportAll({
8
9
  API: () => API,
10
+ APPLICATION_TYPES: () => APPLICATION_TYPES,
11
+ BOOKING_STATUSES: () => BOOKING_STATUSES,
9
12
  BOOKING_TRANSIENT_STATUSES: () => BOOKING_TRANSIENT_STATUSES,
13
+ JOB_STATUSES: () => JOB_STATUSES,
10
14
  JOB_TRANSIENT_STATUSES: () => JOB_TRANSIENT_STATUSES,
15
+ LIST_APPLICATIONS_REQUEST_ORDER_BIES: () => LIST_APPLICATIONS_REQUEST_ORDER_BIES,
16
+ LIST_BOOKINGS_REQUEST_ORDER_BIES: () => LIST_BOOKINGS_REQUEST_ORDER_BIES,
17
+ LIST_JOBS_REQUEST_ORDER_BIES: () => LIST_JOBS_REQUEST_ORDER_BIES,
18
+ LIST_JOB_RESULTS_REQUEST_ORDER_BIES: () => LIST_JOB_RESULTS_REQUEST_ORDER_BIES,
19
+ LIST_MODELS_REQUEST_ORDER_BIES: () => LIST_MODELS_REQUEST_ORDER_BIES,
20
+ LIST_PLATFORMS_REQUEST_ORDER_BIES: () => LIST_PLATFORMS_REQUEST_ORDER_BIES,
21
+ LIST_PROCESSES_REQUEST_ORDER_BIES: () => LIST_PROCESSES_REQUEST_ORDER_BIES,
22
+ LIST_PROCESS_RESULTS_REQUEST_ORDER_BIES: () => LIST_PROCESS_RESULTS_REQUEST_ORDER_BIES,
23
+ LIST_SESSIONS_REQUEST_ORDER_BIES: () => LIST_SESSIONS_REQUEST_ORDER_BIES,
24
+ LIST_SESSION_AC_LS_REQUEST_ORDER_BIES: () => LIST_SESSION_AC_LS_REQUEST_ORDER_BIES,
25
+ PLATFORM_AVAILABILITIES: () => PLATFORM_AVAILABILITIES,
26
+ PLATFORM_TECHNOLOGIES: () => PLATFORM_TECHNOLOGIES,
27
+ PLATFORM_TYPES: () => PLATFORM_TYPES,
28
+ PROCESS_STATUSES: () => PROCESS_STATUSES,
11
29
  PROCESS_TRANSIENT_STATUSES: () => PROCESS_TRANSIENT_STATUSES,
30
+ SESSION_ACCESSES: () => SESSION_ACCESSES,
31
+ SESSION_ORIGIN_TYPES: () => SESSION_ORIGIN_TYPES,
32
+ SESSION_STATUSES: () => SESSION_STATUSES,
12
33
  SESSION_TRANSIENT_STATUSES: () => SESSION_TRANSIENT_STATUSES,
13
34
  ValidationRules: () => validation_rules_gen_exports,
14
35
  marshalCreateJobRequest: () => marshalCreateJobRequest,
@@ -39,4 +60,4 @@ var index_gen_exports = /* @__PURE__ */ __exportAll({
39
60
  unmarshalSession: () => unmarshalSession
40
61
  });
41
62
  //#endregion
42
- export { API, BOOKING_TRANSIENT_STATUSES, JOB_TRANSIENT_STATUSES, PROCESS_TRANSIENT_STATUSES, SESSION_TRANSIENT_STATUSES, validation_rules_gen_exports as ValidationRules, index_gen_exports, 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 };
63
+ export { API, APPLICATION_TYPES, BOOKING_STATUSES, BOOKING_TRANSIENT_STATUSES, JOB_STATUSES, JOB_TRANSIENT_STATUSES, LIST_APPLICATIONS_REQUEST_ORDER_BIES, LIST_BOOKINGS_REQUEST_ORDER_BIES, LIST_JOBS_REQUEST_ORDER_BIES, LIST_JOB_RESULTS_REQUEST_ORDER_BIES, LIST_MODELS_REQUEST_ORDER_BIES, LIST_PLATFORMS_REQUEST_ORDER_BIES, LIST_PROCESSES_REQUEST_ORDER_BIES, LIST_PROCESS_RESULTS_REQUEST_ORDER_BIES, LIST_SESSIONS_REQUEST_ORDER_BIES, LIST_SESSION_AC_LS_REQUEST_ORDER_BIES, PLATFORM_AVAILABILITIES, PLATFORM_TECHNOLOGIES, PLATFORM_TYPES, PROCESS_STATUSES, PROCESS_TRANSIENT_STATUSES, SESSION_ACCESSES, SESSION_ORIGIN_TYPES, SESSION_STATUSES, SESSION_TRANSIENT_STATUSES, validation_rules_gen_exports as ValidationRules, index_gen_exports, 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-qaas",
3
- "version": "2.9.0",
3
+ "version": "2.10.0",
4
4
  "description": "Scaleway SDK qaas",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@scaleway/random-name": "6.0.2",
36
- "@scaleway/sdk-std": "2.6.0"
36
+ "@scaleway/sdk-std": "2.7.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@repo/configs": "^0.1.1",