@acm-uiuc/core-client 0.0.1

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.
Files changed (83) hide show
  1. package/.openapi-generator/FILES +127 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +277 -0
  5. package/dist/apis/APIKeysApi.d.ts +54 -0
  6. package/dist/apis/APIKeysApi.js +143 -0
  7. package/dist/apis/EventsApi.d.ts +86 -0
  8. package/dist/apis/EventsApi.js +250 -0
  9. package/dist/apis/GenericApi.d.ts +88 -0
  10. package/dist/apis/GenericApi.js +249 -0
  11. package/dist/apis/IAMApi.d.ts +108 -0
  12. package/dist/apis/IAMApi.js +327 -0
  13. package/dist/apis/ICalendarIntegrationApi.d.ts +29 -0
  14. package/dist/apis/ICalendarIntegrationApi.js +61 -0
  15. package/dist/apis/LinkryApi.d.ts +100 -0
  16. package/dist/apis/LinkryApi.js +330 -0
  17. package/dist/apis/LoggingApi.d.ts +51 -0
  18. package/dist/apis/LoggingApi.js +103 -0
  19. package/dist/apis/MembershipApi.d.ts +107 -0
  20. package/dist/apis/MembershipApi.js +330 -0
  21. package/dist/apis/MobileWalletApi.d.ts +28 -0
  22. package/dist/apis/MobileWalletApi.js +64 -0
  23. package/dist/apis/OrganizationsApi.d.ts +65 -0
  24. package/dist/apis/OrganizationsApi.js +192 -0
  25. package/dist/apis/RSVPApi.d.ts +109 -0
  26. package/dist/apis/RSVPApi.js +345 -0
  27. package/dist/apis/RoomRequestsApi.d.ts +102 -0
  28. package/dist/apis/RoomRequestsApi.js +279 -0
  29. package/dist/apis/StoreApi.d.ts +141 -0
  30. package/dist/apis/StoreApi.js +449 -0
  31. package/dist/apis/StripeApi.d.ts +54 -0
  32. package/dist/apis/StripeApi.js +152 -0
  33. package/dist/apis/VendingApi.d.ts +33 -0
  34. package/dist/apis/VendingApi.js +83 -0
  35. package/dist/apis/index.d.ts +15 -0
  36. package/dist/apis/index.js +33 -0
  37. package/dist/esm/apis/APIKeysApi.d.ts +54 -0
  38. package/dist/esm/apis/APIKeysApi.js +139 -0
  39. package/dist/esm/apis/EventsApi.d.ts +86 -0
  40. package/dist/esm/apis/EventsApi.js +246 -0
  41. package/dist/esm/apis/GenericApi.d.ts +88 -0
  42. package/dist/esm/apis/GenericApi.js +245 -0
  43. package/dist/esm/apis/IAMApi.d.ts +108 -0
  44. package/dist/esm/apis/IAMApi.js +323 -0
  45. package/dist/esm/apis/ICalendarIntegrationApi.d.ts +29 -0
  46. package/dist/esm/apis/ICalendarIntegrationApi.js +57 -0
  47. package/dist/esm/apis/LinkryApi.d.ts +100 -0
  48. package/dist/esm/apis/LinkryApi.js +326 -0
  49. package/dist/esm/apis/LoggingApi.d.ts +51 -0
  50. package/dist/esm/apis/LoggingApi.js +99 -0
  51. package/dist/esm/apis/MembershipApi.d.ts +107 -0
  52. package/dist/esm/apis/MembershipApi.js +326 -0
  53. package/dist/esm/apis/MobileWalletApi.d.ts +28 -0
  54. package/dist/esm/apis/MobileWalletApi.js +60 -0
  55. package/dist/esm/apis/OrganizationsApi.d.ts +65 -0
  56. package/dist/esm/apis/OrganizationsApi.js +188 -0
  57. package/dist/esm/apis/RSVPApi.d.ts +109 -0
  58. package/dist/esm/apis/RSVPApi.js +341 -0
  59. package/dist/esm/apis/RoomRequestsApi.d.ts +102 -0
  60. package/dist/esm/apis/RoomRequestsApi.js +275 -0
  61. package/dist/esm/apis/StoreApi.d.ts +141 -0
  62. package/dist/esm/apis/StoreApi.js +445 -0
  63. package/dist/esm/apis/StripeApi.d.ts +54 -0
  64. package/dist/esm/apis/StripeApi.js +148 -0
  65. package/dist/esm/apis/VendingApi.d.ts +33 -0
  66. package/dist/esm/apis/VendingApi.js +79 -0
  67. package/dist/esm/apis/index.d.ts +15 -0
  68. package/dist/esm/apis/index.js +17 -0
  69. package/dist/esm/index.d.ts +3 -0
  70. package/dist/esm/index.js +5 -0
  71. package/dist/esm/models/index.d.ts +3567 -0
  72. package/dist/esm/models/index.js +539 -0
  73. package/dist/esm/runtime.d.ts +181 -0
  74. package/dist/esm/runtime.js +327 -0
  75. package/dist/index.d.ts +3 -0
  76. package/dist/index.js +21 -0
  77. package/dist/models/index.d.ts +3567 -0
  78. package/dist/models/index.js +543 -0
  79. package/dist/runtime.d.ts +181 -0
  80. package/dist/runtime.js +342 -0
  81. package/package.json +23 -0
  82. package/tsconfig.esm.json +7 -0
  83. package/tsconfig.json +16 -0
@@ -0,0 +1,539 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * ACM Organization
5
+ * @export
6
+ */
7
+ export const AcmOrganization = {
8
+ Acm: 'ACM',
9
+ SigPwny: 'SIGPwny',
10
+ Sigchi: 'SIGCHI',
11
+ GameBuilders: 'GameBuilders',
12
+ Sigaida: 'SIGAIDA',
13
+ Siggraph: 'SIGGRAPH',
14
+ Icpc: 'ICPC',
15
+ SigMobile: 'SIGMobile',
16
+ SigMusic: 'SIGMusic',
17
+ Glug: 'GLUG',
18
+ Signll: 'SIGNLL',
19
+ SiGma: 'SIGma',
20
+ SigQuantum: 'SIGQuantum',
21
+ SiGecom: 'SIGecom',
22
+ Sigplan: 'SIGPLAN',
23
+ SigPolicy: 'SIGPolicy',
24
+ Sigarch: 'SIGARCH',
25
+ SigRobotics: 'SIGRobotics',
26
+ SiGtricity: 'SIGtricity',
27
+ InfrastructureCommittee: 'Infrastructure Committee',
28
+ SocialCommittee: 'Social Committee',
29
+ MentorshipCommittee: 'Mentorship Committee',
30
+ AcademicCommittee: 'Academic Committee',
31
+ CorporateCommittee: 'Corporate Committee',
32
+ MarketingCommittee: 'Marketing Committee',
33
+ ReflectionsProjections: 'Reflections | Projections',
34
+ HackIllinois: 'HackIllinois'
35
+ };
36
+ /**
37
+ * @export
38
+ */
39
+ export const ApiV1ApiKeyOrgPostRequestRolesEnum = {
40
+ ManageEvents: 'manage:events',
41
+ ManageTickets: 'manage:tickets',
42
+ ScanTickets: 'scan:tickets',
43
+ CreateRoomRequest: 'create:roomRequest',
44
+ CreateStripeLink: 'create:stripeLink',
45
+ ManageLinks: 'manage:links',
46
+ ViewInternalMembershipList: 'view:internalMembershipList',
47
+ ManageExternalMembershipList: 'manage:externalMembershipList',
48
+ ViewExternalMembershipList: 'view:externalMembershipList'
49
+ };
50
+ /**
51
+ * @export
52
+ */
53
+ export const ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOfNameEnum = {
54
+ EventsHostRestrictionPolicy: 'EventsHostRestrictionPolicy'
55
+ };
56
+ /**
57
+ * @export
58
+ */
59
+ export const ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOf1NameEnum = {
60
+ MembershipListQueryPolicy: 'MembershipListQueryPolicy'
61
+ };
62
+ /**
63
+ * @export
64
+ */
65
+ export const ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOfParamsHostEnum = {
66
+ Acm: 'ACM',
67
+ SigPwny: 'SIGPwny',
68
+ Sigchi: 'SIGCHI',
69
+ GameBuilders: 'GameBuilders',
70
+ Sigaida: 'SIGAIDA',
71
+ Siggraph: 'SIGGRAPH',
72
+ Icpc: 'ICPC',
73
+ SigMobile: 'SIGMobile',
74
+ SigMusic: 'SIGMusic',
75
+ Glug: 'GLUG',
76
+ Signll: 'SIGNLL',
77
+ SiGma: 'SIGma',
78
+ SigQuantum: 'SIGQuantum',
79
+ SiGecom: 'SIGecom',
80
+ Sigplan: 'SIGPLAN',
81
+ SigPolicy: 'SIGPolicy',
82
+ Sigarch: 'SIGARCH',
83
+ SigRobotics: 'SIGRobotics',
84
+ SiGtricity: 'SIGtricity',
85
+ InfrastructureCommittee: 'Infrastructure Committee',
86
+ SocialCommittee: 'Social Committee',
87
+ MentorshipCommittee: 'Mentorship Committee',
88
+ AcademicCommittee: 'Academic Committee',
89
+ CorporateCommittee: 'Corporate Committee',
90
+ MarketingCommittee: 'Marketing Committee',
91
+ ReflectionsProjections: 'Reflections | Projections',
92
+ HackIllinois: 'HackIllinois'
93
+ };
94
+ /**
95
+ * @export
96
+ */
97
+ export const ApiV1EventsGet200ResponseInnerRepeatsEnum = {
98
+ Weekly: 'weekly',
99
+ Biweekly: 'biweekly'
100
+ };
101
+ /**
102
+ * @export
103
+ */
104
+ export const ApiV1EventsIdGet200ResponseRepeatsEnum = {
105
+ Weekly: 'weekly',
106
+ Biweekly: 'biweekly'
107
+ };
108
+ /**
109
+ * @export
110
+ */
111
+ export const ApiV1EventsIdPatchRequestRepeatsEnum = {
112
+ Weekly: 'weekly',
113
+ Biweekly: 'biweekly'
114
+ };
115
+ /**
116
+ * @export
117
+ */
118
+ export const ApiV1EventsPostRequestRepeatsEnum = {
119
+ Weekly: 'weekly',
120
+ Biweekly: 'biweekly'
121
+ };
122
+ /**
123
+ * @export
124
+ */
125
+ export const ApiV1OrganizationsGet200ResponseInnerNameEnum = {
126
+ Acm: 'ACM',
127
+ SigPwny: 'SIGPwny',
128
+ Sigchi: 'SIGCHI',
129
+ GameBuilders: 'GameBuilders',
130
+ Sigaida: 'SIGAIDA',
131
+ Siggraph: 'SIGGRAPH',
132
+ Icpc: 'ICPC',
133
+ SigMobile: 'SIGMobile',
134
+ SigMusic: 'SIGMusic',
135
+ Glug: 'GLUG',
136
+ Signll: 'SIGNLL',
137
+ SiGma: 'SIGma',
138
+ SigQuantum: 'SIGQuantum',
139
+ SiGecom: 'SIGecom',
140
+ Sigplan: 'SIGPLAN',
141
+ SigPolicy: 'SIGPolicy',
142
+ Sigarch: 'SIGARCH',
143
+ SigRobotics: 'SIGRobotics',
144
+ SiGtricity: 'SIGtricity',
145
+ InfrastructureCommittee: 'Infrastructure Committee',
146
+ SocialCommittee: 'Social Committee',
147
+ MentorshipCommittee: 'Mentorship Committee',
148
+ AcademicCommittee: 'Academic Committee',
149
+ CorporateCommittee: 'Corporate Committee',
150
+ MarketingCommittee: 'Marketing Committee',
151
+ ReflectionsProjections: 'Reflections | Projections',
152
+ HackIllinois: 'HackIllinois'
153
+ };
154
+ /**
155
+ * @export
156
+ */
157
+ export const ApiV1OrganizationsGet200ResponseInnerTypeEnum = {
158
+ Main: 'main',
159
+ Sig: 'sig',
160
+ Committee: 'committee',
161
+ Misc: 'misc'
162
+ };
163
+ /**
164
+ * @export
165
+ */
166
+ export const ApiV1OrganizationsGet200ResponseInnerLinksInnerTypeEnum = {
167
+ Discord: 'DISCORD',
168
+ Campuswire: 'CAMPUSWIRE',
169
+ Slack: 'SLACK',
170
+ Notion: 'NOTION',
171
+ Matrix: 'MATRIX',
172
+ Instagram: 'INSTAGRAM',
173
+ Other: 'OTHER'
174
+ };
175
+ /**
176
+ * @export
177
+ */
178
+ export const ApiV1OrganizationsOrgIdGet200ResponseNameEnum = {
179
+ Acm: 'ACM',
180
+ SigPwny: 'SIGPwny',
181
+ Sigchi: 'SIGCHI',
182
+ GameBuilders: 'GameBuilders',
183
+ Sigaida: 'SIGAIDA',
184
+ Siggraph: 'SIGGRAPH',
185
+ Icpc: 'ICPC',
186
+ SigMobile: 'SIGMobile',
187
+ SigMusic: 'SIGMusic',
188
+ Glug: 'GLUG',
189
+ Signll: 'SIGNLL',
190
+ SiGma: 'SIGma',
191
+ SigQuantum: 'SIGQuantum',
192
+ SiGecom: 'SIGecom',
193
+ Sigplan: 'SIGPLAN',
194
+ SigPolicy: 'SIGPolicy',
195
+ Sigarch: 'SIGARCH',
196
+ SigRobotics: 'SIGRobotics',
197
+ SiGtricity: 'SIGtricity',
198
+ InfrastructureCommittee: 'Infrastructure Committee',
199
+ SocialCommittee: 'Social Committee',
200
+ MentorshipCommittee: 'Mentorship Committee',
201
+ AcademicCommittee: 'Academic Committee',
202
+ CorporateCommittee: 'Corporate Committee',
203
+ MarketingCommittee: 'Marketing Committee',
204
+ ReflectionsProjections: 'Reflections | Projections',
205
+ HackIllinois: 'HackIllinois'
206
+ };
207
+ /**
208
+ * @export
209
+ */
210
+ export const ApiV1OrganizationsOrgIdGet200ResponseTypeEnum = {
211
+ Main: 'main',
212
+ Sig: 'sig',
213
+ Committee: 'committee',
214
+ Misc: 'misc'
215
+ };
216
+ /**
217
+ * @export
218
+ */
219
+ export const ApiV1OrganizationsOrgIdGet200ResponseLinksInnerTypeEnum = {
220
+ Discord: 'DISCORD',
221
+ Campuswire: 'CAMPUSWIRE',
222
+ Slack: 'SLACK',
223
+ Notion: 'NOTION',
224
+ Matrix: 'MATRIX',
225
+ Instagram: 'INSTAGRAM',
226
+ Other: 'OTHER'
227
+ };
228
+ /**
229
+ * @export
230
+ */
231
+ export const ApiV1OrganizationsOrgIdMetaPostRequestLinksInnerTypeEnum = {
232
+ Discord: 'DISCORD',
233
+ Campuswire: 'CAMPUSWIRE',
234
+ Slack: 'SLACK',
235
+ Notion: 'NOTION',
236
+ Matrix: 'MATRIX',
237
+ Instagram: 'INSTAGRAM',
238
+ Other: 'OTHER'
239
+ };
240
+ /**
241
+ * @export
242
+ */
243
+ export const ApiV1RoomRequestsPostRequestThemeEnum = {
244
+ ArtsMusic: 'Arts & Music',
245
+ Athletics: 'Athletics',
246
+ Cultural: 'Cultural',
247
+ Fundraising: 'Fundraising',
248
+ GroupBusiness: 'Group Business',
249
+ Learning: 'Learning',
250
+ Service: 'Service',
251
+ Social: 'Social',
252
+ Spirituality: 'Spirituality'
253
+ };
254
+ /**
255
+ * @export
256
+ */
257
+ export const ApiV1RoomRequestsPostRequestRecurrencePatternEnum = {
258
+ Weekly: 'weekly',
259
+ Biweekly: 'biweekly',
260
+ Monthly: 'monthly'
261
+ };
262
+ /**
263
+ * @export
264
+ */
265
+ export const ApiV1RoomRequestsPostRequestLocationTypeEnum = {
266
+ InPerson: 'in-person',
267
+ Virtual: 'virtual',
268
+ Both: 'both'
269
+ };
270
+ /**
271
+ * @export
272
+ */
273
+ export const ApiV1RoomRequestsSemesterIdRequestIdStatusPostRequestStatusEnum = {
274
+ Created: 'created',
275
+ MoreInformationNeeded: 'more_information_needed',
276
+ RejectedByAcm: 'rejected_by_acm',
277
+ Submitted: 'submitted',
278
+ Approved: 'approved',
279
+ RejectedByUiuc: 'rejected_by_uiuc'
280
+ };
281
+ /**
282
+ * @export
283
+ */
284
+ export const ApiV1RoomRequestsSemesterIdRequestIdStatusPostRequestAttachmentInfoContentTypeEnum = {
285
+ ApplicationPdf: 'application/pdf',
286
+ ImageJpeg: 'image/jpeg',
287
+ ImageHeic: 'image/heic',
288
+ ImagePng: 'image/png'
289
+ };
290
+ /**
291
+ * @export
292
+ */
293
+ export const ApiV1StoreAdminOrderOrderIdGet200ResponseStatusEnum = {
294
+ Pending: 'PENDING',
295
+ Capturing: 'CAPTURING',
296
+ Active: 'ACTIVE',
297
+ Refunded: 'REFUNDED',
298
+ Cancelled: 'CANCELLED'
299
+ };
300
+ /**
301
+ * @export
302
+ */
303
+ export const ApiV1StoreAdminOrderOrderIdGet200ResponseLineItemsInnerStatusEnum = {
304
+ Pending: 'PENDING',
305
+ Capturing: 'CAPTURING',
306
+ Active: 'ACTIVE',
307
+ Refunded: 'REFUNDED',
308
+ Cancelled: 'CANCELLED'
309
+ };
310
+ /**
311
+ * @export
312
+ */
313
+ export const ApiV1StoreAdminOrdersProductIdGet200ResponseItemsInnerStatusEnum = {
314
+ Pending: 'PENDING',
315
+ Capturing: 'CAPTURING',
316
+ Active: 'ACTIVE',
317
+ Refunded: 'REFUNDED',
318
+ Cancelled: 'CANCELLED'
319
+ };
320
+ /**
321
+ * @export
322
+ */
323
+ export const ApiV1StoreAdminProductsGet200ResponseProductsInnerInventoryModeEnum = {
324
+ PerProduct: 'PER_PRODUCT',
325
+ PerVariant: 'PER_VARIANT'
326
+ };
327
+ /**
328
+ * @export
329
+ */
330
+ export const ApiV1StoreAdminProductsPostRequestInventoryModeEnum = {
331
+ PerProduct: 'PER_PRODUCT',
332
+ PerVariant: 'PER_VARIANT'
333
+ };
334
+ /**
335
+ * @export
336
+ */
337
+ export const ApiV1StoreAdminProductsPostRequestLimitConfigurationLimitTypeEnum = {
338
+ PerProduct: 'PER_PRODUCT',
339
+ PerVariant: 'PER_VARIANT'
340
+ };
341
+ /**
342
+ * @export
343
+ */
344
+ export const ApiV1StoreProductsGet200ResponseProductsInnerInventoryModeEnum = {
345
+ PerProduct: 'PER_PRODUCT',
346
+ PerVariant: 'PER_VARIANT'
347
+ };
348
+ /**
349
+ * @export
350
+ */
351
+ export const ApiV1StoreProductsGet200ResponseProductsInnerLimitConfigurationLimitTypeEnum = {
352
+ PerProduct: 'PER_PRODUCT',
353
+ PerVariant: 'PER_VARIANT'
354
+ };
355
+ /**
356
+ * @export
357
+ */
358
+ export const ApiV1StoreProductsProductIdGet200ResponseInventoryModeEnum = {
359
+ PerProduct: 'PER_PRODUCT',
360
+ PerVariant: 'PER_VARIANT'
361
+ };
362
+ /**
363
+ * @export
364
+ */
365
+ export const ApiV1StoreProductsProductIdGet200ResponseLimitConfigurationLimitTypeEnum = {
366
+ PerProduct: 'PER_PRODUCT',
367
+ PerVariant: 'PER_VARIANT'
368
+ };
369
+ /**
370
+ * @export
371
+ */
372
+ export const NotAuthenticatedErrorErrorEnum = {
373
+ True: true
374
+ };
375
+ /**
376
+ * @export
377
+ */
378
+ export const NotAuthenticatedErrorNameEnum = {
379
+ UnauthenticatedError: 'UnauthenticatedError'
380
+ };
381
+ /**
382
+ * @export
383
+ */
384
+ export const NotAuthenticatedErrorIdEnum = {
385
+ NUMBER_102: 102
386
+ };
387
+ /**
388
+ * @export
389
+ */
390
+ export const NotAuthorizedErrorErrorEnum = {
391
+ True: true
392
+ };
393
+ /**
394
+ * @export
395
+ */
396
+ export const NotAuthorizedErrorNameEnum = {
397
+ UnauthorizedError: 'UnauthorizedError'
398
+ };
399
+ /**
400
+ * @export
401
+ */
402
+ export const NotAuthorizedErrorIdEnum = {
403
+ NUMBER_101: 101
404
+ };
405
+ /**
406
+ * @export
407
+ */
408
+ export const NotFoundErrorErrorEnum = {
409
+ True: true
410
+ };
411
+ /**
412
+ * @export
413
+ */
414
+ export const NotFoundErrorNameEnum = {
415
+ NotFoundError: 'NotFoundError'
416
+ };
417
+ /**
418
+ * @export
419
+ */
420
+ export const NotFoundErrorIdEnum = {
421
+ NUMBER_103: 103
422
+ };
423
+ /**
424
+ * The unique org ID for a given ACM sub-organization. See https://github.com/acm-uiuc/js-shared/blob/main/src/orgs.ts#L15
425
+ * @export
426
+ */
427
+ export const OrgUniqueId = {
428
+ A01: 'A01',
429
+ S01: 'S01',
430
+ S02: 'S02',
431
+ S03: 'S03',
432
+ S04: 'S04',
433
+ S05: 'S05',
434
+ S06: 'S06',
435
+ S07: 'S07',
436
+ S08: 'S08',
437
+ S09: 'S09',
438
+ S10: 'S10',
439
+ S11: 'S11',
440
+ S12: 'S12',
441
+ S13: 'S13',
442
+ S14: 'S14',
443
+ S15: 'S15',
444
+ S16: 'S16',
445
+ S17: 'S17',
446
+ S18: 'S18',
447
+ C01: 'C01',
448
+ C02: 'C02',
449
+ C03: 'C03',
450
+ C04: 'C04',
451
+ C05: 'C05',
452
+ C06: 'C06',
453
+ C07: 'C07',
454
+ C08: 'C08'
455
+ };
456
+ /**
457
+ * @export
458
+ */
459
+ export const RateLimitExceededErrorErrorEnum = {
460
+ True: true
461
+ };
462
+ /**
463
+ * @export
464
+ */
465
+ export const RateLimitExceededErrorNameEnum = {
466
+ RateLimitExceededError: 'RateLimitExceededError'
467
+ };
468
+ /**
469
+ * @export
470
+ */
471
+ export const RateLimitExceededErrorIdEnum = {
472
+ NUMBER_409: 409
473
+ };
474
+ /**
475
+ * @export
476
+ */
477
+ export const RateLimitExceededErrorMessageEnum = {
478
+ RateLimitExceeded: 'Rate limit exceeded.'
479
+ };
480
+ /**
481
+ * @export
482
+ */
483
+ export const ResourceConflictErrorErrorEnum = {
484
+ True: true
485
+ };
486
+ /**
487
+ * @export
488
+ */
489
+ export const ResourceConflictErrorNameEnum = {
490
+ ResourceConflictError: 'ResourceConflictError'
491
+ };
492
+ /**
493
+ * @export
494
+ */
495
+ export const ResourceConflictErrorIdEnum = {
496
+ NUMBER_112: 112
497
+ };
498
+ /**
499
+ * @export
500
+ */
501
+ export const RsvpConfigOutputRsvpQuestionsInnerOneOfTypeEnum = {
502
+ Text: 'TEXT'
503
+ };
504
+ /**
505
+ * @export
506
+ */
507
+ export const RsvpConfigOutputRsvpQuestionsInnerOneOf1TypeEnum = {
508
+ Boolean: 'BOOLEAN'
509
+ };
510
+ /**
511
+ * @export
512
+ */
513
+ export const RsvpConfigOutputRsvpQuestionsInnerOneOf2TypeEnum = {
514
+ Select: 'SELECT'
515
+ };
516
+ /**
517
+ * @export
518
+ */
519
+ export const RsvpConfigRsvpQuestionsInnerOneOfTypeEnum = {
520
+ Text: 'TEXT'
521
+ };
522
+ /**
523
+ * @export
524
+ */
525
+ export const RsvpConfigRsvpQuestionsInnerOneOf1TypeEnum = {
526
+ Boolean: 'BOOLEAN'
527
+ };
528
+ /**
529
+ * @export
530
+ */
531
+ export const RsvpConfigRsvpQuestionsInnerOneOf2TypeEnum = {
532
+ Select: 'SELECT'
533
+ };
534
+ /**
535
+ * @export
536
+ */
537
+ export const ValidationErrorErrorEnum = {
538
+ True: true
539
+ };
@@ -0,0 +1,181 @@
1
+ /**
2
+ * ACM @ UIUC Core API
3
+ * The ACM @ UIUC Core API provides services for managing chapter operations. ## Usage The primary consumer of the Core API is the Management Portal, which allows members to manage the chapter. Others may call the API with an API key; please contact us to obtain one. This API also integrates into the ACM website and other suborganization to provide calendar services. Calendar clients call the iCal endpoints (available through [ical.acm.illinois.edu](https://ical.acm.illinois.edu)) for calendar services. ## Contact <hr /> If you are an ACM @ UIUC member, please join the Infra Committee Discord for support. Otherwise, email [infra@acm.illinois.edu](mailto:infra@acm.illinois.edu) for support. **For all security concerns, please email [infra@acm.illinois.edu](mailto:infra@acm.illinois.edu) with the subject \"Security Concern\".**
4
+ *
5
+ * The version of the OpenAPI document: 2.0.1
6
+ * Contact: infra@acm.illinois.edu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export declare const BASE_PATH: string;
13
+ export interface ConfigurationParameters {
14
+ basePath?: string;
15
+ fetchApi?: FetchAPI;
16
+ middleware?: Middleware[];
17
+ queryParamsStringify?: (params: HTTPQuery) => string;
18
+ username?: string;
19
+ password?: string;
20
+ apiKey?: string | Promise<string> | ((name: string) => string | Promise<string>);
21
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string | Promise<string>);
22
+ headers?: HTTPHeaders;
23
+ credentials?: RequestCredentials;
24
+ }
25
+ export declare class Configuration {
26
+ private configuration;
27
+ constructor(configuration?: ConfigurationParameters);
28
+ set config(configuration: Configuration);
29
+ get basePath(): string;
30
+ get fetchApi(): FetchAPI | undefined;
31
+ get middleware(): Middleware[];
32
+ get queryParamsStringify(): (params: HTTPQuery) => string;
33
+ get username(): string | undefined;
34
+ get password(): string | undefined;
35
+ get apiKey(): ((name: string) => string | Promise<string>) | undefined;
36
+ get accessToken(): ((name?: string, scopes?: string[]) => string | Promise<string>) | undefined;
37
+ get headers(): HTTPHeaders | undefined;
38
+ get credentials(): RequestCredentials | undefined;
39
+ }
40
+ export declare const DefaultConfig: Configuration;
41
+ /**
42
+ * This is the base class for all generated API classes.
43
+ */
44
+ export declare class BaseAPI {
45
+ protected configuration: Configuration;
46
+ private static readonly jsonRegex;
47
+ private middleware;
48
+ constructor(configuration?: Configuration);
49
+ withMiddleware<T extends BaseAPI>(this: T, ...middlewares: Middleware[]): T;
50
+ withPreMiddleware<T extends BaseAPI>(this: T, ...preMiddlewares: Array<Middleware['pre']>): T;
51
+ withPostMiddleware<T extends BaseAPI>(this: T, ...postMiddlewares: Array<Middleware['post']>): T;
52
+ /**
53
+ * Check if the given MIME is a JSON MIME.
54
+ * JSON MIME examples:
55
+ * application/json
56
+ * application/json; charset=UTF8
57
+ * APPLICATION/JSON
58
+ * application/vnd.company+json
59
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
60
+ * @return True if the given MIME is JSON, false otherwise.
61
+ */
62
+ protected isJsonMime(mime: string | null | undefined): boolean;
63
+ protected request(context: RequestOpts, initOverrides?: RequestInit | InitOverrideFunction): Promise<Response>;
64
+ private createFetchParams;
65
+ private fetchApi;
66
+ /**
67
+ * Create a shallow clone of `this` by constructing a new instance
68
+ * and then shallow cloning data members.
69
+ */
70
+ private clone;
71
+ }
72
+ export declare class ResponseError extends Error {
73
+ response: Response;
74
+ name: "ResponseError";
75
+ constructor(response: Response, msg?: string);
76
+ }
77
+ export declare class FetchError extends Error {
78
+ cause: Error;
79
+ name: "FetchError";
80
+ constructor(cause: Error, msg?: string);
81
+ }
82
+ export declare class RequiredError extends Error {
83
+ field: string;
84
+ name: "RequiredError";
85
+ constructor(field: string, msg?: string);
86
+ }
87
+ export declare const COLLECTION_FORMATS: {
88
+ csv: string;
89
+ ssv: string;
90
+ tsv: string;
91
+ pipes: string;
92
+ };
93
+ export type FetchAPI = WindowOrWorkerGlobalScope['fetch'];
94
+ export type Json = any;
95
+ export type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';
96
+ export type HTTPHeaders = {
97
+ [key: string]: string;
98
+ };
99
+ export type HTTPQuery = {
100
+ [key: string]: string | number | null | boolean | Array<string | number | null | boolean> | Set<string | number | null | boolean> | HTTPQuery;
101
+ };
102
+ export type HTTPBody = Json | FormData | URLSearchParams;
103
+ export type HTTPRequestInit = {
104
+ headers?: HTTPHeaders;
105
+ method: HTTPMethod;
106
+ credentials?: RequestCredentials;
107
+ body?: HTTPBody;
108
+ };
109
+ export type ModelPropertyNaming = 'camelCase' | 'snake_case' | 'PascalCase' | 'original';
110
+ export type InitOverrideFunction = (requestContext: {
111
+ init: HTTPRequestInit;
112
+ context: RequestOpts;
113
+ }) => Promise<RequestInit>;
114
+ export interface FetchParams {
115
+ url: string;
116
+ init: RequestInit;
117
+ }
118
+ export interface RequestOpts {
119
+ path: string;
120
+ method: HTTPMethod;
121
+ headers: HTTPHeaders;
122
+ query?: HTTPQuery;
123
+ body?: HTTPBody;
124
+ }
125
+ export declare function querystring(params: HTTPQuery, prefix?: string): string;
126
+ export declare function exists(json: any, key: string): boolean;
127
+ export declare function canConsumeForm(consumes: Consume[]): boolean;
128
+ export interface Consume {
129
+ contentType: string;
130
+ }
131
+ export interface RequestContext {
132
+ fetch: FetchAPI;
133
+ url: string;
134
+ init: RequestInit;
135
+ }
136
+ export interface ResponseContext {
137
+ fetch: FetchAPI;
138
+ url: string;
139
+ init: RequestInit;
140
+ response: Response;
141
+ }
142
+ export interface ErrorContext {
143
+ fetch: FetchAPI;
144
+ url: string;
145
+ init: RequestInit;
146
+ error: unknown;
147
+ response?: Response;
148
+ }
149
+ export interface Middleware {
150
+ pre?(context: RequestContext): Promise<FetchParams | void>;
151
+ post?(context: ResponseContext): Promise<Response | void>;
152
+ onError?(context: ErrorContext): Promise<Response | void>;
153
+ }
154
+ export interface ApiResponse<T> {
155
+ raw: Response;
156
+ value(): Promise<T>;
157
+ }
158
+ export interface ResponseTransformer<T> {
159
+ (json: any): T;
160
+ }
161
+ export declare class JSONApiResponse<T> {
162
+ raw: Response;
163
+ private transformer;
164
+ constructor(raw: Response, transformer?: ResponseTransformer<T>);
165
+ value(): Promise<T>;
166
+ }
167
+ export declare class VoidApiResponse {
168
+ raw: Response;
169
+ constructor(raw: Response);
170
+ value(): Promise<void>;
171
+ }
172
+ export declare class BlobApiResponse {
173
+ raw: Response;
174
+ constructor(raw: Response);
175
+ value(): Promise<Blob>;
176
+ }
177
+ export declare class TextApiResponse {
178
+ raw: Response;
179
+ constructor(raw: Response);
180
+ value(): Promise<string>;
181
+ }