-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
klaviyo-sdk
committed
Jun 18, 2024
1 parent
08776a8
commit c6631d2
Showing
543 changed files
with
27,932 additions
and
1,374 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
#The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. | ||
The version of the OpenAPI document: 2024-05-15 | ||
The version of the OpenAPI document: 2024-06-15 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
OpenAPI Generator version: 6.2.1 | ||
|
@@ -17,7 +17,7 @@ require "klaviyo-api-sdk/version" | |
|
||
Gem::Specification.new do |s| | ||
s.name = "klaviyo-api-sdk" | ||
s.version = "7.0.0" | ||
s.version = "7.1.0" | ||
s.authors = ['Klaviyo Team'] | ||
s.email = ['[email protected]'] | ||
s.summary = 'You heard us, a Ruby wrapper for the Klaviyo API' | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
#The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. | ||
The version of the OpenAPI document: 2024-05-15 | ||
The version of the OpenAPI document: 2024-06-15 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
OpenAPI Generator version: 6.2.1 | ||
|
@@ -23,7 +23,7 @@ def initialize(api_client = ApiClient.default) | |
# Retrieve a single account object by its account ID. You can only request the account by which the private API key was generated.<br><br>*Rate limits*:<br>Burst: `1/s`<br>Steady: `15/m` **Scopes:** `accounts:read` | ||
# @param id [String] The ID of the account | ||
# @param [Hash] opts the optional parameters | ||
# @option opts [Array<String>] :fields_account For more information please visit https://developers.klaviyo.com/en/v2024-05-15/reference/api-overview#sparse-fieldsets | ||
# @option opts [Array<String>] :fields_account For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets | ||
# @return [Hash<String, Object>] | ||
def get_account(id, opts = {}) | ||
data, _status_code, _headers = get_account_with_http_info(id, opts) | ||
|
@@ -34,7 +34,7 @@ def get_account(id, opts = {}) | |
# Retrieve a single account object by its account ID. You can only request the account by which the private API key was generated.<br><br>*Rate limits*:<br>Burst: `1/s`<br>Steady: `15/m` **Scopes:** `accounts:read` | ||
# @param id [String] The ID of the account | ||
# @param [Hash] opts the optional parameters | ||
# @option opts [Array<String>] :fields_account For more information please visit https://developers.klaviyo.com/en/v2024-05-15/reference/api-overview#sparse-fieldsets | ||
# @option opts [Array<String>] :fields_account For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets | ||
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers | ||
def get_account_with_http_info(id, opts = {}) | ||
if @api_client.config.debugging | ||
|
@@ -58,7 +58,7 @@ def get_account_with_http_info(id, opts = {}) | |
# header parameters | ||
header_params = opts[:header_params] || {} | ||
# klaviyo api revision | ||
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-05-15" | ||
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" | ||
# HTTP header 'Accept' (if needed) | ||
header_params['Accept'] = @api_client.select_header_accept(['application/json']) | ||
|
||
|
@@ -94,7 +94,7 @@ def get_account_with_http_info(id, opts = {}) | |
# Get Accounts | ||
# Retrieve the account(s) associated with a given private API key. This will return 1 account object within the array. You can use this to retrieve account-specific data (contact information, timezone, currency, Public API key, etc.) or test if a Private API Key belongs to the correct account prior to performing subsequent actions with the API.<br><br>*Rate limits*:<br>Burst: `1/s`<br>Steady: `15/m` **Scopes:** `accounts:read` | ||
# @param [Hash] opts the optional parameters | ||
# @option opts [Array<String>] :fields_account For more information please visit https://developers.klaviyo.com/en/v2024-05-15/reference/api-overview#sparse-fieldsets | ||
# @option opts [Array<String>] :fields_account For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets | ||
# @return [Hash<String, Object>] | ||
def get_accounts(opts = {}) | ||
data, _status_code, _headers = get_accounts_with_http_info(opts) | ||
|
@@ -104,7 +104,7 @@ def get_accounts(opts = {}) | |
# Get Accounts | ||
# Retrieve the account(s) associated with a given private API key. This will return 1 account object within the array. You can use this to retrieve account-specific data (contact information, timezone, currency, Public API key, etc.) or test if a Private API Key belongs to the correct account prior to performing subsequent actions with the API.<br><br>*Rate limits*:<br>Burst: `1/s`<br>Steady: `15/m` **Scopes:** `accounts:read` | ||
# @param [Hash] opts the optional parameters | ||
# @option opts [Array<String>] :fields_account For more information please visit https://developers.klaviyo.com/en/v2024-05-15/reference/api-overview#sparse-fieldsets | ||
# @option opts [Array<String>] :fields_account For more information please visit https://developers.klaviyo.com/en/v2024-06-15/reference/api-overview#sparse-fieldsets | ||
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers | ||
def get_accounts_with_http_info(opts = {}) | ||
if @api_client.config.debugging | ||
|
@@ -124,7 +124,7 @@ def get_accounts_with_http_info(opts = {}) | |
# header parameters | ||
header_params = opts[:header_params] || {} | ||
# klaviyo api revision | ||
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-05-15" | ||
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2024-06-15" | ||
# HTTP header 'Accept' (if needed) | ||
header_params['Accept'] = @api_client.select_header_accept(['application/json']) | ||
|
||
|
Oops, something went wrong.