Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Major release 1.0.0 #52

Merged
merged 49 commits into from
Dec 20, 2023
Merged

Major release 1.0.0 #52

merged 49 commits into from
Dec 20, 2023

Commits on Dec 4, 2023

  1. Introduce HTTP client and base URL as configuration options (#37)

    * Add config modules
    
    * Start to build behavior for HTTP client
    
    * Add `Castable` module to define behavior for casting or transforming data
    
    * Handle response
    
    * Add HTTP methods to client behavior
    
    * Add `TeslaClient` implementation
    
    * Add comment to prod.exs to fix `mix format`
    
    * Fix casing for `WorkOS` namespace
    
    * Add `@deprecated` to `WorkOS.API`
    
    * Fix test config
    
    * Validate config
    
    * Fix linter
    
    * Add module for structured error response
    
    * Extract env variables to separate variables
    LauraBeatris committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    87a384a View commit details
    Browse the repository at this point in the history
  2. Add livebook example (#38)

    * Add `ISSUE_TEMPLATE.md` (#34)
    
    * Permit `expires_in` param when creating passwordless session (#35)
    
    Co-authored-by: Mark Tran <mark.tran@gmail.com>
    
    * Start to build behavior for HTTP client
    
    * Add `Castable` module to define behavior for casting or transforming data
    
    * Handle response
    
    * Add HTTP methods to client behavior
    
    * Add `TeslaClient` implementation
    
    * Add comment to prod.exs to fix `mix format`
    
    * Fix casing for `WorkOS` namespace
    
    * Add `@deprecated` to `WorkOS.API`
    
    * Fix test config
    
    * Validate config
    
    * Fix linter
    
    * Add livebook file
    
    ---------
    
    Co-authored-by: Jordan Mackie <12185627+jmackie@users.noreply.github.com>
    Co-authored-by: Mark Tran <mark.tran@gmail.com>
    3 people committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    c0f69d8 View commit details
    Browse the repository at this point in the history
  3. Introduce new SSO module and tests structure (#39)

    * Update `mix.exs`
    
    * Add util module
    
    * Add `Connection` struct
    
    * Add `List` castable module
    
    * Add `list_connections` method
    
    * Add `delete_connection` method
    
    * Add `get_connection` method
    
    * Add draft for `get_authorization_url`
    
    * Add `dialyxir` dependency
    
    * Remove old SSO module
    
    * Define logic for `get_authorization_url`
    
    * Add `Profile` and `ProfileAndToken` response structs
    
    * Add `get_profile` function
    
    * Add basic layer for tests
    
    * Add structs to `mix.exs`
    
    * Fix guard on `get_authorization_url`
    
    * Remove deprecated tests
    
    * Add doc comments for parameter options of `get_authorization_url`
    
    * Remove `Application.put_env` from `test_helper`
    
    * Add draft test
    
    * Fix extension of test files to `exs`
    
    * Apply case for test config
    
    * Define base URL for test
    
    * Fix test
    
    * Implement tests for `get_authorization_url`
    
    * Define test for `get_profile_and_token`
    
    * Implement tests for `get_profile_and_token`
    
    * Implement tests for `get_profile`
    
    * Implement test for `get_connection`
    
    * Implement test for `list_connections`
    
    * Rename `ClientMock` to `SSO.ClientMock`
    
    * Implement test for `delete_connection`
    
    * Fix return type for `delete_connection`
    
    * Fix `mix credo` issues
    
    * Update comment indentation
    
    * Handle case where `get_authorization_url` is called without having the application config loaded
    
    * Add validation for `redirect_uri`
    
    * Include `client_id` on WorkOS Client
    
    * Update livebook examples
    
    * Fix connection struct
    
    * Add `WorkOS.Empty`
    
    * Remove `IO.inspect`
    LauraBeatris committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    28aef63 View commit details
    Browse the repository at this point in the history
  4. Refactor Organizations module (#44)

    * Add skeleton for Organizations module
    
    * Remove old `Organizations` module
    
    * Add missing `object` key to connections domain
    
    * Add response struct for organizations
    
    * Implement functions for `Organization` module
    
    * Add `create_organization` and `update_organization`
    
    * Extract exceptions to separate modules
    
    * Allow to call `list` functions without client and map args
    
    * Implement tests for organizations
    
    * Update Livebook examples
    
    * Remove `Logger`
    
    * Remove `WorkOS.Util` and fix timestamps
    LauraBeatris committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    b9fc6d5 View commit details
    Browse the repository at this point in the history
  5. Refactor Portal module (#45)

    * Add basic modules
    
    * Define function clauses
    
    * Include implementation
    
    * Add Portal link response struct
    
    * Add portal client mock
    
    * Implement tests
    
    * Add example to Livebook
    LauraBeatris committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    ae8ed1d View commit details
    Browse the repository at this point in the history
  6. Refactor Webhooks module (#46)

    * Restructure modules
    
    * Add `Event` struct to `mix.exs`
    LauraBeatris committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    7aac6e6 View commit details
    Browse the repository at this point in the history
  7. Refactor DirectorySync module (#47)

    * Add base modules
    
    * Implement `get_directory`
    
    * Implement `list_directories`
    
    * Implement `delete_directory`
    
    * Implement `Directory.User`
    
    * Add tests for directory users
    
    * Remove `WorkOS.Util`
    
    * Add Livebook examples
    
    * Rollback `Util` changes
    
    * Remove `DateTime` from timestamps to match API reference
    
    * Add missing `object` keys to response structs
    
    * Remove WorkOS.Util
    LauraBeatris committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    99c6543 View commit details
    Browse the repository at this point in the history
  8. Refactor Passwordless module (#48)

    * Add base modules
    
    * Implement functions
    
    * Implement tests
    
    * Remove `message` property
    LauraBeatris committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    9abe151 View commit details
    Browse the repository at this point in the history
  9. Add Events module (#49)

    * Add base modules
    
    * Implement `list_events`
    
    * Implement tests
    
    * Add to Livebook
    LauraBeatris committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    71d990f View commit details
    Browse the repository at this point in the history
  10. Refactor AuditLogs module (#50)

    * Add export response struct
    
    * Add base modules
    
    * Add implementation for `create_export`
    
    * Add tests for `create_export`
    
    * Add `get_export` method
    
    * Add `add_event` method
    
    * Add examples to Livebook
    LauraBeatris committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    dbb4d5b View commit details
    Browse the repository at this point in the history
  11. Remove MFA module (#51)

    LauraBeatris committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    ccf44d4 View commit details
    Browse the repository at this point in the history
  12. Add User Management API (#53)

    * Add draft for User Management module
    
    * Add `Invitation` struct
    
    * Add `User` struct
    
    * Add User API methods
    
    * Add methods from `Invitation` API
    
    * Add `OrganizationMembership` API methods
    
    * Add Password Reset API methods
    
    * Add Email Verification API methods
    
    * Add MFA response structs
    
    * Add Multi-Factor API methods
    
    * Add Magic Auth API methods
    
    * Add Authentication API methods
    
    * Add `get_authorization_url`
    
    * Update Livebook
    
    * Fixes `authorize` parameters
    LauraBeatris committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    7286fe0 View commit details
    Browse the repository at this point in the history
  13. Add Domain Verification API (#55)

    * Remove legacy `WorkOS.API`
    
    * Add `OrganizationDomain` struct
    
    * Add Domain Verification API methods
    
    * Add domain verification API methods
    LauraBeatris committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    ef630a4 View commit details
    Browse the repository at this point in the history
  14. Update README.md

    LauraBeatris committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    c55e058 View commit details
    Browse the repository at this point in the history
  15. Format modules

    LauraBeatris committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    cc51967 View commit details
    Browse the repository at this point in the history
  16. Fix credo issues

    LauraBeatris committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    ebe557b View commit details
    Browse the repository at this point in the history
  17. Fix dialyzer issues

    LauraBeatris committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    0b63c43 View commit details
    Browse the repository at this point in the history
  18. Rename DomainVerification to OrganizationDomains (#56)

    * Rename to `OrganizationDomains`
    
    * Add to Livebook
    LauraBeatris committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    d8bf9dd View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    9a69155 View commit details
    Browse the repository at this point in the history
  20. Update workflow

    LauraBeatris committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    3834a10 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2023

  1. Bump to 1.0.0

    LauraBeatris committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    2a9113b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5a73356 View commit details
    Browse the repository at this point in the history
  3. Remove :hackney

    LauraBeatris committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    3e329a5 View commit details
    Browse the repository at this point in the history
  4. Update elixirc_paths

    LauraBeatris committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    665346e View commit details
    Browse the repository at this point in the history
  5. Rollback elixirc_paths

    LauraBeatris committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    71d5aa6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4783777 View commit details
    Browse the repository at this point in the history
  7. Update plug_crypto

    LauraBeatris committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    955114c View commit details
    Browse the repository at this point in the history
  8. Update jason

    LauraBeatris committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    4646295 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    4de9d26 View commit details
    Browse the repository at this point in the history
  10. Update dialyxir

    LauraBeatris committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    f3bf834 View commit details
    Browse the repository at this point in the history
  11. Remove enum constants

    LauraBeatris committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    9d76be0 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2023

  1. Update mock API keys

    LauraBeatris committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    b356821 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2023

  1. Add deprecated MFA API module (#58)

    * Fix timestamp mapping
    
    * Add deprecated response structs
    
    * Add deprecated API
    
    * Add tests
    LauraBeatris committed Dec 9, 2023
    Configuration menu
    Copy the full SHA
    4a206eb View commit details
    Browse the repository at this point in the history
  2. Fix generate_link types

    LauraBeatris committed Dec 9, 2023
    Configuration menu
    Copy the full SHA
    0832165 View commit details
    Browse the repository at this point in the history
  3. Install hackney

    LauraBeatris committed Dec 9, 2023
    Configuration menu
    Copy the full SHA
    f282315 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2023

  1. Fix query params

    LauraBeatris committed Dec 10, 2023
    Configuration menu
    Copy the full SHA
    5791d9e View commit details
    Browse the repository at this point in the history
  2. Fix list_groups params

    LauraBeatris committed Dec 10, 2023
    Configuration menu
    Copy the full SHA
    ef821a6 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2023

  1. Configuration menu
    Copy the full SHA
    b5fc11e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c6d0342 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2023

  1. Fix challenge_factor

    LauraBeatris committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    0bf9094 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2023

  1. Configuration menu
    Copy the full SHA
    a697d93 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3397781 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2023

  1. Add semaphore.yml

    LauraBeatris committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    996b410 View commit details
    Browse the repository at this point in the history
  2. Fix WorkOS.Empty struct

    LauraBeatris committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    50549ea View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    28dc4f5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    69a3a4d View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2023

  1. Configuration menu
    Copy the full SHA
    20de24e View commit details
    Browse the repository at this point in the history
  2. Rollback semaphore

    LauraBeatris committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    d6c95ee View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2e5dc32 View commit details
    Browse the repository at this point in the history