@acm-uiuc/core-client 4.5.0 → 4.6.0
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
|
@@ -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.0
|
|
6
6
|
* Contact: infra@acm.illinois.edu
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime.js';
|
|
13
|
-
import type { ApiV1StoreAdminOrdersFetchUserOrdersPost200ResponseInner, ApiV1StoreAdminOrdersFetchUserOrdersPostRequest, ApiV1StoreAdminOrdersOrderIdFulfillPostRequest, ApiV1StoreAdminOrdersOrderIdRefundPostRequest, ApiV1StoreAdminOrdersProductIdGet200Response, ApiV1StoreAdminProductsGet200Response, ApiV1StoreAdminProductsPost201Response, ApiV1StoreAdminProductsPostRequest, ApiV1StoreAdminProductsProductIdPatch200Response, ApiV1StoreAdminProductsProductIdPatchRequest, ApiV1StoreCheckoutPost201Response, ApiV1StoreCheckoutPostRequest, ApiV1StoreProductsGet200Response, ApiV1StoreProductsProductIdGet200Response } from '../models/index.js';
|
|
13
|
+
import type { ApiV1StoreAdminOrdersFetchUserOrdersPost200ResponseInner, ApiV1StoreAdminOrdersFetchUserOrdersPostRequest, ApiV1StoreAdminOrdersOrderIdFulfillPostRequest, ApiV1StoreAdminOrdersOrderIdRefundPostRequest, ApiV1StoreAdminOrdersProductIdGet200Response, ApiV1StoreAdminProductsGet200Response, ApiV1StoreAdminProductsPost201Response, ApiV1StoreAdminProductsPostRequest, ApiV1StoreAdminProductsProductIdGet200Response, ApiV1StoreAdminProductsProductIdPatch200Response, ApiV1StoreAdminProductsProductIdPatchRequest, ApiV1StoreCheckoutPost201Response, ApiV1StoreCheckoutPostRequest, ApiV1StoreProductsGet200Response, ApiV1StoreProductsProductIdGet200Response } from '../models/index.js';
|
|
14
14
|
export interface ApiV1StoreAdminOrderOrderIdGetRequest {
|
|
15
15
|
orderId: string;
|
|
16
16
|
}
|
|
@@ -33,6 +33,9 @@ export interface ApiV1StoreAdminOrdersProductIdGetRequest {
|
|
|
33
33
|
export interface ApiV1StoreAdminProductsPostOperationRequest {
|
|
34
34
|
apiV1StoreAdminProductsPostRequest: ApiV1StoreAdminProductsPostRequest;
|
|
35
35
|
}
|
|
36
|
+
export interface ApiV1StoreAdminProductsProductIdGetRequest {
|
|
37
|
+
productId: string;
|
|
38
|
+
}
|
|
36
39
|
export interface ApiV1StoreAdminProductsProductIdPatchOperationRequest {
|
|
37
40
|
productId: string;
|
|
38
41
|
apiV1StoreAdminProductsProductIdPatchRequest: ApiV1StoreAdminProductsProductIdPatchRequest;
|
|
@@ -49,6 +52,10 @@ export interface ApiV1StoreProductsProductIdGetRequest {
|
|
|
49
52
|
*
|
|
50
53
|
*/
|
|
51
54
|
export declare class StoreApi extends runtime.BaseAPI {
|
|
55
|
+
/**
|
|
56
|
+
* Creates request options for apiV1StoreAdminOrderOrderIdGet without sending the request
|
|
57
|
+
*/
|
|
58
|
+
apiV1StoreAdminOrderOrderIdGetRequestOpts(requestParameters: ApiV1StoreAdminOrderOrderIdGetRequest): Promise<runtime.RequestOpts>;
|
|
52
59
|
/**
|
|
53
60
|
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>) * Store Fulfillment (<code>fulfill:store</code>)
|
|
54
61
|
* Get order details for management.
|
|
@@ -59,6 +66,10 @@ export declare class StoreApi extends runtime.BaseAPI {
|
|
|
59
66
|
* Get order details for management.
|
|
60
67
|
*/
|
|
61
68
|
apiV1StoreAdminOrderOrderIdGet(requestParameters: ApiV1StoreAdminOrderOrderIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiV1StoreAdminOrdersFetchUserOrdersPost200ResponseInner>;
|
|
69
|
+
/**
|
|
70
|
+
* Creates request options for apiV1StoreAdminOrdersFetchUserOrdersPost without sending the request
|
|
71
|
+
*/
|
|
72
|
+
apiV1StoreAdminOrdersFetchUserOrdersPostRequestOpts(requestParameters: ApiV1StoreAdminOrdersFetchUserOrdersPostOperationRequest): Promise<runtime.RequestOpts>;
|
|
62
73
|
/**
|
|
63
74
|
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>) * Store Fulfillment (<code>fulfill:store</code>)
|
|
64
75
|
* Fetch a user\'s orders.
|
|
@@ -69,6 +80,10 @@ export declare class StoreApi extends runtime.BaseAPI {
|
|
|
69
80
|
* Fetch a user\'s orders.
|
|
70
81
|
*/
|
|
71
82
|
apiV1StoreAdminOrdersFetchUserOrdersPost(requestParameters: ApiV1StoreAdminOrdersFetchUserOrdersPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ApiV1StoreAdminOrdersFetchUserOrdersPost200ResponseInner>>;
|
|
83
|
+
/**
|
|
84
|
+
* Creates request options for apiV1StoreAdminOrdersOrderIdFulfillPost without sending the request
|
|
85
|
+
*/
|
|
86
|
+
apiV1StoreAdminOrdersOrderIdFulfillPostRequestOpts(requestParameters: ApiV1StoreAdminOrdersOrderIdFulfillPostOperationRequest): Promise<runtime.RequestOpts>;
|
|
72
87
|
/**
|
|
73
88
|
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>) * Store Fulfillment (<code>fulfill:store</code>)
|
|
74
89
|
* Fulfill an order\'s line items.
|
|
@@ -79,6 +94,10 @@ export declare class StoreApi extends runtime.BaseAPI {
|
|
|
79
94
|
* Fulfill an order\'s line items.
|
|
80
95
|
*/
|
|
81
96
|
apiV1StoreAdminOrdersOrderIdFulfillPost(requestParameters: ApiV1StoreAdminOrdersOrderIdFulfillPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
|
|
97
|
+
/**
|
|
98
|
+
* Creates request options for apiV1StoreAdminOrdersOrderIdRefundPost without sending the request
|
|
99
|
+
*/
|
|
100
|
+
apiV1StoreAdminOrdersOrderIdRefundPostRequestOpts(requestParameters: ApiV1StoreAdminOrdersOrderIdRefundPostOperationRequest): Promise<runtime.RequestOpts>;
|
|
82
101
|
/**
|
|
83
102
|
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>)
|
|
84
103
|
* Refund an order.
|
|
@@ -90,15 +109,23 @@ export declare class StoreApi extends runtime.BaseAPI {
|
|
|
90
109
|
*/
|
|
91
110
|
apiV1StoreAdminOrdersOrderIdRefundPost(requestParameters: ApiV1StoreAdminOrdersOrderIdRefundPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
|
|
92
111
|
/**
|
|
93
|
-
*
|
|
112
|
+
* Creates request options for apiV1StoreAdminOrdersProductIdGet without sending the request
|
|
113
|
+
*/
|
|
114
|
+
apiV1StoreAdminOrdersProductIdGetRequestOpts(requestParameters: ApiV1StoreAdminOrdersProductIdGetRequest): Promise<runtime.RequestOpts>;
|
|
115
|
+
/**
|
|
116
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>)
|
|
94
117
|
* List all orders/line items for a given product.
|
|
95
118
|
*/
|
|
96
119
|
apiV1StoreAdminOrdersProductIdGetRaw(requestParameters: ApiV1StoreAdminOrdersProductIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiV1StoreAdminOrdersProductIdGet200Response>>;
|
|
97
120
|
/**
|
|
98
|
-
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>)
|
|
121
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>)
|
|
99
122
|
* List all orders/line items for a given product.
|
|
100
123
|
*/
|
|
101
124
|
apiV1StoreAdminOrdersProductIdGet(requestParameters: ApiV1StoreAdminOrdersProductIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiV1StoreAdminOrdersProductIdGet200Response>;
|
|
125
|
+
/**
|
|
126
|
+
* Creates request options for apiV1StoreAdminProductsGet without sending the request
|
|
127
|
+
*/
|
|
128
|
+
apiV1StoreAdminProductsGetRequestOpts(): Promise<runtime.RequestOpts>;
|
|
102
129
|
/**
|
|
103
130
|
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>) * Store Fulfillment (<code>fulfill:store</code>)
|
|
104
131
|
* List all products (including inactive) for management.
|
|
@@ -109,6 +136,10 @@ export declare class StoreApi extends runtime.BaseAPI {
|
|
|
109
136
|
* List all products (including inactive) for management.
|
|
110
137
|
*/
|
|
111
138
|
apiV1StoreAdminProductsGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiV1StoreAdminProductsGet200Response>;
|
|
139
|
+
/**
|
|
140
|
+
* Creates request options for apiV1StoreAdminProductsPost without sending the request
|
|
141
|
+
*/
|
|
142
|
+
apiV1StoreAdminProductsPostRequestOpts(requestParameters: ApiV1StoreAdminProductsPostOperationRequest): Promise<runtime.RequestOpts>;
|
|
112
143
|
/**
|
|
113
144
|
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>)
|
|
114
145
|
* Create a new product with variants.
|
|
@@ -119,6 +150,24 @@ export declare class StoreApi extends runtime.BaseAPI {
|
|
|
119
150
|
* Create a new product with variants.
|
|
120
151
|
*/
|
|
121
152
|
apiV1StoreAdminProductsPost(requestParameters: ApiV1StoreAdminProductsPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiV1StoreAdminProductsPost201Response>;
|
|
153
|
+
/**
|
|
154
|
+
* Creates request options for apiV1StoreAdminProductsProductIdGet without sending the request
|
|
155
|
+
*/
|
|
156
|
+
apiV1StoreAdminProductsProductIdGetRequestOpts(requestParameters: ApiV1StoreAdminProductsProductIdGetRequest): Promise<runtime.RequestOpts>;
|
|
157
|
+
/**
|
|
158
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>) * Store Fulfillment (<code>fulfill:store</code>)
|
|
159
|
+
* Get details of a specific product for management.
|
|
160
|
+
*/
|
|
161
|
+
apiV1StoreAdminProductsProductIdGetRaw(requestParameters: ApiV1StoreAdminProductsProductIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiV1StoreAdminProductsProductIdGet200Response>>;
|
|
162
|
+
/**
|
|
163
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>) * Store Fulfillment (<code>fulfill:store</code>)
|
|
164
|
+
* Get details of a specific product for management.
|
|
165
|
+
*/
|
|
166
|
+
apiV1StoreAdminProductsProductIdGet(requestParameters: ApiV1StoreAdminProductsProductIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiV1StoreAdminProductsProductIdGet200Response>;
|
|
167
|
+
/**
|
|
168
|
+
* Creates request options for apiV1StoreAdminProductsProductIdPatch without sending the request
|
|
169
|
+
*/
|
|
170
|
+
apiV1StoreAdminProductsProductIdPatchRequestOpts(requestParameters: ApiV1StoreAdminProductsProductIdPatchOperationRequest): Promise<runtime.RequestOpts>;
|
|
122
171
|
/**
|
|
123
172
|
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>)
|
|
124
173
|
* Modify the metadata for a given product.
|
|
@@ -129,6 +178,10 @@ export declare class StoreApi extends runtime.BaseAPI {
|
|
|
129
178
|
* Modify the metadata for a given product.
|
|
130
179
|
*/
|
|
131
180
|
apiV1StoreAdminProductsProductIdPatch(requestParameters: ApiV1StoreAdminProductsProductIdPatchOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiV1StoreAdminProductsProductIdPatch200Response>;
|
|
181
|
+
/**
|
|
182
|
+
* Creates request options for apiV1StoreCheckoutPost without sending the request
|
|
183
|
+
*/
|
|
184
|
+
apiV1StoreCheckoutPostRequestOpts(requestParameters: ApiV1StoreCheckoutPostOperationRequest): Promise<runtime.RequestOpts>;
|
|
132
185
|
/**
|
|
133
186
|
* Create a checkout session for purchasing items.
|
|
134
187
|
*/
|
|
@@ -137,6 +190,10 @@ export declare class StoreApi extends runtime.BaseAPI {
|
|
|
137
190
|
* Create a checkout session for purchasing items.
|
|
138
191
|
*/
|
|
139
192
|
apiV1StoreCheckoutPost(requestParameters: ApiV1StoreCheckoutPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiV1StoreCheckoutPost201Response>;
|
|
193
|
+
/**
|
|
194
|
+
* Creates request options for apiV1StoreProductsGet without sending the request
|
|
195
|
+
*/
|
|
196
|
+
apiV1StoreProductsGetRequestOpts(): Promise<runtime.RequestOpts>;
|
|
140
197
|
/**
|
|
141
198
|
* List all available products in the store.
|
|
142
199
|
*/
|
|
@@ -145,6 +202,10 @@ export declare class StoreApi extends runtime.BaseAPI {
|
|
|
145
202
|
* List all available products in the store.
|
|
146
203
|
*/
|
|
147
204
|
apiV1StoreProductsGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiV1StoreProductsGet200Response>;
|
|
205
|
+
/**
|
|
206
|
+
* Creates request options for apiV1StoreProductsProductIdGet without sending the request
|
|
207
|
+
*/
|
|
208
|
+
apiV1StoreProductsProductIdGetRequestOpts(requestParameters: ApiV1StoreProductsProductIdGetRequest): Promise<runtime.RequestOpts>;
|
|
148
209
|
/**
|
|
149
210
|
* Get details of a specific product.
|
|
150
211
|
*/
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* ACM @ UIUC Core API
|
|
5
5
|
* 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\".**
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.6.0
|
|
8
8
|
* Contact: infra@acm.illinois.edu
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -21,16 +21,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime.js';
|
|
24
|
-
import { ApiV1StoreAdminOrdersFetchUserOrdersPost200ResponseInnerFromJSON, ApiV1StoreAdminOrdersFetchUserOrdersPostRequestToJSON, ApiV1StoreAdminOrdersOrderIdFulfillPostRequestToJSON, ApiV1StoreAdminOrdersOrderIdRefundPostRequestToJSON, ApiV1StoreAdminOrdersProductIdGet200ResponseFromJSON, ApiV1StoreAdminProductsGet200ResponseFromJSON, ApiV1StoreAdminProductsPost201ResponseFromJSON, ApiV1StoreAdminProductsPostRequestToJSON, ApiV1StoreAdminProductsProductIdPatch200ResponseFromJSON, ApiV1StoreAdminProductsProductIdPatchRequestToJSON, ApiV1StoreCheckoutPost201ResponseFromJSON, ApiV1StoreCheckoutPostRequestToJSON, ApiV1StoreProductsGet200ResponseFromJSON, ApiV1StoreProductsProductIdGet200ResponseFromJSON, } from '../models/index.js';
|
|
24
|
+
import { ApiV1StoreAdminOrdersFetchUserOrdersPost200ResponseInnerFromJSON, ApiV1StoreAdminOrdersFetchUserOrdersPostRequestToJSON, ApiV1StoreAdminOrdersOrderIdFulfillPostRequestToJSON, ApiV1StoreAdminOrdersOrderIdRefundPostRequestToJSON, ApiV1StoreAdminOrdersProductIdGet200ResponseFromJSON, ApiV1StoreAdminProductsGet200ResponseFromJSON, ApiV1StoreAdminProductsPost201ResponseFromJSON, ApiV1StoreAdminProductsPostRequestToJSON, ApiV1StoreAdminProductsProductIdGet200ResponseFromJSON, ApiV1StoreAdminProductsProductIdPatch200ResponseFromJSON, ApiV1StoreAdminProductsProductIdPatchRequestToJSON, ApiV1StoreCheckoutPost201ResponseFromJSON, ApiV1StoreCheckoutPostRequestToJSON, ApiV1StoreProductsGet200ResponseFromJSON, ApiV1StoreProductsProductIdGet200ResponseFromJSON, } from '../models/index.js';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
export class StoreApi extends runtime.BaseAPI {
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
* Get order details for management.
|
|
30
|
+
* Creates request options for apiV1StoreAdminOrderOrderIdGet without sending the request
|
|
32
31
|
*/
|
|
33
|
-
|
|
32
|
+
apiV1StoreAdminOrderOrderIdGetRequestOpts(requestParameters) {
|
|
34
33
|
return __awaiter(this, void 0, void 0, function* () {
|
|
35
34
|
if (requestParameters['orderId'] == null) {
|
|
36
35
|
throw new runtime.RequiredError('orderId', 'Required parameter "orderId" was null or undefined when calling apiV1StoreAdminOrderOrderIdGet().');
|
|
@@ -49,12 +48,22 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
49
48
|
}
|
|
50
49
|
let urlPath = `/api/v1/store/admin/order/{orderId}`;
|
|
51
50
|
urlPath = urlPath.replace(`{${"orderId"}}`, encodeURIComponent(String(requestParameters['orderId'])));
|
|
52
|
-
|
|
51
|
+
return {
|
|
53
52
|
path: urlPath,
|
|
54
53
|
method: 'GET',
|
|
55
54
|
headers: headerParameters,
|
|
56
55
|
query: queryParameters,
|
|
57
|
-
}
|
|
56
|
+
};
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>) * Store Fulfillment (<code>fulfill:store</code>)
|
|
61
|
+
* Get order details for management.
|
|
62
|
+
*/
|
|
63
|
+
apiV1StoreAdminOrderOrderIdGetRaw(requestParameters, initOverrides) {
|
|
64
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
65
|
+
const requestOptions = yield this.apiV1StoreAdminOrderOrderIdGetRequestOpts(requestParameters);
|
|
66
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
58
67
|
return new runtime.JSONApiResponse(response, (jsonValue) => ApiV1StoreAdminOrdersFetchUserOrdersPost200ResponseInnerFromJSON(jsonValue));
|
|
59
68
|
});
|
|
60
69
|
}
|
|
@@ -69,10 +78,9 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
69
78
|
});
|
|
70
79
|
}
|
|
71
80
|
/**
|
|
72
|
-
*
|
|
73
|
-
* Fetch a user\'s orders.
|
|
81
|
+
* Creates request options for apiV1StoreAdminOrdersFetchUserOrdersPost without sending the request
|
|
74
82
|
*/
|
|
75
|
-
|
|
83
|
+
apiV1StoreAdminOrdersFetchUserOrdersPostRequestOpts(requestParameters) {
|
|
76
84
|
return __awaiter(this, void 0, void 0, function* () {
|
|
77
85
|
if (requestParameters['apiV1StoreAdminOrdersFetchUserOrdersPostRequest'] == null) {
|
|
78
86
|
throw new runtime.RequiredError('apiV1StoreAdminOrdersFetchUserOrdersPostRequest', 'Required parameter "apiV1StoreAdminOrdersFetchUserOrdersPostRequest" was null or undefined when calling apiV1StoreAdminOrdersFetchUserOrdersPost().');
|
|
@@ -97,13 +105,23 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
97
105
|
headerParameters["X-Api-Key"] = yield this.configuration.apiKey("X-Api-Key"); // apiKeyHeader authentication
|
|
98
106
|
}
|
|
99
107
|
let urlPath = `/api/v1/store/admin/orders/fetchUserOrders`;
|
|
100
|
-
|
|
108
|
+
return {
|
|
101
109
|
path: urlPath,
|
|
102
110
|
method: 'POST',
|
|
103
111
|
headers: headerParameters,
|
|
104
112
|
query: queryParameters,
|
|
105
113
|
body: ApiV1StoreAdminOrdersFetchUserOrdersPostRequestToJSON(requestParameters['apiV1StoreAdminOrdersFetchUserOrdersPostRequest']),
|
|
106
|
-
}
|
|
114
|
+
};
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>) * Store Fulfillment (<code>fulfill:store</code>)
|
|
119
|
+
* Fetch a user\'s orders.
|
|
120
|
+
*/
|
|
121
|
+
apiV1StoreAdminOrdersFetchUserOrdersPostRaw(requestParameters, initOverrides) {
|
|
122
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
123
|
+
const requestOptions = yield this.apiV1StoreAdminOrdersFetchUserOrdersPostRequestOpts(requestParameters);
|
|
124
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
107
125
|
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(ApiV1StoreAdminOrdersFetchUserOrdersPost200ResponseInnerFromJSON));
|
|
108
126
|
});
|
|
109
127
|
}
|
|
@@ -118,10 +136,9 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
118
136
|
});
|
|
119
137
|
}
|
|
120
138
|
/**
|
|
121
|
-
*
|
|
122
|
-
* Fulfill an order\'s line items.
|
|
139
|
+
* Creates request options for apiV1StoreAdminOrdersOrderIdFulfillPost without sending the request
|
|
123
140
|
*/
|
|
124
|
-
|
|
141
|
+
apiV1StoreAdminOrdersOrderIdFulfillPostRequestOpts(requestParameters) {
|
|
125
142
|
return __awaiter(this, void 0, void 0, function* () {
|
|
126
143
|
if (requestParameters['orderId'] == null) {
|
|
127
144
|
throw new runtime.RequiredError('orderId', 'Required parameter "orderId" was null or undefined when calling apiV1StoreAdminOrdersOrderIdFulfillPost().');
|
|
@@ -144,13 +161,23 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
144
161
|
}
|
|
145
162
|
let urlPath = `/api/v1/store/admin/orders/{orderId}/fulfill`;
|
|
146
163
|
urlPath = urlPath.replace(`{${"orderId"}}`, encodeURIComponent(String(requestParameters['orderId'])));
|
|
147
|
-
|
|
164
|
+
return {
|
|
148
165
|
path: urlPath,
|
|
149
166
|
method: 'POST',
|
|
150
167
|
headers: headerParameters,
|
|
151
168
|
query: queryParameters,
|
|
152
169
|
body: ApiV1StoreAdminOrdersOrderIdFulfillPostRequestToJSON(requestParameters['apiV1StoreAdminOrdersOrderIdFulfillPostRequest']),
|
|
153
|
-
}
|
|
170
|
+
};
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>) * Store Fulfillment (<code>fulfill:store</code>)
|
|
175
|
+
* Fulfill an order\'s line items.
|
|
176
|
+
*/
|
|
177
|
+
apiV1StoreAdminOrdersOrderIdFulfillPostRaw(requestParameters, initOverrides) {
|
|
178
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
179
|
+
const requestOptions = yield this.apiV1StoreAdminOrdersOrderIdFulfillPostRequestOpts(requestParameters);
|
|
180
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
154
181
|
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
155
182
|
return new runtime.JSONApiResponse(response);
|
|
156
183
|
}
|
|
@@ -170,10 +197,9 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
170
197
|
});
|
|
171
198
|
}
|
|
172
199
|
/**
|
|
173
|
-
*
|
|
174
|
-
* Refund an order.
|
|
200
|
+
* Creates request options for apiV1StoreAdminOrdersOrderIdRefundPost without sending the request
|
|
175
201
|
*/
|
|
176
|
-
|
|
202
|
+
apiV1StoreAdminOrdersOrderIdRefundPostRequestOpts(requestParameters) {
|
|
177
203
|
return __awaiter(this, void 0, void 0, function* () {
|
|
178
204
|
if (requestParameters['orderId'] == null) {
|
|
179
205
|
throw new runtime.RequiredError('orderId', 'Required parameter "orderId" was null or undefined when calling apiV1StoreAdminOrdersOrderIdRefundPost().');
|
|
@@ -196,13 +222,23 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
196
222
|
}
|
|
197
223
|
let urlPath = `/api/v1/store/admin/orders/{orderId}/refund`;
|
|
198
224
|
urlPath = urlPath.replace(`{${"orderId"}}`, encodeURIComponent(String(requestParameters['orderId'])));
|
|
199
|
-
|
|
225
|
+
return {
|
|
200
226
|
path: urlPath,
|
|
201
227
|
method: 'POST',
|
|
202
228
|
headers: headerParameters,
|
|
203
229
|
query: queryParameters,
|
|
204
230
|
body: ApiV1StoreAdminOrdersOrderIdRefundPostRequestToJSON(requestParameters['apiV1StoreAdminOrdersOrderIdRefundPostRequest']),
|
|
205
|
-
}
|
|
231
|
+
};
|
|
232
|
+
});
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>)
|
|
236
|
+
* Refund an order.
|
|
237
|
+
*/
|
|
238
|
+
apiV1StoreAdminOrdersOrderIdRefundPostRaw(requestParameters, initOverrides) {
|
|
239
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
240
|
+
const requestOptions = yield this.apiV1StoreAdminOrdersOrderIdRefundPostRequestOpts(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 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
222
258
|
});
|
|
223
259
|
}
|
|
224
260
|
/**
|
|
225
|
-
*
|
|
226
|
-
* List all orders/line items for a given product.
|
|
261
|
+
* Creates request options for apiV1StoreAdminOrdersProductIdGet without sending the request
|
|
227
262
|
*/
|
|
228
|
-
|
|
263
|
+
apiV1StoreAdminOrdersProductIdGetRequestOpts(requestParameters) {
|
|
229
264
|
return __awaiter(this, void 0, void 0, function* () {
|
|
230
265
|
if (requestParameters['productId'] == null) {
|
|
231
266
|
throw new runtime.RequiredError('productId', 'Required parameter "productId" was null or undefined when calling apiV1StoreAdminOrdersProductIdGet().');
|
|
@@ -244,17 +279,27 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
244
279
|
}
|
|
245
280
|
let urlPath = `/api/v1/store/admin/orders/{productId}`;
|
|
246
281
|
urlPath = urlPath.replace(`{${"productId"}}`, encodeURIComponent(String(requestParameters['productId'])));
|
|
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: * Store Manager (<code>manage:store</code>)
|
|
292
|
+
* List all orders/line items for a given product.
|
|
293
|
+
*/
|
|
294
|
+
apiV1StoreAdminOrdersProductIdGetRaw(requestParameters, initOverrides) {
|
|
295
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
296
|
+
const requestOptions = yield this.apiV1StoreAdminOrdersProductIdGetRequestOpts(requestParameters);
|
|
297
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
253
298
|
return new runtime.JSONApiResponse(response, (jsonValue) => ApiV1StoreAdminOrdersProductIdGet200ResponseFromJSON(jsonValue));
|
|
254
299
|
});
|
|
255
300
|
}
|
|
256
301
|
/**
|
|
257
|
-
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>)
|
|
302
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>)
|
|
258
303
|
* List all orders/line items for a given product.
|
|
259
304
|
*/
|
|
260
305
|
apiV1StoreAdminOrdersProductIdGet(requestParameters, initOverrides) {
|
|
@@ -264,10 +309,9 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
264
309
|
});
|
|
265
310
|
}
|
|
266
311
|
/**
|
|
267
|
-
*
|
|
268
|
-
* List all products (including inactive) for management.
|
|
312
|
+
* Creates request options for apiV1StoreAdminProductsGet without sending the request
|
|
269
313
|
*/
|
|
270
|
-
|
|
314
|
+
apiV1StoreAdminProductsGetRequestOpts() {
|
|
271
315
|
return __awaiter(this, void 0, void 0, function* () {
|
|
272
316
|
const queryParameters = {};
|
|
273
317
|
const headerParameters = {};
|
|
@@ -282,12 +326,22 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
282
326
|
headerParameters["X-Api-Key"] = yield this.configuration.apiKey("X-Api-Key"); // apiKeyHeader authentication
|
|
283
327
|
}
|
|
284
328
|
let urlPath = `/api/v1/store/admin/products`;
|
|
285
|
-
|
|
329
|
+
return {
|
|
286
330
|
path: urlPath,
|
|
287
331
|
method: 'GET',
|
|
288
332
|
headers: headerParameters,
|
|
289
333
|
query: queryParameters,
|
|
290
|
-
}
|
|
334
|
+
};
|
|
335
|
+
});
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>) * Store Fulfillment (<code>fulfill:store</code>)
|
|
339
|
+
* List all products (including inactive) for management.
|
|
340
|
+
*/
|
|
341
|
+
apiV1StoreAdminProductsGetRaw(initOverrides) {
|
|
342
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
343
|
+
const requestOptions = yield this.apiV1StoreAdminProductsGetRequestOpts();
|
|
344
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
291
345
|
return new runtime.JSONApiResponse(response, (jsonValue) => ApiV1StoreAdminProductsGet200ResponseFromJSON(jsonValue));
|
|
292
346
|
});
|
|
293
347
|
}
|
|
@@ -302,10 +356,9 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
302
356
|
});
|
|
303
357
|
}
|
|
304
358
|
/**
|
|
305
|
-
*
|
|
306
|
-
* Create a new product with variants.
|
|
359
|
+
* Creates request options for apiV1StoreAdminProductsPost without sending the request
|
|
307
360
|
*/
|
|
308
|
-
|
|
361
|
+
apiV1StoreAdminProductsPostRequestOpts(requestParameters) {
|
|
309
362
|
return __awaiter(this, void 0, void 0, function* () {
|
|
310
363
|
if (requestParameters['apiV1StoreAdminProductsPostRequest'] == null) {
|
|
311
364
|
throw new runtime.RequiredError('apiV1StoreAdminProductsPostRequest', 'Required parameter "apiV1StoreAdminProductsPostRequest" was null or undefined when calling apiV1StoreAdminProductsPost().');
|
|
@@ -324,13 +377,23 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
324
377
|
headerParameters["X-Api-Key"] = yield this.configuration.apiKey("X-Api-Key"); // apiKeyHeader authentication
|
|
325
378
|
}
|
|
326
379
|
let urlPath = `/api/v1/store/admin/products`;
|
|
327
|
-
|
|
380
|
+
return {
|
|
328
381
|
path: urlPath,
|
|
329
382
|
method: 'POST',
|
|
330
383
|
headers: headerParameters,
|
|
331
384
|
query: queryParameters,
|
|
332
385
|
body: ApiV1StoreAdminProductsPostRequestToJSON(requestParameters['apiV1StoreAdminProductsPostRequest']),
|
|
333
|
-
}
|
|
386
|
+
};
|
|
387
|
+
});
|
|
388
|
+
}
|
|
389
|
+
/**
|
|
390
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>)
|
|
391
|
+
* Create a new product with variants.
|
|
392
|
+
*/
|
|
393
|
+
apiV1StoreAdminProductsPostRaw(requestParameters, initOverrides) {
|
|
394
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
395
|
+
const requestOptions = yield this.apiV1StoreAdminProductsPostRequestOpts(requestParameters);
|
|
396
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
334
397
|
return new runtime.JSONApiResponse(response, (jsonValue) => ApiV1StoreAdminProductsPost201ResponseFromJSON(jsonValue));
|
|
335
398
|
});
|
|
336
399
|
}
|
|
@@ -345,10 +408,60 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
345
408
|
});
|
|
346
409
|
}
|
|
347
410
|
/**
|
|
348
|
-
*
|
|
349
|
-
* Modify the metadata for a given product.
|
|
411
|
+
* Creates request options for apiV1StoreAdminProductsProductIdGet without sending the request
|
|
350
412
|
*/
|
|
351
|
-
|
|
413
|
+
apiV1StoreAdminProductsProductIdGetRequestOpts(requestParameters) {
|
|
414
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
415
|
+
if (requestParameters['productId'] == null) {
|
|
416
|
+
throw new runtime.RequiredError('productId', 'Required parameter "productId" was null or undefined when calling apiV1StoreAdminProductsProductIdGet().');
|
|
417
|
+
}
|
|
418
|
+
const queryParameters = {};
|
|
419
|
+
const headerParameters = {};
|
|
420
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
421
|
+
const token = this.configuration.accessToken;
|
|
422
|
+
const tokenString = yield token("httpBearer", []);
|
|
423
|
+
if (tokenString) {
|
|
424
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
428
|
+
headerParameters["X-Api-Key"] = yield this.configuration.apiKey("X-Api-Key"); // apiKeyHeader authentication
|
|
429
|
+
}
|
|
430
|
+
let urlPath = `/api/v1/store/admin/products/{productId}`;
|
|
431
|
+
urlPath = urlPath.replace(`{${"productId"}}`, encodeURIComponent(String(requestParameters['productId'])));
|
|
432
|
+
return {
|
|
433
|
+
path: urlPath,
|
|
434
|
+
method: 'GET',
|
|
435
|
+
headers: headerParameters,
|
|
436
|
+
query: queryParameters,
|
|
437
|
+
};
|
|
438
|
+
});
|
|
439
|
+
}
|
|
440
|
+
/**
|
|
441
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>) * Store Fulfillment (<code>fulfill:store</code>)
|
|
442
|
+
* Get details of a specific product for management.
|
|
443
|
+
*/
|
|
444
|
+
apiV1StoreAdminProductsProductIdGetRaw(requestParameters, initOverrides) {
|
|
445
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
446
|
+
const requestOptions = yield this.apiV1StoreAdminProductsProductIdGetRequestOpts(requestParameters);
|
|
447
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
448
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiV1StoreAdminProductsProductIdGet200ResponseFromJSON(jsonValue));
|
|
449
|
+
});
|
|
450
|
+
}
|
|
451
|
+
/**
|
|
452
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>) * Store Fulfillment (<code>fulfill:store</code>)
|
|
453
|
+
* Get details of a specific product for management.
|
|
454
|
+
*/
|
|
455
|
+
apiV1StoreAdminProductsProductIdGet(requestParameters, initOverrides) {
|
|
456
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
457
|
+
const response = yield this.apiV1StoreAdminProductsProductIdGetRaw(requestParameters, initOverrides);
|
|
458
|
+
return yield response.value();
|
|
459
|
+
});
|
|
460
|
+
}
|
|
461
|
+
/**
|
|
462
|
+
* Creates request options for apiV1StoreAdminProductsProductIdPatch without sending the request
|
|
463
|
+
*/
|
|
464
|
+
apiV1StoreAdminProductsProductIdPatchRequestOpts(requestParameters) {
|
|
352
465
|
return __awaiter(this, void 0, void 0, function* () {
|
|
353
466
|
if (requestParameters['productId'] == null) {
|
|
354
467
|
throw new runtime.RequiredError('productId', 'Required parameter "productId" was null or undefined when calling apiV1StoreAdminProductsProductIdPatch().');
|
|
@@ -371,13 +484,23 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
371
484
|
}
|
|
372
485
|
let urlPath = `/api/v1/store/admin/products/{productId}`;
|
|
373
486
|
urlPath = urlPath.replace(`{${"productId"}}`, encodeURIComponent(String(requestParameters['productId'])));
|
|
374
|
-
|
|
487
|
+
return {
|
|
375
488
|
path: urlPath,
|
|
376
489
|
method: 'PATCH',
|
|
377
490
|
headers: headerParameters,
|
|
378
491
|
query: queryParameters,
|
|
379
492
|
body: ApiV1StoreAdminProductsProductIdPatchRequestToJSON(requestParameters['apiV1StoreAdminProductsProductIdPatchRequest']),
|
|
380
|
-
}
|
|
493
|
+
};
|
|
494
|
+
});
|
|
495
|
+
}
|
|
496
|
+
/**
|
|
497
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>)
|
|
498
|
+
* Modify the metadata for a given product.
|
|
499
|
+
*/
|
|
500
|
+
apiV1StoreAdminProductsProductIdPatchRaw(requestParameters, initOverrides) {
|
|
501
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
502
|
+
const requestOptions = yield this.apiV1StoreAdminProductsProductIdPatchRequestOpts(requestParameters);
|
|
503
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
381
504
|
return new runtime.JSONApiResponse(response, (jsonValue) => ApiV1StoreAdminProductsProductIdPatch200ResponseFromJSON(jsonValue));
|
|
382
505
|
});
|
|
383
506
|
}
|
|
@@ -392,9 +515,9 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
392
515
|
});
|
|
393
516
|
}
|
|
394
517
|
/**
|
|
395
|
-
*
|
|
518
|
+
* Creates request options for apiV1StoreCheckoutPost without sending the request
|
|
396
519
|
*/
|
|
397
|
-
|
|
520
|
+
apiV1StoreCheckoutPostRequestOpts(requestParameters) {
|
|
398
521
|
return __awaiter(this, void 0, void 0, function* () {
|
|
399
522
|
if (requestParameters['xTurnstileResponse'] == null) {
|
|
400
523
|
throw new runtime.RequiredError('xTurnstileResponse', 'Required parameter "xTurnstileResponse" was null or undefined when calling apiV1StoreCheckoutPost().');
|
|
@@ -412,13 +535,22 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
412
535
|
headerParameters['x-turnstile-response'] = String(requestParameters['xTurnstileResponse']);
|
|
413
536
|
}
|
|
414
537
|
let urlPath = `/api/v1/store/checkout`;
|
|
415
|
-
|
|
538
|
+
return {
|
|
416
539
|
path: urlPath,
|
|
417
540
|
method: 'POST',
|
|
418
541
|
headers: headerParameters,
|
|
419
542
|
query: queryParameters,
|
|
420
543
|
body: ApiV1StoreCheckoutPostRequestToJSON(requestParameters['apiV1StoreCheckoutPostRequest']),
|
|
421
|
-
}
|
|
544
|
+
};
|
|
545
|
+
});
|
|
546
|
+
}
|
|
547
|
+
/**
|
|
548
|
+
* Create a checkout session for purchasing items.
|
|
549
|
+
*/
|
|
550
|
+
apiV1StoreCheckoutPostRaw(requestParameters, initOverrides) {
|
|
551
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
552
|
+
const requestOptions = yield this.apiV1StoreCheckoutPostRequestOpts(requestParameters);
|
|
553
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
422
554
|
return new runtime.JSONApiResponse(response, (jsonValue) => ApiV1StoreCheckoutPost201ResponseFromJSON(jsonValue));
|
|
423
555
|
});
|
|
424
556
|
}
|
|
@@ -432,19 +564,28 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
432
564
|
});
|
|
433
565
|
}
|
|
434
566
|
/**
|
|
435
|
-
*
|
|
567
|
+
* Creates request options for apiV1StoreProductsGet without sending the request
|
|
436
568
|
*/
|
|
437
|
-
|
|
569
|
+
apiV1StoreProductsGetRequestOpts() {
|
|
438
570
|
return __awaiter(this, void 0, void 0, function* () {
|
|
439
571
|
const queryParameters = {};
|
|
440
572
|
const headerParameters = {};
|
|
441
573
|
let urlPath = `/api/v1/store/products`;
|
|
442
|
-
|
|
574
|
+
return {
|
|
443
575
|
path: urlPath,
|
|
444
576
|
method: 'GET',
|
|
445
577
|
headers: headerParameters,
|
|
446
578
|
query: queryParameters,
|
|
447
|
-
}
|
|
579
|
+
};
|
|
580
|
+
});
|
|
581
|
+
}
|
|
582
|
+
/**
|
|
583
|
+
* List all available products in the store.
|
|
584
|
+
*/
|
|
585
|
+
apiV1StoreProductsGetRaw(initOverrides) {
|
|
586
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
587
|
+
const requestOptions = yield this.apiV1StoreProductsGetRequestOpts();
|
|
588
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
448
589
|
return new runtime.JSONApiResponse(response, (jsonValue) => ApiV1StoreProductsGet200ResponseFromJSON(jsonValue));
|
|
449
590
|
});
|
|
450
591
|
}
|
|
@@ -458,9 +599,9 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
458
599
|
});
|
|
459
600
|
}
|
|
460
601
|
/**
|
|
461
|
-
*
|
|
602
|
+
* Creates request options for apiV1StoreProductsProductIdGet without sending the request
|
|
462
603
|
*/
|
|
463
|
-
|
|
604
|
+
apiV1StoreProductsProductIdGetRequestOpts(requestParameters) {
|
|
464
605
|
return __awaiter(this, void 0, void 0, function* () {
|
|
465
606
|
if (requestParameters['productId'] == null) {
|
|
466
607
|
throw new runtime.RequiredError('productId', 'Required parameter "productId" was null or undefined when calling apiV1StoreProductsProductIdGet().');
|
|
@@ -469,12 +610,21 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
469
610
|
const headerParameters = {};
|
|
470
611
|
let urlPath = `/api/v1/store/products/{productId}`;
|
|
471
612
|
urlPath = urlPath.replace(`{${"productId"}}`, encodeURIComponent(String(requestParameters['productId'])));
|
|
472
|
-
|
|
613
|
+
return {
|
|
473
614
|
path: urlPath,
|
|
474
615
|
method: 'GET',
|
|
475
616
|
headers: headerParameters,
|
|
476
617
|
query: queryParameters,
|
|
477
|
-
}
|
|
618
|
+
};
|
|
619
|
+
});
|
|
620
|
+
}
|
|
621
|
+
/**
|
|
622
|
+
* Get details of a specific product.
|
|
623
|
+
*/
|
|
624
|
+
apiV1StoreProductsProductIdGetRaw(requestParameters, initOverrides) {
|
|
625
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
626
|
+
const requestOptions = yield this.apiV1StoreProductsProductIdGetRequestOpts(requestParameters);
|
|
627
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
478
628
|
return new runtime.JSONApiResponse(response, (jsonValue) => ApiV1StoreProductsProductIdGet200ResponseFromJSON(jsonValue));
|
|
479
629
|
});
|
|
480
630
|
}
|