smooch-api 3.0.0 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +56 -56
- data/docs/AppApi.md +11 -11
- data/docs/AppUserApi.md +12 -12
- data/docs/AttachmentsApi.md +2 -2
- data/docs/ConversationApi.md +6 -6
- data/docs/IntegrationApi.md +10 -10
- data/docs/MenuApi.md +4 -4
- data/docs/ServiceAccountApi.md +11 -11
- data/docs/WebhookApi.md +6 -6
- data/lib/smooch-api/api/app_api.rb +11 -11
- data/lib/smooch-api/api/app_user_api.rb +12 -12
- data/lib/smooch-api/api/attachments_api.rb +2 -2
- data/lib/smooch-api/api/conversation_api.rb +6 -6
- data/lib/smooch-api/api/integration_api.rb +10 -10
- data/lib/smooch-api/api/menu_api.rb +4 -4
- data/lib/smooch-api/api/service_account_api.rb +11 -11
- data/lib/smooch-api/api/webhook_api.rb +6 -6
- data/lib/smooch-api/api_client.rb +1 -1
- data/lib/smooch-api/api_error.rb +1 -1
- data/lib/smooch-api/configuration.rb +2 -2
- data/lib/smooch-api/models/action.rb +1 -1
- data/lib/smooch-api/models/app.rb +1 -1
- data/lib/smooch-api/models/app_create.rb +1 -1
- data/lib/smooch-api/models/app_response.rb +1 -1
- data/lib/smooch-api/models/app_settings.rb +1 -1
- data/lib/smooch-api/models/app_update.rb +1 -1
- data/lib/smooch-api/models/app_user.rb +1 -1
- data/lib/smooch-api/models/app_user_business_systems_response.rb +1 -1
- data/lib/smooch-api/models/app_user_channels_response.rb +1 -1
- data/lib/smooch-api/models/app_user_link.rb +1 -1
- data/lib/smooch-api/models/app_user_pre_create.rb +1 -1
- data/lib/smooch-api/models/app_user_response.rb +1 -1
- data/lib/smooch-api/models/app_user_update.rb +1 -1
- data/lib/smooch-api/models/attachment_response.rb +1 -1
- data/lib/smooch-api/models/auth_code_response.rb +1 -1
- data/lib/smooch-api/models/business_system_item.rb +1 -1
- data/lib/smooch-api/models/channel_entity_item.rb +1 -1
- data/lib/smooch-api/models/client.rb +1 -1
- data/lib/smooch-api/models/client_info.rb +1 -1
- data/lib/smooch-api/models/confirmation.rb +1 -1
- data/lib/smooch-api/models/conversation.rb +1 -1
- data/lib/smooch-api/models/destination.rb +1 -1
- data/lib/smooch-api/models/display_settings.rb +1 -1
- data/lib/smooch-api/models/get_messages_response.rb +1 -1
- data/lib/smooch-api/models/integration.rb +1 -1
- data/lib/smooch-api/models/integration_create.rb +1 -1
- data/lib/smooch-api/models/integration_response.rb +1 -1
- data/lib/smooch-api/models/integration_update.rb +1 -1
- data/lib/smooch-api/models/jwt_response.rb +1 -1
- data/lib/smooch-api/models/link_request_response.rb +1 -1
- data/lib/smooch-api/models/link_request_response_link_requests.rb +1 -1
- data/lib/smooch-api/models/list_apps_response.rb +1 -1
- data/lib/smooch-api/models/list_integrations_response.rb +1 -1
- data/lib/smooch-api/models/list_secret_keys_response.rb +1 -1
- data/lib/smooch-api/models/list_service_accounts_response.rb +1 -1
- data/lib/smooch-api/models/list_webhooks_response.rb +1 -1
- data/lib/smooch-api/models/menu.rb +1 -1
- data/lib/smooch-api/models/menu_item.rb +1 -1
- data/lib/smooch-api/models/menu_response.rb +1 -1
- data/lib/smooch-api/models/message.rb +1 -1
- data/lib/smooch-api/models/message_item.rb +1 -1
- data/lib/smooch-api/models/message_post.rb +1 -1
- data/lib/smooch-api/models/message_response.rb +1 -1
- data/lib/smooch-api/models/secret_key.rb +1 -1
- data/lib/smooch-api/models/secret_key_create.rb +1 -1
- data/lib/smooch-api/models/secret_key_response.rb +1 -1
- data/lib/smooch-api/models/service_account.rb +1 -1
- data/lib/smooch-api/models/service_account_create.rb +1 -1
- data/lib/smooch-api/models/service_account_response.rb +1 -1
- data/lib/smooch-api/models/service_account_update.rb +1 -1
- data/lib/smooch-api/models/source.rb +1 -1
- data/lib/smooch-api/models/typing_activity_trigger.rb +1 -1
- data/lib/smooch-api/models/webhook.rb +1 -1
- data/lib/smooch-api/models/webhook_create.rb +1 -1
- data/lib/smooch-api/models/webhook_response.rb +1 -1
- data/lib/smooch-api/models/webhook_update.rb +1 -1
- data/lib/smooch-api/version.rb +2 -2
- data/lib/smooch-api.rb +1 -1
- data/smooch-api.gemspec +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +4 -4
- data/spec/spec_helper.rb +1 -1
- metadata +2 -2
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.
|
6
|
+
OpenAPI spec version: 3.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -56,7 +56,7 @@ module SmoochApi
|
|
56
56
|
fail ArgumentError, "Missing the required parameter 'access' when calling AttachmentsApi.upload_attachment"
|
57
57
|
end
|
58
58
|
# resource path
|
59
|
-
local_var_path = "/apps/{appId}/attachments".sub('{' + 'appId' + '}', app_id.to_s)
|
59
|
+
local_var_path = "/v1/apps/{appId}/attachments".sub('{' + 'appId' + '}', app_id.to_s)
|
60
60
|
|
61
61
|
# query parameters
|
62
62
|
query_params = {}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.
|
6
|
+
OpenAPI spec version: 3.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -50,7 +50,7 @@ module SmoochApi
|
|
50
50
|
fail ArgumentError, "Missing the required parameter 'user_id' when calling ConversationApi.delete_messages"
|
51
51
|
end
|
52
52
|
# resource path
|
53
|
-
local_var_path = "/apps/{appId}/appusers/{userId}/messages".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
|
53
|
+
local_var_path = "/v1/apps/{appId}/appusers/{userId}/messages".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
|
54
54
|
|
55
55
|
# query parameters
|
56
56
|
query_params = {}
|
@@ -114,7 +114,7 @@ module SmoochApi
|
|
114
114
|
fail ArgumentError, "Missing the required parameter 'user_id' when calling ConversationApi.get_messages"
|
115
115
|
end
|
116
116
|
# resource path
|
117
|
-
local_var_path = "/apps/{appId}/appusers/{userId}/messages".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
|
117
|
+
local_var_path = "/v1/apps/{appId}/appusers/{userId}/messages".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
|
118
118
|
|
119
119
|
# query parameters
|
120
120
|
query_params = {}
|
@@ -183,7 +183,7 @@ module SmoochApi
|
|
183
183
|
fail ArgumentError, "Missing the required parameter 'message_post_body' when calling ConversationApi.post_message"
|
184
184
|
end
|
185
185
|
# resource path
|
186
|
-
local_var_path = "/apps/{appId}/appusers/{userId}/messages".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
|
186
|
+
local_var_path = "/v1/apps/{appId}/appusers/{userId}/messages".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
|
187
187
|
|
188
188
|
# query parameters
|
189
189
|
query_params = {}
|
@@ -244,7 +244,7 @@ module SmoochApi
|
|
244
244
|
fail ArgumentError, "Missing the required parameter 'user_id' when calling ConversationApi.reset_unread_count"
|
245
245
|
end
|
246
246
|
# resource path
|
247
|
-
local_var_path = "/apps/{appId}/appusers/{userId}/conversation/read".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
|
247
|
+
local_var_path = "/v1/apps/{appId}/appusers/{userId}/conversation/read".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
|
248
248
|
|
249
249
|
# query parameters
|
250
250
|
query_params = {}
|
@@ -310,7 +310,7 @@ module SmoochApi
|
|
310
310
|
fail ArgumentError, "Missing the required parameter 'typing_activity_trigger_body' when calling ConversationApi.trigger_typing_activity"
|
311
311
|
end
|
312
312
|
# resource path
|
313
|
-
local_var_path = "/apps/{appId}/appusers/{userId}/conversation/activity".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
|
313
|
+
local_var_path = "/v1/apps/{appId}/appusers/{userId}/conversation/activity".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
|
314
314
|
|
315
315
|
# query parameters
|
316
316
|
query_params = {}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.
|
6
|
+
OpenAPI spec version: 3.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -50,7 +50,7 @@ module SmoochApi
|
|
50
50
|
fail ArgumentError, "Missing the required parameter 'integration_create_body' when calling IntegrationApi.create_integration"
|
51
51
|
end
|
52
52
|
# resource path
|
53
|
-
local_var_path = "/apps/{appId}/integrations".sub('{' + 'appId' + '}', app_id.to_s)
|
53
|
+
local_var_path = "/v1/apps/{appId}/integrations".sub('{' + 'appId' + '}', app_id.to_s)
|
54
54
|
|
55
55
|
# query parameters
|
56
56
|
query_params = {}
|
@@ -117,7 +117,7 @@ module SmoochApi
|
|
117
117
|
fail ArgumentError, "Missing the required parameter 'menu_create_body' when calling IntegrationApi.create_integration_menu"
|
118
118
|
end
|
119
119
|
# resource path
|
120
|
-
local_var_path = "/apps/{appId}/integrations/{integrationId}/menu".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'integrationId' + '}', integration_id.to_s)
|
120
|
+
local_var_path = "/v1/apps/{appId}/integrations/{integrationId}/menu".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'integrationId' + '}', integration_id.to_s)
|
121
121
|
|
122
122
|
# query parameters
|
123
123
|
query_params = {}
|
@@ -178,7 +178,7 @@ module SmoochApi
|
|
178
178
|
fail ArgumentError, "Missing the required parameter 'integration_id' when calling IntegrationApi.delete_integration"
|
179
179
|
end
|
180
180
|
# resource path
|
181
|
-
local_var_path = "/apps/{appId}/integrations/{integrationId}".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'integrationId' + '}', integration_id.to_s)
|
181
|
+
local_var_path = "/v1/apps/{appId}/integrations/{integrationId}".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'integrationId' + '}', integration_id.to_s)
|
182
182
|
|
183
183
|
# query parameters
|
184
184
|
query_params = {}
|
@@ -238,7 +238,7 @@ module SmoochApi
|
|
238
238
|
fail ArgumentError, "Missing the required parameter 'integration_id' when calling IntegrationApi.delete_integration_menu"
|
239
239
|
end
|
240
240
|
# resource path
|
241
|
-
local_var_path = "/apps/{appId}/integrations/{integrationId}/menu".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'integrationId' + '}', integration_id.to_s)
|
241
|
+
local_var_path = "/v1/apps/{appId}/integrations/{integrationId}/menu".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'integrationId' + '}', integration_id.to_s)
|
242
242
|
|
243
243
|
# query parameters
|
244
244
|
query_params = {}
|
@@ -298,7 +298,7 @@ module SmoochApi
|
|
298
298
|
fail ArgumentError, "Missing the required parameter 'integration_id' when calling IntegrationApi.get_integration"
|
299
299
|
end
|
300
300
|
# resource path
|
301
|
-
local_var_path = "/apps/{appId}/integrations/{integrationId}".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'integrationId' + '}', integration_id.to_s)
|
301
|
+
local_var_path = "/v1/apps/{appId}/integrations/{integrationId}".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'integrationId' + '}', integration_id.to_s)
|
302
302
|
|
303
303
|
# query parameters
|
304
304
|
query_params = {}
|
@@ -359,7 +359,7 @@ module SmoochApi
|
|
359
359
|
fail ArgumentError, "Missing the required parameter 'integration_id' when calling IntegrationApi.get_integration_menu"
|
360
360
|
end
|
361
361
|
# resource path
|
362
|
-
local_var_path = "/apps/{appId}/integrations/{integrationId}/menu".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'integrationId' + '}', integration_id.to_s)
|
362
|
+
local_var_path = "/v1/apps/{appId}/integrations/{integrationId}/menu".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'integrationId' + '}', integration_id.to_s)
|
363
363
|
|
364
364
|
# query parameters
|
365
365
|
query_params = {}
|
@@ -416,7 +416,7 @@ module SmoochApi
|
|
416
416
|
fail ArgumentError, "Missing the required parameter 'app_id' when calling IntegrationApi.list_integrations"
|
417
417
|
end
|
418
418
|
# resource path
|
419
|
-
local_var_path = "/apps/{appId}/integrations".sub('{' + 'appId' + '}', app_id.to_s)
|
419
|
+
local_var_path = "/v1/apps/{appId}/integrations".sub('{' + 'appId' + '}', app_id.to_s)
|
420
420
|
|
421
421
|
# query parameters
|
422
422
|
query_params = {}
|
@@ -484,7 +484,7 @@ module SmoochApi
|
|
484
484
|
fail ArgumentError, "Missing the required parameter 'integration_update_body' when calling IntegrationApi.update_integration"
|
485
485
|
end
|
486
486
|
# resource path
|
487
|
-
local_var_path = "/apps/{appId}/integrations/{integrationId}".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'integrationId' + '}', integration_id.to_s)
|
487
|
+
local_var_path = "/v1/apps/{appId}/integrations/{integrationId}".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'integrationId' + '}', integration_id.to_s)
|
488
488
|
|
489
489
|
# query parameters
|
490
490
|
query_params = {}
|
@@ -551,7 +551,7 @@ module SmoochApi
|
|
551
551
|
fail ArgumentError, "Missing the required parameter 'menu_update_body' when calling IntegrationApi.update_integration_menu"
|
552
552
|
end
|
553
553
|
# resource path
|
554
|
-
local_var_path = "/apps/{appId}/integrations/{integrationId}/menu".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'integrationId' + '}', integration_id.to_s)
|
554
|
+
local_var_path = "/v1/apps/{appId}/integrations/{integrationId}/menu".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'integrationId' + '}', integration_id.to_s)
|
555
555
|
|
556
556
|
# query parameters
|
557
557
|
query_params = {}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.
|
6
|
+
OpenAPI spec version: 3.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -44,7 +44,7 @@ module SmoochApi
|
|
44
44
|
fail ArgumentError, "Missing the required parameter 'app_id' when calling MenuApi.delete_menu"
|
45
45
|
end
|
46
46
|
# resource path
|
47
|
-
local_var_path = "/apps/{appId}/menu".sub('{' + 'appId' + '}', app_id.to_s)
|
47
|
+
local_var_path = "/v1/apps/{appId}/menu".sub('{' + 'appId' + '}', app_id.to_s)
|
48
48
|
|
49
49
|
# query parameters
|
50
50
|
query_params = {}
|
@@ -99,7 +99,7 @@ module SmoochApi
|
|
99
99
|
fail ArgumentError, "Missing the required parameter 'app_id' when calling MenuApi.get_menu"
|
100
100
|
end
|
101
101
|
# resource path
|
102
|
-
local_var_path = "/apps/{appId}/menu".sub('{' + 'appId' + '}', app_id.to_s)
|
102
|
+
local_var_path = "/v1/apps/{appId}/menu".sub('{' + 'appId' + '}', app_id.to_s)
|
103
103
|
|
104
104
|
# query parameters
|
105
105
|
query_params = {}
|
@@ -160,7 +160,7 @@ module SmoochApi
|
|
160
160
|
fail ArgumentError, "Missing the required parameter 'menu_update_body' when calling MenuApi.update_menu"
|
161
161
|
end
|
162
162
|
# resource path
|
163
|
-
local_var_path = "/apps/{appId}/menu".sub('{' + 'appId' + '}', app_id.to_s)
|
163
|
+
local_var_path = "/v1/apps/{appId}/menu".sub('{' + 'appId' + '}', app_id.to_s)
|
164
164
|
|
165
165
|
# query parameters
|
166
166
|
query_params = {}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.
|
6
|
+
OpenAPI spec version: 3.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -50,7 +50,7 @@ module SmoochApi
|
|
50
50
|
fail ArgumentError, "Missing the required parameter 'secret_key_create_body' when calling ServiceAccountApi.create_secret_key"
|
51
51
|
end
|
52
52
|
# resource path
|
53
|
-
local_var_path = "/serviceaccounts/{serviceAccountId}/keys".sub('{' + 'serviceAccountId' + '}', service_account_id.to_s)
|
53
|
+
local_var_path = "/v1/serviceaccounts/{serviceAccountId}/keys".sub('{' + 'serviceAccountId' + '}', service_account_id.to_s)
|
54
54
|
|
55
55
|
# query parameters
|
56
56
|
query_params = {}
|
@@ -105,7 +105,7 @@ module SmoochApi
|
|
105
105
|
fail ArgumentError, "Missing the required parameter 'service_account_create_body' when calling ServiceAccountApi.create_service_account"
|
106
106
|
end
|
107
107
|
# resource path
|
108
|
-
local_var_path = "/serviceaccounts"
|
108
|
+
local_var_path = "/v1/serviceaccounts"
|
109
109
|
|
110
110
|
# query parameters
|
111
111
|
query_params = {}
|
@@ -166,7 +166,7 @@ module SmoochApi
|
|
166
166
|
fail ArgumentError, "Missing the required parameter 'key_id' when calling ServiceAccountApi.delete_secret_key"
|
167
167
|
end
|
168
168
|
# resource path
|
169
|
-
local_var_path = "/serviceaccounts/{serviceAccountId}/keys/{keyId}".sub('{' + 'serviceAccountId' + '}', service_account_id.to_s).sub('{' + 'keyId' + '}', key_id.to_s)
|
169
|
+
local_var_path = "/v1/serviceaccounts/{serviceAccountId}/keys/{keyId}".sub('{' + 'serviceAccountId' + '}', service_account_id.to_s).sub('{' + 'keyId' + '}', key_id.to_s)
|
170
170
|
|
171
171
|
# query parameters
|
172
172
|
query_params = {}
|
@@ -220,7 +220,7 @@ module SmoochApi
|
|
220
220
|
fail ArgumentError, "Missing the required parameter 'service_account_id' when calling ServiceAccountApi.delete_service_account"
|
221
221
|
end
|
222
222
|
# resource path
|
223
|
-
local_var_path = "/serviceaccounts/{serviceAccountId}".sub('{' + 'serviceAccountId' + '}', service_account_id.to_s)
|
223
|
+
local_var_path = "/v1/serviceaccounts/{serviceAccountId}".sub('{' + 'serviceAccountId' + '}', service_account_id.to_s)
|
224
224
|
|
225
225
|
# query parameters
|
226
226
|
query_params = {}
|
@@ -280,7 +280,7 @@ module SmoochApi
|
|
280
280
|
fail ArgumentError, "Missing the required parameter 'key_id' when calling ServiceAccountApi.get_jwt"
|
281
281
|
end
|
282
282
|
# resource path
|
283
|
-
local_var_path = "/serviceaccounts/{serviceAccountId}/keys/{keyId}/jwt".sub('{' + 'serviceAccountId' + '}', service_account_id.to_s).sub('{' + 'keyId' + '}', key_id.to_s)
|
283
|
+
local_var_path = "/v1/serviceaccounts/{serviceAccountId}/keys/{keyId}/jwt".sub('{' + 'serviceAccountId' + '}', service_account_id.to_s).sub('{' + 'keyId' + '}', key_id.to_s)
|
284
284
|
|
285
285
|
# query parameters
|
286
286
|
query_params = {}
|
@@ -341,7 +341,7 @@ module SmoochApi
|
|
341
341
|
fail ArgumentError, "Missing the required parameter 'key_id' when calling ServiceAccountApi.get_secret_key"
|
342
342
|
end
|
343
343
|
# resource path
|
344
|
-
local_var_path = "/serviceaccounts/{serviceAccountId}/keys/{keyId}".sub('{' + 'serviceAccountId' + '}', service_account_id.to_s).sub('{' + 'keyId' + '}', key_id.to_s)
|
344
|
+
local_var_path = "/v1/serviceaccounts/{serviceAccountId}/keys/{keyId}".sub('{' + 'serviceAccountId' + '}', service_account_id.to_s).sub('{' + 'keyId' + '}', key_id.to_s)
|
345
345
|
|
346
346
|
# query parameters
|
347
347
|
query_params = {}
|
@@ -396,7 +396,7 @@ module SmoochApi
|
|
396
396
|
fail ArgumentError, "Missing the required parameter 'service_account_id' when calling ServiceAccountApi.get_service_account"
|
397
397
|
end
|
398
398
|
# resource path
|
399
|
-
local_var_path = "/serviceaccounts/{serviceAccountId}".sub('{' + 'serviceAccountId' + '}', service_account_id.to_s)
|
399
|
+
local_var_path = "/v1/serviceaccounts/{serviceAccountId}".sub('{' + 'serviceAccountId' + '}', service_account_id.to_s)
|
400
400
|
|
401
401
|
# query parameters
|
402
402
|
query_params = {}
|
@@ -451,7 +451,7 @@ module SmoochApi
|
|
451
451
|
fail ArgumentError, "Missing the required parameter 'service_account_id' when calling ServiceAccountApi.list_secret_keys"
|
452
452
|
end
|
453
453
|
# resource path
|
454
|
-
local_var_path = "/serviceaccounts/{serviceAccountId}/keys".sub('{' + 'serviceAccountId' + '}', service_account_id.to_s)
|
454
|
+
local_var_path = "/v1/serviceaccounts/{serviceAccountId}/keys".sub('{' + 'serviceAccountId' + '}', service_account_id.to_s)
|
455
455
|
|
456
456
|
# query parameters
|
457
457
|
query_params = {}
|
@@ -504,7 +504,7 @@ module SmoochApi
|
|
504
504
|
@api_client.config.logger.debug "Calling API: ServiceAccountApi.list_service_accounts ..."
|
505
505
|
end
|
506
506
|
# resource path
|
507
|
-
local_var_path = "/serviceaccounts"
|
507
|
+
local_var_path = "/v1/serviceaccounts"
|
508
508
|
|
509
509
|
# query parameters
|
510
510
|
query_params = {}
|
@@ -567,7 +567,7 @@ module SmoochApi
|
|
567
567
|
fail ArgumentError, "Missing the required parameter 'service_account_update_body' when calling ServiceAccountApi.update_service_account"
|
568
568
|
end
|
569
569
|
# resource path
|
570
|
-
local_var_path = "/serviceaccounts/{serviceAccountId}".sub('{' + 'serviceAccountId' + '}', service_account_id.to_s)
|
570
|
+
local_var_path = "/v1/serviceaccounts/{serviceAccountId}".sub('{' + 'serviceAccountId' + '}', service_account_id.to_s)
|
571
571
|
|
572
572
|
# query parameters
|
573
573
|
query_params = {}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.
|
6
|
+
OpenAPI spec version: 3.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -50,7 +50,7 @@ module SmoochApi
|
|
50
50
|
fail ArgumentError, "Missing the required parameter 'webhook_create_body' when calling WebhookApi.create_webhook"
|
51
51
|
end
|
52
52
|
# resource path
|
53
|
-
local_var_path = "/apps/{appId}/webhooks".sub('{' + 'appId' + '}', app_id.to_s)
|
53
|
+
local_var_path = "/v1/apps/{appId}/webhooks".sub('{' + 'appId' + '}', app_id.to_s)
|
54
54
|
|
55
55
|
# query parameters
|
56
56
|
query_params = {}
|
@@ -111,7 +111,7 @@ module SmoochApi
|
|
111
111
|
fail ArgumentError, "Missing the required parameter 'webhook_id' when calling WebhookApi.delete_webhook"
|
112
112
|
end
|
113
113
|
# resource path
|
114
|
-
local_var_path = "/apps/{appId}/webhooks/{webhookId}".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'webhookId' + '}', webhook_id.to_s)
|
114
|
+
local_var_path = "/v1/apps/{appId}/webhooks/{webhookId}".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'webhookId' + '}', webhook_id.to_s)
|
115
115
|
|
116
116
|
# query parameters
|
117
117
|
query_params = {}
|
@@ -171,7 +171,7 @@ module SmoochApi
|
|
171
171
|
fail ArgumentError, "Missing the required parameter 'webhook_id' when calling WebhookApi.get_webhook"
|
172
172
|
end
|
173
173
|
# resource path
|
174
|
-
local_var_path = "/apps/{appId}/webhooks/{webhookId}".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'webhookId' + '}', webhook_id.to_s)
|
174
|
+
local_var_path = "/v1/apps/{appId}/webhooks/{webhookId}".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'webhookId' + '}', webhook_id.to_s)
|
175
175
|
|
176
176
|
# query parameters
|
177
177
|
query_params = {}
|
@@ -226,7 +226,7 @@ module SmoochApi
|
|
226
226
|
fail ArgumentError, "Missing the required parameter 'app_id' when calling WebhookApi.list_webhooks"
|
227
227
|
end
|
228
228
|
# resource path
|
229
|
-
local_var_path = "/apps/{appId}/webhooks".sub('{' + 'appId' + '}', app_id.to_s)
|
229
|
+
local_var_path = "/v1/apps/{appId}/webhooks".sub('{' + 'appId' + '}', app_id.to_s)
|
230
230
|
|
231
231
|
# query parameters
|
232
232
|
query_params = {}
|
@@ -293,7 +293,7 @@ module SmoochApi
|
|
293
293
|
fail ArgumentError, "Missing the required parameter 'webhook_update_body' when calling WebhookApi.update_webhook"
|
294
294
|
end
|
295
295
|
# resource path
|
296
|
-
local_var_path = "/apps/{appId}/webhooks/{webhookId}".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'webhookId' + '}', webhook_id.to_s)
|
296
|
+
local_var_path = "/v1/apps/{appId}/webhooks/{webhookId}".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'webhookId' + '}', webhook_id.to_s)
|
297
297
|
|
298
298
|
# query parameters
|
299
299
|
query_params = {}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.
|
6
|
+
OpenAPI spec version: 3.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
data/lib/smooch-api/api_error.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.
|
6
|
+
OpenAPI spec version: 3.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.
|
6
|
+
OpenAPI spec version: 3.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -130,7 +130,7 @@ module SmoochApi
|
|
130
130
|
def initialize
|
131
131
|
@scheme = 'https'
|
132
132
|
@host = 'api.smooch.io'
|
133
|
-
@base_path = '
|
133
|
+
@base_path = ''
|
134
134
|
@api_key = {}
|
135
135
|
@api_key_prefix = {}
|
136
136
|
@timeout = 0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.
|
6
|
+
OpenAPI spec version: 3.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.
|
6
|
+
OpenAPI spec version: 3.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.
|
6
|
+
OpenAPI spec version: 3.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.
|
6
|
+
OpenAPI spec version: 3.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.
|
6
|
+
OpenAPI spec version: 3.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.
|
6
|
+
OpenAPI spec version: 3.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.
|
6
|
+
OpenAPI spec version: 3.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|