Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

auth0

Package Overview
Dependencies
Maintainers
48
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auth0 - npm Package Compare versions

Comparing version 4.6.0 to 4.7.0

66

dist/cjs/management/__generated/managers/connections-manager.d.ts
import * as runtime from '../../../lib/runtime.js';
import type { InitOverride, ApiResponse } from '../../../lib/runtime.js';
import type { Connection, ConnectionCreate, ConnectionUpdate, GetConnections200ResponseOneOf, DeleteConnectionsByIdRequest, DeleteUsersByEmailRequest, GetConnectionsRequest, GetConnectionsByIdRequest, GetStatusRequest, PatchConnectionsByIdRequest } from '../models/index.js';
import type { Connection, ConnectionCreate, ConnectionUpdate, GetDefaultMapping200Response, GetScimConfiguration200Response, GetScimTokens200ResponseInner, PatchScimConfigurationRequest, PostScimConfigurationRequest, PostScimToken201Response, PostScimTokenRequest, GetConnections200ResponseOneOf, DeleteConnectionsByIdRequest, DeleteScimConfigurationRequest, DeleteTokensByTokenIdRequest, DeleteUsersByEmailRequest, GetConnectionsRequest, GetConnectionsByIdRequest, GetDefaultMappingRequest, GetScimConfigurationRequest, GetScimTokensRequest, GetStatusRequest, PatchConnectionsByIdRequest, PatchScimConfigurationOperationRequest, PostScimConfigurationOperationRequest, PostScimTokenOperationRequest } from '../models/index.js';
declare const BaseAPI: typeof runtime.BaseAPI;

@@ -18,2 +18,18 @@ /**

/**
* Deletes a scim configuration by its <code>connectionId</code>.
*
* Delete a connection's SCIM configuration
*
* @throws {RequiredError}
*/
deleteScimConfiguration(requestParameters: DeleteScimConfigurationRequest, initOverrides?: InitOverride): Promise<ApiResponse<void>>;
/**
* Deletes a scim token by its connection <code>id</code> and <code>tokenId</code>.
*
* Delete a connection's SCIM token
*
* @throws {RequiredError}
*/
deleteScimToken(requestParameters: DeleteTokensByTokenIdRequest, initOverrides?: InitOverride): Promise<ApiResponse<void>>;
/**
* Deletes a specified connection user by its email (you cannot delete all users from specific connection). Currently, only Database Connections are supported.

@@ -62,2 +78,26 @@ *

/**
* Retrieves a scim configuration's default mapping by its <code>connectionId</code>.
*
* Get a connection's default SCIM mapping
*
* @throws {RequiredError}
*/
getDefaultScimMapping(requestParameters: GetDefaultMappingRequest, initOverrides?: InitOverride): Promise<ApiResponse<GetDefaultMapping200Response>>;
/**
* Retrieves a scim configuration by its <code>connectionId</code>.
*
* Get a connection's SCIM configuration
*
* @throws {RequiredError}
*/
getScimConfiguration(requestParameters: GetScimConfigurationRequest, initOverrides?: InitOverride): Promise<ApiResponse<GetScimConfiguration200Response>>;
/**
* Retrieves all scim tokens by its connection <code>id</code>.
*
* Get a connection's SCIM tokens
*
* @throws {RequiredError}
*/
getScimTokens(requestParameters: GetScimTokensRequest, initOverrides?: InitOverride): Promise<ApiResponse<Array<GetScimTokens200ResponseInner>>>;
/**
* Retrieves the status of an ad/ldap connection referenced by its <code>ID</code>. <code>200 OK</code> http status code response is returned when the connection is online, otherwise a <code>404</code> status code is returned along with an error message

@@ -78,2 +118,10 @@ * Check connection status

/**
* Update a scim configuration by its <code>connectionId</code>.
*
* Patch a connection's SCIM configuration
*
* @throws {RequiredError}
*/
updateScimConfiguration(requestParameters: PatchScimConfigurationOperationRequest, bodyParameters: PatchScimConfigurationRequest, initOverrides?: InitOverride): Promise<ApiResponse<GetScimConfiguration200Response>>;
/**
* Creates a new connection according to the JSON object received in <code>body</code>.

@@ -86,3 +134,19 @@ *

create(bodyParameters: ConnectionCreate, initOverrides?: InitOverride): Promise<ApiResponse<Connection>>;
/**
* Create a scim configuration for a connection.
*
* Create a SCIM configuration
*
* @throws {RequiredError}
*/
createScimConfiguration(requestParameters: PostScimConfigurationOperationRequest, bodyParameters: PostScimConfigurationRequest | null, initOverrides?: InitOverride): Promise<ApiResponse<GetScimConfiguration200Response>>;
/**
* Create a scim token for a scim client.
*
* Create a SCIM Token
*
* @throws {RequiredError}
*/
createScimToken(requestParameters: PostScimTokenOperationRequest, bodyParameters: PostScimTokenRequest, initOverrides?: InitOverride): Promise<ApiResponse<PostScimToken201Response>>;
}
export {};

@@ -49,2 +49,34 @@ "use strict";

/**
* Deletes a scim configuration by its <code>connectionId</code>.
*
* Delete a connection's SCIM configuration
*
* @throws {RequiredError}
*/
async deleteScimConfiguration(requestParameters, initOverrides) {
runtime.validateRequiredRequestParams(requestParameters, ['id']);
const response = await this.request({
path: `/connections/{id}/scim-configuration`.replace('{id}', encodeURIComponent(String(requestParameters.id))),
method: 'DELETE',
}, initOverrides);
return runtime.VoidApiResponse.fromResponse(response);
}
/**
* Deletes a scim token by its connection <code>id</code> and <code>tokenId</code>.
*
* Delete a connection's SCIM token
*
* @throws {RequiredError}
*/
async deleteScimToken(requestParameters, initOverrides) {
runtime.validateRequiredRequestParams(requestParameters, ['id', 'tokenId']);
const response = await this.request({
path: `/connections/{id}/scim-configuration/tokens/{tokenId}`
.replace('{id}', encodeURIComponent(String(requestParameters.id)))
.replace('{tokenId}', encodeURIComponent(String(requestParameters.tokenId))),
method: 'DELETE',
}, initOverrides);
return runtime.VoidApiResponse.fromResponse(response);
}
/**
* Deletes a specified connection user by its email (you cannot delete all users from specific connection). Currently, only Database Connections are supported.

@@ -147,2 +179,47 @@ *

/**
* Retrieves a scim configuration's default mapping by its <code>connectionId</code>.
*
* Get a connection's default SCIM mapping
*
* @throws {RequiredError}
*/
async getDefaultScimMapping(requestParameters, initOverrides) {
runtime.validateRequiredRequestParams(requestParameters, ['id']);
const response = await this.request({
path: `/connections/{id}/scim-configuration/default-mapping`.replace('{id}', encodeURIComponent(String(requestParameters.id))),
method: 'GET',
}, initOverrides);
return runtime.JSONApiResponse.fromResponse(response);
}
/**
* Retrieves a scim configuration by its <code>connectionId</code>.
*
* Get a connection's SCIM configuration
*
* @throws {RequiredError}
*/
async getScimConfiguration(requestParameters, initOverrides) {
runtime.validateRequiredRequestParams(requestParameters, ['id']);
const response = await this.request({
path: `/connections/{id}/scim-configuration`.replace('{id}', encodeURIComponent(String(requestParameters.id))),
method: 'GET',
}, initOverrides);
return runtime.JSONApiResponse.fromResponse(response);
}
/**
* Retrieves all scim tokens by its connection <code>id</code>.
*
* Get a connection's SCIM tokens
*
* @throws {RequiredError}
*/
async getScimTokens(requestParameters, initOverrides) {
runtime.validateRequiredRequestParams(requestParameters, ['id']);
const response = await this.request({
path: `/connections/{id}/scim-configuration/tokens`.replace('{id}', encodeURIComponent(String(requestParameters.id))),
method: 'GET',
}, initOverrides);
return runtime.JSONApiResponse.fromResponse(response);
}
/**
* Retrieves the status of an ad/ldap connection referenced by its <code>ID</code>. <code>200 OK</code> http status code response is returned when the connection is online, otherwise a <code>404</code> status code is returned along with an error message

@@ -181,2 +258,21 @@ * Check connection status

/**
* Update a scim configuration by its <code>connectionId</code>.
*
* Patch a connection's SCIM configuration
*
* @throws {RequiredError}
*/
async updateScimConfiguration(requestParameters, bodyParameters, initOverrides) {
runtime.validateRequiredRequestParams(requestParameters, ['id']);
const headerParameters = {};
headerParameters['Content-Type'] = 'application/json';
const response = await this.request({
path: `/connections/{id}/scim-configuration`.replace('{id}', encodeURIComponent(String(requestParameters.id))),
method: 'PATCH',
headers: headerParameters,
body: bodyParameters,
}, initOverrides);
return runtime.JSONApiResponse.fromResponse(response);
}
/**
* Creates a new connection according to the JSON object received in <code>body</code>.

@@ -199,4 +295,42 @@ *

}
/**
* Create a scim configuration for a connection.
*
* Create a SCIM configuration
*
* @throws {RequiredError}
*/
async createScimConfiguration(requestParameters, bodyParameters, initOverrides) {
runtime.validateRequiredRequestParams(requestParameters, ['id']);
const headerParameters = {};
headerParameters['Content-Type'] = 'application/json';
const response = await this.request({
path: `/connections/{id}/scim-configuration`.replace('{id}', encodeURIComponent(String(requestParameters.id))),
method: 'POST',
headers: headerParameters,
body: bodyParameters,
}, initOverrides);
return runtime.JSONApiResponse.fromResponse(response);
}
/**
* Create a scim token for a scim client.
*
* Create a SCIM Token
*
* @throws {RequiredError}
*/
async createScimToken(requestParameters, bodyParameters, initOverrides) {
runtime.validateRequiredRequestParams(requestParameters, ['id']);
const headerParameters = {};
headerParameters['Content-Type'] = 'application/json';
const response = await this.request({
path: `/connections/{id}/scim-configuration/tokens`.replace('{id}', encodeURIComponent(String(requestParameters.id))),
method: 'POST',
headers: headerParameters,
body: bodyParameters,
}, initOverrides);
return runtime.JSONApiResponse.fromResponse(response);
}
}
exports.ConnectionsManager = ConnectionsManager;
//# sourceMappingURL=connections-manager.js.map

2

dist/cjs/version.d.ts

@@ -1,1 +0,1 @@

export declare const version = "4.6.0";
export declare const version = "4.7.0";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = '4.6.0';
exports.version = '4.7.0';
//# sourceMappingURL=version.js.map
import * as runtime from '../../../lib/runtime.js';
import type { InitOverride, ApiResponse } from '../../../lib/runtime.js';
import type { Connection, ConnectionCreate, ConnectionUpdate, GetConnections200ResponseOneOf, DeleteConnectionsByIdRequest, DeleteUsersByEmailRequest, GetConnectionsRequest, GetConnectionsByIdRequest, GetStatusRequest, PatchConnectionsByIdRequest } from '../models/index.js';
import type { Connection, ConnectionCreate, ConnectionUpdate, GetDefaultMapping200Response, GetScimConfiguration200Response, GetScimTokens200ResponseInner, PatchScimConfigurationRequest, PostScimConfigurationRequest, PostScimToken201Response, PostScimTokenRequest, GetConnections200ResponseOneOf, DeleteConnectionsByIdRequest, DeleteScimConfigurationRequest, DeleteTokensByTokenIdRequest, DeleteUsersByEmailRequest, GetConnectionsRequest, GetConnectionsByIdRequest, GetDefaultMappingRequest, GetScimConfigurationRequest, GetScimTokensRequest, GetStatusRequest, PatchConnectionsByIdRequest, PatchScimConfigurationOperationRequest, PostScimConfigurationOperationRequest, PostScimTokenOperationRequest } from '../models/index.js';
declare const BaseAPI: typeof runtime.BaseAPI;

@@ -18,2 +18,18 @@ /**

/**
* Deletes a scim configuration by its <code>connectionId</code>.
*
* Delete a connection's SCIM configuration
*
* @throws {RequiredError}
*/
deleteScimConfiguration(requestParameters: DeleteScimConfigurationRequest, initOverrides?: InitOverride): Promise<ApiResponse<void>>;
/**
* Deletes a scim token by its connection <code>id</code> and <code>tokenId</code>.
*
* Delete a connection's SCIM token
*
* @throws {RequiredError}
*/
deleteScimToken(requestParameters: DeleteTokensByTokenIdRequest, initOverrides?: InitOverride): Promise<ApiResponse<void>>;
/**
* Deletes a specified connection user by its email (you cannot delete all users from specific connection). Currently, only Database Connections are supported.

@@ -62,2 +78,26 @@ *

/**
* Retrieves a scim configuration's default mapping by its <code>connectionId</code>.
*
* Get a connection's default SCIM mapping
*
* @throws {RequiredError}
*/
getDefaultScimMapping(requestParameters: GetDefaultMappingRequest, initOverrides?: InitOverride): Promise<ApiResponse<GetDefaultMapping200Response>>;
/**
* Retrieves a scim configuration by its <code>connectionId</code>.
*
* Get a connection's SCIM configuration
*
* @throws {RequiredError}
*/
getScimConfiguration(requestParameters: GetScimConfigurationRequest, initOverrides?: InitOverride): Promise<ApiResponse<GetScimConfiguration200Response>>;
/**
* Retrieves all scim tokens by its connection <code>id</code>.
*
* Get a connection's SCIM tokens
*
* @throws {RequiredError}
*/
getScimTokens(requestParameters: GetScimTokensRequest, initOverrides?: InitOverride): Promise<ApiResponse<Array<GetScimTokens200ResponseInner>>>;
/**
* Retrieves the status of an ad/ldap connection referenced by its <code>ID</code>. <code>200 OK</code> http status code response is returned when the connection is online, otherwise a <code>404</code> status code is returned along with an error message

@@ -78,2 +118,10 @@ * Check connection status

/**
* Update a scim configuration by its <code>connectionId</code>.
*
* Patch a connection's SCIM configuration
*
* @throws {RequiredError}
*/
updateScimConfiguration(requestParameters: PatchScimConfigurationOperationRequest, bodyParameters: PatchScimConfigurationRequest, initOverrides?: InitOverride): Promise<ApiResponse<GetScimConfiguration200Response>>;
/**
* Creates a new connection according to the JSON object received in <code>body</code>.

@@ -86,3 +134,19 @@ *

create(bodyParameters: ConnectionCreate, initOverrides?: InitOverride): Promise<ApiResponse<Connection>>;
/**
* Create a scim configuration for a connection.
*
* Create a SCIM configuration
*
* @throws {RequiredError}
*/
createScimConfiguration(requestParameters: PostScimConfigurationOperationRequest, bodyParameters: PostScimConfigurationRequest | null, initOverrides?: InitOverride): Promise<ApiResponse<GetScimConfiguration200Response>>;
/**
* Create a scim token for a scim client.
*
* Create a SCIM Token
*
* @throws {RequiredError}
*/
createScimToken(requestParameters: PostScimTokenOperationRequest, bodyParameters: PostScimTokenRequest, initOverrides?: InitOverride): Promise<ApiResponse<PostScimToken201Response>>;
}
export {};

@@ -23,2 +23,34 @@ import * as runtime from '../../../lib/runtime.js';

/**
* Deletes a scim configuration by its <code>connectionId</code>.
*
* Delete a connection's SCIM configuration
*
* @throws {RequiredError}
*/
async deleteScimConfiguration(requestParameters, initOverrides) {
runtime.validateRequiredRequestParams(requestParameters, ['id']);
const response = await this.request({
path: `/connections/{id}/scim-configuration`.replace('{id}', encodeURIComponent(String(requestParameters.id))),
method: 'DELETE',
}, initOverrides);
return runtime.VoidApiResponse.fromResponse(response);
}
/**
* Deletes a scim token by its connection <code>id</code> and <code>tokenId</code>.
*
* Delete a connection's SCIM token
*
* @throws {RequiredError}
*/
async deleteScimToken(requestParameters, initOverrides) {
runtime.validateRequiredRequestParams(requestParameters, ['id', 'tokenId']);
const response = await this.request({
path: `/connections/{id}/scim-configuration/tokens/{tokenId}`
.replace('{id}', encodeURIComponent(String(requestParameters.id)))
.replace('{tokenId}', encodeURIComponent(String(requestParameters.tokenId))),
method: 'DELETE',
}, initOverrides);
return runtime.VoidApiResponse.fromResponse(response);
}
/**
* Deletes a specified connection user by its email (you cannot delete all users from specific connection). Currently, only Database Connections are supported.

@@ -121,2 +153,47 @@ *

/**
* Retrieves a scim configuration's default mapping by its <code>connectionId</code>.
*
* Get a connection's default SCIM mapping
*
* @throws {RequiredError}
*/
async getDefaultScimMapping(requestParameters, initOverrides) {
runtime.validateRequiredRequestParams(requestParameters, ['id']);
const response = await this.request({
path: `/connections/{id}/scim-configuration/default-mapping`.replace('{id}', encodeURIComponent(String(requestParameters.id))),
method: 'GET',
}, initOverrides);
return runtime.JSONApiResponse.fromResponse(response);
}
/**
* Retrieves a scim configuration by its <code>connectionId</code>.
*
* Get a connection's SCIM configuration
*
* @throws {RequiredError}
*/
async getScimConfiguration(requestParameters, initOverrides) {
runtime.validateRequiredRequestParams(requestParameters, ['id']);
const response = await this.request({
path: `/connections/{id}/scim-configuration`.replace('{id}', encodeURIComponent(String(requestParameters.id))),
method: 'GET',
}, initOverrides);
return runtime.JSONApiResponse.fromResponse(response);
}
/**
* Retrieves all scim tokens by its connection <code>id</code>.
*
* Get a connection's SCIM tokens
*
* @throws {RequiredError}
*/
async getScimTokens(requestParameters, initOverrides) {
runtime.validateRequiredRequestParams(requestParameters, ['id']);
const response = await this.request({
path: `/connections/{id}/scim-configuration/tokens`.replace('{id}', encodeURIComponent(String(requestParameters.id))),
method: 'GET',
}, initOverrides);
return runtime.JSONApiResponse.fromResponse(response);
}
/**
* Retrieves the status of an ad/ldap connection referenced by its <code>ID</code>. <code>200 OK</code> http status code response is returned when the connection is online, otherwise a <code>404</code> status code is returned along with an error message

@@ -155,2 +232,21 @@ * Check connection status

/**
* Update a scim configuration by its <code>connectionId</code>.
*
* Patch a connection's SCIM configuration
*
* @throws {RequiredError}
*/
async updateScimConfiguration(requestParameters, bodyParameters, initOverrides) {
runtime.validateRequiredRequestParams(requestParameters, ['id']);
const headerParameters = {};
headerParameters['Content-Type'] = 'application/json';
const response = await this.request({
path: `/connections/{id}/scim-configuration`.replace('{id}', encodeURIComponent(String(requestParameters.id))),
method: 'PATCH',
headers: headerParameters,
body: bodyParameters,
}, initOverrides);
return runtime.JSONApiResponse.fromResponse(response);
}
/**
* Creates a new connection according to the JSON object received in <code>body</code>.

@@ -173,3 +269,41 @@ *

}
/**
* Create a scim configuration for a connection.
*
* Create a SCIM configuration
*
* @throws {RequiredError}
*/
async createScimConfiguration(requestParameters, bodyParameters, initOverrides) {
runtime.validateRequiredRequestParams(requestParameters, ['id']);
const headerParameters = {};
headerParameters['Content-Type'] = 'application/json';
const response = await this.request({
path: `/connections/{id}/scim-configuration`.replace('{id}', encodeURIComponent(String(requestParameters.id))),
method: 'POST',
headers: headerParameters,
body: bodyParameters,
}, initOverrides);
return runtime.JSONApiResponse.fromResponse(response);
}
/**
* Create a scim token for a scim client.
*
* Create a SCIM Token
*
* @throws {RequiredError}
*/
async createScimToken(requestParameters, bodyParameters, initOverrides) {
runtime.validateRequiredRequestParams(requestParameters, ['id']);
const headerParameters = {};
headerParameters['Content-Type'] = 'application/json';
const response = await this.request({
path: `/connections/{id}/scim-configuration/tokens`.replace('{id}', encodeURIComponent(String(requestParameters.id))),
method: 'POST',
headers: headerParameters,
body: bodyParameters,
}, initOverrides);
return runtime.JSONApiResponse.fromResponse(response);
}
}
//# sourceMappingURL=connections-manager.js.map

@@ -1,1 +0,1 @@

export declare const version = "4.6.0";
export declare const version = "4.7.0";

@@ -1,2 +0,2 @@

export const version = '4.6.0';
export const version = '4.7.0';
//# sourceMappingURL=version.js.map
{
"name": "auth0",
"version": "4.6.0",
"version": "4.7.0",
"description": "SDK for Auth0 API v2",

@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc