@acm-uiuc/core-client 4.5.0 → 4.6.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.
- package/.openapi-generator/FILES +2 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +7 -4
- package/dist/apis/APIKeysApi.d.ts +13 -1
- package/dist/apis/APIKeysApi.js +43 -16
- package/dist/apis/EventsApi.d.ts +21 -1
- package/dist/apis/EventsApi.js +69 -24
- package/dist/apis/GenericApi.d.ts +25 -1
- package/dist/apis/GenericApi.js +82 -28
- package/dist/apis/IAMApi.d.ts +29 -1
- package/dist/apis/IAMApi.js +99 -36
- package/dist/apis/ICalendarIntegrationApi.d.ts +5 -1
- package/dist/apis/ICalendarIntegrationApi.js +14 -5
- package/dist/apis/LinkryApi.d.ts +29 -1
- package/dist/apis/LinkryApi.js +95 -32
- package/dist/apis/LoggingApi.d.ts +5 -1
- package/dist/apis/LoggingApi.js +15 -6
- package/dist/apis/MembershipApi.d.ts +29 -1
- package/dist/apis/MembershipApi.js +97 -34
- package/dist/apis/MobileWalletApi.d.ts +5 -1
- package/dist/apis/MobileWalletApi.js +14 -5
- package/dist/apis/OrganizationsApi.d.ts +17 -1
- package/dist/apis/OrganizationsApi.js +55 -19
- package/dist/apis/RSVPApi.d.ts +29 -1
- package/dist/apis/RSVPApi.js +96 -33
- package/dist/apis/RoomRequestsApi.d.ts +21 -1
- package/dist/apis/RoomRequestsApi.js +71 -26
- package/dist/apis/StoreApi.d.ts +65 -4
- package/dist/apis/StoreApi.js +204 -54
- package/dist/apis/StripeApi.d.ts +13 -1
- package/dist/apis/StripeApi.js +43 -16
- package/dist/esm/apis/APIKeysApi.d.ts +13 -1
- package/dist/esm/apis/APIKeysApi.js +43 -16
- package/dist/esm/apis/EventsApi.d.ts +21 -1
- package/dist/esm/apis/EventsApi.js +69 -24
- package/dist/esm/apis/GenericApi.d.ts +25 -1
- package/dist/esm/apis/GenericApi.js +82 -28
- package/dist/esm/apis/IAMApi.d.ts +29 -1
- package/dist/esm/apis/IAMApi.js +99 -36
- package/dist/esm/apis/ICalendarIntegrationApi.d.ts +5 -1
- package/dist/esm/apis/ICalendarIntegrationApi.js +14 -5
- package/dist/esm/apis/LinkryApi.d.ts +29 -1
- package/dist/esm/apis/LinkryApi.js +95 -32
- package/dist/esm/apis/LoggingApi.d.ts +5 -1
- package/dist/esm/apis/LoggingApi.js +15 -6
- package/dist/esm/apis/MembershipApi.d.ts +29 -1
- package/dist/esm/apis/MembershipApi.js +97 -34
- package/dist/esm/apis/MobileWalletApi.d.ts +5 -1
- package/dist/esm/apis/MobileWalletApi.js +14 -5
- package/dist/esm/apis/OrganizationsApi.d.ts +17 -1
- package/dist/esm/apis/OrganizationsApi.js +55 -19
- package/dist/esm/apis/RSVPApi.d.ts +29 -1
- package/dist/esm/apis/RSVPApi.js +96 -33
- package/dist/esm/apis/RoomRequestsApi.d.ts +21 -1
- package/dist/esm/apis/RoomRequestsApi.js +71 -26
- package/dist/esm/apis/StoreApi.d.ts +65 -4
- package/dist/esm/apis/StoreApi.js +205 -55
- package/dist/esm/apis/StripeApi.d.ts +13 -1
- package/dist/esm/apis/StripeApi.js +43 -16
- package/dist/esm/models/AcmOrganization.d.ts +1 -1
- package/dist/esm/models/AcmOrganization.js +1 -1
- package/dist/esm/models/ApiV1ApiKeyOrgPostRequest.d.ts +2 -2
- package/dist/esm/models/ApiV1ApiKeyOrgPostRequest.js +1 -1
- package/dist/esm/models/ApiV1ApiKeyOrgPostRequestRestrictionsInner.d.ts +1 -1
- package/dist/esm/models/ApiV1ApiKeyOrgPostRequestRestrictionsInner.js +1 -1
- package/dist/esm/models/ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOf.d.ts +2 -2
- package/dist/esm/models/ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOf.js +1 -1
- package/dist/esm/models/ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOf1.d.ts +2 -2
- package/dist/esm/models/ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOf1.js +1 -1
- package/dist/esm/models/ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOf1Params.d.ts +1 -1
- package/dist/esm/models/ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOf1Params.js +1 -1
- package/dist/esm/models/ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOfParams.d.ts +2 -2
- package/dist/esm/models/ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOfParams.js +1 -1
- package/dist/esm/models/ApiV1EventsGet200ResponseInner.d.ts +2 -2
- package/dist/esm/models/ApiV1EventsGet200ResponseInner.js +1 -1
- package/dist/esm/models/ApiV1EventsIdGet200Response.d.ts +2 -2
- package/dist/esm/models/ApiV1EventsIdGet200Response.js +1 -1
- package/dist/esm/models/ApiV1EventsIdPatchRequest.d.ts +2 -2
- package/dist/esm/models/ApiV1EventsIdPatchRequest.js +1 -1
- package/dist/esm/models/ApiV1EventsPostRequest.d.ts +2 -2
- package/dist/esm/models/ApiV1EventsPostRequest.js +1 -1
- package/dist/esm/models/ApiV1IamGroupsGroupIdPatchRequest.d.ts +1 -1
- package/dist/esm/models/ApiV1IamGroupsGroupIdPatchRequest.js +1 -1
- package/dist/esm/models/ApiV1IamGroupsGroupIdRolesPostRequest.d.ts +1 -1
- package/dist/esm/models/ApiV1IamGroupsGroupIdRolesPostRequest.js +1 -1
- package/dist/esm/models/ApiV1IamGroupsGroupIdRolesPostRequestRoles.d.ts +1 -1
- package/dist/esm/models/ApiV1IamGroupsGroupIdRolesPostRequestRoles.js +1 -1
- package/dist/esm/models/ApiV1IamInviteUsersPostRequest.d.ts +1 -1
- package/dist/esm/models/ApiV1IamInviteUsersPostRequest.js +1 -1
- package/dist/esm/models/ApiV1IamProfilePatchRequest.d.ts +1 -1
- package/dist/esm/models/ApiV1IamProfilePatchRequest.js +1 -1
- package/dist/esm/models/ApiV1LinkryOrgsOrgIdRedirGet200ResponseInner.d.ts +1 -1
- package/dist/esm/models/ApiV1LinkryOrgsOrgIdRedirGet200ResponseInner.js +1 -1
- package/dist/esm/models/ApiV1LinkryOrgsOrgIdRedirPostRequest.d.ts +1 -1
- package/dist/esm/models/ApiV1LinkryOrgsOrgIdRedirPostRequest.js +1 -1
- package/dist/esm/models/ApiV1LinkryRedirPostRequest.d.ts +1 -1
- package/dist/esm/models/ApiV1LinkryRedirPostRequest.js +1 -1
- package/dist/esm/models/ApiV1MembershipExternalListListIdPatchRequest.d.ts +1 -1
- package/dist/esm/models/ApiV1MembershipExternalListListIdPatchRequest.js +1 -1
- package/dist/esm/models/ApiV1MembershipGet200Response.d.ts +1 -1
- package/dist/esm/models/ApiV1MembershipGet200Response.js +1 -1
- package/dist/esm/models/ApiV1OrganizationsGet200ResponseInner.d.ts +3 -3
- package/dist/esm/models/ApiV1OrganizationsGet200ResponseInner.js +1 -1
- package/dist/esm/models/ApiV1OrganizationsGet200ResponseInnerLeadsInner.d.ts +1 -1
- package/dist/esm/models/ApiV1OrganizationsGet200ResponseInnerLeadsInner.js +1 -1
- package/dist/esm/models/ApiV1OrganizationsGet200ResponseInnerLinksInner.d.ts +2 -2
- package/dist/esm/models/ApiV1OrganizationsGet200ResponseInnerLinksInner.js +1 -1
- package/dist/esm/models/ApiV1OrganizationsOrgIdGet200Response.d.ts +3 -3
- package/dist/esm/models/ApiV1OrganizationsOrgIdGet200Response.js +1 -1
- package/dist/esm/models/ApiV1OrganizationsOrgIdGet200ResponseLeadsInner.d.ts +1 -1
- package/dist/esm/models/ApiV1OrganizationsOrgIdGet200ResponseLeadsInner.js +1 -1
- package/dist/esm/models/ApiV1OrganizationsOrgIdGet200ResponseLinksInner.d.ts +2 -2
- package/dist/esm/models/ApiV1OrganizationsOrgIdGet200ResponseLinksInner.js +1 -1
- package/dist/esm/models/ApiV1OrganizationsOrgIdLeadsPatchRequest.d.ts +1 -1
- package/dist/esm/models/ApiV1OrganizationsOrgIdLeadsPatchRequest.js +1 -1
- package/dist/esm/models/ApiV1OrganizationsOrgIdLeadsPatchRequestAddInner.d.ts +1 -1
- package/dist/esm/models/ApiV1OrganizationsOrgIdLeadsPatchRequestAddInner.js +1 -1
- package/dist/esm/models/ApiV1OrganizationsOrgIdMetaPostRequest.d.ts +1 -1
- package/dist/esm/models/ApiV1OrganizationsOrgIdMetaPostRequest.js +1 -1
- package/dist/esm/models/ApiV1OrganizationsOrgIdMetaPostRequestLinksInner.d.ts +2 -2
- package/dist/esm/models/ApiV1OrganizationsOrgIdMetaPostRequestLinksInner.js +1 -1
- package/dist/esm/models/ApiV1ProtectedGet200Response.d.ts +2 -2
- package/dist/esm/models/ApiV1ProtectedGet200Response.js +1 -1
- package/dist/esm/models/ApiV1ProtectedGet200ResponseOrgRolesInner.d.ts +2 -2
- package/dist/esm/models/ApiV1ProtectedGet200ResponseOrgRolesInner.js +1 -1
- package/dist/esm/models/ApiV1RoomRequestsPostRequest.d.ts +4 -4
- package/dist/esm/models/ApiV1RoomRequestsPostRequest.js +1 -1
- package/dist/esm/models/ApiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGet200Response.d.ts +1 -1
- package/dist/esm/models/ApiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGet200Response.js +1 -1
- package/dist/esm/models/ApiV1RoomRequestsSemesterIdRequestIdStatusPost201Response.d.ts +1 -1
- package/dist/esm/models/ApiV1RoomRequestsSemesterIdRequestIdStatusPost201Response.js +1 -1
- package/dist/esm/models/ApiV1RoomRequestsSemesterIdRequestIdStatusPostRequest.d.ts +2 -2
- package/dist/esm/models/ApiV1RoomRequestsSemesterIdRequestIdStatusPostRequest.js +1 -1
- package/dist/esm/models/ApiV1RoomRequestsSemesterIdRequestIdStatusPostRequestAttachmentInfo.d.ts +2 -2
- package/dist/esm/models/ApiV1RoomRequestsSemesterIdRequestIdStatusPostRequestAttachmentInfo.js +1 -1
- package/dist/esm/models/ApiV1StoreAdminOrdersFetchUserOrdersPost200ResponseInner.d.ts +2 -2
- package/dist/esm/models/ApiV1StoreAdminOrdersFetchUserOrdersPost200ResponseInner.js +1 -1
- package/dist/esm/models/ApiV1StoreAdminOrdersFetchUserOrdersPost200ResponseInnerLineItemsInner.d.ts +2 -2
- package/dist/esm/models/ApiV1StoreAdminOrdersFetchUserOrdersPost200ResponseInnerLineItemsInner.js +1 -1
- package/dist/esm/models/ApiV1StoreAdminOrdersFetchUserOrdersPostRequest.d.ts +2 -2
- package/dist/esm/models/ApiV1StoreAdminOrdersFetchUserOrdersPostRequest.js +1 -1
- package/dist/esm/models/ApiV1StoreAdminOrdersOrderIdFulfillPostRequest.d.ts +1 -1
- package/dist/esm/models/ApiV1StoreAdminOrdersOrderIdFulfillPostRequest.js +1 -1
- package/dist/esm/models/ApiV1StoreAdminOrdersOrderIdRefundPostRequest.d.ts +7 -1
- package/dist/esm/models/ApiV1StoreAdminOrdersOrderIdRefundPostRequest.js +5 -1
- package/dist/esm/models/ApiV1StoreAdminOrdersProductIdGet200Response.d.ts +1 -1
- package/dist/esm/models/ApiV1StoreAdminOrdersProductIdGet200Response.js +1 -1
- package/dist/esm/models/ApiV1StoreAdminOrdersProductIdGet200ResponseItemsInner.d.ts +2 -2
- package/dist/esm/models/ApiV1StoreAdminOrdersProductIdGet200ResponseItemsInner.js +1 -1
- package/dist/esm/models/ApiV1StoreAdminProductsGet200Response.d.ts +1 -1
- package/dist/esm/models/ApiV1StoreAdminProductsGet200Response.js +1 -1
- package/dist/esm/models/ApiV1StoreAdminProductsGet200ResponseProductsInner.d.ts +2 -2
- package/dist/esm/models/ApiV1StoreAdminProductsGet200ResponseProductsInner.js +1 -1
- package/dist/esm/models/ApiV1StoreAdminProductsGet200ResponseProductsInnerVariantsInner.d.ts +1 -1
- package/dist/esm/models/ApiV1StoreAdminProductsGet200ResponseProductsInnerVariantsInner.js +1 -1
- package/dist/esm/models/ApiV1StoreAdminProductsPost201Response.d.ts +1 -1
- package/dist/esm/models/ApiV1StoreAdminProductsPost201Response.js +1 -1
- package/dist/esm/models/ApiV1StoreAdminProductsPostRequest.d.ts +2 -2
- package/dist/esm/models/ApiV1StoreAdminProductsPostRequest.js +1 -1
- package/dist/esm/models/ApiV1StoreAdminProductsPostRequestLimitConfiguration.d.ts +2 -2
- package/dist/esm/models/ApiV1StoreAdminProductsPostRequestLimitConfiguration.js +1 -1
- package/dist/esm/models/ApiV1StoreAdminProductsPostRequestRequestingImageUpload.d.ts +2 -2
- package/dist/esm/models/ApiV1StoreAdminProductsPostRequestRequestingImageUpload.js +1 -1
- package/dist/esm/models/ApiV1StoreAdminProductsPostRequestVariantsInner.d.ts +1 -1
- package/dist/esm/models/ApiV1StoreAdminProductsPostRequestVariantsInner.js +1 -1
- package/dist/esm/models/ApiV1StoreAdminProductsProductIdGet200Response.d.ts +114 -0
- package/dist/esm/models/ApiV1StoreAdminProductsProductIdGet200Response.js +86 -0
- package/dist/esm/models/ApiV1StoreAdminProductsProductIdGet200ResponseVariantsInner.d.ts +74 -0
- package/dist/esm/models/ApiV1StoreAdminProductsProductIdGet200ResponseVariantsInner.js +67 -0
- package/dist/esm/models/ApiV1StoreAdminProductsProductIdPatch200Response.d.ts +1 -1
- package/dist/esm/models/ApiV1StoreAdminProductsProductIdPatch200Response.js +1 -1
- package/dist/esm/models/ApiV1StoreAdminProductsProductIdPatchRequest.d.ts +1 -1
- package/dist/esm/models/ApiV1StoreAdminProductsProductIdPatchRequest.js +1 -1
- package/dist/esm/models/ApiV1StoreAdminProductsProductIdPatchRequestRequestingImageUpload.d.ts +2 -2
- package/dist/esm/models/ApiV1StoreAdminProductsProductIdPatchRequestRequestingImageUpload.js +1 -1
- package/dist/esm/models/ApiV1StoreCheckoutPost201Response.d.ts +1 -1
- package/dist/esm/models/ApiV1StoreCheckoutPost201Response.js +1 -1
- package/dist/esm/models/ApiV1StoreCheckoutPostRequest.d.ts +1 -1
- package/dist/esm/models/ApiV1StoreCheckoutPostRequest.js +1 -1
- package/dist/esm/models/ApiV1StoreCheckoutPostRequestItemsInner.d.ts +1 -1
- package/dist/esm/models/ApiV1StoreCheckoutPostRequestItemsInner.js +1 -1
- package/dist/esm/models/ApiV1StoreProductsGet200Response.d.ts +1 -1
- package/dist/esm/models/ApiV1StoreProductsGet200Response.js +1 -1
- package/dist/esm/models/ApiV1StoreProductsGet200ResponseProductsInner.d.ts +2 -2
- package/dist/esm/models/ApiV1StoreProductsGet200ResponseProductsInner.js +1 -1
- package/dist/esm/models/ApiV1StoreProductsGet200ResponseProductsInnerLimitConfiguration.d.ts +2 -2
- package/dist/esm/models/ApiV1StoreProductsGet200ResponseProductsInnerLimitConfiguration.js +1 -1
- package/dist/esm/models/ApiV1StoreProductsGet200ResponseProductsInnerVariantsInner.d.ts +1 -1
- package/dist/esm/models/ApiV1StoreProductsGet200ResponseProductsInnerVariantsInner.js +1 -1
- package/dist/esm/models/ApiV1StoreProductsProductIdGet200Response.d.ts +2 -2
- package/dist/esm/models/ApiV1StoreProductsProductIdGet200Response.js +1 -1
- package/dist/esm/models/ApiV1StoreProductsProductIdGet200ResponseLimitConfiguration.d.ts +2 -2
- package/dist/esm/models/ApiV1StoreProductsProductIdGet200ResponseLimitConfiguration.js +1 -1
- package/dist/esm/models/ApiV1StripePaymentLinksGet201ResponseInner.d.ts +1 -1
- package/dist/esm/models/ApiV1StripePaymentLinksGet201ResponseInner.js +1 -1
- package/dist/esm/models/ApiV1StripePaymentLinksPost201Response.d.ts +1 -1
- package/dist/esm/models/ApiV1StripePaymentLinksPost201Response.js +1 -1
- package/dist/esm/models/ApiV1StripePaymentLinksPostRequest.d.ts +1 -1
- package/dist/esm/models/ApiV1StripePaymentLinksPostRequest.js +1 -1
- package/dist/esm/models/ApiV1SyncIdentityIsRequiredGet200Response.d.ts +1 -1
- package/dist/esm/models/ApiV1SyncIdentityIsRequiredGet200Response.js +1 -1
- package/dist/esm/models/ApiV1UsersBatchResolveInfoPost200ResponseValue.d.ts +1 -1
- package/dist/esm/models/ApiV1UsersBatchResolveInfoPost200ResponseValue.js +1 -1
- package/dist/esm/models/ApiV1UsersBatchResolveInfoPostRequest.d.ts +1 -1
- package/dist/esm/models/ApiV1UsersBatchResolveInfoPostRequest.js +1 -1
- package/dist/esm/models/ApiV1UsersFindUserByUinPost200Response.d.ts +1 -1
- package/dist/esm/models/ApiV1UsersFindUserByUinPost200Response.js +1 -1
- package/dist/esm/models/ApiV1UsersFindUserByUinPostRequest.d.ts +1 -1
- package/dist/esm/models/ApiV1UsersFindUserByUinPostRequest.js +1 -1
- package/dist/esm/models/ApiV2MembershipNetIdGet200Response.d.ts +1 -1
- package/dist/esm/models/ApiV2MembershipNetIdGet200Response.js +1 -1
- package/dist/esm/models/ApiV2MembershipVerifyBatchOfMembersPost200Response.d.ts +1 -1
- package/dist/esm/models/ApiV2MembershipVerifyBatchOfMembersPost200Response.js +1 -1
- package/dist/esm/models/NonAcmOrgUniqueId.d.ts +1 -1
- package/dist/esm/models/NonAcmOrgUniqueId.js +1 -1
- package/dist/esm/models/NotAuthenticatedError.d.ts +4 -4
- package/dist/esm/models/NotAuthenticatedError.js +1 -1
- package/dist/esm/models/NotAuthorizedError.d.ts +4 -4
- package/dist/esm/models/NotAuthorizedError.js +1 -1
- package/dist/esm/models/NotFoundError.d.ts +4 -4
- package/dist/esm/models/NotFoundError.js +1 -1
- package/dist/esm/models/OrgUniqueId.d.ts +1 -1
- package/dist/esm/models/OrgUniqueId.js +1 -1
- package/dist/esm/models/RateLimitExceededError.d.ts +5 -5
- package/dist/esm/models/RateLimitExceededError.js +1 -1
- package/dist/esm/models/ResourceConflictError.d.ts +4 -4
- package/dist/esm/models/ResourceConflictError.js +1 -1
- package/dist/esm/models/RsvpConfig.d.ts +1 -1
- package/dist/esm/models/RsvpConfig.js +1 -1
- package/dist/esm/models/RsvpConfigOutput.d.ts +1 -1
- package/dist/esm/models/RsvpConfigOutput.js +1 -1
- package/dist/esm/models/RsvpConfigOutputRsvpQuestionsInner.d.ts +1 -1
- package/dist/esm/models/RsvpConfigOutputRsvpQuestionsInner.js +1 -1
- package/dist/esm/models/RsvpConfigOutputRsvpQuestionsInnerOneOf.d.ts +2 -2
- package/dist/esm/models/RsvpConfigOutputRsvpQuestionsInnerOneOf.js +1 -1
- package/dist/esm/models/RsvpConfigOutputRsvpQuestionsInnerOneOf1.d.ts +2 -2
- package/dist/esm/models/RsvpConfigOutputRsvpQuestionsInnerOneOf1.js +1 -1
- package/dist/esm/models/RsvpConfigOutputRsvpQuestionsInnerOneOf2.d.ts +2 -2
- package/dist/esm/models/RsvpConfigOutputRsvpQuestionsInnerOneOf2.js +1 -1
- package/dist/esm/models/RsvpConfigRsvpQuestionsInner.d.ts +1 -1
- package/dist/esm/models/RsvpConfigRsvpQuestionsInner.js +1 -1
- package/dist/esm/models/RsvpConfigRsvpQuestionsInnerOneOf.d.ts +2 -2
- package/dist/esm/models/RsvpConfigRsvpQuestionsInnerOneOf.js +1 -1
- package/dist/esm/models/RsvpConfigRsvpQuestionsInnerOneOf1.d.ts +2 -2
- package/dist/esm/models/RsvpConfigRsvpQuestionsInnerOneOf1.js +1 -1
- package/dist/esm/models/RsvpConfigRsvpQuestionsInnerOneOf2.d.ts +2 -2
- package/dist/esm/models/RsvpConfigRsvpQuestionsInnerOneOf2.js +1 -1
- package/dist/esm/models/RsvpItem.d.ts +1 -1
- package/dist/esm/models/RsvpItem.js +1 -1
- package/dist/esm/models/ValidationError.d.ts +2 -2
- package/dist/esm/models/ValidationError.js +1 -1
- package/dist/esm/models/index.d.ts +2 -0
- package/dist/esm/models/index.js +2 -0
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +1 -1
- package/dist/models/AcmOrganization.d.ts +1 -1
- package/dist/models/AcmOrganization.js +1 -1
- package/dist/models/ApiV1ApiKeyOrgPostRequest.d.ts +2 -2
- package/dist/models/ApiV1ApiKeyOrgPostRequest.js +1 -1
- package/dist/models/ApiV1ApiKeyOrgPostRequestRestrictionsInner.d.ts +1 -1
- package/dist/models/ApiV1ApiKeyOrgPostRequestRestrictionsInner.js +1 -1
- package/dist/models/ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOf.d.ts +2 -2
- package/dist/models/ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOf.js +1 -1
- package/dist/models/ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOf1.d.ts +2 -2
- package/dist/models/ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOf1.js +1 -1
- package/dist/models/ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOf1Params.d.ts +1 -1
- package/dist/models/ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOf1Params.js +1 -1
- package/dist/models/ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOfParams.d.ts +2 -2
- package/dist/models/ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOfParams.js +1 -1
- package/dist/models/ApiV1EventsGet200ResponseInner.d.ts +2 -2
- package/dist/models/ApiV1EventsGet200ResponseInner.js +1 -1
- package/dist/models/ApiV1EventsIdGet200Response.d.ts +2 -2
- package/dist/models/ApiV1EventsIdGet200Response.js +1 -1
- package/dist/models/ApiV1EventsIdPatchRequest.d.ts +2 -2
- package/dist/models/ApiV1EventsIdPatchRequest.js +1 -1
- package/dist/models/ApiV1EventsPostRequest.d.ts +2 -2
- package/dist/models/ApiV1EventsPostRequest.js +1 -1
- package/dist/models/ApiV1IamGroupsGroupIdPatchRequest.d.ts +1 -1
- package/dist/models/ApiV1IamGroupsGroupIdPatchRequest.js +1 -1
- package/dist/models/ApiV1IamGroupsGroupIdRolesPostRequest.d.ts +1 -1
- package/dist/models/ApiV1IamGroupsGroupIdRolesPostRequest.js +1 -1
- package/dist/models/ApiV1IamGroupsGroupIdRolesPostRequestRoles.d.ts +1 -1
- package/dist/models/ApiV1IamGroupsGroupIdRolesPostRequestRoles.js +1 -1
- package/dist/models/ApiV1IamInviteUsersPostRequest.d.ts +1 -1
- package/dist/models/ApiV1IamInviteUsersPostRequest.js +1 -1
- package/dist/models/ApiV1IamProfilePatchRequest.d.ts +1 -1
- package/dist/models/ApiV1IamProfilePatchRequest.js +1 -1
- package/dist/models/ApiV1LinkryOrgsOrgIdRedirGet200ResponseInner.d.ts +1 -1
- package/dist/models/ApiV1LinkryOrgsOrgIdRedirGet200ResponseInner.js +1 -1
- package/dist/models/ApiV1LinkryOrgsOrgIdRedirPostRequest.d.ts +1 -1
- package/dist/models/ApiV1LinkryOrgsOrgIdRedirPostRequest.js +1 -1
- package/dist/models/ApiV1LinkryRedirPostRequest.d.ts +1 -1
- package/dist/models/ApiV1LinkryRedirPostRequest.js +1 -1
- package/dist/models/ApiV1MembershipExternalListListIdPatchRequest.d.ts +1 -1
- package/dist/models/ApiV1MembershipExternalListListIdPatchRequest.js +1 -1
- package/dist/models/ApiV1MembershipGet200Response.d.ts +1 -1
- package/dist/models/ApiV1MembershipGet200Response.js +1 -1
- package/dist/models/ApiV1OrganizationsGet200ResponseInner.d.ts +3 -3
- package/dist/models/ApiV1OrganizationsGet200ResponseInner.js +1 -1
- package/dist/models/ApiV1OrganizationsGet200ResponseInnerLeadsInner.d.ts +1 -1
- package/dist/models/ApiV1OrganizationsGet200ResponseInnerLeadsInner.js +1 -1
- package/dist/models/ApiV1OrganizationsGet200ResponseInnerLinksInner.d.ts +2 -2
- package/dist/models/ApiV1OrganizationsGet200ResponseInnerLinksInner.js +1 -1
- package/dist/models/ApiV1OrganizationsOrgIdGet200Response.d.ts +3 -3
- package/dist/models/ApiV1OrganizationsOrgIdGet200Response.js +1 -1
- package/dist/models/ApiV1OrganizationsOrgIdGet200ResponseLeadsInner.d.ts +1 -1
- package/dist/models/ApiV1OrganizationsOrgIdGet200ResponseLeadsInner.js +1 -1
- package/dist/models/ApiV1OrganizationsOrgIdGet200ResponseLinksInner.d.ts +2 -2
- package/dist/models/ApiV1OrganizationsOrgIdGet200ResponseLinksInner.js +1 -1
- package/dist/models/ApiV1OrganizationsOrgIdLeadsPatchRequest.d.ts +1 -1
- package/dist/models/ApiV1OrganizationsOrgIdLeadsPatchRequest.js +1 -1
- package/dist/models/ApiV1OrganizationsOrgIdLeadsPatchRequestAddInner.d.ts +1 -1
- package/dist/models/ApiV1OrganizationsOrgIdLeadsPatchRequestAddInner.js +1 -1
- package/dist/models/ApiV1OrganizationsOrgIdMetaPostRequest.d.ts +1 -1
- package/dist/models/ApiV1OrganizationsOrgIdMetaPostRequest.js +1 -1
- package/dist/models/ApiV1OrganizationsOrgIdMetaPostRequestLinksInner.d.ts +2 -2
- package/dist/models/ApiV1OrganizationsOrgIdMetaPostRequestLinksInner.js +1 -1
- package/dist/models/ApiV1ProtectedGet200Response.d.ts +2 -2
- package/dist/models/ApiV1ProtectedGet200Response.js +1 -1
- package/dist/models/ApiV1ProtectedGet200ResponseOrgRolesInner.d.ts +2 -2
- package/dist/models/ApiV1ProtectedGet200ResponseOrgRolesInner.js +1 -1
- package/dist/models/ApiV1RoomRequestsPostRequest.d.ts +4 -4
- package/dist/models/ApiV1RoomRequestsPostRequest.js +1 -1
- package/dist/models/ApiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGet200Response.d.ts +1 -1
- package/dist/models/ApiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGet200Response.js +1 -1
- package/dist/models/ApiV1RoomRequestsSemesterIdRequestIdStatusPost201Response.d.ts +1 -1
- package/dist/models/ApiV1RoomRequestsSemesterIdRequestIdStatusPost201Response.js +1 -1
- package/dist/models/ApiV1RoomRequestsSemesterIdRequestIdStatusPostRequest.d.ts +2 -2
- package/dist/models/ApiV1RoomRequestsSemesterIdRequestIdStatusPostRequest.js +1 -1
- package/dist/models/ApiV1RoomRequestsSemesterIdRequestIdStatusPostRequestAttachmentInfo.d.ts +2 -2
- package/dist/models/ApiV1RoomRequestsSemesterIdRequestIdStatusPostRequestAttachmentInfo.js +1 -1
- package/dist/models/ApiV1StoreAdminOrdersFetchUserOrdersPost200ResponseInner.d.ts +2 -2
- package/dist/models/ApiV1StoreAdminOrdersFetchUserOrdersPost200ResponseInner.js +1 -1
- package/dist/models/ApiV1StoreAdminOrdersFetchUserOrdersPost200ResponseInnerLineItemsInner.d.ts +2 -2
- package/dist/models/ApiV1StoreAdminOrdersFetchUserOrdersPost200ResponseInnerLineItemsInner.js +1 -1
- package/dist/models/ApiV1StoreAdminOrdersFetchUserOrdersPostRequest.d.ts +2 -2
- package/dist/models/ApiV1StoreAdminOrdersFetchUserOrdersPostRequest.js +1 -1
- package/dist/models/ApiV1StoreAdminOrdersOrderIdFulfillPostRequest.d.ts +1 -1
- package/dist/models/ApiV1StoreAdminOrdersOrderIdFulfillPostRequest.js +1 -1
- package/dist/models/ApiV1StoreAdminOrdersOrderIdRefundPostRequest.d.ts +7 -1
- package/dist/models/ApiV1StoreAdminOrdersOrderIdRefundPostRequest.js +5 -1
- package/dist/models/ApiV1StoreAdminOrdersProductIdGet200Response.d.ts +1 -1
- package/dist/models/ApiV1StoreAdminOrdersProductIdGet200Response.js +1 -1
- package/dist/models/ApiV1StoreAdminOrdersProductIdGet200ResponseItemsInner.d.ts +2 -2
- package/dist/models/ApiV1StoreAdminOrdersProductIdGet200ResponseItemsInner.js +1 -1
- package/dist/models/ApiV1StoreAdminProductsGet200Response.d.ts +1 -1
- package/dist/models/ApiV1StoreAdminProductsGet200Response.js +1 -1
- package/dist/models/ApiV1StoreAdminProductsGet200ResponseProductsInner.d.ts +2 -2
- package/dist/models/ApiV1StoreAdminProductsGet200ResponseProductsInner.js +1 -1
- package/dist/models/ApiV1StoreAdminProductsGet200ResponseProductsInnerVariantsInner.d.ts +1 -1
- package/dist/models/ApiV1StoreAdminProductsGet200ResponseProductsInnerVariantsInner.js +1 -1
- package/dist/models/ApiV1StoreAdminProductsPost201Response.d.ts +1 -1
- package/dist/models/ApiV1StoreAdminProductsPost201Response.js +1 -1
- package/dist/models/ApiV1StoreAdminProductsPostRequest.d.ts +2 -2
- package/dist/models/ApiV1StoreAdminProductsPostRequest.js +1 -1
- package/dist/models/ApiV1StoreAdminProductsPostRequestLimitConfiguration.d.ts +2 -2
- package/dist/models/ApiV1StoreAdminProductsPostRequestLimitConfiguration.js +1 -1
- package/dist/models/ApiV1StoreAdminProductsPostRequestRequestingImageUpload.d.ts +2 -2
- package/dist/models/ApiV1StoreAdminProductsPostRequestRequestingImageUpload.js +1 -1
- package/dist/models/ApiV1StoreAdminProductsPostRequestVariantsInner.d.ts +1 -1
- package/dist/models/ApiV1StoreAdminProductsPostRequestVariantsInner.js +1 -1
- package/dist/models/ApiV1StoreAdminProductsProductIdGet200Response.d.ts +114 -0
- package/dist/models/ApiV1StoreAdminProductsProductIdGet200Response.js +94 -0
- package/dist/models/ApiV1StoreAdminProductsProductIdGet200ResponseVariantsInner.d.ts +74 -0
- package/dist/models/ApiV1StoreAdminProductsProductIdGet200ResponseVariantsInner.js +74 -0
- package/dist/models/ApiV1StoreAdminProductsProductIdPatch200Response.d.ts +1 -1
- package/dist/models/ApiV1StoreAdminProductsProductIdPatch200Response.js +1 -1
- package/dist/models/ApiV1StoreAdminProductsProductIdPatchRequest.d.ts +1 -1
- package/dist/models/ApiV1StoreAdminProductsProductIdPatchRequest.js +1 -1
- package/dist/models/ApiV1StoreAdminProductsProductIdPatchRequestRequestingImageUpload.d.ts +2 -2
- package/dist/models/ApiV1StoreAdminProductsProductIdPatchRequestRequestingImageUpload.js +1 -1
- package/dist/models/ApiV1StoreCheckoutPost201Response.d.ts +1 -1
- package/dist/models/ApiV1StoreCheckoutPost201Response.js +1 -1
- package/dist/models/ApiV1StoreCheckoutPostRequest.d.ts +1 -1
- package/dist/models/ApiV1StoreCheckoutPostRequest.js +1 -1
- package/dist/models/ApiV1StoreCheckoutPostRequestItemsInner.d.ts +1 -1
- package/dist/models/ApiV1StoreCheckoutPostRequestItemsInner.js +1 -1
- package/dist/models/ApiV1StoreProductsGet200Response.d.ts +1 -1
- package/dist/models/ApiV1StoreProductsGet200Response.js +1 -1
- package/dist/models/ApiV1StoreProductsGet200ResponseProductsInner.d.ts +2 -2
- package/dist/models/ApiV1StoreProductsGet200ResponseProductsInner.js +1 -1
- package/dist/models/ApiV1StoreProductsGet200ResponseProductsInnerLimitConfiguration.d.ts +2 -2
- package/dist/models/ApiV1StoreProductsGet200ResponseProductsInnerLimitConfiguration.js +1 -1
- package/dist/models/ApiV1StoreProductsGet200ResponseProductsInnerVariantsInner.d.ts +1 -1
- package/dist/models/ApiV1StoreProductsGet200ResponseProductsInnerVariantsInner.js +1 -1
- package/dist/models/ApiV1StoreProductsProductIdGet200Response.d.ts +2 -2
- package/dist/models/ApiV1StoreProductsProductIdGet200Response.js +1 -1
- package/dist/models/ApiV1StoreProductsProductIdGet200ResponseLimitConfiguration.d.ts +2 -2
- package/dist/models/ApiV1StoreProductsProductIdGet200ResponseLimitConfiguration.js +1 -1
- package/dist/models/ApiV1StripePaymentLinksGet201ResponseInner.d.ts +1 -1
- package/dist/models/ApiV1StripePaymentLinksGet201ResponseInner.js +1 -1
- package/dist/models/ApiV1StripePaymentLinksPost201Response.d.ts +1 -1
- package/dist/models/ApiV1StripePaymentLinksPost201Response.js +1 -1
- package/dist/models/ApiV1StripePaymentLinksPostRequest.d.ts +1 -1
- package/dist/models/ApiV1StripePaymentLinksPostRequest.js +1 -1
- package/dist/models/ApiV1SyncIdentityIsRequiredGet200Response.d.ts +1 -1
- package/dist/models/ApiV1SyncIdentityIsRequiredGet200Response.js +1 -1
- package/dist/models/ApiV1UsersBatchResolveInfoPost200ResponseValue.d.ts +1 -1
- package/dist/models/ApiV1UsersBatchResolveInfoPost200ResponseValue.js +1 -1
- package/dist/models/ApiV1UsersBatchResolveInfoPostRequest.d.ts +1 -1
- package/dist/models/ApiV1UsersBatchResolveInfoPostRequest.js +1 -1
- package/dist/models/ApiV1UsersFindUserByUinPost200Response.d.ts +1 -1
- package/dist/models/ApiV1UsersFindUserByUinPost200Response.js +1 -1
- package/dist/models/ApiV1UsersFindUserByUinPostRequest.d.ts +1 -1
- package/dist/models/ApiV1UsersFindUserByUinPostRequest.js +1 -1
- package/dist/models/ApiV2MembershipNetIdGet200Response.d.ts +1 -1
- package/dist/models/ApiV2MembershipNetIdGet200Response.js +1 -1
- package/dist/models/ApiV2MembershipVerifyBatchOfMembersPost200Response.d.ts +1 -1
- package/dist/models/ApiV2MembershipVerifyBatchOfMembersPost200Response.js +1 -1
- package/dist/models/NonAcmOrgUniqueId.d.ts +1 -1
- package/dist/models/NonAcmOrgUniqueId.js +1 -1
- package/dist/models/NotAuthenticatedError.d.ts +4 -4
- package/dist/models/NotAuthenticatedError.js +1 -1
- package/dist/models/NotAuthorizedError.d.ts +4 -4
- package/dist/models/NotAuthorizedError.js +1 -1
- package/dist/models/NotFoundError.d.ts +4 -4
- package/dist/models/NotFoundError.js +1 -1
- package/dist/models/OrgUniqueId.d.ts +1 -1
- package/dist/models/OrgUniqueId.js +1 -1
- package/dist/models/RateLimitExceededError.d.ts +5 -5
- package/dist/models/RateLimitExceededError.js +1 -1
- package/dist/models/ResourceConflictError.d.ts +4 -4
- package/dist/models/ResourceConflictError.js +1 -1
- package/dist/models/RsvpConfig.d.ts +1 -1
- package/dist/models/RsvpConfig.js +1 -1
- package/dist/models/RsvpConfigOutput.d.ts +1 -1
- package/dist/models/RsvpConfigOutput.js +1 -1
- package/dist/models/RsvpConfigOutputRsvpQuestionsInner.d.ts +1 -1
- package/dist/models/RsvpConfigOutputRsvpQuestionsInner.js +1 -1
- package/dist/models/RsvpConfigOutputRsvpQuestionsInnerOneOf.d.ts +2 -2
- package/dist/models/RsvpConfigOutputRsvpQuestionsInnerOneOf.js +1 -1
- package/dist/models/RsvpConfigOutputRsvpQuestionsInnerOneOf1.d.ts +2 -2
- package/dist/models/RsvpConfigOutputRsvpQuestionsInnerOneOf1.js +1 -1
- package/dist/models/RsvpConfigOutputRsvpQuestionsInnerOneOf2.d.ts +2 -2
- package/dist/models/RsvpConfigOutputRsvpQuestionsInnerOneOf2.js +1 -1
- package/dist/models/RsvpConfigRsvpQuestionsInner.d.ts +1 -1
- package/dist/models/RsvpConfigRsvpQuestionsInner.js +1 -1
- package/dist/models/RsvpConfigRsvpQuestionsInnerOneOf.d.ts +2 -2
- package/dist/models/RsvpConfigRsvpQuestionsInnerOneOf.js +1 -1
- package/dist/models/RsvpConfigRsvpQuestionsInnerOneOf1.d.ts +2 -2
- package/dist/models/RsvpConfigRsvpQuestionsInnerOneOf1.js +1 -1
- package/dist/models/RsvpConfigRsvpQuestionsInnerOneOf2.d.ts +2 -2
- package/dist/models/RsvpConfigRsvpQuestionsInnerOneOf2.js +1 -1
- package/dist/models/RsvpItem.d.ts +1 -1
- package/dist/models/RsvpItem.js +1 -1
- package/dist/models/ValidationError.d.ts +2 -2
- package/dist/models/ValidationError.js +1 -1
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
package/dist/apis/RSVPApi.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* ACM @ UIUC Core API
|
|
6
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
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 4.
|
|
8
|
+
* The version of the OpenAPI document: 4.6.1
|
|
9
9
|
* Contact: infra@acm.illinois.edu
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -30,9 +30,9 @@ const index_js_1 = require("../models/index.js");
|
|
|
30
30
|
*/
|
|
31
31
|
class RSVPApi extends runtime.BaseAPI {
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Creates request options for apiV1RsvpEventEventIdAttendeeMeDelete without sending the request
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
apiV1RsvpEventEventIdAttendeeMeDeleteRequestOpts(requestParameters) {
|
|
36
36
|
return __awaiter(this, void 0, void 0, function* () {
|
|
37
37
|
if (requestParameters['eventId'] == null) {
|
|
38
38
|
throw new runtime.RequiredError('eventId', 'Required parameter "eventId" was null or undefined when calling apiV1RsvpEventEventIdAttendeeMeDelete().');
|
|
@@ -53,12 +53,21 @@ class RSVPApi extends runtime.BaseAPI {
|
|
|
53
53
|
}
|
|
54
54
|
let urlPath = `/api/v1/rsvp/event/{eventId}/attendee/me`;
|
|
55
55
|
urlPath = urlPath.replace(`{${"eventId"}}`, encodeURIComponent(String(requestParameters['eventId'])));
|
|
56
|
-
|
|
56
|
+
return {
|
|
57
57
|
path: urlPath,
|
|
58
58
|
method: 'DELETE',
|
|
59
59
|
headers: headerParameters,
|
|
60
60
|
query: queryParameters,
|
|
61
|
-
}
|
|
61
|
+
};
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Withdraw your RSVP for an event.
|
|
66
|
+
*/
|
|
67
|
+
apiV1RsvpEventEventIdAttendeeMeDeleteRaw(requestParameters, initOverrides) {
|
|
68
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
69
|
+
const requestOptions = yield this.apiV1RsvpEventEventIdAttendeeMeDeleteRequestOpts(requestParameters);
|
|
70
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
62
71
|
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
63
72
|
return new runtime.JSONApiResponse(response);
|
|
64
73
|
}
|
|
@@ -77,10 +86,9 @@ class RSVPApi extends runtime.BaseAPI {
|
|
|
77
86
|
});
|
|
78
87
|
}
|
|
79
88
|
/**
|
|
80
|
-
*
|
|
81
|
-
* Delete an RSVP for an event.
|
|
89
|
+
* Creates request options for apiV1RsvpEventEventIdAttendeeUserIdDelete without sending the request
|
|
82
90
|
*/
|
|
83
|
-
|
|
91
|
+
apiV1RsvpEventEventIdAttendeeUserIdDeleteRequestOpts(requestParameters) {
|
|
84
92
|
return __awaiter(this, void 0, void 0, function* () {
|
|
85
93
|
if (requestParameters['eventId'] == null) {
|
|
86
94
|
throw new runtime.RequiredError('eventId', 'Required parameter "eventId" was null or undefined when calling apiV1RsvpEventEventIdAttendeeUserIdDelete().');
|
|
@@ -103,12 +111,22 @@ class RSVPApi extends runtime.BaseAPI {
|
|
|
103
111
|
let urlPath = `/api/v1/rsvp/event/{eventId}/attendee/{userId}`;
|
|
104
112
|
urlPath = urlPath.replace(`{${"eventId"}}`, encodeURIComponent(String(requestParameters['eventId'])));
|
|
105
113
|
urlPath = urlPath.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId'])));
|
|
106
|
-
|
|
114
|
+
return {
|
|
107
115
|
path: urlPath,
|
|
108
116
|
method: 'DELETE',
|
|
109
117
|
headers: headerParameters,
|
|
110
118
|
query: queryParameters,
|
|
111
|
-
}
|
|
119
|
+
};
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* #### Authorization <hr /> Requires any of the following roles: * RSVPs Manager (<code>manage:rsvps</code>)
|
|
124
|
+
* Delete an RSVP for an event.
|
|
125
|
+
*/
|
|
126
|
+
apiV1RsvpEventEventIdAttendeeUserIdDeleteRaw(requestParameters, initOverrides) {
|
|
127
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
128
|
+
const requestOptions = yield this.apiV1RsvpEventEventIdAttendeeUserIdDeleteRequestOpts(requestParameters);
|
|
129
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
112
130
|
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
113
131
|
return new runtime.JSONApiResponse(response);
|
|
114
132
|
}
|
|
@@ -128,10 +146,9 @@ class RSVPApi extends runtime.BaseAPI {
|
|
|
128
146
|
});
|
|
129
147
|
}
|
|
130
148
|
/**
|
|
131
|
-
*
|
|
132
|
-
* Get RSVP configuration for an event.
|
|
149
|
+
* Creates request options for apiV1RsvpEventEventIdConfigGet without sending the request
|
|
133
150
|
*/
|
|
134
|
-
|
|
151
|
+
apiV1RsvpEventEventIdConfigGetRequestOpts(requestParameters) {
|
|
135
152
|
return __awaiter(this, void 0, void 0, function* () {
|
|
136
153
|
if (requestParameters['eventId'] == null) {
|
|
137
154
|
throw new runtime.RequiredError('eventId', 'Required parameter "eventId" was null or undefined when calling apiV1RsvpEventEventIdConfigGet().');
|
|
@@ -150,12 +167,22 @@ class RSVPApi extends runtime.BaseAPI {
|
|
|
150
167
|
}
|
|
151
168
|
let urlPath = `/api/v1/rsvp/event/{eventId}/config`;
|
|
152
169
|
urlPath = urlPath.replace(`{${"eventId"}}`, encodeURIComponent(String(requestParameters['eventId'])));
|
|
153
|
-
|
|
170
|
+
return {
|
|
154
171
|
path: urlPath,
|
|
155
172
|
method: 'GET',
|
|
156
173
|
headers: headerParameters,
|
|
157
174
|
query: queryParameters,
|
|
158
|
-
}
|
|
175
|
+
};
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* #### Authorization <hr /> Requires any of the following roles: * RSVPs Manager (<code>manage:rsvps</code>)
|
|
180
|
+
* Get RSVP configuration for an event.
|
|
181
|
+
*/
|
|
182
|
+
apiV1RsvpEventEventIdConfigGetRaw(requestParameters, initOverrides) {
|
|
183
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
184
|
+
const requestOptions = yield this.apiV1RsvpEventEventIdConfigGetRequestOpts(requestParameters);
|
|
185
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
159
186
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_js_1.RsvpConfigOutputFromJSON)(jsonValue));
|
|
160
187
|
});
|
|
161
188
|
}
|
|
@@ -170,10 +197,9 @@ class RSVPApi extends runtime.BaseAPI {
|
|
|
170
197
|
});
|
|
171
198
|
}
|
|
172
199
|
/**
|
|
173
|
-
*
|
|
174
|
-
* Configure RSVP settings for an event.
|
|
200
|
+
* Creates request options for apiV1RsvpEventEventIdConfigPost without sending the request
|
|
175
201
|
*/
|
|
176
|
-
|
|
202
|
+
apiV1RsvpEventEventIdConfigPostRequestOpts(requestParameters) {
|
|
177
203
|
return __awaiter(this, void 0, void 0, function* () {
|
|
178
204
|
if (requestParameters['eventId'] == null) {
|
|
179
205
|
throw new runtime.RequiredError('eventId', 'Required parameter "eventId" was null or undefined when calling apiV1RsvpEventEventIdConfigPost().');
|
|
@@ -196,13 +222,23 @@ class RSVPApi extends runtime.BaseAPI {
|
|
|
196
222
|
}
|
|
197
223
|
let urlPath = `/api/v1/rsvp/event/{eventId}/config`;
|
|
198
224
|
urlPath = urlPath.replace(`{${"eventId"}}`, encodeURIComponent(String(requestParameters['eventId'])));
|
|
199
|
-
|
|
225
|
+
return {
|
|
200
226
|
path: urlPath,
|
|
201
227
|
method: 'POST',
|
|
202
228
|
headers: headerParameters,
|
|
203
229
|
query: queryParameters,
|
|
204
230
|
body: (0, index_js_1.RsvpConfigToJSON)(requestParameters['rsvpConfig']),
|
|
205
|
-
}
|
|
231
|
+
};
|
|
232
|
+
});
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* #### Authorization <hr /> Requires any of the following roles: * RSVPs Manager (<code>manage:rsvps</code>)
|
|
236
|
+
* Configure RSVP settings for an event.
|
|
237
|
+
*/
|
|
238
|
+
apiV1RsvpEventEventIdConfigPostRaw(requestParameters, initOverrides) {
|
|
239
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
240
|
+
const requestOptions = yield this.apiV1RsvpEventEventIdConfigPostRequestOpts(requestParameters);
|
|
241
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
206
242
|
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
207
243
|
return new runtime.JSONApiResponse(response);
|
|
208
244
|
}
|
|
@@ -222,10 +258,9 @@ class RSVPApi extends runtime.BaseAPI {
|
|
|
222
258
|
});
|
|
223
259
|
}
|
|
224
260
|
/**
|
|
225
|
-
*
|
|
226
|
-
* Get all RSVPs for an event.
|
|
261
|
+
* Creates request options for apiV1RsvpEventEventIdGet without sending the request
|
|
227
262
|
*/
|
|
228
|
-
|
|
263
|
+
apiV1RsvpEventEventIdGetRequestOpts(requestParameters) {
|
|
229
264
|
return __awaiter(this, void 0, void 0, function* () {
|
|
230
265
|
if (requestParameters['eventId'] == null) {
|
|
231
266
|
throw new runtime.RequiredError('eventId', 'Required parameter "eventId" was null or undefined when calling apiV1RsvpEventEventIdGet().');
|
|
@@ -244,12 +279,22 @@ class RSVPApi extends runtime.BaseAPI {
|
|
|
244
279
|
}
|
|
245
280
|
let urlPath = `/api/v1/rsvp/event/{eventId}`;
|
|
246
281
|
urlPath = urlPath.replace(`{${"eventId"}}`, encodeURIComponent(String(requestParameters['eventId'])));
|
|
247
|
-
|
|
282
|
+
return {
|
|
248
283
|
path: urlPath,
|
|
249
284
|
method: 'GET',
|
|
250
285
|
headers: headerParameters,
|
|
251
286
|
query: queryParameters,
|
|
252
|
-
}
|
|
287
|
+
};
|
|
288
|
+
});
|
|
289
|
+
}
|
|
290
|
+
/**
|
|
291
|
+
* #### Authorization <hr /> Requires any of the following roles: * RSVPs Viewer (<code>view:rsvps</code>)
|
|
292
|
+
* Get all RSVPs for an event.
|
|
293
|
+
*/
|
|
294
|
+
apiV1RsvpEventEventIdGetRaw(requestParameters, initOverrides) {
|
|
295
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
296
|
+
const requestOptions = yield this.apiV1RsvpEventEventIdGetRequestOpts(requestParameters);
|
|
297
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
253
298
|
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_js_1.RsvpItemFromJSON));
|
|
254
299
|
});
|
|
255
300
|
}
|
|
@@ -264,9 +309,9 @@ class RSVPApi extends runtime.BaseAPI {
|
|
|
264
309
|
});
|
|
265
310
|
}
|
|
266
311
|
/**
|
|
267
|
-
*
|
|
312
|
+
* Creates request options for apiV1RsvpEventEventIdPost without sending the request
|
|
268
313
|
*/
|
|
269
|
-
|
|
314
|
+
apiV1RsvpEventEventIdPostRequestOpts(requestParameters) {
|
|
270
315
|
return __awaiter(this, void 0, void 0, function* () {
|
|
271
316
|
if (requestParameters['eventId'] == null) {
|
|
272
317
|
throw new runtime.RequiredError('eventId', 'Required parameter "eventId" was null or undefined when calling apiV1RsvpEventEventIdPost().');
|
|
@@ -287,12 +332,21 @@ class RSVPApi extends runtime.BaseAPI {
|
|
|
287
332
|
}
|
|
288
333
|
let urlPath = `/api/v1/rsvp/event/{eventId}`;
|
|
289
334
|
urlPath = urlPath.replace(`{${"eventId"}}`, encodeURIComponent(String(requestParameters['eventId'])));
|
|
290
|
-
|
|
335
|
+
return {
|
|
291
336
|
path: urlPath,
|
|
292
337
|
method: 'POST',
|
|
293
338
|
headers: headerParameters,
|
|
294
339
|
query: queryParameters,
|
|
295
|
-
}
|
|
340
|
+
};
|
|
341
|
+
});
|
|
342
|
+
}
|
|
343
|
+
/**
|
|
344
|
+
* Submit an RSVP for an event.
|
|
345
|
+
*/
|
|
346
|
+
apiV1RsvpEventEventIdPostRaw(requestParameters, initOverrides) {
|
|
347
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
348
|
+
const requestOptions = yield this.apiV1RsvpEventEventIdPostRequestOpts(requestParameters);
|
|
349
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
296
350
|
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
297
351
|
return new runtime.JSONApiResponse(response);
|
|
298
352
|
}
|
|
@@ -311,9 +365,9 @@ class RSVPApi extends runtime.BaseAPI {
|
|
|
311
365
|
});
|
|
312
366
|
}
|
|
313
367
|
/**
|
|
314
|
-
*
|
|
368
|
+
* Creates request options for apiV1RsvpMeGet without sending the request
|
|
315
369
|
*/
|
|
316
|
-
|
|
370
|
+
apiV1RsvpMeGetRequestOpts(requestParameters) {
|
|
317
371
|
return __awaiter(this, void 0, void 0, function* () {
|
|
318
372
|
if (requestParameters['xUiucToken'] == null) {
|
|
319
373
|
throw new runtime.RequiredError('xUiucToken', 'Required parameter "xUiucToken" was null or undefined when calling apiV1RsvpMeGet().');
|
|
@@ -324,12 +378,21 @@ class RSVPApi extends runtime.BaseAPI {
|
|
|
324
378
|
headerParameters['x-uiuc-token'] = String(requestParameters['xUiucToken']);
|
|
325
379
|
}
|
|
326
380
|
let urlPath = `/api/v1/rsvp/me`;
|
|
327
|
-
|
|
381
|
+
return {
|
|
328
382
|
path: urlPath,
|
|
329
383
|
method: 'GET',
|
|
330
384
|
headers: headerParameters,
|
|
331
385
|
query: queryParameters,
|
|
332
|
-
}
|
|
386
|
+
};
|
|
387
|
+
});
|
|
388
|
+
}
|
|
389
|
+
/**
|
|
390
|
+
* Get your RSVPs across all events.
|
|
391
|
+
*/
|
|
392
|
+
apiV1RsvpMeGetRaw(requestParameters, initOverrides) {
|
|
393
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
394
|
+
const requestOptions = yield this.apiV1RsvpMeGetRequestOpts(requestParameters);
|
|
395
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
333
396
|
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_js_1.RsvpItemFromJSON));
|
|
334
397
|
});
|
|
335
398
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* ACM @ UIUC Core API
|
|
3
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
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 4.
|
|
5
|
+
* The version of the OpenAPI document: 4.6.1
|
|
6
6
|
* Contact: infra@acm.illinois.edu
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -37,6 +37,10 @@ export interface ApiV1RoomRequestsSemesterIdRequestIdStatusPostOperationRequest
|
|
|
37
37
|
*
|
|
38
38
|
*/
|
|
39
39
|
export declare class RoomRequestsApi extends runtime.BaseAPI {
|
|
40
|
+
/**
|
|
41
|
+
* Creates request options for apiV1RoomRequestsPost without sending the request
|
|
42
|
+
*/
|
|
43
|
+
apiV1RoomRequestsPostRequestOpts(requestParameters: ApiV1RoomRequestsPostOperationRequest): Promise<runtime.RequestOpts>;
|
|
40
44
|
/**
|
|
41
45
|
* #### Authorization <hr /> Requires any of the following roles: * Room Request Creator (<code>create:roomRequest</code>)
|
|
42
46
|
* Create a room request.
|
|
@@ -47,6 +51,10 @@ export declare class RoomRequestsApi extends runtime.BaseAPI {
|
|
|
47
51
|
* Create a room request.
|
|
48
52
|
*/
|
|
49
53
|
apiV1RoomRequestsPost(requestParameters: ApiV1RoomRequestsPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
54
|
+
/**
|
|
55
|
+
* Creates request options for apiV1RoomRequestsSemesterIdGet without sending the request
|
|
56
|
+
*/
|
|
57
|
+
apiV1RoomRequestsSemesterIdGetRequestOpts(requestParameters: ApiV1RoomRequestsSemesterIdGetRequest): Promise<runtime.RequestOpts>;
|
|
50
58
|
/**
|
|
51
59
|
* #### Authorization <hr /> Requires any of the following roles: * Room Request Creator (<code>create:roomRequest</code>) * All Room Request Viewer (<code>admin:roomRequest</code>)
|
|
52
60
|
* Get room requests for a specific semester.
|
|
@@ -57,6 +65,10 @@ export declare class RoomRequestsApi extends runtime.BaseAPI {
|
|
|
57
65
|
* Get room requests for a specific semester.
|
|
58
66
|
*/
|
|
59
67
|
apiV1RoomRequestsSemesterIdGet(requestParameters: ApiV1RoomRequestsSemesterIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
68
|
+
/**
|
|
69
|
+
* Creates request options for apiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGet without sending the request
|
|
70
|
+
*/
|
|
71
|
+
apiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGetRequestOpts(requestParameters: ApiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGetRequest): Promise<runtime.RequestOpts>;
|
|
60
72
|
/**
|
|
61
73
|
* #### Authorization <hr /> Requires any of the following roles: * Room Request Creator (<code>create:roomRequest</code>) * All Room Request Viewer (<code>admin:roomRequest</code>)
|
|
62
74
|
* Get attachment download URL for a specific room request update.
|
|
@@ -67,6 +79,10 @@ export declare class RoomRequestsApi extends runtime.BaseAPI {
|
|
|
67
79
|
* Get attachment download URL for a specific room request update.
|
|
68
80
|
*/
|
|
69
81
|
apiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGet(requestParameters: ApiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGet200Response>;
|
|
82
|
+
/**
|
|
83
|
+
* Creates request options for apiV1RoomRequestsSemesterIdRequestIdGet without sending the request
|
|
84
|
+
*/
|
|
85
|
+
apiV1RoomRequestsSemesterIdRequestIdGetRequestOpts(requestParameters: ApiV1RoomRequestsSemesterIdRequestIdGetRequest): Promise<runtime.RequestOpts>;
|
|
70
86
|
/**
|
|
71
87
|
* #### Authorization <hr /> Requires any of the following roles: * Room Request Creator (<code>create:roomRequest</code>) * All Room Request Viewer (<code>admin:roomRequest</code>)
|
|
72
88
|
* Get specific room request data.
|
|
@@ -77,6 +93,10 @@ export declare class RoomRequestsApi extends runtime.BaseAPI {
|
|
|
77
93
|
* Get specific room request data.
|
|
78
94
|
*/
|
|
79
95
|
apiV1RoomRequestsSemesterIdRequestIdGet(requestParameters: ApiV1RoomRequestsSemesterIdRequestIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
96
|
+
/**
|
|
97
|
+
* Creates request options for apiV1RoomRequestsSemesterIdRequestIdStatusPost without sending the request
|
|
98
|
+
*/
|
|
99
|
+
apiV1RoomRequestsSemesterIdRequestIdStatusPostRequestOpts(requestParameters: ApiV1RoomRequestsSemesterIdRequestIdStatusPostOperationRequest): Promise<runtime.RequestOpts>;
|
|
80
100
|
/**
|
|
81
101
|
* #### Authorization <hr /> Requires any of the following roles: * Room Request Updater (<code>update:roomRequest</code>)
|
|
82
102
|
* Create status update for a room request.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* ACM @ UIUC Core API
|
|
6
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
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 4.
|
|
8
|
+
* The version of the OpenAPI document: 4.6.1
|
|
9
9
|
* Contact: infra@acm.illinois.edu
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -30,10 +30,9 @@ const index_js_1 = require("../models/index.js");
|
|
|
30
30
|
*/
|
|
31
31
|
class RoomRequestsApi extends runtime.BaseAPI {
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
34
|
-
* Create a room request.
|
|
33
|
+
* Creates request options for apiV1RoomRequestsPost without sending the request
|
|
35
34
|
*/
|
|
36
|
-
|
|
35
|
+
apiV1RoomRequestsPostRequestOpts(requestParameters) {
|
|
37
36
|
return __awaiter(this, void 0, void 0, function* () {
|
|
38
37
|
if (requestParameters['apiV1RoomRequestsPostRequest'] == null) {
|
|
39
38
|
throw new runtime.RequiredError('apiV1RoomRequestsPostRequest', 'Required parameter "apiV1RoomRequestsPostRequest" was null or undefined when calling apiV1RoomRequestsPost().');
|
|
@@ -52,13 +51,23 @@ class RoomRequestsApi extends runtime.BaseAPI {
|
|
|
52
51
|
headerParameters["X-Api-Key"] = yield this.configuration.apiKey("X-Api-Key"); // apiKeyHeader authentication
|
|
53
52
|
}
|
|
54
53
|
let urlPath = `/api/v1/roomRequests`;
|
|
55
|
-
|
|
54
|
+
return {
|
|
56
55
|
path: urlPath,
|
|
57
56
|
method: 'POST',
|
|
58
57
|
headers: headerParameters,
|
|
59
58
|
query: queryParameters,
|
|
60
59
|
body: (0, index_js_1.ApiV1RoomRequestsPostRequestToJSON)(requestParameters['apiV1RoomRequestsPostRequest']),
|
|
61
|
-
}
|
|
60
|
+
};
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* #### Authorization <hr /> Requires any of the following roles: * Room Request Creator (<code>create:roomRequest</code>)
|
|
65
|
+
* Create a room request.
|
|
66
|
+
*/
|
|
67
|
+
apiV1RoomRequestsPostRaw(requestParameters, initOverrides) {
|
|
68
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
69
|
+
const requestOptions = yield this.apiV1RoomRequestsPostRequestOpts(requestParameters);
|
|
70
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
62
71
|
return new runtime.VoidApiResponse(response);
|
|
63
72
|
});
|
|
64
73
|
}
|
|
@@ -72,10 +81,9 @@ class RoomRequestsApi extends runtime.BaseAPI {
|
|
|
72
81
|
});
|
|
73
82
|
}
|
|
74
83
|
/**
|
|
75
|
-
*
|
|
76
|
-
* Get room requests for a specific semester.
|
|
84
|
+
* Creates request options for apiV1RoomRequestsSemesterIdGet without sending the request
|
|
77
85
|
*/
|
|
78
|
-
|
|
86
|
+
apiV1RoomRequestsSemesterIdGetRequestOpts(requestParameters) {
|
|
79
87
|
return __awaiter(this, void 0, void 0, function* () {
|
|
80
88
|
if (requestParameters['semesterId'] == null) {
|
|
81
89
|
throw new runtime.RequiredError('semesterId', 'Required parameter "semesterId" was null or undefined when calling apiV1RoomRequestsSemesterIdGet().');
|
|
@@ -97,12 +105,22 @@ class RoomRequestsApi extends runtime.BaseAPI {
|
|
|
97
105
|
}
|
|
98
106
|
let urlPath = `/api/v1/roomRequests/{semesterId}`;
|
|
99
107
|
urlPath = urlPath.replace(`{${"semesterId"}}`, encodeURIComponent(String(requestParameters['semesterId'])));
|
|
100
|
-
|
|
108
|
+
return {
|
|
101
109
|
path: urlPath,
|
|
102
110
|
method: 'GET',
|
|
103
111
|
headers: headerParameters,
|
|
104
112
|
query: queryParameters,
|
|
105
|
-
}
|
|
113
|
+
};
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* #### Authorization <hr /> Requires any of the following roles: * Room Request Creator (<code>create:roomRequest</code>) * All Room Request Viewer (<code>admin:roomRequest</code>)
|
|
118
|
+
* Get room requests for a specific semester.
|
|
119
|
+
*/
|
|
120
|
+
apiV1RoomRequestsSemesterIdGetRaw(requestParameters, initOverrides) {
|
|
121
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
122
|
+
const requestOptions = yield this.apiV1RoomRequestsSemesterIdGetRequestOpts(requestParameters);
|
|
123
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
106
124
|
return new runtime.VoidApiResponse(response);
|
|
107
125
|
});
|
|
108
126
|
}
|
|
@@ -116,10 +134,9 @@ class RoomRequestsApi extends runtime.BaseAPI {
|
|
|
116
134
|
});
|
|
117
135
|
}
|
|
118
136
|
/**
|
|
119
|
-
*
|
|
120
|
-
* Get attachment download URL for a specific room request update.
|
|
137
|
+
* Creates request options for apiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGet without sending the request
|
|
121
138
|
*/
|
|
122
|
-
|
|
139
|
+
apiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGetRequestOpts(requestParameters) {
|
|
123
140
|
return __awaiter(this, void 0, void 0, function* () {
|
|
124
141
|
if (requestParameters['requestId'] == null) {
|
|
125
142
|
throw new runtime.RequiredError('requestId', 'Required parameter "requestId" was null or undefined when calling apiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGet().');
|
|
@@ -155,12 +172,22 @@ class RoomRequestsApi extends runtime.BaseAPI {
|
|
|
155
172
|
urlPath = urlPath.replace(`{${"createdAt"}}`, encodeURIComponent(String(requestParameters['createdAt'])));
|
|
156
173
|
}
|
|
157
174
|
urlPath = urlPath.replace(`{${"status"}}`, encodeURIComponent(String(requestParameters['status'])));
|
|
158
|
-
|
|
175
|
+
return {
|
|
159
176
|
path: urlPath,
|
|
160
177
|
method: 'GET',
|
|
161
178
|
headers: headerParameters,
|
|
162
179
|
query: queryParameters,
|
|
163
|
-
}
|
|
180
|
+
};
|
|
181
|
+
});
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* #### Authorization <hr /> Requires any of the following roles: * Room Request Creator (<code>create:roomRequest</code>) * All Room Request Viewer (<code>admin:roomRequest</code>)
|
|
185
|
+
* Get attachment download URL for a specific room request update.
|
|
186
|
+
*/
|
|
187
|
+
apiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGetRaw(requestParameters, initOverrides) {
|
|
188
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
189
|
+
const requestOptions = yield this.apiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGetRequestOpts(requestParameters);
|
|
190
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
164
191
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_js_1.ApiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGet200ResponseFromJSON)(jsonValue));
|
|
165
192
|
});
|
|
166
193
|
}
|
|
@@ -175,10 +202,9 @@ class RoomRequestsApi extends runtime.BaseAPI {
|
|
|
175
202
|
});
|
|
176
203
|
}
|
|
177
204
|
/**
|
|
178
|
-
*
|
|
179
|
-
* Get specific room request data.
|
|
205
|
+
* Creates request options for apiV1RoomRequestsSemesterIdRequestIdGet without sending the request
|
|
180
206
|
*/
|
|
181
|
-
|
|
207
|
+
apiV1RoomRequestsSemesterIdRequestIdGetRequestOpts(requestParameters) {
|
|
182
208
|
return __awaiter(this, void 0, void 0, function* () {
|
|
183
209
|
if (requestParameters['requestId'] == null) {
|
|
184
210
|
throw new runtime.RequiredError('requestId', 'Required parameter "requestId" was null or undefined when calling apiV1RoomRequestsSemesterIdRequestIdGet().');
|
|
@@ -201,12 +227,22 @@ class RoomRequestsApi extends runtime.BaseAPI {
|
|
|
201
227
|
let urlPath = `/api/v1/roomRequests/{semesterId}/{requestId}`;
|
|
202
228
|
urlPath = urlPath.replace(`{${"requestId"}}`, encodeURIComponent(String(requestParameters['requestId'])));
|
|
203
229
|
urlPath = urlPath.replace(`{${"semesterId"}}`, encodeURIComponent(String(requestParameters['semesterId'])));
|
|
204
|
-
|
|
230
|
+
return {
|
|
205
231
|
path: urlPath,
|
|
206
232
|
method: 'GET',
|
|
207
233
|
headers: headerParameters,
|
|
208
234
|
query: queryParameters,
|
|
209
|
-
}
|
|
235
|
+
};
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* #### Authorization <hr /> Requires any of the following roles: * Room Request Creator (<code>create:roomRequest</code>) * All Room Request Viewer (<code>admin:roomRequest</code>)
|
|
240
|
+
* Get specific room request data.
|
|
241
|
+
*/
|
|
242
|
+
apiV1RoomRequestsSemesterIdRequestIdGetRaw(requestParameters, initOverrides) {
|
|
243
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
244
|
+
const requestOptions = yield this.apiV1RoomRequestsSemesterIdRequestIdGetRequestOpts(requestParameters);
|
|
245
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
210
246
|
return new runtime.VoidApiResponse(response);
|
|
211
247
|
});
|
|
212
248
|
}
|
|
@@ -220,10 +256,9 @@ class RoomRequestsApi extends runtime.BaseAPI {
|
|
|
220
256
|
});
|
|
221
257
|
}
|
|
222
258
|
/**
|
|
223
|
-
*
|
|
224
|
-
* Create status update for a room request.
|
|
259
|
+
* Creates request options for apiV1RoomRequestsSemesterIdRequestIdStatusPost without sending the request
|
|
225
260
|
*/
|
|
226
|
-
|
|
261
|
+
apiV1RoomRequestsSemesterIdRequestIdStatusPostRequestOpts(requestParameters) {
|
|
227
262
|
return __awaiter(this, void 0, void 0, function* () {
|
|
228
263
|
if (requestParameters['requestId'] == null) {
|
|
229
264
|
throw new runtime.RequiredError('requestId', 'Required parameter "requestId" was null or undefined when calling apiV1RoomRequestsSemesterIdRequestIdStatusPost().');
|
|
@@ -250,13 +285,23 @@ class RoomRequestsApi extends runtime.BaseAPI {
|
|
|
250
285
|
let urlPath = `/api/v1/roomRequests/{semesterId}/{requestId}/status`;
|
|
251
286
|
urlPath = urlPath.replace(`{${"requestId"}}`, encodeURIComponent(String(requestParameters['requestId'])));
|
|
252
287
|
urlPath = urlPath.replace(`{${"semesterId"}}`, encodeURIComponent(String(requestParameters['semesterId'])));
|
|
253
|
-
|
|
288
|
+
return {
|
|
254
289
|
path: urlPath,
|
|
255
290
|
method: 'POST',
|
|
256
291
|
headers: headerParameters,
|
|
257
292
|
query: queryParameters,
|
|
258
293
|
body: (0, index_js_1.ApiV1RoomRequestsSemesterIdRequestIdStatusPostRequestToJSON)(requestParameters['apiV1RoomRequestsSemesterIdRequestIdStatusPostRequest']),
|
|
259
|
-
}
|
|
294
|
+
};
|
|
295
|
+
});
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* #### Authorization <hr /> Requires any of the following roles: * Room Request Updater (<code>update:roomRequest</code>)
|
|
299
|
+
* Create status update for a room request.
|
|
300
|
+
*/
|
|
301
|
+
apiV1RoomRequestsSemesterIdRequestIdStatusPostRaw(requestParameters, initOverrides) {
|
|
302
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
303
|
+
const requestOptions = yield this.apiV1RoomRequestsSemesterIdRequestIdStatusPostRequestOpts(requestParameters);
|
|
304
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
260
305
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_js_1.ApiV1RoomRequestsSemesterIdRequestIdStatusPost201ResponseFromJSON)(jsonValue));
|
|
261
306
|
});
|
|
262
307
|
}
|