smooch-api 4.1.0 → 4.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (137) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -3
  3. data/docs/Action.md +2 -2
  4. data/docs/App.md +2 -2
  5. data/docs/AppApi.md +48 -48
  6. data/docs/AppSettings.md +2 -2
  7. data/docs/AppUser.md +6 -6
  8. data/docs/AppUserApi.md +78 -78
  9. data/docs/AppUserBusinessSystemsResponse.md +1 -1
  10. data/docs/AppUserLink.md +2 -2
  11. data/docs/AppUserPreCreate.md +3 -3
  12. data/docs/AppUserResponse.md +1 -1
  13. data/docs/AppUserUpdate.md +2 -2
  14. data/docs/AttachmentRemove.md +1 -1
  15. data/docs/AttachmentResponse.md +2 -2
  16. data/docs/AttachmentsApi.md +16 -16
  17. data/docs/AuthCodeResponse.md +1 -1
  18. data/docs/BusinessSystemItem.md +4 -4
  19. data/docs/ChannelEntityItem.md +3 -3
  20. data/docs/Client.md +4 -4
  21. data/docs/ClientInfo.md +8 -8
  22. data/docs/Conversation.md +2 -2
  23. data/docs/ConversationApi.md +42 -42
  24. data/docs/Destination.md +2 -2
  25. data/docs/DisplaySettings.md +1 -1
  26. data/docs/GetMessagesResponse.md +1 -1
  27. data/docs/Integration.md +44 -44
  28. data/docs/IntegrationApi.md +66 -66
  29. data/docs/IntegrationCreate.md +36 -36
  30. data/docs/IntegrationProfileUpdate.md +1 -1
  31. data/docs/IntegrationUpdate.md +16 -16
  32. data/docs/LinkRequestResponse.md +1 -1
  33. data/docs/LinkRequestResponseLinkRequests.md +1 -1
  34. data/docs/ListAppsResponse.md +1 -1
  35. data/docs/ListServiceAccountsResponse.md +2 -2
  36. data/docs/ListTemplatesResponse.md +1 -1
  37. data/docs/MenuApi.md +14 -14
  38. data/docs/Message.md +6 -6
  39. data/docs/MessageItem.md +2 -2
  40. data/docs/MessageOverride.md +8 -0
  41. data/docs/MessageOverrideWhatsapp.md +8 -0
  42. data/docs/MessagePost.md +4 -3
  43. data/docs/MessageResponse.md +1 -1
  44. data/docs/SecretKey.md +1 -1
  45. data/docs/ServiceAccount.md +1 -1
  46. data/docs/ServiceAccountApi.md +46 -46
  47. data/docs/ServiceAccountResponse.md +1 -1
  48. data/docs/Template.md +1 -1
  49. data/docs/TemplateApi.md +30 -30
  50. data/docs/TypingActivityTrigger.md +1 -1
  51. data/docs/Webhook.md +1 -1
  52. data/docs/WebhookApi.md +30 -30
  53. data/lib/smooch-api.rb +3 -1
  54. data/lib/smooch-api/api/app_api.rb +112 -112
  55. data/lib/smooch-api/api/app_user_api.rb +190 -190
  56. data/lib/smooch-api/api/attachments_api.rb +34 -34
  57. data/lib/smooch-api/api/conversation_api.rb +102 -102
  58. data/lib/smooch-api/api/integration_api.rb +161 -161
  59. data/lib/smooch-api/api/menu_api.rb +34 -34
  60. data/lib/smooch-api/api/service_account_api.rb +109 -109
  61. data/lib/smooch-api/api/template_api.rb +73 -73
  62. data/lib/smooch-api/api/webhook_api.rb +73 -73
  63. data/lib/smooch-api/api_client.rb +1 -1
  64. data/lib/smooch-api/api_error.rb +1 -1
  65. data/lib/smooch-api/configuration.rb +1 -1
  66. data/lib/smooch-api/models/action.rb +12 -12
  67. data/lib/smooch-api/models/app.rb +18 -18
  68. data/lib/smooch-api/models/app_create.rb +1 -1
  69. data/lib/smooch-api/models/app_response.rb +1 -1
  70. data/lib/smooch-api/models/app_settings.rb +12 -12
  71. data/lib/smooch-api/models/app_update.rb +1 -1
  72. data/lib/smooch-api/models/app_user.rb +38 -38
  73. data/lib/smooch-api/models/app_user_business_systems_response.rb +10 -10
  74. data/lib/smooch-api/models/app_user_channels_response.rb +1 -1
  75. data/lib/smooch-api/models/app_user_link.rb +12 -12
  76. data/lib/smooch-api/models/app_user_pre_create.rb +20 -20
  77. data/lib/smooch-api/models/app_user_response.rb +10 -10
  78. data/lib/smooch-api/models/app_user_update.rb +12 -12
  79. data/lib/smooch-api/models/attachment_remove.rb +10 -10
  80. data/lib/smooch-api/models/attachment_response.rb +18 -18
  81. data/lib/smooch-api/models/auth_code_response.rb +10 -10
  82. data/lib/smooch-api/models/business_system_item.rb +22 -22
  83. data/lib/smooch-api/models/channel_entity_item.rb +17 -17
  84. data/lib/smooch-api/models/client.rb +22 -22
  85. data/lib/smooch-api/models/client_info.rb +42 -42
  86. data/lib/smooch-api/models/confirmation.rb +1 -1
  87. data/lib/smooch-api/models/conversation.rb +18 -18
  88. data/lib/smooch-api/models/destination.rb +18 -18
  89. data/lib/smooch-api/models/display_settings.rb +7 -7
  90. data/lib/smooch-api/models/get_messages_response.rb +7 -7
  91. data/lib/smooch-api/models/integration.rb +225 -225
  92. data/lib/smooch-api/models/integration_create.rb +182 -182
  93. data/lib/smooch-api/models/integration_profile_update.rb +7 -7
  94. data/lib/smooch-api/models/integration_response.rb +1 -1
  95. data/lib/smooch-api/models/integration_update.rb +82 -82
  96. data/lib/smooch-api/models/jwt_response.rb +1 -1
  97. data/lib/smooch-api/models/link_request_response.rb +7 -7
  98. data/lib/smooch-api/models/link_request_response_link_requests.rb +10 -10
  99. data/lib/smooch-api/models/list_apps_response.rb +7 -7
  100. data/lib/smooch-api/models/list_integrations_response.rb +1 -1
  101. data/lib/smooch-api/models/list_secret_keys_response.rb +1 -1
  102. data/lib/smooch-api/models/list_service_accounts_response.rb +12 -12
  103. data/lib/smooch-api/models/list_templates_response.rb +7 -7
  104. data/lib/smooch-api/models/list_webhooks_response.rb +1 -1
  105. data/lib/smooch-api/models/menu.rb +1 -1
  106. data/lib/smooch-api/models/menu_item.rb +1 -1
  107. data/lib/smooch-api/models/menu_response.rb +1 -1
  108. data/lib/smooch-api/models/message.rb +41 -41
  109. data/lib/smooch-api/models/message_item.rb +12 -12
  110. data/lib/smooch-api/models/message_override.rb +188 -0
  111. data/lib/smooch-api/models/message_override_whatsapp.rb +189 -0
  112. data/lib/smooch-api/models/message_post.rb +30 -20
  113. data/lib/smooch-api/models/message_response.rb +7 -7
  114. data/lib/smooch-api/models/secret_key.rb +10 -10
  115. data/lib/smooch-api/models/secret_key_create.rb +1 -1
  116. data/lib/smooch-api/models/secret_key_response.rb +1 -1
  117. data/lib/smooch-api/models/service_account.rb +10 -10
  118. data/lib/smooch-api/models/service_account_create.rb +1 -1
  119. data/lib/smooch-api/models/service_account_response.rb +7 -7
  120. data/lib/smooch-api/models/service_account_update.rb +1 -1
  121. data/lib/smooch-api/models/source.rb +1 -1
  122. data/lib/smooch-api/models/sub_menu_item.rb +1 -1
  123. data/lib/smooch-api/models/template.rb +10 -10
  124. data/lib/smooch-api/models/template_create.rb +1 -1
  125. data/lib/smooch-api/models/template_response.rb +1 -1
  126. data/lib/smooch-api/models/template_update.rb +1 -1
  127. data/lib/smooch-api/models/typing_activity_trigger.rb +7 -7
  128. data/lib/smooch-api/models/webhook.rb +10 -10
  129. data/lib/smooch-api/models/webhook_create.rb +1 -1
  130. data/lib/smooch-api/models/webhook_response.rb +1 -1
  131. data/lib/smooch-api/models/webhook_update.rb +1 -1
  132. data/lib/smooch-api/version.rb +2 -2
  133. data/smooch-api.gemspec +1 -1
  134. data/spec/api_client_spec.rb +1 -1
  135. data/spec/configuration_spec.rb +1 -1
  136. data/spec/spec_helper.rb +1 -1
  137. metadata +6 -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: 4.1
6
+ OpenAPI spec version: 4.2
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3-SNAPSHOT
@@ -22,29 +22,29 @@ module SmoochApi
22
22
 
23
23
  #
24
24
  # Remove the specified app’s menu.
25
- # @param app_id Identifies the app.
25
+ # @param appId Identifies the app.
26
26
  # @param [Hash] opts the optional parameters
27
27
  # @return [MenuResponse]
28
- def delete_menu(app_id, opts = {})
29
- data, _status_code, _headers = delete_menu_with_http_info(app_id, opts)
28
+ def delete_menu(appId, opts = {})
29
+ data, _status_code, _headers = delete_menu_with_http_info(appId, opts)
30
30
  return data
31
31
  end
32
32
 
33
33
  #
34
34
  # Remove the specified app’s menu.
35
- # @param app_id Identifies the app.
35
+ # @param appId Identifies the app.
36
36
  # @param [Hash] opts the optional parameters
37
37
  # @return [Array<(MenuResponse, Fixnum, Hash)>] MenuResponse data, response status code and response headers
38
- def delete_menu_with_http_info(app_id, opts = {})
38
+ def delete_menu_with_http_info(appId, opts = {})
39
39
  if @api_client.config.debugging
40
40
  @api_client.config.logger.debug "Calling API: MenuApi.delete_menu ..."
41
41
  end
42
- # verify the required parameter 'app_id' is set
43
- if @api_client.config.client_side_validation && app_id.nil?
44
- fail ArgumentError, "Missing the required parameter 'app_id' when calling MenuApi.delete_menu"
42
+ # verify the required parameter 'appId' is set
43
+ if @api_client.config.client_side_validation && appId.nil?
44
+ fail ArgumentError, "Missing the required parameter 'appId' when calling MenuApi.delete_menu"
45
45
  end
46
46
  # resource path
47
- local_var_path = "/v1.1/apps/{appId}/menu".sub('{' + 'appId' + '}', app_id.to_s)
47
+ local_var_path = "/v1.1/apps/{appId}/menu".sub('{' + 'appId' + '}', appId.to_s)
48
48
 
49
49
  # query parameters
50
50
  query_params = {}
@@ -77,29 +77,29 @@ module SmoochApi
77
77
 
78
78
  #
79
79
  # Get the specified app’s menu.
80
- # @param app_id Identifies the app.
80
+ # @param appId Identifies the app.
81
81
  # @param [Hash] opts the optional parameters
82
82
  # @return [MenuResponse]
83
- def get_menu(app_id, opts = {})
84
- data, _status_code, _headers = get_menu_with_http_info(app_id, opts)
83
+ def get_menu(appId, opts = {})
84
+ data, _status_code, _headers = get_menu_with_http_info(appId, opts)
85
85
  return data
86
86
  end
87
87
 
88
88
  #
89
89
  # Get the specified app’s menu.
90
- # @param app_id Identifies the app.
90
+ # @param appId Identifies the app.
91
91
  # @param [Hash] opts the optional parameters
92
92
  # @return [Array<(MenuResponse, Fixnum, Hash)>] MenuResponse data, response status code and response headers
93
- def get_menu_with_http_info(app_id, opts = {})
93
+ def get_menu_with_http_info(appId, opts = {})
94
94
  if @api_client.config.debugging
95
95
  @api_client.config.logger.debug "Calling API: MenuApi.get_menu ..."
96
96
  end
97
- # verify the required parameter 'app_id' is set
98
- if @api_client.config.client_side_validation && app_id.nil?
99
- fail ArgumentError, "Missing the required parameter 'app_id' when calling MenuApi.get_menu"
97
+ # verify the required parameter 'appId' is set
98
+ if @api_client.config.client_side_validation && appId.nil?
99
+ fail ArgumentError, "Missing the required parameter 'appId' when calling MenuApi.get_menu"
100
100
  end
101
101
  # resource path
102
- local_var_path = "/v1.1/apps/{appId}/menu".sub('{' + 'appId' + '}', app_id.to_s)
102
+ local_var_path = "/v1.1/apps/{appId}/menu".sub('{' + 'appId' + '}', appId.to_s)
103
103
 
104
104
  # query parameters
105
105
  query_params = {}
@@ -132,35 +132,35 @@ module SmoochApi
132
132
 
133
133
  #
134
134
  # Configure the specified app’s menu.
135
- # @param app_id Identifies the app.
136
- # @param menu_update_body Body for a updateMenu request.
135
+ # @param appId Identifies the app.
136
+ # @param menuUpdateBody Body for a updateMenu request.
137
137
  # @param [Hash] opts the optional parameters
138
138
  # @return [MenuResponse]
139
- def update_menu(app_id, menu_update_body, opts = {})
140
- data, _status_code, _headers = update_menu_with_http_info(app_id, menu_update_body, opts)
139
+ def update_menu(appId, menuUpdateBody, opts = {})
140
+ data, _status_code, _headers = update_menu_with_http_info(appId, menuUpdateBody, opts)
141
141
  return data
142
142
  end
143
143
 
144
144
  #
145
145
  # Configure the specified app’s menu.
146
- # @param app_id Identifies the app.
147
- # @param menu_update_body Body for a updateMenu request.
146
+ # @param appId Identifies the app.
147
+ # @param menuUpdateBody Body for a updateMenu request.
148
148
  # @param [Hash] opts the optional parameters
149
149
  # @return [Array<(MenuResponse, Fixnum, Hash)>] MenuResponse data, response status code and response headers
150
- def update_menu_with_http_info(app_id, menu_update_body, opts = {})
150
+ def update_menu_with_http_info(appId, menuUpdateBody, opts = {})
151
151
  if @api_client.config.debugging
152
152
  @api_client.config.logger.debug "Calling API: MenuApi.update_menu ..."
153
153
  end
154
- # verify the required parameter 'app_id' is set
155
- if @api_client.config.client_side_validation && app_id.nil?
156
- fail ArgumentError, "Missing the required parameter 'app_id' when calling MenuApi.update_menu"
154
+ # verify the required parameter 'appId' is set
155
+ if @api_client.config.client_side_validation && appId.nil?
156
+ fail ArgumentError, "Missing the required parameter 'appId' when calling MenuApi.update_menu"
157
157
  end
158
- # verify the required parameter 'menu_update_body' is set
159
- if @api_client.config.client_side_validation && menu_update_body.nil?
160
- fail ArgumentError, "Missing the required parameter 'menu_update_body' when calling MenuApi.update_menu"
158
+ # verify the required parameter 'menuUpdateBody' is set
159
+ if @api_client.config.client_side_validation && menuUpdateBody.nil?
160
+ fail ArgumentError, "Missing the required parameter 'menuUpdateBody' when calling MenuApi.update_menu"
161
161
  end
162
162
  # resource path
163
- local_var_path = "/v1.1/apps/{appId}/menu".sub('{' + 'appId' + '}', app_id.to_s)
163
+ local_var_path = "/v1.1/apps/{appId}/menu".sub('{' + 'appId' + '}', appId.to_s)
164
164
 
165
165
  # query parameters
166
166
  query_params = {}
@@ -176,7 +176,7 @@ module SmoochApi
176
176
  form_params = {}
177
177
 
178
178
  # http body (model)
179
- post_body = @api_client.object_to_http_body(menu_update_body)
179
+ post_body = @api_client.object_to_http_body(menuUpdateBody)
180
180
  auth_names = ['jwt']
181
181
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
182
182
  :header_params => header_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: 4.1
6
+ OpenAPI spec version: 4.2
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3-SNAPSHOT
@@ -22,35 +22,35 @@ module SmoochApi
22
22
 
23
23
  #
24
24
  # Create a secret key for the specified service account.
25
- # @param service_account_id Identifies the service account.
26
- # @param secret_key_create_body Body for a createSecretKey request.
25
+ # @param serviceAccountId Identifies the service account.
26
+ # @param secretKeyCreateBody Body for a createSecretKey request.
27
27
  # @param [Hash] opts the optional parameters
28
28
  # @return [SecretKeyResponse]
29
- def create_secret_key(service_account_id, secret_key_create_body, opts = {})
30
- data, _status_code, _headers = create_secret_key_with_http_info(service_account_id, secret_key_create_body, opts)
29
+ def create_secret_key(serviceAccountId, secretKeyCreateBody, opts = {})
30
+ data, _status_code, _headers = create_secret_key_with_http_info(serviceAccountId, secretKeyCreateBody, opts)
31
31
  return data
32
32
  end
33
33
 
34
34
  #
35
35
  # Create a secret key for the specified service account.
36
- # @param service_account_id Identifies the service account.
37
- # @param secret_key_create_body Body for a createSecretKey request.
36
+ # @param serviceAccountId Identifies the service account.
37
+ # @param secretKeyCreateBody Body for a createSecretKey request.
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @return [Array<(SecretKeyResponse, Fixnum, Hash)>] SecretKeyResponse data, response status code and response headers
40
- def create_secret_key_with_http_info(service_account_id, secret_key_create_body, opts = {})
40
+ def create_secret_key_with_http_info(serviceAccountId, secretKeyCreateBody, opts = {})
41
41
  if @api_client.config.debugging
42
42
  @api_client.config.logger.debug "Calling API: ServiceAccountApi.create_secret_key ..."
43
43
  end
44
- # verify the required parameter 'service_account_id' is set
45
- if @api_client.config.client_side_validation && service_account_id.nil?
46
- fail ArgumentError, "Missing the required parameter 'service_account_id' when calling ServiceAccountApi.create_secret_key"
44
+ # verify the required parameter 'serviceAccountId' is set
45
+ if @api_client.config.client_side_validation && serviceAccountId.nil?
46
+ fail ArgumentError, "Missing the required parameter 'serviceAccountId' when calling ServiceAccountApi.create_secret_key"
47
47
  end
48
- # verify the required parameter 'secret_key_create_body' is set
49
- if @api_client.config.client_side_validation && secret_key_create_body.nil?
50
- fail ArgumentError, "Missing the required parameter 'secret_key_create_body' when calling ServiceAccountApi.create_secret_key"
48
+ # verify the required parameter 'secretKeyCreateBody' is set
49
+ if @api_client.config.client_side_validation && secretKeyCreateBody.nil?
50
+ fail ArgumentError, "Missing the required parameter 'secretKeyCreateBody' when calling ServiceAccountApi.create_secret_key"
51
51
  end
52
52
  # resource path
53
- local_var_path = "/v1.1/serviceaccounts/{serviceAccountId}/keys".sub('{' + 'serviceAccountId' + '}', service_account_id.to_s)
53
+ local_var_path = "/v1.1/serviceaccounts/{serviceAccountId}/keys".sub('{' + 'serviceAccountId' + '}', serviceAccountId.to_s)
54
54
 
55
55
  # query parameters
56
56
  query_params = {}
@@ -66,7 +66,7 @@ module SmoochApi
66
66
  form_params = {}
67
67
 
68
68
  # http body (model)
69
- post_body = @api_client.object_to_http_body(secret_key_create_body)
69
+ post_body = @api_client.object_to_http_body(secretKeyCreateBody)
70
70
  auth_names = ['jwt']
71
71
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
72
72
  :header_params => header_params,
@@ -83,26 +83,26 @@ module SmoochApi
83
83
 
84
84
  #
85
85
  # Create a new service account.
86
- # @param service_account_create_body Body for a createServiceAccount request.
86
+ # @param serviceAccountCreateBody Body for a createServiceAccount request.
87
87
  # @param [Hash] opts the optional parameters
88
88
  # @return [ServiceAccountResponse]
89
- def create_service_account(service_account_create_body, opts = {})
90
- data, _status_code, _headers = create_service_account_with_http_info(service_account_create_body, opts)
89
+ def create_service_account(serviceAccountCreateBody, opts = {})
90
+ data, _status_code, _headers = create_service_account_with_http_info(serviceAccountCreateBody, opts)
91
91
  return data
92
92
  end
93
93
 
94
94
  #
95
95
  # Create a new service account.
96
- # @param service_account_create_body Body for a createServiceAccount request.
96
+ # @param serviceAccountCreateBody Body for a createServiceAccount request.
97
97
  # @param [Hash] opts the optional parameters
98
98
  # @return [Array<(ServiceAccountResponse, Fixnum, Hash)>] ServiceAccountResponse data, response status code and response headers
99
- def create_service_account_with_http_info(service_account_create_body, opts = {})
99
+ def create_service_account_with_http_info(serviceAccountCreateBody, opts = {})
100
100
  if @api_client.config.debugging
101
101
  @api_client.config.logger.debug "Calling API: ServiceAccountApi.create_service_account ..."
102
102
  end
103
- # verify the required parameter 'service_account_create_body' is set
104
- if @api_client.config.client_side_validation && service_account_create_body.nil?
105
- fail ArgumentError, "Missing the required parameter 'service_account_create_body' when calling ServiceAccountApi.create_service_account"
103
+ # verify the required parameter 'serviceAccountCreateBody' is set
104
+ if @api_client.config.client_side_validation && serviceAccountCreateBody.nil?
105
+ fail ArgumentError, "Missing the required parameter 'serviceAccountCreateBody' when calling ServiceAccountApi.create_service_account"
106
106
  end
107
107
  # resource path
108
108
  local_var_path = "/v1.1/serviceaccounts"
@@ -121,7 +121,7 @@ module SmoochApi
121
121
  form_params = {}
122
122
 
123
123
  # http body (model)
124
- post_body = @api_client.object_to_http_body(service_account_create_body)
124
+ post_body = @api_client.object_to_http_body(serviceAccountCreateBody)
125
125
  auth_names = ['jwt']
126
126
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
127
127
  :header_params => header_params,
@@ -138,35 +138,35 @@ module SmoochApi
138
138
 
139
139
  #
140
140
  # Delete the specified service account secret key.
141
- # @param service_account_id Identifies the service account.
142
- # @param key_id Identifies the secret key.
141
+ # @param serviceAccountId Identifies the service account.
142
+ # @param keyId Identifies the secret key.
143
143
  # @param [Hash] opts the optional parameters
144
144
  # @return [nil]
145
- def delete_secret_key(service_account_id, key_id, opts = {})
146
- delete_secret_key_with_http_info(service_account_id, key_id, opts)
145
+ def delete_secret_key(serviceAccountId, keyId, opts = {})
146
+ delete_secret_key_with_http_info(serviceAccountId, keyId, opts)
147
147
  return nil
148
148
  end
149
149
 
150
150
  #
151
151
  # Delete the specified service account secret key.
152
- # @param service_account_id Identifies the service account.
153
- # @param key_id Identifies the secret key.
152
+ # @param serviceAccountId Identifies the service account.
153
+ # @param keyId Identifies the secret key.
154
154
  # @param [Hash] opts the optional parameters
155
155
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
156
- def delete_secret_key_with_http_info(service_account_id, key_id, opts = {})
156
+ def delete_secret_key_with_http_info(serviceAccountId, keyId, opts = {})
157
157
  if @api_client.config.debugging
158
158
  @api_client.config.logger.debug "Calling API: ServiceAccountApi.delete_secret_key ..."
159
159
  end
160
- # verify the required parameter 'service_account_id' is set
161
- if @api_client.config.client_side_validation && service_account_id.nil?
162
- fail ArgumentError, "Missing the required parameter 'service_account_id' when calling ServiceAccountApi.delete_secret_key"
160
+ # verify the required parameter 'serviceAccountId' is set
161
+ if @api_client.config.client_side_validation && serviceAccountId.nil?
162
+ fail ArgumentError, "Missing the required parameter 'serviceAccountId' when calling ServiceAccountApi.delete_secret_key"
163
163
  end
164
- # verify the required parameter 'key_id' is set
165
- if @api_client.config.client_side_validation && key_id.nil?
166
- fail ArgumentError, "Missing the required parameter 'key_id' when calling ServiceAccountApi.delete_secret_key"
164
+ # verify the required parameter 'keyId' is set
165
+ if @api_client.config.client_side_validation && keyId.nil?
166
+ fail ArgumentError, "Missing the required parameter 'keyId' when calling ServiceAccountApi.delete_secret_key"
167
167
  end
168
168
  # resource path
169
- local_var_path = "/v1.1/serviceaccounts/{serviceAccountId}/keys/{keyId}".sub('{' + 'serviceAccountId' + '}', service_account_id.to_s).sub('{' + 'keyId' + '}', key_id.to_s)
169
+ local_var_path = "/v1.1/serviceaccounts/{serviceAccountId}/keys/{keyId}".sub('{' + 'serviceAccountId' + '}', serviceAccountId.to_s).sub('{' + 'keyId' + '}', keyId.to_s)
170
170
 
171
171
  # query parameters
172
172
  query_params = {}
@@ -198,29 +198,29 @@ module SmoochApi
198
198
 
199
199
  #
200
200
  # Delete the specified service account.
201
- # @param service_account_id Identifies the service account.
201
+ # @param serviceAccountId Identifies the service account.
202
202
  # @param [Hash] opts the optional parameters
203
203
  # @return [nil]
204
- def delete_service_account(service_account_id, opts = {})
205
- delete_service_account_with_http_info(service_account_id, opts)
204
+ def delete_service_account(serviceAccountId, opts = {})
205
+ delete_service_account_with_http_info(serviceAccountId, opts)
206
206
  return nil
207
207
  end
208
208
 
209
209
  #
210
210
  # Delete the specified service account.
211
- # @param service_account_id Identifies the service account.
211
+ # @param serviceAccountId Identifies the service account.
212
212
  # @param [Hash] opts the optional parameters
213
213
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
214
- def delete_service_account_with_http_info(service_account_id, opts = {})
214
+ def delete_service_account_with_http_info(serviceAccountId, opts = {})
215
215
  if @api_client.config.debugging
216
216
  @api_client.config.logger.debug "Calling API: ServiceAccountApi.delete_service_account ..."
217
217
  end
218
- # verify the required parameter 'service_account_id' is set
219
- if @api_client.config.client_side_validation && service_account_id.nil?
220
- fail ArgumentError, "Missing the required parameter 'service_account_id' when calling ServiceAccountApi.delete_service_account"
218
+ # verify the required parameter 'serviceAccountId' is set
219
+ if @api_client.config.client_side_validation && serviceAccountId.nil?
220
+ fail ArgumentError, "Missing the required parameter 'serviceAccountId' when calling ServiceAccountApi.delete_service_account"
221
221
  end
222
222
  # resource path
223
- local_var_path = "/v1.1/serviceaccounts/{serviceAccountId}".sub('{' + 'serviceAccountId' + '}', service_account_id.to_s)
223
+ local_var_path = "/v1.1/serviceaccounts/{serviceAccountId}".sub('{' + 'serviceAccountId' + '}', serviceAccountId.to_s)
224
224
 
225
225
  # query parameters
226
226
  query_params = {}
@@ -252,35 +252,35 @@ module SmoochApi
252
252
 
253
253
  #
254
254
  # Get an account-scoped JWT for the specified service account secret key.
255
- # @param service_account_id Identifies the service account.
256
- # @param key_id Identifies the secret key.
255
+ # @param serviceAccountId Identifies the service account.
256
+ # @param keyId Identifies the secret key.
257
257
  # @param [Hash] opts the optional parameters
258
258
  # @return [JwtResponse]
259
- def get_jwt(service_account_id, key_id, opts = {})
260
- data, _status_code, _headers = get_jwt_with_http_info(service_account_id, key_id, opts)
259
+ def get_jwt(serviceAccountId, keyId, opts = {})
260
+ data, _status_code, _headers = get_jwt_with_http_info(serviceAccountId, keyId, opts)
261
261
  return data
262
262
  end
263
263
 
264
264
  #
265
265
  # Get an account-scoped JWT for the specified service account secret key.
266
- # @param service_account_id Identifies the service account.
267
- # @param key_id Identifies the secret key.
266
+ # @param serviceAccountId Identifies the service account.
267
+ # @param keyId Identifies the secret key.
268
268
  # @param [Hash] opts the optional parameters
269
269
  # @return [Array<(JwtResponse, Fixnum, Hash)>] JwtResponse data, response status code and response headers
270
- def get_jwt_with_http_info(service_account_id, key_id, opts = {})
270
+ def get_jwt_with_http_info(serviceAccountId, keyId, opts = {})
271
271
  if @api_client.config.debugging
272
272
  @api_client.config.logger.debug "Calling API: ServiceAccountApi.get_jwt ..."
273
273
  end
274
- # verify the required parameter 'service_account_id' is set
275
- if @api_client.config.client_side_validation && service_account_id.nil?
276
- fail ArgumentError, "Missing the required parameter 'service_account_id' when calling ServiceAccountApi.get_jwt"
274
+ # verify the required parameter 'serviceAccountId' is set
275
+ if @api_client.config.client_side_validation && serviceAccountId.nil?
276
+ fail ArgumentError, "Missing the required parameter 'serviceAccountId' when calling ServiceAccountApi.get_jwt"
277
277
  end
278
- # verify the required parameter 'key_id' is set
279
- if @api_client.config.client_side_validation && key_id.nil?
280
- fail ArgumentError, "Missing the required parameter 'key_id' when calling ServiceAccountApi.get_jwt"
278
+ # verify the required parameter 'keyId' is set
279
+ if @api_client.config.client_side_validation && keyId.nil?
280
+ fail ArgumentError, "Missing the required parameter 'keyId' when calling ServiceAccountApi.get_jwt"
281
281
  end
282
282
  # resource path
283
- local_var_path = "/v1.1/serviceaccounts/{serviceAccountId}/keys/{keyId}/jwt".sub('{' + 'serviceAccountId' + '}', service_account_id.to_s).sub('{' + 'keyId' + '}', key_id.to_s)
283
+ local_var_path = "/v1.1/serviceaccounts/{serviceAccountId}/keys/{keyId}/jwt".sub('{' + 'serviceAccountId' + '}', serviceAccountId.to_s).sub('{' + 'keyId' + '}', keyId.to_s)
284
284
 
285
285
  # query parameters
286
286
  query_params = {}
@@ -313,35 +313,35 @@ module SmoochApi
313
313
 
314
314
  #
315
315
  # Get the specified service account secret key.
316
- # @param service_account_id Identifies the service account.
317
- # @param key_id Identifies the secret key.
316
+ # @param serviceAccountId Identifies the service account.
317
+ # @param keyId Identifies the secret key.
318
318
  # @param [Hash] opts the optional parameters
319
319
  # @return [SecretKeyResponse]
320
- def get_secret_key(service_account_id, key_id, opts = {})
321
- data, _status_code, _headers = get_secret_key_with_http_info(service_account_id, key_id, opts)
320
+ def get_secret_key(serviceAccountId, keyId, opts = {})
321
+ data, _status_code, _headers = get_secret_key_with_http_info(serviceAccountId, keyId, opts)
322
322
  return data
323
323
  end
324
324
 
325
325
  #
326
326
  # Get the specified service account secret key.
327
- # @param service_account_id Identifies the service account.
328
- # @param key_id Identifies the secret key.
327
+ # @param serviceAccountId Identifies the service account.
328
+ # @param keyId Identifies the secret key.
329
329
  # @param [Hash] opts the optional parameters
330
330
  # @return [Array<(SecretKeyResponse, Fixnum, Hash)>] SecretKeyResponse data, response status code and response headers
331
- def get_secret_key_with_http_info(service_account_id, key_id, opts = {})
331
+ def get_secret_key_with_http_info(serviceAccountId, keyId, opts = {})
332
332
  if @api_client.config.debugging
333
333
  @api_client.config.logger.debug "Calling API: ServiceAccountApi.get_secret_key ..."
334
334
  end
335
- # verify the required parameter 'service_account_id' is set
336
- if @api_client.config.client_side_validation && service_account_id.nil?
337
- fail ArgumentError, "Missing the required parameter 'service_account_id' when calling ServiceAccountApi.get_secret_key"
335
+ # verify the required parameter 'serviceAccountId' is set
336
+ if @api_client.config.client_side_validation && serviceAccountId.nil?
337
+ fail ArgumentError, "Missing the required parameter 'serviceAccountId' when calling ServiceAccountApi.get_secret_key"
338
338
  end
339
- # verify the required parameter 'key_id' is set
340
- if @api_client.config.client_side_validation && key_id.nil?
341
- fail ArgumentError, "Missing the required parameter 'key_id' when calling ServiceAccountApi.get_secret_key"
339
+ # verify the required parameter 'keyId' is set
340
+ if @api_client.config.client_side_validation && keyId.nil?
341
+ fail ArgumentError, "Missing the required parameter 'keyId' when calling ServiceAccountApi.get_secret_key"
342
342
  end
343
343
  # resource path
344
- local_var_path = "/v1.1/serviceaccounts/{serviceAccountId}/keys/{keyId}".sub('{' + 'serviceAccountId' + '}', service_account_id.to_s).sub('{' + 'keyId' + '}', key_id.to_s)
344
+ local_var_path = "/v1.1/serviceaccounts/{serviceAccountId}/keys/{keyId}".sub('{' + 'serviceAccountId' + '}', serviceAccountId.to_s).sub('{' + 'keyId' + '}', keyId.to_s)
345
345
 
346
346
  # query parameters
347
347
  query_params = {}
@@ -374,29 +374,29 @@ module SmoochApi
374
374
 
375
375
  #
376
376
  # Get the specified service account.
377
- # @param service_account_id Identifies the service account.
377
+ # @param serviceAccountId Identifies the service account.
378
378
  # @param [Hash] opts the optional parameters
379
379
  # @return [ServiceAccountResponse]
380
- def get_service_account(service_account_id, opts = {})
381
- data, _status_code, _headers = get_service_account_with_http_info(service_account_id, opts)
380
+ def get_service_account(serviceAccountId, opts = {})
381
+ data, _status_code, _headers = get_service_account_with_http_info(serviceAccountId, opts)
382
382
  return data
383
383
  end
384
384
 
385
385
  #
386
386
  # Get the specified service account.
387
- # @param service_account_id Identifies the service account.
387
+ # @param serviceAccountId Identifies the service account.
388
388
  # @param [Hash] opts the optional parameters
389
389
  # @return [Array<(ServiceAccountResponse, Fixnum, Hash)>] ServiceAccountResponse data, response status code and response headers
390
- def get_service_account_with_http_info(service_account_id, opts = {})
390
+ def get_service_account_with_http_info(serviceAccountId, opts = {})
391
391
  if @api_client.config.debugging
392
392
  @api_client.config.logger.debug "Calling API: ServiceAccountApi.get_service_account ..."
393
393
  end
394
- # verify the required parameter 'service_account_id' is set
395
- if @api_client.config.client_side_validation && service_account_id.nil?
396
- fail ArgumentError, "Missing the required parameter 'service_account_id' when calling ServiceAccountApi.get_service_account"
394
+ # verify the required parameter 'serviceAccountId' is set
395
+ if @api_client.config.client_side_validation && serviceAccountId.nil?
396
+ fail ArgumentError, "Missing the required parameter 'serviceAccountId' when calling ServiceAccountApi.get_service_account"
397
397
  end
398
398
  # resource path
399
- local_var_path = "/v1.1/serviceaccounts/{serviceAccountId}".sub('{' + 'serviceAccountId' + '}', service_account_id.to_s)
399
+ local_var_path = "/v1.1/serviceaccounts/{serviceAccountId}".sub('{' + 'serviceAccountId' + '}', serviceAccountId.to_s)
400
400
 
401
401
  # query parameters
402
402
  query_params = {}
@@ -429,29 +429,29 @@ module SmoochApi
429
429
 
430
430
  #
431
431
  # List the secret keys for the specified service account.
432
- # @param service_account_id Identifies the service account.
432
+ # @param serviceAccountId Identifies the service account.
433
433
  # @param [Hash] opts the optional parameters
434
434
  # @return [ListSecretKeysResponse]
435
- def list_secret_keys(service_account_id, opts = {})
436
- data, _status_code, _headers = list_secret_keys_with_http_info(service_account_id, opts)
435
+ def list_secret_keys(serviceAccountId, opts = {})
436
+ data, _status_code, _headers = list_secret_keys_with_http_info(serviceAccountId, opts)
437
437
  return data
438
438
  end
439
439
 
440
440
  #
441
441
  # List the secret keys for the specified service account.
442
- # @param service_account_id Identifies the service account.
442
+ # @param serviceAccountId Identifies the service account.
443
443
  # @param [Hash] opts the optional parameters
444
444
  # @return [Array<(ListSecretKeysResponse, Fixnum, Hash)>] ListSecretKeysResponse data, response status code and response headers
445
- def list_secret_keys_with_http_info(service_account_id, opts = {})
445
+ def list_secret_keys_with_http_info(serviceAccountId, opts = {})
446
446
  if @api_client.config.debugging
447
447
  @api_client.config.logger.debug "Calling API: ServiceAccountApi.list_secret_keys ..."
448
448
  end
449
- # verify the required parameter 'service_account_id' is set
450
- if @api_client.config.client_side_validation && service_account_id.nil?
451
- fail ArgumentError, "Missing the required parameter 'service_account_id' when calling ServiceAccountApi.list_secret_keys"
449
+ # verify the required parameter 'serviceAccountId' is set
450
+ if @api_client.config.client_side_validation && serviceAccountId.nil?
451
+ fail ArgumentError, "Missing the required parameter 'serviceAccountId' when calling ServiceAccountApi.list_secret_keys"
452
452
  end
453
453
  # resource path
454
- local_var_path = "/v1.1/serviceaccounts/{serviceAccountId}/keys".sub('{' + 'serviceAccountId' + '}', service_account_id.to_s)
454
+ local_var_path = "/v1.1/serviceaccounts/{serviceAccountId}/keys".sub('{' + 'serviceAccountId' + '}', serviceAccountId.to_s)
455
455
 
456
456
  # query parameters
457
457
  query_params = {}
@@ -539,35 +539,35 @@ module SmoochApi
539
539
 
540
540
  #
541
541
  # Update the specified service account.
542
- # @param service_account_id Identifies the service account.
543
- # @param service_account_update_body Body for an updateServiceAccount request.
542
+ # @param serviceAccountId Identifies the service account.
543
+ # @param serviceAccountUpdateBody Body for an updateServiceAccount request.
544
544
  # @param [Hash] opts the optional parameters
545
545
  # @return [ServiceAccountResponse]
546
- def update_service_account(service_account_id, service_account_update_body, opts = {})
547
- data, _status_code, _headers = update_service_account_with_http_info(service_account_id, service_account_update_body, opts)
546
+ def update_service_account(serviceAccountId, serviceAccountUpdateBody, opts = {})
547
+ data, _status_code, _headers = update_service_account_with_http_info(serviceAccountId, serviceAccountUpdateBody, opts)
548
548
  return data
549
549
  end
550
550
 
551
551
  #
552
552
  # Update the specified service account.
553
- # @param service_account_id Identifies the service account.
554
- # @param service_account_update_body Body for an updateServiceAccount request.
553
+ # @param serviceAccountId Identifies the service account.
554
+ # @param serviceAccountUpdateBody Body for an updateServiceAccount request.
555
555
  # @param [Hash] opts the optional parameters
556
556
  # @return [Array<(ServiceAccountResponse, Fixnum, Hash)>] ServiceAccountResponse data, response status code and response headers
557
- def update_service_account_with_http_info(service_account_id, service_account_update_body, opts = {})
557
+ def update_service_account_with_http_info(serviceAccountId, serviceAccountUpdateBody, opts = {})
558
558
  if @api_client.config.debugging
559
559
  @api_client.config.logger.debug "Calling API: ServiceAccountApi.update_service_account ..."
560
560
  end
561
- # verify the required parameter 'service_account_id' is set
562
- if @api_client.config.client_side_validation && service_account_id.nil?
563
- fail ArgumentError, "Missing the required parameter 'service_account_id' when calling ServiceAccountApi.update_service_account"
561
+ # verify the required parameter 'serviceAccountId' is set
562
+ if @api_client.config.client_side_validation && serviceAccountId.nil?
563
+ fail ArgumentError, "Missing the required parameter 'serviceAccountId' when calling ServiceAccountApi.update_service_account"
564
564
  end
565
- # verify the required parameter 'service_account_update_body' is set
566
- if @api_client.config.client_side_validation && service_account_update_body.nil?
567
- fail ArgumentError, "Missing the required parameter 'service_account_update_body' when calling ServiceAccountApi.update_service_account"
565
+ # verify the required parameter 'serviceAccountUpdateBody' is set
566
+ if @api_client.config.client_side_validation && serviceAccountUpdateBody.nil?
567
+ fail ArgumentError, "Missing the required parameter 'serviceAccountUpdateBody' when calling ServiceAccountApi.update_service_account"
568
568
  end
569
569
  # resource path
570
- local_var_path = "/v1.1/serviceaccounts/{serviceAccountId}".sub('{' + 'serviceAccountId' + '}', service_account_id.to_s)
570
+ local_var_path = "/v1.1/serviceaccounts/{serviceAccountId}".sub('{' + 'serviceAccountId' + '}', serviceAccountId.to_s)
571
571
 
572
572
  # query parameters
573
573
  query_params = {}
@@ -583,7 +583,7 @@ module SmoochApi
583
583
  form_params = {}
584
584
 
585
585
  # http body (model)
586
- post_body = @api_client.object_to_http_body(service_account_update_body)
586
+ post_body = @api_client.object_to_http_body(serviceAccountUpdateBody)
587
587
  auth_names = ['jwt']
588
588
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
589
589
  :header_params => header_params,