Skip to content

Commit

Permalink
Release v0.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Sep 29, 2023
1 parent 6fb3fa2 commit 2e489e0
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 19 deletions.
9 changes: 4 additions & 5 deletions access_codes_create_multiple_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ type AccessCodesCreateMultipleRequest struct {
Name *string `json:"name,omitempty"`
StartsAt *string `json:"starts_at,omitempty"`
EndsAt *string `json:"ends_at,omitempty"`
// <span style="white-space: nowrap">`<= 8 characters`</span>
Code *string `json:"code,omitempty"`
AttemptForOfflineDevice *bool `json:"attempt_for_offline_device,omitempty"`
PreferNativeScheduling *bool `json:"prefer_native_scheduling,omitempty"`
UseBackupAccessCodePool *bool `json:"use_backup_access_code_pool,omitempty"`
Code *string `json:"code,omitempty"`
AttemptForOfflineDevice *bool `json:"attempt_for_offline_device,omitempty"`
PreferNativeScheduling *bool `json:"prefer_native_scheduling,omitempty"`
UseBackupAccessCodePool *bool `json:"use_backup_access_code_pool,omitempty"`
}
9 changes: 4 additions & 5 deletions access_codes_create_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ package api

// AccessCodesCreateRequest is an in-lined request used by the Create endpoint.
type AccessCodesCreateRequest struct {
DeviceId string `json:"device_id"`
Name *string `json:"name,omitempty"`
StartsAt *string `json:"starts_at,omitempty"`
EndsAt *string `json:"ends_at,omitempty"`
// <span style="white-space: nowrap">`<= 8 characters`</span>
DeviceId string `json:"device_id"`
Name *string `json:"name,omitempty"`
StartsAt *string `json:"starts_at,omitempty"`
EndsAt *string `json:"ends_at,omitempty"`
Code *string `json:"code,omitempty"`
Sync *bool `json:"sync,omitempty"`
AttemptForOfflineDevice *bool `json:"attempt_for_offline_device,omitempty"`
Expand Down
7 changes: 3 additions & 4 deletions access_codes_update_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ package api

// AccessCodesUpdateRequest is an in-lined request used by the Update endpoint.
type AccessCodesUpdateRequest struct {
Name *string `json:"name,omitempty"`
StartsAt *string `json:"starts_at,omitempty"`
EndsAt *string `json:"ends_at,omitempty"`
// <span style="white-space: nowrap">`<= 8 characters`</span>
Name *string `json:"name,omitempty"`
StartsAt *string `json:"starts_at,omitempty"`
EndsAt *string `json:"ends_at,omitempty"`
Code *string `json:"code,omitempty"`
Sync *bool `json:"sync,omitempty"`
AttemptForOfflineDevice *bool `json:"attempt_for_offline_device,omitempty"`
Expand Down
3 changes: 1 addition & 2 deletions accesscodes/simulate_create_unmanaged_access_code_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ package accesscodes
type SimulateCreateUnmanagedAccessCodeRequest struct {
DeviceId string `json:"device_id"`
Name string `json:"name"`
// <span style="white-space: nowrap">`<= 8 characters`</span>
Code string `json:"code"`
Code string `json:"code"`
}
1 change: 0 additions & 1 deletion client_sessions_create_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ package api

// ClientSessionsCreateRequest is an in-lined request used by the Create endpoint.
type ClientSessionsCreateRequest struct {
// <span style="white-space: nowrap">`non-empty`</span>
UserIdentifierKey *string `json:"user_identifier_key,omitempty"`
ConnectWebviewIds *[]string `json:"connect_webview_ids,omitempty"`
ConnectedAccountIds *[]string `json:"connected_account_ids,omitempty"`
Expand Down
3 changes: 1 addition & 2 deletions connect_webviews_create_request_custom_metadata_value.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ import (
)

type ConnectWebviewsCreateRequestCustomMetadataValue struct {
typeName string
// <span style="white-space: nowrap">`<= 500 characters`</span>
typeName string
String string
Double float64
StringOptional *string
Expand Down

0 comments on commit 2e489e0

Please sign in to comment.