ultracart_api 4.1.12 → 4.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 69102a25b45643b1a65dc8ffb1acf59215dea3a1fab2a585bfd0f20da1095f30
4
- data.tar.gz: df0465e38a715afc022c7b1371f891b4369c7ee22056f3dce43b13d26589461f
3
+ metadata.gz: b073dc578c5fc9b1a007943543ef1adfb8bf174e461fcafdd0a626693d14aca9
4
+ data.tar.gz: d4ec73507692ecef97202e4052ec75da5b046934af88ac8b71572cfa0d38e74d
5
5
  SHA512:
6
- metadata.gz: 9749a34ba80d6414a07d8235218886f14c5f0dac7f6786828d1e32d0d50c1c364b82090944d325c0733b2dd2664d0e83c314ddaebc5093c43be3421dd8442a0c
7
- data.tar.gz: eed807659d9c845e5127417b87903b75c12ee0f31dad82bfc64de649877e87b9633cb5cd19558dc6f1efa13ab40253a0af70acf4e0fb382ab9d2e659bd15ba6c
6
+ metadata.gz: 88b516f0ce50dd7987d960b2041cd8b12ca3c8dd9e63c7b67186a4718d7b2312219d31664e852996f5e9b906f26e35a9da97da7d9d7dfb7e755b58fb70438981
7
+ data.tar.gz: db3451cc4c6896f7f22bbc937bd4c935faea478ddd425f21cf26d6ce811e96d401aaaeda11d405a2ba265a042bbd4b5c10f4e076f176a926b2009818dff3c419
data/README.md CHANGED
@@ -7,7 +7,7 @@ Note: Every method has a sample for every language. See https://github.com/Ultr
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: 2.0.0
10
- - Package version: 4.1.12
10
+ - Package version: 4.1.14
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  - For more information, please visit [http://www.ultracart.com/api/](http://www.ultracart.com/api/)
13
13
 
@@ -16,7 +16,7 @@ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-g
16
16
  gemfile:
17
17
 
18
18
  ```shell
19
- gem 'ultracart_api', '4.1.12'
19
+ gem 'ultracart_api', '4.1.14'
20
20
  ```
21
21
 
22
22
  install:
@@ -1530,6 +1530,8 @@ Not every change is committed to every SDK.
1530
1530
 
1531
1531
  | Version | Date | Comments |
1532
1532
  | --: | :-: | --- |
1533
+ | 4.1.14 | 07/10/2025 | automation test |
1534
+ | 4.1.13 | 05/20/2025 | conversation - virtual agent flag and virtual agent cost |
1533
1535
  | 4.1.12 | 05/19/2025 | conversations - AI agent capabilities method |
1534
1536
  | 4.1.11 | 05/19/2025 | conversations - virtual AI budgets |
1535
1537
  | 4.1.10 | 05/06/2025 | conversation - ConversationAgentProfile.user_id added for agent profiles call |
data/docs/AffiliateApi.md CHANGED
@@ -1,167 +1,123 @@
1
- # UltracartClient::AffiliateApi
2
-
3
- All URIs are relative to *https://secure.ultracart.com/rest/v2*
4
-
5
- | Method | HTTP request | Description |
6
- | ------ | ------------ | ----------- |
7
- | [**get_clicks_by_query**](AffiliateApi.md#get_clicks_by_query) | **POST** /affiliate/clicks/query | Retrieve clicks |
8
- | [**get_ledgers_by_query**](AffiliateApi.md#get_ledgers_by_query) | **POST** /affiliate/ledgers/query | Retrieve ledger entries |
9
-
10
-
11
- ## get_clicks_by_query
12
-
13
- > <AffiliateClicksResponse> get_clicks_by_query(click_query, opts)
14
-
15
- Retrieve clicks
16
-
17
- Retrieves a group of clicks from the account based on a query object. If no parameters are specified, the API call will fail with a bad request error. Always specify some parameters to limit the scope of the clicks returned to ones you are truly interested in. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination.
18
-
19
- ### Examples
20
-
21
- ```ruby
22
- require 'time'
23
- require 'ultracart_api'
24
- require 'json'
25
- require 'yaml'
26
- require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
27
-
28
- # This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
29
- # As such, this might not be the best way to use this object.
30
- # Please see https://github.com/UltraCart/sdk_samples for working examples.
31
-
32
- api = UltracartClient::AffiliateApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
33
- click_query = UltracartClient::AffiliateClickQuery.new # AffiliateClickQuery | Click query
34
- opts = {
35
- _limit: 56, # Integer | The maximum number of records to return on this one API call. (Maximum 10000)
36
- _offset: 56, # Integer | Pagination of the record set. Offset is a zero based index.
37
- _expand: '_expand_example' # String | The object expansion to perform on the result. Only option is link.
38
- }
39
-
40
- begin
41
- # Retrieve clicks
42
- result = api_instance.get_clicks_by_query(click_query, opts)
43
- p result
44
- rescue UltracartClient::ApiError => e
45
- puts "Error when calling AffiliateApi->get_clicks_by_query: #{e}"
46
- end
47
- ```
48
-
49
- #### Using the get_clicks_by_query_with_http_info variant
50
-
51
- This returns an Array which contains the response data, status code and headers.
52
-
53
- > <Array(<AffiliateClicksResponse>, Integer, Hash)> get_clicks_by_query_with_http_info(click_query, opts)
54
-
55
- ```ruby
56
- begin
57
- # Retrieve clicks
58
- data, status_code, headers = api_instance.get_clicks_by_query_with_http_info(click_query, opts)
59
- p status_code # => 2xx
60
- p headers # => { ... }
61
- p data # => <AffiliateClicksResponse>
62
- rescue UltracartClient::ApiError => e
63
- puts "Error when calling AffiliateApi->get_clicks_by_query_with_http_info: #{e}"
64
- end
65
- ```
66
-
67
- ### Parameters
68
-
69
- | Name | Type | Description | Notes |
70
- | ---- | ---- | ----------- | ----- |
71
- | **click_query** | [**AffiliateClickQuery**](AffiliateClickQuery.md) | Click query | |
72
- | **_limit** | **Integer** | The maximum number of records to return on this one API call. (Maximum 10000) | [optional][default to 10000] |
73
- | **_offset** | **Integer** | Pagination of the record set. Offset is a zero based index. | [optional][default to 0] |
74
- | **_expand** | **String** | The object expansion to perform on the result. Only option is link. | [optional] |
75
-
76
- ### Return type
77
-
78
- [**AffiliateClicksResponse**](AffiliateClicksResponse.md)
79
-
80
- ### Authorization
81
-
82
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
83
-
84
- ### HTTP request headers
85
-
86
- - **Content-Type**: application/json
87
- - **Accept**: application/json
88
-
89
-
90
- ## get_ledgers_by_query
91
-
92
- > <AffiliateLedgersResponse> get_ledgers_by_query(ledger_query, opts)
93
-
94
- Retrieve ledger entries
95
-
96
- Retrieves a group of ledger entries from the account based on a query object. If no parameters are specified, the API call will fail with a bad request error. Always specify some parameters to limit the scope of the ledgers returned to ones you are truly interested in. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination.
97
-
98
- ### Examples
99
-
100
- ```ruby
101
- require 'time'
102
- require 'ultracart_api'
103
- require 'json'
104
- require 'yaml'
105
- require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
106
-
107
- # This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
108
- # As such, this might not be the best way to use this object.
109
- # Please see https://github.com/UltraCart/sdk_samples for working examples.
110
-
111
- api = UltracartClient::AffiliateApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
112
- ledger_query = UltracartClient::AffiliateLedgerQuery.new # AffiliateLedgerQuery | Ledger query
113
- opts = {
114
- _limit: 56, # Integer | The maximum number of records to return on this one API call. (Maximum 200)
115
- _offset: 56, # Integer | Pagination of the record set. Offset is a zero based index.
116
- _expand: '_expand_example' # String | The object expansion to perform on the result. Only option is link.
117
- }
118
-
119
- begin
120
- # Retrieve ledger entries
121
- result = api_instance.get_ledgers_by_query(ledger_query, opts)
122
- p result
123
- rescue UltracartClient::ApiError => e
124
- puts "Error when calling AffiliateApi->get_ledgers_by_query: #{e}"
125
- end
126
- ```
127
-
128
- #### Using the get_ledgers_by_query_with_http_info variant
129
-
130
- This returns an Array which contains the response data, status code and headers.
131
-
132
- > <Array(<AffiliateLedgersResponse>, Integer, Hash)> get_ledgers_by_query_with_http_info(ledger_query, opts)
133
-
134
- ```ruby
135
- begin
136
- # Retrieve ledger entries
137
- data, status_code, headers = api_instance.get_ledgers_by_query_with_http_info(ledger_query, opts)
138
- p status_code # => 2xx
139
- p headers # => { ... }
140
- p data # => <AffiliateLedgersResponse>
141
- rescue UltracartClient::ApiError => e
142
- puts "Error when calling AffiliateApi->get_ledgers_by_query_with_http_info: #{e}"
143
- end
144
- ```
145
-
146
- ### Parameters
147
-
148
- | Name | Type | Description | Notes |
149
- | ---- | ---- | ----------- | ----- |
150
- | **ledger_query** | [**AffiliateLedgerQuery**](AffiliateLedgerQuery.md) | Ledger query | |
151
- | **_limit** | **Integer** | The maximum number of records to return on this one API call. (Maximum 200) | [optional][default to 100] |
152
- | **_offset** | **Integer** | Pagination of the record set. Offset is a zero based index. | [optional][default to 0] |
153
- | **_expand** | **String** | The object expansion to perform on the result. Only option is link. | [optional] |
154
-
155
- ### Return type
156
-
157
- [**AffiliateLedgersResponse**](AffiliateLedgersResponse.md)
158
-
159
- ### Authorization
160
-
161
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
162
-
163
- ### HTTP request headers
164
-
165
- - **Content-Type**: application/json
166
- - **Accept**: application/json
167
-
1
+ # UltracartClient::AffiliateApi
2
+
3
+ All URIs are relative to *https://secure.ultracart.com/rest/v2*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**get_clicks_by_query**](AffiliateApi.md#get_clicks_by_query) | **POST** /affiliate/clicks/query | Retrieve clicks |
8
+ | [**get_ledgers_by_query**](AffiliateApi.md#get_ledgers_by_query) | **POST** /affiliate/ledgers/query | Retrieve ledger entries |
9
+
10
+
11
+ ## get_clicks_by_query
12
+
13
+ > <AffiliateClicksResponse> get_clicks_by_query(click_query, opts)
14
+
15
+ Retrieve clicks
16
+
17
+ Retrieves a group of clicks from the account based on a query object. If no parameters are specified, the API call will fail with a bad request error. Always specify some parameters to limit the scope of the clicks returned to ones you are truly interested in. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination.
18
+
19
+
20
+ ### Examples
21
+
22
+ ```ruby
23
+ # Internal API. No samples are provided as merchants will never need this api method
24
+ ```
25
+
26
+
27
+ #### Using the get_clicks_by_query_with_http_info variant
28
+
29
+ This returns an Array which contains the response data, status code and headers.
30
+
31
+ > <Array(<AffiliateClicksResponse>, Integer, Hash)> get_clicks_by_query_with_http_info(click_query, opts)
32
+
33
+ ```ruby
34
+ begin
35
+ # Retrieve clicks
36
+ data, status_code, headers = api_instance.get_clicks_by_query_with_http_info(click_query, opts)
37
+ p status_code # => 2xx
38
+ p headers # => { ... }
39
+ p data # => <AffiliateClicksResponse>
40
+ rescue UltracartClient::ApiError => e
41
+ puts "Error when calling AffiliateApi->get_clicks_by_query_with_http_info: #{e}"
42
+ end
43
+ ```
44
+
45
+ ### Parameters
46
+
47
+ | Name | Type | Description | Notes |
48
+ | ---- | ---- | ----------- | ----- |
49
+ | **click_query** | [**AffiliateClickQuery**](AffiliateClickQuery.md) | Click query | |
50
+ | **_limit** | **Integer** | The maximum number of records to return on this one API call. (Maximum 10000) | [optional][default to 10000] |
51
+ | **_offset** | **Integer** | Pagination of the record set. Offset is a zero based index. | [optional][default to 0] |
52
+ | **_expand** | **String** | The object expansion to perform on the result. Only option is link. | [optional] |
53
+
54
+ ### Return type
55
+
56
+ [**AffiliateClicksResponse**](AffiliateClicksResponse.md)
57
+
58
+ ### Authorization
59
+
60
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
61
+
62
+ ### HTTP request headers
63
+
64
+ - **Content-Type**: application/json
65
+ - **Accept**: application/json
66
+
67
+
68
+ ## get_ledgers_by_query
69
+
70
+ > <AffiliateLedgersResponse> get_ledgers_by_query(ledger_query, opts)
71
+
72
+ Retrieve ledger entries
73
+
74
+ Retrieves a group of ledger entries from the account based on a query object. If no parameters are specified, the API call will fail with a bad request error. Always specify some parameters to limit the scope of the ledgers returned to ones you are truly interested in. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination.
75
+
76
+
77
+ ### Examples
78
+
79
+ ```ruby
80
+ # Internal API. No samples are provided as merchants will never need this api method
81
+ ```
82
+
83
+
84
+ #### Using the get_ledgers_by_query_with_http_info variant
85
+
86
+ This returns an Array which contains the response data, status code and headers.
87
+
88
+ > <Array(<AffiliateLedgersResponse>, Integer, Hash)> get_ledgers_by_query_with_http_info(ledger_query, opts)
89
+
90
+ ```ruby
91
+ begin
92
+ # Retrieve ledger entries
93
+ data, status_code, headers = api_instance.get_ledgers_by_query_with_http_info(ledger_query, opts)
94
+ p status_code # => 2xx
95
+ p headers # => { ... }
96
+ p data # => <AffiliateLedgersResponse>
97
+ rescue UltracartClient::ApiError => e
98
+ puts "Error when calling AffiliateApi->get_ledgers_by_query_with_http_info: #{e}"
99
+ end
100
+ ```
101
+
102
+ ### Parameters
103
+
104
+ | Name | Type | Description | Notes |
105
+ | ---- | ---- | ----------- | ----- |
106
+ | **ledger_query** | [**AffiliateLedgerQuery**](AffiliateLedgerQuery.md) | Ledger query | |
107
+ | **_limit** | **Integer** | The maximum number of records to return on this one API call. (Maximum 200) | [optional][default to 100] |
108
+ | **_offset** | **Integer** | Pagination of the record set. Offset is a zero based index. | [optional][default to 0] |
109
+ | **_expand** | **String** | The object expansion to perform on the result. Only option is link. | [optional] |
110
+
111
+ ### Return type
112
+
113
+ [**AffiliateLedgersResponse**](AffiliateLedgersResponse.md)
114
+
115
+ ### Authorization
116
+
117
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
118
+
119
+ ### HTTP request headers
120
+
121
+ - **Content-Type**: application/json
122
+ - **Accept**: application/json
123
+