import { Service } from './Service'; import { InvitationIdDc, InvitationViewDc, ListInvitationsDc, ProposeInvitationDc } from './data-contracts'; /** * @title Spatial Processing Gateway API * @version 1.5.1.0 * @baseUrl /sp */ export declare class CatalogShareService extends Service { /** * No description * * @tags CatalogShare * @name ListInvitations * @operationId CatalogShareController_ListInvitations * @summary Returns the current user's invitations filtered by the requested statuses (defaults to `Pending` when none are supplied). * @request POST:/resources/share-invitations/list * @secure * @response `200` OK */ listInvitations(data: ListInvitationsDc): Promise; /** * No description * * @tags CatalogShare * @name ProposeInvitation * @operationId CatalogShareController_ProposeInvitation * @summary Proposes a share invitation for a resource to another user. No access is granted and no alias is created until the grantee accepts. * @request POST:/resources/share-invitations/propose * @secure * @response `200` OK */ proposeInvitation(data: ProposeInvitationDc): Promise; /** * No description * * @tags CatalogShare * @name AcceptInvitation * @operationId CatalogShareController_AcceptInvitation * @summary Accepts a pending invitation addressed to the current user: issues the grant and creates the alias in the recipient's tree. * @request POST:/resources/share-invitations/accept * @secure * @response `200` OK */ acceptInvitation(data: InvitationIdDc): Promise; /** * No description * * @tags CatalogShare * @name DeclineInvitation * @operationId CatalogShareController_DeclineInvitation * @summary Declines a pending invitation addressed to the current user. Leaves no grants or nodes behind. * @request POST:/resources/share-invitations/decline * @secure * @response `200` OK */ declineInvitation(data: InvitationIdDc): Promise; /** * No description * * @tags CatalogShare * @name RevokeInvitation * @operationId CatalogShareController_RevokeInvitation * @summary Revokes an invitation created by the current user. If it was already accepted, the grant is removed and the created alias is deleted. * @request POST:/resources/share-invitations/revoke * @secure * @response `200` OK */ revokeInvitation(data: InvitationIdDc): Promise; }