ultracart_api 4.1.163 → 4.1.166

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.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +201 -201
  3. data/README.md +611 -602
  4. data/docs/AffiliateApi.md +455 -455
  5. data/docs/AutoOrderApi.md +1694 -1694
  6. data/docs/BulkApi.md +335 -335
  7. data/docs/ChannelPartnerApi.md +1678 -1678
  8. data/docs/CheckoutApi.md +1622 -1622
  9. data/docs/ConversationApi.md +7867 -7867
  10. data/docs/ConversationEmbedApi.md +226 -226
  11. data/docs/CouponApi.md +1522 -1522
  12. data/docs/CustomerApi.md +2849 -2849
  13. data/docs/DatawarehouseApi.md +1637 -1637
  14. data/docs/EmailCommseqEmailReviewStatus.md +32 -0
  15. data/docs/EmailCommseqEmailReviewStatusResponse.md +26 -0
  16. data/docs/EmailCommseqEmailReviewStatusesRequest.md +18 -0
  17. data/docs/EmailCommseqEmailReviewStatusesResponse.md +26 -0
  18. data/docs/FraudApi.md +332 -332
  19. data/docs/FulfillmentApi.md +567 -567
  20. data/docs/GiftCertificateApi.md +617 -617
  21. data/docs/IntegrationLogApi.md +290 -290
  22. data/docs/ItemApi.md +2502 -2502
  23. data/docs/OauthApi.md +311 -311
  24. data/docs/OrderApi.md +3396 -3396
  25. data/docs/SfvbApi.md +3883 -3883
  26. data/docs/SsoApi.md +223 -223
  27. data/docs/StorefrontApi.md +10143 -10035
  28. data/docs/TaxApi.md +1699 -1699
  29. data/docs/UserApi.md +606 -606
  30. data/docs/WebhookApi.md +840 -840
  31. data/docs/WorkflowApi.md +666 -666
  32. data/lib/ultracart_api/api/storefront_api.rb +143 -0
  33. data/lib/ultracart_api/models/email_commseq_email_review_status.rb +324 -0
  34. data/lib/ultracart_api/models/email_commseq_email_review_status_response.rb +256 -0
  35. data/lib/ultracart_api/models/email_commseq_email_review_statuses_request.rb +222 -0
  36. data/lib/ultracart_api/models/email_commseq_email_review_statuses_response.rb +258 -0
  37. data/lib/ultracart_api/version.rb +1 -1
  38. data/lib/ultracart_api.rb +4 -0
  39. metadata +11 -3
@@ -1,226 +1,226 @@
1
- # UltracartClient::ConversationEmbedApi
2
-
3
- All URIs are relative to *https://secure.ultracart.com/rest/v2*
4
-
5
- | Method | HTTP request | Description |
6
- | ------ | ------------ | ----------- |
7
- | [**embed_oauth_device_authorize**](ConversationEmbedApi.md#embed_oauth_device_authorize) | **POST** /conversation_embed/oauth/device/authorize | Initiate a device authorization flow for an embed widget. |
8
- | [**embed_oauth_revoke**](ConversationEmbedApi.md#embed_oauth_revoke) | **POST** /conversation_embed/oauth/device/revoke | Revoke an embed widget access or refresh token. |
9
- | [**embed_oauth_token**](ConversationEmbedApi.md#embed_oauth_token) | **POST** /conversation_embed/oauth/device/token | Exchange a device_code or refresh_token for an access token (embed widget). |
10
- | [**get_embed_pbx_auth**](ConversationEmbedApi.md#get_embed_pbx_auth) | **PUT** /conversation_embed/pbx-auth | Get PBX authorization for the embedded softphone widget. |
11
-
12
-
13
- ## embed_oauth_device_authorize
14
-
15
- > embed_oauth_device_authorize(client_id, scope)
16
-
17
- Initiate a device authorization flow for an embed widget.
18
-
19
- RFC 8628 device authorization. Only the embed widget's client_id and the crm_embed scope are accepted.
20
-
21
-
22
- ### Examples
23
-
24
-
25
- (No example for this operation).
26
-
27
-
28
- #### Using the embed_oauth_device_authorize_with_http_info variant
29
-
30
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
31
-
32
- > <Array(nil, Integer, Hash)> embed_oauth_device_authorize_with_http_info(client_id, scope)
33
-
34
- ```ruby
35
- begin
36
- # Initiate a device authorization flow for an embed widget.
37
- data, status_code, headers = api_instance.embed_oauth_device_authorize_with_http_info(client_id, scope)
38
- p status_code # => 2xx
39
- p headers # => { ... }
40
- p data # => nil
41
- rescue UltracartClient::ApiError => e
42
- puts "Error when calling ConversationEmbedApi->embed_oauth_device_authorize_with_http_info: #{e}"
43
- end
44
- ```
45
-
46
- ### Parameters
47
-
48
- | Name | Type | Description | Notes |
49
- | ---- | ---- | ----------- | ----- |
50
- | **client_id** | **String** | The embed widget OAuth client_id. | |
51
- | **scope** | **String** | The application-level scope (must be &#39;crm_embed&#39;). | |
52
-
53
- ### Return type
54
-
55
- nil (empty response body)
56
-
57
- ### Authorization
58
-
59
- [ultraCartBrowserApiKey](../README.md#ultraCartBrowserApiKey), [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
60
-
61
- ### HTTP request headers
62
-
63
- - **Content-Type**: application/x-www-form-urlencoded
64
- - **Accept**: application/json
65
-
66
-
67
- ## embed_oauth_revoke
68
-
69
- > embed_oauth_revoke(client_id, token)
70
-
71
- Revoke an embed widget access or refresh token.
72
-
73
- RFC 7009 style — the token itself is proof of possession. Accepts either an access token or a refresh token in the 'token' parameter.
74
-
75
-
76
- ### Examples
77
-
78
-
79
- (No example for this operation).
80
-
81
-
82
- #### Using the embed_oauth_revoke_with_http_info variant
83
-
84
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
85
-
86
- > <Array(nil, Integer, Hash)> embed_oauth_revoke_with_http_info(client_id, token)
87
-
88
- ```ruby
89
- begin
90
- # Revoke an embed widget access or refresh token.
91
- data, status_code, headers = api_instance.embed_oauth_revoke_with_http_info(client_id, token)
92
- p status_code # => 2xx
93
- p headers # => { ... }
94
- p data # => nil
95
- rescue UltracartClient::ApiError => e
96
- puts "Error when calling ConversationEmbedApi->embed_oauth_revoke_with_http_info: #{e}"
97
- end
98
- ```
99
-
100
- ### Parameters
101
-
102
- | Name | Type | Description | Notes |
103
- | ---- | ---- | ----------- | ----- |
104
- | **client_id** | **String** | The embed widget OAuth client_id. | |
105
- | **token** | **String** | The token to revoke (access token or refresh token). | |
106
-
107
- ### Return type
108
-
109
- nil (empty response body)
110
-
111
- ### Authorization
112
-
113
- [ultraCartBrowserApiKey](../README.md#ultraCartBrowserApiKey), [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
114
-
115
- ### HTTP request headers
116
-
117
- - **Content-Type**: application/x-www-form-urlencoded
118
- - **Accept**: application/json
119
-
120
-
121
- ## embed_oauth_token
122
-
123
- > embed_oauth_token(client_id, grant_type, opts)
124
-
125
- Exchange a device_code or refresh_token for an access token (embed widget).
126
-
127
- Accepts grant_type=urn:ietf:params:oauth:grant-type:device_code or grant_type=refresh_token. Other grant types are rejected. Access tokens issued here expire in 60 minutes.
128
-
129
-
130
- ### Examples
131
-
132
-
133
- (No example for this operation).
134
-
135
-
136
- #### Using the embed_oauth_token_with_http_info variant
137
-
138
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
139
-
140
- > <Array(nil, Integer, Hash)> embed_oauth_token_with_http_info(client_id, grant_type, opts)
141
-
142
- ```ruby
143
- begin
144
- # Exchange a device_code or refresh_token for an access token (embed widget).
145
- data, status_code, headers = api_instance.embed_oauth_token_with_http_info(client_id, grant_type, opts)
146
- p status_code # => 2xx
147
- p headers # => { ... }
148
- p data # => nil
149
- rescue UltracartClient::ApiError => e
150
- puts "Error when calling ConversationEmbedApi->embed_oauth_token_with_http_info: #{e}"
151
- end
152
- ```
153
-
154
- ### Parameters
155
-
156
- | Name | Type | Description | Notes |
157
- | ---- | ---- | ----------- | ----- |
158
- | **client_id** | **String** | The embed widget OAuth client_id. | |
159
- | **grant_type** | **String** | Grant type. | |
160
- | **device_code** | **String** | The device code received from /oauth/device/authorize (required for device_code grant). | [optional] |
161
- | **refresh_token** | **String** | The refresh token (required for refresh_token grant). | [optional] |
162
-
163
- ### Return type
164
-
165
- nil (empty response body)
166
-
167
- ### Authorization
168
-
169
- [ultraCartBrowserApiKey](../README.md#ultraCartBrowserApiKey), [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
170
-
171
- ### HTTP request headers
172
-
173
- - **Content-Type**: application/x-www-form-urlencoded
174
- - **Accept**: application/json
175
-
176
-
177
- ## get_embed_pbx_auth
178
-
179
- > <ConversationEmbedPbxAuthResponse> get_embed_pbx_auth
180
-
181
- Get PBX authorization for the embedded softphone widget.
182
-
183
- Returns a narrow subset of agent auth fields — only what the softphone widget needs to connect to the PBX relay. Twilio tokens, conversation JWTs, and chat/customer permissions are intentionally excluded.
184
-
185
-
186
- ### Examples
187
-
188
-
189
- (No example for this operation).
190
-
191
-
192
- #### Using the get_embed_pbx_auth_with_http_info variant
193
-
194
- This returns an Array which contains the response data, status code and headers.
195
-
196
- > <Array(<ConversationEmbedPbxAuthResponse>, Integer, Hash)> get_embed_pbx_auth_with_http_info
197
-
198
- ```ruby
199
- begin
200
- # Get PBX authorization for the embedded softphone widget.
201
- data, status_code, headers = api_instance.get_embed_pbx_auth_with_http_info
202
- p status_code # => 2xx
203
- p headers # => { ... }
204
- p data # => <ConversationEmbedPbxAuthResponse>
205
- rescue UltracartClient::ApiError => e
206
- puts "Error when calling ConversationEmbedApi->get_embed_pbx_auth_with_http_info: #{e}"
207
- end
208
- ```
209
-
210
- ### Parameters
211
-
212
- This endpoint does not need any parameter.
213
-
214
- ### Return type
215
-
216
- [**ConversationEmbedPbxAuthResponse**](ConversationEmbedPbxAuthResponse.md)
217
-
218
- ### Authorization
219
-
220
- [ultraCartOauth](../README.md#ultraCartOauth)
221
-
222
- ### HTTP request headers
223
-
224
- - **Content-Type**: Not defined
225
- - **Accept**: application/json
226
-
1
+ # UltracartClient::ConversationEmbedApi
2
+
3
+ All URIs are relative to *https://secure.ultracart.com/rest/v2*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**embed_oauth_device_authorize**](ConversationEmbedApi.md#embed_oauth_device_authorize) | **POST** /conversation_embed/oauth/device/authorize | Initiate a device authorization flow for an embed widget. |
8
+ | [**embed_oauth_revoke**](ConversationEmbedApi.md#embed_oauth_revoke) | **POST** /conversation_embed/oauth/device/revoke | Revoke an embed widget access or refresh token. |
9
+ | [**embed_oauth_token**](ConversationEmbedApi.md#embed_oauth_token) | **POST** /conversation_embed/oauth/device/token | Exchange a device_code or refresh_token for an access token (embed widget). |
10
+ | [**get_embed_pbx_auth**](ConversationEmbedApi.md#get_embed_pbx_auth) | **PUT** /conversation_embed/pbx-auth | Get PBX authorization for the embedded softphone widget. |
11
+
12
+
13
+ ## embed_oauth_device_authorize
14
+
15
+ > embed_oauth_device_authorize(client_id, scope)
16
+
17
+ Initiate a device authorization flow for an embed widget.
18
+
19
+ RFC 8628 device authorization. Only the embed widget's client_id and the crm_embed scope are accepted.
20
+
21
+
22
+ ### Examples
23
+
24
+
25
+ (No example for this operation).
26
+
27
+
28
+ #### Using the embed_oauth_device_authorize_with_http_info variant
29
+
30
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
31
+
32
+ > <Array(nil, Integer, Hash)> embed_oauth_device_authorize_with_http_info(client_id, scope)
33
+
34
+ ```ruby
35
+ begin
36
+ # Initiate a device authorization flow for an embed widget.
37
+ data, status_code, headers = api_instance.embed_oauth_device_authorize_with_http_info(client_id, scope)
38
+ p status_code # => 2xx
39
+ p headers # => { ... }
40
+ p data # => nil
41
+ rescue UltracartClient::ApiError => e
42
+ puts "Error when calling ConversationEmbedApi->embed_oauth_device_authorize_with_http_info: #{e}"
43
+ end
44
+ ```
45
+
46
+ ### Parameters
47
+
48
+ | Name | Type | Description | Notes |
49
+ | ---- | ---- | ----------- | ----- |
50
+ | **client_id** | **String** | The embed widget OAuth client_id. | |
51
+ | **scope** | **String** | The application-level scope (must be &#39;crm_embed&#39;). | |
52
+
53
+ ### Return type
54
+
55
+ nil (empty response body)
56
+
57
+ ### Authorization
58
+
59
+ [ultraCartBrowserApiKey](../README.md#ultraCartBrowserApiKey), [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
60
+
61
+ ### HTTP request headers
62
+
63
+ - **Content-Type**: application/x-www-form-urlencoded
64
+ - **Accept**: application/json
65
+
66
+
67
+ ## embed_oauth_revoke
68
+
69
+ > embed_oauth_revoke(client_id, token)
70
+
71
+ Revoke an embed widget access or refresh token.
72
+
73
+ RFC 7009 style — the token itself is proof of possession. Accepts either an access token or a refresh token in the 'token' parameter.
74
+
75
+
76
+ ### Examples
77
+
78
+
79
+ (No example for this operation).
80
+
81
+
82
+ #### Using the embed_oauth_revoke_with_http_info variant
83
+
84
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
85
+
86
+ > <Array(nil, Integer, Hash)> embed_oauth_revoke_with_http_info(client_id, token)
87
+
88
+ ```ruby
89
+ begin
90
+ # Revoke an embed widget access or refresh token.
91
+ data, status_code, headers = api_instance.embed_oauth_revoke_with_http_info(client_id, token)
92
+ p status_code # => 2xx
93
+ p headers # => { ... }
94
+ p data # => nil
95
+ rescue UltracartClient::ApiError => e
96
+ puts "Error when calling ConversationEmbedApi->embed_oauth_revoke_with_http_info: #{e}"
97
+ end
98
+ ```
99
+
100
+ ### Parameters
101
+
102
+ | Name | Type | Description | Notes |
103
+ | ---- | ---- | ----------- | ----- |
104
+ | **client_id** | **String** | The embed widget OAuth client_id. | |
105
+ | **token** | **String** | The token to revoke (access token or refresh token). | |
106
+
107
+ ### Return type
108
+
109
+ nil (empty response body)
110
+
111
+ ### Authorization
112
+
113
+ [ultraCartBrowserApiKey](../README.md#ultraCartBrowserApiKey), [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
114
+
115
+ ### HTTP request headers
116
+
117
+ - **Content-Type**: application/x-www-form-urlencoded
118
+ - **Accept**: application/json
119
+
120
+
121
+ ## embed_oauth_token
122
+
123
+ > embed_oauth_token(client_id, grant_type, opts)
124
+
125
+ Exchange a device_code or refresh_token for an access token (embed widget).
126
+
127
+ Accepts grant_type=urn:ietf:params:oauth:grant-type:device_code or grant_type=refresh_token. Other grant types are rejected. Access tokens issued here expire in 60 minutes.
128
+
129
+
130
+ ### Examples
131
+
132
+
133
+ (No example for this operation).
134
+
135
+
136
+ #### Using the embed_oauth_token_with_http_info variant
137
+
138
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
139
+
140
+ > <Array(nil, Integer, Hash)> embed_oauth_token_with_http_info(client_id, grant_type, opts)
141
+
142
+ ```ruby
143
+ begin
144
+ # Exchange a device_code or refresh_token for an access token (embed widget).
145
+ data, status_code, headers = api_instance.embed_oauth_token_with_http_info(client_id, grant_type, opts)
146
+ p status_code # => 2xx
147
+ p headers # => { ... }
148
+ p data # => nil
149
+ rescue UltracartClient::ApiError => e
150
+ puts "Error when calling ConversationEmbedApi->embed_oauth_token_with_http_info: #{e}"
151
+ end
152
+ ```
153
+
154
+ ### Parameters
155
+
156
+ | Name | Type | Description | Notes |
157
+ | ---- | ---- | ----------- | ----- |
158
+ | **client_id** | **String** | The embed widget OAuth client_id. | |
159
+ | **grant_type** | **String** | Grant type. | |
160
+ | **device_code** | **String** | The device code received from /oauth/device/authorize (required for device_code grant). | [optional] |
161
+ | **refresh_token** | **String** | The refresh token (required for refresh_token grant). | [optional] |
162
+
163
+ ### Return type
164
+
165
+ nil (empty response body)
166
+
167
+ ### Authorization
168
+
169
+ [ultraCartBrowserApiKey](../README.md#ultraCartBrowserApiKey), [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
170
+
171
+ ### HTTP request headers
172
+
173
+ - **Content-Type**: application/x-www-form-urlencoded
174
+ - **Accept**: application/json
175
+
176
+
177
+ ## get_embed_pbx_auth
178
+
179
+ > <ConversationEmbedPbxAuthResponse> get_embed_pbx_auth
180
+
181
+ Get PBX authorization for the embedded softphone widget.
182
+
183
+ Returns a narrow subset of agent auth fields — only what the softphone widget needs to connect to the PBX relay. Twilio tokens, conversation JWTs, and chat/customer permissions are intentionally excluded.
184
+
185
+
186
+ ### Examples
187
+
188
+
189
+ (No example for this operation).
190
+
191
+
192
+ #### Using the get_embed_pbx_auth_with_http_info variant
193
+
194
+ This returns an Array which contains the response data, status code and headers.
195
+
196
+ > <Array(<ConversationEmbedPbxAuthResponse>, Integer, Hash)> get_embed_pbx_auth_with_http_info
197
+
198
+ ```ruby
199
+ begin
200
+ # Get PBX authorization for the embedded softphone widget.
201
+ data, status_code, headers = api_instance.get_embed_pbx_auth_with_http_info
202
+ p status_code # => 2xx
203
+ p headers # => { ... }
204
+ p data # => <ConversationEmbedPbxAuthResponse>
205
+ rescue UltracartClient::ApiError => e
206
+ puts "Error when calling ConversationEmbedApi->get_embed_pbx_auth_with_http_info: #{e}"
207
+ end
208
+ ```
209
+
210
+ ### Parameters
211
+
212
+ This endpoint does not need any parameter.
213
+
214
+ ### Return type
215
+
216
+ [**ConversationEmbedPbxAuthResponse**](ConversationEmbedPbxAuthResponse.md)
217
+
218
+ ### Authorization
219
+
220
+ [ultraCartOauth](../README.md#ultraCartOauth)
221
+
222
+ ### HTTP request headers
223
+
224
+ - **Content-Type**: Not defined
225
+ - **Accept**: application/json
226
+