Skip to content

Commit

Permalink
Bump SDK to match Merge API, April 2024 (#19)
Browse files Browse the repository at this point in the history
Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
  • Loading branch information
fern-api[bot] authored Apr 22, 2024
1 parent 2a582a8 commit 747706b
Show file tree
Hide file tree
Showing 259 changed files with 4,589 additions and 2,352 deletions.
4 changes: 2 additions & 2 deletions accounting/accountdetails/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ func NewClient(opts ...core.ClientOption) *Client {

// Get details for a linked account.
func (c *Client) Retrieve(ctx context.Context) (*accounting.AccountDetails, error) {
baseURL := "https://api.merge.dev"
baseURL := "https://api.merge.dev/api"
if c.baseURL != "" {
baseURL = c.baseURL
}
endpointURL := baseURL + "/" + "api/accounting/v1/account-details"
endpointURL := baseURL + "/" + "accounting/v1/account-details"

var response *accounting.AccountDetails
if err := c.caller.Call(
Expand Down
8 changes: 4 additions & 4 deletions accounting/accountingperiods/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ func NewClient(opts ...core.ClientOption) *Client {

// Returns a list of `AccountingPeriod` objects.
func (c *Client) List(ctx context.Context, request *accounting.AccountingPeriodsListRequest) (*accounting.PaginatedAccountingPeriodList, error) {
baseURL := "https://api.merge.dev"
baseURL := "https://api.merge.dev/api"
if c.baseURL != "" {
baseURL = c.baseURL
}
endpointURL := baseURL + "/" + "api/accounting/v1/accounting-periods"
endpointURL := baseURL + "/" + "accounting/v1/accounting-periods"

queryParams := make(url.Values)
if request.Cursor != nil {
Expand Down Expand Up @@ -71,11 +71,11 @@ func (c *Client) List(ctx context.Context, request *accounting.AccountingPeriods

// Returns an `AccountingPeriod` object with the given `id`.
func (c *Client) Retrieve(ctx context.Context, id string, request *accounting.AccountingPeriodsRetrieveRequest) (*accounting.AccountingPeriod, error) {
baseURL := "https://api.merge.dev"
baseURL := "https://api.merge.dev/api"
if c.baseURL != "" {
baseURL = c.baseURL
}
endpointURL := fmt.Sprintf(baseURL+"/"+"api/accounting/v1/accounting-periods/%v", id)
endpointURL := fmt.Sprintf(baseURL+"/"+"accounting/v1/accounting-periods/%v", id)

queryParams := make(url.Values)
if request.IncludeRemoteData != nil {
Expand Down
4 changes: 2 additions & 2 deletions accounting/accounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ type AccountsListRequest struct {
RemoteFields *AccountsListRequestRemoteFields `json:"-"`
// The API provider's ID for the given object.
RemoteId *string `json:"-"`
// Which fields should be returned in non-normalized form.
// A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
ShowEnumOrigins *AccountsListRequestShowEnumOrigins `json:"-"`
}

Expand All @@ -51,7 +51,7 @@ type AccountsRetrieveRequest struct {
IncludeRemoteData *bool `json:"-"`
// Deprecated. Use show_enum_origins.
RemoteFields *AccountsRetrieveRequestRemoteFields `json:"-"`
// Which fields should be returned in non-normalized form.
// A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
ShowEnumOrigins *AccountsRetrieveRequestShowEnumOrigins `json:"-"`
}

Expand Down
16 changes: 8 additions & 8 deletions accounting/accounts/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ func NewClient(opts ...core.ClientOption) *Client {

// Returns a list of `Account` objects.
func (c *Client) List(ctx context.Context, request *accounting.AccountsListRequest) (*accounting.PaginatedAccountList, error) {
baseURL := "https://api.merge.dev"
baseURL := "https://api.merge.dev/api"
if c.baseURL != "" {
baseURL = c.baseURL
}
endpointURL := baseURL + "/" + "api/accounting/v1/accounts"
endpointURL := baseURL + "/" + "accounting/v1/accounts"

queryParams := make(url.Values)
if request.CompanyId != nil {
Expand Down Expand Up @@ -99,11 +99,11 @@ func (c *Client) List(ctx context.Context, request *accounting.AccountsListReque

// Creates an `Account` object with the given values.
func (c *Client) Create(ctx context.Context, request *accounting.AccountEndpointRequest) (*accounting.AccountResponse, error) {
baseURL := "https://api.merge.dev"
baseURL := "https://api.merge.dev/api"
if c.baseURL != "" {
baseURL = c.baseURL
}
endpointURL := baseURL + "/" + "api/accounting/v1/accounts"
endpointURL := baseURL + "/" + "accounting/v1/accounts"

queryParams := make(url.Values)
if request.IsDebugMode != nil {
Expand Down Expand Up @@ -134,11 +134,11 @@ func (c *Client) Create(ctx context.Context, request *accounting.AccountEndpoint

// Returns an `Account` object with the given `id`.
func (c *Client) Retrieve(ctx context.Context, id string, request *accounting.AccountsRetrieveRequest) (*accounting.Account, error) {
baseURL := "https://api.merge.dev"
baseURL := "https://api.merge.dev/api"
if c.baseURL != "" {
baseURL = c.baseURL
}
endpointURL := fmt.Sprintf(baseURL+"/"+"api/accounting/v1/accounts/%v", id)
endpointURL := fmt.Sprintf(baseURL+"/"+"accounting/v1/accounts/%v", id)

queryParams := make(url.Values)
if request.Expand != nil {
Expand Down Expand Up @@ -174,11 +174,11 @@ func (c *Client) Retrieve(ctx context.Context, id string, request *accounting.Ac

// Returns metadata for `Account` POSTs.
func (c *Client) MetaPostRetrieve(ctx context.Context) (*accounting.MetaResponse, error) {
baseURL := "https://api.merge.dev"
baseURL := "https://api.merge.dev/api"
if c.baseURL != "" {
baseURL = c.baseURL
}
endpointURL := baseURL + "/" + "api/accounting/v1/accounts/meta/post"
endpointURL := baseURL + "/" + "accounting/v1/accounts/meta/post"

var response *accounting.MetaResponse
if err := c.caller.Call(
Expand Down
4 changes: 2 additions & 2 deletions accounting/accounttoken/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ func NewClient(opts ...core.ClientOption) *Client {

// Returns the account token for the end user with the provided public token.
func (c *Client) Retrieve(ctx context.Context, publicToken string) (*accounting.AccountToken, error) {
baseURL := "https://api.merge.dev"
baseURL := "https://api.merge.dev/api"
if c.baseURL != "" {
baseURL = c.baseURL
}
endpointURL := fmt.Sprintf(baseURL+"/"+"api/accounting/v1/account-token/%v", publicToken)
endpointURL := fmt.Sprintf(baseURL+"/"+"accounting/v1/account-token/%v", publicToken)

var response *accounting.AccountToken
if err := c.caller.Call(
Expand Down
2 changes: 1 addition & 1 deletion accounting/addresses.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ type AddressesRetrieveRequest struct {
IncludeRemoteData *bool `json:"-"`
// Deprecated. Use show_enum_origins.
RemoteFields *string `json:"-"`
// Which fields should be returned in non-normalized form.
// A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
ShowEnumOrigins *string `json:"-"`
}
4 changes: 2 additions & 2 deletions accounting/addresses/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ func NewClient(opts ...core.ClientOption) *Client {

// Returns an `Address` object with the given `id`.
func (c *Client) Retrieve(ctx context.Context, id string, request *accounting.AddressesRetrieveRequest) (*accounting.Address, error) {
baseURL := "https://api.merge.dev"
baseURL := "https://api.merge.dev/api"
if c.baseURL != "" {
baseURL = c.baseURL
}
endpointURL := fmt.Sprintf(baseURL+"/"+"api/accounting/v1/addresses/%v", id)
endpointURL := fmt.Sprintf(baseURL+"/"+"accounting/v1/addresses/%v", id)

queryParams := make(url.Values)
if request.IncludeRemoteData != nil {
Expand Down
8 changes: 4 additions & 4 deletions accounting/asyncpassthrough/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ func NewClient(opts ...core.ClientOption) *Client {

// Asynchronously pull data from an endpoint not currently supported by Merge.
func (c *Client) Create(ctx context.Context, request *accounting.DataPassthroughRequest) (*accounting.AsyncPassthroughReciept, error) {
baseURL := "https://api.merge.dev"
baseURL := "https://api.merge.dev/api"
if c.baseURL != "" {
baseURL = c.baseURL
}
endpointURL := baseURL + "/" + "api/accounting/v1/async-passthrough"
endpointURL := baseURL + "/" + "accounting/v1/async-passthrough"

var response *accounting.AsyncPassthroughReciept
if err := c.caller.Call(
Expand All @@ -54,11 +54,11 @@ func (c *Client) Create(ctx context.Context, request *accounting.DataPassthrough

// Retrieves data from earlier async-passthrough POST request
func (c *Client) Retrieve(ctx context.Context, asyncPassthroughReceiptId string) (*accounting.RemoteResponse, error) {
baseURL := "https://api.merge.dev"
baseURL := "https://api.merge.dev/api"
if c.baseURL != "" {
baseURL = c.baseURL
}
endpointURL := fmt.Sprintf(baseURL+"/"+"api/accounting/v1/async-passthrough/%v", asyncPassthroughReceiptId)
endpointURL := fmt.Sprintf(baseURL+"/"+"accounting/v1/async-passthrough/%v", asyncPassthroughReceiptId)

var response *accounting.RemoteResponse
if err := c.caller.Call(
Expand Down
16 changes: 8 additions & 8 deletions accounting/attachments/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ func NewClient(opts ...core.ClientOption) *Client {

// Returns a list of `AccountingAttachment` objects.
func (c *Client) List(ctx context.Context, request *accounting.AttachmentsListRequest) (*accounting.PaginatedAccountingAttachmentList, error) {
baseURL := "https://api.merge.dev"
baseURL := "https://api.merge.dev/api"
if c.baseURL != "" {
baseURL = c.baseURL
}
endpointURL := baseURL + "/" + "api/accounting/v1/attachments"
endpointURL := baseURL + "/" + "accounting/v1/attachments"

queryParams := make(url.Values)
if request.CompanyId != nil {
Expand Down Expand Up @@ -90,11 +90,11 @@ func (c *Client) List(ctx context.Context, request *accounting.AttachmentsListRe

// Creates an `AccountingAttachment` object with the given values.
func (c *Client) Create(ctx context.Context, request *accounting.AccountingAttachmentEndpointRequest) (*accounting.AccountingAttachmentResponse, error) {
baseURL := "https://api.merge.dev"
baseURL := "https://api.merge.dev/api"
if c.baseURL != "" {
baseURL = c.baseURL
}
endpointURL := baseURL + "/" + "api/accounting/v1/attachments"
endpointURL := baseURL + "/" + "accounting/v1/attachments"

queryParams := make(url.Values)
if request.IsDebugMode != nil {
Expand Down Expand Up @@ -125,11 +125,11 @@ func (c *Client) Create(ctx context.Context, request *accounting.AccountingAttac

// Returns an `AccountingAttachment` object with the given `id`.
func (c *Client) Retrieve(ctx context.Context, id string, request *accounting.AttachmentsRetrieveRequest) (*accounting.AccountingAttachment, error) {
baseURL := "https://api.merge.dev"
baseURL := "https://api.merge.dev/api"
if c.baseURL != "" {
baseURL = c.baseURL
}
endpointURL := fmt.Sprintf(baseURL+"/"+"api/accounting/v1/attachments/%v", id)
endpointURL := fmt.Sprintf(baseURL+"/"+"accounting/v1/attachments/%v", id)

queryParams := make(url.Values)
if request.IncludeRemoteData != nil {
Expand All @@ -156,11 +156,11 @@ func (c *Client) Retrieve(ctx context.Context, id string, request *accounting.At

// Returns metadata for `AccountingAttachment` POSTs.
func (c *Client) MetaPostRetrieve(ctx context.Context) (*accounting.MetaResponse, error) {
baseURL := "https://api.merge.dev"
baseURL := "https://api.merge.dev/api"
if c.baseURL != "" {
baseURL = c.baseURL
}
endpointURL := baseURL + "/" + "api/accounting/v1/attachments/meta/post"
endpointURL := baseURL + "/" + "accounting/v1/attachments/meta/post"

var response *accounting.MetaResponse
if err := c.caller.Call(
Expand Down
2 changes: 1 addition & 1 deletion accounting/audit_trail.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ type AuditTrailListRequest struct {
Cursor *string `json:"-"`
// If included, will only include audit trail events that occurred before this time
EndDate *string `json:"-"`
// If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`
// If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`
EventType *string `json:"-"`
// Number of results to return per page.
PageSize *int `json:"-"`
Expand Down
4 changes: 2 additions & 2 deletions accounting/audittrail/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ func NewClient(opts ...core.ClientOption) *Client {

// Gets a list of audit trail events.
func (c *Client) List(ctx context.Context, request *accounting.AuditTrailListRequest) (*accounting.PaginatedAuditLogEventList, error) {
baseURL := "https://api.merge.dev"
baseURL := "https://api.merge.dev/api"
if c.baseURL != "" {
baseURL = c.baseURL
}
endpointURL := baseURL + "/" + "api/accounting/v1/audit-trail"
endpointURL := baseURL + "/" + "accounting/v1/audit-trail"

queryParams := make(url.Values)
if request.Cursor != nil {
Expand Down
4 changes: 2 additions & 2 deletions accounting/availableactions/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ func NewClient(opts ...core.ClientOption) *Client {

// Returns a list of models and actions available for an account.
func (c *Client) Retrieve(ctx context.Context) (*accounting.AvailableActions, error) {
baseURL := "https://api.merge.dev"
baseURL := "https://api.merge.dev/api"
if c.baseURL != "" {
baseURL = c.baseURL
}
endpointURL := baseURL + "/" + "api/accounting/v1/available-actions"
endpointURL := baseURL + "/" + "accounting/v1/available-actions"

var response *accounting.AvailableActions
if err := c.caller.Call(
Expand Down
8 changes: 4 additions & 4 deletions accounting/balancesheets/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ func NewClient(opts ...core.ClientOption) *Client {

// Returns a list of `BalanceSheet` objects.
func (c *Client) List(ctx context.Context, request *accounting.BalanceSheetsListRequest) (*accounting.PaginatedBalanceSheetList, error) {
baseURL := "https://api.merge.dev"
baseURL := "https://api.merge.dev/api"
if c.baseURL != "" {
baseURL = c.baseURL
}
endpointURL := baseURL + "/" + "api/accounting/v1/balance-sheets"
endpointURL := baseURL + "/" + "accounting/v1/balance-sheets"

queryParams := make(url.Values)
if request.CompanyId != nil {
Expand Down Expand Up @@ -93,11 +93,11 @@ func (c *Client) List(ctx context.Context, request *accounting.BalanceSheetsList

// Returns a `BalanceSheet` object with the given `id`.
func (c *Client) Retrieve(ctx context.Context, id string, request *accounting.BalanceSheetsRetrieveRequest) (*accounting.BalanceSheet, error) {
baseURL := "https://api.merge.dev"
baseURL := "https://api.merge.dev/api"
if c.baseURL != "" {
baseURL = c.baseURL
}
endpointURL := fmt.Sprintf(baseURL+"/"+"api/accounting/v1/balance-sheets/%v", id)
endpointURL := fmt.Sprintf(baseURL+"/"+"accounting/v1/balance-sheets/%v", id)

queryParams := make(url.Values)
if request.Expand != nil {
Expand Down
8 changes: 4 additions & 4 deletions accounting/cashflowstatements/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ func NewClient(opts ...core.ClientOption) *Client {

// Returns a list of `CashFlowStatement` objects.
func (c *Client) List(ctx context.Context, request *accounting.CashFlowStatementsListRequest) (*accounting.PaginatedCashFlowStatementList, error) {
baseURL := "https://api.merge.dev"
baseURL := "https://api.merge.dev/api"
if c.baseURL != "" {
baseURL = c.baseURL
}
endpointURL := baseURL + "/" + "api/accounting/v1/cash-flow-statements"
endpointURL := baseURL + "/" + "accounting/v1/cash-flow-statements"

queryParams := make(url.Values)
if request.CompanyId != nil {
Expand Down Expand Up @@ -93,11 +93,11 @@ func (c *Client) List(ctx context.Context, request *accounting.CashFlowStatement

// Returns a `CashFlowStatement` object with the given `id`.
func (c *Client) Retrieve(ctx context.Context, id string, request *accounting.CashFlowStatementsRetrieveRequest) (*accounting.CashFlowStatement, error) {
baseURL := "https://api.merge.dev"
baseURL := "https://api.merge.dev/api"
if c.baseURL != "" {
baseURL = c.baseURL
}
endpointURL := fmt.Sprintf(baseURL+"/"+"api/accounting/v1/cash-flow-statements/%v", id)
endpointURL := fmt.Sprintf(baseURL+"/"+"accounting/v1/cash-flow-statements/%v", id)

queryParams := make(url.Values)
if request.Expand != nil {
Expand Down
8 changes: 4 additions & 4 deletions accounting/companyinfo/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ func NewClient(opts ...core.ClientOption) *Client {

// Returns a list of `CompanyInfo` objects.
func (c *Client) List(ctx context.Context, request *accounting.CompanyInfoListRequest) (*accounting.PaginatedCompanyInfoList, error) {
baseURL := "https://api.merge.dev"
baseURL := "https://api.merge.dev/api"
if c.baseURL != "" {
baseURL = c.baseURL
}
endpointURL := baseURL + "/" + "api/accounting/v1/company-info"
endpointURL := baseURL + "/" + "accounting/v1/company-info"

queryParams := make(url.Values)
if request.CreatedAfter != nil {
Expand Down Expand Up @@ -90,11 +90,11 @@ func (c *Client) List(ctx context.Context, request *accounting.CompanyInfoListRe

// Returns a `CompanyInfo` object with the given `id`.
func (c *Client) Retrieve(ctx context.Context, id string, request *accounting.CompanyInfoRetrieveRequest) (*accounting.CompanyInfo, error) {
baseURL := "https://api.merge.dev"
baseURL := "https://api.merge.dev/api"
if c.baseURL != "" {
baseURL = c.baseURL
}
endpointURL := fmt.Sprintf(baseURL+"/"+"api/accounting/v1/company-info/%v", id)
endpointURL := fmt.Sprintf(baseURL+"/"+"accounting/v1/company-info/%v", id)

queryParams := make(url.Values)
if request.Expand != nil {
Expand Down
4 changes: 2 additions & 2 deletions accounting/contacts.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ type ContactsListRequest struct {
RemoteFields *string `json:"-"`
// The API provider's ID for the given object.
RemoteId *string `json:"-"`
// Which fields should be returned in non-normalized form.
// A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
ShowEnumOrigins *string `json:"-"`
}

Expand All @@ -55,7 +55,7 @@ type ContactsRetrieveRequest struct {
IncludeRemoteData *bool `json:"-"`
// Deprecated. Use show_enum_origins.
RemoteFields *string `json:"-"`
// Which fields should be returned in non-normalized form.
// A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
ShowEnumOrigins *string `json:"-"`
}

Expand Down
Loading

0 comments on commit 747706b

Please sign in to comment.