Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Introduce Generated SDK #142

Closed
wants to merge 40 commits into from
Closed

Conversation

andrii-balitskyi
Copy link
Collaborator

@andrii-balitskyi andrii-balitskyi commented Mar 22, 2024

No description provided.

commit a3de314
Merge: 91daaf6 36538d8
Author: Andrii Balitskyi <[email protected]>
Date:   Fri Mar 22 15:44:41 2024 +0100

    Merge pull request #30 from seamapi/generate-script-fix

    Generate script should be terminated if any command exits with a non-zero status

commit 36538d8
Author: Seam Bot <[email protected]>
Date:   Thu Mar 21 16:08:34 2024 +0000

    ci: Generate code

commit 60b1d0f
Author: Andrii Balitskyi <[email protected]>
Date:   Thu Mar 21 17:07:53 2024 +0100

    Generate script should be terminated if any command exits with a non-zero status

commit 91daaf6
Merge: 3117a20 50ab3ef
Author: Andrii Balitskyi <[email protected]>
Date:   Thu Mar 21 12:10:54 2024 +0100

    Merge pull request #23 from seamapi/revert-22-update-generate-workflow

    Revert "Add `pull_request_target` event to generate workflow"

commit 3117a20
Merge: 14ff9a5 75c0ede
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Thu Mar 21 04:22:13 2024 +0000

    Merge pull request #29 from seamapi/dependabot/npm_and_yarn/main/seam-5c85fdfc0b

    chore(deps-dev): bump the seam group with 1 update

commit 75c0ede
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Mar 21 04:21:57 2024 +0000

    chore(deps-dev): bump the seam group with 1 update

    Bumps the seam group with 1 update: [@seamapi/types](https://github.com/seamapi/types).

    Updates `@seamapi/types` from 1.140.0 to 1.141.0
    - [Release notes](https://github.com/seamapi/types/releases)
    - [Changelog](https://github.com/seamapi/types/blob/main/.releaserc.json)
    - [Commits](seamapi/types@v1.140.0...v1.141.0)

    ---
    updated-dependencies:
    - dependency-name: "@seamapi/types"
      dependency-type: direct:development
      update-type: version-update:semver-minor
      dependency-group: seam
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 14ff9a5
Merge: 08ee6fe dea791b
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Tue Mar 19 13:37:05 2024 +0000

    Merge pull request #28 from seamapi/dependabot/npm_and_yarn/main/seam-86673180da

    chore(deps-dev): bump the seam group with 1 update

commit dea791b
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Mar 19 13:36:47 2024 +0000

    chore(deps-dev): bump the seam group with 1 update

    Bumps the seam group with 1 update: [@seamapi/types](https://github.com/seamapi/types).

    Updates `@seamapi/types` from 1.139.0 to 1.140.0
    - [Release notes](https://github.com/seamapi/types/releases)
    - [Changelog](https://github.com/seamapi/types/blob/main/.releaserc.json)
    - [Commits](seamapi/types@v1.139.0...v1.140.0)

    ---
    updated-dependencies:
    - dependency-name: "@seamapi/types"
      dependency-type: direct:development
      update-type: version-update:semver-minor
      dependency-group: seam
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 08ee6fe
Merge: c8bd4a7 898d016
Author: Pawel <[email protected]>
Date:   Tue Mar 19 14:32:56 2024 +0100

    Merge pull request #27 from seamapi/update_dependabot

    Update dependabot to auto approve and merge PRs

commit 898d016
Author: Seam Bot <[email protected]>
Date:   Tue Mar 19 13:29:43 2024 +0000

    ci: Generate code

commit 674767c
Author: Pawel <[email protected]>
Date:   Tue Mar 19 14:20:58 2024 +0100

    auto approve dependabot PRs

    After branch protection rules were implemented dependabot can no longer auto merge PRs without approval

commit 9e3cd9c
Author: Pawel <[email protected]>
Date:   Tue Mar 19 13:06:02 2024 +0100

    update nextlove and output

commit c8bd4a7
Merge: f94362d 8b126d3
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Mon Mar 18 11:38:32 2024 +0100

    Merge pull request #24 from seamapi/dependabot/npm_and_yarn/main/seam-8e3ff1f1a4

    chore(deps-dev): bump the seam group with 2 updates

commit 8b126d3
Author: Seam Bot <[email protected]>
Date:   Mon Mar 18 04:19:51 2024 +0000

    ci: Generate code

commit ccefade
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Mar 18 04:19:17 2024 +0000

    chore(deps-dev): bump the seam group with 2 updates

    Bumps the seam group with 2 updates: [@seamapi/types](https://github.com/seamapi/types) and [@seamapi/nextlove-sdk-generator](https://github.com/seamapi/nextlove-sdk-generator).

    Updates `@seamapi/types` from 1.138.1 to 1.139.0
    - [Release notes](https://github.com/seamapi/types/releases)
    - [Changelog](https://github.com/seamapi/types/blob/main/.releaserc.json)
    - [Commits](seamapi/types@v1.138.1...v1.139.0)

    Updates `@seamapi/nextlove-sdk-generator` from 1.5.6 to 1.5.7
    - [Commits](https://github.com/seamapi/nextlove-sdk-generator/commits)

    ---
    updated-dependencies:
    - dependency-name: "@seamapi/types"
      dependency-type: direct:development
      update-type: version-update:semver-minor
      dependency-group: seam
    - dependency-name: "@seamapi/nextlove-sdk-generator"
      dependency-type: direct:development
      update-type: version-update:semver-patch
      dependency-group: seam
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 50ab3ef
Author: Seam Bot <[email protected]>
Date:   Fri Mar 15 17:09:05 2024 +0000

    ci: Generate code

commit 99c3154
Author: Andrii Balitskyi <[email protected]>
Date:   Fri Mar 15 18:08:26 2024 +0100

    Revert "Add `pull_request_target` event to generate workflow"

commit f94362d
Merge: 6393767 3a3b04e
Author: Andrii Balitskyi <[email protected]>
Date:   Fri Mar 15 15:58:11 2024 +0100

    Merge pull request #22 from seamapi/update-generate-workflow

    Add `pull_request_target` event to generate workflow

commit 3a3b04e
Author: Andrii Balitskyi <[email protected]>
Date:   Fri Mar 15 11:38:07 2024 +0100

    Update generate workflow to run when a PR opens or new commits pushed to it

commit 6393767
Merge: d694efc 71bbef3
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Fri Mar 15 04:15:22 2024 +0000

    Merge pull request #21 from seamapi/dependabot/npm_and_yarn/main/seam-e2f24af653

    chore(deps-dev): bump the seam group with 2 updates

commit 71bbef3
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Fri Mar 15 04:15:08 2024 +0000

    chore(deps-dev): bump the seam group with 2 updates

    Bumps the seam group with 2 updates: [@seamapi/types](https://github.com/seamapi/types) and [@seamapi/nextlove-sdk-generator](https://github.com/seamapi/nextlove-sdk-generator).

    Updates `@seamapi/types` from 1.136.0 to 1.138.1
    - [Release notes](https://github.com/seamapi/types/releases)
    - [Changelog](https://github.com/seamapi/types/blob/main/.releaserc.json)
    - [Commits](seamapi/types@v1.136.0...v1.138.1)

    Updates `@seamapi/nextlove-sdk-generator` from 1.5.5 to 1.5.6
    - [Commits](https://github.com/seamapi/nextlove-sdk-generator/commits)

    ---
    updated-dependencies:
    - dependency-name: "@seamapi/types"
      dependency-type: direct:development
      update-type: version-update:semver-minor
      dependency-group: seam
    - dependency-name: "@seamapi/nextlove-sdk-generator"
      dependency-type: direct:development
      update-type: version-update:semver-patch
      dependency-group: seam
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit d694efc
Merge: c779e9a 25ad102
Author: Andrii Balitskyi <[email protected]>
Date:   Thu Mar 14 13:23:49 2024 +0100

    Merge pull request #20 from seamapi/generate-workflow

    Setup generation workflow

commit 25ad102
Author: Seam Bot <[email protected]>
Date:   Thu Mar 14 10:42:31 2024 +0000

    ci: Generate code

commit cf28c21
Author: Andrii Balitskyi <[email protected]>
Date:   Thu Mar 14 11:41:50 2024 +0100

    Add format step to generate workflow

commit af80d52
Author: Andrii Balitskyi <[email protected]>
Date:   Thu Mar 14 11:31:56 2024 +0100

    Update generate workflow

commit 3e60dac
Author: Andrii Balitskyi <[email protected]>
Date:   Thu Mar 14 11:29:53 2024 +0100

    Update package lock

commit 743b4db
Author: Andrii Balitskyi <[email protected]>
Date:   Thu Mar 14 11:21:29 2024 +0100

    Update nextlove-sdk-generator registry in package lock

commit 553c29b
Author: Andrii Balitskyi <[email protected]>
Date:   Thu Mar 14 11:16:54 2024 +0100

    Setup generation workflow

commit c779e9a
Merge: d4c9c01 239bfea
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Thu Mar 14 04:15:06 2024 +0000

    Merge pull request #19 from seamapi/dependabot/npm_and_yarn/main/seam-e8c67338de

    chore(deps): bump the seam group with 1 update

commit 239bfea
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Mar 14 04:14:52 2024 +0000

    chore(deps): bump the seam group with 1 update

    Bumps the seam group with 1 update: [@seamapi/types](https://github.com/seamapi/types).

    Updates `@seamapi/types` from 1.135.0 to 1.136.0
    - [Release notes](https://github.com/seamapi/types/releases)
    - [Changelog](https://github.com/seamapi/types/blob/main/.releaserc.json)
    - [Commits](seamapi/types@v1.135.0...v1.136.0)

    ---
    updated-dependencies:
    - dependency-name: "@seamapi/types"
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: seam
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit d4c9c01
Merge: efe8428 32c64c6
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Wed Mar 13 16:43:35 2024 +0000

    Merge pull request #18 from seamapi/dependabot/npm_and_yarn/main/seam-dfc13b94ed

    chore(deps): bump the seam group with 1 update

commit 32c64c6
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Wed Mar 13 16:43:24 2024 +0000

    chore(deps): bump the seam group with 1 update

    Bumps the seam group with 1 update: [@seamapi/types](https://github.com/seamapi/types).

    Updates `@seamapi/types` from 1.133.0 to 1.135.0
    - [Release notes](https://github.com/seamapi/types/releases)
    - [Changelog](https://github.com/seamapi/types/blob/main/.releaserc.json)
    - [Commits](seamapi/types@v1.133.0...v1.135.0)

    ---
    updated-dependencies:
    - dependency-name: "@seamapi/types"
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: seam
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit efe8428
Author: Pawel <[email protected]>
Date:   Wed Mar 13 17:37:07 2024 +0100

    working dependabot auto merge workflow

commit 19a4eca
Merge: 0a48fa2 a84a35f
Author: Pawel <[email protected]>
Date:   Wed Mar 13 11:07:03 2024 +0100

    Merge pull request #17 from seamapi/pr

    change auto merge pattern

commit a84a35f
Author: Pawel <[email protected]>
Date:   Tue Mar 12 21:27:50 2024 +0100

    change auto merge pattern

commit 0a48fa2
Author: Pawel <[email protected]>
Date:   Tue Mar 12 16:50:42 2024 +0100

    update to @seamapi deps to use npm registry

commit 2b93b9a
Merge: 87b19f4 52e6bb1
Author: Pawel <[email protected]>
Date:   Tue Mar 12 16:48:49 2024 +0100

    Merge pull request #16 from seamapi/setup_dependabot_and_generate_workflow

    specify npm registry for @seamapi dependencies

commit 52e6bb1
Author: Pawel <[email protected]>
Date:   Tue Mar 12 16:45:11 2024 +0100

    specify npm registry for @seamapi dependencies

commit 87b19f4
Author: Pawel <[email protected]>
Date:   Fri Mar 8 14:01:04 2024 +0100

    more dependabot tests

commit 90e28f2
Author: Pawel <[email protected]>
Date:   Fri Mar 8 13:48:50 2024 +0100

    add dependency type

commit 95475a3
Author: Pawel <[email protected]>
Date:   Fri Mar 8 13:39:54 2024 +0100

    test dependabot

commit 27b0117
Author: Pawel <[email protected]>
Date:   Fri Mar 8 01:41:53 2024 +0100

    add .nvmrc

commit 9032900
Merge: 07086ec 38757e6
Author: Pawel <[email protected]>
Date:   Wed Mar 6 18:46:18 2024 +0100

    Merge pull request #12 from seamapi/setup_dependabot_and_generate_workflow

    add dependabot to update all @seamapi dependencies

commit 38757e6
Author: Pawel <[email protected]>
Date:   Tue Mar 5 21:58:46 2024 +0100

    specify what to test in TODO

commit b0cf77f
Author: Pawel <[email protected]>
Date:   Tue Mar 5 21:38:35 2024 +0100

    add auto-merge workflow

commit 48c9247
Author: Pawel <[email protected]>
Date:   Tue Mar 5 21:28:01 2024 +0100

    add dependabot to update all @seamapi dependencies

commit 07086ec
Merge: c799189 a45b810
Author: Pawel <[email protected]>
Date:   Tue Mar 5 20:48:03 2024 +0100

    Merge pull request #11 from seamapi/generated-sdk

    update output

commit a45b810
Author: kainpets <[email protected]>
Date:   Tue Mar 5 20:47:41 2024 +0100

    update output

commit c799189
Merge: 547c6a9 6c95e60
Author: Pawel <[email protected]>
Date:   Sun Mar 3 22:59:21 2024 +0100

    Merge pull request #10 from seamapi/generated-sdk

    update generation output

commit 6c95e60
Author: kainpets <[email protected]>
Date:   Sun Mar 3 22:58:50 2024 +0100

    update generation output

commit 547c6a9
Merge: dc9afd3 451e24b
Author: Pawel <[email protected]>
Date:   Thu Feb 15 15:48:36 2024 +0100

    Merge pull request #9 from seamapi/generated-sdk

    poll_action_attempt implement, Union type import

commit 451e24b
Author: kainpets <[email protected]>
Date:   Thu Feb 15 15:23:24 2024 +0100

    poll_action_attempt implement, Union type import

commit dc9afd3
Merge: b450438 4700cc1
Author: Pawel <[email protected]>
Date:   Tue Feb 13 17:29:59 2024 +0100

    Merge pull request #8 from seamapi/generated-sdk

    Updates to tests and the generated code

commit 4700cc1
Author: kainpets <[email protected]>
Date:   Tue Feb 13 17:28:53 2024 +0100

    update generated SDK code

commit cd1579c
Author: kainpets <[email protected]>
Date:   Tue Feb 13 17:28:32 2024 +0100

    update action attempts test to work on unlock

commit fa190b4
Author: kainpets <[email protected]>
Date:   Tue Feb 13 17:16:03 2024 +0100

    change accesing properties to dot notation

commit 5be7e08
Author: kainpets <[email protected]>
Date:   Tue Feb 13 16:49:59 2024 +0100

    update test for None return

commit 034240d
Author: kainpets <[email protected]>
Date:   Tue Feb 13 16:16:41 2024 +0100

    noise sensors test passing

commit d1aad73
Author: kainpets <[email protected]>
Date:   Mon Feb 12 20:17:39 2024 +0100

    update access codes to accomodate return None

commit b450438
Merge: f7d3b96 975f2bb
Author: Pawel <[email protected]>
Date:   Thu Feb 8 22:22:18 2024 +0100

    Merge pull request #7 from seamapi/generated-sdk

    workspaces test passing, update sentry errors test

commit 975f2bb
Author: kainpets <[email protected]>
Date:   Thu Feb 8 22:20:34 2024 +0100

    workspaces test passing, update sentry errors test

commit f7d3b96
Merge: 238b30d c10a750
Author: Pawel <[email protected]>
Date:   Thu Feb 8 14:53:24 2024 +0100

    Merge pull request #6 from seamapi/generated-sdk

    working noise_sensors/noise_thresholds

commit c10a750
Author: kainpets <[email protected]>
Date:   Thu Feb 8 14:52:54 2024 +0100

    working noise_sensors/noise_thresholds

commit 238b30d
Merge: 23eae40 8ef6029
Author: Pawel <[email protected]>
Date:   Wed Feb 7 23:49:33 2024 +0100

    Merge pull request #5 from seamapi/generated-sdk

    add .gitattributes

commit 8ef6029
Author: kainpets <[email protected]>
Date:   Wed Feb 7 23:46:54 2024 +0100

    add .gitattributes

commit 23eae40
Merge: 2a5d7fa 3be359d
Author: Pawel <[email protected]>
Date:   Wed Feb 7 23:33:46 2024 +0100

    Merge pull request #4 from seamapi/generated-sdk

    Generated sdk major update

commit 3be359d
Author: kainpets <[email protected]>
Date:   Wed Feb 7 22:55:12 2024 +0100

    add preferred_code_length tests

commit 7932044
Author: kainpets <[email protected]>
Date:   Wed Feb 7 22:28:16 2024 +0100

    connected_accounts and events exceptions tests pass

commit cb18ece
Author: kainpets <[email protected]>
Date:   Wed Feb 7 15:29:21 2024 +0100

    SeamApiException fix

commit 8cf4907
Author: kainpets <[email protected]>
Date:   Tue Feb 6 23:49:01 2024 +0100

    working access_codes, wip: SeamApiException

commit 427dd62
Author: kainpets <[email protected]>
Date:   Mon Feb 5 19:37:56 2024 +0100

    thermostat climate setting schedules are passing - check for prop
    er usage of ids

commit 6068203
Author: kainpets <[email protected]>
Date:   Thu Feb 1 18:01:28 2024 +0100

    wip: updating tests

commit 2a5d7fa
Merge: aad053d 2c329c4
Author: Pawel <[email protected]>
Date:   Thu Jan 18 20:03:00 2024 +0100

    Merge pull request #3 from seamapi/generated-sdk

    update SDK output and test_workspaces

commit 2c329c4
Author: kainpets <[email protected]>
Date:   Thu Jan 18 20:02:29 2024 +0100

    update SDK output and test_workspaces

commit aad053d
Merge: e1c67fe 705c42f
Author: Pawel <[email protected]>
Date:   Tue Jan 16 23:48:37 2024 +0100

    Merge pull request #1 from seamapi/generated-sdk

    Generated python sdk

commit 705c42f
Author: kainpets <[email protected]>
Date:   Tue Jan 16 23:39:55 2024 +0100

    update python SDK output

commit 13a32c6
Author: kainpets <[email protected]>
Date:   Fri Dec 29 11:30:21 2023 +0100

    update generated SDK

commit e1c67fe
Author: Severin Ibarluzea <[email protected]>
Date:   Thu Nov 30 09:37:34 2023 -0800

    remove publish and version workflows (for now)

commit 01b9ecb
Author: Pawel <[email protected]>
Date:   Thu Nov 30 17:23:39 2023 +0000

    add generate in development mode

commit b6bdd23
Author: kainpets <[email protected]>
Date:   Fri Nov 17 18:15:50 2023 +0100

    revert thermostat changes

commit 68c5493
Author: kainpets <[email protected]>
Date:   Fri Nov 17 14:33:33 2023 +0100

    remove factory

commit 209e599
Author: kainpets <[email protected]>
Date:   Fri Nov 17 14:30:12 2023 +0100

    Revert "validate workspaces methods - one missing"

    This reverts commit bab4bdb.

commit 1d67a22
Author: kainpets <[email protected]>
Date:   Fri Nov 17 12:46:41 2023 +0000

    thermostats climate setting schedules blocked by no 'climate_setting_schedules

commit bab4bdb
Author: kainpets <[email protected]>
Date:   Thu Nov 16 17:29:03 2023 +0000

    validate workspaces methods - one missing

commit cf19b52
Author: kainpets <[email protected]>
Date:   Thu Nov 16 17:26:05 2023 +0000

    initial test workspace test working

commit e83a353
Author: seveibar <[email protected]>
Date:   Fri Nov 3 08:25:43 2023 -0700

    generated sdk replaces old sdk
@razor-x
Copy link
Contributor

razor-x commented Mar 22, 2024

Do we know why the tests are failing?

@andrii-balitskyi
Copy link
Collaborator Author

Do we know why the tests are failing?

@razor-x we do, there are no /webhooks endpoints on fake-seam-connect. I'll update the fake.

.github/workflows/dependabot-auto-merge.yml Outdated Show resolved Hide resolved
.gitattributes Outdated Show resolved Hide resolved
.github/workflows/generate.yml Outdated Show resolved Hide resolved
.npmrc Outdated Show resolved Hide resolved
seamapi/access_codes_unmanaged.py Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
.npmrc Outdated Show resolved Hide resolved
@razor-x
Copy link
Contributor

razor-x commented Apr 5, 2024

Moved to seamapi/python#6

@razor-x razor-x deleted the introduce-generated-sdk branch June 27, 2024 20:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants