FRE-651: CEO coordination notes for founder bio/headshot assets
This commit is contained in:
76
node_modules/@clerk/backend/dist/api/endpoints/APIKeysApi.d.ts
generated
vendored
Normal file
76
node_modules/@clerk/backend/dist/api/endpoints/APIKeysApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,76 @@
|
||||
import type { ClerkPaginationRequest } from '@clerk/shared/types';
|
||||
import type { PaginatedResourceResponse } from '../../api/resources/Deserializer';
|
||||
import type { APIKey } from '../resources/APIKey';
|
||||
import type { DeletedObject } from '../resources/DeletedObject';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type GetAPIKeyListParams = ClerkPaginationRequest<{
|
||||
/**
|
||||
* The user or Organization ID to query API keys by
|
||||
*/
|
||||
subject: string;
|
||||
/**
|
||||
* Whether to include invalid API keys.
|
||||
*
|
||||
* @default false
|
||||
*/
|
||||
includeInvalid?: boolean;
|
||||
}>;
|
||||
type CreateAPIKeyParams = {
|
||||
/**
|
||||
* API key name
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* The user or Organization ID to associate the API key with
|
||||
*/
|
||||
subject: string;
|
||||
/**
|
||||
* API key description
|
||||
*/
|
||||
description?: string | null;
|
||||
claims?: Record<string, any> | null;
|
||||
scopes?: string[];
|
||||
createdBy?: string | null;
|
||||
secondsUntilExpiration?: number | null;
|
||||
};
|
||||
type RevokeAPIKeyParams = {
|
||||
/**
|
||||
* API key ID
|
||||
*/
|
||||
apiKeyId: string;
|
||||
/**
|
||||
* Reason for revocation
|
||||
*/
|
||||
revocationReason?: string | null;
|
||||
};
|
||||
type UpdateAPIKeyParams = {
|
||||
/**
|
||||
* API key ID
|
||||
*/
|
||||
apiKeyId: string;
|
||||
/**
|
||||
* The user or Organization ID to associate the API key with
|
||||
*/
|
||||
subject: string;
|
||||
/**
|
||||
* API key description
|
||||
*/
|
||||
description?: string | null;
|
||||
claims?: Record<string, any> | null;
|
||||
scopes?: string[];
|
||||
secondsUntilExpiration?: number | null;
|
||||
};
|
||||
export declare class APIKeysAPI extends AbstractAPI {
|
||||
list(queryParams: GetAPIKeyListParams): Promise<PaginatedResourceResponse<APIKey[]>>;
|
||||
create(params: CreateAPIKeyParams): Promise<APIKey>;
|
||||
get(apiKeyId: string): Promise<APIKey>;
|
||||
update(params: UpdateAPIKeyParams): Promise<APIKey>;
|
||||
delete(apiKeyId: string): Promise<DeletedObject>;
|
||||
revoke(params: RevokeAPIKeyParams): Promise<APIKey>;
|
||||
getSecret(apiKeyId: string): Promise<{
|
||||
secret: string;
|
||||
}>;
|
||||
verify(secret: string): Promise<APIKey>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=APIKeysApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/APIKeysApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/APIKeysApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"APIKeysApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/APIKeysApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAElE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAElF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,KAAK,mBAAmB,GAAG,sBAAsB,CAAC;IAChD;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC,CAAC;AAEH,KAAK,kBAAkB,GAAG;IACxB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,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ored
Normal file
@@ -0,0 +1,7 @@
|
||||
import type { RequestFunction } from '../request';
|
||||
export declare abstract class AbstractAPI {
|
||||
protected request: RequestFunction;
|
||||
constructor(request: RequestFunction);
|
||||
protected requireId(id: string): void;
|
||||
}
|
||||
//# sourceMappingURL=AbstractApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/AbstractApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/AbstractApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AbstractApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/AbstractApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD,8BAAsB,WAAW;IACnB,SAAS,CAAC,OAAO,EAAE,eAAe;gBAAxB,OAAO,EAAE,eAAe;IAE9C,SAAS,CAAC,SAAS,CAAC,EAAE,EAAE,MAAM;CAK/B"}
|
||||
11
node_modules/@clerk/backend/dist/api/endpoints/AccountlessApplicationsAPI.d.ts
generated
vendored
Normal file
11
node_modules/@clerk/backend/dist/api/endpoints/AccountlessApplicationsAPI.d.ts
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import type { AccountlessApplication } from '../resources/AccountlessApplication';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
export declare class AccountlessApplicationAPI extends AbstractAPI {
|
||||
createAccountlessApplication(params?: {
|
||||
requestHeaders?: Headers;
|
||||
}): Promise<AccountlessApplication>;
|
||||
completeAccountlessApplicationOnboarding(params?: {
|
||||
requestHeaders?: Headers;
|
||||
}): Promise<AccountlessApplication>;
|
||||
}
|
||||
//# sourceMappingURL=AccountlessApplicationsAPI.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/AccountlessApplicationsAPI.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/AccountlessApplicationsAPI.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AccountlessApplicationsAPI.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/AccountlessApplicationsAPI.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAClF,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,qBAAa,yBAA0B,SAAQ,WAAW;IAC3C,4BAA4B,CAAC,MAAM,CAAC,EAAE;QAAE,cAAc,CAAC,EAAE,OAAO,CAAA;KAAE;IASlE,wCAAwC,CAAC,MAAM,CAAC,EAAE;QAAE,cAAc,CAAC,EAAE,OAAO,CAAA;KAAE;CAQ5F"}
|
||||
47
node_modules/@clerk/backend/dist/api/endpoints/ActorTokenApi.d.ts
generated
vendored
Normal file
47
node_modules/@clerk/backend/dist/api/endpoints/ActorTokenApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
import type { ActorToken } from '../resources/ActorToken';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type ActorTokenActorCreateParams = {
|
||||
/**
|
||||
* The ID of the actor.
|
||||
*/
|
||||
sub: string;
|
||||
/**
|
||||
* Additional properties of the actor.
|
||||
*/
|
||||
additionalProperties?: {
|
||||
[k: string]: any;
|
||||
};
|
||||
};
|
||||
type ActorTokenCreateParams = {
|
||||
/**
|
||||
* The ID of the user being impersonated.
|
||||
*/
|
||||
userId: string;
|
||||
/**
|
||||
* The actor payload. It needs to include a sub property which should contain the ID of the actor.
|
||||
*
|
||||
* @remarks
|
||||
* This whole payload will be also included in the JWT session token.
|
||||
*/
|
||||
actor: ActorTokenActorCreateParams;
|
||||
/**
|
||||
* Optional parameter to specify the life duration of the actor token in seconds.
|
||||
*
|
||||
* @remarks
|
||||
* By default, the duration is 1 hour.
|
||||
*/
|
||||
expiresInSeconds?: number | undefined;
|
||||
/**
|
||||
* The maximum duration that the session which will be created by the generated actor token should last.
|
||||
*
|
||||
* @remarks
|
||||
* By default, the duration of a session created via an actor token, lasts 30 minutes.
|
||||
*/
|
||||
sessionMaxDurationInSeconds?: number | undefined;
|
||||
};
|
||||
export declare class ActorTokenAPI extends AbstractAPI {
|
||||
create(params: ActorTokenCreateParams): Promise<ActorToken>;
|
||||
revoke(actorTokenId: string): Promise<ActorToken>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=ActorTokenApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/ActorTokenApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/ActorTokenApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ActorTokenApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/ActorTokenApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,KAAK,2BAA2B,GAAG;IACjC;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,oBAAoB,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;CAC7C,CAAC;AAEF,KAAK,sBAAsB,GAAG;IAC5B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;;OAKG;IACH,KAAK,EAAE,2BAA2B,CAAC;IACnC;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC;;;;;OAKG;IACH,2BAA2B,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClD,CAAC;AAEF,qBAAa,aAAc,SAAQ,WAAW;IAC/B,MAAM,CAAC,MAAM,EAAE,sBAAsB;IAQrC,MAAM,CAAC,YAAY,EAAE,MAAM;CAOzC"}
|
||||
47
node_modules/@clerk/backend/dist/api/endpoints/AgentTaskApi.d.ts
generated
vendored
Normal file
47
node_modules/@clerk/backend/dist/api/endpoints/AgentTaskApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
import type { AgentTask } from '../resources/AgentTask';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type CreateAgentTaskParams = {
|
||||
/**
|
||||
* The user to create an agent task for.
|
||||
*/
|
||||
onBehalfOf: {
|
||||
/**
|
||||
* The identifier of the user to create an agent task for.
|
||||
*/
|
||||
identifier: string;
|
||||
userId?: never;
|
||||
} | {
|
||||
/**
|
||||
* The ID of the user to create an agent task for.
|
||||
*/
|
||||
userId: string;
|
||||
identifier?: never;
|
||||
};
|
||||
/**
|
||||
* The permissions the agent task will have.
|
||||
*/
|
||||
permissions: string;
|
||||
/**
|
||||
* The name of the agent to create an agent task for.
|
||||
*/
|
||||
agentName: string;
|
||||
/**
|
||||
* The description of the agent task to create.
|
||||
*/
|
||||
taskDescription: string;
|
||||
/**
|
||||
* The URL to redirect to after the agent task is consumed.
|
||||
*/
|
||||
redirectUrl: string;
|
||||
/**
|
||||
* The maximum duration that the session which will be created by the generated agent task should last.
|
||||
* By default, the duration is 30 minutes.
|
||||
*/
|
||||
sessionMaxDurationInSeconds?: number;
|
||||
};
|
||||
export declare class AgentTaskAPI extends AbstractAPI {
|
||||
create(params: CreateAgentTaskParams): Promise<AgentTask>;
|
||||
revoke(agentTaskId: string): Promise<Omit<AgentTask, "url">>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=AgentTaskApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/AgentTaskApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/AgentTaskApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AgentTaskApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/AgentTaskApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,KAAK,qBAAqB,GAAG;IAC3B;;OAEG;IACH,UAAU,EACN;QACE;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC;QACnB,MAAM,CAAC,EAAE,KAAK,CAAC;KAChB,GACD;QACE;;WAEG;QACH,MAAM,EAAE,MAAM,CAAC;QACf,UAAU,CAAC,EAAE,KAAK,CAAC;KACpB,CAAC;IACN;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAC;CACtC,CAAC;AAIF,qBAAa,YAAa,SAAQ,WAAW;IAC9B,MAAM,CAAC,MAAM,EAAE,qBAAqB;IAWpC,MAAM,CAAC,WAAW,EAAE,MAAM;CAOxC"}
|
||||
16
node_modules/@clerk/backend/dist/api/endpoints/AllowlistIdentifierApi.d.ts
generated
vendored
Normal file
16
node_modules/@clerk/backend/dist/api/endpoints/AllowlistIdentifierApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
import type { ClerkPaginationRequest } from '@clerk/shared/types';
|
||||
import type { AllowlistIdentifier } from '../resources/AllowlistIdentifier';
|
||||
import type { DeletedObject } from '../resources/DeletedObject';
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type AllowlistIdentifierCreateParams = {
|
||||
identifier: string;
|
||||
notify: boolean;
|
||||
};
|
||||
export declare class AllowlistIdentifierAPI extends AbstractAPI {
|
||||
getAllowlistIdentifierList(params?: ClerkPaginationRequest): Promise<PaginatedResourceResponse<AllowlistIdentifier[]>>;
|
||||
createAllowlistIdentifier(params: AllowlistIdentifierCreateParams): Promise<AllowlistIdentifier>;
|
||||
deleteAllowlistIdentifier(allowlistIdentifierId: string): Promise<DeletedObject>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=AllowlistIdentifierApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/AllowlistIdentifierApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/AllowlistIdentifierApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AllowlistIdentifierApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/AllowlistIdentifierApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAGlE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,KAAK,+BAA+B,GAAG;IACrC,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,qBAAa,sBAAuB,SAAQ,WAAW;IACxC,0BAA0B,CAAC,MAAM,GAAE,sBAA2B;IAQ9D,yBAAyB,CAAC,MAAM,EAAE,+BAA+B;IAQjE,yBAAyB,CAAC,qBAAqB,EAAE,MAAM;CAOrE"}
|
||||
29
node_modules/@clerk/backend/dist/api/endpoints/BetaFeaturesApi.d.ts
generated
vendored
Normal file
29
node_modules/@clerk/backend/dist/api/endpoints/BetaFeaturesApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type ChangeDomainParams = {
|
||||
/**
|
||||
* The new home URL of the production instance e.g. https://www.example.com
|
||||
*/
|
||||
homeUrl?: string;
|
||||
/**
|
||||
* Whether this is a domain for a secondary app, meaning that any subdomain
|
||||
* provided is significant and will be stored as part of the domain. This is
|
||||
* useful for supporting multiple apps (one primary and multiple secondaries)
|
||||
* on the same root domain (eTLD+1).
|
||||
*/
|
||||
isSecondary?: boolean;
|
||||
};
|
||||
export declare class BetaFeaturesAPI extends AbstractAPI {
|
||||
/**
|
||||
* Change the domain of a production instance.
|
||||
*
|
||||
* Changing the domain requires updating the DNS records accordingly, deploying new SSL certificates,
|
||||
* updating your Social Connection's redirect URLs and setting the new keys in your code.
|
||||
*
|
||||
* @remarks
|
||||
* WARNING: Changing your domain will invalidate all current user sessions (i.e. users will be logged out).
|
||||
* Also, while your application is being deployed, a small downtime is expected to occur.
|
||||
*/
|
||||
changeDomain(params: ChangeDomainParams): Promise<void>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=BetaFeaturesApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/BetaFeaturesApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/BetaFeaturesApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BetaFeaturesApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/BetaFeaturesApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,KAAK,kBAAkB,GAAG;IACxB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,qBAAa,eAAgB,SAAQ,WAAW;IAC9C;;;;;;;;;OASG;IACU,YAAY,CAAC,MAAM,EAAE,kBAAkB;CAOrD"}
|
||||
47
node_modules/@clerk/backend/dist/api/endpoints/BillingApi.d.ts
generated
vendored
Normal file
47
node_modules/@clerk/backend/dist/api/endpoints/BillingApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
import type { ClerkPaginationRequest } from '@clerk/shared/types';
|
||||
import type { BillingPlan } from '../resources/CommercePlan';
|
||||
import type { BillingSubscription } from '../resources/CommerceSubscription';
|
||||
import type { BillingSubscriptionItem } from '../resources/CommerceSubscriptionItem';
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type GetOrganizationListParams = ClerkPaginationRequest<{
|
||||
payerType: 'org' | 'user';
|
||||
}>;
|
||||
type CancelSubscriptionItemParams = {
|
||||
/**
|
||||
* If true, the subscription item will be canceled immediately. If false or undefined, the subscription item will be canceled at the end of the current billing period.
|
||||
* @default undefined
|
||||
*/
|
||||
endNow?: boolean;
|
||||
};
|
||||
type ExtendSubscriptionItemFreeTrialParams = {
|
||||
/**
|
||||
* RFC3339 timestamp to extend the free trial to.
|
||||
* Must be in the future and not more than 365 days from the current trial end.
|
||||
*/
|
||||
extendTo: Date;
|
||||
};
|
||||
export declare class BillingAPI extends AbstractAPI {
|
||||
/**
|
||||
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
||||
*/
|
||||
getPlanList(params?: GetOrganizationListParams): Promise<PaginatedResourceResponse<BillingPlan[]>>;
|
||||
/**
|
||||
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
||||
*/
|
||||
cancelSubscriptionItem(subscriptionItemId: string, params?: CancelSubscriptionItemParams): Promise<BillingSubscriptionItem>;
|
||||
/**
|
||||
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
||||
*/
|
||||
extendSubscriptionItemFreeTrial(subscriptionItemId: string, params: ExtendSubscriptionItemFreeTrialParams): Promise<BillingSubscriptionItem>;
|
||||
/**
|
||||
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
||||
*/
|
||||
getOrganizationBillingSubscription(organizationId: string): Promise<BillingSubscription>;
|
||||
/**
|
||||
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
||||
*/
|
||||
getUserBillingSubscription(userId: string): Promise<BillingSubscription>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=BillingApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/BillingApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/BillingApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BillingApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/BillingApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAGlE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AACrF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAM5C,KAAK,yBAAyB,GAAG,sBAAsB,CAAC;IACtD,SAAS,EAAE,KAAK,GAAG,MAAM,CAAC;CAC3B,CAAC,CAAC;AAEH,KAAK,4BAA4B,GAAG;IAClC;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,KAAK,qCAAqC,GAAG;IAC3C;;;OAGG;IACH,QAAQ,EAAE,IAAI,CAAC;CAChB,CAAC;AAEF,qBAAa,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACU,WAAW,CAAC,MAAM,CAAC,EAAE,yBAAyB;IAQ3D;;OAEG;IACU,sBAAsB,CAAC,kBAAkB,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,4BAA4B;IASrG;;OAEG;IACU,+BAA+B,CAC1C,kBAAkB,EAAE,MAAM,EAC1B,MAAM,EAAE,qCAAqC;IAU/C;;OAEG;IACU,kCAAkC,CAAC,cAAc,EAAE,MAAM;IAQtE;;OAEG;IACU,0BAA0B,CAAC,MAAM,EAAE,MAAM;CAOvD"}
|
||||
15
node_modules/@clerk/backend/dist/api/endpoints/BlocklistIdentifierApi.d.ts
generated
vendored
Normal file
15
node_modules/@clerk/backend/dist/api/endpoints/BlocklistIdentifierApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
import type { ClerkPaginationRequest } from '@clerk/shared/types';
|
||||
import type { BlocklistIdentifier } from '../resources/BlocklistIdentifier';
|
||||
import type { DeletedObject } from '../resources/DeletedObject';
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type BlocklistIdentifierCreateParams = {
|
||||
identifier: string;
|
||||
};
|
||||
export declare class BlocklistIdentifierAPI extends AbstractAPI {
|
||||
getBlocklistIdentifierList(params?: ClerkPaginationRequest): Promise<PaginatedResourceResponse<BlocklistIdentifier[]>>;
|
||||
createBlocklistIdentifier(params: BlocklistIdentifierCreateParams): Promise<BlocklistIdentifier>;
|
||||
deleteBlocklistIdentifier(blocklistIdentifierId: string): Promise<DeletedObject>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=BlocklistIdentifierApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/BlocklistIdentifierApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/BlocklistIdentifierApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BlocklistIdentifierApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/BlocklistIdentifierApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAGlE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,KAAK,+BAA+B,GAAG;IACrC,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,qBAAa,sBAAuB,SAAQ,WAAW;IACxC,0BAA0B,CAAC,MAAM,GAAE,sBAA2B;IAQ9D,yBAAyB,CAAC,MAAM,EAAE,+BAA+B;IAQjE,yBAAyB,CAAC,qBAAqB,EAAE,MAAM;CAOrE"}
|
||||
16
node_modules/@clerk/backend/dist/api/endpoints/ClientApi.d.ts
generated
vendored
Normal file
16
node_modules/@clerk/backend/dist/api/endpoints/ClientApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
import type { ClerkPaginationRequest } from '@clerk/shared/types';
|
||||
import type { Client } from '../resources/Client';
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import type { HandshakePayload } from '../resources/HandshakePayload';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type GetHandshakePayloadParams = {
|
||||
nonce: string;
|
||||
};
|
||||
export declare class ClientAPI extends AbstractAPI {
|
||||
getClientList(params?: ClerkPaginationRequest): Promise<PaginatedResourceResponse<Client[]>>;
|
||||
getClient(clientId: string): Promise<Client>;
|
||||
verifyClient(token: string): Promise<Client>;
|
||||
getHandshakePayload(queryParams: GetHandshakePayloadParams): Promise<HandshakePayload>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=ClientApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/ClientApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/ClientApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ClientApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/ClientApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAGlE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,KAAK,yBAAyB,GAAG;IAC/B,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,qBAAa,SAAU,SAAQ,WAAW;IAC3B,aAAa,CAAC,MAAM,GAAE,sBAA2B;IAQjD,SAAS,CAAC,QAAQ,EAAE,MAAM;IAQhC,YAAY,CAAC,KAAK,EAAE,MAAM;IAQpB,mBAAmB,CAAC,WAAW,EAAE,yBAAyB;CAOxE"}
|
||||
46
node_modules/@clerk/backend/dist/api/endpoints/DomainApi.d.ts
generated
vendored
Normal file
46
node_modules/@clerk/backend/dist/api/endpoints/DomainApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
import type { DeletedObject } from '../resources/DeletedObject';
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import type { Domain } from '../resources/Domain';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type AddDomainParams = {
|
||||
/**
|
||||
* The new domain name. For development instances, can contain the port, i.e myhostname:3000. For production instances, must be a valid FQDN, i.e mysite.com. Cannot contain protocol scheme.
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* Marks the new domain as satellite. Only true is accepted at the moment.
|
||||
*/
|
||||
is_satellite: boolean;
|
||||
/**
|
||||
* The full URL of the proxy which will forward requests to the Clerk Frontend API for this domain. Applicable only to production instances.
|
||||
*/
|
||||
proxy_url?: string | null;
|
||||
};
|
||||
type UpdateDomainParams = Partial<Pick<AddDomainParams, 'name' | 'proxy_url'>> & {
|
||||
/**
|
||||
* The ID of the domain that will be updated.
|
||||
*/
|
||||
domainId: string;
|
||||
/**
|
||||
* Whether this is a domain for a secondary app, meaning that any subdomain provided is significant
|
||||
* and will be stored as part of the domain. This is useful for supporting multiple apps
|
||||
* (one primary and multiple secondaries) on the same root domain (eTLD+1).
|
||||
*/
|
||||
is_secondary?: boolean | null;
|
||||
};
|
||||
export declare class DomainAPI extends AbstractAPI {
|
||||
list(): Promise<PaginatedResourceResponse<Domain[]>>;
|
||||
add(params: AddDomainParams): Promise<Domain>;
|
||||
update(params: UpdateDomainParams): Promise<Domain>;
|
||||
/**
|
||||
* Deletes a satellite domain for the instance.
|
||||
* It is currently not possible to delete the instance's primary domain.
|
||||
*/
|
||||
delete(satelliteDomainId: string): Promise<DeletedObject>;
|
||||
/**
|
||||
* @deprecated Use `delete` instead
|
||||
*/
|
||||
deleteDomain(satelliteDomainId: string): Promise<DeletedObject>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=DomainApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/DomainApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/DomainApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"DomainApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/DomainApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,KAAK,eAAe,GAAG;IACrB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,YAAY,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B,CAAC;AAEF,KAAK,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,WAAW,CAAC,CAAC,GAAG;IAC/E;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CAC/B,CAAC;AAEF,qBAAa,SAAU,SAAQ,WAAW;IAC3B,IAAI;IAOJ,GAAG,CAAC,MAAM,EAAE,eAAe;IAQ3B,MAAM,CAAC,MAAM,EAAE,kBAAkB;IAY9C;;;OAGG;IACU,MAAM,CAAC,iBAAiB,EAAE,MAAM;IAI7C;;OAEG;IACU,YAAY,CAAC,iBAAiB,EAAE,MAAM;CAOpD"}
|
||||
20
node_modules/@clerk/backend/dist/api/endpoints/EmailAddressApi.d.ts
generated
vendored
Normal file
20
node_modules/@clerk/backend/dist/api/endpoints/EmailAddressApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
import type { DeletedObject, EmailAddress } from '../resources';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type CreateEmailAddressParams = {
|
||||
userId: string;
|
||||
emailAddress: string;
|
||||
verified?: boolean;
|
||||
primary?: boolean;
|
||||
};
|
||||
type UpdateEmailAddressParams = {
|
||||
verified?: boolean;
|
||||
primary?: boolean;
|
||||
};
|
||||
export declare class EmailAddressAPI extends AbstractAPI {
|
||||
getEmailAddress(emailAddressId: string): Promise<EmailAddress>;
|
||||
createEmailAddress(params: CreateEmailAddressParams): Promise<EmailAddress>;
|
||||
updateEmailAddress(emailAddressId: string, params?: UpdateEmailAddressParams): Promise<EmailAddress>;
|
||||
deleteEmailAddress(emailAddressId: string): Promise<DeletedObject>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=EmailAddressApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/EmailAddressApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/EmailAddressApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"EmailAddressApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/EmailAddressApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,KAAK,wBAAwB,GAAG;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,KAAK,wBAAwB,GAAG;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,qBAAa,eAAgB,SAAQ,WAAW;IACjC,eAAe,CAAC,cAAc,EAAE,MAAM;IAStC,kBAAkB,CAAC,MAAM,EAAE,wBAAwB;IAQnD,kBAAkB,CAAC,cAAc,EAAE,MAAM,EAAE,MAAM,GAAE,wBAA6B;IAUhF,kBAAkB,CAAC,cAAc,EAAE,MAAM;CAQvD"}
|
||||
62
node_modules/@clerk/backend/dist/api/endpoints/EnterpriseConnectionApi.d.ts
generated
vendored
Normal file
62
node_modules/@clerk/backend/dist/api/endpoints/EnterpriseConnectionApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,62 @@
|
||||
import type { ClerkPaginationRequest } from '@clerk/shared/types';
|
||||
import type { EnterpriseConnection } from '../resources';
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type EnterpriseConnectionListParams = ClerkPaginationRequest<{
|
||||
organizationId?: string;
|
||||
active?: boolean;
|
||||
}>;
|
||||
export interface EnterpriseConnectionOidcParams {
|
||||
authUrl?: string;
|
||||
clientId?: string;
|
||||
clientSecret?: string;
|
||||
discoveryUrl?: string;
|
||||
requiresPkce?: boolean;
|
||||
tokenUrl?: string;
|
||||
userInfoUrl?: string;
|
||||
}
|
||||
export interface EnterpriseConnectionSamlAttributeMappingParams {
|
||||
userId?: string | null;
|
||||
emailAddress?: string | null;
|
||||
firstName?: string | null;
|
||||
lastName?: string | null;
|
||||
}
|
||||
export interface EnterpriseConnectionSamlParams {
|
||||
allowIdpInitiated?: boolean;
|
||||
allowSubdomains?: boolean;
|
||||
attributeMapping?: EnterpriseConnectionSamlAttributeMappingParams;
|
||||
forceAuthn?: boolean;
|
||||
idpCertificate?: string;
|
||||
idpEntityId?: string;
|
||||
idpMetadata?: string;
|
||||
idpMetadataUrl?: string;
|
||||
idpSsoUrl?: string;
|
||||
}
|
||||
type CreateEnterpriseConnectionParams = {
|
||||
name?: string;
|
||||
domains?: string[];
|
||||
organizationId?: string;
|
||||
active?: boolean;
|
||||
syncUserAttributes?: boolean;
|
||||
oidc?: EnterpriseConnectionOidcParams;
|
||||
saml?: EnterpriseConnectionSamlParams;
|
||||
};
|
||||
type UpdateEnterpriseConnectionParams = {
|
||||
name?: string;
|
||||
domains?: string[];
|
||||
organizationId?: string;
|
||||
active?: boolean;
|
||||
syncUserAttributes?: boolean;
|
||||
provider?: string;
|
||||
oidc?: EnterpriseConnectionOidcParams;
|
||||
saml?: EnterpriseConnectionSamlParams;
|
||||
};
|
||||
export declare class EnterpriseConnectionAPI extends AbstractAPI {
|
||||
createEnterpriseConnection(params: CreateEnterpriseConnectionParams): Promise<EnterpriseConnection>;
|
||||
updateEnterpriseConnection(enterpriseConnectionId: string, params: UpdateEnterpriseConnectionParams): Promise<EnterpriseConnection>;
|
||||
getEnterpriseConnectionList(params?: EnterpriseConnectionListParams): Promise<PaginatedResourceResponse<EnterpriseConnection[]>>;
|
||||
getEnterpriseConnection(enterpriseConnectionId: string): Promise<EnterpriseConnection>;
|
||||
deleteEnterpriseConnection(enterpriseConnectionId: string): Promise<EnterpriseConnection>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=EnterpriseConnectionApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/EnterpriseConnectionApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/EnterpriseConnectionApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"EnterpriseConnectionApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/EnterpriseConnectionApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAGlE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,KAAK,8BAA8B,GAAG,sBAAsB,CAAC;IAC3D,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC,CAAC;AAEH,MAAM,WAAW,8BAA8B;IAC7C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,8CAA8C;IA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wB,SAAQ,WAAW;IACzC,0BAA0B,CAAC,MAAM,EAAE,gCAAgC;IAWnE,0BAA0B,CAAC,sBAAsB,EAAE,MAAM,EAAE,MAAM,EAAE,gCAAgC;IAYnG,2BAA2B,CAAC,MAAM,GAAE,8BAAmC;IAQvE,uBAAuB,CAAC,sBAAsB,EAAE,MAAM;IAQtD,0BAA0B,CAAC,sBAAsB,EAAE,MAAM;CAOvE"}
|
||||
6
node_modules/@clerk/backend/dist/api/endpoints/IdPOAuthAccessTokenApi.d.ts
generated
vendored
Normal file
6
node_modules/@clerk/backend/dist/api/endpoints/IdPOAuthAccessTokenApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
import type { IdPOAuthAccessToken } from '../resources';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
export declare class IdPOAuthAccessTokenApi extends AbstractAPI {
|
||||
verify(accessToken: string): Promise<IdPOAuthAccessToken>;
|
||||
}
|
||||
//# sourceMappingURL=IdPOAuthAccessTokenApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/IdPOAuthAccessTokenApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/IdPOAuthAccessTokenApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"IdPOAuthAccessTokenApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/IdPOAuthAccessTokenApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,qBAAa,sBAAuB,SAAQ,WAAW;IAC/C,MAAM,CAAC,WAAW,EAAE,MAAM;CAOjC"}
|
||||
71
node_modules/@clerk/backend/dist/api/endpoints/InstanceApi.d.ts
generated
vendored
Normal file
71
node_modules/@clerk/backend/dist/api/endpoints/InstanceApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
import type { Instance } from '../resources/Instance';
|
||||
import type { InstanceRestrictions } from '../resources/InstanceRestrictions';
|
||||
import type { OrganizationSettings } from '../resources/OrganizationSettings';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type UpdateParams = {
|
||||
/**
|
||||
* Toggles test mode for this instance, allowing the use of test email addresses and phone numbers.
|
||||
*
|
||||
* @remarks Defaults to true for development instances.
|
||||
*/
|
||||
testMode?: boolean | null | undefined;
|
||||
/**
|
||||
* Whether the instance should be using the HIBP service to check passwords for breaches
|
||||
*/
|
||||
hibp?: boolean | null | undefined;
|
||||
/**
|
||||
* The "enhanced_email_deliverability" feature will send emails from "verifications@clerk.dev" instead of your domain.
|
||||
*
|
||||
* @remarks This can be helpful if you do not have a high domain reputation.
|
||||
*/
|
||||
enhancedEmailDeliverability?: boolean | null | undefined;
|
||||
supportEmail?: string | null | undefined;
|
||||
clerkJsVersion?: string | null | undefined;
|
||||
developmentOrigin?: string | null | undefined;
|
||||
/**
|
||||
* For browser-like stacks such as browser extensions, Electron, or Capacitor.js the instance allowed origins need to be updated with the request origin value.
|
||||
*
|
||||
* @remarks For Chrome extensions popup, background, or service worker pages the origin is chrome-extension://extension_uiid. For Electron apps the default origin is http://localhost:3000. For Capacitor, the origin is capacitor://localhost.
|
||||
*/
|
||||
allowedOrigins?: Array<string> | undefined;
|
||||
/**
|
||||
* Whether the instance should use URL-based session syncing in development mode (i.e. without third-party cookies).
|
||||
*/
|
||||
urlBasedSessionSyncing?: boolean | null | undefined;
|
||||
};
|
||||
type UpdateRestrictionsParams = {
|
||||
allowlist?: boolean | null | undefined;
|
||||
blocklist?: boolean | null | undefined;
|
||||
blockEmailSubaddresses?: boolean | null | undefined;
|
||||
blockDisposableEmailDomains?: boolean | null | undefined;
|
||||
ignoreDotsForGmailAddresses?: boolean | null | undefined;
|
||||
};
|
||||
type UpdateOrganizationSettingsParams = {
|
||||
enabled?: boolean | null | undefined;
|
||||
maxAllowedMemberships?: number | null | undefined;
|
||||
adminDeleteEnabled?: boolean | null | undefined;
|
||||
domainsEnabled?: boolean | null | undefined;
|
||||
/**
|
||||
* Specifies which [enrollment modes](https://clerk.com/docs/guides/organizations/add-members/verified-domains#enable-verified-domains) to enable for your Organization Domains.
|
||||
*
|
||||
* @remarks Supported modes are 'automatic_invitation' & 'automatic_suggestion'.
|
||||
*/
|
||||
domainsEnrollmentModes?: Array<string> | undefined;
|
||||
/**
|
||||
* Specifies what the default Organization Role is for an Organization creator.
|
||||
*/
|
||||
creatorRoleId?: string | null | undefined;
|
||||
/**
|
||||
* Specifies what the default Organization Role is for the Organization Domains.
|
||||
*/
|
||||
domainsDefaultRoleId?: string | null | undefined;
|
||||
};
|
||||
export declare class InstanceAPI extends AbstractAPI {
|
||||
get(): Promise<Instance>;
|
||||
update(params: UpdateParams): Promise<void>;
|
||||
updateRestrictions(params: UpdateRestrictionsParams): Promise<InstanceRestrictions>;
|
||||
getOrganizationSettings(): Promise<OrganizationSettings>;
|
||||
updateOrganizationSettings(params: UpdateOrganizationSettingsParams): Promise<OrganizationSettings>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=InstanceApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/InstanceApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/InstanceApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"InstanceApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/InstanceApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,KAAK,YAAY,GAAG;IAClB;;;;OAIG;IACH,QAAQ,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CAAC,GAAG,SAAS,CAAC;IACnD;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1C;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CAClD,CAAC;AAEF,qBAAa,WAAY,SAAQ,WAAW;IAC7B,GAAG;IAOH,MAAM,CAAC,MAAM,EAAE,YAAY;IAQ3B,kBAAkB,CAAC,MAAM,EAAE,wBAAwB;IAQnD,uBAAuB;IAOvB,0BAA0B,CAAC,MAAM,EAAE,gCAAgC;CAOjF"}
|
||||
71
node_modules/@clerk/backend/dist/api/endpoints/InvitationApi.d.ts
generated
vendored
Normal file
71
node_modules/@clerk/backend/dist/api/endpoints/InvitationApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
import type { ClerkPaginationRequest } from '@clerk/shared/types';
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import type { InvitationStatus } from '../resources/Enums';
|
||||
import type { Invitation } from '../resources/Invitation';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
import type { WithSign } from './util-types';
|
||||
type TemplateSlug = 'invitation' | 'waitlist_invitation';
|
||||
type CreateParams = {
|
||||
emailAddress: string;
|
||||
expiresInDays?: number;
|
||||
ignoreExisting?: boolean;
|
||||
notify?: boolean;
|
||||
publicMetadata?: UserPublicMetadata;
|
||||
redirectUrl?: string;
|
||||
templateSlug?: TemplateSlug;
|
||||
};
|
||||
type CreateBulkParams = Array<CreateParams>;
|
||||
type GetInvitationListParams = ClerkPaginationRequest<{
|
||||
/**
|
||||
* Orders the returned invitations by a specific field and direction.
|
||||
*
|
||||
* Use a leading '-' for descending order, or no sign/'+' for ascending.
|
||||
*
|
||||
* Supported fields:
|
||||
* - 'created_at' — when the invitation was created
|
||||
* - 'email_address' — recipient email address
|
||||
* - 'expires_at' — when the invitation expires
|
||||
*
|
||||
* @example
|
||||
* ```ts
|
||||
* // Newest first
|
||||
* await clerkClient.invitations.getInvitationList({ orderBy: '-created_at' });
|
||||
*
|
||||
* // Alphabetical by email
|
||||
* await clerkClient.invitations.getInvitationList({ orderBy: 'email_address' });
|
||||
* ```
|
||||
*/
|
||||
orderBy?: WithSign<'created_at' | 'email_address' | 'expires_at'>;
|
||||
/**
|
||||
* Filters invitations based on their status.
|
||||
*
|
||||
* @example
|
||||
* Get all revoked invitations
|
||||
* ```ts
|
||||
* import { createClerkClient } from '@clerk/backend';
|
||||
* const clerkClient = createClerkClient(...)
|
||||
* await clerkClient.invitations.getInvitationList({ status: 'revoked' })
|
||||
* ```
|
||||
*/
|
||||
status?: InvitationStatus;
|
||||
/**
|
||||
* Filters invitations based on `email_address` or `id`.
|
||||
*
|
||||
* @example
|
||||
* Get all invitations for a specific email address
|
||||
* ```ts
|
||||
* import { createClerkClient } from '@clerk/backend';
|
||||
* const clerkClient = createClerkClient(...)
|
||||
* await clerkClient.invitations.getInvitationList({ query: 'user@example.com' })
|
||||
* ```
|
||||
*/
|
||||
query?: string;
|
||||
}>;
|
||||
export declare class InvitationAPI extends AbstractAPI {
|
||||
getInvitationList(params?: GetInvitationListParams): Promise<PaginatedResourceResponse<Invitation[]>>;
|
||||
createInvitation(params: CreateParams): Promise<Invitation>;
|
||||
createInvitationBulk(params: CreateBulkParams): Promise<Invitation[]>;
|
||||
revokeInvitation(invitationId: string): Promise<Invitation>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=InvitationApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/InvitationApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/InvitationApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"InvitationApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/InvitationApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAGlE,OAAO,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_modules/@clerk/backend/dist/api/endpoints/JwksApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
import type { JwksJSON } from '../resources/JSON';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
export declare class JwksAPI extends AbstractAPI {
|
||||
getJwks(): Promise<JwksJSON>;
|
||||
}
|
||||
//# sourceMappingURL=JwksApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/JwksApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/JwksApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"JwksApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/JwksApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,qBAAa,OAAQ,SAAQ,WAAW;IACzB,OAAO;CAMrB"}
|
||||
50
node_modules/@clerk/backend/dist/api/endpoints/JwtTemplatesApi.d.ts
generated
vendored
Normal file
50
node_modules/@clerk/backend/dist/api/endpoints/JwtTemplatesApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
import type { ClerkPaginationRequest } from '@clerk/shared/types';
|
||||
import type { DeletedObject, JwtTemplate } from '../resources';
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type Claims = object;
|
||||
type CreateJWTTemplateParams = {
|
||||
/**
|
||||
* JWT template name
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* JWT template claims in JSON format
|
||||
*/
|
||||
claims: Claims;
|
||||
/**
|
||||
* JWT token lifetime
|
||||
*/
|
||||
lifetime?: number | null | undefined;
|
||||
/**
|
||||
* JWT token allowed clock skew
|
||||
*/
|
||||
allowedClockSkew?: number | null | undefined;
|
||||
/**
|
||||
* Whether a custom signing key/algorithm is also provided for this template
|
||||
*/
|
||||
customSigningKey?: boolean | undefined;
|
||||
/**
|
||||
* The custom signing algorithm to use when minting JWTs. Required if `custom_signing_key` is `true`.
|
||||
*/
|
||||
signingAlgorithm?: string | null | undefined;
|
||||
/**
|
||||
* The custom signing private key to use when minting JWTs. Required if `custom_signing_key` is `true`.
|
||||
*/
|
||||
signingKey?: string | null | undefined;
|
||||
};
|
||||
type UpdateJWTTemplateParams = CreateJWTTemplateParams & {
|
||||
/**
|
||||
* JWT template ID
|
||||
*/
|
||||
templateId: string;
|
||||
};
|
||||
export declare class JwtTemplatesApi extends AbstractAPI {
|
||||
list(params?: ClerkPaginationRequest): Promise<PaginatedResourceResponse<JwtTemplate[]>>;
|
||||
get(templateId: string): Promise<JwtTemplate>;
|
||||
create(params: CreateJWTTemplateParams): Promise<JwtTemplate>;
|
||||
update(params: UpdateJWTTemplateParams): Promise<JwtTemplate>;
|
||||
delete(templateId: string): Promise<DeletedObject>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=JwtTemplatesApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/JwtTemplatesApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/JwtTemplatesApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"JwtTemplatesApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/JwtTemplatesApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAGlE,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,KAAK,MAAM,GAAG,MAAM,CAAC;AAErB,KAAK,uBAAuB,GAAG;IAC7B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7C;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACvC;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,KAAK,uBAAuB,GAAG,uBAAuB,GAAG;IACvD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,qBAAa,eAAgB,SAAQ,WAAW;IACjC,IAAI,CAAC,MAAM,GAAE,sBAA2B;IAQxC,GAAG,CAAC,UAAU,EAAE,MAAM;IAStB,MAAM,CAAC,MAAM,EAAE,uBAAuB;IAQtC,MAAM,CAAC,MAAM,EAAE,uBAAuB;IAWtC,MAAM,CAAC,UAAU,EAAE,MAAM;CAQvC"}
|
||||
87
node_modules/@clerk/backend/dist/api/endpoints/M2MTokenApi.d.ts
generated
vendored
Normal file
87
node_modules/@clerk/backend/dist/api/endpoints/M2MTokenApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,87 @@
|
||||
import type { ClerkPaginationRequest } from '@clerk/shared/types';
|
||||
import type { JwtMachineVerifyOptions } from '../../jwt/verifyMachineJwt';
|
||||
import type { RequestFunction } from '../request';
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import type { M2MToken } from '../resources/M2MToken';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
/**
|
||||
* Format of the M2M token to create.
|
||||
* - 'opaque': Opaque token with mt_ prefix
|
||||
* - 'jwt': JWT signed with instance keys
|
||||
*/
|
||||
export type M2MTokenFormat = 'opaque' | 'jwt';
|
||||
type GetM2MTokenListParams = ClerkPaginationRequest<{
|
||||
/**
|
||||
* Custom machine secret key for authentication.
|
||||
*/
|
||||
machineSecretKey?: string;
|
||||
/**
|
||||
* The machine ID to query machine-to-machine tokens by
|
||||
*/
|
||||
subject: string;
|
||||
/**
|
||||
* Whether to include revoked machine-to-machine tokens.
|
||||
*
|
||||
* @default false
|
||||
*/
|
||||
revoked?: boolean;
|
||||
/**
|
||||
* Whether to include expired machine-to-machine tokens.
|
||||
*
|
||||
* @default false
|
||||
*/
|
||||
expired?: boolean;
|
||||
}>;
|
||||
type CreateM2MTokenParams = {
|
||||
/**
|
||||
* Custom machine secret key for authentication.
|
||||
*/
|
||||
machineSecretKey?: string;
|
||||
/**
|
||||
* Number of seconds until the token expires.
|
||||
*
|
||||
* @default null - Token does not expire
|
||||
*/
|
||||
secondsUntilExpiration?: number | null;
|
||||
claims?: Record<string, unknown> | null;
|
||||
/**
|
||||
* @default 'opaque'
|
||||
*/
|
||||
tokenFormat?: M2MTokenFormat;
|
||||
};
|
||||
type RevokeM2MTokenParams = {
|
||||
/**
|
||||
* Custom machine secret key for authentication.
|
||||
*/
|
||||
machineSecretKey?: string;
|
||||
/**
|
||||
* Machine-to-machine token ID to revoke.
|
||||
*/
|
||||
m2mTokenId: string;
|
||||
revocationReason?: string | null;
|
||||
};
|
||||
type VerifyM2MTokenParams = {
|
||||
/**
|
||||
* Custom machine secret key for authentication.
|
||||
*/
|
||||
machineSecretKey?: string;
|
||||
/**
|
||||
* Machine-to-machine token to verify.
|
||||
*/
|
||||
token: string;
|
||||
};
|
||||
export declare class M2MTokenApi extends AbstractAPI {
|
||||
#private;
|
||||
/**
|
||||
* @param verifyOptions - JWT verification options (secretKey, apiUrl, etc.).
|
||||
* Passed explicitly because BuildRequestOptions are captured inside the buildRequest closure
|
||||
* and are not accessible from the RequestFunction itself.
|
||||
*/
|
||||
constructor(request: RequestFunction, verifyOptions?: JwtMachineVerifyOptions);
|
||||
list(queryParams: GetM2MTokenListParams): Promise<PaginatedResourceResponse<M2MToken[]>>;
|
||||
createToken(params?: CreateM2MTokenParams): Promise<M2MToken>;
|
||||
revokeToken(params: RevokeM2MTokenParams): Promise<M2MToken>;
|
||||
verify(params: VerifyM2MTokenParams): Promise<M2MToken>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=M2MTokenApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/M2MTokenApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/M2MTokenApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"M2MTokenApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/M2MTokenApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAIlE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAI1E,OAAO,KAAK,EAAiC,eAAe,EAAE,MAAM,YAAY,CAAC;AACjF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,KAAK,CAAC;AAE9C,KAAK,qBAAqB,GAAG,sBAAsB,CAAC;IAClD;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC,CAAC;AAEH,KAAK,oBAAoB,GAAG;IAC1B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IACxC;;OAEG;IACH,WAAW,CAAC,EAAE,cAAc,CAAC;CAC9B,CAAC;AAEF,KAAK,oBAAoB,GAAG;IAC1B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC,CAAC;AAEF,KAAK,oBAAoB,GAAG;IAC1B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,qBAAa,WAAY,SAAQ,WAAW;;IAG1C;;;;OAIG;gBACS,OAAO,EAAE,eAAe,EAAE,aAAa,GAAE,uBAA4B;IAmB3E,IAAI,CAAC,WAAW,EAAE,qBAAqB;IAevC,WAAW,CAAC,MAAM,CAAC,EAAE,oBAAoB;IAmBzC,WAAW,CAAC,MAAM,EAAE,oBAAoB;IAyCxC,MAAM,CAAC,MAAM,EAAE,oBAAoB;CAkB1C"}
|
||||
81
node_modules/@clerk/backend/dist/api/endpoints/MachineApi.d.ts
generated
vendored
Normal file
81
node_modules/@clerk/backend/dist/api/endpoints/MachineApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,81 @@
|
||||
import type { ClerkPaginationRequest } from '@clerk/shared/types';
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import type { Machine } from '../resources/Machine';
|
||||
import type { MachineScope } from '../resources/MachineScope';
|
||||
import type { MachineSecretKey } from '../resources/MachineSecretKey';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
import type { WithSign } from './util-types';
|
||||
type CreateMachineParams = {
|
||||
/**
|
||||
* The name of the machine.
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* Array of machine IDs that this machine will have access to.
|
||||
*/
|
||||
scopedMachines?: string[];
|
||||
/**
|
||||
* The default time-to-live (TTL) in seconds for tokens created by this machine.
|
||||
*/
|
||||
defaultTokenTtl?: number;
|
||||
};
|
||||
type UpdateMachineParams = {
|
||||
/**
|
||||
* The ID of the machine to update.
|
||||
*/
|
||||
machineId: string;
|
||||
/**
|
||||
* The name of the machine.
|
||||
*/
|
||||
name?: string;
|
||||
/**
|
||||
* The default time-to-live (TTL) in seconds for tokens created by this machine.
|
||||
*/
|
||||
defaultTokenTtl?: number;
|
||||
};
|
||||
type GetMachineListParams = ClerkPaginationRequest<{
|
||||
/**
|
||||
* Sorts machines by name or created_at.
|
||||
* By prepending one of those values with + or -, we can choose to sort in ascending (ASC) or descending (DESC) order.
|
||||
*/
|
||||
orderBy?: WithSign<'name' | 'created_at'>;
|
||||
/**
|
||||
* Returns machines that have a ID or name that matches the given query.
|
||||
*/
|
||||
query?: string;
|
||||
}>;
|
||||
type RotateMachineSecretKeyParams = {
|
||||
/**
|
||||
* The ID of the machine to rotate the secret key for.
|
||||
*/
|
||||
machineId: string;
|
||||
/**
|
||||
* The time in seconds that the previous secret key will remain valid after rotation.
|
||||
*/
|
||||
previousTokenTtl: number;
|
||||
};
|
||||
export declare class MachineApi extends AbstractAPI {
|
||||
get(machineId: string): Promise<Machine>;
|
||||
list(queryParams?: GetMachineListParams): Promise<PaginatedResourceResponse<Machine[]>>;
|
||||
create(bodyParams: CreateMachineParams): Promise<Machine>;
|
||||
update(params: UpdateMachineParams): Promise<Machine>;
|
||||
delete(machineId: string): Promise<Machine>;
|
||||
getSecretKey(machineId: string): Promise<MachineSecretKey>;
|
||||
rotateSecretKey(params: RotateMachineSecretKeyParams): Promise<MachineSecretKey>;
|
||||
/**
|
||||
* Creates a new machine scope, allowing the specified machine to access another machine.
|
||||
*
|
||||
* @param machineId - The ID of the machine that will have access to another machine.
|
||||
* @param toMachineId - The ID of the machine that will be scoped to the current machine.
|
||||
*/
|
||||
createScope(machineId: string, toMachineId: string): Promise<MachineScope>;
|
||||
/**
|
||||
* Deletes a machine scope, removing access from one machine to another.
|
||||
*
|
||||
* @param machineId - The ID of the machine that has access to another machine.
|
||||
* @param otherMachineId - The ID of the machine that is being accessed.
|
||||
*/
|
||||
deleteScope(machineId: string, otherMachineId: string): Promise<MachineScope>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=MachineApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/MachineApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/MachineApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"MachineApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/MachineApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAGlE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAI7C,KAAK,mBAAmB,GAAG;IACzB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,KAAK,mBAAmB,GAAG;IACzB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,KAAK,oBAAoB,GAAG,sBAAsB,CAAC;IACjD;;;OAGG;IACH,OAAO,CAAC,EAAE,QAAQ,CAAC,MAAM,GAAG,YAAY,CAAC,CAAC;IAC1C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC,CAAC;AAEH,KAAK,4BAA4B,GAAG;IAClC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,qBAAa,UAAW,SAAQ,WAAW;IACnC,GAAG,CAAC,SAAS,EAAE,MAAM;IAQrB,IAAI,CAAC,WAAW,GAAE,oBAAyB;IAQ3C,MAAM,CAAC,UAAU,EAAE,mBAAmB;IAQtC,MAAM,CAAC,MAAM,EAAE,mBAAmB;IAUlC,MAAM,CAAC,SAAS,EAAE,MAAM;IAQxB,YAAY,CAAC,SAAS,EAAE,MAAM;IAQ9B,eAAe,CAAC,MAAM,EAAE,4BAA4B;IAY1D;;;;;OAKG;IACG,WAAW,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;IAWxD;;;;;OAKG;IACG,WAAW,CAAC,SAAS,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM;CAO5D"}
|
||||
49
node_modules/@clerk/backend/dist/api/endpoints/OAuthApplicationsApi.d.ts
generated
vendored
Normal file
49
node_modules/@clerk/backend/dist/api/endpoints/OAuthApplicationsApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
import type { ClerkPaginationRequest } from '@clerk/shared/types';
|
||||
import type { DeletedObject } from '../resources';
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import type { OAuthApplication } from '../resources/OAuthApplication';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
import type { WithSign } from './util-types';
|
||||
type CreateOAuthApplicationParams = {
|
||||
/**
|
||||
* The name of the new OAuth application.
|
||||
*
|
||||
* @remarks Max length: 256
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* An array of redirect URIs of the new OAuth application
|
||||
*/
|
||||
redirectUris?: Array<string> | null | undefined;
|
||||
/**
|
||||
* Define the allowed scopes for the new OAuth applications that dictate the user payload of the OAuth user info endpoint. Available scopes are `profile`, `email`, `public_metadata`, `private_metadata`. Provide the requested scopes as a string, separated by spaces.
|
||||
*/
|
||||
scopes?: string | null | undefined;
|
||||
/**
|
||||
* If true, this client is public and you can use the Proof Key of Code Exchange (PKCE) flow.
|
||||
*/
|
||||
public?: boolean | null | undefined;
|
||||
};
|
||||
type UpdateOAuthApplicationParams = CreateOAuthApplicationParams & {
|
||||
/**
|
||||
* The ID of the OAuth application to update
|
||||
*/
|
||||
oauthApplicationId: string;
|
||||
};
|
||||
type GetOAuthApplicationListParams = ClerkPaginationRequest<{
|
||||
/**
|
||||
* Sorts OAuth applications by name or created_at.
|
||||
* By prepending one of those values with + or -, we can choose to sort in ascending (ASC) or descending (DESC) order.
|
||||
*/
|
||||
orderBy?: WithSign<'name' | 'created_at'>;
|
||||
}>;
|
||||
export declare class OAuthApplicationsApi extends AbstractAPI {
|
||||
list(params?: GetOAuthApplicationListParams): Promise<PaginatedResourceResponse<OAuthApplication[]>>;
|
||||
get(oauthApplicationId: string): Promise<OAuthApplication>;
|
||||
create(params: CreateOAuthApplicationParams): Promise<OAuthApplication>;
|
||||
update(params: UpdateOAuthApplicationParams): Promise<OAuthApplication>;
|
||||
delete(oauthApplicationId: string): Promise<DeletedObject>;
|
||||
rotateSecret(oauthApplicationId: string): Promise<OAuthApplication>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=OAuthApplicationsApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/OAuthApplicationsApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/OAuthApplicationsApi.d.ts.map
gener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AM,CAAC,kBAAkB,EAAE,MAAM;IASjC,YAAY,CAAC,kBAAkB,EAAE,MAAM;CAQrD"}
|
||||
200
node_modules/@clerk/backend/dist/api/endpoints/OrganizationApi.d.ts
generated
vendored
Normal file
200
node_modules/@clerk/backend/dist/api/endpoints/OrganizationApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,200 @@
|
||||
import type { ClerkPaginationRequest, OrganizationEnrollmentMode } from '@clerk/shared/types';
|
||||
import type { Organization, OrganizationDomain, OrganizationInvitation, OrganizationInvitationStatus, OrganizationMembership } from '../resources';
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import type { OrganizationMembershipRole } from '../resources/Enums';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
import type { WithSign } from './util-types';
|
||||
type MetadataParams<TPublic = OrganizationPublicMetadata, TPrivate = OrganizationPrivateMetadata> = {
|
||||
publicMetadata?: TPublic;
|
||||
privateMetadata?: TPrivate;
|
||||
};
|
||||
type GetOrganizationListParams = ClerkPaginationRequest<{
|
||||
includeMembersCount?: boolean;
|
||||
query?: string;
|
||||
orderBy?: WithSign<'name' | 'created_at' | 'members_count'>;
|
||||
organizationId?: string[];
|
||||
}>;
|
||||
type CreateParams = {
|
||||
name: string;
|
||||
slug?: string;
|
||||
createdBy?: string;
|
||||
maxAllowedMemberships?: number;
|
||||
} & MetadataParams;
|
||||
type GetOrganizationParams = ({
|
||||
organizationId: string;
|
||||
} | {
|
||||
slug: string;
|
||||
}) & {
|
||||
includeMembersCount?: boolean;
|
||||
};
|
||||
type UpdateParams = {
|
||||
name?: string;
|
||||
slug?: string;
|
||||
adminDeleteEnabled?: boolean;
|
||||
maxAllowedMemberships?: number;
|
||||
} & MetadataParams;
|
||||
type UpdateLogoParams = {
|
||||
file: Blob | File;
|
||||
uploaderUserId?: string;
|
||||
};
|
||||
type UpdateMetadataParams = MetadataParams;
|
||||
type GetOrganizationMembershipListParams = ClerkPaginationRequest<{
|
||||
organizationId: string;
|
||||
/**
|
||||
* Sorts Organization memberships by phone_number, email_address, created_at, first_name, last_name or username.
|
||||
* By prepending one of those values with + or -, we can choose to sort in ascending (ASC) or descending (DESC) order.
|
||||
*/
|
||||
orderBy?: WithSign<'phone_number' | 'email_address' | 'created_at' | 'first_name' | 'last_name' | 'username'>;
|
||||
/**
|
||||
* Returns users with the user ids specified. For each user id, the `+` and `-` can be
|
||||
* prepended to the id, which denote whether the respective user id should be included or
|
||||
* excluded from the result set. Accepts up to 100 user ids. Any user ids not found are ignored.
|
||||
*/
|
||||
userId?: string[];
|
||||
emailAddress?: string[];
|
||||
phoneNumber?: string[];
|
||||
username?: string[];
|
||||
web3Wallet?: string[];
|
||||
role?: OrganizationMembershipRole[];
|
||||
/**
|
||||
* Returns users that match the given query.
|
||||
* For possible matches, we check the email addresses, phone numbers, usernames, web3 wallets, user ids, first and last names.
|
||||
* The query value doesn't need to match the exact value you are looking for, it is capable of partial matches as well.
|
||||
*/
|
||||
query?: string;
|
||||
/**
|
||||
* Returns users with emails that match the given query, via case-insensitive partial match.
|
||||
* For example, `email_address_query=ello` will match a user with the email `HELLO@example.com`.
|
||||
*/
|
||||
emailAddressQuery?: string;
|
||||
/**
|
||||
* Returns users with phone numbers that match the given query, via case-insensitive partial match.
|
||||
* For example, `phone_number_query=555` will match a user with the phone number `+1555xxxxxxx`.
|
||||
*/
|
||||
phoneNumberQuery?: string;
|
||||
/**
|
||||
* Returns users with usernames that match the given query, via case-insensitive partial match.
|
||||
* For example, `username_query=CoolUser` will match a user with the username `SomeCoolUser`.
|
||||
*/
|
||||
usernameQuery?: string;
|
||||
nameQuery?: string;
|
||||
/**
|
||||
* Returns users whose last session activity was before the given date (with millisecond precision).
|
||||
* Example: use 1700690400000 to retrieve users whose last session activity was before 2023-11-23.
|
||||
*/
|
||||
lastActiveAtBefore?: number;
|
||||
/**
|
||||
* Returns users whose last session activity was after the given date (with millisecond precision).
|
||||
* Example: use 1700690400000 to retrieve users whose last session activity was after 2023-11-23.
|
||||
*/
|
||||
lastActiveAtAfter?: number;
|
||||
/**
|
||||
* Returns users who have been created before the given date (with millisecond precision).
|
||||
* Example: use 1730160000000 to retrieve users who have been created before 2024-10-29.
|
||||
*/
|
||||
createdAtBefore?: number;
|
||||
/**
|
||||
* Returns users who have been created after the given date (with millisecond precision).
|
||||
* Example: use 1730160000000 to retrieve users who have been created after 2024-10-29.
|
||||
*/
|
||||
createdAtAfter?: number;
|
||||
}>;
|
||||
type GetInstanceOrganizationMembershipListParams = ClerkPaginationRequest<{
|
||||
/**
|
||||
* Sorts Organization memberships by phone_number, email_address, created_at, first_name, last_name or username.
|
||||
* By prepending one of those values with + or -, we can choose to sort in ascending (ASC) or descending (DESC) order.
|
||||
*/
|
||||
orderBy?: WithSign<'phone_number' | 'email_address' | 'created_at' | 'first_name' | 'last_name' | 'username'>;
|
||||
}>;
|
||||
type CreateOrganizationMembershipParams = {
|
||||
organizationId: string;
|
||||
userId: string;
|
||||
role: OrganizationMembershipRole;
|
||||
};
|
||||
type UpdateOrganizationMembershipParams = CreateOrganizationMembershipParams;
|
||||
type UpdateOrganizationMembershipMetadataParams = {
|
||||
organizationId: string;
|
||||
userId: string;
|
||||
} & MetadataParams<OrganizationMembershipPublicMetadata>;
|
||||
type DeleteOrganizationMembershipParams = {
|
||||
organizationId: string;
|
||||
userId: string;
|
||||
};
|
||||
type CreateOrganizationInvitationParams = {
|
||||
organizationId: string;
|
||||
emailAddress: string;
|
||||
role: OrganizationMembershipRole;
|
||||
expiresInDays?: number;
|
||||
inviterUserId?: string;
|
||||
privateMetadata?: OrganizationInvitationPrivateMetadata;
|
||||
publicMetadata?: OrganizationInvitationPublicMetadata;
|
||||
redirectUrl?: string;
|
||||
};
|
||||
type CreateBulkOrganizationInvitationParams = Array<{
|
||||
emailAddress: string;
|
||||
role: OrganizationMembershipRole;
|
||||
expiresInDays?: number;
|
||||
inviterUserId?: string;
|
||||
privateMetadata?: OrganizationInvitationPrivateMetadata;
|
||||
publicMetadata?: OrganizationInvitationPublicMetadata;
|
||||
redirectUrl?: string;
|
||||
}>;
|
||||
type GetOrganizationInvitationListParams = ClerkPaginationRequest<{
|
||||
organizationId: string;
|
||||
status?: OrganizationInvitationStatus[];
|
||||
}>;
|
||||
type GetOrganizationInvitationParams = {
|
||||
organizationId: string;
|
||||
invitationId: string;
|
||||
};
|
||||
type RevokeOrganizationInvitationParams = {
|
||||
organizationId: string;
|
||||
invitationId: string;
|
||||
requestingUserId?: string;
|
||||
};
|
||||
type GetOrganizationDomainListParams = {
|
||||
organizationId: string;
|
||||
limit?: number;
|
||||
offset?: number;
|
||||
};
|
||||
type CreateOrganizationDomainParams = {
|
||||
organizationId: string;
|
||||
name: string;
|
||||
enrollmentMode: OrganizationEnrollmentMode;
|
||||
verified?: boolean;
|
||||
};
|
||||
type UpdateOrganizationDomainParams = {
|
||||
organizationId: string;
|
||||
domainId: string;
|
||||
} & Partial<CreateOrganizationDomainParams>;
|
||||
type DeleteOrganizationDomainParams = {
|
||||
organizationId: string;
|
||||
domainId: string;
|
||||
};
|
||||
export declare class OrganizationAPI extends AbstractAPI {
|
||||
getOrganizationList(params?: GetOrganizationListParams): Promise<PaginatedResourceResponse<Organization[]>>;
|
||||
createOrganization(params: CreateParams): Promise<Organization>;
|
||||
getOrganization(params: GetOrganizationParams): Promise<Organization>;
|
||||
updateOrganization(organizationId: string, params: UpdateParams): Promise<Organization>;
|
||||
updateOrganizationLogo(organizationId: string, params: UpdateLogoParams): Promise<Organization>;
|
||||
deleteOrganizationLogo(organizationId: string): Promise<Organization>;
|
||||
updateOrganizationMetadata(organizationId: string, params: UpdateMetadataParams): Promise<Organization>;
|
||||
deleteOrganization(organizationId: string): Promise<Organization>;
|
||||
getOrganizationMembershipList(params: GetOrganizationMembershipListParams): Promise<PaginatedResourceResponse<OrganizationMembership[]>>;
|
||||
getInstanceOrganizationMembershipList(params: GetInstanceOrganizationMembershipListParams): Promise<PaginatedResourceResponse<OrganizationMembership[]>>;
|
||||
createOrganizationMembership(params: CreateOrganizationMembershipParams): Promise<OrganizationMembership>;
|
||||
updateOrganizationMembership(params: UpdateOrganizationMembershipParams): Promise<OrganizationMembership>;
|
||||
updateOrganizationMembershipMetadata(params: UpdateOrganizationMembershipMetadataParams): Promise<OrganizationMembership>;
|
||||
deleteOrganizationMembership(params: DeleteOrganizationMembershipParams): Promise<OrganizationMembership>;
|
||||
getOrganizationInvitationList(params: GetOrganizationInvitationListParams): Promise<PaginatedResourceResponse<OrganizationInvitation[]>>;
|
||||
createOrganizationInvitation(params: CreateOrganizationInvitationParams): Promise<OrganizationInvitation>;
|
||||
createOrganizationInvitationBulk(organizationId: string, params: CreateBulkOrganizationInvitationParams): Promise<OrganizationInvitation[]>;
|
||||
getOrganizationInvitation(params: GetOrganizationInvitationParams): Promise<OrganizationInvitation>;
|
||||
revokeOrganizationInvitation(params: RevokeOrganizationInvitationParams): Promise<OrganizationInvitation>;
|
||||
getOrganizationDomainList(params: GetOrganizationDomainListParams): Promise<PaginatedResourceResponse<OrganizationDomain[]>>;
|
||||
createOrganizationDomain(params: CreateOrganizationDomainParams): Promise<OrganizationDomain>;
|
||||
updateOrganizationDomain(params: UpdateOrganizationDomainParams): Promise<OrganizationDomain>;
|
||||
deleteOrganizationDomain(params: DeleteOrganizationDomainParams): Promise<OrganizationDomain>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=OrganizationApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/OrganizationApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/OrganizationApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"OrganizationApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/OrganizationApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AAI9F,OAAO,KAAK,EACV,YAAY,EACZ,kBAAkB,EAClB,sBAAs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AM;IAOzC,6BAA6B,CAAC,MAAM,EAAE,mCAAmC;IAWzE,qCAAqC,CAAC,MAAM,EAAE,2CAA2C;IAQzF,4BAA4B,CAAC,MAAM,EAAE,kCAAkC;IAWvE,4BAA4B,CAAC,MAAM,EAAE,kCAAkC;IAWvE,oCAAoC,CAAC,MAAM,EAAE,0CAA0C;IAUvF,4BAA4B,CAAC,MAAM,EAAE,kCAAkC;IAUvE,6BAA6B,CAAC,MAAM,EAAE,mCAAmC;IAWzE,4BAA4B,CAAC,MAAM,EAAE,kCAAkC;IAWvE,gCAAgC,CAC3C,cAAc,EAAE,MAAM,EACtB,MAAM,EAAE,sCAAsC;IAWnC,yBAAyB,CAAC,MAAM,EAAE,+BAA+B;IAWjE,4BAA4B,CAAC,MAAM,EAAE,kCAAkC;IAWvE,yBAAyB,CAAC,MAAM,EAAE,+BAA+B;IAWjE,wBAAwB,CAAC,MAAM,EAAE,8BAA8B;IAc/D,wBAAwB,CAAC,MAAM,EAAE,8BAA8B;IAY/D,wBAAwB,CAAC,MAAM,EAAE,8BAA8B;CAU7E"}
|
||||
22
node_modules/@clerk/backend/dist/api/endpoints/PhoneNumberApi.d.ts
generated
vendored
Normal file
22
node_modules/@clerk/backend/dist/api/endpoints/PhoneNumberApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
import type { DeletedObject, PhoneNumber } from '../resources';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type CreatePhoneNumberParams = {
|
||||
userId: string;
|
||||
phoneNumber: string;
|
||||
verified?: boolean;
|
||||
primary?: boolean;
|
||||
reservedForSecondFactor?: boolean;
|
||||
};
|
||||
type UpdatePhoneNumberParams = {
|
||||
verified?: boolean;
|
||||
primary?: boolean;
|
||||
reservedForSecondFactor?: boolean;
|
||||
};
|
||||
export declare class PhoneNumberAPI extends AbstractAPI {
|
||||
getPhoneNumber(phoneNumberId: string): Promise<PhoneNumber>;
|
||||
createPhoneNumber(params: CreatePhoneNumberParams): Promise<PhoneNumber>;
|
||||
updatePhoneNumber(phoneNumberId: string, params?: UpdatePhoneNumberParams): Promise<PhoneNumber>;
|
||||
deletePhoneNumber(phoneNumberId: string): Promise<DeletedObject>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=PhoneNumberApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/PhoneNumberApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/PhoneNumberApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"PhoneNumberApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/PhoneNumberApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,KAAK,uBAAuB,GAAG;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACnC,CAAC;AAEF,KAAK,uBAAuB,GAAG;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACnC,CAAC;AAEF,qBAAa,cAAe,SAAQ,WAAW;IAChC,cAAc,CAAC,aAAa,EAAE,MAAM;IASpC,iBAAiB,CAAC,MAAM,EAAE,uBAAuB;IAQjD,iBAAiB,CAAC,aAAa,EAAE,MAAM,EAAE,MAAM,GAAE,uBAA4B;IAU7E,iBAAiB,CAAC,aAAa,EAAE,MAAM;CAQrD"}
|
||||
11
node_modules/@clerk/backend/dist/api/endpoints/ProxyCheckApi.d.ts
generated
vendored
Normal file
11
node_modules/@clerk/backend/dist/api/endpoints/ProxyCheckApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import type { ProxyCheck } from '../resources';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type VerifyParams = {
|
||||
domainId: string;
|
||||
proxyUrl: string;
|
||||
};
|
||||
export declare class ProxyCheckAPI extends AbstractAPI {
|
||||
verify(params: VerifyParams): Promise<ProxyCheck>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=ProxyCheckApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/ProxyCheckApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/ProxyCheckApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ProxyCheckApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/ProxyCheckApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,KAAK,YAAY,GAAG;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,qBAAa,aAAc,SAAQ,WAAW;IAC/B,MAAM,CAAC,MAAM,EAAE,YAAY;CAOzC"}
|
||||
14
node_modules/@clerk/backend/dist/api/endpoints/RedirectUrlApi.d.ts
generated
vendored
Normal file
14
node_modules/@clerk/backend/dist/api/endpoints/RedirectUrlApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import type { RedirectUrl } from '../resources/RedirectUrl';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type CreateRedirectUrlParams = {
|
||||
url: string;
|
||||
};
|
||||
export declare class RedirectUrlAPI extends AbstractAPI {
|
||||
getRedirectUrlList(): Promise<PaginatedResourceResponse<RedirectUrl[]>>;
|
||||
getRedirectUrl(redirectUrlId: string): Promise<RedirectUrl>;
|
||||
createRedirectUrl(params: CreateRedirectUrlParams): Promise<RedirectUrl>;
|
||||
deleteRedirectUrl(redirectUrlId: string): Promise<RedirectUrl>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=RedirectUrlApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/RedirectUrlApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/RedirectUrlApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"RedirectUrlApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/RedirectUrlApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,KAAK,uBAAuB,GAAG;IAC7B,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,qBAAa,cAAe,SAAQ,WAAW;IAChC,kBAAkB;IAQlB,cAAc,CAAC,aAAa,EAAE,MAAM;IAQpC,iBAAiB,CAAC,MAAM,EAAE,uBAAuB;IAQjD,iBAAiB,CAAC,aAAa,EAAE,MAAM;CAOrD"}
|
||||
69
node_modules/@clerk/backend/dist/api/endpoints/SamlConnectionApi.d.ts
generated
vendored
Normal file
69
node_modules/@clerk/backend/dist/api/endpoints/SamlConnectionApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
import type { ClerkPaginationRequest, SamlIdpSlug } from '@clerk/shared/types';
|
||||
import type { SamlConnection } from '../resources';
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
import type { WithSign } from './util-types';
|
||||
type SamlConnectionListParams = ClerkPaginationRequest<{
|
||||
/**
|
||||
* Returns SAML connections that have a name that matches the given query, via case-insensitive partial match.
|
||||
*/
|
||||
query?: string;
|
||||
/**
|
||||
* Sorts SAML connections by phone_number, email_address, created_at, first_name, last_name or username.
|
||||
* By prepending one of those values with + or -, we can choose to sort in ascending (ASC) or descending (DESC) order.
|
||||
*/
|
||||
orderBy?: WithSign<'phone_number' | 'email_address' | 'created_at' | 'first_name' | 'last_name' | 'username'>;
|
||||
/**
|
||||
* Returns SAML connections that have an associated Organization ID to the given Organizations.
|
||||
* For each Organization ID, the + and - can be prepended to the ID, which denote whether the
|
||||
* respective Organization should be included or excluded from the result set. Accepts up to 100 Organization IDs.
|
||||
*/
|
||||
organizationId?: WithSign<string>[];
|
||||
}>;
|
||||
type CreateSamlConnectionParams = {
|
||||
name: string;
|
||||
provider: SamlIdpSlug;
|
||||
domain: string;
|
||||
organizationId?: string;
|
||||
idpEntityId?: string;
|
||||
idpSsoUrl?: string;
|
||||
idpCertificate?: string;
|
||||
idpMetadataUrl?: string;
|
||||
idpMetadata?: string;
|
||||
attributeMapping?: {
|
||||
emailAddress?: string;
|
||||
firstName?: string;
|
||||
lastName?: string;
|
||||
userId?: string;
|
||||
};
|
||||
};
|
||||
type UpdateSamlConnectionParams = {
|
||||
name?: string;
|
||||
provider?: SamlIdpSlug;
|
||||
domain?: string;
|
||||
organizationId?: string;
|
||||
idpEntityId?: string;
|
||||
idpSsoUrl?: string;
|
||||
idpCertificate?: string;
|
||||
idpMetadataUrl?: string;
|
||||
idpMetadata?: string;
|
||||
attributeMapping?: {
|
||||
emailAddress?: string;
|
||||
firstName?: string;
|
||||
lastName?: string;
|
||||
userId?: string;
|
||||
};
|
||||
active?: boolean;
|
||||
syncUserAttributes?: boolean;
|
||||
allowSubdomains?: boolean;
|
||||
allowIdpInitiated?: boolean;
|
||||
};
|
||||
export declare class SamlConnectionAPI extends AbstractAPI {
|
||||
getSamlConnectionList(params?: SamlConnectionListParams): Promise<PaginatedResourceResponse<SamlConnection[]>>;
|
||||
createSamlConnection(params: CreateSamlConnectionParams): Promise<SamlConnection>;
|
||||
getSamlConnection(samlConnectionId: string): Promise<SamlConnection>;
|
||||
updateSamlConnection(samlConnectionId: string, params?: UpdateSamlConnectionParams): Promise<SamlConnection>;
|
||||
deleteSamlConnection(samlConnectionId: string): Promise<SamlConnection>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=SamlConnectionApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/SamlConnectionApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/SamlConnectionApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"SamlConnectionApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/SamlConnectionApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAG/E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAI7C,KAAK,wBAAwB,GAAG,sBAAsB,CAAC;IACrD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,OAAO,CAAC,EAAE,QAAQ,CAAC,cAAc,GAAG,eAAe,GAAG,YAAY,GAAG,YAAY,GAAG,WAAW,GAAG,UAAU,CAAC,CAAC;IAE9G;;;;OAIG;IACH,cAAc,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;CACrC,CAAC,CAAC;AAEH,KAAK,0BAA0B,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,WAAW,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,C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CAAC,gBAAgB,EAAE,MAAM;IAQ1C,oBAAoB,CAAC,gBAAgB,EAAE,MAAM,EAAE,MAAM,GAAE,0BAA+B;IAYtF,oBAAoB,CAAC,gBAAgB,EAAE,MAAM;CAO3D"}
|
||||
52
node_modules/@clerk/backend/dist/api/endpoints/SessionApi.d.ts
generated
vendored
Normal file
52
node_modules/@clerk/backend/dist/api/endpoints/SessionApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,52 @@
|
||||
import type { ClerkPaginationRequest, SessionStatus } from '@clerk/shared/types';
|
||||
import type { Cookies } from '../resources/Cookies';
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import type { Session } from '../resources/Session';
|
||||
import type { Token } from '../resources/Token';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type SessionListParams = ClerkPaginationRequest<{
|
||||
clientId?: string;
|
||||
userId?: string;
|
||||
status?: SessionStatus;
|
||||
}>;
|
||||
type RefreshTokenParams = {
|
||||
expired_token: string;
|
||||
refresh_token: string;
|
||||
request_origin: string;
|
||||
request_originating_ip?: string;
|
||||
request_headers?: Record<string, string[]>;
|
||||
suffixed_cookies?: boolean;
|
||||
format?: 'token' | 'cookie';
|
||||
};
|
||||
type CreateSessionParams = {
|
||||
userId: string;
|
||||
};
|
||||
export declare class SessionAPI extends AbstractAPI {
|
||||
getSessionList(params?: SessionListParams): Promise<PaginatedResourceResponse<Session[]>>;
|
||||
getSession(sessionId: string): Promise<Session>;
|
||||
createSession(params: CreateSessionParams): Promise<Session>;
|
||||
revokeSession(sessionId: string): Promise<Session>;
|
||||
verifySession(sessionId: string, token: string): Promise<Session>;
|
||||
/**
|
||||
* Retrieves a session token or generates a JWT using a specified template.
|
||||
*
|
||||
* @param sessionId - The ID of the session for which to generate the token
|
||||
* @param template - Optional name of the JWT template configured in the Clerk Dashboard.
|
||||
* @param expiresInSeconds - Optional expiration time for the token in seconds.
|
||||
* If not provided, uses the default expiration.
|
||||
*
|
||||
* @returns A promise that resolves to the generated token
|
||||
*
|
||||
* @throws {Error} When sessionId is invalid or empty
|
||||
*/
|
||||
getToken(sessionId: string, template?: string, expiresInSeconds?: number): Promise<Token>;
|
||||
refreshSession(sessionId: string, params: RefreshTokenParams & {
|
||||
format: 'token';
|
||||
}): Promise<Token>;
|
||||
refreshSession(sessionId: string, params: RefreshTokenParams & {
|
||||
format: 'cookie';
|
||||
}): Promise<Cookies>;
|
||||
refreshSession(sessionId: string, params: RefreshTokenParams): Promise<Token>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=SessionApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/SessionApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/SessionApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"SessionApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/SessionApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAGjF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,KAAK,iBAAiB,GAAG,sBAAsB,CAAC;IAC9C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,aAAa,CAAC;CACxB,CAAC,CAAC;AAEH,KAAK,kBAAkB,GAAG;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAC3C,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;CAC7B,CAAC;AAEF,KAAK,mBAAmB,GAAG;IACzB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,qBAAa,UAAW,SAAQ,WAAW;IAC5B,cAAc,CAAC,MAAM,GAAE,iBAAsB;IAQ7C,UAAU,CAAC,SAAS,EAAE,MAAM;IAQ5B,aAAa,CAAC,MAAM,EAAE,mBAAmB;IAQzC,aAAa,CAAC,SAAS,EAAE,MAAM;IAQ/B,aAAa,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;IAS3D;;;;;;;;;;;OAWG;IACU,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,gBAAgB,CAAC,EAAE,MAAM;IAmBxE,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,GAAG;QAAE,MAAM,EAAE,OAAO,CAAA;KAAE,GAAG,OAAO,CAAC,KAAK,CAAC;IACnG,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,GAAG;QAAE,MAAM,EAAE,QAAQ,CAAA;KAAE,GAAG,OAAO,CAAC,OAAO,CAAC;IACtG,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,KAAK,CAAC;CAW3F"}
|
||||
12
node_modules/@clerk/backend/dist/api/endpoints/SignInTokenApi.d.ts
generated
vendored
Normal file
12
node_modules/@clerk/backend/dist/api/endpoints/SignInTokenApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import type { SignInToken } from '../resources/SignInTokens';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type CreateSignInTokensParams = {
|
||||
userId: string;
|
||||
expiresInSeconds: number;
|
||||
};
|
||||
export declare class SignInTokenAPI extends AbstractAPI {
|
||||
createSignInToken(params: CreateSignInTokensParams): Promise<SignInToken>;
|
||||
revokeSignInToken(signInTokenId: string): Promise<SignInToken>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=SignInTokenApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/SignInTokenApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/SignInTokenApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"SignInTokenApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/SignInTokenApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,KAAK,wBAAwB,GAAG;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAIF,qBAAa,cAAe,SAAQ,WAAW;IAChC,iBAAiB,CAAC,MAAM,EAAE,wBAAwB;IAQlD,iBAAiB,CAAC,aAAa,EAAE,MAAM;CAOrD"}
|
||||
13
node_modules/@clerk/backend/dist/api/endpoints/SignUpApi.d.ts
generated
vendored
Normal file
13
node_modules/@clerk/backend/dist/api/endpoints/SignUpApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
import type { SignUpAttempt } from '../resources/SignUpAttempt';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
type UpdateSignUpParams = {
|
||||
signUpAttemptId: string;
|
||||
externalId?: string | null;
|
||||
customAction?: boolean | null;
|
||||
};
|
||||
export declare class SignUpAPI extends AbstractAPI {
|
||||
get(signUpAttemptId: string): Promise<SignUpAttempt>;
|
||||
update(params: UpdateSignUpParams): Promise<SignUpAttempt>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=SignUpApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/SignUpApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/SignUpApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"SignUpApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/SignUpApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,KAAK,kBAAkB,GAAG;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,YAAY,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CAC/B,CAAC;AAIF,qBAAa,SAAU,SAAQ,WAAW;IAC3B,GAAG,CAAC,eAAe,EAAE,MAAM;IAS3B,MAAM,CAAC,MAAM,EAAE,kBAAkB;CAS/C"}
|
||||
6
node_modules/@clerk/backend/dist/api/endpoints/TestingTokenApi.d.ts
generated
vendored
Normal file
6
node_modules/@clerk/backend/dist/api/endpoints/TestingTokenApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
import type { TestingToken } from '../resources/TestingToken';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
export declare class TestingTokenAPI extends AbstractAPI {
|
||||
createTestingToken(): Promise<TestingToken>;
|
||||
}
|
||||
//# sourceMappingURL=TestingTokenApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/TestingTokenApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/TestingTokenApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"TestingTokenApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/TestingTokenApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,qBAAa,eAAgB,SAAQ,WAAW;IACjC,kBAAkB;CAMhC"}
|
||||
178
node_modules/@clerk/backend/dist/api/endpoints/UserApi.d.ts
generated
vendored
Normal file
178
node_modules/@clerk/backend/dist/api/endpoints/UserApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,178 @@
|
||||
import type { ClerkPaginationRequest, OAuthProvider, OrganizationInvitationStatus } from '@clerk/shared/types';
|
||||
import type { DeletedObject, OauthAccessToken, OrganizationInvitation, OrganizationMembership, User } from '../resources';
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
import type { WithSign } from './util-types';
|
||||
type UserCountParams = {
|
||||
emailAddress?: string[];
|
||||
phoneNumber?: string[];
|
||||
username?: string[];
|
||||
web3Wallet?: string[];
|
||||
query?: string;
|
||||
userId?: string[];
|
||||
externalId?: string[];
|
||||
};
|
||||
type UserListParams = ClerkPaginationRequest<UserCountParams & {
|
||||
orderBy?: WithSign<'created_at' | 'updated_at' | 'email_address' | 'web3wallet' | 'first_name' | 'last_name' | 'phone_number' | 'username' | 'last_active_at' | 'last_sign_in_at'>;
|
||||
/**
|
||||
* @deprecated Use `lastActiveAtAfter` instead. This parameter will be removed in a future version.
|
||||
*/
|
||||
last_active_at_since?: number;
|
||||
lastActiveAtBefore?: number;
|
||||
lastActiveAtAfter?: number;
|
||||
createdAtBefore?: number;
|
||||
createdAtAfter?: number;
|
||||
lastSignInAtAfter?: number;
|
||||
lastSignInAtBefore?: number;
|
||||
organizationId?: string[];
|
||||
}>;
|
||||
type UserMetadataParams = {
|
||||
publicMetadata?: UserPublicMetadata;
|
||||
privateMetadata?: UserPrivateMetadata;
|
||||
unsafeMetadata?: UserUnsafeMetadata;
|
||||
};
|
||||
type PasswordHasher = 'argon2i' | 'argon2id' | 'awscognito' | 'bcrypt' | 'bcrypt_sha256_django' | 'md5' | 'pbkdf2_sha256' | 'pbkdf2_sha256_django' | 'pbkdf2_sha1' | 'phpass' | 'scrypt_firebase' | 'scrypt_werkzeug' | 'sha256' | 'md5_phpass' | 'ldap_ssha';
|
||||
type UserPasswordHashingParams = {
|
||||
passwordDigest: string;
|
||||
passwordHasher: PasswordHasher;
|
||||
};
|
||||
type CreateUserParams = {
|
||||
externalId?: string;
|
||||
emailAddress?: string[];
|
||||
phoneNumber?: string[];
|
||||
username?: string;
|
||||
password?: string;
|
||||
firstName?: string;
|
||||
lastName?: string;
|
||||
/** The locale of the user in BCP-47 format. */
|
||||
locale?: string;
|
||||
skipPasswordChecks?: boolean;
|
||||
skipPasswordRequirement?: boolean;
|
||||
skipLegalChecks?: boolean;
|
||||
legalAcceptedAt?: Date;
|
||||
totpSecret?: string;
|
||||
backupCodes?: string[];
|
||||
createdAt?: Date;
|
||||
} & UserMetadataParams & (UserPasswordHashingParams | object);
|
||||
type UpdateUserParams = {
|
||||
/** The first name to assign to the user. */
|
||||
firstName?: string;
|
||||
/** The last name of the user. */
|
||||
lastName?: string;
|
||||
/** The username to give to the user. It must be unique across your instance. */
|
||||
username?: string;
|
||||
/** The plaintext password to give the user. Must be at least 8 characters long, and can not be in any list of hacked passwords. */
|
||||
password?: string;
|
||||
/** Set it to true if you're updating the user's password and want to skip any password policy settings check. This parameter can only be used when providing a password. */
|
||||
skipPasswordChecks?: boolean;
|
||||
/** Set to true to sign out the user from all their active sessions once their password is updated. This parameter can only be used when providing a password. */
|
||||
signOutOfOtherSessions?: boolean;
|
||||
/** The ID of the email address to set as primary. It must be verified, and present on the current user. */
|
||||
primaryEmailAddressID?: string;
|
||||
/** If set to true, the user will be notified that their primary email address has changed. By default, no notification is sent. */
|
||||
notifyPrimaryEmailAddressChanged?: boolean;
|
||||
/** The ID of the phone number to set as primary. It must be verified, and present on the current user. */
|
||||
primaryPhoneNumberID?: string;
|
||||
/** The ID of the web3 wallets to set as primary. It must be verified, and present on the current user. */
|
||||
primaryWeb3WalletID?: string;
|
||||
/** The ID of the image to set as the user's profile image */
|
||||
profileImageID?: string;
|
||||
/**
|
||||
* In case TOTP is configured on the instance, you can provide the secret to enable it on the specific user without the need to reset it.
|
||||
* Please note that currently the supported options are:
|
||||
* - Period: 30 seconds
|
||||
* - Code length: 6 digits
|
||||
* - Algorithm: SHA1
|
||||
*/
|
||||
totpSecret?: string;
|
||||
/** If Backup Codes are configured on the instance, you can provide them to enable it on the specific user without the need to reset them. You must provide the backup codes in plain format or the corresponding bcrypt digest. */
|
||||
backupCodes?: string[];
|
||||
/** The ID of the user as used in your external systems or your previous authentication solution. Must be unique across your instance. */
|
||||
externalId?: string;
|
||||
/** A custom timestamp denoting when the user signed up to the application, specified in RFC3339 format (e.g. 2012-10-20T07:15:20.902Z). */
|
||||
createdAt?: Date;
|
||||
/** When set to true all legal checks are skipped. It is not recommended to skip legal checks unless you are migrating a user to Clerk. */
|
||||
skipLegalChecks?: boolean;
|
||||
/** A custom timestamp denoting when the user accepted legal requirements, specified in RFC3339 format (e.g. 2012-10-20T07:15:20.902Z). */
|
||||
legalAcceptedAt?: Date;
|
||||
/** The locale of the user in BCP-47 format. */
|
||||
locale?: string;
|
||||
/** If true, the user can delete themselves with the Frontend API. */
|
||||
deleteSelfEnabled?: boolean;
|
||||
/** If true, the user can create Organizations with the Frontend API. */
|
||||
createOrganizationEnabled?: boolean;
|
||||
/** The maximum number of Organizations the user can create. 0 means unlimited. */
|
||||
createOrganizationsLimit?: number;
|
||||
} & UserMetadataParams & (UserPasswordHashingParams | object);
|
||||
type GetOrganizationMembershipListParams = ClerkPaginationRequest<{
|
||||
userId: string;
|
||||
}>;
|
||||
type GetOrganizationInvitationListParams = ClerkPaginationRequest<{
|
||||
userId: string;
|
||||
status?: OrganizationInvitationStatus;
|
||||
}>;
|
||||
type VerifyPasswordParams = {
|
||||
userId: string;
|
||||
password: string;
|
||||
};
|
||||
type VerifyTOTPParams = {
|
||||
userId: string;
|
||||
code: string;
|
||||
};
|
||||
type DeleteUserPasskeyParams = {
|
||||
userId: string;
|
||||
passkeyIdentificationId: string;
|
||||
};
|
||||
type DeleteWeb3WalletParams = {
|
||||
userId: string;
|
||||
web3WalletIdentificationId: string;
|
||||
};
|
||||
type DeleteUserExternalAccountParams = {
|
||||
userId: string;
|
||||
externalAccountId: string;
|
||||
};
|
||||
type SetPasswordCompromisedParams = {
|
||||
revokeAllSessions?: boolean;
|
||||
};
|
||||
type UserID = {
|
||||
userId: string;
|
||||
};
|
||||
export declare class UserAPI extends AbstractAPI {
|
||||
getUserList(params?: UserListParams): Promise<PaginatedResourceResponse<User[]>>;
|
||||
getUser(userId: string): Promise<User>;
|
||||
createUser(params: CreateUserParams): Promise<User>;
|
||||
updateUser(userId: string, params?: UpdateUserParams): Promise<User>;
|
||||
updateUserProfileImage(userId: string, params: {
|
||||
file: Blob | File;
|
||||
}): Promise<User>;
|
||||
updateUserMetadata(userId: string, params: UserMetadataParams): Promise<User>;
|
||||
deleteUser(userId: string): Promise<User>;
|
||||
getCount(params?: UserCountParams): Promise<number>;
|
||||
/** @deprecated Use `getUserOauthAccessToken` without the `oauth_` provider prefix . */
|
||||
getUserOauthAccessToken(userId: string, provider: `oauth_${OAuthProvider}`): Promise<PaginatedResourceResponse<OauthAccessToken[]>>;
|
||||
getUserOauthAccessToken(userId: string, provider: OAuthProvider): Promise<PaginatedResourceResponse<OauthAccessToken[]>>;
|
||||
disableUserMFA(userId: string): Promise<UserID>;
|
||||
getOrganizationMembershipList(params: GetOrganizationMembershipListParams): Promise<PaginatedResourceResponse<OrganizationMembership[]>>;
|
||||
getOrganizationInvitationList(params: GetOrganizationInvitationListParams): Promise<PaginatedResourceResponse<OrganizationInvitation[]>>;
|
||||
verifyPassword(params: VerifyPasswordParams): Promise<{
|
||||
verified: true;
|
||||
}>;
|
||||
verifyTOTP(params: VerifyTOTPParams): Promise<{
|
||||
verified: true;
|
||||
code_type: "totp";
|
||||
}>;
|
||||
banUser(userId: string): Promise<User>;
|
||||
unbanUser(userId: string): Promise<User>;
|
||||
lockUser(userId: string): Promise<User>;
|
||||
unlockUser(userId: string): Promise<User>;
|
||||
deleteUserProfileImage(userId: string): Promise<User>;
|
||||
deleteUserPasskey(params: DeleteUserPasskeyParams): Promise<DeletedObject>;
|
||||
deleteUserWeb3Wallet(params: DeleteWeb3WalletParams): Promise<DeletedObject>;
|
||||
deleteUserExternalAccount(params: DeleteUserExternalAccountParams): Promise<DeletedObject>;
|
||||
deleteUserBackupCodes(userId: string): Promise<UserID>;
|
||||
deleteUserTOTP(userId: string): Promise<UserID>;
|
||||
setPasswordCompromised(userId: string, params?: SetPasswordCompromisedParams): Promise<User>;
|
||||
unsetPasswordCompromised(userId: string): Promise<User>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=UserApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/UserApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/UserApi.d.ts.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
61
node_modules/@clerk/backend/dist/api/endpoints/WaitlistEntryApi.d.ts
generated
vendored
Normal file
61
node_modules/@clerk/backend/dist/api/endpoints/WaitlistEntryApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,61 @@
|
||||
import type { ClerkPaginationRequest } from '@clerk/shared/types';
|
||||
import type { DeletedObject } from '../resources/DeletedObject';
|
||||
import type { PaginatedResourceResponse } from '../resources/Deserializer';
|
||||
import type { WaitlistEntryStatus } from '../resources/Enums';
|
||||
import type { WaitlistEntry } from '../resources/WaitlistEntry';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
import type { WithSign } from './util-types';
|
||||
type WaitlistEntryListParams = ClerkPaginationRequest<{
|
||||
/**
|
||||
* Filter waitlist entries by `email_address` or `id`
|
||||
*/
|
||||
query?: string;
|
||||
status?: WaitlistEntryStatus;
|
||||
orderBy?: WithSign<'created_at' | 'invited_at' | 'email_address'>;
|
||||
}>;
|
||||
type WaitlistEntryCreateParams = {
|
||||
emailAddress: string;
|
||||
notify?: boolean;
|
||||
};
|
||||
type WaitlistEntryBulkCreateParams = Array<WaitlistEntryCreateParams>;
|
||||
type WaitlistEntryInviteParams = {
|
||||
/**
|
||||
* When true, do not error if an invitation already exists. Default: false.
|
||||
*/
|
||||
ignoreExisting?: boolean;
|
||||
};
|
||||
export declare class WaitlistEntryAPI extends AbstractAPI {
|
||||
/**
|
||||
* List waitlist entries.
|
||||
* @param params Optional parameters (e.g., `query`, `status`, `orderBy`).
|
||||
*/
|
||||
list(params?: WaitlistEntryListParams): Promise<PaginatedResourceResponse<WaitlistEntry[]>>;
|
||||
/**
|
||||
* Create a waitlist entry.
|
||||
* @param params The parameters for creating a waitlist entry.
|
||||
*/
|
||||
create(params: WaitlistEntryCreateParams): Promise<WaitlistEntry>;
|
||||
/**
|
||||
* Bulk create waitlist entries.
|
||||
* @param params An array of parameters for creating waitlist entries.
|
||||
*/
|
||||
createBulk(params: WaitlistEntryBulkCreateParams): Promise<WaitlistEntry[]>;
|
||||
/**
|
||||
* Invite a waitlist entry.
|
||||
* @param id The waitlist entry ID.
|
||||
* @param params Optional parameters (e.g., `ignoreExisting`).
|
||||
*/
|
||||
invite(id: string, params?: WaitlistEntryInviteParams): Promise<WaitlistEntry>;
|
||||
/**
|
||||
* Reject a waitlist entry.
|
||||
* @param id The waitlist entry ID.
|
||||
*/
|
||||
reject(id: string): Promise<WaitlistEntry>;
|
||||
/**
|
||||
* Delete a waitlist entry.
|
||||
* @param id The waitlist entry ID.
|
||||
*/
|
||||
delete(id: string): Promise<DeletedObject>;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=WaitlistEntryApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/WaitlistEntryApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/WaitlistEntryApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"WaitlistEntryApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/WaitlistEntryApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAGlE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAI7C,KAAK,uBAAuB,GAAG,sBAAsB,CAAC;IACpD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B,OAAO,CAAC,EAAE,QAAQ,CAAC,YAAY,GAAG,YAAY,GAAG,eAAe,CAAC,CAAC;CACnE,CAAC,CAAC;AAEH,KAAK,yBAAyB,GAAG;IAC/B,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,KAAK,6BAA6B,GAAG,KAAK,CAAC,yBAAyB,CAAC,CAAC;AAEtE,KAAK,yBAAyB,GAAG;IAC/B;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;OAGG;IACU,IAAI,CAAC,MAAM,GAAE,uBAA4B;IAQtD;;;OAGG;IACU,MAAM,CAAC,MAAM,EAAE,yBAAyB;IAQrD;;;OAGG;IACU,UAAU,CAAC,MAAM,EAAE,6BAA6B;IAQ7D;;;;OAIG;IACU,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,GAAE,yBAA8B;IAUtE;;;OAGG;IACU,MAAM,CAAC,EAAE,EAAE,MAAM;IAS9B;;;OAGG;IACU,MAAM,CAAC,EAAE,EAAE,MAAM;CAQ/B"}
|
||||
8
node_modules/@clerk/backend/dist/api/endpoints/WebhookApi.d.ts
generated
vendored
Normal file
8
node_modules/@clerk/backend/dist/api/endpoints/WebhookApi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
import type { WebhooksSvixJSON } from '../resources/JSON';
|
||||
import { AbstractAPI } from './AbstractApi';
|
||||
export declare class WebhookAPI extends AbstractAPI {
|
||||
createSvixApp(): Promise<WebhooksSvixJSON>;
|
||||
generateSvixAuthURL(): Promise<WebhooksSvixJSON>;
|
||||
deleteSvixApp(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=WebhookApi.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/WebhookApi.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/WebhookApi.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"WebhookApi.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/WebhookApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,qBAAa,UAAW,SAAQ,WAAW;IAC5B,aAAa;IAOb,mBAAmB;IAOnB,aAAa;CAM3B"}
|
||||
33
node_modules/@clerk/backend/dist/api/endpoints/index.d.ts
generated
vendored
Normal file
33
node_modules/@clerk/backend/dist/api/endpoints/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
export * from './ActorTokenApi';
|
||||
export * from './AgentTaskApi';
|
||||
export * from './AccountlessApplicationsAPI';
|
||||
export * from './AbstractApi';
|
||||
export * from './AllowlistIdentifierApi';
|
||||
export * from './APIKeysApi';
|
||||
export * from './BetaFeaturesApi';
|
||||
export * from './BlocklistIdentifierApi';
|
||||
export * from './ClientApi';
|
||||
export * from './DomainApi';
|
||||
export * from './EmailAddressApi';
|
||||
export * from './EnterpriseConnectionApi';
|
||||
export * from './IdPOAuthAccessTokenApi';
|
||||
export * from './InstanceApi';
|
||||
export * from './InvitationApi';
|
||||
export * from './MachineApi';
|
||||
export * from './M2MTokenApi';
|
||||
export * from './JwksApi';
|
||||
export * from './JwtTemplatesApi';
|
||||
export * from './OrganizationApi';
|
||||
export * from './OAuthApplicationsApi';
|
||||
export * from './PhoneNumberApi';
|
||||
export * from './ProxyCheckApi';
|
||||
export * from './RedirectUrlApi';
|
||||
export * from './SamlConnectionApi';
|
||||
export * from './SessionApi';
|
||||
export * from './SignInTokenApi';
|
||||
export * from './SignUpApi';
|
||||
export * from './TestingTokenApi';
|
||||
export * from './UserApi';
|
||||
export * from './WaitlistEntryApi';
|
||||
export * from './WebhookApi';
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/index.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/index.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AACzC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC"}
|
||||
2
node_modules/@clerk/backend/dist/api/endpoints/util-types.d.ts
generated
vendored
Normal file
2
node_modules/@clerk/backend/dist/api/endpoints/util-types.d.ts
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
export type WithSign<T extends string> = `+${T}` | `-${T}` | T;
|
||||
//# sourceMappingURL=util-types.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/endpoints/util-types.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/endpoints/util-types.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"util-types.d.ts","sourceRoot":"","sources":["../../../src/api/endpoints/util-types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,CAAC,CAAC,SAAS,MAAM,IAAI,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC"}
|
||||
51
node_modules/@clerk/backend/dist/api/factory.d.ts
generated
vendored
Normal file
51
node_modules/@clerk/backend/dist/api/factory.d.ts
generated
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
import { AccountlessApplicationAPI, ActorTokenAPI, AgentTaskAPI, AllowlistIdentifierAPI, APIKeysAPI, BetaFeaturesAPI, BlocklistIdentifierAPI, ClientAPI, DomainAPI, EmailAddressAPI, EnterpriseConnectionAPI, IdPOAuthAccessTokenApi, InstanceAPI, InvitationAPI, JwksAPI, JwtTemplatesApi, M2MTokenApi, MachineApi, OAuthApplicationsApi, OrganizationAPI, PhoneNumberAPI, ProxyCheckAPI, RedirectUrlAPI, SamlConnectionAPI, SessionAPI, SignInTokenAPI, SignUpAPI, TestingTokenAPI, UserAPI, WaitlistEntryAPI, WebhookAPI } from './endpoints';
|
||||
import { BillingAPI } from './endpoints/BillingApi';
|
||||
import { buildRequest } from './request';
|
||||
export type CreateBackendApiOptions = Parameters<typeof buildRequest>[0] & {
|
||||
jwtKey?: string;
|
||||
};
|
||||
export type ApiClient = ReturnType<typeof createBackendApiClient>;
|
||||
export declare function createBackendApiClient(options: CreateBackendApiOptions): {
|
||||
__experimental_accountlessApplications: AccountlessApplicationAPI;
|
||||
actorTokens: ActorTokenAPI;
|
||||
/**
|
||||
* @experimental This is an experimental API for the Agent Tasks feature that is available under a private beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
||||
*/
|
||||
agentTasks: AgentTaskAPI;
|
||||
allowlistIdentifiers: AllowlistIdentifierAPI;
|
||||
apiKeys: APIKeysAPI;
|
||||
betaFeatures: BetaFeaturesAPI;
|
||||
blocklistIdentifiers: BlocklistIdentifierAPI;
|
||||
/**
|
||||
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
||||
*/
|
||||
billing: BillingAPI;
|
||||
clients: ClientAPI;
|
||||
domains: DomainAPI;
|
||||
emailAddresses: EmailAddressAPI;
|
||||
enterpriseConnections: EnterpriseConnectionAPI;
|
||||
idPOAuthAccessToken: IdPOAuthAccessTokenApi;
|
||||
instance: InstanceAPI;
|
||||
invitations: InvitationAPI;
|
||||
jwks: JwksAPI;
|
||||
jwtTemplates: JwtTemplatesApi;
|
||||
machines: MachineApi;
|
||||
m2m: M2MTokenApi;
|
||||
oauthApplications: OAuthApplicationsApi;
|
||||
organizations: OrganizationAPI;
|
||||
phoneNumbers: PhoneNumberAPI;
|
||||
proxyChecks: ProxyCheckAPI;
|
||||
redirectUrls: RedirectUrlAPI;
|
||||
sessions: SessionAPI;
|
||||
signInTokens: SignInTokenAPI;
|
||||
signUps: SignUpAPI;
|
||||
testingTokens: TestingTokenAPI;
|
||||
users: UserAPI;
|
||||
waitlistEntries: WaitlistEntryAPI;
|
||||
webhooks: WebhookAPI;
|
||||
/**
|
||||
* @deprecated Use `enterpriseConnections` instead.
|
||||
*/
|
||||
samlConnections: SamlConnectionAPI;
|
||||
};
|
||||
//# sourceMappingURL=factory.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/factory.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/factory.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../src/api/factory.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,aAAa,EACb,YAAY,EACZ,sBAAsB,EACtB,UAAU,EACV,eAAe,EACf,sBAAsB,EACtB,SAAS,EACT,SAAS,EACT,eAAe,EACf,uBAAuB,EACvB,sBAAsB,EACtB,WAAW,EACX,aAAa,EACb,OAAO,EACP,eAAe,EACf,WAAW,EACX,UAAU,EACV,oBAAoB,EACpB,eAAe,EACf,cAAc,EACd,aAAa,EACb,cAAc,EACd,iBAAiB,EACjB,UAAU,EACV,cAAc,EACd,SAAS,EACT,eAAe,EACf,OAAO,EACP,gBAAgB,EAChB,UAAU,EACX,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC,GAAG;IACzE,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAElE,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,uBAAuB;;;IAQnE;;OAEG;;;;;;IAWH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;IA2CH;;OAEG;;EAGN"}
|
||||
3
node_modules/@clerk/backend/dist/api/index.d.ts
generated
vendored
Normal file
3
node_modules/@clerk/backend/dist/api/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
export * from './factory';
|
||||
export * from './resources';
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/index.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/index.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC"}
|
||||
76
node_modules/@clerk/backend/dist/api/request.d.ts
generated
vendored
Normal file
76
node_modules/@clerk/backend/dist/api/request.d.ts
generated
vendored
Normal file
@@ -0,0 +1,76 @@
|
||||
import type { ClerkAPIError } from '@clerk/shared/types';
|
||||
type ClerkBackendApiRequestOptionsUrlOrPath = {
|
||||
url: string;
|
||||
path?: string;
|
||||
} | {
|
||||
url?: string;
|
||||
path: string;
|
||||
};
|
||||
type ClerkBackendApiRequestOptionsBodyParams = {
|
||||
bodyParams: Record<string, unknown> | Array<Record<string, unknown>>;
|
||||
options?: {
|
||||
/**
|
||||
* If true, snakecases the keys of the bodyParams object recursively.
|
||||
* @default false
|
||||
*/
|
||||
deepSnakecaseBodyParamKeys?: boolean;
|
||||
};
|
||||
} | {
|
||||
bodyParams?: never;
|
||||
options?: {
|
||||
deepSnakecaseBodyParamKeys?: never;
|
||||
};
|
||||
};
|
||||
export type ClerkBackendApiRequestOptions = {
|
||||
method: 'GET' | 'POST' | 'PATCH' | 'DELETE' | 'PUT';
|
||||
queryParams?: Record<string, unknown>;
|
||||
headerParams?: Record<string, string>;
|
||||
formData?: FormData;
|
||||
} & ClerkBackendApiRequestOptionsUrlOrPath & ClerkBackendApiRequestOptionsBodyParams;
|
||||
export type ClerkBackendApiResponse<T> = {
|
||||
data: T;
|
||||
errors: null;
|
||||
totalCount?: number;
|
||||
} | {
|
||||
data: null;
|
||||
errors: ClerkAPIError[];
|
||||
totalCount?: never;
|
||||
clerkTraceId?: string;
|
||||
status?: number;
|
||||
statusText?: string;
|
||||
retryAfter?: number;
|
||||
};
|
||||
export type RequestFunction = ReturnType<typeof buildRequest>;
|
||||
type BuildRequestOptions = {
|
||||
secretKey?: string;
|
||||
apiUrl?: string;
|
||||
apiVersion?: string;
|
||||
userAgent?: string;
|
||||
/**
|
||||
* Allow requests without specifying a secret key. In most cases this should be set to `false`.
|
||||
* @default true
|
||||
*/
|
||||
requireSecretKey?: boolean;
|
||||
/**
|
||||
* If true, omits the API version from the request URL path.
|
||||
* This is required for bapi-proxy endpoints, which do not use versioning in the URL.
|
||||
*
|
||||
* Note: API versioning for these endpoints is instead handled via the `Clerk-API-Version` HTTP header.
|
||||
*
|
||||
* @default false
|
||||
*/
|
||||
skipApiVersionInUrl?: boolean;
|
||||
machineSecretKey?: string;
|
||||
/**
|
||||
* If true, uses machineSecretKey for authorization instead of secretKey.
|
||||
*
|
||||
* Note: This is only used for machine-to-machine tokens.
|
||||
*
|
||||
* @default false
|
||||
*/
|
||||
useMachineSecretKey?: boolean;
|
||||
};
|
||||
export declare function buildRequest(options: BuildRequestOptions): LegacyRequestFunction;
|
||||
type LegacyRequestFunction = <T>(requestOptions: ClerkBackendApiRequestOptions) => Promise<T>;
|
||||
export {};
|
||||
//# sourceMappingURL=request.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/request.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/request.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../src/api/request.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAqB,MAAM,qBAAqB,CAAC;AAS5E,KAAK,sCAAsC,GACvC;IACE,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,GACD;IACE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEN,KAAK,uCAAuC,GACxC;IACE,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IACrE,OAAO,CAAC,EAAE;QACR;;;WAGG;QACH,0BAA0B,CAAC,EAAE,OAAO,CAAC;KACtC,CAAC;CACH,GACD;IACE,UAAU,CAAC,EAAE,KAAK,CAAC;IACnB,OAAO,CAAC,EAAE;QACR,0BAA0B,CAAC,EAAE,KAAK,CAAC;KACpC,CAAC;CACH,CAAC;AAEN,MAAM,MAAM,6BAA6B,GAAG;IAC1C,MAAM,EAAE,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IACpD,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtC,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB,GAAG,sCAAsC,GACxC,uCAAuC,CAAC;AAE1C,MAAM,MAAM,uBAAuB,CAAC,CAAC,IACjC;IACE,IAAI,EAAE,CAAC,CAAC;IACR,MAAM,EAAE,IAAI,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,GACD;IACE,IAAI,EAAE,IAAI,CAAC;IACX,MAAM,EAAE,aAAa,EAAE,CAAC;IACxB,UAAU,CAAC,EAAE,KAAK,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEN,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;AAE9D,KAAK,mBAAmB,GAAG;IAEzB,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;;;;;OAOG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;;;OAMG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B,CAAC;AAEF,wBAAgB,YAAY,CAAC,OAAO,EAAE,mBAAmB,yBAqIxD;AAmCD,KAAK,qBAAqB,GAAG,CAAC,CAAC,EAAE,cAAc,EAAE,6BAA6B,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC"}
|
||||
137
node_modules/@clerk/backend/dist/api/resources/APIKey.d.ts
generated
vendored
Normal file
137
node_modules/@clerk/backend/dist/api/resources/APIKey.d.ts
generated
vendored
Normal file
@@ -0,0 +1,137 @@
|
||||
import type { APIKeyJSON } from './JSON';
|
||||
/**
|
||||
* The Backend `APIKey` object holds information about an API key.
|
||||
*/
|
||||
export declare class APIKey {
|
||||
/**
|
||||
* A unique ID for the API key.
|
||||
*/
|
||||
readonly id: string;
|
||||
/**
|
||||
* The type of the API key. Currently always `'api_key'`.
|
||||
*/
|
||||
readonly type: string;
|
||||
/**
|
||||
* The API key's name.
|
||||
*/
|
||||
readonly name: string;
|
||||
/**
|
||||
* The user or organization ID that the API key is associated with.
|
||||
*/
|
||||
readonly subject: string;
|
||||
/**
|
||||
* An array of scopes that define what the API key can access.
|
||||
*/
|
||||
readonly scopes: string[];
|
||||
/**
|
||||
* Custom claims associated with the API key.
|
||||
*/
|
||||
readonly claims: Record<string, any> | null;
|
||||
/**
|
||||
* A boolean indicating whether the API key has been revoked.
|
||||
*/
|
||||
readonly revoked: boolean;
|
||||
/**
|
||||
* The reason for revoking the API key, if it has been revoked.
|
||||
*/
|
||||
readonly revocationReason: string | null;
|
||||
/**
|
||||
* A boolean indicating whether the API key has expired.
|
||||
*/
|
||||
readonly expired: boolean;
|
||||
/**
|
||||
* The expiration date and time of the API key. `null` if the API key never expires.
|
||||
*/
|
||||
readonly expiration: number | null;
|
||||
/**
|
||||
* The user ID for the user creating the API key.
|
||||
*/
|
||||
readonly createdBy: string | null;
|
||||
/**
|
||||
* An optional description for the API key.
|
||||
*/
|
||||
readonly description: string | null;
|
||||
/**
|
||||
* The date and time when the API key was last used to authenticate a request.
|
||||
*/
|
||||
readonly lastUsedAt: number | null;
|
||||
/**
|
||||
* The date when the API key was created.
|
||||
*/
|
||||
readonly createdAt: number;
|
||||
/**
|
||||
* The date when the API key was last updated.
|
||||
*/
|
||||
readonly updatedAt: number;
|
||||
/**
|
||||
* The API key secret. **This property is only present in the response from [`create()`](/docs/reference/objects/api-keys#create) and cannot be retrieved later.**
|
||||
*/
|
||||
readonly secret?: string | undefined;
|
||||
constructor(
|
||||
/**
|
||||
* A unique ID for the API key.
|
||||
*/
|
||||
id: string,
|
||||
/**
|
||||
* The type of the API key. Currently always `'api_key'`.
|
||||
*/
|
||||
type: string,
|
||||
/**
|
||||
* The API key's name.
|
||||
*/
|
||||
name: string,
|
||||
/**
|
||||
* The user or organization ID that the API key is associated with.
|
||||
*/
|
||||
subject: string,
|
||||
/**
|
||||
* An array of scopes that define what the API key can access.
|
||||
*/
|
||||
scopes: string[],
|
||||
/**
|
||||
* Custom claims associated with the API key.
|
||||
*/
|
||||
claims: Record<string, any> | null,
|
||||
/**
|
||||
* A boolean indicating whether the API key has been revoked.
|
||||
*/
|
||||
revoked: boolean,
|
||||
/**
|
||||
* The reason for revoking the API key, if it has been revoked.
|
||||
*/
|
||||
revocationReason: string | null,
|
||||
/**
|
||||
* A boolean indicating whether the API key has expired.
|
||||
*/
|
||||
expired: boolean,
|
||||
/**
|
||||
* The expiration date and time of the API key. `null` if the API key never expires.
|
||||
*/
|
||||
expiration: number | null,
|
||||
/**
|
||||
* The user ID for the user creating the API key.
|
||||
*/
|
||||
createdBy: string | null,
|
||||
/**
|
||||
* An optional description for the API key.
|
||||
*/
|
||||
description: string | null,
|
||||
/**
|
||||
* The date and time when the API key was last used to authenticate a request.
|
||||
*/
|
||||
lastUsedAt: number | null,
|
||||
/**
|
||||
* The date when the API key was created.
|
||||
*/
|
||||
createdAt: number,
|
||||
/**
|
||||
* The date when the API key was last updated.
|
||||
*/
|
||||
updatedAt: number,
|
||||
/**
|
||||
* The API key secret. **This property is only present in the response from [`create()`](/docs/reference/objects/api-keys#create) and cannot be retrieved later.**
|
||||
*/
|
||||
secret?: string | undefined);
|
||||
static fromJSON(data: APIKeyJSON): APIKey;
|
||||
}
|
||||
//# sourceMappingURL=APIKey.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/resources/APIKey.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/resources/APIKey.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"APIKey.d.ts","sourceRoot":"","sources":["../../../src/api/resources/APIKey.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEzC;;GAEG;AACH,qBAAa,MAAM;IAEf;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM;IACnB;;OAEG;IACH,QAAQ,CA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OAEG;IACM,UAAU,EAAE,MAAM,GAAG,IAAI;IAClC;;OAEG;IACM,SAAS,EAAE,MAAM,GAAG,IAAI;IACjC;;OAEG;IACM,WAAW,EAAE,MAAM,GAAG,IAAI;IACnC;;OAEG;IACM,UAAU,EAAE,MAAM,GAAG,IAAI;IAClC;;OAEG;IACM,SAAS,EAAE,MAAM;IAC1B;;OAEG;IACM,SAAS,EAAE,MAAM;IAC1B;;OAEG;IACM,MAAM,CAAC,EAAE,MAAM,YAAA;IAG1B,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,UAAU;CAoBjC"}
|
||||
10
node_modules/@clerk/backend/dist/api/resources/AccountlessApplication.d.ts
generated
vendored
Normal file
10
node_modules/@clerk/backend/dist/api/resources/AccountlessApplication.d.ts
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import type { AccountlessApplicationJSON } from './JSON';
|
||||
export declare class AccountlessApplication {
|
||||
readonly publishableKey: string;
|
||||
readonly secretKey: string;
|
||||
readonly claimUrl: string;
|
||||
readonly apiKeysUrl: string;
|
||||
constructor(publishableKey: string, secretKey: string, claimUrl: string, apiKeysUrl: string);
|
||||
static fromJSON(data: AccountlessApplicationJSON): AccountlessApplication;
|
||||
}
|
||||
//# sourceMappingURL=AccountlessApplication.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/resources/AccountlessApplication.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/resources/AccountlessApplication.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AccountlessApplication.d.ts","sourceRoot":"","sources":["../../../src/api/resources/AccountlessApplication.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,QAAQ,CAAC;AAEzD,qBAAa,sBAAsB;IAE/B,QAAQ,CAAC,cAAc,EAAE,MAAM;IAC/B,QAAQ,CAAC,SAAS,EAAE,MAAM;IAC1B,QAAQ,CAAC,QAAQ,EAAE,MAAM;IACzB,QAAQ,CAAC,UAAU,EAAE,MAAM;gBAHlB,cAAc,EAAE,MAAM,EACtB,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM;IAG7B,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,0BAA0B,GAAG,sBAAsB;CAG1E"}
|
||||
15
node_modules/@clerk/backend/dist/api/resources/ActorToken.d.ts
generated
vendored
Normal file
15
node_modules/@clerk/backend/dist/api/resources/ActorToken.d.ts
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
import type { ActorTokenStatus } from './Enums';
|
||||
import type { ActorTokenJSON } from './JSON';
|
||||
export declare class ActorToken {
|
||||
readonly id: string;
|
||||
readonly status: ActorTokenStatus;
|
||||
readonly userId: string;
|
||||
readonly actor: Record<string, unknown> | null;
|
||||
readonly token: string | null | undefined;
|
||||
readonly url: string | null | undefined;
|
||||
readonly createdAt: number;
|
||||
readonly updatedAt: number;
|
||||
constructor(id: string, status: ActorTokenStatus, userId: string, actor: Record<string, unknown> | null, token: string | null | undefined, url: string | null | undefined, createdAt: number, updatedAt: number);
|
||||
static fromJSON(data: ActorTokenJSON): ActorToken;
|
||||
}
|
||||
//# sourceMappingURL=ActorToken.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/resources/ActorToken.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/resources/ActorToken.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ActorToken.d.ts","sourceRoot":"","sources":["../../../src/api/resources/ActorToken.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAE7C,qBAAa,UAAU;IAEnB,QAAQ,CAAC,EAAE,EAAE,MAAM;IACnB,QAAQ,CAAC,MAAM,EAAE,gBAAgB;IACjC,QAAQ,CAAC,MAAM,EAAE,MAAM;IACvB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAC9C,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS;IACzC,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS;IACvC,QAAQ,CAAC,SAAS,EAAE,MAAM;IAC1B,QAAQ,CAAC,SAAS,EAAE,MAAM;gBAPjB,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,gBAAgB,EACxB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,EACrC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAChC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAC9B,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM;IAG5B,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,cAAc,GAAG,UAAU;CAYlD"}
|
||||
42
node_modules/@clerk/backend/dist/api/resources/AgentTask.d.ts
generated
vendored
Normal file
42
node_modules/@clerk/backend/dist/api/resources/AgentTask.d.ts
generated
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
import type { AgentTaskJSON } from './JSON';
|
||||
/**
|
||||
* Represents a agent token resource.
|
||||
*
|
||||
* Agent tokens are used for testing purposes and allow creating sessions
|
||||
* for users without requiring full authentication flows.
|
||||
*/
|
||||
export declare class AgentTask {
|
||||
/**
|
||||
* A stable identifier for the agent, unique per agent_name within an instance.
|
||||
*/
|
||||
readonly agentId: string;
|
||||
/**
|
||||
* A unique identifier for this agent task.
|
||||
*/
|
||||
readonly taskId: string;
|
||||
/**
|
||||
* The FAPI URL that, when visited, creates a session for the user.
|
||||
*/
|
||||
readonly url: string;
|
||||
constructor(
|
||||
/**
|
||||
* A stable identifier for the agent, unique per agent_name within an instance.
|
||||
*/
|
||||
agentId: string,
|
||||
/**
|
||||
* A unique identifier for this agent task.
|
||||
*/
|
||||
taskId: string,
|
||||
/**
|
||||
* The FAPI URL that, when visited, creates a session for the user.
|
||||
*/
|
||||
url: string);
|
||||
/**
|
||||
* Creates a AgentTask instance from a JSON object.
|
||||
*
|
||||
* @param data - The JSON object containing agent task data
|
||||
* @returns A new AgentTask instance
|
||||
*/
|
||||
static fromJSON(data: AgentTaskJSON): AgentTask;
|
||||
}
|
||||
//# sourceMappingURL=AgentTask.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/resources/AgentTask.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/resources/AgentTask.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AgentTask.d.ts","sourceRoot":"","sources":["../../../src/api/resources/AgentTask.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAE5C;;;;;GAKG;AACH,qBAAa,SAAS;IAElB;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM;IACxB;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM;IACvB;;OAEG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM;;IAXpB;;OAEG;IACM,OAAO,EAAE,MAAM;IACxB;;OAEG;IACM,MAAM,EAAE,MAAM;IACvB;;OAEG;IACM,GAAG,EAAE,MAAM;IAGtB;;;;;OAKG;IACH,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,aAAa,GAAG,SAAS;CAGhD"}
|
||||
66
node_modules/@clerk/backend/dist/api/resources/AllowlistIdentifier.d.ts
generated
vendored
Normal file
66
node_modules/@clerk/backend/dist/api/resources/AllowlistIdentifier.d.ts
generated
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
import type { AllowlistIdentifierType } from './Enums';
|
||||
import type { AllowlistIdentifierJSON } from './JSON';
|
||||
/**
|
||||
* The Backend `AllowlistIdentifier` object represents an identifier that has been added to the allowlist of your application. The Backend `AllowlistIdentifier` object is used in the [Backend API](https://clerk.com/docs/reference/backend-api/tag/Allow-list-Block-list#operation/ListAllowlistIdentifiers) and is not directly accessible from the Frontend API.
|
||||
*/
|
||||
export declare class AllowlistIdentifier {
|
||||
/**
|
||||
* A unique ID for the allowlist identifier.
|
||||
*/
|
||||
readonly id: string;
|
||||
/**
|
||||
* The identifier that was added to the allowlist.
|
||||
*/
|
||||
readonly identifier: string;
|
||||
/**
|
||||
* The type of the allowlist identifier.
|
||||
*/
|
||||
readonly identifierType: AllowlistIdentifierType;
|
||||
/**
|
||||
* The date when the allowlist identifier was first created.
|
||||
*/
|
||||
readonly createdAt: number;
|
||||
/**
|
||||
* The date when the allowlist identifier was last updated.
|
||||
*/
|
||||
readonly updatedAt: number;
|
||||
/**
|
||||
* The ID of the instance that this allowlist identifier belongs to.
|
||||
*/
|
||||
readonly instanceId?: string | undefined;
|
||||
/**
|
||||
* The ID of the invitation sent to the identifier.
|
||||
*/
|
||||
readonly invitationId?: string | undefined;
|
||||
constructor(
|
||||
/**
|
||||
* A unique ID for the allowlist identifier.
|
||||
*/
|
||||
id: string,
|
||||
/**
|
||||
* The identifier that was added to the allowlist.
|
||||
*/
|
||||
identifier: string,
|
||||
/**
|
||||
* The type of the allowlist identifier.
|
||||
*/
|
||||
identifierType: AllowlistIdentifierType,
|
||||
/**
|
||||
* The date when the allowlist identifier was first created.
|
||||
*/
|
||||
createdAt: number,
|
||||
/**
|
||||
* The date when the allowlist identifier was last updated.
|
||||
*/
|
||||
updatedAt: number,
|
||||
/**
|
||||
* The ID of the instance that this allowlist identifier belongs to.
|
||||
*/
|
||||
instanceId?: string | undefined,
|
||||
/**
|
||||
* The ID of the invitation sent to the identifier.
|
||||
*/
|
||||
invitationId?: string | undefined);
|
||||
static fromJSON(data: AllowlistIdentifierJSON): AllowlistIdentifier;
|
||||
}
|
||||
//# sourceMappingURL=AllowlistIdentifier.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/resources/AllowlistIdentifier.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/resources/AllowlistIdentifier.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AllowlistIdentifier.d.ts","sourceRoot":"","sources":["../../../src/api/resources/AllowlistIdentifier.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AACvD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,QAAQ,CAAC;AAEtD;;GAEG;AACH,qBAAa,mBAAmB;IAE5B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM;IACnB;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM;IAC3B;;OAEG;IACH,QAAQ,CAAC,cAAc,EAAE,uBAAuB;IAChD;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM;IAC1B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM;IAC1B;;OAEG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM;IAC5B;;OAEG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM;;IA3B9B;;OAEG;IACM,EAAE,EAAE,MAAM;IACnB;;OAEG;IACM,UAAU,EAAE,MAAM;IAC3B;;OAEG;IACM,cAAc,EAAE,uBAAuB;IAChD;;OAEG;IACM,SAAS,EAAE,MAAM;IAC1B;;OAEG;IACM,SAAS,EAAE,MAAM;IAC1B;;OAEG;IACM,UAAU,CAAC,EAAE,MAAM,YAAA;IAC5B;;OAEG;IACM,YAAY,CAAC,EAAE,MAAM,YAAA;IAGhC,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,uBAAuB,GAAG,mBAAmB;CAWpE"}
|
||||
13
node_modules/@clerk/backend/dist/api/resources/BlocklistIdentifier.d.ts
generated
vendored
Normal file
13
node_modules/@clerk/backend/dist/api/resources/BlocklistIdentifier.d.ts
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
import type { BlocklistIdentifierType } from './Enums';
|
||||
import type { BlocklistIdentifierJSON } from './JSON';
|
||||
export declare class BlocklistIdentifier {
|
||||
readonly id: string;
|
||||
readonly identifier: string;
|
||||
readonly identifierType: BlocklistIdentifierType;
|
||||
readonly createdAt: number;
|
||||
readonly updatedAt: number;
|
||||
readonly instanceId?: string | undefined;
|
||||
constructor(id: string, identifier: string, identifierType: BlocklistIdentifierType, createdAt: number, updatedAt: number, instanceId?: string | undefined);
|
||||
static fromJSON(data: BlocklistIdentifierJSON): BlocklistIdentifier;
|
||||
}
|
||||
//# sourceMappingURL=BlocklistIdentifier.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/resources/BlocklistIdentifier.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/resources/BlocklistIdentifier.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BlocklistIdentifier.d.ts","sourceRoot":"","sources":["../../../src/api/resources/BlocklistIdentifier.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AACvD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,QAAQ,CAAC;AAEtD,qBAAa,mBAAmB;IAE5B,QAAQ,CAAC,EAAE,EAAE,MAAM;IACnB,QAAQ,CAAC,UAAU,EAAE,MAAM;IAC3B,QAAQ,CAAC,cAAc,EAAE,uBAAuB;IAChD,QAAQ,CAAC,SAAS,EAAE,MAAM;IAC1B,QAAQ,CAAC,SAAS,EAAE,MAAM;IAC1B,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM;gBALnB,EAAE,EAAE,MAAM,EACV,UAAU,EAAE,MAAM,EAClB,cAAc,EAAE,uBAAuB,EACvC,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,EACjB,UAAU,CAAC,EAAE,MAAM,YAAA;IAG9B,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,uBAAuB,GAAG,mBAAmB;CAUpE"}
|
||||
83
node_modules/@clerk/backend/dist/api/resources/Client.d.ts
generated
vendored
Normal file
83
node_modules/@clerk/backend/dist/api/resources/Client.d.ts
generated
vendored
Normal file
@@ -0,0 +1,83 @@
|
||||
import type { LastAuthenticationStrategy } from '@clerk/shared/types';
|
||||
import type { ClientJSON } from './JSON';
|
||||
import { Session } from './Session';
|
||||
/**
|
||||
* The Backend `Client` object is similar to the [`Client`](https://clerk.com/docs/reference/objects/client) object as it holds information about the authenticated sessions in the current device. However, the Backend `Client` object is different from the `Client` object in that it is used in the [Backend API](https://clerk.com/docs/reference/backend-api/tag/Clients#operation/GetClient) and is not directly accessible from the Frontend API.
|
||||
*/
|
||||
export declare class Client {
|
||||
/**
|
||||
* The unique identifier for the `Client`.
|
||||
*/
|
||||
readonly id: string;
|
||||
/**
|
||||
* An array of [Session](https://clerk.com/docs/reference/backend/types/backend-session){{ target: '_blank' }} IDs associated with the `Client`.
|
||||
*/
|
||||
readonly sessionIds: string[];
|
||||
/**
|
||||
* An array of [Session](https://clerk.com/docs/reference/backend/types/backend-session){{ target: '_blank' }} objects associated with the `Client`.
|
||||
*/
|
||||
readonly sessions: Session[];
|
||||
/**
|
||||
* The ID of the [`SignIn`](https://clerk.com/docs/reference/objects/sign-in).
|
||||
*/
|
||||
readonly signInId: string | null;
|
||||
/**
|
||||
* The ID of the [`SignUp`](https://clerk.com/docs/reference/objects/sign-up).
|
||||
*/
|
||||
readonly signUpId: string | null;
|
||||
/**
|
||||
* The ID of the last active [Session](https://clerk.com/docs/reference/backend/types/backend-session).
|
||||
*/
|
||||
readonly lastActiveSessionId: string | null;
|
||||
/**
|
||||
* The last authentication strategy used by the `Client`.
|
||||
*/
|
||||
readonly lastAuthenticationStrategy: LastAuthenticationStrategy | null;
|
||||
/**
|
||||
* The date when the `Client` was first created.
|
||||
*/
|
||||
readonly createdAt: number;
|
||||
/**
|
||||
* The date when the `Client` was last updated.
|
||||
*/
|
||||
readonly updatedAt: number;
|
||||
constructor(
|
||||
/**
|
||||
* The unique identifier for the `Client`.
|
||||
*/
|
||||
id: string,
|
||||
/**
|
||||
* An array of [Session](https://clerk.com/docs/reference/backend/types/backend-session){{ target: '_blank' }} IDs associated with the `Client`.
|
||||
*/
|
||||
sessionIds: string[],
|
||||
/**
|
||||
* An array of [Session](https://clerk.com/docs/reference/backend/types/backend-session){{ target: '_blank' }} objects associated with the `Client`.
|
||||
*/
|
||||
sessions: Session[],
|
||||
/**
|
||||
* The ID of the [`SignIn`](https://clerk.com/docs/reference/objects/sign-in).
|
||||
*/
|
||||
signInId: string | null,
|
||||
/**
|
||||
* The ID of the [`SignUp`](https://clerk.com/docs/reference/objects/sign-up).
|
||||
*/
|
||||
signUpId: string | null,
|
||||
/**
|
||||
* The ID of the last active [Session](https://clerk.com/docs/reference/backend/types/backend-session).
|
||||
*/
|
||||
lastActiveSessionId: string | null,
|
||||
/**
|
||||
* The last authentication strategy used by the `Client`.
|
||||
*/
|
||||
lastAuthenticationStrategy: LastAuthenticationStrategy | null,
|
||||
/**
|
||||
* The date when the `Client` was first created.
|
||||
*/
|
||||
createdAt: number,
|
||||
/**
|
||||
* The date when the `Client` was last updated.
|
||||
*/
|
||||
updatedAt: number);
|
||||
static fromJSON(data: ClientJSON): Client;
|
||||
}
|
||||
//# sourceMappingURL=Client.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/resources/Client.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/resources/Client.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Client.d.ts","sourceRoot":"","sources":["../../../src/api/resources/Client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AAEtE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC;;GAEG;AACH,qBAAa,MAAM;IAEf;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM;IACnB;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE;IAC7B;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,OAAO,EAAE;IAC5B;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAChC;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAChC;;OAEG;IACH,QAAQ,CAAC,mBAAmB,EAAE,MAAM,GAAG,IAAI;IAC3C;;OAEG;IACH,QAAQ,CAAC,0BAA0B,EAAE,0BAA0B,GAAG,IAAI;IACtE;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM;IAC1B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM;;IAnC1B;;OAEG;IACM,EAAE,EAAE,MAAM;IACnB;;OAEG;IACM,UAAU,EAAE,MAAM,EAAE;IAC7B;;OAEG;IACM,QAAQ,EAAE,OAAO,EAAE;IAC5B;;OAEG;IACM,QAAQ,EAAE,MAAM,GAAG,IAAI;IAChC;;OAEG;IACM,QAAQ,EAAE,MAAM,GAAG,IAAI;IAChC;;OAEG;IACM,mBAAmB,EAAE,MAAM,GAAG,IAAI;IAC3C;;OAEG;IACM,0BAA0B,EAAE,0BAA0B,GAAG,IAAI;IACtE;;OAEG;IACM,SAAS,EAAE,MAAM;IAC1B;;OAEG;IACM,SAAS,EAAE,MAAM;IAG5B,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,UAAU,GAAG,MAAM;CAa1C"}
|
||||
9
node_modules/@clerk/backend/dist/api/resources/CnameTarget.d.ts
generated
vendored
Normal file
9
node_modules/@clerk/backend/dist/api/resources/CnameTarget.d.ts
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import type { CnameTargetJSON } from './JSON';
|
||||
export declare class CnameTarget {
|
||||
readonly host: string;
|
||||
readonly value: string;
|
||||
readonly required: boolean;
|
||||
constructor(host: string, value: string, required: boolean);
|
||||
static fromJSON(data: CnameTargetJSON): CnameTarget;
|
||||
}
|
||||
//# sourceMappingURL=CnameTarget.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/resources/CnameTarget.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/resources/CnameTarget.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CnameTarget.d.ts","sourceRoot":"","sources":["../../../src/api/resources/CnameTarget.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAE9C,qBAAa,WAAW;IAEpB,QAAQ,CAAC,IAAI,EAAE,MAAM;IACrB,QAAQ,CAAC,KAAK,EAAE,MAAM;IACtB,QAAQ,CAAC,QAAQ,EAAE,OAAO;gBAFjB,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,OAAO;IAG5B,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,eAAe,GAAG,WAAW;CAGpD"}
|
||||
141
node_modules/@clerk/backend/dist/api/resources/CommercePlan.d.ts
generated
vendored
Normal file
141
node_modules/@clerk/backend/dist/api/resources/CommercePlan.d.ts
generated
vendored
Normal file
@@ -0,0 +1,141 @@
|
||||
import type { BillingMoneyAmount } from '@clerk/shared/types';
|
||||
import { Feature } from './Feature';
|
||||
import type { BillingPlanJSON } from './JSON';
|
||||
/**
|
||||
* The `BillingPlan` object is similar to the [`BillingPlanResource`](/docs/reference/types/billing-plan-resource) object as it holds information about a Plan, as well as methods for managing it. However, the `BillingPlan` object is different in that it is used in the [Backend API](https://clerk.com/docs/reference/backend-api/tag/commerce/get/commerce/plans) and is not directly accessible from the Frontend API.
|
||||
*
|
||||
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
||||
*/
|
||||
export declare class BillingPlan {
|
||||
/**
|
||||
* The unique identifier for the Plan.
|
||||
*/
|
||||
readonly id: string;
|
||||
/**
|
||||
* The name of the Plan.
|
||||
*/
|
||||
readonly name: string;
|
||||
/**
|
||||
* The URL-friendly identifier of the Plan.
|
||||
*/
|
||||
readonly slug: string;
|
||||
/**
|
||||
* The description of the Plan.
|
||||
*/
|
||||
readonly description: string | null;
|
||||
/**
|
||||
* Whether the Plan is the default Plan.
|
||||
*/
|
||||
readonly isDefault: boolean;
|
||||
/**
|
||||
* Whether the Plan is recurring.
|
||||
*/
|
||||
readonly isRecurring: boolean;
|
||||
/**
|
||||
* Whether the Plan has a base fee.
|
||||
*/
|
||||
readonly hasBaseFee: boolean;
|
||||
/**
|
||||
* Whether the Plan is displayed in the `<PriceTable/>` component.
|
||||
*/
|
||||
readonly publiclyVisible: boolean;
|
||||
/**
|
||||
* The monthly fee of the Plan.
|
||||
*/
|
||||
readonly fee: BillingMoneyAmount | null;
|
||||
/**
|
||||
* The annual fee of the Plan.
|
||||
*/
|
||||
readonly annualFee: BillingMoneyAmount | null;
|
||||
/**
|
||||
* The annual fee of the Plan on a monthly basis.
|
||||
*/
|
||||
readonly annualMonthlyFee: BillingMoneyAmount | null;
|
||||
/**
|
||||
* The type of payer for the Plan.
|
||||
*/
|
||||
readonly forPayerType: 'org' | 'user';
|
||||
/**
|
||||
* The features the Plan offers.
|
||||
*/
|
||||
readonly features: Feature[];
|
||||
/**
|
||||
* The URL of the Plan's avatar image.
|
||||
*/
|
||||
readonly avatarUrl: string | null;
|
||||
/**
|
||||
* Number of free trial days for this plan.
|
||||
*/
|
||||
readonly freeTrialDays: number | null;
|
||||
/**
|
||||
* Whether free trial is enabled for this plan.
|
||||
*/
|
||||
readonly freeTrialEnabled: boolean;
|
||||
constructor(
|
||||
/**
|
||||
* The unique identifier for the Plan.
|
||||
*/
|
||||
id: string,
|
||||
/**
|
||||
* The name of the Plan.
|
||||
*/
|
||||
name: string,
|
||||
/**
|
||||
* The URL-friendly identifier of the Plan.
|
||||
*/
|
||||
slug: string,
|
||||
/**
|
||||
* The description of the Plan.
|
||||
*/
|
||||
description: string | null,
|
||||
/**
|
||||
* Whether the Plan is the default Plan.
|
||||
*/
|
||||
isDefault: boolean,
|
||||
/**
|
||||
* Whether the Plan is recurring.
|
||||
*/
|
||||
isRecurring: boolean,
|
||||
/**
|
||||
* Whether the Plan has a base fee.
|
||||
*/
|
||||
hasBaseFee: boolean,
|
||||
/**
|
||||
* Whether the Plan is displayed in the `<PriceTable/>` component.
|
||||
*/
|
||||
publiclyVisible: boolean,
|
||||
/**
|
||||
* The monthly fee of the Plan.
|
||||
*/
|
||||
fee: BillingMoneyAmount | null,
|
||||
/**
|
||||
* The annual fee of the Plan.
|
||||
*/
|
||||
annualFee: BillingMoneyAmount | null,
|
||||
/**
|
||||
* The annual fee of the Plan on a monthly basis.
|
||||
*/
|
||||
annualMonthlyFee: BillingMoneyAmount | null,
|
||||
/**
|
||||
* The type of payer for the Plan.
|
||||
*/
|
||||
forPayerType: 'org' | 'user',
|
||||
/**
|
||||
* The features the Plan offers.
|
||||
*/
|
||||
features: Feature[],
|
||||
/**
|
||||
* The URL of the Plan's avatar image.
|
||||
*/
|
||||
avatarUrl: string | null,
|
||||
/**
|
||||
* Number of free trial days for this plan.
|
||||
*/
|
||||
freeTrialDays: number | null,
|
||||
/**
|
||||
* Whether free trial is enabled for this plan.
|
||||
*/
|
||||
freeTrialEnabled: boolean);
|
||||
static fromJSON(data: BillingPlanJSON): BillingPlan;
|
||||
}
|
||||
//# sourceMappingURL=CommercePlan.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/resources/CommercePlan.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/resources/CommercePlan.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CommercePlan.d.ts","sourceRoot":"","sources":["../../../src/api/resources/CommercePlan.ts"],"names":[],"mappings":"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AW,EAAE,MAAM,GAAG,IAAI;IACnC;;OAEG;IACM,SAAS,EAAE,OAAO;IAC3B;;OAEG;IACM,WAAW,EAAE,OAAO;IAC7B;;OAEG;IACM,UAAU,EAAE,OAAO;IAC5B;;OAEG;IACM,eAAe,EAAE,OAAO;IACjC;;OAEG;IACM,GAAG,EAAE,kBAAkB,GAAG,IAAI;IACvC;;OAEG;IACM,SAAS,EAAE,kBAAkB,GAAG,IAAI;IAC7C;;OAEG;IACM,gBAAgB,EAAE,kBAAkB,GAAG,IAAI;IACpD;;OAEG;IACM,YAAY,EAAE,KAAK,GAAG,MAAM;IACrC;;OAEG;IACM,QAAQ,EAAE,OAAO,EAAE;IAC5B;;OAEG;IACM,SAAS,EAAE,MAAM,GAAG,IAAI;IACjC;;OAEG;IACM,aAAa,EAAE,MAAM,GAAG,IAAI;IACrC;;OAEG;IACM,gBAAgB,EAAE,OAAO;IAGpC,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,eAAe,GAAG,WAAW;CAmCpD"}
|
||||
99
node_modules/@clerk/backend/dist/api/resources/CommerceSubscription.d.ts
generated
vendored
Normal file
99
node_modules/@clerk/backend/dist/api/resources/CommerceSubscription.d.ts
generated
vendored
Normal file
@@ -0,0 +1,99 @@
|
||||
import type { BillingMoneyAmount } from '@clerk/shared/types';
|
||||
import { BillingSubscriptionItem } from './CommerceSubscriptionItem';
|
||||
import type { BillingSubscriptionJSON } from './JSON';
|
||||
/**
|
||||
* The `BillingSubscription` object is similar to the [`BillingSubscriptionResource`](/docs/reference/types/billing-subscription-resource) object as it holds information about a subscription, as well as methods for managing it. However, the `BillingSubscription` object is different in that it is used in the [Backend API](https://clerk.com/docs/reference/backend-api/tag/billing/get/organizations/%7Borganization_id%7D/billing/subscription) and is not directly accessible from the Frontend API.
|
||||
*
|
||||
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
||||
*/
|
||||
export declare class BillingSubscription {
|
||||
/**
|
||||
* The unique identifier for the billing subscription.
|
||||
*/
|
||||
readonly id: string;
|
||||
/**
|
||||
* The current status of the subscription.
|
||||
*/
|
||||
readonly status: BillingSubscriptionJSON['status'];
|
||||
/**
|
||||
* The ID of the payer for this subscription.
|
||||
*/
|
||||
readonly payerId: string;
|
||||
/**
|
||||
* Unix timestamp (milliseconds) of when the subscription was created.
|
||||
*/
|
||||
readonly createdAt: number;
|
||||
/**
|
||||
* Unix timestamp (milliseconds) of when the subscription was last updated.
|
||||
*/
|
||||
readonly updatedAt: number;
|
||||
/**
|
||||
* Unix timestamp (milliseconds) of when the subscription became active.
|
||||
*/
|
||||
readonly activeAt: number | null;
|
||||
/**
|
||||
* Unix timestamp (milliseconds) of when the subscription became past due.
|
||||
*/
|
||||
readonly pastDueAt: number | null;
|
||||
/**
|
||||
* Array of subscription items in this subscription.
|
||||
*/
|
||||
readonly subscriptionItems: BillingSubscriptionItem[];
|
||||
/**
|
||||
* Information about the next scheduled payment.
|
||||
*/
|
||||
readonly nextPayment: {
|
||||
date: number;
|
||||
amount: BillingMoneyAmount;
|
||||
} | null;
|
||||
/**
|
||||
* Whether the payer is eligible for a free trial.
|
||||
*/
|
||||
readonly eligibleForFreeTrial: boolean;
|
||||
constructor(
|
||||
/**
|
||||
* The unique identifier for the billing subscription.
|
||||
*/
|
||||
id: string,
|
||||
/**
|
||||
* The current status of the subscription.
|
||||
*/
|
||||
status: BillingSubscriptionJSON['status'],
|
||||
/**
|
||||
* The ID of the payer for this subscription.
|
||||
*/
|
||||
payerId: string,
|
||||
/**
|
||||
* Unix timestamp (milliseconds) of when the subscription was created.
|
||||
*/
|
||||
createdAt: number,
|
||||
/**
|
||||
* Unix timestamp (milliseconds) of when the subscription was last updated.
|
||||
*/
|
||||
updatedAt: number,
|
||||
/**
|
||||
* Unix timestamp (milliseconds) of when the subscription became active.
|
||||
*/
|
||||
activeAt: number | null,
|
||||
/**
|
||||
* Unix timestamp (milliseconds) of when the subscription became past due.
|
||||
*/
|
||||
pastDueAt: number | null,
|
||||
/**
|
||||
* Array of subscription items in this subscription.
|
||||
*/
|
||||
subscriptionItems: BillingSubscriptionItem[],
|
||||
/**
|
||||
* Information about the next scheduled payment.
|
||||
*/
|
||||
nextPayment: {
|
||||
date: number;
|
||||
amount: BillingMoneyAmount;
|
||||
} | null,
|
||||
/**
|
||||
* Whether the payer is eligible for a free trial.
|
||||
*/
|
||||
eligibleForFreeTrial: boolean);
|
||||
static fromJSON(data: BillingSubscriptionJSON): BillingSubscription;
|
||||
}
|
||||
//# sourceMappingURL=CommerceSubscription.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/resources/CommerceSubscription.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/resources/CommerceSubscription.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CommerceSubscription.d.ts","sourceRoot":"","sources":["../../../src/api/resources/CommerceSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,QAAQ,CAAC;AAEtD;;;;GAIG;AACH,qBAAa,mBAAmB;IAE5B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM;IACnB;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,uBAAuB,CAAC,QAAQ,CAAC;IAClD;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM;IACxB;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM;IAC1B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM;IAC1B;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAChC;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IACjC;;OAEG;IACH,QAAQ,CAAC,iBAAiB,EAAE,uBAAuB,EAAE;IACrD;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,kBAAkB,CAAA;KAAE,GAAG,IAAI;IACzE;;OAEG;IACH,QAAQ,CAAC,oBAAoB,EAAE,OAAO;;IAvCtC;;OAEG;IACM,EAAE,EAAE,MAAM;IACnB;;OAEG;IACM,MAAM,EAAE,uBAAuB,CAAC,QAAQ,CAAC;IAClD;;OAEG;IACM,OAAO,EAAE,MAAM;IACxB;;OAEG;IACM,SAAS,EAAE,MAAM;IAC1B;;OAEG;IACM,SAAS,EAAE,MAAM;IAC1B;;OAEG;IACM,QAAQ,EAAE,MAAM,GAAG,IAAI;IAChC;;OAEG;IACM,SAAS,EAAE,MAAM,GAAG,IAAI;IACjC;;OAEG;IACM,iBAAiB,EAAE,uBAAuB,EAAE;IACrD;;OAEG;IACM,WAAW,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,kBAAkB,CAAA;KAAE,GAAG,IAAI;IACzE;;OAEG;IACM,oBAAoB,EAAE,OAAO;IAGxC,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,uBAAuB,GAAG,mBAAmB;CA0BpE"}
|
||||
167
node_modules/@clerk/backend/dist/api/resources/CommerceSubscriptionItem.d.ts
generated
vendored
Normal file
167
node_modules/@clerk/backend/dist/api/resources/CommerceSubscriptionItem.d.ts
generated
vendored
Normal file
@@ -0,0 +1,167 @@
|
||||
import type { BillingMoneyAmount } from '@clerk/shared/types';
|
||||
import { BillingPlan } from './CommercePlan';
|
||||
import type { BillingSubscriptionItemJSON } from './JSON';
|
||||
/**
|
||||
* The `BillingSubscriptionItem` object is similar to the [`BillingSubscriptionItemResource`](/docs/reference/types/billing-subscription-item-resource) object as it holds information about a subscription item, as well as methods for managing it. However, the `BillingSubscriptionItem` object is different in that it is used in the [Backend API](https://clerk.com/docs/reference/backend-api/tag/commerce/get/commerce/subscription_items) and is not directly accessible from the Frontend API.
|
||||
*
|
||||
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
||||
*/
|
||||
export declare class BillingSubscriptionItem {
|
||||
/**
|
||||
* The unique identifier for the subscription item.
|
||||
*/
|
||||
readonly id: string;
|
||||
/**
|
||||
* The status of the subscription item.
|
||||
*/
|
||||
readonly status: BillingSubscriptionItemJSON['status'];
|
||||
/**
|
||||
* The Plan period for the subscription item.
|
||||
*/
|
||||
readonly planPeriod: 'month' | 'annual';
|
||||
/**
|
||||
* Unix timestamp (milliseconds) of when the current period starts.
|
||||
*/
|
||||
readonly periodStart: number;
|
||||
/**
|
||||
* The next payment information.
|
||||
*/
|
||||
readonly nextPayment: {
|
||||
/**
|
||||
* The amount of the next payment.
|
||||
*/
|
||||
amount: number;
|
||||
/**
|
||||
* Unix timestamp (milliseconds) of when the next payment is scheduled.
|
||||
*/
|
||||
date: number;
|
||||
} | null | undefined;
|
||||
/**
|
||||
* The current amount for the subscription item.
|
||||
*/
|
||||
readonly amount: BillingMoneyAmount | undefined;
|
||||
/**
|
||||
* The Plan associated with this subscription item.
|
||||
*/
|
||||
readonly plan: BillingPlan | null;
|
||||
/**
|
||||
* The Plan ID.
|
||||
*/
|
||||
readonly planId: string | null;
|
||||
/**
|
||||
* Unix timestamp (milliseconds) of when the subscription item was created.
|
||||
*/
|
||||
readonly createdAt: number;
|
||||
/**
|
||||
* Unix timestamp (milliseconds) of when the subscription item was last updated.
|
||||
*/
|
||||
readonly updatedAt: number;
|
||||
/**
|
||||
* Unix timestamp (milliseconds) of when the current period ends.
|
||||
*/
|
||||
readonly periodEnd: number | null;
|
||||
/**
|
||||
* Unix timestamp (milliseconds) of when the subscription item was canceled.
|
||||
*/
|
||||
readonly canceledAt: number | null;
|
||||
/**
|
||||
* Unix timestamp (milliseconds) of when the subscription item became past due.
|
||||
*/
|
||||
readonly pastDueAt: number | null;
|
||||
/**
|
||||
* Unix timestamp (milliseconds) of when the subscription item ended.
|
||||
*/
|
||||
readonly endedAt: number | null;
|
||||
/**
|
||||
* The payer ID.
|
||||
*/
|
||||
readonly payerId: string | undefined;
|
||||
/**
|
||||
* Whether this subscription item is currently in a free trial period.
|
||||
*/
|
||||
readonly isFreeTrial?: boolean | undefined;
|
||||
/**
|
||||
* The lifetime amount paid for this subscription item.
|
||||
*/
|
||||
readonly lifetimePaid?: BillingMoneyAmount | undefined;
|
||||
constructor(
|
||||
/**
|
||||
* The unique identifier for the subscription item.
|
||||
*/
|
||||
id: string,
|
||||
/**
|
||||
* The status of the subscription item.
|
||||
*/
|
||||
status: BillingSubscriptionItemJSON['status'],
|
||||
/**
|
||||
* The Plan period for the subscription item.
|
||||
*/
|
||||
planPeriod: 'month' | 'annual',
|
||||
/**
|
||||
* Unix timestamp (milliseconds) of when the current period starts.
|
||||
*/
|
||||
periodStart: number,
|
||||
/**
|
||||
* The next payment information.
|
||||
*/
|
||||
nextPayment: {
|
||||
/**
|
||||
* The amount of the next payment.
|
||||
*/
|
||||
amount: number;
|
||||
/**
|
||||
* Unix timestamp (milliseconds) of when the next payment is scheduled.
|
||||
*/
|
||||
date: number;
|
||||
} | null | undefined,
|
||||
/**
|
||||
* The current amount for the subscription item.
|
||||
*/
|
||||
amount: BillingMoneyAmount | undefined,
|
||||
/**
|
||||
* The Plan associated with this subscription item.
|
||||
*/
|
||||
plan: BillingPlan | null,
|
||||
/**
|
||||
* The Plan ID.
|
||||
*/
|
||||
planId: string | null,
|
||||
/**
|
||||
* Unix timestamp (milliseconds) of when the subscription item was created.
|
||||
*/
|
||||
createdAt: number,
|
||||
/**
|
||||
* Unix timestamp (milliseconds) of when the subscription item was last updated.
|
||||
*/
|
||||
updatedAt: number,
|
||||
/**
|
||||
* Unix timestamp (milliseconds) of when the current period ends.
|
||||
*/
|
||||
periodEnd: number | null,
|
||||
/**
|
||||
* Unix timestamp (milliseconds) of when the subscription item was canceled.
|
||||
*/
|
||||
canceledAt: number | null,
|
||||
/**
|
||||
* Unix timestamp (milliseconds) of when the subscription item became past due.
|
||||
*/
|
||||
pastDueAt: number | null,
|
||||
/**
|
||||
* Unix timestamp (milliseconds) of when the subscription item ended.
|
||||
*/
|
||||
endedAt: number | null,
|
||||
/**
|
||||
* The payer ID.
|
||||
*/
|
||||
payerId: string | undefined,
|
||||
/**
|
||||
* Whether this subscription item is currently in a free trial period.
|
||||
*/
|
||||
isFreeTrial?: boolean | undefined,
|
||||
/**
|
||||
* The lifetime amount paid for this subscription item.
|
||||
*/
|
||||
lifetimePaid?: BillingMoneyAmount | undefined);
|
||||
static fromJSON(data: BillingSubscriptionItemJSON): BillingSubscriptionItem;
|
||||
}
|
||||
//# sourceMappingURL=CommerceSubscriptionItem.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/resources/CommerceSubscriptionItem.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/resources/CommerceSubscriptionItem.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CommerceSubscriptionItem.d.ts","sourceRoot":"","sources":["../../../src/api/resources/CommerceSubscriptionItem.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAA0B,MAAM,qBAAqB,CAAC;AAEtF,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,QAAQ,CAAC;AAE1D;;;;GAIG;AACH,qBAAa,uBAAuB;IAEhC;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM;IACnB;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,2BAA2B,CAAC,QAAQ,CAAC;IACtD;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,OAAO,GAAG,QAAQ;IACvC;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,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GAAG,SAAS;IAC/C;;OAEG;IACM,IAAI,EAAE,WAAW,GAAG,IAAI;IACjC;;OAEG;IACM,MAAM,EAAE,MAAM,GAAG,IAAI;IAC9B;;OAEG;IACM,SAAS,EAAE,MAAM;IAC1B;;OAEG;IACM,SAAS,EAAE,MAAM;IAC1B;;OAEG;IACM,SAAS,EAAE,MAAM,GAAG,IAAI;IACjC;;OAEG;IACM,UAAU,EAAE,MAAM,GAAG,IAAI;IAClC;;OAEG;IACM,SAAS,EAAE,MAAM,GAAG,IAAI;IACjC;;OAEG;IACM,OAAO,EAAE,MAAM,GAAG,IAAI;IAC/B;;OAEG;IACM,OAAO,EAAE,MAAM,GAAG,SAAS;IACpC;;OAEG;IACM,WAAW,CAAC,EAAE,OAAO,YAAA;IAC9B;;OAEG;IACM,YAAY,CAAC,EAAE,kBAAkB,YAAA;IAG5C,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,2BAA2B,GAAG,uBAAuB;CAoC5E"}
|
||||
7
node_modules/@clerk/backend/dist/api/resources/Cookies.d.ts
generated
vendored
Normal file
7
node_modules/@clerk/backend/dist/api/resources/Cookies.d.ts
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import type { CookiesJSON } from './JSON';
|
||||
export declare class Cookies {
|
||||
readonly cookies: string[];
|
||||
constructor(cookies: string[]);
|
||||
static fromJSON(data: CookiesJSON): Cookies;
|
||||
}
|
||||
//# sourceMappingURL=Cookies.d.ts.map
|
||||
1
node_modules/@clerk/backend/dist/api/resources/Cookies.d.ts.map
generated
vendored
Normal file
1
node_modules/@clerk/backend/dist/api/resources/Cookies.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Cookies.d.ts","sourceRoot":"","sources":["../../../src/api/resources/Cookies.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAE1C,qBAAa,OAAO;IACN,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE;gBAAjB,OAAO,EAAE,MAAM,EAAE;IAEtC,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO;CAG5C"}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user