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.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +56 -56
  3. data/docs/AppApi.md +11 -11
  4. data/docs/AppUserApi.md +12 -12
  5. data/docs/AttachmentsApi.md +2 -2
  6. data/docs/ConversationApi.md +6 -6
  7. data/docs/IntegrationApi.md +10 -10
  8. data/docs/MenuApi.md +4 -4
  9. data/docs/ServiceAccountApi.md +11 -11
  10. data/docs/WebhookApi.md +6 -6
  11. data/lib/smooch-api/api/app_api.rb +11 -11
  12. data/lib/smooch-api/api/app_user_api.rb +12 -12
  13. data/lib/smooch-api/api/attachments_api.rb +2 -2
  14. data/lib/smooch-api/api/conversation_api.rb +6 -6
  15. data/lib/smooch-api/api/integration_api.rb +10 -10
  16. data/lib/smooch-api/api/menu_api.rb +4 -4
  17. data/lib/smooch-api/api/service_account_api.rb +11 -11
  18. data/lib/smooch-api/api/webhook_api.rb +6 -6
  19. data/lib/smooch-api/api_client.rb +1 -1
  20. data/lib/smooch-api/api_error.rb +1 -1
  21. data/lib/smooch-api/configuration.rb +2 -2
  22. data/lib/smooch-api/models/action.rb +1 -1
  23. data/lib/smooch-api/models/app.rb +1 -1
  24. data/lib/smooch-api/models/app_create.rb +1 -1
  25. data/lib/smooch-api/models/app_response.rb +1 -1
  26. data/lib/smooch-api/models/app_settings.rb +1 -1
  27. data/lib/smooch-api/models/app_update.rb +1 -1
  28. data/lib/smooch-api/models/app_user.rb +1 -1
  29. data/lib/smooch-api/models/app_user_business_systems_response.rb +1 -1
  30. data/lib/smooch-api/models/app_user_channels_response.rb +1 -1
  31. data/lib/smooch-api/models/app_user_link.rb +1 -1
  32. data/lib/smooch-api/models/app_user_pre_create.rb +1 -1
  33. data/lib/smooch-api/models/app_user_response.rb +1 -1
  34. data/lib/smooch-api/models/app_user_update.rb +1 -1
  35. data/lib/smooch-api/models/attachment_response.rb +1 -1
  36. data/lib/smooch-api/models/auth_code_response.rb +1 -1
  37. data/lib/smooch-api/models/business_system_item.rb +1 -1
  38. data/lib/smooch-api/models/channel_entity_item.rb +1 -1
  39. data/lib/smooch-api/models/client.rb +1 -1
  40. data/lib/smooch-api/models/client_info.rb +1 -1
  41. data/lib/smooch-api/models/confirmation.rb +1 -1
  42. data/lib/smooch-api/models/conversation.rb +1 -1
  43. data/lib/smooch-api/models/destination.rb +1 -1
  44. data/lib/smooch-api/models/display_settings.rb +1 -1
  45. data/lib/smooch-api/models/get_messages_response.rb +1 -1
  46. data/lib/smooch-api/models/integration.rb +1 -1
  47. data/lib/smooch-api/models/integration_create.rb +1 -1
  48. data/lib/smooch-api/models/integration_response.rb +1 -1
  49. data/lib/smooch-api/models/integration_update.rb +1 -1
  50. data/lib/smooch-api/models/jwt_response.rb +1 -1
  51. data/lib/smooch-api/models/link_request_response.rb +1 -1
  52. data/lib/smooch-api/models/link_request_response_link_requests.rb +1 -1
  53. data/lib/smooch-api/models/list_apps_response.rb +1 -1
  54. data/lib/smooch-api/models/list_integrations_response.rb +1 -1
  55. data/lib/smooch-api/models/list_secret_keys_response.rb +1 -1
  56. data/lib/smooch-api/models/list_service_accounts_response.rb +1 -1
  57. data/lib/smooch-api/models/list_webhooks_response.rb +1 -1
  58. data/lib/smooch-api/models/menu.rb +1 -1
  59. data/lib/smooch-api/models/menu_item.rb +1 -1
  60. data/lib/smooch-api/models/menu_response.rb +1 -1
  61. data/lib/smooch-api/models/message.rb +1 -1
  62. data/lib/smooch-api/models/message_item.rb +1 -1
  63. data/lib/smooch-api/models/message_post.rb +1 -1
  64. data/lib/smooch-api/models/message_response.rb +1 -1
  65. data/lib/smooch-api/models/secret_key.rb +1 -1
  66. data/lib/smooch-api/models/secret_key_create.rb +1 -1
  67. data/lib/smooch-api/models/secret_key_response.rb +1 -1
  68. data/lib/smooch-api/models/service_account.rb +1 -1
  69. data/lib/smooch-api/models/service_account_create.rb +1 -1
  70. data/lib/smooch-api/models/service_account_response.rb +1 -1
  71. data/lib/smooch-api/models/service_account_update.rb +1 -1
  72. data/lib/smooch-api/models/source.rb +1 -1
  73. data/lib/smooch-api/models/typing_activity_trigger.rb +1 -1
  74. data/lib/smooch-api/models/webhook.rb +1 -1
  75. data/lib/smooch-api/models/webhook_create.rb +1 -1
  76. data/lib/smooch-api/models/webhook_response.rb +1 -1
  77. data/lib/smooch-api/models/webhook_update.rb +1 -1
  78. data/lib/smooch-api/version.rb +2 -2
  79. data/lib/smooch-api.rb +1 -1
  80. data/smooch-api.gemspec +1 -1
  81. data/spec/api_client_spec.rb +1 -1
  82. data/spec/configuration_spec.rb +4 -4
  83. data/spec/spec_helper.rb +1 -1
  84. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1684b0b11153b53f55369837fc64fd302bdfbdba
4
- data.tar.gz: 59e080e7c1aee219da792a6a2a64c246b57fee89
3
+ metadata.gz: 22a02b185771543f0d0cc7f2cae3c6583066d882
4
+ data.tar.gz: e8b65645017cd099337a88dabdfc4832905efddc
5
5
  SHA512:
6
- metadata.gz: f9e85cf17d8f0a438db0cdaf571cabf4b012189d9322ecf2b58d9b9c99556a08d72aafe411aa4f7cd1bf4ba9f8429cfe4286751cdc85f6823b248777afc6863c
7
- data.tar.gz: 6bd1cf20d434e5d43ec86202348f899a3f0ebfe45864c4c199a365cad2c074044306abcb9d68fa1ad039e3bd6b00c8b95e9b176b26486257775b9c8de72b0d08
6
+ metadata.gz: dd531dafa8a14985b8993e19d4f93ca8d2c13a1211f963418eb17e1ceb30af0b5dcb5653800ea6fa99475b30cc52369ef09837ae9b34007e8f068a3ea1b4a651
7
+ data.tar.gz: e8bf6d3e0cf1ba06d6a91398c4fec05533aae1ff8f0db6242a639fe201384e1e9d9999f1d09634718357f8c648869169f8ae21abc9a845616eb588a17ea2d0ba
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.0.0'
19
+ gem 'smooch-api', '~> 3.1.0'
20
20
 
21
21
  ## Getting Started
22
22
 
@@ -74,64 +74,64 @@ end
74
74
 
75
75
  ## Documentation for API Endpoints
76
76
 
77
- All URIs are relative to *https://api.smooch.io/v1*
77
+ All URIs are relative to *https://api.smooch.io*
78
78
 
79
79
  Class | Method | HTTP request | Description
80
80
  ------------ | ------------- | ------------- | -------------
81
- *SmoochApi::AppApi* | [**create_app**](docs/AppApi.md#create_app) | **POST** /apps |
82
- *SmoochApi::AppApi* | [**create_secret_key**](docs/AppApi.md#create_secret_key) | **POST** /apps/{appId}/keys |
83
- *SmoochApi::AppApi* | [**delete_app**](docs/AppApi.md#delete_app) | **DELETE** /apps/{appId} |
84
- *SmoochApi::AppApi* | [**delete_secret_key**](docs/AppApi.md#delete_secret_key) | **DELETE** /apps/{appId}/keys/{keyId} |
85
- *SmoochApi::AppApi* | [**get_app**](docs/AppApi.md#get_app) | **GET** /apps/{appId} |
86
- *SmoochApi::AppApi* | [**get_app_jwt**](docs/AppApi.md#get_app_jwt) | **GET** /apps/{appId}/keys/{keyId}/jwt |
87
- *SmoochApi::AppApi* | [**get_secret_key**](docs/AppApi.md#get_secret_key) | **GET** /apps/{appId}/keys/{keyId} |
88
- *SmoochApi::AppApi* | [**list_apps**](docs/AppApi.md#list_apps) | **GET** /apps |
89
- *SmoochApi::AppApi* | [**list_secret_keys**](docs/AppApi.md#list_secret_keys) | **GET** /apps/{appId}/keys |
90
- *SmoochApi::AppApi* | [**update_app**](docs/AppApi.md#update_app) | **PUT** /apps/{appId} |
91
- *SmoochApi::AppUserApi* | [**delete_app_user_profile**](docs/AppUserApi.md#delete_app_user_profile) | **DELETE** /apps/{appId}/appusers/{userId}/profile |
92
- *SmoochApi::AppUserApi* | [**get_app_user**](docs/AppUserApi.md#get_app_user) | **GET** /apps/{appId}/appusers/{userId} |
93
- *SmoochApi::AppUserApi* | [**get_app_user_auth_code**](docs/AppUserApi.md#get_app_user_auth_code) | **GET** /apps/{appId}/appusers/{userId}/authcode |
94
- *SmoochApi::AppUserApi* | [**get_app_user_business_system_ids**](docs/AppUserApi.md#get_app_user_business_system_ids) | **GET** /apps/{appId}/appusers/{userId}/businesssystems |
95
- *SmoochApi::AppUserApi* | [**get_app_user_entity_ids**](docs/AppUserApi.md#get_app_user_entity_ids) | **GET** /apps/{appId}/appusers/{userId}/channels |
96
- *SmoochApi::AppUserApi* | [**get_link_requests**](docs/AppUserApi.md#get_link_requests) | **GET** /apps/{appId}/appusers/{userId}/linkrequest |
97
- *SmoochApi::AppUserApi* | [**link_app_user**](docs/AppUserApi.md#link_app_user) | **POST** /apps/{appId}/appusers/{userId}/channels |
98
- *SmoochApi::AppUserApi* | [**post_image_message**](docs/AppUserApi.md#post_image_message) | **POST** /apps/{appId}/appusers/{userId}/images |
99
- *SmoochApi::AppUserApi* | [**pre_create_app_user**](docs/AppUserApi.md#pre_create_app_user) | **POST** /apps/{appId}/appusers |
100
- *SmoochApi::AppUserApi* | [**unlink_app_user**](docs/AppUserApi.md#unlink_app_user) | **DELETE** /apps/{appId}/appusers/{userId}/channels/{channel} |
101
- *SmoochApi::AppUserApi* | [**update_app_user**](docs/AppUserApi.md#update_app_user) | **PUT** /apps/{appId}/appusers/{userId} |
102
- *SmoochApi::AttachmentsApi* | [**upload_attachment**](docs/AttachmentsApi.md#upload_attachment) | **POST** /apps/{appId}/attachments |
103
- *SmoochApi::ConversationApi* | [**delete_messages**](docs/ConversationApi.md#delete_messages) | **DELETE** /apps/{appId}/appusers/{userId}/messages |
104
- *SmoochApi::ConversationApi* | [**get_messages**](docs/ConversationApi.md#get_messages) | **GET** /apps/{appId}/appusers/{userId}/messages |
105
- *SmoochApi::ConversationApi* | [**post_message**](docs/ConversationApi.md#post_message) | **POST** /apps/{appId}/appusers/{userId}/messages |
106
- *SmoochApi::ConversationApi* | [**reset_unread_count**](docs/ConversationApi.md#reset_unread_count) | **POST** /apps/{appId}/appusers/{userId}/conversation/read |
107
- *SmoochApi::ConversationApi* | [**trigger_typing_activity**](docs/ConversationApi.md#trigger_typing_activity) | **POST** /apps/{appId}/appusers/{userId}/conversation/activity |
108
- *SmoochApi::IntegrationApi* | [**create_integration**](docs/IntegrationApi.md#create_integration) | **POST** /apps/{appId}/integrations |
109
- *SmoochApi::IntegrationApi* | [**create_integration_menu**](docs/IntegrationApi.md#create_integration_menu) | **POST** /apps/{appId}/integrations/{integrationId}/menu |
110
- *SmoochApi::IntegrationApi* | [**delete_integration**](docs/IntegrationApi.md#delete_integration) | **DELETE** /apps/{appId}/integrations/{integrationId} |
111
- *SmoochApi::IntegrationApi* | [**delete_integration_menu**](docs/IntegrationApi.md#delete_integration_menu) | **DELETE** /apps/{appId}/integrations/{integrationId}/menu |
112
- *SmoochApi::IntegrationApi* | [**get_integration**](docs/IntegrationApi.md#get_integration) | **GET** /apps/{appId}/integrations/{integrationId} |
113
- *SmoochApi::IntegrationApi* | [**get_integration_menu**](docs/IntegrationApi.md#get_integration_menu) | **GET** /apps/{appId}/integrations/{integrationId}/menu |
114
- *SmoochApi::IntegrationApi* | [**list_integrations**](docs/IntegrationApi.md#list_integrations) | **GET** /apps/{appId}/integrations |
115
- *SmoochApi::IntegrationApi* | [**update_integration**](docs/IntegrationApi.md#update_integration) | **PUT** /apps/{appId}/integrations/{integrationId} |
116
- *SmoochApi::IntegrationApi* | [**update_integration_menu**](docs/IntegrationApi.md#update_integration_menu) | **PUT** /apps/{appId}/integrations/{integrationId}/menu |
117
- *SmoochApi::MenuApi* | [**delete_menu**](docs/MenuApi.md#delete_menu) | **DELETE** /apps/{appId}/menu |
118
- *SmoochApi::MenuApi* | [**get_menu**](docs/MenuApi.md#get_menu) | **GET** /apps/{appId}/menu |
119
- *SmoochApi::MenuApi* | [**update_menu**](docs/MenuApi.md#update_menu) | **PUT** /apps/{appId}/menu |
120
- *SmoochApi::ServiceAccountApi* | [**create_secret_key**](docs/ServiceAccountApi.md#create_secret_key) | **POST** /serviceaccounts/{serviceAccountId}/keys |
121
- *SmoochApi::ServiceAccountApi* | [**create_service_account**](docs/ServiceAccountApi.md#create_service_account) | **POST** /serviceaccounts |
122
- *SmoochApi::ServiceAccountApi* | [**delete_secret_key**](docs/ServiceAccountApi.md#delete_secret_key) | **DELETE** /serviceaccounts/{serviceAccountId}/keys/{keyId} |
123
- *SmoochApi::ServiceAccountApi* | [**delete_service_account**](docs/ServiceAccountApi.md#delete_service_account) | **DELETE** /serviceaccounts/{serviceAccountId} |
124
- *SmoochApi::ServiceAccountApi* | [**get_jwt**](docs/ServiceAccountApi.md#get_jwt) | **GET** /serviceaccounts/{serviceAccountId}/keys/{keyId}/jwt |
125
- *SmoochApi::ServiceAccountApi* | [**get_secret_key**](docs/ServiceAccountApi.md#get_secret_key) | **GET** /serviceaccounts/{serviceAccountId}/keys/{keyId} |
126
- *SmoochApi::ServiceAccountApi* | [**get_service_account**](docs/ServiceAccountApi.md#get_service_account) | **GET** /serviceaccounts/{serviceAccountId} |
127
- *SmoochApi::ServiceAccountApi* | [**list_secret_keys**](docs/ServiceAccountApi.md#list_secret_keys) | **GET** /serviceaccounts/{serviceAccountId}/keys |
128
- *SmoochApi::ServiceAccountApi* | [**list_service_accounts**](docs/ServiceAccountApi.md#list_service_accounts) | **GET** /serviceaccounts |
129
- *SmoochApi::ServiceAccountApi* | [**update_service_account**](docs/ServiceAccountApi.md#update_service_account) | **PUT** /serviceaccounts/{serviceAccountId} |
130
- *SmoochApi::WebhookApi* | [**create_webhook**](docs/WebhookApi.md#create_webhook) | **POST** /apps/{appId}/webhooks |
131
- *SmoochApi::WebhookApi* | [**delete_webhook**](docs/WebhookApi.md#delete_webhook) | **DELETE** /apps/{appId}/webhooks/{webhookId} |
132
- *SmoochApi::WebhookApi* | [**get_webhook**](docs/WebhookApi.md#get_webhook) | **GET** /apps/{appId}/webhooks/{webhookId} |
133
- *SmoochApi::WebhookApi* | [**list_webhooks**](docs/WebhookApi.md#list_webhooks) | **GET** /apps/{appId}/webhooks |
134
- *SmoochApi::WebhookApi* | [**update_webhook**](docs/WebhookApi.md#update_webhook) | **PUT** /apps/{appId}/webhooks/{webhookId} |
81
+ *SmoochApi::AppApi* | [**create_app**](docs/AppApi.md#create_app) | **POST** /v1/apps |
82
+ *SmoochApi::AppApi* | [**create_secret_key**](docs/AppApi.md#create_secret_key) | **POST** /v1/apps/{appId}/keys |
83
+ *SmoochApi::AppApi* | [**delete_app**](docs/AppApi.md#delete_app) | **DELETE** /v1/apps/{appId} |
84
+ *SmoochApi::AppApi* | [**delete_secret_key**](docs/AppApi.md#delete_secret_key) | **DELETE** /v1/apps/{appId}/keys/{keyId} |
85
+ *SmoochApi::AppApi* | [**get_app**](docs/AppApi.md#get_app) | **GET** /v1/apps/{appId} |
86
+ *SmoochApi::AppApi* | [**get_app_jwt**](docs/AppApi.md#get_app_jwt) | **GET** /v1/apps/{appId}/keys/{keyId}/jwt |
87
+ *SmoochApi::AppApi* | [**get_secret_key**](docs/AppApi.md#get_secret_key) | **GET** /v1/apps/{appId}/keys/{keyId} |
88
+ *SmoochApi::AppApi* | [**list_apps**](docs/AppApi.md#list_apps) | **GET** /v1/apps |
89
+ *SmoochApi::AppApi* | [**list_secret_keys**](docs/AppApi.md#list_secret_keys) | **GET** /v1/apps/{appId}/keys |
90
+ *SmoochApi::AppApi* | [**update_app**](docs/AppApi.md#update_app) | **PUT** /v1/apps/{appId} |
91
+ *SmoochApi::AppUserApi* | [**delete_app_user_profile**](docs/AppUserApi.md#delete_app_user_profile) | **DELETE** /v1/apps/{appId}/appusers/{userId}/profile |
92
+ *SmoochApi::AppUserApi* | [**get_app_user**](docs/AppUserApi.md#get_app_user) | **GET** /v1/apps/{appId}/appusers/{userId} |
93
+ *SmoochApi::AppUserApi* | [**get_app_user_auth_code**](docs/AppUserApi.md#get_app_user_auth_code) | **GET** /v1/apps/{appId}/appusers/{userId}/authcode |
94
+ *SmoochApi::AppUserApi* | [**get_app_user_business_system_ids**](docs/AppUserApi.md#get_app_user_business_system_ids) | **GET** /v1/apps/{appId}/appusers/{userId}/businesssystems |
95
+ *SmoochApi::AppUserApi* | [**get_app_user_entity_ids**](docs/AppUserApi.md#get_app_user_entity_ids) | **GET** /v1/apps/{appId}/appusers/{userId}/channels |
96
+ *SmoochApi::AppUserApi* | [**get_link_requests**](docs/AppUserApi.md#get_link_requests) | **GET** /v1/apps/{appId}/appusers/{userId}/linkrequest |
97
+ *SmoochApi::AppUserApi* | [**link_app_user**](docs/AppUserApi.md#link_app_user) | **POST** /v1/apps/{appId}/appusers/{userId}/channels |
98
+ *SmoochApi::AppUserApi* | [**post_image_message**](docs/AppUserApi.md#post_image_message) | **POST** /v1/apps/{appId}/appusers/{userId}/images |
99
+ *SmoochApi::AppUserApi* | [**pre_create_app_user**](docs/AppUserApi.md#pre_create_app_user) | **POST** /v1/apps/{appId}/appusers |
100
+ *SmoochApi::AppUserApi* | [**unlink_app_user**](docs/AppUserApi.md#unlink_app_user) | **DELETE** /v1/apps/{appId}/appusers/{userId}/channels/{channel} |
101
+ *SmoochApi::AppUserApi* | [**update_app_user**](docs/AppUserApi.md#update_app_user) | **PUT** /v1/apps/{appId}/appusers/{userId} |
102
+ *SmoochApi::AttachmentsApi* | [**upload_attachment**](docs/AttachmentsApi.md#upload_attachment) | **POST** /v1/apps/{appId}/attachments |
103
+ *SmoochApi::ConversationApi* | [**delete_messages**](docs/ConversationApi.md#delete_messages) | **DELETE** /v1/apps/{appId}/appusers/{userId}/messages |
104
+ *SmoochApi::ConversationApi* | [**get_messages**](docs/ConversationApi.md#get_messages) | **GET** /v1/apps/{appId}/appusers/{userId}/messages |
105
+ *SmoochApi::ConversationApi* | [**post_message**](docs/ConversationApi.md#post_message) | **POST** /v1/apps/{appId}/appusers/{userId}/messages |
106
+ *SmoochApi::ConversationApi* | [**reset_unread_count**](docs/ConversationApi.md#reset_unread_count) | **POST** /v1/apps/{appId}/appusers/{userId}/conversation/read |
107
+ *SmoochApi::ConversationApi* | [**trigger_typing_activity**](docs/ConversationApi.md#trigger_typing_activity) | **POST** /v1/apps/{appId}/appusers/{userId}/conversation/activity |
108
+ *SmoochApi::IntegrationApi* | [**create_integration**](docs/IntegrationApi.md#create_integration) | **POST** /v1/apps/{appId}/integrations |
109
+ *SmoochApi::IntegrationApi* | [**create_integration_menu**](docs/IntegrationApi.md#create_integration_menu) | **POST** /v1/apps/{appId}/integrations/{integrationId}/menu |
110
+ *SmoochApi::IntegrationApi* | [**delete_integration**](docs/IntegrationApi.md#delete_integration) | **DELETE** /v1/apps/{appId}/integrations/{integrationId} |
111
+ *SmoochApi::IntegrationApi* | [**delete_integration_menu**](docs/IntegrationApi.md#delete_integration_menu) | **DELETE** /v1/apps/{appId}/integrations/{integrationId}/menu |
112
+ *SmoochApi::IntegrationApi* | [**get_integration**](docs/IntegrationApi.md#get_integration) | **GET** /v1/apps/{appId}/integrations/{integrationId} |
113
+ *SmoochApi::IntegrationApi* | [**get_integration_menu**](docs/IntegrationApi.md#get_integration_menu) | **GET** /v1/apps/{appId}/integrations/{integrationId}/menu |
114
+ *SmoochApi::IntegrationApi* | [**list_integrations**](docs/IntegrationApi.md#list_integrations) | **GET** /v1/apps/{appId}/integrations |
115
+ *SmoochApi::IntegrationApi* | [**update_integration**](docs/IntegrationApi.md#update_integration) | **PUT** /v1/apps/{appId}/integrations/{integrationId} |
116
+ *SmoochApi::IntegrationApi* | [**update_integration_menu**](docs/IntegrationApi.md#update_integration_menu) | **PUT** /v1/apps/{appId}/integrations/{integrationId}/menu |
117
+ *SmoochApi::MenuApi* | [**delete_menu**](docs/MenuApi.md#delete_menu) | **DELETE** /v1/apps/{appId}/menu |
118
+ *SmoochApi::MenuApi* | [**get_menu**](docs/MenuApi.md#get_menu) | **GET** /v1/apps/{appId}/menu |
119
+ *SmoochApi::MenuApi* | [**update_menu**](docs/MenuApi.md#update_menu) | **PUT** /v1/apps/{appId}/menu |
120
+ *SmoochApi::ServiceAccountApi* | [**create_secret_key**](docs/ServiceAccountApi.md#create_secret_key) | **POST** /v1/serviceaccounts/{serviceAccountId}/keys |
121
+ *SmoochApi::ServiceAccountApi* | [**create_service_account**](docs/ServiceAccountApi.md#create_service_account) | **POST** /v1/serviceaccounts |
122
+ *SmoochApi::ServiceAccountApi* | [**delete_secret_key**](docs/ServiceAccountApi.md#delete_secret_key) | **DELETE** /v1/serviceaccounts/{serviceAccountId}/keys/{keyId} |
123
+ *SmoochApi::ServiceAccountApi* | [**delete_service_account**](docs/ServiceAccountApi.md#delete_service_account) | **DELETE** /v1/serviceaccounts/{serviceAccountId} |
124
+ *SmoochApi::ServiceAccountApi* | [**get_jwt**](docs/ServiceAccountApi.md#get_jwt) | **GET** /v1/serviceaccounts/{serviceAccountId}/keys/{keyId}/jwt |
125
+ *SmoochApi::ServiceAccountApi* | [**get_secret_key**](docs/ServiceAccountApi.md#get_secret_key) | **GET** /v1/serviceaccounts/{serviceAccountId}/keys/{keyId} |
126
+ *SmoochApi::ServiceAccountApi* | [**get_service_account**](docs/ServiceAccountApi.md#get_service_account) | **GET** /v1/serviceaccounts/{serviceAccountId} |
127
+ *SmoochApi::ServiceAccountApi* | [**list_secret_keys**](docs/ServiceAccountApi.md#list_secret_keys) | **GET** /v1/serviceaccounts/{serviceAccountId}/keys |
128
+ *SmoochApi::ServiceAccountApi* | [**list_service_accounts**](docs/ServiceAccountApi.md#list_service_accounts) | **GET** /v1/serviceaccounts |
129
+ *SmoochApi::ServiceAccountApi* | [**update_service_account**](docs/ServiceAccountApi.md#update_service_account) | **PUT** /v1/serviceaccounts/{serviceAccountId} |
130
+ *SmoochApi::WebhookApi* | [**create_webhook**](docs/WebhookApi.md#create_webhook) | **POST** /v1/apps/{appId}/webhooks |
131
+ *SmoochApi::WebhookApi* | [**delete_webhook**](docs/WebhookApi.md#delete_webhook) | **DELETE** /v1/apps/{appId}/webhooks/{webhookId} |
132
+ *SmoochApi::WebhookApi* | [**get_webhook**](docs/WebhookApi.md#get_webhook) | **GET** /v1/apps/{appId}/webhooks/{webhookId} |
133
+ *SmoochApi::WebhookApi* | [**list_webhooks**](docs/WebhookApi.md#list_webhooks) | **GET** /v1/apps/{appId}/webhooks |
134
+ *SmoochApi::WebhookApi* | [**update_webhook**](docs/WebhookApi.md#update_webhook) | **PUT** /v1/apps/{appId}/webhooks/{webhookId} |
135
135
 
136
136
 
137
137
  ## Documentation for Models
data/docs/AppApi.md CHANGED
@@ -1,19 +1,19 @@
1
1
  # SmoochApi::AppApi
2
2
 
3
- All URIs are relative to *https://api.smooch.io/v1*
3
+ All URIs are relative to *https://api.smooch.io*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**create_app**](AppApi.md#create_app) | **POST** /apps |
8
- [**create_secret_key**](AppApi.md#create_secret_key) | **POST** /apps/{appId}/keys |
9
- [**delete_app**](AppApi.md#delete_app) | **DELETE** /apps/{appId} |
10
- [**delete_secret_key**](AppApi.md#delete_secret_key) | **DELETE** /apps/{appId}/keys/{keyId} |
11
- [**get_app**](AppApi.md#get_app) | **GET** /apps/{appId} |
12
- [**get_app_jwt**](AppApi.md#get_app_jwt) | **GET** /apps/{appId}/keys/{keyId}/jwt |
13
- [**get_secret_key**](AppApi.md#get_secret_key) | **GET** /apps/{appId}/keys/{keyId} |
14
- [**list_apps**](AppApi.md#list_apps) | **GET** /apps |
15
- [**list_secret_keys**](AppApi.md#list_secret_keys) | **GET** /apps/{appId}/keys |
16
- [**update_app**](AppApi.md#update_app) | **PUT** /apps/{appId} |
7
+ [**create_app**](AppApi.md#create_app) | **POST** /v1/apps |
8
+ [**create_secret_key**](AppApi.md#create_secret_key) | **POST** /v1/apps/{appId}/keys |
9
+ [**delete_app**](AppApi.md#delete_app) | **DELETE** /v1/apps/{appId} |
10
+ [**delete_secret_key**](AppApi.md#delete_secret_key) | **DELETE** /v1/apps/{appId}/keys/{keyId} |
11
+ [**get_app**](AppApi.md#get_app) | **GET** /v1/apps/{appId} |
12
+ [**get_app_jwt**](AppApi.md#get_app_jwt) | **GET** /v1/apps/{appId}/keys/{keyId}/jwt |
13
+ [**get_secret_key**](AppApi.md#get_secret_key) | **GET** /v1/apps/{appId}/keys/{keyId} |
14
+ [**list_apps**](AppApi.md#list_apps) | **GET** /v1/apps |
15
+ [**list_secret_keys**](AppApi.md#list_secret_keys) | **GET** /v1/apps/{appId}/keys |
16
+ [**update_app**](AppApi.md#update_app) | **PUT** /v1/apps/{appId} |
17
17
 
18
18
 
19
19
  # **create_app**
data/docs/AppUserApi.md CHANGED
@@ -1,20 +1,20 @@
1
1
  # SmoochApi::AppUserApi
2
2
 
3
- All URIs are relative to *https://api.smooch.io/v1*
3
+ All URIs are relative to *https://api.smooch.io*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**delete_app_user_profile**](AppUserApi.md#delete_app_user_profile) | **DELETE** /apps/{appId}/appusers/{userId}/profile |
8
- [**get_app_user**](AppUserApi.md#get_app_user) | **GET** /apps/{appId}/appusers/{userId} |
9
- [**get_app_user_auth_code**](AppUserApi.md#get_app_user_auth_code) | **GET** /apps/{appId}/appusers/{userId}/authcode |
10
- [**get_app_user_business_system_ids**](AppUserApi.md#get_app_user_business_system_ids) | **GET** /apps/{appId}/appusers/{userId}/businesssystems |
11
- [**get_app_user_entity_ids**](AppUserApi.md#get_app_user_entity_ids) | **GET** /apps/{appId}/appusers/{userId}/channels |
12
- [**get_link_requests**](AppUserApi.md#get_link_requests) | **GET** /apps/{appId}/appusers/{userId}/linkrequest |
13
- [**link_app_user**](AppUserApi.md#link_app_user) | **POST** /apps/{appId}/appusers/{userId}/channels |
14
- [**post_image_message**](AppUserApi.md#post_image_message) | **POST** /apps/{appId}/appusers/{userId}/images |
15
- [**pre_create_app_user**](AppUserApi.md#pre_create_app_user) | **POST** /apps/{appId}/appusers |
16
- [**unlink_app_user**](AppUserApi.md#unlink_app_user) | **DELETE** /apps/{appId}/appusers/{userId}/channels/{channel} |
17
- [**update_app_user**](AppUserApi.md#update_app_user) | **PUT** /apps/{appId}/appusers/{userId} |
7
+ [**delete_app_user_profile**](AppUserApi.md#delete_app_user_profile) | **DELETE** /v1/apps/{appId}/appusers/{userId}/profile |
8
+ [**get_app_user**](AppUserApi.md#get_app_user) | **GET** /v1/apps/{appId}/appusers/{userId} |
9
+ [**get_app_user_auth_code**](AppUserApi.md#get_app_user_auth_code) | **GET** /v1/apps/{appId}/appusers/{userId}/authcode |
10
+ [**get_app_user_business_system_ids**](AppUserApi.md#get_app_user_business_system_ids) | **GET** /v1/apps/{appId}/appusers/{userId}/businesssystems |
11
+ [**get_app_user_entity_ids**](AppUserApi.md#get_app_user_entity_ids) | **GET** /v1/apps/{appId}/appusers/{userId}/channels |
12
+ [**get_link_requests**](AppUserApi.md#get_link_requests) | **GET** /v1/apps/{appId}/appusers/{userId}/linkrequest |
13
+ [**link_app_user**](AppUserApi.md#link_app_user) | **POST** /v1/apps/{appId}/appusers/{userId}/channels |
14
+ [**post_image_message**](AppUserApi.md#post_image_message) | **POST** /v1/apps/{appId}/appusers/{userId}/images |
15
+ [**pre_create_app_user**](AppUserApi.md#pre_create_app_user) | **POST** /v1/apps/{appId}/appusers |
16
+ [**unlink_app_user**](AppUserApi.md#unlink_app_user) | **DELETE** /v1/apps/{appId}/appusers/{userId}/channels/{channel} |
17
+ [**update_app_user**](AppUserApi.md#update_app_user) | **PUT** /v1/apps/{appId}/appusers/{userId} |
18
18
 
19
19
 
20
20
  # **delete_app_user_profile**
@@ -1,10 +1,10 @@
1
1
  # SmoochApi::AttachmentsApi
2
2
 
3
- All URIs are relative to *https://api.smooch.io/v1*
3
+ All URIs are relative to *https://api.smooch.io*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**upload_attachment**](AttachmentsApi.md#upload_attachment) | **POST** /apps/{appId}/attachments |
7
+ [**upload_attachment**](AttachmentsApi.md#upload_attachment) | **POST** /v1/apps/{appId}/attachments |
8
8
 
9
9
 
10
10
  # **upload_attachment**
@@ -1,14 +1,14 @@
1
1
  # SmoochApi::ConversationApi
2
2
 
3
- All URIs are relative to *https://api.smooch.io/v1*
3
+ All URIs are relative to *https://api.smooch.io*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**delete_messages**](ConversationApi.md#delete_messages) | **DELETE** /apps/{appId}/appusers/{userId}/messages |
8
- [**get_messages**](ConversationApi.md#get_messages) | **GET** /apps/{appId}/appusers/{userId}/messages |
9
- [**post_message**](ConversationApi.md#post_message) | **POST** /apps/{appId}/appusers/{userId}/messages |
10
- [**reset_unread_count**](ConversationApi.md#reset_unread_count) | **POST** /apps/{appId}/appusers/{userId}/conversation/read |
11
- [**trigger_typing_activity**](ConversationApi.md#trigger_typing_activity) | **POST** /apps/{appId}/appusers/{userId}/conversation/activity |
7
+ [**delete_messages**](ConversationApi.md#delete_messages) | **DELETE** /v1/apps/{appId}/appusers/{userId}/messages |
8
+ [**get_messages**](ConversationApi.md#get_messages) | **GET** /v1/apps/{appId}/appusers/{userId}/messages |
9
+ [**post_message**](ConversationApi.md#post_message) | **POST** /v1/apps/{appId}/appusers/{userId}/messages |
10
+ [**reset_unread_count**](ConversationApi.md#reset_unread_count) | **POST** /v1/apps/{appId}/appusers/{userId}/conversation/read |
11
+ [**trigger_typing_activity**](ConversationApi.md#trigger_typing_activity) | **POST** /v1/apps/{appId}/appusers/{userId}/conversation/activity |
12
12
 
13
13
 
14
14
  # **delete_messages**
@@ -1,18 +1,18 @@
1
1
  # SmoochApi::IntegrationApi
2
2
 
3
- All URIs are relative to *https://api.smooch.io/v1*
3
+ All URIs are relative to *https://api.smooch.io*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**create_integration**](IntegrationApi.md#create_integration) | **POST** /apps/{appId}/integrations |
8
- [**create_integration_menu**](IntegrationApi.md#create_integration_menu) | **POST** /apps/{appId}/integrations/{integrationId}/menu |
9
- [**delete_integration**](IntegrationApi.md#delete_integration) | **DELETE** /apps/{appId}/integrations/{integrationId} |
10
- [**delete_integration_menu**](IntegrationApi.md#delete_integration_menu) | **DELETE** /apps/{appId}/integrations/{integrationId}/menu |
11
- [**get_integration**](IntegrationApi.md#get_integration) | **GET** /apps/{appId}/integrations/{integrationId} |
12
- [**get_integration_menu**](IntegrationApi.md#get_integration_menu) | **GET** /apps/{appId}/integrations/{integrationId}/menu |
13
- [**list_integrations**](IntegrationApi.md#list_integrations) | **GET** /apps/{appId}/integrations |
14
- [**update_integration**](IntegrationApi.md#update_integration) | **PUT** /apps/{appId}/integrations/{integrationId} |
15
- [**update_integration_menu**](IntegrationApi.md#update_integration_menu) | **PUT** /apps/{appId}/integrations/{integrationId}/menu |
7
+ [**create_integration**](IntegrationApi.md#create_integration) | **POST** /v1/apps/{appId}/integrations |
8
+ [**create_integration_menu**](IntegrationApi.md#create_integration_menu) | **POST** /v1/apps/{appId}/integrations/{integrationId}/menu |
9
+ [**delete_integration**](IntegrationApi.md#delete_integration) | **DELETE** /v1/apps/{appId}/integrations/{integrationId} |
10
+ [**delete_integration_menu**](IntegrationApi.md#delete_integration_menu) | **DELETE** /v1/apps/{appId}/integrations/{integrationId}/menu |
11
+ [**get_integration**](IntegrationApi.md#get_integration) | **GET** /v1/apps/{appId}/integrations/{integrationId} |
12
+ [**get_integration_menu**](IntegrationApi.md#get_integration_menu) | **GET** /v1/apps/{appId}/integrations/{integrationId}/menu |
13
+ [**list_integrations**](IntegrationApi.md#list_integrations) | **GET** /v1/apps/{appId}/integrations |
14
+ [**update_integration**](IntegrationApi.md#update_integration) | **PUT** /v1/apps/{appId}/integrations/{integrationId} |
15
+ [**update_integration_menu**](IntegrationApi.md#update_integration_menu) | **PUT** /v1/apps/{appId}/integrations/{integrationId}/menu |
16
16
 
17
17
 
18
18
  # **create_integration**
data/docs/MenuApi.md CHANGED
@@ -1,12 +1,12 @@
1
1
  # SmoochApi::MenuApi
2
2
 
3
- All URIs are relative to *https://api.smooch.io/v1*
3
+ All URIs are relative to *https://api.smooch.io*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**delete_menu**](MenuApi.md#delete_menu) | **DELETE** /apps/{appId}/menu |
8
- [**get_menu**](MenuApi.md#get_menu) | **GET** /apps/{appId}/menu |
9
- [**update_menu**](MenuApi.md#update_menu) | **PUT** /apps/{appId}/menu |
7
+ [**delete_menu**](MenuApi.md#delete_menu) | **DELETE** /v1/apps/{appId}/menu |
8
+ [**get_menu**](MenuApi.md#get_menu) | **GET** /v1/apps/{appId}/menu |
9
+ [**update_menu**](MenuApi.md#update_menu) | **PUT** /v1/apps/{appId}/menu |
10
10
 
11
11
 
12
12
  # **delete_menu**
@@ -1,19 +1,19 @@
1
1
  # SmoochApi::ServiceAccountApi
2
2
 
3
- All URIs are relative to *https://api.smooch.io/v1*
3
+ All URIs are relative to *https://api.smooch.io*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**create_secret_key**](ServiceAccountApi.md#create_secret_key) | **POST** /serviceaccounts/{serviceAccountId}/keys |
8
- [**create_service_account**](ServiceAccountApi.md#create_service_account) | **POST** /serviceaccounts |
9
- [**delete_secret_key**](ServiceAccountApi.md#delete_secret_key) | **DELETE** /serviceaccounts/{serviceAccountId}/keys/{keyId} |
10
- [**delete_service_account**](ServiceAccountApi.md#delete_service_account) | **DELETE** /serviceaccounts/{serviceAccountId} |
11
- [**get_jwt**](ServiceAccountApi.md#get_jwt) | **GET** /serviceaccounts/{serviceAccountId}/keys/{keyId}/jwt |
12
- [**get_secret_key**](ServiceAccountApi.md#get_secret_key) | **GET** /serviceaccounts/{serviceAccountId}/keys/{keyId} |
13
- [**get_service_account**](ServiceAccountApi.md#get_service_account) | **GET** /serviceaccounts/{serviceAccountId} |
14
- [**list_secret_keys**](ServiceAccountApi.md#list_secret_keys) | **GET** /serviceaccounts/{serviceAccountId}/keys |
15
- [**list_service_accounts**](ServiceAccountApi.md#list_service_accounts) | **GET** /serviceaccounts |
16
- [**update_service_account**](ServiceAccountApi.md#update_service_account) | **PUT** /serviceaccounts/{serviceAccountId} |
7
+ [**create_secret_key**](ServiceAccountApi.md#create_secret_key) | **POST** /v1/serviceaccounts/{serviceAccountId}/keys |
8
+ [**create_service_account**](ServiceAccountApi.md#create_service_account) | **POST** /v1/serviceaccounts |
9
+ [**delete_secret_key**](ServiceAccountApi.md#delete_secret_key) | **DELETE** /v1/serviceaccounts/{serviceAccountId}/keys/{keyId} |
10
+ [**delete_service_account**](ServiceAccountApi.md#delete_service_account) | **DELETE** /v1/serviceaccounts/{serviceAccountId} |
11
+ [**get_jwt**](ServiceAccountApi.md#get_jwt) | **GET** /v1/serviceaccounts/{serviceAccountId}/keys/{keyId}/jwt |
12
+ [**get_secret_key**](ServiceAccountApi.md#get_secret_key) | **GET** /v1/serviceaccounts/{serviceAccountId}/keys/{keyId} |
13
+ [**get_service_account**](ServiceAccountApi.md#get_service_account) | **GET** /v1/serviceaccounts/{serviceAccountId} |
14
+ [**list_secret_keys**](ServiceAccountApi.md#list_secret_keys) | **GET** /v1/serviceaccounts/{serviceAccountId}/keys |
15
+ [**list_service_accounts**](ServiceAccountApi.md#list_service_accounts) | **GET** /v1/serviceaccounts |
16
+ [**update_service_account**](ServiceAccountApi.md#update_service_account) | **PUT** /v1/serviceaccounts/{serviceAccountId} |
17
17
 
18
18
 
19
19
  # **create_secret_key**
data/docs/WebhookApi.md CHANGED
@@ -1,14 +1,14 @@
1
1
  # SmoochApi::WebhookApi
2
2
 
3
- All URIs are relative to *https://api.smooch.io/v1*
3
+ All URIs are relative to *https://api.smooch.io*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**create_webhook**](WebhookApi.md#create_webhook) | **POST** /apps/{appId}/webhooks |
8
- [**delete_webhook**](WebhookApi.md#delete_webhook) | **DELETE** /apps/{appId}/webhooks/{webhookId} |
9
- [**get_webhook**](WebhookApi.md#get_webhook) | **GET** /apps/{appId}/webhooks/{webhookId} |
10
- [**list_webhooks**](WebhookApi.md#list_webhooks) | **GET** /apps/{appId}/webhooks |
11
- [**update_webhook**](WebhookApi.md#update_webhook) | **PUT** /apps/{appId}/webhooks/{webhookId} |
7
+ [**create_webhook**](WebhookApi.md#create_webhook) | **POST** /v1/apps/{appId}/webhooks |
8
+ [**delete_webhook**](WebhookApi.md#delete_webhook) | **DELETE** /v1/apps/{appId}/webhooks/{webhookId} |
9
+ [**get_webhook**](WebhookApi.md#get_webhook) | **GET** /v1/apps/{appId}/webhooks/{webhookId} |
10
+ [**list_webhooks**](WebhookApi.md#list_webhooks) | **GET** /v1/apps/{appId}/webhooks |
11
+ [**update_webhook**](WebhookApi.md#update_webhook) | **PUT** /v1/apps/{appId}/webhooks/{webhookId} |
12
12
 
13
13
 
14
14
  # **create_webhook**
@@ -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.0
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_create_body' when calling AppApi.create_app"
45
45
  end
46
46
  # resource path
47
- local_var_path = "/apps"
47
+ local_var_path = "/v1/apps"
48
48
 
49
49
  # query parameters
50
50
  query_params = {}
@@ -105,7 +105,7 @@ module SmoochApi
105
105
  fail ArgumentError, "Missing the required parameter 'secret_key_create_body' when calling AppApi.create_secret_key"
106
106
  end
107
107
  # resource path
108
- local_var_path = "/apps/{appId}/keys".sub('{' + 'appId' + '}', app_id.to_s)
108
+ local_var_path = "/v1/apps/{appId}/keys".sub('{' + 'appId' + '}', app_id.to_s)
109
109
 
110
110
  # query parameters
111
111
  query_params = {}
@@ -160,7 +160,7 @@ module SmoochApi
160
160
  fail ArgumentError, "Missing the required parameter 'app_id' when calling AppApi.delete_app"
161
161
  end
162
162
  # resource path
163
- local_var_path = "/apps/{appId}".sub('{' + 'appId' + '}', app_id.to_s)
163
+ local_var_path = "/v1/apps/{appId}".sub('{' + 'appId' + '}', app_id.to_s)
164
164
 
165
165
  # query parameters
166
166
  query_params = {}
@@ -220,7 +220,7 @@ module SmoochApi
220
220
  fail ArgumentError, "Missing the required parameter 'key_id' when calling AppApi.delete_secret_key"
221
221
  end
222
222
  # resource path
223
- local_var_path = "/apps/{appId}/keys/{keyId}".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'keyId' + '}', key_id.to_s)
223
+ local_var_path = "/v1/apps/{appId}/keys/{keyId}".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'keyId' + '}', key_id.to_s)
224
224
 
225
225
  # query parameters
226
226
  query_params = {}
@@ -274,7 +274,7 @@ module SmoochApi
274
274
  fail ArgumentError, "Missing the required parameter 'app_id' when calling AppApi.get_app"
275
275
  end
276
276
  # resource path
277
- local_var_path = "/apps/{appId}".sub('{' + 'appId' + '}', app_id.to_s)
277
+ local_var_path = "/v1/apps/{appId}".sub('{' + 'appId' + '}', app_id.to_s)
278
278
 
279
279
  # query parameters
280
280
  query_params = {}
@@ -335,7 +335,7 @@ module SmoochApi
335
335
  fail ArgumentError, "Missing the required parameter 'key_id' when calling AppApi.get_app_jwt"
336
336
  end
337
337
  # resource path
338
- local_var_path = "/apps/{appId}/keys/{keyId}/jwt".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'keyId' + '}', key_id.to_s)
338
+ local_var_path = "/v1/apps/{appId}/keys/{keyId}/jwt".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'keyId' + '}', key_id.to_s)
339
339
 
340
340
  # query parameters
341
341
  query_params = {}
@@ -396,7 +396,7 @@ module SmoochApi
396
396
  fail ArgumentError, "Missing the required parameter 'key_id' when calling AppApi.get_secret_key"
397
397
  end
398
398
  # resource path
399
- local_var_path = "/apps/{appId}/keys/{keyId}".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'keyId' + '}', key_id.to_s)
399
+ local_var_path = "/v1/apps/{appId}/keys/{keyId}".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'keyId' + '}', key_id.to_s)
400
400
 
401
401
  # query parameters
402
402
  query_params = {}
@@ -451,7 +451,7 @@ module SmoochApi
451
451
  @api_client.config.logger.debug "Calling API: AppApi.list_apps ..."
452
452
  end
453
453
  # resource path
454
- local_var_path = "/apps"
454
+ local_var_path = "/v1/apps"
455
455
 
456
456
  # query parameters
457
457
  query_params = {}
@@ -509,7 +509,7 @@ module SmoochApi
509
509
  fail ArgumentError, "Missing the required parameter 'app_id' when calling AppApi.list_secret_keys"
510
510
  end
511
511
  # resource path
512
- local_var_path = "/apps/{appId}/keys".sub('{' + 'appId' + '}', app_id.to_s)
512
+ local_var_path = "/v1/apps/{appId}/keys".sub('{' + 'appId' + '}', app_id.to_s)
513
513
 
514
514
  # query parameters
515
515
  query_params = {}
@@ -570,7 +570,7 @@ module SmoochApi
570
570
  fail ArgumentError, "Missing the required parameter 'app_update_body' when calling AppApi.update_app"
571
571
  end
572
572
  # resource path
573
- local_var_path = "/apps/{appId}".sub('{' + 'appId' + '}', app_id.to_s)
573
+ local_var_path = "/v1/apps/{appId}".sub('{' + 'appId' + '}', app_id.to_s)
574
574
 
575
575
  # query parameters
576
576
  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.0
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 AppUserApi.delete_app_user_profile"
51
51
  end
52
52
  # resource path
53
- local_var_path = "/apps/{appId}/appusers/{userId}/profile".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
53
+ local_var_path = "/v1/apps/{appId}/appusers/{userId}/profile".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_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 'user_id' when calling AppUserApi.get_app_user"
112
112
  end
113
113
  # resource path
114
- local_var_path = "/apps/{appId}/appusers/{userId}".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
114
+ local_var_path = "/v1/apps/{appId}/appusers/{userId}".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
115
115
 
116
116
  # query parameters
117
117
  query_params = {}
@@ -172,7 +172,7 @@ module SmoochApi
172
172
  fail ArgumentError, "Missing the required parameter 'user_id' when calling AppUserApi.get_app_user_auth_code"
173
173
  end
174
174
  # resource path
175
- local_var_path = "/apps/{appId}/appusers/{userId}/authcode".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
175
+ local_var_path = "/v1/apps/{appId}/appusers/{userId}/authcode".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
176
176
 
177
177
  # query parameters
178
178
  query_params = {}
@@ -233,7 +233,7 @@ module SmoochApi
233
233
  fail ArgumentError, "Missing the required parameter 'user_id' when calling AppUserApi.get_app_user_business_system_ids"
234
234
  end
235
235
  # resource path
236
- local_var_path = "/apps/{appId}/appusers/{userId}/businesssystems".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
236
+ local_var_path = "/v1/apps/{appId}/appusers/{userId}/businesssystems".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
237
237
 
238
238
  # query parameters
239
239
  query_params = {}
@@ -294,7 +294,7 @@ module SmoochApi
294
294
  fail ArgumentError, "Missing the required parameter 'user_id' when calling AppUserApi.get_app_user_entity_ids"
295
295
  end
296
296
  # resource path
297
- local_var_path = "/apps/{appId}/appusers/{userId}/channels".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
297
+ local_var_path = "/v1/apps/{appId}/appusers/{userId}/channels".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
298
298
 
299
299
  # query parameters
300
300
  query_params = {}
@@ -365,7 +365,7 @@ module SmoochApi
365
365
  end
366
366
 
367
367
  # resource path
368
- local_var_path = "/apps/{appId}/appusers/{userId}/linkrequest".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
368
+ local_var_path = "/v1/apps/{appId}/appusers/{userId}/linkrequest".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
369
369
 
370
370
  # query parameters
371
371
  query_params = {}
@@ -433,7 +433,7 @@ module SmoochApi
433
433
  fail ArgumentError, "Missing the required parameter 'app_user_link_body' when calling AppUserApi.link_app_user"
434
434
  end
435
435
  # resource path
436
- local_var_path = "/apps/{appId}/appusers/{userId}/channels".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
436
+ local_var_path = "/v1/apps/{appId}/appusers/{userId}/channels".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
437
437
 
438
438
  # query parameters
439
439
  query_params = {}
@@ -506,7 +506,7 @@ module SmoochApi
506
506
  fail ArgumentError, "Missing the required parameter 'role' when calling AppUserApi.post_image_message"
507
507
  end
508
508
  # resource path
509
- local_var_path = "/apps/{appId}/appusers/{userId}/images".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
509
+ local_var_path = "/v1/apps/{appId}/appusers/{userId}/images".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
510
510
 
511
511
  # query parameters
512
512
  query_params = {}
@@ -569,7 +569,7 @@ module SmoochApi
569
569
  fail ArgumentError, "Missing the required parameter 'app_user_pre_create_body' when calling AppUserApi.pre_create_app_user"
570
570
  end
571
571
  # resource path
572
- local_var_path = "/apps/{appId}/appusers".sub('{' + 'appId' + '}', app_id.to_s)
572
+ local_var_path = "/v1/apps/{appId}/appusers".sub('{' + 'appId' + '}', app_id.to_s)
573
573
 
574
574
  # query parameters
575
575
  query_params = {}
@@ -636,7 +636,7 @@ module SmoochApi
636
636
  fail ArgumentError, "Missing the required parameter 'channel' when calling AppUserApi.unlink_app_user"
637
637
  end
638
638
  # resource path
639
- local_var_path = "/apps/{appId}/appusers/{userId}/channels/{channel}".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'channel' + '}', channel.to_s)
639
+ local_var_path = "/v1/apps/{appId}/appusers/{userId}/channels/{channel}".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'channel' + '}', channel.to_s)
640
640
 
641
641
  # query parameters
642
642
  query_params = {}
@@ -702,7 +702,7 @@ module SmoochApi
702
702
  fail ArgumentError, "Missing the required parameter 'app_user_update_body' when calling AppUserApi.update_app_user"
703
703
  end
704
704
  # resource path
705
- local_var_path = "/apps/{appId}/appusers/{userId}".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
705
+ local_var_path = "/v1/apps/{appId}/appusers/{userId}".sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
706
706
 
707
707
  # query parameters
708
708
  query_params = {}