-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #69 from clerk/speakeasy-sdk-regen-1733790071
chore: 🐝 Update SDK - Generate 1.5.0
- Loading branch information
Showing
77 changed files
with
1,827 additions
and
799 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,12 +21,14 @@ from clerk_backend_api import Clerk | |
|
||
with Clerk( | ||
bearer_auth="<YOUR_BEARER_TOKEN_HERE>", | ||
) as s: | ||
res = s.allowlist_blocklist.list_allowlist_identifiers() | ||
) as clerk: | ||
|
||
if res is not None: | ||
# handle response | ||
pass | ||
res = clerk.allowlist_blocklist.list_allowlist_identifiers() | ||
|
||
assert res is not None | ||
|
||
# Handle response | ||
print(res) | ||
|
||
``` | ||
|
||
|
@@ -58,12 +60,14 @@ from clerk_backend_api import Clerk | |
|
||
with Clerk( | ||
bearer_auth="<YOUR_BEARER_TOKEN_HERE>", | ||
) as s: | ||
res = s.allowlist_blocklist.create_allowlist_identifier(identifier="[email protected]", notify=True) | ||
) as clerk: | ||
|
||
res = clerk.allowlist_blocklist.create_allowlist_identifier(identifier="[email protected]", notify=True) | ||
|
||
assert res is not None | ||
|
||
if res is not None: | ||
# handle response | ||
pass | ||
# Handle response | ||
print(res) | ||
|
||
``` | ||
|
||
|
@@ -97,12 +101,14 @@ from clerk_backend_api import Clerk | |
|
||
with Clerk( | ||
bearer_auth="<YOUR_BEARER_TOKEN_HERE>", | ||
) as s: | ||
res = s.allowlist_blocklist.create_blocklist_identifier(identifier="[email protected]") | ||
) as clerk: | ||
|
||
if res is not None: | ||
# handle response | ||
pass | ||
res = clerk.allowlist_blocklist.create_blocklist_identifier(identifier="[email protected]") | ||
|
||
assert res is not None | ||
|
||
# Handle response | ||
print(res) | ||
|
||
``` | ||
|
||
|
@@ -135,12 +141,14 @@ from clerk_backend_api import Clerk | |
|
||
with Clerk( | ||
bearer_auth="<YOUR_BEARER_TOKEN_HERE>", | ||
) as s: | ||
res = s.allowlist_blocklist.delete_blocklist_identifier(identifier_id="identifier123") | ||
) as clerk: | ||
|
||
res = clerk.allowlist_blocklist.delete_blocklist_identifier(identifier_id="identifier123") | ||
|
||
assert res is not None | ||
|
||
if res is not None: | ||
# handle response | ||
pass | ||
# Handle response | ||
print(res) | ||
|
||
``` | ||
|
||
|
Oops, something went wrong.