@acm-uiuc/core-client 4.4.2 → 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 +5 -2
- package/.openapi-generator/VERSION +1 -1
- package/README.md +11 -6
- 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 +95 -8
- package/dist/apis/StoreApi.js +260 -51
- 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 +95 -8
- package/dist/esm/apis/StoreApi.js +260 -51
- 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 +98 -0
- package/dist/esm/models/{ApiV1StoreAdminOrderOrderIdGet200Response.js → ApiV1StoreAdminOrdersFetchUserOrdersPost200ResponseInner.js} +13 -13
- package/dist/esm/models/ApiV1StoreAdminOrdersFetchUserOrdersPost200ResponseInnerLineItemsInner.d.ts +109 -0
- package/dist/esm/models/{ApiV1StoreAdminOrderOrderIdGet200ResponseLineItemsInner.js → ApiV1StoreAdminOrdersFetchUserOrdersPost200ResponseInnerLineItemsInner.js} +10 -10
- package/dist/esm/models/ApiV1StoreAdminOrdersFetchUserOrdersPostRequest.d.ts +45 -0
- package/dist/esm/models/ApiV1StoreAdminOrdersFetchUserOrdersPostRequest.js +53 -0
- 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 +5 -2
- package/dist/esm/models/index.js +5 -2
- 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 +98 -0
- package/dist/models/{ApiV1StoreAdminOrderOrderIdGet200Response.js → ApiV1StoreAdminOrdersFetchUserOrdersPost200ResponseInner.js} +19 -19
- package/dist/models/ApiV1StoreAdminOrdersFetchUserOrdersPost200ResponseInnerLineItemsInner.d.ts +109 -0
- package/dist/models/{ApiV1StoreAdminOrderOrderIdGet200ResponseLineItemsInner.js → ApiV1StoreAdminOrdersFetchUserOrdersPost200ResponseInnerLineItemsInner.js} +16 -16
- package/dist/models/ApiV1StoreAdminOrdersFetchUserOrdersPostRequest.d.ts +45 -0
- package/dist/models/ApiV1StoreAdminOrdersFetchUserOrdersPostRequest.js +61 -0
- 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 +5 -2
- package/dist/models/index.js +5 -2
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/dist/esm/models/ApiV1StoreAdminOrderOrderIdGet200Response.d.ts +0 -98
- package/dist/esm/models/ApiV1StoreAdminOrderOrderIdGet200ResponseLineItemsInner.d.ts +0 -109
- package/dist/models/ApiV1StoreAdminOrderOrderIdGet200Response.d.ts +0 -98
- package/dist/models/ApiV1StoreAdminOrderOrderIdGet200ResponseLineItemsInner.d.ts +0 -109
|
@@ -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 {
|
|
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,13 +48,23 @@ 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
|
-
}
|
|
58
|
-
|
|
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);
|
|
67
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiV1StoreAdminOrdersFetchUserOrdersPost200ResponseInnerFromJSON(jsonValue));
|
|
59
68
|
});
|
|
60
69
|
}
|
|
61
70
|
/**
|
|
@@ -68,11 +77,68 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
68
77
|
return yield response.value();
|
|
69
78
|
});
|
|
70
79
|
}
|
|
80
|
+
/**
|
|
81
|
+
* Creates request options for apiV1StoreAdminOrdersFetchUserOrdersPost without sending the request
|
|
82
|
+
*/
|
|
83
|
+
apiV1StoreAdminOrdersFetchUserOrdersPostRequestOpts(requestParameters) {
|
|
84
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
85
|
+
if (requestParameters['apiV1StoreAdminOrdersFetchUserOrdersPostRequest'] == null) {
|
|
86
|
+
throw new runtime.RequiredError('apiV1StoreAdminOrdersFetchUserOrdersPostRequest', 'Required parameter "apiV1StoreAdminOrdersFetchUserOrdersPostRequest" was null or undefined when calling apiV1StoreAdminOrdersFetchUserOrdersPost().');
|
|
87
|
+
}
|
|
88
|
+
const queryParameters = {};
|
|
89
|
+
if (requestParameters['productId'] != null) {
|
|
90
|
+
queryParameters['productId'] = requestParameters['productId'];
|
|
91
|
+
}
|
|
92
|
+
if (requestParameters['orderStatus'] != null) {
|
|
93
|
+
queryParameters['orderStatus'] = requestParameters['orderStatus'];
|
|
94
|
+
}
|
|
95
|
+
const headerParameters = {};
|
|
96
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
97
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
98
|
+
const token = this.configuration.accessToken;
|
|
99
|
+
const tokenString = yield token("httpBearer", []);
|
|
100
|
+
if (tokenString) {
|
|
101
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
105
|
+
headerParameters["X-Api-Key"] = yield this.configuration.apiKey("X-Api-Key"); // apiKeyHeader authentication
|
|
106
|
+
}
|
|
107
|
+
let urlPath = `/api/v1/store/admin/orders/fetchUserOrders`;
|
|
108
|
+
return {
|
|
109
|
+
path: urlPath,
|
|
110
|
+
method: 'POST',
|
|
111
|
+
headers: headerParameters,
|
|
112
|
+
query: queryParameters,
|
|
113
|
+
body: ApiV1StoreAdminOrdersFetchUserOrdersPostRequestToJSON(requestParameters['apiV1StoreAdminOrdersFetchUserOrdersPostRequest']),
|
|
114
|
+
};
|
|
115
|
+
});
|
|
116
|
+
}
|
|
71
117
|
/**
|
|
72
118
|
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>) * Store Fulfillment (<code>fulfill:store</code>)
|
|
73
|
-
*
|
|
119
|
+
* Fetch a user\'s orders.
|
|
74
120
|
*/
|
|
75
|
-
|
|
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);
|
|
125
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(ApiV1StoreAdminOrdersFetchUserOrdersPost200ResponseInnerFromJSON));
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>) * Store Fulfillment (<code>fulfill:store</code>)
|
|
130
|
+
* Fetch a user\'s orders.
|
|
131
|
+
*/
|
|
132
|
+
apiV1StoreAdminOrdersFetchUserOrdersPost(requestParameters, initOverrides) {
|
|
133
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
134
|
+
const response = yield this.apiV1StoreAdminOrdersFetchUserOrdersPostRaw(requestParameters, initOverrides);
|
|
135
|
+
return yield response.value();
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Creates request options for apiV1StoreAdminOrdersOrderIdFulfillPost without sending the request
|
|
140
|
+
*/
|
|
141
|
+
apiV1StoreAdminOrdersOrderIdFulfillPostRequestOpts(requestParameters) {
|
|
76
142
|
return __awaiter(this, void 0, void 0, function* () {
|
|
77
143
|
if (requestParameters['orderId'] == null) {
|
|
78
144
|
throw new runtime.RequiredError('orderId', 'Required parameter "orderId" was null or undefined when calling apiV1StoreAdminOrdersOrderIdFulfillPost().');
|
|
@@ -95,13 +161,23 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
95
161
|
}
|
|
96
162
|
let urlPath = `/api/v1/store/admin/orders/{orderId}/fulfill`;
|
|
97
163
|
urlPath = urlPath.replace(`{${"orderId"}}`, encodeURIComponent(String(requestParameters['orderId'])));
|
|
98
|
-
|
|
164
|
+
return {
|
|
99
165
|
path: urlPath,
|
|
100
166
|
method: 'POST',
|
|
101
167
|
headers: headerParameters,
|
|
102
168
|
query: queryParameters,
|
|
103
169
|
body: ApiV1StoreAdminOrdersOrderIdFulfillPostRequestToJSON(requestParameters['apiV1StoreAdminOrdersOrderIdFulfillPostRequest']),
|
|
104
|
-
}
|
|
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);
|
|
105
181
|
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
106
182
|
return new runtime.JSONApiResponse(response);
|
|
107
183
|
}
|
|
@@ -121,10 +197,9 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
121
197
|
});
|
|
122
198
|
}
|
|
123
199
|
/**
|
|
124
|
-
*
|
|
125
|
-
* Refund an order.
|
|
200
|
+
* Creates request options for apiV1StoreAdminOrdersOrderIdRefundPost without sending the request
|
|
126
201
|
*/
|
|
127
|
-
|
|
202
|
+
apiV1StoreAdminOrdersOrderIdRefundPostRequestOpts(requestParameters) {
|
|
128
203
|
return __awaiter(this, void 0, void 0, function* () {
|
|
129
204
|
if (requestParameters['orderId'] == null) {
|
|
130
205
|
throw new runtime.RequiredError('orderId', 'Required parameter "orderId" was null or undefined when calling apiV1StoreAdminOrdersOrderIdRefundPost().');
|
|
@@ -147,13 +222,23 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
147
222
|
}
|
|
148
223
|
let urlPath = `/api/v1/store/admin/orders/{orderId}/refund`;
|
|
149
224
|
urlPath = urlPath.replace(`{${"orderId"}}`, encodeURIComponent(String(requestParameters['orderId'])));
|
|
150
|
-
|
|
225
|
+
return {
|
|
151
226
|
path: urlPath,
|
|
152
227
|
method: 'POST',
|
|
153
228
|
headers: headerParameters,
|
|
154
229
|
query: queryParameters,
|
|
155
230
|
body: ApiV1StoreAdminOrdersOrderIdRefundPostRequestToJSON(requestParameters['apiV1StoreAdminOrdersOrderIdRefundPostRequest']),
|
|
156
|
-
}
|
|
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);
|
|
157
242
|
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
158
243
|
return new runtime.JSONApiResponse(response);
|
|
159
244
|
}
|
|
@@ -173,10 +258,9 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
173
258
|
});
|
|
174
259
|
}
|
|
175
260
|
/**
|
|
176
|
-
*
|
|
177
|
-
* List all orders/line items for a given product.
|
|
261
|
+
* Creates request options for apiV1StoreAdminOrdersProductIdGet without sending the request
|
|
178
262
|
*/
|
|
179
|
-
|
|
263
|
+
apiV1StoreAdminOrdersProductIdGetRequestOpts(requestParameters) {
|
|
180
264
|
return __awaiter(this, void 0, void 0, function* () {
|
|
181
265
|
if (requestParameters['productId'] == null) {
|
|
182
266
|
throw new runtime.RequiredError('productId', 'Required parameter "productId" was null or undefined when calling apiV1StoreAdminOrdersProductIdGet().');
|
|
@@ -195,17 +279,27 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
195
279
|
}
|
|
196
280
|
let urlPath = `/api/v1/store/admin/orders/{productId}`;
|
|
197
281
|
urlPath = urlPath.replace(`{${"productId"}}`, encodeURIComponent(String(requestParameters['productId'])));
|
|
198
|
-
|
|
282
|
+
return {
|
|
199
283
|
path: urlPath,
|
|
200
284
|
method: 'GET',
|
|
201
285
|
headers: headerParameters,
|
|
202
286
|
query: queryParameters,
|
|
203
|
-
}
|
|
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);
|
|
204
298
|
return new runtime.JSONApiResponse(response, (jsonValue) => ApiV1StoreAdminOrdersProductIdGet200ResponseFromJSON(jsonValue));
|
|
205
299
|
});
|
|
206
300
|
}
|
|
207
301
|
/**
|
|
208
|
-
* #### 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>)
|
|
209
303
|
* List all orders/line items for a given product.
|
|
210
304
|
*/
|
|
211
305
|
apiV1StoreAdminOrdersProductIdGet(requestParameters, initOverrides) {
|
|
@@ -215,10 +309,9 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
215
309
|
});
|
|
216
310
|
}
|
|
217
311
|
/**
|
|
218
|
-
*
|
|
219
|
-
* List all products (including inactive) for management.
|
|
312
|
+
* Creates request options for apiV1StoreAdminProductsGet without sending the request
|
|
220
313
|
*/
|
|
221
|
-
|
|
314
|
+
apiV1StoreAdminProductsGetRequestOpts() {
|
|
222
315
|
return __awaiter(this, void 0, void 0, function* () {
|
|
223
316
|
const queryParameters = {};
|
|
224
317
|
const headerParameters = {};
|
|
@@ -233,17 +326,27 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
233
326
|
headerParameters["X-Api-Key"] = yield this.configuration.apiKey("X-Api-Key"); // apiKeyHeader authentication
|
|
234
327
|
}
|
|
235
328
|
let urlPath = `/api/v1/store/admin/products`;
|
|
236
|
-
|
|
329
|
+
return {
|
|
237
330
|
path: urlPath,
|
|
238
331
|
method: 'GET',
|
|
239
332
|
headers: headerParameters,
|
|
240
333
|
query: queryParameters,
|
|
241
|
-
}
|
|
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);
|
|
242
345
|
return new runtime.JSONApiResponse(response, (jsonValue) => ApiV1StoreAdminProductsGet200ResponseFromJSON(jsonValue));
|
|
243
346
|
});
|
|
244
347
|
}
|
|
245
348
|
/**
|
|
246
|
-
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>)
|
|
349
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>) * Store Fulfillment (<code>fulfill:store</code>)
|
|
247
350
|
* List all products (including inactive) for management.
|
|
248
351
|
*/
|
|
249
352
|
apiV1StoreAdminProductsGet(initOverrides) {
|
|
@@ -253,10 +356,9 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
253
356
|
});
|
|
254
357
|
}
|
|
255
358
|
/**
|
|
256
|
-
*
|
|
257
|
-
* Create a new product with variants.
|
|
359
|
+
* Creates request options for apiV1StoreAdminProductsPost without sending the request
|
|
258
360
|
*/
|
|
259
|
-
|
|
361
|
+
apiV1StoreAdminProductsPostRequestOpts(requestParameters) {
|
|
260
362
|
return __awaiter(this, void 0, void 0, function* () {
|
|
261
363
|
if (requestParameters['apiV1StoreAdminProductsPostRequest'] == null) {
|
|
262
364
|
throw new runtime.RequiredError('apiV1StoreAdminProductsPostRequest', 'Required parameter "apiV1StoreAdminProductsPostRequest" was null or undefined when calling apiV1StoreAdminProductsPost().');
|
|
@@ -275,13 +377,23 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
275
377
|
headerParameters["X-Api-Key"] = yield this.configuration.apiKey("X-Api-Key"); // apiKeyHeader authentication
|
|
276
378
|
}
|
|
277
379
|
let urlPath = `/api/v1/store/admin/products`;
|
|
278
|
-
|
|
380
|
+
return {
|
|
279
381
|
path: urlPath,
|
|
280
382
|
method: 'POST',
|
|
281
383
|
headers: headerParameters,
|
|
282
384
|
query: queryParameters,
|
|
283
385
|
body: ApiV1StoreAdminProductsPostRequestToJSON(requestParameters['apiV1StoreAdminProductsPostRequest']),
|
|
284
|
-
}
|
|
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);
|
|
285
397
|
return new runtime.JSONApiResponse(response, (jsonValue) => ApiV1StoreAdminProductsPost201ResponseFromJSON(jsonValue));
|
|
286
398
|
});
|
|
287
399
|
}
|
|
@@ -296,10 +408,60 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
296
408
|
});
|
|
297
409
|
}
|
|
298
410
|
/**
|
|
299
|
-
*
|
|
300
|
-
* Modify the metadata for a given product.
|
|
411
|
+
* Creates request options for apiV1StoreAdminProductsProductIdGet without sending the request
|
|
301
412
|
*/
|
|
302
|
-
|
|
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) {
|
|
303
465
|
return __awaiter(this, void 0, void 0, function* () {
|
|
304
466
|
if (requestParameters['productId'] == null) {
|
|
305
467
|
throw new runtime.RequiredError('productId', 'Required parameter "productId" was null or undefined when calling apiV1StoreAdminProductsProductIdPatch().');
|
|
@@ -322,13 +484,23 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
322
484
|
}
|
|
323
485
|
let urlPath = `/api/v1/store/admin/products/{productId}`;
|
|
324
486
|
urlPath = urlPath.replace(`{${"productId"}}`, encodeURIComponent(String(requestParameters['productId'])));
|
|
325
|
-
|
|
487
|
+
return {
|
|
326
488
|
path: urlPath,
|
|
327
489
|
method: 'PATCH',
|
|
328
490
|
headers: headerParameters,
|
|
329
491
|
query: queryParameters,
|
|
330
492
|
body: ApiV1StoreAdminProductsProductIdPatchRequestToJSON(requestParameters['apiV1StoreAdminProductsProductIdPatchRequest']),
|
|
331
|
-
}
|
|
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);
|
|
332
504
|
return new runtime.JSONApiResponse(response, (jsonValue) => ApiV1StoreAdminProductsProductIdPatch200ResponseFromJSON(jsonValue));
|
|
333
505
|
});
|
|
334
506
|
}
|
|
@@ -343,9 +515,9 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
343
515
|
});
|
|
344
516
|
}
|
|
345
517
|
/**
|
|
346
|
-
*
|
|
518
|
+
* Creates request options for apiV1StoreCheckoutPost without sending the request
|
|
347
519
|
*/
|
|
348
|
-
|
|
520
|
+
apiV1StoreCheckoutPostRequestOpts(requestParameters) {
|
|
349
521
|
return __awaiter(this, void 0, void 0, function* () {
|
|
350
522
|
if (requestParameters['xTurnstileResponse'] == null) {
|
|
351
523
|
throw new runtime.RequiredError('xTurnstileResponse', 'Required parameter "xTurnstileResponse" was null or undefined when calling apiV1StoreCheckoutPost().');
|
|
@@ -363,13 +535,22 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
363
535
|
headerParameters['x-turnstile-response'] = String(requestParameters['xTurnstileResponse']);
|
|
364
536
|
}
|
|
365
537
|
let urlPath = `/api/v1/store/checkout`;
|
|
366
|
-
|
|
538
|
+
return {
|
|
367
539
|
path: urlPath,
|
|
368
540
|
method: 'POST',
|
|
369
541
|
headers: headerParameters,
|
|
370
542
|
query: queryParameters,
|
|
371
543
|
body: ApiV1StoreCheckoutPostRequestToJSON(requestParameters['apiV1StoreCheckoutPostRequest']),
|
|
372
|
-
}
|
|
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);
|
|
373
554
|
return new runtime.JSONApiResponse(response, (jsonValue) => ApiV1StoreCheckoutPost201ResponseFromJSON(jsonValue));
|
|
374
555
|
});
|
|
375
556
|
}
|
|
@@ -383,19 +564,28 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
383
564
|
});
|
|
384
565
|
}
|
|
385
566
|
/**
|
|
386
|
-
*
|
|
567
|
+
* Creates request options for apiV1StoreProductsGet without sending the request
|
|
387
568
|
*/
|
|
388
|
-
|
|
569
|
+
apiV1StoreProductsGetRequestOpts() {
|
|
389
570
|
return __awaiter(this, void 0, void 0, function* () {
|
|
390
571
|
const queryParameters = {};
|
|
391
572
|
const headerParameters = {};
|
|
392
573
|
let urlPath = `/api/v1/store/products`;
|
|
393
|
-
|
|
574
|
+
return {
|
|
394
575
|
path: urlPath,
|
|
395
576
|
method: 'GET',
|
|
396
577
|
headers: headerParameters,
|
|
397
578
|
query: queryParameters,
|
|
398
|
-
}
|
|
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);
|
|
399
589
|
return new runtime.JSONApiResponse(response, (jsonValue) => ApiV1StoreProductsGet200ResponseFromJSON(jsonValue));
|
|
400
590
|
});
|
|
401
591
|
}
|
|
@@ -409,9 +599,9 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
409
599
|
});
|
|
410
600
|
}
|
|
411
601
|
/**
|
|
412
|
-
*
|
|
602
|
+
* Creates request options for apiV1StoreProductsProductIdGet without sending the request
|
|
413
603
|
*/
|
|
414
|
-
|
|
604
|
+
apiV1StoreProductsProductIdGetRequestOpts(requestParameters) {
|
|
415
605
|
return __awaiter(this, void 0, void 0, function* () {
|
|
416
606
|
if (requestParameters['productId'] == null) {
|
|
417
607
|
throw new runtime.RequiredError('productId', 'Required parameter "productId" was null or undefined when calling apiV1StoreProductsProductIdGet().');
|
|
@@ -420,12 +610,21 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
420
610
|
const headerParameters = {};
|
|
421
611
|
let urlPath = `/api/v1/store/products/{productId}`;
|
|
422
612
|
urlPath = urlPath.replace(`{${"productId"}}`, encodeURIComponent(String(requestParameters['productId'])));
|
|
423
|
-
|
|
613
|
+
return {
|
|
424
614
|
path: urlPath,
|
|
425
615
|
method: 'GET',
|
|
426
616
|
headers: headerParameters,
|
|
427
617
|
query: queryParameters,
|
|
428
|
-
}
|
|
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);
|
|
429
628
|
return new runtime.JSONApiResponse(response, (jsonValue) => ApiV1StoreProductsProductIdGet200ResponseFromJSON(jsonValue));
|
|
430
629
|
});
|
|
431
630
|
}
|
|
@@ -439,3 +638,13 @@ export class StoreApi extends runtime.BaseAPI {
|
|
|
439
638
|
});
|
|
440
639
|
}
|
|
441
640
|
}
|
|
641
|
+
/**
|
|
642
|
+
* @export
|
|
643
|
+
*/
|
|
644
|
+
export const ApiV1StoreAdminOrdersFetchUserOrdersPostOperationOrderStatusEnum = {
|
|
645
|
+
Pending: 'PENDING',
|
|
646
|
+
Capturing: 'CAPTURING',
|
|
647
|
+
Active: 'ACTIVE',
|
|
648
|
+
Refunded: 'REFUNDED',
|
|
649
|
+
Cancelled: 'CANCELLED'
|
|
650
|
+
};
|
|
@@ -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).
|
|
@@ -21,6 +21,10 @@ export interface ApiV1StripePaymentLinksPostOperationRequest {
|
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
23
|
export declare class StripeApi extends runtime.BaseAPI {
|
|
24
|
+
/**
|
|
25
|
+
* Creates request options for apiV1StripePaymentLinksGet without sending the request
|
|
26
|
+
*/
|
|
27
|
+
apiV1StripePaymentLinksGetRequestOpts(): Promise<runtime.RequestOpts>;
|
|
24
28
|
/**
|
|
25
29
|
* #### Authorization <hr /> Requires any of the following roles: * Stripe Link Creator (<code>create:stripeLink</code>)
|
|
26
30
|
* Get available Stripe payment links.
|
|
@@ -31,6 +35,10 @@ export declare class StripeApi extends runtime.BaseAPI {
|
|
|
31
35
|
* Get available Stripe payment links.
|
|
32
36
|
*/
|
|
33
37
|
apiV1StripePaymentLinksGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ApiV1StripePaymentLinksGet201ResponseInner>>;
|
|
38
|
+
/**
|
|
39
|
+
* Creates request options for apiV1StripePaymentLinksLinkIdDelete without sending the request
|
|
40
|
+
*/
|
|
41
|
+
apiV1StripePaymentLinksLinkIdDeleteRequestOpts(requestParameters: ApiV1StripePaymentLinksLinkIdDeleteRequest): Promise<runtime.RequestOpts>;
|
|
34
42
|
/**
|
|
35
43
|
* #### Authorization <hr /> Requires any of the following roles: * Stripe Link Creator (<code>create:stripeLink</code>)
|
|
36
44
|
* Deactivate a Stripe payment link.
|
|
@@ -41,6 +49,10 @@ export declare class StripeApi extends runtime.BaseAPI {
|
|
|
41
49
|
* Deactivate a Stripe payment link.
|
|
42
50
|
*/
|
|
43
51
|
apiV1StripePaymentLinksLinkIdDelete(requestParameters: ApiV1StripePaymentLinksLinkIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
|
|
52
|
+
/**
|
|
53
|
+
* Creates request options for apiV1StripePaymentLinksPost without sending the request
|
|
54
|
+
*/
|
|
55
|
+
apiV1StripePaymentLinksPostRequestOpts(requestParameters: ApiV1StripePaymentLinksPostOperationRequest): Promise<runtime.RequestOpts>;
|
|
44
56
|
/**
|
|
45
57
|
* #### Authorization <hr /> Requires any of the following roles: * Stripe Link Creator (<code>create:stripeLink</code>)
|
|
46
58
|
* Create a Stripe payment link.
|