@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,127 @@
1
+ .gitignore
2
+ .npmignore
3
+ .openapi-generator-ignore
4
+ README.md
5
+ docs/APIKeysApi.md
6
+ docs/AcmOrganization.md
7
+ docs/ApiV1ApiKeyOrgPostRequest.md
8
+ docs/ApiV1ApiKeyOrgPostRequestRestrictionsInner.md
9
+ docs/ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOf.md
10
+ docs/ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOf1.md
11
+ docs/ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOf1Params.md
12
+ docs/ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOfParams.md
13
+ docs/ApiV1EventsGet200ResponseInner.md
14
+ docs/ApiV1EventsIdGet200Response.md
15
+ docs/ApiV1EventsIdPatchRequest.md
16
+ docs/ApiV1EventsPostRequest.md
17
+ docs/ApiV1IamGroupsGroupIdPatchRequest.md
18
+ docs/ApiV1IamGroupsGroupIdRolesPostRequest.md
19
+ docs/ApiV1IamGroupsGroupIdRolesPostRequestRoles.md
20
+ docs/ApiV1IamInviteUsersPostRequest.md
21
+ docs/ApiV1IamProfilePatchRequest.md
22
+ docs/ApiV1LinkryOrgsOrgIdRedirGet200ResponseInner.md
23
+ docs/ApiV1LinkryOrgsOrgIdRedirPostRequest.md
24
+ docs/ApiV1LinkryRedirPostRequest.md
25
+ docs/ApiV1MembershipExternalListListIdPatchRequest.md
26
+ docs/ApiV1MembershipGet200Response.md
27
+ docs/ApiV1OrganizationsGet200ResponseInner.md
28
+ docs/ApiV1OrganizationsGet200ResponseInnerLeadsInner.md
29
+ docs/ApiV1OrganizationsGet200ResponseInnerLinksInner.md
30
+ docs/ApiV1OrganizationsOrgIdGet200Response.md
31
+ docs/ApiV1OrganizationsOrgIdGet200ResponseLeadsInner.md
32
+ docs/ApiV1OrganizationsOrgIdGet200ResponseLinksInner.md
33
+ docs/ApiV1OrganizationsOrgIdLeadsPatchRequest.md
34
+ docs/ApiV1OrganizationsOrgIdLeadsPatchRequestAddInner.md
35
+ docs/ApiV1OrganizationsOrgIdMetaPostRequest.md
36
+ docs/ApiV1OrganizationsOrgIdMetaPostRequestLinksInner.md
37
+ docs/ApiV1RoomRequestsPostRequest.md
38
+ docs/ApiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGet200Response.md
39
+ docs/ApiV1RoomRequestsSemesterIdRequestIdStatusPost201Response.md
40
+ docs/ApiV1RoomRequestsSemesterIdRequestIdStatusPostRequest.md
41
+ docs/ApiV1RoomRequestsSemesterIdRequestIdStatusPostRequestAttachmentInfo.md
42
+ docs/ApiV1StoreAdminOrderOrderIdGet200Response.md
43
+ docs/ApiV1StoreAdminOrderOrderIdGet200ResponseLineItemsInner.md
44
+ docs/ApiV1StoreAdminOrdersOrderIdFulfillPostRequest.md
45
+ docs/ApiV1StoreAdminOrdersOrderIdRefundPostRequest.md
46
+ docs/ApiV1StoreAdminOrdersProductIdGet200Response.md
47
+ docs/ApiV1StoreAdminOrdersProductIdGet200ResponseItemsInner.md
48
+ docs/ApiV1StoreAdminProductsGet200Response.md
49
+ docs/ApiV1StoreAdminProductsGet200ResponseProductsInner.md
50
+ docs/ApiV1StoreAdminProductsGet200ResponseProductsInnerVariantsInner.md
51
+ docs/ApiV1StoreAdminProductsPost201Response.md
52
+ docs/ApiV1StoreAdminProductsPostRequest.md
53
+ docs/ApiV1StoreAdminProductsPostRequestLimitConfiguration.md
54
+ docs/ApiV1StoreAdminProductsPostRequestVariantsInner.md
55
+ docs/ApiV1StoreAdminProductsProductIdPatchRequest.md
56
+ docs/ApiV1StoreCheckoutPost201Response.md
57
+ docs/ApiV1StoreCheckoutPostRequest.md
58
+ docs/ApiV1StoreCheckoutPostRequestItemsInner.md
59
+ docs/ApiV1StoreProductsGet200Response.md
60
+ docs/ApiV1StoreProductsGet200ResponseProductsInner.md
61
+ docs/ApiV1StoreProductsGet200ResponseProductsInnerLimitConfiguration.md
62
+ docs/ApiV1StoreProductsGet200ResponseProductsInnerVariantsInner.md
63
+ docs/ApiV1StoreProductsProductIdGet200Response.md
64
+ docs/ApiV1StoreProductsProductIdGet200ResponseLimitConfiguration.md
65
+ docs/ApiV1StripePaymentLinksPostRequest.md
66
+ docs/ApiV1SyncIdentityIsRequiredGet200Response.md
67
+ docs/ApiV1UsersBatchResolveInfoPost200ResponseValue.md
68
+ docs/ApiV1UsersBatchResolveInfoPostRequest.md
69
+ docs/ApiV1UsersFindUserByUinPost200Response.md
70
+ docs/ApiV1UsersFindUserByUinPostRequest.md
71
+ docs/ApiV1VendingItemsPostRequest.md
72
+ docs/ApiV2MembershipNetIdGet200Response.md
73
+ docs/ApiV2MembershipVerifyBatchOfMembersPost200Response.md
74
+ docs/EventsApi.md
75
+ docs/GenericApi.md
76
+ docs/IAMApi.md
77
+ docs/ICalendarIntegrationApi.md
78
+ docs/LinkryApi.md
79
+ docs/LoggingApi.md
80
+ docs/MembershipApi.md
81
+ docs/MobileWalletApi.md
82
+ docs/NotAuthenticatedError.md
83
+ docs/NotAuthorizedError.md
84
+ docs/NotFoundError.md
85
+ docs/OrgUniqueId.md
86
+ docs/OrganizationsApi.md
87
+ docs/RSVPApi.md
88
+ docs/RateLimitExceededError.md
89
+ docs/ResourceConflictError.md
90
+ docs/RoomRequestsApi.md
91
+ docs/RsvpConfig.md
92
+ docs/RsvpConfigOutput.md
93
+ docs/RsvpConfigOutputRsvpQuestionsInner.md
94
+ docs/RsvpConfigOutputRsvpQuestionsInnerOneOf.md
95
+ docs/RsvpConfigOutputRsvpQuestionsInnerOneOf1.md
96
+ docs/RsvpConfigOutputRsvpQuestionsInnerOneOf2.md
97
+ docs/RsvpConfigRsvpQuestionsInner.md
98
+ docs/RsvpConfigRsvpQuestionsInnerOneOf.md
99
+ docs/RsvpConfigRsvpQuestionsInnerOneOf1.md
100
+ docs/RsvpConfigRsvpQuestionsInnerOneOf2.md
101
+ docs/RsvpItem.md
102
+ docs/StoreApi.md
103
+ docs/StripeApi.md
104
+ docs/ValidationError.md
105
+ docs/VendingApi.md
106
+ package.json
107
+ src/apis/APIKeysApi.ts
108
+ src/apis/EventsApi.ts
109
+ src/apis/GenericApi.ts
110
+ src/apis/IAMApi.ts
111
+ src/apis/ICalendarIntegrationApi.ts
112
+ src/apis/LinkryApi.ts
113
+ src/apis/LoggingApi.ts
114
+ src/apis/MembershipApi.ts
115
+ src/apis/MobileWalletApi.ts
116
+ src/apis/OrganizationsApi.ts
117
+ src/apis/RSVPApi.ts
118
+ src/apis/RoomRequestsApi.ts
119
+ src/apis/StoreApi.ts
120
+ src/apis/StripeApi.ts
121
+ src/apis/VendingApi.ts
122
+ src/apis/index.ts
123
+ src/index.ts
124
+ src/models/index.ts
125
+ src/runtime.ts
126
+ tsconfig.esm.json
127
+ tsconfig.json
@@ -0,0 +1 @@
1
+ 7.19.0
@@ -0,0 +1,23 @@
1
+ # OpenAPI Generator Ignore
2
+ # Generated by openapi-generator https://github.com/openapitools/openapi-generator
3
+
4
+ # Use this file to prevent files from being overwritten by the generator.
5
+ # The patterns follow closely to .gitignore or .dockerignore.
6
+
7
+ # As an example, the C# client generator defines ApiClient.cs.
8
+ # You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
9
+ #ApiClient.cs
10
+
11
+ # You can match any string of characters against a directory, file or extension with a single asterisk (*):
12
+ #foo/*/qux
13
+ # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14
+
15
+ # You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16
+ #foo/**/qux
17
+ # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18
+
19
+ # You can also negate patterns with an exclamation (!).
20
+ # For example, you can ignore all files in a docs folder with the file extension .md:
21
+ #docs/*.md
22
+ # Then explicitly reverse the ignore rule for a single file:
23
+ #!docs/README.md
package/README.md ADDED
@@ -0,0 +1,277 @@
1
+ # @acm-uiuc/core-client@4.1.7
2
+
3
+ A TypeScript SDK client for the core.aws.qa.acmuiuc.org API.
4
+
5
+ ## Usage
6
+
7
+ First, install the SDK from npm.
8
+
9
+ ```bash
10
+ npm install @acm-uiuc/core-client --save
11
+ ```
12
+
13
+ Next, try it out.
14
+
15
+
16
+ ```ts
17
+ import {
18
+ Configuration,
19
+ APIKeysApi,
20
+ } from '@acm-uiuc/core-client';
21
+ import type { ApiV1ApiKeyOrgGetRequest } from '@acm-uiuc/core-client';
22
+
23
+ async function example() {
24
+ console.log("🚀 Testing @acm-uiuc/core-client SDK...");
25
+ const config = new Configuration({
26
+ // Configure HTTP bearer authorization: httpBearer
27
+ accessToken: "YOUR BEARER TOKEN",
28
+ });
29
+ const api = new APIKeysApi(config);
30
+
31
+ try {
32
+ const data = await api.apiV1ApiKeyOrgGet();
33
+ console.log(data);
34
+ } catch (error) {
35
+ console.error(error);
36
+ }
37
+ }
38
+
39
+ // Run the test
40
+ example().catch(console.error);
41
+ ```
42
+
43
+
44
+ ## Documentation
45
+
46
+ ### API Endpoints
47
+
48
+ All URIs are relative to *https://core.aws.qa.acmuiuc.org*
49
+
50
+ | Class | Method | HTTP request | Description
51
+ | ----- | ------ | ------------ | -------------
52
+ *APIKeysApi* | [**apiV1ApiKeyOrgGet**](docs/APIKeysApi.md#apiv1apikeyorgget) | **GET** /api/v1/apiKey/org | Get all organization API keys.
53
+ *APIKeysApi* | [**apiV1ApiKeyOrgKeyIdDelete**](docs/APIKeysApi.md#apiv1apikeyorgkeyiddelete) | **DELETE** /api/v1/apiKey/org/{keyId} | Delete an organization API key.
54
+ *APIKeysApi* | [**apiV1ApiKeyOrgPost**](docs/APIKeysApi.md#apiv1apikeyorgpostoperation) | **POST** /api/v1/apiKey/org | Create an organization API key.
55
+ *EventsApi* | [**apiV1EventsGet**](docs/EventsApi.md#apiv1eventsget) | **GET** /api/v1/events | Retrieve calendar events with applied filters.
56
+ *EventsApi* | [**apiV1EventsIdDelete**](docs/EventsApi.md#apiv1eventsiddelete) | **DELETE** /api/v1/events/{id} | Delete a calendar event.
57
+ *EventsApi* | [**apiV1EventsIdGet**](docs/EventsApi.md#apiv1eventsidget) | **GET** /api/v1/events/{id} | Retrieve a calendar event.
58
+ *EventsApi* | [**apiV1EventsIdPatch**](docs/EventsApi.md#apiv1eventsidpatchoperation) | **PATCH** /api/v1/events/{id} | Modify a calendar event.
59
+ *EventsApi* | [**apiV1EventsPost**](docs/EventsApi.md#apiv1eventspostoperation) | **POST** /api/v1/events | Create a calendar event.
60
+ *GenericApi* | [**apiV1HealthzGet**](docs/GenericApi.md#apiv1healthzget) | **GET** /api/v1/healthz | Verify that the API server is healthy.
61
+ *GenericApi* | [**apiV1ProtectedGet**](docs/GenericApi.md#apiv1protectedget) | **GET** /api/v1/protected | Get a user\'s username and roles.
62
+ *GenericApi* | [**apiV1SyncIdentityIsRequiredGet**](docs/GenericApi.md#apiv1syncidentityisrequiredget) | **GET** /api/v1/syncIdentity/isRequired | Check if a user needs a full user identity sync.
63
+ *GenericApi* | [**apiV1SyncIdentityPost**](docs/GenericApi.md#apiv1syncidentitypost) | **POST** /api/v1/syncIdentity | Sync the Illinois NetID account with the ACM @ UIUC account.
64
+ *GenericApi* | [**apiV1UsersBatchResolveInfoPost**](docs/GenericApi.md#apiv1usersbatchresolveinfopostoperation) | **POST** /api/v1/users/batchResolveInfo | Resolve user emails to user info.
65
+ *GenericApi* | [**apiV1UsersFindUserByUinPost**](docs/GenericApi.md#apiv1usersfinduserbyuinpostoperation) | **POST** /api/v1/users/findUserByUin | Find a user by UIN.
66
+ *IAMApi* | [**apiV1IamGroupsGet**](docs/IAMApi.md#apiv1iamgroupsget) | **GET** /api/v1/iam/groups | Get all manageable groups.
67
+ *IAMApi* | [**apiV1IamGroupsGroupIdGet**](docs/IAMApi.md#apiv1iamgroupsgroupidget) | **GET** /api/v1/iam/groups/{groupId} | Get the members of a group.
68
+ *IAMApi* | [**apiV1IamGroupsGroupIdPatch**](docs/IAMApi.md#apiv1iamgroupsgroupidpatchoperation) | **PATCH** /api/v1/iam/groups/{groupId} | Update the members of a group.
69
+ *IAMApi* | [**apiV1IamGroupsGroupIdRolesGet**](docs/IAMApi.md#apiv1iamgroupsgroupidrolesget) | **GET** /api/v1/iam/groups/{groupId}/roles | Get a group\'s application role mappings.
70
+ *IAMApi* | [**apiV1IamGroupsGroupIdRolesPost**](docs/IAMApi.md#apiv1iamgroupsgroupidrolespostoperation) | **POST** /api/v1/iam/groups/{groupId}/roles | Update a group\'s application role mappings.
71
+ *IAMApi* | [**apiV1IamInviteUsersPost**](docs/IAMApi.md#apiv1iaminviteuserspostoperation) | **POST** /api/v1/iam/inviteUsers | Invite a user to the ACM @ UIUC Entra ID tenant.
72
+ *IAMApi* | [**apiV1IamProfilePatch**](docs/IAMApi.md#apiv1iamprofilepatchoperation) | **PATCH** /api/v1/iam/profile | Update user\'s profile.
73
+ *ICalendarIntegrationApi* | [**apiV1IcalHostGet**](docs/ICalendarIntegrationApi.md#apiv1icalhostget) | **GET** /api/v1/ical/{host}? | Retrieve the calendar for ACM @ UIUC or a specific sub-organization.
74
+ *LinkryApi* | [**apiV1LinkryOrgsOrgIdRedirGet**](docs/LinkryApi.md#apiv1linkryorgsorgidredirget) | **GET** /api/v1/linkry/orgs/{orgId}/redir | Retrieve short link for a specific org
75
+ *LinkryApi* | [**apiV1LinkryOrgsOrgIdRedirPost**](docs/LinkryApi.md#apiv1linkryorgsorgidredirpostoperation) | **POST** /api/v1/linkry/orgs/{orgId}/redir | Create a short link for a specific org
76
+ *LinkryApi* | [**apiV1LinkryOrgsOrgIdRedirSlugDelete**](docs/LinkryApi.md#apiv1linkryorgsorgidredirslugdelete) | **DELETE** /api/v1/linkry/orgs/{orgId}/redir/{slug} | Delete a short link for a specific org
77
+ *LinkryApi* | [**apiV1LinkryRedirGet**](docs/LinkryApi.md#apiv1linkryredirget) | **GET** /api/v1/linkry/redir |
78
+ *LinkryApi* | [**apiV1LinkryRedirPost**](docs/LinkryApi.md#apiv1linkryredirpostoperation) | **POST** /api/v1/linkry/redir |
79
+ *LinkryApi* | [**apiV1LinkryRedirSlugDelete**](docs/LinkryApi.md#apiv1linkryredirslugdelete) | **DELETE** /api/v1/linkry/redir/{slug} |
80
+ *LinkryApi* | [**apiV1LinkryRedirSlugGet**](docs/LinkryApi.md#apiv1linkryredirslugget) | **GET** /api/v1/linkry/redir/{slug} |
81
+ *LoggingApi* | [**apiV1LogsModuleGet**](docs/LoggingApi.md#apiv1logsmoduleget) | **GET** /api/v1/logs/{module} | Retrieve audit logs for a module.
82
+ *MembershipApi* | [**apiV1MembershipExternalListGet**](docs/MembershipApi.md#apiv1membershipexternallistget) | **GET** /api/v1/membership/externalList | Get all member list IDs
83
+ *MembershipApi* | [**apiV1MembershipExternalListListIdGet**](docs/MembershipApi.md#apiv1membershipexternallistlistidget) | **GET** /api/v1/membership/externalList/{listId} | Get all members of an external organization
84
+ *MembershipApi* | [**apiV1MembershipExternalListListIdPatch**](docs/MembershipApi.md#apiv1membershipexternallistlistidpatchoperation) | **PATCH** /api/v1/membership/externalList/{listId} | Modify members of an external organization
85
+ *MembershipApi* | [**apiV1MembershipGet**](docs/MembershipApi.md#apiv1membershipget) | **GET** /api/v1/membership | Check self membership in any of specified lists.
86
+ *MembershipApi* | [**apiV2MembershipCheckoutGet**](docs/MembershipApi.md#apiv2membershipcheckoutget) | **GET** /api/v2/membership/checkout | Create a checkout session to purchase an ACM @ UIUC membership.
87
+ *MembershipApi* | [**apiV2MembershipNetIdGet**](docs/MembershipApi.md#apiv2membershipnetidget) | **GET** /api/v2/membership/{netId} | Check ACM @ UIUC paid membership (or partner organization membership) status.
88
+ *MembershipApi* | [**apiV2MembershipVerifyBatchOfMembersPost**](docs/MembershipApi.md#apiv2membershipverifybatchofmemberspost) | **POST** /api/v2/membership/verifyBatchOfMembers | Check a batch of NetIDs for ACM @ UIUC paid membership (or partner organization membership) status.
89
+ *MobileWalletApi* | [**apiV2MobileWalletMembershipGet**](docs/MobileWalletApi.md#apiv2mobilewalletmembershipget) | **GET** /api/v2/mobileWallet/membership | Retrieve mobile wallet pass for ACM member.
90
+ *OrganizationsApi* | [**apiV1OrganizationsGet**](docs/OrganizationsApi.md#apiv1organizationsget) | **GET** /api/v1/organizations | Get info for all of ACM @ UIUC\'s sub-organizations.
91
+ *OrganizationsApi* | [**apiV1OrganizationsOrgIdGet**](docs/OrganizationsApi.md#apiv1organizationsorgidget) | **GET** /api/v1/organizations/{orgId} | Get information about a specific ACM @ UIUC sub-organization.
92
+ *OrganizationsApi* | [**apiV1OrganizationsOrgIdLeadsPatch**](docs/OrganizationsApi.md#apiv1organizationsorgidleadspatchoperation) | **PATCH** /api/v1/organizations/{orgId}/leads | Set leads for an ACM @ UIUC sub-organization.
93
+ *OrganizationsApi* | [**apiV1OrganizationsOrgIdMetaPost**](docs/OrganizationsApi.md#apiv1organizationsorgidmetapostoperation) | **POST** /api/v1/organizations/{orgId}/meta | Set metadata for an ACM @ UIUC sub-organization.
94
+ *RSVPApi* | [**apiV1RsvpEventEventIdAttendeeMeDelete**](docs/RSVPApi.md#apiv1rsvpeventeventidattendeemedelete) | **DELETE** /api/v1/rsvp/event/{eventId}/attendee/me | Withdraw your RSVP for an event.
95
+ *RSVPApi* | [**apiV1RsvpEventEventIdAttendeeUserIdDelete**](docs/RSVPApi.md#apiv1rsvpeventeventidattendeeuseriddelete) | **DELETE** /api/v1/rsvp/event/{eventId}/attendee/{userId} | Delete an RSVP for an event.
96
+ *RSVPApi* | [**apiV1RsvpEventEventIdConfigGet**](docs/RSVPApi.md#apiv1rsvpeventeventidconfigget) | **GET** /api/v1/rsvp/event/{eventId}/config | Get RSVP configuration for an event.
97
+ *RSVPApi* | [**apiV1RsvpEventEventIdConfigPost**](docs/RSVPApi.md#apiv1rsvpeventeventidconfigpost) | **POST** /api/v1/rsvp/event/{eventId}/config | Configure RSVP settings for an event.
98
+ *RSVPApi* | [**apiV1RsvpEventEventIdGet**](docs/RSVPApi.md#apiv1rsvpeventeventidget) | **GET** /api/v1/rsvp/event/{eventId} | Get all RSVPs for an event.
99
+ *RSVPApi* | [**apiV1RsvpEventEventIdPost**](docs/RSVPApi.md#apiv1rsvpeventeventidpost) | **POST** /api/v1/rsvp/event/{eventId} | Submit an RSVP for an event.
100
+ *RSVPApi* | [**apiV1RsvpMeGet**](docs/RSVPApi.md#apiv1rsvpmeget) | **GET** /api/v1/rsvp/me | Get your RSVPs across all events.
101
+ *RoomRequestsApi* | [**apiV1RoomRequestsPost**](docs/RoomRequestsApi.md#apiv1roomrequestspostoperation) | **POST** /api/v1/roomRequests | Create a room request.
102
+ *RoomRequestsApi* | [**apiV1RoomRequestsSemesterIdGet**](docs/RoomRequestsApi.md#apiv1roomrequestssemesteridget) | **GET** /api/v1/roomRequests/{semesterId} | Get room requests for a specific semester.
103
+ *RoomRequestsApi* | [**apiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGet**](docs/RoomRequestsApi.md#apiv1roomrequestssemesteridrequestidattachmentdownloadurlcreatedatstatusget) | **GET** /api/v1/roomRequests/{semesterId}/{requestId}/attachmentDownloadUrl/{createdAt}/{status} | Get attachment download URL for a specific room request update.
104
+ *RoomRequestsApi* | [**apiV1RoomRequestsSemesterIdRequestIdGet**](docs/RoomRequestsApi.md#apiv1roomrequestssemesteridrequestidget) | **GET** /api/v1/roomRequests/{semesterId}/{requestId} | Get specific room request data.
105
+ *RoomRequestsApi* | [**apiV1RoomRequestsSemesterIdRequestIdStatusPost**](docs/RoomRequestsApi.md#apiv1roomrequestssemesteridrequestidstatuspostoperation) | **POST** /api/v1/roomRequests/{semesterId}/{requestId}/status | Create status update for a room request.
106
+ *StoreApi* | [**apiV1StoreAdminOrderOrderIdGet**](docs/StoreApi.md#apiv1storeadminorderorderidget) | **GET** /api/v1/store/admin/order/{orderId} | Get order details for management.
107
+ *StoreApi* | [**apiV1StoreAdminOrdersOrderIdFulfillPost**](docs/StoreApi.md#apiv1storeadminordersorderidfulfillpostoperation) | **POST** /api/v1/store/admin/orders/{orderId}/fulfill | Fulfill an order\'s line items.
108
+ *StoreApi* | [**apiV1StoreAdminOrdersOrderIdRefundPost**](docs/StoreApi.md#apiv1storeadminordersorderidrefundpostoperation) | **POST** /api/v1/store/admin/orders/{orderId}/refund | Refund an order.
109
+ *StoreApi* | [**apiV1StoreAdminOrdersProductIdGet**](docs/StoreApi.md#apiv1storeadminordersproductidget) | **GET** /api/v1/store/admin/orders/{productId} | List all orders/line items for a given product.
110
+ *StoreApi* | [**apiV1StoreAdminProductsGet**](docs/StoreApi.md#apiv1storeadminproductsget) | **GET** /api/v1/store/admin/products | List all products (including inactive) for management.
111
+ *StoreApi* | [**apiV1StoreAdminProductsPost**](docs/StoreApi.md#apiv1storeadminproductspostoperation) | **POST** /api/v1/store/admin/products | Create a new product with variants.
112
+ *StoreApi* | [**apiV1StoreAdminProductsProductIdPatch**](docs/StoreApi.md#apiv1storeadminproductsproductidpatchoperation) | **PATCH** /api/v1/store/admin/products/{productId} | Modify the metadata for a given product.
113
+ *StoreApi* | [**apiV1StoreCheckoutPost**](docs/StoreApi.md#apiv1storecheckoutpostoperation) | **POST** /api/v1/store/checkout | Create a checkout session for purchasing items.
114
+ *StoreApi* | [**apiV1StoreProductsGet**](docs/StoreApi.md#apiv1storeproductsget) | **GET** /api/v1/store/products | List all available products in the store.
115
+ *StoreApi* | [**apiV1StoreProductsProductIdGet**](docs/StoreApi.md#apiv1storeproductsproductidget) | **GET** /api/v1/store/products/{productId} | Get details of a specific product.
116
+ *StripeApi* | [**apiV1StripePaymentLinksGet**](docs/StripeApi.md#apiv1stripepaymentlinksget) | **GET** /api/v1/stripe/paymentLinks | Get available Stripe payment links.
117
+ *StripeApi* | [**apiV1StripePaymentLinksLinkIdDelete**](docs/StripeApi.md#apiv1stripepaymentlinkslinkiddelete) | **DELETE** /api/v1/stripe/paymentLinks/{linkId} | Deactivate a Stripe payment link.
118
+ *StripeApi* | [**apiV1StripePaymentLinksPost**](docs/StripeApi.md#apiv1stripepaymentlinkspostoperation) | **POST** /api/v1/stripe/paymentLinks | Create a Stripe payment link.
119
+ *VendingApi* | [**apiV1VendingItemsGet**](docs/VendingApi.md#apiv1vendingitemsget) | **GET** /api/v1/vending/items |
120
+ *VendingApi* | [**apiV1VendingItemsPost**](docs/VendingApi.md#apiv1vendingitemspostoperation) | **POST** /api/v1/vending/items |
121
+
122
+
123
+ ### Models
124
+
125
+ - [AcmOrganization](docs/AcmOrganization.md)
126
+ - [ApiV1ApiKeyOrgPostRequest](docs/ApiV1ApiKeyOrgPostRequest.md)
127
+ - [ApiV1ApiKeyOrgPostRequestRestrictionsInner](docs/ApiV1ApiKeyOrgPostRequestRestrictionsInner.md)
128
+ - [ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOf](docs/ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOf.md)
129
+ - [ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOf1](docs/ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOf1.md)
130
+ - [ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOf1Params](docs/ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOf1Params.md)
131
+ - [ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOfParams](docs/ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOfParams.md)
132
+ - [ApiV1EventsGet200ResponseInner](docs/ApiV1EventsGet200ResponseInner.md)
133
+ - [ApiV1EventsIdGet200Response](docs/ApiV1EventsIdGet200Response.md)
134
+ - [ApiV1EventsIdPatchRequest](docs/ApiV1EventsIdPatchRequest.md)
135
+ - [ApiV1EventsPostRequest](docs/ApiV1EventsPostRequest.md)
136
+ - [ApiV1IamGroupsGroupIdPatchRequest](docs/ApiV1IamGroupsGroupIdPatchRequest.md)
137
+ - [ApiV1IamGroupsGroupIdRolesPostRequest](docs/ApiV1IamGroupsGroupIdRolesPostRequest.md)
138
+ - [ApiV1IamGroupsGroupIdRolesPostRequestRoles](docs/ApiV1IamGroupsGroupIdRolesPostRequestRoles.md)
139
+ - [ApiV1IamInviteUsersPostRequest](docs/ApiV1IamInviteUsersPostRequest.md)
140
+ - [ApiV1IamProfilePatchRequest](docs/ApiV1IamProfilePatchRequest.md)
141
+ - [ApiV1LinkryOrgsOrgIdRedirGet200ResponseInner](docs/ApiV1LinkryOrgsOrgIdRedirGet200ResponseInner.md)
142
+ - [ApiV1LinkryOrgsOrgIdRedirPostRequest](docs/ApiV1LinkryOrgsOrgIdRedirPostRequest.md)
143
+ - [ApiV1LinkryRedirPostRequest](docs/ApiV1LinkryRedirPostRequest.md)
144
+ - [ApiV1MembershipExternalListListIdPatchRequest](docs/ApiV1MembershipExternalListListIdPatchRequest.md)
145
+ - [ApiV1MembershipGet200Response](docs/ApiV1MembershipGet200Response.md)
146
+ - [ApiV1OrganizationsGet200ResponseInner](docs/ApiV1OrganizationsGet200ResponseInner.md)
147
+ - [ApiV1OrganizationsGet200ResponseInnerLeadsInner](docs/ApiV1OrganizationsGet200ResponseInnerLeadsInner.md)
148
+ - [ApiV1OrganizationsGet200ResponseInnerLinksInner](docs/ApiV1OrganizationsGet200ResponseInnerLinksInner.md)
149
+ - [ApiV1OrganizationsOrgIdGet200Response](docs/ApiV1OrganizationsOrgIdGet200Response.md)
150
+ - [ApiV1OrganizationsOrgIdGet200ResponseLeadsInner](docs/ApiV1OrganizationsOrgIdGet200ResponseLeadsInner.md)
151
+ - [ApiV1OrganizationsOrgIdGet200ResponseLinksInner](docs/ApiV1OrganizationsOrgIdGet200ResponseLinksInner.md)
152
+ - [ApiV1OrganizationsOrgIdLeadsPatchRequest](docs/ApiV1OrganizationsOrgIdLeadsPatchRequest.md)
153
+ - [ApiV1OrganizationsOrgIdLeadsPatchRequestAddInner](docs/ApiV1OrganizationsOrgIdLeadsPatchRequestAddInner.md)
154
+ - [ApiV1OrganizationsOrgIdMetaPostRequest](docs/ApiV1OrganizationsOrgIdMetaPostRequest.md)
155
+ - [ApiV1OrganizationsOrgIdMetaPostRequestLinksInner](docs/ApiV1OrganizationsOrgIdMetaPostRequestLinksInner.md)
156
+ - [ApiV1RoomRequestsPostRequest](docs/ApiV1RoomRequestsPostRequest.md)
157
+ - [ApiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGet200Response](docs/ApiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGet200Response.md)
158
+ - [ApiV1RoomRequestsSemesterIdRequestIdStatusPost201Response](docs/ApiV1RoomRequestsSemesterIdRequestIdStatusPost201Response.md)
159
+ - [ApiV1RoomRequestsSemesterIdRequestIdStatusPostRequest](docs/ApiV1RoomRequestsSemesterIdRequestIdStatusPostRequest.md)
160
+ - [ApiV1RoomRequestsSemesterIdRequestIdStatusPostRequestAttachmentInfo](docs/ApiV1RoomRequestsSemesterIdRequestIdStatusPostRequestAttachmentInfo.md)
161
+ - [ApiV1StoreAdminOrderOrderIdGet200Response](docs/ApiV1StoreAdminOrderOrderIdGet200Response.md)
162
+ - [ApiV1StoreAdminOrderOrderIdGet200ResponseLineItemsInner](docs/ApiV1StoreAdminOrderOrderIdGet200ResponseLineItemsInner.md)
163
+ - [ApiV1StoreAdminOrdersOrderIdFulfillPostRequest](docs/ApiV1StoreAdminOrdersOrderIdFulfillPostRequest.md)
164
+ - [ApiV1StoreAdminOrdersOrderIdRefundPostRequest](docs/ApiV1StoreAdminOrdersOrderIdRefundPostRequest.md)
165
+ - [ApiV1StoreAdminOrdersProductIdGet200Response](docs/ApiV1StoreAdminOrdersProductIdGet200Response.md)
166
+ - [ApiV1StoreAdminOrdersProductIdGet200ResponseItemsInner](docs/ApiV1StoreAdminOrdersProductIdGet200ResponseItemsInner.md)
167
+ - [ApiV1StoreAdminProductsGet200Response](docs/ApiV1StoreAdminProductsGet200Response.md)
168
+ - [ApiV1StoreAdminProductsGet200ResponseProductsInner](docs/ApiV1StoreAdminProductsGet200ResponseProductsInner.md)
169
+ - [ApiV1StoreAdminProductsGet200ResponseProductsInnerVariantsInner](docs/ApiV1StoreAdminProductsGet200ResponseProductsInnerVariantsInner.md)
170
+ - [ApiV1StoreAdminProductsPost201Response](docs/ApiV1StoreAdminProductsPost201Response.md)
171
+ - [ApiV1StoreAdminProductsPostRequest](docs/ApiV1StoreAdminProductsPostRequest.md)
172
+ - [ApiV1StoreAdminProductsPostRequestLimitConfiguration](docs/ApiV1StoreAdminProductsPostRequestLimitConfiguration.md)
173
+ - [ApiV1StoreAdminProductsPostRequestVariantsInner](docs/ApiV1StoreAdminProductsPostRequestVariantsInner.md)
174
+ - [ApiV1StoreAdminProductsProductIdPatchRequest](docs/ApiV1StoreAdminProductsProductIdPatchRequest.md)
175
+ - [ApiV1StoreCheckoutPost201Response](docs/ApiV1StoreCheckoutPost201Response.md)
176
+ - [ApiV1StoreCheckoutPostRequest](docs/ApiV1StoreCheckoutPostRequest.md)
177
+ - [ApiV1StoreCheckoutPostRequestItemsInner](docs/ApiV1StoreCheckoutPostRequestItemsInner.md)
178
+ - [ApiV1StoreProductsGet200Response](docs/ApiV1StoreProductsGet200Response.md)
179
+ - [ApiV1StoreProductsGet200ResponseProductsInner](docs/ApiV1StoreProductsGet200ResponseProductsInner.md)
180
+ - [ApiV1StoreProductsGet200ResponseProductsInnerLimitConfiguration](docs/ApiV1StoreProductsGet200ResponseProductsInnerLimitConfiguration.md)
181
+ - [ApiV1StoreProductsGet200ResponseProductsInnerVariantsInner](docs/ApiV1StoreProductsGet200ResponseProductsInnerVariantsInner.md)
182
+ - [ApiV1StoreProductsProductIdGet200Response](docs/ApiV1StoreProductsProductIdGet200Response.md)
183
+ - [ApiV1StoreProductsProductIdGet200ResponseLimitConfiguration](docs/ApiV1StoreProductsProductIdGet200ResponseLimitConfiguration.md)
184
+ - [ApiV1StripePaymentLinksPostRequest](docs/ApiV1StripePaymentLinksPostRequest.md)
185
+ - [ApiV1SyncIdentityIsRequiredGet200Response](docs/ApiV1SyncIdentityIsRequiredGet200Response.md)
186
+ - [ApiV1UsersBatchResolveInfoPost200ResponseValue](docs/ApiV1UsersBatchResolveInfoPost200ResponseValue.md)
187
+ - [ApiV1UsersBatchResolveInfoPostRequest](docs/ApiV1UsersBatchResolveInfoPostRequest.md)
188
+ - [ApiV1UsersFindUserByUinPost200Response](docs/ApiV1UsersFindUserByUinPost200Response.md)
189
+ - [ApiV1UsersFindUserByUinPostRequest](docs/ApiV1UsersFindUserByUinPostRequest.md)
190
+ - [ApiV1VendingItemsPostRequest](docs/ApiV1VendingItemsPostRequest.md)
191
+ - [ApiV2MembershipNetIdGet200Response](docs/ApiV2MembershipNetIdGet200Response.md)
192
+ - [ApiV2MembershipVerifyBatchOfMembersPost200Response](docs/ApiV2MembershipVerifyBatchOfMembersPost200Response.md)
193
+ - [NotAuthenticatedError](docs/NotAuthenticatedError.md)
194
+ - [NotAuthorizedError](docs/NotAuthorizedError.md)
195
+ - [NotFoundError](docs/NotFoundError.md)
196
+ - [OrgUniqueId](docs/OrgUniqueId.md)
197
+ - [RateLimitExceededError](docs/RateLimitExceededError.md)
198
+ - [ResourceConflictError](docs/ResourceConflictError.md)
199
+ - [RsvpConfig](docs/RsvpConfig.md)
200
+ - [RsvpConfigOutput](docs/RsvpConfigOutput.md)
201
+ - [RsvpConfigOutputRsvpQuestionsInner](docs/RsvpConfigOutputRsvpQuestionsInner.md)
202
+ - [RsvpConfigOutputRsvpQuestionsInnerOneOf](docs/RsvpConfigOutputRsvpQuestionsInnerOneOf.md)
203
+ - [RsvpConfigOutputRsvpQuestionsInnerOneOf1](docs/RsvpConfigOutputRsvpQuestionsInnerOneOf1.md)
204
+ - [RsvpConfigOutputRsvpQuestionsInnerOneOf2](docs/RsvpConfigOutputRsvpQuestionsInnerOneOf2.md)
205
+ - [RsvpConfigRsvpQuestionsInner](docs/RsvpConfigRsvpQuestionsInner.md)
206
+ - [RsvpConfigRsvpQuestionsInnerOneOf](docs/RsvpConfigRsvpQuestionsInnerOneOf.md)
207
+ - [RsvpConfigRsvpQuestionsInnerOneOf1](docs/RsvpConfigRsvpQuestionsInnerOneOf1.md)
208
+ - [RsvpConfigRsvpQuestionsInnerOneOf2](docs/RsvpConfigRsvpQuestionsInnerOneOf2.md)
209
+ - [RsvpItem](docs/RsvpItem.md)
210
+ - [ValidationError](docs/ValidationError.md)
211
+
212
+ ### Authorization
213
+
214
+
215
+ Authentication schemes defined for the API:
216
+ <a id="httpBearer"></a>
217
+ #### httpBearer
218
+
219
+
220
+ - **Type**: HTTP Bearer Token authentication (JWT)
221
+ <a id="apiKeyHeader"></a>
222
+ #### apiKeyHeader
223
+
224
+
225
+ - **Type**: API key
226
+ - **API key parameter name**: `X-Api-Key`
227
+ - **Location**: HTTP header
228
+
229
+ ## About
230
+
231
+ This TypeScript SDK client supports the [Fetch API](https://fetch.spec.whatwg.org/)
232
+ and is automatically generated by the
233
+ [OpenAPI Generator](https://openapi-generator.tech) project:
234
+
235
+ - API version: `2.0.1`
236
+ - Package version: `4.1.7`
237
+ - Generator version: `7.19.0`
238
+ - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
239
+
240
+ The generated npm module supports the following:
241
+
242
+ - Environments
243
+ * Node.js
244
+ * Webpack
245
+ * Browserify
246
+ - Language levels
247
+ * ES5 - you must have a Promises/A+ library installed
248
+ * ES6
249
+ - Module systems
250
+ * CommonJS
251
+ * ES6 module system
252
+
253
+ For more information, please visit [https://github.com/acm-uiuc/core/issues](https://github.com/acm-uiuc/core/issues)
254
+
255
+ ## Development
256
+
257
+ ### Building
258
+
259
+ To build the TypeScript source code, you need to have Node.js and npm installed.
260
+ After cloning the repository, navigate to the project directory and run:
261
+
262
+ ```bash
263
+ npm install
264
+ npm run build
265
+ ```
266
+
267
+ ### Publishing
268
+
269
+ Once you've built the package, you can publish it to npm:
270
+
271
+ ```bash
272
+ npm publish
273
+ ```
274
+
275
+ ## License
276
+
277
+ [BSD 3-Clause](https://github.com/acm-uiuc/core/blob/main/LICENSE)
@@ -0,0 +1,54 @@
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
+ import * as runtime from '../runtime.js';
13
+ import type { ApiV1ApiKeyOrgPostRequest } from '../models/index.js';
14
+ export interface ApiV1ApiKeyOrgKeyIdDeleteRequest {
15
+ keyId: string;
16
+ }
17
+ export interface ApiV1ApiKeyOrgPostOperationRequest {
18
+ apiV1ApiKeyOrgPostRequest: ApiV1ApiKeyOrgPostRequest;
19
+ }
20
+ /**
21
+ *
22
+ */
23
+ export declare class APIKeysApi extends runtime.BaseAPI {
24
+ /**
25
+ * > [!important] > This resource cannot be accessed with an API key. #### Authorization <hr /> Requires any of the following roles: * Org API Keys Manager (<code>manage:orgApiKey</code>)
26
+ * Get all organization API keys.
27
+ */
28
+ apiV1ApiKeyOrgGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
29
+ /**
30
+ * > [!important] > This resource cannot be accessed with an API key. #### Authorization <hr /> Requires any of the following roles: * Org API Keys Manager (<code>manage:orgApiKey</code>)
31
+ * Get all organization API keys.
32
+ */
33
+ apiV1ApiKeyOrgGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
34
+ /**
35
+ * > [!important] > This resource cannot be accessed with an API key. #### Authorization <hr /> Requires any of the following roles: * Org API Keys Manager (<code>manage:orgApiKey</code>)
36
+ * Delete an organization API key.
37
+ */
38
+ apiV1ApiKeyOrgKeyIdDeleteRaw(requestParameters: ApiV1ApiKeyOrgKeyIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
39
+ /**
40
+ * > [!important] > This resource cannot be accessed with an API key. #### Authorization <hr /> Requires any of the following roles: * Org API Keys Manager (<code>manage:orgApiKey</code>)
41
+ * Delete an organization API key.
42
+ */
43
+ apiV1ApiKeyOrgKeyIdDelete(requestParameters: ApiV1ApiKeyOrgKeyIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
44
+ /**
45
+ * > [!important] > This resource cannot be accessed with an API key. #### Authorization <hr /> Requires any of the following roles: * Org API Keys Manager (<code>manage:orgApiKey</code>)
46
+ * Create an organization API key.
47
+ */
48
+ apiV1ApiKeyOrgPostRaw(requestParameters: ApiV1ApiKeyOrgPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
49
+ /**
50
+ * > [!important] > This resource cannot be accessed with an API key. #### Authorization <hr /> Requires any of the following roles: * Org API Keys Manager (<code>manage:orgApiKey</code>)
51
+ * Create an organization API key.
52
+ */
53
+ apiV1ApiKeyOrgPost(requestParameters: ApiV1ApiKeyOrgPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
54
+ }
@@ -0,0 +1,143 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * ACM @ UIUC Core API
6
+ * 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\".**
7
+ *
8
+ * The version of the OpenAPI document: 2.0.1
9
+ * Contact: infra@acm.illinois.edu
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
16
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
17
+ return new (P || (P = Promise))(function (resolve, reject) {
18
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
19
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
20
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
21
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
22
+ });
23
+ };
24
+ Object.defineProperty(exports, "__esModule", { value: true });
25
+ exports.APIKeysApi = void 0;
26
+ const runtime = require("../runtime.js");
27
+ /**
28
+ *
29
+ */
30
+ class APIKeysApi extends runtime.BaseAPI {
31
+ /**
32
+ * > [!important] > This resource cannot be accessed with an API key. #### Authorization <hr /> Requires any of the following roles: * Org API Keys Manager (<code>manage:orgApiKey</code>)
33
+ * Get all organization API keys.
34
+ */
35
+ apiV1ApiKeyOrgGetRaw(initOverrides) {
36
+ return __awaiter(this, void 0, void 0, function* () {
37
+ const queryParameters = {};
38
+ const headerParameters = {};
39
+ if (this.configuration && this.configuration.accessToken) {
40
+ const token = this.configuration.accessToken;
41
+ const tokenString = yield token("httpBearer", []);
42
+ if (tokenString) {
43
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
44
+ }
45
+ }
46
+ let urlPath = `/api/v1/apiKey/org`;
47
+ const response = yield this.request({
48
+ path: urlPath,
49
+ method: 'GET',
50
+ headers: headerParameters,
51
+ query: queryParameters,
52
+ }, initOverrides);
53
+ return new runtime.VoidApiResponse(response);
54
+ });
55
+ }
56
+ /**
57
+ * > [!important] > This resource cannot be accessed with an API key. #### Authorization <hr /> Requires any of the following roles: * Org API Keys Manager (<code>manage:orgApiKey</code>)
58
+ * Get all organization API keys.
59
+ */
60
+ apiV1ApiKeyOrgGet(initOverrides) {
61
+ return __awaiter(this, void 0, void 0, function* () {
62
+ yield this.apiV1ApiKeyOrgGetRaw(initOverrides);
63
+ });
64
+ }
65
+ /**
66
+ * > [!important] > This resource cannot be accessed with an API key. #### Authorization <hr /> Requires any of the following roles: * Org API Keys Manager (<code>manage:orgApiKey</code>)
67
+ * Delete an organization API key.
68
+ */
69
+ apiV1ApiKeyOrgKeyIdDeleteRaw(requestParameters, initOverrides) {
70
+ return __awaiter(this, void 0, void 0, function* () {
71
+ if (requestParameters['keyId'] == null) {
72
+ throw new runtime.RequiredError('keyId', 'Required parameter "keyId" was null or undefined when calling apiV1ApiKeyOrgKeyIdDelete().');
73
+ }
74
+ const queryParameters = {};
75
+ const headerParameters = {};
76
+ if (this.configuration && this.configuration.accessToken) {
77
+ const token = this.configuration.accessToken;
78
+ const tokenString = yield token("httpBearer", []);
79
+ if (tokenString) {
80
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
81
+ }
82
+ }
83
+ let urlPath = `/api/v1/apiKey/org/{keyId}`;
84
+ urlPath = urlPath.replace(`{${"keyId"}}`, encodeURIComponent(String(requestParameters['keyId'])));
85
+ const response = yield this.request({
86
+ path: urlPath,
87
+ method: 'DELETE',
88
+ headers: headerParameters,
89
+ query: queryParameters,
90
+ }, initOverrides);
91
+ return new runtime.VoidApiResponse(response);
92
+ });
93
+ }
94
+ /**
95
+ * > [!important] > This resource cannot be accessed with an API key. #### Authorization <hr /> Requires any of the following roles: * Org API Keys Manager (<code>manage:orgApiKey</code>)
96
+ * Delete an organization API key.
97
+ */
98
+ apiV1ApiKeyOrgKeyIdDelete(requestParameters, initOverrides) {
99
+ return __awaiter(this, void 0, void 0, function* () {
100
+ yield this.apiV1ApiKeyOrgKeyIdDeleteRaw(requestParameters, initOverrides);
101
+ });
102
+ }
103
+ /**
104
+ * > [!important] > This resource cannot be accessed with an API key. #### Authorization <hr /> Requires any of the following roles: * Org API Keys Manager (<code>manage:orgApiKey</code>)
105
+ * Create an organization API key.
106
+ */
107
+ apiV1ApiKeyOrgPostRaw(requestParameters, initOverrides) {
108
+ return __awaiter(this, void 0, void 0, function* () {
109
+ if (requestParameters['apiV1ApiKeyOrgPostRequest'] == null) {
110
+ throw new runtime.RequiredError('apiV1ApiKeyOrgPostRequest', 'Required parameter "apiV1ApiKeyOrgPostRequest" was null or undefined when calling apiV1ApiKeyOrgPost().');
111
+ }
112
+ const queryParameters = {};
113
+ const headerParameters = {};
114
+ headerParameters['Content-Type'] = 'application/json';
115
+ if (this.configuration && this.configuration.accessToken) {
116
+ const token = this.configuration.accessToken;
117
+ const tokenString = yield token("httpBearer", []);
118
+ if (tokenString) {
119
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
120
+ }
121
+ }
122
+ let urlPath = `/api/v1/apiKey/org`;
123
+ const response = yield this.request({
124
+ path: urlPath,
125
+ method: 'POST',
126
+ headers: headerParameters,
127
+ query: queryParameters,
128
+ body: requestParameters['apiV1ApiKeyOrgPostRequest'],
129
+ }, initOverrides);
130
+ return new runtime.VoidApiResponse(response);
131
+ });
132
+ }
133
+ /**
134
+ * > [!important] > This resource cannot be accessed with an API key. #### Authorization <hr /> Requires any of the following roles: * Org API Keys Manager (<code>manage:orgApiKey</code>)
135
+ * Create an organization API key.
136
+ */
137
+ apiV1ApiKeyOrgPost(requestParameters, initOverrides) {
138
+ return __awaiter(this, void 0, void 0, function* () {
139
+ yield this.apiV1ApiKeyOrgPostRaw(requestParameters, initOverrides);
140
+ });
141
+ }
142
+ }
143
+ exports.APIKeysApi = APIKeysApi;