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