export class Cryptr { /** * @param {Partial=} options */ constructor(options?: Partial | undefined); options: { server_url: string; client_id: string; client_secret: string; tenant_domain: string; grant_type: "client_credentials"; environment: "development" | "production"; persist_token: string | boolean; }; users: UsersCollections; organizations: OrganizationsCollections; token: CachedToken; /** * @param {string} url * @param {'GET'|'POST'|'PUT'|'DELETE'} method * @param {Object} jsonBody * @param {Object} _headers * @returns {Promise} */ rawRequest(url: string, method: 'GET' | 'POST' | 'PUT' | 'DELETE', jsonBody: any, _headers: any): Promise; /** * @param {string} url * @param {'GET'|'POST'|'PUT'|'DELETE'} method * @param {Object} jsonBody * @param {Object} _headers * @returns {Promise} */ request(url: string, method: 'GET' | 'POST' | 'PUT' | 'DELETE', jsonBody: any, _headers: any): Promise; } import { UsersCollections } from "./collections/UserCollection.js"; import { OrganizationsCollections } from "./collections/OrganizationCollection.js"; import { CachedToken } from "./CachedToken.js";