diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock
index ab05978..163e211 100755
--- a/.speakeasy/gen.lock
+++ b/.speakeasy/gen.lock
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 0a1408aa-fb18-4c26-97e1-886d5527ecaf
management:
- docChecksum: 7998dbff43d13b24f5ce8289e558ad2e
+ docChecksum: 0dd32241bcd639c7e99747c1a7b3780d
docVersion: 1.0.0
speakeasyVersion: internal
- generationVersion: 2.237.2
- releaseVersion: 0.28.3
- configChecksum: c655f018b0943d92cb8bb1938f77995d
+ generationVersion: 2.237.3
+ releaseVersion: 0.28.4
+ configChecksum: aae19361eb4588af2262cf4371ac6292
repoURL: https://github.com/speakeasy-sdks/hightouch-go-sdk.git
repoSubDirectory: .
installationURL: https://github.com/speakeasy-sdks/hightouch-go-sdk
diff --git a/RELEASES.md b/RELEASES.md
index bafc732..7ec1e2c 100644
--- a/RELEASES.md
+++ b/RELEASES.md
@@ -470,4 +470,14 @@ Based on:
### Generated
- [go v0.28.3] .
### Releases
-- [Go v0.28.3] https://github.com/speakeasy-sdks/hightouch-go-sdk/releases/tag/v0.28.3 - .
\ No newline at end of file
+- [Go v0.28.3] https://github.com/speakeasy-sdks/hightouch-go-sdk/releases/tag/v0.28.3 - .
+
+## 2024-01-23 00:37:58
+### Changes
+Based on:
+- OpenAPI Doc 1.0.0 https://api.hightouch.io/api/swagger.json
+- Speakeasy CLI 1.148.0 (2.237.3) https://github.com/speakeasy-api/speakeasy
+### Generated
+- [go v0.28.4] .
+### Releases
+- [Go v0.28.4] https://github.com/speakeasy-sdks/hightouch-go-sdk/releases/tag/v0.28.4 - .
\ No newline at end of file
diff --git a/docs/pkg/models/shared/dbt.md b/docs/pkg/models/shared/dbt.md
index 039e2b4..c7d8d76 100644
--- a/docs/pkg/models/shared/dbt.md
+++ b/docs/pkg/models/shared/dbt.md
@@ -10,7 +10,7 @@ Query that is based on a dbt model
| `CompiledSQL` | *string* | :heavy_check_mark: | Compiled SQL in the dbt model |
| `Database` | *string* | :heavy_check_mark: | Name of the database containing the generated table |
| `DbtUniqueID` | *string* | :heavy_check_mark: | Unique ID of the model assigned by dbt (usually some combination of the schema and table name) |
-| `ModelID` | *string* | :heavy_check_mark: | Model id that refer to a dbt model |
+| `ModelID` | *float64* | :heavy_check_mark: | Model id that refer to a dbt model |
| `Name` | *string* | :heavy_check_mark: | Name of the table generated by the dbt model |
| `RawSQL` | *string* | :heavy_check_mark: | Raw SQL in the dbt model |
| `Schema` | *string* | :heavy_check_mark: | Name of the schema containing the generated table |
\ No newline at end of file
diff --git a/docs/pkg/models/shared/destination.md b/docs/pkg/models/shared/destination.md
index 970dff1..db2694f 100644
--- a/docs/pkg/models/shared/destination.md
+++ b/docs/pkg/models/shared/destination.md
@@ -10,10 +10,10 @@ SFTP server)
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Configuration` | map[string]*interface{}* | :heavy_check_mark: | The destination's configuration. This specifies general metadata about destination, like hostname and username.
Hightouch will be using this configuration to connect to destination.
The schema depends on the destination type.
Consumers should NOT make assumptions on the contents of the
configuration. It may change as Hightouch updates its internal code. |
| `CreatedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | The timestamp when the destination was created |
-| `ID` | *string* | :heavy_check_mark: | The destination's id |
+| `ID` | *float64* | :heavy_check_mark: | The destination's id |
| `Name` | *string* | :heavy_check_mark: | The destination's name |
| `Slug` | *string* | :heavy_check_mark: | The destination's slug |
-| `Syncs` | []*string* | :heavy_check_mark: | A list of syncs that sync to this destination. |
+| `Syncs` | []*float64* | :heavy_check_mark: | A list of syncs that sync to this destination. |
| `Type` | *string* | :heavy_check_mark: | The destination's type (e.g. salesforce or hubspot). |
| `UpdatedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | The timestamp when the destination was last updated |
-| `WorkspaceID` | *string* | :heavy_check_mark: | The id of the workspace that the destination belongs to |
\ No newline at end of file
+| `WorkspaceID` | *float64* | :heavy_check_mark: | The id of the workspace that the destination belongs to |
\ No newline at end of file
diff --git a/docs/pkg/models/shared/model.md b/docs/pkg/models/shared/model.md
index 4d79c68..5b63f9b 100644
--- a/docs/pkg/models/shared/model.md
+++ b/docs/pkg/models/shared/model.md
@@ -12,17 +12,17 @@ We send your SQL query directly to your source so any SQL that is valid for your
| `Custom` | [*shared.Custom](../../../pkg/models/shared/custom.md) | :heavy_minus_sign: | Custom query for sources that doesn't support sql. For example, Airtable. |
| `Dbt` | [*shared.Dbt](../../../pkg/models/shared/dbt.md) | :heavy_minus_sign: | Query that is based on a dbt model |
| `FolderID` | **string* | :heavy_minus_sign: | N/A |
-| `ID` | *string* | :heavy_check_mark: | The id of the model |
+| `ID` | *float64* | :heavy_check_mark: | The id of the model |
| `IsSchema` | *bool* | :heavy_check_mark: | If is_schema is true, the model is just used to build other models.
Either as part of visual querying, or as the root of a visual query. |
| `Name` | *string* | :heavy_check_mark: | The name of the model |
| `PrimaryKey` | *string* | :heavy_check_mark: | The primary key will be null if the query doesn't get directly synced (e.g. a relationship table for visual querying) |
| `QueryType` | *string* | :heavy_check_mark: | The type of the query. Available options: custom, raw_sql, tabel, dbt and visual. |
| `Raw` | [*shared.Raw](../../../pkg/models/shared/raw.md) | :heavy_minus_sign: | Standard raw SQL query |
| `Slug` | *string* | :heavy_check_mark: | The slug of the model |
-| `SourceID` | *string* | :heavy_check_mark: | The id of the source that model is connected to |
-| `Syncs` | []*string* | :heavy_check_mark: | The list of id of syncs that uses this model |
+| `SourceID` | *float64* | :heavy_check_mark: | The id of the source that model is connected to |
+| `Syncs` | []*float64* | :heavy_check_mark: | The list of id of syncs that uses this model |
| `Table` | [*shared.Table](../../../pkg/models/shared/table.md) | :heavy_minus_sign: | Table-based query that fetches on a table instead of SQL |
| `Tags` | map[string]*string* | :heavy_check_mark: | The tags of the model |
| `UpdatedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | The timestamp when model was lastly updated |
| `Visual` | [*shared.Visual](../../../pkg/models/shared/visual.md) | :heavy_minus_sign: | Visual query, used by audience |
-| `WorkspaceID` | *string* | :heavy_check_mark: | The id of the workspace where the model belongs to |
\ No newline at end of file
+| `WorkspaceID` | *float64* | :heavy_check_mark: | The id of the workspace where the model belongs to |
\ No newline at end of file
diff --git a/docs/pkg/models/shared/modelcreate.md b/docs/pkg/models/shared/modelcreate.md
index 6998ecc..26431db 100644
--- a/docs/pkg/models/shared/modelcreate.md
+++ b/docs/pkg/models/shared/modelcreate.md
@@ -16,6 +16,6 @@ The input for creating a Model
| `QueryType` | *string* | :heavy_check_mark: | The type of the query. Available options: custom, raw_sql, tabel, dbt and visual. |
| `Raw` | [*shared.ModelCreateRaw](../../../pkg/models/shared/modelcreateraw.md) | :heavy_minus_sign: | Standard raw SQL query |
| `Slug` | *string* | :heavy_check_mark: | The slug of the model |
-| `SourceID` | *string* | :heavy_check_mark: | The id of the source that model is connected to |
+| `SourceID` | *float64* | :heavy_check_mark: | The id of the source that model is connected to |
| `Table` | [*shared.ModelCreateTable](../../../pkg/models/shared/modelcreatetable.md) | :heavy_minus_sign: | Table-based query that fetches on a table instead of SQL |
| `Visual` | [*shared.ModelCreateVisual](../../../pkg/models/shared/modelcreatevisual.md) | :heavy_minus_sign: | Visual query, used by audience |
\ No newline at end of file
diff --git a/docs/pkg/models/shared/modelcreatedbt.md b/docs/pkg/models/shared/modelcreatedbt.md
index 9b5a45b..e443919 100644
--- a/docs/pkg/models/shared/modelcreatedbt.md
+++ b/docs/pkg/models/shared/modelcreatedbt.md
@@ -5,4 +5,4 @@
| Field | Type | Required | Description |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
-| `ModelID` | *string* | :heavy_check_mark: | Model id that refers to a dbt model |
\ No newline at end of file
+| `ModelID` | *float64* | :heavy_check_mark: | Model id that refers to a dbt model |
\ No newline at end of file
diff --git a/docs/pkg/models/shared/modelcreatevisual.md b/docs/pkg/models/shared/modelcreatevisual.md
index 5374add..77edde7 100644
--- a/docs/pkg/models/shared/modelcreatevisual.md
+++ b/docs/pkg/models/shared/modelcreatevisual.md
@@ -8,6 +8,6 @@ Visual query, used by audience
| Field | Type | Required | Description |
| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- |
| `Filter` | *interface{}* | :heavy_check_mark: | N/A |
-| `ParentID` | *string* | :heavy_check_mark: | Parent id of the schema that visual query is based on |
+| `ParentID` | *float64* | :heavy_check_mark: | Parent id of the schema that visual query is based on |
| `PrimaryLabel` | *string* | :heavy_check_mark: | N/A |
| `SecondaryLabel` | *string* | :heavy_check_mark: | N/A |
\ No newline at end of file
diff --git a/docs/pkg/models/shared/modelupdatedbt.md b/docs/pkg/models/shared/modelupdatedbt.md
index d690280..044a360 100644
--- a/docs/pkg/models/shared/modelupdatedbt.md
+++ b/docs/pkg/models/shared/modelupdatedbt.md
@@ -5,4 +5,4 @@
| Field | Type | Required | Description |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
-| `ModelID` | *string* | :heavy_check_mark: | Model id that refers to a dbt model |
\ No newline at end of file
+| `ModelID` | *float64* | :heavy_check_mark: | Model id that refers to a dbt model |
\ No newline at end of file
diff --git a/docs/pkg/models/shared/modelupdatevisual.md b/docs/pkg/models/shared/modelupdatevisual.md
index 135fd02..69236a9 100644
--- a/docs/pkg/models/shared/modelupdatevisual.md
+++ b/docs/pkg/models/shared/modelupdatevisual.md
@@ -8,6 +8,6 @@ Visual query, used by audience
| Field | Type | Required | Description |
| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- |
| `Filter` | *interface{}* | :heavy_check_mark: | N/A |
-| `ParentID` | *string* | :heavy_check_mark: | Parent id of the schema that visual query is based on |
+| `ParentID` | *float64* | :heavy_check_mark: | Parent id of the schema that visual query is based on |
| `PrimaryLabel` | *string* | :heavy_check_mark: | N/A |
| `SecondaryLabel` | *string* | :heavy_check_mark: | N/A |
\ No newline at end of file
diff --git a/docs/pkg/models/shared/source.md b/docs/pkg/models/shared/source.md
index 811987e..e78d249 100644
--- a/docs/pkg/models/shared/source.md
+++ b/docs/pkg/models/shared/source.md
@@ -10,9 +10,9 @@ a Hightouch data pipeline.
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Configuration` | map[string]*interface{}* | :heavy_check_mark: | The source's configuration. This specifies general metadata about sources, like connection details
Hightouch will use this configuration to connect to underlying source.
The schema depends on the source type.
Consumers should NOT make assumptions on the contents of the
configuration. It may change as Hightouch updates its internal code. |
| `CreatedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | The timestamp when the source was created |
-| `ID` | *string* | :heavy_check_mark: | The source's id |
+| `ID` | *float64* | :heavy_check_mark: | The source's id |
| `Name` | *string* | :heavy_check_mark: | The source's name |
| `Slug` | *string* | :heavy_check_mark: | The source's slug |
| `Type` | *string* | :heavy_check_mark: | The source's type (e.g. snowflake or postgres). |
| `UpdatedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | The timestamp when the source was last updated |
-| `WorkspaceID` | *string* | :heavy_check_mark: | The id of the workspace that the source belongs to |
\ No newline at end of file
+| `WorkspaceID` | *float64* | :heavy_check_mark: | The id of the workspace that the source belongs to |
\ No newline at end of file
diff --git a/docs/pkg/models/shared/sync.md b/docs/pkg/models/shared/sync.md
index 0a8c94e..5d140f6 100644
--- a/docs/pkg/models/shared/sync.md
+++ b/docs/pkg/models/shared/sync.md
@@ -11,15 +11,15 @@ run, and syncs them to Sync's destination.
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Configuration` | map[string]*interface{}* | :heavy_check_mark: | The sync's configuration. This specifies how data is mapped, among other
configuration.
The schema depends on the destination type.
Consumers should NOT make assumptions on the contents of the
configuration. It may change as Hightouch updates its internal code. |
| `CreatedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | The timestamp when the sync was created |
-| `DestinationID` | *string* | :heavy_check_mark: | The id of the Destination that sync is connected to |
+| `DestinationID` | *float64* | :heavy_check_mark: | The id of the Destination that sync is connected to |
| `Disabled` | *bool* | :heavy_check_mark: | Whether the sync has been disabled by the user. |
-| `ID` | *string* | :heavy_check_mark: | The sync's id |
+| `ID` | *float64* | :heavy_check_mark: | The sync's id |
| `LastRunAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | The timestamp of the last sync run |
-| `ModelID` | *string* | :heavy_check_mark: | The id of the Model that sync is connected to |
+| `ModelID` | *float64* | :heavy_check_mark: | The id of the Model that sync is connected to |
| `PrimaryKey` | *string* | :heavy_check_mark: | The primary key that sync uses to identify data from source |
| `ReferencedColumns` | []*string* | :heavy_check_mark: | The reference column that sync depends on to sync data from source |
| `Schedule` | [shared.Schedule](../../../pkg/models/shared/schedule.md) | :heavy_check_mark: | The scheduling configuration. It can be triggerd based on several ways:
Interval: the sync will be trigged based on certain interval(minutes/hours/days/weeks)
Cron: the sync will be trigged based on cron expression https://en.wikipedia.org/wiki/Cron.
Visual: the sync will be trigged based a visual cron configuration on UI
DBT-cloud: the sync will be trigged based on a dbt cloud job |
| `Slug` | *string* | :heavy_check_mark: | The sync's slug |
| `Status` | [shared.SyncStatus](../../../pkg/models/shared/syncstatus.md) | :heavy_check_mark: | SyncStatus |
| `UpdatedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | The timestamp when the sync was last updated |
-| `WorkspaceID` | *string* | :heavy_check_mark: | The id of the workspace that the sync belongs to |
\ No newline at end of file
+| `WorkspaceID` | *float64* | :heavy_check_mark: | The id of the workspace that the sync belongs to |
\ No newline at end of file
diff --git a/docs/pkg/models/shared/synccreate.md b/docs/pkg/models/shared/synccreate.md
index 0879322..36b5844 100644
--- a/docs/pkg/models/shared/synccreate.md
+++ b/docs/pkg/models/shared/synccreate.md
@@ -8,8 +8,8 @@ The input for creating a Sync
| Field | Type | Required | Description |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Configuration` | map[string]*interface{}* | :heavy_check_mark: | The sync's configuration. This specifies how data is mapped, among other
configuration.
The schema depends on the destination type.
Consumers should NOT make assumptions on the contents of the
configuration. It may change as Hightouch updates its internal code. |
-| `DestinationID` | *string* | :heavy_check_mark: | The id of the Destination that sync is connected to |
+| `DestinationID` | *float64* | :heavy_check_mark: | The id of the Destination that sync is connected to |
| `Disabled` | *bool* | :heavy_check_mark: | Whether the sync has been disabled by the user. |
-| `ModelID` | *string* | :heavy_check_mark: | The id of the Model that sync is connected to |
+| `ModelID` | *float64* | :heavy_check_mark: | The id of the Model that sync is connected to |
| `Schedule` | [shared.SyncCreateSchedule](../../../pkg/models/shared/synccreateschedule.md) | :heavy_check_mark: | The scheduling configuration. It can be triggerd based on several ways:
Interval: the sync will be trigged based on certain interval(minutes/hours/days/weeks)
Cron: the sync will be trigged based on cron expression https://en.wikipedia.org/wiki/Cron.
Visual: the sync will be trigged based a visual cron configuration on UI
DBT-cloud: the sync will be trigged based on a dbt cloud job |
| `Slug` | *string* | :heavy_check_mark: | The sync's slug |
\ No newline at end of file
diff --git a/docs/pkg/models/shared/syncrun.md b/docs/pkg/models/shared/syncrun.md
index 2f1738e..59f8f3d 100644
--- a/docs/pkg/models/shared/syncrun.md
+++ b/docs/pkg/models/shared/syncrun.md
@@ -10,7 +10,7 @@
| `Error` | **string* | :heavy_minus_sign: | Error message if the sync run didn't finish successfully |
| `FailedRows` | [shared.FailedRows](../../../pkg/models/shared/failedrows.md) | :heavy_check_mark: | The number of rows that we attempted to sync, but were rejected by the
destination.
This does not include rows that weren't attempted due to the sync being
cancelled. |
| `FinishedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | The timestamp when the sync run finished |
-| `ID` | *string* | :heavy_check_mark: | The sync run's id |
+| `ID` | *float64* | :heavy_check_mark: | The sync run's id |
| `PlannedRows` | [shared.PlannedRows](../../../pkg/models/shared/plannedrows.md) | :heavy_check_mark: | The number of planned rows that this sync run was supposed to execute.
Note that the counts for `successfulRows` and `failedRows` may not add up
to `plannedRows` if the sync was cancelled. |
| `QuerySize` | *float64* | :heavy_check_mark: | The number of rows in the query. |
| `StartedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | The timestamp when the sync run started |
diff --git a/docs/pkg/models/shared/syncruns.md b/docs/pkg/models/shared/syncruns.md
index c8ade86..13bece8 100644
--- a/docs/pkg/models/shared/syncruns.md
+++ b/docs/pkg/models/shared/syncruns.md
@@ -7,5 +7,5 @@
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- |
| `FinishedAt` | *string* | :heavy_check_mark: | N/A |
| `Status` | [shared.SyncRunStatus](../../../pkg/models/shared/syncrunstatus.md) | :heavy_check_mark: | The status of sync runs |
-| `SyncID` | *string* | :heavy_check_mark: | N/A |
-| `SyncRunID` | *string* | :heavy_check_mark: | N/A |
\ No newline at end of file
+| `SyncID` | *float64* | :heavy_check_mark: | N/A |
+| `SyncRunID` | *float64* | :heavy_check_mark: | N/A |
\ No newline at end of file
diff --git a/docs/pkg/models/shared/visual.md b/docs/pkg/models/shared/visual.md
index 988228a..f154071 100644
--- a/docs/pkg/models/shared/visual.md
+++ b/docs/pkg/models/shared/visual.md
@@ -8,6 +8,6 @@ Visual query, used by audience
| Field | Type | Required | Description |
| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- |
| `Filter` | *interface{}* | :heavy_check_mark: | N/A |
-| `ParentID` | *string* | :heavy_check_mark: | Parent id of the schema that visual query is based on |
+| `ParentID` | *float64* | :heavy_check_mark: | Parent id of the schema that visual query is based on |
| `PrimaryLabel` | *string* | :heavy_check_mark: | N/A |
| `SecondaryLabel` | *string* | :heavy_check_mark: | N/A |
\ No newline at end of file
diff --git a/docs/sdks/hightouch/README.md b/docs/sdks/hightouch/README.md
index 4295062..58fa8f5 100644
--- a/docs/sdks/hightouch/README.md
+++ b/docs/sdks/hightouch/README.md
@@ -113,7 +113,7 @@ func main() {
Query: "string",
},
Dbt: &shared.ModelCreateDbt{
- ModelID: "string",
+ ModelID: 8761.56,
},
IsSchema: false,
Name: "string",
@@ -123,13 +123,13 @@ func main() {
SQL: "string",
},
Slug: "string",
- SourceID: "string",
+ SourceID: 9991.44,
Table: &shared.ModelCreateTable{
Name: "string",
},
Visual: &shared.ModelCreateVisual{
Filter: "string",
- ParentID: "string",
+ ParentID: 5748.68,
PrimaryLabel: "string",
SecondaryLabel: "string",
},
@@ -242,18 +242,13 @@ func main() {
Configuration: map[string]interface{}{
"key": "string",
},
- DestinationID: "string",
+ DestinationID: 8797.77,
Disabled: false,
- ModelID: "string",
+ ModelID: 2438.5,
Schedule: &shared.SyncCreateSchedule{
- Schedule: shared.CreateSyncCreateSchemasScheduleDBTSchedule(
- shared.DBTSchedule{
- Account: shared.Account{
- ID: "",
- },
- Job: shared.Job{
- ID: "",
- },
+ Schedule: shared.CreateSyncCreateSchemasScheduleCronSchedule(
+ shared.CronSchedule{
+ Expression: "string",
},
),
Type: "string",
@@ -1098,7 +1093,7 @@ func main() {
Query: "string",
},
Dbt: &shared.ModelUpdateDbt{
- ModelID: "string",
+ ModelID: 1027.03,
},
Raw: &shared.ModelUpdateRaw{
SQL: "string",
@@ -1108,12 +1103,12 @@ func main() {
},
Visual: &shared.ModelUpdateVisual{
Filter: "string",
- ParentID: "string",
+ ParentID: 4048.47,
PrimaryLabel: "string",
SecondaryLabel: "string",
},
},
- ModelID: 1027.03,
+ ModelID: 7828.84,
})
if err != nil {
log.Fatal(err)
diff --git a/gen.yaml b/gen.yaml
index a6005b9..4f2e5e5 100644
--- a/gen.yaml
+++ b/gen.yaml
@@ -6,7 +6,7 @@ generation:
fixes:
nameResolutionDec2023: false
go:
- version: 0.28.3
+ version: 0.28.4
clientServerStatusCodesAsErrors: true
flattenGlobalSecurity: true
imports:
diff --git a/hightouch.go b/hightouch.go
index e93c719..4707453 100644
--- a/hightouch.go
+++ b/hightouch.go
@@ -135,9 +135,9 @@ func New(opts ...SDKOption) *Hightouch {
sdkConfiguration: sdkConfiguration{
Language: "go",
OpenAPIDocVersion: "1.0.0",
- SDKVersion: "0.28.3",
- GenVersion: "2.237.2",
- UserAgent: "speakeasy-sdk/go 0.28.3 2.237.2 1.0.0 github.com/speakeasy-sdks/hightouch-go-sdk",
+ SDKVersion: "0.28.4",
+ GenVersion: "2.237.3",
+ UserAgent: "speakeasy-sdk/go 0.28.4 2.237.3 1.0.0 github.com/speakeasy-sdks/hightouch-go-sdk",
},
}
for _, opt := range opts {
diff --git a/pkg/models/shared/destination.go b/pkg/models/shared/destination.go
index 656fadb..847895c 100644
--- a/pkg/models/shared/destination.go
+++ b/pkg/models/shared/destination.go
@@ -21,19 +21,19 @@ type Destination struct {
// The timestamp when the destination was created
CreatedAt time.Time `json:"createdAt"`
// The destination's id
- ID string `json:"id"`
+ ID float64 `json:"id"`
// The destination's name
Name string `json:"name"`
// The destination's slug
Slug string `json:"slug"`
// A list of syncs that sync to this destination.
- Syncs []string `json:"syncs"`
+ Syncs []float64 `json:"syncs"`
// The destination's type (e.g. salesforce or hubspot).
Type string `json:"type"`
// The timestamp when the destination was last updated
UpdatedAt time.Time `json:"updatedAt"`
// The id of the workspace that the destination belongs to
- WorkspaceID string `json:"workspaceId"`
+ WorkspaceID float64 `json:"workspaceId"`
}
func (d Destination) MarshalJSON() ([]byte, error) {
@@ -61,9 +61,9 @@ func (o *Destination) GetCreatedAt() time.Time {
return o.CreatedAt
}
-func (o *Destination) GetID() string {
+func (o *Destination) GetID() float64 {
if o == nil {
- return ""
+ return 0.0
}
return o.ID
}
@@ -82,9 +82,9 @@ func (o *Destination) GetSlug() string {
return o.Slug
}
-func (o *Destination) GetSyncs() []string {
+func (o *Destination) GetSyncs() []float64 {
if o == nil {
- return []string{}
+ return []float64{}
}
return o.Syncs
}
@@ -103,9 +103,9 @@ func (o *Destination) GetUpdatedAt() time.Time {
return o.UpdatedAt
}
-func (o *Destination) GetWorkspaceID() string {
+func (o *Destination) GetWorkspaceID() float64 {
if o == nil {
- return ""
+ return 0.0
}
return o.WorkspaceID
}
diff --git a/pkg/models/shared/model.go b/pkg/models/shared/model.go
index ee6a41b..3066a66 100644
--- a/pkg/models/shared/model.go
+++ b/pkg/models/shared/model.go
@@ -28,7 +28,7 @@ type Dbt struct {
// Unique ID of the model assigned by dbt (usually some combination of the schema and table name)
DbtUniqueID string `json:"dbtUniqueId"`
// Model id that refer to a dbt model
- ModelID string `json:"modelId"`
+ ModelID float64 `json:"modelId"`
// Name of the table generated by the dbt model
Name string `json:"name"`
// Raw SQL in the dbt model
@@ -58,9 +58,9 @@ func (o *Dbt) GetDbtUniqueID() string {
return o.DbtUniqueID
}
-func (o *Dbt) GetModelID() string {
+func (o *Dbt) GetModelID() float64 {
if o == nil {
- return ""
+ return 0.0
}
return o.ModelID
}
@@ -114,9 +114,9 @@ func (o *Table) GetName() string {
type Visual struct {
Filter interface{} `json:"filter"`
// Parent id of the schema that visual query is based on
- ParentID string `json:"parentId"`
- PrimaryLabel string `json:"primaryLabel"`
- SecondaryLabel string `json:"secondaryLabel"`
+ ParentID float64 `json:"parentId"`
+ PrimaryLabel string `json:"primaryLabel"`
+ SecondaryLabel string `json:"secondaryLabel"`
}
func (o *Visual) GetFilter() interface{} {
@@ -126,9 +126,9 @@ func (o *Visual) GetFilter() interface{} {
return o.Filter
}
-func (o *Visual) GetParentID() string {
+func (o *Visual) GetParentID() float64 {
if o == nil {
- return ""
+ return 0.0
}
return o.ParentID
}
@@ -158,7 +158,7 @@ type Model struct {
Dbt *Dbt `json:"dbt,omitempty"`
FolderID *string `json:"folderId,omitempty"`
// The id of the model
- ID string `json:"id"`
+ ID float64 `json:"id"`
// If is_schema is true, the model is just used to build other models.
// Either as part of visual querying, or as the root of a visual query.
IsSchema bool `json:"isSchema"`
@@ -173,9 +173,9 @@ type Model struct {
// The slug of the model
Slug string `json:"slug"`
// The id of the source that model is connected to
- SourceID string `json:"sourceId"`
+ SourceID float64 `json:"sourceId"`
// The list of id of syncs that uses this model
- Syncs []string `json:"syncs"`
+ Syncs []float64 `json:"syncs"`
// Table-based query that fetches on a table instead of SQL
Table *Table `json:"table,omitempty"`
// The tags of the model
@@ -185,7 +185,7 @@ type Model struct {
// Visual query, used by audience
Visual *Visual `json:"visual,omitempty"`
// The id of the workspace where the model belongs to
- WorkspaceID string `json:"workspaceId"`
+ WorkspaceID float64 `json:"workspaceId"`
}
func (m Model) MarshalJSON() ([]byte, error) {
@@ -227,9 +227,9 @@ func (o *Model) GetFolderID() *string {
return o.FolderID
}
-func (o *Model) GetID() string {
+func (o *Model) GetID() float64 {
if o == nil {
- return ""
+ return 0.0
}
return o.ID
}
@@ -276,16 +276,16 @@ func (o *Model) GetSlug() string {
return o.Slug
}
-func (o *Model) GetSourceID() string {
+func (o *Model) GetSourceID() float64 {
if o == nil {
- return ""
+ return 0.0
}
return o.SourceID
}
-func (o *Model) GetSyncs() []string {
+func (o *Model) GetSyncs() []float64 {
if o == nil {
- return []string{}
+ return []float64{}
}
return o.Syncs
}
@@ -318,9 +318,9 @@ func (o *Model) GetVisual() *Visual {
return o.Visual
}
-func (o *Model) GetWorkspaceID() string {
+func (o *Model) GetWorkspaceID() float64 {
if o == nil {
- return ""
+ return 0.0
}
return o.WorkspaceID
}
diff --git a/pkg/models/shared/modelcreate.go b/pkg/models/shared/modelcreate.go
index f137df6..566e1b4 100644
--- a/pkg/models/shared/modelcreate.go
+++ b/pkg/models/shared/modelcreate.go
@@ -16,12 +16,12 @@ func (o *ModelCreateCustom) GetQuery() interface{} {
type ModelCreateDbt struct {
// Model id that refers to a dbt model
- ModelID string `json:"modelId"`
+ ModelID float64 `json:"modelId"`
}
-func (o *ModelCreateDbt) GetModelID() string {
+func (o *ModelCreateDbt) GetModelID() float64 {
if o == nil {
- return ""
+ return 0.0
}
return o.ModelID
}
@@ -54,9 +54,9 @@ func (o *ModelCreateTable) GetName() string {
type ModelCreateVisual struct {
Filter interface{} `json:"filter"`
// Parent id of the schema that visual query is based on
- ParentID string `json:"parentId"`
- PrimaryLabel string `json:"primaryLabel"`
- SecondaryLabel string `json:"secondaryLabel"`
+ ParentID float64 `json:"parentId"`
+ PrimaryLabel string `json:"primaryLabel"`
+ SecondaryLabel string `json:"secondaryLabel"`
}
func (o *ModelCreateVisual) GetFilter() interface{} {
@@ -66,9 +66,9 @@ func (o *ModelCreateVisual) GetFilter() interface{} {
return o.Filter
}
-func (o *ModelCreateVisual) GetParentID() string {
+func (o *ModelCreateVisual) GetParentID() float64 {
if o == nil {
- return ""
+ return 0.0
}
return o.ParentID
}
@@ -107,7 +107,7 @@ type ModelCreate struct {
// The slug of the model
Slug string `json:"slug"`
// The id of the source that model is connected to
- SourceID string `json:"sourceId"`
+ SourceID float64 `json:"sourceId"`
// Table-based query that fetches on a table instead of SQL
Table *ModelCreateTable `json:"table,omitempty"`
// Visual query, used by audience
@@ -177,9 +177,9 @@ func (o *ModelCreate) GetSlug() string {
return o.Slug
}
-func (o *ModelCreate) GetSourceID() string {
+func (o *ModelCreate) GetSourceID() float64 {
if o == nil {
- return ""
+ return 0.0
}
return o.SourceID
}
diff --git a/pkg/models/shared/modelupdate.go b/pkg/models/shared/modelupdate.go
index ee6caca..71f836f 100644
--- a/pkg/models/shared/modelupdate.go
+++ b/pkg/models/shared/modelupdate.go
@@ -16,12 +16,12 @@ func (o *ModelUpdateCustom) GetQuery() interface{} {
type ModelUpdateDbt struct {
// Model id that refers to a dbt model
- ModelID string `json:"modelId"`
+ ModelID float64 `json:"modelId"`
}
-func (o *ModelUpdateDbt) GetModelID() string {
+func (o *ModelUpdateDbt) GetModelID() float64 {
if o == nil {
- return ""
+ return 0.0
}
return o.ModelID
}
@@ -54,9 +54,9 @@ func (o *ModelUpdateTable) GetName() string {
type ModelUpdateVisual struct {
Filter interface{} `json:"filter"`
// Parent id of the schema that visual query is based on
- ParentID string `json:"parentId"`
- PrimaryLabel string `json:"primaryLabel"`
- SecondaryLabel string `json:"secondaryLabel"`
+ ParentID float64 `json:"parentId"`
+ PrimaryLabel string `json:"primaryLabel"`
+ SecondaryLabel string `json:"secondaryLabel"`
}
func (o *ModelUpdateVisual) GetFilter() interface{} {
@@ -66,9 +66,9 @@ func (o *ModelUpdateVisual) GetFilter() interface{} {
return o.Filter
}
-func (o *ModelUpdateVisual) GetParentID() string {
+func (o *ModelUpdateVisual) GetParentID() float64 {
if o == nil {
- return ""
+ return 0.0
}
return o.ParentID
}
diff --git a/pkg/models/shared/source.go b/pkg/models/shared/source.go
index 40d71ea..d4d045d 100644
--- a/pkg/models/shared/source.go
+++ b/pkg/models/shared/source.go
@@ -21,7 +21,7 @@ type Source struct {
// The timestamp when the source was created
CreatedAt time.Time `json:"createdAt"`
// The source's id
- ID string `json:"id"`
+ ID float64 `json:"id"`
// The source's name
Name string `json:"name"`
// The source's slug
@@ -31,7 +31,7 @@ type Source struct {
// The timestamp when the source was last updated
UpdatedAt time.Time `json:"updatedAt"`
// The id of the workspace that the source belongs to
- WorkspaceID string `json:"workspaceId"`
+ WorkspaceID float64 `json:"workspaceId"`
}
func (s Source) MarshalJSON() ([]byte, error) {
@@ -59,9 +59,9 @@ func (o *Source) GetCreatedAt() time.Time {
return o.CreatedAt
}
-func (o *Source) GetID() string {
+func (o *Source) GetID() float64 {
if o == nil {
- return ""
+ return 0.0
}
return o.ID
}
@@ -94,9 +94,9 @@ func (o *Source) GetUpdatedAt() time.Time {
return o.UpdatedAt
}
-func (o *Source) GetWorkspaceID() string {
+func (o *Source) GetWorkspaceID() float64 {
if o == nil {
- return ""
+ return 0.0
}
return o.WorkspaceID
}
diff --git a/pkg/models/shared/sync.go b/pkg/models/shared/sync.go
index 7b88ad4..b87875d 100644
--- a/pkg/models/shared/sync.go
+++ b/pkg/models/shared/sync.go
@@ -158,15 +158,15 @@ type Sync struct {
// The timestamp when the sync was created
CreatedAt time.Time `json:"createdAt"`
// The id of the Destination that sync is connected to
- DestinationID string `json:"destinationId"`
+ DestinationID float64 `json:"destinationId"`
// Whether the sync has been disabled by the user.
Disabled bool `json:"disabled"`
// The sync's id
- ID string `json:"id"`
+ ID float64 `json:"id"`
// The timestamp of the last sync run
LastRunAt *time.Time `json:"lastRunAt"`
// The id of the Model that sync is connected to
- ModelID string `json:"modelId"`
+ ModelID float64 `json:"modelId"`
// The primary key that sync uses to identify data from source
PrimaryKey string `json:"primaryKey"`
// The reference column that sync depends on to sync data from source
@@ -188,7 +188,7 @@ type Sync struct {
// The timestamp when the sync was last updated
UpdatedAt time.Time `json:"updatedAt"`
// The id of the workspace that the sync belongs to
- WorkspaceID string `json:"workspaceId"`
+ WorkspaceID float64 `json:"workspaceId"`
}
func (s Sync) MarshalJSON() ([]byte, error) {
@@ -216,9 +216,9 @@ func (o *Sync) GetCreatedAt() time.Time {
return o.CreatedAt
}
-func (o *Sync) GetDestinationID() string {
+func (o *Sync) GetDestinationID() float64 {
if o == nil {
- return ""
+ return 0.0
}
return o.DestinationID
}
@@ -230,9 +230,9 @@ func (o *Sync) GetDisabled() bool {
return o.Disabled
}
-func (o *Sync) GetID() string {
+func (o *Sync) GetID() float64 {
if o == nil {
- return ""
+ return 0.0
}
return o.ID
}
@@ -244,9 +244,9 @@ func (o *Sync) GetLastRunAt() *time.Time {
return o.LastRunAt
}
-func (o *Sync) GetModelID() string {
+func (o *Sync) GetModelID() float64 {
if o == nil {
- return ""
+ return 0.0
}
return o.ModelID
}
@@ -293,9 +293,9 @@ func (o *Sync) GetUpdatedAt() time.Time {
return o.UpdatedAt
}
-func (o *Sync) GetWorkspaceID() string {
+func (o *Sync) GetWorkspaceID() float64 {
if o == nil {
- return ""
+ return 0.0
}
return o.WorkspaceID
}
diff --git a/pkg/models/shared/synccreate.go b/pkg/models/shared/synccreate.go
index 32c7500..df120fe 100644
--- a/pkg/models/shared/synccreate.go
+++ b/pkg/models/shared/synccreate.go
@@ -153,11 +153,11 @@ type SyncCreate struct {
// configuration. It may change as Hightouch updates its internal code.
Configuration map[string]interface{} `json:"configuration"`
// The id of the Destination that sync is connected to
- DestinationID string `json:"destinationId"`
+ DestinationID float64 `json:"destinationId"`
// Whether the sync has been disabled by the user.
Disabled bool `json:"disabled"`
// The id of the Model that sync is connected to
- ModelID string `json:"modelId"`
+ ModelID float64 `json:"modelId"`
// The scheduling configuration. It can be triggerd based on several ways:
//
// Interval: the sync will be trigged based on certain interval(minutes/hours/days/weeks)
@@ -179,9 +179,9 @@ func (o *SyncCreate) GetConfiguration() map[string]interface{} {
return o.Configuration
}
-func (o *SyncCreate) GetDestinationID() string {
+func (o *SyncCreate) GetDestinationID() float64 {
if o == nil {
- return ""
+ return 0.0
}
return o.DestinationID
}
@@ -193,9 +193,9 @@ func (o *SyncCreate) GetDisabled() bool {
return o.Disabled
}
-func (o *SyncCreate) GetModelID() string {
+func (o *SyncCreate) GetModelID() float64 {
if o == nil {
- return ""
+ return 0.0
}
return o.ModelID
}
diff --git a/pkg/models/shared/syncrun.go b/pkg/models/shared/syncrun.go
index 90fe9c2..3333637 100644
--- a/pkg/models/shared/syncrun.go
+++ b/pkg/models/shared/syncrun.go
@@ -126,7 +126,7 @@ type SyncRun struct {
// The timestamp when the sync run finished
FinishedAt time.Time `json:"finishedAt"`
// The sync run's id
- ID string `json:"id"`
+ ID float64 `json:"id"`
// The number of planned rows that this sync run was supposed to execute.
//
// Note that the counts for `successfulRows` and `failedRows` may not add up
@@ -188,9 +188,9 @@ func (o *SyncRun) GetFinishedAt() time.Time {
return o.FinishedAt
}
-func (o *SyncRun) GetID() string {
+func (o *SyncRun) GetID() float64 {
if o == nil {
- return ""
+ return 0.0
}
return o.ID
}
diff --git a/pkg/models/shared/syncsequencestatusoutput.go b/pkg/models/shared/syncsequencestatusoutput.go
index 4107c36..de8f0d2 100644
--- a/pkg/models/shared/syncsequencestatusoutput.go
+++ b/pkg/models/shared/syncsequencestatusoutput.go
@@ -6,8 +6,8 @@ type SyncRuns struct {
FinishedAt string `json:"finishedAt"`
// The status of sync runs
Status SyncRunStatus `json:"status"`
- SyncID string `json:"syncId"`
- SyncRunID string `json:"syncRunId"`
+ SyncID float64 `json:"syncId"`
+ SyncRunID float64 `json:"syncRunId"`
}
func (o *SyncRuns) GetFinishedAt() string {
@@ -24,16 +24,16 @@ func (o *SyncRuns) GetStatus() SyncRunStatus {
return o.Status
}
-func (o *SyncRuns) GetSyncID() string {
+func (o *SyncRuns) GetSyncID() float64 {
if o == nil {
- return ""
+ return 0.0
}
return o.SyncID
}
-func (o *SyncRuns) GetSyncRunID() string {
+func (o *SyncRuns) GetSyncRunID() float64 {
if o == nil {
- return ""
+ return 0.0
}
return o.SyncRunID
}