smooch-api 3.12.0 → 3.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -1
  3. data/docs/Integration.md +2 -0
  4. data/docs/ListTemplatesResponse.md +10 -0
  5. data/docs/Template.md +10 -0
  6. data/docs/TemplateApi.md +293 -0
  7. data/docs/TemplateCreate.md +9 -0
  8. data/docs/TemplateResponse.md +8 -0
  9. data/docs/TemplateUpdate.md +9 -0
  10. data/lib/smooch-api.rb +7 -1
  11. data/lib/smooch-api/api/app_api.rb +1 -1
  12. data/lib/smooch-api/api/app_user_api.rb +1 -1
  13. data/lib/smooch-api/api/attachments_api.rb +1 -1
  14. data/lib/smooch-api/api/conversation_api.rb +1 -1
  15. data/lib/smooch-api/api/integration_api.rb +1 -1
  16. data/lib/smooch-api/api/menu_api.rb +1 -1
  17. data/lib/smooch-api/api/service_account_api.rb +1 -1
  18. data/lib/smooch-api/api/template_api.rb +333 -0
  19. data/lib/smooch-api/api/webhook_api.rb +1 -1
  20. data/lib/smooch-api/api_client.rb +1 -1
  21. data/lib/smooch-api/api_error.rb +1 -1
  22. data/lib/smooch-api/configuration.rb +1 -1
  23. data/lib/smooch-api/models/action.rb +1 -1
  24. data/lib/smooch-api/models/app.rb +1 -1
  25. data/lib/smooch-api/models/app_create.rb +1 -1
  26. data/lib/smooch-api/models/app_response.rb +1 -1
  27. data/lib/smooch-api/models/app_settings.rb +1 -1
  28. data/lib/smooch-api/models/app_update.rb +1 -1
  29. data/lib/smooch-api/models/app_user.rb +1 -1
  30. data/lib/smooch-api/models/app_user_business_systems_response.rb +1 -1
  31. data/lib/smooch-api/models/app_user_channels_response.rb +1 -1
  32. data/lib/smooch-api/models/app_user_link.rb +1 -1
  33. data/lib/smooch-api/models/app_user_pre_create.rb +1 -1
  34. data/lib/smooch-api/models/app_user_response.rb +1 -1
  35. data/lib/smooch-api/models/app_user_update.rb +1 -1
  36. data/lib/smooch-api/models/attachment_remove.rb +1 -1
  37. data/lib/smooch-api/models/attachment_response.rb +1 -1
  38. data/lib/smooch-api/models/auth_code_response.rb +1 -1
  39. data/lib/smooch-api/models/business_system_item.rb +1 -1
  40. data/lib/smooch-api/models/channel_entity_item.rb +1 -1
  41. data/lib/smooch-api/models/client.rb +1 -1
  42. data/lib/smooch-api/models/client_info.rb +1 -1
  43. data/lib/smooch-api/models/confirmation.rb +1 -1
  44. data/lib/smooch-api/models/conversation.rb +1 -1
  45. data/lib/smooch-api/models/destination.rb +1 -1
  46. data/lib/smooch-api/models/display_settings.rb +1 -1
  47. data/lib/smooch-api/models/get_messages_response.rb +1 -1
  48. data/lib/smooch-api/models/integration.rb +25 -5
  49. data/lib/smooch-api/models/integration_create.rb +1 -1
  50. data/lib/smooch-api/models/integration_response.rb +1 -1
  51. data/lib/smooch-api/models/integration_update.rb +1 -1
  52. data/lib/smooch-api/models/jwt_response.rb +1 -1
  53. data/lib/smooch-api/models/link_request_response.rb +1 -1
  54. data/lib/smooch-api/models/link_request_response_link_requests.rb +1 -1
  55. data/lib/smooch-api/models/list_apps_response.rb +1 -1
  56. data/lib/smooch-api/models/list_integrations_response.rb +1 -1
  57. data/lib/smooch-api/models/list_secret_keys_response.rb +1 -1
  58. data/lib/smooch-api/models/list_service_accounts_response.rb +1 -1
  59. data/lib/smooch-api/models/list_templates_response.rb +216 -0
  60. data/lib/smooch-api/models/list_webhooks_response.rb +1 -1
  61. data/lib/smooch-api/models/menu.rb +1 -1
  62. data/lib/smooch-api/models/menu_item.rb +1 -1
  63. data/lib/smooch-api/models/menu_response.rb +1 -1
  64. data/lib/smooch-api/models/message.rb +1 -1
  65. data/lib/smooch-api/models/message_item.rb +1 -1
  66. data/lib/smooch-api/models/message_post.rb +1 -1
  67. data/lib/smooch-api/models/message_response.rb +1 -1
  68. data/lib/smooch-api/models/secret_key.rb +1 -1
  69. data/lib/smooch-api/models/secret_key_create.rb +1 -1
  70. data/lib/smooch-api/models/secret_key_response.rb +1 -1
  71. data/lib/smooch-api/models/service_account.rb +1 -1
  72. data/lib/smooch-api/models/service_account_create.rb +1 -1
  73. data/lib/smooch-api/models/service_account_response.rb +1 -1
  74. data/lib/smooch-api/models/service_account_update.rb +1 -1
  75. data/lib/smooch-api/models/source.rb +1 -1
  76. data/lib/smooch-api/models/sub_menu_item.rb +1 -1
  77. data/lib/smooch-api/models/template.rb +224 -0
  78. data/lib/smooch-api/models/template_create.rb +209 -0
  79. data/lib/smooch-api/models/template_response.rb +194 -0
  80. data/lib/smooch-api/models/template_update.rb +199 -0
  81. data/lib/smooch-api/models/typing_activity_trigger.rb +1 -1
  82. data/lib/smooch-api/models/webhook.rb +1 -1
  83. data/lib/smooch-api/models/webhook_create.rb +1 -1
  84. data/lib/smooch-api/models/webhook_response.rb +1 -1
  85. data/lib/smooch-api/models/webhook_update.rb +1 -1
  86. data/lib/smooch-api/version.rb +2 -2
  87. data/smooch-api.gemspec +1 -1
  88. data/spec/api_client_spec.rb +1 -1
  89. data/spec/configuration_spec.rb +1 -1
  90. data/spec/spec_helper.rb +1 -1
  91. metadata +14 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 63b4c157b7dad5da44f3b69b47e4e39a84b44908
4
- data.tar.gz: 48c729695bcf03f15d37f1871280e067d864df82
3
+ metadata.gz: 5dc5f1e63676c6403572e7e1211727be81bd79c2
4
+ data.tar.gz: 9b503b659b1a5c0007e633f362c691e2b13ba901
5
5
  SHA512:
6
- metadata.gz: 5cc22f02300373729ca476d7081e68fc6fb8ab98b30ad1cd020ef6f2aba890de48570635bcac56e63d2ce7ef8a0d3696617cf6bed26d69180ceec71f287aaeb7
7
- data.tar.gz: 040406403d0d32873c2d533fc23539481d23c259689c5787ec36f3d7e89012bb8fae9b947994785230425c8601012393a5b14b13ae1b77366f2f35c479161341
6
+ metadata.gz: b2d206cd06067ed35656ddec85042b253fc5e8a17ce259a011eb4ecb9222673fbfb268f122166ab9658e6006df81b83f8e617c827e50e35beae82979a53b1efe
7
+ data.tar.gz: ac5f0e2d94f77dc04f7df3b6d568d17664971bd5816fe3529a3ee480a7c0693746862c32558540467c0180a500114870c13c7f43b5dc556b1b704861c9132845
data/README.md CHANGED
@@ -16,7 +16,7 @@ gem install smooch-api
16
16
 
17
17
  Add this to the Gemfile:
18
18
 
19
- gem 'smooch-api', '~> 3.12.0'
19
+ gem 'smooch-api', '~> 3.13.0'
20
20
 
21
21
  ## Getting Started
22
22
 
@@ -142,6 +142,11 @@ Class | Method | HTTP request | Description
142
142
  *SmoochApi::ServiceAccountApi* | [**list_secret_keys**](docs/ServiceAccountApi.md#list_secret_keys) | **GET** /v1/serviceaccounts/{serviceAccountId}/keys |
143
143
  *SmoochApi::ServiceAccountApi* | [**list_service_accounts**](docs/ServiceAccountApi.md#list_service_accounts) | **GET** /v1/serviceaccounts |
144
144
  *SmoochApi::ServiceAccountApi* | [**update_service_account**](docs/ServiceAccountApi.md#update_service_account) | **PUT** /v1/serviceaccounts/{serviceAccountId} |
145
+ *SmoochApi::TemplateApi* | [**create_template**](docs/TemplateApi.md#create_template) | **POST** /v1/apps/{appId}/templates |
146
+ *SmoochApi::TemplateApi* | [**delete_template**](docs/TemplateApi.md#delete_template) | **DELETE** /v1/apps/{appId}/templates/{templateId} |
147
+ *SmoochApi::TemplateApi* | [**get_template**](docs/TemplateApi.md#get_template) | **GET** /v1/apps/{appId}/templates/{templateId} |
148
+ *SmoochApi::TemplateApi* | [**list_templates**](docs/TemplateApi.md#list_templates) | **GET** /v1/apps/{appId}/templates |
149
+ *SmoochApi::TemplateApi* | [**update_template**](docs/TemplateApi.md#update_template) | **PUT** /v1/apps/{appId}/templates/{templateId} |
145
150
  *SmoochApi::WebhookApi* | [**create_webhook**](docs/WebhookApi.md#create_webhook) | **POST** /v1/apps/{appId}/webhooks |
146
151
  *SmoochApi::WebhookApi* | [**delete_webhook**](docs/WebhookApi.md#delete_webhook) | **DELETE** /v1/apps/{appId}/webhooks/{webhookId} |
147
152
  *SmoochApi::WebhookApi* | [**get_webhook**](docs/WebhookApi.md#get_webhook) | **GET** /v1/apps/{appId}/webhooks/{webhookId} |
@@ -187,6 +192,7 @@ Class | Method | HTTP request | Description
187
192
  - [SmoochApi::ListIntegrationsResponse](docs/ListIntegrationsResponse.md)
188
193
  - [SmoochApi::ListSecretKeysResponse](docs/ListSecretKeysResponse.md)
189
194
  - [SmoochApi::ListServiceAccountsResponse](docs/ListServiceAccountsResponse.md)
195
+ - [SmoochApi::ListTemplatesResponse](docs/ListTemplatesResponse.md)
190
196
  - [SmoochApi::ListWebhooksResponse](docs/ListWebhooksResponse.md)
191
197
  - [SmoochApi::Menu](docs/Menu.md)
192
198
  - [SmoochApi::MenuItem](docs/MenuItem.md)
@@ -204,6 +210,10 @@ Class | Method | HTTP request | Description
204
210
  - [SmoochApi::ServiceAccountUpdate](docs/ServiceAccountUpdate.md)
205
211
  - [SmoochApi::Source](docs/Source.md)
206
212
  - [SmoochApi::SubMenuItem](docs/SubMenuItem.md)
213
+ - [SmoochApi::Template](docs/Template.md)
214
+ - [SmoochApi::TemplateCreate](docs/TemplateCreate.md)
215
+ - [SmoochApi::TemplateResponse](docs/TemplateResponse.md)
216
+ - [SmoochApi::TemplateUpdate](docs/TemplateUpdate.md)
207
217
  - [SmoochApi::TypingActivityTrigger](docs/TypingActivityTrigger.md)
208
218
  - [SmoochApi::Webhook](docs/Webhook.md)
209
219
  - [SmoochApi::WebhookCreate](docs/WebhookCreate.md)
data/docs/Integration.md CHANGED
@@ -55,5 +55,7 @@ Name | Type | Description | Notes
55
55
  **business_icon_url** | **String** | A custom business icon url for the Web Messenger. (Optional) Used for *Web Messenger* integrations. | [optional]
56
56
  **background_image_url** | **String** | A custom background url for the Web Messenger. (Optional) Used for *Web Messenger* integrations. | [optional]
57
57
  **origin_whitelist** | **Array<String>** | A list of origins to whitelist. When set, only the origins from this list will be able to initialize the Web Messenger. If unset, all origins are whitelisted. The elements in the list should follow the serialized-origin format from RFC 6454 `scheme \"://\" host [ \":\" port ]`, where scheme is `http` or `https`. (Optional) Used for *Web Messenger* integrations. | [optional]
58
+ **status** | **String** | The integration status. Possible values are active, inactive or error. [More info](https://docs.smooch.io/#integration-status). | [optional]
59
+ **error** | **String** | The error causing the integration to fail. Will be present when `status` is 'error'. | [optional]
58
60
 
59
61
 
@@ -0,0 +1,10 @@
1
+ # SmoochApi::ListTemplatesResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **templates** | [**Array<Template>**](Template.md) | The list of templates. |
7
+ **has_more** | **BOOLEAN** | Flag indicating if there are more templates that are not present in the response. | [optional]
8
+ **offset** | **Integer** | The number of template records skipped in the returned list. | [optional]
9
+
10
+
data/docs/Template.md ADDED
@@ -0,0 +1,10 @@
1
+ # SmoochApi::Template
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **_id** | **String** | The template ID, generated automatically. |
7
+ **name** | **String** | The name for the template, used when sending via [shorthand](https://docs.smooch.io/guide/shorthand/#sending-template-message-with-inline-syntax). |
8
+ **message** | [**Message**](Message.md) | The message sent when referencing the template via syntax. |
9
+
10
+
@@ -0,0 +1,293 @@
1
+ # SmoochApi::TemplateApi
2
+
3
+ All URIs are relative to *https://api.smooch.io*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create_template**](TemplateApi.md#create_template) | **POST** /v1/apps/{appId}/templates |
8
+ [**delete_template**](TemplateApi.md#delete_template) | **DELETE** /v1/apps/{appId}/templates/{templateId} |
9
+ [**get_template**](TemplateApi.md#get_template) | **GET** /v1/apps/{appId}/templates/{templateId} |
10
+ [**list_templates**](TemplateApi.md#list_templates) | **GET** /v1/apps/{appId}/templates |
11
+ [**update_template**](TemplateApi.md#update_template) | **PUT** /v1/apps/{appId}/templates/{templateId} |
12
+
13
+
14
+ # **create_template**
15
+ > TemplateResponse create_template(app_id, template_create_body)
16
+
17
+
18
+
19
+ Create a template for the specified app.
20
+
21
+ ### Example
22
+ ```ruby
23
+ # load the gem
24
+ require 'smooch-api'
25
+ # setup authorization
26
+ SmoochApi.configure do |config|
27
+ # Configure API key authorization: jwt
28
+ config.api_key['Authorization'] = 'YOUR JWT'
29
+ config.api_key_prefix['Authorization'] = 'Bearer'
30
+ end
31
+
32
+ api_instance = SmoochApi::TemplateApi.new
33
+
34
+ app_id = "app_id_example" # String | Identifies the app.
35
+
36
+ template_create_body = SmoochApi::TemplateCreate.new # TemplateCreate | Body for a createTemplate request.
37
+
38
+
39
+ begin
40
+ result = api_instance.create_template(app_id, template_create_body)
41
+ p result
42
+ rescue SmoochApi::ApiError => e
43
+ puts "Exception when calling TemplateApi->create_template: #{e}"
44
+ end
45
+ ```
46
+
47
+ ### Parameters
48
+
49
+ Name | Type | Description | Notes
50
+ ------------- | ------------- | ------------- | -------------
51
+ **app_id** | **String**| Identifies the app. |
52
+ **template_create_body** | [**TemplateCreate**](TemplateCreate.md)| Body for a createTemplate request. |
53
+
54
+ ### Return type
55
+
56
+ [**TemplateResponse**](TemplateResponse.md)
57
+
58
+ ### Authorization
59
+
60
+ [jwt](../README.md#jwt)
61
+
62
+ ### HTTP request headers
63
+
64
+ - **Content-Type**: application/json
65
+ - **Accept**: application/json
66
+
67
+
68
+
69
+ # **delete_template**
70
+ > delete_template(app_id, template_id)
71
+
72
+
73
+
74
+ Delete the specified template.
75
+
76
+ ### Example
77
+ ```ruby
78
+ # load the gem
79
+ require 'smooch-api'
80
+ # setup authorization
81
+ SmoochApi.configure do |config|
82
+ # Configure API key authorization: jwt
83
+ config.api_key['Authorization'] = 'YOUR JWT'
84
+ config.api_key_prefix['Authorization'] = 'Bearer'
85
+ end
86
+
87
+ api_instance = SmoochApi::TemplateApi.new
88
+
89
+ app_id = "app_id_example" # String | Identifies the app.
90
+
91
+ template_id = "template_id_example" # String | Identifies the template.
92
+
93
+
94
+ begin
95
+ api_instance.delete_template(app_id, template_id)
96
+ rescue SmoochApi::ApiError => e
97
+ puts "Exception when calling TemplateApi->delete_template: #{e}"
98
+ end
99
+ ```
100
+
101
+ ### Parameters
102
+
103
+ Name | Type | Description | Notes
104
+ ------------- | ------------- | ------------- | -------------
105
+ **app_id** | **String**| Identifies the app. |
106
+ **template_id** | **String**| Identifies the template. |
107
+
108
+ ### Return type
109
+
110
+ nil (empty response body)
111
+
112
+ ### Authorization
113
+
114
+ [jwt](../README.md#jwt)
115
+
116
+ ### HTTP request headers
117
+
118
+ - **Content-Type**: application/json
119
+ - **Accept**: application/json
120
+
121
+
122
+
123
+ # **get_template**
124
+ > TemplateResponse get_template(app_id, template_id)
125
+
126
+
127
+
128
+ Get the specified template.
129
+
130
+ ### Example
131
+ ```ruby
132
+ # load the gem
133
+ require 'smooch-api'
134
+ # setup authorization
135
+ SmoochApi.configure do |config|
136
+ # Configure API key authorization: jwt
137
+ config.api_key['Authorization'] = 'YOUR JWT'
138
+ config.api_key_prefix['Authorization'] = 'Bearer'
139
+ end
140
+
141
+ api_instance = SmoochApi::TemplateApi.new
142
+
143
+ app_id = "app_id_example" # String | Identifies the app.
144
+
145
+ template_id = "template_id_example" # String | Identifies the template.
146
+
147
+
148
+ begin
149
+ result = api_instance.get_template(app_id, template_id)
150
+ p result
151
+ rescue SmoochApi::ApiError => e
152
+ puts "Exception when calling TemplateApi->get_template: #{e}"
153
+ end
154
+ ```
155
+
156
+ ### Parameters
157
+
158
+ Name | Type | Description | Notes
159
+ ------------- | ------------- | ------------- | -------------
160
+ **app_id** | **String**| Identifies the app. |
161
+ **template_id** | **String**| Identifies the template. |
162
+
163
+ ### Return type
164
+
165
+ [**TemplateResponse**](TemplateResponse.md)
166
+
167
+ ### Authorization
168
+
169
+ [jwt](../README.md#jwt)
170
+
171
+ ### HTTP request headers
172
+
173
+ - **Content-Type**: application/json
174
+ - **Accept**: application/json
175
+
176
+
177
+
178
+ # **list_templates**
179
+ > ListTemplatesResponse list_templates(app_id, , opts)
180
+
181
+
182
+
183
+ List templates for the specified app.
184
+
185
+ ### Example
186
+ ```ruby
187
+ # load the gem
188
+ require 'smooch-api'
189
+ # setup authorization
190
+ SmoochApi.configure do |config|
191
+ # Configure API key authorization: jwt
192
+ config.api_key['Authorization'] = 'YOUR JWT'
193
+ config.api_key_prefix['Authorization'] = 'Bearer'
194
+ end
195
+
196
+ api_instance = SmoochApi::TemplateApi.new
197
+
198
+ app_id = "app_id_example" # String | Identifies the app.
199
+
200
+ opts = {
201
+ limit: 25, # Integer | The number of records to return.
202
+ offset: 0 # Integer | The number of initial records to skip before picking records to return.
203
+ }
204
+
205
+ begin
206
+ result = api_instance.list_templates(app_id, , opts)
207
+ p result
208
+ rescue SmoochApi::ApiError => e
209
+ puts "Exception when calling TemplateApi->list_templates: #{e}"
210
+ end
211
+ ```
212
+
213
+ ### Parameters
214
+
215
+ Name | Type | Description | Notes
216
+ ------------- | ------------- | ------------- | -------------
217
+ **app_id** | **String**| Identifies the app. |
218
+ **limit** | **Integer**| The number of records to return. | [optional] [default to 25]
219
+ **offset** | **Integer**| The number of initial records to skip before picking records to return. | [optional] [default to 0]
220
+
221
+ ### Return type
222
+
223
+ [**ListTemplatesResponse**](ListTemplatesResponse.md)
224
+
225
+ ### Authorization
226
+
227
+ [jwt](../README.md#jwt)
228
+
229
+ ### HTTP request headers
230
+
231
+ - **Content-Type**: application/json
232
+ - **Accept**: application/json
233
+
234
+
235
+
236
+ # **update_template**
237
+ > TemplateResponse update_template(app_id, template_idtemplate_update_body)
238
+
239
+
240
+
241
+ Update the specified template.
242
+
243
+ ### Example
244
+ ```ruby
245
+ # load the gem
246
+ require 'smooch-api'
247
+ # setup authorization
248
+ SmoochApi.configure do |config|
249
+ # Configure API key authorization: jwt
250
+ config.api_key['Authorization'] = 'YOUR JWT'
251
+ config.api_key_prefix['Authorization'] = 'Bearer'
252
+ end
253
+
254
+ api_instance = SmoochApi::TemplateApi.new
255
+
256
+ app_id = "app_id_example" # String | Identifies the app.
257
+
258
+ template_id = "template_id_example" # String | Identifies the template.
259
+
260
+ template_update_body = SmoochApi::TemplateUpdate.new # TemplateUpdate | Body for an updateTemplate request.
261
+
262
+
263
+ begin
264
+ result = api_instance.update_template(app_id, template_idtemplate_update_body)
265
+ p result
266
+ rescue SmoochApi::ApiError => e
267
+ puts "Exception when calling TemplateApi->update_template: #{e}"
268
+ end
269
+ ```
270
+
271
+ ### Parameters
272
+
273
+ Name | Type | Description | Notes
274
+ ------------- | ------------- | ------------- | -------------
275
+ **app_id** | **String**| Identifies the app. |
276
+ **template_id** | **String**| Identifies the template. |
277
+ **template_update_body** | [**TemplateUpdate**](TemplateUpdate.md)| Body for an updateTemplate request. |
278
+
279
+ ### Return type
280
+
281
+ [**TemplateResponse**](TemplateResponse.md)
282
+
283
+ ### Authorization
284
+
285
+ [jwt](../README.md#jwt)
286
+
287
+ ### HTTP request headers
288
+
289
+ - **Content-Type**: application/json
290
+ - **Accept**: application/json
291
+
292
+
293
+
@@ -0,0 +1,9 @@
1
+ # SmoochApi::TemplateCreate
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **name** | **String** | The name for the template, used when sending via [shorthand](https://docs.smooch.io/guide/shorthand/#sending-template-message-with-inline-syntax). |
7
+ **message** | [**Message**](Message.md) | The message sent when referencing the template via syntax. |
8
+
9
+
@@ -0,0 +1,8 @@
1
+ # SmoochApi::TemplateResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **template** | [**Template**](Template.md) | The template. |
7
+
8
+
@@ -0,0 +1,9 @@
1
+ # SmoochApi::TemplateUpdate
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **name** | **String** | The name for the template, used when sending via [shorthand](https://docs.smooch.io/guide/shorthand/#sending-template-message-with-inline-syntax). | [optional]
7
+ **message** | [**Message**](Message.md) | The message sent when referencing the template via syntax. | [optional]
8
+
9
+
data/lib/smooch-api.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.12
6
+ OpenAPI spec version: 3.13
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3-SNAPSHOT
@@ -53,6 +53,7 @@ require 'smooch-api/models/list_apps_response'
53
53
  require 'smooch-api/models/list_integrations_response'
54
54
  require 'smooch-api/models/list_secret_keys_response'
55
55
  require 'smooch-api/models/list_service_accounts_response'
56
+ require 'smooch-api/models/list_templates_response'
56
57
  require 'smooch-api/models/list_webhooks_response'
57
58
  require 'smooch-api/models/menu'
58
59
  require 'smooch-api/models/menu_item'
@@ -70,6 +71,10 @@ require 'smooch-api/models/service_account_response'
70
71
  require 'smooch-api/models/service_account_update'
71
72
  require 'smooch-api/models/source'
72
73
  require 'smooch-api/models/sub_menu_item'
74
+ require 'smooch-api/models/template'
75
+ require 'smooch-api/models/template_create'
76
+ require 'smooch-api/models/template_response'
77
+ require 'smooch-api/models/template_update'
73
78
  require 'smooch-api/models/typing_activity_trigger'
74
79
  require 'smooch-api/models/webhook'
75
80
  require 'smooch-api/models/webhook_create'
@@ -84,6 +89,7 @@ require 'smooch-api/api/conversation_api'
84
89
  require 'smooch-api/api/integration_api'
85
90
  require 'smooch-api/api/menu_api'
86
91
  require 'smooch-api/api/service_account_api'
92
+ require 'smooch-api/api/template_api'
87
93
  require 'smooch-api/api/webhook_api'
88
94
 
89
95
  module SmoochApi
@@ -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.12
6
+ OpenAPI spec version: 3.13
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3-SNAPSHOT