mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-18 01:49:01 +00:00
🤖 Merge PR #65486 fix(auth0): enabled_connections added by @peterblazejewicz
Docs: https://auth0.com/docs/api/management/beta/v2/create-an-organization /cc @PrzemyslawChudzia Fixes #65461
This commit is contained in:
committed by
GitHub
parent
1e28536e05
commit
d3301a62ce
@@ -1284,7 +1284,12 @@ management.organizations.getByName({ name: '' }).then((organization: auth0.Organ
|
||||
/**
|
||||
* Create an Organization using a callback
|
||||
*/
|
||||
management.organizations.create({ name: 'test_organization' }, (err, organization: auth0.Organization) => {
|
||||
management.organizations.create({
|
||||
name: 'test_organization', display_name: 'Test Organization', enabled_connections: [{
|
||||
connection_id: 'connection-id',
|
||||
assign_membership_on_login: true,
|
||||
}]
|
||||
}, (err, organization: auth0.Organization) => {
|
||||
console.log({ organization });
|
||||
});
|
||||
|
||||
|
||||
1
types/auth0/index.d.ts
vendored
1
types/auth0/index.d.ts
vendored
@@ -1255,6 +1255,7 @@ export interface CreateOrganization {
|
||||
}
|
||||
| undefined;
|
||||
metadata?: any;
|
||||
enabled_connections?: AddOrganizationEnabledConnection[] | undefined;
|
||||
}
|
||||
|
||||
export interface UpdateOrganization {
|
||||
|
||||
Reference in New Issue
Block a user