Skip to content

Commit

Permalink
ci: Generate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
seambot committed Dec 20, 2024
1 parent 1749334 commit d80e923
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 13 deletions.
34 changes: 29 additions & 5 deletions docs/api/acs/users/create.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ Creates a new [ACS user](https://docs.seam.co/latest/capability-guides/access-sy
```javascript
await seam.acs.users.create({
acs_system_id: "123e4567-e89b-12d3-a456-426614174000",
full_name: "Jane Doe",
email_address: "[email protected]",
phone_number: "+15555550100",
acs_access_group_ids: ["123e4567-e89b-12d3-a456-426614174000"],
});
```

Expand All @@ -37,7 +41,13 @@ await seam.acs.users.create({
#### Request

```python
seam.acs.users.create(acs_system_id="123e4567-e89b-12d3-a456-426614174000")
seam.acs.users.create(
acs_system_id="123e4567-e89b-12d3-a456-426614174000",
full_name="Jane Doe",
email_address="[email protected]",
phone_number="+15555550100",
acs_access_group_ids=["123e4567-e89b-12d3-a456-426614174000"],
)
```

#### Response
Expand All @@ -61,7 +71,13 @@ AcsUser(
#### Request

```ruby
seam.acs.users.create(acs_system_id: "123e4567-e89b-12d3-a456-426614174000")
seam.acs.users.create(
acs_system_id: "123e4567-e89b-12d3-a456-426614174000",
full_name: "Jane Doe",
email_address: "[email protected]",
phone_number: "+15555550100",
acs_access_group_ids: ["123e4567-e89b-12d3-a456-426614174000"],
)
```

#### Response
Expand All @@ -87,7 +103,11 @@ seam.acs.users.create(acs_system_id: "123e4567-e89b-12d3-a456-426614174000")
```php
<?php
$seam->acs->users->create(
acs_system_id: "123e4567-e89b-12d3-a456-426614174000"
acs_system_id: "123e4567-e89b-12d3-a456-426614174000",
full_name: "Jane Doe",
email_address: "[email protected]",
phone_number: "+15555550100",
acs_access_group_ids: ["123e4567-e89b-12d3-a456-426614174000"]
);
```

Expand All @@ -113,7 +133,7 @@ $seam->acs->users->create(
#### Request

```seam_cli
seam acs users create --acs_system_id "123e4567-e89b-12d3-a456-426614174000"
seam acs users create --acs_system_id "123e4567-e89b-12d3-a456-426614174000" --full_name "Jane Doe" --email_address "[email protected]" --phone_number "+15555550100" --acs_access_group_ids ["123e4567-e89b-12d3-a456-426614174000"]
```

#### Response
Expand Down Expand Up @@ -146,7 +166,11 @@ func main() {
client.Acs.Users.Create(
context.Background(),
users.UsersCreateRequest{
AcsSystemId: api.String("123e4567-e89b-12d3-a456-426614174000"),
AcsSystemId: api.String("123e4567-e89b-12d3-a456-426614174000"),
FullName: api.String("Jane Doe"),
EmailAddress: api.String("[email protected]"),
PhoneNumber: api.String("+15555550100"),
AcsAccessGroupIds: [1]string{api.String("123e4567-e89b-12d3-a456-426614174000")},
},
)
}
Expand Down
12 changes: 6 additions & 6 deletions docs/api/acs/users/update.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Updates the properties of a specified [ACS user](https://docs.seam.co/latest/cap
```javascript
await seam.acs.users.update({
acs_user_id: "8d7e0b3a-b889-49a7-9164-4b71a0506a33",
phone_number: 12222222222,
phone_number: "+15555550222",
});
```

Expand All @@ -29,7 +29,7 @@ await seam.acs.users.update({

```python
seam.acs.users.update(
acs_user_id="8d7e0b3a-b889-49a7-9164-4b71a0506a33", phone_number=12222222222
acs_user_id="8d7e0b3a-b889-49a7-9164-4b71a0506a33", phone_number="+15555550222"
)
```

Expand All @@ -46,7 +46,7 @@ None
```ruby
seam.acs.users.update(
acs_user_id: "8d7e0b3a-b889-49a7-9164-4b71a0506a33",
phone_number: 12_222_222_222,
phone_number: "+15555550222",
)
```

Expand All @@ -64,7 +64,7 @@ nil
<?php
$seam->acs->users->update(
acs_user_id: "8d7e0b3a-b889-49a7-9164-4b71a0506a33",
phone_number: 12222222222
phone_number: "+15555550222"
);
```

Expand All @@ -79,7 +79,7 @@ null
#### Request

```seam_cli
seam acs users update --acs_user_id "8d7e0b3a-b889-49a7-9164-4b71a0506a33" --phone_number 12222222222
seam acs users update --acs_user_id "8d7e0b3a-b889-49a7-9164-4b71a0506a33" --phone_number "+15555550222"
```

#### Response
Expand All @@ -103,7 +103,7 @@ func main() {
context.Background(),
users.UsersUpdateRequest{
AcsUserId: api.String("8d7e0b3a-b889-49a7-9164-4b71a0506a33"),
PhoneNumber: api.Float64(12222222222),
PhoneNumber: api.String("+15555550222"),
},
)
}
Expand Down
2 changes: 0 additions & 2 deletions docs/api/user_identities/update-a-user-identity.md

This file was deleted.

0 comments on commit d80e923

Please sign in to comment.