@scaleway/sdk-qaas 2.7.0 → 2.8.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,28 @@
1
+ import type { DefaultValues } from '@scaleway/sdk-client';
2
+ import type { JobCircuit, Application, Booking, Job, Model, Platform, Process, Session, ListApplicationsResponse, ListBookingsResponse, ListJobResultsResponse, ListJobsResponse, ListModelsResponse, ListPlatformsResponse, ListProcessResultsResponse, ListProcessesResponse, ListSessionACLsResponse, ListSessionsResponse, CreateJobRequest, CreateModelRequest, CreateProcessRequest, CreateSessionRequest, UpdateBookingRequest, UpdateJobRequest, UpdateProcessRequest, UpdateSessionRequest } from './types.gen.js';
3
+ export declare const unmarshalJobCircuit: (data: unknown) => JobCircuit;
4
+ export declare const unmarshalApplication: (data: unknown) => Application;
5
+ export declare const unmarshalBooking: (data: unknown) => Booking;
6
+ export declare const unmarshalJob: (data: unknown) => Job;
7
+ export declare const unmarshalModel: (data: unknown) => Model;
8
+ export declare const unmarshalPlatform: (data: unknown) => Platform;
9
+ export declare const unmarshalProcess: (data: unknown) => Process;
10
+ export declare const unmarshalSession: (data: unknown) => Session;
11
+ export declare const unmarshalListApplicationsResponse: (data: unknown) => ListApplicationsResponse;
12
+ export declare const unmarshalListBookingsResponse: (data: unknown) => ListBookingsResponse;
13
+ export declare const unmarshalListJobResultsResponse: (data: unknown) => ListJobResultsResponse;
14
+ export declare const unmarshalListJobsResponse: (data: unknown) => ListJobsResponse;
15
+ export declare const unmarshalListModelsResponse: (data: unknown) => ListModelsResponse;
16
+ export declare const unmarshalListPlatformsResponse: (data: unknown) => ListPlatformsResponse;
17
+ export declare const unmarshalListProcessResultsResponse: (data: unknown) => ListProcessResultsResponse;
18
+ export declare const unmarshalListProcessesResponse: (data: unknown) => ListProcessesResponse;
19
+ export declare const unmarshalListSessionACLsResponse: (data: unknown) => ListSessionACLsResponse;
20
+ export declare const unmarshalListSessionsResponse: (data: unknown) => ListSessionsResponse;
21
+ export declare const marshalCreateJobRequest: (request: CreateJobRequest, defaults: DefaultValues) => Record<string, unknown>;
22
+ export declare const marshalCreateModelRequest: (request: CreateModelRequest, defaults: DefaultValues) => Record<string, unknown>;
23
+ export declare const marshalCreateProcessRequest: (request: CreateProcessRequest, defaults: DefaultValues) => Record<string, unknown>;
24
+ export declare const marshalCreateSessionRequest: (request: CreateSessionRequest, defaults: DefaultValues) => Record<string, unknown>;
25
+ export declare const marshalUpdateBookingRequest: (request: UpdateBookingRequest, defaults: DefaultValues) => Record<string, unknown>;
26
+ export declare const marshalUpdateJobRequest: (request: UpdateJobRequest, defaults: DefaultValues) => Record<string, unknown>;
27
+ export declare const marshalUpdateProcessRequest: (request: UpdateProcessRequest, defaults: DefaultValues) => Record<string, unknown>;
28
+ export declare const marshalUpdateSessionRequest: (request: UpdateSessionRequest, defaults: DefaultValues) => Record<string, unknown>;
@@ -0,0 +1,304 @@
1
+ import { isJSONObject, resolveOneOf, unmarshalArrayOfObject, unmarshalDate, unmarshalMoney } from "@scaleway/sdk-client";
2
+ //#region src/v1alpha1/marshalling.gen.ts
3
+ const unmarshalJobCircuit = (data) => {
4
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'JobCircuit' failed as data isn't a dictionary.`);
5
+ return {
6
+ percevalCircuit: data.perceval_circuit,
7
+ qiskitCircuit: data.qiskit_circuit
8
+ };
9
+ };
10
+ const unmarshalApplication = (data) => {
11
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Application' failed as data isn't a dictionary.`);
12
+ return {
13
+ compatiblePlatformIds: data.compatible_platform_ids,
14
+ id: data.id,
15
+ inputTemplate: data.input_template,
16
+ name: data.name,
17
+ type: data.type
18
+ };
19
+ };
20
+ const unmarshalBooking = (data) => {
21
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Booking' failed as data isn't a dictionary.`);
22
+ return {
23
+ createdAt: unmarshalDate(data.created_at),
24
+ description: data.description,
25
+ finishedAt: unmarshalDate(data.finished_at),
26
+ id: data.id,
27
+ progressMessage: data.progress_message,
28
+ startedAt: unmarshalDate(data.started_at),
29
+ status: data.status,
30
+ timeZone: data.time_zone,
31
+ updatedAt: unmarshalDate(data.updated_at)
32
+ };
33
+ };
34
+ const unmarshalJob = (data) => {
35
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Job' failed as data isn't a dictionary.`);
36
+ return {
37
+ createdAt: unmarshalDate(data.created_at),
38
+ id: data.id,
39
+ jobDuration: data.job_duration,
40
+ modelId: data.model_id,
41
+ name: data.name,
42
+ parameters: data.parameters,
43
+ progressMessage: data.progress_message,
44
+ resultDistribution: data.result_distribution,
45
+ sessionId: data.session_id,
46
+ startedAt: unmarshalDate(data.started_at),
47
+ status: data.status,
48
+ tags: data.tags,
49
+ updatedAt: unmarshalDate(data.updated_at)
50
+ };
51
+ };
52
+ const unmarshalModel = (data) => {
53
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Model' failed as data isn't a dictionary.`);
54
+ return {
55
+ createdAt: unmarshalDate(data.created_at),
56
+ id: data.id,
57
+ projectId: data.project_id,
58
+ url: data.url
59
+ };
60
+ };
61
+ const unmarshalPlatformBookingRequirement = (data) => {
62
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PlatformBookingRequirement' failed as data isn't a dictionary.`);
63
+ return {
64
+ maxBookingPerDay: data.max_booking_per_day,
65
+ maxBookingPerWeek: data.max_booking_per_week,
66
+ maxCancellationDuration: data.max_cancellation_duration,
67
+ maxDuration: data.max_duration,
68
+ maxPlanificationDuration: data.max_planification_duration,
69
+ minDuration: data.min_duration,
70
+ minPlanificationDuration: data.min_planification_duration
71
+ };
72
+ };
73
+ const unmarshalPlatformHardware = (data) => {
74
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PlatformHardware' failed as data isn't a dictionary.`);
75
+ return {
76
+ gpus: data.gpus,
77
+ gpusNetwork: data.gpus_network,
78
+ name: data.name,
79
+ ram: data.ram,
80
+ vcpus: data.vcpus,
81
+ vram: data.vram
82
+ };
83
+ };
84
+ const unmarshalPlatform = (data) => {
85
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Platform' failed as data isn't a dictionary.`);
86
+ return {
87
+ availability: data.availability,
88
+ backendName: data.backend_name,
89
+ bookingRequirement: data.booking_requirement ? unmarshalPlatformBookingRequirement(data.booking_requirement) : void 0,
90
+ description: data.description,
91
+ documentationUrl: data.documentation_url,
92
+ hardware: data.hardware ? unmarshalPlatformHardware(data.hardware) : void 0,
93
+ id: data.id,
94
+ isBookable: data.is_bookable,
95
+ maxCircuitCount: data.max_circuit_count,
96
+ maxQubitCount: data.max_qubit_count,
97
+ maxShotCount: data.max_shot_count,
98
+ metadata: data.metadata,
99
+ name: data.name,
100
+ pricePerCircuit: data.price_per_circuit ? unmarshalMoney(data.price_per_circuit) : void 0,
101
+ pricePerHour: data.price_per_hour ? unmarshalMoney(data.price_per_hour) : void 0,
102
+ pricePerShot: data.price_per_shot ? unmarshalMoney(data.price_per_shot) : void 0,
103
+ providerName: data.provider_name,
104
+ technology: data.technology,
105
+ type: data.type,
106
+ version: data.version
107
+ };
108
+ };
109
+ const unmarshalProcess = (data) => {
110
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Process' failed as data isn't a dictionary.`);
111
+ return {
112
+ applicationId: data.application_id,
113
+ attachedSessionIds: data.attached_session_ids,
114
+ createdAt: unmarshalDate(data.created_at),
115
+ finishedAt: unmarshalDate(data.finished_at),
116
+ id: data.id,
117
+ input: data.input,
118
+ name: data.name,
119
+ platformId: data.platform_id,
120
+ progress: data.progress,
121
+ progressMessage: data.progress_message,
122
+ projectId: data.project_id,
123
+ startedAt: unmarshalDate(data.started_at),
124
+ status: data.status,
125
+ tags: data.tags,
126
+ updatedAt: unmarshalDate(data.updated_at)
127
+ };
128
+ };
129
+ const unmarshalSession = (data) => {
130
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Session' failed as data isn't a dictionary.`);
131
+ return {
132
+ bookingId: data.booking_id,
133
+ createdAt: unmarshalDate(data.created_at),
134
+ deduplicationId: data.deduplication_id,
135
+ finishedJobCount: data.finished_job_count,
136
+ id: data.id,
137
+ maxDuration: data.max_duration,
138
+ maxIdleDuration: data.max_idle_duration,
139
+ modelId: data.model_id,
140
+ name: data.name,
141
+ originId: data.origin_id,
142
+ originType: data.origin_type,
143
+ parameters: data.parameters,
144
+ platformId: data.platform_id,
145
+ progressMessage: data.progress_message,
146
+ projectId: data.project_id,
147
+ startedAt: unmarshalDate(data.started_at),
148
+ status: data.status,
149
+ tags: data.tags,
150
+ terminatedAt: unmarshalDate(data.terminated_at),
151
+ updatedAt: unmarshalDate(data.updated_at),
152
+ waitingJobCount: data.waiting_job_count
153
+ };
154
+ };
155
+ const unmarshalListApplicationsResponse = (data) => {
156
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListApplicationsResponse' failed as data isn't a dictionary.`);
157
+ return {
158
+ applications: unmarshalArrayOfObject(data.applications, unmarshalApplication),
159
+ totalCount: data.total_count
160
+ };
161
+ };
162
+ const unmarshalListBookingsResponse = (data) => {
163
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListBookingsResponse' failed as data isn't a dictionary.`);
164
+ return {
165
+ bookings: unmarshalArrayOfObject(data.bookings, unmarshalBooking),
166
+ totalCount: data.total_count
167
+ };
168
+ };
169
+ const unmarshalJobResult = (data) => {
170
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'JobResult' failed as data isn't a dictionary.`);
171
+ return {
172
+ createdAt: unmarshalDate(data.created_at),
173
+ jobId: data.job_id,
174
+ result: data.result,
175
+ url: data.url
176
+ };
177
+ };
178
+ const unmarshalListJobResultsResponse = (data) => {
179
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListJobResultsResponse' failed as data isn't a dictionary.`);
180
+ return {
181
+ jobResults: unmarshalArrayOfObject(data.job_results, unmarshalJobResult),
182
+ totalCount: data.total_count
183
+ };
184
+ };
185
+ const unmarshalListJobsResponse = (data) => {
186
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListJobsResponse' failed as data isn't a dictionary.`);
187
+ return {
188
+ jobs: unmarshalArrayOfObject(data.jobs, unmarshalJob),
189
+ totalCount: data.total_count
190
+ };
191
+ };
192
+ const unmarshalListModelsResponse = (data) => {
193
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListModelsResponse' failed as data isn't a dictionary.`);
194
+ return {
195
+ models: unmarshalArrayOfObject(data.models, unmarshalModel),
196
+ totalCount: data.total_count
197
+ };
198
+ };
199
+ const unmarshalListPlatformsResponse = (data) => {
200
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListPlatformsResponse' failed as data isn't a dictionary.`);
201
+ return {
202
+ platforms: unmarshalArrayOfObject(data.platforms, unmarshalPlatform),
203
+ totalCount: data.total_count
204
+ };
205
+ };
206
+ const unmarshalProcessResult = (data) => {
207
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ProcessResult' failed as data isn't a dictionary.`);
208
+ return {
209
+ createdAt: unmarshalDate(data.created_at),
210
+ processId: data.process_id,
211
+ result: data.result
212
+ };
213
+ };
214
+ const unmarshalListProcessResultsResponse = (data) => {
215
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListProcessResultsResponse' failed as data isn't a dictionary.`);
216
+ return {
217
+ processResults: unmarshalArrayOfObject(data.process_results, unmarshalProcessResult),
218
+ totalCount: data.total_count
219
+ };
220
+ };
221
+ const unmarshalListProcessesResponse = (data) => {
222
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListProcessesResponse' failed as data isn't a dictionary.`);
223
+ return {
224
+ processes: unmarshalArrayOfObject(data.processes, unmarshalProcess),
225
+ totalCount: data.total_count
226
+ };
227
+ };
228
+ const unmarshalListSessionACLsResponse = (data) => {
229
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListSessionACLsResponse' failed as data isn't a dictionary.`);
230
+ return {
231
+ acls: data.acls,
232
+ totalCount: data.total_count
233
+ };
234
+ };
235
+ const unmarshalListSessionsResponse = (data) => {
236
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListSessionsResponse' failed as data isn't a dictionary.`);
237
+ return {
238
+ sessions: unmarshalArrayOfObject(data.sessions, unmarshalSession),
239
+ totalCount: data.total_count
240
+ };
241
+ };
242
+ const marshalJobCircuit = (request, defaults) => ({ ...resolveOneOf([{
243
+ param: "perceval_circuit",
244
+ value: request.percevalCircuit
245
+ }, {
246
+ param: "qiskit_circuit",
247
+ value: request.qiskitCircuit
248
+ }]) });
249
+ const marshalCreateJobRequest = (request, defaults) => ({
250
+ circuit: marshalJobCircuit(request.circuit, defaults),
251
+ max_duration: request.maxDuration,
252
+ model_id: request.modelId,
253
+ name: request.name,
254
+ parameters: request.parameters,
255
+ session_id: request.sessionId,
256
+ tags: request.tags
257
+ });
258
+ const marshalCreateModelRequest = (request, defaults) => ({
259
+ payload: request.payload,
260
+ project_id: request.projectId ?? defaults.defaultProjectId
261
+ });
262
+ const marshalCreateProcessRequest = (request, defaults) => ({
263
+ application_id: request.applicationId,
264
+ input: request.input,
265
+ name: request.name,
266
+ platform_id: request.platformId,
267
+ project_id: request.projectId ?? defaults.defaultProjectId,
268
+ tags: request.tags
269
+ });
270
+ const marshalCreateSessionRequestBookingDemand = (request, defaults) => ({
271
+ description: request.description,
272
+ finished_at: request.finishedAt,
273
+ started_at: request.startedAt,
274
+ time_zone: request.timeZone
275
+ });
276
+ const marshalCreateSessionRequest = (request, defaults) => ({
277
+ booking_demand: request.bookingDemand !== void 0 ? marshalCreateSessionRequestBookingDemand(request.bookingDemand, defaults) : void 0,
278
+ deduplication_id: request.deduplicationId,
279
+ max_duration: request.maxDuration,
280
+ max_idle_duration: request.maxIdleDuration,
281
+ model_id: request.modelId,
282
+ name: request.name,
283
+ parameters: request.parameters,
284
+ platform_id: request.platformId,
285
+ project_id: request.projectId ?? defaults.defaultProjectId,
286
+ tags: request.tags
287
+ });
288
+ const marshalUpdateBookingRequest = (request, defaults) => ({ description: request.description });
289
+ const marshalUpdateJobRequest = (request, defaults) => ({
290
+ name: request.name,
291
+ tags: request.tags
292
+ });
293
+ const marshalUpdateProcessRequest = (request, defaults) => ({
294
+ name: request.name,
295
+ tags: request.tags
296
+ });
297
+ const marshalUpdateSessionRequest = (request, defaults) => ({
298
+ max_duration: request.maxDuration,
299
+ max_idle_duration: request.maxIdleDuration,
300
+ name: request.name,
301
+ tags: request.tags
302
+ });
303
+ //#endregion
304
+ export { 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 };
@@ -0,0 +1,196 @@
1
+ export declare const queriesMetadata: {
2
+ readonly namespace: 'qaas';
3
+ readonly version: 'v1alpha1';
4
+ readonly folderName: 'qaasv1alpha1';
5
+ readonly services: readonly [{
6
+ readonly apiClass: 'API';
7
+ readonly methods: readonly [{
8
+ readonly methodName: 'getJob';
9
+ readonly protoName: 'GetJob';
10
+ readonly paramsType: 'GetJobRequest';
11
+ readonly returnType: 'Job';
12
+ readonly isList: false;
13
+ readonly paginationType: 'none';
14
+ readonly isPrivate: false;
15
+ readonly description: '"';
16
+ readonly hasWaiter: true;
17
+ }, {
18
+ readonly methodName: 'listJobs';
19
+ readonly protoName: 'ListJobs';
20
+ readonly paramsType: 'ListJobsRequest';
21
+ readonly returnType: 'ListJobsResponse';
22
+ readonly isList: true;
23
+ readonly paginationType: 'offset';
24
+ readonly pageParamKey: 'page';
25
+ readonly listItemType: 'Job';
26
+ readonly isPrivate: false;
27
+ readonly description: '"';
28
+ }, {
29
+ readonly methodName: 'listJobResults';
30
+ readonly protoName: 'ListJobResults';
31
+ readonly paramsType: 'ListJobResultsRequest';
32
+ readonly returnType: 'ListJobResultsResponse';
33
+ readonly isList: true;
34
+ readonly paginationType: 'offset';
35
+ readonly pageParamKey: 'page';
36
+ readonly listItemType: 'JobResult';
37
+ readonly isPrivate: false;
38
+ readonly description: '"';
39
+ }, {
40
+ readonly methodName: 'getJobCircuit';
41
+ readonly protoName: 'GetJobCircuit';
42
+ readonly paramsType: 'GetJobCircuitRequest';
43
+ readonly returnType: 'JobCircuit';
44
+ readonly isList: false;
45
+ readonly paginationType: 'none';
46
+ readonly isPrivate: false;
47
+ readonly description: '"';
48
+ }, {
49
+ readonly methodName: 'getPlatform';
50
+ readonly protoName: 'GetPlatform';
51
+ readonly paramsType: 'GetPlatformRequest';
52
+ readonly returnType: 'Platform';
53
+ readonly isList: false;
54
+ readonly paginationType: 'none';
55
+ readonly isPrivate: false;
56
+ readonly description: '"';
57
+ }, {
58
+ readonly methodName: 'listPlatforms';
59
+ readonly protoName: 'ListPlatforms';
60
+ readonly paramsType: 'ListPlatformsRequest';
61
+ readonly returnType: 'ListPlatformsResponse';
62
+ readonly isList: true;
63
+ readonly paginationType: 'offset';
64
+ readonly pageParamKey: 'page';
65
+ readonly listItemType: 'Platform';
66
+ readonly isPrivate: false;
67
+ readonly description: '"';
68
+ }, {
69
+ readonly methodName: 'getSession';
70
+ readonly protoName: 'GetSession';
71
+ readonly paramsType: 'GetSessionRequest';
72
+ readonly returnType: 'Session';
73
+ readonly isList: false;
74
+ readonly paginationType: 'none';
75
+ readonly isPrivate: false;
76
+ readonly description: '"';
77
+ readonly hasWaiter: true;
78
+ }, {
79
+ readonly methodName: 'listSessions';
80
+ readonly protoName: 'ListSessions';
81
+ readonly paramsType: 'ListSessionsRequest';
82
+ readonly returnType: 'ListSessionsResponse';
83
+ readonly isList: true;
84
+ readonly paginationType: 'offset';
85
+ readonly pageParamKey: 'page';
86
+ readonly listItemType: 'Session';
87
+ readonly isPrivate: false;
88
+ readonly description: '"';
89
+ }, {
90
+ readonly methodName: 'listSessionACLs';
91
+ readonly protoName: 'ListSessionACLs';
92
+ readonly paramsType: 'ListSessionACLsRequest';
93
+ readonly returnType: 'ListSessionACLsResponse';
94
+ readonly isList: true;
95
+ readonly paginationType: 'offset';
96
+ readonly pageParamKey: 'page';
97
+ readonly listItemType: 'SessionAccess';
98
+ readonly isPrivate: false;
99
+ readonly description: '"';
100
+ }, {
101
+ readonly methodName: 'getProcess';
102
+ readonly protoName: 'GetProcess';
103
+ readonly paramsType: 'GetProcessRequest';
104
+ readonly returnType: 'Process';
105
+ readonly isList: false;
106
+ readonly paginationType: 'none';
107
+ readonly isPrivate: false;
108
+ readonly description: '"';
109
+ readonly hasWaiter: true;
110
+ }, {
111
+ readonly methodName: 'listProcesses';
112
+ readonly protoName: 'ListProcesses';
113
+ readonly paramsType: 'ListProcessesRequest';
114
+ readonly returnType: 'ListProcessesResponse';
115
+ readonly isList: true;
116
+ readonly paginationType: 'offset';
117
+ readonly pageParamKey: 'page';
118
+ readonly listItemType: 'Process';
119
+ readonly isPrivate: false;
120
+ readonly description: '"';
121
+ }, {
122
+ readonly methodName: 'listProcessResults';
123
+ readonly protoName: 'ListProcessResults';
124
+ readonly paramsType: 'ListProcessResultsRequest';
125
+ readonly returnType: 'ListProcessResultsResponse';
126
+ readonly isList: true;
127
+ readonly paginationType: 'offset';
128
+ readonly pageParamKey: 'page';
129
+ readonly listItemType: 'ProcessResult';
130
+ readonly isPrivate: false;
131
+ readonly description: '"';
132
+ }, {
133
+ readonly methodName: 'getApplication';
134
+ readonly protoName: 'GetApplication';
135
+ readonly paramsType: 'GetApplicationRequest';
136
+ readonly returnType: 'Application';
137
+ readonly isList: false;
138
+ readonly paginationType: 'none';
139
+ readonly isPrivate: false;
140
+ readonly description: '"';
141
+ }, {
142
+ readonly methodName: 'listApplications';
143
+ readonly protoName: 'ListApplications';
144
+ readonly paramsType: 'ListApplicationsRequest';
145
+ readonly returnType: 'ListApplicationsResponse';
146
+ readonly isList: true;
147
+ readonly paginationType: 'offset';
148
+ readonly pageParamKey: 'page';
149
+ readonly listItemType: 'Application';
150
+ readonly isPrivate: false;
151
+ readonly description: '"';
152
+ }, {
153
+ readonly methodName: 'getBooking';
154
+ readonly protoName: 'GetBooking';
155
+ readonly paramsType: 'GetBookingRequest';
156
+ readonly returnType: 'Booking';
157
+ readonly isList: false;
158
+ readonly paginationType: 'none';
159
+ readonly isPrivate: false;
160
+ readonly description: '"';
161
+ readonly hasWaiter: true;
162
+ }, {
163
+ readonly methodName: 'listBookings';
164
+ readonly protoName: 'ListBookings';
165
+ readonly paramsType: 'ListBookingsRequest';
166
+ readonly returnType: 'ListBookingsResponse';
167
+ readonly isList: true;
168
+ readonly paginationType: 'offset';
169
+ readonly pageParamKey: 'page';
170
+ readonly listItemType: 'Booking';
171
+ readonly isPrivate: false;
172
+ readonly description: '"';
173
+ }, {
174
+ readonly methodName: 'getModel';
175
+ readonly protoName: 'GetModel';
176
+ readonly paramsType: 'GetModelRequest';
177
+ readonly returnType: 'Model';
178
+ readonly isList: false;
179
+ readonly paginationType: 'none';
180
+ readonly isPrivate: false;
181
+ readonly description: '"';
182
+ }, {
183
+ readonly methodName: 'listModels';
184
+ readonly protoName: 'ListModels';
185
+ readonly paramsType: 'ListModelsRequest';
186
+ readonly returnType: 'ListModelsResponse';
187
+ readonly isList: true;
188
+ readonly paginationType: 'offset';
189
+ readonly pageParamKey: 'page';
190
+ readonly listItemType: 'Model';
191
+ readonly isPrivate: false;
192
+ readonly description: '"';
193
+ }];
194
+ }];
195
+ };
196
+ export type QueriesMetadata = typeof queriesMetadata;