Skip to content

Commit 0318ed8

Browse files
feat(api): api update
1 parent ff63d34 commit 0318ed8

75 files changed

Lines changed: 371 additions & 293 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.release-please-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "0.0.1"
3+
}

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 62
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/agentmail%2Fagentmail-2481bfc63c4c9fa16c58f07d8a23b37ca8ce6360ae1de8f7cb864b762b6cb4dd.yml
33
openapi_spec_hash: caa7650be0b2ab945b63b1361f457873
4-
config_hash: 907d9e93c34825284de10dc22fb4f97f
4+
config_hash: 9bd66d6e57aeb365e3438936ced4caef

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ To use a local version of this library from source in another project, edit the
4141
directive. This can be done through the CLI with the following:
4242

4343
```sh
44-
$ go mod edit -replace github.com/stainless-sdks/agentmail-go=/path/to/agentmail-go
44+
$ go mod edit -replace github.com/agentmail-to/agentmail-go=/path/to/agentmail-go
4545
```
4646

4747
## Running tests

README.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<!-- x-release-please-start-version -->
44

5-
<a href="https://pkg.go.dev/github.com/stainless-sdks/agentmail-go"><img src="https://pkg.go.dev/badge/github.com/stainless-sdks/agentmail-go.svg" alt="Go Reference"></a>
5+
<a href="https://pkg.go.dev/github.com/agentmail-to/agentmail-go"><img src="https://pkg.go.dev/badge/github.com/agentmail-to/agentmail-go.svg" alt="Go Reference"></a>
66

77
<!-- x-release-please-end -->
88

@@ -13,18 +13,26 @@ It is generated with [Stainless](https://www.stainless.com/).
1313

1414
## Installation
1515

16+
<!-- x-release-please-start-version -->
17+
1618
```go
1719
import (
18-
"github.com/stainless-sdks/agentmail-go" // imported as agentmail
20+
"github.com/agentmail-to/agentmail-go" // imported as agentmail
1921
)
2022
```
2123

24+
<!-- x-release-please-end -->
25+
2226
Or to pin the version:
2327

28+
<!-- x-release-please-start-version -->
29+
2430
```sh
25-
go get -u 'github.com/stainless-sdks/agentmail-go@v0.0.1'
31+
go get -u 'github.com/agentmail-to/agentmail-go@v0.0.1'
2632
```
2733

34+
<!-- x-release-please-end -->
35+
2836
## Requirements
2937

3038
This library requires Go 1.22+.
@@ -40,8 +48,8 @@ import (
4048
"context"
4149
"fmt"
4250

43-
"github.com/stainless-sdks/agentmail-go"
44-
"github.com/stainless-sdks/agentmail-go/option"
51+
"github.com/agentmail-to/agentmail-go"
52+
"github.com/agentmail-to/agentmail-go/option"
4553
)
4654

4755
func main() {
@@ -269,7 +277,7 @@ client.Inboxes.List(context.TODO(), ...,
269277

270278
The request option `option.WithDebugLog(nil)` may be helpful while debugging.
271279

272-
See the [full list of request options](https://pkg.go.dev/github.com/stainless-sdks/agentmail-go/option).
280+
See the [full list of request options](https://pkg.go.dev/github.com/agentmail-to/agentmail-go/option).
273281

274282
### Pagination
275283

@@ -475,7 +483,7 @@ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) con
475483

476484
We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.
477485

478-
We are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/agentmail-go/issues) with questions, bugs, or suggestions.
486+
We are keen for your feedback; please open an [issue](https://www.github.com/agentmail-to/agentmail-go/issues) with questions, bugs, or suggestions.
479487

480488
## Contributing
481489

aliases.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
package agentmail
44

55
import (
6-
"github.com/stainless-sdks/agentmail-go/internal/apierror"
7-
"github.com/stainless-sdks/agentmail-go/packages/param"
6+
"github.com/agentmail-to/agentmail-go/internal/apierror"
7+
"github.com/agentmail-to/agentmail-go/packages/param"
88
)
99

1010
// aliased to make [param.APIUnion] private when embedding

api.md

Lines changed: 95 additions & 95 deletions
Large diffs are not rendered by default.

apikey.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ import (
1111
"slices"
1212
"time"
1313

14-
"github.com/stainless-sdks/agentmail-go/internal/apijson"
15-
"github.com/stainless-sdks/agentmail-go/internal/apiquery"
16-
"github.com/stainless-sdks/agentmail-go/internal/requestconfig"
17-
"github.com/stainless-sdks/agentmail-go/option"
18-
"github.com/stainless-sdks/agentmail-go/packages/param"
19-
"github.com/stainless-sdks/agentmail-go/packages/respjson"
14+
"github.com/agentmail-to/agentmail-go/internal/apijson"
15+
"github.com/agentmail-to/agentmail-go/internal/apiquery"
16+
"github.com/agentmail-to/agentmail-go/internal/requestconfig"
17+
"github.com/agentmail-to/agentmail-go/option"
18+
"github.com/agentmail-to/agentmail-go/packages/param"
19+
"github.com/agentmail-to/agentmail-go/packages/respjson"
2020
)
2121

2222
// APIKeyService contains methods and other services that help with interacting

apikey_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import (
88
"os"
99
"testing"
1010

11-
"github.com/stainless-sdks/agentmail-go"
12-
"github.com/stainless-sdks/agentmail-go/internal/testutil"
13-
"github.com/stainless-sdks/agentmail-go/option"
11+
"github.com/agentmail-to/agentmail-go"
12+
"github.com/agentmail-to/agentmail-go/internal/testutil"
13+
"github.com/agentmail-to/agentmail-go/option"
1414
)
1515

1616
func TestAPIKeyNew(t *testing.T) {

client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"os"
99
"slices"
1010

11-
"github.com/stainless-sdks/agentmail-go/internal/requestconfig"
12-
"github.com/stainless-sdks/agentmail-go/option"
11+
"github.com/agentmail-to/agentmail-go/internal/requestconfig"
12+
"github.com/agentmail-to/agentmail-go/option"
1313
)
1414

1515
// Client creates a struct with services and top level methods that help with

client_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ import (
1010
"testing"
1111
"time"
1212

13-
"github.com/stainless-sdks/agentmail-go"
14-
"github.com/stainless-sdks/agentmail-go/internal"
15-
"github.com/stainless-sdks/agentmail-go/option"
13+
"github.com/agentmail-to/agentmail-go"
14+
"github.com/agentmail-to/agentmail-go/internal"
15+
"github.com/agentmail-to/agentmail-go/option"
1616
)
1717

1818
type closureTransport struct {

0 commit comments

Comments
 (0)