Categorygithub.com/apideck-libraries/sdk-go
modulepackage
0.6.1
Repository: https://github.com/apideck-libraries/sdk-go.git
Documentation: pkg.go.dev

# README

github.com/apideck-libraries/sdk-go

Developer-friendly & type-safe Go SDK specifically catered to leverage github.com/apideck-libraries/sdk-go API.

Summary

Apideck: The Apideck OpenAPI Spec: SDK Optimized

For more information about the API: Apideck Developer Docs

Table of Contents

SDK Installation

To add the SDK as a dependency to your project:

go get github.com/apideck-libraries/sdk-go

SDK Example Usage

Example

package main

import (
	"context"
	sdkgo "github.com/apideck-libraries/sdk-go"
	"github.com/apideck-libraries/sdk-go/models/components"
	"github.com/apideck-libraries/sdk-go/models/operations"
	"log"
	"os"
)

func main() {
	ctx := context.Background()

	s := sdkgo.New(
		sdkgo.WithSecurity(os.Getenv("APIDECK_API_KEY")),
		sdkgo.WithConsumerID("test-consumer"),
		sdkgo.WithAppID("dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"),
	)

	res, err := s.Accounting.TaxRates.List(ctx, operations.AccountingTaxRatesAllRequest{
		ServiceID: sdkgo.String("salesforce"),
		Filter: &components.TaxRatesFilter{
			Assets:      sdkgo.Bool(true),
			Equity:      sdkgo.Bool(true),
			Expenses:    sdkgo.Bool(true),
			Liabilities: sdkgo.Bool(true),
			Revenue:     sdkgo.Bool(true),
		},
		PassThrough: map[string]any{
			"search": "San Francisco",
		},
		Fields: sdkgo.String("id,updated_at"),
	})
	if err != nil {
		log.Fatal(err)
	}
	if res.GetTaxRatesResponse != nil {
		for {
			// handle items

			res, err = res.Next()

			if err != nil {
				// handle error
			}

			if res == nil {
				break
			}
		}
	}
}

Authentication

Per-Client Security Schemes

This SDK supports the following security scheme globally:

NameTypeSchemeEnvironment Variable
APIKeyhttpHTTP BearerAPIDECK_API_KEY

You can configure it using the WithSecurity option when initializing the SDK client instance. For example:

package main

import (
	"context"
	sdkgo "github.com/apideck-libraries/sdk-go"
	"github.com/apideck-libraries/sdk-go/models/components"
	"github.com/apideck-libraries/sdk-go/models/operations"
	"log"
	"os"
)

func main() {
	ctx := context.Background()

	s := sdkgo.New(
		sdkgo.WithSecurity(os.Getenv("APIDECK_API_KEY")),
		sdkgo.WithConsumerID("test-consumer"),
		sdkgo.WithAppID("dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"),
	)

	res, err := s.Accounting.TaxRates.List(ctx, operations.AccountingTaxRatesAllRequest{
		ServiceID: sdkgo.String("salesforce"),
		Filter: &components.TaxRatesFilter{
			Assets:      sdkgo.Bool(true),
			Equity:      sdkgo.Bool(true),
			Expenses:    sdkgo.Bool(true),
			Liabilities: sdkgo.Bool(true),
			Revenue:     sdkgo.Bool(true),
		},
		PassThrough: map[string]any{
			"search": "San Francisco",
		},
		Fields: sdkgo.String("id,updated_at"),
	})
	if err != nil {
		log.Fatal(err)
	}
	if res.GetTaxRatesResponse != nil {
		for {
			// handle items

			res, err = res.Next()

			if err != nil {
				// handle error
			}

			if res == nil {
				break
			}
		}
	}
}

Available Resources and Operations

Available methods

Accounting

Accounting.AgedDebtors

  • Get - Get Aged Debtors

Accounting.Attachments

Accounting.BalanceSheet

  • Get - Get BalanceSheet

Accounting.BillPayments

  • List - List Bill Payments
  • Create - Create Bill Payment
  • Get - Get Bill Payment
  • Update - Update Bill Payment
  • Delete - Delete Bill Payment

Accounting.Bills

Accounting.CompanyInfo

  • Get - Get company info

Accounting.CreditNotes

  • List - List Credit Notes
  • Create - Create Credit Note
  • Get - Get Credit Note
  • Update - Update Credit Note
  • Delete - Delete Credit Note

Accounting.Customers

Accounting.Departments

  • List - List Departments
  • Create - Create Department
  • Get - Get Department
  • Update - Update Department
  • Delete - Delete Department

Accounting.Expenses

Accounting.InvoiceItems

  • List - List Invoice Items
  • Create - Create Invoice Item
  • Get - Get Invoice Item
  • Update - Update Invoice Item
  • Delete - Delete Invoice Item

Accounting.Invoices

Accounting.JournalEntries

  • List - List Journal Entries
  • Create - Create Journal Entry
  • Get - Get Journal Entry
  • Update - Update Journal Entry
  • Delete - Delete Journal Entry

Accounting.LedgerAccounts

  • List - List Ledger Accounts
  • Create - Create Ledger Account
  • Get - Get Ledger Account
  • Update - Update Ledger Account
  • Delete - Delete Ledger Account

Accounting.Locations

Accounting.Payments

Accounting.ProfitAndLoss

  • Get - Get Profit and Loss

Accounting.PurchaseOrders

  • List - List Purchase Orders
  • Create - Create Purchase Order
  • Get - Get Purchase Order
  • Update - Update Purchase Order
  • Delete - Delete Purchase Order

Accounting.Subsidiaries

  • List - List Subsidiaries
  • Create - Create Subsidiary
  • Get - Get Subsidiary
  • Update - Update Subsidiary
  • Delete - Delete Subsidiary

Accounting.Suppliers

Accounting.TaxRates

Accounting.TrackingCategories

  • List - List Tracking Categories
  • Create - Create Tracking Category
  • Get - Get Tracking Category
  • Update - Update Tracking Category
  • Delete - Delete Tracking Category

Ats

Ats.Applicants

Ats.Applications

  • List - List Applications
  • Create - Create Application
  • Get - Get Application
  • Update - Update Application
  • Delete - Delete Application

Ats.Jobs

Connector

Connector.APIResourceCoverage

  • Get - Get API Resource Coverage

Connector.APIResources

  • Get - Get API Resource

Connector.Apis

Connector.ConnectorDocs

  • Get - Get Connector Doc content

Connector.ConnectorResources

  • Get - Get Connector Resource

Connector.Connectors

  • List - List Connectors
  • Get - Get Connector

Crm

Crm.Activities

Crm.Companies

Crm.Contacts

Crm.Leads

Crm.Notes

Crm.Opportunities

  • List - List opportunities
  • Create - Create opportunity
  • Get - Get opportunity
  • Update - Update opportunity
  • Delete - Delete opportunity

Crm.Pipelines

  • List - List pipelines

Crm.Users

Ecommerce

Ecommerce.Customers

  • List - List Customers
  • Get - Get Customer

Ecommerce.Orders

  • List - List Orders
  • Get - Get Order

Ecommerce.Products

  • List - List Products
  • Get - Get Product

Ecommerce.Stores

  • Get - Get Store

FileStorage

FileStorage.DriveGroups

  • List - List DriveGroups
  • Create - Create DriveGroup
  • Get - Get DriveGroup
  • Update - Update DriveGroup
  • Delete - Delete DriveGroup

FileStorage.Drives

FileStorage.Files

FileStorage.Folders

FileStorage.SharedLinks

  • List - List SharedLinks
  • Create - Create Shared Link
  • Get - Get Shared Link
  • Update - Update Shared Link
  • Delete - Delete Shared Link

FileStorage.UploadSessions

  • Create - Start Upload Session
  • Get - Get Upload Session
  • Delete - Abort Upload Session
  • Finish - Finish Upload Session

Hris

Hris.Companies

Hris.Departments

  • List - List Departments
  • Create - Create Department
  • Get - Get Department
  • Update - Update Department
  • Delete - Delete Department

Hris.EmployeePayrolls

  • List - List Employee Payrolls
  • Get - Get Employee Payroll

Hris.Employees

Hris.EmployeeSchedules

  • List - List Employee Schedules

Hris.Payrolls

  • List - List Payroll
  • Get - Get Payroll

Hris.TimeOffRequests

  • List - List Time Off Requests
  • Create - Create Time Off Request
  • Get - Get Time Off Request
  • Update - Update Time Off Request
  • Delete - Delete Time Off Request

IssueTracking

IssueTracking.Collections

  • List - List Collections
  • Get - Get Collection

IssueTracking.CollectionTags

IssueTracking.CollectionTicketComments

IssueTracking.CollectionTickets

IssueTracking.CollectionUsers

Sms

Sms.Messages

Vault

Vault.ConnectionCustomMappings

  • List - List connection custom mappings

Vault.Connections

  • List - Get all connections
  • Get - Get connection
  • Update - Update connection
  • Delete - Deletes a connection
  • Imports - Import connection
  • Token - Authorize Access Token

Vault.ConnectionSettings

  • List - Get resource settings
  • Update - Update settings

Vault.ConsumerRequestCounts

  • List - Consumer request counts

Vault.Consumers

Vault.CreateCallback

  • State - Create Callback State

Vault.CustomFields

  • List - Get resource custom fields

Vault.CustomMappings

  • List - List custom mappings

Vault.Logs

  • List - Get all consumer request logs

Vault.Sessions

Vault.ValidateConnection

  • State - Validate Connection State

Webhook

Webhook.EventLogs

  • List - List event logs

Webhook.Webhooks

  • List - List webhook subscriptions
  • Create - Create webhook subscription
  • Get - Get webhook subscription
  • Update - Update webhook subscription
  • Delete - Delete webhook subscription

Pagination

Some of the endpoints in this SDK support pagination. To use pagination, you make your SDK calls as usual, but the returned response object will have a Next method that can be called to pull down the next group of results. If the return value of Next is nil, then there are no more pages to be fetched.

Here's an example of one such pagination call:

package main

import (
	"context"
	sdkgo "github.com/apideck-libraries/sdk-go"
	"github.com/apideck-libraries/sdk-go/models/components"
	"github.com/apideck-libraries/sdk-go/models/operations"
	"log"
	"os"
)

func main() {
	ctx := context.Background()

	s := sdkgo.New(
		sdkgo.WithSecurity(os.Getenv("APIDECK_API_KEY")),
		sdkgo.WithConsumerID("test-consumer"),
		sdkgo.WithAppID("dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"),
	)

	res, err := s.Accounting.TaxRates.List(ctx, operations.AccountingTaxRatesAllRequest{
		ServiceID: sdkgo.String("salesforce"),
		Filter: &components.TaxRatesFilter{
			Assets:      sdkgo.Bool(true),
			Equity:      sdkgo.Bool(true),
			Expenses:    sdkgo.Bool(true),
			Liabilities: sdkgo.Bool(true),
			Revenue:     sdkgo.Bool(true),
		},
		PassThrough: map[string]any{
			"search": "San Francisco",
		},
		Fields: sdkgo.String("id,updated_at"),
	})
	if err != nil {
		log.Fatal(err)
	}
	if res.GetTaxRatesResponse != nil {
		for {
			// handle items

			res, err = res.Next()

			if err != nil {
				// handle error
			}

			if res == nil {
				break
			}
		}
	}
}

Retries

Some of the endpoints in this SDK support retries. If you use the SDK without any configuration, it will fall back to the default retry strategy provided by the API. However, the default retry strategy can be overridden on a per-operation basis, or across the entire SDK.

To change the default retry strategy for a single API call, simply provide a retry.Config object to the call by using the WithRetries option:

package main

import (
	"context"
	sdkgo "github.com/apideck-libraries/sdk-go"
	"github.com/apideck-libraries/sdk-go/models/components"
	"github.com/apideck-libraries/sdk-go/models/operations"
	"github.com/apideck-libraries/sdk-go/retry"
	"log"
	"models/operations"
	"os"
)

func main() {
	ctx := context.Background()

	s := sdkgo.New(
		sdkgo.WithSecurity(os.Getenv("APIDECK_API_KEY")),
		sdkgo.WithConsumerID("test-consumer"),
		sdkgo.WithAppID("dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"),
	)

	res, err := s.Accounting.TaxRates.List(ctx, operations.AccountingTaxRatesAllRequest{
		ServiceID: sdkgo.String("salesforce"),
		Filter: &components.TaxRatesFilter{
			Assets:      sdkgo.Bool(true),
			Equity:      sdkgo.Bool(true),
			Expenses:    sdkgo.Bool(true),
			Liabilities: sdkgo.Bool(true),
			Revenue:     sdkgo.Bool(true),
		},
		PassThrough: map[string]any{
			"search": "San Francisco",
		},
		Fields: sdkgo.String("id,updated_at"),
	}, operations.WithRetries(
		retry.Config{
			Strategy: "backoff",
			Backoff: &retry.BackoffStrategy{
				InitialInterval: 1,
				MaxInterval:     50,
				Exponent:        1.1,
				MaxElapsedTime:  100,
			},
			RetryConnectionErrors: false,
		}))
	if err != nil {
		log.Fatal(err)
	}
	if res.GetTaxRatesResponse != nil {
		for {
			// handle items

			res, err = res.Next()

			if err != nil {
				// handle error
			}

			if res == nil {
				break
			}
		}
	}
}

If you'd like to override the default retry strategy for all operations that support retries, you can use the WithRetryConfig option at SDK initialization:

package main

import (
	"context"
	sdkgo "github.com/apideck-libraries/sdk-go"
	"github.com/apideck-libraries/sdk-go/models/components"
	"github.com/apideck-libraries/sdk-go/models/operations"
	"github.com/apideck-libraries/sdk-go/retry"
	"log"
	"os"
)

func main() {
	ctx := context.Background()

	s := sdkgo.New(
		sdkgo.WithRetryConfig(
			retry.Config{
				Strategy: "backoff",
				Backoff: &retry.BackoffStrategy{
					InitialInterval: 1,
					MaxInterval:     50,
					Exponent:        1.1,
					MaxElapsedTime:  100,
				},
				RetryConnectionErrors: false,
			}),
		sdkgo.WithSecurity(os.Getenv("APIDECK_API_KEY")),
		sdkgo.WithConsumerID("test-consumer"),
		sdkgo.WithAppID("dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"),
	)

	res, err := s.Accounting.TaxRates.List(ctx, operations.AccountingTaxRatesAllRequest{
		ServiceID: sdkgo.String("salesforce"),
		Filter: &components.TaxRatesFilter{
			Assets:      sdkgo.Bool(true),
			Equity:      sdkgo.Bool(true),
			Expenses:    sdkgo.Bool(true),
			Liabilities: sdkgo.Bool(true),
			Revenue:     sdkgo.Bool(true),
		},
		PassThrough: map[string]any{
			"search": "San Francisco",
		},
		Fields: sdkgo.String("id,updated_at"),
	})
	if err != nil {
		log.Fatal(err)
	}
	if res.GetTaxRatesResponse != nil {
		for {
			// handle items

			res, err = res.Next()

			if err != nil {
				// handle error
			}

			if res == nil {
				break
			}
		}
	}
}

Error Handling

Handling errors in this SDK should largely match your expectations. All operations return a response object or an error, they will never return both.

By Default, an API error will return apierrors.APIError. When custom error responses are specified for an operation, the SDK may also return their associated error. You can refer to respective Errors tables in SDK docs for more details on possible error types for each operation.

For example, the List function may return the following errors:

Error TypeStatus CodeContent Type
apierrors.BadRequestResponse400application/json
apierrors.UnauthorizedResponse401application/json
apierrors.PaymentRequiredResponse402application/json
apierrors.NotFoundResponse404application/json
apierrors.UnprocessableResponse422application/json
apierrors.APIError4XX, 5XX*/*

Example

package main

import (
	"context"
	"errors"
	sdkgo "github.com/apideck-libraries/sdk-go"
	"github.com/apideck-libraries/sdk-go/models/apierrors"
	"github.com/apideck-libraries/sdk-go/models/components"
	"github.com/apideck-libraries/sdk-go/models/operations"
	"log"
	"os"
)

func main() {
	ctx := context.Background()

	s := sdkgo.New(
		sdkgo.WithSecurity(os.Getenv("APIDECK_API_KEY")),
		sdkgo.WithConsumerID("test-consumer"),
		sdkgo.WithAppID("dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"),
	)

	res, err := s.Accounting.TaxRates.List(ctx, operations.AccountingTaxRatesAllRequest{
		ServiceID: sdkgo.String("salesforce"),
		Filter: &components.TaxRatesFilter{
			Assets:      sdkgo.Bool(true),
			Equity:      sdkgo.Bool(true),
			Expenses:    sdkgo.Bool(true),
			Liabilities: sdkgo.Bool(true),
			Revenue:     sdkgo.Bool(true),
		},
		PassThrough: map[string]any{
			"search": "San Francisco",
		},
		Fields: sdkgo.String("id,updated_at"),
	})
	if err != nil {

		var e *apierrors.BadRequestResponse
		if errors.As(err, &e) {
			// handle error
			log.Fatal(e.Error())
		}

		var e *apierrors.UnauthorizedResponse
		if errors.As(err, &e) {
			// handle error
			log.Fatal(e.Error())
		}

		var e *apierrors.PaymentRequiredResponse
		if errors.As(err, &e) {
			// handle error
			log.Fatal(e.Error())
		}

		var e *apierrors.NotFoundResponse
		if errors.As(err, &e) {
			// handle error
			log.Fatal(e.Error())
		}

		var e *apierrors.UnprocessableResponse
		if errors.As(err, &e) {
			// handle error
			log.Fatal(e.Error())
		}

		var e *apierrors.APIError
		if errors.As(err, &e) {
			// handle error
			log.Fatal(e.Error())
		}
	}
}

Server Selection

Override Server URL Per-Client

The default server can also be overridden globally using the WithServerURL(serverURL string) option when initializing the SDK client instance. For example:

package main

import (
	"context"
	sdkgo "github.com/apideck-libraries/sdk-go"
	"github.com/apideck-libraries/sdk-go/models/components"
	"github.com/apideck-libraries/sdk-go/models/operations"
	"log"
	"os"
)

func main() {
	ctx := context.Background()

	s := sdkgo.New(
		sdkgo.WithServerURL("https://unify.apideck.com"),
		sdkgo.WithSecurity(os.Getenv("APIDECK_API_KEY")),
		sdkgo.WithConsumerID("test-consumer"),
		sdkgo.WithAppID("dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"),
	)

	res, err := s.Accounting.TaxRates.List(ctx, operations.AccountingTaxRatesAllRequest{
		ServiceID: sdkgo.String("salesforce"),
		Filter: &components.TaxRatesFilter{
			Assets:      sdkgo.Bool(true),
			Equity:      sdkgo.Bool(true),
			Expenses:    sdkgo.Bool(true),
			Liabilities: sdkgo.Bool(true),
			Revenue:     sdkgo.Bool(true),
		},
		PassThrough: map[string]any{
			"search": "San Francisco",
		},
		Fields: sdkgo.String("id,updated_at"),
	})
	if err != nil {
		log.Fatal(err)
	}
	if res.GetTaxRatesResponse != nil {
		for {
			// handle items

			res, err = res.Next()

			if err != nil {
				// handle error
			}

			if res == nil {
				break
			}
		}
	}
}

Override Server URL Per-Operation

The server URL can also be overridden on a per-operation basis, provided a server list was specified for the operation. For example:

package main

import (
	"context"
	sdkgo "github.com/apideck-libraries/sdk-go"
	"github.com/apideck-libraries/sdk-go/models/components"
	"github.com/apideck-libraries/sdk-go/models/operations"
	"log"
	"os"
)

func main() {
	ctx := context.Background()

	s := sdkgo.New(
		sdkgo.WithSecurity(os.Getenv("APIDECK_API_KEY")),
		sdkgo.WithConsumerID("test-consumer"),
		sdkgo.WithAppID("dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"),
	)

	res, err := s.FileStorage.UploadSessions.Create(ctx, operations.FileStorageUploadSessionsAddRequest{
		ServiceID: sdkgo.String("salesforce"),
		CreateUploadSessionRequest: components.CreateUploadSessionRequest{
			Name:           "Documents",
			ParentFolderID: "1234",
			DriveID:        sdkgo.String("1234"),
			Size:           sdkgo.Int64(1810673),
			PassThrough: []components.PassThroughBody{
				components.PassThroughBody{
					ServiceID: "<id>",
					ExtendPaths: []components.ExtendPaths{
						components.ExtendPaths{
							Path: "$.nested.property",
							Value: map[string]any{
								"TaxClassificationRef": map[string]any{
									"value": "EUC-99990201-V1-00020000",
								},
							},
						},
						components.ExtendPaths{
							Path: "$.nested.property",
							Value: map[string]any{
								"TaxClassificationRef": map[string]any{
									"value": "EUC-99990201-V1-00020000",
								},
							},
						},
					},
				},
				components.PassThroughBody{
					ServiceID: "<id>",
					ExtendPaths: []components.ExtendPaths{
						components.ExtendPaths{
							Path: "$.nested.property",
							Value: map[string]any{
								"TaxClassificationRef": map[string]any{
									"value": "EUC-99990201-V1-00020000",
								},
							},
						},
						components.ExtendPaths{
							Path: "$.nested.property",
							Value: map[string]any{
								"TaxClassificationRef": map[string]any{
									"value": "EUC-99990201-V1-00020000",
								},
							},
						},
					},
				},
			},
		},
	}, operations.WithServerURL("https://upload.apideck.com"))
	if err != nil {
		log.Fatal(err)
	}
	if res.CreateUploadSessionResponse != nil {
		// handle response
	}
}

Custom HTTP Client

The Go SDK makes API calls that wrap an internal HTTP client. The requirements for the HTTP client are very simple. It must match this interface:

type HTTPClient interface {
	Do(req *http.Request) (*http.Response, error)
}

The built-in net/http client satisfies this interface and a default client based on the built-in is provided by default. To replace this default with a client of your own, you can implement this interface yourself or provide your own client configured as desired. Here's a simple example, which adds a client with a 30 second timeout.

import (
	"net/http"
	"time"
	"github.com/myorg/your-go-sdk"
)

var (
	httpClient = &http.Client{Timeout: 30 * time.Second}
	sdkClient  = sdk.New(sdk.WithClient(httpClient))
)

This can be a convenient way to configure timeouts, cookies, proxies, custom headers, and other low-level configuration.

Special Types

This SDK defines the following custom types to assist with marshalling and unmarshalling data.

Date

types.Date is a wrapper around time.Time that allows for JSON marshaling a date string formatted as "2006-01-02".

Usage

d1 := types.NewDate(time.Now()) // returns *types.Date

d2 := types.DateFromTime(time.Now()) // returns types.Date

d3, err := types.NewDateFromString("2019-01-01") // returns *types.Date, error

d4, err := types.DateFromString("2019-01-01") // returns types.Date, error

d5 := types.MustNewDateFromString("2019-01-01") // returns *types.Date and panics on error

d6 := types.MustDateFromString("2019-01-01") // returns types.Date and panics on error

Development

Maturity

There may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage to a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally looking for the latest version.

Contributions

While we value open-source contributions to this SDK, this library is generated programmatically. Any manual changes added to internal files will be overwritten on the next generation. We look forward to hearing your feedback. Feel free to open a PR or an issue with a proof of concept and we'll do our best to include it in a future release.

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

Bool provides a helper function to return a pointer to a bool.
Float32 provides a helper function to return a pointer to a float32.
Float64 provides a helper function to return a pointer to a float64.
Int provides a helper function to return a pointer to an int.
Int64 provides a helper function to return a pointer to an int64.
New creates a new instance of the SDK with the provided options.
Pointer provides a helper function to return a pointer to a type.
String provides a helper function to return a pointer to a string.
WithAppID allows setting the AppID parameter for all supported operations.
WithClient allows the overriding of the default HTTP client used by the SDK.
WithConsumerID allows setting the ConsumerID parameter for all supported operations.
No description provided by the author
WithSecurity configures the SDK to use the provided security details.
WithSecuritySource configures the SDK to invoke the Security Source function on each method call to determine authentication.
WithServerIndex allows the overriding of the default server by index.
WithServerURL allows the overriding of the default server URL.
WithTemplatedServerURL allows the overriding of the default server URL with a templated URL populated with the provided parameters.
WithTimeout Optional request timeout applied to each operation.

# Variables

ServerList contains the list of servers available to the SDK.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
Apideck - Apideck: The Apideck OpenAPI Spec: SDK Optimized https://developers.apideck.com - Apideck Developer Docs.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

HTTPClient provides an interface for suplying the SDK with a custom HTTP client.

# Type aliases

No description provided by the author