Skip to content

Commit 17f18f6

Browse files
Generate Ruby Backend SDK (#48)
Co-authored-by: Tom Milewski <[email protected]>
1 parent d380da5 commit 17f18f6

File tree

3 files changed

+202
-36
lines changed

3 files changed

+202
-36
lines changed

.generated/.openapi-generator/FILES

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,4 @@ lib/clerk-http-client/models/waitlist_entry.rb
426426
lib/clerk-http-client/models/web3_signature.rb
427427
lib/clerk-http-client/models/web3_wallet.rb
428428
lib/clerk-http-client/models/web3_wallet_verification.rb
429-
spec/models/create_machine200_response_spec.rb
430-
spec/models/get_machine_secret_key200_response_spec.rb
431429
spec/spec_helper.rb

.generated/docs/User.md

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -4,45 +4,45 @@
44

55
| Name | Type | Description | Notes |
66
| ---- | ---- | ----------- | ----- |
7-
| **id** | **String** | | [optional] |
8-
| **object** | **String** | String representing the object&#39;s type. Objects of the same type share the same value. | [optional] |
9-
| **external_id** | **String** | | [optional] |
10-
| **primary_email_address_id** | **String** | | [optional] |
11-
| **primary_phone_number_id** | **String** | | [optional] |
12-
| **primary_web3_wallet_id** | **String** | | [optional] |
13-
| **username** | **String** | | [optional] |
14-
| **first_name** | **String** | | [optional] |
15-
| **last_name** | **String** | | [optional] |
7+
| **id** | **String** | | |
8+
| **object** | **String** | String representing the object&#39;s type. Objects of the same type share the same value. | |
9+
| **external_id** | **String** | | |
10+
| **primary_email_address_id** | **String** | | |
11+
| **primary_phone_number_id** | **String** | | |
12+
| **primary_web3_wallet_id** | **String** | | |
13+
| **username** | **String** | | |
14+
| **first_name** | **String** | | |
15+
| **last_name** | **String** | | |
1616
| **profile_image_url** | **String** | | [optional] |
1717
| **image_url** | **String** | | [optional] |
18-
| **has_image** | **Boolean** | | [optional] |
19-
| **public_metadata** | **Hash&lt;String, Object&gt;** | | [optional] |
18+
| **has_image** | **Boolean** | | |
19+
| **public_metadata** | **Hash&lt;String, Object&gt;** | | |
2020
| **private_metadata** | **Hash&lt;String, Object&gt;** | | [optional] |
2121
| **unsafe_metadata** | **Hash&lt;String, Object&gt;** | | [optional] |
22-
| **email_addresses** | [**Array&lt;EmailAddress&gt;**](EmailAddress.md) | | [optional] |
23-
| **phone_numbers** | [**Array&lt;PhoneNumber&gt;**](PhoneNumber.md) | | [optional] |
24-
| **web3_wallets** | [**Array&lt;Web3Wallet&gt;**](Web3Wallet.md) | | [optional] |
25-
| **passkeys** | [**Array&lt;SchemasPasskey&gt;**](SchemasPasskey.md) | | [optional] |
26-
| **password_enabled** | **Boolean** | | [optional] |
27-
| **two_factor_enabled** | **Boolean** | | [optional] |
28-
| **totp_enabled** | **Boolean** | | [optional] |
29-
| **backup_code_enabled** | **Boolean** | | [optional] |
30-
| **mfa_enabled_at** | **Integer** | Unix timestamp of when MFA was last enabled for this user. It should be noted that this field is not nullified if MFA is disabled. | [optional] |
31-
| **mfa_disabled_at** | **Integer** | Unix timestamp of when MFA was last disabled for this user. It should be noted that this field is not nullified if MFA is enabled again. | [optional] |
32-
| **external_accounts** | [**Array&lt;ExternalAccountWithVerification&gt;**](ExternalAccountWithVerification.md) | | [optional] |
33-
| **saml_accounts** | [**Array&lt;SAMLAccount&gt;**](SAMLAccount.md) | | [optional] |
34-
| **last_sign_in_at** | **Integer** | Unix timestamp of last sign-in. | [optional] |
35-
| **banned** | **Boolean** | Flag to denote whether user is banned or not. | [optional] |
36-
| **locked** | **Boolean** | Flag to denote whether user is currently locked, i.e. restricted from signing in or not. | [optional] |
37-
| **lockout_expires_in_seconds** | **Integer** | The number of seconds remaining until the lockout period expires for a locked user. A null value for a locked user indicates that lockout never expires. | [optional] |
38-
| **verification_attempts_remaining** | **Integer** | The number of verification attempts remaining until the user is locked. Null if account lockout is not enabled. Note: if a user is locked explicitly via the Backend API, they may still have verification attempts remaining. | [optional] |
39-
| **updated_at** | **Integer** | Unix timestamp of last update. | [optional] |
40-
| **created_at** | **Integer** | Unix timestamp of creation. | [optional] |
41-
| **delete_self_enabled** | **Boolean** | If enabled, user can delete themselves via FAPI. | [optional] |
42-
| **create_organization_enabled** | **Boolean** | If enabled, user can create organizations via FAPI. | [optional] |
22+
| **email_addresses** | [**Array&lt;EmailAddress&gt;**](EmailAddress.md) | | |
23+
| **phone_numbers** | [**Array&lt;PhoneNumber&gt;**](PhoneNumber.md) | | |
24+
| **web3_wallets** | [**Array&lt;Web3Wallet&gt;**](Web3Wallet.md) | | |
25+
| **passkeys** | [**Array&lt;SchemasPasskey&gt;**](SchemasPasskey.md) | | |
26+
| **password_enabled** | **Boolean** | | |
27+
| **two_factor_enabled** | **Boolean** | | |
28+
| **totp_enabled** | **Boolean** | | |
29+
| **backup_code_enabled** | **Boolean** | | |
30+
| **mfa_enabled_at** | **Integer** | Unix timestamp of when MFA was last enabled for this user. It should be noted that this field is not nullified if MFA is disabled. | |
31+
| **mfa_disabled_at** | **Integer** | Unix timestamp of when MFA was last disabled for this user. It should be noted that this field is not nullified if MFA is enabled again. | |
32+
| **external_accounts** | [**Array&lt;ExternalAccountWithVerification&gt;**](ExternalAccountWithVerification.md) | | |
33+
| **saml_accounts** | [**Array&lt;SAMLAccount&gt;**](SAMLAccount.md) | | |
34+
| **last_sign_in_at** | **Integer** | Unix timestamp of last sign-in. | |
35+
| **banned** | **Boolean** | Flag to denote whether user is banned or not. | |
36+
| **locked** | **Boolean** | Flag to denote whether user is currently locked, i.e. restricted from signing in or not. | |
37+
| **lockout_expires_in_seconds** | **Integer** | The number of seconds remaining until the lockout period expires for a locked user. A null value for a locked user indicates that lockout never expires. | |
38+
| **verification_attempts_remaining** | **Integer** | The number of verification attempts remaining until the user is locked. Null if account lockout is not enabled. Note: if a user is locked explicitly via the Backend API, they may still have verification attempts remaining. | |
39+
| **updated_at** | **Integer** | Unix timestamp of last update. | |
40+
| **created_at** | **Integer** | Unix timestamp of creation. | |
41+
| **delete_self_enabled** | **Boolean** | If enabled, user can delete themselves via FAPI. | |
42+
| **create_organization_enabled** | **Boolean** | If enabled, user can create organizations via FAPI. | |
4343
| **create_organizations_limit** | **Integer** | The maximum number of organizations the user can create. 0 means unlimited. | [optional] |
44-
| **last_active_at** | **Integer** | Unix timestamp of the latest session activity, with day precision. | [optional] |
45-
| **legal_accepted_at** | **Integer** | Unix timestamp of when the user accepted the legal requirements. | [optional] |
44+
| **last_active_at** | **Integer** | Unix timestamp of the latest session activity, with day precision. | |
45+
| **legal_accepted_at** | **Integer** | Unix timestamp of when the user accepted the legal requirements. | |
4646

4747
## Example
4848

0 commit comments

Comments
 (0)