@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
package/dist/apis/StoreApi.d.ts
CHANGED
|
@@ -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
|
*/
|
package/dist/apis/StoreApi.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.0
|
|
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 StoreApi extends runtime.BaseAPI {
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
34
|
-
* Get order details for management.
|
|
33
|
+
* Creates request options for apiV1StoreAdminOrderOrderIdGet without sending the request
|
|
35
34
|
*/
|
|
36
|
-
|
|
35
|
+
apiV1StoreAdminOrderOrderIdGetRequestOpts(requestParameters) {
|
|
37
36
|
return __awaiter(this, void 0, void 0, function* () {
|
|
38
37
|
if (requestParameters['orderId'] == null) {
|
|
39
38
|
throw new runtime.RequiredError('orderId', 'Required parameter "orderId" was null or undefined when calling apiV1StoreAdminOrderOrderIdGet().');
|
|
@@ -52,12 +51,22 @@ class StoreApi extends runtime.BaseAPI {
|
|
|
52
51
|
}
|
|
53
52
|
let urlPath = `/api/v1/store/admin/order/{orderId}`;
|
|
54
53
|
urlPath = urlPath.replace(`{${"orderId"}}`, encodeURIComponent(String(requestParameters['orderId'])));
|
|
55
|
-
|
|
54
|
+
return {
|
|
56
55
|
path: urlPath,
|
|
57
56
|
method: 'GET',
|
|
58
57
|
headers: headerParameters,
|
|
59
58
|
query: queryParameters,
|
|
60
|
-
}
|
|
59
|
+
};
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>) * Store Fulfillment (<code>fulfill:store</code>)
|
|
64
|
+
* Get order details for management.
|
|
65
|
+
*/
|
|
66
|
+
apiV1StoreAdminOrderOrderIdGetRaw(requestParameters, initOverrides) {
|
|
67
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
68
|
+
const requestOptions = yield this.apiV1StoreAdminOrderOrderIdGetRequestOpts(requestParameters);
|
|
69
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
61
70
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_js_1.ApiV1StoreAdminOrdersFetchUserOrdersPost200ResponseInnerFromJSON)(jsonValue));
|
|
62
71
|
});
|
|
63
72
|
}
|
|
@@ -72,10 +81,9 @@ class StoreApi extends runtime.BaseAPI {
|
|
|
72
81
|
});
|
|
73
82
|
}
|
|
74
83
|
/**
|
|
75
|
-
*
|
|
76
|
-
* Fetch a user\'s orders.
|
|
84
|
+
* Creates request options for apiV1StoreAdminOrdersFetchUserOrdersPost without sending the request
|
|
77
85
|
*/
|
|
78
|
-
|
|
86
|
+
apiV1StoreAdminOrdersFetchUserOrdersPostRequestOpts(requestParameters) {
|
|
79
87
|
return __awaiter(this, void 0, void 0, function* () {
|
|
80
88
|
if (requestParameters['apiV1StoreAdminOrdersFetchUserOrdersPostRequest'] == null) {
|
|
81
89
|
throw new runtime.RequiredError('apiV1StoreAdminOrdersFetchUserOrdersPostRequest', 'Required parameter "apiV1StoreAdminOrdersFetchUserOrdersPostRequest" was null or undefined when calling apiV1StoreAdminOrdersFetchUserOrdersPost().');
|
|
@@ -100,13 +108,23 @@ class StoreApi extends runtime.BaseAPI {
|
|
|
100
108
|
headerParameters["X-Api-Key"] = yield this.configuration.apiKey("X-Api-Key"); // apiKeyHeader authentication
|
|
101
109
|
}
|
|
102
110
|
let urlPath = `/api/v1/store/admin/orders/fetchUserOrders`;
|
|
103
|
-
|
|
111
|
+
return {
|
|
104
112
|
path: urlPath,
|
|
105
113
|
method: 'POST',
|
|
106
114
|
headers: headerParameters,
|
|
107
115
|
query: queryParameters,
|
|
108
116
|
body: (0, index_js_1.ApiV1StoreAdminOrdersFetchUserOrdersPostRequestToJSON)(requestParameters['apiV1StoreAdminOrdersFetchUserOrdersPostRequest']),
|
|
109
|
-
}
|
|
117
|
+
};
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>) * Store Fulfillment (<code>fulfill:store</code>)
|
|
122
|
+
* Fetch a user\'s orders.
|
|
123
|
+
*/
|
|
124
|
+
apiV1StoreAdminOrdersFetchUserOrdersPostRaw(requestParameters, initOverrides) {
|
|
125
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
126
|
+
const requestOptions = yield this.apiV1StoreAdminOrdersFetchUserOrdersPostRequestOpts(requestParameters);
|
|
127
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
110
128
|
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_js_1.ApiV1StoreAdminOrdersFetchUserOrdersPost200ResponseInnerFromJSON));
|
|
111
129
|
});
|
|
112
130
|
}
|
|
@@ -121,10 +139,9 @@ class StoreApi extends runtime.BaseAPI {
|
|
|
121
139
|
});
|
|
122
140
|
}
|
|
123
141
|
/**
|
|
124
|
-
*
|
|
125
|
-
* Fulfill an order\'s line items.
|
|
142
|
+
* Creates request options for apiV1StoreAdminOrdersOrderIdFulfillPost without sending the request
|
|
126
143
|
*/
|
|
127
|
-
|
|
144
|
+
apiV1StoreAdminOrdersOrderIdFulfillPostRequestOpts(requestParameters) {
|
|
128
145
|
return __awaiter(this, void 0, void 0, function* () {
|
|
129
146
|
if (requestParameters['orderId'] == null) {
|
|
130
147
|
throw new runtime.RequiredError('orderId', 'Required parameter "orderId" was null or undefined when calling apiV1StoreAdminOrdersOrderIdFulfillPost().');
|
|
@@ -147,13 +164,23 @@ class StoreApi extends runtime.BaseAPI {
|
|
|
147
164
|
}
|
|
148
165
|
let urlPath = `/api/v1/store/admin/orders/{orderId}/fulfill`;
|
|
149
166
|
urlPath = urlPath.replace(`{${"orderId"}}`, encodeURIComponent(String(requestParameters['orderId'])));
|
|
150
|
-
|
|
167
|
+
return {
|
|
151
168
|
path: urlPath,
|
|
152
169
|
method: 'POST',
|
|
153
170
|
headers: headerParameters,
|
|
154
171
|
query: queryParameters,
|
|
155
172
|
body: (0, index_js_1.ApiV1StoreAdminOrdersOrderIdFulfillPostRequestToJSON)(requestParameters['apiV1StoreAdminOrdersOrderIdFulfillPostRequest']),
|
|
156
|
-
}
|
|
173
|
+
};
|
|
174
|
+
});
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>) * Store Fulfillment (<code>fulfill:store</code>)
|
|
178
|
+
* Fulfill an order\'s line items.
|
|
179
|
+
*/
|
|
180
|
+
apiV1StoreAdminOrdersOrderIdFulfillPostRaw(requestParameters, initOverrides) {
|
|
181
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
182
|
+
const requestOptions = yield this.apiV1StoreAdminOrdersOrderIdFulfillPostRequestOpts(requestParameters);
|
|
183
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
157
184
|
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
158
185
|
return new runtime.JSONApiResponse(response);
|
|
159
186
|
}
|
|
@@ -173,10 +200,9 @@ class StoreApi extends runtime.BaseAPI {
|
|
|
173
200
|
});
|
|
174
201
|
}
|
|
175
202
|
/**
|
|
176
|
-
*
|
|
177
|
-
* Refund an order.
|
|
203
|
+
* Creates request options for apiV1StoreAdminOrdersOrderIdRefundPost without sending the request
|
|
178
204
|
*/
|
|
179
|
-
|
|
205
|
+
apiV1StoreAdminOrdersOrderIdRefundPostRequestOpts(requestParameters) {
|
|
180
206
|
return __awaiter(this, void 0, void 0, function* () {
|
|
181
207
|
if (requestParameters['orderId'] == null) {
|
|
182
208
|
throw new runtime.RequiredError('orderId', 'Required parameter "orderId" was null or undefined when calling apiV1StoreAdminOrdersOrderIdRefundPost().');
|
|
@@ -199,13 +225,23 @@ class StoreApi extends runtime.BaseAPI {
|
|
|
199
225
|
}
|
|
200
226
|
let urlPath = `/api/v1/store/admin/orders/{orderId}/refund`;
|
|
201
227
|
urlPath = urlPath.replace(`{${"orderId"}}`, encodeURIComponent(String(requestParameters['orderId'])));
|
|
202
|
-
|
|
228
|
+
return {
|
|
203
229
|
path: urlPath,
|
|
204
230
|
method: 'POST',
|
|
205
231
|
headers: headerParameters,
|
|
206
232
|
query: queryParameters,
|
|
207
233
|
body: (0, index_js_1.ApiV1StoreAdminOrdersOrderIdRefundPostRequestToJSON)(requestParameters['apiV1StoreAdminOrdersOrderIdRefundPostRequest']),
|
|
208
|
-
}
|
|
234
|
+
};
|
|
235
|
+
});
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>)
|
|
239
|
+
* Refund an order.
|
|
240
|
+
*/
|
|
241
|
+
apiV1StoreAdminOrdersOrderIdRefundPostRaw(requestParameters, initOverrides) {
|
|
242
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
243
|
+
const requestOptions = yield this.apiV1StoreAdminOrdersOrderIdRefundPostRequestOpts(requestParameters);
|
|
244
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
209
245
|
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
210
246
|
return new runtime.JSONApiResponse(response);
|
|
211
247
|
}
|
|
@@ -225,10 +261,9 @@ class StoreApi extends runtime.BaseAPI {
|
|
|
225
261
|
});
|
|
226
262
|
}
|
|
227
263
|
/**
|
|
228
|
-
*
|
|
229
|
-
* List all orders/line items for a given product.
|
|
264
|
+
* Creates request options for apiV1StoreAdminOrdersProductIdGet without sending the request
|
|
230
265
|
*/
|
|
231
|
-
|
|
266
|
+
apiV1StoreAdminOrdersProductIdGetRequestOpts(requestParameters) {
|
|
232
267
|
return __awaiter(this, void 0, void 0, function* () {
|
|
233
268
|
if (requestParameters['productId'] == null) {
|
|
234
269
|
throw new runtime.RequiredError('productId', 'Required parameter "productId" was null or undefined when calling apiV1StoreAdminOrdersProductIdGet().');
|
|
@@ -247,17 +282,27 @@ class StoreApi extends runtime.BaseAPI {
|
|
|
247
282
|
}
|
|
248
283
|
let urlPath = `/api/v1/store/admin/orders/{productId}`;
|
|
249
284
|
urlPath = urlPath.replace(`{${"productId"}}`, encodeURIComponent(String(requestParameters['productId'])));
|
|
250
|
-
|
|
285
|
+
return {
|
|
251
286
|
path: urlPath,
|
|
252
287
|
method: 'GET',
|
|
253
288
|
headers: headerParameters,
|
|
254
289
|
query: queryParameters,
|
|
255
|
-
}
|
|
290
|
+
};
|
|
291
|
+
});
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>)
|
|
295
|
+
* List all orders/line items for a given product.
|
|
296
|
+
*/
|
|
297
|
+
apiV1StoreAdminOrdersProductIdGetRaw(requestParameters, initOverrides) {
|
|
298
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
299
|
+
const requestOptions = yield this.apiV1StoreAdminOrdersProductIdGetRequestOpts(requestParameters);
|
|
300
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
256
301
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_js_1.ApiV1StoreAdminOrdersProductIdGet200ResponseFromJSON)(jsonValue));
|
|
257
302
|
});
|
|
258
303
|
}
|
|
259
304
|
/**
|
|
260
|
-
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>)
|
|
305
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>)
|
|
261
306
|
* List all orders/line items for a given product.
|
|
262
307
|
*/
|
|
263
308
|
apiV1StoreAdminOrdersProductIdGet(requestParameters, initOverrides) {
|
|
@@ -267,10 +312,9 @@ class StoreApi extends runtime.BaseAPI {
|
|
|
267
312
|
});
|
|
268
313
|
}
|
|
269
314
|
/**
|
|
270
|
-
*
|
|
271
|
-
* List all products (including inactive) for management.
|
|
315
|
+
* Creates request options for apiV1StoreAdminProductsGet without sending the request
|
|
272
316
|
*/
|
|
273
|
-
|
|
317
|
+
apiV1StoreAdminProductsGetRequestOpts() {
|
|
274
318
|
return __awaiter(this, void 0, void 0, function* () {
|
|
275
319
|
const queryParameters = {};
|
|
276
320
|
const headerParameters = {};
|
|
@@ -285,12 +329,22 @@ class StoreApi extends runtime.BaseAPI {
|
|
|
285
329
|
headerParameters["X-Api-Key"] = yield this.configuration.apiKey("X-Api-Key"); // apiKeyHeader authentication
|
|
286
330
|
}
|
|
287
331
|
let urlPath = `/api/v1/store/admin/products`;
|
|
288
|
-
|
|
332
|
+
return {
|
|
289
333
|
path: urlPath,
|
|
290
334
|
method: 'GET',
|
|
291
335
|
headers: headerParameters,
|
|
292
336
|
query: queryParameters,
|
|
293
|
-
}
|
|
337
|
+
};
|
|
338
|
+
});
|
|
339
|
+
}
|
|
340
|
+
/**
|
|
341
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>) * Store Fulfillment (<code>fulfill:store</code>)
|
|
342
|
+
* List all products (including inactive) for management.
|
|
343
|
+
*/
|
|
344
|
+
apiV1StoreAdminProductsGetRaw(initOverrides) {
|
|
345
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
346
|
+
const requestOptions = yield this.apiV1StoreAdminProductsGetRequestOpts();
|
|
347
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
294
348
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_js_1.ApiV1StoreAdminProductsGet200ResponseFromJSON)(jsonValue));
|
|
295
349
|
});
|
|
296
350
|
}
|
|
@@ -305,10 +359,9 @@ class StoreApi extends runtime.BaseAPI {
|
|
|
305
359
|
});
|
|
306
360
|
}
|
|
307
361
|
/**
|
|
308
|
-
*
|
|
309
|
-
* Create a new product with variants.
|
|
362
|
+
* Creates request options for apiV1StoreAdminProductsPost without sending the request
|
|
310
363
|
*/
|
|
311
|
-
|
|
364
|
+
apiV1StoreAdminProductsPostRequestOpts(requestParameters) {
|
|
312
365
|
return __awaiter(this, void 0, void 0, function* () {
|
|
313
366
|
if (requestParameters['apiV1StoreAdminProductsPostRequest'] == null) {
|
|
314
367
|
throw new runtime.RequiredError('apiV1StoreAdminProductsPostRequest', 'Required parameter "apiV1StoreAdminProductsPostRequest" was null or undefined when calling apiV1StoreAdminProductsPost().');
|
|
@@ -327,13 +380,23 @@ class StoreApi extends runtime.BaseAPI {
|
|
|
327
380
|
headerParameters["X-Api-Key"] = yield this.configuration.apiKey("X-Api-Key"); // apiKeyHeader authentication
|
|
328
381
|
}
|
|
329
382
|
let urlPath = `/api/v1/store/admin/products`;
|
|
330
|
-
|
|
383
|
+
return {
|
|
331
384
|
path: urlPath,
|
|
332
385
|
method: 'POST',
|
|
333
386
|
headers: headerParameters,
|
|
334
387
|
query: queryParameters,
|
|
335
388
|
body: (0, index_js_1.ApiV1StoreAdminProductsPostRequestToJSON)(requestParameters['apiV1StoreAdminProductsPostRequest']),
|
|
336
|
-
}
|
|
389
|
+
};
|
|
390
|
+
});
|
|
391
|
+
}
|
|
392
|
+
/**
|
|
393
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>)
|
|
394
|
+
* Create a new product with variants.
|
|
395
|
+
*/
|
|
396
|
+
apiV1StoreAdminProductsPostRaw(requestParameters, initOverrides) {
|
|
397
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
398
|
+
const requestOptions = yield this.apiV1StoreAdminProductsPostRequestOpts(requestParameters);
|
|
399
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
337
400
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_js_1.ApiV1StoreAdminProductsPost201ResponseFromJSON)(jsonValue));
|
|
338
401
|
});
|
|
339
402
|
}
|
|
@@ -348,10 +411,60 @@ class StoreApi extends runtime.BaseAPI {
|
|
|
348
411
|
});
|
|
349
412
|
}
|
|
350
413
|
/**
|
|
351
|
-
*
|
|
352
|
-
* Modify the metadata for a given product.
|
|
414
|
+
* Creates request options for apiV1StoreAdminProductsProductIdGet without sending the request
|
|
353
415
|
*/
|
|
354
|
-
|
|
416
|
+
apiV1StoreAdminProductsProductIdGetRequestOpts(requestParameters) {
|
|
417
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
418
|
+
if (requestParameters['productId'] == null) {
|
|
419
|
+
throw new runtime.RequiredError('productId', 'Required parameter "productId" was null or undefined when calling apiV1StoreAdminProductsProductIdGet().');
|
|
420
|
+
}
|
|
421
|
+
const queryParameters = {};
|
|
422
|
+
const headerParameters = {};
|
|
423
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
424
|
+
const token = this.configuration.accessToken;
|
|
425
|
+
const tokenString = yield token("httpBearer", []);
|
|
426
|
+
if (tokenString) {
|
|
427
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
431
|
+
headerParameters["X-Api-Key"] = yield this.configuration.apiKey("X-Api-Key"); // apiKeyHeader authentication
|
|
432
|
+
}
|
|
433
|
+
let urlPath = `/api/v1/store/admin/products/{productId}`;
|
|
434
|
+
urlPath = urlPath.replace(`{${"productId"}}`, encodeURIComponent(String(requestParameters['productId'])));
|
|
435
|
+
return {
|
|
436
|
+
path: urlPath,
|
|
437
|
+
method: 'GET',
|
|
438
|
+
headers: headerParameters,
|
|
439
|
+
query: queryParameters,
|
|
440
|
+
};
|
|
441
|
+
});
|
|
442
|
+
}
|
|
443
|
+
/**
|
|
444
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>) * Store Fulfillment (<code>fulfill:store</code>)
|
|
445
|
+
* Get details of a specific product for management.
|
|
446
|
+
*/
|
|
447
|
+
apiV1StoreAdminProductsProductIdGetRaw(requestParameters, initOverrides) {
|
|
448
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
449
|
+
const requestOptions = yield this.apiV1StoreAdminProductsProductIdGetRequestOpts(requestParameters);
|
|
450
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
451
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_js_1.ApiV1StoreAdminProductsProductIdGet200ResponseFromJSON)(jsonValue));
|
|
452
|
+
});
|
|
453
|
+
}
|
|
454
|
+
/**
|
|
455
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>) * Store Fulfillment (<code>fulfill:store</code>)
|
|
456
|
+
* Get details of a specific product for management.
|
|
457
|
+
*/
|
|
458
|
+
apiV1StoreAdminProductsProductIdGet(requestParameters, initOverrides) {
|
|
459
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
460
|
+
const response = yield this.apiV1StoreAdminProductsProductIdGetRaw(requestParameters, initOverrides);
|
|
461
|
+
return yield response.value();
|
|
462
|
+
});
|
|
463
|
+
}
|
|
464
|
+
/**
|
|
465
|
+
* Creates request options for apiV1StoreAdminProductsProductIdPatch without sending the request
|
|
466
|
+
*/
|
|
467
|
+
apiV1StoreAdminProductsProductIdPatchRequestOpts(requestParameters) {
|
|
355
468
|
return __awaiter(this, void 0, void 0, function* () {
|
|
356
469
|
if (requestParameters['productId'] == null) {
|
|
357
470
|
throw new runtime.RequiredError('productId', 'Required parameter "productId" was null or undefined when calling apiV1StoreAdminProductsProductIdPatch().');
|
|
@@ -374,13 +487,23 @@ class StoreApi extends runtime.BaseAPI {
|
|
|
374
487
|
}
|
|
375
488
|
let urlPath = `/api/v1/store/admin/products/{productId}`;
|
|
376
489
|
urlPath = urlPath.replace(`{${"productId"}}`, encodeURIComponent(String(requestParameters['productId'])));
|
|
377
|
-
|
|
490
|
+
return {
|
|
378
491
|
path: urlPath,
|
|
379
492
|
method: 'PATCH',
|
|
380
493
|
headers: headerParameters,
|
|
381
494
|
query: queryParameters,
|
|
382
495
|
body: (0, index_js_1.ApiV1StoreAdminProductsProductIdPatchRequestToJSON)(requestParameters['apiV1StoreAdminProductsProductIdPatchRequest']),
|
|
383
|
-
}
|
|
496
|
+
};
|
|
497
|
+
});
|
|
498
|
+
}
|
|
499
|
+
/**
|
|
500
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>)
|
|
501
|
+
* Modify the metadata for a given product.
|
|
502
|
+
*/
|
|
503
|
+
apiV1StoreAdminProductsProductIdPatchRaw(requestParameters, initOverrides) {
|
|
504
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
505
|
+
const requestOptions = yield this.apiV1StoreAdminProductsProductIdPatchRequestOpts(requestParameters);
|
|
506
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
384
507
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_js_1.ApiV1StoreAdminProductsProductIdPatch200ResponseFromJSON)(jsonValue));
|
|
385
508
|
});
|
|
386
509
|
}
|
|
@@ -395,9 +518,9 @@ class StoreApi extends runtime.BaseAPI {
|
|
|
395
518
|
});
|
|
396
519
|
}
|
|
397
520
|
/**
|
|
398
|
-
*
|
|
521
|
+
* Creates request options for apiV1StoreCheckoutPost without sending the request
|
|
399
522
|
*/
|
|
400
|
-
|
|
523
|
+
apiV1StoreCheckoutPostRequestOpts(requestParameters) {
|
|
401
524
|
return __awaiter(this, void 0, void 0, function* () {
|
|
402
525
|
if (requestParameters['xTurnstileResponse'] == null) {
|
|
403
526
|
throw new runtime.RequiredError('xTurnstileResponse', 'Required parameter "xTurnstileResponse" was null or undefined when calling apiV1StoreCheckoutPost().');
|
|
@@ -415,13 +538,22 @@ class StoreApi extends runtime.BaseAPI {
|
|
|
415
538
|
headerParameters['x-turnstile-response'] = String(requestParameters['xTurnstileResponse']);
|
|
416
539
|
}
|
|
417
540
|
let urlPath = `/api/v1/store/checkout`;
|
|
418
|
-
|
|
541
|
+
return {
|
|
419
542
|
path: urlPath,
|
|
420
543
|
method: 'POST',
|
|
421
544
|
headers: headerParameters,
|
|
422
545
|
query: queryParameters,
|
|
423
546
|
body: (0, index_js_1.ApiV1StoreCheckoutPostRequestToJSON)(requestParameters['apiV1StoreCheckoutPostRequest']),
|
|
424
|
-
}
|
|
547
|
+
};
|
|
548
|
+
});
|
|
549
|
+
}
|
|
550
|
+
/**
|
|
551
|
+
* Create a checkout session for purchasing items.
|
|
552
|
+
*/
|
|
553
|
+
apiV1StoreCheckoutPostRaw(requestParameters, initOverrides) {
|
|
554
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
555
|
+
const requestOptions = yield this.apiV1StoreCheckoutPostRequestOpts(requestParameters);
|
|
556
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
425
557
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_js_1.ApiV1StoreCheckoutPost201ResponseFromJSON)(jsonValue));
|
|
426
558
|
});
|
|
427
559
|
}
|
|
@@ -435,19 +567,28 @@ class StoreApi extends runtime.BaseAPI {
|
|
|
435
567
|
});
|
|
436
568
|
}
|
|
437
569
|
/**
|
|
438
|
-
*
|
|
570
|
+
* Creates request options for apiV1StoreProductsGet without sending the request
|
|
439
571
|
*/
|
|
440
|
-
|
|
572
|
+
apiV1StoreProductsGetRequestOpts() {
|
|
441
573
|
return __awaiter(this, void 0, void 0, function* () {
|
|
442
574
|
const queryParameters = {};
|
|
443
575
|
const headerParameters = {};
|
|
444
576
|
let urlPath = `/api/v1/store/products`;
|
|
445
|
-
|
|
577
|
+
return {
|
|
446
578
|
path: urlPath,
|
|
447
579
|
method: 'GET',
|
|
448
580
|
headers: headerParameters,
|
|
449
581
|
query: queryParameters,
|
|
450
|
-
}
|
|
582
|
+
};
|
|
583
|
+
});
|
|
584
|
+
}
|
|
585
|
+
/**
|
|
586
|
+
* List all available products in the store.
|
|
587
|
+
*/
|
|
588
|
+
apiV1StoreProductsGetRaw(initOverrides) {
|
|
589
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
590
|
+
const requestOptions = yield this.apiV1StoreProductsGetRequestOpts();
|
|
591
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
451
592
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_js_1.ApiV1StoreProductsGet200ResponseFromJSON)(jsonValue));
|
|
452
593
|
});
|
|
453
594
|
}
|
|
@@ -461,9 +602,9 @@ class StoreApi extends runtime.BaseAPI {
|
|
|
461
602
|
});
|
|
462
603
|
}
|
|
463
604
|
/**
|
|
464
|
-
*
|
|
605
|
+
* Creates request options for apiV1StoreProductsProductIdGet without sending the request
|
|
465
606
|
*/
|
|
466
|
-
|
|
607
|
+
apiV1StoreProductsProductIdGetRequestOpts(requestParameters) {
|
|
467
608
|
return __awaiter(this, void 0, void 0, function* () {
|
|
468
609
|
if (requestParameters['productId'] == null) {
|
|
469
610
|
throw new runtime.RequiredError('productId', 'Required parameter "productId" was null or undefined when calling apiV1StoreProductsProductIdGet().');
|
|
@@ -472,12 +613,21 @@ class StoreApi extends runtime.BaseAPI {
|
|
|
472
613
|
const headerParameters = {};
|
|
473
614
|
let urlPath = `/api/v1/store/products/{productId}`;
|
|
474
615
|
urlPath = urlPath.replace(`{${"productId"}}`, encodeURIComponent(String(requestParameters['productId'])));
|
|
475
|
-
|
|
616
|
+
return {
|
|
476
617
|
path: urlPath,
|
|
477
618
|
method: 'GET',
|
|
478
619
|
headers: headerParameters,
|
|
479
620
|
query: queryParameters,
|
|
480
|
-
}
|
|
621
|
+
};
|
|
622
|
+
});
|
|
623
|
+
}
|
|
624
|
+
/**
|
|
625
|
+
* Get details of a specific product.
|
|
626
|
+
*/
|
|
627
|
+
apiV1StoreProductsProductIdGetRaw(requestParameters, initOverrides) {
|
|
628
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
629
|
+
const requestOptions = yield this.apiV1StoreProductsProductIdGetRequestOpts(requestParameters);
|
|
630
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
481
631
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_js_1.ApiV1StoreProductsProductIdGet200ResponseFromJSON)(jsonValue));
|
|
482
632
|
});
|
|
483
633
|
}
|