@geekmidas/client 10.0.0-alpha.15 → 10.0.0-alpha.16

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/dist/openapi.mjs DELETED
@@ -1,501 +0,0 @@
1
- //#region src/openapi.json
2
- var openapi = "3.0.0";
3
- var info = {
4
- "title": "API Documentation",
5
- "version": "1.0.0",
6
- "description": "Auto-generated API documentation from endpoints"
7
- };
8
- var paths = { "/explore/jobs": { "get": {
9
- "operationId": "exploreJobs",
10
- "responses": { "200": {
11
- "description": "Successful response",
12
- "content": { "application/json": { "schema": {
13
- "$schema": "https://json-schema.org/draft/2020-12/schema",
14
- "type": "object",
15
- "properties": {
16
- "items": {
17
- "type": "array",
18
- "items": {
19
- "type": "object",
20
- "properties": {
21
- "role": {
22
- "type": "string",
23
- "minLength": 1,
24
- "maxLength": 255
25
- },
26
- "type": {
27
- "type": "string",
28
- "enum": [
29
- "Server",
30
- "Waiter",
31
- "Host",
32
- "Bartender",
33
- "KitchenPorter",
34
- "Steward",
35
- "BusPerson",
36
- "Dishwasher"
37
- ]
38
- },
39
- "overview": {
40
- "type": "string",
41
- "minLength": 1
42
- },
43
- "qualifications": {
44
- "type": "string",
45
- "minLength": 1
46
- },
47
- "hourlyRate": {
48
- "type": "object",
49
- "properties": {
50
- "max": { "type": "number" },
51
- "min": { "type": "number" }
52
- },
53
- "required": ["max", "min"],
54
- "additionalProperties": false
55
- },
56
- "dateNeeded": {
57
- "type": "object",
58
- "properties": {
59
- "from": { "type": "string" },
60
- "to": { "type": "string" }
61
- },
62
- "required": ["from", "to"],
63
- "additionalProperties": false
64
- },
65
- "shiftHours": {
66
- "type": "object",
67
- "properties": {
68
- "from": { "type": "string" },
69
- "to": { "type": "string" }
70
- },
71
- "required": ["from", "to"],
72
- "additionalProperties": false
73
- },
74
- "id": {
75
- "type": "string",
76
- "format": "uuid",
77
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$"
78
- },
79
- "createdAt": {
80
- "type": "string",
81
- "format": "date-time",
82
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
83
- },
84
- "updatedAt": {
85
- "type": "string",
86
- "format": "date-time",
87
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
88
- },
89
- "status": {
90
- "type": "string",
91
- "enum": [
92
- "Draft",
93
- "Active",
94
- "Closed",
95
- "Filled"
96
- ]
97
- },
98
- "business": {
99
- "type": "object",
100
- "properties": {
101
- "name": {
102
- "type": "string",
103
- "minLength": 1
104
- },
105
- "description": { "type": "string" },
106
- "tags": {
107
- "type": "array",
108
- "items": { "type": "string" }
109
- },
110
- "id": {
111
- "type": "string",
112
- "format": "uuid",
113
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$"
114
- },
115
- "createdAt": {
116
- "type": "string",
117
- "format": "date-time",
118
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
119
- },
120
- "updatedAt": {
121
- "type": "string",
122
- "format": "date-time",
123
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
124
- },
125
- "rating": {
126
- "type": "number",
127
- "minimum": 0,
128
- "maximum": 5
129
- },
130
- "status": {
131
- "type": "string",
132
- "enum": [
133
- "Active",
134
- "Inactive",
135
- "PendingVerification",
136
- "Suspended"
137
- ]
138
- },
139
- "ratingCount": {
140
- "type": "integer",
141
- "minimum": 0,
142
- "maximum": 9007199254740991
143
- },
144
- "address": {
145
- "type": "object",
146
- "properties": {
147
- "id": {
148
- "type": "string",
149
- "format": "uuid",
150
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$"
151
- },
152
- "createdAt": {
153
- "type": "string",
154
- "format": "date-time",
155
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
156
- },
157
- "updatedAt": {
158
- "type": "string",
159
- "format": "date-time",
160
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
161
- },
162
- "placeId": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
163
- "text": {
164
- "type": "string",
165
- "minLength": 1
166
- },
167
- "city": {
168
- "type": "string",
169
- "minLength": 1
170
- },
171
- "state": {
172
- "type": "string",
173
- "minLength": 1
174
- },
175
- "postalCode": {
176
- "type": "string",
177
- "minLength": 1
178
- },
179
- "country": {
180
- "type": "string",
181
- "minLength": 1
182
- },
183
- "lat": { "type": "number" },
184
- "lng": { "type": "number" }
185
- },
186
- "required": [
187
- "id",
188
- "createdAt",
189
- "updatedAt",
190
- "text",
191
- "city",
192
- "state",
193
- "postalCode",
194
- "country",
195
- "lat",
196
- "lng"
197
- ],
198
- "additionalProperties": false
199
- },
200
- "image": {
201
- "type": "object",
202
- "properties": {
203
- "id": {
204
- "type": "string",
205
- "format": "uuid",
206
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$"
207
- },
208
- "createdAt": {
209
- "type": "string",
210
- "format": "date-time",
211
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
212
- },
213
- "updatedAt": {
214
- "type": "string",
215
- "format": "date-time",
216
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
217
- },
218
- "mimeType": {
219
- "type": "string",
220
- "enum": [
221
- "image/jpeg",
222
- "image/png",
223
- "application/pdf",
224
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
225
- ]
226
- },
227
- "name": { "type": "string" },
228
- "url": {
229
- "type": "string",
230
- "format": "uri"
231
- },
232
- "contentLength": { "type": "number" },
233
- "status": {
234
- "type": "string",
235
- "enum": [
236
- "Pending",
237
- "Uploaded",
238
- "Failed",
239
- "Deleted"
240
- ]
241
- }
242
- },
243
- "required": [
244
- "id",
245
- "createdAt",
246
- "updatedAt",
247
- "mimeType",
248
- "name",
249
- "url",
250
- "contentLength",
251
- "status"
252
- ],
253
- "additionalProperties": false
254
- },
255
- "licenses": {
256
- "type": "array",
257
- "items": {
258
- "type": "object",
259
- "properties": {
260
- "id": {
261
- "type": "string",
262
- "format": "uuid",
263
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$"
264
- },
265
- "createdAt": {
266
- "type": "string",
267
- "format": "date-time",
268
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
269
- },
270
- "updatedAt": {
271
- "type": "string",
272
- "format": "date-time",
273
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
274
- },
275
- "mimeType": {
276
- "type": "string",
277
- "enum": [
278
- "image/jpeg",
279
- "image/png",
280
- "application/pdf",
281
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
282
- ]
283
- },
284
- "name": { "type": "string" },
285
- "url": {
286
- "type": "string",
287
- "format": "uri"
288
- },
289
- "contentLength": { "type": "number" },
290
- "status": {
291
- "type": "string",
292
- "enum": [
293
- "Pending",
294
- "Uploaded",
295
- "Failed",
296
- "Deleted"
297
- ]
298
- }
299
- },
300
- "required": [
301
- "id",
302
- "createdAt",
303
- "updatedAt",
304
- "mimeType",
305
- "name",
306
- "url",
307
- "contentLength",
308
- "status"
309
- ],
310
- "additionalProperties": false
311
- }
312
- }
313
- },
314
- "required": [
315
- "name",
316
- "description",
317
- "tags",
318
- "id",
319
- "createdAt",
320
- "updatedAt",
321
- "rating",
322
- "status",
323
- "ratingCount",
324
- "address",
325
- "image",
326
- "licenses"
327
- ],
328
- "additionalProperties": false
329
- },
330
- "appliedAt": { "anyOf": [{
331
- "type": "string",
332
- "format": "date-time",
333
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
334
- }, { "type": "null" }] },
335
- "closedAt": { "anyOf": [{
336
- "type": "string",
337
- "format": "date-time",
338
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
339
- }, { "type": "null" }] },
340
- "closeReason": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
341
- "distanceKm": { "type": "number" },
342
- "roleMatch": { "type": "boolean" },
343
- "hourlyRateMatch": { "type": "boolean" },
344
- "hasApplied": {
345
- "default": false,
346
- "type": "boolean"
347
- }
348
- },
349
- "required": [
350
- "role",
351
- "type",
352
- "overview",
353
- "qualifications",
354
- "hourlyRate",
355
- "dateNeeded",
356
- "shiftHours",
357
- "id",
358
- "createdAt",
359
- "updatedAt",
360
- "status",
361
- "business",
362
- "distanceKm",
363
- "roleMatch",
364
- "hourlyRateMatch",
365
- "hasApplied"
366
- ],
367
- "additionalProperties": false
368
- }
369
- },
370
- "pagination": {
371
- "type": "object",
372
- "properties": {
373
- "total": { "type": "number" },
374
- "cursor": { "type": "string" },
375
- "hasMore": { "type": "boolean" }
376
- },
377
- "required": ["total", "hasMore"],
378
- "additionalProperties": false
379
- }
380
- },
381
- "required": ["items", "pagination"],
382
- "additionalProperties": false
383
- } } }
384
- } },
385
- "parameters": [{
386
- "name": "filter",
387
- "in": "query",
388
- "required": false,
389
- "schema": {
390
- "type": "object",
391
- "properties": {
392
- "radius": {
393
- "type": "integer",
394
- "minimum": 0,
395
- "maximum": 9007199254740991
396
- },
397
- "types": {
398
- "type": "array",
399
- "items": {
400
- "type": "string",
401
- "enum": [
402
- "Server",
403
- "Waiter",
404
- "Host",
405
- "Bartender",
406
- "KitchenPorter",
407
- "Steward",
408
- "BusPerson",
409
- "Dishwasher"
410
- ]
411
- }
412
- },
413
- "hourlyRate": {
414
- "type": "object",
415
- "properties": {
416
- "max": { "type": "number" },
417
- "min": { "type": "number" }
418
- },
419
- "additionalProperties": false
420
- },
421
- "dateNeeded": {
422
- "type": "object",
423
- "properties": {
424
- "from": { "type": "string" },
425
- "to": { "type": "string" }
426
- },
427
- "additionalProperties": false
428
- },
429
- "shiftHours": {
430
- "type": "object",
431
- "properties": {
432
- "from": { "type": "string" },
433
- "to": { "type": "string" }
434
- },
435
- "additionalProperties": false
436
- },
437
- "box": {
438
- "type": "object",
439
- "properties": {
440
- "topLeft": {
441
- "type": "object",
442
- "properties": {
443
- "lat": { "type": "number" },
444
- "lng": { "type": "number" }
445
- },
446
- "required": ["lat", "lng"],
447
- "additionalProperties": false
448
- },
449
- "bottomRight": {
450
- "type": "object",
451
- "properties": {
452
- "lat": { "type": "number" },
453
- "lng": { "type": "number" }
454
- },
455
- "required": ["lat", "lng"],
456
- "additionalProperties": false
457
- }
458
- },
459
- "required": ["topLeft", "bottomRight"],
460
- "additionalProperties": false
461
- },
462
- "name": {
463
- "type": "string",
464
- "minLength": 1
465
- },
466
- "city": {
467
- "type": "string",
468
- "minLength": 1
469
- }
470
- },
471
- "additionalProperties": false
472
- }
473
- }, {
474
- "name": "pagination",
475
- "in": "query",
476
- "required": false,
477
- "schema": {
478
- "type": "object",
479
- "properties": {
480
- "cursor": { "type": "string" },
481
- "limit": {
482
- "default": 20,
483
- "type": "integer",
484
- "exclusiveMinimum": 0,
485
- "maximum": 100
486
- }
487
- },
488
- "required": ["limit"],
489
- "additionalProperties": false
490
- }
491
- }]
492
- } } };
493
- var openapi_default = {
494
- openapi,
495
- info,
496
- paths
497
- };
498
- //#endregion
499
- export { openapi_default as default, info, openapi, paths };
500
-
501
- //# sourceMappingURL=openapi.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"openapi.mjs","names":[],"sources":["../src/openapi.json"],"sourcesContent":[""],"mappings":""}